@ni/nimble-components 8.2.0 → 8.2.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.
@@ -3511,19 +3511,40 @@ const rd=mt`
3511
3511
  border-color: ${Wo};
3512
3512
  }
3513
3513
  `
3514
- class ad extends di{constructor(){super(...arguments),this.appearance=kc.Outline,this.contentHidden=!1}}Ro([ot],ad.prototype,"appearance",void 0),Ro([ot({attribute:"content-hidden",mode:"boolean"})],ad.prototype,"contentHidden",void 0),ve(ad,_t)
3514
+ class ad extends di{constructor(){super(...arguments),this.appearance=kc.Outline,this.contentHidden=!1}}Ro([ot],ad.prototype,"appearance",void 0),Ro([ot({attribute:"content-hidden",mode:"boolean"})],ad.prototype,"contentHidden",void 0),ve(ad,_t,Ge)
3515
3515
  const ld=ad.compose({baseName:"toggle-button",template:(t,e)=>Y`
3516
3516
  <div
3517
3517
  role="button"
3518
3518
  part="control"
3519
- aria-pressed="${t=>t.checked}"
3520
- aria-disabled="${t=>t.disabled}"
3521
- aria-readonly="${t=>t.readOnly}"
3522
3519
  tabindex="${t=>t.disabled?null:0}"
3523
3520
  @keypress="${(t,e)=>t.keypressHandler(e.event)}"
3524
3521
  @click="${(t,e)=>t.clickHandler(e.event)}"
3525
3522
  class="control ${t=>t.checked?"checked":""}"
3526
3523
  ?disabled="${t=>t.disabled}"
3524
+ ${""}
3525
+ aria-disabled="${t=>t.disabled}"
3526
+ aria-readonly="${t=>t.readOnly}"
3527
+ aria-pressed="${t=>t.checked}"
3528
+ ${""}
3529
+ aria-atomic="${t=>t.ariaAtomic}"
3530
+ aria-busy="${t=>t.ariaBusy}"
3531
+ aria-controls="${t=>t.ariaControls}"
3532
+ aria-current="${t=>t.ariaCurrent}"
3533
+ aria-describedby="${t=>t.ariaDescribedby}"
3534
+ aria-details="${t=>t.ariaDetails}"
3535
+ aria-errormessage="${t=>t.ariaErrormessage}"
3536
+ aria-expanded="${t=>t.ariaExpanded}"
3537
+ aria-flowto="${t=>t.ariaFlowto}"
3538
+ aria-haspopup="${t=>t.ariaHaspopup}"
3539
+ aria-hidden="${t=>t.ariaHidden}"
3540
+ aria-invalid="${t=>t.ariaInvalid}"
3541
+ aria-keyshortcuts="${t=>t.ariaKeyshortcuts}"
3542
+ aria-label="${t=>t.ariaLabel}"
3543
+ aria-labelledby="${t=>t.ariaLabelledby}"
3544
+ aria-live="${t=>t.ariaLive}"
3545
+ aria-owns="${t=>t.ariaOwns}"
3546
+ aria-relevant="${t=>t.ariaRelevant}"
3547
+ aria-roledescription="${t=>t.ariaRoledescription}"
3527
3548
  ${bt("control")}
3528
3549
  >
3529
3550
  ${It(0,e)}