@ni/ok-components 1.5.2 → 1.6.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.
Files changed (28) hide show
  1. package/dist/all-components-bundle.js +904 -411
  2. package/dist/all-components-bundle.js.map +1 -1
  3. package/dist/all-components-bundle.min.js +5609 -5345
  4. package/dist/all-components-bundle.min.js.map +1 -1
  5. package/dist/custom-elements.json +393 -70
  6. package/dist/custom-elements.md +78 -16
  7. package/dist/esm/fv/all-fv.d.ts +2 -0
  8. package/dist/esm/fv/all-fv.js +2 -0
  9. package/dist/esm/fv/all-fv.js.map +1 -1
  10. package/dist/esm/fv/master-detail-list/index.d.ts +50 -0
  11. package/dist/esm/fv/master-detail-list/index.js +176 -0
  12. package/dist/esm/fv/master-detail-list/index.js.map +1 -0
  13. package/dist/esm/fv/master-detail-list/styles.d.ts +1 -0
  14. package/dist/esm/fv/master-detail-list/styles.js +68 -0
  15. package/dist/esm/fv/master-detail-list/styles.js.map +1 -0
  16. package/dist/esm/fv/master-detail-list/template.d.ts +2 -0
  17. package/dist/esm/fv/master-detail-list/template.js +36 -0
  18. package/dist/esm/fv/master-detail-list/template.js.map +1 -0
  19. package/dist/esm/fv/master-detail-list-item/index.d.ts +32 -0
  20. package/dist/esm/fv/master-detail-list-item/index.js +86 -0
  21. package/dist/esm/fv/master-detail-list-item/index.js.map +1 -0
  22. package/dist/esm/fv/master-detail-list-item/styles.d.ts +1 -0
  23. package/dist/esm/fv/master-detail-list-item/styles.js +100 -0
  24. package/dist/esm/fv/master-detail-list-item/styles.js.map +1 -0
  25. package/dist/esm/fv/master-detail-list-item/template.d.ts +2 -0
  26. package/dist/esm/fv/master-detail-list-item/template.js +28 -0
  27. package/dist/esm/fv/master-detail-list-item/template.js.map +1 -0
  28. package/package.json +3 -3
@@ -14902,9 +14902,9 @@
14902
14902
  const prefix = 'ni-nimble';
14903
14903
  const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
14904
14904
 
14905
- const template$1j = html `<slot></slot>`;
14905
+ const template$1l = html `<slot></slot>`;
14906
14906
 
14907
- const styles$1z = css `
14907
+ const styles$1B = css `
14908
14908
  ${display$2('contents')}
14909
14909
 
14910
14910
  :host {
@@ -15028,8 +15028,8 @@
15028
15028
  ], ThemeProvider.prototype, "theme", void 0);
15029
15029
  const nimbleDesignSystemProvider = ThemeProvider.compose({
15030
15030
  baseName: 'theme-provider',
15031
- styles: styles$1z,
15032
- template: template$1j
15031
+ styles: styles$1B,
15032
+ template: template$1l
15033
15033
  });
15034
15034
  DesignSystem.getOrCreate()
15035
15035
  .withPrefix('nimble')
@@ -16675,7 +16675,7 @@
16675
16675
  }
16676
16676
  // #endregion
16677
16677
 
16678
- const styles$1y = css `
16678
+ const styles$1A = css `
16679
16679
  @layer base, hover, focusVisible, active, disabled, top;
16680
16680
 
16681
16681
  @layer base {
@@ -16753,7 +16753,7 @@
16753
16753
  }
16754
16754
  `;
16755
16755
 
16756
- const template$1i = (_context, definition) => html `${
16756
+ const template$1k = (_context, definition) => html `${
16757
16757
  /* top-container div is necessary because setting contenteditable directly on the native anchor instead
16758
16758
  leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
16759
16759
  */ ''}<div
@@ -16856,8 +16856,8 @@
16856
16856
  const nimbleAnchor = Anchor.compose({
16857
16857
  baseName: 'anchor',
16858
16858
  baseClass: Anchor$1,
16859
- template: template$1i,
16860
- styles: styles$1y,
16859
+ template: template$1k,
16860
+ styles: styles$1A,
16861
16861
  shadowOptions: {
16862
16862
  delegatesFocus: true
16863
16863
  }
@@ -16966,7 +16966,7 @@
16966
16966
  padding: 0;
16967
16967
  `;
16968
16968
 
16969
- const styles$1x = css `
16969
+ const styles$1z = css `
16970
16970
  @layer base, checked, hover, focusVisible, active, disabled, top;
16971
16971
 
16972
16972
  @layer base {
@@ -17250,8 +17250,8 @@
17250
17250
  }
17251
17251
  `));
17252
17252
 
17253
- const styles$1w = css `
17254
- ${styles$1x}
17253
+ const styles$1y = css `
17254
+ ${styles$1z}
17255
17255
  ${buttonAppearanceVariantStyles}
17256
17256
 
17257
17257
  .control {
@@ -17271,7 +17271,7 @@
17271
17271
  }
17272
17272
  `;
17273
17273
 
17274
- const template$1h = (context, definition) => html `
17274
+ const template$1j = (context, definition) => html `
17275
17275
  <a
17276
17276
  class="control"
17277
17277
  part="control"
@@ -17353,8 +17353,8 @@
17353
17353
  ], AnchorButton.prototype, "disabled", void 0);
17354
17354
  const nimbleAnchorButton = AnchorButton.compose({
17355
17355
  baseName: 'anchor-button',
17356
- template: template$1h,
17357
- styles: styles$1w,
17356
+ template: template$1j,
17357
+ styles: styles$1y,
17358
17358
  shadowOptions: {
17359
17359
  delegatesFocus: true
17360
17360
  }
@@ -17362,7 +17362,7 @@
17362
17362
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
17363
17363
  const anchorButtonTag = 'nimble-anchor-button';
17364
17364
 
17365
- const styles$1v = css `
17365
+ const styles$1x = css `
17366
17366
  ${display$2('grid')}
17367
17367
 
17368
17368
  :host {
@@ -17445,7 +17445,7 @@
17445
17445
  }
17446
17446
  `;
17447
17447
 
17448
- const template$1g = (context, definition) => html `
17448
+ const template$1i = (context, definition) => html `
17449
17449
  <template
17450
17450
  role="menuitem"
17451
17451
  class="${x => (typeof x.startColumnCount === 'number'
@@ -17546,8 +17546,8 @@
17546
17546
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
17547
17547
  const nimbleAnchorMenuItem = AnchorMenuItem.compose({
17548
17548
  baseName: 'anchor-menu-item',
17549
- template: template$1g,
17550
- styles: styles$1v,
17549
+ template: template$1i,
17550
+ styles: styles$1x,
17551
17551
  shadowOptions: {
17552
17552
  delegatesFocus: true
17553
17553
  }
@@ -17559,7 +17559,7 @@
17559
17559
 
17560
17560
  // These styles end up inside a @layer block so must use the
17561
17561
  // cssPartial tag instead of the css tag
17562
- const styles$1u = cssPartial `
17562
+ const styles$1w = cssPartial `
17563
17563
  .severity-text {
17564
17564
  display: none;
17565
17565
  font: ${errorTextFont};
@@ -17669,12 +17669,12 @@
17669
17669
  const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
17670
17670
  /* eslint-enable max-classes-per-file */
17671
17671
 
17672
- const styles$1t = css `
17672
+ const styles$1v = css `
17673
17673
  @layer base, hover, focusVisible, active, disabled, top;
17674
17674
 
17675
17675
  @layer base {
17676
17676
  ${display$2('inline-flex')}
17677
- ${styles$1u}
17677
+ ${styles$1w}
17678
17678
  :host {
17679
17679
  color: ${buttonLabelFontColor};
17680
17680
  font: ${buttonLabelFont};
@@ -18220,8 +18220,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
18220
18220
  }
18221
18221
  `));
18222
18222
 
18223
- const styles$1s = css `
18224
- ${styles$1t}
18223
+ const styles$1u = css `
18224
+ ${styles$1v}
18225
18225
  ${'' /* Anchor specific styles */}
18226
18226
  @layer base {
18227
18227
  .control {
@@ -19268,13 +19268,13 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19268
19268
  };
19269
19269
 
19270
19270
  // Avoiding any whitespace in the template because this is an inline element
19271
- const template$1f = html `<div
19271
+ const template$1h = html `<div
19272
19272
  class="icon"
19273
19273
  aria-hidden="true"
19274
19274
  :innerHTML=${x => x.icon.data}
19275
19275
  ></div>`;
19276
19276
 
19277
- const styles$1r = css `
19277
+ const styles$1t = css `
19278
19278
  ${display$2('inline-flex')}
19279
19279
 
19280
19280
  :host {
@@ -19337,8 +19337,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19337
19337
  const registerIconSvg = (baseName, iconClass) => {
19338
19338
  const composedIcon = iconClass.compose({
19339
19339
  baseName,
19340
- template: template$1f,
19341
- styles: styles$1r
19340
+ template: template$1h,
19341
+ styles: styles$1t
19342
19342
  });
19343
19343
  DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
19344
19344
  };
@@ -19462,7 +19462,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19462
19462
  */
19463
19463
  const StepperOrientation = Orientation;
19464
19464
 
19465
- const template$1e = (context, definition) => html `
19465
+ const template$1g = (context, definition) => html `
19466
19466
  <template slot="step">
19467
19467
  <li class="
19468
19468
  container
@@ -19609,15 +19609,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19609
19609
  ], AnchorStep.prototype, "tabIndex", void 0);
19610
19610
  const nimbleAnchorStep = AnchorStep.compose({
19611
19611
  baseName: 'anchor-step',
19612
- template: template$1e,
19613
- styles: styles$1s,
19612
+ template: template$1g,
19613
+ styles: styles$1u,
19614
19614
  shadowOptions: {
19615
19615
  delegatesFocus: true
19616
19616
  }
19617
19617
  });
19618
19618
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
19619
19619
 
19620
- const styles$1q = css `
19620
+ const styles$1s = css `
19621
19621
  ${display$2('inline-flex')}
19622
19622
 
19623
19623
  :host {
@@ -19734,7 +19734,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19734
19734
  }
19735
19735
  `;
19736
19736
 
19737
- const template$1d = (context, definition) => html `
19737
+ const template$1f = (context, definition) => html `
19738
19738
  <template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
19739
19739
  <a
19740
19740
  download="${x => x.download}"
@@ -19786,15 +19786,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19786
19786
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
19787
19787
  const nimbleAnchorTab = AnchorTab.compose({
19788
19788
  baseName: 'anchor-tab',
19789
- template: template$1d,
19790
- styles: styles$1q,
19789
+ template: template$1f,
19790
+ styles: styles$1s,
19791
19791
  shadowOptions: {
19792
19792
  delegatesFocus: true
19793
19793
  }
19794
19794
  });
19795
19795
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
19796
19796
 
19797
- const styles$1p = css `
19797
+ const styles$1r = css `
19798
19798
  ${display$2('flex')}
19799
19799
 
19800
19800
  :host {
@@ -19834,12 +19834,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19834
19834
  }
19835
19835
  `;
19836
19836
 
19837
- const styles$1o = css `
19838
- ${styles$1x}
19837
+ const styles$1q = css `
19838
+ ${styles$1z}
19839
19839
  ${buttonAppearanceVariantStyles}
19840
19840
  `;
19841
19841
 
19842
- const template$1c = (context, definition) => html `
19842
+ const template$1e = (context, definition) => html `
19843
19843
  <button
19844
19844
  class="control"
19845
19845
  part="control"
@@ -19930,8 +19930,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19930
19930
  const nimbleButton = Button.compose({
19931
19931
  baseName: 'button',
19932
19932
  baseClass: Button$1,
19933
- template: template$1c,
19934
- styles: styles$1o,
19933
+ template: template$1e,
19934
+ styles: styles$1q,
19935
19935
  shadowOptions: {
19936
19936
  delegatesFocus: true
19937
19937
  }
@@ -19965,7 +19965,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19965
19965
  registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
19966
19966
  const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
19967
19967
 
19968
- const template$1b = (context, definition) => html `
19968
+ const template$1d = (context, definition) => html `
19969
19969
  <div
19970
19970
  class="tab-bar"
19971
19971
  >
@@ -20266,15 +20266,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20266
20266
  applyMixins(AnchorTabs, StartEnd);
20267
20267
  const nimbleAnchorTabs = AnchorTabs.compose({
20268
20268
  baseName: 'anchor-tabs',
20269
- template: template$1b,
20270
- styles: styles$1p,
20269
+ template: template$1d,
20270
+ styles: styles$1r,
20271
20271
  shadowOptions: {
20272
20272
  delegatesFocus: false
20273
20273
  }
20274
20274
  });
20275
20275
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
20276
20276
 
20277
- const styles$1n = css `
20277
+ const styles$1p = css `
20278
20278
  ${display$2('block')}
20279
20279
 
20280
20280
  :host {
@@ -20379,7 +20379,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20379
20379
  }
20380
20380
  `;
20381
20381
 
20382
- const template$1a = (context, definition) => html `
20382
+ const template$1c = (context, definition) => html `
20383
20383
  <template
20384
20384
  role="treeitem"
20385
20385
  slot="${x => (x.isNestedItem() ? 'item' : null)}"
@@ -20516,8 +20516,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20516
20516
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
20517
20517
  const nimbleAnchorTreeItem = AnchorTreeItem.compose({
20518
20518
  baseName: 'anchor-tree-item',
20519
- template: template$1a,
20520
- styles: styles$1n,
20519
+ template: template$1c,
20520
+ styles: styles$1p,
20521
20521
  shadowOptions: {
20522
20522
  delegatesFocus: true
20523
20523
  }
@@ -20533,7 +20533,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20533
20533
  zIndex1000: '1000'
20534
20534
  };
20535
20535
 
20536
- const styles$1m = css `
20536
+ const styles$1o = css `
20537
20537
  ${display$2('block')}
20538
20538
 
20539
20539
  :host {
@@ -20564,14 +20564,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20564
20564
  baseName: 'anchored-region',
20565
20565
  baseClass: AnchoredRegion$1,
20566
20566
  template: anchoredRegionTemplate,
20567
- styles: styles$1m
20567
+ styles: styles$1o
20568
20568
  });
20569
20569
  DesignSystem.getOrCreate()
20570
20570
  .withPrefix('nimble')
20571
20571
  .register(nimbleAnchoredRegion());
20572
20572
  const anchoredRegionTag = 'nimble-anchored-region';
20573
20573
 
20574
- const styles$1l = css `
20574
+ const styles$1n = css `
20575
20575
  ${display$2('flex')}
20576
20576
 
20577
20577
  :host {
@@ -20723,7 +20723,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20723
20723
  information: 'information'
20724
20724
  };
20725
20725
 
20726
- const template$19 = html `
20726
+ const template$1b = html `
20727
20727
  <${themeProviderTag} theme="${Theme.color}">
20728
20728
  <div class="container"
20729
20729
  role="status"
@@ -20841,8 +20841,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20841
20841
  applyMixins(Banner, ARIAGlobalStatesAndProperties);
20842
20842
  const nimbleBanner = Banner.compose({
20843
20843
  baseName: 'banner',
20844
- template: template$19,
20845
- styles: styles$1l
20844
+ template: template$1b,
20845
+ styles: styles$1n
20846
20846
  });
20847
20847
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
20848
20848
 
@@ -20883,7 +20883,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20883
20883
  </template>
20884
20884
  `;
20885
20885
 
20886
- const styles$1k = css `
20886
+ const styles$1m = css `
20887
20887
  ${display$2('inline-flex')}
20888
20888
 
20889
20889
  :host {
@@ -20987,11 +20987,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20987
20987
  baseName: 'breadcrumb',
20988
20988
  baseClass: Breadcrumb$1,
20989
20989
  template: breadcrumbTemplate,
20990
- styles: styles$1k
20990
+ styles: styles$1m
20991
20991
  });
20992
20992
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
20993
20993
 
20994
- const styles$1j = css `
20994
+ const styles$1l = css `
20995
20995
  @layer base, hover, focusVisible, active, disabled, top;
20996
20996
 
20997
20997
  @layer base {
@@ -21088,14 +21088,14 @@ so this becomes the fallback color for the slot */ ''}
21088
21088
  baseName: 'breadcrumb-item',
21089
21089
  baseClass: BreadcrumbItem$1,
21090
21090
  template: breadcrumbItemTemplate,
21091
- styles: styles$1j,
21091
+ styles: styles$1l,
21092
21092
  separator: forwardSlash16X16.data
21093
21093
  });
