@warp-ds/elements 1.3.2 → 1.3.3-next.1
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.
- package/dist/index.js +73 -212
- package/dist/index.js.map +3 -3
- package/dist/packages/affix/index.js.map +1 -1
- package/dist/packages/alert/index.js +9 -8
- package/dist/packages/alert/index.js.map +2 -2
- package/dist/packages/attention/index.js +7 -28
- package/dist/packages/attention/index.js.map +2 -2
- package/dist/packages/badge/index.js.map +2 -2
- package/dist/packages/box/index.js.map +1 -1
- package/dist/packages/breadcrumbs/index.js +4 -14
- package/dist/packages/breadcrumbs/index.js.map +2 -2
- package/dist/packages/broadcast/index.js +1 -8
- package/dist/packages/broadcast/index.js.map +2 -2
- package/dist/packages/button/index.js +6 -30
- package/dist/packages/button/index.js.map +2 -2
- package/dist/packages/card/index.js +5 -20
- package/dist/packages/card/index.js.map +2 -2
- package/dist/packages/expandable/index.js +4 -12
- package/dist/packages/expandable/index.js.map +2 -2
- package/dist/packages/pill/index.js +4 -16
- package/dist/packages/pill/index.js.map +2 -2
- package/dist/packages/select/index.js +3 -15
- package/dist/packages/select/index.js.map +2 -2
- package/dist/packages/textfield/index.js +2 -24
- package/dist/packages/textfield/index.js.map +2 -2
- package/dist/packages/toast/index.js +19 -26
- package/dist/packages/toast/index.js.map +2 -2
- package/package.json +10 -2
|
@@ -1888,24 +1888,12 @@ var WarpPill = class extends kebabCaseAttributes(WarpElement) {
|
|
|
1888
1888
|
render() {
|
|
1889
1889
|
return html2`
|
|
1890
1890
|
<div class="${pill.pill}">
|
|
1891
|
-
<button
|
|
1892
|
-
|
|
1893
|
-
class="${this._labelClasses}"
|
|
1894
|
-
@click="${this._onClick}"
|
|
1895
|
-
>
|
|
1896
|
-
<span class="${pill.a11y}"
|
|
1897
|
-
>${this.openSrLabel ? this.openSrLabel : this.openFilterSrText}</span
|
|
1898
|
-
>
|
|
1891
|
+
<button type="button" class="${this._labelClasses}" @click="${this._onClick}">
|
|
1892
|
+
<span class="${pill.a11y}">${this.openSrLabel ? this.openSrLabel : this.openFilterSrText}</span>
|
|
1899
1893
|
<slot></slot>
|
|
1900
1894
|
</button>
|
|
1901
|
-
${this.canClose ? html2`<button
|
|
1902
|
-
|
|
1903
|
-
class="${this._closeClasses}"
|
|
1904
|
-
@click="${this._onClose}"
|
|
1905
|
-
>
|
|
1906
|
-
<span class="${pill.a11y}"
|
|
1907
|
-
>${this.closeSrLabel ? this.closeSrLabel : this.removeFilterSrText}</span
|
|
1908
|
-
>
|
|
1895
|
+
${this.canClose ? html2`<button type="button" class="${this._closeClasses}" @click="${this._onClose}">
|
|
1896
|
+
<span class="${pill.a11y}">${this.closeSrLabel ? this.closeSrLabel : this.removeFilterSrText}</span>
|
|
1909
1897
|
<w-icon-close-16></w-icon-close-16>
|
|
1910
1898
|
</button>` : null}
|
|
1911
1899
|
</div>
|