@ni/nimble-components 11.8.4 → 11.10.0

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.
@@ -1822,7 +1822,7 @@ class Lh extends le{constructor(t){super(),this.icon=t}}const Th=(t,e)=>{const i
1822
1822
  Bi.getOrCreate().withPrefix("nimble").register(i())}
1823
1823
  class Ph extends Lh{constructor(){super(Bl)}}Th("icon-exclamation-mark",Ph)
1824
1824
  Th("icon-arrow-expander-down",class extends Lh{constructor(){super(Pa)}})
1825
- const Rh=ut`
1825
+ const Rh="underline",Dh="outline",Fh="block",Bh=ut`
1826
1826
  ${Zs("inline-flex")}
1827
1827
 
1828
1828
  :host {
@@ -1875,10 +1875,6 @@ const Rh=ut`
1875
1875
  transition: width ${ya} ease-in;
1876
1876
  }
1877
1877
 
1878
- :host(.invalid)::after {
1879
- border-bottom-color: ${Bn};
1880
- }
1881
-
1882
1878
  @media (prefers-reduced-motion) {
1883
1879
  :host::after {
1884
1880
  transition-duration: 0s;
@@ -1901,10 +1897,9 @@ const Rh=ut`
1901
1897
  display: flex;
1902
1898
  min-height: 100%;
1903
1899
  width: 100%;
1904
- border-bottom: ${Zn} solid ${Or};
1900
+ border: 0px solid rgba(${Fn}, 0.3);
1905
1901
  background-color: transparent;
1906
- padding-left: 8px;
1907
- padding-bottom: 1px;
1902
+ padding: ${Zn};
1908
1903
  }
1909
1904
 
1910
1905
  :host(.open:not(:hover)) .control {
@@ -1967,6 +1962,12 @@ const Rh=ut`
1967
1962
  white-space: nowrap;
1968
1963
  text-overflow: ellipsis;
1969
1964
  overflow: hidden;
1965
+ padding: 0px;
1966
+ padding-left: calc(${Qn} / 2);
1967
+ }
1968
+
1969
+ .selected-value[disabled]::placeholder {
1970
+ color: ${Or};
1970
1971
  }
1971
1972
 
1972
1973
  .indicator {
@@ -2006,7 +2007,34 @@ const Rh=ut`
2006
2007
  ::slotted(option) {
2007
2008
  flex: none;
2008
2009
  }
2009
- `,Dh=ut`
2010
+ `.withBehaviors(wh(Rh,ut`
2011
+ .control {
2012
+ border-bottom-width: ${Zn};
2013
+ padding-bottom: 0;
2014
+ }
2015
+
2016
+ :host([disabled]) .control {
2017
+ border-color: rgba(${Fn}, 0.1);
2018
+ }
2019
+ `),wh(Dh,ut`
2020
+ .control {
2021
+ border-width: ${Zn};
2022
+ padding: 0;
2023
+ }
2024
+ `),wh(Fh,ut`
2025
+ .control {
2026
+ background-color: rgba(${Fn}, 0.1);
2027
+ }
2028
+
2029
+ .control:focus-within {
2030
+ border-bottom-width: ${Zn};
2031
+ padding-bottom: 0;
2032
+ }
2033
+
2034
+ :host([disabled]) .control {
2035
+ background-color: rgba(${Fn}, 0.07);
2036
+ }
2037
+ `)),Nh=ut`
2010
2038
  .error-icon {
2011
2039
  display: none;
2012
2040
  }
@@ -2042,13 +2070,16 @@ const Rh=ut`
2042
2070
  :host(.invalid) .error-text:empty {
2043
2071
  display: none;
2044
2072
  }
2045
- `,Fh=ut`
2046
- ${Rh}
2047
- ${Dh}
2073
+ `,jh=ut`
2074
+ ${Bh}
2075
+ ${Nh}
2048
2076
 
2049
2077
  :host {
2050
2078
  --ni-private-hover-bottom-border-width: 2px;
2051
2079
  --ni-private-bottom-border-width: 1px;
2080
+ --ni-private-height-within-border: calc(
2081
+ ${Yn} - 2 * ${Zn}
2082
+ );
2052
2083
  }
2053
2084
 
2054
2085
  :host([disabled]) *,
@@ -2057,6 +2088,10 @@ const Rh=ut`
2057
2088
  color: ${Or};
2058
2089
  }
2059
2090
 
2091
+ :host(.invalid)::after {
2092
+ border-bottom-color: ${Bn};
2093
+ }
2094
+
2060
2095
  .control {
2061
2096
  bottom-border-width: var(--ni-private-bottom-border-width);
2062
2097
  }
@@ -2073,8 +2108,9 @@ const Rh=ut`
2073
2108
  border-color: rgba(${Fn}, 0.1);
2074
2109
  }
2075
2110
 
2076
- :host(.invalid[disabled]) .control {
2077
- border-color: ${Bn};
2111
+ :host(.invalid[disabled]) .control,
2112
+ :host(.open.invalid) .control {
2113
+ border-bottom-color: ${Bn};
2078
2114
  }
2079
2115
 
2080
2116
  .selected-value {
@@ -2085,7 +2121,7 @@ const Rh=ut`
2085
2121
  margin: auto 0;
2086
2122
  width: 100%;
2087
2123
  font-size: inherit;
2088
- padding-left: 0px;
2124
+ height: var(--ni-private-height-within-border);
2089
2125
  }
2090
2126
 
2091
2127
  .selected-value:hover,
