@rescui/checkbox 0.14.0 → 0.14.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.
package/lib/index.css
CHANGED
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
inherits:true;
|
|
4
4
|
initial-value:0;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._themeLight_ltg7ko_8{
|
|
7
7
|
--rs-theme-dark:0;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
._themeDark_ltg7ko_11{
|
|
10
10
|
--rs-theme-dark:1;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.
|
|
13
|
+
._checkboxSizeS_ltg7ko_15{
|
|
14
14
|
--_rs-checkbox-parts-offset:4px;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
._checkboxSizeM_ltg7ko_18{
|
|
17
17
|
--_rs-checkbox-parts-offset:8px;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._checkboxSizeL_ltg7ko_21{
|
|
20
20
|
--_rs-checkbox-parts-offset:8px;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
._sizeS_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_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_ltg7ko_93 ._icon_ltg7ko_76{
|
|
165
165
|
cursor:pointer;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.
|
|
168
|
+
._indeterminate_ltg7ko_97 ._icon_ltg7ko_76{
|
|
169
169
|
border-width:var(--_rs-checkbox-ci-indeterminate-icon-border-width);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
.
|
|
172
|
+
._input_ltg7ko_65:checked + ._icon_ltg7ko_76{
|
|
173
173
|
border-width:calc(.5 * var(--_rs-checkbox-ci-size));
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
.
|
|
177
|
-
.
|
|
176
|
+
._disabled_ltg7ko_105 ._icon_ltg7ko_76._icon_ltg7ko_76,
|
|
177
|
+
._input_ltg7ko_65:disabled + ._icon_ltg7ko_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_ltg7ko_65:hover + ._icon_ltg7ko_76,
|
|
187
|
+
._enabled_ltg7ko_93:hover ._icon_ltg7ko_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_ltg7ko_93._indeterminate_ltg7ko_97 ._icon_ltg7ko_76,
|
|
192
|
+
._enabled_ltg7ko_93._indeterminate_ltg7ko_97:hover ._icon_ltg7ko_76,
|
|
193
|
+
._enabled_ltg7ko_93._indeterminate_ltg7ko_97 ._input_ltg7ko_65:hover + ._icon_ltg7ko_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_ltg7ko_93 ._input_ltg7ko_65:checked + ._icon_ltg7ko_76._icon_ltg7ko_76{
|
|
202
202
|
border-color:var(--_rs-checkbox-ci-checked-icon-border-color);
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
.
|
|
206
|
-
.
|
|
205
|
+
._error_ltg7ko_134 ._icon_ltg7ko_76._icon_ltg7ko_76._icon_ltg7ko_76._icon_ltg7ko_76,
|
|
206
|
+
._input_ltg7ko_65:invalid + ._icon_ltg7ko_76._icon_ltg7ko_76._icon_ltg7ko_76{
|
|
207
207
|
border-color:var(--_rs-color-danger);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
.
|
|
210
|
+
._icon_ltg7ko_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,18 +217,18 @@
|
|
|
217
217
|
content:'';
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.
|
|
221
|
-
label:hover .
|
|
222
|
-
.
|
|
220
|
+
._enabled_ltg7ko_93:hover > ._icon_ltg7ko_76::after,
|
|
221
|
+
label:hover ._enabled_ltg7ko_93 > ._icon_ltg7ko_76::after,
|
|
222
|
+
._enabled_ltg7ko_93 ._input_ltg7ko_65:active + ._icon_ltg7ko_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
|
-
.
|
|
227
|
-
.
|
|
226
|
+
._enabled_ltg7ko_93 ._input_ltg7ko_65:focus-visible + ._icon_ltg7ko_76::after,
|
|
227
|
+
._enabled_ltg7ko_93 ._input_ltg7ko_65:focus[data-focus-method='key'] + ._icon_ltg7ko_76::after{
|
|
228
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);
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
.
|
|
231
|
+
._checkmark_ltg7ko_162{
|
|
232
232
|
position:absolute;
|
|
233
233
|
top:var(--_rs-checkbox-ci-shadow-size);
|
|
234
234
|
left:var(--_rs-checkbox-ci-shadow-size);
|
|
@@ -240,30 +240,30 @@
|
|
|
240
240
|
fill:currentColor;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.
|
|
243
|
+
._enabled_ltg7ko_93 ._checkmark_ltg7ko_162{
|
|
244
244
|
color:var(--_rs-checkbox-ci-mark-color);
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
.
|
|
248
|
-
.
|
|
247
|
+
._disabled_ltg7ko_105 ._checkmark_ltg7ko_162,
|
|
248
|
+
._input_ltg7ko_65:disabled + ._icon_ltg7ko_76 > ._checkmark_ltg7ko_162{
|
|
249
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)));
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
.
|
|
252
|
+
._input_ltg7ko_65:checked + ._icon_ltg7ko_76 > ._checkmark_ltg7ko_162{
|
|
253
253
|
display:block;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
.
|
|
256
|
+
._markS_ltg7ko_187{
|
|
257
257
|
display:var(--_rs-checkbox-ci-mark-s-display);
|
|
258
258
|
}
|
|
259
|
-
.
|
|
259
|
+
._markM_ltg7ko_190{
|
|
260
260
|
display:var(--_rs-checkbox-ci-mark-m-display);
|
|
261
261
|
}
|
|
262
|
-
.
|
|
262
|
+
._markL_ltg7ko_193{
|
|
263
263
|
display:var(--_rs-checkbox-ci-mark-l-display);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
.
|
|
266
|
+
._errorMessage_ltg7ko_197{
|
|
267
267
|
margin-top:var(--_rs-checkbox-parts-offset);
|
|
268
268
|
}
|
|
269
269
|
|
|
@@ -272,14 +272,14 @@
|
|
|
272
272
|
inherits:true;
|
|
273
273
|
initial-value:0;
|
|
274
274
|
}
|
|
275
|
-
.
|
|
275
|
+
._themeLight_xr0u0o_6{
|
|
276
276
|
--rs-theme-dark:0;
|
|
277
277
|
}
|
|
278
|
-
.
|
|
278
|
+
._themeDark_xr0u0o_9{
|
|
279
279
|
--rs-theme-dark:1;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.
|
|
282
|
+
._container_xr0u0o_13{
|
|
283
283
|
--_rs-theme-dark:var(
|
|
284
284
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
285
285
|
var(--rs-theme-dark, 0)
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
|
|
292
292
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
293
293
|
|
|
294
|
-
.
|
|
294
|
+
._container_xr0u0o_13{
|
|
295
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)));
|
|
296
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)));
|
|
297
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)));
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
|
|
303
303
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
304
304
|
|
|
305
|
-
.
|
|
305
|
+
._container_xr0u0o_13{
|
|
306
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);
|
|
307
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)));
|
|
308
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)));
|
|
@@ -311,12 +311,12 @@
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
.
|
|
314
|
+
._sizeS_xr0u0o_18{
|
|
315
315
|
--_rs-checkbox-list-label-offset:4px;
|
|
316
316
|
--_rs-checkbox-list-left-offset:calc(28px);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
.
|
|
319
|
+
._sizeS_xr0u0o_18 [data-rs-internal='checkbox-list__label']{
|
|
320
320
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
321
321
|
--_rs-typography-text-transform:initial;
|
|
322
322
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
-
.
|
|
355
|
+
._sizeS_xr0u0o_18 [data-rs-internal='checkbox-list__bold-label']{
|
|
356
356
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
357
357
|
--_rs-typography-text-transform:initial;
|
|
358
358
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -384,11 +384,11 @@
|
|
|
384
384
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
385
385
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
386
386
|
}
|
|
387
|
-
.
|
|
387
|
+
._sizeM_xr0u0o_21{
|
|
388
388
|
--_rs-checkbox-list-label-offset:8px;
|
|
389
389
|
--_rs-checkbox-list-left-offset:calc(32px);
|
|
390
390
|
}
|
|
391
|
-
.
|
|
391
|
+
._sizeM_xr0u0o_21 [data-rs-internal='checkbox-list__label']{
|
|
392
392
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
393
393
|
--_rs-typography-text-transform:initial;
|
|
394
394
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -427,11 +427,11 @@
|
|
|
427
427
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
428
428
|
}
|
|
429
429
|
@media screen and (max-width: 640px){
|
|
430
|
-
.
|
|
430
|
+
._sizeM_xr0u0o_21 [data-rs-internal='checkbox-list__label']{
|
|
431
431
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
.
|
|
434
|
+
._sizeM_xr0u0o_21 [data-rs-internal='checkbox-list__bold-label']{
|
|
435
435
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
436
436
|
--_rs-typography-text-transform:initial;
|
|
437
437
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -463,11 +463,11 @@
|
|
|
463
463
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
464
464
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
465
465
|
}
|
|
466
|
-
.
|
|
466
|
+
._sizeL_xr0u0o_24{
|
|
467
467
|
--_rs-checkbox-list-label-offset:12px;
|
|
468
468
|
--_rs-checkbox-list-left-offset:calc(44px);
|
|
469
469
|
}
|
|
470
|
-
.
|
|
470
|
+
._sizeL_xr0u0o_24 [data-rs-internal='checkbox-list__label']{
|
|
471
471
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
472
472
|
--_rs-typography-text-transform:initial;
|
|
473
473
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -506,11 +506,11 @@
|
|
|
506
506
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
507
507
|
}
|
|
508
508
|
@media screen and (max-width: 640px){
|
|
509
|
-
.
|
|
509
|
+
._sizeL_xr0u0o_24 [data-rs-internal='checkbox-list__label']{
|
|
510
510
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
.
|
|
513
|
+
._sizeL_xr0u0o_24 [data-rs-internal='checkbox-list__bold-label']{
|
|
514
514
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
515
515
|
--_rs-typography-text-transform:initial;
|
|
516
516
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -543,11 +543,11 @@
|
|
|
543
543
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
.
|
|
546
|
+
._inner_xr0u0o_28{
|
|
547
547
|
--rs-out-checkbox-list-left-offset:var(--_rs-checkbox-list-left-offset);
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
.
|
|
550
|
+
._label_xr0u0o_32{
|
|
551
551
|
letter-spacing:var(
|
|
552
552
|
--rs-text-base-letter-spacing,
|
|
553
553
|
var(--_rs-typography-letter-spacing)
|
|
@@ -568,27 +568,27 @@
|
|
|
568
568
|
padding:0;
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
.
|
|
571
|
+
._disabled_xr0u0o_39 ._label_xr0u0o_32{
|
|
572
572
|
color:var(
|
|
573
573
|
--rs-color-pale,
|
|
574
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)
|
|
575
575
|
);
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
.
|
|
578
|
+
._footer_xr0u0o_44{
|
|
579
579
|
display:flex;
|
|
580
580
|
flex-direction:column;
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
-
.
|
|
583
|
+
._errorMessage_xr0u0o_49{
|
|
584
584
|
order:99;
|
|
585
585
|
}
|
|
586
586
|
|
|
587
|
-
.
|
|
587
|
+
._error_xr0u0o_49 ._errorMessage_xr0u0o_49{
|
|
588
588
|
order:0;
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
.
|
|
591
|
+
._note_xr0u0o_58{
|
|
592
592
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
593
593
|
--_rs-typography-text-transform:initial;
|
|
594
594
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
order:1;
|
|
650
650
|
}
|
|
651
651
|
|
|
652
|
-
.
|
|
652
|
+
._disabled_xr0u0o_39 ._note_xr0u0o_58{
|
|
653
653
|
--_rs-typography-hardness-color:var(
|
|
654
654
|
--rs-color-pale,
|
|
655
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_xr0u0o_6","themeDark":"_themeDark_xr0u0o_9","container":"_container_xr0u0o_13","sizeS":"_sizeS_xr0u0o_18","sizeM":"_sizeM_xr0u0o_21","sizeL":"_sizeL_xr0u0o_24","inner":"_inner_xr0u0o_28","label":"_label_xr0u0o_32","disabled":"_disabled_xr0u0o_39","footer":"_footer_xr0u0o_44","errorMessage":"_errorMessage_xr0u0o_49","error":"_error_xr0u0o_49","note":"_note_xr0u0o_58"};
|
|
2
2
|
|
|
3
3
|
export { styles as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var styles = {"themeLight":"
|
|
1
|
+
var styles = {"themeLight":"_themeLight_ltg7ko_8","themeDark":"_themeDark_ltg7ko_11","checkboxSizeS":"_checkboxSizeS_ltg7ko_15","checkboxSizeM":"_checkboxSizeM_ltg7ko_18","checkboxSizeL":"_checkboxSizeL_ltg7ko_21","sizeS":"_sizeS_ltg7ko_25","sizeM":"_sizeM_ltg7ko_28","sizeL":"_sizeL_ltg7ko_31","classic":"_classic_ltg7ko_35","rock":"_rock_ltg7ko_38","checkbox":"_checkbox_ltg7ko_15","input":"_input_ltg7ko_65","icon":"_icon_ltg7ko_76","enabled":"_enabled_ltg7ko_93","indeterminate":"_indeterminate_ltg7ko_97","disabled":"_disabled_ltg7ko_105","error":"_error_ltg7ko_134","checkmark":"_checkmark_ltg7ko_162","markS":"_markS_ltg7ko_187","markM":"_markM_ltg7ko_190","markL":"_markL_ltg7ko_193","errorMessage":"_errorMessage_ltg7ko_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.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,27 +16,27 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@rescui/form-field": "^0.3.
|
|
20
|
-
"@rescui/menu": "^0.17.
|
|
19
|
+
"@rescui/form-field": "^0.3.3",
|
|
20
|
+
"@rescui/menu": "^0.17.2",
|
|
21
21
|
"classnames": "^2.2.6",
|
|
22
22
|
"react-compiler-runtime": "^1.0.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@rescui/ui-contexts": "^0.7.0",
|
|
25
|
+
"@rescui/ui-contexts": "^0.7.0 || ^0.8.0",
|
|
26
26
|
"prop-types": "^15",
|
|
27
27
|
"react": ">=17.0.0 <20"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@rescui/colors": "^0.3.
|
|
30
|
+
"@rescui/colors": "^0.3.6",
|
|
31
31
|
"@rescui/postcss-preset-library": "^0.2.4",
|
|
32
32
|
"@rescui/scripts": "^0.6.0",
|
|
33
|
-
"@rescui/typography": "^0.30.
|
|
34
|
-
"@rescui/visual-regression": "^0.1.
|
|
33
|
+
"@rescui/typography": "^0.30.2",
|
|
34
|
+
"@rescui/visual-regression": "^0.1.5"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
38
38
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
39
39
|
},
|
|
40
40
|
"nx": {},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "5a6fe218e161f8f97ea1faf56a82b0a5dae2ab4d"
|
|
42
42
|
}
|