@ni/nimble-components 21.10.2 → 22.0.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 +25 -25
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3 -3
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/banner/template.js +4 -4
- package/dist/esm/banner/template.js.map +1 -1
- package/dist/esm/label-provider/core/index.d.ts +9 -9
- package/dist/esm/label-provider/core/index.js +10 -10
- package/dist/esm/label-provider/core/index.js.map +1 -1
- package/dist/esm/label-provider/core/label-token-defaults.js +3 -3
- package/dist/esm/label-provider/core/label-token-defaults.js.map +1 -1
- package/dist/esm/label-provider/core/label-tokens.d.ts +3 -3
- package/dist/esm/label-provider/core/label-tokens.js +9 -9
- package/dist/esm/label-provider/core/label-tokens.js.map +1 -1
- package/package.json +1 -1
|
@@ -16301,7 +16301,7 @@
|
|
|
16301
16301
|
|
|
16302
16302
|
/**
|
|
16303
16303
|
* Do not edit directly
|
|
16304
|
-
* Generated on
|
|
16304
|
+
* Generated on Wed, 13 Mar 2024 22:51:24 GMT
|
|
16305
16305
|
*/
|
|
16306
16306
|
|
|
16307
16307
|
const Information100DarkUi = "#a46eff";
|
|
@@ -19772,9 +19772,9 @@
|
|
|
19772
19772
|
popupDismissLabel: 'Close',
|
|
19773
19773
|
numericIncrementLabel: 'Increment',
|
|
19774
19774
|
numericDecrementLabel: 'Decrement',
|
|
19775
|
-
|
|
19776
|
-
|
|
19777
|
-
|
|
19775
|
+
popupIconErrorLabel: 'Error',
|
|
19776
|
+
popupIconWarningLabel: 'Warning',
|
|
19777
|
+
popupIconInformationLabel: 'Information',
|
|
19778
19778
|
filterSearchLabel: 'Search',
|
|
19779
19779
|
filterNoResultsLabel: 'No items found'
|
|
19780
19780
|
};
|
|
@@ -19791,18 +19791,18 @@
|
|
|
19791
19791
|
name: 'numeric-increment-label',
|
|
19792
19792
|
cssCustomPropertyName: null
|
|
19793
19793
|
}).withDefault(coreLabelDefaults.numericIncrementLabel);
|
|
19794
|
-
const
|
|
19795
|
-
name: '
|
|
19794
|
+
const popupIconErrorLabel = DesignToken.create({
|
|
19795
|
+
name: 'popup-icon-error-label',
|
|
19796
19796
|
cssCustomPropertyName: null
|
|
19797
|
-
}).withDefault(coreLabelDefaults.
|
|
19798
|
-
const
|
|
19799
|
-
name: '
|
|
19797
|
+
}).withDefault(coreLabelDefaults.popupIconErrorLabel);
|
|
19798
|
+
const popupIconWarningLabel = DesignToken.create({
|
|
19799
|
+
name: 'popup-icon-warning-label',
|
|
19800
19800
|
cssCustomPropertyName: null
|
|
19801
|
-
}).withDefault(coreLabelDefaults.
|
|
19802
|
-
const
|
|
19803
|
-
name: '
|
|
19801
|
+
}).withDefault(coreLabelDefaults.popupIconWarningLabel);
|
|
19802
|
+
const popupIconInformationLabel = DesignToken.create({
|
|
19803
|
+
name: 'popup-icon-information-label',
|
|
19804
19804
|
cssCustomPropertyName: null
|
|
19805
|
-
}).withDefault(coreLabelDefaults.
|
|
19805
|
+
}).withDefault(coreLabelDefaults.popupIconInformationLabel);
|
|
19806
19806
|
const filterSearchLabel = DesignToken.create({
|
|
19807
19807
|
name: 'filter-search-label',
|
|
19808
19808
|
cssCustomPropertyName: null
|
|
@@ -19839,13 +19839,13 @@
|
|
|
19839
19839
|
>
|
|
19840
19840
|
<div class="icon">
|
|
19841
19841
|
${when(x => x.severity === BannerSeverity.error, html `
|
|
19842
|
-
<${iconExclamationMarkTag} role="img" aria-label="${x =>
|
|
19842
|
+
<${iconExclamationMarkTag} role="img" aria-label="${x => popupIconErrorLabel.getValueFor(x)}"></${iconExclamationMarkTag}>
|
|
19843
19843
|
`)}
|
|
19844
19844
|
${when(x => x.severity === BannerSeverity.warning, html `
|
|
19845
|
-
<${iconTriangleFilledTag} role="img" aria-label="${x =>
|
|
19845
|
+
<${iconTriangleFilledTag} role="img" aria-label="${x => popupIconWarningLabel.getValueFor(x)}"></${iconTriangleFilledTag}>
|
|
19846
19846
|
`)}
|
|
19847
19847
|
${when(x => x.severity === BannerSeverity.information, html `
|
|
19848
|
-
<${iconInfoTag} role="img" aria-label="${x =>
|
|
19848
|
+
<${iconInfoTag} role="img" aria-label="${x => popupIconInformationLabel.getValueFor(x)}"></${iconInfoTag}>
|
|
19849
19849
|
`)}
|
|
19850
19850
|
</div>
|
|
19851
19851
|
<div class="text">
|
|
@@ -24121,9 +24121,9 @@
|
|
|
24121
24121
|
popupDismiss: popupDismissLabel,
|
|
24122
24122
|
numericDecrement: numericDecrementLabel,
|
|
24123
24123
|
numericIncrement: numericIncrementLabel,
|
|
24124
|
-
|
|
24125
|
-
|
|
24126
|
-
|
|
24124
|
+
popupIconError: popupIconErrorLabel,
|
|
24125
|
+
popupIconWarning: popupIconWarningLabel,
|
|
24126
|
+
popupIconInformation: popupIconInformationLabel,
|
|
24127
24127
|
filterSearch: filterSearchLabel,
|
|
24128
24128
|
filterNoResults: filterNoResultsLabel
|
|
24129
24129
|
};
|
|
@@ -24146,14 +24146,14 @@
|
|
|
24146
24146
|
attr({ attribute: 'numeric-increment' })
|
|
24147
24147
|
], LabelProviderCore.prototype, "numericIncrement", void 0);
|
|
24148
24148
|
__decorate$1([
|
|
24149
|
-
attr({ attribute: '
|
|
24150
|
-
], LabelProviderCore.prototype, "
|
|
24149
|
+
attr({ attribute: 'popup-icon-error' })
|
|
24150
|
+
], LabelProviderCore.prototype, "popupIconError", void 0);
|
|
24151
24151
|
__decorate$1([
|
|
24152
|
-
attr({ attribute: '
|
|
24153
|
-
], LabelProviderCore.prototype, "
|
|
24152
|
+
attr({ attribute: 'popup-icon-warning' })
|
|
24153
|
+
], LabelProviderCore.prototype, "popupIconWarning", void 0);
|
|
24154
24154
|
__decorate$1([
|
|
24155
|
-
attr({ attribute: '
|
|
24156
|
-
], LabelProviderCore.prototype, "
|
|
24155
|
+
attr({ attribute: 'popup-icon-information' })
|
|
24156
|
+
], LabelProviderCore.prototype, "popupIconInformation", void 0);
|
|
24157
24157
|
__decorate$1([
|
|
24158
24158
|
attr({ attribute: 'filter-search' })
|
|
24159
24159
|
], LabelProviderCore.prototype, "filterSearch", void 0);
|