@@ -2126,14 +2162,27 @@ const Rh=ut`
2126
2162
  :host(:empty) .listbox {
2127
2163
  display: none;
2128
2164
  }
2129
- `
2130
- class Bh extends mi{constructor(){super(...arguments),this.focusOutHandler=()=>{this.open=!1}}setPositioning(){this.$fastController.isConnected&&super.setPositioning()}slottedOptionsChanged(t,e){const i=this.value
2131
- super.slottedOptionsChanged(t,e),i&&(this.value=i)}connectedCallback(){super.connectedCallback(),this.setPositioning(),this.updateInputAriaLabel(),this.addEventListener("focusout",this.focusOutHandler)}disconnectedCallback(){this.removeEventListener("focusout",this.focusOutHandler)}toggleButtonClickHandler(t){t.stopImmediatePropagation()}toggleButtonChangeHandler(t){this.open=this.dropdownButton.checked,t.stopImmediatePropagation()}toggleButtonKeyDownHandler(t){switch(t.key){case Ce:case xe:case Oe:case ke:return this.open=!0,this.stopPropagation(t),!1
2165
+ `.withBehaviors(wh(Fh,ut`
2166
+ :host(.invalid) .control {
2167
+ border-bottom-width: ${Zn};
2168
+ padding-bottom: 0;
2169
+ }
2170
+ `))
2171
+ class qh extends mi{constructor(){super(...arguments),this.appearance=Rh,this.valueUpdatedByInput=!1}setPositioning(){this.$fastController.isConnected&&super.setPositioning()}slottedOptionsChanged(t,e){const i=this.value
2172
+ super.slottedOptionsChanged(t,e),i&&(this.value=i)}connectedCallback(){super.connectedCallback(),this.setPositioning(),this.updateInputAriaLabel()}toggleButtonClickHandler(t){t.stopImmediatePropagation()}toggleButtonChangeHandler(t){this.open=this.dropdownButton.checked,t.stopImmediatePropagation()}toggleButtonKeyDownHandler(t){switch(t.key){case Ce:case xe:case Oe:case ke:return this.open=!0,this.stopPropagation(t),!1
2132
2173
  default:return!0}}filterOptions(){super.filterOptions()
2133
2174
  const t=this.filteredOptions.filter((t=>!t.disabled))
2134
- this.filteredOptions=t}openChanged(){super.openChanged(),this.dropdownButton&&(this.dropdownButton.checked=this.open)}ariaLabelChanged(t,e){this.updateInputAriaLabel()}updateInputAriaLabel(){const t=this.shadowRoot?.querySelector(".selected-value")
2135
- this.ariaLabel?t?.setAttribute("aria-label",this.ariaLabel):t?.removeAttribute("aria-label")}}zn([v],Bh.prototype,"dropdownButton",void 0),zn([tt({attribute:"error-text"})],Bh.prototype,"errorText",void 0)
2136
- const Nh=Bh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
2175
+ this.filteredOptions=t}inputHandler(t){const e=super.inputHandler(t)
2176
+ return this.valueUpdatedByInput||(this.valueBeforeTextUpdate=this.value),this.value=this.control.value,this.valueUpdatedByInput=!0,e}keydownHandler(t){const e=super.keydownHandler(t)
2177
+ if(t.ctrlKey||t.altKey)return e
2178
+ switch(t.key){case ke:this.emitChangeIfValueUpdated()
2179
+ break
2180
+ case xe:case Ce:this.open&&this.valueUpdatedByInput&&(this.valueUpdatedByInput=!1)
2181
+ break
2182
+ default:return e}return e}focusoutHandler(t){const e=super.focusoutHandler(t)
2183
+ return this.open=!1,this.emitChangeIfValueUpdated(),e}openChanged(){super.openChanged(),this.dropdownButton&&(this.dropdownButton.checked=this.open)}ariaLabelChanged(t,e){this.updateInputAriaLabel()}updateInputAriaLabel(){const t=this.shadowRoot?.querySelector(".selected-value")
2184
+ 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)}}zn([tt],qh.prototype,"appearance",void 0),zn([v],qh.prototype,"dropdownButton",void 0),zn([tt({attribute:"error-text"})],qh.prototype,"errorText",void 0)
2185
+ const Uh=qh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
2137
2186
  <template
2138
2187
  aria-disabled="${t=>t.ariaDisabled}"
2139
2188
  autocomplete="${t=>t.autocomplete}"
@@ -2187,7 +2236,7 @@ const Nh=Bh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
2187
2236
  ></slot>
2188
2237
  </div>
2189
2238
  </template>
2190
- `,styles:Fh,shadowOptions:{delegatesFocus:!0},end:q`
2239
+ `,styles:jh,shadowOptions:{delegatesFocus:!0},end:q`
2191
2240
  <div class="end-slot-container">
2192
2241
  <nimble-icon-exclamation-mark
2193
2242
  class="error-icon fail"
@@ -2217,8 +2266,35 @@ const Nh=Bh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
2217
2266
  </div>
2218
2267
  ${Hh}
2219
2268
  `})
2220
- Bi.getOrCreate().withPrefix("nimble").register(Nh())
2221
- var jh="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},qh={},Uh={},Kh={}
2269
+ Bi.getOrCreate().withPrefix("nimble").register(Uh())
2270
+ const Kh=ut`
2271
+ ${Zs("grid")}
2272
+
2273
+ dialog {
2274
+ background-color: ${Ln};
2275
+ border: ${Zn} solid ${Xn};
2276
+ box-shadow: 0px 2px 3px ${Wn};
2277
+ max-width: 50%;
2278
+ }
2279
+ `,Wh=q`
2280
+ <template>
2281
+ <dialog
2282
+ ${vt("dialogElement")}
2283
+ role="alertdialog"
2284
+ aria-label="${t=>t.ariaLabel}"
2285
+ @cancel="${(t,e)=>t.cancelHandler(e.event)}"
2286
+ @close="${t=>t.closeHandler()}"
2287
+ >
2288
+ <slot></slot>
2289
+ </dialog>
2290
+ </template>
2291
+ `,Xh=Symbol("user dismissed")
2292
+ class Yh extends le{constructor(){super(...arguments),this.preventDismiss=!1}get open(){return void 0!==this.resolveShow}async show(){if(this.open)throw new Error("Dialog is already open")
2293
+ return this.dialogElement.showModal(),new Promise(((t,e)=>{this.resolveShow=t}))}close(t){if(!this.open)throw new Error("Dialog is not open")
2294
+ this.closeReason=t,this.dialogElement.close()}closeHandler(){return this.resolveShow(this.closeReason),this.resolveShow=void 0,!0}cancelHandler(t){return this.preventDismiss?t.preventDefault():this.closeReason=Xh,!0}}zn([tt({attribute:"prevent-dismiss",mode:"boolean"})],Yh.prototype,"preventDismiss",void 0),de(Yh,Te)
2295
+ const Gh=Yh.compose({baseName:"dialog",template:Wh,styles:Kh,baseClass:Yh,shadowOptions:{delegatesFocus:!0}})
2296
+ Bi.getOrCreate().withPrefix("nimble").register(Gh())
2297
+ var Qh="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Jh={},Zh={},td={}
2222
2298
  !function(t){var e
2223
2299
  Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationMode=void 0,function(t){t[t.animateTo=0]="animateTo",t[t.animateFrom=1]="animateFrom"}(e=t.AnimationMode||(t.AnimationMode={}))
2224
2300
  var i=function(){function t(t,e,i){var s=this
@@ -2247,104 +2323,104 @@ return t.forEach((function(t){t.forEach((function(t,i){var s=t.offset
2247
2323
  void 0===s&&(s=0===i?0:1,t.offset=s)
2248
2324
  var o=s.toString()
2249
2325
  e[o]=void 0===e[o]?t:Object.assign(e[o],t)}))})),this.sortOffsets(Object.keys(e)).map((function(t){return e[t]}))},Object.defineProperty(t.prototype,"keyframes",{get:function(){return this.consolidateKeyframes(this._keyframes.concat([this.getOptionKeyframes()]))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyframeEffect",{get:function(){return new KeyframeEffect(this.animationTarget,this.keyframes,this.effectTiming)},enumerable:!1,configurable:!0}),t.propertyMap={opacity:["opacity"],transform:["x","y","rotate","scale"],top:["top"],left:["left"],bottom:["bottom"],right:["right"]},t}()
2250
- t.default=i}(Kh)
2251
- var Wh,Xh=jh&&jh.__extends||(Wh=function(t,e){return(Wh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null")
2252
- function i(){this.constructor=t}Wh(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)})
2253
- Object.defineProperty(Uh,"__esModule",{value:!0})
2254
- var Yh=Kh,Gh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
2255
- return e.mode=Yh.AnimationMode.animateTo,e}return Xh(e,t),e}(Yh.default)
2256
- Uh.default=Gh
2257
- var Qh={},Jh=jh&&jh.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
2326
+ t.default=i}(td)
2327
+ var ed,id=Qh&&Qh.__extends||(ed=function(t,e){return(ed=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null")
2328
+ function i(){this.constructor=t}ed(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)})
2329
+ Object.defineProperty(Zh,"__esModule",{value:!0})
2330
+ var sd=td,od=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
2331
+ return e.mode=sd.AnimationMode.animateTo,e}return id(e,t),e}(sd.default)
2332
+ Zh.default=od
2333
+ var nd={},rd=Qh&&Qh.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
2258
2334
  return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null")
2259
2335
  function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
2260
- Object.defineProperty(Qh,"__esModule",{value:!0})
2261
- var Zh=Kh,td=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
2262
- return e.mode=Zh.AnimationMode.animateFrom,e}return Jh(e,t),e}(Zh.default)
2263
- Qh.default=td
2264
- var ed={},id={}
2265
- Object.defineProperty(id,"__esModule",{value:!0}),id.invokeFunctionForEach=void 0,id.invokeFunctionForEach=function(t,e){t.forEach((function(t){return t[e]()}))},Object.defineProperty(ed,"__esModule",{value:!0})
2266
- var sd=id,od=function(){function t(t){var e=this
2267
- this.pause=function(){(0,sd.invokeFunctionForEach)(e.animations,"pause")},this.finish=function(){(0,sd.invokeFunctionForEach)(e.animations,"finish")},this.cancel=function(){(0,sd.invokeFunctionForEach)(e.animations,"cancel")},this.animations=t}return Object.defineProperty(t.prototype,"onFinish",{get:function(){return this._onFinish},set:function(t){var e=this
2336
+ Object.defineProperty(nd,"__esModule",{value:!0})
2337
+ var ad=td,ld=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
2338
+ return e.mode=ad.AnimationMode.animateFrom,e}return rd(e,t),e}(ad.default)
2339
+ nd.default=ld
2340
+ var cd={},hd={}
2341
+ Object.defineProperty(hd,"__esModule",{value:!0}),hd.invokeFunctionForEach=void 0,hd.invokeFunctionForEach=function(t,e){t.forEach((function(t){return t[e]()}))},Object.defineProperty(cd,"__esModule",{value:!0})
2342
+ var dd=hd,ud=function(){function t(t){var e=this
2343
+ this.pause=function(){(0,dd.invokeFunctionForEach)(e.animations,"pause")},this.finish=function(){(0,dd.invokeFunctionForEach)(e.animations,"finish")},this.cancel=function(){(0,dd.invokeFunctionForEach)(e.animations,"cancel")},this.animations=t}return Object.defineProperty(t.prototype,"onFinish",{get:function(){return this._onFinish},set:function(t){var e=this
2268
2344
  this._onFinish=t
2269
2345
  var i=this.getLongestAnimation()
2270
2346
  if("function"==typeof i.onFinish){var s=i.onFinish
2271
- i.onFinish=function(){s(),e._onFinish()}}else i.onFinish=this._onFinish},enumerable:!1,configurable:!0}),t.prototype.play=function(){(0,sd.invokeFunctionForEach)(this.animations,"play")},t.prototype.reverse=function(){(0,sd.invokeFunctionForEach)(this.animations,"reverse")},t.prototype.getLongestAnimation=function(){var t=this
2347
+ i.onFinish=function(){s(),e._onFinish()}}else i.onFinish=this._onFinish},enumerable:!1,configurable:!0}),t.prototype.play=function(){(0,dd.invokeFunctionForEach)(this.animations,"play")},t.prototype.reverse=function(){(0,dd.invokeFunctionForEach)(this.animations,"reverse")},t.prototype.getLongestAnimation=function(){var t=this
2272
2348
  return this.animations.reduce((function(e,i){var s=t.getAnimationDuration(e.effectTiming)
2273
2349
  return t.getAnimationDuration(i.effectTiming)>=s?i:e}))},t.prototype.getAnimationDuration=function(t){var e=t.duration,i="string"==typeof e?parseFloat(e):e
2274
2350
  return(t.delay||0)+(i||0)},t}()
