@ni/ok-components 0.3.12 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14898,9 +14898,9 @@
14898
14898
  const prefix = 'ni-nimble';
14899
14899
  const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
14900
14900
 
14901
- const template$_ = html `<slot></slot>`;
14901
+ const template$10 = html `<slot></slot>`;
14902
14902
 
14903
- const styles$1l = css `
14903
+ const styles$1n = css `
14904
14904
  ${display$2('contents')}
14905
14905
  `;
14906
14906
 
@@ -15015,8 +15015,8 @@
15015
15015
  ], ThemeProvider.prototype, "theme", void 0);
15016
15016
  const nimbleDesignSystemProvider = ThemeProvider.compose({
15017
15017
  baseName: 'theme-provider',
15018
- styles: styles$1l,
15019
- template: template$_
15018
+ styles: styles$1n,
15019
+ template: template$10
15020
15020
  });
15021
15021
  DesignSystem.getOrCreate()
15022
15022
  .withPrefix('nimble')
@@ -16563,7 +16563,7 @@
16563
16563
  const largePadding = createStringToken(tokenNames.largePadding, tokenValues.largePadding);
16564
16564
  createStringToken(tokenNames.labelHeight, tokenValues.labelHeight);
16565
16565
  const borderWidth = createStringToken(tokenNames.borderWidth, tokenValues.borderWidth);
16566
- createStringToken(tokenNames.dividerWidth, tokenValues.dividerWidth);
16566
+ const dividerWidth = createStringToken(tokenNames.dividerWidth, tokenValues.dividerWidth);
16567
16567
  const iconSize = createStringToken(tokenNames.iconSize, tokenValues.iconSize);
16568
16568
  const drawerWidth = createStringToken(tokenNames.drawerWidth, tokenValues.drawerWidth);
16569
16569
  const dialogSmallWidth = createStringToken(tokenNames.dialogSmallWidth, tokenValues.dialogSmallWidth);
@@ -16600,7 +16600,7 @@
16600
16600
  const [bodyFont, bodyFontColor, bodyDisabledFontColor, bodyFontFamily, bodyFontWeight, bodyFontSize, bodyFontLineHeight] = createFontTokens(tokenNames.bodyFont, tokenValues.bodyFont, tokenValues.bodyFontColor, tokenValues.bodyDisabledFontColor, tokenValues.bodyFontFamily, tokenValues.bodyFontWeight, tokenValues.bodyFontSize, tokenValues.bodyFontLineHeight);
16601
16601
  const [bodyEmphasizedFont, bodyEmphasizedFontColor, bodyEmphasizedDisabledFontColor, bodyEmphasizedFontFamily, bodyEmphasizedFontWeight] = createFontTokens(tokenNames.bodyEmphasizedFont, tokenValues.bodyEmphasizedFont, tokenValues.bodyEmphasizedFontColor, tokenValues.bodyEmphasizedDisabledFontColor, tokenValues.bodyEmphasizedFontFamily, tokenValues.bodyEmphasizedFontWeight, tokenValues.bodyEmphasizedFontSize, tokenValues.bodyEmphasizedFontLineHeight);
16602
16602
  createFontTokens(tokenNames.bodyPlus1Font, tokenValues.bodyPlus1Font, tokenValues.bodyPlus1FontColor, tokenValues.bodyPlus1DisabledFontColor, tokenValues.bodyPlus1FontFamily, tokenValues.bodyPlus1FontWeight, tokenValues.bodyPlus1FontSize, tokenValues.bodyPlus1FontLineHeight);
16603
- createFontTokens(tokenNames.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFontColor, tokenValues.bodyPlus1EmphasizedDisabledFontColor, tokenValues.bodyPlus1EmphasizedFontFamily, tokenValues.bodyPlus1EmphasizedFontWeight, tokenValues.bodyPlus1EmphasizedFontSize, tokenValues.bodyPlus1EmphasizedFontLineHeight);
16603
+ const [bodyPlus1EmphasizedFont, bodyPlus1EmphasizedFontColor] = createFontTokens(tokenNames.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFontColor, tokenValues.bodyPlus1EmphasizedDisabledFontColor, tokenValues.bodyPlus1EmphasizedFontFamily, tokenValues.bodyPlus1EmphasizedFontWeight, tokenValues.bodyPlus1EmphasizedFontSize, tokenValues.bodyPlus1EmphasizedFontLineHeight);
16604
16604
  const [groupHeaderFont, groupHeaderFontColor] = createFontTokens(tokenNames.groupHeaderFont, tokenValues.groupHeaderFont, tokenValues.groupHeaderFontColor, tokenValues.groupHeaderDisabledFontColor, tokenValues.groupHeaderFontFamily, tokenValues.groupHeaderFontWeight, tokenValues.groupHeaderFontSize, tokenValues.groupHeaderFontLineHeight);
16605
16605
  const [controlLabelFont, controlLabelFontColor, controlLabelDisabledFontColor, controlLabelFontFamily, controlLabelFontWeight, controlLabelFontSize, controlLabelFontLineHeight] = createFontTokens(tokenNames.controlLabelFont, tokenValues.controlLabelFont, tokenValues.controlLabelFontColor, tokenValues.controlLabelDisabledFontColor, tokenValues.controlLabelFontFamily, tokenValues.controlLabelFontWeight, tokenValues.controlLabelFontSize, tokenValues.controlLabelFontLineHeight);
16606
16606
  const [buttonLabelFont, buttonLabelFontColor, buttonLabelDisabledFontColor] = createFontTokens(tokenNames.buttonLabelFont, tokenValues.buttonLabelFont, tokenValues.buttonLabelFontColor, tokenValues.buttonLabelDisabledFontColor, tokenValues.buttonLabelFontFamily, tokenValues.buttonLabelFontWeight, tokenValues.buttonLabelFontSize, tokenValues.buttonLabelFontLineHeight);
@@ -16658,7 +16658,7 @@
16658
16658
  }
16659
16659
  // #endregion
16660
16660
 
16661
- const styles$1k = css `
16661
+ const styles$1m = css `
16662
16662
  @layer base, hover, focusVisible, active, disabled, top;
16663
16663
 
16664
16664
  @layer base {
@@ -16736,7 +16736,7 @@
16736
16736
  }
16737
16737
  `;
16738
16738
 
16739
- const template$Z = (_context, definition) => html `${
16739
+ const template$$ = (_context, definition) => html `${
16740
16740
  /* top-container div is necessary because setting contenteditable directly on the native anchor instead
16741
16741
  leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
16742
16742
  */ ''}<div
@@ -16839,8 +16839,8 @@
16839
16839
  const nimbleAnchor = Anchor.compose({
16840
16840
  baseName: 'anchor',
16841
16841
  baseClass: Anchor$1,
16842
- template: template$Z,
16843
- styles: styles$1k,
16842
+ template: template$$,
16843
+ styles: styles$1m,
16844
16844
  shadowOptions: {
16845
16845
  delegatesFocus: true
16846
16846
  }
@@ -16949,7 +16949,7 @@
16949
16949
  padding: 0;
16950
16950
  `;
16951
16951
 
16952
- const styles$1j = css `
16952
+ const styles$1l = css `
16953
16953
  @layer base, checked, hover, focusVisible, active, disabled, top;
16954
16954
 
16955
16955
  @layer base {
@@ -17233,8 +17233,8 @@
17233
17233
  }
17234
17234
  `));
17235
17235
 
17236
- const styles$1i = css `
17237
- ${styles$1j}
17236
+ const styles$1k = css `
17237
+ ${styles$1l}
17238
17238
  ${buttonAppearanceVariantStyles}
17239
17239
 
17240
17240
  .control {
@@ -17254,7 +17254,7 @@
17254
17254
  }
17255
17255
  `;
17256
17256
 
17257
- const template$Y = (context, definition) => html `
17257
+ const template$_ = (context, definition) => html `
17258
17258
  <a
17259
17259
  class="control"
17260
17260
  part="control"
@@ -17336,8 +17336,8 @@
17336
17336
  ], AnchorButton.prototype, "disabled", void 0);
17337
17337
  const nimbleAnchorButton = AnchorButton.compose({
17338
17338
  baseName: 'anchor-button',
17339
- template: template$Y,
17340
- styles: styles$1i,
17339
+ template: template$_,
17340
+ styles: styles$1k,
17341
17341
  shadowOptions: {
17342
17342
  delegatesFocus: true
17343
17343
  }
@@ -17345,7 +17345,7 @@
17345
17345
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
17346
17346
  const anchorButtonTag = 'nimble-anchor-button';
17347
17347
 
17348
- const styles$1h = css `
17348
+ const styles$1j = css `
17349
17349
  ${display$2('grid')}
17350
17350
 
17351
17351
  :host {
@@ -17428,7 +17428,7 @@
17428
17428
  }
17429
17429
  `;
17430
17430
 
17431
- const template$X = (context, definition) => html `
17431
+ const template$Z = (context, definition) => html `
17432
17432
  <template
17433
17433
  role="menuitem"
17434
17434
  class="${x => (typeof x.startColumnCount === 'number'
