@ni/nimble-components 11.8.5 → 11.10.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.
@@ -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,8 +2162,13 @@ const Rh=ut`
2126
2162
  :host(:empty) .listbox {
2127
2163
  display: none;
2128
2164
  }
2129
- `
2130
- class Bh extends mi{constructor(){super(...arguments),this.valueUpdatedByInput=!1}setPositioning(){this.$fastController.isConnected&&super.setPositioning()}slottedOptionsChanged(t,e){const i=this.value
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
2131
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))
@@ -2140,8 +2181,8 @@ case xe:case Ce:this.open&&this.valueUpdatedByInput&&(this.valueUpdatedByInput=!
2140
2181
  break
2141
2182
  default:return e}return e}focusoutHandler(t){const e=super.focusoutHandler(t)
2142
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")
2143
- 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([v],Bh.prototype,"dropdownButton",void 0),zn([tt({attribute:"error-text"})],Bh.prototype,"errorText",void 0)
2144
- const Nh=Bh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
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`
2145
2186
  <template
2146
2187
  aria-disabled="${t=>t.ariaDisabled}"
2147
2188
  autocomplete="${t=>t.autocomplete}"
@@ -2195,7 +2236,7 @@ const Nh=Bh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
2195
2236
  ></slot>
2196
2237
  </div>
2197
2238
  </template>
2198
- `,styles:Fh,shadowOptions:{delegatesFocus:!0},end:q`
2239
+ `,styles:jh,shadowOptions:{delegatesFocus:!0},end:q`
2199
2240
  <div class="end-slot-container">
2200
2241
  <nimble-icon-exclamation-mark
2201
2242
  class="error-icon fail"
@@ -2225,8 +2266,35 @@ const Nh=Bh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
2225
2266
  </div>
2226
2267
  ${Hh}
2227
2268
  `})
2228
- Bi.getOrCreate().withPrefix("nimble").register(Nh())
2229
- 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={}
2230
2298
  !function(t){var e
2231
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={}))
2232
2300
  var i=function(){function t(t,e,i){var s=this
@@ -2255,104 +2323,104 @@ return t.forEach((function(t){t.forEach((function(t,i){var s=t.offset
2255
2323
  void 0===s&&(s=0===i?0:1,t.offset=s)
2256
2324
  var o=s.toString()
2257
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}()
2258
- t.default=i}(Kh)
2259
- 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")
2260
- function i(){this.constructor=t}Wh(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)})
2261
- Object.defineProperty(Uh,"__esModule",{value:!0})
2262
- var Yh=Kh,Gh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
2263
- return e.mode=Yh.AnimationMode.animateTo,e}return Xh(e,t),e}(Yh.default)
2264
- Uh.default=Gh
2265
- 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)}
2266
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")
2267
2335
  function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
2268
- Object.defineProperty(Qh,"__esModule",{value:!0})
2269
- var Zh=Kh,td=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
2270
- return e.mode=Zh.AnimationMode.animateFrom,e}return Jh(e,t),e}(Zh.default)
2271
- Qh.default=td
2272
- var ed={},id={}
2273
- 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})
2274
- var sd=id,od=function(){function t(t){var e=this
2275
- 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
2276
2344
  this._onFinish=t
2277
2345
  var i=this.getLongestAnimation()
2278
2346
  if("function"==typeof i.onFinish){var s=i.onFinish
2279
- 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
2280
2348
  return this.animations.reduce((function(e,i){var s=t.getAnimationDuration(e.effectTiming)
2281
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
2282
2350
  return(t.delay||0)+(i||0)},t}()
2283
- ed.default=od
2284
- var nd={}
2285
- Object.defineProperty(nd,"__esModule",{value:!0})
2286
- var rd=id,ad=function(){function t(t){var e=this
2287
- 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
2288
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}()
2289
- nd.default=ad
2290
- var ld={}
2357
+ pd.default=gd
2358
+ var md={}
2291
2359
  !function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.fadeOut=t.fadeIn=t.applyFade=t.fadeEffectTiming=t.fadeOutKeyframes=t.fadeInKeyframes=void 0
2292
- var e=Uh
2360
+ var e=Zh
2293
2361
  function i(i,s,o){void 0===o&&(o={})
2294
2362
  var n=Object.assign({},t.fadeEffectTiming,o),r=new e.default(i,null,n)
2295
- 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)
2296
- var cd={},hd={}
2297
- 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
2298
- var dd=hd
2299
- 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""
2300
2368
  var e=t[0],i=t[1]
2301
- 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]):""}
2302
- var pd={},vd={}
2303
- 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()
2304
2372
  return e.bottom>=0&&e.right>=0&&e.top<=window.innerHeight&&e.left<=window.innerWidth}
2305
- var gd={},md={}
2306
- 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})
2307
- var fd=vd,bd=md,wd=function(){function t(){var t=this
2308
- 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)()
2309
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}()
2310
- gd.default=wd
2311
- 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)}
2312
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")
2313
2381
  function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
