@ni/nimble-components 32.7.2 → 32.8.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.
@@ -2850,7 +2850,40 @@ const jg=qg.compose({baseName:"card-button",template:(t,e)=>Q`
2850
2850
  `,styles:Ug,shadowOptions:{delegatesFocus:!0}})
2851
2851
  _i.getOrCreate().withPrefix("nimble").register(jg())
2852
2852
  const Wg=Mt`
2853
+ .error-icon {
2854
+ display: none;
2855
+ }
2856
+
2857
+ :host([error-visible]) .error-icon {
2858
+ display: inline-flex;
2859
+ width: ${Gl};
2860
+ height: ${Gl};
2861
+ flex: none;
2862
+ }
2863
+
2864
+ .error-text {
2865
+ display: none;
2866
+ }
2867
+
2868
+ :host([error-visible]) .error-text {
2869
+ display: block;
2870
+ font: ${Gd};
2871
+ color: ${Sl};
2872
+ width: 100%;
2873
+ position: absolute;
2874
+ bottom: calc(-1 * (${Qd} + 2px));
2875
+ left: 0px;
2876
+ overflow: hidden;
2877
+ text-overflow: ellipsis;
2878
+ white-space: nowrap;
2879
+ }
2880
+
2881
+ :host([error-visible]) .error-text:empty {
2882
+ display: none;
2883
+ }
2884
+ `,Gg=Mt`
2853
2885
  ${Ps("inline-flex")}
2886
+ ${Wg}
2854
2887
 
2855
2888
  :host {
2856
2889
  font: ${od};
@@ -2858,16 +2891,25 @@ const Wg=Mt`
2858
2891
  cursor: pointer;
2859
2892
  outline: none;
2860
2893
  ${Bm}
2894
+ min-height: ${Vl};
2861
2895
  }
2862
2896
 
2863
2897
  :host([disabled]) {
2864
2898
  cursor: default;
2865
2899
  }
2866
2900
 