@@ -17529,8 +17529,8 @@
17529
17529
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
17530
17530
  const nimbleAnchorMenuItem = AnchorMenuItem.compose({
17531
17531
  baseName: 'anchor-menu-item',
17532
- template: template$X,
17533
- styles: styles$1h,
17532
+ template: template$Z,
17533
+ styles: styles$1j,
17534
17534
  shadowOptions: {
17535
17535
  delegatesFocus: true
17536
17536
  }
@@ -17542,7 +17542,7 @@
17542
17542
 
17543
17543
  // These styles end up inside a @layer block so must use the
17544
17544
  // cssPartial tag instead of the css tag
17545
- const styles$1g = cssPartial `
17545
+ const styles$1i = cssPartial `
17546
17546
  .severity-text {
17547
17547
  display: none;
17548
17548
  font: ${errorTextFont};
@@ -17652,12 +17652,12 @@
17652
17652
  const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
17653
17653
  /* eslint-enable max-classes-per-file */
17654
17654
 
17655
- const styles$1f = css `
17655
+ const styles$1h = css `
17656
17656
  @layer base, hover, focusVisible, active, disabled, top;
17657
17657
 
17658
17658
  @layer base {
17659
17659
  ${display$2('inline-flex')}
17660
- ${styles$1g}
17660
+ ${styles$1i}
17661
17661
  :host {
17662
17662
  color: ${buttonLabelFontColor};
17663
17663
  font: ${buttonLabelFont};
@@ -18203,8 +18203,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
18203
18203
  }
18204
18204
  `));
18205
18205
 
18206
- const styles$1e = css `
18207
- ${styles$1f}
18206
+ const styles$1g = css `
18207
+ ${styles$1h}
18208
18208
  ${'' /* Anchor specific styles */}
18209
18209
  @layer base {
18210
18210
  .control {
@@ -19247,13 +19247,13 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19247
19247
  };
19248
19248
 
19249
19249
  // Avoiding any whitespace in the template because this is an inline element
19250
- const template$W = html `<div
19250
+ const template$Y = html `<div
19251
19251
  class="icon"
19252
19252
  aria-hidden="true"
19253
19253
  :innerHTML=${x => x.icon.data}
19254
19254
  ></div>`;
19255
19255
 
19256
- const styles$1d = css `
19256
+ const styles$1f = css `
19257
19257
  ${display$2('inline-flex')}
19258
19258
 
19259
19259
  :host {
@@ -19316,8 +19316,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19316
19316
  const registerIconSvg = (baseName, iconClass) => {
19317
19317
  const composedIcon = iconClass.compose({
19318
19318
  baseName,
19319
- template: template$W,
19320
- styles: styles$1d
19319
+ template: template$Y,
19320
+ styles: styles$1f
19321
19321
  });
19322
19322
  DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
19323
19323
  };
@@ -19441,7 +19441,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19441
19441
  */
19442
19442
  const StepperOrientation = Orientation;
19443
19443
 
19444
- const template$V = (context, definition) => html `
19444
+ const template$X = (context, definition) => html `
19445
19445
  <template slot="step">
19446
19446
  <li class="
19447
19447
  container
@@ -19587,15 +19587,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19587
19587
  ], AnchorStep.prototype, "tabIndex", void 0);
19588
19588
  const nimbleAnchorStep = AnchorStep.compose({
19589
19589
  baseName: 'anchor-step',
19590
- template: template$V,
19591
- styles: styles$1e,
19590
+ template: template$X,
19591
+ styles: styles$1g,
19592
19592
  shadowOptions: {
19593
19593
  delegatesFocus: true
19594
19594
  }
19595
19595
  });
19596
19596
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
19597
19597
 
19598
- const styles$1c = css `
19598
+ const styles$1e = css `
19599
19599
  ${display$2('inline-flex')}
19600
19600
 
19601
19601
  :host {
@@ -19712,7 +19712,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19712
19712
  }
19713
19713
  `;
19714
19714
 
19715
- const template$U = (context, definition) => html `
19715
+ const template$W = (context, definition) => html `
19716
19716
  <template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
19717
19717
  <a
19718
19718
  download="${x => x.download}"
@@ -19764,15 +19764,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19764
19764
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
19765
19765
  const nimbleAnchorTab = AnchorTab.compose({
19766
19766
  baseName: 'anchor-tab',
19767
- template: template$U,
19768
- styles: styles$1c,
19767
+ template: template$W,
19768
+ styles: styles$1e,
19769
19769
  shadowOptions: {
19770
19770
  delegatesFocus: true
19771
19771
  }
19772
19772
  });
19773
19773
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
19774
19774
 
19775
- const styles$1b = css `
19775
+ const styles$1d = css `
19776
19776
  ${display$2('flex')}
19777
19777
 
19778
19778
  :host {
@@ -19812,12 +19812,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19812
19812
  }
19813
19813
  `;
19814
19814
 
19815
- const styles$1a = css `
19816
- ${styles$1j}
19815
+ const styles$1c = css `
19816
+ ${styles$1l}
19817
19817
  ${buttonAppearanceVariantStyles}
19818
19818
  `;
19819
19819
 
19820
- const template$T = (context, definition) => html `
19820
+ const template$V = (context, definition) => html `
19821
19821
  <button
19822
19822
  class="control"
19823
19823
  part="control"
@@ -19908,8 +19908,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19908
19908
  const nimbleButton = Button$1.compose({
19909
19909
  baseName: 'button',
19910
19910
  baseClass: Button$2,
19911
- template: template$T,
19912
- styles: styles$1a,
19911
+ template: template$V,
19912
+ styles: styles$1c,
19913
19913
  shadowOptions: {
19914
19914
  delegatesFocus: true
19915
19915
  }
@@ -19943,7 +19943,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19943
19943
  registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
19944
19944
  const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
19945
19945
 
19946
- const template$S = (context, definition) => html `
19946
+ const template$U = (context, definition) => html `
19947
19947
  <div
19948
19948
  class="tab-bar"
19949
19949
  >
@@ -20244,15 +20244,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20244
20244
  applyMixins(AnchorTabs, StartEnd);
20245
20245
  const nimbleAnchorTabs = AnchorTabs.compose({
20246
20246
  baseName: 'anchor-tabs',
20247
- template: template$S,
20248
- styles: styles$1b,
20247
+ template: template$U,
20248
+ styles: styles$1d,
20249
20249
  shadowOptions: {
20250
20250
  delegatesFocus: false
20251
20251
  }
20252
20252
  });
20253
20253
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
20254
20254
 
20255
- const styles$19 = css `
20255
+ const styles$1b = css `
20256
20256
  ${display$2('block')}
20257
20257
 
20258
20258
  :host {
@@ -20357,7 +20357,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20357
20357
  }
20358
20358
  `;
20359
20359
 
20360
- const template$R = (context, definition) => html `
20360
+ const template$T = (context, definition) => html `
20361
20361
  <template
20362
20362
  role="treeitem"
20363
20363
  slot="${x => (x.isNestedItem() ? 'item' : null)}"
@@ -20494,8 +20494,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20494
20494
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
20495
20495
  const nimbleAnchorTreeItem = AnchorTreeItem.compose({
20496
20496
  baseName: 'anchor-tree-item',
20497
- template: template$R,
20498
- styles: styles$19,
20497
+ template: template$T,
20498
+ styles: styles$1b,
20499
20499
  shadowOptions: {
20500
20500
  delegatesFocus: true
20501
20501
  }
@@ -20511,7 +20511,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20511
20511
  zIndex1000: '1000'
20512
20512
  };
20513
20513
 
20514
- const styles$18 = css `
20514
+ const styles$1a = css `
20515
20515
  ${display$2('block')}
20516
20516
 
20517
20517
  :host {
@@ -20542,14 +20542,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20542
20542
  baseName: 'anchored-region',
20543
20543
  baseClass: AnchoredRegion$1,
20544
20544
  template: anchoredRegionTemplate,
20545
- styles: styles$18
20545
+ styles: styles$1a
20546
20546
  });
20547
20547
  DesignSystem.getOrCreate()
20548
20548
  .withPrefix('nimble')
20549
20549
  .register(nimbleAnchoredRegion());
20550
20550
  const anchoredRegionTag = 'nimble-anchored-region';
20551
20551
 
20552
- const styles$17 = css `
20552
+ const styles$19 = css `
20553
20553
  ${display$2('flex')}
20554
20554
 
20555
20555
  :host {
@@ -20701,7 +20701,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20701
20701
  information: 'information'
20702
20702
  };
20703
20703
 
20704
- const template$Q = html `
20704
+ const template$S = html `
20705
20705
  <${themeProviderTag} theme="${Theme.color}">
20706
20706
  <div class="container"
20707
20707
  role="status"
@@ -20819,8 +20819,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20819
20819
  applyMixins(Banner, ARIAGlobalStatesAndProperties);
20820
20820
  const nimbleBanner = Banner.compose({
20821
20821
  baseName: 'banner',
20822
- template: template$Q,
20823
- styles: styles$17
20822
+ template: template$S,
20823
+ styles: styles$19
20824
20824
  });
20825
20825
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
20826
20826
 
@@ -20861,7 +20861,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20861
20861
  </template>
20862
20862
  `;
20863
20863
 
20864
- const styles$16 = css `
20864
+ const styles$18 = css `
20865
20865
  ${display$2('inline-flex')}
20866
20866
 
20867
20867
  :host {
@@ -20965,11 +20965,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
20965
20965
  baseName: 'breadcrumb',
20966
20966
  baseClass: Breadcrumb$1,
20967
20967
  template: breadcrumbTemplate,
20968
- styles: styles$16
20968
+ styles: styles$18
20969
20969
  });
20970
20970
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
20971
20971
 
20972
- const styles$15 = css `
20972
+ const styles$17 = css `
20973
20973
  @layer base, hover, focusVisible, active, disabled, top;
20974
20974
 
20975
20975
  @layer base {
@@ -21066,14 +21066,14 @@ so this becomes the fallback color for the slot */ ''}
21066
21066
  baseName: 'breadcrumb-item',
21067
21067
  baseClass: BreadcrumbItem$1,
21068
21068
  template: breadcrumbItemTemplate,
21069
- styles: styles$15,
21069
+ styles: styles$17,
21070
21070
  separator: forwardSlash16X16.data
21071
21071
  });
21072
21072
  DesignSystem.getOrCreate()
21073
21073
  .withPrefix('nimble')
21074
21074
  .register(nimbleBreadcrumbItem());
21075
21075
 
21076
- const styles$14 = css `
21076
+ const styles$16 = css `
21077
21077
  ${display$2('flex')}
21078
21078
 
21079
21079
  :host {
@@ -21097,7 +21097,7 @@ so this becomes the fallback color for the slot */ ''}
21097
21097
  }
21098
21098
  `;
21099
21099
 
21100
- const template$P = html `
21100
+ const template$R = html `
21101
21101
  <section aria-labelledby="title-slot">
21102
21102
  <span id="title-slot"><slot name="title"></slot></span>
21103
21103
  <slot></slot>
@@ -21112,12 +21112,12 @@ so this becomes the fallback color for the slot */ ''}
21112
21112
  const nimbleCard = Card.compose({
21113
21113
  baseName: 'card',
21114
21114
  baseClass: Card$1,
21115
- template: template$P,
21116
- styles: styles$14
21115
+ template: template$R,
21116
+ styles: styles$16
21117
21117
  });
21118
21118
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
21119
21119
 
21120
- const styles$13 = css `
21120
+ const styles$15 = css `
21121
21121
  ${display$2('inline-flex')}
21122
21122
 
21123
21123
  :host {
@@ -21275,14 +21275,14 @@ so this becomes the fallback color for the slot */ ''}
21275
21275
  const nimbleCardButton = CardButton.compose({
21276
21276
  baseName: 'card-button',
21277
21277
  template: buttonTemplate,
21278
- styles: styles$13,
21278
+ styles: styles$15,
21279
21279
  shadowOptions: {
21280
21280
  delegatesFocus: true
21281
21281
  }
21282
21282
  });
21283
21283
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
21284
21284
 
21285
- const styles$12 = css `
21285
+ const styles$14 = css `
21286
21286
  .error-icon {
21287
21287
  display: none;
21288
21288
  }
@@ -21316,9 +21316,9 @@ so this becomes the fallback color for the slot */ ''}
21316
21316
  }
21317
21317
  `;
21318
21318
 
21319
- const styles$11 = css `
21319
+ const styles$13 = css `
21320
21320
  ${display$2('inline-grid')}
21321
- ${styles$12}
21321
+ ${styles$14}
21322
21322
 
21323
21323
  :host {
21324
21324
  font: ${bodyFont};
@@ -21457,7 +21457,7 @@ so this becomes the fallback color for the slot */ ''}
21457
21457
  </div>
21458
21458
  `;
21459
21459
 
21460
- const template$O = (_context, definition) => html `
21460
+ const template$Q = (_context, definition) => html `
21461
21461
  <template
21462
21462
  role="checkbox"
21463
21463
  aria-checked="${x => x.checked}"
@@ -21542,16 +21542,176 @@ so this becomes the fallback color for the slot */ ''}
21542
21542
  const nimbleCheckbox = Checkbox.compose({
21543
21543
  baseName: 'checkbox',
21544
21544
  baseClass: Checkbox$1,
21545
- template: template$O,
21546
- styles: styles$11,
21545
+ template: template$Q,
21546
+ styles: styles$13,
21547
21547
  checkedIndicator: check16X16.data,
21548
21548
  indeterminateIndicator: minus16X16.data
21549
21549
  });
21550
21550
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
21551
21551
  const checkboxTag = 'nimble-checkbox';
21552
21552
 
21553
- const styles$10 = css `
21554
- ${styles$1j}
21553
+ const ChipAppearance = {
21554
+ outline: 'outline',
21555
+ block: 'block'
21556
+ };
21557
+
21558
+ const styles$12 = css `
21559
+ ${display$2('inline-flex')}
21560
+
21561
+ :host {
21562
+ height: ${controlHeight};
21563
+ width: fit-content;
21564
+ max-width: 300px;
21565
+ color: ${bodyFontColor};
21566
+ font: ${bodyFont};
21567
+ padding: 0 ${mediumPadding};
21568
+ gap: 4px;
21569
+ background-color: transparent;
21570
+ border: ${borderWidth} solid rgba(${actionRgbPartialColor}, 0.3);
21571
+ border-radius: 4px;
21572
+ justify-content: center;
21573
+ align-items: center;
21574
+ }
21575
+
21576
+ :host([disabled]) {
21577
+ cursor: default;
21578
+ color: ${bodyDisabledFontColor};
21579
+ border-color: rgba(${borderRgbPartialColor}, 0.3);
21580
+ }
21581
+
21582
+ :host([disabled]) slot[name='start']::slotted(*) {
21583
+ opacity: 0.3;
21584
+ ${iconColor.cssCustomProperty}: ${bodyFontColor};
21585
+ }
21586
+
21587
+ slot[name='start']::slotted(*) {
21588
+ flex-shrink: 0;
21589
+ }
21590
+
21591
+ [part='start'] {
21592
+ display: contents;
21593
+ ${iconColor.cssCustomProperty}: ${bodyFontColor};
21594
+ }
21595
+
21596
+ .content {
21597
+ text-overflow: ellipsis;
21598
+ overflow: hidden;
21599
+ white-space: nowrap;
21600
+ }
21601
+
21602
+ .remove-button {
21603
+ height: ${iconSize};
21604
+ width: ${iconSize};
21605
+ margin-right: calc(-1 * ${smallPadding});
21606
+ }
21607
+
21608
+ [part='end'] {
21609
+ display: none;
21610
+ }
21611
+ `.withBehaviors(appearanceBehavior(ChipAppearance.block, css `
21612
+ :host,
21613
+ :host([disabled]) {
21614
+ background-color: rgba(${borderRgbPartialColor}, 0.1);
21615
+ border-color: transparent;
21616
+ }
21617
+ `));
21618
+
21619
+ const template$P = (context, definition) => html `
21620
+ ${startSlotTemplate(context, definition)}
21621
+ <span
21622
+ class="content"
21623
+ part="content"
21624
+ ${overflow('hasOverflow')}
21625
+ title=${x => (x.hasOverflow && x.elementTextContent
21626
+ ? x.elementTextContent
21627
+ : null)}
21628
+ >
21629
+ <slot
21630
+ ${ref('contentSlot')}
21631
+ ${slotted({ property: 'content' })}
21632
+ ></slot>
21633
+ </span>
21634
+ ${when(x => x.removable && !x.disabled, html `
21635
+ <${buttonTag}
21636
+ class="remove-button"
21637
+ content-hidden
21638
+ appearance="${ButtonAppearance.ghost}"
21639
+ tabindex="${x => x.tabIndex}"
21640
+ @click="${x => x.handleRemoveClick()}"
21641
+ >
21642
+ <${iconTimesTag} slot="start"></${iconTimesTag}>
21643
+ ${x => x.removeButtonContent}
21644
+ </${buttonTag}>
21645
+ `)}
21646
+ ${endSlotTemplate(context, definition)}
21647
+ `;
21648
+
21649
+ /**
21650
+ * Finds all text content within a slot and returns it as a space-delimited string.
21651
+ */
21652
+ const slotTextContent = (slot) => {
21653
+ return slot
21654
+ .assignedNodes()
21655
+ .map(node => node.textContent?.trim())
21656
+ .filter(content => content !== undefined && content !== '')
21657
+ .join(' ');
21658
+ };
21659
+
21660
+ /**
21661
+ * A Nimble chip component
21662
+ */
21663
+ class Chip extends FoundationElement {
21664
+ constructor() {
21665
+ super(...arguments);
21666
+ this.removable = false;
21667
+ this.disabled = false;
21668
+ this.appearance = ChipAppearance.outline;
21669
+ /** @internal */
21670
+ this.hasOverflow = false;
21671
+ }
21672
+ /** @internal */
21673
+ get elementTextContent() {
21674
+ return slotTextContent(this.contentSlot);
21675
+ }
21676
+ /** @internal */
21677
+ get removeButtonContent() {
21678
+ return itemRemoveLabel.getValueFor(this);
21679
+ }
21680
+ /** @internal */
21681
+ handleRemoveClick() {
21682
+ if (this.removable) {
21683
+ this.$emit('remove');
21684
+ }
21685
+ }
21686
+ }
21687
+ __decorate([
21688
+ attr({ mode: 'boolean' })
21689
+ ], Chip.prototype, "removable", void 0);
21690
+ __decorate([
21691
+ attr({ mode: 'boolean' })
21692
+ ], Chip.prototype, "disabled", void 0);
21693
+ __decorate([
21694
+ attr()
21695
+ ], Chip.prototype, "appearance", void 0);
21696
+ __decorate([
21697
+ attr({ attribute: 'tabindex', converter: nullableNumberConverter })
21698
+ ], Chip.prototype, "tabIndex", void 0);
21699
+ __decorate([
21700
+ observable
21701
+ ], Chip.prototype, "hasOverflow", void 0);
21702
+ applyMixins(Chip, StartEnd);
21703
+ const nimbleChip = Chip.compose({
21704
+ baseName: 'chip',
21705
+ template: template$P,
21706
+ styles: styles$12,
21707
+ shadowOptions: {
21708
+ delegatesFocus: true
21709
+ }
21710
+ });
21711
+ DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
21712
+
21713
+ const styles$11 = css `
21714
+ ${styles$1l}
21555
21715
  ${buttonAppearanceVariantStyles}