2314
- Object.defineProperty(pd,"__esModule",{value:!0})
2315
- 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
2316
- t.prototype.update.call(this),this.subscriptions.forEach((function(t){var i=(0,yd.default)(t.element)
2317
- i&&t.callback(e.scrollDistance),i!==t.inView&&(t.inView=i)}))},e}(gd.default)
2318
- pd.default=$d
2319
- 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)}
2320
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")
2321
2389
  function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
2322
- Object.defineProperty(Cd,"__esModule",{value:!0})
2323
- 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
2324
- t.prototype.update.call(this),this.subscriptions.forEach((function(t,i){var s=(0,_d.default)(t.element)
2325
- s&&!t.inView&&t.callback(e.scrollDistance),s!==t.inView&&(t.inView=s)}))},e}(gd.default)
2326
- Cd.default=zd
2327
- 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)}
2328
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")
2329
2397
  function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
2330
- Object.defineProperty(Id,"__esModule",{value:!0})
2331
- 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
2332
- t.prototype.update.call(this),this.subscriptions.forEach((function(t,i){var s=(0,Ad.default)(t.element)
2333
- !s&&t.inView&&t.callback(e.scrollDistance),s!==t.inView&&(t.inView=s)}))},e}(gd.default)
2334
- 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
2335
- 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
2336
2404
  t.AnimateTo=e.default
2337
- var i=Qh
2405
+ var i=nd
2338
2406
  t.AnimateFrom=i.default
2339
- var s=ed
2407
+ var s=cd
2340
2408
  t.AnimateGroup=s.default
2341
- var o=nd
2409
+ var o=pd
2342
2410
  t.AnimateSequence=o.default
2343
- var n=Kh
2411
+ var n=td
2344
2412
  t.Animate=n.default
2345
- var r=ld
2413
+ var r=md
2346
2414
  Object.defineProperty(t,"fadeIn",{enumerable:!0,get:function(){return r.fadeIn}}),Object.defineProperty(t,"fadeOut",{enumerable:!0,get:function(){return r.fadeOut}})
2347
- var a=cd
2415
+ var a=fd
2348
2416
  Object.defineProperty(t,"cubicBezier",{enumerable:!0,get:function(){return a.cubicBezier}})
2349
- var l=pd
2417
+ var l=yd
2350
2418
  t.ScrollTrigger=l.default
2351
- var c=Cd
2419
+ var c=Ed
2352
2420
  t.ViewEnterTrigger=c.default
2353
- var h=Id
2354
- t.ViewExitTrigger=h.default}(qh)
2355
- 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`
2356
2424
  ${Zs("block")}
2357
2425
 
2358
2426
  :host {
@@ -2457,30 +2525,30 @@ const Ed=window.matchMedia("(prefers-reduced-motion: reduce)"),Hd={slideLeftKeyf
2457
2525
  justify-content: flex-end;
2458
2526
  border-top: ${Zn} solid ${Xn};
2459
2527
  }
2460
- `,Vd="left",Ld="right",Td="opening",Pd="opened",Rd="closing",Dd="closed"
2461
- 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()
2462
2530
  const t=p.getNotifier(this),e={handleChange:(t,e)=>this.onPropertyChange(e)}
2463
- 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()
2464
2532
  break
2465
2533
  case"location":this.onLocationChanged()
2466
2534
  break
2467
- 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
2468
2536
  break
2469
- case Pd:this.hidden=!1
2537
+ case Ud:this.hidden=!1
2470
2538
  break
2471
- case Rd:this.hidden=!1,this.animateClosing()
2539
+ case Kd:this.hidden=!1,this.animateClosing()
2472
2540
  break
2473
- case Dd:this.hidden=!0
2541
+ case Wd:this.hidden=!0
2474
2542
  break
2475
- 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
2476
2544
  else{const t=$a.getValueFor(this),e=parseFloat(t)
2477
- 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)
2478
2546
  s.addKeyframes(i)
2479
2547
  const o=[s],n=this.shadowRoot?.querySelector(".overlay")
2480
- if(n){const t=new qh.AnimateTo(n,void 0,e)
2481
- t.addKeyframes(Hd.fadeOverlayKeyframes),o.push(t)}const r=new qh.AnimateGroup(o)
2482
- 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)
2483
- 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`
2484
2552
  <div class="positioning-region" part="positioning-region">
2485
2553
  ${gt((t=>t.modal),q`