2901
+ .container {
2902
+ position: relative;
2903
+ display: grid;
2904
+ grid-template-columns: auto 1fr auto;
2905
+ grid-template-rows: ${hd} auto;
2906
+ align-items: center;
2907
+ width: 100%;
2908
+ }
2909
+
2867
2910
  .control {
2868
- width: calc(${Vl} / 2);
2869
- height: calc(${Vl} / 2);
2870
- flex-shrink: 0;
2911
+ width: ${Gl};
2912
+ height: ${Gl};
2871
2913
  border: ${Wl} solid ${Cl};
2872
2914
  padding: 2px;
2873
2915
  display: inline-flex;
@@ -2876,6 +2918,8 @@ const Wg=Mt`
2876
2918
  transition: box-shadow ${lh};
2877
2919
  ${""}
2878
2920
  line-height: 0;
2921
+ grid-column: 1;
2922
+ grid-row: 1;
2879
2923
  }
2880
2924
 
2881
2925
  @media (prefers-reduced-motion) {
@@ -2903,7 +2947,9 @@ const Wg=Mt`
2903
2947
  .label {
2904
2948
  font: inherit;
2905
2949
  color: ${rd};
2906
- padding-left: 1ch;
2950
+ padding-left: ${Ul};
2951
+ grid-column: 2;
2952
+ grid-row: 1 / span 2;
2907
2953
  cursor: inherit;
2908
2954
  }
2909
2955
 
@@ -2920,16 +2966,13 @@ const Wg=Mt`
2920
2966
  height: ${Gl};
2921
2967
  width: ${Gl};
2922
2968
  overflow: visible;
2969
+ fill: ${Cl};
2923
2970
  }
2924
2971
 
2925
2972
  :host(.checked:not(.indeterminate)) slot[name='checked-indicator'] {
2926
2973
  display: contents;
2927
2974
  }
2928
2975
 
2929
- slot[name='checked-indicator'] svg {
2930
- fill: ${Cl};
2931
- }
2932
-
2933
2976
  :host([disabled]) slot[name='checked-indicator'] svg {
2934
2977
  fill: rgba(${kl}, 0.3);
2935
2978
  }
@@ -2951,10 +2994,20 @@ const Wg=Mt`
2951
2994
  :host([disabled]) slot[name='indeterminate-indicator'] svg {
2952
2995
  fill: rgba(${kl}, 0.3);
2953
2996
  }
2997
+
2998
+ .error-icon {
2999
+ grid-column: 3;
3000
+ grid-row: 1;
3001
+ margin: 0px ${Hl};
3002
+ }
3003
+ `,Zg=Q`
3004
+ <div class="error-text" title="${t=>t.errorText}" aria-live="polite">
3005
+ ${t=>t.errorText}
3006
+ </div>
2954
3007
  `
2955
- class Gg extends Vn{get resolvedTabindex(){const t=this.tabIndex??0
2956
- return this.disabled?void 0:`${t}`}}t([ft({attribute:"tabindex",converter:ut})],Gg.prototype,"tabIndex",void 0)
2957
- const Zg=Gg.compose({baseName:"checkbox",baseClass:Vn,template:(t,e)=>Q`
3008
+ class Kg extends Vn{constructor(){super(...arguments),this.errorVisible=!1}get resolvedTabindex(){const t=this.tabIndex??0
3009
+ return this.disabled?void 0:`${t}`}}t([ft({attribute:"tabindex",converter:ut})],Kg.prototype,"tabIndex",void 0),t([ft({attribute:"error-text"})],Kg.prototype,"errorText",void 0),t([ft({attribute:"error-visible",mode:"boolean"})],Kg.prototype,"errorVisible",void 0)
3010
+ const Yg=Kg.compose({baseName:"checkbox",baseClass:Vn,template:(t,e)=>Q`
2958
3011
  <template
2959
3012
  role="checkbox"
2960
3013
  aria-checked="${t=>t.checked}"
@@ -2966,24 +3019,31 @@ const Zg=Gg.compose({baseName:"checkbox",baseClass:Vn,template:(t,e)=>Q`
2966
3019
  @click="${(t,e)=>t.clickHandler(e.event)}"
2967
3020
  class="${t=>t.readOnly?"readonly":""} ${t=>t.checked?"checked":""} ${t=>t.indeterminate?"indeterminate":""}"
2968
3021
  >
2969
- <div part="control" class="control">
2970
- <slot name="checked-indicator">
2971
- ${e.checkedIndicator||""}
2972
- </slot>
2973
- <slot name="indeterminate-indicator">
2974
- ${e.indeterminateIndicator||""}
2975
- </slot>
3022
+ <div part="container" class="container">
3023
+ <div part="control" class="control">
3024
+ <slot name="checked-indicator">
3025
+ ${e.checkedIndicator||""}
3026
+ </slot>
3027
+ <slot name="indeterminate-indicator">
3028
+ ${e.indeterminateIndicator||""}
3029
+ </slot>
3030
+ </div>
3031
+ <label
3032
+ part="label"
3033
+ class="${t=>t.defaultSlottedNodes?.length?"label":"label label__hidden"}"
3034
+ >
3035
+ <slot ${ie("defaultSlottedNodes")}></slot>
3036
+ </label>
3037
+ <${Mg}
3038
+ severity="error"
3039
+ class="error-icon"
3040
+ ></${Mg}>
3041
+ ${Zg}
2976
3042
  </div>
2977
- <label
2978
- part="label"
2979
- class="${t=>t.defaultSlottedNodes?.length?"label":"label label__hidden"}"
2980
- >
2981
- <slot ${ie("defaultSlottedNodes")}></slot>
2982
- </label>
2983
3043
  </template>
2984
- `,styles:Wg,checkedIndicator:Pu.data,indeterminateIndicator:wf.data})
2985
- _i.getOrCreate().withPrefix("nimble").register(Zg())
2986
- const Kg="nimble-checkbox",Yg=Mt`
3044
+ `,styles:Gg,checkedIndicator:Pu.data,indeterminateIndicator:wf.data})
3045
+ _i.getOrCreate().withPrefix("nimble").register(Yg())
3046
+ const Xg="nimble-checkbox",Jg=Mt`
2987
3047
  ${Eh}
2988
3048
  ${Ah}
2989
3049
 
@@ -3030,9 +3090,9 @@ const Kg="nimble-checkbox",Yg=Mt`
3030
3090
  }
3031
3091
  }
3032
3092
  `))
3033
- class Xg extends as{constructor(){super(...arguments),this.appearance=kh,this.contentHidden=!1}get resolvedTabindex(){const t=this.tabIndex??0
3034
- return this.disabled?void 0:`${t}`}}t([ft],Xg.prototype,"appearance",void 0),t([ft({attribute:"appearance-variant"})],Xg.prototype,"appearanceVariant",void 0),t([ft({attribute:"content-hidden",mode:"boolean"})],Xg.prototype,"contentHidden",void 0),t([ft({attribute:"tabindex",converter:ut})],Xg.prototype,"tabIndex",void 0),Ke(Xg,re,Nn)
3035
- const Jg=Xg.compose({baseName:"toggle-button",template:(t,e)=>Q`
3093
+ class Qg extends as{constructor(){super(...arguments),this.appearance=kh,this.contentHidden=!1}get resolvedTabindex(){const t=this.tabIndex??0
3094
+ return this.disabled?void 0:`${t}`}}t([ft],Qg.prototype,"appearance",void 0),t([ft({attribute:"appearance-variant"})],Qg.prototype,"appearanceVariant",void 0),t([ft({attribute:"content-hidden",mode:"boolean"})],Qg.prototype,"contentHidden",void 0),t([ft({attribute:"tabindex",converter:ut})],Qg.prototype,"tabIndex",void 0),Ke(Qg,re,Nn)
3095
+ const tv=Qg.compose({baseName:"toggle-button",template:(t,e)=>Q`
3036
3096
  <div
3037
3097
  role="button"
3038
3098
  part="control"
@@ -3072,15 +3132,11 @@ const Jg=Xg.compose({baseName:"toggle-button",template:(t,e)=>Q`
3072
3132
  </span>
3073
3133
  ${ae(0,e)}
3074
3134
  </div>
3075
- `,styles:Yg,shadowOptions:{delegatesFocus:!0}})
3076
- _i.getOrCreate().withPrefix("nimble").register(Jg())
3077
- const Qg="nimble-toggle-button",tv=Q`
3078
- <div class="error-text" title="${t=>t.errorText}" aria-live="polite">
3079
- ${t=>t.errorText}
3080
- </div>
3081
- `
3135
+ `,styles:Jg,shadowOptions:{delegatesFocus:!0}})
3136
+ _i.getOrCreate().withPrefix("nimble").register(tv())
3137
+ const ev="nimble-toggle-button"
3082
3138
  zm("icon-arrow-expander-down",class extends Vm{constructor(){super(Xh)}})
3083
- const ev="nimble-icon-arrow-expander-down",nv="above",iv="underline",sv="outline",ov="block",rv=Mt`
3139
+ const nv="nimble-icon-arrow-expander-down",iv="above",sv="underline",ov="outline",rv="block",av=Mt`
3084
3140
  ${Ps("inline-flex")}
3085
3141
 
3086
3142
  :host {
@@ -3316,7 +3372,7 @@ const ev="nimble-icon-arrow-expander-down",nv="above",iv="underline",sv="outline
3316
3372
  align-items: center;
3317
3373
  padding: ${Hl} ${Ul};
3318
3374
  }
3319
- `.withBehaviors($h(iv,Mt`
3375
+ `.withBehaviors($h(sv,Mt`
3320
3376
  .control {
3321
3377
  border-bottom-width: ${Wl};
3322
3378
  padding-bottom: 0;
@@ -3325,12 +3381,12 @@ const ev="nimble-icon-arrow-expander-down",nv="above",iv="underline",sv="outline
3325
3381
  :host([disabled]) .control {
3326
3382
  border-color: rgba(${kl}, 0.1);
3327
3383
  }
3328
- `),$h(sv,Mt`
3384
+ `),$h(ov,Mt`
3329
3385
  .control {
3330
3386
  border-width: ${Wl};
3331
3387
  padding: 0;
3332
3388
  }
3333
- `),$h(ov,Mt`
3389
+ `),$h(rv,Mt`
3334
3390
  .control {
3335
3391
  background-color: rgba(${kl}, 0.1);
3336
3392
  }
@@ -3347,41 +3403,9 @@ const ev="nimble-icon-arrow-expander-down",nv="above",iv="underline",sv="outline
3347
3403
  .listbox slot {
3348
3404
  background: ${ml(co,.15)};
3349
3405
  }
3350
- `)),av=Mt`
3351
- .error-icon {
3352
- display: none;
3353
- }
3354
-
3355
- :host([error-visible]) .error-icon {
3356
- display: inline-flex;
3357
- width: ${Gl};
3358
- height: ${Gl};
3359
- flex: none;
3360
- }
3361
-
3362
- .error-text {
3363
- display: none;
3364
- }
3365
-
3366
- :host([error-visible]) .error-text {
3367
- display: block;
3368
- font: ${Gd};
3369
- color: ${Sl};
3370
- width: 100%;
3371
- position: absolute;
3372
- bottom: calc(-1 * (${Qd} + 2px));
3373
- left: 0px;
3374
- overflow: hidden;
3375
- text-overflow: ellipsis;
3376
- white-space: nowrap;
3377
- }
3378
-
3379
- :host([error-visible]) .error-text:empty {
3380
- display: none;
3381
- }
3382
- `,lv={none:void 0,standard:"standard",manual:"manual"},cv=Mt`
3383
- ${rv}
3406
+ `)),lv={none:void 0,standard:"standard",manual:"manual"},cv=Mt`
3384
3407
  ${av}
3408
+ ${Wg}
3385
3409
 
3386
3410
  :host {
3387
3411
  --ni-private-hover-bottom-border-width: 2px;
@@ -3450,7 +3474,7 @@ const ev="nimble-icon-arrow-expander-down",nv="above",iv="underline",sv="outline
3450
3474
  :host([disabled]) .dropdown-icon {
3451
3475
  fill: ${ad};
3452
3476
  }
3453
- `.withBehaviors($h(ov,Mt`
3477
+ `.withBehaviors($h(rv,Mt`
3454
3478
  :host([error-visible]) .control {
3455
3479
  border-bottom-width: ${Wl};
3456
3480
  padding-bottom: 0;
@@ -3458,7 +3482,7 @@ const ev="nimble-icon-arrow-expander-down",nv="above",iv="underline",sv="outline
3458
3482
  `))
3459
3483
  class dv{constructor(t,e){this.target=t,this.propertyName=e}bind(t){this.source=t,this.setSourceValue(!1),this.mouseOverHandler=()=>{const t=this.target.offsetWidth<this.target.scrollWidth
3460
3484
  this.setSourceValue(t)},this.mouseOutHandler=()=>{this.setSourceValue(!1)},this.target.addEventListener("mouseover",this.mouseOverHandler),this.target.addEventListener("mouseout",this.mouseOutHandler)}unbind(){this.source=void 0,this.target.removeEventListener("mouseover",this.mouseOverHandler),this.target.removeEventListener("mouseout",this.mouseOutHandler)}setSourceValue(t){this.source[this.propertyName]=t}}function hv(t){return new D("nimble-overflow",dv,t)}let uv=class extends Fi{}
3461
- class pv extends(An(uv)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class fv extends pv{constructor(){super(...arguments),this.appearance=iv,this.errorVisible=!1,this.open=!1,this.filteredOptions=[],this.hasOverflow=!1,this.listboxId=il("listbox-"),this.availableViewportHeight=0,this.valueUpdatedByInput=!1,this._value="",this.filter="",this.forcedPosition=!1}get value(){return x.track(this,"value"),this._value}set value(t){const e=this._value
3485
+ class pv extends(An(uv)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class fv extends pv{constructor(){super(...arguments),this.appearance=sv,this.errorVisible=!1,this.open=!1,this.filteredOptions=[],this.hasOverflow=!1,this.listboxId=il("listbox-"),this.availableViewportHeight=0,this.valueUpdatedByInput=!1,this._value="",this.filter="",this.forcedPosition=!1}get value(){return x.track(this,"value"),this._value}set value(t){const e=this._value
3462
3486
  let n=t
3463
3487
  if(this.$fastController.isConnected&&this.options){const e=this.findIndexOfValidOption(t),i=this.options[this.selectedIndex]?.text,s=this.options[e]?.text
3464
3488
  i!==s&&(this.selectedIndex=e),n=this.firstSelectedOption?.text||n}e!==n&&(this._value=n,super.valueChanged(e,n),x.notify(this,"value")),this.filter=t,this.filterOptions(),this.selectedIndex=this.findIndexOfValidOption(this.value)}get options(){return x.track(this,"options"),this.filteredOptions&&this.filter?this.filteredOptions:this._options}set options(t){this._options=t,x.notify(this,"options")}get isAutocompleteInline(){return this.autocomplete===Yn||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===Xn||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===Jn}slottedOptionsChanged(t,e){const n=this.value
@@ -3545,7 +3569,7 @@ const mv=fv.compose({baseName:"combobox",baseClass:pv,template:(t,e)=>Q`
3545
3569
  class="anchored-region"
3546
3570
  fixed-placement
3547
3571
  auto-update-mode="auto"
3548
- vertical-default-position="${t=>t.positionAttribute===nv?"top":"bottom"}"
3572
+ vertical-default-position="${t=>t.positionAttribute===iv?"top":"bottom"}"
3549
3573
  vertical-positioning-mode="${t=>t.positionAttribute?"locktodefault":"dynamic"}"
3550
3574
  horizontal-default-position="center"
3551
3575
  horizontal-positioning-mode="locktodefault"
@@ -3582,7 +3606,7 @@ const mv=fv.compose({baseName:"combobox",baseClass:pv,template:(t,e)=>Q`
3582
3606
  class="error-icon"
3583
3607
  ></${Mg}>
3584
3608
  <div class="separator"></div>
3585
- <${Qg}
3609
+ <${ev}
3586
3610
  ${Ut("dropdownButton")}
3587
3611
  appearance="ghost"
3588
3612
  ?checked="${t=>t.open}"
@@ -3596,14 +3620,14 @@ const mv=fv.compose({baseName:"combobox",baseClass:pv,template:(t,e)=>Q`
3596
3620
  aria-hidden="true"
3597
3621
  tabindex="-1"
3598
3622
  >
3599
- <${ev}
3623
+ <${nv}
3600
3624
  slot="start"
3601
3625
  class="dropdown-icon"
3602
3626
  >
3603
- </${ev}>
3604
- </${Qg}>
3627
+ </${nv}>
3628
+ </${ev}>
3605
3629
  </div>
3606
- ${tv}
3630
+ ${Zg}
3607
3631
  `})
3608
3632
  Ke(fv,re,ei),_i.getOrCreate().withPrefix("nimble").register(mv())
3609
3633
  const gv=Symbol("user dismissed"),vv=Mt`
@@ -4426,7 +4450,7 @@ const Zb="auto",Kb=Mt`
4426
4450
  ?open="${t=>t.open}"
4427
4451
  @focusout="${(t,e)=>t.focusoutHandler(e.event)}"
4428
4452
  >
4429
- <${Qg}
4453
+ <${ev}
4430
4454
  part="button"
4431
4455
  appearance="${t=>t.appearance}"
4432
4456
  appearance-variant="${t=>t.appearanceVariant}"
@@ -4445,7 +4469,7 @@ const Zb="auto",Kb=Mt`
4445
4469
  <slot slot="start" name="start"></slot>
4446
4470
  <slot></slot>
4447
4471
  <slot slot="end" name="end"></slot>
4448
- </${Qg}>
4472
+ </${ev}>
4449
4473
  ${Gt((t=>t.open),Q`
4450
4474
  <${Cg}
4451
4475
  fixed-placement="true"
@@ -4631,7 +4655,7 @@ const ey=class extends Vi{}.compose({baseName:"menu-item",baseClass:Vi,template:
4631
4655
  _i.getOrCreate().withPrefix("nimble").register(ey())
4632
4656
  const ny="underline",iy="outline",sy="block",oy=Mt`
4633
4657
  ${Ps("inline-block")}
4634
- ${av}
4658
+ ${Wg}
4635
4659
 
4636
4660
  :host {
4637
4661
  font: ${od};
@@ -4924,7 +4948,7 @@ const ay=ry.compose({baseName:"number-field",baseClass:Zi,template:(t,e)=>Q`
4924
4948
  severity="error"
4925
4949
  class="error-icon"
4926
4950
  ></${Mg}>
4927
- ${tv}
4951
+ ${Zg}
4928
4952
  `})
4929
4953
  _i.getOrCreate().withPrefix("nimble").register(ay())
4930
4954
  const ly=Mt`
@@ -5040,7 +5064,7 @@ const cy=class extends Ji{}.compose({baseName:"radio",baseClass:Ji,template:(t,e
5040
5064
  _i.getOrCreate().withPrefix("nimble").register(cy())
5041
5065
  const dy=Mt`
5042
5066
  ${Ps("inline-block")}
5043
- ${av}
5067
+ ${Wg}
5044
5068
 
5045
5069
  .positioning-region {
5046
5070
  display: flex;
@@ -5099,7 +5123,7 @@ const dy=Mt`
5099
5123
  <slot
5100
5124
  ${ie({property:"slottedRadioButtons",filter:te("[role=radio]")})}
5101
5125
  ></slot>
5102
- ${tv}
5126
+ ${Zg}
5103
5127
  </div>
5104
5128
  </template>
5105
5129
  `
@@ -7451,7 +7475,7 @@ const UI=class extends vs{}.compose({baseName:"toolbar",baseClass:vs,template:(t
7451
7475
  `,styles:HI,shadowOptions:{delegatesFocus:!0}})
7452
7476
  _i.getOrCreate().withPrefix("nimble").register(UI())
7453
7477
  const qI="nimble-toolbar",jI="Bold",WI="Italics",GI="Bulleted List",ZI="Numbered List",KI=yi.create({name:"rich-text-toggle-bold-label",cssCustomPropertyName:null}).withDefault(jI),YI=yi.create({name:"rich-text-toggle-italics-label",cssCustomPropertyName:null}).withDefault(WI),XI=yi.create({name:"rich-text-toggle-bulleted-list-label",cssCustomPropertyName:null}).withDefault(GI),JI=yi.create({name:"rich-text-toggle-numbered-list-label",cssCustomPropertyName:null}).withDefault(ZI),QI=Mt`
7454
- ${rv}
7478
+ ${av}
7455
7479
 
7456
7480
  :host {
7457
7481
  height: auto;
@@ -7534,7 +7558,7 @@ const sM="nimble-rich-text-mention-listbox",oM=Q`
7534
7558
  ></${Mg}>
7535
7559
  <section class="footer-section">
7536
7560
  <${qI}>
7537
- <${Qg}
7561
+ <${ev}
7538
7562
  ${Ut("boldButton")}
7539
7563
  appearance="ghost"
7540
7564
  content-hidden
@@ -7547,8 +7571,8 @@ const sM="nimble-rich-text-mention-listbox",oM=Q`
7547
7571
  >
7548
7572
  ${t=>KI.getValueFor(t)}
7549
7573
  <${Dv} slot="start"></${Dv}>
7550
- </${Qg}>
7551
- <${Qg}
7574
+ </${ev}>
7575
+ <${ev}
7552
7576
  ${Ut("italicsButton")}
7553
7577
  appearance="ghost"
7554
7578
  content-hidden
@@ -7561,8 +7585,8 @@ const sM="nimble-rich-text-mention-listbox",oM=Q`
7561
7585
  >
7562
7586
  ${t=>YI.getValueFor(t)}
7563
7587
  <${Ev} slot="start"></${Ev}>
7564
- </${Qg}>
7565
- <${Qg}
7588
+ </${ev}>
7589
+ <${ev}
7566
7590
  ${Ut("bulletListButton")}
7567
7591
  appearance="ghost"
7568
7592
  content-hidden
@@ -7575,8 +7599,8 @@ const sM="nimble-rich-text-mention-listbox",oM=Q`
7575
7599
  >
7576
7600
  ${t=>XI.getValueFor(t)}
7577
7601
  <${Av} slot="start"></${Av}>
7578
- </${Qg}>
7579
- <${Qg}
7602
+ </${ev}>
7603
+ <${ev}
7580
7604
  ${Ut("numberedListButton")}
7581
7605
  appearance="ghost"
7582
7606
  content-hidden
@@ -7589,7 +7613,7 @@ const sM="nimble-rich-text-mention-listbox",oM=Q`
7589
7613
  >
7590
7614
  ${t=>JI.getValueFor(t)}
7591
7615
  <${Rv} slot="start"></${Rv}>
7592
- </${Qg}>
7616
+ </${ev}>
7593
7617
  ${Qt((t=>t.getMentionExtensionConfig()),Q`
7594
7618
  <${jh}
7595
7619
  appearance="ghost"
@@ -7608,7 +7632,7 @@ const sM="nimble-rich-text-mention-listbox",oM=Q`
7608
7632
  <slot name="footer-actions"></slot>
7609
7633
  </span>
7610
7634
  </section>
7611
- ${tv}
7635
+ ${Zg}
7612
7636
  </div>
7613
7637
  <${sM}
7614
7638
  ${Ut("mentionListbox")}
@@ -7621,7 +7645,7 @@ const sM="nimble-rich-text-mention-listbox",oM=Q`
7621
7645
  </template>
7622
7646
  `,rM=Mt`
7623
7647
  ${Ps("inline-flex")}
7624
- ${av}
7648
+ ${Wg}
7625
7649
 
7626
7650
  :host {
7627
7651
  font: ${od};
@@ -7827,7 +7851,7 @@ const sM="nimble-rich-text-mention-listbox",oM=Q`
7827
7851
  }
7828
7852
 
7829
7853
  ${jh},
7830
- ${Qg} {
7854
+ ${ev} {
7831
7855
  height: ${zl};
7832
7856
  }
7833
7857
 
@@ -7840,7 +7864,7 @@ const sM="nimble-rich-text-mention-listbox",oM=Q`
7840
7864
  }
7841
7865
 
7842
7866
  ::slotted(${jh}),
7843
- ::slotted(${Qg}),
7867
+ ::slotted(${ev}),
7844
7868
  ::slotted(${"nimble-anchor-button"}),
7845
7869
  ::slotted(${Qb}) {
7846
7870
  height: ${zl};
@@ -9180,8 +9204,8 @@ this.viewer.replaceChildren(t.fragment),this.mentionedHrefs=t.mentionedHrefs}els
9180
9204
  const $O=MO.compose({baseName:"rich-text-viewer",template:_O,styles:IO})
9181
9205
  _i.getOrCreate().withPrefix("nimble").register($O())
9182
9206
  const DO=Mt`
9183
- ${rv}
9184
9207
  ${av}
9208
+ ${Wg}
9185
9209
 
9186
9210
  ${""}
9187
9211
 
@@ -9321,7 +9345,7 @@ const DO=Mt`
9321
9345
  .loading-spinner {
9322
9346
  margin-left: auto;
9323
9347
  }
9324
- `.withBehaviors($h(ov,Mt`
9348
+ `.withBehaviors($h(rv,Mt`
9325
9349
  :host([error-visible]) .control {
9326
9350
  border-bottom-width: ${Wl};
9327
9351
  padding-bottom: 0;
@@ -9507,7 +9531,7 @@ _i.getOrCreate().withPrefix("nimble").register(RO())
9507
9531
  const FO="nimble-spinner",NO=t=>t instanceof Ib,LO=t=>t instanceof Ab
9508
9532
  let BO=class extends Fi{}
9509
9533
  class PO extends(An(BO)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}const VO=t=>!t.visuallyHidden&&!t.disabled&&!t.hidden,zO=t=>!t.visuallyHidden&&!t.hidden
9510
- class HO extends PO{constructor(){super(...arguments),this.appearance=iv,this.errorVisible=!1,this.filterMode=lv.none,this.clearable=!1,this.loadingVisible=!1,this.displayPlaceholder=!1,this.open=!1,this.listboxId=il("listbox-"),this.hasOverflow=!1,this.filteredOptions=[],this.filter="",this.availableViewportHeight=0,this._value="",this.forcedPosition=!1,this.selectedOptionObserver=new MutationObserver((()=>{this.updateDisplayValue()}))}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get labelContent(){return this.$fastController.isConnected?_b(this.labelSlot):""}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.open&&this.initializeOpenState(),this.observeSelectedOptionTextContent()}disconnectedCallback(){super.disconnectedCallback(),this.selectedOptionObserver?.disconnect()}get value(){return x.track(this,"value"),this._value}set value(t){const e=this._value
9534
+ class HO extends PO{constructor(){super(...arguments),this.appearance=sv,this.errorVisible=!1,this.filterMode=lv.none,this.clearable=!1,this.loadingVisible=!1,this.displayPlaceholder=!1,this.open=!1,this.listboxId=il("listbox-"),this.hasOverflow=!1,this.filteredOptions=[],this.filter="",this.availableViewportHeight=0,this._value="",this.forcedPosition=!1,this.selectedOptionObserver=new MutationObserver((()=>{this.updateDisplayValue()}))}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get labelContent(){return this.$fastController.isConnected?_b(this.labelSlot):""}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.open&&this.initializeOpenState(),this.observeSelectedOptionTextContent()}disconnectedCallback(){super.disconnectedCallback(),this.selectedOptionObserver?.disconnect()}get value(){return x.track(this,"value"),this._value}set value(t){const e=this._value
9511
9535
  let n=t
9512
9536
  if(this.options?.length){const t=this.options.findIndex((t=>t.value===n)),e=this.options[this.selectedIndex]?.value??null,i=this.options[t]?.value??null;-1!==t&&e===i||(n="",this.selectedIndex=t),n=this.firstSelectedOption?.value??n}e!==n&&(this._value=n,super.valueChanged(e,n),x.notify(this,"value"),this.updateDisplayValue())}get displayValue(){return x.track(this,"displayValue"),this.firstSelectedOption?.text??""}anchoredRegionChanged(t,e){this.anchoredRegion&&this.control&&(this.anchoredRegion.anchorElement=this.control)}controlChanged(t,e){this.anchoredRegion&&this.control&&(this.anchoredRegion.anchorElement=this.control)}slottedOptionsChanged(t,e){const n=this.value
9513
9537
  this.options.forEach((t=>{const e=x.getNotifier(t)
@@ -9668,7 +9692,7 @@ const UO=HO.compose({baseName:"select",baseClass:ns,template:(t,e)=>Q`
9668
9692
  class="anchored-region"
9669
9693
  fixed-placement
9670
9694
  auto-update-mode="auto"
9671
- vertical-default-position="${t=>t.positionAttribute===nv?"top":"bottom"}"
9695
+ vertical-default-position="${t=>t.positionAttribute===iv?"top":"bottom"}"
9672
9696
  vertical-positioning-mode="${t=>t.positionAttribute?"locktodefault":"dynamic"}"
9673
9697
  horizontal-default-position="center"
9674
9698
  horizontal-positioning-mode="locktodefault"
@@ -9734,7 +9758,7 @@ const UO=HO.compose({baseName:"select",baseClass:ns,template:(t,e)=>Q`
9734
9758
  severity="error"
9735
9759
  class="error-icon"
9736
9760
  ></${Mg}>
9737
- ${tv}
9761
+ ${Zg}
9738
9762
  `})
9739
9763
  Ke(HO,re,is),_i.getOrCreate().withPrefix("nimble").register(UO())
9740
9764
  const qO=Mt`
@@ -10518,6 +10542,7 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(t
10518
10542
 
10519
10543
  .header-row-action-container {
10520
10544
  display: flex;
10545
+ align-items: center;
10521
10546
  }
10522
10547
 
10523
10548
  .checkbox-container {
@@ -11012,7 +11037,7 @@ const zF="nimble-table-cell",HF=Q`
11012
11037
  ${Gt((t=>!t.rowOperationGridCellHidden),Q`
11013
11038
  <span role="gridcell" class="row-operations-container">
11014
11039
  ${Gt((t=>t.showSelectionCheckbox),Q`
11015
- <${Kg}
11040
+ <${Xg}
11016
11041
  ${Ut("selectionCheckbox")}
11017
11042
  class="selection-checkbox"
11018
11043
  ${""}
@@ -11022,7 +11047,7 @@ const zF="nimble-table-cell",HF=Q`
11022
11047
  title="${t=>gb.getValueFor(t)}"
11023
11048
  aria-label="${t=>gb.getValueFor(t)}"
11024
11049
  >
11025
- </${Kg}>
11050
+ </${Xg}>
11026
11051
  `)}
11027
11052
  </span>
11028
11053
  `)}
@@ -11204,7 +11229,7 @@ const jF="nimble-table-row",WF=Mt`
11204
11229
  >
11205
11230
  ${Gt((t=>t.selectable),Q`
11206
11231
  <span role="gridcell" class="checkbox-container">
11207
- <${Kg}
11232
+ <${Xg}
11208
11233
  ${Ut("selectionCheckbox")}
11209
11234
  class="selection-checkbox"
11210
11235
  @change="${(t,e)=>t.onSelectionCheckboxChange(e.event)}"
@@ -11212,7 +11237,7 @@ const jF="nimble-table-row",WF=Mt`
11212
11237
  title="${t=>mb.getValueFor(t)}"
11213
11238
  aria-label="${t=>mb.getValueFor(t)}"
11214
11239
  >
11215
- </${Kg}>
11240
+ </${Xg}>
11216
11241
  </span>
11217
11242
  `)}
11218
11243
 
@@ -11270,7 +11295,7 @@ const YF="nimble-table-group-row",XF=Q`
11270
11295
  `)}
11271
11296
  ${Gt((t=>t.selectionMode===eF.multiple),Q`
11272
11297
  <span class="checkbox-container">
11273
- <${Kg}
11298
+ <${Xg}
11274
11299
  ${Ut("selectionCheckbox")}
11275
11300
  ${""}
11276
11301
  tabindex="-1"
@@ -11279,7 +11304,7 @@ const YF="nimble-table-group-row",XF=Q`
11279
11304
  title="${t=>fb.getValueFor(t)}"
11280
11305
  aria-label="${t=>fb.getValueFor(t)}"
11281
11306
  >
11282
- </${Kg}>
11307
+ </${Xg}>
11283
11308
  </span>
11284
11309
  `)}
11285
11310
  <span class="collapse-all-button-container">
@@ -12163,7 +12188,7 @@ const UL=Q`
12163
12188
  title=${t=>t.hasOverflow?t.cellRecord.value:null}
12164
12189
  >
12165
12190
  <span ${Ut("valueSpan")} class="value-label">${t=>t.cellRecord.value}</span>
12166
- <${ev} slot="end"></${ev}>
12191
+ <${nv} slot="end"></${nv}>
12167
12192
 
12168
12193
  <slot name="${qL}" slot="menu"></slot>
12169
12194
  </${Qb}>
@@ -12291,7 +12316,7 @@ const $B=class extends We{}.compose({baseName:"tabs-toolbar",template:MB,styles:
12291
12316
  _i.getOrCreate().withPrefix("nimble").register($B())
12292
12317
  const DB="outline",EB="block",AB=Mt`
12293
12318
  ${Ps("inline-flex")}
12294
- ${av}
12319
+ ${Wg}
12295
12320
 
12296
12321
  :host {
12297
12322
  font: ${od};
@@ -12507,13 +12532,13 @@ const OB=TB.compose({baseName:"text-area",baseClass:ms,template:()=>Q`
12507
12532
  class="error-icon ${t=>t.scrollbarWidth>=0?"scrollbar-width-calculated":""}"
12508
12533
  style="--ni-private-scrollbar-width: ${t=>t.scrollbarWidth}px;"
12509
12534
  ></${Mg}>
12510
- ${tv}
12535
+ ${Zg}
12511
12536
  </div>
12512
12537
  `,styles:AB,shadowOptions:{delegatesFocus:!0}})
12513
12538
  _i.getOrCreate().withPrefix("nimble").register(OB())
12514
12539
  const RB="underline",FB="outline",NB="block",LB="frameless",BB=Mt`
12515
12540
  ${Ps("inline-block")}
12516
- ${av}
12541
+ ${Wg}
12517
12542
 
12518
12543
  :host {
12519
12544
  font: ${od};
@@ -12815,7 +12840,7 @@ const VB=PB.compose({baseName:"text-field",baseClass:qi,template:(t,e)=>Q`
12815
12840
  <span part="actions">
12816
12841
  <slot name="actions"></slot>
12817
12842
  </span>
12818
- ${tv}
12843
+ ${Zg}
12819
12844
  `})
12820
12845
  _i.getOrCreate().withPrefix("nimble").register(VB())
12821
12846
  const zB=Mt`