@shoper/phoenix_design_system 0.22.5-2 → 0.22.5-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,7 +43,7 @@ exports.HColorItem = class HColorItem extends phoenix_light_lit_element.PhoenixL
|
|
|
43
43
|
this.selected ? this.setAttribute('aria-pressed', '') : this.removeAttribute('aria-pressed');
|
|
44
44
|
}
|
|
45
45
|
setupEvents() {
|
|
46
|
-
this.addEventListener('click', this._dispatchClickedEvent);
|
|
46
|
+
!this.disabled && this.addEventListener('click', this._dispatchClickedEvent);
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
tslib_es6.__decorate([
|
|
@@ -39,7 +39,7 @@ let HColorItem = class HColorItem extends PhoenixLightLitElement {
|
|
|
39
39
|
this.selected ? this.setAttribute('aria-pressed', '') : this.removeAttribute('aria-pressed');
|
|
40
40
|
}
|
|
41
41
|
setupEvents() {
|
|
42
|
-
this.addEventListener('click', this._dispatchClickedEvent);
|
|
42
|
+
!this.disabled && this.addEventListener('click', this._dispatchClickedEvent);
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
__decorate([
|