@fluentui/react-spinbutton 9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 → 9.75.2-experimental.css-modules.20261113-ba13c87438.0
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/CHANGELOG.md +10 -10
- package/README.md +2 -2
- package/lib/components/SpinButton/SpinButton.module.css +310 -319
- package/lib-commonjs/components/SpinButton/SpinButton.module.css +310 -319
- package/package.json +7 -7
|
@@ -1,373 +1,364 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.root::after {
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
content: '';
|
|
22
|
-
position: absolute;
|
|
23
|
-
inset-inline-end: 0;
|
|
24
|
-
bottom: 0;
|
|
25
|
-
inset-inline-start: 0;
|
|
26
|
-
z-index: 20;
|
|
27
|
-
height: max(var(--strokeWidthThick), var(--borderRadiusMedium));
|
|
28
|
-
border-end-start-radius: var(--borderRadiusMedium);
|
|
29
|
-
border-end-end-radius: var(--borderRadiusMedium);
|
|
30
|
-
border-bottom: var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);
|
|
31
|
-
clip-path: inset(calc(100% - var(--strokeWidthThick)) 0 0 0);
|
|
32
|
-
transform: scaleX(0);
|
|
33
|
-
transition-property: transform;
|
|
34
|
-
transition-duration: var(--durationUltraFast);
|
|
35
|
-
transition-delay: var(--curveAccelerateMid);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.root:focus-within::after {
|
|
39
|
-
transform: scaleX(1);
|
|
40
|
-
transition-property: transform;
|
|
41
|
-
transition-duration: var(--durationNormal);
|
|
42
|
-
transition-delay: var(--curveDecelerateMid);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.root:focus-within:active::after {
|
|
46
|
-
border-bottom-color: var(--colorCompoundBrandStrokePressed);
|
|
47
|
-
}
|
|
1
|
+
/* @griffel-buckets reset: .root, .incrementButton, .decrementButton, .input */
|
|
2
|
+
/* stylelint-disable-next-line block-no-empty -- Class must exist in the CSS Module map; it is used as a state qualifier. */
|
|
3
|
+
.medium {
|
|
4
|
+
}
|
|
5
|
+
.root::before {
|
|
6
|
+
content: '';
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
position: absolute;
|
|
9
|
+
top: 0;
|
|
10
|
+
inset-inline-end: 0;
|
|
11
|
+
bottom: 0;
|
|
12
|
+
inset-inline-start: 0;
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
z-index: 10;
|
|
15
|
+
border: var(--strokeWidthThin) solid var(--colorNeutralStroke1);
|
|
16
|
+
border-bottom-color: var(--colorNeutralStrokeAccessible);
|
|
17
|
+
border-radius: var(--borderRadiusMedium);
|
|
18
|
+
}
|
|
48
19
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
20
|
+
.root::after {
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
content: '';
|
|
23
|
+
position: absolute;
|
|
24
|
+
inset-inline-end: 0;
|
|
25
|
+
bottom: 0;
|
|
26
|
+
inset-inline-start: 0;
|
|
27
|
+
z-index: 20;
|
|
28
|
+
height: max(var(--strokeWidthThick), var(--borderRadiusMedium));
|
|
29
|
+
border-end-start-radius: var(--borderRadiusMedium);
|
|
30
|
+
border-end-end-radius: var(--borderRadiusMedium);
|
|
31
|
+
border-bottom: var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);
|
|
32
|
+
clip-path: inset(calc(100% - var(--strokeWidthThick)) 0 0 0);
|
|
33
|
+
transform: scaleX(0);
|
|
34
|
+
transition-property: transform;
|
|
35
|
+
transition-duration: var(--durationUltraFast);
|
|
36
|
+
transition-delay: var(--curveAccelerateMid);
|
|
37
|
+
}
|
|
52
38
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
position: relative;
|
|
60
|
-
isolation: isolate;
|
|
61
|
-
vertical-align: middle;
|
|
62
|
-
background-color: var(--colorNeutralBackground1);
|
|
63
|
-
min-height: var(--spacingHorizontalXXXL);
|
|
64
|
-
padding: 0 0 0 var(--spacingHorizontalMNudge);
|
|
65
|
-
border-radius: var(--borderRadiusMedium);
|
|
66
|
-
}
|
|
39
|
+
.root:focus-within::after {
|
|
40
|
+
transform: scaleX(1);
|
|
41
|
+
transition-property: transform;
|
|
42
|
+
transition-duration: var(--durationNormal);
|
|
43
|
+
transition-delay: var(--curveDecelerateMid);
|
|
44
|
+
}
|
|
67
45
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
46
|
+
.root:focus-within:active::after {
|
|
47
|
+
border-bottom-color: var(--colorCompoundBrandStrokePressed);
|
|
48
|
+
}
|
|
71
49
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
font-size: var(--fontSizeBase200);
|
|
76
|
-
font-weight: var(--fontWeightRegular);
|
|
77
|
-
line-height: var(--lineHeightBase200);
|
|
78
|
-
padding-inline-start: var(--spacingHorizontalS);
|
|
79
|
-
}
|
|
50
|
+
.root:focus-within {
|
|
51
|
+
outline: var(--strokeWidthThick) solid transparent;
|
|
52
|
+
}
|
|
80
53
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
54
|
+
.root {
|
|
55
|
+
display: inline-grid;
|
|
56
|
+
grid-template-columns: 1fr var(--spacingHorizontalXXL);
|
|
57
|
+
grid-template-rows: 1fr 1fr;
|
|
58
|
+
column-gap: var(--spacingHorizontalXS);
|
|
59
|
+
row-gap: 0;
|
|
60
|
+
position: relative;
|
|
61
|
+
isolation: isolate;
|
|
62
|
+
vertical-align: middle;
|
|
63
|
+
background-color: var(--colorNeutralBackground1);
|
|
64
|
+
min-height: var(--spacingHorizontalXXXL);
|
|
65
|
+
padding-block: 0;
|
|
66
|
+
padding-inline: var(--spacingHorizontalMNudge) 0;
|
|
67
|
+
border-radius: var(--borderRadiusMedium);
|
|
68
|
+
}
|
|
88
69
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
70
|
+
.small {
|
|
71
|
+
min-height: var(--spacingHorizontalXXL);
|
|
72
|
+
font-family: var(--fontFamilyBase);
|
|
73
|
+
font-size: var(--fontSizeBase200);
|
|
74
|
+
font-weight: var(--fontWeightRegular);
|
|
75
|
+
line-height: var(--lineHeightBase200);
|
|
76
|
+
padding-inline-start: var(--spacingHorizontalS);
|
|
77
|
+
}
|
|
92
78
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
79
|
+
.underline::before {
|
|
80
|
+
border-top-width: 0;
|
|
81
|
+
border-inline-end-width: 0;
|
|
82
|
+
border-bottom-width: var(--strokeWidthThin);
|
|
83
|
+
border-inline-start-width: 0;
|
|
84
|
+
border-radius: var(--borderRadiusNone);
|
|
85
|
+
}
|
|
96
86
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
87
|
+
.filled::before {
|
|
88
|
+
border: var(--strokeWidthThin) solid var(--colorTransparentStroke);
|
|
89
|
+
}
|
|
100
90
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
border-bottom-color: var(--colorNeutralStrokeAccessibleHover);
|
|
105
|
-
border-inline-start-color: var(--colorNeutralStroke1Hover);
|
|
106
|
-
}
|
|
91
|
+
.filled-darker {
|
|
92
|
+
background-color: var(--colorNeutralBackground3);
|
|
93
|
+
}
|
|
107
94
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
border-inline-end-color: var(--colorNeutralStroke1Pressed);
|
|
112
|
-
border-bottom-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
113
|
-
border-inline-start-color: var(--colorNeutralStroke1Pressed);
|
|
114
|
-
}
|
|
95
|
+
.filled-lighter {
|
|
96
|
+
background-color: var(--colorNeutralBackground1);
|
|
97
|
+
}
|
|
115
98
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
99
|
+
.root:where(.outline:not(.disabled)):hover::before {
|
|
100
|
+
border-top-color: var(--colorNeutralStroke1Hover);
|
|
101
|
+
border-inline-end-color: var(--colorNeutralStroke1Hover);
|
|
102
|
+
border-bottom-color: var(--colorNeutralStrokeAccessibleHover);
|
|
103
|
+
border-inline-start-color: var(--colorNeutralStroke1Hover);
|
|
104
|
+
}
|
|
119
105
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
106
|
+
.root:where(.outline:not(.disabled)):active::before,
|
|
107
|
+
.root:where(.outline:not(.disabled)):focus-within::before {
|
|
108
|
+
border-top-color: var(--colorNeutralStroke1Pressed);
|
|
109
|
+
border-inline-end-color: var(--colorNeutralStroke1Pressed);
|
|
110
|
+
border-bottom-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
111
|
+
border-inline-start-color: var(--colorNeutralStroke1Pressed);
|
|
112
|
+
}
|
|
124
113
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
114
|
+
.root:where(.underline:not(.disabled)):hover::before {
|
|
115
|
+
border-bottom-color: var(--colorNeutralStrokeAccessibleHover);
|
|
116
|
+
}
|
|
128
117
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
border-bottom-color: var(--colorTransparentStrokeInteractive);
|
|
134
|
-
border-inline-start-color: var(--colorTransparentStrokeInteractive);
|
|
135
|
-
}
|
|
118
|
+
.root:where(.underline:not(.disabled)):active::before,
|
|
119
|
+
.root:where(.underline:not(.disabled)):focus-within::before {
|
|
120
|
+
border-bottom-color: var(--colorNeutralStrokeAccessiblePressed);
|
|
121
|
+
}
|
|
136
122
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
border-inline-end-color: var(--colorPaletteRedBorder2);
|
|
141
|
-
border-bottom-color: var(--colorPaletteRedBorder2);
|
|
142
|
-
border-inline-start-color: var(--colorPaletteRedBorder2);
|
|
143
|
-
}
|
|
123
|
+
.root:where(.underline:not(.disabled))::after {
|
|
124
|
+
border-radius: var(--borderRadiusNone);
|
|
125
|
+
}
|
|
144
126
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
127
|
+
.root:where(.filled:not(.disabled)):hover::before,
|
|
128
|
+
.root:where(.filled:not(.disabled)):focus-within::before {
|
|
129
|
+
border-top-color: var(--colorTransparentStrokeInteractive);
|
|
130
|
+
border-inline-end-color: var(--colorTransparentStrokeInteractive);
|
|
131
|
+
border-bottom-color: var(--colorTransparentStrokeInteractive);
|
|
132
|
+
border-inline-start-color: var(--colorTransparentStrokeInteractive);
|
|
133
|
+
}
|
|
151
134
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
135
|
+
.invalid:where(:not(.disabled)):not(:focus-within)::before,
|
|
136
|
+
.invalid:where(:not(.disabled)):hover:not(:focus-within)::before {
|
|
137
|
+
border-top-color: var(--colorPaletteRedBorder2);
|
|
138
|
+
border-inline-end-color: var(--colorPaletteRedBorder2);
|
|
139
|
+
border-bottom-color: var(--colorPaletteRedBorder2);
|
|
140
|
+
border-inline-start-color: var(--colorPaletteRedBorder2);
|
|
141
|
+
}
|
|
156
142
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
143
|
+
.disabled::before {
|
|
144
|
+
border-top-color: var(--colorNeutralStrokeDisabled);
|
|
145
|
+
border-inline-end-color: var(--colorNeutralStrokeDisabled);
|
|
146
|
+
border-bottom-color: var(--colorNeutralStrokeDisabled);
|
|
147
|
+
border-inline-start-color: var(--colorNeutralStrokeDisabled);
|
|
148
|
+
}
|
|
161
149
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
grid-row-end: 3;
|
|
167
|
-
outline-style: none;
|
|
168
|
-
border: 0;
|
|
169
|
-
padding: 0;
|
|
170
|
-
color: var(--colorNeutralForeground1);
|
|
171
|
-
background-color: transparent;
|
|
172
|
-
font-family: inherit;
|
|
173
|
-
font-size: inherit;
|
|
174
|
-
font-weight: inherit;
|
|
175
|
-
line-height: inherit;
|
|
176
|
-
width: 100%;
|
|
177
|
-
}
|
|
150
|
+
.disabled {
|
|
151
|
+
cursor: not-allowed;
|
|
152
|
+
background-color: var(--colorTransparentBackground);
|
|
153
|
+
}
|
|
178
154
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
155
|
+
.input::placeholder {
|
|
156
|
+
color: var(--colorNeutralForeground4);
|
|
157
|
+
opacity: 1;
|
|
158
|
+
}
|
|
182
159
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
160
|
+
.input {
|
|
161
|
+
grid-column-start: 1;
|
|
162
|
+
grid-column-end: 2;
|
|
163
|
+
grid-row-start: 1;
|
|
164
|
+
grid-row-end: 3;
|
|
165
|
+
outline-style: none;
|
|
166
|
+
border: 0;
|
|
167
|
+
padding: 0;
|
|
168
|
+
color: var(--colorNeutralForeground1);
|
|
169
|
+
background-color: transparent;
|
|
170
|
+
font-family: inherit;
|
|
171
|
+
font-size: inherit;
|
|
172
|
+
font-weight: inherit;
|
|
173
|
+
line-height: inherit;
|
|
174
|
+
width: 100%;
|
|
175
|
+
}
|
|
188
176
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
177
|
+
:where(.disabled) > .input::placeholder {
|
|
178
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
179
|
+
}
|
|
193
180
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
181
|
+
:where(.disabled) > .input {
|
|
182
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
183
|
+
cursor: not-allowed;
|
|
184
|
+
background-color: var(--colorTransparentBackground);
|
|
185
|
+
}
|
|
200
186
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
187
|
+
.incrementButton:active,
|
|
188
|
+
.decrementButton:active {
|
|
189
|
+
outline-style: none;
|
|
190
|
+
}
|
|
206
191
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
192
|
+
.incrementButton:enabled:hover,
|
|
193
|
+
.decrementButton:enabled:hover {
|
|
194
|
+
cursor: pointer;
|
|
195
|
+
color: var(--colorNeutralForeground3Hover);
|
|
196
|
+
background-color: var(--colorSubtleBackgroundHover);
|
|
197
|
+
}
|
|
212
198
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
199
|
+
.incrementButton:enabled:active,
|
|
200
|
+
.decrementButton:enabled:active {
|
|
201
|
+
color: var(--colorNeutralForeground3Pressed);
|
|
202
|
+
background-color: var(--colorSubtleBackgroundPressed);
|
|
203
|
+
}
|
|
218
204
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
justify-content: center;
|
|
225
|
-
border: 0;
|
|
226
|
-
position: absolute;
|
|
227
|
-
outline-style: none;
|
|
228
|
-
height: var(--spacingHorizontalL);
|
|
229
|
-
background-color: transparent;
|
|
230
|
-
color: var(--colorNeutralForeground3);
|
|
231
|
-
grid-column-start: 2;
|
|
232
|
-
border-radius: 0;
|
|
233
|
-
padding: 0 calc(var(--spacingHorizontalXS) * 1.25) 0 calc(var(--spacingHorizontalXS) * 1.25);
|
|
234
|
-
}
|
|
205
|
+
.incrementButton:enabled:global(.fui-SpinButton__button_active),
|
|
206
|
+
.decrementButton:enabled:global(.fui-SpinButton__button_active) {
|
|
207
|
+
color: var(--colorNeutralForeground3Pressed);
|
|
208
|
+
background-color: var(--colorSubtleBackgroundPressed);
|
|
209
|
+
}
|
|
235
210
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}
|
|
211
|
+
.incrementButton:disabled,
|
|
212
|
+
.decrementButton:disabled {
|
|
213
|
+
cursor: not-allowed;
|
|
214
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
215
|
+
}
|
|
242
216
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
217
|
+
.incrementButton,
|
|
218
|
+
.decrementButton {
|
|
219
|
+
display: inline-flex;
|
|
220
|
+
width: var(--spacingHorizontalXXL);
|
|
221
|
+
align-items: center;
|
|
222
|
+
justify-content: center;
|
|
223
|
+
border: 0;
|
|
224
|
+
position: absolute;
|
|
225
|
+
outline-style: none;
|
|
226
|
+
height: var(--spacingHorizontalL);
|
|
227
|
+
background-color: transparent;
|
|
228
|
+
color: var(--colorNeutralForeground3);
|
|
229
|
+
grid-column-start: 2;
|
|
230
|
+
border-radius: 0;
|
|
231
|
+
padding: 0 calc(var(--spacingHorizontalXS) * 1.25) 0 calc(var(--spacingHorizontalXS) * 1.25);
|
|
232
|
+
}
|
|
249
233
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
234
|
+
.incrementButton {
|
|
235
|
+
grid-row-start: 1;
|
|
236
|
+
border-start-end-radius: var(--borderRadiusMedium);
|
|
237
|
+
padding-top: var(--spacingHorizontalXS);
|
|
238
|
+
padding-bottom: var(--strokeWidthThin);
|
|
239
|
+
}
|
|
254
240
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
241
|
+
.decrementButton {
|
|
242
|
+
grid-row-start: 2;
|
|
243
|
+
border-end-end-radius: var(--borderRadiusMedium);
|
|
244
|
+
padding-top: var(--strokeWidthThin);
|
|
245
|
+
padding-bottom: var(--spacingHorizontalXS);
|
|
246
|
+
}
|
|
258
247
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
248
|
+
:where(.small) > .incrementButton {
|
|
249
|
+
padding-block: var(--strokeWidthThicker) 0px;
|
|
250
|
+
padding-inline: var(--spacingHorizontalXS) var(--spacingHorizontalSNudge);
|
|
251
|
+
height: var(--spacingHorizontalM);
|
|
252
|
+
}
|
|
263
253
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
254
|
+
:where(.small) > .decrementButton {
|
|
255
|
+
padding-block: 0px var(--strokeWidthThicker);
|
|
256
|
+
padding-inline: var(--spacingHorizontalXS) var(--spacingHorizontalSNudge);
|
|
257
|
+
height: var(--spacingHorizontalM);
|
|
258
|
+
}
|
|
267
259
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
260
|
+
:where(.underline) > .incrementButton:enabled:hover,
|
|
261
|
+
:where(.underline) > .decrementButton:enabled:hover {
|
|
262
|
+
color: var(--colorNeutralForeground3Hover);
|
|
263
|
+
background-color: var(--colorSubtleBackgroundHover);
|
|
264
|
+
}
|
|
273
265
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
266
|
+
:where(.underline) > .incrementButton:enabled:active,
|
|
267
|
+
:where(.underline) > .decrementButton:enabled:active {
|
|
268
|
+
color: var(--colorNeutralForeground3Pressed);
|
|
269
|
+
background-color: var(--colorSubtleBackgroundPressed);
|
|
270
|
+
}
|
|
279
271
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
272
|
+
:where(.underline) > .incrementButton:enabled:global(.fui-SpinButton__button_active),
|
|
273
|
+
:where(.underline) > .decrementButton:enabled:global(.fui-SpinButton__button_active) {
|
|
274
|
+
color: var(--colorNeutralForeground3Pressed);
|
|
275
|
+
background-color: var(--colorSubtleBackgroundPressed);
|
|
276
|
+
}
|
|
285
277
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
278
|
+
:where(.underline) > .incrementButton:disabled,
|
|
279
|
+
:where(.underline) > .decrementButton:disabled {
|
|
280
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
281
|
+
}
|
|
290
282
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
283
|
+
:where(.underline) > .incrementButton,
|
|
284
|
+
:where(.underline) > .decrementButton {
|
|
285
|
+
background-color: transparent;
|
|
286
|
+
color: var(--colorNeutralForeground3);
|
|
287
|
+
}
|
|
296
288
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
289
|
+
:where(.filled-darker) > .incrementButton:enabled:hover,
|
|
290
|
+
:where(.filled-darker) > .decrementButton:enabled:hover {
|
|
291
|
+
color: var(--colorNeutralForeground3Hover);
|
|
292
|
+
background-color: var(--colorNeutralBackground3Hover);
|
|
293
|
+
}
|
|
302
294
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
295
|
+
:where(.filled-darker) > .incrementButton:enabled:active,
|
|
296
|
+
:where(.filled-darker) > .decrementButton:enabled:active {
|
|
297
|
+
color: var(--colorNeutralForeground3Pressed);
|
|
298
|
+
background-color: var(--colorNeutralBackground3Pressed);
|
|
299
|
+
}
|
|
308
300
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
301
|
+
:where(.filled-darker) > .incrementButton:enabled:global(.fui-SpinButton__button_active),
|
|
302
|
+
:where(.filled-darker) > .decrementButton:enabled:global(.fui-SpinButton__button_active) {
|
|
303
|
+
color: var(--colorNeutralForeground3Pressed);
|
|
304
|
+
background-color: var(--colorNeutralBackground3Pressed);
|
|
305
|
+
}
|
|
314
306
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
307
|
+
:where(.filled-darker) > .incrementButton:disabled,
|
|
308
|
+
:where(.filled-darker) > .decrementButton:disabled {
|
|
309
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
310
|
+
}
|
|
319
311
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
312
|
+
:where(.filled-darker) > .incrementButton,
|
|
313
|
+
:where(.filled-darker) > .decrementButton {
|
|
314
|
+
background-color: transparent;
|
|
315
|
+
color: var(--colorNeutralForeground3);
|
|
316
|
+
}
|
|
325
317
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
318
|
+
:where(.filled-lighter) > .incrementButton:enabled:hover,
|
|
319
|
+
:where(.filled-lighter) > .decrementButton:enabled:hover {
|
|
320
|
+
color: var(--colorNeutralForeground3Hover);
|
|
321
|
+
background-color: var(--colorNeutralBackground1Hover);
|
|
322
|
+
}
|
|
331
323
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
324
|
+
:where(.filled-lighter) > .incrementButton:enabled:active,
|
|
325
|
+
:where(.filled-lighter) > .incrementButton:enabled:global(.fui-SpinButton__button_active),
|
|
326
|
+
:where(.filled-lighter) > .decrementButton:enabled:active,
|
|
327
|
+
:where(.filled-lighter) > .decrementButton:enabled:global(.fui-SpinButton__button_active) {
|
|
328
|
+
color: var(--colorNeutralForeground3Pressed);
|
|
329
|
+
background-color: var(--colorNeutralBackground1Pressed);
|
|
330
|
+
}
|
|
339
331
|
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
332
|
+
:where(.filled-lighter) > .incrementButton:disabled,
|
|
333
|
+
:where(.filled-lighter) > .decrementButton:disabled {
|
|
334
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
335
|
+
}
|
|
344
336
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
337
|
+
:where(.filled-lighter) > .incrementButton,
|
|
338
|
+
:where(.filled-lighter) > .decrementButton {
|
|
339
|
+
background-color: transparent;
|
|
340
|
+
color: var(--colorNeutralForeground3);
|
|
341
|
+
}
|
|
350
342
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}
|
|
343
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
344
|
+
.root::after {
|
|
345
|
+
transition-duration: 0.01ms;
|
|
346
|
+
transition-delay: 0.01ms;
|
|
356
347
|
}
|
|
348
|
+
}
|
|
357
349
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}
|
|
350
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
351
|
+
.root:focus-within::after {
|
|
352
|
+
transition-duration: 0.01ms;
|
|
353
|
+
transition-delay: 0.01ms;
|
|
363
354
|
}
|
|
355
|
+
}
|
|
364
356
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}
|
|
357
|
+
@media (forced-colors: active) {
|
|
358
|
+
.disabled::before {
|
|
359
|
+
border-top-color: GrayText;
|
|
360
|
+
border-inline-end-color: GrayText;
|
|
361
|
+
border-bottom-color: GrayText;
|
|
362
|
+
border-inline-start-color: GrayText;
|
|
372
363
|
}
|
|
373
364
|
}
|