21094
21094
  DesignSystem.getOrCreate()
21095
21095
  .withPrefix('nimble')
21096
21096
  .register(nimbleBreadcrumbItem());
21097
21097
 
21098
- const styles$1i = css `
21098
+ const styles$1k = css `
21099
21099
  ${display$2('flex')}
21100
21100
 
21101
21101
  :host {
@@ -21119,7 +21119,7 @@ so this becomes the fallback color for the slot */ ''}
21119
21119
  }
21120
21120
  `;
21121
21121
 
21122
- const template$18 = html `
21122
+ const template$1a = html `
21123
21123
  <section aria-labelledby="title-slot">
21124
21124
  <span id="title-slot"><slot name="title"></slot></span>
21125
21125
  <slot></slot>
@@ -21134,12 +21134,12 @@ so this becomes the fallback color for the slot */ ''}
21134
21134
  const nimbleCard = Card.compose({
21135
21135
  baseName: 'card',
21136
21136
  baseClass: Card$1,
21137
- template: template$18,
21138
- styles: styles$1i
21137
+ template: template$1a,
21138
+ styles: styles$1k
21139
21139
  });
21140
21140
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
21141
21141
 
21142
- const styles$1h = css `
21142
+ const styles$1j = css `
21143
21143
  ${display$2('inline-flex')}
21144
21144
 
21145
21145
  :host {
@@ -21297,7 +21297,7 @@ so this becomes the fallback color for the slot */ ''}
21297
21297
  const nimbleCardButton = CardButton.compose({
21298
21298
  baseName: 'card-button',
21299
21299
  template: buttonTemplate,
21300
- styles: styles$1h,
21300
+ styles: styles$1j,
21301
21301
  shadowOptions: {
21302
21302
  delegatesFocus: true
21303
21303
  }
@@ -21305,7 +21305,7 @@ so this becomes the fallback color for the slot */ ''}
21305
21305
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
21306
21306
  const cardButtonTag = 'nimble-card-button';
21307
21307
 
21308
- const styles$1g = css `
21308
+ const styles$1i = css `
21309
21309
  .error-icon {
21310
21310
  display: none;
21311
21311
  }
@@ -21339,9 +21339,9 @@ so this becomes the fallback color for the slot */ ''}
21339
21339
  }
21340
21340
  `;
21341
21341
 
21342
- const styles$1f = css `
21342
+ const styles$1h = css `
21343
21343
  ${display$2('inline-grid')}
21344
- ${styles$1g}
21344
+ ${styles$1i}
21345
21345
 
21346
21346
  :host {
21347
21347
  font: ${bodyFont};
@@ -21481,7 +21481,7 @@ so this becomes the fallback color for the slot */ ''}
21481
21481
  </div>
21482
21482
  `;
21483
21483
 
21484
- const template$17 = (_context, definition) => html `
21484
+ const template$19 = (_context, definition) => html `
21485
21485
  <template
21486
21486
  role="checkbox"
21487
21487
  aria-checked="${x => x.checked}"
@@ -21578,8 +21578,8 @@ so this becomes the fallback color for the slot */ ''}
21578
21578
  const nimbleCheckbox = Checkbox.compose({
21579
21579
  baseName: 'checkbox',
21580
21580
  baseClass: Checkbox$1,
21581
- template: template$17,
21582
- styles: styles$1f,
21581
+ template: template$19,
21582
+ styles: styles$1h,
21583
21583
  checkedIndicator: check16X16.data,
21584
21584
  indeterminateIndicator: minus16X16.data
21585
21585
  });
@@ -21591,7 +21591,7 @@ so this becomes the fallback color for the slot */ ''}
21591
21591
  block: 'block'
21592
21592
  };
21593
21593
 
21594
- const styles$1e = css `
21594
+ const styles$1g = css `
21595
21595
  ${display$2('inline-flex')}
21596
21596
 
21597
21597
  :host {
@@ -21652,7 +21652,7 @@ so this becomes the fallback color for the slot */ ''}
21652
21652
  }
21653
21653
  `));
21654
21654
 
21655
- const template$16 = (context, definition) => html `
21655
+ const template$18 = (context, definition) => html `
21656
21656
  ${startSlotTemplate(context, definition)}
21657
21657
  <span
21658
21658
  class="content"
@@ -21738,8 +21738,8 @@ so this becomes the fallback color for the slot */ ''}
21738
21738
  applyMixins(Chip, StartEnd);
21739
21739
  const nimbleChip = Chip.compose({
21740
21740
  baseName: 'chip',
21741
- template: template$16,
21742
- styles: styles$1e,
21741
+ template: template$18,
21742
+ styles: styles$1g,
21743
21743
  shadowOptions: {
21744
21744
  delegatesFocus: true
21745
21745
  }
@@ -21747,8 +21747,8 @@ so this becomes the fallback color for the slot */ ''}
21747
21747
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
21748
21748
  const chipTag = 'nimble-chip';
21749
21749
 
21750
- const styles$1d = css `
21751
- ${styles$1x}
21750
+ const styles$1f = css `
21751
+ ${styles$1z}
21752
21752
  ${buttonAppearanceVariantStyles}
21753
21753
 
21754
21754
  @layer checked {
@@ -21795,7 +21795,7 @@ so this becomes the fallback color for the slot */ ''}
21795
21795
  }
21796
21796
  `));
21797
21797
 
21798
- const template$15 = (context, definition) => html `
21798
+ const template$17 = (context, definition) => html `
21799
21799
  <div
21800
21800
  role="button"
21801
21801
  part="control"
@@ -21890,8 +21890,8 @@ so this becomes the fallback color for the slot */ ''}
21890
21890
  applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
21891
21891
  const nimbleToggleButton = ToggleButton.compose({
21892
21892
  baseName: 'toggle-button',
21893
- template: template$15,
21894
- styles: styles$1d,
21893
+ template: template$17,
21894
+ styles: styles$1f,
21895
21895
  shadowOptions: {
21896
21896
  delegatesFocus: true
21897
21897
  }
@@ -21921,7 +21921,7 @@ so this becomes the fallback color for the slot */ ''}
21921
21921
  frameless: 'frameless'
21922
21922
  };
21923
21923
 
21924
- const styles$1c = css `
21924
+ const styles$1e = css `
21925
21925
  ${display$2('inline-flex')}
21926
21926
 
21927
21927
  :host {
@@ -22211,7 +22211,7 @@ so this becomes the fallback color for the slot */ ''}
22211
22211
  }
22212
22212
  `));
22213
22213
 
22214
- const styles$1b = css `
22214
+ const styles$1d = css `
22215
22215
  .annotated-label {
22216
22216
  display: flex;
22217
22217
  flex-direction: row;
@@ -22238,12 +22238,13 @@ so this becomes the fallback color for the slot */ ''}
22238
22238
  none: undefined,
22239
22239
  standard: 'standard'};
22240
22240
 
22241
- const styles$1a = css `
22242
- ${styles$1c}
22243
- ${styles$1g}
22244
- ${styles$1b}
22241
+ const styles$1c = css `
22242
+ ${styles$1e}
22243
+ ${styles$1i}
22244
+ ${styles$1d}
22245
22245
 
22246
22246
  :host {
22247
+ field-sizing: fixed;
22247
22248
  --ni-private-hover-bottom-border-width: 2px;
22248
22249
  --ni-private-bottom-border-width: 1px;
22249
22250
  --ni-private-height-within-border: calc(
@@ -22252,6 +22253,7 @@ so this becomes the fallback color for the slot */ ''}
22252
22253
  }
22253
22254
 
22254
22255
  .control {
22256
+ field-sizing: inherit;
22255
22257
  bottom-border-width: var(--ni-private-bottom-border-width);
22256
22258
  }
22257
22259
 
@@ -22259,7 +22261,12 @@ so this becomes the fallback color for the slot */ ''}
22259
22261
  border-bottom-color: ${borderHoverColor};
22260
22262
  }
22261
22263
 
22264
+ slot[name='control'] {
22265
+ field-sizing: inherit;
22266
+ }
22267
+
22262
22268
  .selected-value {
22269
+ field-sizing: inherit;
22263
22270
  -webkit-appearance: none;
22264
22271
  background: transparent;
22265
22272
  border: none;
@@ -22362,7 +22369,7 @@ so this becomes the fallback color for the slot */ ''}
22362
22369
  <slot></slot>
22363
22370
  </label>
22364
22371
  `);
22365
- const template$14 = (context, definition) => html `
22372
+ const template$16 = (context, definition) => html `
22366
22373
  <template
22367
22374
  aria-disabled="${x => x.ariaDisabled}"
22368
22375
  autocomplete="${x => x.autocomplete}"
@@ -23137,8 +23144,8 @@ so this becomes the fallback color for the slot */ ''}
23137
23144
  const nimbleCombobox = Combobox.compose({
23138
23145
  baseName: 'combobox',
23139
23146
  baseClass: FormAssociatedCombobox,
23140
- template: template$14,
23141
- styles: styles$1a,
23147
+ template: template$16,
23148
+ styles: styles$1c,
23142
23149
  shadowOptions: {
23143
23150
  delegatesFocus: true
23144
23151
  },
@@ -23182,7 +23189,7 @@ so this becomes the fallback color for the slot */ ''}
23182
23189
  */
23183
23190
  const UserDismissed = Symbol('user dismissed');
23184
23191
 
23185
- const styles$19 = css `
23192
+ const styles$1b = css `
23186
23193
  ${display$2('grid')}
23187
23194
 
23188
23195
  dialog {
@@ -23275,7 +23282,7 @@ so this becomes the fallback color for the slot */ ''}
23275
23282
  }
23276
23283
  `;
23277
23284
 
23278
- const template$13 = html `
23285
+ const template$15 = html `
23279
23286
  <template>
23280
23287
  <dialog
23281
23288
  ${ref('dialogElement')}
@@ -23423,13 +23430,13 @@ so this becomes the fallback color for the slot */ ''}
23423
23430
  applyMixins(Dialog, ARIAGlobalStatesAndProperties);
23424
23431
  const nimbleDialog = Dialog.compose({
23425
23432
  baseName: 'dialog',
23426
- template: template$13,
23427
- styles: styles$19,
23433
+ template: template$15,
23434
+ styles: styles$1b,
23428
23435
  baseClass: Dialog
23429
23436
  });
23430
23437
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
23431
23438
 
23432
- const styles$18 = css `
23439
+ const styles$1a = css `
23433
23440
  ${display$2('block')}
23434
23441
 
23435
23442
  :host {
@@ -23572,7 +23579,7 @@ so this becomes the fallback color for the slot */ ''}
23572
23579
  }
23573
23580
  `;
23574
23581
 
23575
- const template$12 = html `
23582
+ const template$14 = html `
23576
23583
  <dialog
23577
23584
  ${ref('dialog')}
23578
23585
  aria-label="${x => x.ariaLabel}"
@@ -23714,8 +23721,8 @@ so this becomes the fallback color for the slot */ ''}
23714
23721
  applyMixins(Drawer, ARIAGlobalStatesAndProperties);
23715
23722
  const nimbleDrawer = Drawer.compose({
23716
23723
  baseName: 'drawer',
23717
- template: template$12,
23718
- styles: styles$18
23724
+ template: template$14,
23725
+ styles: styles$1a
23719
23726
  });
23720
23727
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
23721
23728
 
@@ -24455,6 +24462,7 @@ so this becomes the fallback color for the slot */ ''}
24455
24462
  }
24456
24463
  }
24457
24464
  registerIconSvg('icon-circle-filled', IconCircleFilled);
24465
+ const iconCircleFilledTag = 'nimble-icon-circle-filled';
24458
24466
 
24459
24467
  // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
24460
24468
  // See generation source in nimble-components/build/generate-icons
@@ -26513,7 +26521,7 @@ so this becomes the fallback color for the slot */ ''}
26513
26521
  }
26514
26522
  }
26515
26523
 
26516
- const styles$17 = css `
26524
+ const styles$19 = css `
26517
26525
  ${display$2('none')}
26518
26526
  `;
26519
26527
 
@@ -26586,7 +26594,7 @@ so this becomes the fallback color for the slot */ ''}
26586
26594
  ], LabelProviderCore.prototype, "itemRemove", void 0);
26587
26595
  const nimbleLabelProviderCore = LabelProviderCore.compose({
26588
26596
  baseName: 'label-provider-core',
26589
- styles: styles$17
26597
+ styles: styles$19
26590
26598
  });
26591
26599
  DesignSystem.getOrCreate()
26592
26600
  .withPrefix('nimble')
@@ -26753,13 +26761,13 @@ so this becomes the fallback color for the slot */ ''}
26753
26761
  ], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
26754
26762
  const nimbleLabelProviderTable = LabelProviderTable.compose({
26755
26763
  baseName: 'label-provider-table',
26756
- styles: styles$17
26764
+ styles: styles$19
26757
26765
  });
26758
26766
  DesignSystem.getOrCreate()
26759
26767
  .withPrefix('nimble')
26760
26768
  .register(nimbleLabelProviderTable());
26761
26769
 
26762
- const styles$16 = css `
26770
+ const styles$18 = css `
26763
26771
  ${display$2('flex')}
26764
26772
 
26765
26773
  :host {
@@ -26835,7 +26843,7 @@ so this becomes the fallback color for the slot */ ''}
26835
26843
  * The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
26836
26844
  * @public
26837
26845
  */
26838
- const template$11 = (context, definition) => html `
26846
+ const template$13 = (context, definition) => html `
26839
26847
  <template
26840
26848
  aria-checked="${x => x.ariaChecked}"
26841
26849
  aria-disabled="${x => x.ariaDisabled}"
@@ -26937,13 +26945,13 @@ so this becomes the fallback color for the slot */ ''}
26937
26945
  const nimbleListOption = ListOption.compose({
26938
26946
  baseName: 'list-option',
26939
26947
  baseClass: ListboxOption,
26940
- template: template$11,
26941
- styles: styles$16
26948
+ template: template$13,
26949
+ styles: styles$18
26942
26950
  });
26943
26951
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
26944
26952
  const listOptionTag = 'nimble-list-option';
26945
26953
 
26946
- const styles$15 = css `
26954
+ const styles$17 = css `
26947
26955
  ${display$2('flex')}
26948
26956
 
26949
26957
  :host {
@@ -27005,7 +27013,7 @@ so this becomes the fallback color for the slot */ ''}
27005
27013
  const isListOption$1 = (n) => {
27006
27014
  return n instanceof ListOption;
27007
27015
  };
27008
- const template$10 = html `
27016
+ const template$12 = html `
27009
27017
  <template
27010
27018
  role="group"
27011
27019
  aria-label="${x => x.labelContent}"
@@ -27147,8 +27155,8 @@ so this becomes the fallback color for the slot */ ''}
27147
27155
  const nimbleListOptionGroup = ListOptionGroup.compose({
27148
27156
  baseName: 'list-option-group',
27149
27157
  baseClass: FoundationElement,
27150
- template: template$10,
27151
- styles: styles$15
27158
+ template: template$12,
27159
+ styles: styles$17
27152
27160
  });
27153
27161
  DesignSystem.getOrCreate()
27154
27162
  .withPrefix('nimble')
@@ -27175,9 +27183,9 @@ so this becomes the fallback color for the slot */ ''}
27175
27183
  attr()
27176
27184
  ], Mapping$1.prototype, "key", void 0);
27177
27185
 
27178
- const template$$ = html `<template slot="mapping"></template>`;
27186
+ const template$11 = html `<template slot="mapping"></template>`;
27179
27187
 
27180
- const styles$14 = css `
27188
+ const styles$16 = css `
27181
27189
  ${display$2('none')}