21556
21716
 
21557
21717
  @layer checked {
@@ -21598,7 +21758,7 @@ so this becomes the fallback color for the slot */ ''}
21598
21758
  }
21599
21759
  `));
21600
21760
 
21601
- const template$N = (context, definition) => html `
21761
+ const template$O = (context, definition) => html `
21602
21762
  <div
21603
21763
  role="button"
21604
21764
  part="control"
@@ -21693,8 +21853,8 @@ so this becomes the fallback color for the slot */ ''}
21693
21853
  applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
21694
21854
  const nimbleToggleButton = ToggleButton.compose({
21695
21855
  baseName: 'toggle-button',
21696
- template: template$N,
21697
- styles: styles$10,
21856
+ template: template$O,
21857
+ styles: styles$11,
21698
21858
  shadowOptions: {
21699
21859
  delegatesFocus: true
21700
21860
  }
@@ -21724,7 +21884,7 @@ so this becomes the fallback color for the slot */ ''}
21724
21884
  frameless: 'frameless'
21725
21885
  };
21726
21886
 
21727
- const styles$$ = css `
21887
+ const styles$10 = css `
21728
21888
  ${display$2('inline-flex')}
21729
21889
 
21730
21890
  :host {
@@ -22014,7 +22174,7 @@ so this becomes the fallback color for the slot */ ''}
22014
22174
  }
22015
22175
  `));
22016
22176
 
22017
- const styles$_ = css `
22177
+ const styles$$ = css `
22018
22178
  .annotated-label {
22019
22179
  display: flex;
22020
22180
  flex-direction: row;
@@ -22041,10 +22201,10 @@ so this becomes the fallback color for the slot */ ''}
22041
22201
  none: undefined,
22042
22202
  standard: 'standard'};
22043
22203
 
22044
- const styles$Z = css `
22204
+ const styles$_ = css `
22205
+ ${styles$10}
22206
+ ${styles$14}
22045
22207
  ${styles$$}
22046
- ${styles$12}
22047
- ${styles$_}
22048
22208
 
22049
22209
  :host {
22050
22210
  --ni-private-hover-bottom-border-width: 2px;
@@ -22165,7 +22325,7 @@ so this becomes the fallback color for the slot */ ''}
22165
22325
  <slot></slot>
22166
22326
  </label>
22167
22327
  `);
22168
- const template$M = (context, definition) => html `
22328
+ const template$N = (context, definition) => html `
22169
22329
  <template
22170
22330
  aria-disabled="${x => x.ariaDisabled}"
22171
22331
  autocomplete="${x => x.autocomplete}"
@@ -22940,8 +23100,8 @@ so this becomes the fallback color for the slot */ ''}
22940
23100
  const nimbleCombobox = Combobox.compose({
22941
23101
  baseName: 'combobox',
22942
23102
  baseClass: FormAssociatedCombobox,
22943
- template: template$M,
22944
- styles: styles$Z,
23103
+ template: template$N,
23104
+ styles: styles$_,
22945
23105
  shadowOptions: {
22946
23106
  delegatesFocus: true
22947
23107
  },
@@ -22985,7 +23145,7 @@ so this becomes the fallback color for the slot */ ''}
22985
23145
  */
22986
23146
  const UserDismissed = Symbol('user dismissed');
22987
23147
 
22988
- const styles$Y = css `
23148
+ const styles$Z = css `
22989
23149
  ${display$2('grid')}
22990
23150
 
22991
23151
  dialog {
@@ -23078,7 +23238,7 @@ so this becomes the fallback color for the slot */ ''}
23078
23238
  }
23079
23239
  `;
23080
23240
 
23081
- const template$L = html `
23241
+ const template$M = html `
23082
23242
  <template>
23083
23243
  <dialog
23084
23244
  ${ref('dialogElement')}
@@ -23226,13 +23386,13 @@ so this becomes the fallback color for the slot */ ''}
23226
23386
  applyMixins(Dialog, ARIAGlobalStatesAndProperties);
23227
23387
  const nimbleDialog = Dialog.compose({
23228
23388
  baseName: 'dialog',
23229
- template: template$L,
23230
- styles: styles$Y,
23389
+ template: template$M,
23390
+ styles: styles$Z,
23231
23391
  baseClass: Dialog
23232
23392
  });
23233
23393
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
23234
23394
 
23235
- const styles$X = css `
23395
+ const styles$Y = css `
23236
23396
  ${display$2('block')}
23237
23397
 
23238
23398
  :host {
@@ -23375,7 +23535,7 @@ so this becomes the fallback color for the slot */ ''}
23375
23535
  }
23376
23536
  `;
23377
23537
 
23378
- const template$K = html `
23538
+ const template$L = html `
23379
23539
  <dialog
23380
23540
  ${ref('dialog')}
23381
23541
  aria-label="${x => x.ariaLabel}"
@@ -23517,8 +23677,8 @@ so this becomes the fallback color for the slot */ ''}
23517
23677
  applyMixins(Drawer, ARIAGlobalStatesAndProperties);
23518
23678
  const nimbleDrawer = Drawer.compose({
23519
23679
  baseName: 'drawer',
23520
- template: template$K,
23521
- styles: styles$X
23680
+ template: template$L,
23681
+ styles: styles$Y
23522
23682
  });
23523
23683
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
23524
23684
 
@@ -26302,7 +26462,7 @@ so this becomes the fallback color for the slot */ ''}
26302
26462
  }
26303
26463
  }
26304
26464
 
26305
- const styles$W = css `
26465
+ const styles$X = css `
26306
26466
  ${display$2('none')}
26307
26467
  `;
26308
26468
 
@@ -26375,7 +26535,7 @@ so this becomes the fallback color for the slot */ ''}
26375
26535
  ], LabelProviderCore.prototype, "itemRemove", void 0);
26376
26536
  const nimbleLabelProviderCore = LabelProviderCore.compose({
26377
26537
  baseName: 'label-provider-core',
26378
- styles: styles$W
26538
+ styles: styles$X
26379
26539
  });
26380
26540
  DesignSystem.getOrCreate()
26381
26541
  .withPrefix('nimble')
@@ -26542,13 +26702,13 @@ so this becomes the fallback color for the slot */ ''}
26542
26702
  ], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
26543
26703
  const nimbleLabelProviderTable = LabelProviderTable.compose({
26544
26704
  baseName: 'label-provider-table',
26545
- styles: styles$W
26705
+ styles: styles$X
26546
26706
  });
26547
26707
  DesignSystem.getOrCreate()
26548
26708
  .withPrefix('nimble')
26549
26709
  .register(nimbleLabelProviderTable());
26550
26710
 
26551
- const styles$V = css `
26711
+ const styles$W = css `
26552
26712
  ${display$2('flex')}
26553
26713
 
26554
26714
  :host {
@@ -26624,7 +26784,7 @@ so this becomes the fallback color for the slot */ ''}
26624
26784
  * The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
26625
26785
  * @public
26626
26786
  */
26627
- const template$J = (context, definition) => html `
26787
+ const template$K = (context, definition) => html `
26628
26788
  <template
26629
26789
  aria-checked="${x => x.ariaChecked}"
26630
26790
  aria-disabled="${x => x.ariaDisabled}"
@@ -26650,17 +26810,6 @@ so this becomes the fallback color for the slot */ ''}
26650
26810
  </template>
26651
26811
  `;
26652
26812
 
26653
- /**
26654
- * Finds all text content within a slot and returns it as a space-delimited string.
26655
- */
26656
- const slotTextContent = (slot) => {
26657
- return slot
26658
- .assignedNodes()
26659
- .map(node => node.textContent?.trim())
26660
- .filter(content => content !== undefined && content !== '')
26661
- .join(' ');
26662
- };
26663
-
26664
26813
  /**
26665
26814
  * A nimble-styled HTML listbox option
26666
26815
  */
@@ -26737,13 +26886,13 @@ so this becomes the fallback color for the slot */ ''}
26737
26886
  const nimbleListOption = ListOption.compose({
26738
26887
  baseName: 'list-option',
26739
26888
  baseClass: ListboxOption,
26740
- template: template$J,
26741
- styles: styles$V
26889
+ template: template$K,
26890
+ styles: styles$W
26742
26891
  });
26743
26892
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
26744
26893
  const listOptionTag = 'nimble-list-option';
26745
26894
 
26746
- const styles$U = css `
26895
+ const styles$V = css `
26747
26896
  ${display$2('flex')}
26748
26897
 
26749
26898
  :host {
@@ -26805,7 +26954,7 @@ so this becomes the fallback color for the slot */ ''}
26805
26954
  const isListOption$1 = (n) => {
26806
26955
  return n instanceof ListOption;
26807
26956
  };
26808
- const template$I = html `
26957
+ const template$J = html `
26809
26958
  <template
26810
26959
  role="group"
26811
26960
  aria-label="${x => x.labelContent}"
@@ -26947,8 +27096,8 @@ so this becomes the fallback color for the slot */ ''}
26947
27096
  const nimbleListOptionGroup = ListOptionGroup.compose({
26948
27097
  baseName: 'list-option-group',
26949
27098
  baseClass: FoundationElement,
26950
- template: template$I,
26951
- styles: styles$U
27099
+ template: template$J,
27100
+ styles: styles$V
26952
27101
  });
26953
27102
  DesignSystem.getOrCreate()
26954
27103
  .withPrefix('nimble')
@@ -26975,9 +27124,9 @@ so this becomes the fallback color for the slot */ ''}
26975
27124
  attr()
26976
27125
  ], Mapping$1.prototype, "key", void 0);
26977
27126
 
26978
- const template$H = html `<template slot="mapping"></template>`;
27127
+ const template$I = html `<template slot="mapping"></template>`;
26979
27128
 
26980
- const styles$T = css `
27129
+ const styles$U = css `
26981
27130
  ${display$2('none')}
26982
27131
  `;
26983
27132
 
@@ -26993,8 +27142,8 @@ so this becomes the fallback color for the slot */ ''}
26993
27142
  ], MappingEmpty.prototype, "text", void 0);
26994
27143
  const emptyMapping = MappingEmpty.compose({
26995
27144
  baseName: 'mapping-empty',
26996
- template: template$H,
26997
- styles: styles$T
27145
+ template: template$I,
27146
+ styles: styles$U
26998
27147
  });
26999
27148
  DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
27000
27149
 
@@ -27064,8 +27213,8 @@ so this becomes the fallback color for the slot */ ''}
27064
27213
  ], MappingIcon.prototype, "resolvedIcon", void 0);
27065
27214
  const iconMapping = MappingIcon.compose({
27066
27215
  baseName: 'mapping-icon',
27067
- template: template$H,
27068
- styles: styles$T
27216
+ template: template$I,
27217
+ styles: styles$U
27069
27218
  });
27070
27219
  DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
27071
27220
 
@@ -27088,8 +27237,8 @@ so this becomes the fallback color for the slot */ ''}
27088
27237
  ], MappingSpinner.prototype, "textHidden", void 0);
27089
27238
  const spinnerMapping = MappingSpinner.compose({
27090
27239
  baseName: 'mapping-spinner',
27091
- template: template$H,
27092
- styles: styles$T
27240
+ template: template$I,
27241
+ styles: styles$U
27093
27242
  });
27094
27243
  DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
27095
27244
 
@@ -27105,8 +27254,8 @@ so this becomes the fallback color for the slot */ ''}
27105
27254
  ], MappingText.prototype, "text", void 0);
27106
27255
  const textMapping = MappingText.compose({
27107
27256
  baseName: 'mapping-text',
27108
- template: template$H,
27109
- styles: styles$T
27257
+ template: template$I,
27258
+ styles: styles$U
27110
27259
  });
