@ni/nimble-components 21.10.2 → 22.0.1

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.
@@ -16301,7 +16301,7 @@
16301
16301
 
16302
16302
  /**
16303
16303
  * Do not edit directly
16304
- * Generated on Tue, 12 Mar 2024 22:01:57 GMT
16304
+ * Generated on Thu, 14 Mar 2024 14:32:10 GMT
16305
16305
  */
16306
16306
 
16307
16307
  const Information100DarkUi = "#a46eff";
@@ -17124,6 +17124,10 @@
17124
17124
  color: ${linkProminentDisabledFontColor};
17125
17125
  }
17126
17126
 
17127
+ .content {
17128
+ pointer-events: none;
17129
+ }
17130
+
17127
17131
  [part='end'] {
17128
17132
  display: none;
17129
17133
  }
@@ -17618,6 +17622,18 @@
17618
17622
  .control {
17619
17623
  text-decoration: none;
17620
17624
  }
17625
+
17626
+ [part='start'] {
17627
+ pointer-events: none;
17628
+ }
17629
+
17630
+ .content {
17631
+ pointer-events: none;
17632
+ }
17633
+
17634
+ [part='end'] {
17635
+ pointer-events: none;
17636
+ }
17621
17637
  `;
17622
17638
 
17623
17639
  const template$D = (context, definition) => html `
@@ -17767,6 +17783,7 @@
17767
17783
 
17768
17784
  [part='start'] {
17769
17785
  display: contents;
17786
+ pointer-events: none;
17770
17787
  }
17771
17788
 
17772
17789
  slot[name='start']::slotted(*) {
@@ -17779,6 +17796,10 @@
17779
17796
  grid-column: 1;
17780
17797
  }
17781
17798
 
17799
+ .content {
17800
+ pointer-events: none;
17801
+ }
17802
+
17782
17803
  :host(.indent-1) .content {
17783
17804
  grid-column: 2;
17784
17805
  }
@@ -17950,6 +17971,7 @@
17950
17971
  }
17951
17972
 
17952
17973
  slot:not([name]) {
17974
+ pointer-events: none;
17953
17975
  display: block;
17954
17976
  padding: ${mediumPadding} ${standardPadding}
17955
17977
  calc(${mediumPadding} - ${borderWidth});
@@ -18415,6 +18437,7 @@
18415
18437
  /* this rule keeps children without an icon text aligned with parents */ ''}
18416
18438
  [part="start"] {
18417
18439
  width: ${iconSize};
18440
+ pointer-events: none;
18418
18441
  }
18419
18442
 
18420
18443
  ${ /* the start class is applied when the corresponding slot is filled */''}
@@ -18430,6 +18453,10 @@
18430
18453
  height: ${iconSize};
18431
18454
  }
18432
18455
 
18456
+ .content {
18457
+ pointer-events: none;
18458
+ }
18459
+
18433
18460
  [part='end'] {
18434
18461
  display: none;
18435
18462
  }
@@ -19772,9 +19799,9 @@
19772
19799
  popupDismissLabel: 'Close',
19773
19800
  numericIncrementLabel: 'Increment',
19774
19801
  numericDecrementLabel: 'Decrement',
19775
- errorIconLabel: 'Error',
19776
- warningIconLabel: 'Warning',
19777
- informationIconLabel: 'Information',
19802
+ popupIconErrorLabel: 'Error',
19803
+ popupIconWarningLabel: 'Warning',
19804
+ popupIconInformationLabel: 'Information',
19778
19805
  filterSearchLabel: 'Search',
19779
19806
  filterNoResultsLabel: 'No items found'
19780
19807
  };
@@ -19791,18 +19818,18 @@
19791
19818
  name: 'numeric-increment-label',
19792
19819
  cssCustomPropertyName: null
19793
19820
  }).withDefault(coreLabelDefaults.numericIncrementLabel);
