@rescui/checkbox 0.8.0 → 0.8.1

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.
@@ -1,10 +1,10 @@
1
1
  var styles = {
2
- "icon": "_icon_1jmu341_4",
3
- "sizeXS": "_sizeXS_1jmu341_14",
4
- "sizeS": "_sizeS_1jmu341_18",
5
- "sizeM": "_sizeM_1jmu341_22",
6
- "sizeL": "_sizeL_1jmu341_26",
7
- "light": "_light_1jmu341_30",
8
- "dark": "_dark_1jmu341_34"
2
+ "icon": "_icon_ekw7ne_4",
3
+ "sizeXS": "_sizeXS_ekw7ne_14",
4
+ "sizeS": "_sizeS_ekw7ne_18",
5
+ "sizeM": "_sizeM_ekw7ne_22",
6
+ "sizeL": "_sizeL_ekw7ne_26",
7
+ "light": "_light_ekw7ne_30",
8
+ "dark": "_dark_ekw7ne_34"
9
9
  };
10
10
  export { styles as default };
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- ._icon_1jmu341_4{
1
+ ._icon_ekw7ne_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
- ._icon_1jmu341_4{
11
+ ._icon_ekw7ne_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
- ._icon_1jmu341_4{
20
+ ._icon_ekw7ne_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
- ._icon_1jmu341_4{
28
+ ._icon_ekw7ne_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
- ._sizeXS_1jmu341_14{
35
+ ._sizeXS_ekw7ne_14{
36
36
  --_rs-icons-height:16px;
37
37
  }
38
- ._sizeS_1jmu341_18{
38
+ ._sizeS_ekw7ne_18{
39
39
  --_rs-icons-height:20px;
40
40
  }
41
- ._sizeM_1jmu341_22{
41
+ ._sizeM_ekw7ne_22{
42
42
  --_rs-icons-height:24px;
43
43
  }
44
- ._sizeL_1jmu341_26{
44
+ ._sizeL_ekw7ne_26{
45
45
  --_rs-icons-height:28px;
46
46
  }
47
- ._light_1jmu341_30{
47
+ ._light_ekw7ne_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
- ._dark_1jmu341_34{
51
+ ._dark_ekw7ne_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
- ._themeLight_1heg86p_8{
75
+ ._themeLight_1g9yap6_8{
76
76
  --rs-theme-dark:0;
77
77
  }
78
- ._themeDark_1heg86p_11{
78
+ ._themeDark_1g9yap6_11{
79
79
  --rs-theme-dark:1;
80
80
  }
81
- ._container_1heg86p_15{
81
+ ._container_1g9yap6_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
- ._container_1heg86p_15{
91
+ ._container_1g9yap6_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
- ._container_1heg86p_15{
100
+ ._container_1g9yap6_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
- ._listSizeS_1heg86p_20 [data-rs-internal='checkbox-list__error-message']{
108
+ ._listSizeS_1g9yap6_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;
@@ -133,10 +133,10 @@
133
133
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
134
134
  --_rs-typography-link-border-bottom-width-from-text:2px;
135
135
  }
136
- ._listSizeS_1heg86p_20 [data-rs-internal='checkbox-list__error-icon']:not(html){
136
+ ._listSizeS_1g9yap6_20 [data-rs-internal='checkbox-list__error-icon']:not(html){
137
137
  --_rs-icons-height:20px;
138
138
  }
139
- ._listSizeM_1heg86p_23 [data-rs-internal='checkbox-list__error-message']{
139
+ ._listSizeM_1g9yap6_23 [data-rs-internal='checkbox-list__error-message']{
140
140
  --_rs-typography-letter-spacing:normal;
141
141
  --_rs-typography-text-transform:initial;
142
142
  --_rs-typography-font-variant-numeric:initial;
@@ -164,10 +164,10 @@
164
164
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
165
165
  --_rs-typography-link-border-bottom-width-from-text:2px;
166
166
  }
167
- ._listSizeM_1heg86p_23 [data-rs-internal='checkbox-list__error-icon']:not(html){
167
+ ._listSizeM_1g9yap6_23 [data-rs-internal='checkbox-list__error-icon']:not(html){
168
168
  --_rs-icons-height:20px;
169
169
  }
170
- ._listSizeL_1heg86p_26 [data-rs-internal='checkbox-list__error-message']{
170
+ ._listSizeL_1g9yap6_26 [data-rs-internal='checkbox-list__error-message']{
171
171
  --_rs-typography-letter-spacing:normal;
172
172
  --_rs-typography-text-transform:initial;
173
173
  --_rs-typography-font-variant-numeric:initial;
@@ -195,10 +195,10 @@
195
195
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
196
196
  --_rs-typography-link-border-bottom-width-from-text:2px;
197
197
  }
198
- ._listSizeL_1heg86p_26 [data-rs-internal='checkbox-list__error-icon']:not(html){
198
+ ._listSizeL_1g9yap6_26 [data-rs-internal='checkbox-list__error-icon']:not(html){
199
199
  --_rs-icons-height:24px;
200
200
  }
201
- ._checkboxSizeS_1heg86p_30 [data-rs-internal='checkbox__error-message']{
201
+ ._checkboxSizeS_1g9yap6_30 [data-rs-internal='checkbox__error-message']{
202
202
  --_rs-typography-letter-spacing:normal;
203
203
  --_rs-typography-text-transform:initial;
204
204
  --_rs-typography-font-variant-numeric:initial;
@@ -226,10 +226,10 @@
226
226
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
227
227
  --_rs-typography-link-border-bottom-width-from-text:2px;
228
228
  }
229
- ._checkboxSizeS_1heg86p_30 [data-rs-internal='checkbox__error-icon']:not(html){
229
+ ._checkboxSizeS_1g9yap6_30 [data-rs-internal='checkbox__error-icon']:not(html){
230
230
  --_rs-icons-height:20px;
231
231
  }
232
- ._checkboxSizeM_1heg86p_33 [data-rs-internal='checkbox__error-message']{
232
+ ._checkboxSizeM_1g9yap6_33 [data-rs-internal='checkbox__error-message']{
233
233
  --_rs-typography-letter-spacing:normal;
234
234
  --_rs-typography-text-transform:initial;
235
235
  --_rs-typography-font-variant-numeric:initial;
@@ -257,10 +257,10 @@
257
257
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
258
258
  --_rs-typography-link-border-bottom-width-from-text:2px;
259
259
  }
260
- ._checkboxSizeM_1heg86p_33 [data-rs-internal='checkbox__error-icon']:not(html){
260
+ ._checkboxSizeM_1g9yap6_33 [data-rs-internal='checkbox__error-icon']:not(html){
261
261
  --_rs-icons-height:20px;
262
262
  }
263
- ._checkboxSizeL_1heg86p_36 [data-rs-internal='checkbox__error-message']{
263
+ ._checkboxSizeL_1g9yap6_36 [data-rs-internal='checkbox__error-message']{
264
264
  --_rs-typography-letter-spacing:normal;
265
265
  --_rs-typography-text-transform:initial;
266
266
  --_rs-typography-font-variant-numeric:initial;
@@ -288,10 +288,10 @@
288
288
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
289
289
  --_rs-typography-link-border-bottom-width-from-text:2px;
290
290
  }
291
- ._checkboxSizeL_1heg86p_36 [data-rs-internal='checkbox__error-icon']:not(html){
291
+ ._checkboxSizeL_1g9yap6_36 [data-rs-internal='checkbox__error-icon']:not(html){
292
292
  --_rs-icons-height:24px;
293
293
  }
294
- ._sizeS_1heg86p_40{
294
+ ._sizeS_1g9yap6_40{
295
295
  --_rs-checkbox-ci-mark-s-display:initial;
296
296
  --_rs-checkbox-ci-mark-m-display:none;
297
297
  --_rs-checkbox-ci-mark-l-display:none;
@@ -299,7 +299,7 @@
299
299
  --_rs-checkbox-ci-shadow-size:3px;
300
300
  --_rs-checkbox-ci-indeterminate-icon-border-width:6px 3px;
301
301
  }
302
- ._sizeM_1heg86p_43{
302
+ ._sizeM_1g9yap6_43{
303
303
  --_rs-checkbox-ci-mark-s-display:none;
304
304
  --_rs-checkbox-ci-mark-m-display:initial;
305
305
  --_rs-checkbox-ci-mark-l-display:none;
@@ -307,7 +307,7 @@
307
307
  --_rs-checkbox-ci-shadow-size:3px;
308
308
  --_rs-checkbox-ci-indeterminate-icon-border-width:8px 3px;
309
309
  }
310
- ._sizeL_1heg86p_46{
310
+ ._sizeL_1g9yap6_46{
311
311
  --_rs-checkbox-ci-mark-s-display:none;
312
312
  --_rs-checkbox-ci-mark-m-display:none;
313
313
  --_rs-checkbox-ci-mark-l-display:initial;
@@ -315,14 +315,14 @@
315
315
  --_rs-checkbox-ci-shadow-size:4px;
316
316
  --_rs-checkbox-ci-indeterminate-icon-border-width:9px 3px;
317
317
  }
318
- ._classic_1heg86p_50{
318
+ ._classic_1g9yap6_50{
319
319
  --_rs-checkbox-ci-mark-color:#FFFFFF;
320
320
  --_rs-checkbox-ci-indeterminate-icon-border-color:var(--_rs-color-primary);
321
321
  --_rs-checkbox-ci-indeterminate-icon-background-color:#FFFFFF;
322
322
  --_rs-checkbox-ci-checked-icon-border-color:var(--_rs-color-primary);
323
323
  --_rs-checkbox-ci-hover-icon-box-shadow:var(--_rs-color-primary-t-fog);
324
324
  }
325
- ._rock_1heg86p_53{
325
+ ._rock_1g9yap6_53{
326
326
  --_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));
327
327
  --_rs-checkbox-ci-indeterminate-icon-border-color:rgb(
328
328
  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)
@@ -338,7 +338,7 @@
338
338
  0.1
339
339
  );
340
340
  }
341
- ._checkbox_1heg86p_30{
341
+ ._checkbox_1g9yap6_30{
342
342
  --_rs-theme-dark:var(
343
343
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
344
344
  var(--rs-theme-dark, 0)
@@ -348,7 +348,7 @@
348
348
  --_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
349
349
  }
350
350
  @supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
351
- ._checkbox_1heg86p_30{
351
+ ._checkbox_1g9yap6_30{
352
352
  --_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)));
353
353
  --_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)));
354
354
  --_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)));
@@ -357,7 +357,7 @@
357
357
  }
358
358
  }
359
359
  @supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
360
- ._checkbox_1heg86p_30{
360
+ ._checkbox_1g9yap6_30{
361
361
  --_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);
362
362
  --_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));
363
363
  --_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));
@@ -365,7 +365,7 @@
365
365
  --_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));
366
366
  }
367
367
  }
368
- ._checkbox_1heg86p_30 {
368
+ ._checkbox_1g9yap6_30 {
369
369
 
370
370
  position:relative;
371
371
 
@@ -382,7 +382,7 @@
382
382
 
383
383
  text-align:left;
384
384
  }
385
- ._errorMessage_1heg86p_79{
385
+ ._errorMessage_1g9yap6_79{
386
386
  letter-spacing:var(
387
387
  --rs-text-base-letter-spacing,
388
388
  var(--_rs-typography-letter-spacing)
@@ -395,12 +395,6 @@
395
395
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
396
396
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
397
397
  font-feature-settings:'kern', 'liga', 'calt';
398
- }
399
- ._errorMessage_1heg86p_79 > p:not(:nth-child(1)),
400
- ._errorMessage_1heg86p_79 > pre:not(:nth-child(1)){
401
- padding-top:var(--_rs-typography-auto-offset-or-initial);
402
- }
403
- ._errorMessage_1heg86p_79 {
404
398
 
405
399
  display:-webkit-box;
406
400
 
@@ -415,17 +409,17 @@
415
409
  -moz-column-gap:8px;
416
410
  column-gap:8px;
417
411
  }
418
- ._errorMessage_1heg86p_79._list_1heg86p_20{
412
+ ._errorMessage_1g9yap6_79._list_1g9yap6_20{
419
413
  margin-bottom:8px;
420
414
  }
421
- ._errorIcon_1heg86p_93{
415
+ ._errorIcon_1g9yap6_93{
422
416
  -webkit-box-flex:0;
423
417
  -ms-flex:0 0 auto;
424
418
  flex:0 0 auto;
425
419
 
426
420
  color:#F45C4A;
427
421
  }
428
- ._input_1heg86p_99{
422
+ ._input_1g9yap6_99{
429
423
  position:absolute;
430
424
  z-index:-1;
431
425
 
@@ -435,7 +429,7 @@
435
429
 
436
430
  border:0;
437
431
  }
438
- ._icon_1heg86p_110{
432
+ ._icon_1g9yap6_110{
439
433
  display:inline-block;
440
434
  float:left;
441
435
 
@@ -455,17 +449,17 @@
455
449
 
456
450
  transition:border-width ease-out 100ms, border-color ease-out 100ms;
457
451
  }
458
- ._enabled_1heg86p_126 ._icon_1heg86p_110{
452
+ ._enabled_1g9yap6_126 ._icon_1g9yap6_110{
459
453
  cursor:pointer;
460
454
  }
461
- ._indeterminate_1heg86p_130 ._icon_1heg86p_110{
455
+ ._indeterminate_1g9yap6_130 ._icon_1g9yap6_110{
462
456
  border-width:var(--_rs-checkbox-ci-indeterminate-icon-border-width);
463
457
  }
464
- ._input_1heg86p_99:checked + ._icon_1heg86p_110{
458
+ ._input_1g9yap6_99:checked + ._icon_1g9yap6_110{
465
459
  border-width:calc(var(--_rs-checkbox-ci-size)/2);
466
460
  }
467
- ._disabled_1heg86p_138 ._icon_1heg86p_110._icon_1heg86p_110,
468
- ._input_1heg86p_99:disabled + ._icon_1heg86p_110{
461
+ ._disabled_1g9yap6_138 ._icon_1g9yap6_110._icon_1g9yap6_110,
462
+ ._input_1g9yap6_99:disabled + ._icon_1g9yap6_110{
469
463
  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));
470
464
 
471
465
  cursor:not-allowed;
@@ -473,27 +467,27 @@
473
467
 
474
468
  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));
475
469
  }
476
- ._input_1heg86p_99:hover + ._icon_1heg86p_110,
477
- ._enabled_1heg86p_126:hover ._icon_1heg86p_110{
470
+ ._input_1g9yap6_99:hover + ._icon_1g9yap6_110,
471
+ ._enabled_1g9yap6_126:hover ._icon_1g9yap6_110{
478
472
  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));
479
473
  }
480
- ._enabled_1heg86p_126._indeterminate_1heg86p_130 ._icon_1heg86p_110,
481
- ._enabled_1heg86p_126._indeterminate_1heg86p_130:hover ._icon_1heg86p_110,
482
- ._enabled_1heg86p_126._indeterminate_1heg86p_130 ._input_1heg86p_99:hover + ._icon_1heg86p_110{
474
+ ._enabled_1g9yap6_126._indeterminate_1g9yap6_130 ._icon_1g9yap6_110,
475
+ ._enabled_1g9yap6_126._indeterminate_1g9yap6_130:hover ._icon_1g9yap6_110,
476
+ ._enabled_1g9yap6_126._indeterminate_1g9yap6_130 ._input_1g9yap6_99:hover + ._icon_1g9yap6_110{
483
477
  border-color:var(--_rs-checkbox-ci-indeterminate-icon-border-color);
484
478
 
485
479
  background-color:var(
486
480
  --_rs-checkbox-ci-indeterminate-icon-background-color
487
481
  );
488
482
  }
489
- ._enabled_1heg86p_126 ._input_1heg86p_99:checked + ._icon_1heg86p_110._icon_1heg86p_110{
483
+ ._enabled_1g9yap6_126 ._input_1g9yap6_99:checked + ._icon_1g9yap6_110._icon_1g9yap6_110{
490
484
  border-color:var(--_rs-checkbox-ci-checked-icon-border-color);
491
485
  }
492
- ._error_1heg86p_79 ._icon_1heg86p_110._icon_1heg86p_110._icon_1heg86p_110._icon_1heg86p_110,
493
- ._input_1heg86p_99:invalid + ._icon_1heg86p_110._icon_1heg86p_110._icon_1heg86p_110{
486
+ ._error_1g9yap6_79 ._icon_1g9yap6_110._icon_1g9yap6_110._icon_1g9yap6_110._icon_1g9yap6_110,
487
+ ._input_1g9yap6_99:invalid + ._icon_1g9yap6_110._icon_1g9yap6_110._icon_1g9yap6_110{
494
488
  border-color:#F45C4A;
495
489
  }
496
- ._icon_1heg86p_110::after{
490
+ ._icon_1g9yap6_110::after{
497
491
  position:absolute;
498
492
  top:var(--_rs-checkbox-ci-shadow-size);
499
493
  right:var(--_rs-checkbox-ci-shadow-size);
@@ -502,17 +496,17 @@
502
496
 
503
497
  content:'';
504
498
  }
505
- ._enabled_1heg86p_126:hover > ._icon_1heg86p_110::after,
506
- label:hover ._enabled_1heg86p_126 > ._icon_1heg86p_110::after,
507
- ._enabled_1heg86p_126 ._input_1heg86p_99:active + ._icon_1heg86p_110::after{
499
+ ._enabled_1g9yap6_126:hover > ._icon_1g9yap6_110::after,
500
+ label:hover ._enabled_1g9yap6_126 > ._icon_1g9yap6_110::after,
501
+ ._enabled_1g9yap6_126 ._input_1g9yap6_99:active + ._icon_1g9yap6_110::after{
508
502
  -webkit-box-shadow:0 0 0 var(--_rs-checkbox-ci-shadow-size) var(--_rs-checkbox-ci-hover-icon-box-shadow);
509
503
  box-shadow:0 0 0 var(--_rs-checkbox-ci-shadow-size) var(--_rs-checkbox-ci-hover-icon-box-shadow);
510
504
  }
511
- ._enabled_1heg86p_126 ._input_1heg86p_99:focus[data-focus-method='key'] + ._icon_1heg86p_110::after{
505
+ ._enabled_1g9yap6_126 ._input_1g9yap6_99:focus[data-focus-method='key'] + ._icon_1g9yap6_110::after{
512
506
  -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);
513
507
  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);
514
508
  }
515
- ._checkmark_1heg86p_194{
509
+ ._checkmark_1g9yap6_194{
516
510
  position:absolute;
517
511
  top:var(--_rs-checkbox-ci-shadow-size);
518
512
  left:var(--_rs-checkbox-ci-shadow-size);
@@ -523,22 +517,22 @@
523
517
  height:var(--_rs-checkbox-ci-size);
524
518
  fill:currentColor;
525
519
  }
526
- ._enabled_1heg86p_126 ._checkmark_1heg86p_194{
520
+ ._enabled_1g9yap6_126 ._checkmark_1g9yap6_194{
527
521
  color:var(--_rs-checkbox-ci-mark-color);
528
522
  }
529
- ._disabled_1heg86p_138 ._checkmark_1heg86p_194,
530
- ._input_1heg86p_99:disabled + ._icon_1heg86p_110 > ._checkmark_1heg86p_194{
523
+ ._disabled_1g9yap6_138 ._checkmark_1g9yap6_194,
524
+ ._input_1g9yap6_99:disabled + ._icon_1g9yap6_110 > ._checkmark_1g9yap6_194{
531
525
  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));
532
526
  }
533
- ._input_1heg86p_99:checked + ._icon_1heg86p_110 > ._checkmark_1heg86p_194{
527
+ ._input_1g9yap6_99:checked + ._icon_1g9yap6_110 > ._checkmark_1g9yap6_194{
534
528
  display:block;
535
529
  }
536
- ._markS_1heg86p_219{
530
+ ._markS_1g9yap6_219{
537
531
  display:var(--_rs-checkbox-ci-mark-s-display);
538
532
  }
539
- ._markM_1heg86p_222{
533
+ ._markM_1g9yap6_222{
540
534
  display:var(--_rs-checkbox-ci-mark-m-display);
541
535
  }
542
- ._markL_1heg86p_225{
536
+ ._markL_1g9yap6_225{
543
537
  display:var(--_rs-checkbox-ci-mark-l-display);
544
538
  }
@@ -1,31 +1,31 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_1heg86p_8",
3
- "themeDark": "_themeDark_1heg86p_11",
4
- "container": "_container_1heg86p_15",
5
- "listSizeS": "_listSizeS_1heg86p_20",
6
- "listSizeM": "_listSizeM_1heg86p_23",
7
- "listSizeL": "_listSizeL_1heg86p_26",
8
- "checkboxSizeS": "_checkboxSizeS_1heg86p_30",
9
- "checkboxSizeM": "_checkboxSizeM_1heg86p_33",
10
- "checkboxSizeL": "_checkboxSizeL_1heg86p_36",
11
- "sizeS": "_sizeS_1heg86p_40",
12
- "sizeM": "_sizeM_1heg86p_43",
13
- "sizeL": "_sizeL_1heg86p_46",
14
- "classic": "_classic_1heg86p_50",
15
- "rock": "_rock_1heg86p_53",
16
- "checkbox": "_checkbox_1heg86p_30",
17
- "errorMessage": "_errorMessage_1heg86p_79",
18
- "list": "_list_1heg86p_20",
19
- "errorIcon": "_errorIcon_1heg86p_93",
20
- "input": "_input_1heg86p_99",
21
- "icon": "_icon_1heg86p_110",
22
- "enabled": "_enabled_1heg86p_126",
23
- "indeterminate": "_indeterminate_1heg86p_130",
24
- "disabled": "_disabled_1heg86p_138",
25
- "error": "_error_1heg86p_79",
26
- "checkmark": "_checkmark_1heg86p_194",
27
- "markS": "_markS_1heg86p_219",
28
- "markM": "_markM_1heg86p_222",
29
- "markL": "_markL_1heg86p_225"
2
+ "themeLight": "_themeLight_1g9yap6_8",
3
+ "themeDark": "_themeDark_1g9yap6_11",
4
+ "container": "_container_1g9yap6_15",
5
+ "listSizeS": "_listSizeS_1g9yap6_20",
6
+ "listSizeM": "_listSizeM_1g9yap6_23",
7
+ "listSizeL": "_listSizeL_1g9yap6_26",
8
+ "checkboxSizeS": "_checkboxSizeS_1g9yap6_30",
9
+ "checkboxSizeM": "_checkboxSizeM_1g9yap6_33",
10
+ "checkboxSizeL": "_checkboxSizeL_1g9yap6_36",
11
+ "sizeS": "_sizeS_1g9yap6_40",
12
+ "sizeM": "_sizeM_1g9yap6_43",
13
+ "sizeL": "_sizeL_1g9yap6_46",
14
+ "classic": "_classic_1g9yap6_50",
15
+ "rock": "_rock_1g9yap6_53",
16
+ "checkbox": "_checkbox_1g9yap6_30",
17
+ "errorMessage": "_errorMessage_1g9yap6_79",
18
+ "list": "_list_1g9yap6_20",
19
+ "errorIcon": "_errorIcon_1g9yap6_93",
20
+ "input": "_input_1g9yap6_99",
21
+ "icon": "_icon_1g9yap6_110",
22
+ "enabled": "_enabled_1g9yap6_126",
23
+ "indeterminate": "_indeterminate_1g9yap6_130",
24
+ "disabled": "_disabled_1g9yap6_138",
25
+ "error": "_error_1g9yap6_79",
26
+ "checkmark": "_checkmark_1g9yap6_194",
27
+ "markS": "_markS_1g9yap6_219",
28
+ "markM": "_markM_1g9yap6_222",
29
+ "markL": "_markL_1g9yap6_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.0",
3
+ "version": "0.8.1",
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.4",
18
+ "@rescui/menu": "^0.10.5",
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.2",
28
+ "@rescui/colors": "^0.2.3",
29
29
  "@rescui/postcss-preset-library": "^0.2.1",
30
- "@rescui/scripts": "^0.3.2",
31
- "@rescui/typography": "^0.16.4",
30
+ "@rescui/scripts": "^0.3.3",
31
+ "@rescui/typography": "^0.17.0",
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": "d4bb4a95bc321907bc55b9ad9768f7e822acbd2d"
39
+ "gitHead": "b422496bacb5df4a601008c646abfb08cebe461c"
40
40
  }