2275
- ed.default=od
2276
- var nd={}
2277
- Object.defineProperty(nd,"__esModule",{value:!0})
2278
- var rd=id,ad=function(){function t(t){var e=this
2279
- this.play=function(){e.applySequencedCallback(e.animations,"play")},this.reverse=function(){e.applySequencedCallback(e.animations.reverse(),"reverse")},this.pause=function(){(0,rd.invokeFunctionForEach)(e.animations,"pause")},this.finish=function(){(0,rd.invokeFunctionForEach)(e.animations,"finish")},this.cancel=function(){(0,rd.invokeFunctionForEach)(e.animations,"cancel")},this.animations=t}return t.prototype.applySequencedCallback=function(t,e){var i=this,s=t.length
2351
+ cd.default=ud
2352
+ var pd={}
2353
+ Object.defineProperty(pd,"__esModule",{value:!0})
2354
+ var vd=hd,gd=function(){function t(t){var e=this
2355
+ this.play=function(){e.applySequencedCallback(e.animations,"play")},this.reverse=function(){e.applySequencedCallback(e.animations.reverse(),"reverse")},this.pause=function(){(0,vd.invokeFunctionForEach)(e.animations,"pause")},this.finish=function(){(0,vd.invokeFunctionForEach)(e.animations,"finish")},this.cancel=function(){(0,vd.invokeFunctionForEach)(e.animations,"cancel")},this.animations=t}return t.prototype.applySequencedCallback=function(t,e){var i=this,s=t.length
2280
2356
  s<=0||(t.forEach((function(t,o){t.onFinish=o<s-1?i.animations[o+1][e]:i.onFinish||void 0})),t[0][e]())},t}()
2281
- nd.default=ad
2282
- var ld={}
2357
+ pd.default=gd
2358
+ var md={}
2283
2359
  !function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.fadeOut=t.fadeIn=t.applyFade=t.fadeEffectTiming=t.fadeOutKeyframes=t.fadeInKeyframes=void 0
2284
- var e=Uh
2360
+ var e=Zh
2285
2361
  function i(i,s,o){void 0===o&&(o={})
2286
2362
  var n=Object.assign({},t.fadeEffectTiming,o),r=new e.default(i,null,n)
2287
- return r.addKeyframes(s),r}t.fadeInKeyframes=[{opacity:"0.01"},{opacity:"1"}],t.fadeOutKeyframes=[{opacity:"1"},{opacity:"0"}],t.fadeEffectTiming={easing:"linear",duration:500},t.applyFade=i,t.fadeIn=function(e,s){return void 0===s&&(s={}),i(e,t.fadeInKeyframes,s)},t.fadeOut=function(e,s){return void 0===s&&(s={}),i(e,t.fadeOutKeyframes,s)}}(ld)
2288
- var cd={},hd={}
2289
- Object.defineProperty(hd,"__esModule",{value:!0}),hd.navPane=hd.exponentialReversed=hd.fastInFortySevenPercent=hd.exponential=hd.fastInOut=hd.fastOut=hd.fastIn=hd.appToApp=hd.backToApp=hd.drillIn=hd.easeIn=hd.easeOutSmooth=hd.easeOut=hd.linear=void 0,hd.linear=[[0,0],[1,1]],hd.easeOut=[[0,0],[.58,1]],hd.easeOutSmooth=[[0,.35],[.15,1]],hd.easeIn=[[.25,.1],[.25,1]],hd.drillIn=[[.17,.17],[0,1]],hd.backToApp=[[.5,0],[.6,1]],hd.appToApp=[[.5,0],[1,.9]],hd.fastIn=[[.1,.9],[.2,1]],hd.fastOut=[[.9,.1],[1,.2]],hd.fastInOut=[[.8,0],[.2,1]],hd.exponential=[[.1,.25],[.75,.9]],hd.fastInFortySevenPercent=[[.11,.5],[.24,.96]],hd.exponentialReversed=[[.25,.1],[.9,.75]],hd.navPane=[[.1,.7],[.1,1]],Object.defineProperty(cd,"__esModule",{value:!0}),cd.cubicBezier=cd.formatCubicBezier=void 0
2290
- var dd=hd
2291
- function ud(t){if(!Array.isArray(t)||!Array.isArray(t[0])||!Array.isArray(t[1]))return""
2363
+ return r.addKeyframes(s),r}t.fadeInKeyframes=[{opacity:"0.01"},{opacity:"1"}],t.fadeOutKeyframes=[{opacity:"1"},{opacity:"0"}],t.fadeEffectTiming={easing:"linear",duration:500},t.applyFade=i,t.fadeIn=function(e,s){return void 0===s&&(s={}),i(e,t.fadeInKeyframes,s)},t.fadeOut=function(e,s){return void 0===s&&(s={}),i(e,t.fadeOutKeyframes,s)}}(md)
2364
+ var fd={},bd={}
2365
+ Object.defineProperty(bd,"__esModule",{value:!0}),bd.navPane=bd.exponentialReversed=bd.fastInFortySevenPercent=bd.exponential=bd.fastInOut=bd.fastOut=bd.fastIn=bd.appToApp=bd.backToApp=bd.drillIn=bd.easeIn=bd.easeOutSmooth=bd.easeOut=bd.linear=void 0,bd.linear=[[0,0],[1,1]],bd.easeOut=[[0,0],[.58,1]],bd.easeOutSmooth=[[0,.35],[.15,1]],bd.easeIn=[[.25,.1],[.25,1]],bd.drillIn=[[.17,.17],[0,1]],bd.backToApp=[[.5,0],[.6,1]],bd.appToApp=[[.5,0],[1,.9]],bd.fastIn=[[.1,.9],[.2,1]],bd.fastOut=[[.9,.1],[1,.2]],bd.fastInOut=[[.8,0],[.2,1]],bd.exponential=[[.1,.25],[.75,.9]],bd.fastInFortySevenPercent=[[.11,.5],[.24,.96]],bd.exponentialReversed=[[.25,.1],[.9,.75]],bd.navPane=[[.1,.7],[.1,1]],Object.defineProperty(fd,"__esModule",{value:!0}),fd.cubicBezier=fd.formatCubicBezier=void 0
2366
+ var wd=bd
2367
+ function xd(t){if(!Array.isArray(t)||!Array.isArray(t[0])||!Array.isArray(t[1]))return""
2292
2368
  var e=t[0],i=t[1]
2293
- return"cubic-bezier(".concat(e[0],", ").concat(e[1],", ").concat(i[0],", ").concat(i[1],")")}cd.formatCubicBezier=ud,cd.cubicBezier=function(t){return t in dd?ud(dd[t]):""}
2294
- var pd={},vd={}
2295
- Object.defineProperty(vd,"__esModule",{value:!0}),vd.default=function(t){var e=t.getBoundingClientRect()
2369
+ return"cubic-bezier(".concat(e[0],", ").concat(e[1],", ").concat(i[0],", ").concat(i[1],")")}fd.formatCubicBezier=xd,fd.cubicBezier=function(t){return t in wd?xd(wd[t]):""}
2370
+ var yd={},$d={}
2371
+ Object.defineProperty($d,"__esModule",{value:!0}),$d.default=function(t){var e=t.getBoundingClientRect()
2296
2372
  return e.bottom>=0&&e.right>=0&&e.top<=window.innerHeight&&e.left<=window.innerWidth}
2297
- var gd={},md={}
2298
- Object.defineProperty(md,"__esModule",{value:!0}),md.default=function(){return"undefined"==typeof window?NaN:void 0!==window.scrollY?window.scrollY:window.pageYOffset},Object.defineProperty(gd,"__esModule",{value:!0})
2299
- var fd=vd,bd=md,wd=function(){function t(){var t=this
2300
- this.subscriptions=[],this.scrollDistance=0,this.requestFrame=function(){t.requestedFrame&&cancelAnimationFrame(t.requestedFrame),t.requestedFrame=requestAnimationFrame(t.update)},this.lastScrollY=(0,bd.default)(),this.update=this.update.bind(this)}return t.prototype.subscribe=function(t,e){t instanceof HTMLElement&&"function"==typeof e&&!this.isSubscribed(t,e)&&(0===this.subscriptions.length&&window.addEventListener("scroll",this.requestFrame),this.subscriptions.push({element:t,callback:e,inView:(0,fd.default)(t)}))},t.prototype.unsubscribe=function(t,e){this.subscriptions=this.subscriptions.filter((function(i){return!(t===i.element&&e===i.callback)})),0===this.subscriptions.length&&window.removeEventListener("scroll",this.requestFrame)},t.prototype.update=function(){var t=(0,bd.default)()
2373
+ var Cd={},kd={}
2374
+ Object.defineProperty(kd,"__esModule",{value:!0}),kd.default=function(){return"undefined"==typeof window?NaN:void 0!==window.scrollY?window.scrollY:window.pageYOffset},Object.defineProperty(Cd,"__esModule",{value:!0})
2375
+ var _d=$d,zd=kd,Id=function(){function t(){var t=this
2376
+ this.subscriptions=[],this.scrollDistance=0,this.requestFrame=function(){t.requestedFrame&&cancelAnimationFrame(t.requestedFrame),t.requestedFrame=requestAnimationFrame(t.update)},this.lastScrollY=(0,zd.default)(),this.update=this.update.bind(this)}return t.prototype.subscribe=function(t,e){t instanceof HTMLElement&&"function"==typeof e&&!this.isSubscribed(t,e)&&(0===this.subscriptions.length&&window.addEventListener("scroll",this.requestFrame),this.subscriptions.push({element:t,callback:e,inView:(0,_d.default)(t)}))},t.prototype.unsubscribe=function(t,e){this.subscriptions=this.subscriptions.filter((function(i){return!(t===i.element&&e===i.callback)})),0===this.subscriptions.length&&window.removeEventListener("scroll",this.requestFrame)},t.prototype.update=function(){var t=(0,zd.default)()
2301
2377
  this.scrollDistance=t-this.lastScrollY,this.lastScrollY=t},t.prototype.isSubscribed=function(t,e){return!!this.subscriptions.filter((function(i){return t===i.element&&e===i.callback})).length},t}()
2302
- gd.default=wd
2303
- var xd=jh&&jh.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
2378
+ Cd.default=Id
2379
+ var Od=Qh&&Qh.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
2304
2380
  return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null")
2305
2381
  function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
2306
- Object.defineProperty(pd,"__esModule",{value:!0})
2307
- var yd=vd,$d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return xd(e,t),e.prototype.update=function(){var e=this
2308
- t.prototype.update.call(this),this.subscriptions.forEach((function(t){var i=(0,yd.default)(t.element)
2309
- i&&t.callback(e.scrollDistance),i!==t.inView&&(t.inView=i)}))},e}(gd.default)
2310
- pd.default=$d
2311
- var Cd={},kd=jh&&jh.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
2382
+ Object.defineProperty(yd,"__esModule",{value:!0})
2383
+ var Ad=$d,Sd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Od(e,t),e.prototype.update=function(){var e=this
2384
+ t.prototype.update.call(this),this.subscriptions.forEach((function(t){var i=(0,Ad.default)(t.element)
2385
+ i&&t.callback(e.scrollDistance),i!==t.inView&&(t.inView=i)}))},e}(Cd.default)
2386
+ yd.default=Sd
2387
+ var Ed={},Hd=Qh&&Qh.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
2312
2388
  return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null")
2313
2389
  function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
2314
- Object.defineProperty(Cd,"__esModule",{value:!0})
2315
- var _d=vd,zd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return kd(e,t),e.prototype.update=function(){var e=this
2316
- t.prototype.update.call(this),this.subscriptions.forEach((function(t,i){var s=(0,_d.default)(t.element)
2317
- s&&!t.inView&&t.callback(e.scrollDistance),s!==t.inView&&(t.inView=s)}))},e}(gd.default)
2318
- Cd.default=zd
2319
- var Id={},Od=jh&&jh.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
2390
+ Object.defineProperty(Ed,"__esModule",{value:!0})
2391
+ var Md=$d,Vd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hd(e,t),e.prototype.update=function(){var e=this
2392
+ t.prototype.update.call(this),this.subscriptions.forEach((function(t,i){var s=(0,Md.default)(t.element)
2393
+ s&&!t.inView&&t.callback(e.scrollDistance),s!==t.inView&&(t.inView=s)}))},e}(Cd.default)
2394
+ Ed.default=Vd
2395
+ var Ld={},Td=Qh&&Qh.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
2320
2396
  return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null")
2321
2397
  function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
2322
- Object.defineProperty(Id,"__esModule",{value:!0})
2323
- var Ad=vd,Sd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Od(e,t),e.prototype.update=function(){var e=this
2324
- t.prototype.update.call(this),this.subscriptions.forEach((function(t,i){var s=(0,Ad.default)(t.element)
2325
- !s&&t.inView&&t.callback(e.scrollDistance),s!==t.inView&&(t.inView=s)}))},e}(gd.default)
2326
- Id.default=Sd,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ViewExitTrigger=t.ViewEnterTrigger=t.ScrollTrigger=t.fadeOut=t.fadeIn=t.cubicBezier=t.AnimateTo=t.AnimateSequence=t.AnimateGroup=t.AnimateFrom=t.Animate=void 0
2327
- var e=Uh
2398
+ Object.defineProperty(Ld,"__esModule",{value:!0})
2399
+ var Pd=$d,Rd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Td(e,t),e.prototype.update=function(){var e=this
2400
+ t.prototype.update.call(this),this.subscriptions.forEach((function(t,i){var s=(0,Pd.default)(t.element)
2401
+ !s&&t.inView&&t.callback(e.scrollDistance),s!==t.inView&&(t.inView=s)}))},e}(Cd.default)
2402
+ Ld.default=Rd,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ViewExitTrigger=t.ViewEnterTrigger=t.ScrollTrigger=t.fadeOut=t.fadeIn=t.cubicBezier=t.AnimateTo=t.AnimateSequence=t.AnimateGroup=t.AnimateFrom=t.Animate=void 0
2403
+ var e=Zh
2328
2404
  t.AnimateTo=e.default
2329
- var i=Qh
2405
+ var i=nd
2330
2406
  t.AnimateFrom=i.default
2331
- var s=ed
2407
+ var s=cd
2332
2408
  t.AnimateGroup=s.default
2333
- var o=nd
2409
+ var o=pd
2334
2410
  t.AnimateSequence=o.default
2335
- var n=Kh
2411
+ var n=td
2336
2412
  t.Animate=n.default
