@ni/spright-components 5.2.1 → 5.2.2
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.
|
@@ -26381,7 +26381,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26381
26381
|
|
|
26382
26382
|
:host([disabled]) {
|
|
26383
26383
|
color: ${bodyDisabledFontColor};
|
|
26384
|
-
|
|
26384
|
+
}
|
|
26385
|
+
|
|
26386
|
+
:host([disabled][appearance-readonly]) {
|
|
26387
|
+
color: ${bodyFontColor};
|
|
26385
26388
|
}
|
|
26386
26389
|
|
|
26387
26390
|
.label {
|
|
@@ -26394,6 +26397,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26394
26397
|
color: ${controlLabelDisabledFontColor};
|
|
26395
26398
|
}
|
|
26396
26399
|
|
|
26400
|
+
:host([disabled][appearance-readonly]) .label {
|
|
26401
|
+
color: ${controlLabelFontColor};
|
|
26402
|
+
}
|
|
26403
|
+
|
|
26397
26404
|
.root {
|
|
26398
26405
|
position: relative;
|
|
26399
26406
|
display: flex;
|
|
@@ -26479,14 +26486,22 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26479
26486
|
outline: none;
|
|
26480
26487
|
}
|
|
26481
26488
|
|
|
26489
|
+
:host([disabled][appearance-readonly]) .control {
|
|
26490
|
+
cursor: text;
|
|
26491
|
+
}
|
|
26492
|
+
|
|
26482
26493
|
.control::placeholder {
|
|
26483
26494
|
color: ${controlLabelFontColor};
|
|
26484
26495
|
}
|
|
26485
26496
|
|
|
26486
|
-
|
|
26497
|
+
:host([disabled]) .control::placeholder {
|
|
26487
26498
|
color: ${bodyDisabledFontColor};
|
|
26488
26499
|
}
|
|
26489
26500
|
|
|
26501
|
+
:host([disabled][appearance-readonly]) .control::placeholder {
|
|
26502
|
+
color: ${controlLabelFontColor};
|
|
26503
|
+
}
|
|
26504
|
+
|
|
26490
26505
|
.controls {
|
|
26491
26506
|
display: contents;
|
|
26492
26507
|
}
|
|
@@ -26648,6 +26663,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26648
26663
|
constructor() {
|
|
26649
26664
|
super(...arguments);
|
|
26650
26665
|
this.appearance = NumberFieldAppearance.underline;
|
|
26666
|
+
this.appearanceReadOnly = false;
|
|
26651
26667
|
}
|
|
26652
26668
|
connectedCallback() {
|
|
26653
26669
|
super.connectedCallback();
|
|
@@ -26658,6 +26674,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26658
26674
|
__decorate([
|
|
26659
26675
|
attr
|
|
26660
26676
|
], NumberField.prototype, "appearance", void 0);
|
|
26677
|
+
__decorate([
|
|
26678
|
+
attr({ attribute: 'appearance-readonly', mode: 'boolean' })
|
|
26679
|
+
], NumberField.prototype, "appearanceReadOnly", void 0);
|
|
26661
26680
|
/**
|
|
26662
26681
|
* A function that returns a number-field registration for configuring the component with a DesignSystem.
|
|
26663
26682
|
*
|
|
@@ -75017,6 +75036,10 @@ focus outline in that case.
|
|
|
75017
75036
|
text-overflow: clip;
|
|
75018
75037
|
}
|
|
75019
75038
|
|
|
75039
|
+
:host([disabled][appearance-readonly]) .control {
|
|
75040
|
+
cursor: text;
|
|
75041
|
+
}
|
|
75042
|
+
|
|
75020
75043
|
.control::placeholder {
|
|
75021
75044
|
color: ${controlLabelFontColor};
|
|
75022
75045
|
}
|