@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.
@@ -2334,7 +2334,8 @@ const Eh=mi.tagFor(Mh),Fh={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.or
2334
2334
  height: 100%;
2335
2335
  }
2336
2336
  `
2337
- class Dp extends Vt{constructor(e){super(),this.icon=e}}e([se],Dp.prototype,"severity",void 0)
2337
+ class Dp extends Vt{constructor(e){super(),this.icon=e}connectedCallback(){super.connectedCallback(),this.forwardAriaLabelToSvg()}ariaLabelChanged(){this.forwardAriaLabelToSvg()}forwardAriaLabelToSvg(){const e=this.shadowRoot?.querySelector("svg")
2338
+ e&&(null!==this.ariaLabel&&void 0!==this.ariaLabel?e.setAttribute("aria-label",this.ariaLabel):e.removeAttribute("aria-label"))}}e([se],Dp.prototype,"severity",void 0),Pt(Dp,dn)
2338
2339
  const Tp=(e,t)=>{const n=t.compose({baseName:e,template:Fp,styles:Op,baseClass:t})
2339
2340
  mi.getOrCreate().withPrefix("nimble").register(n())}
2340
2341
  class zp extends Dp{constructor(){super(Wd)}}Tp("icon-exclamation-mark",zp)