@ni/nimble-components 35.8.0 → 35.9.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.
- package/dist/all-components-bundle.js +15 -2
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +5 -4
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +254 -237
- package/dist/custom-elements.md +59 -57
- package/dist/esm/checkbox/index.d.ts +6 -0
- package/dist/esm/checkbox/index.js +12 -0
- package/dist/esm/checkbox/index.js.map +1 -1
- package/dist/esm/checkbox/styles.js +3 -2
- package/dist/esm/checkbox/styles.js.map +1 -1
- package/package.json +1 -1
|
@@ -3585,7 +3585,7 @@ const lv=$t`
|
|
|
3585
3585
|
fill: ${Ql};
|
|
3586
3586
|
}
|
|
3587
3587
|
|
|
3588
|
-
:host(.checked:not(.indeterminate)) slot[name='checked-indicator'] {
|
|
3588
|
+
:host(.checked:not(.indeterminate):not([appearance-indeterminate])) slot[name='checked-indicator'] {
|
|
3589
3589
|
display: contents;
|
|
3590
3590
|
}
|
|
3591
3591
|
|
|
@@ -3599,7 +3599,8 @@ const lv=$t`
|
|
|
3599
3599
|
overflow: visible;
|
|
3600
3600
|
}
|
|
3601
3601
|
|
|
3602
|
-
:host(.indeterminate) slot[name='indeterminate-indicator']
|
|
3602
|
+
:host(.indeterminate) slot[name='indeterminate-indicator'],
|
|
3603
|
+
:host([appearance-indeterminate]) slot[name='indeterminate-indicator'] {
|
|
3603
3604
|
display: contents;
|
|
3604
3605
|
}
|
|
3605
3606
|
|
|
@@ -3626,8 +3627,8 @@ const lv=$t`
|
|
|
3626
3627
|
${t=>t.errorText}
|
|
3627
3628
|
</div>
|
|
3628
3629
|
`
|
|
3629
|
-
function hv(t){class e extends t{constructor(){super(...arguments),this.errorVisible=!1,this.errorHasOverflow=!1}}return pt({attribute:"error-text"})(e.prototype,"errorText"),pt({attribute:"error-visible",mode:"boolean"})(e.prototype,"errorVisible"),C(e.prototype,"errorHasOverflow"),e}class uv extends(hv(Vn)){get resolvedTabindex(){const t=this.tabIndex??0
|
|
3630
|
-
return this.disabled?void 0:`${t}`}}t([pt({attribute:"tabindex",converter:ht})],uv.prototype,"tabIndex",void 0)
|
|
3630
|
+
function hv(t){class e extends t{constructor(){super(...arguments),this.errorVisible=!1,this.errorHasOverflow=!1}}return pt({attribute:"error-text"})(e.prototype,"errorText"),pt({attribute:"error-visible",mode:"boolean"})(e.prototype,"errorVisible"),C(e.prototype,"errorHasOverflow"),e}class uv extends(hv(Vn)){constructor(){super(...arguments),this.appearanceIndeterminate=!1}get resolvedTabindex(){const t=this.tabIndex??0
|
|
3631
|
+
return this.disabled?void 0:`${t}`}}t([pt({attribute:"tabindex",converter:ht})],uv.prototype,"tabIndex",void 0),t([pt({attribute:"appearance-indeterminate",mode:"boolean"})],uv.prototype,"appearanceIndeterminate",void 0)
|
|
3631
3632
|
const pv=uv.compose({baseName:"checkbox",baseClass:Vn,template:(t,e)=>J`
|
|
3632
3633
|
<template
|
|
3633
3634
|
role="checkbox"
|