27182
27190
  `;
27183
27191
 
@@ -27193,8 +27201,8 @@ so this becomes the fallback color for the slot */ ''}
27193
27201
  ], MappingEmpty.prototype, "text", void 0);
27194
27202
  const emptyMapping = MappingEmpty.compose({
27195
27203
  baseName: 'mapping-empty',
27196
- template: template$$,
27197
- styles: styles$14
27204
+ template: template$11,
27205
+ styles: styles$16
27198
27206
  });
27199
27207
  DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
27200
27208
 
@@ -27264,8 +27272,8 @@ so this becomes the fallback color for the slot */ ''}
27264
27272
  ], MappingIcon.prototype, "resolvedIcon", void 0);
27265
27273
  const iconMapping = MappingIcon.compose({
27266
27274
  baseName: 'mapping-icon',
27267
- template: template$$,
27268
- styles: styles$14
27275
+ template: template$11,
27276
+ styles: styles$16
27269
27277
  });
27270
27278
  DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
27271
27279
 
@@ -27288,8 +27296,8 @@ so this becomes the fallback color for the slot */ ''}
27288
27296
  ], MappingSpinner.prototype, "textHidden", void 0);
27289
27297
  const spinnerMapping = MappingSpinner.compose({
27290
27298
  baseName: 'mapping-spinner',
27291
- template: template$$,
27292
- styles: styles$14
27299
+ template: template$11,
27300
+ styles: styles$16
27293
27301
  });
27294
27302
  DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
27295
27303
 
@@ -27305,8 +27313,8 @@ so this becomes the fallback color for the slot */ ''}
27305
27313
  ], MappingText.prototype, "text", void 0);
27306
27314
  const textMapping = MappingText.compose({
27307
27315
  baseName: 'mapping-text',
27308
- template: template$$,
27309
- styles: styles$14
27316
+ template: template$11,
27317
+ styles: styles$16
27310
27318
  });
27311
27319
  DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
27312
27320
 
@@ -27608,7 +27616,7 @@ so this becomes the fallback color for the slot */ ''}
27608
27616
  observable
27609
27617
  ], Menu$1.prototype, "itemIcons", void 0);
27610
27618
 
27611
- const template$_ = () => html `
27619
+ const template$10 = () => html `
27612
27620
  <template
27613
27621
  slot="${x => {
27614
27622
  if (x.slot) {
@@ -27625,7 +27633,7 @@ so this becomes the fallback color for the slot */ ''}
27625
27633
  </template>
27626
27634
  `;
27627
27635
 
27628
- const styles$13 = css `
27636
+ const styles$15 = css `
27629
27637
  ${display$2('grid')}
27630
27638
 
27631
27639
  :host {
@@ -27696,8 +27704,8 @@ so this becomes the fallback color for the slot */ ''}
27696
27704
  const nimbleMenu = Menu.compose({
27697
27705
  baseName: 'menu',
27698
27706
  baseClass: Menu$1,
27699
- template: template$_,
27700
- styles: styles$13
27707
+ template: template$10,
27708
+ styles: styles$15
27701
27709
  });
27702
27710
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
27703
27711
  const menuTag = 'nimble-menu';
@@ -27714,7 +27722,7 @@ so this becomes the fallback color for the slot */ ''}
27714
27722
  auto: 'auto'
27715
27723
  };
27716
27724
 
27717
- const styles$12 = css `
27725
+ const styles$14 = css `
27718
27726
  ${display$2('inline-block')}
27719
27727
 
27720
27728
  :host {
@@ -27732,7 +27740,7 @@ so this becomes the fallback color for the slot */ ''}
27732
27740
  }
27733
27741
  `;
27734
27742
 
27735
- const template$Z = html `
27743
+ const template$$ = html `
27736
27744
  <template
27737
27745
  ?open="${x => x.open}"
27738
27746
  @focusout="${(x, c) => x.focusoutHandler(c.event)}"
@@ -27982,8 +27990,8 @@ so this becomes the fallback color for the slot */ ''}
27982
27990
  ], MenuButton.prototype, "slottedMenus", void 0);
27983
27991
  const nimbleMenuButton = MenuButton.compose({
27984
27992
  baseName: 'menu-button',
27985
- template: template$Z,
27986
- styles: styles$12,
27993
+ template: template$$,
27994
+ styles: styles$14,
27987
27995
  shadowOptions: {
27988
27996
  delegatesFocus: true
27989
27997
  }
@@ -27991,7 +27999,7 @@ so this becomes the fallback color for the slot */ ''}
27991
27999
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
27992
28000
  const menuButtonTag = 'nimble-menu-button';
27993
28001
 
27994
- const styles$11 = css `
28002
+ const styles$13 = css `
27995
28003
  ${display$2('grid')}
27996
28004
 
27997
28005
  :host {
@@ -28088,7 +28096,7 @@ so this becomes the fallback color for the slot */ ''}
28088
28096
  baseName: 'menu-item',
28089
28097
  baseClass: MenuItem$1,
28090
28098
  template: menuItemTemplate,
28091
- styles: styles$11,
28099
+ styles: styles$13,
28092
28100
  expandCollapseGlyph: arrowExpanderRight16X16.data
28093
28101
  });
28094
28102
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
@@ -28104,16 +28112,17 @@ so this becomes the fallback color for the slot */ ''}
28104
28112
  frameless: 'frameless'
28105
28113
  };
28106
28114
 
28107
- const styles$10 = css `
28115
+ const styles$12 = css `
28108
28116
  ${display$2('inline-block')}
28109
- ${styles$1g}
28110
- ${styles$1b}
28117
+ ${styles$1i}
28118
+ ${styles$1d}
28111
28119
 
28112
28120
  :host {
28113
28121
  font: ${bodyFont};
28114
28122
  outline: none;
28115
28123
  ${userSelectNone$1}
28116
28124
  color: ${bodyFontColor};
28125
+ field-sizing: fixed;
28117
28126
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
28118
28127
  --ni-private-height-within-border: calc(
28119
28128
  ${controlHeight} - 2 * ${borderWidth}
@@ -28146,6 +28155,7 @@ so this becomes the fallback color for the slot */ ''}
28146
28155
  position: relative;
28147
28156
  display: flex;
28148
28157
  flex-direction: row;
28158
+ field-sizing: inherit;
28149
28159
  justify-content: center;
28150
28160
  align-items: center;
28151
28161
  border-radius: 0px;
@@ -28213,12 +28223,17 @@ so this becomes the fallback color for the slot */ ''}
28213
28223
  font: inherit;
28214
28224
  background: transparent;
28215
28225
  color: inherit;
28226
+ field-sizing: inherit;
28216
28227
  height: var(--ni-private-height-within-border);
28217
28228
  width: 100%;
28218
28229
  border: none;
28219
28230
  padding: 0px;
28220
28231
  padding-left: ${mediumPadding};
28221
28232
  }
28233
+
28234
+ :host([hide-step]) .control {
28235
+ padding-right: ${smallPadding};
28236
+ }
28222
28237
 
28223
28238
  .control:hover,
28224
28239
  .control:focus,
@@ -28316,6 +28331,7 @@ so this becomes the fallback color for the slot */ ''}
28316
28331
 
28317
28332
  :host([full-bleed]) .control {
28318
28333
  padding-left: 0px;
28334
+ padding-right: 0px;
28319
28335
  }
28320
28336
  `));
28321
28337
 
@@ -28330,7 +28346,7 @@ so this becomes the fallback color for the slot */ ''}
28330
28346
  * The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
28331
28347
  * @public
28332
28348
  */
28333
- const template$Y = (context, definition) => html `
28349
+ const template$_ = (context, definition) => html `
28334
28350
  <template class="${x => (x.readOnly ? 'readonly' : '')}">
28335
28351
  ${labelTemplate$4}
28336
28352
  <div class="root" part="root">
@@ -28484,8 +28500,8 @@ so this becomes the fallback color for the slot */ ''}
28484
28500
  const nimbleNumberField = NumberField.compose({
28485
28501
  baseName: 'number-field',
28486
28502
  baseClass: NumberField$1,
28487
- template: template$Y,
28488
- styles: styles$10,
28503
+ template: template$_,
28504
+ styles: styles$12,
28489
28505
  shadowOptions: {
28490
28506
  delegatesFocus: true
28491
28507
  },
@@ -28528,7 +28544,7 @@ so this becomes the fallback color for the slot */ ''}
28528
28544
  });
28529
28545
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
28530
28546
 
28531
- const styles$$ = css `
28547
+ const styles$11 = css `
28532
28548
  ${display$2('inline-flex')}
28533
28549
 
28534
28550
  :host {
@@ -28628,15 +28644,15 @@ so this becomes the fallback color for the slot */ ''}
28628
28644
  baseName: 'radio',
28629
28645
  baseClass: Radio$1,
28630
28646
  template: radioTemplate,
28631
- styles: styles$$,
28647
+ styles: styles$11,
28632
28648
  checkedIndicator: circleFilled16X16.data
28633
28649
  });
28634
28650
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
28635
28651
 
28636
- const styles$_ = css `
28652
+ const styles$10 = css `
28637
28653
  ${display$2('inline-block')}
28638
- ${styles$1g}
28639
- ${styles$1b}
28654
+ ${styles$1i}
28655
+ ${styles$1d}
28640
28656
 
28641
28657
  .positioning-region {
28642
28658
  display: flex;
@@ -28675,7 +28691,7 @@ so this becomes the fallback color for the slot */ ''}
28675
28691
  `;
28676
28692
 
28677
28693
  const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
28678
- const template$X = html `
28694
+ const template$Z = html `
28679
28695
  <template
28680
28696
  role="radiogroup"
28681
28697
  aria-disabled="${x => x.disabled}"
@@ -28715,8 +28731,8 @@ so this becomes the fallback color for the slot */ ''}
28715
28731
  const nimbleRadioGroup = RadioGroup.compose({
28716
28732
  baseName: 'radio-group',
28717
28733
  baseClass: RadioGroup$1,
28718
- template: template$X,
28719
- styles: styles$_,
28734
+ template: template$Z,
28735
+ styles: styles$10,
28720
28736
  shadowOptions: {
28721
28737
  delegatesFocus: true
28722
28738
  }
@@ -48355,7 +48371,7 @@ ${indentedChild}`;
48355
48371
  // src/index.ts
48356
48372
  var index_default$7 = HardBreak;
48357
48373
 
48358
- const styles$Z = css `
48374
+ const styles$$ = css `
48359
48375
  ${display$2('inline')}
48360
48376
 
48361
48377
  .positioning-region {
@@ -48392,7 +48408,7 @@ ${indentedChild}`;
48392
48408
  baseName: 'toolbar',
48393
48409
  baseClass: Toolbar$1,
48394
48410
  template: toolbarTemplate,
48395
- styles: styles$Z
48411
+ styles: styles$$
48396
48412
  });
48397
48413
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
48398
48414
  const toolbarTag = 'nimble-toolbar';
@@ -48421,8 +48437,8 @@ ${indentedChild}`;
48421
48437
  cssCustomPropertyName: null
48422
48438
  }).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
48423
48439
 
48424
- const styles$Y = css `
48425
- ${styles$1c}
48440
+ const styles$_ = css `
48441
+ ${styles$1e}
48426
48442
 
48427
48443
  :host {
48428
48444
  height: auto;
@@ -48440,7 +48456,7 @@ ${indentedChild}`;
48440
48456
  }
48441
48457
  `;
48442
48458
 
48443
- const template$W = html `
48459
+ const template$Y = html `
48444
48460
  <template>
48445
48461
  <${anchoredRegionTag}
48446
48462
  ${ref('region')}
@@ -48728,15 +48744,15 @@ ${indentedChild}`;
48728
48744
  ], RichTextMentionListbox.prototype, "anchorElement", void 0);
48729
48745
  const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
48730
48746
  baseName: 'rich-text-mention-listbox',
48731
- template: template$W,
48732
- styles: styles$Y
48747
+ template: template$Y,
48748
+ styles: styles$_
48733
48749
  });
48734
48750
  DesignSystem.getOrCreate()
48735
48751
  .withPrefix('nimble')
48736
48752
  .register(nimbleRichTextMentionListbox());
48737
48753
  const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
48738
48754
 
48739
- const template$V = html `
48755
+ const template$X = html `
48740
48756
  <template
48741
48757
  ${children$1({ property: 'childItems', filter: elements() })}
48742
48758
  @focusout="${x => x.focusoutHandler()}"
@@ -48838,9 +48854,9 @@ ${indentedChild}`;
48838
48854
  </template>
48839
48855
  `;
48840
48856
 
48841
- const styles$X = css `
48857
+ const styles$Z = css `
48842
48858
  ${display$2('inline-flex')}
48843
- ${styles$1g}
48859
+ ${styles$1i}
48844
48860
 
48845
48861
  :host {
48846
48862
  font: ${bodyFont};
@@ -65853,8 +65869,8 @@ ${indentedChild}`;
65853
65869
  applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
65854
65870
  const nimbleRichTextEditor = RichTextEditor.compose({
65855
65871
  baseName: 'rich-text-editor',
65856
- template: template$V,
65857
- styles: styles$X,
65872
+ template: template$X,
65873
+ styles: styles$Z,
65858
65874
  shadowOptions: {
65859
65875
  delegatesFocus: true
65860
65876
  }
@@ -65863,13 +65879,13 @@ ${indentedChild}`;
65863
65879
  .withPrefix('nimble')
65864
65880
  .register(nimbleRichTextEditor());
65865
65881
 
65866
- const template$U = html `
65882
+ const template$W = html `
65867
65883
  <template ${children$1({ property: 'childItems', filter: elements() })}>
65868
65884
  <div ${ref('viewer')} class="viewer"></div>
65869
65885
  </template>
65870
65886
  `;
65871
65887
 
65872
- const styles$W = css `
65888
+ const styles$Y = css `
65873
65889
  ${display$2('flex')}
65874
65890
 
65875
65891
  :host {
@@ -65982,17 +65998,17 @@ ${indentedChild}`;
65982
65998
  ], RichTextViewer.prototype, "markdown", void 0);
65983
65999
  const nimbleRichTextViewer = RichTextViewer.compose({
65984
66000
  baseName: 'rich-text-viewer',
65985
- template: template$U,
65986
- styles: styles$W
66001
+ template: template$W,
66002
+ styles: styles$Y
65987
66003
  });
65988
66004
  DesignSystem.getOrCreate()
65989
66005
  .withPrefix('nimble')
65990
66006
  .register(nimbleRichTextViewer());
65991
66007
 
65992
- const styles$V = css `
65993
- ${styles$1c}
65994
- ${styles$1g}
65995
- ${styles$1b}
66008
+ const styles$X = css `
66009
+ ${styles$1e}
66010
+ ${styles$1i}
66011
+ ${styles$1d}
65996
66012
 
65997
66013
  ${
65998
66014
  /* We are using flex `order` to define the visual ordering of the selected value,
@@ -66155,7 +66171,7 @@ ${indentedChild}`;
66155
66171
  }
66156
66172
  `));
66157
66173
 
66158
- const styles$U = css `
66174
+ const styles$W = css `
66159
66175
  ${display$2('inline-grid')}
66160
66176
 
66161
66177
  :host {
@@ -66325,7 +66341,7 @@ ${indentedChild}`;
66325
66341
  }
66326
66342
  `));
66327
66343
 
66328
- const template$T = html `
66344
+ const template$V = html `
66329
66345
  <template role="progressbar">
66330
66346
  ${''
66331
66347
  /**
@@ -66372,8 +66388,8 @@ ${indentedChild}`;
66372
66388
  ], Spinner.prototype, "appearance", void 0);
66373
66389
  const nimbleSpinner = Spinner.compose({
66374
66390
  baseName: 'spinner',
66375
- template: template$T,
66376
- styles: styles$U
66391
+ template: template$V,
66392
+ styles: styles$W
66377
66393
  });
66378
66394
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
66379
66395
  const spinnerTag = 'nimble-spinner';
@@ -66389,7 +66405,7 @@ ${indentedChild}`;
66389
66405
  <slot ${ref('labelSlot')}></slot>
66390
66406
  </label>
66391
66407
  `);
66392
- const template$S = (context, definition) => html `
66408
+ const template$U = (context, definition) => html `
66393
66409
  <template
66394
66410
  class="${x => [