27111
27260
  DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
27112
27261
 
@@ -27408,7 +27557,7 @@ so this becomes the fallback color for the slot */ ''}
27408
27557
  observable
27409
27558
  ], Menu$1.prototype, "itemIcons", void 0);
27410
27559
 
27411
- const template$G = () => html `
27560
+ const template$H = () => html `
27412
27561
  <template
27413
27562
  slot="${x => {
27414
27563
  if (x.slot) {
@@ -27425,7 +27574,7 @@ so this becomes the fallback color for the slot */ ''}
27425
27574
  </template>
27426
27575
  `;
27427
27576
 
27428
- const styles$S = css `
27577
+ const styles$T = css `
27429
27578
  ${display$2('grid')}
27430
27579
 
27431
27580
  :host {
@@ -27496,8 +27645,8 @@ so this becomes the fallback color for the slot */ ''}
27496
27645
  const nimbleMenu = Menu.compose({
27497
27646
  baseName: 'menu',
27498
27647
  baseClass: Menu$1,
27499
- template: template$G,
27500
- styles: styles$S
27648
+ template: template$H,
27649
+ styles: styles$T
27501
27650
  });
27502
27651
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
27503
27652
 
@@ -27512,7 +27661,7 @@ so this becomes the fallback color for the slot */ ''}
27512
27661
  auto: 'auto'
27513
27662
  };
27514
27663
 
27515
- const styles$R = css `
27664
+ const styles$S = css `
27516
27665
  ${display$2('inline-block')}
27517
27666
 
27518
27667
  :host {
@@ -27530,7 +27679,7 @@ so this becomes the fallback color for the slot */ ''}
27530
27679
  }
27531
27680
  `;
27532
27681
 
27533
- const template$F = html `
27682
+ const template$G = html `
27534
27683
  <template
27535
27684
  ?open="${x => x.open}"
27536
27685
  @focusout="${(x, c) => x.focusoutHandler(c.event)}"
@@ -27780,8 +27929,8 @@ so this becomes the fallback color for the slot */ ''}
27780
27929
  ], MenuButton.prototype, "slottedMenus", void 0);
27781
27930
  const nimbleMenuButton = MenuButton.compose({
27782
27931
  baseName: 'menu-button',
27783
- template: template$F,
27784
- styles: styles$R,
27932
+ template: template$G,
27933
+ styles: styles$S,
27785
27934
  shadowOptions: {
27786
27935
  delegatesFocus: true
27787
27936
  }
@@ -27789,7 +27938,7 @@ so this becomes the fallback color for the slot */ ''}
27789
27938
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
27790
27939
  const menuButtonTag = 'nimble-menu-button';
27791
27940
 
27792
- const styles$Q = css `
27941
+ const styles$R = css `
27793
27942
  ${display$2('grid')}
27794
27943
 
27795
27944
  :host {
@@ -27886,7 +28035,7 @@ so this becomes the fallback color for the slot */ ''}
27886
28035
  baseName: 'menu-item',
27887
28036
  baseClass: MenuItem$1,
27888
28037
  template: menuItemTemplate,
27889
- styles: styles$Q,
28038
+ styles: styles$R,
27890
28039
  expandCollapseGlyph: arrowExpanderRight16X16.data
27891
28040
  });
27892
28041
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
@@ -27901,10 +28050,10 @@ so this becomes the fallback color for the slot */ ''}
27901
28050
  frameless: 'frameless'
27902
28051
  };
27903
28052
 
27904
- const styles$P = css `
28053
+ const styles$Q = css `
27905
28054
  ${display$2('inline-block')}
27906
- ${styles$12}
27907
- ${styles$_}
28055
+ ${styles$14}
28056
+ ${styles$$}
27908
28057
 
27909
28058
  :host {
27910
28059
  font: ${bodyFont};
@@ -28127,7 +28276,7 @@ so this becomes the fallback color for the slot */ ''}
28127
28276
  * The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
28128
28277
  * @public
28129
28278
  */
28130
- const template$E = (context, definition) => html `
28279
+ const template$F = (context, definition) => html `
28131
28280
  <template class="${x => (x.readOnly ? 'readonly' : '')}">
28132
28281
  ${labelTemplate$4}
28133
28282
  <div class="root" part="root">
@@ -28281,8 +28430,8 @@ so this becomes the fallback color for the slot */ ''}
28281
28430
  const nimbleNumberField = NumberField.compose({
28282
28431
  baseName: 'number-field',
28283
28432
  baseClass: NumberField$1,
28284
- template: template$E,
28285
- styles: styles$P,
28433
+ template: template$F,
28434
+ styles: styles$Q,
28286
28435
  shadowOptions: {
28287
28436
  delegatesFocus: true
28288
28437
  },
@@ -28325,7 +28474,7 @@ so this becomes the fallback color for the slot */ ''}
28325
28474
  });
28326
28475
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
28327
28476
 
28328
- const styles$O = css `
28477
+ const styles$P = css `
28329
28478
  ${display$2('inline-flex')}
28330
28479
 
28331
28480
  :host {
@@ -28425,15 +28574,15 @@ so this becomes the fallback color for the slot */ ''}
28425
28574
  baseName: 'radio',
28426
28575
  baseClass: Radio$1,
28427
28576
  template: radioTemplate,
28428
- styles: styles$O,
28577
+ styles: styles$P,
28429
28578
  checkedIndicator: circleFilled16X16.data
28430
28579
  });
28431
28580
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
28432
28581
 
28433
- const styles$N = css `
28582
+ const styles$O = css `
28434
28583
  ${display$2('inline-block')}
28435
- ${styles$12}
28436
- ${styles$_}
28584
+ ${styles$14}
28585
+ ${styles$$}
28437
28586
 
28438
28587
  .positioning-region {
28439
28588
  display: flex;
@@ -28472,7 +28621,7 @@ so this becomes the fallback color for the slot */ ''}
28472
28621
  `;
28473
28622
 
28474
28623
  const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
28475
- const template$D = html `
28624
+ const template$E = html `
28476
28625
  <template
28477
28626
  role="radiogroup"
28478
28627
  aria-disabled="${x => x.disabled}"
@@ -28512,8 +28661,8 @@ so this becomes the fallback color for the slot */ ''}
28512
28661
  const nimbleRadioGroup = RadioGroup.compose({
28513
28662
  baseName: 'radio-group',
28514
28663
  baseClass: RadioGroup$1,
28515
- template: template$D,
28516
- styles: styles$N,
28664
+ template: template$E,
28665
+ styles: styles$O,
28517
28666
  shadowOptions: {
28518
28667
  delegatesFocus: true
28519
28668
  }
@@ -47804,7 +47953,7 @@ ${indentedChild}`;
47804
47953
  // src/index.ts
47805
47954
  var index_default$7 = HardBreak;
47806
47955
 
47807
- const styles$M = css `
47956
+ const styles$N = css `
47808
47957
  ${display$2('inline')}
47809
47958
 
47810
47959
  .positioning-region {
@@ -47841,7 +47990,7 @@ ${indentedChild}`;
47841
47990
  baseName: 'toolbar',
47842
47991
  baseClass: Toolbar$1,
47843
47992
  template: toolbarTemplate,
47844
- styles: styles$M
47993
+ styles: styles$N
47845
47994
  });
47846
47995
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
47847
47996
  const toolbarTag = 'nimble-toolbar';
@@ -47870,8 +48019,8 @@ ${indentedChild}`;
47870
48019
  cssCustomPropertyName: null
47871
48020
  }).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
47872
48021
 
47873
- const styles$L = css `
47874
- ${styles$$}
48022
+ const styles$M = css `
48023
+ ${styles$10}
47875
48024
 
47876
48025
  :host {
47877
48026
  height: auto;
@@ -47889,7 +48038,7 @@ ${indentedChild}`;
47889
48038
  }
47890
48039
  `;
47891
48040
 
47892
- const template$C = html `
48041
+ const template$D = html `
47893
48042
  <template>
47894
48043
  <${anchoredRegionTag}
47895
48044
  ${ref('region')}
@@ -48177,15 +48326,15 @@ ${indentedChild}`;
48177
48326
  ], RichTextMentionListbox.prototype, "anchorElement", void 0);
48178
48327
  const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
48179
48328
  baseName: 'rich-text-mention-listbox',
48180
- template: template$C,
48181
- styles: styles$L
48329
+ template: template$D,
48330
+ styles: styles$M
48182
48331
  });
48183
48332
  DesignSystem.getOrCreate()
48184
48333
  .withPrefix('nimble')
48185
48334
  .register(nimbleRichTextMentionListbox());
48186
48335
  const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
48187
48336
 
48188
- const template$B = html `
48337
+ const template$C = html `
48189
48338
  <template
48190
48339
  ${children$1({ property: 'childItems', filter: elements() })}
48191
48340
  @focusout="${x => x.focusoutHandler()}"
@@ -48287,9 +48436,9 @@ ${indentedChild}`;
48287
48436
  </template>
48288
48437
  `;
48289
48438
 
48290
- const styles$K = css `
48439
+ const styles$L = css `
48291
48440
  ${display$2('inline-flex')}
48292
- ${styles$12}
48441
+ ${styles$14}
48293
48442
 
48294
48443
  :host {
48295
48444
  font: ${bodyFont};
@@ -64735,8 +64884,8 @@ ${nextLine.slice(indentLevel + 2)}`;
64735
64884
  applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
64736
64885
  const nimbleRichTextEditor = RichTextEditor.compose({
64737
64886
  baseName: 'rich-text-editor',
64738
- template: template$B,
64739
- styles: styles$K,
64887
+ template: template$C,
64888
+ styles: styles$L,
64740
64889
  shadowOptions: {
64741
64890
  delegatesFocus: true
64742
64891
  }
@@ -64745,13 +64894,13 @@ ${nextLine.slice(indentLevel + 2)}`;
64745
64894
  .withPrefix('nimble')
64746
64895
  .register(nimbleRichTextEditor());
64747
64896
 
64748
- const template$A = html `
64897
+ const template$B = html `
64749
64898
  <template ${children$1({ property: 'childItems', filter: elements() })}>
64750
64899
  <div ${ref('viewer')} class="viewer"></div>
64751
64900
  </template>
64752
64901
  `;
64753
64902
 
64754
- const styles$J = css `
64903
+ const styles$K = css `
64755
64904
  ${display$2('flex')}
64756
64905
 
64757
64906
  :host {
@@ -64864,17 +65013,17 @@ ${nextLine.slice(indentLevel + 2)}`;
64864
65013
  ], RichTextViewer.prototype, "markdown", void 0);
64865
65014
  const nimbleRichTextViewer = RichTextViewer.compose({
64866
65015
  baseName: 'rich-text-viewer',
64867
- template: template$A,
64868
- styles: styles$J
65016
+ template: template$B,
65017
+ styles: styles$K
64869
65018
  });
64870
65019
  DesignSystem.getOrCreate()
64871
65020
  .withPrefix('nimble')
64872
65021
  .register(nimbleRichTextViewer());
64873
65022
 
64874
- const styles$I = css `
65023
+ const styles$J = css `
65024
+ ${styles$10}
65025
+ ${styles$14}
64875
65026
  ${styles$$}
64876
- ${styles$12}
64877
- ${styles$_}
64878
65027
 
64879
65028
  ${
64880
65029
  /* We are using flex `order` to define the visual ordering of the selected value,
@@ -65037,7 +65186,7 @@ ${nextLine.slice(indentLevel + 2)}`;
65037
65186
  }
65038
65187
  `));
65039
65188
 
65040
- const styles$H = css `
65189
+ const styles$I = css `
65041
65190
  ${display$2('inline-grid')}
65042
65191
 
65043
65192
  :host {
@@ -65207,7 +65356,7 @@ ${nextLine.slice(indentLevel + 2)}`;
65207
65356
  }
65208
65357
  `));
65209
65358
 
65210
- const template$z = html `
65359
+ const template$A = html `
65211
65360
  <template role="progressbar">
65212
65361
  ${''
65213
65362
  /**
@@ -65254,8 +65403,8 @@ ${nextLine.slice(indentLevel + 2)}`;
65254
65403
  ], Spinner.prototype, "appearance", void 0);
65255
65404
  const nimbleSpinner = Spinner.compose({
65256
65405
  baseName: 'spinner',
65257
- template: template$z,
65258
- styles: styles$H
65406
+ template: template$A,
65407
+ styles: styles$I
65259
65408
  });
65260
65409
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
65261
65410
  const spinnerTag = 'nimble-spinner';
@@ -65271,7 +65420,7 @@ ${nextLine.slice(indentLevel + 2)}`;
65271
65420
  <slot ${ref('labelSlot')}></slot>
65272
65421
  </label>
65273
65422
  `);
65274
- const template$y = (context, definition) => html `
65423
+ const template$z = (context, definition) => html `
65275
65424
  <template
65276
65425
  class="${x => [
65277
65426
  x.collapsible && 'collapsible',
@@ -66483,8 +66632,8 @@ ${nextLine.slice(indentLevel + 2)}`;
66483
66632
  const nimbleSelect = Select.compose({
66484
66633
  baseName: 'select',
66485
66634
  baseClass: Select$2,
66486
- template: template$y,
66487
- styles: styles$I,
66635
+ template: template$z,
66636
+ styles: styles$J,
66488
66637
  indicator: arrowExpanderDown16X16.data,
66489
66638
  end: html `
