@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.
- package/dist/all-components-bundle.js +7 -4
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3217 -3214
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/card/styles.js +1 -1
- package/dist/esm/card/template.js +2 -1
- package/dist/esm/card/template.js.map +1 -1
- package/dist/esm/listbox/index.d.ts +12 -0
- package/dist/esm/listbox/index.js +15 -0
- package/dist/esm/listbox/index.js.map +1 -0
- package/dist/esm/listbox/styles.d.ts +1 -0
- package/dist/esm/listbox/styles.js +27 -0
- package/dist/esm/listbox/styles.js.map +1 -0
- package/dist/esm/menu/styles.js +2 -2
- package/dist/esm/menu/styles.js.map +1 -1
- package/dist/esm/theme-provider/design-token-comments.js +1 -0
- package/dist/esm/theme-provider/design-token-comments.js.map +1 -1
- package/dist/esm/theme-provider/design-token-names.d.ts +1 -1
- package/dist/esm/theme-provider/design-token-names.js +2 -0
- package/dist/esm/theme-provider/design-token-names.js.map +1 -1
- package/dist/esm/theme-provider/design-tokens.d.ts +1 -0
- package/dist/esm/theme-provider/design-tokens.js +1 -0
- package/dist/esm/theme-provider/design-tokens.js.map +1 -1
- package/dist/tokens-internal.scss +6 -0
- package/dist/tokens.scss +3 -0
- package/package.json +1 -1
|
@@ -16298,7 +16298,7 @@
|
|
|
16298
16298
|
|
|
16299
16299
|
/**
|
|
16300
16300
|
* Do not edit directly
|
|
16301
|
-
* Generated on
|
|
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
|
-
|
|
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
|
-
|
|
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:
|
|
24212
|
+
min-width: ${menuMinWidth};
|
|
24210
24213
|
width: max-content;
|
|
24211
24214
|
box-shadow: ${elevation2BoxShadow};
|
|
24212
24215
|
}
|