mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
10
angular/test/test-app/package-lock.json
generated
10
angular/test/test-app/package-lock.json
generated
@ -415,7 +415,7 @@
|
|||||||
},
|
},
|
||||||
"load-json-file": {
|
"load-json-file": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
|
"resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
|
||||||
"integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",
|
"integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
@ -457,7 +457,7 @@
|
|||||||
},
|
},
|
||||||
"minimist": {
|
"minimist": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
|
"resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
|
||||||
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
|
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
@ -483,7 +483,7 @@
|
|||||||
},
|
},
|
||||||
"pify": {
|
"pify": {
|
||||||
"version": "2.3.0",
|
"version": "2.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
|
"resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
|
||||||
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
|
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
@ -1256,7 +1256,7 @@
|
|||||||
},
|
},
|
||||||
"ansi-escapes": {
|
"ansi-escapes": {
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz",
|
"resolved": "http://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz",
|
||||||
"integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==",
|
"integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
@ -3503,7 +3503,7 @@
|
|||||||
},
|
},
|
||||||
"expand-range": {
|
"expand-range": {
|
||||||
"version": "1.8.2",
|
"version": "1.8.2",
|
||||||
"resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz",
|
"resolved": "http://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz",
|
||||||
"integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=",
|
"integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"ionicons": "4.5.1"
|
"ionicons": "4.5.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@stencil/core": "0.16.3",
|
"@stencil/core": "0.17.0",
|
||||||
"@stencil/sass": "0.1.1",
|
"@stencil/sass": "0.1.1",
|
||||||
"@stencil/utils": "latest",
|
"@stencil/utils": "latest",
|
||||||
"@types/jest": "^23.3.1",
|
"@types/jest": "^23.3.1",
|
||||||
|
@ -104,7 +104,7 @@ export class Button implements ComponentInterface {
|
|||||||
@Listen('click')
|
@Listen('click')
|
||||||
onClick(ev: Event) {
|
onClick(ev: Event) {
|
||||||
if (this.type === 'button') {
|
if (this.type === 'button') {
|
||||||
return openURL(this.win, this.href, ev, this.routerDirection);
|
openURL(this.win, this.href, ev, this.routerDirection);
|
||||||
|
|
||||||
} else if (hasShadowDom(this.el)) {
|
} else if (hasShadowDom(this.el)) {
|
||||||
// this button wants to specifically submit a form
|
// this button wants to specifically submit a form
|
||||||
@ -122,7 +122,6 @@ export class Button implements ComponentInterface {
|
|||||||
fakeButton.remove();
|
fakeButton.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Promise.resolve(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private onFocus = () => {
|
private onFocus = () => {
|
||||||
|
@ -187,7 +187,7 @@ export class Toast implements ComponentInterface, OverlayInterface {
|
|||||||
<div class="toast-message">{this.message}</div>
|
<div class="toast-message">{this.message}</div>
|
||||||
}
|
}
|
||||||
{this.showCloseButton &&
|
{this.showCloseButton &&
|
||||||
<ion-button fill="clear" class="toast-button ion-activatable" onClick={() => this.dismiss(undefined, 'cancel')}>
|
<ion-button fill="clear" class="toast-button" onClick={() => this.dismiss(undefined, 'cancel')}>
|
||||||
{this.closeButtonText || 'Close'}
|
{this.closeButtonText || 'Close'}
|
||||||
</ion-button>
|
</ion-button>
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user