@ni/nimble-components 20.0.0 → 20.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.
@@ -16288,7 +16288,7 @@
16288
16288
 
16289
16289
  /**
16290
16290
  * Do not edit directly
16291
- * Generated on Tue, 25 Jul 2023 20:58:40 GMT
16291
+ * Generated on Wed, 26 Jul 2023 20:58:13 GMT
16292
16292
  */
16293
16293
 
16294
16294
  const Information100DarkUi = "#a46eff";
@@ -19443,10 +19443,30 @@
19443
19443
  super();
19444
19444
  this.icon = icon;
19445
19445
  }
19446
+ connectedCallback() {
19447
+ super.connectedCallback();
19448
+ this.forwardAriaLabelToSvg();
19449
+ }
19450
+ ariaLabelChanged() {
19451
+ this.forwardAriaLabelToSvg();
19452
+ }
19453
+ forwardAriaLabelToSvg() {
19454
+ const svg = this.shadowRoot?.querySelector('svg');
19455
+ if (!svg) {
19456
+ return;
19457
+ }
19458
+ if (this.ariaLabel !== null && this.ariaLabel !== undefined) {
19459
+ svg.setAttribute('aria-label', this.ariaLabel);
19460
+ }
19461
+ else {
19462
+ svg.removeAttribute('aria-label');
19463
+ }
19464
+ }
19446
19465
  }
19447
19466
  __decorate$1([
19448
19467
  attr
19449
19468
  ], Icon.prototype, "severity", void 0);
19469
+ applyMixins(Icon, ARIAGlobalStatesAndProperties);
19450
19470
  const registerIcon = (baseName, iconClass) => {
19451
19471
  const composedIcon = iconClass.compose({
19452
19472
  baseName,