@ni/nimble-components 20.12.0 → 20.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +17 -3
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +2776 -2762
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/card/styles.js +10 -1
- package/dist/esm/card/styles.js.map +1 -1
- package/dist/esm/card/template.js +6 -1
- package/dist/esm/card/template.js.map +1 -1
- 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 Thu, 02 Nov 2023 17:05:25 GMT
|
|
16302
16302
|
*/
|
|
16303
16303
|
|
|
16304
16304
|
const Information100DarkUi = "#a46eff";
|
|
@@ -16886,7 +16886,7 @@
|
|
|
16886
16886
|
createFontTokens(tokenNames.headlinePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Headline2Family, Headline2Weight, Headline2Size, Headline2LineHeight, Headline2FallbackFontFamily);
|
|
16887
16887
|
createFontTokens(tokenNames.titlePlus2Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title3Family, Title3Weight, Title3Size, Title3LineHeight, Title3FallbackFontFamily);
|
|
16888
16888
|
const [titlePlus1Font, titlePlus1FontColor, titlePlus1DisabledFontColor, titlePlus1FontFamily, titlePlus1FontWeight, titlePlus1FontSize, titlePlus1FontLineHeight, titlePlus1FallbackFontFamily] = createFontTokens(tokenNames.titlePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title2Family, Title2Weight, Title2Size, Title2LineHeight, Title2FallbackFontFamily);
|
|
16889
|
-
createFontTokens(tokenNames.titleFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title1Family, Title1Weight, Title1Size, Title1LineHeight, Title1FallbackFontFamily);
|
|
16889
|
+
const [titleFont, titleFontColor, titleDisabledFontColor, titleFontFamily, titleFontWeight, titleFontSize, titleFontLineHeight, titleFallbackFontFamily] = createFontTokens(tokenNames.titleFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title1Family, Title1Weight, Title1Size, Title1LineHeight, Title1FallbackFontFamily);
|
|
16890
16890
|
createFontTokens(tokenNames.subtitlePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Subtitle2Family, Subtitle2Weight, Subtitle2Size, Subtitle2LineHeight, Subtitle2FallbackFontFamily);
|
|
16891
16891
|
const [subtitleFont, subtitleFontColor, subtitleDisabledFontColor, subtitleFontFamily, subtitleFontWeight, subtitleFontSize, subtitleFontLineHeight, subtitleFallbackFontFamily] = createFontTokens(tokenNames.subtitleFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Subtitle1Family, Subtitle1Weight, Subtitle1Size, Subtitle1LineHeight, Subtitle1FallbackFontFamily);
|
|
16892
16892
|
const [linkFont, linkFontColor, linkDisabledFontColor, linkFontFamily, linkFontWeight, linkFontSize, linkFontLineHeight, linkFallbackFontFamily] = createFontTokens(tokenNames.linkFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight, LinkFallbackFontFamily);
|
|
@@ -19935,9 +19935,23 @@
|
|
|
19935
19935
|
color: ${bodyFontColor};
|
|
19936
19936
|
background-color: ${sectionBackgroundColor};
|
|
19937
19937
|
}
|
|
19938
|
+
|
|
19939
|
+
section {
|
|
19940
|
+
display: contents;
|
|
19941
|
+
}
|
|
19942
|
+
|
|
19943
|
+
::slotted([slot='title']) {
|
|
19944
|
+
font: ${titleFont};
|
|
19945
|
+
color: ${titleFontColor};
|
|
19946
|
+
}
|
|
19938
19947
|
`;
|
|
19939
19948
|
|
|
19940
|
-
const template$s = html
|
|
19949
|
+
const template$s = html `
|
|
19950
|
+
<section aria-labelledby="title-slot">
|
|
19951
|
+
<slot name="title" id="title-slot"></slot>
|
|
19952
|
+
<slot></slot>
|
|
19953
|
+
</section>
|
|
19954
|
+
`;
|
|
19941
19955
|
|
|
19942
19956
|
/**
|
|
19943
19957
|
* A nimble-styled card
|