2337
- var r=ld
2413
+ var r=md
2338
2414
  Object.defineProperty(t,"fadeIn",{enumerable:!0,get:function(){return r.fadeIn}}),Object.defineProperty(t,"fadeOut",{enumerable:!0,get:function(){return r.fadeOut}})
2339
- var a=cd
2415
+ var a=fd
2340
2416
  Object.defineProperty(t,"cubicBezier",{enumerable:!0,get:function(){return a.cubicBezier}})
2341
- var l=pd
2417
+ var l=yd
2342
2418
  t.ScrollTrigger=l.default
2343
- var c=Cd
2419
+ var c=Ed
2344
2420
  t.ViewEnterTrigger=c.default
2345
- var h=Id
2346
- t.ViewExitTrigger=h.default}(qh)
2347
- const Ed=window.matchMedia("(prefers-reduced-motion: reduce)"),Hd={slideLeftKeyframes:[{transform:"translateX(-100%)",visibility:"hidden",offset:0},{transform:"translateX(-100%)",visibility:"visible",offset:.01},{transform:"translateX(0%)",visibility:"visible",offset:1}],slideRightKeyframes:[{transform:"translateX(100%)",visibility:"hidden",offset:0},{transform:"translateX(100%)",visibility:"visible",offset:.01},{transform:"translateX(0%)",visibility:"visible",offset:1}],fadeOverlayKeyframes:[{opacity:0},{opacity:1}],slideInOptions:{duration:1,easing:"ease-out"},slideOutOptions:{duration:1,easing:"ease-in",direction:"reverse"}},Md=ut`
2421
+ var h=Ld
2422
+ t.ViewExitTrigger=h.default}(Jh)
2423
+ const Dd=window.matchMedia("(prefers-reduced-motion: reduce)"),Fd={slideLeftKeyframes:[{transform:"translateX(-100%)",visibility:"hidden",offset:0},{transform:"translateX(-100%)",visibility:"visible",offset:.01},{transform:"translateX(0%)",visibility:"visible",offset:1}],slideRightKeyframes:[{transform:"translateX(100%)",visibility:"hidden",offset:0},{transform:"translateX(100%)",visibility:"visible",offset:.01},{transform:"translateX(0%)",visibility:"visible",offset:1}],fadeOverlayKeyframes:[{opacity:0},{opacity:1}],slideInOptions:{duration:1,easing:"ease-out"},slideOutOptions:{duration:1,easing:"ease-in",direction:"reverse"}},Bd=ut`
2348
2424
  ${Zs("block")}
2349
2425
 