66395
66411
  x.collapsible && 'collapsible',
@@ -67601,8 +67617,8 @@ ${indentedChild}`;
67601
67617
  const nimbleSelect = Select.compose({
67602
67618
  baseName: 'select',
67603
67619
  baseClass: Select$2,
67604
- template: template$S,
67605
- styles: styles$V,
67620
+ template: template$U,
67621
+ styles: styles$X,
67606
67622
  indicator: arrowExpanderDown16X16.data,
67607
67623
  end: html `
67608
67624
  <${iconExclamationMarkTag}
@@ -67615,8 +67631,8 @@ ${indentedChild}`;
67615
67631
  applyMixins(Select, StartEnd, DelegatesARIASelect);
67616
67632
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
67617
67633
 
67618
- const styles$T = css `
67619
- ${styles$1t}
67634
+ const styles$V = css `
67635
+ ${styles$1v}
67620
67636
  ${'' /* Button specific styles */}
67621
67637
  @layer base {
67622
67638
  .control {
@@ -67627,7 +67643,7 @@ ${indentedChild}`;
67627
67643
  }
67628
67644
  `;
67629
67645
 
67630
- const template$R = (context, definition) => html `
67646
+ const template$T = (context, definition) => html `
67631
67647
  <template slot="step">
67632
67648
  <li class="
67633
67649
  container
@@ -67749,15 +67765,15 @@ ${indentedChild}`;
67749
67765
  ], Step.prototype, "tabIndex", void 0);
67750
67766
  const nimbleStep = Step.compose({
67751
67767
  baseName: 'step',
67752
- template: template$R,
67753
- styles: styles$T,
67768
+ template: template$T,
67769
+ styles: styles$V,
67754
67770
  shadowOptions: {
67755
67771
  delegatesFocus: true
67756
67772
  }
67757
67773
  });
67758
67774
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
67759
67775
 
67760
- const styles$S = css `
67776
+ const styles$U = css `
67761
67777
  ${display$2('inline-flex')}
67762
67778
 
67763
67779
  :host {
@@ -67828,7 +67844,7 @@ ${indentedChild}`;
67828
67844
  }
67829
67845
  `;
67830
67846
 
67831
- const template$Q = html `
67847
+ const template$S = html `
67832
67848
  ${when(x => x.showScrollButtons, html `
67833
67849
  <${buttonTag}
67834
67850
  content-hidden
@@ -67973,12 +67989,12 @@ ${indentedChild}`;
67973
67989
  ], Stepper.prototype, "steps", void 0);
67974
67990
  const nimbleStepper = Stepper.compose({
67975
67991
  baseName: 'stepper',
67976
- template: template$Q,
67977
- styles: styles$S
67992
+ template: template$S,
67993
+ styles: styles$U
67978
67994
  });
67979
67995
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
67980
67996
 
67981
- const styles$R = css `
67997
+ const styles$T = css `
67982
67998
  ${display$2('inline-flex')}
67983
67999
 
67984
68000
  :host {
@@ -68205,7 +68221,7 @@ ${indentedChild}`;
68205
68221
  }
68206
68222
  `));
68207
68223
 
68208
- const template$P = html `
68224
+ const template$R = html `
68209
68225
  <template
68210
68226
  role="switch"
68211
68227
  aria-checked="${x => x.checked}"
@@ -68249,12 +68265,12 @@ ${indentedChild}`;
68249
68265
  const nimbleSwitch = Switch.compose({
68250
68266
  baseClass: Switch$1,
68251
68267
  baseName: 'switch',
68252
- template: template$P,
68253
- styles: styles$R
68268
+ template: template$R,
68269
+ styles: styles$T
68254
68270
  });
68255
68271
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
68256
68272
 
68257
- const styles$Q = css `
68273
+ const styles$S = css `
68258
68274
  ${display$2('inline-flex')}
68259
68275
 
68260
68276
  :host {
@@ -68365,11 +68381,11 @@ ${indentedChild}`;
68365
68381
  baseName: 'tab',
68366
68382
  baseClass: Tab$1,
68367
68383
  template: tabTemplate,
68368
- styles: styles$Q
68384
+ styles: styles$S
68369
68385
  });
68370
68386
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
68371
68387
 
68372
- const styles$P = css `
68388
+ const styles$R = css `
68373
68389
  ${display$2('block')}
68374
68390
 
68375
68391
  :host {
@@ -68388,7 +68404,7 @@ ${indentedChild}`;
68388
68404
  baseName: 'tab-panel',
68389
68405
  baseClass: TabPanel$1,
68390
68406
  template: tabPanelTemplate,
68391
- styles: styles$P
68407
+ styles: styles$R
68392
68408
  });
68393
68409
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
68394
68410
 
@@ -72131,7 +72147,7 @@ ${indentedChild}`;
72131
72147
  }
72132
72148
  }
72133
72149
 
72134
- const styles$O = css `
72150
+ const styles$Q = css `
72135
72151
  ${display$2('flex')}
72136
72152
 
72137
72153
  :host {
@@ -72369,7 +72385,7 @@ focus outline in that case.
72369
72385
  }
72370
72386
  `));
72371
72387
 
72372
- const styles$N = css `
72388
+ const styles$P = css `
72373
72389
  ${display$2('flex')}
72374
72390
 
72375
72391
  :host {
@@ -72402,7 +72418,7 @@ focus outline in that case.
72402
72418
  }
72403
72419
  `;
72404
72420
 
72405
- const template$O = html `
72421
+ const template$Q = html `
72406
72422
  <template role="columnheader"
72407
72423
  class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
72408
72424
  aria-sort="${x => x.ariaSort}"
@@ -72488,13 +72504,13 @@ focus outline in that case.
72488
72504
  ], TableHeader.prototype, "isGrouped", void 0);
72489
72505
  const nimbleTableHeader = TableHeader.compose({
72490
72506
  baseName: 'table-header',
72491
- template: template$O,
72492
- styles: styles$N
72507
+ template: template$Q,
72508
+ styles: styles$P
72493
72509
  });
72494
72510
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
72495
72511
  const tableHeaderTag = 'nimble-table-header';
72496
72512
 
72497
- const styles$M = css `
72513
+ const styles$O = css `
72498
72514
  :host .animating {
72499
72515
  transition: ${mediumDelay} ease-in;
72500
72516
  }
@@ -72519,9 +72535,9 @@ focus outline in that case.
72519
72535
  }
72520
72536
  `;
72521
72537
 
72522
- const styles$L = css `
72538
+ const styles$N = css `
72523
72539
  ${display$2('flex')}
72524
- ${styles$M}
72540
+ ${styles$O}
72525
72541
 
72526
72542
  :host {
72527
72543
  width: fit-content;
@@ -72767,7 +72783,7 @@ focus outline in that case.
72767
72783
  }
72768
72784
  `));
72769
72785
 
72770
- const styles$K = css `
72786
+ const styles$M = css `
72771
72787
  ${display$2('flex')}
72772
72788
 
72773
72789
  :host {
@@ -72812,7 +72828,7 @@ focus outline in that case.
72812
72828
  }
72813
72829
  `;
72814
72830
 
72815
- const template$N = html `
72831
+ const template$P = html `
72816
72832
  <template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
72817
72833
  @focusin="${x => x.onCellFocusIn()}"
72818
72834
  @blur="${x => x.onCellBlur()}"
@@ -72909,8 +72925,8 @@ focus outline in that case.
72909
72925
  ], TableCell.prototype, "nestingLevel", void 0);
72910
72926
  const nimbleTableCell = TableCell.compose({
72911
72927
  baseName: 'table-cell',
72912
- template: template$N,
72913
- styles: styles$K
72928
+ template: template$P,
72929
+ styles: styles$M
72914
72930
  });
72915
72931
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
72916
72932
  const tableCellTag = 'nimble-table-cell';
@@ -72946,7 +72962,7 @@ focus outline in that case.
72946
72962
  `)}
72947
72963
  </${tableCellTag}>
72948
72964
  `;
72949
- const template$M = html `
72965
+ const template$O = html `
72950
72966
  <template
72951
72967
  role="row"
72952
72968
  aria-selected=${x => x.ariaSelected}
@@ -73322,15 +73338,15 @@ focus outline in that case.
73322
73338
  ], TableRow.prototype, "ariaSelected", null);
73323
73339
  const nimbleTableRow = TableRow.compose({
73324
73340
  baseName: 'table-row',
73325
- template: template$M,
73326
- styles: styles$L
73341
+ template: template$O,
73342
+ styles: styles$N
73327
73343
  });
73328
73344
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
73329
73345
  const tableRowTag = 'nimble-table-row';
73330
73346
 
73331
- const styles$J = css `
73347
+ const styles$L = css `
73332
73348
  ${display$2('grid')}
73333
- ${styles$M}
73349
+ ${styles$O}
73334
73350
 
73335
73351
  :host {
73336
73352
  align-items: center;
@@ -73503,7 +73519,7 @@ focus outline in that case.
73503
73519
  }
73504
73520
  `));
73505
73521
 
73506
- const template$L = html `
73522
+ const template$N = html `
73507
73523
  <template
73508
73524
  role="row"
73509
73525
  @click=${x => x.onGroupExpandToggle()}
@@ -73679,8 +73695,8 @@ focus outline in that case.
73679
73695
  ], TableGroupRow.prototype, "allowHover", void 0);
73680
73696
  const nimbleTableGroupRow = TableGroupRow.compose({
73681
73697
  baseName: 'table-group-row',
73682
- template: template$L,
73683
- styles: styles$J
73698
+ template: template$N,
73699
+ styles: styles$L
73684
73700
  });
73685
73701
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
73686
73702
  const tableGroupRowTag = 'nimble-table-group-row';
@@ -73700,7 +73716,7 @@ focus outline in that case.
73700
73716
  <slot name="${x => x.slot}"></slot>
73701
73717
  </${tableHeaderTag}>
73702
73718
  `;
73703
- const template$K = html `
73719
+ const template$M = html `
73704
73720
  <template
73705
73721
  role="treegrid"
73706
73722
  ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
@@ -78433,12 +78449,12 @@ focus outline in that case.
78433
78449
  ], Table$1.prototype, "windowShiftKeyDown", void 0);
78434
78450
  const nimbleTable = Table$1.compose({
78435
78451
  baseName: 'table',
78436
- template: template$K,
78437
- styles: styles$O
78452
+ template: template$M,
78453
+ styles: styles$Q
78438
78454
  });
78439
78455
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
78440
78456
 
78441
- const styles$I = css `
78457
+ const styles$K = css `
78442
78458
  ${display$2('contents')}
78443
78459
 
78444
78460
  .header-content {
@@ -78450,7 +78466,7 @@ focus outline in that case.
78450
78466
 
78451
78467
  // Avoiding a wrapping <template> and be careful about starting and ending whitspace
78452
78468
  // so the template can be composed into other column header templates
78453
- const template$J = html `<span
78469
+ const template$L = html `<span
78454
78470
  ${overflow('hasOverflow')}
78455
78471
  class="header-content"
78456
78472
  title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
@@ -78515,7 +78531,7 @@ focus outline in that case.
78515
78531
  return ColumnWithPlaceholder;
78516
78532
  }
78517
78533
 
78518
- const styles$H = css `
78534
+ const styles$J = css `
78519
78535
  ${display$2('flex')}
78520
78536
 
78521
78537
  :host {
@@ -78546,7 +78562,7 @@ focus outline in that case.
78546
78562
  }
78547
78563
  `;
78548
78564
 
78549
- const template$I = html `
78565
+ const template$K = html `
78550
78566
  <template
78551
78567
  @click="${(x, c) => {
78552
78568
  if (typeof x.cellRecord?.href === 'string') {
@@ -78638,8 +78654,8 @@ focus outline in that case.
78638
78654
  ], TableColumnAnchorCellView.prototype, "showAnchor", null);
78639
78655
  const anchorCellView = TableColumnAnchorCellView.compose({
78640
78656
  baseName: 'table-column-anchor-cell-view',
78641
- template: template$I,
78642
- styles: styles$H
78657
+ template: template$K,
78658
+ styles: styles$J
78643
78659
  });
78644
78660
  DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
78645
78661
  const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
@@ -78716,7 +78732,7 @@ focus outline in that case.
78716
78732
  observable
78717
78733
  ], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
78718
78734
 
78719
- const template$H = html `
78735
+ const template$J = html `
78720
78736
  <span
78721
78737
  ${overflow('hasOverflow')}
78722
78738
  title="${x => (x.hasOverflow && x.text ? x.text : null)}"
@@ -78725,7 +78741,7 @@ focus outline in that case.
78725
78741
  </span>
78726
78742
  `;
78727
78743
 
78728
- const styles$G = css `
78744
+ const styles$I = css `
78729
78745
  ${display$2('flex')}
78730
78746
 
78731
78747
  span {
@@ -78749,8 +78765,8 @@ focus outline in that case.
78749
78765
  }
78750
78766
  const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
78751
78767
  baseName: 'table-column-text-group-header-view',
78752
- template: template$H,
78753
- styles: styles$G
78768
+ template: template$J,
78769
+ styles: styles$I
78754
78770
  });
78755
78771
  DesignSystem.getOrCreate()
78756
78772
  .withPrefix('nimble')
@@ -78994,8 +79010,8 @@ focus outline in that case.
78994
79010
  ], TableColumnAnchor.prototype, "download", void 0);
78995
79011
  const nimbleTableColumnAnchor = TableColumnAnchor.compose({
78996
79012
  baseName: 'table-column-anchor',
78997
- template: template$J,
78998
- styles: styles$I
79013
+ template: template$L,
79014
+ styles: styles$K
78999
79015
  });
79000
79016
  DesignSystem.getOrCreate()
79001
79017
  .withPrefix('nimble')
@@ -79047,15 +79063,15 @@ focus outline in that case.
79047
79063
  }
79048
79064
  const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
79049
79065
  baseName: 'table-column-date-text-group-header-view',
79050
- template: template$H,
79051
- styles: styles$G
79066
+ template: template$J,
79067
+ styles: styles$I
79052
79068
  });
79053
79069
  DesignSystem.getOrCreate()
79054
79070
  .withPrefix('nimble')
79055
79071
  .register(tableColumnDateTextGroupHeaderView());
79056
79072
  const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
79057
79073
 
79058
- const template$G = html `
79074
+ const template$I = html `
79059
79075
  <template
79060
79076
  class="
79061
79077
  ${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
@@ -79071,7 +79087,7 @@ focus outline in that case.
79071
79087
  </template>
79072
79088
  `;
79073
79089
 
79074
- const styles$F = css `
79090
+ const styles$H = css `
79075
79091
  ${display$2('flex')}
79076
79092
 
79077
79093
  :host {
@@ -79173,8 +79189,8 @@ focus outline in that case.
79173
79189
  }
79174
79190
  const dateTextCellView = TableColumnDateTextCellView.compose({
79175
79191
  baseName: 'table-column-date-text-cell-view',
79176
- template: template$G,
79177
- styles: styles$F
79192
+ template: template$I,
79193
+ styles: styles$H
79178
79194
  });
79179
79195
  DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
79180
79196
  const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
@@ -79432,8 +79448,8 @@ focus outline in that case.
79432
79448
  ], TableColumnDateText.prototype, "customHourCycle", void 0);
79433
79449
  const nimbleTableColumnDateText = TableColumnDateText.compose({
79434
79450
  baseName: 'table-column-date-text',
79435
- template: template$J,
79436
- styles: styles$I
79451
+ template: template$L,
79452
+ styles: styles$K
79437
79453
  });
79438
79454
  DesignSystem.getOrCreate()
79439
79455
  .withPrefix('nimble')
@@ -79449,8 +79465,8 @@ focus outline in that case.
79449
79465
  }
79450
79466
  const durationTextCellView = TableColumnDurationTextCellView.compose({
79451
79467
  baseName: 'table-column-duration-text-cell-view',
79452
- template: template$G,
79453
- styles: styles$F
79468
+ template: template$I,
79469
+ styles: styles$H
79454
79470
  });
79455
79471
  DesignSystem.getOrCreate()
79456
79472
  .withPrefix('nimble')
@@ -79551,8 +79567,8 @@ focus outline in that case.
79551
79567
  }
