@ni/nimble-components 19.2.2 → 19.2.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.
- package/dist/all-components-bundle.js +9 -11
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +1 -1
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/combobox/index.js +8 -10
- package/dist/esm/combobox/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -3214,7 +3214,7 @@ const tg=ro.tagFor(eg),ig="above",og="underline",ng="outline",sg="block",rg=fe`
|
|
|
3214
3214
|
padding-bottom: 0;
|
|
3215
3215
|
}
|
|
3216
3216
|
`))
|
|
3217
|
-
class cg extends Hi{constructor(){super(...arguments),this.appearance=og,this.errorVisible=!1,this.valueUpdatedByInput=!1}get value(){return super.value}set value(e){super.value=e,this.
|
|
3217
|
+
class cg extends Hi{constructor(){super(...arguments),this.appearance=og,this.errorVisible=!1,this.valueUpdatedByInput=!1}get value(){return super.value}set value(e){super.value=e,this.filter=e,this.filterOptions(),this.selectedIndex=this.options.map((e=>e.text)).indexOf(this.value)}setPositioning(){this.$fastController.isConnected&&super.setPositioning()}slottedOptionsChanged(e,t){const i=this.value
|
|
3218
3218
|
super.slottedOptionsChanged(e,t),i&&(this.value=i)}connectedCallback(){super.connectedCallback(),this.setPositioning(),this.updateInputAriaLabel()}toggleButtonClickHandler(e){e.stopImmediatePropagation()}toggleButtonChangeHandler(e){this.open=this.dropdownButton.checked,e.stopImmediatePropagation()}toggleButtonKeyDownHandler(e){switch(e.key){case Ar:case Rr:case" ":case Er:return this.open=!0,this.stopPropagation(e),!1
|
|
3219
3219
|
default:return!0}}filterOptions(){super.filterOptions()
|
|
3220
3220
|
const e=this.filteredOptions.filter((e=>!e.disabled))
|