@ni/nimble-components 7.6.0 → 7.7.0

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.
@@ -863,8 +863,8 @@ const yc=mt`
863
863
  ${rs("inline-flex")}
864
864
 
865
865
  :host{font:${tr};align-items:center;cursor:pointer;outline:none;user-select:none}:host([disabled]){cursor:default}.control{width:calc(${Jo} / 2);height:calc(${Jo} / 2);box-sizing:border-box;flex-shrink:0;border:${sn} solid ${jo};padding:2px;display:inline-flex;align-items:center;justify-content:center;transition:box-shadow ${fr};${""}
866
- line-height:0}@media (prefers-reduced-motion){.control{transition-duration:0s}}:host([disabled]) .control{background-color:rgba(${qo},0.1);border-color:rgba(${qo},0.2)}:host(:not([disabled]):not(:active):hover) .control{border-color:${Yo};box-shadow:0px 0px 0px ${sn} ${Yo} inset}:host(${uc}) .control{border-color:${Yo};outline:2px solid ${Yo};outline-offset:2px}.label{font:inherit;color:${Vn};padding-left:1ch;cursor:inherit}:host([disabled]) .label{color:${An}}slot[name='checked-indicator'] svg{height:${on};width:${on};overflow:visible}slot[name='checked-indicator'] path{fill:${jo};opacity:0}:host([aria-checked='true']) slot[name='checked-indicator'] path{opacity:1}:host([disabled]) slot[name='checked-indicator'] path{fill:rgba(${qo},0.3)}`
867
- const $c=class extends Qe{}.compose({baseName:"checkbox",baseClass:Qe,template:(t,e)=>Y`<template role="checkbox" aria-checked="${t=>t.checked}" aria-required="${t=>t.required}" aria-disabled="${t=>t.disabled}" aria-readonly="${t=>t.readOnly}" tabindex="${t=>t.disabled?null:0}" @keypress="${(t,e)=>t.keypressHandler(e.event)}" @click="${(t,e)=>t.clickHandler(e.event)}" class="${t=>t.readOnly?"readonly":""} ${t=>t.checked?"checked":""} ${t=>t.indeterminate?"indeterminate":""}"><div part="control" class="control"><slot name="checked-indicator">${e.checkedIndicator||""}</slot><slot name="indeterminate-indicator">${e.indeterminateIndicator||""}</slot></div><label part="label" class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ct("defaultSlottedNodes")}></slot></label></template>`,styles:yc,checkedIndicator:ia.data})
866
+ line-height:0}@media (prefers-reduced-motion){.control{transition-duration:0s}}:host([disabled]) .control{background-color:rgba(${qo},0.1);border-color:rgba(${qo},0.2)}:host(:not([disabled]):not(:active):hover) .control{border-color:${Yo};box-shadow:0px 0px 0px ${sn} ${Yo} inset}:host(${uc}) .control{border-color:${Yo};outline:2px solid ${Yo};outline-offset:2px}.label{font:inherit;color:${Vn};padding-left:1ch;cursor:inherit}:host([disabled]) .label{color:${An}}slot[name='checked-indicator'],slot[name='indeterminate-indicator']{display:none}slot[name='checked-indicator'] svg{height:${on};width:${on};overflow:visible}:host(.checked:not(.indeterminate)) slot[name='checked-indicator']{display:contents}slot[name='checked-indicator'] path{fill:${jo}}:host([disabled]) slot[name='checked-indicator'] path{fill:rgba(${qo},0.3)}slot[name='indeterminate-indicator'] svg{height:${on};width:${on};overflow:visible}:host(.indeterminate) slot[name='indeterminate-indicator']{display:contents}slot[name='indeterminate-indicator'] path{fill:${jo}}:host([disabled]) slot[name='indeterminate-indicator'] path{fill:rgba(${qo},0.3)}`
867
+ const $c=class extends Qe{}.compose({baseName:"checkbox",baseClass:Qe,template:(t,e)=>Y`<template role="checkbox" aria-checked="${t=>t.checked}" aria-required="${t=>t.required}" aria-disabled="${t=>t.disabled}" aria-readonly="${t=>t.readOnly}" tabindex="${t=>t.disabled?null:0}" @keypress="${(t,e)=>t.keypressHandler(e.event)}" @click="${(t,e)=>t.clickHandler(e.event)}" class="${t=>t.readOnly?"readonly":""} ${t=>t.checked?"checked":""} ${t=>t.indeterminate?"indeterminate":""}"><div part="control" class="control"><slot name="checked-indicator">${e.checkedIndicator||""}</slot><slot name="indeterminate-indicator">${e.indeterminateIndicator||""}</slot></div><label part="label" class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ct("defaultSlottedNodes")}></slot></label></template>`,styles:yc,checkedIndicator:ia.data,indeterminateIndicator:yl.data})
868
868
  Vs.getOrCreate().withPrefix("nimble").register($c())
869
869
  var Cc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},kc={},_c={},zc={}
870
870
  !function(t){var e