79552
79568
  const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
79553
79569
  baseName: 'table-column-duration-text-group-header-view',
79554
- template: template$H,
79555
- styles: styles$G
79570
+ template: template$J,
79571
+ styles: styles$I
79556
79572
  });
79557
79573
  DesignSystem.getOrCreate()
79558
79574
  .withPrefix('nimble')
@@ -79604,8 +79620,8 @@ focus outline in that case.
79604
79620
  }
79605
79621
  const nimbleTableColumnDurationText = TableColumnDurationText.compose({
79606
79622
  baseName: 'table-column-duration-text',
79607
- template: template$J,
79608
- styles: styles$I
79623
+ template: template$L,
79624
+ styles: styles$K
79609
79625
  });
79610
79626
  DesignSystem.getOrCreate()
79611
79627
  .withPrefix('nimble')
@@ -79713,15 +79729,15 @@ focus outline in that case.
79713
79729
  attr({ attribute: 'key-type' })
79714
79730
  ], TableColumnEnumBase.prototype, "keyType", void 0);
79715
79731
 
79716
- const styles$E = css `
79717
- ${styles$I}
79732
+ const styles$G = css `
79733
+ ${styles$K}
79718
79734
 
79719
79735
  slot[name='mapping'] {
79720
79736
  display: none;
79721
79737
  }
79722
79738
  `;
79723
79739
 
79724
- const template$F = html `${template$J}<slot ${slotted('mappings')} name="mapping"></slot>`;
79740
+ const template$H = html `${template$L}<slot ${slotted('mappings')} name="mapping"></slot>`;
79725
79741
 
79726
79742
  // As the returned class is internal to the function, we can't write a signature that uses is directly, so rely on inference
79727
79743
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type
@@ -79824,7 +79840,7 @@ focus outline in that case.
79824
79840
  }
79825
79841
  }
79826
79842
 
79827
- const styles$D = css `
79843
+ const styles$F = css `
79828
79844
  ${display$2('inline-flex')}
79829
79845
 
79830
79846
  :host {
@@ -79848,7 +79864,7 @@ focus outline in that case.
79848
79864
  }
79849
79865
  `;
79850
79866
 
79851
- const template$E = html `
79867
+ const template$G = html `
79852
79868
  ${when(x => x.visualizationTemplate, html `
79853
79869
  <span class="reserve-icon-size">
79854
79870
  ${x => x.visualizationTemplate}
@@ -79992,15 +80008,15 @@ focus outline in that case.
79992
80008
  ], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
79993
80009
  const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
79994
80010
  baseName: 'table-column-mapping-group-header-view',
79995
- template: template$E,
79996
- styles: styles$D
80011
+ template: template$G,
80012
+ styles: styles$F
79997
80013
  });
79998
80014
  DesignSystem.getOrCreate()
79999
80015
  .withPrefix('nimble')
80000
80016
  .register(mappingGroupHeaderView());
80001
80017
  const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
80002
80018
 
80003
- const styles$C = css `
80019
+ const styles$E = css `
80004
80020
  ${display$2('inline-flex')}
80005
80021
 
80006
80022
  :host {
@@ -80024,7 +80040,7 @@ focus outline in that case.
80024
80040
  }
80025
80041
  `;
80026
80042
 
80027
- const template$D = html `
80043
+ const template$F = html `
80028
80044
  ${when(x => x.visualizationTemplate, html `
80029
80045
  <span class="reserve-icon-size">
80030
80046
  ${x => x.visualizationTemplate}
@@ -80111,8 +80127,8 @@ focus outline in that case.
80111
80127
  ], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
80112
80128
  const mappingCellView = TableColumnMappingCellView.compose({
80113
80129
  baseName: 'table-column-mapping-cell-view',
80114
- template: template$D,
80115
- styles: styles$C
80130
+ template: template$F,
80131
+ styles: styles$E
80116
80132
  });
80117
80133
  DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
80118
80134
  const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
@@ -80195,23 +80211,23 @@ focus outline in that case.
80195
80211
  ], TableColumnMapping.prototype, "widthMode", void 0);
80196
80212
  const nimbleTableColumnMapping = TableColumnMapping.compose({
80197
80213
  baseName: 'table-column-mapping',
80198
- template: template$F,
80199
- styles: styles$E
80214
+ template: template$H,
80215
+ styles: styles$G
80200
80216
  });
80201
80217
  DesignSystem.getOrCreate()
80202
80218
  .withPrefix('nimble')
80203
80219
  .register(nimbleTableColumnMapping());
80204
80220
 
80205
- const template$C = html `
80221
+ const template$E = html `
80206
80222
  <template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
80207
- >${template$J}</template
80223
+ >${template$L}</template
80208
80224
  >
80209
80225
  `;
80210
80226
 
80211
80227
  /** @internal */
80212
80228
  const cellViewMenuSlotName = 'menu-button-menu';
80213
80229
 
80214
- const template$B = html `
80230
+ const template$D = html `
80215
80231
  ${when(x => x.showMenuButton, html `
80216
80232
  <${menuButtonTag}
80217
80233
  ${ref('menuButton')}
@@ -80230,7 +80246,7 @@ focus outline in that case.
80230
80246
  `)}
80231
80247
  `;
80232
80248
 
80233
- const styles$B = css `
80249
+ const styles$D = css `
80234
80250
  :host {
80235
80251
  align-self: center;
80236
80252
  width: 100%;
@@ -80305,8 +80321,8 @@ focus outline in that case.
80305
80321
  ], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
80306
80322
  const menuButtonCellView = TableColumnMenuButtonCellView.compose({
80307
80323
  baseName: 'table-column-menu-button-cell-view',
80308
- template: template$B,
80309
- styles: styles$B
80324
+ template: template$D,
80325
+ styles: styles$D
80310
80326
  });
80311
80327
  DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
80312
80328
  const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
@@ -80361,8 +80377,8 @@ focus outline in that case.
80361
80377
  ], TableColumnMenuButton.prototype, "menuSlot", void 0);
80362
80378
  const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
80363
80379
  baseName: 'table-column-menu-button',
80364
- template: template$C,
80365
- styles: styles$I
80380
+ template: template$E,
80381
+ styles: styles$K
80366
80382
  });
80367
80383
  DesignSystem.getOrCreate()
80368
80384
  .withPrefix('nimble')
@@ -80370,7 +80386,7 @@ focus outline in that case.
80370
80386
 
80371
80387
  // Avoiding a wrapping <template> and be careful about starting and ending whitespace
80372
80388
  // so the template can be composed into other column header templates
80373
- const template$A = html `<span
80389
+ const template$C = html `<span
80374
80390
  ${overflow('hasOverflow')}
80375
80391
  class="header-content"
80376
80392
  title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
@@ -80389,8 +80405,8 @@ focus outline in that case.
80389
80405
  }
80390
80406
  const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
80391
80407
  baseName: 'table-column-number-text-group-header-view',
80392
- template: template$H,
80393
- styles: styles$G
80408
+ template: template$J,
80409
+ styles: styles$I
80394
80410
  });
80395
80411
  DesignSystem.getOrCreate()
80396
80412
  .withPrefix('nimble')
@@ -80411,8 +80427,8 @@ focus outline in that case.
80411
80427
  }
80412
80428
  const numberTextCellView = TableColumnNumberTextCellView.compose({
80413
80429
  baseName: 'table-column-number-text-cell-view',
80414
- template: template$G,
80415
- styles: styles$F
80430
+ template: template$I,
80431
+ styles: styles$H
80416
80432
  });
80417
80433
  DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
80418
80434
  const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
@@ -80952,8 +80968,8 @@ focus outline in that case.
80952
80968
  ], TableColumnNumberText.prototype, "unit", void 0);
80953
80969
  const nimbleTableColumnNumberText = TableColumnNumberText.compose({
80954
80970
  baseName: 'table-column-number-text',
80955
- template: template$A,
80956
- styles: styles$I
80971
+ template: template$C,
80972
+ styles: styles$K
80957
80973
  });
80958
80974
  DesignSystem.getOrCreate()
80959
80975
  .withPrefix('nimble')
@@ -80971,8 +80987,8 @@ focus outline in that case.
80971
80987
  }
80972
80988
  const textCellView = TableColumnTextCellView.compose({
80973
80989
  baseName: 'table-column-text-cell-view',
80974
- template: template$G,
80975
- styles: styles$F
80990
+ template: template$I,
80991
+ styles: styles$H
80976
80992
  });
80977
80993
  DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
80978
80994
  const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
@@ -81026,15 +81042,15 @@ focus outline in that case.
81026
81042
  }
81027
81043
  const nimbleTableColumnText = TableColumnText.compose({
81028
81044
  baseName: 'table-column-text',
81029
- template: template$J,
81030
- styles: styles$I
81045
+ template: template$L,
81046
+ styles: styles$K
81031
81047
  });
81032
81048
  DesignSystem.getOrCreate()
81033
81049
  .withPrefix('nimble')
81034
81050
  .register(nimbleTableColumnText());
81035
81051
 
81036
- const styles$A = css `
81037
- ${styles$1p}
81052
+ const styles$C = css `
81053
+ ${styles$1r}
81038
81054
 
81039
81055
  .tabpanel {
81040
81056
  overflow: auto;
@@ -81115,12 +81131,12 @@ focus outline in that case.
81115
81131
  const nimbleTabs = Tabs.compose({
81116
81132
  baseName: 'tabs',
81117
81133
  baseClass: Tabs$1,
81118
- template: template$1b,
81119
- styles: styles$A
81134
+ template: template$1d,
81135
+ styles: styles$C
81120
81136
  });
81121
81137
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
81122
81138
 
81123
- const styles$z = css `
81139
+ const styles$B = css `
81124
81140
  ${display$2('flex')}
81125
81141
 
81126
81142
  :host {
@@ -81152,7 +81168,7 @@ focus outline in that case.
81152
81168
  }
81153
81169
  `;
81154
81170
 
81155
- const template$z = (context, definition) => html `
81171
+ const template$B = (context, definition) => html `
81156
81172
  <template slot="end">
81157
81173
  ${when(x => x.defaultSlottedElements.length > 0, html `
81158
81174
  <div class="separator"></div>
@@ -81184,8 +81200,8 @@ focus outline in that case.
81184
81200
  ], TabsToolbar.prototype, "defaultSlottedElements", void 0);
81185
81201
  const nimbleTabsToolbar = TabsToolbar.compose({
81186
81202
  baseName: 'tabs-toolbar',
81187
- template: template$z,
81188
- styles: styles$z
81203
+ template: template$B,
81204
+ styles: styles$B
81189
81205
  });
81190
81206
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
81191
81207
  applyMixins(TabsToolbar, StartEnd);
@@ -81195,16 +81211,18 @@ focus outline in that case.
81195
81211
  block: 'block'
81196
81212
  };
81197
81213
 
81198
- const styles$y = css `
81214
+ const styles$A = css `
81199
81215
  ${display$2('inline-flex')}
81200
- ${styles$1g}
81201
- ${styles$1b}
81216
+ ${styles$1i}
81217
+ ${styles$1d}
81202
81218
 
81203
81219
  :host {
81204
81220
  font: ${bodyFont};
81205
81221
  outline: none;
81206
81222
  ${userSelectNone$1}
81207
81223
  color: ${bodyFontColor};
81224
+ field-sizing: fixed;
81225
+ min-width: 100px;
81208
81226
  flex-direction: column;
81209
81227
  vertical-align: top;
81210
81228
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
@@ -81236,6 +81254,7 @@ focus outline in that case.
81236
81254
  display: flex;
81237
81255
  justify-content: center;
81238
81256
  position: relative;
81257
+ field-sizing: inherit;
81239
81258
  height: 100%;
81240
81259
  width: 100%;
81241
81260
  }
@@ -81280,7 +81299,7 @@ focus outline in that case.
81280
81299
  border-radius: 0px;
81281
81300
  align-items: flex-end;
81282
81301
  border: ${borderWidth} solid transparent;
81283
- min-width: 100px;
81302
+ field-sizing: inherit;
81284
81303
  min-height: calc(${iconSize} + ${standardPadding});
81285
81304
  padding: 8px;
81286
81305
  ${
@@ -81390,7 +81409,7 @@ focus outline in that case.
81390
81409
  <slot ${slotted('defaultSlottedNodes')}></slot>
81391
81410
  </label>
81392
81411
  `);
81393
- const template$y = () => html `
81412
+ const template$A = () => html `
81394
81413
  ${labelTemplate$1}
81395
81414
  <div class="container">
81396
81415
  <textarea
@@ -81538,8 +81557,8 @@ focus outline in that case.
81538
81557
  const nimbleTextArea = TextArea.compose({
81539
81558
  baseName: 'text-area',
81540
81559
  baseClass: TextArea$1,
81541
- template: template$y,
81542
- styles: styles$y,
81560
+ template: template$A,
81561
+ styles: styles$A,
81543
81562
  shadowOptions: {
81544
81563
  delegatesFocus: true
81545
81564
  }
@@ -81556,16 +81575,17 @@ focus outline in that case.
81556
81575
  frameless: 'frameless'
81557
81576
  };
81558
81577
 
81559
- const styles$x = css `
81578
+ const styles$z = css `
81560
81579
  ${display$2('inline-block')}
81561
- ${styles$1g}
81562
- ${styles$1b}
81580
+ ${styles$1i}
81581
+ ${styles$1d}
81563
81582
 
81564
81583
  :host {
81565
81584
  font: ${bodyFont};
81566
81585
  outline: none;
81567
81586
  ${userSelectNone$1}
81568
81587
  color: ${bodyFontColor};
81588
+ field-sizing: fixed;
81569
81589
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
81570
81590
  --ni-private-height-within-border: calc(
81571
81591
  ${controlHeight} - 2 * ${borderWidth}
@@ -81600,6 +81620,7 @@ focus outline in that case.
81600
81620
  display: flex;
81601
81621
  flex-direction: row;
81602
81622
  border-radius: 0px;
81623
+ field-sizing: inherit;
81603
81624
  font: inherit;
81604
81625
  align-items: center;
81605
81626
  justify-content: center;
@@ -81678,6 +81699,7 @@ focus outline in that case.
81678
81699
  background: transparent;
81679
81700
  color: inherit;
81680
81701
  padding: 0px;
81702
+ field-sizing: inherit;
81681
81703
  height: var(--ni-private-height-within-border);
81682
81704
  width: 100%;
81683
81705
  margin-top: auto;
@@ -81833,7 +81855,7 @@ focus outline in that case.
81833
81855
  * The template for the {@link @ni/fast-foundation#(TextField:class)} component.
81834
81856
  * @public
81835
81857
  */
81836
- const template$x = (context, definition) => html `
81858
+ const template$z = (context, definition) => html `
81837
81859
  <template
81838
81860
  class="
81839
81861
  ${x => (x.readOnly ? 'readonly' : '')}
@@ -81918,8 +81940,8 @@ focus outline in that case.
81918
81940
  const nimbleTextField = TextField.compose({
81919
81941
  baseName: 'text-field',
81920
81942
  baseClass: TextField$1,
81921
- template: template$x,
81922
- styles: styles$x,
81943
+ template: template$z,
81944
+ styles: styles$z,
81923
81945
  shadowOptions: {
81924
81946
  delegatesFocus: true
81925
81947
  },
@@ -81936,7 +81958,7 @@ focus outline in that case.
81936
81958
  });
81937
81959
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
81938
81960
 
81939
- const styles$w = css `
81961
+ const styles$y = css `
81940
81962
  ${display$2('inline-flex')}
81941
81963
 
81942
81964
  :host {
@@ -82022,7 +82044,7 @@ focus outline in that case.
82022
82044
  }
82023
82045
  `));
82024
82046
 
82025
- const template$w = html `
82047
+ const template$y = html `
82026
82048
  ${when(x => x.tooltipVisible, html `
82027
82049
  <${anchoredRegionTag}
82028
82050
  class="anchored-region"
@@ -82074,8 +82096,8 @@ focus outline in that case.
82074
82096
  const nimbleTooltip = Tooltip.compose({
82075
82097
  baseName: 'tooltip',
82076
82098
  baseClass: Tooltip$1,
82077
- template: template$w,
82078
- styles: styles$w
82099
+ template: template$y,
82100
+ styles: styles$y
82079
82101
  });
82080
82102
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
82081
82103
  const tooltipTag = 'nimble-tooltip';
@@ -82164,7 +82186,7 @@ focus outline in that case.
82164
82186
  }
82165
82187
  }
82166
82188
 
82167
- const styles$v = css `
82189
+ const styles$x = css `
82168
82190
  ${display$2('block')}
82169
82191
 
82170
82192
  :host {
@@ -82381,12 +82403,12 @@ focus outline in that case.
82381
82403
  baseName: 'tree-item',
82382
82404
  baseClass: TreeItem$1,
82383
82405
  template: treeItemTemplate,
82384
- styles: styles$v,
82406
+ styles: styles$x,
82385
82407
  expandCollapseGlyph: arrowExpanderUp16X16.data
82386
82408
  });
82387
82409
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
82388
82410
 
82389
- const styles$u = css `
82411
+ const styles$w = css `
82390
82412
  ${display$2('flex')}
82391
82413
 
82392
82414
  :host {
@@ -82400,7 +82422,7 @@ focus outline in that case.
82400
82422
  }
82401
82423
  `;
82402
82424
 
82403
- const template$v = html `
82425
+ const template$x = html `
82404
82426
  <template
82405
82427
  role="tree"
82406
82428
  ${ref('treeView')}
@@ -82496,8 +82518,8 @@ focus outline in that case.
82496
82518
  const nimbleTreeView = TreeView.compose({
82497
82519
  baseName: 'tree-view',
82498
82520
  baseClass: TreeView$1,
82499
- template: template$v,
82500
- styles: styles$u
82521
+ template: template$x,
82522
+ styles: styles$w
82501
82523
  });
82502
82524
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
82503
82525
 
@@ -82613,9 +82635,9 @@ focus outline in that case.
82613
82635
  }
82614
82636
  const unitScaleByte = new UnitScaleByte();
82615
82637
 
82616
- const template$u = html `<template slot="unit"></template>`;
82638
+ const template$w = html `<template slot="unit"></template>`;
82617
82639
 
82618
- const styles$t = css `
82640
+ const styles$v = css `
82619
82641
  ${display$2('none')}
82620
82642
  `;
82621
82643
 
@@ -82643,8 +82665,8 @@ focus outline in that case.
82643
82665
  ], UnitByte.prototype, "binary", void 0);
82644
82666
  const nimbleUnitByte = UnitByte.compose({
82645
82667
  baseName: 'unit-byte',
82646
- template: template$u,
82647
- styles: styles$t
82668
+ template: template$w,
82669
+ styles: styles$v
82648
82670
  });
82649
82671
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
82650
82672
 
@@ -82696,8 +82718,8 @@ focus outline in that case.
82696
82718
  }
82697
82719
  const nimbleUnitVolt = UnitVolt.compose({
82698
82720
  baseName: 'unit-volt',
82699
- template: template$u,
82700
- styles: styles$t
82721
+ template: template$w,
82722
+ styles: styles$v
82701
82723
  });
82702
82724
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
82703
82725
 
@@ -97011,7 +97033,7 @@ focus outline in that case.
97011
97033
  return new Table(reader.readAll());
97012
97034
  }
97013
97035
 
97014
- const template$t = html `
97036
+ const template$v = html `
97015
97037
  <div class="wafer-map-container">
97016
97038
  <svg class="svg-root">
97017
97039
  <g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
@@ -97044,7 +97066,7 @@ focus outline in that case.
97044
97066
  </div>
97045
97067
  `;
97046
97068
 
97047
- const styles$s = css `
97069
+ const styles$u = css `
97048
97070
  ${display$2('inline-block')}
97049
97071
 
97050
97072
  :host {
@@ -100069,8 +100091,8 @@ focus outline in that case.
100069
100091
  ], WaferMap.prototype, "colorScale", void 0);
100070
100092
  const nimbleWaferMap = WaferMap.compose({
100071
100093
  baseName: 'wafer-map',
100072
- template: template$t,
100073
- styles: styles$s
100094
+ template: template$v,
100095
+ styles: styles$u
100074
100096
  });
100075
100097
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
100076
100098
 
@@ -100082,7 +100104,7 @@ focus outline in that case.
100082
100104
  */
100083
100105
  const display$1 = (displayValue) => `${display$3(displayValue)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host::before,:host::after,::before,::after{box-sizing:border-box;}`;
100084
100106
 
100085
- const styles$r = css `
100107
+ const styles$t = css `
100086
100108
  ${display$1('flex')}
100087
100109
 
100088
100110
  :host {
@@ -100172,7 +100194,7 @@ focus outline in that case.
100172
100194
  }
100173
100195
  `;
100174
100196
 
100175
- const template$s = html `
100197
+ const template$u = html `
100176
100198
  <div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
100177
100199
  <slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
100178
100200
  </div>
@@ -100563,16 +100585,16 @@ focus outline in that case.
100563
100585
  ], ChatConversation.prototype, "slottedEndElements", void 0);
100564
100586
  const sprightChatConversation = ChatConversation.compose({
100565
100587
  baseName: 'chat-conversation',
100566
- template: template$s,
100567
- styles: styles$r
100588
+ template: template$u,
100589
+ styles: styles$t
100568
100590
  });
100569
100591
  DesignSystem.getOrCreate()
100570
100592
  .withPrefix('spright')
100571
100593
  .register(sprightChatConversation());
100572
100594
 
100573
- const styles$q = css `
100595
+ const styles$s = css `
100574
100596
  ${display$1('flex')}
100575
- ${styles$1g}
100597
+ ${styles$1i}
100576
100598
 
100577
100599
  :host {
100578
100600
  width: 100%;
@@ -100716,7 +100738,7 @@ focus outline in that case.
100716
100738
  }
100717
100739
  `;
100718
100740
 
100719
- const template$r = html `
100741
+ const template$t = html `
100720
100742
  <div class="container">
100721
100743
  <section class="attachments ${x => (x.attachmentsIsEmpty ? '' : 'has-content')}">
100722
100744
  <slot
@@ -100968,8 +100990,8 @@ focus outline in that case.
100968
100990
  ], ChatInput.prototype, "slottedAttachmentsElements", void 0);
100969
100991
  const sprightChatInput = ChatInput.compose({
100970
100992
  baseName: 'chat-input',
100971
- template: template$r,
100972
- styles: styles$q,
100993
+ template: template$t,
100994
+ styles: styles$s,
100973
100995
  shadowOptions: {
100974
100996
  delegatesFocus: true
100975
100997
  }
@@ -100987,7 +101009,7 @@ focus outline in that case.
100987
101009
  inbound: 'inbound'
100988
101010
  };
100989
101011
 
100990
- const styles$p = css `
101012
+ const styles$r = css `
100991
101013
  ${display$1('flex')}
100992
101014
 
100993
101015
  :host {
@@ -101061,7 +101083,7 @@ focus outline in that case.
101061
101083
  }
101062
101084
  `;
101063
101085
 
101064
- const template$q = (context, definition) => html `
101086
+ const template$s = (context, definition) => html `
101065
101087
  <div class="container">
101066
101088
  ${startSlotTemplate(context, definition)}
101067
101089
  <section class="message-content">
@@ -101110,12 +101132,12 @@ focus outline in that case.
101110
101132
  applyMixins(ChatMessage, StartEnd);
101111
101133
  const sprightChatMessage = ChatMessage.compose({
101112
101134
  baseName: 'chat-message',
101113
- template: template$q,
101114
- styles: styles$p
101135
+ template: template$s,
101136
+ styles: styles$r
101115
101137
  });
101116
101138
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
101117
101139
 
101118
- const styles$o = css `
101140
+ const styles$q = css `
101119
101141
  ${display$1('flex')}
101120
101142
 
101121
101143
  :host {
@@ -101173,7 +101195,7 @@ focus outline in that case.
101173
101195
  }
101174
101196
  `;
101175
101197
 
101176
- const template$p = (context, definition) => html `
101198
+ const template$r = (context, definition) => html `
101177
101199
  <div class="container">
101178
101200
  ${startSlotTemplate(context, definition)}
101179
101201
  <section class="message-content">
@@ -101213,12 +101235,12 @@ focus outline in that case.
101213
101235
  applyMixins(ChatMessageInbound, StartEnd);
101214
101236
  const sprightChatMessageInbound = ChatMessageInbound.compose({
101215
101237
  baseName: 'chat-message-inbound',
101216
- template: template$p,
101217
- styles: styles$o
101238
+ template: template$r,
101239
+ styles: styles$q
101218
101240
  });
101219
101241
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
101220
101242
 
101221
- const styles$n = css `
101243
+ const styles$p = css `
101222
101244
  ${display$1('flex')}
101223
101245
 
101224
101246
  :host {
@@ -101252,7 +101274,7 @@ focus outline in that case.
101252
101274
  }
101253
101275
  `;
101254
101276
 
101255
- const template$o = () => html `
101277
+ const template$q = () => html `
101256
101278
  <div class="container">
101257
101279
  <section class="message-content">
101258
101280
  <slot></slot>
@@ -101274,12 +101296,12 @@ focus outline in that case.
101274
101296
  }