2486
2554
  <div
@@ -2504,8 +2572,8 @@ const Bd=Fd.compose({baseName:"drawer",template:(t,e)=>q`
2504
2572
  <slot></slot>
2505
2573
  </div>
2506
2574
  </div>
2507
- `,styles:Md})
2508
- Bi.getOrCreate().withPrefix("nimble").register(Bd())
2575
+ `,styles:Bd})
2576
+ Bi.getOrCreate().withPrefix("nimble").register(Yd())
2509
2577
  Th("icon-add",class extends Lh{constructor(){super(La)}})
2510
2578
  Th("icon-arrow-down-right-and-arrow-up-left",class extends Lh{constructor(){super(Ta)}})
2511
2579
  Th("icon-arrow-expander-left",class extends Lh{constructor(){super(Ra)}})
@@ -2587,7 +2655,7 @@ Th("icon-hashtag",class extends Lh{constructor(){super(rc)}})
2587
2655
  Th("icon-home",class extends Lh{constructor(){super(ac)}})
2588
2656
  Th("icon-hourglass",class extends Lh{constructor(){super(lc)}})
2589
2657
  Th("icon-indeterminant-checkbox",class extends Lh{constructor(){super(cc)}})
2590
- class Nd extends Lh{constructor(){super(hc)}}Th("icon-info",Nd)
2658
+ class Gd extends Lh{constructor(){super(hc)}}Th("icon-info",Gd)
2591
2659
  Th("icon-info-circle",class extends Lh{constructor(){super(dc)}})
2592
2660
  Th("icon-key",class extends Lh{constructor(){super(uc)}})
2593
2661
  Th("icon-laptop",class extends Lh{constructor(){super(pc)}})
@@ -2646,7 +2714,7 @@ Th("icon-window-text",class extends Lh{constructor(){super(dh)}})
2646
2714
  Th("icon-wrench-hammer",class extends Lh{constructor(){super(uh)}})
2647
2715
  Th("icon-xmark",class extends Lh{constructor(){super(ph)}})
2648
2716
  Th("icon-xmark-check",class extends Lh{constructor(){super(vh)}})
2649
- const jd=ut`
2717
+ const Qd=ut`
2650
2718
  ${Zs("flex")}
2651
2719
 
2652
2720
  :host {
@@ -2701,7 +2769,7 @@ const jd=ut`
2701
2769
  outline: none;
2702
2770
  }
2703
2771
  `
2704
- 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`
2705
2773
  <template
2706
2774
  aria-checked="${t=>t.ariaChecked}"
2707
2775
  aria-disabled="${t=>t.ariaDisabled}"
@@ -2717,9 +2785,9 @@ const qd=class extends oi{get value(){return super.value}set value(t){super.valu
2717
2785
  </span>
2718
2786
  ${Ct(0,e)}
2719
2787
  </template>
2720
- `,styles:jd})
2721
- Bi.getOrCreate().withPrefix("nimble").register(qd())
2722
- const Ud=ut`
2788
+ `,styles:Qd})
2789
+ Bi.getOrCreate().withPrefix("nimble").register(Jd())
2790
+ const Zd=ut`
2723
2791
  ${Zs("grid")}
2724
2792
 
2725
2793
  :host {
@@ -2755,7 +2823,7 @@ const Ud=ut`
2755
2823
  padding-bottom: ${Gn};
2756
2824
  }
2757
2825
  `
2758
- 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`
2759
2827
  <template
2760
2828
  slot="${t=>t.slot?t.slot:t.isNestedMenu()?"submenu":void 0}"
2761
2829
  role="menu"
@@ -2764,9 +2832,9 @@ const Kd=class extends as{}.compose({baseName:"menu",baseClass:as,template:(t,e)
2764
2832
  >
2765
2833
  <slot ${wt("items")}></slot>
2766
2834
  </template>
2767
- `,styles:Ud})
2768
- Bi.getOrCreate().withPrefix("nimble").register(Kd())
2769
- const Wd=ut`
2835
+ `,styles:Zd})
2836
+ Bi.getOrCreate().withPrefix("nimble").register(tu())
2837
+ const eu=ut`
2770
2838
  ${Zs("inline-block")}
2771
2839
 
2772
2840
  :host {
@@ -2782,7 +2850,7 @@ const Wd=ut`
2782
2850
  margin-top: ${Gn};
2783
2851
  margin-bottom: ${Gn};
2784
2852
  }
2785
- `,Xd=ut`
2853
+ `,iu=ut`
2786
2854
  ${Ch}
2787
2855
 
