@ni/nimble-components 35.6.0 → 35.7.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.
- package/dist/all-components-bundle.js +7 -2
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +4927 -4927
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +374 -374
- package/dist/custom-elements.md +59 -59
- package/dist/esm/anchor-step/index.d.ts +1 -1
- package/dist/esm/anchor-step/index.js +2 -1
- package/dist/esm/anchor-step/index.js.map +1 -1
- package/dist/esm/step/index.d.ts +1 -1
- package/dist/esm/step/index.js +2 -1
- package/dist/esm/step/index.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.js +1 -0
- package/dist/esm/theme-provider/design-token-names.js.map +1 -1
- package/dist/esm/theme-provider/design-token-values.d.ts +1 -0
- package/dist/esm/theme-provider/design-token-values.js +1 -0
- package/dist/esm/theme-provider/design-token-values.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
|
@@ -14764,6 +14764,7 @@
|
|
|
14764
14764
|
const tokenNames = {
|
|
14765
14765
|
actionRgbPartialColor: 'action-rgb-partial-color',
|
|
14766
14766
|
applicationBackgroundColor: 'application-background-color',
|
|
14767
|
+
containerBackgroundColor: 'container-background-color',
|
|
14767
14768
|
dividerBackgroundColor: 'divider-background-color',
|
|
14768
14769
|
dividerBackgroundDynamicColor: 'divider-background-dynamic-color',
|
|
14769
14770
|
headerBackgroundColor: 'header-background-color',
|
|
@@ -16301,6 +16302,7 @@
|
|
|
16301
16302
|
const tokenValues = {
|
|
16302
16303
|
actionRgbPartialColor: hexToRgbPartialThemeColor(createThemeColor(Black91, Black15, White)),
|
|
16303
16304
|
applicationBackgroundColor: createThemeColor(White, Black85, ForestGreen),
|
|
16305
|
+
containerBackgroundColor: hexToRgbaCssThemeColor(createThemeColor(Black91, Black15, White), 0.07, 0.1, 0.1),
|
|
16304
16306
|
headerBackgroundColor: createThemeColor(Black7, Black88, ForestGreen),
|
|
16305
16307
|
sectionBackgroundColor: createThemeColor(Black15, Black80, ForestGreen),
|
|
16306
16308
|
sectionBackgroundImage: createThemeColor(`linear-gradient(${Black15}, ${hexToRgbaCssColor(Black15, 0)})`, `linear-gradient(${Black82}, ${hexToRgbaCssColor(Black82, 0)})`, `linear-gradient(${ForestGreen}, ${hexToRgbaCssColor(ForestGreen, 0)})`),
|
|
@@ -16474,6 +16476,7 @@
|
|
|
16474
16476
|
// #region color tokens
|
|
16475
16477
|
const actionRgbPartialColor = createThemeColorToken(tokenNames.actionRgbPartialColor, tokenValues.actionRgbPartialColor);
|
|
16476
16478
|
const applicationBackgroundColor = createThemeColorToken(tokenNames.applicationBackgroundColor, tokenValues.applicationBackgroundColor);
|
|
16479
|
+
createThemeColorToken(tokenNames.containerBackgroundColor, tokenValues.containerBackgroundColor);
|
|
16477
16480
|
createThemeColorToken(tokenNames.headerBackgroundColor, tokenValues.headerBackgroundColor);
|
|
16478
16481
|
createThemeColorToken(tokenNames.sectionBackgroundColor, tokenValues.sectionBackgroundColor);
|
|
16479
16482
|
createThemeColorToken(tokenNames.sectionBackgroundImage, tokenValues.sectionBackgroundImage);
|
|
@@ -19565,9 +19568,10 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19565
19568
|
*/
|
|
19566
19569
|
onClick(e) {
|
|
19567
19570
|
if (this.disabled || this.readOnly) {
|
|
19568
|
-
e.preventDefault();
|
|
19569
19571
|
e.stopImmediatePropagation();
|
|
19572
|
+
return false; /* Do prevent default */
|
|
19570
19573
|
}
|
|
19574
|
+
return true; /* Do not prevent default */
|
|
19571
19575
|
}
|
|
19572
19576
|
}
|
|
19573
19577
|
__decorate([
|
|
@@ -66758,9 +66762,10 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66758
66762
|
*/
|
|
66759
66763
|
onClick(e) {
|
|
66760
66764
|
if (this.disabled || this.readOnly) {
|
|
66761
|
-
e.preventDefault();
|
|
66762
66765
|
e.stopImmediatePropagation();
|
|
66766
|
+
return false; /* Do prevent default */
|
|
66763
66767
|
}
|
|
66768
|
+
return true; /* Do not prevent default */
|
|
66764
66769
|
}
|
|
66765
66770
|
}
|
|
66766
66771
|
__decorate([
|