101275
101297
  const sprightChatMessageOutbound = ChatMessageOutbound.compose({
101276
101298
  baseName: 'chat-message-outbound',
101277
- template: template$o,
101278
- styles: styles$n
101299
+ template: template$q,
101300
+ styles: styles$p
101279
101301
  });
101280
101302
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
101281
101303
 
101282
- const styles$m = css `
101304
+ const styles$o = css `
101283
101305
  ${display$1('flex')}
101284
101306
 
101285
101307
  :host {
@@ -101306,7 +101328,7 @@ focus outline in that case.
101306
101328
  }
101307
101329
  `;
101308
101330
 
101309
- const template$n = () => html `
101331
+ const template$p = () => html `
101310
101332
  <div class="container">
101311
101333
  <section class="message-content">
101312
101334
  <slot></slot>
@@ -101326,12 +101348,12 @@ focus outline in that case.
101326
101348
  }
101327
101349
  const sprightChatMessageSystem = ChatMessageSystem.compose({
101328
101350
  baseName: 'chat-message-system',
101329
- template: template$n,
101330
- styles: styles$m
101351
+ template: template$p,
101352
+ styles: styles$o
101331
101353
  });
101332
101354
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
101333
101355
 
101334
- const styles$l = css `
101356
+ const styles$n = css `
101335
101357
  ${display$1('flex')}
101336
101358
 
101337
101359
  :host {
@@ -101434,13 +101456,13 @@ focus outline in that case.
101434
101456
  <path class="nigel-chat-dark-0" d="M11.36,7.6l-.03.02c-1.12.61-2.04,1.53-2.65,2.65l-.02.03c-.1.18-.35.18-.45,0l-.02-.03c-.61-1.12-1.53-2.04-2.65-2.65l-.03-.02c-.18-.1-.18-.35,0-.45l.03-.02c1.12-.61,2.04-1.53,2.65-2.65l.02-.03c.1-.18.35-.18.45,0l.02.03c.61,1.12,1.53,2.04,2.65,2.65l.03.02c.18.1.18.35,0,.45Z"/>
101435
101457
  </svg>`;
101436
101458
 
101437
- const template$m = html `
101459
+ const template$o = html `
101438
101460
  <div class="icon light-icon" aria-hidden="true" :innerHTML="${() => nigelChatLightData}"></div>
101439
101461
  <div class="icon dark-icon" aria-hidden="true" :innerHTML="${() => nigelChatDarkData}"></div>
101440
101462
  `;
101441
101463
 
101442
- const styles$k = css `
101443
- ${styles$1r}
101464
+ const styles$m = css `
101465
+ ${styles$1t}
101444
101466
 
101445
101467
  .dark-icon {
101446
101468
  display: none;
@@ -101463,15 +101485,15 @@ focus outline in that case.
101463
101485
  }
101464
101486
  const sprightIconNigelChat = IconNigelChat.compose({
101465
101487
  baseName: 'icon-nigel-chat',
101466
- template: template$m,
101467
- styles: styles$k
101488
+ template: template$o,
101489
+ styles: styles$m
101468
101490
  });
101469
101491
  DesignSystem.getOrCreate()
101470
101492
  .withPrefix('spright')
101471
101493
  .register(sprightIconNigelChat());
101472
101494
  const iconNigelChatTag = 'spright-icon-nigel-chat';
101473
101495
 
101474
- const template$l = () => html `
101496
+ const template$n = () => html `
101475
101497
  <div class="container">
101476
101498
  <div class="brand-icon">
101477
101499
  <slot name="brand-icon">
@@ -101503,8 +101525,8 @@ focus outline in that case.
101503
101525
  ], ChatMessageWelcome.prototype, "subtitle", void 0);
101504
101526
  const sprightChatMessageWelcome = ChatMessageWelcome.compose({
101505
101527
  baseName: 'chat-message-welcome',
101506
- template: template$l,
101507
- styles: styles$l
101528
+ template: template$n,
101529
+ styles: styles$n
101508
101530
  });
101509
101531
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageWelcome());
101510
101532
 
@@ -101525,13 +101547,13 @@ focus outline in that case.
101525
101547
  */
101526
101548
  class IconBreakpointConditional extends Icon {
101527
101549
  }
101528
- const template$k = html `
101550
+ const template$m = html `
101529
101551
  <div class="icon" aria-hidden="true" :innerHTML="${() => iconData$6}"></div>
101530
101552
  `;
101531
101553
  const sprightIconBreakpointConditional = IconBreakpointConditional.compose({
101532
101554
  baseName: 'icon-breakpoint-conditional',
101533
- template: template$k,
101534
- styles: styles$1r
101555
+ template: template$m,
101556
+ styles: styles$1t
101535
101557
  });
101536
101558
  DesignSystem.getOrCreate()
101537
101559
  .withPrefix('spright')
@@ -101556,13 +101578,13 @@ focus outline in that case.
101556
101578
  */
101557
101579
  class IconBreakpointDisabled extends Icon {
101558
101580
  }
101559
- const template$j = html `
101581
+ const template$l = html `
101560
101582
  <div class="icon" aria-hidden="true" :innerHTML="${() => iconData$5}"></div>
101561
101583
  `;
101562
101584
  const sprightIconBreakpointDisabled = IconBreakpointDisabled.compose({
101563
101585
  baseName: 'icon-breakpoint-disabled',
101564
- template: template$j,
101565
- styles: styles$1r
101586
+ template: template$l,
101587
+ styles: styles$1t
101566
101588
  });
101567
101589
  DesignSystem.getOrCreate()
101568
101590
  .withPrefix('spright')
@@ -101586,13 +101608,13 @@ focus outline in that case.
101586
101608
  */
101587
101609
  class IconBreakpointEnabled extends Icon {
101588
101610
  }
101589
- const template$i = html `
101611
+ const template$k = html `
101590
101612
  <div class="icon" aria-hidden="true" :innerHTML="${() => iconData$4}"></div>
101591
101613
  `;
101592
101614
  const sprightIconBreakpointEnabled = IconBreakpointEnabled.compose({
101593
101615
  baseName: 'icon-breakpoint-enabled',
101594
- template: template$i,
101595
- styles: styles$1r
101616
+ template: template$k,
101617
+ styles: styles$1t
101596
101618
  });
101597
101619
  DesignSystem.getOrCreate()
101598
101620
  .withPrefix('spright')
@@ -101616,13 +101638,13 @@ focus outline in that case.
101616
101638
  */
101617
101639
  class IconBreakpointExecutionPointer extends Icon {
101618
101640
  }
101619
- const template$h = html `
101641
+ const template$j = html `
101620
101642
  <div class="icon" aria-hidden="true" :innerHTML="${() => iconData$3}"></div>
101621
101643
  `;
101622
101644
  const sprightIconBreakpointExecutionPointer = IconBreakpointExecutionPointer.compose({
101623
101645
  baseName: 'icon-breakpoint-execution-pointer',
101624
- template: template$h,
101625
- styles: styles$1r
101646
+ template: template$j,
101647
+ styles: styles$1t
101626
101648
  });
101627
101649
  DesignSystem.getOrCreate()
101628
101650
  .withPrefix('spright')
@@ -101650,13 +101672,13 @@ focus outline in that case.
101650
101672
  */
101651
101673
  class IconBreakpointHitDisabled extends Icon {
101652
101674
  }
101653
- const template$g = html `
101675
+ const template$i = html `
101654
101676
  <div class="icon" aria-hidden="true" :innerHTML="${() => iconData$2}"></div>
101655
101677
  `;