2788
2856
  .control[aria-pressed='true'] {
@@ -2808,8 +2876,8 @@ const Wd=ut`
2808
2876
  border-color: ${Tn};
2809
2877
  }
2810
2878
  `
2811
- 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)
2812
- 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`
2813
2881
  <div
2814
2882
  role="button"
2815
2883
  part="control"
@@ -2850,22 +2918,22 @@ const Gd=Yd.compose({baseName:"toggle-button",template:(t,e)=>q`
2850
2918
  </span>
2851
2919
  ${Ct(0,e)}
2852
2920
  </div>
2853
- `,styles:Xd,shadowOptions:{delegatesFocus:!0}})
2854
- Bi.getOrCreate().withPrefix("nimble").register(Gd())
2855
- const Qd="auto"
2856
- 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
2857
2925
  const e=t.relatedTarget
2858
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
2859
2927
  case xe:return this.open=!0,!1
2860
2928
  default:return!0}}menuKeyDownHandler(t){switch(t.key){case _e:return this.open=!1,this.toggleButton.focus(),!1
2861
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]")
2862
- 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)
2863
- 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`
2864
2932
  <template
2865
2933
  ?open="${t=>t.open}"
2866
2934
  @focusout="${(t,e)=>t.focusoutHandler(e.event)}"
2867
2935
  >
2868
- <${t.tagFor(Yd)}
2936
+ <${t.tagFor(su)}
2869
2937
  part="button"
2870
2938
  appearance="${t=>t.appearance}"
2871
2939
  ?content-hidden="${t=>t.contentHidden}"
