@ni/nimble-components 8.1.10 → 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.
@@ -3202,7 +3202,12 @@ const id=mt`
3202
3202
  }
3203
3203
 
3204
3204
  [part='start'] {
3205
- display: none;
3205
+ display: contents;
3206
+ }
3207
+
3208
+ slot[name='start']::slotted(*) {
3209
+ margin-left: calc(${cn} / 2);
3210
+ flex: none;
3206
3211
  }
3207
3212
 
3208
3213
  .control {
@@ -3506,19 +3511,40 @@ const rd=mt`
3506
3511
  border-color: ${Wo};
3507
3512
  }
3508
3513
  `
3509
- 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)
3510
3515
  const ld=ad.compose({baseName:"toggle-button",template:(t,e)=>Y`
3511
3516
  <div
3512
3517
  role="button"
3513
3518
  part="control"
3514
- aria-pressed="${t=>t.checked}"
3515
- aria-disabled="${t=>t.disabled}"
3516
- aria-readonly="${t=>t.readOnly}"
3517
3519
  tabindex="${t=>t.disabled?null:0}"
3518
3520
  @keypress="${(t,e)=>t.keypressHandler(e.event)}"
3519
3521
  @click="${(t,e)=>t.clickHandler(e.event)}"
3520
3522
  class="control ${t=>t.checked?"checked":""}"
3521
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}"
3522
3548
  ${bt("control")}
3523
3549
  >
3524
3550
  ${It(0,e)}