@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.
@@ -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
- type="button"
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
- type="button"
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>