@@ -2882,7 +2950,7 @@ const Zd=Jd.compose({baseName:"menu-button",template:t=>q`
2882
2950
  <slot slot="start" name="start"></slot>
2883
2951
  <slot></slot>
2884
2952
  <slot slot="end" name="end"></slot>
2885
- </${t.tagFor(Yd)}>
2953
+ </${t.tagFor(su)}>
2886
2954
  ${gt((t=>t.open),q`
2887
2955
  <${t.tagFor(io)}
2888
2956
  fixed-placement="true"
@@ -2901,9 +2969,9 @@ const Zd=Jd.compose({baseName:"menu-button",template:t=>q`
2901
2969
  </${t.tagFor(io)}>
2902
2970
  `)}
2903
2971
  </template>
2904
- `,styles:Wd,shadowOptions:{delegatesFocus:!0}})
2905
- Bi.getOrCreate().withPrefix("nimble").register(Zd())
2906
- const tu=ut`
2972
+ `,styles:eu,shadowOptions:{delegatesFocus:!0}})
2973
+ Bi.getOrCreate().withPrefix("nimble").register(au())
2974
+ const lu=ut`
2907
2975
  ${Zs("grid")}
2908
2976
 
2909
2977
  :host {
@@ -2982,7 +3050,7 @@ const tu=ut`
2982
3050
  grid-column: 3;
2983
3051
  }
2984
3052
  `
2985
- 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`
2986
3054
  <template
2987
3055
  role="${t=>t.role}"
2988
3056
  aria-haspopup="${t=>t.hasSubmenu?"menu":void 0}"
@@ -3049,11 +3117,11 @@ const eu=class extends rs{}.compose({baseName:"menu-item",baseClass:rs,template:
3049
3117
  </${t.tagFor(Fe)}>
3050
3118
  `)}
3051
3119
  </template>
3052
- `,styles:tu,expandCollapseGlyph:Da.data})
3053
- Bi.getOrCreate().withPrefix("nimble").register(eu())
3054
- 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`
3055
3123
  ${Zs("inline-block")}
3056
- ${Dh}
3124
+ ${Nh}
3057
3125
 
3058
3126
  :host {
3059
3127
  font: ${zr};
@@ -3200,12 +3268,12 @@ const iu="underline",su="outline",ou="block",nu=ut`
3200
3268
  order: 1;
3201
3269
  padding-right: calc(${Qn} / 4);
3202
3270
  }
3203
- `.withBehaviors(wh(iu,ut`
3271
+ `.withBehaviors(wh(hu,ut`
3204
3272
  .root {
3205
3273
  border-bottom-width: ${Zn};
3206
3274
  padding-bottom: 0;
3207
3275
  }
3208
- `),wh(ou,ut`
3276
+ `),wh(uu,ut`
3209
3277
  .root {
3210
3278
  background-color: rgba(${Fn}, 0.1);
3211
3279
  }
@@ -3223,14 +3291,14 @@ const iu="underline",su="outline",ou="block",nu=ut`
3223
3291
  :host([disabled]) .root {
3224
3292
  background-color: rgba(${Fn}, 0.07);
3225
3293
  }
3226
- `),wh(su,ut`
3294
+ `),wh(du,ut`
3227
3295
  .root {
3228
3296
  border-width: ${Zn};
3229
3297
  padding: 0;
3230
3298
  }
3231
3299
  `))
3232
- 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)
3233
- 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`
3234
3302
  <template class="${t=>t.readOnly?"readonly":""}">
3235
3303
  <label
3236
3304
  part="label"
@@ -3305,7 +3373,7 @@ const au=ru.compose({baseName:"number-field",baseClass:gs,template:(t,e)=>q`
3305
3373
  ${Ct(0,e)}
3306
3374
  </div>
3307
3375
  </template>
3308
- `,styles:nu,shadowOptions:{delegatesFocus:!0},stepDownGlyph:q`
3376
+ `,styles:pu,shadowOptions:{delegatesFocus:!0},stepDownGlyph:q`
3309
3377
  <nimble-button
3310
3378
  class="step-up-down-button"
3311
3379
  appearance="ghost"
@@ -3331,44 +3399,13 @@ const au=ru.compose({baseName:"number-field",baseClass:gs,template:(t,e)=>q`
3331
3399
  ></nimble-icon-exclamation-mark>
3332
3400
  ${Hh}
3333
3401
  `})
3334
- Bi.getOrCreate().withPrefix("nimble").register(au())
3335
- const lu="underline",cu="outline",hu="block",du=ut`
3336
- ${Rh}
3337
- `.withBehaviors(wh(lu,ut`
3338
- .control {
3339
- padding-top: ${Zn};
3340
- padding-left: calc(${Zn} + ${Qn} / 2);
3341
- padding-right: ${Zn};
3342
- }
3343
-
3344
- :host([disabled]) .control {
3345
- border-color: rgba(${Fn}, 0.1);
3346
- }
3347
- `),wh(cu,ut`
3348
- .control {
3349
- border: ${Zn} solid rgba(${Fn}, 0.3);
3350
- }
3351
-
3352
- :host(.invalid) .errortext {
3353
- top: calc(${Yn} - ${Zn});
3354
- }
3355
- `),wh(hu,ut`
3356
- .control {
3357
- background-color: rgba(${Fn}, 0.1);
3358
- padding-left: calc(${Zn} + ${Qn} / 2);
3359
- padding-right: ${Zn};
3360
- padding-bottom: calc(${Zn});
3361
- border-bottom: ${Zn}
3362
- rgba(${Fn}, 0.07);
3363
- }
3364
-
3365
- :host([disabled]) .control {
3366
- background-color: rgba(${Fn}, 0.07);
3367
- }
3368
- `))
3369
- 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
3370
- 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)
3371
- 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`
3372
3409
  <template
3373
3410
  class="${t=>[t.collapsible&&"collapsible",t.collapsible&&t.open&&"open",t.disabled&&"disabled",t.collapsible&&t.position].filter(Boolean).join(" ")}"
3374
3411
  aria-activedescendant="${t=>t.ariaActiveDescendant}"
@@ -3421,9 +3458,9 @@ const pu=uu.compose({baseName:"select",baseClass:ws,template:(t,e)=>q`
3421
3458
  ></slot>
3422
3459
  </div>
3423
3460
  </template>
3424
- `,styles:du,indicator:Pa.data})
3425
- Bi.getOrCreate().withPrefix("nimble").register(pu())
3426
- const vu=ut`
3461
+ `,styles:mu,indicator:Pa.data})
3462
+ Bi.getOrCreate().withPrefix("nimble").register(bu())
3463
+ const wu=ut`
3427
3464
  ${Zs("inline-flex")}
3428
3465
 
3429
3466
  :host {
@@ -3585,7 +3622,7 @@ const vu=ut`
3585
3622
  --ni-private-switch-indicator-border-color: ${uo};
3586
3623
  --ni-private-switch-indicator-border-disabled-color: ${Mn(uo,.3)};
3587
3624
  }
3588
- `)),gu=q`
3625
+ `)),xu=q`
3589
3626
  <template
3590
3627
  role="switch"
3591
3628
  aria-checked="${t=>t.checked}"
@@ -3620,9 +3657,9 @@ const vu=ut`
3620
3657
  </div>
3621
3658
  </template>
3622
3659
  `
3623
- const mu=class extends Cs{}.compose({baseClass:Cs,baseName:"switch",template:gu,styles:vu})
3624
- Bi.getOrCreate().withPrefix("nimble").register(mu())
3625
- 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`
3626
3663
  ${Zs("inline-flex")}
3627
3664
 
3628
3665
  :host {
@@ -3716,13 +3753,13 @@ const fu=ut`
3716
3753
  width: 100%;
3717
3754
  }
3718
3755
  `
3719
- 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`
3720
3757
  <template slot="tab" role="tab" aria-disabled="${t=>t.disabled}">
3721
3758
  <slot></slot>
3722
3759
  </template>
3723
- `,styles:fu})
3724
- Bi.getOrCreate().withPrefix("nimble").register(bu())
3725
- const wu=ut`
3760
+ `,styles:$u})
3761
+ Bi.getOrCreate().withPrefix("nimble").register(Cu())
3762
+ const ku=ut`
3726
3763
  ${Zs("block")}
3727
3764
 
3728
3765
  :host {
@@ -3732,13 +3769,13 @@ const wu=ut`
3732
3769
  padding-top: ${Qn};
3733
3770
  }
3734
3771
  `
3735
- 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`
3736
3773
  <template slot="tabpanel" role="tabpanel">
3737
3774
  <slot></slot>
3738
3775
  </template>
3739
- `,styles:wu})
3740
- Bi.getOrCreate().withPrefix("nimble").register(xu())
3741
- const yu=ut`
3776
+ `,styles:ku})
3777
+ Bi.getOrCreate().withPrefix("nimble").register(_u())
3778
+ const zu=ut`
3742
3779
  ${Zs("grid")}
3743
3780
 
3744
3781
  :host {
@@ -3761,7 +3798,7 @@ const yu=ut`
3761
3798
  grid-column-end: 4;
3762
3799
  }
