@spectrum-web-components/iconset
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.1.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/iconset@0.1.4...@spectrum-web-components/iconset@0.1.5) (2019-11-01) | ||
### Bug Fixes | ||
- remove ":" based namespacing of events ([d77a843](https://github.com/adobe/spectrum-web-components/commit/d77a843)) | ||
## [0.1.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/iconset@0.1.3...@spectrum-web-components/iconset@0.1.4) (2019-10-14) | ||
@@ -8,0 +14,0 @@ |
@@ -19,5 +19,5 @@ import { Iconset } from './iconset.js'; | ||
interface GlobalEventHandlersEventMap { | ||
'sp-iconset:added': CustomEvent<IconsetAddedDetail>; | ||
'sp-iconset:removed': CustomEvent<IconsetRemovedDetail>; | ||
'sp-iconset-added': CustomEvent<IconsetAddedDetail>; | ||
'sp-iconset-removed': CustomEvent<IconsetRemovedDetail>; | ||
} | ||
} |
@@ -17,3 +17,3 @@ export class IconsetRegistry { | ||
// will know where to look for this event | ||
const event = new CustomEvent('sp-iconset:added', { | ||
const event = new CustomEvent('sp-iconset-added', { | ||
bubbles: true, | ||
@@ -33,3 +33,3 @@ composed: true, | ||
// will know where to look for this event | ||
const event = new CustomEvent('sp-iconset:removed', { | ||
const event = new CustomEvent('sp-iconset-removed', { | ||
bubbles: true, | ||
@@ -36,0 +36,0 @@ composed: true, |
@@ -58,3 +58,3 @@ import { __decorate } from "tslib"; | ||
this.addIconset(); | ||
window.addEventListener('sp-iconset:removed', this.handleRemoved); | ||
window.addEventListener('sp-iconset-removed', this.handleRemoved); | ||
} | ||
@@ -66,3 +66,3 @@ /** | ||
super.disconnectedCallback(); | ||
window.removeEventListener('sp-iconset:removed', this.handleRemoved); | ||
window.removeEventListener('sp-iconset-removed', this.handleRemoved); | ||
this.removeIconset(); | ||
@@ -69,0 +69,0 @@ } |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "", | ||
@@ -40,3 +40,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "7c3e131bc2bc3b1195e736ff65d3c4e044590ace" | ||
"gitHead": "2157014e1c3f8cf184663261e4095eef59011b37" | ||
} |
@@ -39,3 +39,3 @@ /* | ||
// will know where to look for this event | ||
const event = new CustomEvent('sp-iconset:added', { | ||
const event = new CustomEvent('sp-iconset-added', { | ||
bubbles: true, | ||
@@ -55,3 +55,3 @@ composed: true, | ||
// will know where to look for this event | ||
const event = new CustomEvent('sp-iconset:removed', { | ||
const event = new CustomEvent('sp-iconset-removed', { | ||
bubbles: true, | ||
@@ -71,5 +71,5 @@ composed: true, | ||
interface GlobalEventHandlersEventMap { | ||
'sp-iconset:added': CustomEvent<IconsetAddedDetail>; | ||
'sp-iconset:removed': CustomEvent<IconsetRemovedDetail>; | ||
'sp-iconset-added': CustomEvent<IconsetAddedDetail>; | ||
'sp-iconset-removed': CustomEvent<IconsetRemovedDetail>; | ||
} | ||
} |
@@ -83,3 +83,3 @@ /* | ||
this.addIconset(); | ||
window.addEventListener('sp-iconset:removed', this.handleRemoved); | ||
window.addEventListener('sp-iconset-removed', this.handleRemoved); | ||
} | ||
@@ -91,3 +91,3 @@ /** | ||
super.disconnectedCallback(); | ||
window.removeEventListener('sp-iconset:removed', this.handleRemoved); | ||
window.removeEventListener('sp-iconset-removed', this.handleRemoved); | ||
this.removeIconset(); | ||
@@ -94,0 +94,0 @@ } |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
67487
24
815
3