@luzmo/lucero 0.0.31 → 0.0.32
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.
|
@@ -154,4 +154,4 @@
|
|
|
154
154
|
>
|
|
155
155
|
${i}
|
|
156
156
|
</luzmo-popover>
|
|
157
|
-
`}async getUpdateComplete(){const e=await super.getUpdateComplete();return await this.selectionPromise,this.overlayElement&&await this.overlayElement.updateComplete,e}handleScrolled(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("luzmo-scrolled",{bubbles:!0,composed:!0,cancelable:!0,detail:e}))}handleExceededTop(e){e.preventDefault(),e.stopPropagation(),this.searchInput?this.searchInput.focus():this.toggle(!1)}handleSearchInput(e){this.searchString=e.target.value,this.dispatchEvent(new CustomEvent("luzmo-search",{bubbles:!0,composed:!0,cancelable:!0,detail:{string:this.searchString}}))}handleSearchKeydown(e){if(e.code==="Escape"){this.searchString="";return}if(e.code==="ArrowDown"){this.optionsMenu.focus(),e.preventDefault(),e.stopPropagation();return}else if(e.code==="ArrowUp"){this.toggle(!1);return}}}a([g.e("#button")],s.prototype,"button");a([o.n({type:Boolean,reflect:!0})],s.prototype,"disabled");a([o.n({type:Boolean,reflect:!0})],s.prototype,"focused");a([o.n({type:String,reflect:!0})],s.prototype,"icons");a([o.n({type:String,reflect:!0})],s.prototype,"variant");a([o.n({type:Boolean,reflect:!0})],s.prototype,"emphasized");a([o.n({type:Boolean,reflect:!0})],s.prototype,"invalid");a([o.n({type:String,reflect:!0})],s.prototype,"search");a([o.n({type:Boolean,reflect:!0,attribute:"no-wrap"})],s.prototype,"noWrap");a([o.n({type:Boolean,reflect:!0})],s.prototype,"retrieving");a([o.n({type:Boolean,reflect:!0})],s.prototype,"pending");a([o.n({type:Boolean,reflect:!0})],s.prototype,"clearable");a([o.n({type:String,attribute:"pending-label"})],s.prototype,"pendingLabel");a([o.n({type:String,attribute:"search-label"})],s.prototype,"searchLabel");a([o.n({type:String,attribute:"no-results-label"})],s.prototype,"noResultsLabel");a([o.n({type:String,attribute:"no-data-label"})],s.prototype,"noDataLabel");a([o.n({type:String,attribute:"multiple-label-template",reflect:!0})],s.prototype,"multipleLabelTemplate");a([o.n()],s.prototype,"label");a([o.n({type:Boolean,reflect:!0})],s.prototype,"open");a([o.n({type:Boolean,reflect:!0})],s.prototype,"readonly");a([y.r()],s.prototype,"labelAlignment");a([y.r()],s.prototype,"displayLabelContent");a([y.r()],s.prototype,"searchString");a([g.e("luzmo-options")],s.prototype,"optionsMenu");a([g.e("#search")],s.prototype,"searchInput");a([g.e("luzmo-overlay")],s.prototype,"overlayElement");a([g.e("lit-virtualizer")],s.prototype,"virtualizer");a([o.n({type:String,reflect:!0})],s.prototype,"placement");a([o.n({type:Boolean,reflect:!0})],s.prototype,"quiet");a([o.n({type:Array})],s.prototype,"value");a([o.n({type:Array})],s.prototype,"options");a([o.n({type:String,reflect:!0})],s.prototype,"selects");customElements.get("luzmo-select")||customElements.define("luzmo-select",s);exports.LuzmoSelect=s;
|
|
157
|
+
`}async getUpdateComplete(){const e=await super.getUpdateComplete();return await this.selectionPromise,this.overlayElement&&await this.overlayElement.updateComplete,e}handleScrolled(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("luzmo-scrolled",{bubbles:!0,composed:!0,cancelable:!0,detail:{first:e.first,last:e.last}}))}handleExceededTop(e){e.preventDefault(),e.stopPropagation(),this.searchInput?this.searchInput.focus():this.toggle(!1)}handleSearchInput(e){this.searchString=e.target.value,this.dispatchEvent(new CustomEvent("luzmo-search",{bubbles:!0,composed:!0,cancelable:!0,detail:{string:this.searchString}}))}handleSearchKeydown(e){if(e.code==="Escape"){this.searchString="";return}if(e.code==="ArrowDown"){this.optionsMenu.focus(),e.preventDefault(),e.stopPropagation();return}else if(e.code==="ArrowUp"){this.toggle(!1);return}}}a([g.e("#button")],s.prototype,"button");a([o.n({type:Boolean,reflect:!0})],s.prototype,"disabled");a([o.n({type:Boolean,reflect:!0})],s.prototype,"focused");a([o.n({type:String,reflect:!0})],s.prototype,"icons");a([o.n({type:String,reflect:!0})],s.prototype,"variant");a([o.n({type:Boolean,reflect:!0})],s.prototype,"emphasized");a([o.n({type:Boolean,reflect:!0})],s.prototype,"invalid");a([o.n({type:String,reflect:!0})],s.prototype,"search");a([o.n({type:Boolean,reflect:!0,attribute:"no-wrap"})],s.prototype,"noWrap");a([o.n({type:Boolean,reflect:!0})],s.prototype,"retrieving");a([o.n({type:Boolean,reflect:!0})],s.prototype,"pending");a([o.n({type:Boolean,reflect:!0})],s.prototype,"clearable");a([o.n({type:String,attribute:"pending-label"})],s.prototype,"pendingLabel");a([o.n({type:String,attribute:"search-label"})],s.prototype,"searchLabel");a([o.n({type:String,attribute:"no-results-label"})],s.prototype,"noResultsLabel");a([o.n({type:String,attribute:"no-data-label"})],s.prototype,"noDataLabel");a([o.n({type:String,attribute:"multiple-label-template",reflect:!0})],s.prototype,"multipleLabelTemplate");a([o.n()],s.prototype,"label");a([o.n({type:Boolean,reflect:!0})],s.prototype,"open");a([o.n({type:Boolean,reflect:!0})],s.prototype,"readonly");a([y.r()],s.prototype,"labelAlignment");a([y.r()],s.prototype,"displayLabelContent");a([y.r()],s.prototype,"searchString");a([g.e("luzmo-options")],s.prototype,"optionsMenu");a([g.e("#search")],s.prototype,"searchInput");a([g.e("luzmo-overlay")],s.prototype,"overlayElement");a([g.e("lit-virtualizer")],s.prototype,"virtualizer");a([o.n({type:String,reflect:!0})],s.prototype,"placement");a([o.n({type:Boolean,reflect:!0})],s.prototype,"quiet");a([o.n({type:Array})],s.prototype,"value");a([o.n({type:Array})],s.prototype,"options");a([o.n({type:String,reflect:!0})],s.prototype,"selects");customElements.get("luzmo-select")||customElements.define("luzmo-select",s);exports.LuzmoSelect=s;
|