@momentum-design/components 0.133.25 → 0.133.26
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/browser/index.js
CHANGED
|
@@ -5757,7 +5757,7 @@
|
|
|
5757
5757
|
min-width: auto;
|
|
5758
5758
|
padding: 0.75rem 0.5rem;
|
|
5759
5759
|
}
|
|
5760
|
-
`,cy=[IS];var hy=B.constructTagName("searchpopover"),Xp={TYPE:bo.TEXT,DISPLAY_POPOVER:!1},Zp="searchpopover-container-triggerid",nc="searchpopover-popoverid";var Io=class extends ua{constructor(){super(...arguments);this.displayPopover=Xp.DISPLAY_POPOVER;this.placement=Mt.BOTTOM_START;this.popoverZIndex=void 0}get scrollContainer(){var t,e;return(e=(t=this.shadowRoot)==null?void 0:t.querySelector('[part="filters-container"]'))!=null?e:null}renderInputElement(){var e,i;let t=this.hasChips?"":this.placeholder;return S`<input
|
|
5760
|
+
`,cy=[IS];var hy=B.constructTagName("searchpopover"),Xp={TYPE:bo.TEXT,DISPLAY_POPOVER:!1},Zp="searchpopover-container-triggerid",nc="searchpopover-popoverid";var Io=class extends ua{constructor(){super(...arguments);this.displayPopover=Xp.DISPLAY_POPOVER;this.placement=Mt.BOTTOM_START;this.popoverZIndex=void 0}get scrollContainer(){var t,e;return(e=(t=this.shadowRoot)==null?void 0:t.querySelector('[part="filters-container"]'))!=null?e:null}handlePopoverHidden(){var t;(this===document.activeElement||this.contains(document.activeElement))&&((t=this.inputElement)==null||t.focus())}renderInputElement(){var e,i;let t=this.hasChips?"":this.placeholder;return S`<input
|
|
5761
5761
|
aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
|
|
5762
5762
|
part="input-text"
|
|
5763
5763
|
id="${this.inputId}"
|
|
@@ -5808,8 +5808,8 @@
|
|
|
5808
5808
|
?visible=${this.displayPopover}
|
|
5809
5809
|
hide-on-outside-click
|
|
5810
5810
|
hide-on-escape
|
|
5811
|
-
focus-back-to-trigger
|
|
5812
5811
|
size
|
|
5812
|
+
@hidden=${this.handlePopoverHidden}
|
|
5813
5813
|
placement="${this.placement}"
|
|
5814
5814
|
aria-label="${tt(this.popoverAriaLabel)}"
|
|
5815
5815
|
disable-aria-expanded
|