@ni/nimble-components 19.6.1 → 19.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/all-components-bundle.js +160 -120
  2. package/dist/all-components-bundle.js.map +1 -1
  3. package/dist/all-components-bundle.min.js +656 -632
  4. package/dist/all-components-bundle.min.js.map +1 -1
  5. package/dist/esm/all-components.d.ts +1 -0
  6. package/dist/esm/all-components.js +1 -0
  7. package/dist/esm/all-components.js.map +1 -1
  8. package/dist/esm/anchor-menu-item/styles.js +1 -1
  9. package/dist/esm/anchor-tabs/styles.js +4 -0
  10. package/dist/esm/anchor-tabs/styles.js.map +1 -1
  11. package/dist/esm/anchor-tree-item/styles.js +3 -6
  12. package/dist/esm/anchor-tree-item/styles.js.map +1 -1
  13. package/dist/esm/breadcrumb-item/styles.js +4 -6
  14. package/dist/esm/breadcrumb-item/styles.js.map +1 -1
  15. package/dist/esm/card-button/styles.js +2 -2
  16. package/dist/esm/list-option/styles.js +8 -0
  17. package/dist/esm/list-option/styles.js.map +1 -1
  18. package/dist/esm/menu-item/styles.js +1 -1
  19. package/dist/esm/number-field/styles.js +1 -1
  20. package/dist/esm/patterns/dropdown/styles.js +5 -1
  21. package/dist/esm/patterns/dropdown/styles.js.map +1 -1
  22. package/dist/esm/rich-text-editor/index.d.ts +12 -0
  23. package/dist/esm/rich-text-editor/index.js +18 -0
  24. package/dist/esm/rich-text-editor/index.js.map +1 -0
  25. package/dist/esm/rich-text-editor/styles.d.ts +1 -0
  26. package/dist/esm/rich-text-editor/styles.js +12 -0
  27. package/dist/esm/rich-text-editor/styles.js.map +1 -0
  28. package/dist/esm/rich-text-editor/template.d.ts +2 -0
  29. package/dist/esm/rich-text-editor/template.js +5 -0
  30. package/dist/esm/rich-text-editor/template.js.map +1 -0
  31. package/dist/esm/select/styles.js +1 -1
  32. package/dist/esm/src/all-components.d.ts +1 -0
  33. package/dist/esm/src/rich-text-editor/index.d.ts +12 -0
  34. package/dist/esm/src/rich-text-editor/styles.d.ts +1 -0
  35. package/dist/esm/src/rich-text-editor/template.d.ts +2 -0
  36. package/dist/esm/tabs/styles.js +4 -0
  37. package/dist/esm/tabs/styles.js.map +1 -1
  38. package/dist/esm/tree-item/styles.js +3 -6
  39. package/dist/esm/tree-item/styles.js.map +1 -1
  40. package/package.json +1 -1
@@ -16232,7 +16232,7 @@
16232
16232
 
16233
16233
  /**
16234
16234
  * Do not edit directly
16235
- * Generated on Fri, 14 Jul 2023 21:58:02 GMT
16235
+ * Generated on Mon, 17 Jul 2023 16:01:38 GMT
16236
16236
  */
16237
16237
  const Information100DarkUi = "#a46eff";
16238
16238
  const Information100LightUi = "#804ad9";
@@ -16604,9 +16604,9 @@
16604
16604
  return `${prefix}${uniqueIdCounter++}`;
16605
16605
  }
16606
16606
 
16607
- const template$v = html `<slot></slot>`;
16607
+ const template$w = html `<slot></slot>`;
16608
16608
 
16609
- const styles$Q = css `
16609
+ const styles$R = css `
16610
16610
  :host {
16611
16611
  display: contents;
16612
16612
  }
@@ -16662,8 +16662,8 @@
16662
16662
  ], ThemeProvider.prototype, "theme", void 0);
16663
16663
  const nimbleDesignSystemProvider = ThemeProvider.compose({
16664
16664
  baseName: 'theme-provider',
16665
- styles: styles$Q,
16666
- template: template$v
16665
+ styles: styles$R,
16666
+ template: template$w
16667
16667
  });
16668
16668
  DesignSystem.getOrCreate()
16669
16669
  .withPrefix('nimble')
@@ -16848,7 +16848,7 @@
16848
16848
  }
16849
16849
  }
16850
16850
 
16851
- const styles$P = css `
16851
+ const styles$Q = css `
16852
16852
  ${display('inline')}
16853
16853
 