101656
101678
  const sprightIconBreakpointHitDisabled = IconBreakpointHitDisabled.compose({
101657
101679
  baseName: 'icon-breakpoint-hit-disabled',
101658
- template: template$g,
101659
- styles: styles$1r
101680
+ template: template$i,
101681
+ styles: styles$1t
101660
101682
  });
101661
101683
  DesignSystem.getOrCreate()
101662
101684
  .withPrefix('spright')
@@ -101685,13 +101707,13 @@ focus outline in that case.
101685
101707
  */
101686
101708
  class IconBreakpointHit extends Icon {
101687
101709
  }
101688
- const template$f = html `
101710
+ const template$h = html `
101689
101711
  <div class="icon" aria-hidden="true" :innerHTML="${() => iconData$1}"></div>
101690
101712
  `;
101691
101713
  const sprightIconBreakpointHit = IconBreakpointHit.compose({
101692
101714
  baseName: 'icon-breakpoint-hit',
101693
- template: template$f,
101694
- styles: styles$1r
101715
+ template: template$h,
101716
+ styles: styles$1t
101695
101717
  });
101696
101718
  DesignSystem.getOrCreate()
101697
101719
  .withPrefix('spright')
@@ -101716,21 +101738,21 @@ focus outline in that case.
101716
101738
  */
101717
101739
  class IconBreakpointHover extends Icon {
101718
101740
  }
101719
- const template$e = html `
101741
+ const template$g = html `
101720
101742
  <div class="icon" aria-hidden="true" :innerHTML="${() => iconData}"></div>
101721
101743
  `;
101722
101744
  const sprightIconBreakpointHover = IconBreakpointHover.compose({
101723
101745
  baseName: 'icon-breakpoint-hover',
101724
- template: template$e,
101725
- styles: styles$1r
101746
+ template: template$g,
101747
+ styles: styles$1t
101726
101748
  });
101727
101749
  DesignSystem.getOrCreate()
101728
101750
  .withPrefix('spright')
101729
101751
  .register(sprightIconBreakpointHover());
101730
101752
  const iconBreakpointHoverTag = 'spright-icon-breakpoint-hover';
101731
101753
 
101732
- const styles$j = css `
101733
- ${styles$1r}
101754
+ const styles$l = css `
101755
+ ${styles$1t}
101734
101756
 
101735
101757
  .icon svg {
101736
101758
  fill: ${calendarEventBorderReservationColor};
@@ -101747,15 +101769,15 @@ focus outline in that case.
101747
101769
  }
101748
101770
  const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
101749
101771
  baseName: 'icon-work-item-calendar-week',
101750
- template: template$1f,
101751
- styles: styles$j
101772
+ template: template$1h,
101773
+ styles: styles$l
101752
101774
  });
101753
101775
  DesignSystem.getOrCreate()
101754
101776
  .withPrefix('spright')
101755
101777
  .register(sprightIconWorkItemCalendarWeek());
101756
101778
 
101757
- const styles$i = css `
101758
- ${styles$1r}
101779
+ const styles$k = css `
101780
+ ${styles$1t}
101759
101781
 
101760
101782
  .icon svg {
101761
101783
  fill: ${calendarEventBorderCalibrationColor};
@@ -101772,15 +101794,15 @@ focus outline in that case.
101772
101794
  }
101773
101795
  const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
101774
101796
  baseName: 'icon-work-item-calipers',
101775
- template: template$1f,
101776
- styles: styles$i
101797
+ template: template$1h,
101798
+ styles: styles$k
101777
101799
  });
101778
101800
  DesignSystem.getOrCreate()
101779
101801
  .withPrefix('spright')
101780
101802
  .register(sprightIconWorkItemCalipers());
101781
101803
 
101782
- const styles$h = css `
101783
- ${styles$1r}
101804
+ const styles$j = css `
101805
+ ${styles$1t}
101784
101806
 
101785
101807
  .icon svg {
101786
101808
  fill: ${calendarEventBorderTransportOrderColor};
@@ -101797,15 +101819,15 @@ focus outline in that case.
101797
101819
  }
101798
101820
  const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
101799
101821
  baseName: 'icon-work-item-forklift',
101800
- template: template$1f,
101801
- styles: styles$h
101822
+ template: template$1h,
101823
+ styles: styles$j
101802
101824
  });
101803
101825
  DesignSystem.getOrCreate()
101804
101826
  .withPrefix('spright')
101805
101827
  .register(sprightIconWorkItemForklift());
101806
101828
 
101807
- const styles$g = css `
101808
- ${styles$1r}
101829
+ const styles$i = css `
101830
+ ${styles$1t}
101809
101831
 
101810
101832
  .icon svg {
101811
101833
  fill: ${calendarEventBorderStaticColor};
@@ -101822,15 +101844,15 @@ focus outline in that case.
101822
101844
  }
101823
101845
  const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
101824
101846
  baseName: 'icon-work-item-rectangle-check-lines',
101825
- template: template$1f,
101826
- styles: styles$g
101847
+ template: template$1h,
101848
+ styles: styles$i
101827
101849
  });
101828
101850
  DesignSystem.getOrCreate()
101829
101851
  .withPrefix('spright')
101830
101852
  .register(sprightIconWorkItemRectangleCheckLines());
101831
101853
 
101832
- const styles$f = css `
101833
- ${styles$1r}
101854
+ const styles$h = css `
101855
+ ${styles$1t}
101834
101856
 
101835
101857
  .icon svg {
101836
101858
  fill: ${calendarEventBorderWorkOrderColor};
@@ -101847,15 +101869,15 @@ focus outline in that case.
101847
101869
  }
101848
101870
  const sprightIconWorkItemSquareListCog = IconWorkItemSquareListCog.compose({
101849
101871
  baseName: 'icon-work-item-square-list-cog',
101850
- template: template$1f,
101851
- styles: styles$f
101872
+ template: template$1h,
101873
+ styles: styles$h
101852
101874
  });
101853
101875
  DesignSystem.getOrCreate()
101854
101876
  .withPrefix('spright')
101855
101877
  .register(sprightIconWorkItemSquareListCog());
101856
101878
 
101857
- const styles$e = css `
101858
- ${styles$1r}
101879
+ const styles$g = css `
101880
+ ${styles$1t}
101859
101881
 
101860
101882
  .icon svg {
101861
101883
  fill: ${calendarEventBorderJobColor};
@@ -101872,15 +101894,15 @@ focus outline in that case.
101872
101894
  }
101873
101895
  const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
101874
101896
  baseName: 'icon-work-item-user-helmet-safety',
101875
- template: template$1f,
101876
- styles: styles$e
101897
+ template: template$1h,
101898
+ styles: styles$g
101877
101899
  });
101878
101900
  DesignSystem.getOrCreate()
101879
101901
  .withPrefix('spright')
101880
101902
  .register(sprightIconWorkItemUserHelmetSafety());
101881
101903
 
101882
- const styles$d = css `
101883
- ${styles$1r}
101904
+ const styles$f = css `
101905
+ ${styles$1t}
101884
101906
 
101885
101907
  .icon svg {
101886
101908
  fill: ${calendarEventBorderMaintenanceColor};
@@ -101897,14 +101919,14 @@ focus outline in that case.
101897
101919
  }
101898
101920
  const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
101899
101921
  baseName: 'icon-work-item-wrench-hammer',
101900
- template: template$1f,
101901
- styles: styles$d
101922
+ template: template$1h,
101923
+ styles: styles$f
101902
101924
  });
101903
101925
  DesignSystem.getOrCreate()
101904
101926
  .withPrefix('spright')
101905
101927
  .register(sprightIconWorkItemWrenchHammer());
101906
101928
 
101907
- const styles$c = css `
101929
+ const styles$e = css `
101908
101930
  ${display$1('inline-block')}
101909
101931
 
101910
101932
  :host {
@@ -101929,7 +101951,7 @@ focus outline in that case.
101929
101951
  }
101930
101952
  `;
101931
101953
 
101932
- const template$d = html `<slot></slot>`;
101954
+ const template$f = html `<slot></slot>`;
101933
101955
 
101934
101956
  /**
101935
101957
  * A Spright demo component (not for production use)
@@ -101938,8 +101960,8 @@ focus outline in that case.
101938
101960
  }
101939
101961
  const sprightRectangle = Rectangle.compose({
101940
101962
  baseName: 'rectangle',
101941
- template: template$d,
101942
- styles: styles$c
101963
+ template: template$f,
101964
+ styles: styles$e
101943
101965
  });
101944
101966
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
101945
101967
 
@@ -101966,7 +101988,7 @@ focus outline in that case.
101966
101988
  block: 'block'
101967
101989
  };
101968
101990
 
101969
- const styles$b = css `
101991
+ const styles$d = css `
101970
101992
  @layer base, hover, focusVisible, active, disabled, top;
101971
101993
 
101972
101994
  @layer base {
@@ -102072,7 +102094,7 @@ focus outline in that case.
102072
102094
  }
102073
102095
  `));
102074
102096
 
102075
- const template$c = html `
102097
+ const template$e = html `
102076
102098
  <details
102077
102099
  class="accordion-item-details"
102078
102100
  ?open="${x => x.expanded}"
@@ -102123,8 +102145,8 @@ focus outline in that case.
102123
102145
  ], FvAccordionItem.prototype, "appearance", void 0);
102124
102146
  const okFvAccordionItem = FvAccordionItem.compose({
102125
102147
  baseName: 'fv-accordion-item',
102126
- template: template$c,
102127
- styles: styles$b
102148
+ template: template$e,
102149
+ styles: styles$d
102128
102150
  });
102129
102151
  DesignSystem.getOrCreate()
102130
102152
  .withPrefix('ok')
@@ -102139,7 +102161,7 @@ focus outline in that case.
102139
102161
  card: 'card'
102140
102162
  };
102141
102163
 
102142
- const styles$a = css `
102164
+ const styles$c = css `
102143
102165
  ${display('block')}
102144
102166
 
102145
102167
  :host {
@@ -102490,7 +102512,7 @@ focus outline in that case.
102490
102512
  </div>
102491
102513
  </div>
102492
102514
  `;
102493
- const template$b = html `
102515
+ const template$d = html `
102494
102516
  ${when(x => x.interactionMode === FvCardInteractionMode.card, html `
102495
102517
  <${cardButtonTag}
102496
102518
  class="card-shell card-button-shell"
@@ -102638,14 +102660,14 @@ focus outline in that case.
102638
102660
  ], FvCard.prototype, "hasFooterEndContent", void 0);
102639
102661
  const okFvCard = FvCard.compose({
102640
102662
  baseName: 'fv-card',
102641
- template: template$b,
102642
- styles: styles$a
102663
+ template: template$d,
102664
+ styles: styles$c
102643
102665
  });
102644
102666
  DesignSystem.getOrCreate()
102645
102667
  .withPrefix('ok')
102646
102668
  .register(okFvCard());
102647
102669
 
102648
- const styles$9 = css `
102670
+ const styles$b = css `
102649
102671
  @layer base, hover, focusVisible, active, disabled, top;
102650
102672
 
102651
102673
  @layer base {
@@ -102893,7 +102915,7 @@ focus outline in that case.
102893
102915
  @layer top {}
102894
102916
  `;
102895
102917
 
102896
- const template$a = html `
102918
+ const template$c = html `
102897
102919
  <div class="chip-selector">
102898
102920
  ${when(x => x.label.length > 0, html `
102899
102921
  <label id="${x => x.labelId}" class="label" for="${x => x.inputId}">
@@ -103385,12 +103407,12 @@ focus outline in that case.
103385
103407
  ], FvChipSelector.prototype, "field", void 0);
103386
103408
  const okFvChipSelector = FvChipSelector.compose({
103387
103409
  baseName: 'fv-chip-selector',
103388
- template: template$a,
103389
- styles: styles$9
103410
+ template: template$c,
103411
+ styles: styles$b
103390
103412
  });
103391
103413
  DesignSystem.getOrCreate().withPrefix('ok').register(okFvChipSelector());
103392
103414
 
103393
- const styles$8 = css `
103415
+ const styles$a = css `
103394
103416
  @layer base, hover, focusVisible, active, disabled, top;
103395
103417
 