2350
2426
  :host {
@@ -2449,30 +2525,30 @@ const Ed=window.matchMedia("(prefers-reduced-motion: reduce)"),Hd={slideLeftKeyf
2449
2525
  justify-content: flex-end;
2450
2526
  border-top: ${Zn} solid ${Xn};
2451
2527
  }
2452
- `,Vd="left",Ld="right",Td="opening",Pd="opened",Rd="closing",Dd="closed"
2453
- class Fd extends ts{constructor(){super(...arguments),this.location=Vd,this.state=Dd,this.preventDismiss=!1,this.propertiesToWatch=["hidden","location","state"],this.animationDurationMilliseconds=.001}connectedCallback(){this.trapFocus=!1,super.connectedCallback(),this.updateAnimationDuration(),this.animationsEnabledChangedHandler=()=>this.updateAnimationDuration(),Ed.addEventListener("change",this.animationsEnabledChangedHandler),this.onStateChanged()
2528
+ `,Nd="left",jd="right",qd="opening",Ud="opened",Kd="closing",Wd="closed"
2529
+ class Xd extends ts{constructor(){super(...arguments),this.location=Nd,this.state=Wd,this.preventDismiss=!1,this.propertiesToWatch=["hidden","location","state"],this.animationDurationMilliseconds=.001}connectedCallback(){this.trapFocus=!1,super.connectedCallback(),this.updateAnimationDuration(),this.animationsEnabledChangedHandler=()=>this.updateAnimationDuration(),Dd.addEventListener("change",this.animationsEnabledChangedHandler),this.onStateChanged()
2454
2530
  const t=p.getNotifier(this),e={handleChange:(t,e)=>this.onPropertyChange(e)}
2455
- this.propertiesToWatch.forEach((i=>t.subscribe(e,i))),this.propertyChangeSubscriber=e,this.propertyChangeNotifier=t}disconnectedCallback(){super.disconnectedCallback(),this.cancelCurrentAnimation(),this.propertyChangeNotifier&&this.propertyChangeSubscriber&&(this.propertiesToWatch.forEach((t=>this.propertyChangeNotifier.unsubscribe(this.propertyChangeSubscriber,t))),this.propertyChangeNotifier=void 0,this.propertyChangeSubscriber=void 0),this.animationsEnabledChangedHandler&&(Ed.removeEventListener("change",this.animationsEnabledChangedHandler),this.animationsEnabledChangedHandler=void 0)}show(){this.state=Td}hide(){this.state=Rd}dismiss(){this.$emit("cancel",{},{bubbles:!1,cancelable:!0,composed:!1})&&!this.preventDismiss&&(this.$emit("dismiss"),this.hide())}onPropertyChange(t){switch(t){case"hidden":this.onHiddenChanged()
2531
+ this.propertiesToWatch.forEach((i=>t.subscribe(e,i))),this.propertyChangeSubscriber=e,this.propertyChangeNotifier=t}disconnectedCallback(){super.disconnectedCallback(),this.cancelCurrentAnimation(),this.propertyChangeNotifier&&this.propertyChangeSubscriber&&(this.propertiesToWatch.forEach((t=>this.propertyChangeNotifier.unsubscribe(this.propertyChangeSubscriber,t))),this.propertyChangeNotifier=void 0,this.propertyChangeSubscriber=void 0),this.animationsEnabledChangedHandler&&(Dd.removeEventListener("change",this.animationsEnabledChangedHandler),this.animationsEnabledChangedHandler=void 0)}show(){this.state=qd}hide(){this.state=Kd}dismiss(){this.$emit("cancel",{},{bubbles:!1,cancelable:!0,composed:!1})&&!this.preventDismiss&&(this.$emit("dismiss"),this.hide())}onPropertyChange(t){switch(t){case"hidden":this.onHiddenChanged()
2456
2532
  break
2457
2533
  case"location":this.onLocationChanged()
2458
2534
  break
2459
- case"state":this.onStateChanged()}}onHiddenChanged(){this.hidden&&this.state!==Dd?this.state=Dd:this.hidden||this.state!==Dd||(this.state=Pd)}onLocationChanged(){this.cancelCurrentAnimation()}onStateChanged(){if(this.isConnected){switch(this.cancelCurrentAnimation(),this.state){case Td:this.animateOpening(),this.hidden=!1
2535
+ case"state":this.onStateChanged()}}onHiddenChanged(){this.hidden&&this.state!==Wd?this.state=Wd:this.hidden||this.state!==Wd||(this.state=Ud)}onLocationChanged(){this.cancelCurrentAnimation()}onStateChanged(){if(this.isConnected){switch(this.cancelCurrentAnimation(),this.state){case qd:this.animateOpening(),this.hidden=!1
2460
2536
  break
2461
- case Pd:this.hidden=!1
2537
+ case Ud:this.hidden=!1
2462
2538
  break
2463
- case Rd:this.hidden=!1,this.animateClosing()
2539
+ case Kd:this.hidden=!1,this.animateClosing()
2464
2540
  break
2465
- case Dd:this.hidden=!0
2541
+ case Wd:this.hidden=!0
2466
2542
  break
2467
- default:throw new Error("Unsupported state value. Expected: opening/opened/closing/closed")}this.$emit("state-change")}}updateAnimationDuration(){if(Ed.matches)this.animationDurationMilliseconds=.001
2543
+ default:throw new Error("Unsupported state value. Expected: opening/opened/closing/closed")}this.$emit("state-change")}}updateAnimationDuration(){if(Dd.matches)this.animationDurationMilliseconds=.001
2468
2544
  else{const t=$a.getValueFor(this),e=parseFloat(t)
2469
- this.animationDurationMilliseconds=1e3*e}}animateOpening(){this.animateOpenClose(!0)}animateClosing(){this.hidden?this.state=Dd:this.animateOpenClose(!1)}animateOpenClose(t){const e={...t?Hd.slideInOptions:Hd.slideOutOptions,duration:this.animationDurationMilliseconds},i=this.location===Ld?Hd.slideRightKeyframes:Hd.slideLeftKeyframes,s=new qh.AnimateTo(this.dialog,void 0,e)
2545
+ this.animationDurationMilliseconds=1e3*e}}animateOpening(){this.animateOpenClose(!0)}animateClosing(){this.hidden?this.state=Wd:this.animateOpenClose(!1)}animateOpenClose(t){const e={...t?Fd.slideInOptions:Fd.slideOutOptions,duration:this.animationDurationMilliseconds},i=this.location===jd?Fd.slideRightKeyframes:Fd.slideLeftKeyframes,s=new Jh.AnimateTo(this.dialog,void 0,e)
2470
2546
  s.addKeyframes(i)
2471
2547
  const o=[s],n=this.shadowRoot?.querySelector(".overlay")
2472
- if(n){const t=new qh.AnimateTo(n,void 0,e)
2473
- t.addKeyframes(Hd.fadeOverlayKeyframes),o.push(t)}const r=new qh.AnimateGroup(o)
2474
- r.onFinish=()=>{this.state=t?Pd:Dd},this.animationGroup=r,r.play()}cancelCurrentAnimation(){this.animationGroup?.cancel()}}zn([tt],Fd.prototype,"location",void 0),zn([tt],Fd.prototype,"state",void 0),zn([tt({attribute:"prevent-dismiss",mode:"boolean"})],Fd.prototype,"preventDismiss",void 0)
2475
- const Bd=Fd.compose({baseName:"drawer",template:(t,e)=>q`
2548
+ if(n){const t=new Jh.AnimateTo(n,void 0,e)
2549
+ t.addKeyframes(Fd.fadeOverlayKeyframes),o.push(t)}const r=new Jh.AnimateGroup(o)
2550
+ r.onFinish=()=>{this.state=t?Ud:Wd},this.animationGroup=r,r.play()}cancelCurrentAnimation(){this.animationGroup?.cancel()}}zn([tt],Xd.prototype,"location",void 0),zn([tt],Xd.prototype,"state",void 0),zn([tt({attribute:"prevent-dismiss",mode:"boolean"})],Xd.prototype,"preventDismiss",void 0)
2551
+ const Yd=Xd.compose({baseName:"drawer",template:(t,e)=>q`
2476
2552
  <div class="positioning-region" part="positioning-region">
2477
2553
  ${gt((t=>t.modal),q`
2478
2554
  <div
@@ -2496,8 +2572,8 @@ const Bd=Fd.compose({baseName:"drawer",template:(t,e)=>q`
2496
2572
  <slot></slot>
2497
2573
  </div>
2498
2574
  </div>
2499
- `,styles:Md})
2500
- Bi.getOrCreate().withPrefix("nimble").register(Bd())
2575
+ `,styles:Bd})
2576
+ Bi.getOrCreate().withPrefix("nimble").register(Yd())
2501
2577
  Th("icon-add",class extends Lh{constructor(){super(La)}})
2502
2578
  Th("icon-arrow-down-right-and-arrow-up-left",class extends Lh{constructor(){super(Ta)}})
2503
2579
  Th("icon-arrow-expander-left",class extends Lh{constructor(){super(Ra)}})
@@ -2579,7 +2655,7 @@ Th("icon-hashtag",class extends Lh{constructor(){super(rc)}})
2579
2655
  Th("icon-home",class extends Lh{constructor(){super(ac)}})
2580
2656
  Th("icon-hourglass",class extends Lh{constructor(){super(lc)}})
2581
2657
  Th("icon-indeterminant-checkbox",class extends Lh{constructor(){super(cc)}})
2582
- class Nd extends Lh{constructor(){super(hc)}}Th("icon-info",Nd)
2658
+ class Gd extends Lh{constructor(){super(hc)}}Th("icon-info",Gd)
2583
2659
  Th("icon-info-circle",class extends Lh{constructor(){super(dc)}})
2584
2660
  Th("icon-key",class extends Lh{constructor(){super(uc)}})
2585
2661
  Th("icon-laptop",class extends Lh{constructor(){super(pc)}})
@@ -2638,7 +2714,7 @@ Th("icon-window-text",class extends Lh{constructor(){super(dh)}})
2638
2714
  Th("icon-wrench-hammer",class extends Lh{constructor(){super(uh)}})
2639
2715
  Th("icon-xmark",class extends Lh{constructor(){super(ph)}})
2640
2716
  Th("icon-xmark-check",class extends Lh{constructor(){super(vh)}})
2641
- const jd=ut`
2717
+ const Qd=ut`
2642
2718
  ${Zs("flex")}
2643
2719
 
2644
2720
  :host {
@@ -2693,7 +2769,7 @@ const jd=ut`
2693
2769
  outline: none;
2694
2770
  }
2695
2771
  `
2696
- const qd=class extends oi{get value(){return super.value}set value(t){super.value=`${t}`,this.$fastController.isConnected&&this.setAttribute("value",this.value)}connectedCallback(){super.connectedCallback(),this.setAttribute("value",this.value)}}.compose({baseName:"list-option",baseClass:oi,template:(t,e)=>q`
2772
+ const Jd=class extends oi{get value(){return super.value}set value(t){super.value=`${t}`,this.$fastController.isConnected&&this.setAttribute("value",this.value)}connectedCallback(){super.connectedCallback(),this.setAttribute("value",this.value)}}.compose({baseName:"list-option",baseClass:oi,template:(t,e)=>q`
2697
2773
  <template
2698
2774
  aria-checked="${t=>t.ariaChecked}"
2699
2775
  aria-disabled="${t=>t.ariaDisabled}"
@@ -2709,9 +2785,9 @@ const qd=class extends oi{get value(){return super.value}set value(t){super.valu
2709
2785
  </span>
2710
2786
  ${Ct(0,e)}
2711
2787
  </template>
2712
- `,styles:jd})
2713
- Bi.getOrCreate().withPrefix("nimble").register(qd())
2714
- const Ud=ut`
2788
+ `,styles:Qd})
2789
+ Bi.getOrCreate().withPrefix("nimble").register(Jd())
2790
+ const Zd=ut`
2715
2791
  ${Zs("grid")}
2716
2792
 
2717
2793
  :host {
@@ -2747,7 +2823,7 @@ const Ud=ut`
2747
2823
  padding-bottom: ${Gn};
2748
2824
  }
2749
2825
  `
2750
- const Kd=class extends as{}.compose({baseName:"menu",baseClass:as,template:(t,e)=>q`
2826
+ const tu=class extends as{}.compose({baseName:"menu",baseClass:as,template:(t,e)=>q`
2751
2827
  <template
2752
2828
  slot="${t=>t.slot?t.slot:t.isNestedMenu()?"submenu":void 0}"
2753
2829
  role="menu"
@@ -2756,9 +2832,9 @@ const Kd=class extends as{}.compose({baseName:"menu",baseClass:as,template:(t,e)
2756
2832
  >
2757
2833
  <slot ${wt("items")}></slot>
2758
2834
  </template>
2759
- `,styles:Ud})
2760
- Bi.getOrCreate().withPrefix("nimble").register(Kd())
2761
- const Wd=ut`
2835
+ `,styles:Zd})
2836
+ Bi.getOrCreate().withPrefix("nimble").register(tu())
2837
+ const eu=ut`
2762
2838
  ${Zs("inline-block")}
2763
2839
 
2764
2840
  :host {
@@ -2774,7 +2850,7 @@ const Wd=ut`
2774
2850
  margin-top: ${Gn};
2775
2851
  margin-bottom: ${Gn};
2776
2852
  }
2777
- `,Xd=ut`
2853
+ `,iu=ut`
2778
2854
  ${Ch}
2779
2855
 
2780
2856
  .control[aria-pressed='true'] {
@@ -2800,8 +2876,8 @@ const Wd=ut`
2800
2876
  border-color: ${Tn};
2801
2877
  }
2802
2878
  `
2803
- class Yd extends Cs{constructor(){super(...arguments),this.appearance=xh,this.contentHidden=!1}}zn([tt],Yd.prototype,"appearance",void 0),zn([tt({attribute:"content-hidden",mode:"boolean"})],Yd.prototype,"contentHidden",void 0),de(Yd,$t,Ze)
2804
- const Gd=Yd.compose({baseName:"toggle-button",template:(t,e)=>q`
2879
+ class su extends Cs{constructor(){super(...arguments),this.appearance=xh,this.contentHidden=!1}}zn([tt],su.prototype,"appearance",void 0),zn([tt({attribute:"content-hidden",mode:"boolean"})],su.prototype,"contentHidden",void 0),de(su,$t,Ze)
2880
+ const ou=su.compose({baseName:"toggle-button",template:(t,e)=>q`
2805
2881
  <div
2806
2882
  role="button"
2807
2883
  part="control"
@@ -2842,22 +2918,22 @@ const Gd=Yd.compose({baseName:"toggle-button",template:(t,e)=>q`
2842
2918
  </span>
2843
2919
  ${Ct(0,e)}
2844
2920
  </div>
2845
- `,styles:Xd,shadowOptions:{delegatesFocus:!0}})
2846
- Bi.getOrCreate().withPrefix("nimble").register(Gd())
2847
- const Qd="auto"
2848
- class Jd extends le{constructor(){super(...arguments),this.appearance=xh,this.disabled=!1,this.contentHidden=!1,this.open=!1,this.position=Qd,this.focusLastItemWhenOpened=!1,this.menuChangeHandler=()=>{this.open=!1,this.toggleButton.focus()}}disconnectedCallback(){super.disconnectedCallback(),this.region&&this.region.removeEventListener(me,this.menuChangeHandler)}toggleButtonChanged(t,e){this.region&&this.toggleButton&&(this.region.anchorElement=this.toggleButton)}regionChanged(t,e){t&&t.removeEventListener(me,this.menuChangeHandler),this.region&&(this.toggleButton&&(this.region.anchorElement=this.toggleButton),this.region.addEventListener(me,this.menuChangeHandler,{capture:!0}))}openChanged(t,e){this.toggleButton&&(this.toggleButton.checked=this.open),this.open||this.$emit("open-change")}regionLoadedHandler(){this.focusLastItemWhenOpened?(this.focusLastMenuItem(),this.focusLastItemWhenOpened=!1):this.focusMenu(),this.$emit("open-change")}focusoutHandler(t){if(!this.open)return!0
2921
+ `,styles:iu,shadowOptions:{delegatesFocus:!0}})
2922
+ Bi.getOrCreate().withPrefix("nimble").register(ou())
2923
+ const nu="auto"
2924
+ class ru extends le{constructor(){super(...arguments),this.appearance=xh,this.disabled=!1,this.contentHidden=!1,this.open=!1,this.position=nu,this.focusLastItemWhenOpened=!1,this.menuChangeHandler=()=>{this.open=!1,this.toggleButton.focus()}}disconnectedCallback(){super.disconnectedCallback(),this.region&&this.region.removeEventListener(me,this.menuChangeHandler)}toggleButtonChanged(t,e){this.region&&this.toggleButton&&(this.region.anchorElement=this.toggleButton)}regionChanged(t,e){t&&t.removeEventListener(me,this.menuChangeHandler),this.region&&(this.toggleButton&&(this.region.anchorElement=this.toggleButton),this.region.addEventListener(me,this.menuChangeHandler,{capture:!0}))}openChanged(t,e){this.toggleButton&&(this.toggleButton.checked=this.open),this.open||this.$emit("open-change")}regionLoadedHandler(){this.focusLastItemWhenOpened?(this.focusLastMenuItem(),this.focusLastItemWhenOpened=!1):this.focusMenu(),this.$emit("open-change")}focusoutHandler(t){if(!this.open)return!0
2849
2925
  const e=t.relatedTarget
2850
2926
  return!!this.contains(e)||(this.open=!1,!1)}toggleButtonCheckedChangeHandler(t){return this.open=this.toggleButton.checked,t.stopPropagation(),!1}toggleButtonKeyDownHandler(t){switch(t.key){case Ce:return this.focusLastItemWhenOpened=!0,this.open=!0,!1
2851
2927
  case xe:return this.open=!0,!1
2852
2928
  default:return!0}}menuKeyDownHandler(t){switch(t.key){case _e:return this.open=!1,this.toggleButton.focus(),!1
2853
2929
  default:return!0}}get menu(){return this.slottedMenus?.length?this.slottedMenus[0]:void 0}focusMenu(){this.menu?.focus()}focusLastMenuItem(){const t=this.menu?.querySelectorAll("[role=menuitem]")
2854
- if(t?.length){t[t.length-1].focus()}}}zn([tt],Jd.prototype,"appearance",void 0),zn([tt({mode:"boolean"})],Jd.prototype,"disabled",void 0),zn([tt({attribute:"content-hidden",mode:"boolean"})],Jd.prototype,"contentHidden",void 0),zn([tt({mode:"boolean"})],Jd.prototype,"open",void 0),zn([tt({attribute:"position"})],Jd.prototype,"position",void 0),zn([v],Jd.prototype,"toggleButton",void 0),zn([v],Jd.prototype,"region",void 0),zn([v],Jd.prototype,"slottedMenus",void 0)
2855
- const Zd=Jd.compose({baseName:"menu-button",template:t=>q`
2930
+ if(t?.length){t[t.length-1].focus()}}}zn([tt],ru.prototype,"appearance",void 0),zn([tt({mode:"boolean"})],ru.prototype,"disabled",void 0),zn([tt({attribute:"content-hidden",mode:"boolean"})],ru.prototype,"contentHidden",void 0),zn([tt({mode:"boolean"})],ru.prototype,"open",void 0),zn([tt({attribute:"position"})],ru.prototype,"position",void 0),zn([v],ru.prototype,"toggleButton",void 0),zn([v],ru.prototype,"region",void 0),zn([v],ru.prototype,"slottedMenus",void 0)
2931
+ const au=ru.compose({baseName:"menu-button",template:t=>q`
2856
2932
  <template
2857
2933
  ?open="${t=>t.open}"
2858
2934
  @focusout="${(t,e)=>t.focusoutHandler(e.event)}"
2859
2935
  >
2860
- <${t.tagFor(Yd)}
2936
+ <${t.tagFor(su)}
2861
2937
  part="button"
2862
2938
  appearance="${t=>t.appearance}"
2863
2939
  ?content-hidden="${t=>t.contentHidden}"
@@ -2874,7 +2950,7 @@ const Zd=Jd.compose({baseName:"menu-button",template:t=>q`
2874
2950
  <slot slot="start" name="start"></slot>
2875
2951
  <slot></slot>
2876
2952
  <slot slot="end" name="end"></slot>
2877
- </${t.tagFor(Yd)}>
2953
+ </${t.tagFor(su)}>
2878
2954
  ${gt((t=>t.open),q`
2879
2955
  <${t.tagFor(io)}
2880
2956
  fixed-placement="true"
@@ -2893,9 +2969,9 @@ const Zd=Jd.compose({baseName:"menu-button",template:t=>q`
2893
2969
  </${t.tagFor(io)}>
2894
2970
  `)}
2895
2971
  </template>
2896
- `,styles:Wd,shadowOptions:{delegatesFocus:!0}})
2897
- Bi.getOrCreate().withPrefix("nimble").register(Zd())
2898
- const tu=ut`
2972
+ `,styles:eu,shadowOptions:{delegatesFocus:!0}})
2973
+ Bi.getOrCreate().withPrefix("nimble").register(au())
2974
+ const lu=ut`
2899
2975
  ${Zs("grid")}
2900
2976
 
2901
2977
  :host {
@@ -2974,7 +3050,7 @@ const tu=ut`
2974
3050
  grid-column: 3;
2975
3051
  }
2976
3052
  `
2977
- const eu=class extends rs{}.compose({baseName:"menu-item",baseClass:rs,template:(t,e)=>q`
3053
+ const cu=class extends rs{}.compose({baseName:"menu-item",baseClass:rs,template:(t,e)=>q`
2978
3054
  <template
2979
3055
  role="${t=>t.role}"
2980
3056
  aria-haspopup="${t=>t.hasSubmenu?"menu":void 0}"
@@ -3041,11 +3117,11 @@ const eu=class extends rs{}.compose({baseName:"menu-item",baseClass:rs,template:
3041
3117
  </${t.tagFor(Fe)}>
3042
3118
  `)}
3043
3119
  </template>
3044
- `,styles:tu,expandCollapseGlyph:Da.data})
3045
- Bi.getOrCreate().withPrefix("nimble").register(eu())
3046
- const iu="underline",su="outline",ou="block",nu=ut`
3120
+ `,styles:lu,expandCollapseGlyph:Da.data})
3121
+ Bi.getOrCreate().withPrefix("nimble").register(cu())
3122
+ const hu="underline",du="outline",uu="block",pu=ut`
3047
3123
  ${Zs("inline-block")}
3048
- ${Dh}
3124
+ ${Nh}
3049
3125
 
3050
3126
  :host {
3051
3127
  font: ${zr};
@@ -3192,12 +3268,12 @@ const iu="underline",su="outline",ou="block",nu=ut`
3192
3268
  order: 1;
3193
3269
  padding-right: calc(${Qn} / 4);
3194
3270
  }
3195
- `.withBehaviors(wh(iu,ut`
3271
+ `.withBehaviors(wh(hu,ut`
3196
3272
  .root {
3197
3273
  border-bottom-width: ${Zn};
3198
3274
  padding-bottom: 0;
3199
3275
  }
3200
- `),wh(ou,ut`
3276
+ `),wh(uu,ut`
3201
3277
  .root {
3202
3278
  background-color: rgba(${Fn}, 0.1);
3203
3279
  }
@@ -3215,14 +3291,14 @@ const iu="underline",su="outline",ou="block",nu=ut`
3215
3291
  :host([disabled]) .root {
3216
3292
  background-color: rgba(${Fn}, 0.07);
3217
3293
  }
3218
- `),wh(su,ut`
3294
+ `),wh(du,ut`
3219
3295
  .root {
3220
3296
  border-width: ${Zn};
3221
3297
  padding: 0;
3222
3298
  }
3223
3299
  `))
3224
- class ru extends gs{constructor(){super(...arguments),this.appearance=iu}connectedCallback(){super.connectedCallback(),this.control.setAttribute("role","spinbutton")}}zn([tt],ru.prototype,"appearance",void 0),zn([tt({attribute:"error-text"})],ru.prototype,"errorText",void 0)
3225
- const au=ru.compose({baseName:"number-field",baseClass:gs,template:(t,e)=>q`
3300
+ class vu extends gs{constructor(){super(...arguments),this.appearance=hu}connectedCallback(){super.connectedCallback(),this.control.setAttribute("role","spinbutton")}}zn([tt],vu.prototype,"appearance",void 0),zn([tt({attribute:"error-text"})],vu.prototype,"errorText",void 0)
3301
+ const gu=vu.compose({baseName:"number-field",baseClass:gs,template:(t,e)=>q`
3226
3302
  <template class="${t=>t.readOnly?"readonly":""}">
3227
3303
  <label
3228
3304
  part="label"
@@ -3297,7 +3373,7 @@ const au=ru.compose({baseName:"number-field",baseClass:gs,template:(t,e)=>q`
3297
3373
  ${Ct(0,e)}
3298
3374
  </div>
3299
3375
  </template>
3300
- `,styles:nu,shadowOptions:{delegatesFocus:!0},stepDownGlyph:q`
3376
+ `,styles:pu,shadowOptions:{delegatesFocus:!0},stepDownGlyph:q`
3301
3377
  <nimble-button
3302
3378
  class="step-up-down-button"
3303
3379
  appearance="ghost"
@@ -3323,44 +3399,13 @@ const au=ru.compose({baseName:"number-field",baseClass:gs,template:(t,e)=>q`
3323
3399
  ></nimble-icon-exclamation-mark>
3324
3400
  ${Hh}
3325
3401
  `})
3326
- Bi.getOrCreate().withPrefix("nimble").register(au())
3327
- const lu="underline",cu="outline",hu="block",du=ut`
3328
- ${Rh}
3329
- `.withBehaviors(wh(lu,ut`
3330
- .control {
3331
- padding-top: ${Zn};
3332
- padding-left: calc(${Zn} + ${Qn} / 2);
3333
- padding-right: ${Zn};
3334
- }
3335
-
3336
- :host([disabled]) .control {
3337
- border-color: rgba(${Fn}, 0.1);
3338
- }
3339
- `),wh(cu,ut`
3340
- .control {
3341
- border: ${Zn} solid rgba(${Fn}, 0.3);
3342
- }
3343
-
3344
- :host(.invalid) .errortext {
3345
- top: calc(${Yn} - ${Zn});
3346
- }
3347
- `),wh(hu,ut`
3348
- .control {
3349
- background-color: rgba(${Fn}, 0.1);
3350
- padding-left: calc(${Zn} + ${Qn} / 2);
3351
- padding-right: ${Zn};
3352
- padding-bottom: calc(${Zn});
3353
- border-bottom: ${Zn}
3354
- rgba(${Fn}, 0.07);
3355
- }
3356
-
3357
- :host([disabled]) .control {
3358
- background-color: rgba(${Fn}, 0.07);
3359
- }
3360
- `))
3361
- class uu extends ws{constructor(){super(...arguments),this.appearance=lu}setPositioning(){this.$fastController.isConnected&&(super.setPositioning(),this.updateListboxMaxHeightCssVariable())}slottedOptionsChanged(t,e){const i=this.value
3362
- super.slottedOptionsChanged(t,e),i&&(this.value=i)}maxHeightChanged(){this.updateListboxMaxHeightCssVariable()}updateListboxMaxHeightCssVariable(){this.listbox&&this.listbox.style.setProperty("--ni-private-select-max-height",`${this.maxHeight}px`)}}zn([tt],uu.prototype,"appearance",void 0)
3363
- const pu=uu.compose({baseName:"select",baseClass:ws,template:(t,e)=>q`
3402
+ Bi.getOrCreate().withPrefix("nimble").register(gu())
3403
+ const mu=ut`
3404
+ ${Bh}
3405
+ `
3406
+ class fu extends ws{constructor(){super(...arguments),this.appearance=Rh}setPositioning(){this.$fastController.isConnected&&(super.setPositioning(),this.updateListboxMaxHeightCssVariable())}slottedOptionsChanged(t,e){const i=this.value
3407
+ super.slottedOptionsChanged(t,e),i&&(this.value=i)}maxHeightChanged(){this.updateListboxMaxHeightCssVariable()}updateListboxMaxHeightCssVariable(){this.listbox&&this.listbox.style.setProperty("--ni-private-select-max-height",`${this.maxHeight}px`)}}zn([tt],fu.prototype,"appearance",void 0)
3408
+ const bu=fu.compose({baseName:"select",baseClass:ws,template:(t,e)=>q`
3364
3409
  <template
3365
3410
  class="${t=>[t.collapsible&&"collapsible",t.collapsible&&t.open&&"open",t.disabled&&"disabled",t.collapsible&&t.position].filter(Boolean).join(" ")}"
3366
3411
  aria-activedescendant="${t=>t.ariaActiveDescendant}"
@@ -3413,9 +3458,9 @@ const pu=uu.compose({baseName:"select",baseClass:ws,template:(t,e)=>q`
3413
3458
  ></slot>
3414
3459
  </div>
3415
3460
  </template>
3416
- `,styles:du,indicator:Pa.data})
3417
- Bi.getOrCreate().withPrefix("nimble").register(pu())
3418
- const vu=ut`
3461
+ `,styles:mu,indicator:Pa.data})
3462
+ Bi.getOrCreate().withPrefix("nimble").register(bu())
3463
+ const wu=ut`
3419
3464
  ${Zs("inline-flex")}
3420
3465
 
3421
3466
  :host {
@@ -3577,7 +3622,7 @@ const vu=ut`
3577
3622
  --ni-private-switch-indicator-border-color: ${uo};
3578
3623
  --ni-private-switch-indicator-border-disabled-color: ${Mn(uo,.3)};
3579
3624
  }
3580
- `)),gu=q`
3625
+ `)),xu=q`
3581
3626
  <template
3582
3627
  role="switch"
3583
3628
  aria-checked="${t=>t.checked}"
@@ -3612,9 +3657,9 @@ const vu=ut`
3612
3657
  </div>
3613
3658
  </template>
3614
3659
  `
3615
- const mu=class extends Cs{}.compose({baseClass:Cs,baseName:"switch",template:gu,styles:vu})
3616
- Bi.getOrCreate().withPrefix("nimble").register(mu())
3617
- const fu=ut`
3660
+ const yu=class extends Cs{}.compose({baseClass:Cs,baseName:"switch",template:xu,styles:wu})
3661
+ Bi.getOrCreate().withPrefix("nimble").register(yu())
3662
+ const $u=ut`
3618
3663
  ${Zs("inline-flex")}
3619
3664
 
3620
3665
  :host {
@@ -3708,13 +3753,13 @@ const fu=ut`
3708
3753
  width: 100%;
3709
3754
  }
3710
3755
  `
3711
- const bu=class extends _s{}.compose({baseName:"tab",baseClass:_s,template:(t,e)=>q`
3756
+ const Cu=class extends _s{}.compose({baseName:"tab",baseClass:_s,template:(t,e)=>q`
3712
3757
  <template slot="tab" role="tab" aria-disabled="${t=>t.disabled}">
3713
3758
  <slot></slot>
3714
3759
  </template>
3715
- `,styles:fu})
3716
- Bi.getOrCreate().withPrefix("nimble").register(bu())
3717
- const wu=ut`
3760
+ `,styles:$u})
3761
+ Bi.getOrCreate().withPrefix("nimble").register(Cu())
3762
+ const ku=ut`
3718
3763
  ${Zs("block")}
3719
3764
 
3720
3765
  :host {
@@ -3724,13 +3769,13 @@ const wu=ut`
3724
3769
  padding-top: ${Qn};
3725
3770
  }
3726
3771
  `
3727
- const xu=class extends ks{}.compose({baseName:"tab-panel",baseClass:ks,template:(t,e)=>q`
3772
+ const _u=class extends ks{}.compose({baseName:"tab-panel",baseClass:ks,template:(t,e)=>q`
3728
3773
  <template slot="tabpanel" role="tabpanel">
3729
3774
  <slot></slot>
3730
3775
  </template>
3731
- `,styles:wu})
3732
- Bi.getOrCreate().withPrefix("nimble").register(xu())
3733
- const yu=ut`
3776
+ `,styles:ku})
3777
+ Bi.getOrCreate().withPrefix("nimble").register(_u())
3778
+ const zu=ut`
3734
3779
  ${Zs("grid")}
3735
3780
 
3736
3781
  :host {
@@ -3753,7 +3798,7 @@ const yu=ut`
3753
3798
  grid-column-end: 4;
3754
3799
  }
3755
3800
  `
3756
- const $u=class extends Is{constructor(){super(),this.activeindicator=!1}}.compose({baseName:"tabs",baseClass:Is,template:(t,e)=>q`
3801
+ const Iu=class extends Is{constructor(){super(),this.activeindicator=!1}}.compose({baseName:"tabs",baseClass:Is,template:(t,e)=>q`
3757
3802
  <template class="${t=>t.orientation}">
3758
3803
  ${kt(0,e)}
3759
3804
  <div class="tablist" part="tablist" role="tablist">
@@ -3772,9 +3817,9 @@ const $u=class extends Is{constructor(){super(),this.activeindicator=!1}}.compos
3772
3817
  <slot name="tabpanel" part="tabpanel" ${wt("tabpanels")}></slot>
3773
3818
  </div>
3774
3819
  </template>
3775
- `,styles:yu})
3776
- Bi.getOrCreate().withPrefix("nimble").register($u())
3777
- const Cu=ut`
3820
+ `,styles:zu})
3821
+ Bi.getOrCreate().withPrefix("nimble").register(Iu())
3822
+ const Ou=ut`
3778
3823
  ${Zs("flex")}
3779
3824
 
3780
3825
  :host {
@@ -3792,15 +3837,15 @@ const Cu=ut`
3792
3837
  rgba(${Fn}, 0.3);
3793
3838
  margin: calc(${Qn} / 4) calc(${Qn} / 2);
3794
3839
  }
3795
- `,ku=q`
3840
+ `,Au=q`
3796
3841
  <template slot="end">
3797
3842
  <div class="separator"></div>
3798
3843
  <slot></slot>
3799
3844
  </template>
3800
3845
  `
3801
- const _u=class extends le{}.compose({baseName:"tabs-toolbar",template:ku,styles:Cu})
3802
- Bi.getOrCreate().withPrefix("nimble").register(_u())
3803
- const zu="outline",Iu="block",Ou=ut`
3846
+ const Su=class extends le{}.compose({baseName:"tabs-toolbar",template:Au,styles:Ou})
3847
+ Bi.getOrCreate().withPrefix("nimble").register(Su())
3848
+ const Eu="outline",Hu="block",Mu=ut`
3804
3849
  ${Zs("inline-flex")}
3805
3850
 
3806
3851
  :host {
@@ -3892,12 +3937,12 @@ const zu="outline",Iu="block",Ou=ut`
3892
3937
  :host([resize='vertical']) .control {
3893
3938
  resize: vertical;
3894
3939
  }
3895
- `.withBehaviors(wh(zu,ut`
3940
+ `.withBehaviors(wh(Eu,ut`
3896
3941
  .control {
3897
3942
  border-color: rgba(${Fn}, 0.3);
3898
3943
  background-color: transparent;
3899
3944
  }
3900
- `),wh(Iu,ut`
3945
+ `),wh(Hu,ut`
3901
3946
  .control {
3902
3947
  background-color: rgba(${Fn}, 0.1);
3903
3948
  }
@@ -3911,8 +3956,8 @@ const zu="outline",Iu="block",Ou=ut`
3911
3956
  background-color: rgba(${Fn}, 0.1);
3912
3957
  }
3913
3958
  `))
3914
- class Au extends Es{constructor(){super(...arguments),this.appearance=zu}}zn([tt],Au.prototype,"appearance",void 0)
3915
- const Su=Au.compose({baseName:"text-area",baseClass:Es,template:(t,e)=>q`
3959
+ class Vu extends Es{constructor(){super(...arguments),this.appearance=Eu}}zn([tt],Vu.prototype,"appearance",void 0)
3960
+ const Lu=Vu.compose({baseName:"text-area",baseClass:Es,template:(t,e)=>q`
3916
3961
  <template
3917
3962
  class="
3918
3963
  ${t=>t.readOnly?"readonly":""}
@@ -3967,11 +4012,11 @@ const Su=Au.compose({baseName:"text-area",baseClass:Es,template:(t,e)=>q`
3967
4012
  ${vt("control")}
3968
4013
  ></textarea>
3969
4014
  </template>
3970
- `,styles:Ou,shadowOptions:{delegatesFocus:!0}})
3971
- Bi.getOrCreate().withPrefix("nimble").register(Su())
3972
- const Eu="underline",Hu="outline",Mu="block",Vu="frameless",Lu=ut`
4015
+ `,styles:Mu,shadowOptions:{delegatesFocus:!0}})
4016
+ Bi.getOrCreate().withPrefix("nimble").register(Lu())
4017
+ const Tu="underline",Pu="outline",Ru="block",Du="frameless",Fu=ut`
3973
4018
  ${Zs("inline-block")}
3974
- ${Dh}
4019
+ ${Nh}
3975
4020
 
3976
4021
  :host {
3977
4022
  font: ${zr};
@@ -4142,12 +4187,12 @@ const Eu="underline",Hu="outline",Mu="block",Vu="frameless",Lu=ut`
4142
4187
  slot[name='actions']::slotted(*) {
4143
4188
  ${Yn.cssCustomProperty}: 24px;
4144
4189
  }
4145
- `.withBehaviors(wh(Eu,ut`
4190
+ `.withBehaviors(wh(Tu,ut`
4146
4191
  .root {
4147
4192
  border-bottom-width: ${Zn};
4148
4193
  padding-bottom: 0;
4149
4194
  }
4150
- `),wh(Mu,ut`
4195
+ `),wh(Ru,ut`
4151
4196
  .root {
4152
4197
  background-color: rgba(${Fn}, 0.1);
4153
4198
  }
@@ -4175,12 +4220,12 @@ const Eu="underline",Hu="outline",Mu="block",Vu="frameless",Lu=ut`
4175
4220
  :host([disabled]) .root {
4176
4221
  background-color: rgba(${Fn}, 0.07);
4177
4222
  }
4178
- `),wh(Hu,ut`
4223
+ `),wh(Pu,ut`
4179
4224
  .root {
4180
4225
  border-width: ${Zn};
4181
4226
  padding: 0;
4182
4227
  }
4183
- `),wh(Vu,ut`
4228
+ `),wh(Du,ut`
4184
4229
  .control {
4185
4230
  padding-left: ${Zn};
4186
4231
  padding-right: ${Zn};
@@ -4198,8 +4243,8 @@ const Eu="underline",Hu="outline",Mu="block",Vu="frameless",Lu=ut`
4198
4243
  filter: invert(100%);
4199
4244
  }
4200
4245
  `))
4201
- class Tu extends ds{constructor(){super(...arguments),this.appearance=Eu}connectedCallback(){super.connectedCallback(),this.control.setAttribute("aria-errormessage","errortext")}}zn([tt],Tu.prototype,"appearance",void 0),zn([tt({attribute:"error-text"})],Tu.prototype,"errorText",void 0)
4202
- const Pu=Tu.compose({baseName:"text-field",baseClass:ds,template:(t,e)=>q`
4246
+ class Bu extends ds{constructor(){super(...arguments),this.appearance=Tu}connectedCallback(){super.connectedCallback(),this.control.setAttribute("aria-errormessage","errortext")}}zn([tt],Bu.prototype,"appearance",void 0),zn([tt({attribute:"error-text"})],Bu.prototype,"errorText",void 0)
4247
+ const Nu=Bu.compose({baseName:"text-field",baseClass:ds,template:(t,e)=>q`
4203
4248
  <template
4204
4249
  class="
4205
4250
  ${t=>t.readOnly?"readonly":""}
@@ -4259,7 +4304,7 @@ const Pu=Tu.compose({baseName:"text-field",baseClass:ds,template:(t,e)=>q`
4259
4304
  ${Ct(0,e)}
4260
4305
  </div>
4261
4306
  </template>
4262
- `,styles:Lu,shadowOptions:{delegatesFocus:!0},end:q`
4307
+ `,styles:Fu,shadowOptions:{delegatesFocus:!0},end:q`
4263
4308
  <nimble-icon-exclamation-mark
4264
4309
  class="error-icon fail"
4265
4310
  ></nimble-icon-exclamation-mark>
@@ -4268,8 +4313,8 @@ const Pu=Tu.compose({baseName:"text-field",baseClass:ds,template:(t,e)=>q`
4268
4313
  </span>
4269
4314
  ${Hh}
4270
4315
  `})
4271
- Bi.getOrCreate().withPrefix("nimble").register(Pu())
4272
- const Ru=ut`
4316
+ Bi.getOrCreate().withPrefix("nimble").register(Nu())
4317
+ const ju=ut`
4273
4318
  .positioning-region {
4274
4319
  display: flex;
4275
4320
  padding: ${Gn} ${Qn};
@@ -4294,7 +4339,7 @@ const Ru=ut`
4294
4339
  margin-left: auto;
4295
4340
  }
4296
4341
  `
4297
- const Du=class extends Ms{}.compose({baseName:"toolbar",baseClass:Ms,template:(t,e)=>q`
4342
+ const qu=class extends Ms{}.compose({baseName:"toolbar",baseClass:Ms,template:(t,e)=>q`
4298
4343
  <template
4299
4344
  aria-label="${t=>t.ariaLabel}"
4300
4345
  aria-labelledby="${t=>t.ariaLabelledby}"
@@ -4315,9 +4360,9 @@ const Du=class extends Ms{}.compose({baseName:"toolbar",baseClass:Ms,template:(t
4315
4360
  ${Ct(0,e)}
4316
4361
  </div>
4317
4362
  </template>
4318
- `,styles:Ru,shadowOptions:{delegatesFocus:!0}})
4319
- Bi.getOrCreate().withPrefix("nimble").register(Du())
4320
- const Fu=ut`
4363
+ `,styles:ju,shadowOptions:{delegatesFocus:!0}})
4364
+ Bi.getOrCreate().withPrefix("nimble").register(qu())
4365
+ const Uu=ut`
4321
4366
  ${Zs("inline-flex")}
4322
4367
 
4323
4368
  :host {
@@ -4403,7 +4448,7 @@ const Fu=ut`
4403
4448
  opacity: 0.6;
4404
4449
  }
4405
4450
  `))
4406
- const Bu=class extends Ys{}.compose({baseName:"tooltip",baseClass:Ys,template:t=>q`
4451
+ const Ku=class extends Ys{}.compose({baseName:"tooltip",baseClass:Ys,template:t=>q`
4407
4452
  ${gt((t=>t.tooltipVisible),q`
4408
4453
  <${t.tagFor(io)}
4409
4454
  class="anchored-region"
@@ -4424,21 +4469,21 @@ const Bu=class extends Ys{}.compose({baseName:"tooltip",baseClass:Ys,template:t=
4424
4469
  >
4425
4470
  <div class="tooltip" part="tooltip" role="tooltip">
4426
4471
  <${t.tagFor(Ph)} class="fail status-icon"></${t.tagFor(Ph)}>
4427
- <${t.tagFor(Nd)} class="information status-icon"></${t.tagFor(Nd)}>
4472
+ <${t.tagFor(Gd)} class="information status-icon"></${t.tagFor(Gd)}>
4428
4473
  <slot></slot>
4429
4474
  </div>
4430
4475
  </${t.tagFor(io)}>
4431
4476
  `)}
4432
- `,styles:Fu})
4433
- Bi.getOrCreate().withPrefix("nimble").register(Bu())
4434
- const Nu="group-selected",ju="all",qu="leaves-only",Uu="none"
4435
- class Ku{constructor(t,e){this.cache=new WeakMap,this.ltr=t,this.rtl=e}bind(t){this.attach(t)}unbind(t){const e=this.cache.get(t)
4436
- e&&An.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new Wu(this.ltr,this.rtl,t),i=An.getValueFor(t)
4437
- An.subscribe(e),e.attach(i),this.cache.set(t,e)}}class Wu{constructor(t,e,i){this.ltr=t,this.rtl=e,this.source=i,this.attached=null}handleChange({target:t,token:e}){this.attach(e.getValueFor(t))}attach(t){this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}const Xu=class extends Qs{constructor(){super(...arguments),this.treeView=null,this.handleSelectedChange=t=>{t.target===this&&this.selected&&this.setGroupSelectionOnRootParentTreeItem(this)}}connectedCallback(){super.connectedCallback(),this.addEventListener("selected-change",this.handleSelectedChange),this.treeView=this.getParentTreeView(),this.treeView&&this.selected&&this.setGroupSelectionOnRootParentTreeItem(this)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("selected-change",this.handleSelectedChange),this.treeView=null}clearTreeGroupSelection(){const t=this.treeView?.querySelectorAll("[group-selected]")
4438
- t?.forEach((t=>t.removeAttribute(Nu)))}setGroupSelectionOnRootParentTreeItem(t){this.clearTreeGroupSelection()
4477
+ `,styles:Uu})
4478
+ Bi.getOrCreate().withPrefix("nimble").register(Ku())
4479
+ const Wu="group-selected",Xu="all",Yu="leaves-only",Gu="none"
4480
+ class Qu{constructor(t,e){this.cache=new WeakMap,this.ltr=t,this.rtl=e}bind(t){this.attach(t)}unbind(t){const e=this.cache.get(t)
4481
+ e&&An.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new Ju(this.ltr,this.rtl,t),i=An.getValueFor(t)
4482
+ An.subscribe(e),e.attach(i),this.cache.set(t,e)}}class Ju{constructor(t,e,i){this.ltr=t,this.rtl=e,this.source=i,this.attached=null}handleChange({target:t,token:e}){this.attach(e.getValueFor(t))}attach(t){this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}const Zu=class extends Qs{constructor(){super(...arguments),this.treeView=null,this.handleSelectedChange=t=>{t.target===this&&this.selected&&this.setGroupSelectionOnRootParentTreeItem(this)}}connectedCallback(){super.connectedCallback(),this.addEventListener("selected-change",this.handleSelectedChange),this.treeView=this.getParentTreeView(),this.treeView&&this.selected&&this.setGroupSelectionOnRootParentTreeItem(this)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("selected-change",this.handleSelectedChange),this.treeView=null}clearTreeGroupSelection(){const t=this.treeView?.querySelectorAll("[group-selected]")
4483
+ t?.forEach((t=>t.removeAttribute(Wu)))}setGroupSelectionOnRootParentTreeItem(t){this.clearTreeGroupSelection()
4439
4484
  let e=t
4440
4485
  for(;e?.parentElement!==this.treeView;)e=e?.parentElement
4441
- e&&e.setAttribute(Nu,"true")}getParentTreeView(){return this.parentElement.closest("[role='tree']")}}.compose({baseName:"tree-item",baseClass:Qs,template:(t,e)=>q`
4486
+ e&&e.setAttribute(Wu,"true")}getParentTreeView(){return this.parentElement.closest("[role='tree']")}}.compose({baseName:"tree-item",baseClass:Qs,template:(t,e)=>q`
4442
4487
  <template
4443
4488
  role="treeitem"
4444
4489
  slot="${t=>t.isNestedItem()?"item":void 0}"
@@ -4494,7 +4539,7 @@ e&&e.setAttribute(Nu,"true")}getParentTreeView(){return this.parentElement.close
4494
4539
  }
4495
4540
 
4496
4541
  ${""}
4497
- :host([${Nu}])::after {
4542
+ :host([${Wu}])::after {
4498
4543
  background: ${Un};
4499
4544
  border-radius: 0px;
4500
4545
  content: '';
@@ -4516,7 +4561,7 @@ e&&e.setAttribute(Nu,"true")}getParentTreeView(){return this.parentElement.close
4516
4561
  background: ${Rn};
4517
4562
  }
4518
4563
 
4519
- :host([${Nu}]) .positioning-region:hover {
4564
+ :host([${Wu}]) .positioning-region:hover {
4520
4565
  background: ${Pn};
4521
4566
  }
4522
4567
 
@@ -4626,7 +4671,7 @@ e&&e.setAttribute(Nu,"true")}getParentTreeView(){return this.parentElement.close
4626
4671
  :host([expanded]) .items {
4627
4672
  display: block;
4628
4673
  }
4629
- `.withBehaviors(new Ku(ut`
4674
+ `.withBehaviors(new Qu(ut`
4630
4675
  ${""}
4631
4676
  .expand-collapse-button {
4632
4677
  left: var(
@@ -4659,8 +4704,8 @@ e&&e.setAttribute(Nu,"true")}getParentTreeView(){return this.parentElement.close
4659
4704
  transform: rotate(135deg);
4660
4705
  }
4661
4706
  `)),expandCollapseGlyph:Fa.data})
4662
- Bi.getOrCreate().withPrefix("nimble").register(Xu())
4663
- const Yu=ut`
4707
+ Bi.getOrCreate().withPrefix("nimble").register(Zu())
4708
+ const tp=ut`
4664
4709
  ${Zs("flex")}
4665
4710
 
4666
4711
  :host {
@@ -4673,14 +4718,14 @@ const Yu=ut`
4673
4718
  outline: none;
4674
4719
  }
4675
4720
  `
4676
- class Gu extends Js{constructor(){super(...arguments),this.selectionMode=ju}handleClick(t){if(t.defaultPrevented)return!1
4721
+ class ep extends Js{constructor(){super(...arguments),this.selectionMode=Xu}handleClick(t){if(t.defaultPrevented)return!1
4677
4722
  if(!(t.target instanceof Element&&Gs(t.target)))return!0
4678
4723
  const e=t.target
4679
- return!e.disabled&&(this.canSelect(e)?e.selected=!0:this.itemHasChildren(e)&&(e.expanded=!e.expanded),!0)}canSelect(t){switch(this.selectionMode){case ju:return!0
4680
- case Uu:return!1
4681
- case qu:return!this.itemHasChildren(t)
4682
- default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}}zn([tt({attribute:"selection-mode"})],Gu.prototype,"selectionMode",void 0)
4683
- const Qu=Gu.compose({baseName:"tree-view",baseClass:Js,template:(t,e)=>q`
4724
+ return!e.disabled&&(this.canSelect(e)?e.selected=!0:this.itemHasChildren(e)&&(e.expanded=!e.expanded),!0)}canSelect(t){switch(this.selectionMode){case Xu:return!0
4725
+ case Gu:return!1
4726
+ case Yu:return!this.itemHasChildren(t)
4727
+ default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}}zn([tt({attribute:"selection-mode"})],ep.prototype,"selectionMode",void 0)
4728
+ const ip=ep.compose({baseName:"tree-view",baseClass:Js,template:(t,e)=>q`
4684
4729
  <template
4685
4730
  role="tree"
4686
4731
  ${vt("treeView")}
@@ -4692,6 +4737,6 @@ const Qu=Gu.compose({baseName:"tree-view",baseClass:Js,template:(t,e)=>q`
4692
4737
  >
4693
4738
  <slot ${wt("slottedTreeItems")}></slot>
4694
4739
  </template>
4695
- `,styles:Yu})
4696
- Bi.getOrCreate().withPrefix("nimble").register(Qu())}()
4740
+ `,styles:tp})
4741
+ Bi.getOrCreate().withPrefix("nimble").register(ip())}()
4697
4742
  //# sourceMappingURL=all-components-bundle.min.js.map