@rescui/checkbox 0.13.0 → 0.14.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/lib/index.css
CHANGED
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
inherits:true;
|
|
4
4
|
initial-value:0;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._themeLight_1nv4gix_8{
|
|
7
7
|
--rs-theme-dark:0;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
._themeDark_1nv4gix_11{
|
|
10
10
|
--rs-theme-dark:1;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.
|
|
13
|
+
._checkboxSizeS_1nv4gix_15{
|
|
14
14
|
--_rs-checkbox-parts-offset:4px;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
._checkboxSizeM_1nv4gix_18{
|
|
17
17
|
--_rs-checkbox-parts-offset:8px;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._checkboxSizeL_1nv4gix_21{
|
|
20
20
|
--_rs-checkbox-parts-offset:8px;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
._sizeS_1nv4gix_25{
|
|
24
24
|
--_rs-checkbox-ci-mark-s-display:initial;
|
|
25
25
|
--_rs-checkbox-ci-mark-m-display:none;
|
|
26
26
|
--_rs-checkbox-ci-mark-l-display:none;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--_rs-checkbox-ci-shadow-size:3px;
|
|
29
29
|
--_rs-checkbox-ci-indeterminate-icon-border-width:6px 3px;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
._sizeM_1nv4gix_28{
|
|
32
32
|
--_rs-checkbox-ci-mark-s-display:none;
|
|
33
33
|
--_rs-checkbox-ci-mark-m-display:initial;
|
|
34
34
|
--_rs-checkbox-ci-mark-l-display:none;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
--_rs-checkbox-ci-shadow-size:3px;
|
|
37
37
|
--_rs-checkbox-ci-indeterminate-icon-border-width:8px 3px;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
._sizeL_1nv4gix_31{
|
|
40
40
|
--_rs-checkbox-ci-mark-s-display:none;
|
|
41
41
|
--_rs-checkbox-ci-mark-m-display:none;
|
|
42
42
|
--_rs-checkbox-ci-mark-l-display:initial;
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
--_rs-checkbox-ci-indeterminate-icon-border-width:9px 3px;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
._classic_1nv4gix_35{
|
|
49
49
|
--_rs-checkbox-ci-mark-color:#FFFFFF;
|
|
50
50
|
--_rs-checkbox-ci-indeterminate-icon-border-color:var(--_rs-color-primary);
|
|
51
51
|
--_rs-checkbox-ci-indeterminate-icon-background-color:#FFFFFF;
|
|
52
52
|
--_rs-checkbox-ci-checked-icon-border-color:var(--_rs-color-primary);
|
|
53
53
|
--_rs-checkbox-ci-hover-icon-box-shadow:var(--_rs-color-primary-t-fog);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
._rock_1nv4gix_38{
|
|
56
56
|
--_rs-checkbox-ci-mark-color:rgb(calc(255 - 230 * var(--_rs-theme-dark-coefficient, 0)), calc(255 - 230 * var(--_rs-theme-dark-coefficient, 0)), calc(255 - 227 * var(--_rs-theme-dark-coefficient, 0)));
|
|
57
57
|
--_rs-checkbox-ci-indeterminate-icon-border-color:rgb(
|
|
58
58
|
calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(28 + 227 * var(--_rs-theme-dark-coefficient, 0))
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
._checkbox_1nv4gix_15{
|
|
73
73
|
--_rs-theme-dark:var(
|
|
74
74
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
75
75
|
var(--rs-theme-dark, 0)
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
|
|
82
82
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
83
83
|
|
|
84
|
-
.
|
|
84
|
+
._checkbox_1nv4gix_15{
|
|
85
85
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100% * var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100% * var(--_rs-theme-dark-coefficient, 0)));
|
|
86
86
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100% * var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100% * var(--_rs-theme-dark-coefficient, 0)));
|
|
87
87
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100% * var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100% * var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
|
|
93
93
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
94
94
|
|
|
95
|
-
.
|
|
95
|
+
._checkbox_1nv4gix_15{
|
|
96
96
|
--_rs-color-primary:rgb(calc(107 * var(--_rs-theme-light-coefficient, 1) + 132 * var(--_rs-theme-dark-coefficient, 0)), calc(87 * var(--_rs-theme-light-coefficient, 1) + 115 * var(--_rs-theme-dark-coefficient, 0)), 255);
|
|
97
97
|
--_rs-color-primary-dim:rgb(calc(137 * var(--_rs-theme-light-coefficient, 1) + 111 * var(--_rs-theme-dark-coefficient, 0)), calc(121 * var(--_rs-theme-light-coefficient, 1) + 97 * var(--_rs-theme-dark-coefficient, 0)), calc(255 * var(--_rs-theme-light-coefficient, 1) + 210 * var(--_rs-theme-dark-coefficient, 0)));
|
|
98
98
|
--_rs-color-primary-fog:rgb(calc(225 * var(--_rs-theme-light-coefficient, 1) + 46 * var(--_rs-theme-dark-coefficient, 0)), calc(221 * var(--_rs-theme-light-coefficient, 1) + 43 * var(--_rs-theme-dark-coefficient, 0)), calc(255 * var(--_rs-theme-light-coefficient, 1) + 73 * var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
|
|
104
104
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
105
105
|
|
|
106
|
-
.
|
|
106
|
+
._checkbox_1nv4gix_15{
|
|
107
107
|
--_rs-color-danger:color-mix(in srgb, #CC1400 calc(100% * var(--_rs-theme-light-coefficient, 1)), #FF6553 calc(100% * var(--_rs-theme-dark-coefficient, 0)));
|
|
108
108
|
--_rs-color-danger-bg:color-mix(in srgb, rgba(204,20,0, 0.2) calc(100% * var(--_rs-theme-light-coefficient, 1)), rgba(255,101,83, 0.2) calc(100% * var(--_rs-theme-dark-coefficient, 0)));
|
|
109
109
|
}
|
|
@@ -111,13 +111,13 @@
|
|
|
111
111
|
|
|
112
112
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
113
113
|
|
|
114
|
-
.
|
|
114
|
+
._checkbox_1nv4gix_15{
|
|
115
115
|
--_rs-color-danger:rgb(calc(204 * var(--_rs-theme-light-coefficient, 1) + 255 * var(--_rs-theme-dark-coefficient, 0)), calc(20 * var(--_rs-theme-light-coefficient, 1) + 101 * var(--_rs-theme-dark-coefficient, 0)), calc(0 * var(--_rs-theme-light-coefficient, 1) + 83 * var(--_rs-theme-dark-coefficient, 0)));
|
|
116
116
|
--_rs-color-danger-bg:rgba(calc(204 * var(--_rs-theme-light-coefficient, 1) + 255 * var(--_rs-theme-dark-coefficient, 0)), calc(20 * var(--_rs-theme-light-coefficient, 1) + 101 * var(--_rs-theme-dark-coefficient, 0)), calc(0 * var(--_rs-theme-light-coefficient, 1) + 83 * var(--_rs-theme-dark-coefficient, 0)), 0.2);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
._checkbox_1nv4gix_15 {
|
|
121
121
|
|
|
122
122
|
position:relative;
|
|
123
123
|
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
text-align:left;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.
|
|
136
|
+
._input_1nv4gix_65{
|
|
137
137
|
position:absolute;
|
|
138
138
|
z-index:-1;
|
|
139
139
|
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
border:0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
.
|
|
147
|
+
._icon_1nv4gix_76{
|
|
148
148
|
display:inline-block;
|
|
149
149
|
float:left;
|
|
150
150
|
|
|
@@ -161,20 +161,20 @@
|
|
|
161
161
|
transition:border-width var(--rs-transition-function, ease-out) 100ms, border-color var(--rs-transition-function, ease-out) 100ms;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
.
|
|
164
|
+
._enabled_1nv4gix_93 ._icon_1nv4gix_76{
|
|
165
165
|
cursor:pointer;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.
|
|
168
|
+
._indeterminate_1nv4gix_97 ._icon_1nv4gix_76{
|
|
169
169
|
border-width:var(--_rs-checkbox-ci-indeterminate-icon-border-width);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
.
|
|
172
|
+
._input_1nv4gix_65:checked + ._icon_1nv4gix_76{
|
|
173
173
|
border-width:calc(.5 * var(--_rs-checkbox-ci-size));
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
.
|
|
177
|
-
.
|
|
176
|
+
._disabled_1nv4gix_105 ._icon_1nv4gix_76._icon_1nv4gix_76,
|
|
177
|
+
._input_1nv4gix_65:disabled + ._icon_1nv4gix_76{
|
|
178
178
|
border-color:rgb(calc(186 - 92 * var(--_rs-theme-dark-coefficient, 0)), calc(186 - 92 * var(--_rs-theme-dark-coefficient, 0)), calc(187 - 91 * var(--_rs-theme-dark-coefficient, 0)));
|
|
179
179
|
|
|
180
180
|
cursor:not-allowed;
|
|
@@ -183,14 +183,14 @@
|
|
|
183
183
|
background:rgb(calc(244 - 196 * var(--_rs-theme-dark-coefficient, 0)), calc(244 - 196 * var(--_rs-theme-dark-coefficient, 0)), calc(244 - 193 * var(--_rs-theme-dark-coefficient, 0)));
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.
|
|
187
|
-
.
|
|
186
|
+
._input_1nv4gix_65:hover + ._icon_1nv4gix_76,
|
|
187
|
+
._enabled_1nv4gix_93:hover ._icon_1nv4gix_76{
|
|
188
188
|
background:rgb(calc(255 - 184 * var(--_rs-theme-dark-coefficient, 0)), calc(255 - 184 * var(--_rs-theme-dark-coefficient, 0)), calc(255 - 182 * var(--_rs-theme-dark-coefficient, 0)));
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
.
|
|
192
|
-
.
|
|
193
|
-
.
|
|
191
|
+
._enabled_1nv4gix_93._indeterminate_1nv4gix_97 ._icon_1nv4gix_76,
|
|
192
|
+
._enabled_1nv4gix_93._indeterminate_1nv4gix_97:hover ._icon_1nv4gix_76,
|
|
193
|
+
._enabled_1nv4gix_93._indeterminate_1nv4gix_97 ._input_1nv4gix_65:hover + ._icon_1nv4gix_76{
|
|
194
194
|
border-color:var(--_rs-checkbox-ci-indeterminate-icon-border-color);
|
|
195
195
|
|
|
196
196
|
background-color:var(
|
|
@@ -198,16 +198,16 @@
|
|
|
198
198
|
);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
.
|
|
201
|
+
._enabled_1nv4gix_93 ._input_1nv4gix_65:checked + ._icon_1nv4gix_76._icon_1nv4gix_76{
|
|
202
202
|
border-color:var(--_rs-checkbox-ci-checked-icon-border-color);
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
.
|
|
206
|
-
.
|
|
205
|
+
._error_1nv4gix_134 ._icon_1nv4gix_76._icon_1nv4gix_76._icon_1nv4gix_76._icon_1nv4gix_76,
|
|
206
|
+
._input_1nv4gix_65:invalid + ._icon_1nv4gix_76._icon_1nv4gix_76._icon_1nv4gix_76{
|
|
207
207
|
border-color:var(--_rs-color-danger);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
.
|
|
210
|
+
._icon_1nv4gix_76::after{
|
|
211
211
|
position:absolute;
|
|
212
212
|
top:var(--_rs-checkbox-ci-shadow-size);
|
|
213
213
|
right:var(--_rs-checkbox-ci-shadow-size);
|
|
@@ -217,17 +217,18 @@
|
|
|
217
217
|
content:'';
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.
|
|
221
|
-
label:hover .
|
|
222
|
-
.
|
|
220
|
+
._enabled_1nv4gix_93:hover > ._icon_1nv4gix_76::after,
|
|
221
|
+
label:hover ._enabled_1nv4gix_93 > ._icon_1nv4gix_76::after,
|
|
222
|
+
._enabled_1nv4gix_93 ._input_1nv4gix_65:active + ._icon_1nv4gix_76::after{
|
|
223
223
|
box-shadow:0 0 0 var(--_rs-checkbox-ci-shadow-size) var(--_rs-checkbox-ci-hover-icon-box-shadow);
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
.
|
|
226
|
+
._enabled_1nv4gix_93 ._input_1nv4gix_65:focus-visible + ._icon_1nv4gix_76::after,
|
|
227
|
+
._enabled_1nv4gix_93 ._input_1nv4gix_65:focus[data-focus-method='key'] + ._icon_1nv4gix_76::after{
|
|
227
228
|
box-shadow:0 0 0 1px rgb(calc(232 - 184 * var(--_rs-theme-dark-coefficient, 0)), calc(232 - 184 * var(--_rs-theme-dark-coefficient, 0)), calc(232 - 181 * var(--_rs-theme-dark-coefficient, 0))), 0 0 0 var(--_rs-checkbox-ci-shadow-size) var(--_rs-color-primary-t-dim);
|
|
228
229
|
}
|
|
229
230
|
|
|
230
|
-
.
|
|
231
|
+
._checkmark_1nv4gix_162{
|
|
231
232
|
position:absolute;
|
|
232
233
|
top:var(--_rs-checkbox-ci-shadow-size);
|
|
233
234
|
left:var(--_rs-checkbox-ci-shadow-size);
|
|
@@ -239,30 +240,30 @@
|
|
|
239
240
|
fill:currentColor;
|
|
240
241
|
}
|
|
241
242
|
|
|
242
|
-
.
|
|
243
|
+
._enabled_1nv4gix_93 ._checkmark_1nv4gix_162{
|
|
243
244
|
color:var(--_rs-checkbox-ci-mark-color);
|
|
244
245
|
}
|
|
245
246
|
|
|
246
|
-
.
|
|
247
|
-
.
|
|
247
|
+
._disabled_1nv4gix_105 ._checkmark_1nv4gix_162,
|
|
248
|
+
._input_1nv4gix_65:disabled + ._icon_1nv4gix_76 > ._checkmark_1nv4gix_162{
|
|
248
249
|
color:rgb(calc(244 - 196 * var(--_rs-theme-dark-coefficient, 0)), calc(244 - 196 * var(--_rs-theme-dark-coefficient, 0)), calc(244 - 193 * var(--_rs-theme-dark-coefficient, 0)));
|
|
249
250
|
}
|
|
250
251
|
|
|
251
|
-
.
|
|
252
|
+
._input_1nv4gix_65:checked + ._icon_1nv4gix_76 > ._checkmark_1nv4gix_162{
|
|
252
253
|
display:block;
|
|
253
254
|
}
|
|
254
255
|
|
|
255
|
-
.
|
|
256
|
+
._markS_1nv4gix_187{
|
|
256
257
|
display:var(--_rs-checkbox-ci-mark-s-display);
|
|
257
258
|
}
|
|
258
|
-
.
|
|
259
|
+
._markM_1nv4gix_190{
|
|
259
260
|
display:var(--_rs-checkbox-ci-mark-m-display);
|
|
260
261
|
}
|
|
261
|
-
.
|
|
262
|
+
._markL_1nv4gix_193{
|
|
262
263
|
display:var(--_rs-checkbox-ci-mark-l-display);
|
|
263
264
|
}
|
|
264
265
|
|
|
265
|
-
.
|
|
266
|
+
._errorMessage_1nv4gix_197{
|
|
266
267
|
margin-top:var(--_rs-checkbox-parts-offset);
|
|
267
268
|
}
|
|
268
269
|
|
|
@@ -271,14 +272,14 @@
|
|
|
271
272
|
inherits:true;
|
|
272
273
|
initial-value:0;
|
|
273
274
|
}
|
|
274
|
-
.
|
|
275
|
+
._themeLight_1ku9rd_6{
|
|
275
276
|
--rs-theme-dark:0;
|
|
276
277
|
}
|
|
277
|
-
.
|
|
278
|
+
._themeDark_1ku9rd_9{
|
|
278
279
|
--rs-theme-dark:1;
|
|
279
280
|
}
|
|
280
281
|
|
|
281
|
-
.
|
|
282
|
+
._container_1ku9rd_13{
|
|
282
283
|
--_rs-theme-dark:var(
|
|
283
284
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
284
285
|
var(--rs-theme-dark, 0)
|
|
@@ -290,7 +291,7 @@
|
|
|
290
291
|
|
|
291
292
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
292
293
|
|
|
293
|
-
.
|
|
294
|
+
._container_1ku9rd_13{
|
|
294
295
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100% * var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100% * var(--_rs-theme-dark-coefficient, 0)));
|
|
295
296
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100% * var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100% * var(--_rs-theme-dark-coefficient, 0)));
|
|
296
297
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100% * var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100% * var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -301,7 +302,7 @@
|
|
|
301
302
|
|
|
302
303
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
303
304
|
|
|
304
|
-
.
|
|
305
|
+
._container_1ku9rd_13{
|
|
305
306
|
--_rs-color-primary:rgb(calc(107 * var(--_rs-theme-light-coefficient, 1) + 132 * var(--_rs-theme-dark-coefficient, 0)), calc(87 * var(--_rs-theme-light-coefficient, 1) + 115 * var(--_rs-theme-dark-coefficient, 0)), 255);
|
|
306
307
|
--_rs-color-primary-dim:rgb(calc(137 * var(--_rs-theme-light-coefficient, 1) + 111 * var(--_rs-theme-dark-coefficient, 0)), calc(121 * var(--_rs-theme-light-coefficient, 1) + 97 * var(--_rs-theme-dark-coefficient, 0)), calc(255 * var(--_rs-theme-light-coefficient, 1) + 210 * var(--_rs-theme-dark-coefficient, 0)));
|
|
307
308
|
--_rs-color-primary-fog:rgb(calc(225 * var(--_rs-theme-light-coefficient, 1) + 46 * var(--_rs-theme-dark-coefficient, 0)), calc(221 * var(--_rs-theme-light-coefficient, 1) + 43 * var(--_rs-theme-dark-coefficient, 0)), calc(255 * var(--_rs-theme-light-coefficient, 1) + 73 * var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -310,12 +311,12 @@
|
|
|
310
311
|
}
|
|
311
312
|
}
|
|
312
313
|
|
|
313
|
-
.
|
|
314
|
+
._sizeS_1ku9rd_18{
|
|
314
315
|
--_rs-checkbox-list-label-offset:4px;
|
|
315
316
|
--_rs-checkbox-list-left-offset:calc(28px);
|
|
316
317
|
}
|
|
317
318
|
|
|
318
|
-
.
|
|
319
|
+
._sizeS_1ku9rd_18 [data-rs-internal='checkbox-list__label']{
|
|
319
320
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
320
321
|
--_rs-typography-text-transform:initial;
|
|
321
322
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -351,7 +352,7 @@
|
|
|
351
352
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
352
353
|
}
|
|
353
354
|
|
|
354
|
-
.
|
|
355
|
+
._sizeS_1ku9rd_18 [data-rs-internal='checkbox-list__bold-label']{
|
|
355
356
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
356
357
|
--_rs-typography-text-transform:initial;
|
|
357
358
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -383,11 +384,11 @@
|
|
|
383
384
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
384
385
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
385
386
|
}
|
|
386
|
-
.
|
|
387
|
+
._sizeM_1ku9rd_21{
|
|
387
388
|
--_rs-checkbox-list-label-offset:8px;
|
|
388
389
|
--_rs-checkbox-list-left-offset:calc(32px);
|
|
389
390
|
}
|
|
390
|
-
.
|
|
391
|
+
._sizeM_1ku9rd_21 [data-rs-internal='checkbox-list__label']{
|
|
391
392
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
392
393
|
--_rs-typography-text-transform:initial;
|
|
393
394
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -426,11 +427,11 @@
|
|
|
426
427
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
427
428
|
}
|
|
428
429
|
@media screen and (max-width: 640px){
|
|
429
|
-
.
|
|
430
|
+
._sizeM_1ku9rd_21 [data-rs-internal='checkbox-list__label']{
|
|
430
431
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
431
432
|
}
|
|
432
433
|
}
|
|
433
|
-
.
|
|
434
|
+
._sizeM_1ku9rd_21 [data-rs-internal='checkbox-list__bold-label']{
|
|
434
435
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
435
436
|
--_rs-typography-text-transform:initial;
|
|
436
437
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -462,11 +463,11 @@
|
|
|
462
463
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
463
464
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
464
465
|
}
|
|
465
|
-
.
|
|
466
|
+
._sizeL_1ku9rd_24{
|
|
466
467
|
--_rs-checkbox-list-label-offset:12px;
|
|
467
468
|
--_rs-checkbox-list-left-offset:calc(44px);
|
|
468
469
|
}
|
|
469
|
-
.
|
|
470
|
+
._sizeL_1ku9rd_24 [data-rs-internal='checkbox-list__label']{
|
|
470
471
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
471
472
|
--_rs-typography-text-transform:initial;
|
|
472
473
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -505,11 +506,11 @@
|
|
|
505
506
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
506
507
|
}
|
|
507
508
|
@media screen and (max-width: 640px){
|
|
508
|
-
.
|
|
509
|
+
._sizeL_1ku9rd_24 [data-rs-internal='checkbox-list__label']{
|
|
509
510
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
510
511
|
}
|
|
511
512
|
}
|
|
512
|
-
.
|
|
513
|
+
._sizeL_1ku9rd_24 [data-rs-internal='checkbox-list__bold-label']{
|
|
513
514
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
514
515
|
--_rs-typography-text-transform:initial;
|
|
515
516
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -542,11 +543,11 @@
|
|
|
542
543
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
543
544
|
}
|
|
544
545
|
|
|
545
|
-
.
|
|
546
|
+
._inner_1ku9rd_28{
|
|
546
547
|
--rs-out-checkbox-list-left-offset:var(--_rs-checkbox-list-left-offset);
|
|
547
548
|
}
|
|
548
549
|
|
|
549
|
-
.
|
|
550
|
+
._label_1ku9rd_32{
|
|
550
551
|
letter-spacing:var(
|
|
551
552
|
--rs-text-base-letter-spacing,
|
|
552
553
|
var(--_rs-typography-letter-spacing)
|
|
@@ -567,27 +568,27 @@
|
|
|
567
568
|
padding:0;
|
|
568
569
|
}
|
|
569
570
|
|
|
570
|
-
.
|
|
571
|
+
._disabled_1ku9rd_39 ._label_1ku9rd_32{
|
|
571
572
|
color:var(
|
|
572
573
|
--rs-color-pale,
|
|
573
574
|
rgba(calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(28 + 227 * var(--_rs-theme-dark-coefficient, 0)), 0.5)
|
|
574
575
|
);
|
|
575
576
|
}
|
|
576
577
|
|
|
577
|
-
.
|
|
578
|
+
._footer_1ku9rd_44{
|
|
578
579
|
display:flex;
|
|
579
580
|
flex-direction:column;
|
|
580
581
|
}
|
|
581
582
|
|
|
582
|
-
.
|
|
583
|
+
._errorMessage_1ku9rd_49{
|
|
583
584
|
order:99;
|
|
584
585
|
}
|
|
585
586
|
|
|
586
|
-
.
|
|
587
|
+
._error_1ku9rd_49 ._errorMessage_1ku9rd_49{
|
|
587
588
|
order:0;
|
|
588
589
|
}
|
|
589
590
|
|
|
590
|
-
.
|
|
591
|
+
._note_1ku9rd_58{
|
|
591
592
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
592
593
|
--_rs-typography-text-transform:initial;
|
|
593
594
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -648,7 +649,7 @@
|
|
|
648
649
|
order:1;
|
|
649
650
|
}
|
|
650
651
|
|
|
651
|
-
.
|
|
652
|
+
._disabled_1ku9rd_39 ._note_1ku9rd_58{
|
|
652
653
|
--_rs-typography-hardness-color:var(
|
|
653
654
|
--rs-color-pale,
|
|
654
655
|
rgba(calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(28 + 227 * var(--_rs-theme-dark-coefficient, 0)), 0.5)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var styles = {"themeLight":"
|
|
1
|
+
var styles = {"themeLight":"_themeLight_1ku9rd_6","themeDark":"_themeDark_1ku9rd_9","container":"_container_1ku9rd_13","sizeS":"_sizeS_1ku9rd_18","sizeM":"_sizeM_1ku9rd_21","sizeL":"_sizeL_1ku9rd_24","inner":"_inner_1ku9rd_28","label":"_label_1ku9rd_32","disabled":"_disabled_1ku9rd_39","footer":"_footer_1ku9rd_44","errorMessage":"_errorMessage_1ku9rd_49","error":"_error_1ku9rd_49","note":"_note_1ku9rd_58"};
|
|
2
2
|
|
|
3
3
|
export { styles as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var styles = {"themeLight":"
|
|
1
|
+
var styles = {"themeLight":"_themeLight_1nv4gix_8","themeDark":"_themeDark_1nv4gix_11","checkboxSizeS":"_checkboxSizeS_1nv4gix_15","checkboxSizeM":"_checkboxSizeM_1nv4gix_18","checkboxSizeL":"_checkboxSizeL_1nv4gix_21","sizeS":"_sizeS_1nv4gix_25","sizeM":"_sizeM_1nv4gix_28","sizeL":"_sizeL_1nv4gix_31","classic":"_classic_1nv4gix_35","rock":"_rock_1nv4gix_38","checkbox":"_checkbox_1nv4gix_15","input":"_input_1nv4gix_65","icon":"_icon_1nv4gix_76","enabled":"_enabled_1nv4gix_93","indeterminate":"_indeterminate_1nv4gix_97","disabled":"_disabled_1nv4gix_105","error":"_error_1nv4gix_134","checkmark":"_checkmark_1nv4gix_162","markS":"_markS_1nv4gix_187","markM":"_markM_1nv4gix_190","markL":"_markL_1nv4gix_193","errorMessage":"_errorMessage_1nv4gix_197"};
|
|
2
2
|
|
|
3
3
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/checkbox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@rescui/form-field": "^0.3.
|
|
20
|
-
"@rescui/menu": "^0.
|
|
19
|
+
"@rescui/form-field": "^0.3.1",
|
|
20
|
+
"@rescui/menu": "^0.17.0",
|
|
21
21
|
"classnames": "^2.2.6",
|
|
22
22
|
"react-compiler-runtime": "^1.0.0"
|
|
23
23
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@rescui/colors": "^0.3.5",
|
|
31
31
|
"@rescui/postcss-preset-library": "^0.2.4",
|
|
32
32
|
"@rescui/scripts": "^0.6.0",
|
|
33
|
-
"@rescui/typography": "^0.
|
|
33
|
+
"@rescui/typography": "^0.30.0",
|
|
34
34
|
"@rescui/visual-regression": "^0.1.4"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
39
39
|
},
|
|
40
40
|
"nx": {},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "bf5230351055bc038b125e0de66eaee52085973a"
|
|
42
42
|
}
|