@rescui/checkbox 0.8.2 → 0.8.3
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/_virtual/index.css.js +7 -7
- package/lib/index.css +67 -67
- package/lib/parts/checkbox.p.module.css.js +28 -28
- package/package.json +6 -6
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
2
|
+
"icon": "_icon_12q9sj9_4",
|
|
3
|
+
"sizeXS": "_sizeXS_12q9sj9_14",
|
|
4
|
+
"sizeS": "_sizeS_12q9sj9_18",
|
|
5
|
+
"sizeM": "_sizeM_12q9sj9_22",
|
|
6
|
+
"sizeL": "_sizeL_12q9sj9_26",
|
|
7
|
+
"light": "_light_12q9sj9_30",
|
|
8
|
+
"dark": "_dark_12q9sj9_34"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_12q9sj9_4{
|
|
2
2
|
--_rs-theme-dark:var(
|
|
3
3
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
4
4
|
var(--rs-theme-dark, 0)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
9
9
|
}
|
|
10
10
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
11
|
-
.
|
|
11
|
+
._icon_12q9sj9_4{
|
|
12
12
|
--_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)));
|
|
13
13
|
--_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)));
|
|
14
14
|
--_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)));
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
20
|
-
.
|
|
20
|
+
._icon_12q9sj9_4{
|
|
21
21
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
22
22
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
23
23
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -25,30 +25,30 @@
|
|
|
25
25
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
._icon_12q9sj9_4{
|
|
29
29
|
|
|
30
30
|
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
31
31
|
|
|
32
32
|
width:auto;
|
|
33
33
|
height:var(--_rs-icons-height);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
._sizeXS_12q9sj9_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_12q9sj9_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_12q9sj9_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_12q9sj9_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_12q9sj9_30{
|
|
48
48
|
--rs-theme-dark:0;
|
|
49
49
|
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
._dark_12q9sj9_34{
|
|
52
52
|
--rs-theme-dark:1;
|
|
53
53
|
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
54
54
|
}
|
|
@@ -72,13 +72,13 @@
|
|
|
72
72
|
transform:rotate(360deg);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
._themeLight_ofqxl1_8{
|
|
76
76
|
--rs-theme-dark:0;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._themeDark_ofqxl1_11{
|
|
79
79
|
--rs-theme-dark:1;
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
._container_ofqxl1_15{
|
|
82
82
|
--_rs-theme-dark:var(
|
|
83
83
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
84
84
|
var(--rs-theme-dark, 0)
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
89
89
|
}
|
|
90
90
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
91
|
-
.
|
|
91
|
+
._container_ofqxl1_15{
|
|
92
92
|
--_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)));
|
|
93
93
|
--_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)));
|
|
94
94
|
--_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)));
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
100
|
-
.
|
|
100
|
+
._container_ofqxl1_15{
|
|
101
101
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
102
102
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
103
103
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
.
|
|
108
|
+
._listSizeS_ofqxl1_20 [data-rs-internal='checkbox-list__error-message']{
|
|
109
109
|
--_rs-typography-letter-spacing:normal;
|
|
110
110
|
--_rs-typography-text-transform:initial;
|
|
111
111
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -136,10 +136,10 @@
|
|
|
136
136
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
137
137
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
._listSizeS_ofqxl1_20 [data-rs-internal='checkbox-list__error-icon']:not(html){
|
|
140
140
|
--_rs-icons-height:20px;
|
|
141
141
|
}
|
|
142
|
-
.
|
|
142
|
+
._listSizeM_ofqxl1_23 [data-rs-internal='checkbox-list__error-message']{
|
|
143
143
|
--_rs-typography-letter-spacing:normal;
|
|
144
144
|
--_rs-typography-text-transform:initial;
|
|
145
145
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -170,10 +170,10 @@
|
|
|
170
170
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
171
171
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
._listSizeM_ofqxl1_23 [data-rs-internal='checkbox-list__error-icon']:not(html){
|
|
174
174
|
--_rs-icons-height:20px;
|
|
175
175
|
}
|
|
176
|
-
.
|
|
176
|
+
._listSizeL_ofqxl1_26 [data-rs-internal='checkbox-list__error-message']{
|
|
177
177
|
--_rs-typography-letter-spacing:normal;
|
|
178
178
|
--_rs-typography-text-transform:initial;
|
|
179
179
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -204,10 +204,10 @@
|
|
|
204
204
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
205
205
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
206
206
|
}
|
|
207
|
-
.
|
|
207
|
+
._listSizeL_ofqxl1_26 [data-rs-internal='checkbox-list__error-icon']:not(html){
|
|
208
208
|
--_rs-icons-height:24px;
|
|
209
209
|
}
|
|
210
|
-
.
|
|
210
|
+
._checkboxSizeS_ofqxl1_30 [data-rs-internal='checkbox__error-message']{
|
|
211
211
|
--_rs-typography-letter-spacing:normal;
|
|
212
212
|
--_rs-typography-text-transform:initial;
|
|
213
213
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -238,10 +238,10 @@
|
|
|
238
238
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
239
239
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
240
240
|
}
|
|
241
|
-
.
|
|
241
|
+
._checkboxSizeS_ofqxl1_30 [data-rs-internal='checkbox__error-icon']:not(html){
|
|
242
242
|
--_rs-icons-height:20px;
|
|
243
243
|
}
|
|
244
|
-
.
|
|
244
|
+
._checkboxSizeM_ofqxl1_33 [data-rs-internal='checkbox__error-message']{
|
|
245
245
|
--_rs-typography-letter-spacing:normal;
|
|
246
246
|
--_rs-typography-text-transform:initial;
|
|
247
247
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -272,10 +272,10 @@
|
|
|
272
272
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
273
273
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
274
274
|
}
|
|
275
|
-
.
|
|
275
|
+
._checkboxSizeM_ofqxl1_33 [data-rs-internal='checkbox__error-icon']:not(html){
|
|
276
276
|
--_rs-icons-height:20px;
|
|
277
277
|
}
|
|
278
|
-
.
|
|
278
|
+
._checkboxSizeL_ofqxl1_36 [data-rs-internal='checkbox__error-message']{
|
|
279
279
|
--_rs-typography-letter-spacing:normal;
|
|
280
280
|
--_rs-typography-text-transform:initial;
|
|
281
281
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -306,10 +306,10 @@
|
|
|
306
306
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
307
307
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
308
308
|
}
|
|
309
|
-
.
|
|
309
|
+
._checkboxSizeL_ofqxl1_36 [data-rs-internal='checkbox__error-icon']:not(html){
|
|
310
310
|
--_rs-icons-height:24px;
|
|
311
311
|
}
|
|
312
|
-
.
|
|
312
|
+
._sizeS_ofqxl1_40{
|
|
313
313
|
--_rs-checkbox-ci-mark-s-display:initial;
|
|
314
314
|
--_rs-checkbox-ci-mark-m-display:none;
|
|
315
315
|
--_rs-checkbox-ci-mark-l-display:none;
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
--_rs-checkbox-ci-shadow-size:3px;
|
|
318
318
|
--_rs-checkbox-ci-indeterminate-icon-border-width:6px 3px;
|
|
319
319
|
}
|
|
320
|
-
.
|
|
320
|
+
._sizeM_ofqxl1_43{
|
|
321
321
|
--_rs-checkbox-ci-mark-s-display:none;
|
|
322
322
|
--_rs-checkbox-ci-mark-m-display:initial;
|
|
323
323
|
--_rs-checkbox-ci-mark-l-display:none;
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
--_rs-checkbox-ci-shadow-size:3px;
|
|
326
326
|
--_rs-checkbox-ci-indeterminate-icon-border-width:8px 3px;
|
|
327
327
|
}
|
|
328
|
-
.
|
|
328
|
+
._sizeL_ofqxl1_46{
|
|
329
329
|
--_rs-checkbox-ci-mark-s-display:none;
|
|
330
330
|
--_rs-checkbox-ci-mark-m-display:none;
|
|
331
331
|
--_rs-checkbox-ci-mark-l-display:initial;
|
|
@@ -333,14 +333,14 @@
|
|
|
333
333
|
--_rs-checkbox-ci-shadow-size:4px;
|
|
334
334
|
--_rs-checkbox-ci-indeterminate-icon-border-width:9px 3px;
|
|
335
335
|
}
|
|
336
|
-
.
|
|
336
|
+
._classic_ofqxl1_50{
|
|
337
337
|
--_rs-checkbox-ci-mark-color:#FFFFFF;
|
|
338
338
|
--_rs-checkbox-ci-indeterminate-icon-border-color:var(--_rs-color-primary);
|
|
339
339
|
--_rs-checkbox-ci-indeterminate-icon-background-color:#FFFFFF;
|
|
340
340
|
--_rs-checkbox-ci-checked-icon-border-color:var(--_rs-color-primary);
|
|
341
341
|
--_rs-checkbox-ci-hover-icon-box-shadow:var(--_rs-color-primary-t-fog);
|
|
342
342
|
}
|
|
343
|
-
.
|
|
343
|
+
._rock_ofqxl1_53{
|
|
344
344
|
--_rs-checkbox-ci-mark-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
345
345
|
--_rs-checkbox-ci-indeterminate-icon-border-color:rgb(
|
|
346
346
|
calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227)
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
0.1
|
|
357
357
|
);
|
|
358
358
|
}
|
|
359
|
-
.
|
|
359
|
+
._checkbox_ofqxl1_30{
|
|
360
360
|
--_rs-theme-dark:var(
|
|
361
361
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
362
362
|
var(--rs-theme-dark, 0)
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
367
367
|
}
|
|
368
368
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
369
|
-
.
|
|
369
|
+
._checkbox_ofqxl1_30{
|
|
370
370
|
--_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)));
|
|
371
371
|
--_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)));
|
|
372
372
|
--_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)));
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
378
|
-
.
|
|
378
|
+
._checkbox_ofqxl1_30{
|
|
379
379
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
380
380
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
381
381
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
.
|
|
386
|
+
._checkbox_ofqxl1_30 {
|
|
387
387
|
|
|
388
388
|
position:relative;
|
|
389
389
|
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
|
|
401
401
|
text-align:left;
|
|
402
402
|
}
|
|
403
|
-
.
|
|
403
|
+
._errorMessage_ofqxl1_79{
|
|
404
404
|
letter-spacing:var(
|
|
405
405
|
--rs-text-base-letter-spacing,
|
|
406
406
|
var(--_rs-typography-letter-spacing)
|
|
@@ -427,17 +427,17 @@
|
|
|
427
427
|
-moz-column-gap:8px;
|
|
428
428
|
column-gap:8px;
|
|
429
429
|
}
|
|
430
|
-
.
|
|
430
|
+
._errorMessage_ofqxl1_79._list_ofqxl1_20{
|
|
431
431
|
margin-bottom:8px;
|
|
432
432
|
}
|
|
433
|
-
.
|
|
433
|
+
._errorIcon_ofqxl1_93{
|
|
434
434
|
-webkit-box-flex:0;
|
|
435
435
|
-ms-flex:0 0 auto;
|
|
436
436
|
flex:0 0 auto;
|
|
437
437
|
|
|
438
438
|
color:#F45C4A;
|
|
439
439
|
}
|
|
440
|
-
.
|
|
440
|
+
._input_ofqxl1_99{
|
|
441
441
|
position:absolute;
|
|
442
442
|
z-index:-1;
|
|
443
443
|
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
|
|
448
448
|
border:0;
|
|
449
449
|
}
|
|
450
|
-
.
|
|
450
|
+
._icon_ofqxl1_110{
|
|
451
451
|
display:inline-block;
|
|
452
452
|
float:left;
|
|
453
453
|
|
|
@@ -467,17 +467,17 @@
|
|
|
467
467
|
|
|
468
468
|
transition:border-width ease-out 100ms, border-color ease-out 100ms;
|
|
469
469
|
}
|
|
470
|
-
.
|
|
470
|
+
._enabled_ofqxl1_126 ._icon_ofqxl1_110{
|
|
471
471
|
cursor:pointer;
|
|
472
472
|
}
|
|
473
|
-
.
|
|
473
|
+
._indeterminate_ofqxl1_130 ._icon_ofqxl1_110{
|
|
474
474
|
border-width:var(--_rs-checkbox-ci-indeterminate-icon-border-width);
|
|
475
475
|
}
|
|
476
|
-
.
|
|
476
|
+
._input_ofqxl1_99:checked + ._icon_ofqxl1_110{
|
|
477
477
|
border-width:calc(var(--_rs-checkbox-ci-size)/2);
|
|
478
478
|
}
|
|
479
|
-
.
|
|
480
|
-
.
|
|
479
|
+
._disabled_ofqxl1_138 ._icon_ofqxl1_110._icon_ofqxl1_110,
|
|
480
|
+
._input_ofqxl1_99:disabled + ._icon_ofqxl1_110{
|
|
481
481
|
border-color:rgb(calc(186 - var(--_rs-theme-dark-coefficient, 0)*92), calc(186 - var(--_rs-theme-dark-coefficient, 0)*92), calc(187 - var(--_rs-theme-dark-coefficient, 0)*91));
|
|
482
482
|
|
|
483
483
|
cursor:not-allowed;
|
|
@@ -485,27 +485,27 @@
|
|
|
485
485
|
|
|
486
486
|
background:rgb(calc(244 - var(--_rs-theme-dark-coefficient, 0)*196), calc(244 - var(--_rs-theme-dark-coefficient, 0)*196), calc(244 - var(--_rs-theme-dark-coefficient, 0)*193));
|
|
487
487
|
}
|
|
488
|
-
.
|
|
489
|
-
.
|
|
488
|
+
._input_ofqxl1_99:hover + ._icon_ofqxl1_110,
|
|
489
|
+
._enabled_ofqxl1_126:hover ._icon_ofqxl1_110{
|
|
490
490
|
background:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*182));
|
|
491
491
|
}
|
|
492
|
-
.
|
|
493
|
-
.
|
|
494
|
-
.
|
|
492
|
+
._enabled_ofqxl1_126._indeterminate_ofqxl1_130 ._icon_ofqxl1_110,
|
|
493
|
+
._enabled_ofqxl1_126._indeterminate_ofqxl1_130:hover ._icon_ofqxl1_110,
|
|
494
|
+
._enabled_ofqxl1_126._indeterminate_ofqxl1_130 ._input_ofqxl1_99:hover + ._icon_ofqxl1_110{
|
|
495
495
|
border-color:var(--_rs-checkbox-ci-indeterminate-icon-border-color);
|
|
496
496
|
|
|
497
497
|
background-color:var(
|
|
498
498
|
--_rs-checkbox-ci-indeterminate-icon-background-color
|
|
499
499
|
);
|
|
500
500
|
}
|
|
501
|
-
.
|
|
501
|
+
._enabled_ofqxl1_126 ._input_ofqxl1_99:checked + ._icon_ofqxl1_110._icon_ofqxl1_110{
|
|
502
502
|
border-color:var(--_rs-checkbox-ci-checked-icon-border-color);
|
|
503
503
|
}
|
|
504
|
-
.
|
|
505
|
-
.
|
|
504
|
+
._error_ofqxl1_79 ._icon_ofqxl1_110._icon_ofqxl1_110._icon_ofqxl1_110._icon_ofqxl1_110,
|
|
505
|
+
._input_ofqxl1_99:invalid + ._icon_ofqxl1_110._icon_ofqxl1_110._icon_ofqxl1_110{
|
|
506
506
|
border-color:#F45C4A;
|
|
507
507
|
}
|
|
508
|
-
.
|
|
508
|
+
._icon_ofqxl1_110::after{
|
|
509
509
|
position:absolute;
|
|
510
510
|
top:var(--_rs-checkbox-ci-shadow-size);
|
|
511
511
|
right:var(--_rs-checkbox-ci-shadow-size);
|
|
@@ -514,17 +514,17 @@
|
|
|
514
514
|
|
|
515
515
|
content:'';
|
|
516
516
|
}
|
|
517
|
-
.
|
|
518
|
-
label:hover .
|
|
519
|
-
.
|
|
517
|
+
._enabled_ofqxl1_126:hover > ._icon_ofqxl1_110::after,
|
|
518
|
+
label:hover ._enabled_ofqxl1_126 > ._icon_ofqxl1_110::after,
|
|
519
|
+
._enabled_ofqxl1_126 ._input_ofqxl1_99:active + ._icon_ofqxl1_110::after{
|
|
520
520
|
-webkit-box-shadow:0 0 0 var(--_rs-checkbox-ci-shadow-size) var(--_rs-checkbox-ci-hover-icon-box-shadow);
|
|
521
521
|
box-shadow:0 0 0 var(--_rs-checkbox-ci-shadow-size) var(--_rs-checkbox-ci-hover-icon-box-shadow);
|
|
522
522
|
}
|
|
523
|
-
.
|
|
523
|
+
._enabled_ofqxl1_126 ._input_ofqxl1_99:focus[data-focus-method='key'] + ._icon_ofqxl1_110::after{
|
|
524
524
|
-webkit-box-shadow:0 0 0 1px rgb(calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*181)), 0 0 0 var(--_rs-checkbox-ci-shadow-size) var(--_rs-color-primary-t-dim);
|
|
525
525
|
box-shadow:0 0 0 1px rgb(calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*181)), 0 0 0 var(--_rs-checkbox-ci-shadow-size) var(--_rs-color-primary-t-dim);
|
|
526
526
|
}
|
|
527
|
-
.
|
|
527
|
+
._checkmark_ofqxl1_194{
|
|
528
528
|
position:absolute;
|
|
529
529
|
top:var(--_rs-checkbox-ci-shadow-size);
|
|
530
530
|
left:var(--_rs-checkbox-ci-shadow-size);
|
|
@@ -535,22 +535,22 @@
|
|
|
535
535
|
height:var(--_rs-checkbox-ci-size);
|
|
536
536
|
fill:currentColor;
|
|
537
537
|
}
|
|
538
|
-
.
|
|
538
|
+
._enabled_ofqxl1_126 ._checkmark_ofqxl1_194{
|
|
539
539
|
color:var(--_rs-checkbox-ci-mark-color);
|
|
540
540
|
}
|
|
541
|
-
.
|
|
542
|
-
.
|
|
541
|
+
._disabled_ofqxl1_138 ._checkmark_ofqxl1_194,
|
|
542
|
+
._input_ofqxl1_99:disabled + ._icon_ofqxl1_110 > ._checkmark_ofqxl1_194{
|
|
543
543
|
color:rgb(calc(244 - var(--_rs-theme-dark-coefficient, 0)*196), calc(244 - var(--_rs-theme-dark-coefficient, 0)*196), calc(244 - var(--_rs-theme-dark-coefficient, 0)*193));
|
|
544
544
|
}
|
|
545
|
-
.
|
|
545
|
+
._input_ofqxl1_99:checked + ._icon_ofqxl1_110 > ._checkmark_ofqxl1_194{
|
|
546
546
|
display:block;
|
|
547
547
|
}
|
|
548
|
-
.
|
|
548
|
+
._markS_ofqxl1_219{
|
|
549
549
|
display:var(--_rs-checkbox-ci-mark-s-display);
|
|
550
550
|
}
|
|
551
|
-
.
|
|
551
|
+
._markM_ofqxl1_222{
|
|
552
552
|
display:var(--_rs-checkbox-ci-mark-m-display);
|
|
553
553
|
}
|
|
554
|
-
.
|
|
554
|
+
._markL_ofqxl1_225{
|
|
555
555
|
display:var(--_rs-checkbox-ci-mark-l-display);
|
|
556
556
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"container": "
|
|
5
|
-
"listSizeS": "
|
|
6
|
-
"listSizeM": "
|
|
7
|
-
"listSizeL": "
|
|
8
|
-
"checkboxSizeS": "
|
|
9
|
-
"checkboxSizeM": "
|
|
10
|
-
"checkboxSizeL": "
|
|
11
|
-
"sizeS": "
|
|
12
|
-
"sizeM": "
|
|
13
|
-
"sizeL": "
|
|
14
|
-
"classic": "
|
|
15
|
-
"rock": "
|
|
16
|
-
"checkbox": "
|
|
17
|
-
"errorMessage": "
|
|
18
|
-
"list": "
|
|
19
|
-
"errorIcon": "
|
|
20
|
-
"input": "
|
|
21
|
-
"icon": "
|
|
22
|
-
"enabled": "
|
|
23
|
-
"indeterminate": "
|
|
24
|
-
"disabled": "
|
|
25
|
-
"error": "
|
|
26
|
-
"checkmark": "
|
|
27
|
-
"markS": "
|
|
28
|
-
"markM": "
|
|
29
|
-
"markL": "
|
|
2
|
+
"themeLight": "_themeLight_ofqxl1_8",
|
|
3
|
+
"themeDark": "_themeDark_ofqxl1_11",
|
|
4
|
+
"container": "_container_ofqxl1_15",
|
|
5
|
+
"listSizeS": "_listSizeS_ofqxl1_20",
|
|
6
|
+
"listSizeM": "_listSizeM_ofqxl1_23",
|
|
7
|
+
"listSizeL": "_listSizeL_ofqxl1_26",
|
|
8
|
+
"checkboxSizeS": "_checkboxSizeS_ofqxl1_30",
|
|
9
|
+
"checkboxSizeM": "_checkboxSizeM_ofqxl1_33",
|
|
10
|
+
"checkboxSizeL": "_checkboxSizeL_ofqxl1_36",
|
|
11
|
+
"sizeS": "_sizeS_ofqxl1_40",
|
|
12
|
+
"sizeM": "_sizeM_ofqxl1_43",
|
|
13
|
+
"sizeL": "_sizeL_ofqxl1_46",
|
|
14
|
+
"classic": "_classic_ofqxl1_50",
|
|
15
|
+
"rock": "_rock_ofqxl1_53",
|
|
16
|
+
"checkbox": "_checkbox_ofqxl1_30",
|
|
17
|
+
"errorMessage": "_errorMessage_ofqxl1_79",
|
|
18
|
+
"list": "_list_ofqxl1_20",
|
|
19
|
+
"errorIcon": "_errorIcon_ofqxl1_93",
|
|
20
|
+
"input": "_input_ofqxl1_99",
|
|
21
|
+
"icon": "_icon_ofqxl1_110",
|
|
22
|
+
"enabled": "_enabled_ofqxl1_126",
|
|
23
|
+
"indeterminate": "_indeterminate_ofqxl1_130",
|
|
24
|
+
"disabled": "_disabled_ofqxl1_138",
|
|
25
|
+
"error": "_error_ofqxl1_79",
|
|
26
|
+
"checkmark": "_checkmark_ofqxl1_194",
|
|
27
|
+
"markS": "_markS_ofqxl1_219",
|
|
28
|
+
"markM": "_markM_ofqxl1_222",
|
|
29
|
+
"markL": "_markL_ofqxl1_225"
|
|
30
30
|
};
|
|
31
31
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/checkbox",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
18
|
-
"@rescui/menu": "^0.10.
|
|
18
|
+
"@rescui/menu": "^0.10.7",
|
|
19
19
|
"classnames": "^2.2.6",
|
|
20
20
|
"core-js": "^3.9.1"
|
|
21
21
|
},
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/colors": "^0.2.
|
|
29
|
-
"@rescui/postcss-preset-library": "^0.2.
|
|
28
|
+
"@rescui/colors": "^0.2.5",
|
|
29
|
+
"@rescui/postcss-preset-library": "^0.2.2",
|
|
30
30
|
"@rescui/scripts": "^0.3.4",
|
|
31
|
-
"@rescui/typography": "^0.18.
|
|
31
|
+
"@rescui/typography": "^0.18.1",
|
|
32
32
|
"@rescui/visual-regression": "^0.1.2"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
37
37
|
},
|
|
38
38
|
"nx": {},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "3de71c679695fe3ca490baeaa24ab2331eb2e3a8"
|
|
40
40
|
}
|