@ni/spright-components 4.3.2 → 4.3.3
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.
|
@@ -4860,7 +4860,7 @@ const dy=cy.compose({baseName:"number-field",baseClass:Zi,template:(t,e)=>Q`
|
|
|
4860
4860
|
<label
|
|
4861
4861
|
part="label"
|
|
4862
4862
|
for="control"
|
|
4863
|
-
class="${t=>t.defaultSlottedNodes
|
|
4863
|
+
class="${t=>t.defaultSlottedNodes?.length?"label":"label label__hidden"}"
|
|
4864
4864
|
>
|
|
4865
4865
|
<slot ${ie("defaultSlottedNodes")}></slot>
|
|
4866
4866
|
</label>
|
|
@@ -4873,7 +4873,7 @@ const dy=cy.compose({baseName:"number-field",baseClass:Zi,template:(t,e)=>Q`
|
|
|
4873
4873
|
@input="${t=>t.handleTextInput()}"
|
|
4874
4874
|
@change="${t=>t.handleChange()}"
|
|
4875
4875
|
@keydown="${(t,e)=>t.handleKeyDown(e.event)}"
|
|
4876
|
-
@blur="${
|
|
4876
|
+
@blur="${t=>t.handleBlur()}"
|
|
4877
4877
|
?autofocus="${t=>t.autofocus}"
|
|
4878
4878
|
?disabled="${t=>t.disabled}"
|
|
4879
4879
|
list="${t=>t.list}"
|
|
@@ -4911,7 +4911,11 @@ const dy=cy.compose({baseName:"number-field",baseClass:Zi,template:(t,e)=>Q`
|
|
|
4911
4911
|
/>
|
|
4912
4912
|
${Gt((t=>!t.hideStep&&!t.readOnly&&!t.disabled),Q`
|
|
4913
4913
|
<div class="controls" part="controls">
|
|
4914
|
-
<div
|
|
4914
|
+
<div
|
|
4915
|
+
class="step-up"
|
|
4916
|
+
part="step-up"
|
|
4917
|
+
@click="${t=>t.stepUp()}"
|
|
4918
|
+
>
|
|
4915
4919
|
<slot name="step-up-glyph">
|
|
4916
4920
|
${e.stepUpGlyph||""}
|
|
4917
4921
|
</slot>
|
|
@@ -12824,7 +12828,7 @@ const XB=YB.compose({baseName:"text-field",baseClass:qi,template:(t,e)=>Q`
|
|
|
12824
12828
|
<label
|
|
12825
12829
|
part="label"
|
|
12826
12830
|
for="control"
|
|
12827
|
-
class="${t=>t.defaultSlottedNodes
|
|
12831
|
+
class="${t=>t.defaultSlottedNodes?.length?"label":"label label__hidden"}"
|
|
12828
12832
|
>
|
|
12829
12833
|
<slot
|
|
12830
12834
|
${ie({property:"defaultSlottedNodes",filter:Qi})}
|