66490
66639
  <${iconExclamationMarkTag}
@@ -66497,8 +66646,8 @@ ${nextLine.slice(indentLevel + 2)}`;
66497
66646
  applyMixins(Select, StartEnd, DelegatesARIASelect);
66498
66647
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
66499
66648
 
66500
- const styles$G = css `
66501
- ${styles$1f}
66649
+ const styles$H = css `
66650
+ ${styles$1h}
66502
66651
  ${'' /* Button specific styles */}
66503
66652
  @layer base {
66504
66653
  .control {
@@ -66509,7 +66658,7 @@ ${nextLine.slice(indentLevel + 2)}`;
66509
66658
  }
66510
66659
  `;
66511
66660
 
66512
- const template$x = (context, definition) => html `
66661
+ const template$y = (context, definition) => html `
66513
66662
  <template slot="step">
66514
66663
  <li class="
66515
66664
  container
@@ -66630,15 +66779,15 @@ ${nextLine.slice(indentLevel + 2)}`;
66630
66779
  ], Step.prototype, "tabIndex", void 0);
66631
66780
  const nimbleStep = Step.compose({
66632
66781
  baseName: 'step',
66633
- template: template$x,
66634
- styles: styles$G,
66782
+ template: template$y,
66783
+ styles: styles$H,
66635
66784
  shadowOptions: {
66636
66785
  delegatesFocus: true
66637
66786
  }
66638
66787
  });
66639
66788
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
66640
66789
 
66641
- const styles$F = css `
66790
+ const styles$G = css `
66642
66791
  ${display$2('inline-flex')}
66643
66792
 
66644
66793
  :host {
@@ -66709,7 +66858,7 @@ ${nextLine.slice(indentLevel + 2)}`;
66709
66858
  }
66710
66859
  `;
66711
66860
 
66712
- const template$w = html `
66861
+ const template$x = html `
66713
66862
  ${when(x => x.showScrollButtons, html `
66714
66863
  <${buttonTag}
66715
66864
  content-hidden
@@ -66854,12 +67003,12 @@ ${nextLine.slice(indentLevel + 2)}`;
66854
67003
  ], Stepper.prototype, "steps", void 0);
66855
67004
  const nimbleStepper = Stepper.compose({
66856
67005
  baseName: 'stepper',
66857
- template: template$w,
66858
- styles: styles$F
67006
+ template: template$x,
67007
+ styles: styles$G
66859
67008
  });
66860
67009
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
66861
67010
 
66862
- const styles$E = css `
67011
+ const styles$F = css `
66863
67012
  ${display$2('inline-flex')}
66864
67013
 
66865
67014
  :host {
@@ -67086,7 +67235,7 @@ ${nextLine.slice(indentLevel + 2)}`;
67086
67235
  }
67087
67236
  `));
67088
67237
 
67089
- const template$v = html `
67238
+ const template$w = html `
67090
67239
  <template
67091
67240
  role="switch"
67092
67241
  aria-checked="${x => x.checked}"
@@ -67130,12 +67279,12 @@ ${nextLine.slice(indentLevel + 2)}`;
67130
67279
  const nimbleSwitch = Switch.compose({
67131
67280
  baseClass: Switch$1,
67132
67281
  baseName: 'switch',
67133
- template: template$v,
67134
- styles: styles$E
67282
+ template: template$w,
67283
+ styles: styles$F
67135
67284
  });
67136
67285
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
67137
67286
 
67138
- const styles$D = css `
67287
+ const styles$E = css `
67139
67288
  ${display$2('inline-flex')}
67140
67289
 
67141
67290
  :host {
@@ -67246,11 +67395,11 @@ ${nextLine.slice(indentLevel + 2)}`;
67246
67395
  baseName: 'tab',
67247
67396
  baseClass: Tab$1,
67248
67397
  template: tabTemplate,
67249
- styles: styles$D
67398
+ styles: styles$E
67250
67399
  });
67251
67400
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
67252
67401
 
67253
- const styles$C = css `
67402
+ const styles$D = css `
67254
67403
  ${display$2('block')}
67255
67404
 
67256
67405
  :host {
@@ -67269,7 +67418,7 @@ ${nextLine.slice(indentLevel + 2)}`;
67269
67418
  baseName: 'tab-panel',
67270
67419
  baseClass: TabPanel$1,
67271
67420
  template: tabPanelTemplate,
67272
- styles: styles$C
67421
+ styles: styles$D
67273
67422
  });
67274
67423
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
67275
67424
 
@@ -70995,7 +71144,7 @@ ${nextLine.slice(indentLevel + 2)}`;
70995
71144
  }
70996
71145
  }
70997
71146
 
70998
- const styles$B = css `
71147
+ const styles$C = css `
70999
71148
  ${display$2('flex')}
71000
71149
 
71001
71150
  :host {
@@ -71215,7 +71364,7 @@ focus outline in that case.
71215
71364
  }
71216
71365
  `));
71217
71366
 
71218
- const styles$A = css `
71367
+ const styles$B = css `
71219
71368
  ${display$2('flex')}
71220
71369
 
71221
71370
  :host {
@@ -71248,7 +71397,7 @@ focus outline in that case.
71248
71397
  }
71249
71398
  `;
71250
71399
 
71251
- const template$u = html `
71400
+ const template$v = html `
71252
71401
  <template role="columnheader"
71253
71402
  class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
71254
71403
  aria-sort="${x => x.ariaSort}"
@@ -71334,13 +71483,13 @@ focus outline in that case.
71334
71483
  ], TableHeader.prototype, "isGrouped", void 0);
71335
71484
  const nimbleTableHeader = TableHeader.compose({
71336
71485
  baseName: 'table-header',
71337
- template: template$u,
71338
- styles: styles$A
71486
+ template: template$v,
71487
+ styles: styles$B
71339
71488
  });
71340
71489
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
71341
71490
  const tableHeaderTag = 'nimble-table-header';
71342
71491
 
71343
- const styles$z = css `
71492
+ const styles$A = css `
71344
71493
  :host .animating {
71345
71494
  transition: ${mediumDelay} ease-in;
71346
71495
  }
@@ -71365,9 +71514,9 @@ focus outline in that case.
71365
71514
  }
71366
71515
  `;
71367
71516
 
71368
- const styles$y = css `
71517
+ const styles$z = css `
71369
71518
  ${display$2('flex')}
71370
- ${styles$z}
71519
+ ${styles$A}
71371
71520
 
71372
71521
  :host {
71373
71522
  width: fit-content;
@@ -71537,7 +71686,7 @@ focus outline in that case.
71537
71686
  }
71538
71687
  `));
71539
71688
 
71540
- const styles$x = css `
71689
+ const styles$y = css `
71541
71690
  ${display$2('flex')}
71542
71691
 
71543
71692
  :host {
@@ -71582,7 +71731,7 @@ focus outline in that case.
71582
71731
  }
71583
71732
  `;
71584
71733
 
71585
- const template$t = html `
71734
+ const template$u = html `
71586
71735
  <template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
71587
71736
  @focusin="${x => x.onCellFocusIn()}"
71588
71737
  @blur="${x => x.onCellBlur()}"
@@ -71679,13 +71828,13 @@ focus outline in that case.
71679
71828
  ], TableCell.prototype, "nestingLevel", void 0);
71680
71829
  const nimbleTableCell = TableCell.compose({
71681
71830
  baseName: 'table-cell',
71682
- template: template$t,
71683
- styles: styles$x
71831
+ template: template$u,
71832
+ styles: styles$y
71684
71833
  });
71685
71834
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
71686
71835
  const tableCellTag = 'nimble-table-cell';
71687
71836
 
71688
- const template$s = html `
71837
+ const template$t = html `
71689
71838
  <template
71690
71839
  role="row"
71691
71840
  aria-selected=${x => x.ariaSelected}
@@ -72080,15 +72229,15 @@ focus outline in that case.
72080
72229
  ], TableRow.prototype, "ariaSelected", null);
72081
72230
  const nimbleTableRow = TableRow.compose({
72082
72231
  baseName: 'table-row',
72083
- template: template$s,
72084
- styles: styles$y
72232
+ template: template$t,
72233
+ styles: styles$z
72085
72234
  });
72086
72235
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
72087
72236
  const tableRowTag = 'nimble-table-row';
72088
72237
 
72089
- const styles$w = css `
72238
+ const styles$x = css `
72090
72239
  ${display$2('grid')}
72091
- ${styles$z}
72240
+ ${styles$A}
72092
72241
 
72093
72242
  :host {
72094
72243
  align-items: center;
@@ -72176,7 +72325,7 @@ focus outline in that case.
72176
72325
  }
72177
72326
  `));
72178
72327
 
72179
- const template$r = html `
72328
+ const template$s = html `
72180
72329
  <template
72181
72330
  role="row"
72182
72331
  @click=${x => x.onGroupExpandToggle()}
@@ -72333,13 +72482,13 @@ focus outline in that case.
72333
72482
  ], TableGroupRow.prototype, "allowHover", void 0);
72334
72483
  const nimbleTableGroupRow = TableGroupRow.compose({
72335
72484
  baseName: 'table-group-row',
72336
- template: template$r,
72337
- styles: styles$w
72485
+ template: template$s,
72486
+ styles: styles$x
72338
72487
  });
72339
72488
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
72340
72489
  const tableGroupRowTag = 'nimble-table-group-row';
72341
72490
 
72342
- const template$q = html `
72491
+ const template$r = html `
72343
72492
  <template
72344
72493
  role="treegrid"
72345
72494
  ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
@@ -76650,12 +76799,12 @@ focus outline in that case.
76650
76799
  ], Table$1.prototype, "windowShiftKeyDown", void 0);
76651
76800
  const nimbleTable = Table$1.compose({
76652
76801
  baseName: 'table',
76653
- template: template$q,
76654
- styles: styles$B
76802
+ template: template$r,
76803
+ styles: styles$C
76655
76804
  });
76656
76805
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
76657
76806
 
76658
- const styles$v = css `
76807
+ const styles$w = css `
76659
76808
  ${display$2('contents')}
76660
76809
 
76661
76810
  .header-content {
@@ -76667,7 +76816,7 @@ focus outline in that case.
76667
76816
 
76668
76817
  // Avoiding a wrapping <template> and be careful about starting and ending whitspace
76669
76818
  // so the template can be composed into other column header templates
76670
- const template$p = html `<span
76819
+ const template$q = html `<span
76671
76820
  ${overflow('hasOverflow')}
76672
76821
  class="header-content"
76673
76822
  title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
@@ -76732,7 +76881,7 @@ focus outline in that case.
76732
76881
  return ColumnWithPlaceholder;
76733
76882
  }
76734
76883
 
76735
- const styles$u = css `
76884
+ const styles$v = css `
76736
76885
  ${display$2('flex')}
76737
76886
 
76738
76887
  :host {
@@ -76763,7 +76912,7 @@ focus outline in that case.
76763
76912
  }
76764
76913
  `;
76765
76914
 
76766
- const template$o = html `
76915
+ const template$p = html `
76767
76916
  <template
76768
76917
  @click="${(x, c) => {
76769
76918
  if (typeof x.cellRecord?.href === 'string') {
@@ -76855,8 +77004,8 @@ focus outline in that case.
76855
77004
  ], TableColumnAnchorCellView.prototype, "showAnchor", null);
76856
77005
  const anchorCellView = TableColumnAnchorCellView.compose({
76857
77006
  baseName: 'table-column-anchor-cell-view',
76858
- template: template$o,
76859
- styles: styles$u
77007
+ template: template$p,
77008
+ styles: styles$v
76860
77009
  });
76861
77010
  DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
76862
77011
  const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
@@ -76933,7 +77082,7 @@ focus outline in that case.
76933
77082
  observable
76934
77083
  ], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
76935
77084
 
76936
- const template$n = html `
77085
+ const template$o = html `
76937
77086
  <span
76938
77087
  ${overflow('hasOverflow')}
76939
77088
  title="${x => (x.hasOverflow && x.text ? x.text : null)}"
@@ -76942,7 +77091,7 @@ focus outline in that case.
76942
77091
  </span>
76943
77092
  `;
76944
77093
 
76945
- const styles$t = css `
77094
+ const styles$u = css `
76946
77095
  ${display$2('flex')}
76947
77096
 
76948
77097
  span {
@@ -76966,8 +77115,8 @@ focus outline in that case.
76966
77115
  }
76967
77116
  const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
76968
77117
  baseName: 'table-column-text-group-header-view',
76969
- template: template$n,
76970
- styles: styles$t
77118
+ template: template$o,
77119
+ styles: styles$u
76971
77120
  });
76972
77121
  DesignSystem.getOrCreate()
76973
77122
  .withPrefix('nimble')
@@ -77211,8 +77360,8 @@ focus outline in that case.
77211
77360
  ], TableColumnAnchor.prototype, "download", void 0);
77212
77361
  const nimbleTableColumnAnchor = TableColumnAnchor.compose({
77213
77362
  baseName: 'table-column-anchor',
77214
- template: template$p,
77215
- styles: styles$v
77363
+ template: template$q,
77364
+ styles: styles$w
77216
77365
  });
77217
77366
  DesignSystem.getOrCreate()
77218
77367
  .withPrefix('nimble')
