@ni/nimble-components 28.2.1 → 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.
@@ -16333,7 +16333,7 @@
16333
16333
 
16334
16334
  /**
16335
16335
  * Do not edit directly
16336
- * Generated on Fri, 10 May 2024 16:30:04 GMT
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
- * Defines a mapping from one data value ('key' property) to display text ('text' property).
24946
- * One or more may be added as children of a nimble-table-column-mapping element to define
24947
- * how a specific data value should be displayed as text in that column's cells.
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 MappingText extends Mapping$1 {
24949
+ class MappingEmpty extends Mapping$1 {
24950
24950
  }
24951
24951
  __decorate$1([
24952
24952
  attr()
24953
- ], MappingText.prototype, "text", void 0);
24954
- const textMapping = MappingText.compose({
24955
- baseName: 'mapping-text',
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(textMapping());
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
 
@@ -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',