@spectrum-web-components/icon
Advanced tools
Comparing version 0.9.9-alpha.1 to 0.9.9
@@ -84,3 +84,3 @@ { | ||
"kind": "method", | ||
"name": "getUpdateComplete", | ||
"name": "_getUpdateComplete", | ||
"privacy": "protected", | ||
@@ -87,0 +87,0 @@ "return": { |
{ | ||
"name": "@spectrum-web-components/icon", | ||
"version": "0.9.9-alpha.1+204701b5", | ||
"version": "0.9.9", | ||
"publishConfig": { | ||
@@ -47,4 +47,4 @@ "access": "public" | ||
"dependencies": { | ||
"@spectrum-web-components/base": "^0.4.6-alpha.1+204701b5", | ||
"@spectrum-web-components/iconset": "^0.5.8-alpha.1+204701b5", | ||
"@spectrum-web-components/base": "^0.4.5", | ||
"@spectrum-web-components/iconset": "^0.5.7", | ||
"tslib": "^2.0.0" | ||
@@ -60,3 +60,3 @@ }, | ||
], | ||
"gitHead": "204701b5496ec55efa8476f3a31298e7f5375212" | ||
"gitHead": "dd51b33cb741be50668d51db526200143ca48151" | ||
} |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -16,3 +16,3 @@ import { TemplateResult } from '@spectrum-web-components/base'; | ||
private parseIcon; | ||
protected getUpdateComplete(): Promise<boolean>; | ||
protected _getUpdateComplete(): Promise<boolean>; | ||
} |
@@ -86,6 +86,6 @@ /* | ||
} | ||
async getUpdateComplete() { | ||
await super.getUpdateComplete(); | ||
async _getUpdateComplete() { | ||
const complete = (await super._getUpdateComplete()); | ||
await this.updateIconPromise; | ||
return true; | ||
return complete; | ||
} | ||
@@ -92,0 +92,0 @@ } |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -16,7 +16,11 @@ /* | ||
import { measureFixtureCreation } from '../../../../test/benchmark/helpers.js'; | ||
const iconset = document.createElement('sp-icons-medium'); | ||
document.body.append(iconset); | ||
measureFixtureCreation(html ` | ||
<sp-icon name="ui:CheckmarkMedium"></sp-icon> | ||
`); | ||
async function test() { | ||
const iconset = document.createElement('sp-icons-medium'); | ||
document.body.append(iconset); | ||
await iconset.updateComplete; | ||
measureFixtureCreation(html ` | ||
<sp-icon name="ui:Arrow100"></sp-icon> | ||
`); | ||
} | ||
test(); | ||
//# sourceMappingURL=test-basic.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
146900
1321
0