@ni/spright-components 5.2.3 → 5.2.4
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.
|
@@ -26360,7 +26360,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26360
26360
|
const NumberFieldAppearance = {
|
|
26361
26361
|
underline: 'underline',
|
|
26362
26362
|
outline: 'outline',
|
|
26363
|
-
block: 'block'
|
|
26363
|
+
block: 'block',
|
|
26364
|
+
frameless: 'frameless'
|
|
26364
26365
|
};
|
|
26365
26366
|
|
|
26366
26367
|
const styles$B = css `
|
|
@@ -26567,6 +26568,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26567
26568
|
border-width: ${borderWidth};
|
|
26568
26569
|
padding: 0;
|
|
26569
26570
|
}
|
|
26571
|
+
`), appearanceBehavior(NumberFieldAppearance.frameless, css `
|
|
26572
|
+
.root {
|
|
26573
|
+
padding-left: ${borderWidth};
|
|
26574
|
+
padding-right: ${borderWidth};
|
|
26575
|
+
}
|
|
26576
|
+
|
|
26577
|
+
:host([full-bleed]) .control {
|
|
26578
|
+
padding-left: 0px;
|
|
26579
|
+
}
|
|
26570
26580
|
`));
|
|
26571
26581
|
|
|
26572
26582
|
const labelTemplate$4 = createRequiredVisibleLabelTemplate(html `<label
|
|
@@ -26663,6 +26673,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26663
26673
|
constructor() {
|
|
26664
26674
|
super(...arguments);
|
|
26665
26675
|
this.appearance = NumberFieldAppearance.underline;
|
|
26676
|
+
this.fullBleed = false;
|
|
26666
26677
|
this.appearanceReadOnly = false;
|
|
26667
26678
|
}
|
|
26668
26679
|
connectedCallback() {
|
|
@@ -26674,6 +26685,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26674
26685
|
__decorate([
|
|
26675
26686
|
attr
|
|
26676
26687
|
], NumberField.prototype, "appearance", void 0);
|
|
26688
|
+
__decorate([
|
|
26689
|
+
attr({ attribute: 'full-bleed', mode: 'boolean' })
|
|
26690
|
+
], NumberField.prototype, "fullBleed", void 0);
|
|
26677
26691
|
__decorate([
|
|
26678
26692
|
attr({ attribute: 'appearance-readonly', mode: 'boolean' })
|
|
26679
26693
|
], NumberField.prototype, "appearanceReadOnly", void 0);
|