@ni/nimble-components 20.2.15 → 20.3.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 +37 -19
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3159 -3146
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/anchor/template.d.ts +1 -1
- package/dist/esm/anchor/template.js +34 -19
- package/dist/esm/anchor/template.js.map +1 -1
- package/dist/esm/src/anchor/template.d.ts +1 -1
- package/dist/esm/src/theme-provider/design-tokens.d.ts +1 -0
- 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-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
|
@@ -16288,7 +16288,7 @@
|
|
|
16288
16288
|
|
|
16289
16289
|
/**
|
|
16290
16290
|
* Do not edit directly
|
|
16291
|
-
* Generated on
|
|
16291
|
+
* Generated on Fri, 15 Sep 2023 14:20:06 GMT
|
|
16292
16292
|
*/
|
|
16293
16293
|
|
|
16294
16294
|
const Information100DarkUi = "#a46eff";
|
|
@@ -16436,6 +16436,7 @@
|
|
|
16436
16436
|
fillSelectedRgbPartialColor: 'fill-selected-rgb-partial-color',
|
|
16437
16437
|
fillHoverSelectedColor: 'fill-hover-selected-color',
|
|
16438
16438
|
fillHoverColor: 'fill-hover-color',
|
|
16439
|
+
fillHoverRgbPartialColor: 'fill-hover-rgb-partial-color',
|
|
16439
16440
|
fillDownColor: 'fill-down-color',
|
|
16440
16441
|
borderColor: 'border-color',
|
|
16441
16442
|
borderRgbPartialColor: 'border-rgb-partial-color',
|
|
@@ -16827,6 +16828,7 @@
|
|
|
16827
16828
|
const fillSelectedRgbPartialColor = DesignToken.create(styleNameFromTokenName(tokenNames.fillSelectedRgbPartialColor)).withDefault((element) => hexToRgbPartial(getFillSelectedColorForTheme(element)));
|
|
16828
16829
|
const fillHoverSelectedColor = DesignToken.create(styleNameFromTokenName(tokenNames.fillHoverSelectedColor)).withDefault((element) => hexToRgbaCssColor(getFillSelectedColorForTheme(element), 0.15));
|
|
16829
16830
|
const fillHoverColor = DesignToken.create(styleNameFromTokenName(tokenNames.fillHoverColor)).withDefault((element) => hexToRgbaCssColor(getFillHoverColorForTheme(element), 0.1));
|
|
16831
|
+
DesignToken.create(styleNameFromTokenName(tokenNames.fillHoverRgbPartialColor)).withDefault((element) => hexToRgbPartial(getFillHoverColorForTheme(element)));
|
|
16830
16832
|
DesignToken.create(styleNameFromTokenName(tokenNames.fillDownColor)).withDefault((element) => hexToRgbaCssColor(getFillDownColorForTheme(element), 0.15));
|
|
16831
16833
|
const borderColor = DesignToken.create(styleNameFromTokenName(tokenNames.borderColor)).withDefault((element) => getDefaultLineColorForTheme(element));
|
|
16832
16834
|
const borderRgbPartialColor = DesignToken.create(styleNameFromTokenName(tokenNames.borderRgbPartialColor)).withDefault((element) => hexToRgbPartial(getDefaultLineColorForTheme(element)));
|
|
@@ -17067,8 +17069,7 @@
|
|
|
17067
17069
|
`;
|
|
17068
17070
|
|
|
17069
17071
|
// prettier-ignore
|
|
17070
|
-
const template$z = (
|
|
17071
|
-
<a
|
|
17072
|
+
const template$z = (_context, definition) => html `<a
|
|
17072
17073
|
class="control"
|
|
17073
17074
|
part="control"
|
|
17074
17075
|
download="${x => x.download}"
|
|
@@ -17100,22 +17101,39 @@
|
|
|
17100
17101
|
aria-relevant="${x => x.ariaRelevant}"
|
|
17101
17102
|
aria-roledescription="${x => x.ariaRoledescription}"
|
|
17102
17103
|
${ref('control')}
|
|
17103
|
-
|
|
17104
|
-
|
|
17105
|
-
|
|
17106
|
-
|
|
17107
|
-
|
|
17108
|
-
|
|
17109
|
-
|
|
17110
|
-
|
|
17111
|
-
|
|
17112
|
-
|
|
17113
|
-
|
|
17114
|
-
|
|
17115
|
-
|
|
17116
|
-
|
|
17117
|
-
|
|
17118
|
-
|
|
17104
|
+
>${
|
|
17105
|
+
/* Start and End slot templates inlined to avoid extra whitespace.
|
|
17106
|
+
See https://github.com/microsoft/fast/issues/6557
|
|
17107
|
+
|
|
17108
|
+
Whitespace intentionally avoided between tags for inline styles */ ''}<span
|
|
17109
|
+
part="start"
|
|
17110
|
+
${ref('startContainer')}
|
|
17111
|
+
class="${_x => (definition.start ? 'start' : null)}"
|
|
17112
|
+
><slot
|
|
17113
|
+
name="start"
|
|
17114
|
+
${ref('start')}
|
|
17115
|
+
@slotchange="${x => x.handleStartContentChange()}">
|
|
17116
|
+
${definition.start || ''}
|
|
17117
|
+
</slot
|
|
17118
|
+
></span
|
|
17119
|
+
><span
|
|
17120
|
+
class="content"
|
|
17121
|
+
part="content"
|
|
17122
|
+
><slot
|
|
17123
|
+
${slotted('defaultSlottedContent')}
|
|
17124
|
+
></slot
|
|
17125
|
+
></span
|
|
17126
|
+
><span
|
|
17127
|
+
part="end"
|
|
17128
|
+
${ref('endContainer')}
|
|
17129
|
+
class=${_x => (definition.end ? 'end' : null)}
|
|
17130
|
+
><slot
|
|
17131
|
+
name="end"
|
|
17132
|
+
${ref('end')}
|
|
17133
|
+
@slotchange="${x => x.handleEndContentChange()}">
|
|
17134
|
+
${definition.end || ''}
|
|
17135
|
+
</slot
|
|
17136
|
+
></span></a>`;
|
|
17119
17137
|
|
|
17120
17138
|
/**
|
|
17121
17139
|
* A nimble-styled anchor
|