16854
16854
  :host {
@@ -16931,7 +16931,7 @@
16931
16931
  `;
16932
16932
 
16933
16933
  // prettier-ignore
16934
- const template$u = (context, definition) => html `
16934
+ const template$v = (context, definition) => html `
16935
16935
  <a
16936
16936
  class="control"
16937
16937
  part="control"
@@ -17005,8 +17005,8 @@
17005
17005
  const nimbleAnchor = Anchor.compose({
17006
17006
  baseName: 'anchor',
17007
17007
  baseClass: Anchor$1,
17008
- template: template$u,
17009
- styles: styles$P,
17008
+ template: template$v,
17009
+ styles: styles$Q,
17010
17010
  shadowOptions: {
17011
17011
  delegatesFocus: true
17012
17012
  }
@@ -17092,7 +17092,7 @@
17092
17092
  return new MultivaluePropertyStyleSheetBehavior('appearance', value, styles);
17093
17093
  }
17094
17094
 
17095
- const styles$O = css `
17095
+ const styles$P = css `
17096
17096
  ${display('inline-flex')}
17097
17097
 
17098
17098
  :host {
@@ -17389,8 +17389,8 @@
17389
17389
  }
17390
17390
  `));
17391
17391
 
17392
- const styles$N = css `
17393
- ${styles$O}
17392
+ const styles$O = css `
17393
+ ${styles$P}
17394
17394
  ${buttonAppearanceVariantStyles}
17395
17395
 
17396
17396
  .control {
@@ -17398,7 +17398,7 @@
17398
17398
  }
17399
17399
  `;
17400
17400
 
17401
- const template$t = (context, definition) => html `
17401
+ const template$u = (context, definition) => html `
17402
17402
  <a
17403
17403
  class="control"
17404
17404
  part="control"
@@ -17480,8 +17480,8 @@
17480
17480
  ], AnchorButton.prototype, "disabled", void 0);
17481
17481
  const nimbleAnchorButton = AnchorButton.compose({
17482
17482
  baseName: 'anchor-button',
17483
- template: template$t,
17484
- styles: styles$N,
17483
+ template: template$u,
17484
+ styles: styles$O,
17485
17485
  shadowOptions: {
17486
17486
  delegatesFocus: true
17487
17487
  }
@@ -17489,7 +17489,7 @@
17489
17489
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
17490
17490
  DesignSystem.tagFor(AnchorButton);
17491
17491
 
17492
- const styles$M = css `
17492
+ const styles$N = css `
17493
17493
  ${display('grid')}
17494
17494
 
17495
17495
  :host {
@@ -17553,7 +17553,7 @@
17553
17553
  height: ${iconSize};
17554
17554
  }
17555
17555
 
17556
- :host(.indent-1) .start {
17556
+ :host(.indent-1) [part='start'] {
17557
17557
  grid-column: 1;
17558
17558
  }
17559
17559
 
@@ -17566,7 +17566,7 @@
17566
17566
  }
17567
17567
  `;
17568
17568
 
17569
- const template$s = (context, definition) => html `
17569
+ const template$t = (context, definition) => html `
17570
17570
  <template
17571
17571
  role="menuitem"
17572
17572
  class="${x => (typeof x.startColumnCount === 'number'
@@ -17672,8 +17672,8 @@
17672
17672
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
17673
17673
  const nimbleAnchorMenuItem = AnchorMenuItem.compose({
17674
17674
  baseName: 'anchor-menu-item',
17675
- template: template$s,
17676
- styles: styles$M,
17675
+ template: template$t,
17676
+ styles: styles$N,
17677
17677
  shadowOptions: {
17678
17678
  delegatesFocus: true
17679
17679
  }
@@ -17697,7 +17697,7 @@
17697
17697
  }
17698
17698
  });
17699
17699
 
17700
- const styles$L = css `
17700
+ const styles$M = css `
17701
17701
  ${display('inline-flex')}
17702
17702
 
17703
17703
  :host {
@@ -17803,8 +17803,8 @@
17803
17803
  }
17804
17804
  `;
17805
17805
 
17806
- const styles$K = css `
17807
- ${styles$L}
17806
+ const styles$L = css `
17807
+ ${styles$M}
17808
17808
 
17809
17809
  a {
17810
17810
  text-decoration: none;
@@ -17822,7 +17822,7 @@
17822
17822
  }
17823
17823
  `;
17824
17824
 
17825
- const template$r = (context, definition) => html `
17825
+ const template$s = (context, definition) => html `
17826
17826
  <template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
17827
17827
  <a