@@ -77264,15 +77413,15 @@ focus outline in that case.
77264
77413
  }
77265
77414
  const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
77266
77415
  baseName: 'table-column-date-text-group-header-view',
77267
- template: template$n,
77268
- styles: styles$t
77416
+ template: template$o,
77417
+ styles: styles$u
77269
77418
  });
77270
77419
  DesignSystem.getOrCreate()
77271
77420
  .withPrefix('nimble')
77272
77421
  .register(tableColumnDateTextGroupHeaderView());
77273
77422
  const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
77274
77423
 
77275
- const template$m = html `
77424
+ const template$n = html `
77276
77425
  <template
77277
77426
  class="
77278
77427
  ${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
@@ -77288,7 +77437,7 @@ focus outline in that case.
77288
77437
  </template>
77289
77438
  `;
77290
77439
 
77291
- const styles$s = css `
77440
+ const styles$t = css `
77292
77441
  ${display$2('flex')}
77293
77442
 
77294
77443
  :host {
@@ -77390,8 +77539,8 @@ focus outline in that case.
77390
77539
  }
77391
77540
  const dateTextCellView = TableColumnDateTextCellView.compose({
77392
77541
  baseName: 'table-column-date-text-cell-view',
77393
- template: template$m,
77394
- styles: styles$s
77542
+ template: template$n,
77543
+ styles: styles$t
77395
77544
  });
77396
77545
  DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
77397
77546
  const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
@@ -77649,8 +77798,8 @@ focus outline in that case.
77649
77798
  ], TableColumnDateText.prototype, "customHourCycle", void 0);
77650
77799
  const nimbleTableColumnDateText = TableColumnDateText.compose({
77651
77800
  baseName: 'table-column-date-text',
77652
- template: template$p,
77653
- styles: styles$v
77801
+ template: template$q,
77802
+ styles: styles$w
77654
77803
  });
77655
77804
  DesignSystem.getOrCreate()
77656
77805
  .withPrefix('nimble')
@@ -77666,8 +77815,8 @@ focus outline in that case.
77666
77815
  }
77667
77816
  const durationTextCellView = TableColumnDurationTextCellView.compose({
77668
77817
  baseName: 'table-column-duration-text-cell-view',
77669
- template: template$m,
77670
- styles: styles$s
77818
+ template: template$n,
77819
+ styles: styles$t
77671
77820
  });
77672
77821
  DesignSystem.getOrCreate()
77673
77822
  .withPrefix('nimble')
@@ -77768,8 +77917,8 @@ focus outline in that case.
77768
77917
  }
77769
77918
  const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
77770
77919
  baseName: 'table-column-duration-text-group-header-view',
77771
- template: template$n,
77772
- styles: styles$t
77920
+ template: template$o,
77921
+ styles: styles$u
77773
77922
  });
77774
77923
  DesignSystem.getOrCreate()
77775
77924
  .withPrefix('nimble')
@@ -77821,8 +77970,8 @@ focus outline in that case.
77821
77970
  }
77822
77971
  const nimbleTableColumnDurationText = TableColumnDurationText.compose({
77823
77972
  baseName: 'table-column-duration-text',
77824
- template: template$p,
77825
- styles: styles$v
77973
+ template: template$q,
77974
+ styles: styles$w
77826
77975
  });
77827
77976
  DesignSystem.getOrCreate()
77828
77977
  .withPrefix('nimble')
@@ -77930,15 +78079,15 @@ focus outline in that case.
77930
78079
  attr({ attribute: 'key-type' })
77931
78080
  ], TableColumnEnumBase.prototype, "keyType", void 0);
77932
78081
 
77933
- const styles$r = css `
77934
- ${styles$v}
78082
+ const styles$s = css `
78083
+ ${styles$w}
77935
78084
 
77936
78085
  slot[name='mapping'] {
77937
78086
  display: none;
77938
78087
  }
77939
78088
  `;
77940
78089
 
77941
- const template$l = html `${template$p}<slot ${slotted('mappings')} name="mapping"></slot>`;
78090
+ const template$m = html `${template$q}<slot ${slotted('mappings')} name="mapping"></slot>`;
77942
78091
 
77943
78092
  const enumBaseValidityFlagNames = [
77944
78093
  'invalidMappingKeyValueForType',
@@ -78024,7 +78173,7 @@ focus outline in that case.
78024
78173
  }
78025
78174
  }
78026
78175
 
78027
- const styles$q = css `
78176
+ const styles$r = css `
78028
78177
  ${display$2('inline-flex')}
78029
78178
 
78030
78179
  :host {
@@ -78048,7 +78197,7 @@ focus outline in that case.
78048
78197
  }
78049
78198
  `;
78050
78199
 
78051
- const template$k = html `
78200
+ const template$l = html `
78052
78201
  ${when(x => x.visualizationTemplate, html `
78053
78202
  <span class="reserve-icon-size">
78054
78203
  ${x => x.visualizationTemplate}
@@ -78192,15 +78341,15 @@ focus outline in that case.
78192
78341
  ], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
78193
78342
  const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
78194
78343
  baseName: 'table-column-mapping-group-header-view',
78195
- template: template$k,
78196
- styles: styles$q
78344
+ template: template$l,
78345
+ styles: styles$r
78197
78346
  });
78198
78347
  DesignSystem.getOrCreate()
78199
78348
  .withPrefix('nimble')
78200
78349
  .register(mappingGroupHeaderView());
78201
78350
  const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
78202
78351
 
78203
- const styles$p = css `
78352
+ const styles$q = css `
78204
78353
  ${display$2('inline-flex')}
78205
78354
 
78206
78355
  :host {
@@ -78224,7 +78373,7 @@ focus outline in that case.
78224
78373
  }
78225
78374
  `;
78226
78375
 
78227
- const template$j = html `
78376
+ const template$k = html `
78228
78377
  ${when(x => x.visualizationTemplate, html `
78229
78378
  <span class="reserve-icon-size">
78230
78379
  ${x => x.visualizationTemplate}
@@ -78311,8 +78460,8 @@ focus outline in that case.
78311
78460
  ], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
78312
78461
  const mappingCellView = TableColumnMappingCellView.compose({
78313
78462
  baseName: 'table-column-mapping-cell-view',
78314
- template: template$j,
78315
- styles: styles$p
78463
+ template: template$k,
78464
+ styles: styles$q
78316
78465
  });
78317
78466
  DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
78318
78467
  const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
@@ -78395,23 +78544,23 @@ focus outline in that case.
78395
78544
  ], TableColumnMapping.prototype, "widthMode", void 0);
78396
78545
  const nimbleTableColumnMapping = TableColumnMapping.compose({
78397
78546
  baseName: 'table-column-mapping',
78398
- template: template$l,
78399
- styles: styles$r
78547
+ template: template$m,
78548
+ styles: styles$s
78400
78549
  });
78401
78550
  DesignSystem.getOrCreate()
78402
78551
  .withPrefix('nimble')
78403
78552
  .register(nimbleTableColumnMapping());
78404
78553
 
78405
- const template$i = html `
78554
+ const template$j = html `
78406
78555
  <template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
78407
- >${template$p}</template
78556
+ >${template$q}</template
78408
78557
  >
78409
78558
  `;
78410
78559
 
78411
78560
  /** @internal */
78412
78561
  const cellViewMenuSlotName = 'menu-button-menu';
78413
78562
 
78414
- const template$h = html `
78563
+ const template$i = html `
78415
78564
  ${when(x => x.showMenuButton, html `
78416
78565
  <${menuButtonTag}
78417
78566
  ${ref('menuButton')}
@@ -78430,7 +78579,7 @@ focus outline in that case.
78430
78579
  `)}
78431
78580
  `;
78432
78581
 
78433
- const styles$o = css `
78582
+ const styles$p = css `
78434
78583
  :host {
78435
78584
  align-self: center;
78436
78585
  width: 100%;
@@ -78505,8 +78654,8 @@ focus outline in that case.
78505
78654
  ], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
78506
78655
  const menuButtonCellView = TableColumnMenuButtonCellView.compose({
78507
78656
  baseName: 'table-column-menu-button-cell-view',
78508
- template: template$h,
78509
- styles: styles$o
78657
+ template: template$i,
78658
+ styles: styles$p
78510
78659
  });
78511
78660
  DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
78512
78661
  const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
@@ -78561,8 +78710,8 @@ focus outline in that case.
78561
78710
  ], TableColumnMenuButton.prototype, "menuSlot", void 0);
78562
78711
  const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
78563
78712
  baseName: 'table-column-menu-button',
78564
- template: template$i,
78565
- styles: styles$v
78713
+ template: template$j,
78714
+ styles: styles$w
78566
78715
  });
78567
78716
  DesignSystem.getOrCreate()
78568
78717
  .withPrefix('nimble')
@@ -78570,7 +78719,7 @@ focus outline in that case.
78570
78719
 
78571
78720
  // Avoiding a wrapping <template> and be careful about starting and ending whitespace
78572
78721
  // so the template can be composed into other column header templates
78573
- const template$g = html `<span
78722
+ const template$h = html `<span
78574
78723
  ${overflow('hasOverflow')}
78575
78724
  class="header-content"
78576
78725
  title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
@@ -78589,8 +78738,8 @@ focus outline in that case.
78589
78738
  }
78590
78739
  const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
78591
78740
  baseName: 'table-column-number-text-group-header-view',
78592
- template: template$n,
78593
- styles: styles$t
78741
+ template: template$o,
78742
+ styles: styles$u
78594
78743
  });
78595
78744
  DesignSystem.getOrCreate()
78596
78745
  .withPrefix('nimble')
@@ -78611,8 +78760,8 @@ focus outline in that case.
78611
78760
  }
78612
78761
  const numberTextCellView = TableColumnNumberTextCellView.compose({
78613
78762
  baseName: 'table-column-number-text-cell-view',
78614
- template: template$m,
78615
- styles: styles$s
78763
+ template: template$n,
78764
+ styles: styles$t
78616
78765
  });
78617
78766
  DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
78618
78767
  const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
@@ -79152,8 +79301,8 @@ focus outline in that case.
79152
79301
  ], TableColumnNumberText.prototype, "unit", void 0);
79153
79302
  const nimbleTableColumnNumberText = TableColumnNumberText.compose({
79154
79303
  baseName: 'table-column-number-text',
79155
- template: template$g,
79156
- styles: styles$v
79304
+ template: template$h,
79305
+ styles: styles$w
79157
79306
  });
79158
79307
  DesignSystem.getOrCreate()
79159
79308
  .withPrefix('nimble')
@@ -79171,8 +79320,8 @@ focus outline in that case.
79171
79320
  }
79172
79321
  const textCellView = TableColumnTextCellView.compose({
79173
79322
  baseName: 'table-column-text-cell-view',
79174
- template: template$m,
79175
- styles: styles$s
79323
+ template: template$n,
79324
+ styles: styles$t
79176
79325
  });
79177
79326
  DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
79178
79327
  const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
@@ -79226,15 +79375,15 @@ focus outline in that case.
79226
79375
  }
79227
79376
  const nimbleTableColumnText = TableColumnText.compose({
79228
79377
  baseName: 'table-column-text',
79229
- template: template$p,
79230
- styles: styles$v
79378
+ template: template$q,
79379
+ styles: styles$w
79231
79380
  });
79232
79381
  DesignSystem.getOrCreate()
79233
79382
  .withPrefix('nimble')
79234
79383
  .register(nimbleTableColumnText());
79235
79384
 
79236
- const styles$n = css `
79237
- ${styles$1b}
79385
+ const styles$o = css `
79386
+ ${styles$1d}
79238
79387
 
79239
79388
  .tabpanel {
79240
79389
  overflow: auto;
@@ -79315,12 +79464,12 @@ focus outline in that case.
79315
79464
  const nimbleTabs = Tabs.compose({
79316
79465
  baseName: 'tabs',
79317
79466
  baseClass: Tabs$1,
79318
- template: template$S,
79319
- styles: styles$n
79467
+ template: template$U,
79468
+ styles: styles$o
79320
79469
  });
79321
79470
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
79322
79471
 
79323
- const styles$m = css `
79472
+ const styles$n = css `
79324
79473
  ${display$2('flex')}
79325
79474
 
79326
79475
  :host {
@@ -79352,7 +79501,7 @@ focus outline in that case.
79352
79501
  }
79353
79502
  `;
79354
79503
 
79355
- const template$f = (context, definition) => html `
79504
+ const template$g = (context, definition) => html `
79356
79505
  <template slot="end">
79357
79506
  ${when(x => x.defaultSlottedElements.length > 0, html `
79358
79507
  <div class="separator"></div>
@@ -79384,8 +79533,8 @@ focus outline in that case.
79384
79533
  ], TabsToolbar.prototype, "defaultSlottedElements", void 0);
79385
79534
  const nimbleTabsToolbar = TabsToolbar.compose({
79386
79535
  baseName: 'tabs-toolbar',
79387
- template: template$f,
79388
- styles: styles$m
79536
+ template: template$g,
79537
+ styles: styles$n
79389
79538
  });
79390
79539
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
79391
79540
  applyMixins(TabsToolbar, StartEnd);
@@ -79395,10 +79544,10 @@ focus outline in that case.
79395
79544
  block: 'block'
79396
79545
  };
79397
79546
 
79398
- const styles$l = css `
79547
+ const styles$m = css `
79399
79548
  ${display$2('inline-flex')}