3763
3800
  `
3764
- 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`
3765
3802
  <template class="${t=>t.orientation}">
3766
3803
  ${kt(0,e)}
3767
3804
  <div class="tablist" part="tablist" role="tablist">
@@ -3780,9 +3817,9 @@ const $u=class extends Is{constructor(){super(),this.activeindicator=!1}}.compos
3780
3817
  <slot name="tabpanel" part="tabpanel" ${wt("tabpanels")}></slot>
3781
3818
  </div>
3782
3819
  </template>
3783
- `,styles:yu})
3784
- Bi.getOrCreate().withPrefix("nimble").register($u())
3785
- const Cu=ut`
3820
+ `,styles:zu})
3821
+ Bi.getOrCreate().withPrefix("nimble").register(Iu())
3822
+ const Ou=ut`
3786
3823
  ${Zs("flex")}
3787
3824
 
3788
3825
  :host {
@@ -3800,15 +3837,15 @@ const Cu=ut`
3800
3837
  rgba(${Fn}, 0.3);
3801
3838
  margin: calc(${Qn} / 4) calc(${Qn} / 2);
3802
3839
  }
3803
- `,ku=q`
3840
+ `,Au=q`
3804
3841
  <template slot="end">
3805
3842
  <div class="separator"></div>
3806
3843
  <slot></slot>
3807
3844
  </template>
3808
3845
  `
3809
- const _u=class extends le{}.compose({baseName:"tabs-toolbar",template:ku,styles:Cu})
3810
- Bi.getOrCreate().withPrefix("nimble").register(_u())
3811
- 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`
3812
3849
  ${Zs("inline-flex")}
3813
3850
 
3814
3851
  :host {
@@ -3900,12 +3937,12 @@ const zu="outline",Iu="block",Ou=ut`
3900
3937
  :host([resize='vertical']) .control {
3901
3938
  resize: vertical;
3902
3939
  }
3903
- `.withBehaviors(wh(zu,ut`
3940
+ `.withBehaviors(wh(Eu,ut`
3904
3941
  .control {
3905
3942
  border-color: rgba(${Fn}, 0.3);
3906
3943
  background-color: transparent;
3907
3944
  }
3908
- `),wh(Iu,ut`
3945
+ `),wh(Hu,ut`
3909
3946
  .control {
3910
3947
  background-color: rgba(${Fn}, 0.1);
3911
3948
  }
@@ -3919,8 +3956,8 @@ const zu="outline",Iu="block",Ou=ut`
3919
3956
  background-color: rgba(${Fn}, 0.1);
3920
3957
  }
3921
3958
  `))
3922
- class Au extends Es{constructor(){super(...arguments),this.appearance=zu}}zn([tt],Au.prototype,"appearance",void 0)
3923
- 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`
3924
3961
  <template
3925
3962
  class="
3926
3963
  ${t=>t.readOnly?"readonly":""}
@@ -3975,11 +4012,11 @@ const Su=Au.compose({baseName:"text-area",baseClass:Es,template:(t,e)=>q`
3975
4012
  ${vt("control")}
3976
4013
  ></textarea>
3977
4014
  </template>