17828
17828
  download="${x => x.download}"
@@ -17875,13 +17875,13 @@
17875
17875
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
17876
17876
  const nimbleAnchorTab = AnchorTab.compose({
17877
17877
  baseName: 'anchor-tab',
17878
- template: template$r,
17879
- styles: styles$K
17878
+ template: template$s,
17879
+ styles: styles$L
17880
17880
  });
17881
17881
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
17882
17882
  DesignSystem.tagFor(AnchorTab);
17883
17883
 
17884
- const styles$J = css `
17884
+ const styles$K = css `
17885
17885
  ${display('grid')}
17886
17886
 
17887
17887
  :host {
@@ -17890,6 +17890,10 @@
17890
17890
  grid-template-rows: auto 1fr;
17891
17891
  }
17892
17892
 
17893
+ [part='start'] {
17894
+ display: none;
17895
+ }
17896
+
17893
17897
  .tablist {
17894
17898
  display: grid;
17895
17899
  grid-template-rows: auto auto;
@@ -17899,7 +17903,7 @@
17899
17903
  }
17900
17904
  `;
17901
17905
 
17902
- const template$q = (context, definition) => html `
17906
+ const template$r = (context, definition) => html `
17903
17907
  ${startSlotTemplate(context, definition)}
17904
17908
  <div ${ref('tablist')} class="tablist" part="tablist" role="tablist">
17905
17909
  <slot name="anchortab" ${slotted('tabs')}></slot>
@@ -18096,8 +18100,8 @@
18096
18100
  applyMixins(AnchorTabs, StartEnd);
18097
18101
  const nimbleAnchorTabs = AnchorTabs.compose({
18098
18102
  baseName: 'anchor-tabs',
18099
- template: template$q,
18100
- styles: styles$J,
18103
+ template: template$r,
18104
+ styles: styles$K,
18101
18105
  shadowOptions: {
18102
18106
  delegatesFocus: false
18103
18107
  }
@@ -18114,7 +18118,7 @@
18114
18118
  -webkit-user-select: none;
18115
18119
  `;
18116
18120
 
18117
- const styles$I = css `
18121
+ const styles$J = css `
18118
18122
  ${display('block')}
18119
18123
 
18120
18124
  :host {
@@ -18193,7 +18197,7 @@
18193
18197
 
18194
18198
  ${
18195
18199
  /* this rule keeps children without an icon text aligned with parents */ ''}
18196
- span[part="start"] {
18200
+ [part="start"] {
18197
18201
  width: ${iconSize};
18198
18202
  }
18199
18203
 
@@ -18210,15 +18214,12 @@
18210
18214
  height: ${iconSize};
18211
18215
  }
18212
18216
 
18213
- ${ /* the end class is applied when the corresponding slot is filled */''}
18214
- .end {
18215
- display: flex;
18216
- fill: currentcolor;
18217
- margin-inline-start: ${iconSize};
18217
+ [part='end'] {
18218
+ display: none;
18218
18219
  }
18219
18220
  `;
18220
18221
 
18221
- const template$p = (context, definition) => html `
18222
+ const template$q = (context, definition) => html `
18222
18223
  <template
18223
18224
  role="treeitem"
18224
18225
  slot="${x => (x.isNestedItem() ? 'item' : null)}"
@@ -18355,8 +18356,8 @@
18355
18356
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
18356
18357
  const nimbleAnchorTreeItem = AnchorTreeItem.compose({
18357
18358
  baseName: 'anchor-tree-item',
18358
- template: template$p,
18359
- styles: styles$I,
18359
+ template: template$q,
18360
+ styles: styles$J,
18360
18361
  shadowOptions: {
18361
18362
  delegatesFocus: true
18362
18363
  }
@@ -18366,7 +18367,7 @@
18366
18367
  .register(nimbleAnchorTreeItem());
18367
18368
  DesignSystem.tagFor(AnchorTreeItem);
18368
18369
 
18369
- const styles$H = css `
18370
+ const styles$I = css `
18370
18371
  :host {
18371
18372
  contain: layout;
18372
18373
  display: block;
@@ -18390,7 +18391,7 @@
18390
18391
  baseName: 'anchored-region',
18391
18392
  baseClass: AnchoredRegion$1,
18392
18393
  template: anchoredRegionTemplate,
18393
- styles: styles$H
18394
+ styles: styles$I
18394
18395
  });
18395
18396
  DesignSystem.getOrCreate()
18396
18397
  .withPrefix('nimble')
@@ -18470,7 +18471,7 @@
18470
18471
  */
18471
18472
  const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
18472
18473
 
18473
- const styles$G = css `
18474
+ const styles$H = css `
18474
18475
  ${display('flex')}
18475
18476
 
18476
18477
  :host {
@@ -18628,8 +18629,8 @@
18628
18629
  }
18629
18630
  `));