103396
103418
  @layer base {
@@ -103442,7 +103464,7 @@ focus outline in that case.
103442
103464
  @layer top {}
103443
103465
  `;
103444
103466
 
103445
- const template$9 = html `
103467
+ const template$b = html `
103446
103468
  <button
103447
103469
  id="${x => x.tooltipAnchorId}"
103448
103470
  class="context-help-trigger"
@@ -103490,11 +103512,482 @@ focus outline in that case.
103490
103512
  ], FvContextHelp.prototype, "iconVisible", void 0);
103491
103513
  const okFvContextHelp = FvContextHelp.compose({
103492
103514
  baseName: 'fv-context-help',
103493
- template: template$9,
103494
- styles: styles$8
103515
+ template: template$b,
103516
+ styles: styles$a
103495
103517
  });
103496
103518
  DesignSystem.getOrCreate().withPrefix('ok').register(okFvContextHelp());
103497
103519
 
103520
+ const styles$9 = css `
103521
+ @layer base, hover, selected;
103522
+
103523
+ @layer base {
103524
+ ${display('block')}
103525
+
103526
+ :host {
103527
+ position: relative;
103528
+ color: ${bodyFontColor};
103529
+ cursor: pointer;
103530
+ user-select: none;
103531
+ }
103532
+
103533
+ :host([hidden]) {
103534
+ display: none;
103535
+ }
103536
+
103537
+ .item {
103538
+ display: grid;
103539
+ grid-template-columns: minmax(0, 1fr) auto;
103540
+ align-items: center;
103541
+ gap: ${standardPadding};
103542
+ min-block-size: 76px;
103543
+ padding: 14px 18px 14px 22px;
103544
+ background: transparent;
103545
+ }
103546
+
103547
+ :host([compact]) .item {
103548
+ min-block-size: 56px;
103549
+ padding: 10px 18px 10px 22px;
103550
+ }
103551
+
103552
+ .text {
103553
+ min-inline-size: 0;
103554
+ }
103555
+
103556
+ .title {
103557
+ overflow: hidden;
103558
+ text-overflow: ellipsis;
103559
+ white-space: nowrap;
103560
+ font: ${bodyFont};
103561
+ font-weight: 600;
103562
+ color: ${bodyFontColor};
103563
+ }
103564
+
103565
+ .subtitle {
103566
+ overflow: hidden;
103567
+ text-overflow: ellipsis;
103568
+ white-space: nowrap;
103569
+ margin-block-start: 4px;
103570
+ font: ${bodyFont};
103571
+ color: ${placeholderFontColor};
103572
+ }
103573
+
103574
+ :host([compact]) .subtitle {
103575
+ margin-block-start: 2px;
103576
+ }
103577
+
103578
+ .status {
103579
+ display: inline-flex;
103580
+ align-items: center;
103581
+ justify-content: center;
103582
+ inline-size: 16px;
103583
+ block-size: 16px;
103584
+ flex: 0 0 auto;
103585
+ }
103586
+
103587
+ .status-icon {
103588
+ inline-size: 10px;
103589
+ block-size: 10px;
103590
+ color: currentColor;
103591
+ ${iconColor.cssCustomProperty}: currentColor;
103592
+ }
103593
+ }
103594
+
103595
+ @layer hover {
103596
+ :host(:hover) .item {
103597
+ background: ${fillHoverColor};
103598
+ }
103599
+ }
103600
+
103601
+ @layer selected {
103602
+ :host([selected]) .item {
103603
+ background: ${fillSelectedColor};
103604
+ }
103605
+
103606
+ :host([selected])::before {
103607
+ content: '';
103608
+ position: absolute;
103609
+ inset-block: 0;
103610
+ inset-inline-start: 0;
103611
+ inline-size: calc(${borderWidth} * 4);
103612
+ background: ${borderHoverColor};
103613
+ }
103614
+ }
103615
+ `;
103616
+
103617
+ const template$a = html `
103618
+ <div class="item" part="item">
103619
+ <div class="text" part="text">
103620
+ <div class="title" part="title">${x => x.titleText}</div>
103621
+ <div class="subtitle" part="subtitle">${x => x.subtitle}</div>
103622
+ </div>
103623
+ <div class="status" part="status" ?hidden="${x => !x.hasStatus}">
103624
+ <slot
103625
+ name="status"
103626
+ @slotchange="${(x, c) => x.handleStatusSlotChange(c.event)}"
103627
+ >
103628
+ ${when(x => x.statusColor.trim().length > 0, html `
103629
+ <${iconCircleFilledTag}
103630
+ class="status-icon"
103631
+ part="status-icon"
103632
+ role="${x => (x.fallbackStatusLabel ? 'img' : null)}"
103633
+ aria-label="${x => x.fallbackStatusLabel}"
103634
+ aria-hidden="${x => (x.fallbackStatusLabel === null ? 'true' : null)}"
103635
+ style="${x => `color: ${x.statusColor};`}"
103636
+ ></${iconCircleFilledTag}>
103637
+ `)}
103638
+ </slot>
103639
+ </div>
103640
+ </div>
103641
+ `;
103642
+
103643
+ /**
103644
+ * A selectable master-detail list item with title, subtitle, and optional status content.
103645
+ */
103646
+ class FvMasterDetailListItem extends FoundationElement {
103647
+ constructor() {
103648
+ super(...arguments);
103649
+ this.titleText = '';
103650
+ this.subtitle = '';
103651
+ this.value = '';
103652
+ this.compact = false;
103653
+ this.selected = false;
103654
+ this.statusColor = '';
103655
+ this.statusLabel = '';
103656
+ /** @internal */
103657
+ this.hasStatusSlotContent = false;
103658
+ }
103659
+ /** @internal */
103660
+ connectedCallback() {
103661
+ super.connectedCallback();
103662
+ this.setAttribute('role', 'option');
103663
+ this.syncSelectionAria();
103664
+ }
103665
+ /** @internal */
103666
+ selectedChanged() {
103667
+ if (this.$fastController.isConnected) {
103668
+ this.syncSelectionAria();
103669
+ }
103670
+ }
103671
+ /** @internal */
103672
+ handleStatusSlotChange(event) {
103673
+ const slot = event.target;
103674
+ this.hasStatusSlotContent = slot.assignedNodes({ flatten: true }).length > 0;
103675
+ }
103676
+ /** @internal */
103677
+ get hasStatus() {
103678
+ return this.hasStatusSlotContent || this.statusColor.trim().length > 0;
103679
+ }
103680
+ /** @internal */
103681
+ get fallbackStatusLabel() {
103682
+ if (this.hasStatusSlotContent || this.statusColor.trim().length === 0) {
103683
+ return null;
103684
+ }
103685
+ const normalizedStatusLabel = this.statusLabel.trim();
103686
+ return normalizedStatusLabel.length > 0 ? normalizedStatusLabel : null;
103687
+ }
103688
+ syncSelectionAria() {
103689
+ this.setAttribute('aria-selected', String(this.selected));
103690
+ }
103691
+ }
103692
+ __decorate([
103693
+ attr({ attribute: 'title-text' })
103694
+ ], FvMasterDetailListItem.prototype, "titleText", void 0);
103695
+ __decorate([
103696
+ attr
103697
+ ], FvMasterDetailListItem.prototype, "subtitle", void 0);
103698
+ __decorate([
103699
+ attr
103700
+ ], FvMasterDetailListItem.prototype, "value", void 0);
103701
+ __decorate([
103702
+ attr({ mode: 'boolean' })
103703
+ ], FvMasterDetailListItem.prototype, "compact", void 0);
103704
+ __decorate([
103705
+ attr({ mode: 'boolean' })
103706
+ ], FvMasterDetailListItem.prototype, "selected", void 0);
103707
+ __decorate([
103708
+ attr({ attribute: 'status-color' })
103709
+ ], FvMasterDetailListItem.prototype, "statusColor", void 0);
103710
+ __decorate([
103711
+ attr({ attribute: 'status-label' })
103712
+ ], FvMasterDetailListItem.prototype, "statusLabel", void 0);
103713
+ __decorate([
103714
+ observable
103715
+ ], FvMasterDetailListItem.prototype, "hasStatusSlotContent", void 0);
103716
+ const okFvMasterDetailListItem = FvMasterDetailListItem.compose({
103717
+ baseName: 'fv-master-detail-list-item',
103718
+ template: template$a,
103719
+ styles: styles$9
103720
+ });
103721
+ DesignSystem.getOrCreate().withPrefix('ok').register(okFvMasterDetailListItem());
103722
+ const fvMasterDetailListItemTag = 'ok-fv-master-detail-list-item';
103723
+
103724
+ const styles$8 = css `
103725
+ @layer base, hover, focusVisible;
103726
+
103727
+ @layer base {
103728
+ ${display('block')}
103729
+
103730
+ :host {
103731
+ color: ${bodyFontColor};
103732
+ font: ${bodyFont};
103733
+ }
103734
+
103735
+ .master-detail-list {
103736
+ display: flex;
103737
+ flex-direction: column;
103738
+ min-block-size: 0;
103739
+ }
103740
+
103741
+ .filter-row {
103742
+ padding: ${standardPadding};
103743
+ padding-block-end: 10px;
103744
+ }
103745
+
103746
+ .filter-input {
103747
+ -webkit-appearance: none;
103748
+ appearance: none;
103749
+ inline-size: 100%;
103750
+ padding: 10px 2px 12px;
103751
+ font: inherit;
103752
+ color: inherit;
103753
+ border: none;
103754
+ border-bottom: ${borderWidth} solid rgba(${borderRgbPartialColor}, 0.35);
103755
+ background: transparent;
103756
+ outline: none;
103757
+ transition: border-color ${smallDelay} ease-in-out;
103758
+ }
103759
+
103760
+ .filter-input::placeholder {
103761
+ color: ${placeholderFontColor};
103762
+ }
103763
+
103764
+ .items {
103765
+ display: block;
103766
+ min-block-size: 0;
103767
+ overflow: auto;
103768
+ }
103769
+
103770
+ .empty-state {
103771
+ padding: 18px;
103772
+ color: ${placeholderFontColor};
103773
+ }
103774
+ }
103775
+
103776
+ @layer hover {
103777
+ .filter-input:hover {
103778
+ border-bottom-color: ${borderHoverColor};
103779
+ }
103780
+ }
103781
+
103782
+ @layer focusVisible {
103783
+ .filter-input:focus-visible {
103784
+ border-bottom-color: ${borderHoverColor};
103785
+ }
103786
+ }
103787
+ `;
103788
+
103789
+ const template$9 = html `
103790
+ <div class="master-detail-list">
103791
+ <div class="filter-row">
103792
+ <input
103793
+ id="${x => x.inputId}"
103794
+ class="filter-input"
103795
+ type="text"
103796
+ placeholder="${x => x.placeholder}"
103797
+ :value="${x => x.filterText}"
103798
+ aria-controls="${x => x.listboxId}"
103799
+ aria-activedescendant="${x => x.activeItemId}"
103800
+ aria-label="${x => x.placeholder}"
103801
+ role="combobox"
103802
+ aria-haspopup="listbox"
103803
+ aria-autocomplete="list"
103804
+ aria-expanded="true"
103805
+ ${ref('captureFilterInput')}
103806
+ @input="${(x, c) => x.handleFilterInput(c.event)}"
103807
+ @keydown="${(x, c) => x.handleFilterKeydown(c.event)}"
103808
+ />
103809
+ </div>
103810
+ <div
103811
+ id="${x => x.listboxId}"
103812
+ class="items"
103813
+ role="listbox"
103814
+ @click="${(x, c) => x.handleItemsClick(c.event)}"
103815
+ >
103816
+ <slot @slotchange="${x => x.handleItemsSlotChange()}"></slot>
103817
+ ${when(x => !x.hasVisibleItems, html `
103818
+ <div class="empty-state">No matches</div>
103819
+ `)}
103820
+ </div>
103821
+ </div>
103822
+ `;
103823
+
103824
+ /**
103825
+ * A filterable master-detail list with keyboard selection.
103826
+ */
103827
+ class FvMasterDetailList extends FoundationElement {
103828
+ constructor() {
103829
+ super(...arguments);
103830
+ this.placeholder = 'Filter items...';
103831
+ /** @internal */
103832
+ this.filterText = '';
103833
+ /** @internal */
103834
+ this.activeItemId = null;
103835
+ /** @internal */
103836
+ this.items = [];
103837
+ /** @internal */
103838
+ this.inputId = uniqueId('ok-fv-master-detail-list-input');
103839
+ /** @internal */
103840
+ this.listboxId = uniqueId('ok-fv-master-detail-list-listbox');
103841
+ this.filterInput = null;
103842
+ this.selectedItem = null;
103843
+ }
103844
+ /** @internal */
103845
+ connectedCallback() {
103846
+ super.connectedCallback();
103847
+ queueMicrotask(() => {
103848
+ this.refreshItems();
103849
+ });
103850
+ }
103851
+ /** @internal */
103852
+ filterTextChanged() {
103853
+ if (this.$fastController.isConnected) {
103854
+ this.applyFilter(true);
103855
+ }
103856
+ }
103857
+ /** @internal */
103858
+ captureFilterInput(input) {
103859
+ this.filterInput = input;
103860
+ }
103861
+ /** @internal */
103862
+ get hasVisibleItems() {
103863
+ return this.visibleItems.length > 0;
103864
+ }
103865
+ /** @internal */
103866
+ handleFilterInput(event) {
103867
+ const input = event.target;
103868
+ this.filterText = input.value;
103869
+ }
103870
+ /** @internal */
103871
+ handleFilterKeydown(event) {
103872
+ if (event.key !== 'ArrowDown' && event.key !== 'ArrowUp') {
103873
+ return true;
103874
+ }
103875
+ const visibleItems = this.visibleItems;
103876
+ if (visibleItems.length === 0) {
103877
+ event.preventDefault();
103878
+ return false;
103879
+ }
103880
+ const currentIndex = visibleItems.findIndex(item => item.selected);
103881
+ let startingIndex = currentIndex;
103882
+ if (startingIndex < 0) {
103883
+ startingIndex = event.key === 'ArrowDown' ? -1 : visibleItems.length;
103884
+ }
103885
+ const nextIndex = event.key === 'ArrowDown'
103886
+ ? Math.min(startingIndex + 1, visibleItems.length - 1)
103887
+ : Math.max(startingIndex - 1, 0);
103888
+ this.setSelectedItem(visibleItems[nextIndex] ?? null, true);
103889
+ visibleItems[nextIndex]?.scrollIntoView({ block: 'nearest' });
103890
+ event.preventDefault();
103891
+ return false;
103892
+ }
103893
+ /** @internal */
103894
+ handleItemsSlotChange() {
103895
+ this.refreshItems();
103896
+ }
103897
+ /** @internal */
103898
+ handleItemsClick(event) {
103899
+ const item = event.composedPath().find(pathItem => pathItem instanceof HTMLElement && pathItem.localName === fvMasterDetailListItemTag);
103900
+ if (!item || item.hidden) {
103901
+ return;
103902
+ }
103903
+ this.setSelectedItem(item, true);
103904
+ this.filterInput?.focus();
103905
+ }
103906
+ get visibleItems() {
103907
+ return this.items.filter(item => !item.hidden);
103908
+ }
103909
+ refreshItems() {
103910
+ const slot = this.shadowRoot?.querySelector('slot');
103911
+ const assignedItems = slot?.assignedElements({ flatten: true }).filter(element => element instanceof HTMLElement && element.localName === fvMasterDetailListItemTag);
103912
+ this.items = assignedItems ?? [];
103913
+ for (const item of this.items) {
103914
+ if (item.id.length === 0) {
103915
+ item.id = uniqueId('ok-fv-master-detail-list-item');
103916
+ }
103917
+ }
103918
+ this.applyFilter(false);
103919
+ }
103920
+ applyFilter(emitSelectionChange) {
103921
+ const normalizedFilter = diacriticInsensitiveStringNormalizer(this.filterText.trim());
103922
+ let firstVisibleItem = null;
103923
+ for (const item of this.items) {
103924
+ const searchableText = diacriticInsensitiveStringNormalizer(`${item.titleText} ${item.subtitle} ${item.value}`.trim());
103925
+ const matches = normalizedFilter.length === 0 || searchableText.includes(normalizedFilter);
103926
+ item.hidden = !matches;
103927
+ if (matches && firstVisibleItem === null) {
103928
+ firstVisibleItem = item;
103929
+ }
103930
+ }
103931
+ const visibleSelectedItems = this.visibleItems.filter(item => item.selected);
103932
+ const preferredSelectedItem = visibleSelectedItems[0] ?? null;
103933
+ for (const extraSelectedItem of visibleSelectedItems.slice(1)) {
103934
+ extraSelectedItem.selected = false;
103935
+ }
103936
+ if (preferredSelectedItem) {
103937
+ this.setSelectedItem(preferredSelectedItem, emitSelectionChange && preferredSelectedItem !== this.selectedItem);
103938
+ return;
103939
+ }
103940
+ this.setSelectedItem(firstVisibleItem, emitSelectionChange && firstVisibleItem !== this.selectedItem);
103941
+ }
103942
+ setSelectedItem(nextItem, emitChange) {
103943
+ if (this.selectedItem === nextItem) {
103944
+ return;
103945
+ }
103946
+ if (this.selectedItem) {
103947
+ this.selectedItem.selected = false;
103948
+ }
103949
+ this.selectedItem = nextItem;
103950
+ if (this.selectedItem) {
103951
+ this.selectedItem.selected = true;
103952
+ this.activeItemId = this.selectedItem.id;
103953
+ }
103954
+ else {
103955
+ this.activeItemId = null;
103956
+ }
103957
+ if (emitChange) {
103958
+ this.dispatchEvent(new CustomEvent('change', {
103959
+ bubbles: true,
103960
+ composed: true,
103961
+ detail: {
103962
+ item: this.selectedItem,
103963
+ value: this.selectedItem?.value || this.selectedItem?.titleText || null
103964
+ }
103965
+ }));
103966
+ }
103967
+ }
103968
+ }
103969
+ __decorate([
103970
+ attr
103971
+ ], FvMasterDetailList.prototype, "placeholder", void 0);
103972
+ __decorate([
103973
+ observable
103974
+ ], FvMasterDetailList.prototype, "filterText", void 0);
103975
+ __decorate([
103976
+ observable
103977
+ ], FvMasterDetailList.prototype, "activeItemId", void 0);
103978
+ __decorate([
103979
+ observable
103980
+ ], FvMasterDetailList.prototype, "items", void 0);
103981
+ const okFvMasterDetailList = FvMasterDetailList.compose({
103982
+ baseName: 'fv-master-detail-list',
103983
+ template: template$9,
103984
+ styles: styles$8,
103985
+ shadowOptions: {
103986
+ delegatesFocus: true
103987
+ }
103988
+ });
103989
+ DesignSystem.getOrCreate().withPrefix('ok').register(okFvMasterDetailList());
103990
+
103498
103991
  const styles$7 = css `
103499
103992
  @layer base, hover, focusVisible, active, disabled, top;
103500
103993
 
@@ -105457,7 +105950,7 @@ focus outline in that case.
105457
105950
 
105458
105951
  const template = html `
105459
105952
  <template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
105460
- >${template$J}</template
105953
+ >${template$L}</template
105461
105954
  >
105462
105955
  `;
105463
105956
 
@@ -105543,7 +106036,7 @@ focus outline in that case.
105543
106036
  const tsTableColumnBreakpoint = TsTableColumnBreakpoint.compose({
105544
106037
  baseName: 'ts-table-column-breakpoint',
105545
106038
  template,
105546
- styles: styles$I
106039
+ styles: styles$K
105547
106040
  });
105548
106041
  DesignSystem.getOrCreate()
105549
106042
  .withPrefix('ok')