@ni/spright-components 4.2.4 → 4.2.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.
|
@@ -2882,12 +2882,11 @@ const Gg=Mt`
|
|
|
2882
2882
|
display: none;
|
|
2883
2883
|
}
|
|
2884
2884
|
`,Zg=Mt`
|
|
2885
|
-
${Vs("inline-
|
|
2885
|
+
${Vs("inline-grid")}
|
|
2886
2886
|
${Gg}
|
|
2887
2887
|
|
|
2888
2888
|
:host {
|
|
2889
2889
|
font: ${rd};
|
|
2890
|
-
align-items: center;
|
|
2891
2890
|
cursor: pointer;
|
|
2892
2891
|
outline: none;
|
|
2893
2892
|
${Pm}
|
|
@@ -2898,8 +2897,14 @@ const Gg=Mt`
|
|
|
2898
2897
|
cursor: default;
|
|
2899
2898
|
}
|
|
2900
2899
|
|
|
2901
|
-
.container {
|
|
2900
|
+
.outer-container {
|
|
2901
|
+
height: 100%;
|
|
2902
|
+
display: flex;
|
|
2903
|
+
align-items: center;
|
|
2902
2904
|
position: relative;
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2907
|
+
.container {
|
|
2903
2908
|
display: grid;
|
|
2904
2909
|
grid-template-columns: auto 1fr auto;
|
|
2905
2910
|
grid-template-rows: ${ud} auto;
|
|
@@ -3019,25 +3024,27 @@ const Xg=Yg.compose({baseName:"checkbox",baseClass:Vn,template:(t,e)=>Q`
|
|
|
3019
3024
|
@click="${(t,e)=>t.clickHandler(e.event)}"
|
|
3020
3025
|
class="${t=>t.readOnly?"readonly":""} ${t=>t.checked?"checked":""} ${t=>t.indeterminate?"indeterminate":""}"
|
|
3021
3026
|
>
|
|
3022
|
-
<div
|
|
3023
|
-
<div part="
|
|
3024
|
-
<
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3027
|
+
<div class="outer-container">
|
|
3028
|
+
<div part="container" class="container">
|
|
3029
|
+
<div part="control" class="control">
|
|
3030
|
+
<slot name="checked-indicator">
|
|
3031
|
+
${e.checkedIndicator||""}
|
|
3032
|
+
</slot>
|
|
3033
|
+
<slot name="indeterminate-indicator">
|
|
3034
|
+
${e.indeterminateIndicator||""}
|
|
3035
|
+
</slot>
|
|
3036
|
+
</div>
|
|
3037
|
+
<label
|
|
3038
|
+
part="label"
|
|
3039
|
+
class="${t=>t.defaultSlottedNodes?.length?"label":"label label__hidden"}"
|
|
3040
|
+
>
|
|
3041
|
+
<slot ${ie("defaultSlottedNodes")}></slot>
|
|
3042
|
+
</label>
|
|
3043
|
+
<${$g}
|
|
3044
|
+
severity="error"
|
|
3045
|
+
class="error-icon"
|
|
3046
|
+
></${$g}>
|
|
3030
3047
|
</div>
|
|
3031
|
-
<label
|
|
3032
|
-
part="label"
|
|
3033
|
-
class="${t=>t.defaultSlottedNodes?.length?"label":"label label__hidden"}"
|
|
3034
|
-
>
|
|
3035
|
-
<slot ${ie("defaultSlottedNodes")}></slot>
|
|
3036
|
-
</label>
|
|
3037
|
-
<${$g}
|
|
3038
|
-
severity="error"
|
|
3039
|
-
class="error-icon"
|
|
3040
|
-
></${$g}>
|
|
3041
3048
|
${Kg}
|
|
3042
3049
|
</div>
|
|
3043
3050
|
</template>
|