@ni/nimble-components 28.2.0 → 28.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 +27 -27
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +1855 -1855
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/all-components.d.ts +2 -1
- package/dist/esm/all-components.js +2 -1
- package/dist/esm/all-components.js.map +1 -1
- package/dist/esm/select/index.js +2 -2
- package/dist/esm/select/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -16333,7 +16333,7 @@
|
|
|
16333
16333
|
|
|
16334
16334
|
/**
|
|
16335
16335
|
* Do not edit directly
|
|
16336
|
-
* Generated on Fri, 10 May 2024
|
|
16336
|
+
* Generated on Fri, 10 May 2024 22:25:18 GMT
|
|
16337
16337
|
*/
|
|
16338
16338
|
|
|
16339
16339
|
const Information100DarkUi = "#a46eff";
|
|
@@ -24942,20 +24942,20 @@
|
|
|
24942
24942
|
const template$q = html `<template slot="mapping"></template>`;
|
|
24943
24943
|
|
|
24944
24944
|
/**
|
|
24945
|
-
*
|
|
24946
|
-
* One or more may be added as children of a nimble-table-column-mapping element
|
|
24947
|
-
*
|
|
24945
|
+
* Maps data values to text.
|
|
24946
|
+
* One or more may be added as children of a nimble-table-column-mapping element. The
|
|
24947
|
+
* mapping displays an empty cell and text-only group rows.
|
|
24948
24948
|
*/
|
|
24949
|
-
class
|
|
24949
|
+
class MappingEmpty extends Mapping$1 {
|
|
24950
24950
|
}
|
|
24951
24951
|
__decorate$1([
|
|
24952
24952
|
attr()
|
|
24953
|
-
],
|
|
24954
|
-
const
|
|
24955
|
-
baseName: 'mapping-
|
|
24953
|
+
], MappingEmpty.prototype, "text", void 0);
|
|
24954
|
+
const emptyMapping = MappingEmpty.compose({
|
|
24955
|
+
baseName: 'mapping-empty',
|
|
24956
24956
|
template: template$q
|
|
24957
24957
|
});
|
|
24958
|
-
DesignSystem.getOrCreate().withPrefix('nimble').register(
|
|
24958
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
24959
24959
|
|
|
24960
24960
|
function isIconClass(elementClass) {
|
|
24961
24961
|
return elementClass.prototype instanceof Icon;
|
|
@@ -25050,6 +25050,22 @@
|
|
|
25050
25050
|
});
|
|
25051
25051
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
25052
25052
|
|
|
25053
|
+
/**
|
|
25054
|
+
* Defines a mapping from one data value ('key' property) to display text ('text' property).
|
|
25055
|
+
* One or more may be added as children of a nimble-table-column-mapping element to define
|
|
25056
|
+
* how a specific data value should be displayed as text in that column's cells.
|
|
25057
|
+
*/
|
|
25058
|
+
class MappingText extends Mapping$1 {
|
|
25059
|
+
}
|
|
25060
|
+
__decorate$1([
|
|
25061
|
+
attr()
|
|
25062
|
+
], MappingText.prototype, "text", void 0);
|
|
25063
|
+
const textMapping = MappingText.compose({
|
|
25064
|
+
baseName: 'mapping-text',
|
|
25065
|
+
template: template$q
|
|
25066
|
+
});
|
|
25067
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
25068
|
+
|
|
25053
25069
|
const styles$A = css `
|
|
25054
25070
|
${display('grid')}
|
|
25055
25071
|
|
|
@@ -59030,11 +59046,11 @@ img.ProseMirror-separator {
|
|
|
59030
59046
|
return;
|
|
59031
59047
|
}
|
|
59032
59048
|
}
|
|
59033
|
-
const
|
|
59049
|
+
const previousSelectedIndex = this.selectedIndex;
|
|
59034
59050
|
super.clickHandler(e);
|
|
59035
59051
|
this.open = this.collapsible && !this.open;
|
|
59036
59052
|
if (!this.open
|
|
59037
|
-
&& this.selectedIndex !==
|
|
59053
|
+
&& this.selectedIndex !== previousSelectedIndex
|
|
59038
59054
|
&& optionClicked) {
|
|
59039
59055
|
this.updateValue(true);
|
|
59040
59056
|
}
|
|
@@ -69069,22 +69085,6 @@ img.ProseMirror-separator {
|
|
|
69069
69085
|
|
|
69070
69086
|
const template$9 = html `${template$d}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
69071
69087
|
|
|
69072
|
-
/**
|
|
69073
|
-
* Maps data values to text.
|
|
69074
|
-
* One or more may be added as children of a nimble-table-column-mapping element. The
|
|
69075
|
-
* mapping displays an empty cell and text-only group rows.
|
|
69076
|
-
*/
|
|
69077
|
-
class MappingEmpty extends Mapping$1 {
|
|
69078
|
-
}
|
|
69079
|
-
__decorate$1([
|
|
69080
|
-
attr()
|
|
69081
|
-
], MappingEmpty.prototype, "text", void 0);
|
|
69082
|
-
const emptyMapping = MappingEmpty.compose({
|
|
69083
|
-
baseName: 'mapping-empty',
|
|
69084
|
-
template: template$q
|
|
69085
|
-
});
|
|
69086
|
-
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
69087
|
-
|
|
69088
69088
|
const enumBaseValidityFlagNames = [
|
|
69089
69089
|
'invalidMappingKeyValueForType',
|
|
69090
69090
|
'duplicateMappingKey',
|