@ni/nimble-components 20.14.0 → 20.14.2

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.
@@ -16298,7 +16298,7 @@
16298
16298
 
16299
16299
  /**
16300
16300
  * Do not edit directly
16301
- * Generated on Fri, 03 Nov 2023 23:08:42 GMT
16301
+ * Generated on Sat, 11 Nov 2023 10:48:28 GMT
16302
16302
  */
16303
16303
 
16304
16304
  const Information100DarkUi = "#a46eff";
@@ -16474,6 +16474,7 @@
16474
16474
  dialogLargeWidth: 'dialog-large-width',
16475
16475
  dialogLargeHeight: 'dialog-large-height',
16476
16476
  dialogLargeMaxHeight: 'dialog-large-max-height',
16477
+ menuMinWidth: 'menu-min-width',
16477
16478
  bannerGapSize: 'banner-gap-size',
16478
16479
  spinnerSmallHeight: 'spinner-small-height',
16479
16480
  spinnerMediumHeight: 'spinner-medium-height',
@@ -16885,6 +16886,7 @@
16885
16886
  DesignToken.create(styleNameFromTokenName(tokenNames.dialogLargeWidth)).withDefault('1024px');
16886
16887
  DesignToken.create(styleNameFromTokenName(tokenNames.dialogLargeHeight)).withDefault('680px');
16887
16888
  DesignToken.create(styleNameFromTokenName(tokenNames.dialogLargeMaxHeight)).withDefault('680px');
16889
+ const menuMinWidth = DesignToken.create(styleNameFromTokenName(tokenNames.menuMinWidth)).withDefault('176px');
16888
16890
  DesignToken.create(styleNameFromTokenName(tokenNames.bannerGapSize)).withDefault('1px');
16889
16891
  const spinnerSmallHeight = DesignToken.create(styleNameFromTokenName(tokenNames.spinnerSmallHeight)).withDefault('16px');
16890
16892
  DesignToken.create(styleNameFromTokenName(tokenNames.spinnerMediumHeight)).withDefault('32px');
@@ -19960,14 +19962,15 @@
19960
19962
  display: contents;
19961
19963
  }
19962
19964
 
19963
- ::slotted([slot='title']) {
19965
+ slot[name='title'] {
19964
19966
  font: ${titleFont};
19965
19967
  color: ${titleFontColor};
19966
19968
  }
19967
19969
  `;
19968
19970
 
19969
19971
  const template$s = html `
19970
- <section aria-labelledby="title-slot">
19972
+ ${'' /* Explicitly set role to work around Lighthouse error. See https://github.com/ni/nimble/issues/1650. */}
19973
+ <section role="region" aria-labelledby="title-slot">
19971
19974
  <slot name="title" id="title-slot"></slot>
19972
19975
  <slot></slot>
19973
19976
  </section>
@@ -24206,7 +24209,7 @@
24206
24209
  background: ${applicationBackgroundColor};
24207
24210
  border: ${borderWidth} solid ${popupBorderColor};
24208
24211
  margin: 0;
24209
- min-width: 176px;
24212
+ min-width: ${menuMinWidth};
24210
24213
  width: max-content;
24211
24214
  box-shadow: ${elevation2BoxShadow};
24212
24215
  }