79400
- ${styles$12}
79401
- ${styles$_}
79549
+ ${styles$14}
79550
+ ${styles$$}
79402
79551
 
79403
79552
  :host {
79404
79553
  font: ${bodyFont};
@@ -79590,7 +79739,7 @@ focus outline in that case.
79590
79739
  <slot ${slotted('defaultSlottedNodes')}></slot>
79591
79740
  </label>
79592
79741
  `);
79593
- const template$e = () => html `
79742
+ const template$f = () => html `
79594
79743
  ${labelTemplate$1}
79595
79744
  <div class="container">
79596
79745
  <textarea
@@ -79738,8 +79887,8 @@ focus outline in that case.
79738
79887
  const nimbleTextArea = TextArea.compose({
79739
79888
  baseName: 'text-area',
79740
79889
  baseClass: TextArea$1,
79741
- template: template$e,
79742
- styles: styles$l,
79890
+ template: template$f,
79891
+ styles: styles$m,
79743
79892
  shadowOptions: {
79744
79893
  delegatesFocus: true
79745
79894
  }
@@ -79756,10 +79905,10 @@ focus outline in that case.
79756
79905
  frameless: 'frameless'
79757
79906
  };
79758
79907
 
79759
- const styles$k = css `
79908
+ const styles$l = css `
79760
79909
  ${display$2('inline-block')}
79761
- ${styles$12}
79762
- ${styles$_}
79910
+ ${styles$14}
79911
+ ${styles$$}
79763
79912
 
79764
79913
  :host {
79765
79914
  font: ${bodyFont};
@@ -80033,7 +80182,7 @@ focus outline in that case.
80033
80182
  * The template for the {@link @ni/fast-foundation#(TextField:class)} component.
80034
80183
  * @public
80035
80184
  */
80036
- const template$d = (context, definition) => html `
80185
+ const template$e = (context, definition) => html `
80037
80186
  <template
80038
80187
  class="
80039
80188
  ${x => (x.readOnly ? 'readonly' : '')}
@@ -80118,8 +80267,8 @@ focus outline in that case.
80118
80267
  const nimbleTextField = TextField.compose({
80119
80268
  baseName: 'text-field',
80120
80269
  baseClass: TextField$1,
80121
- template: template$d,
80122
- styles: styles$k,
80270
+ template: template$e,
80271
+ styles: styles$l,
80123
80272
  shadowOptions: {
80124
80273
  delegatesFocus: true
80125
80274
  },
@@ -80136,7 +80285,7 @@ focus outline in that case.
80136
80285
  });
80137
80286
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
80138
80287
 
80139
- const styles$j = css `
80288
+ const styles$k = css `
80140
80289
  ${display$2('inline-flex')}
80141
80290
 
80142
80291
  :host {
@@ -80222,7 +80371,7 @@ focus outline in that case.
80222
80371
  }
80223
80372
  `));
80224
80373
 
80225
- const template$c = html `
80374
+ const template$d = html `
80226
80375
  ${when(x => x.tooltipVisible, html `
80227
80376
  <${anchoredRegionTag}
80228
80377
  class="anchored-region"
@@ -80274,8 +80423,8 @@ focus outline in that case.
80274
80423
  const nimbleTooltip = Tooltip.compose({
80275
80424
  baseName: 'tooltip',
80276
80425
  baseClass: Tooltip$1,
80277
- template: template$c,
80278
- styles: styles$j
80426
+ template: template$d,
80427
+ styles: styles$k
80279
80428
  });
80280
80429
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
80281
80430
 
@@ -80363,7 +80512,7 @@ focus outline in that case.
80363
80512
  }
80364
80513
  }
80365
80514
 
80366
- const styles$i = css `
80515
+ const styles$j = css `
80367
80516
  ${display$2('block')}
80368
80517
 
80369
80518
  :host {
@@ -80580,12 +80729,12 @@ focus outline in that case.
80580
80729
  baseName: 'tree-item',
80581
80730
  baseClass: TreeItem$1,
80582
80731
  template: treeItemTemplate,
80583
- styles: styles$i,
80732
+ styles: styles$j,
80584
80733
  expandCollapseGlyph: arrowExpanderUp16X16.data
80585
80734
  });
80586
80735
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
80587
80736
 
80588
- const styles$h = css `
80737
+ const styles$i = css `
80589
80738
  ${display$2('flex')}
80590
80739
 
80591
80740
  :host {
@@ -80599,7 +80748,7 @@ focus outline in that case.
80599
80748
  }
80600
80749
  `;
80601
80750
 
80602
- const template$b = html `
80751
+ const template$c = html `
80603
80752
  <template
80604
80753
  role="tree"
80605
80754
  ${ref('treeView')}
@@ -80695,8 +80844,8 @@ focus outline in that case.
80695
80844
  const nimbleTreeView = TreeView.compose({
80696
80845
  baseName: 'tree-view',
80697
80846
  baseClass: TreeView$1,
80698
- template: template$b,
80699
- styles: styles$h
80847
+ template: template$c,
80848
+ styles: styles$i
80700
80849
  });
80701
80850
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
80702
80851
 
@@ -80812,9 +80961,9 @@ focus outline in that case.
80812
80961
  }
80813
80962
  const unitScaleByte = new UnitScaleByte();
80814
80963
 
80815
- const template$a = html `<template slot="unit"></template>`;
80964
+ const template$b = html `<template slot="unit"></template>`;
80816
80965
 
80817
- const styles$g = css `
80966
+ const styles$h = css `
80818
80967
  ${display$2('none')}
80819
80968
  `;
80820
80969
 
@@ -80842,8 +80991,8 @@ focus outline in that case.
80842
80991
  ], UnitByte.prototype, "binary", void 0);
80843
80992
  const nimbleUnitByte = UnitByte.compose({
80844
80993
  baseName: 'unit-byte',
80845
- template: template$a,
80846
- styles: styles$g
80994
+ template: template$b,
80995
+ styles: styles$h
80847
80996
  });
80848
80997
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
80849
80998
 
@@ -80895,8 +81044,8 @@ focus outline in that case.
80895
81044
  }
80896
81045
  const nimbleUnitVolt = UnitVolt.compose({
80897
81046
  baseName: 'unit-volt',
80898
- template: template$a,
80899
- styles: styles$g
81047
+ template: template$b,
81048
+ styles: styles$h
80900
81049
  });
80901
81050
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
80902
81051
 
@@ -95210,7 +95359,7 @@ focus outline in that case.
95210
95359
  return new Table(reader.readAll());
95211
95360
  }
95212
95361
 
95213
- const template$9 = html `
95362
+ const template$a = html `
95214
95363
  <div class="wafer-map-container">
95215
95364
  <svg class="svg-root">
95216
95365
  <g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
@@ -95243,7 +95392,7 @@ focus outline in that case.
95243
95392
  </div>
95244
95393
  `;
95245
95394
 
95246
- const styles$f = css `
95395
+ const styles$g = css `
95247
95396
  ${display$2('inline-block')}
95248
95397
 
95249
95398
  :host {
@@ -98268,8 +98417,8 @@ focus outline in that case.
98268
98417
  ], WaferMap.prototype, "colorScale", void 0);
98269
98418
  const nimbleWaferMap = WaferMap.compose({
98270
98419
  baseName: 'wafer-map',
98271
- template: template$9,
98272
- styles: styles$f
98420
+ template: template$a,
98421
+ styles: styles$g
98273
98422
  });
98274
98423
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
98275
98424
 
@@ -98281,7 +98430,7 @@ focus outline in that case.
98281
98430
  */
98282
98431
  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;}`;
98283
98432
 
98284
- const styles$e = css `
98433
+ const styles$f = css `
98285
98434
  ${display$1('flex')}
98286
98435
 
98287
98436
  :host {
@@ -98354,7 +98503,7 @@ focus outline in that case.
98354
98503
  }
98355
98504
  `;
98356
98505
 
98357
- const template$8 = html `
98506
+ const template$9 = html `
98358
98507
  <div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
98359
98508
  <slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
98360
98509
  </div>
@@ -98436,16 +98585,16 @@ focus outline in that case.
98436
98585
  ], ChatConversation.prototype, "slottedEndElements", void 0);
98437
98586
  const sprightChatConversation = ChatConversation.compose({
98438
98587
  baseName: 'chat-conversation',
98439
- template: template$8,
98440
- styles: styles$e
98588
+ template: template$9,
98589
+ styles: styles$f
98441
98590
  });
98442
98591
  DesignSystem.getOrCreate()
98443
98592
  .withPrefix('spright')
98444
98593
  .register(sprightChatConversation());
98445
98594
 
98446
- const styles$d = css `
98595
+ const styles$e = css `
98447
98596
  ${display$1('flex')}
98448
- ${styles$12}
98597
+ ${styles$14}
98449
98598
 
98450
98599
  :host {
98451
98600
  width: 100%;
@@ -98547,7 +98696,7 @@ focus outline in that case.
98547
98696
  }
98548
98697
  `;
98549
98698
 
98550
- const template$7 = html `
98699
+ const template$8 = html `
98551
98700
  <div class="container">
98552
98701
  <textarea
98553
98702
  ${ref('textArea')}
@@ -98763,8 +98912,8 @@ focus outline in that case.
98763
98912
  ], ChatInput.prototype, "scrollbarWidth", void 0);
98764
98913
  const sprightChatInput = ChatInput.compose({
98765
98914
  baseName: 'chat-input',
98766
- template: template$7,
98767
- styles: styles$d,
98915
+ template: template$8,
98916
+ styles: styles$e,
98768
98917
  shadowOptions: {
98769
98918
  delegatesFocus: true
98770
98919
  }
@@ -98782,7 +98931,7 @@ focus outline in that case.
98782
98931
  inbound: 'inbound'
98783
98932
  };
98784
98933
 
98785
- const styles$c = css `
98934
+ const styles$d = css `
98786
98935
  ${display$1('flex')}
98787
98936
 
98788
98937
  :host {
@@ -98856,7 +99005,7 @@ focus outline in that case.
98856
99005
  }
98857
99006
  `;
98858
99007
 
98859
- const template$6 = (context, definition) => html `
99008
+ const template$7 = (context, definition) => html `
98860
99009
  <div class="container">
98861
99010
  ${startSlotTemplate(context, definition)}
98862
99011
  <section class="message-content">
@@ -98905,12 +99054,12 @@ focus outline in that case.
98905
99054
  applyMixins(ChatMessage, StartEnd);
98906
99055
  const sprightChatMessage = ChatMessage.compose({
98907
99056
  baseName: 'chat-message',
98908
- template: template$6,
98909
- styles: styles$c
99057
+ template: template$7,
99058
+ styles: styles$d
98910
99059
  });
98911
99060
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
98912
99061
 
98913
- const styles$b = css `
99062
+ const styles$c = css `
98914
99063
  ${display$1('flex')}
98915
99064
 
98916
99065
  :host {
@@ -98968,7 +99117,7 @@ focus outline in that case.
98968
99117
  }
98969
99118
  `;
98970
99119
 
98971
- const template$5 = (context, definition) => html `
99120
+ const template$6 = (context, definition) => html `
98972
99121
  <div class="container">
98973
99122
  ${startSlotTemplate(context, definition)}
98974
99123
  <section class="message-content">
@@ -99006,12 +99155,12 @@ focus outline in that case.
99006
99155
  applyMixins(ChatMessageInbound, StartEnd);
99007
99156
  const sprightChatMessageInbound = ChatMessageInbound.compose({
99008
99157
  baseName: 'chat-message-inbound',
99009
- template: template$5,
99010
- styles: styles$b
99158
+ template: template$6,
99159
+ styles: styles$c
99011
99160
  });
99012
99161
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
99013
99162
 
99014
- const styles$a = css `
99163
+ const styles$b = css `
99015
99164
  ${display$1('flex')}
99016
99165
 
99017
99166
  :host {
@@ -99045,7 +99194,7 @@ focus outline in that case.
99045
99194
  }
99046
99195
  `;
99047
99196
 
99048
- const template$4 = () => html `
99197
+ const template$5 = () => html `
99049
99198
  <div class="container">
99050
99199
  <section class="message-content">
99051
99200
  <slot></slot>
@@ -99060,12 +99209,12 @@ focus outline in that case.
99060
99209
  }
99061
99210
  const sprightChatMessageOutbound = ChatMessageOutbound.compose({
99062
99211
  baseName: 'chat-message-outbound',
99063
- template: template$4,
99064
- styles: styles$a
99212
+ template: template$5,
99213
+ styles: styles$b
99065
99214
  });
99066
99215
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
99067
99216
 
99068
- const styles$9 = css `
99217
+ const styles$a = css `
99069
99218
  ${display$1('flex')}
99070
99219
 
99071
99220
  :host {
@@ -99092,7 +99241,7 @@ focus outline in that case.
99092
99241
  }