3978
- `,styles:Ou,shadowOptions:{delegatesFocus:!0}})
3979
- Bi.getOrCreate().withPrefix("nimble").register(Su())
3980
- 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`
3981
4018
  ${Zs("inline-block")}
3982
- ${Dh}
4019
+ ${Nh}
3983
4020
 
3984
4021
  :host {
3985
4022
  font: ${zr};
@@ -4150,12 +4187,12 @@ const Eu="underline",Hu="outline",Mu="block",Vu="frameless",Lu=ut`
4150
4187
  slot[name='actions']::slotted(*) {
4151
4188
  ${Yn.cssCustomProperty}: 24px;
4152
4189
  }
4153
- `.withBehaviors(wh(Eu,ut`
4190
+ `.withBehaviors(wh(Tu,ut`
4154
4191
  .root {
4155
4192
  border-bottom-width: ${Zn};
4156
4193
  padding-bottom: 0;
4157
4194
  }
4158
- `),wh(Mu,ut`
4195
+ `),wh(Ru,ut`
4159
4196
  .root {
4160
4197
  background-color: rgba(${Fn}, 0.1);
4161
4198
  }
@@ -4183,12 +4220,12 @@ const Eu="underline",Hu="outline",Mu="block",Vu="frameless",Lu=ut`
4183
4220
  :host([disabled]) .root {
4184
4221
  background-color: rgba(${Fn}, 0.07);
4185
4222
  }
4186
- `),wh(Hu,ut`
4223
+ `),wh(Pu,ut`
4187
4224
  .root {
4188
4225
  border-width: ${Zn};
4189
4226
  padding: 0;
4190
4227
  }
4191
- `),wh(Vu,ut`
4228
+ `),wh(Du,ut`
4192
4229
  .control {
4193
4230
  padding-left: ${Zn};
4194
4231
  padding-right: ${Zn};
@@ -4206,8 +4243,8 @@ const Eu="underline",Hu="outline",Mu="block",Vu="frameless",Lu=ut`
4206
4243
  filter: invert(100%);
4207
4244
  }
4208
4245
  `))
4209
- 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)
4210
- 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`
4211
4248
  <template
4212
4249
  class="
4213
4250
  ${t=>t.readOnly?"readonly":""}
@@ -4267,7 +4304,7 @@ const Pu=Tu.compose({baseName:"text-field",baseClass:ds,template:(t,e)=>q`
4267
4304
  ${Ct(0,e)}
4268
4305
  </div>
4269
4306
  </template>
4270
- `,styles:Lu,shadowOptions:{delegatesFocus:!0},end:q`
4307
+ `,styles:Fu,shadowOptions:{delegatesFocus:!0},end:q`
4271
4308
  <nimble-icon-exclamation-mark
4272
4309
  class="error-icon fail"
4273
4310
  ></nimble-icon-exclamation-mark>
@@ -4276,8 +4313,8 @@ const Pu=Tu.compose({baseName:"text-field",baseClass:ds,template:(t,e)=>q`
4276
4313
  </span>
4277
4314
  ${Hh}
4278
4315
  `})
4279
- Bi.getOrCreate().withPrefix("nimble").register(Pu())
4280
- const Ru=ut`
4316
+ Bi.getOrCreate().withPrefix("nimble").register(Nu())
4317
+ const ju=ut`
4281
4318
  .positioning-region {
4282
4319
  display: flex;
4283
4320
  padding: ${Gn} ${Qn};
@@ -4302,7 +4339,7 @@ const Ru=ut`
4302
4339
  margin-left: auto;
4303
4340
  }
4304
4341
  `
4305
- 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`
4306
4343
  <template
4307
4344
  aria-label="${t=>t.ariaLabel}"
4308
4345
  aria-labelledby="${t=>t.ariaLabelledby}"
@@ -4323,9 +4360,9 @@ const Du=class extends Ms{}.compose({baseName:"toolbar",baseClass:Ms,template:(t
4323
4360
  ${Ct(0,e)}
4324
4361
  </div>
4325
4362
  </template>
4326
- `,styles:Ru,shadowOptions:{delegatesFocus:!0}})
4327
- Bi.getOrCreate().withPrefix("nimble").register(Du())
4328
- const Fu=ut`
4363
+ `,styles:ju,shadowOptions:{delegatesFocus:!0}})
4364
+ Bi.getOrCreate().withPrefix("nimble").register(qu())
4365
+ const Uu=ut`
4329
4366
  ${Zs("inline-flex")}
4330
4367
 
4331
4368
  :host {
@@ -4411,7 +4448,7 @@ const Fu=ut`
4411
4448
  opacity: 0.6;
4412
4449
  }