18630
18631
 
18631
- const styles$F = css `
18632
- ${styles$O}
18632
+ const styles$G = css `
18633
+ ${styles$P}
18633
18634
  ${buttonAppearanceVariantStyles}
18634
18635
  `;
18635
18636
 
@@ -18675,7 +18676,7 @@
18675
18676
  baseName: 'button',
18676
18677
  baseClass: Button$1,
18677
18678
  template: buttonTemplate,
18678
- styles: styles$F,
18679
+ styles: styles$G,
18679
18680
  shadowOptions: {
18680
18681
  delegatesFocus: true
18681
18682
  }
@@ -19333,13 +19334,13 @@
19333
19334
  data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.033 14.026 4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363Zm1.155-10.68-1.321-1.32-2.312 2.311-2.311-2.311-1.321 1.32 2.311 2.312L1.923 7.97l1.32 1.32 2.312-2.31 2.312 2.31 1.32-1.32-2.31-2.312Z"/></svg>`
19334
19335
  };
19335
19336
 
19336
- const template$o = html `
19337
+ const template$p = html `
19337
19338
  <template>
19338
19339
  <div class="icon" :innerHTML=${x => x.icon.data}></div>
19339
19340
  </template
19340
19341
  `;
19341
19342
 
19342
- const styles$E = css `
19343
+ const styles$F = css `
19343
19344
  ${display('inline-flex')}
19344
19345
 
19345
19346
  :host {
@@ -19392,8 +19393,8 @@
19392
19393
  const registerIcon = (baseName, iconClass) => {
19393
19394
  const composedIcon = iconClass.compose({
19394
19395
  baseName,
19395
- template: template$o,
19396
- styles: styles$E,
19396
+ template: template$p,
19397
+ styles: styles$F,
19397
19398
  baseClass: iconClass
19398
19399
  });
19399
19400
  DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
@@ -19478,7 +19479,7 @@
19478
19479
  }).withDefault(coreLabelDefaults.numericIncrementLabel);
19479
19480
 
19480
19481
  // prettier-ignore
19481
- const template$n = html `
19482
+ const template$o = html `
19482
19483
  <div class="container"
19483
19484
  role="status"
19484
19485
  aria-atomic="${x => x.ariaAtomic}"
@@ -19597,13 +19598,13 @@
19597
19598
  applyMixins(Banner, ARIAGlobalStatesAndProperties);
19598
19599
  const nimbleBanner = Banner.compose({
19599
19600
  baseName: 'banner',
19600
- template: template$n,
19601
- styles: styles$G
19601
+ template: template$o,
19602
+ styles: styles$H
19602
19603
  });
19603
19604
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
19604
19605
  DesignSystem.tagFor(Banner);
19605
19606
 
19606
- const styles$D = css `
19607
+ const styles$E = css `
19607
19608
  ${display('inline-block')}
19608
19609
 
19609
19610
  :host {
@@ -19644,12 +19645,12 @@
19644
19645
  baseName: 'breadcrumb',
19645
19646
  baseClass: Breadcrumb$1,
19646
19647
  template: breadcrumbTemplate,
19647
- styles: styles$D
19648
+ styles: styles$E
19648
19649
  });
19649
19650
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
19650
19651
  DesignSystem.tagFor(Breadcrumb);
19651
19652
 
19652
- const styles$C = css `
19653
+ const styles$D = css `
19653
19654
  ${display('inline-flex')}
19654
19655
 
19655
19656
  :host {
@@ -19694,14 +19695,12 @@
19694
19695
  text-decoration: underline;
19695
19696
  }
19696
19697
 
19697
- .start,
19698
- .end {
19699
- display: flex;
19700
- align-items: center;
19698
+ [part='start'] {
19699
+ display: none;
19701
19700
  }
19702
19701
 
19703
- .start {
19704
- margin-inline-end: 4px;
19702
+ [part='end'] {
19703
+ display: none;
19705
19704
  }
19706
19705
 
19707
19706
  slot[name='separator'] {
@@ -19725,7 +19724,7 @@
19725
19724
  baseName: 'breadcrumb-item',
19726
19725
  baseClass: BreadcrumbItem$1,
19727
19726
  template: breadcrumbItemTemplate,
19728
- styles: styles$C,
19727
+ styles: styles$D,
19729
19728
  separator: forwardSlash16X16.data
19730
19729
  });
19731
19730
  DesignSystem.getOrCreate()
@@ -19733,7 +19732,7 @@
19733
19732
  .register(nimbleBreadcrumbItem());
19734
19733
  DesignSystem.tagFor(BreadcrumbItem);
19735
19734
 
19736
- const styles$B = css `
19735
+ const styles$C = css `
19737
19736
  ${display('inline-flex')}
19738
19737
 
19739
19738
  :host {
@@ -19833,11 +19832,11 @@
19833
19832
  display: contents;
19834
19833
  }
19835
19834
 
19836
- slot[name='start'] {
19835
+ [part='start'] {
19837
19836
  display: none;
19838
19837
  }
19839
19838
 
19840
- slot[name='end'] {
19839
+ [part='end'] {
19841
19840
  display: none;
19842
19841
  }
19843
19842
  `.withBehaviors(themeBehavior(Theme.light, css `
@@ -19892,7 +19891,7 @@
19892
19891
  const nimbleCardButton = CardButton.compose({
19893
19892
  baseName: 'card-button',
19894
19893
  template: buttonTemplate,
19895
- styles: styles$B,
19894
+ styles: styles$C,
19896
19895
  shadowOptions: {
19897
19896
  delegatesFocus: true
19898
19897
  }
@@ -19900,7 +19899,7 @@
19900
19899
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
19901
19900
  DesignSystem.tagFor(CardButton);
19902
19901
 
19903
- const styles$A = css `
19902
+ const styles$B = css `
19904
19903
  ${display('inline-flex')}
19905
19904
 
19906
19905
  :host {
@@ -20018,15 +20017,15 @@
20018
20017
  baseName: 'checkbox',
20019
20018
  baseClass: Checkbox$1,
20020
20019
  template: checkboxTemplate,
20021
- styles: styles$A,
20020
+ styles: styles$B,
20022
20021
  checkedIndicator: check16X16.data,
20023
20022
  indeterminateIndicator: minus16X16.data
20024
20023
  });
20025
20024
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
20026
20025
  const checkboxTag = DesignSystem.tagFor(Checkbox);
20027
20026
 
20028
- const styles$z = css `
20029
- ${styles$O}
20027
+ const styles$A = css `
20028
+ ${styles$P}
20030
20029
 
20031
20030
  .control[aria-pressed='true'] {
20032
20031
  background-color: ${fillSelectedColor};
@@ -20106,7 +20105,7 @@
20106
20105
  }
20107
20106
  `;
20108
20107
 
20109
- const template$m = (context, definition) => html `
20108
+ const template$n = (context, definition) => html `
20110
20109
  <div
20111
20110
  role="button"
20112
20111
  part="control"
@@ -20181,8 +20180,8 @@
20181
20180
  applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
20182
20181
  const nimbleToggleButton = ToggleButton.compose({
20183
20182
  baseName: 'toggle-button',
20184
- template: template$m,
20185
- styles: styles$z,
20183
+ template: template$n,
20184
+ styles: styles$A,
20186
20185
  shadowOptions: {
20187
20186
  delegatesFocus: true
20188
20187
  }
@@ -20218,7 +20217,7 @@
20218
20217
  block: 'block'
20219
20218
  };
20220
20219
 
20221
- const styles$y = css `
20220
+ const styles$z = css `
20222
20221
  ${display('inline-flex')}
20223
20222
 
20224
20223
  :host {
@@ -20294,6 +20293,10 @@
20294
20293
  width: 0px;
20295
20294
  }
20296
20295
 
20296
+ [part='start'] {
20297
+ display: none;
20298
+ }
20299
+
20297
20300
  .control {
20298
20301
  align-items: center;
20299
20302
  box-sizing: border-box;
@@ -20399,7 +20402,7 @@
20399
20402
  fill: ${bodyDisabledFontColor};
20400
20403
  }
20401
20404
 
20402
- .end {
20405
+ [part='end'] {
20403
20406
  margin-inline-start: auto;
20404
20407
  }
20405
20408
 
@@ -20440,7 +20443,7 @@
20440
20443
  }
20441
20444
  `));
20442
20445
 
20443
- const styles$x = css `
20446
+ const styles$y = css `
20444
20447
  .error-icon {
20445
20448
  display: none;
20446
20449
  }
@@ -20474,9 +20477,9 @@
20474
20477
  }
20475
20478
  `;
20476
20479
 
20477
- const styles$w = css `
20480
+ const styles$x = css `
20481
+ ${styles$z}
20478
20482
  ${styles$y}
20479
- ${styles$x}
20480
20483
 
20481
20484
  :host {
20482
20485
  --ni-private-hover-bottom-border-width: 2px;
@@ -20557,7 +20560,7 @@
20557
20560
  `));
20558
20561
 
20559
20562
  // prettier-ignore
20560
- const template$l = (context, definition) => html `
20563
+ const template$m = (context, definition) => html `
20561
20564
  <template
20562
20565
  aria-disabled="${x => x.ariaDisabled}"
20563
20566
  autocomplete="${x => x.autocomplete}"
@@ -20828,8 +20831,8 @@
20828
20831
  const nimbleCombobox = Combobox.compose({
20829
20832
  baseName: 'combobox',
20830
20833
  baseClass: Combobox$1,
20831
- template: template$l,
20832
- styles: styles$w,
20834
+ template: template$m,
20835
+ styles: styles$x,
20833
20836
  shadowOptions: {
20834
20837
  delegatesFocus: true
20835
20838
  },
@@ -20874,7 +20877,7 @@
20874
20877
  */
20875
20878
  const UserDismissed = Symbol('user dismissed');
20876
20879
 
20877
- const styles$v = css `
20880
+ const styles$w = css `
20878
20881
  ${display('grid')}
20879
20882
 
20880
20883
  dialog {
@@ -20990,7 +20993,7 @@
20990
20993
  }
20991
20994
  `));
20992
20995
 
20993
- const template$k = html `
20996
+ const template$l = html `
20994
20997
  <template>
20995
20998
  <dialog
20996
20999
  ${ref('dialogElement')}
@@ -21116,14 +21119,14 @@
21116
21119
  applyMixins(Dialog, ARIAGlobalStatesAndProperties);
21117
21120
  const nimbleDialog = Dialog.compose({
21118
21121
  baseName: 'dialog',
21119
- template: template$k,
21120
- styles: styles$v,
21122
+ template: template$l,
21123
+ styles: styles$w,
21121
21124
  baseClass: Dialog
21122
21125
  });
21123
21126
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
21124
21127
  DesignSystem.tagFor(Dialog);
21125
21128
 
21126
- const styles$u = css `
21129
+ const styles$v = css `
21127
21130
  ${display('block')}
21128
21131
 
21129
21132
  :host {
@@ -21276,7 +21279,7 @@
21276
21279
  }
21277
21280
  `));
21278
21281
 
21279
- const template$j = html `
21282
+ const template$k = html `
21280
21283
  <dialog
21281
21284
  ${ref('dialog')}
21282
21285
  aria-label="${x => x.ariaLabel}"
@@ -21390,8 +21393,8 @@
21390
21393
  applyMixins(Drawer, ARIAGlobalStatesAndProperties);
21391
21394
  const nimbleDrawer = Drawer.compose({
21392
21395
  baseName: 'drawer',
21393
- template: template$j,
21394
- styles: styles$u
21396
+ template: template$k,
21397
+ styles: styles$v
21395
21398
  });
21396
21399
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
21397
21400
  DesignSystem.tagFor(Drawer);
@@ -23431,7 +23434,7 @@
23431
23434
  .register(nimbleLabelProviderTable());
23432
23435
  DesignSystem.tagFor(LabelProviderTable);
23433
23436
 
23434
- const styles$t = css `
23437
+ const styles$u = css `
23435
23438
  ${display('flex')}
23436
23439
 
23437
23440
  :host {
@@ -23441,6 +23444,10 @@
23441
23444
  height: ${controlHeight};
23442
23445
  }
23443
23446
 
23447
+ [part='start'] {
23448
+ display: none;
23449
+ }
23450
+
23444
23451
  .content {
23445
23452
  padding: 8px 4px;
23446
23453
  }
@@ -23485,6 +23492,10 @@
23485
23492
  box-shadow: none;
23486
23493
  outline: none;
23487
23494
  }
23495
+
23496
+ [part='end'] {
23497
+ display: none;
23498
+ }
23488
23499
  `;
23489
23500
 
23490
23501
  /**
@@ -23511,12 +23522,12 @@
23511
23522
  baseName: 'list-option',
23512
23523
  baseClass: ListboxOption,
23513
23524
  template: listboxOptionTemplate,
23514
- styles: styles$t
23525
+ styles: styles$u
23515
23526
  });
23516
23527
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
23517
23528
  DesignSystem.tagFor(ListOption);
23518
23529
 
23519
- const styles$s = css `
23530
+ const styles$t = css `
23520
23531
  ${display('grid')}
23521
23532
 
23522
23533
  :host {
@@ -23583,12 +23594,12 @@
23583
23594
  baseName: 'menu',
23584
23595
  baseClass: Menu$1,
23585
23596
  template: menuTemplate,
23586
- styles: styles$s
23597
+ styles: styles$t
23587
23598
  });
23588
23599
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
23589
23600
  DesignSystem.tagFor(Menu);
23590
23601
 
23591
- const styles$r = css `
23602
+ const styles$s = css `
23592
23603
  ${display('inline-block')}
23593
23604
 
23594
23605
  :host {
@@ -23607,7 +23618,7 @@
23607
23618
  `;
23608
23619
 
23609
23620
  // prettier-ignore
23610
- const template$i = html `
23621
+ const template$j = html `
23611
23622
  <template
23612
23623
  ?open="${x => x.open}"
23613
23624
  @focusout="${(x, c) => x.focusoutHandler(c.event)}"
@@ -23862,8 +23873,8 @@
23862
23873
  ], MenuButton.prototype, "slottedMenus", void 0);
23863
23874
  const nimbleMenuButton = MenuButton.compose({
23864
23875
  baseName: 'menu-button',
23865
- template: template$i,
23866
- styles: styles$r,
23876
+ template: template$j,
23877
+ styles: styles$s,
23867
23878
  shadowOptions: {
23868
23879
  delegatesFocus: true
23869
23880
  }
@@ -23871,7 +23882,7 @@
23871
23882
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
23872
23883
  const menuButtonTag = DesignSystem.tagFor(MenuButton);
23873
23884
 
23874
- const styles$q = css `
23885
+ const styles$r = css `
23875
23886
  ${display('grid')}
23876
23887
 
23877
23888
  :host {
@@ -23931,7 +23942,7 @@
23931
23942
  width: ${iconSize};
23932
23943
  height: ${iconSize};
23933
23944
  }
23934
- :host(.indent-1) .start {
23945
+ :host(.indent-1) [part='start'] {
23935
23946
  grid-column: 1;
23936
23947
  }
23937
23948
  :host(.indent-1) .content {
@@ -23969,7 +23980,7 @@
23969
23980
  baseName: 'menu-item',
23970
23981
  baseClass: MenuItem$1,
23971
23982
  template: menuItemTemplate,
23972
- styles: styles$q,
23983
+ styles: styles$r,
23973
23984
  expandCollapseGlyph: arrowExpanderRight16X16.data
23974
23985
  });
23975
23986
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
@@ -23984,9 +23995,9 @@
23984
23995
  block: 'block'
23985
23996
  };
23986
23997
 
23987
- const styles$p = css `
23998
+ const styles$q = css `
23988
23999
  ${display('inline-block')}
23989
- ${styles$x}
24000
+ ${styles$y}
23990
24001
 
23991
24002
  :host {
23992
24003
  font: ${bodyFont};
@@ -24076,7 +24087,7 @@
24076
24087
  }
24077
24088
 
24078
24089
  [part='start'] {
24079
- display: contents;
24090
+ display: none;
24080
24091
  }
24081
24092
 
24082
24093
  .control {
@@ -24200,7 +24211,7 @@
24200
24211
  baseName: 'number-field',
24201
24212
  baseClass: NumberField$1,
24202
24213
  template: numberFieldTemplate,
24203
- styles: styles$p,
24214
+ styles: styles$q,
24204
24215
  shadowOptions: {
24205
24216
  delegatesFocus: true
24206
24217
  },
@@ -24242,7 +24253,7 @@
24242
24253
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
24243
24254
  DesignSystem.tagFor(NumberField);
24244
24255
 
24245
- const styles$o = css `
24256
+ const styles$p = css `
24246
24257
  ${display('inline-flex')}
24247
24258
 
24248
24259
  :host {
@@ -24343,13 +24354,13 @@
24343
24354
  baseName: 'radio',
24344
24355
  baseClass: Radio$1,
24345
24356
  template: radioTemplate,
24346
- styles: styles$o,
24357
+ styles: styles$p,
24347
24358
  checkedIndicator: circleFilled16X16.data
24348
24359
  });
24349
24360
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
24350
24361
  DesignSystem.tagFor(Radio);
24351
24362
 
24352
- const styles$n = css `
24363
+ const styles$o = css `
24353
24364
  ${display('inline-block')}
24354
24365
 
24355
24366
  .positioning-region {
@@ -24384,7 +24395,7 @@
24384
24395
  baseName: 'radio-group',
24385
24396
  baseClass: RadioGroup$1,
24386
24397
  template: radioGroupTemplate,
24387
- styles: styles$n,
24398
+ styles: styles$o,
24388
24399
  shadowOptions: {
24389
24400
  delegatesFocus: true
24390
24401
  }
@@ -24392,6 +24403,34 @@
24392
24403
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadioGroup());
24393
24404
  DesignSystem.tagFor(RadioGroup);
24394
24405
 
24406
+ const template$i = html `
24407
+ <template> Rich Text Editor here. </template>
24408
+ `;
24409
+
24410
+ const styles$n = css `
24411
+ ${display('flex')}
24412
+
24413
+ :host {
24414
+ font: ${bodyFont};
24415
+ color: ${bodyFontColor};
24416
+ }
24417
+ `;
24418
+
24419
+ /**
24420
+ * A nimble styled rich text editor
24421
+ */
24422
+ class RichTextEditor extends FoundationElement {
24423
+ }
24424
+ const nimbleRichTextEditor = RichTextEditor.compose({
24425
+ baseName: 'rich-text-editor',
24426
+ template: template$i,
24427
+ styles: styles$n
24428
+ });
24429
+ DesignSystem.getOrCreate()
24430
+ .withPrefix('nimble')
24431
+ .register(nimbleRichTextEditor());
24432
+ DesignSystem.tagFor(RichTextEditor);
24433
+
24395
24434
  const template$h = html `
24396
24435
  <template> Rich Text Viewer here. </template>
24397
24436
  `;
@@ -24421,8 +24460,8 @@
24421
24460
  DesignSystem.tagFor(RichTextViewer);
24422
24461
 
24423
24462
  const styles$l = css `
24463
+ ${styles$z}
24424
24464
  ${styles$y}
24425
- ${styles$x}
24426
24465
 
24427
24466
  ${
24428
24467
  /* We are using flex `order` to define the visual ordering of the selected value,
@@ -24439,7 +24478,7 @@
24439
24478
  order: 2;
24440
24479
  }
24441
24480
 
24442
- .end {
24481
+ [part='end'] {
24443
24482
  display: contents;
24444
24483
  }
24445
24484
  `.withBehaviors(appearanceBehavior(DropdownAppearance.block, css `
@@ -24993,7 +25032,7 @@
24993
25032
  baseName: 'tab',
24994
25033
  baseClass: Tab$1,
24995
25034
  template: tabTemplate,
24996
- styles: styles$L
25035
+ styles: styles$M
24997
25036
  });
24998
25037
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
24999
25038
  DesignSystem.tagFor(Tab);
@@ -32222,6 +32261,10 @@
32222
32261
  grid-template-rows: auto 1fr;
32223
32262
  }
32224
32263
 
32264
+ [part='start'] {
32265
+ display: none;
32266
+ }
32267
+
32225
32268
  .tablist {
32226
32269
  display: grid;
32227
32270
  grid-template-rows: auto auto;
@@ -32304,7 +32347,7 @@
32304
32347
 
32305
32348
  const styles$6 = css `
32306
32349
  ${display('inline-flex')}
32307
- ${styles$x}
32350
+ ${styles$y}
32308
32351
 
32309
32352
  :host {
32310
32353
  font: ${bodyFont};
@@ -32650,7 +32693,7 @@
32650
32693
 
32651
32694
  const styles$5 = css `
32652
32695
  ${display('inline-block')}
32653
- ${styles$x}
32696
+ ${styles$y}
32654
32697
 
32655
32698
  :host {
32656
32699
  font: ${bodyFont};
@@ -33312,7 +33355,7 @@
33312
33355
 
33313
33356
  ${
33314
33357
  /* this rule keeps children without an icon text aligned with parents */ ''}
33315
- span[part="start"] {
33358
+ [part="start"] {
33316
33359
  width: ${iconSize};
33317
33360
  }
33318
33361
 
@@ -33337,11 +33380,8 @@
33337
33380
  );
33338
33381
  }
33339
33382
 
33340
- ${ /* the end class is applied when the corresponding slots is filled */''}
33341
- .end {
33342
- display: flex;
33343
- fill: currentcolor;
33344
- margin-inline-start: ${iconSize};
33383
+ [part='end'] {
33384
+ display: none;
33345
33385
  }
33346
33386
 
33347
33387
  .items {