19794
- const errorIconLabel = DesignToken.create({
19795
- name: 'error-icon-label',
19821
+ const popupIconErrorLabel = DesignToken.create({
19822
+ name: 'popup-icon-error-label',
19796
19823
  cssCustomPropertyName: null
19797
- }).withDefault(coreLabelDefaults.errorIconLabel);
19798
- const warningIconLabel = DesignToken.create({
19799
- name: 'warning-icon-label',
19824
+ }).withDefault(coreLabelDefaults.popupIconErrorLabel);
19825
+ const popupIconWarningLabel = DesignToken.create({
19826
+ name: 'popup-icon-warning-label',
19800
19827
  cssCustomPropertyName: null
19801
- }).withDefault(coreLabelDefaults.warningIconLabel);
19802
- const informationIconLabel = DesignToken.create({
19803
- name: 'information-icon-label',
19828
+ }).withDefault(coreLabelDefaults.popupIconWarningLabel);
19829
+ const popupIconInformationLabel = DesignToken.create({
19830
+ name: 'popup-icon-information-label',
19804
19831
  cssCustomPropertyName: null
19805
- }).withDefault(coreLabelDefaults.informationIconLabel);
19832
+ }).withDefault(coreLabelDefaults.popupIconInformationLabel);
19806
19833
  const filterSearchLabel = DesignToken.create({
19807
19834
  name: 'filter-search-label',
19808
19835
  cssCustomPropertyName: null
@@ -19839,13 +19866,13 @@
19839
19866
  >
19840
19867
  <div class="icon">
19841
19868
  ${when(x => x.severity === BannerSeverity.error, html `
19842
- <${iconExclamationMarkTag} role="img" aria-label="${x => errorIconLabel.getValueFor(x)}"></${iconExclamationMarkTag}>
19869
+ <${iconExclamationMarkTag} role="img" aria-label="${x => popupIconErrorLabel.getValueFor(x)}"></${iconExclamationMarkTag}>
19843
19870
  `)}
19844
19871
  ${when(x => x.severity === BannerSeverity.warning, html `
19845
- <${iconTriangleFilledTag} role="img" aria-label="${x => warningIconLabel.getValueFor(x)}"></${iconTriangleFilledTag}>
19872
+ <${iconTriangleFilledTag} role="img" aria-label="${x => popupIconWarningLabel.getValueFor(x)}"></${iconTriangleFilledTag}>
19846
19873
  `)}
19847
19874
  ${when(x => x.severity === BannerSeverity.information, html `
19848
- <${iconInfoTag} role="img" aria-label="${x => informationIconLabel.getValueFor(x)}"></${iconInfoTag}>
19875
+ <${iconInfoTag} role="img" aria-label="${x => popupIconInformationLabel.getValueFor(x)}"></${iconInfoTag}>
19849
19876
  `)}
19850
19877
  </div>
19851
19878
  <div class="text">
@@ -20028,6 +20055,10 @@
20028
20055
  display: none;
20029
20056
  }
20030
20057
 
20058
+ .content {
20059
+ pointer-events: none;
20060
+ }
20061
+
20031
20062
  [part='end'] {
20032
20063
  display: none;
20033
20064
  }
@@ -24121,9 +24152,9 @@
24121
24152
  popupDismiss: popupDismissLabel,
24122
24153
  numericDecrement: numericDecrementLabel,
24123
24154
  numericIncrement: numericIncrementLabel,
24124
- errorIcon: errorIconLabel,
24125
- warningIcon: warningIconLabel,
24126
- informationIcon: informationIconLabel,
24155
+ popupIconError: popupIconErrorLabel,
24156
+ popupIconWarning: popupIconWarningLabel,
24157
+ popupIconInformation: popupIconInformationLabel,
24127
24158
  filterSearch: filterSearchLabel,
24128
24159
  filterNoResults: filterNoResultsLabel
24129
24160
  };
@@ -24146,14 +24177,14 @@
24146
24177
  attr({ attribute: 'numeric-increment' })
24147
24178
  ], LabelProviderCore.prototype, "numericIncrement", void 0);
24148
24179
  __decorate$1([
24149
- attr({ attribute: 'error-icon' })
24150
- ], LabelProviderCore.prototype, "errorIcon", void 0);
24180
+ attr({ attribute: 'popup-icon-error' })
24181
+ ], LabelProviderCore.prototype, "popupIconError", void 0);
24151
24182
  __decorate$1([
24152
- attr({ attribute: 'warning-icon' })
24153
- ], LabelProviderCore.prototype, "warningIcon", void 0);
24183
+ attr({ attribute: 'popup-icon-warning' })
24184
+ ], LabelProviderCore.prototype, "popupIconWarning", void 0);
24154
24185
  __decorate$1([
24155
- attr({ attribute: 'information-icon' })
24156
- ], LabelProviderCore.prototype, "informationIcon", void 0);
24186
+ attr({ attribute: 'popup-icon-information' })
24187
+ ], LabelProviderCore.prototype, "popupIconInformation", void 0);
24157
24188
  __decorate$1([
24158
24189
  attr({ attribute: 'filter-search' })
24159
24190
  ], LabelProviderCore.prototype, "filterSearch", void 0);