@ni/nimble-components 22.1.0 → 22.1.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/all-components-bundle.js +1 -16
- 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.d.ts +2 -7
- package/dist/esm/combobox/index.js +0 -15
- package/dist/esm/combobox/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -3375,7 +3375,7 @@ break
|
|
|
3375
3375
|
case la:case da:this.open&&this.valueUpdatedByInput&&(this.valueUpdatedByInput=!1)
|
|
3376
3376
|
break
|
|
3377
3377
|
default:return e}return e}focusoutHandler(t){const e=super.focusoutHandler(t)
|
|
3378
|
-
return this.open=!1,this.emitChangeIfValueUpdated(),e}
|
|
3378
|
+
return this.open=!1,this.emitChangeIfValueUpdated(),e}focusAndScrollOptionIntoView(){this.open&&super.focusAndScrollOptionIntoView()}openChanged(){super.openChanged(),this.dropdownButton&&(this.dropdownButton.checked=this.open)}regionChanged(t,e){this.region&&this.controlWrapper&&(this.region.anchorElement=this.controlWrapper)}controlWrapperChanged(t,e){this.region&&this.controlWrapper&&(this.region.anchorElement=this.controlWrapper)}ariaLabelChanged(t,e){this.updateInputAriaLabel()}maxHeightChanged(){this.updateListboxMaxHeightCssVariable()}updateListboxMaxHeightCssVariable(){this.listbox&&this.listbox.style.setProperty("--ni-private-select-max-height",`${this.maxHeight}px`)}updateInputAriaLabel(){const t=this.shadowRoot?.querySelector(".selected-value")
|
|
3379
3379
|
this.ariaLabel?t?.setAttribute("aria-label",this.ariaLabel):t?.removeAttribute("aria-label")}emitChangeIfValueUpdated(){this.valueUpdatedByInput&&(this.value!==this.valueBeforeTextUpdate&&this.$emit("change"),this.valueUpdatedByInput=!1)}}t([st],hg.prototype,"appearance",void 0),t([g],hg.prototype,"dropdownButton",void 0),t([st({attribute:"error-text"})],hg.prototype,"errorText",void 0),t([st({attribute:"error-visible",mode:"boolean"})],hg.prototype,"errorVisible",void 0),t([g],hg.prototype,"region",void 0),t([g],hg.prototype,"controlWrapper",void 0),t([g],hg.prototype,"hasOverflow",void 0)
|
|
3380
3380
|
const ug=hg.compose({baseName:"combobox",baseClass:Zn,template:(t,e)=>Z`
|
|
3381
3381
|
<template
|