4413
4450
  `))
4414
- 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`
4415
4452
  ${gt((t=>t.tooltipVisible),q`
4416
4453
  <${t.tagFor(io)}
4417
4454
  class="anchored-region"
@@ -4432,21 +4469,21 @@ const Bu=class extends Ys{}.compose({baseName:"tooltip",baseClass:Ys,template:t=
4432
4469
  >
4433
4470
  <div class="tooltip" part="tooltip" role="tooltip">
4434
4471
  <${t.tagFor(Ph)} class="fail status-icon"></${t.tagFor(Ph)}>
4435
- <${t.tagFor(Nd)} class="information status-icon"></${t.tagFor(Nd)}>
4472
+ <${t.tagFor(Gd)} class="information status-icon"></${t.tagFor(Gd)}>
4436
4473
  <slot></slot>
4437
4474
  </div>
4438
4475
  </${t.tagFor(io)}>
4439
4476
  `)}
4440
- `,styles:Fu})
4441
- Bi.getOrCreate().withPrefix("nimble").register(Bu())
4442
- const Nu="group-selected",ju="all",qu="leaves-only",Uu="none"
4443
- 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)
4444
- e&&An.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new Wu(this.ltr,this.rtl,t),i=An.getValueFor(t)
4445
- 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]")
4446
- 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()
4447
4484
  let e=t
4448
4485
  for(;e?.parentElement!==this.treeView;)e=e?.parentElement
4449
- 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`
4450
4487
  <template
4451
4488
  role="treeitem"
4452
4489
  slot="${t=>t.isNestedItem()?"item":void 0}"
@@ -4502,7 +4539,7 @@ e&&e.setAttribute(Nu,"true")}getParentTreeView(){return this.parentElement.close
4502
4539
  }
4503
4540
 
4504
4541
  ${""}
4505
- :host([${Nu}])::after {
4542
+ :host([${Wu}])::after {
4506
4543
  background: ${Un};
4507
4544
  border-radius: 0px;
4508
4545
  content: '';
@@ -4524,7 +4561,7 @@ e&&e.setAttribute(Nu,"true")}getParentTreeView(){return this.parentElement.close
4524
4561
  background: ${Rn};
4525
4562
  }
4526
4563
 
4527
- :host([${Nu}]) .positioning-region:hover {
4564
+ :host([${Wu}]) .positioning-region:hover {
4528
4565
  background: ${Pn};
4529
4566
  }
4530
4567
 
@@ -4634,7 +4671,7 @@ e&&e.setAttribute(Nu,"true")}getParentTreeView(){return this.parentElement.close
4634
4671
  :host([expanded]) .items {
4635
4672
  display: block;
4636
4673
  }
4637
- `.withBehaviors(new Ku(ut`
4674
+ `.withBehaviors(new Qu(ut`
4638
4675
  ${""}
4639
4676
  .expand-collapse-button {
4640
4677
  left: var(
@@ -4667,8 +4704,8 @@ e&&e.setAttribute(Nu,"true")}getParentTreeView(){return this.parentElement.close
4667
4704
  transform: rotate(135deg);
4668
4705
  }
4669
4706
  `)),expandCollapseGlyph:Fa.data})
4670
- Bi.getOrCreate().withPrefix("nimble").register(Xu())
4671
- const Yu=ut`
4707
+ Bi.getOrCreate().withPrefix("nimble").register(Zu())
4708
+ const tp=ut`
4672
4709
  ${Zs("flex")}
4673
4710
 
4674
4711
  :host {
@@ -4681,14 +4718,14 @@ const Yu=ut`
4681
4718
  outline: none;
4682
4719
  }
4683
4720
  `
4684
- 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
4685
4722
  if(!(t.target instanceof Element&&Gs(t.target)))return!0
4686
4723
  const e=t.target
4687
- 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
4688
- case Uu:return!1
4689
- case qu:return!this.itemHasChildren(t)
4690
- default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}}zn([tt({attribute:"selection-mode"})],Gu.prototype,"selectionMode",void 0)
4691
- 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`
4692
4729
  <template
4693
4730
  role="tree"
4694
4731
  ${vt("treeView")}
@@ -4700,6 +4737,6 @@ const Qu=Gu.compose({baseName:"tree-view",baseClass:Js,template:(t,e)=>q`
4700
4737
  >
4701
4738
  <slot ${wt("slottedTreeItems")}></slot>
4702
4739
  </template>
4703
- `,styles:Yu})
4704
- Bi.getOrCreate().withPrefix("nimble").register(Qu())}()
4740
+ `,styles:tp})
4741
+ Bi.getOrCreate().withPrefix("nimble").register(ip())}()
4705
4742
  //# sourceMappingURL=all-components-bundle.min.js.map