99093
99242
  `;
99094
99243
 
99095
- const template$3 = () => html `
99244
+ const template$4 = () => html `
99096
99245
  <div class="container">
99097
99246
  <section class="message-content">
99098
99247
  <slot></slot>
@@ -99107,13 +99256,13 @@ focus outline in that case.
99107
99256
  }
99108
99257
  const sprightChatMessageSystem = ChatMessageSystem.compose({
99109
99258
  baseName: 'chat-message-system',
99110
- template: template$3,
99111
- styles: styles$9
99259
+ template: template$4,
99260
+ styles: styles$a
99112
99261
  });
99113
99262
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
99114
99263
 
99115
- const styles$8 = css `
99116
- ${styles$1d}
99264
+ const styles$9 = css `
99265
+ ${styles$1f}
99117
99266
 
99118
99267
  .icon svg {
99119
99268
  fill: ${calendarEventBorderReservationColor};
@@ -99130,15 +99279,15 @@ focus outline in that case.
99130
99279
  }
99131
99280
  const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
99132
99281
  baseName: 'icon-work-item-calendar-week',
99133
- template: template$W,
99134
- styles: styles$8
99282
+ template: template$Y,
99283
+ styles: styles$9
99135
99284
  });
99136
99285
  DesignSystem.getOrCreate()
99137
99286
  .withPrefix('spright')
99138
99287
  .register(sprightIconWorkItemCalendarWeek());
99139
99288
 
99140
- const styles$7 = css `
99141
- ${styles$1d}
99289
+ const styles$8 = css `
99290
+ ${styles$1f}
99142
99291
 
99143
99292
  .icon svg {
99144
99293
  fill: ${calendarEventBorderCalibrationColor};
@@ -99155,15 +99304,15 @@ focus outline in that case.
99155
99304
  }
99156
99305
  const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
99157
99306
  baseName: 'icon-work-item-calipers',
99158
- template: template$W,
99159
- styles: styles$7
99307
+ template: template$Y,
99308
+ styles: styles$8
99160
99309
  });
99161
99310
  DesignSystem.getOrCreate()
99162
99311
  .withPrefix('spright')
99163
99312
  .register(sprightIconWorkItemCalipers());
99164
99313
 
99165
- const styles$6 = css `
99166
- ${styles$1d}
99314
+ const styles$7 = css `
99315
+ ${styles$1f}
99167
99316
 
99168
99317
  .icon svg {
99169
99318
  fill: ${calendarEventBorderTransportOrderColor};
@@ -99180,15 +99329,15 @@ focus outline in that case.
99180
99329
  }
99181
99330
  const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
99182
99331
  baseName: 'icon-work-item-forklift',
99183
- template: template$W,
99184
- styles: styles$6
99332
+ template: template$Y,
99333
+ styles: styles$7
99185
99334
  });
99186
99335
  DesignSystem.getOrCreate()
99187
99336
  .withPrefix('spright')
99188
99337
  .register(sprightIconWorkItemForklift());
99189
99338
 
99190
- const styles$5 = css `
99191
- ${styles$1d}
99339
+ const styles$6 = css `
99340
+ ${styles$1f}
99192
99341
 
99193
99342
  .icon svg {
99194
99343
  fill: ${calendarEventBorderStaticColor};
@@ -99205,15 +99354,15 @@ focus outline in that case.
99205
99354
  }
99206
99355
  const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
99207
99356
  baseName: 'icon-work-item-rectangle-check-lines',
99208
- template: template$W,
99209
- styles: styles$5
99357
+ template: template$Y,
99358
+ styles: styles$6
99210
99359
  });
99211
99360
  DesignSystem.getOrCreate()
99212
99361
  .withPrefix('spright')
99213
99362
  .register(sprightIconWorkItemRectangleCheckLines());
99214
99363
 
99215
- const styles$4 = css `
99216
- ${styles$1d}
99364
+ const styles$5 = css `
99365
+ ${styles$1f}
99217
99366
 
99218
99367
  .icon svg {
99219
99368
  fill: ${calendarEventBorderJobColor};
@@ -99230,15 +99379,15 @@ focus outline in that case.
99230
99379
  }
99231
99380
  const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
99232
99381
  baseName: 'icon-work-item-user-helmet-safety',
99233
- template: template$W,
99234
- styles: styles$4
99382
+ template: template$Y,
99383
+ styles: styles$5
99235
99384
  });
99236
99385
  DesignSystem.getOrCreate()
99237
99386
  .withPrefix('spright')
99238
99387
  .register(sprightIconWorkItemUserHelmetSafety());
99239
99388
 
99240
- const styles$3 = css `
99241
- ${styles$1d}
99389
+ const styles$4 = css `
99390
+ ${styles$1f}
99242
99391
 
99243
99392
  .icon svg {
99244
99393
  fill: ${calendarEventBorderMaintenanceColor};
@@ -99255,14 +99404,14 @@ focus outline in that case.
99255
99404
  }
99256
99405
  const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
99257
99406
  baseName: 'icon-work-item-wrench-hammer',
99258
- template: template$W,
99259
- styles: styles$3
99407
+ template: template$Y,
99408
+ styles: styles$4
99260
99409
  });
99261
99410
  DesignSystem.getOrCreate()
99262
99411
  .withPrefix('spright')
99263
99412
  .register(sprightIconWorkItemWrenchHammer());
99264
99413
 
99265
- const styles$2 = css `
99414
+ const styles$3 = css `
99266
99415
  ${display$1('inline-block')}
99267
99416
 
99268
99417
  :host {
@@ -99287,7 +99436,7 @@ focus outline in that case.
99287
99436
  }
99288
99437
  `;
99289
99438
 
99290
- const template$2 = html `<slot></slot>`;
99439
+ const template$3 = html `<slot></slot>`;
99291
99440
 
99292
99441
  /**
99293
99442
  * A Spright demo component (not for production use)
@@ -99296,8 +99445,8 @@ focus outline in that case.
99296
99445
  }
99297
99446
  const sprightRectangle = Rectangle.compose({
99298
99447
  baseName: 'rectangle',
99299
- template: template$2,
99300
- styles: styles$2
99448
+ template: template$3,
99449
+ styles: styles$3
99301
99450
  });
99302
99451
  DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
99303
99452
 
@@ -99309,6 +99458,185 @@ focus outline in that case.
99309
99458
  */
99310
99459
  const display = (displayValue) => `${display$3(displayValue)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host::before,:host::after,::before,::after{box-sizing:border-box;}`;
99311
99460
 
99461
+ /**
99462
+ * Set user-select: none in a way that works across all supported browsers.
99463
+ * https://developer.mozilla.org/en-US/docs/Web/CSS/user-select#browser_compatibility
99464
+ */
99465
+ const userSelectNone = cssPartial `
99466
+ user-select: none;
99467
+ -webkit-user-select: none;
99468
+ `;
99469
+
99470
+ const FvAccordionItemAppearance = {
99471
+ outline: 'outline',
99472
+ ghost: 'ghost',
99473
+ block: 'block'
99474
+ };
99475
+
99476
+ const styles$2 = css `
99477
+ @layer base, hover, focusVisible, active, disabled, top;
99478
+
99479
+ @layer base {
99480
+ ${display('block')}
99481
+
99482
+ :host {
99483
+ border-bottom: ${dividerWidth} solid transparent;
99484
+ }
99485
+
99486
+ .accordion-item-details > .accordion-item-summary {
99487
+ display: flex;
99488
+ box-sizing: border-box;
99489
+ height: calc(${controlHeight} + (2 * ${dividerWidth}));
99490
+ align-items: center;
99491
+ margin-left: 0;
99492
+ border: ${dividerWidth} solid transparent;
99493
+ outline: ${dividerWidth} solid transparent;
99494
+ outline-offset: -1px;
99495
+ list-style: none;
99496
+ cursor: pointer;
99497
+ ${userSelectNone}
99498
+ transition:
99499
+ border-color ${smallDelay} ease-in,
99500
+ outline-color ${smallDelay} ease-in;
99501
+ }
99502
+
99503
+ .accordion-item-details > .accordion-item-summary::-webkit-details-marker {
99504
+ display: none;
99505
+ }
99506
+
99507
+ .accordion-item-details > .accordion-item-summary::marker {
99508
+ content: "";
99509
+ }
99510
+
99511
+ .accordion-item-icon {
99512
+ transition: transform ${mediumDelay} ease-in;
99513
+ margin: calc(${smallPadding} - ${borderWidth});
99514
+ min-width: ${iconSize};
99515
+ }
99516
+
99517
+ .accordion-item-details[open] > .accordion-item-summary > .accordion-item-icon {
99518
+ transform: rotate(90deg);
99519
+ }
99520
+
99521
+ .accordion-item-title {
99522
+ flex: 1;
99523
+ width: 100%;
99524
+ position: relative;
99525
+ font: ${bodyPlus1EmphasizedFont};
99526
+ color: ${bodyPlus1EmphasizedFontColor};
99527
+ text-align: left;
99528
+ display: block;
99529
+ /* Preserve descenders within the ellipsis clip region without shifting the text. */
99530
+ padding-bottom: 2px;
99531
+ margin-bottom: -2px;
99532
+ text-overflow: ellipsis;
99533
+ overflow: hidden;
99534
+ white-space: nowrap;
99535
+ overflow-wrap: normal;
99536
+ }
99537
+
99538
+ .accordion-item-content {
99539
+ display: flex;
99540
+ flex-direction: column;
99541
+ gap: ${standardPadding};
99542
+ margin-left: ${largePadding};
99543
+ margin-top: ${mediumPadding};
99544
+ padding-bottom: ${standardPadding};
99545
+ }
99546
+ }
99547
+
99548
+ @layer hover {
99549
+ .accordion-item-details > .accordion-item-summary:hover {
99550
+ border-color: ${borderHoverColor};
99551
+ }
99552
+ }
99553
+
99554
+ @layer focusVisible {
99555
+ .accordion-item-details > .accordion-item-summary:focus-visible {
99556
+ outline: 2px solid ${borderHoverColor};
99557
+ outline-offset: -2px;
99558
+ }
99559
+ }
99560
+ `.withBehaviors(appearanceBehavior(FvAccordionItemAppearance.outline, css `
99561
+ @layer base {
99562
+ :host {
99563
+ border-bottom: ${dividerWidth} solid rgba(${borderRgbPartialColor}, 0.2);
99564
+ border-bottom-color: rgba(${borderRgbPartialColor}, 0.2);
99565
+ }
99566
+ }
99567
+ `), appearanceBehavior(FvAccordionItemAppearance.block, css `
99568
+ @layer base {
99569
+ .accordion-item-details > .accordion-item-summary {
99570
+ background-color: rgba(${borderRgbPartialColor}, 0.1);
99571
+ }
99572
+ }
99573
+
99574
+ @layer hover {
99575
+ .accordion-item-details > .accordion-item-summary:hover {
99576
+ border-color: transparent;
99577
+ outline-color: ${borderHoverColor};
99578
+ }
99579
+ }
99580
+ `));
99581
+
99582
+ const arrowExpanderRightTag = iconArrowExpanderRightTag;
99583
+ const template$2 = html `
99584
+ <details
99585
+ class="accordion-item-details"
99586
+ ?open="${x => x.expanded}"
99587
+ @toggle="${(x, c) => x.handleToggle(c.event)}"
99588
+ >
99589
+ <summary
99590
+ class="accordion-item-summary"
99591
+ aria-expanded="${x => x.expanded}"
99592
+ >
99593
+ <${arrowExpanderRightTag}
99594
+ class="accordion-item-icon"
99595
+ ></${arrowExpanderRightTag}>
99596
+ <span class="accordion-item-title" title="${x => x.header}">
99597
+ ${x => x.header}
99598
+ </span>
99599
+ </summary>
99600
+ <div class="accordion-item-content">
99601
+ <slot></slot>
99602
+ </div>
99603
+ </details>
99604
+ `;
99605
+
99606
+ /**
99607
+ * An accordion item component that can be expanded or collapsed to
99608
+ * show or hide its content.
99609
+ */
99610
+ class FvAccordionItem extends FoundationElement {
99611
+ constructor() {
99612
+ super(...arguments);
99613
+ this.header = '';
99614
+ this.expanded = false;
99615
+ this.appearance = FvAccordionItemAppearance.ghost;
99616
+ }
99617
+ handleToggle(event) {
99618
+ this.expanded = event.target.open;
99619
+ return true;
99620
+ }
99621
+ }
99622
+ __decorate([
99623
+ attr
99624
+ ], FvAccordionItem.prototype, "header", void 0);
99625
+ __decorate([
99626
+ attr({ mode: 'boolean' })
99627
+ ], FvAccordionItem.prototype, "expanded", void 0);
99628
+ __decorate([
99629
+ attr()
99630
+ ], FvAccordionItem.prototype, "appearance", void 0);
99631
+ const okFvAccordionItem = FvAccordionItem.compose({
99632
+ baseName: 'fv-accordion-item',
99633
+ template: template$2,
99634
+ styles: styles$2
99635
+ });
99636
+ DesignSystem.getOrCreate()
99637
+ .withPrefix('ok')
99638
+ .register(okFvAccordionItem());
99639
+
99312
99640
  const styles$1 = css `
99313
99641
  ${display('inline-block')}
99314
99642
 
@@ -99348,15 +99676,6 @@ focus outline in that case.
99348
99676
  });
99349
99677
  DesignSystem.getOrCreate().withPrefix('ok').register(okButton());
99350
99678
 
99351
- /**
99352
- * Set user-select: none in a way that works across all supported browsers.
99353
- * https://developer.mozilla.org/en-US/docs/Web/CSS/user-select#browser_compatibility
99354
- */
99355
- const userSelectNone = cssPartial `
99356
- user-select: none;
99357
- -webkit-user-select: none;
99358
- `;
99359
-
99360
99679
  const styles = css `
99361
99680
  ${display('inline-flex')}
99362
99681