@ni/nimble-components 35.12.3 → 35.12.5
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 +10 -3
- 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 +17 -0
- package/dist/custom-elements.md +11 -9
- package/dist/esm/switch/styles.js +7 -4
- package/dist/esm/switch/styles.js.map +1 -1
- package/dist/esm/text-field/index.d.ts +9 -0
- package/dist/esm/text-field/index.js +3 -0
- package/dist/esm/text-field/index.js.map +1 -1
- package/dist/esm/text-field/template.js +1 -0
- package/dist/esm/text-field/template.js.map +1 -1
- package/package.json +1 -1
|
@@ -11880,9 +11880,6 @@ const hP=_t`
|
|
|
11880
11880
|
--ni-private-switch-indicator-size: 24px;
|
|
11881
11881
|
--ni-private-switch-indicator-inner-size: 18px;
|
|
11882
11882
|
--ni-private-switch-indicator-margin: -2px;
|
|
11883
|
-
padding-bottom: calc(
|
|
11884
|
-
${yc} - var(--ni-private-switch-height)
|
|
11885
|
-
);
|
|
11886
11883
|
}
|
|
11887
11884
|
|
|
11888
11885
|
:host([disabled]) {
|
|
@@ -11907,6 +11904,9 @@ const hP=_t`
|
|
|
11907
11904
|
.switch-container {
|
|
11908
11905
|
display: flex;
|
|
11909
11906
|
align-items: center;
|
|
11907
|
+
${""}
|
|
11908
|
+
padding-top: 2px;
|
|
11909
|
+
padding-bottom: 6px;
|
|
11910
11910
|
}
|
|
11911
11911
|
|
|
11912
11912
|
slot[name='unchecked-message']::slotted(*) {
|
|
@@ -15345,7 +15345,7 @@ const sq="underline",aq="outline",lq="block",cq="frameless",dq=_t`
|
|
|
15345
15345
|
${Qt({property:"defaultSlottedNodes",filter:function(t,e,n){return t.nodeType!==Node.TEXT_NODE||"string"==typeof t.nodeValue&&!!t.nodeValue.trim().length}})}
|
|
15346
15346
|
></slot>
|
|
15347
15347
|
</label>`)
|
|
15348
|
-
class uq extends(uv(Vv(Gi))){constructor(){super(...arguments),this.appearance=sq,this.fullBleed=!1,this.appearanceReadOnly=!1}}t([pt],uq.prototype,"appearance",void 0),t([pt({attribute:"full-bleed",mode:"boolean"})],uq.prototype,"fullBleed",void 0),t([pt({attribute:"appearance-readonly",mode:"boolean"})],uq.prototype,"appearanceReadOnly",void 0)
|
|
15348
|
+
class uq extends(uv(Vv(Gi))){constructor(){super(...arguments),this.appearance=sq,this.fullBleed=!1,this.appearanceReadOnly=!1}}t([pt],uq.prototype,"appearance",void 0),t([pt],uq.prototype,"autocomplete",void 0),t([pt({attribute:"full-bleed",mode:"boolean"})],uq.prototype,"fullBleed",void 0),t([pt({attribute:"appearance-readonly",mode:"boolean"})],uq.prototype,"appearanceReadOnly",void 0)
|
|
15349
15349
|
const pq=uq.compose({baseName:"text-field",baseClass:Gi,template:(t,e)=>J`
|
|
15350
15350
|
<template
|
|
15351
15351
|
class="
|
|
@@ -15374,6 +15374,7 @@ const pq=uq.compose({baseName:"text-field",baseClass:Gi,template:(t,e)=>J`
|
|
|
15374
15374
|
?spellcheck="${t=>t.spellcheck}"
|
|
15375
15375
|
:value="${t=>t.value}"
|
|
15376
15376
|
type="${t=>t.type}"
|
|
15377
|
+
autocomplete="${t=>t.autocomplete}"
|
|
15377
15378
|
aria-atomic="${t=>t.ariaAtomic}"
|
|
15378
15379
|
aria-busy="${t=>t.ariaBusy}"
|
|
15379
15380
|
aria-controls="${t=>t.ariaControls}"
|