@rescui/checkbox 0.8.9-RUI-230-Update-icons-6919f9e4.29 → 0.8.9-RUI-230-Update-icons-1bfaa24e.31
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 +12 -12
- package/lib/_virtual/warning.js +24 -17
- package/lib/index.css +78 -78
- package/lib/parts/checkbox.p.module.css.js +28 -28
- package/package.json +5 -5
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
9
|
-
"allVariants": "
|
|
10
|
-
"variant16": "
|
|
11
|
-
"variant20": "
|
|
12
|
-
"variant24": "
|
|
13
|
-
"variant28": "
|
|
2
|
+
"icon": "_icon_18715wb_4",
|
|
3
|
+
"sizeXS": "_sizeXS_18715wb_14",
|
|
4
|
+
"sizeS": "_sizeS_18715wb_18",
|
|
5
|
+
"sizeM": "_sizeM_18715wb_22",
|
|
6
|
+
"sizeL": "_sizeL_18715wb_26",
|
|
7
|
+
"light": "_light_18715wb_30",
|
|
8
|
+
"dark": "_dark_18715wb_34",
|
|
9
|
+
"allVariants": "_allVariants_18715wb_48",
|
|
10
|
+
"variant16": "_variant16_18715wb_53",
|
|
11
|
+
"variant20": "_variant20_18715wb_54",
|
|
12
|
+
"variant24": "_variant24_18715wb_55",
|
|
13
|
+
"variant28": "_variant28_18715wb_58"
|
|
14
14
|
};
|
|
15
15
|
export { styles as default };
|
package/lib/_virtual/warning.js
CHANGED
|
@@ -15,31 +15,38 @@ const Size = {
|
|
|
15
15
|
"m": "m",
|
|
16
16
|
"l": "l"
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
const WarningIcon16 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
18
|
+
const WarningIcon16 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
20
19
|
viewBox: "0 0 16 16"
|
|
21
|
-
}, props
|
|
20
|
+
}, props, {
|
|
21
|
+
ref: ref
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
23
|
d: "m6.303 1.989-5.027 8.874C.483 12.263 1.494 14 3.103 14h9.793c1.609 0 2.62-1.736 1.827-3.137L9.696 1.99C8.949.67 7.05.67 6.303 1.989M8 12a1 1 0 1 1 0-2 1 1 0 0 1 0 2m0-8a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0v-4A.5.5 0 0 1 8 4"
|
|
23
|
-
}));
|
|
24
|
-
|
|
25
|
-
const WarningIcon20 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
24
|
+
})));
|
|
25
|
+
WarningIcon16.displayName = 'WarningIcon16';
|
|
26
|
+
const WarningIcon20 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
26
27
|
viewBox: "0 0 20 20"
|
|
27
|
-
}, props
|
|
28
|
+
}, props, {
|
|
29
|
+
ref: ref
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
28
31
|
d: "m8.042 3.141-5.8 10.24C1.327 14.997 2.494 17 4.35 17h11.3c1.856 0 3.023-2.003 2.108-3.62l-5.8-10.239c-.862-1.521-3.054-1.521-3.916 0M10 5.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V6a.75.75 0 0 1 .75-.75m0 9.25a1 1 0 1 1 0-2 1 1 0 0 1 0 2"
|
|
29
|
-
}));
|
|
30
|
-
|
|
31
|
-
const WarningIcon24 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
|
+
})));
|
|
33
|
+
WarningIcon20.displayName = 'WarningIcon20';
|
|
34
|
+
const WarningIcon24 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
35
|
viewBox: "0 0 24 24"
|
|
33
|
-
}, props
|
|
36
|
+
}, props, {
|
|
37
|
+
ref: ref
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
34
39
|
d: "m9.52 3.446-7.346 12.97C1.014 18.463 2.492 21 4.844 21h14.312c2.352 0 3.83-2.537 2.67-4.584L14.48 3.446c-1.092-1.928-3.868-1.928-4.96 0M12 7a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V8a1 1 0 0 1 1-1m0 11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"
|
|
35
|
-
}));
|
|
36
|
-
|
|
37
|
-
const WarningIcon28 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
40
|
+
})));
|
|
41
|
+
WarningIcon24.displayName = 'WarningIcon24';
|
|
42
|
+
const WarningIcon28 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
38
43
|
viewBox: "0 0 28 28"
|
|
39
|
-
}, props
|
|
44
|
+
}, props, {
|
|
45
|
+
ref: ref
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
47
|
d: "M11.26 4.598 3.14 18.933C1.858 21.195 3.492 24 6.09 24h15.82c2.599 0 4.232-2.805 2.951-5.067l-8.12-14.335c-1.207-2.13-4.275-2.13-5.481 0M14 8a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1m0 12a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"
|
|
41
|
-
}));
|
|
42
|
-
|
|
48
|
+
})));
|
|
49
|
+
WarningIcon28.displayName = 'WarningIcon28';
|
|
43
50
|
const WarningIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
44
51
|
let {
|
|
45
52
|
theme,
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_18715wb_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_18715wb_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_18715wb_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_18715wb_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_18715wb_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_18715wb_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_18715wb_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_18715wb_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_18715wb_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_18715wb_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
|
}
|
|
@@ -60,49 +60,49 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._allVariants_18715wb_48{
|
|
64
64
|
aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
|
|
65
65
|
container:rs-icon / size;
|
|
66
66
|
}
|
|
67
|
-
.
|
|
68
|
-
.
|
|
69
|
-
.
|
|
67
|
+
._variant16_18715wb_53,
|
|
68
|
+
._variant20_18715wb_54,
|
|
69
|
+
._variant24_18715wb_55{
|
|
70
70
|
display:none;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
._variant28_18715wb_58{
|
|
73
73
|
display:block;
|
|
74
74
|
}
|
|
75
75
|
@container rs-icon (max-height: 24px){
|
|
76
|
-
.
|
|
76
|
+
._variant24_18715wb_55{
|
|
77
77
|
display:block;
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
._variant28_18715wb_58{
|
|
80
80
|
display:none;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
@container rs-icon (max-height: 20px){
|
|
84
|
-
.
|
|
84
|
+
._variant20_18715wb_54{
|
|
85
85
|
display:block;
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
._variant24_18715wb_55{
|
|
88
88
|
display:none;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
@container rs-icon (max-height: 16px){
|
|
92
|
-
.
|
|
92
|
+
._variant16_18715wb_53{
|
|
93
93
|
display:block;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
._variant20_18715wb_54{
|
|
96
96
|
display:none;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
._themeLight_177y13m_8{
|
|
100
100
|
--rs-theme-dark:0;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
._themeDark_177y13m_11{
|
|
103
103
|
--rs-theme-dark:1;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
._container_177y13m_15{
|
|
106
106
|
--_rs-theme-dark:var(
|
|
107
107
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
108
108
|
var(--rs-theme-dark, 0)
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
113
113
|
}
|
|
114
114
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
115
|
-
.
|
|
115
|
+
._container_177y13m_15{
|
|
116
116
|
--_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)));
|
|
117
117
|
--_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)));
|
|
118
118
|
--_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)));
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
124
|
-
.
|
|
124
|
+
._container_177y13m_15{
|
|
125
125
|
--_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);
|
|
126
126
|
--_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));
|
|
127
127
|
--_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));
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
--_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));
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
._listSizeS_177y13m_20 [data-rs-internal='checkbox-list__error-message']{
|
|
133
133
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
134
134
|
--_rs-typography-text-transform:initial;
|
|
135
135
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -160,10 +160,10 @@
|
|
|
160
160
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
161
161
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
._listSizeS_177y13m_20 [data-rs-internal='checkbox-list__error-icon']:not(html){
|
|
164
164
|
--_rs-icons-height:20px;
|
|
165
165
|
}
|
|
166
|
-
.
|
|
166
|
+
._listSizeM_177y13m_23 [data-rs-internal='checkbox-list__error-message']{
|
|
167
167
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
168
168
|
--_rs-typography-text-transform:initial;
|
|
169
169
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -194,10 +194,10 @@
|
|
|
194
194
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
195
195
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
196
196
|
}
|
|
197
|
-
.
|
|
197
|
+
._listSizeM_177y13m_23 [data-rs-internal='checkbox-list__error-icon']:not(html){
|
|
198
198
|
--_rs-icons-height:20px;
|
|
199
199
|
}
|
|
200
|
-
.
|
|
200
|
+
._listSizeL_177y13m_26 [data-rs-internal='checkbox-list__error-message']{
|
|
201
201
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
202
202
|
--_rs-typography-text-transform:initial;
|
|
203
203
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -228,10 +228,10 @@
|
|
|
228
228
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
229
229
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
230
230
|
}
|
|
231
|
-
.
|
|
231
|
+
._listSizeL_177y13m_26 [data-rs-internal='checkbox-list__error-icon']:not(html){
|
|
232
232
|
--_rs-icons-height:24px;
|
|
233
233
|
}
|
|
234
|
-
.
|
|
234
|
+
._checkboxSizeS_177y13m_30 [data-rs-internal='checkbox__error-message']{
|
|
235
235
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
236
236
|
--_rs-typography-text-transform:initial;
|
|
237
237
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -262,10 +262,10 @@
|
|
|
262
262
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
263
263
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
264
264
|
}
|
|
265
|
-
.
|
|
265
|
+
._checkboxSizeS_177y13m_30 [data-rs-internal='checkbox__error-icon']:not(html){
|
|
266
266
|
--_rs-icons-height:20px;
|
|
267
267
|
}
|
|
268
|
-
.
|
|
268
|
+
._checkboxSizeM_177y13m_33 [data-rs-internal='checkbox__error-message']{
|
|
269
269
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
270
270
|
--_rs-typography-text-transform:initial;
|
|
271
271
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -296,10 +296,10 @@
|
|
|
296
296
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
297
297
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
298
298
|
}
|
|
299
|
-
.
|
|
299
|
+
._checkboxSizeM_177y13m_33 [data-rs-internal='checkbox__error-icon']:not(html){
|
|
300
300
|
--_rs-icons-height:20px;
|
|
301
301
|
}
|
|
302
|
-
.
|
|
302
|
+
._checkboxSizeL_177y13m_36 [data-rs-internal='checkbox__error-message']{
|
|
303
303
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
304
304
|
--_rs-typography-text-transform:initial;
|
|
305
305
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -330,10 +330,10 @@
|
|
|
330
330
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
331
331
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
332
332
|
}
|
|
333
|
-
.
|
|
333
|
+
._checkboxSizeL_177y13m_36 [data-rs-internal='checkbox__error-icon']:not(html){
|
|
334
334
|
--_rs-icons-height:24px;
|
|
335
335
|
}
|
|
336
|
-
.
|
|
336
|
+
._sizeS_177y13m_40{
|
|
337
337
|
--_rs-checkbox-ci-mark-s-display:initial;
|
|
338
338
|
--_rs-checkbox-ci-mark-m-display:none;
|
|
339
339
|
--_rs-checkbox-ci-mark-l-display:none;
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
--_rs-checkbox-ci-shadow-size:3px;
|
|
342
342
|
--_rs-checkbox-ci-indeterminate-icon-border-width:6px 3px;
|
|
343
343
|
}
|
|
344
|
-
.
|
|
344
|
+
._sizeM_177y13m_43{
|
|
345
345
|
--_rs-checkbox-ci-mark-s-display:none;
|
|
346
346
|
--_rs-checkbox-ci-mark-m-display:initial;
|
|
347
347
|
--_rs-checkbox-ci-mark-l-display:none;
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
--_rs-checkbox-ci-shadow-size:3px;
|
|
350
350
|
--_rs-checkbox-ci-indeterminate-icon-border-width:8px 3px;
|
|
351
351
|
}
|
|
352
|
-
.
|
|
352
|
+
._sizeL_177y13m_46{
|
|
353
353
|
--_rs-checkbox-ci-mark-s-display:none;
|
|
354
354
|
--_rs-checkbox-ci-mark-m-display:none;
|
|
355
355
|
--_rs-checkbox-ci-mark-l-display:initial;
|
|
@@ -357,14 +357,14 @@
|
|
|
357
357
|
--_rs-checkbox-ci-shadow-size:4px;
|
|
358
358
|
--_rs-checkbox-ci-indeterminate-icon-border-width:9px 3px;
|
|
359
359
|
}
|
|
360
|
-
.
|
|
360
|
+
._classic_177y13m_50{
|
|
361
361
|
--_rs-checkbox-ci-mark-color:#FFFFFF;
|
|
362
362
|
--_rs-checkbox-ci-indeterminate-icon-border-color:var(--_rs-color-primary);
|
|
363
363
|
--_rs-checkbox-ci-indeterminate-icon-background-color:#FFFFFF;
|
|
364
364
|
--_rs-checkbox-ci-checked-icon-border-color:var(--_rs-color-primary);
|
|
365
365
|
--_rs-checkbox-ci-hover-icon-box-shadow:var(--_rs-color-primary-t-fog);
|
|
366
366
|
}
|
|
367
|
-
.
|
|
367
|
+
._rock_177y13m_53{
|
|
368
368
|
--_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));
|
|
369
369
|
--_rs-checkbox-ci-indeterminate-icon-border-color:rgb(
|
|
370
370
|
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)
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
0.1
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
|
-
.
|
|
383
|
+
._checkbox_177y13m_30{
|
|
384
384
|
--_rs-theme-dark:var(
|
|
385
385
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
386
386
|
var(--rs-theme-dark, 0)
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
391
391
|
}
|
|
392
392
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
393
|
-
.
|
|
393
|
+
._checkbox_177y13m_30{
|
|
394
394
|
--_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)));
|
|
395
395
|
--_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)));
|
|
396
396
|
--_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)));
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
402
|
-
.
|
|
402
|
+
._checkbox_177y13m_30{
|
|
403
403
|
--_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);
|
|
404
404
|
--_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));
|
|
405
405
|
--_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));
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
--_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));
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
.
|
|
410
|
+
._checkbox_177y13m_30 {
|
|
411
411
|
|
|
412
412
|
position:relative;
|
|
413
413
|
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
|
|
423
423
|
text-align:left;
|
|
424
424
|
}
|
|
425
|
-
.
|
|
425
|
+
._errorMessage_177y13m_79{
|
|
426
426
|
letter-spacing:var(
|
|
427
427
|
--rs-text-base-letter-spacing,
|
|
428
428
|
var(--_rs-typography-letter-spacing)
|
|
@@ -442,15 +442,15 @@
|
|
|
442
442
|
-moz-column-gap:8px;
|
|
443
443
|
column-gap:8px;
|
|
444
444
|
}
|
|
445
|
-
.
|
|
445
|
+
._errorMessage_177y13m_79._list_177y13m_20{
|
|
446
446
|
margin-bottom:8px;
|
|
447
447
|
}
|
|
448
|
-
.
|
|
448
|
+
._errorIcon_177y13m_93{
|
|
449
449
|
flex:0 0 auto;
|
|
450
450
|
|
|
451
451
|
color:#F45C4A;
|
|
452
452
|
}
|
|
453
|
-
.
|
|
453
|
+
._input_177y13m_99{
|
|
454
454
|
position:absolute;
|
|
455
455
|
z-index:-1;
|
|
456
456
|
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
|
|
461
461
|
border:0;
|
|
462
462
|
}
|
|
463
|
-
.
|
|
463
|
+
._icon_177y13m_110{
|
|
464
464
|
display:inline-block;
|
|
465
465
|
float:left;
|
|
466
466
|
|
|
@@ -476,17 +476,17 @@
|
|
|
476
476
|
|
|
477
477
|
transition:border-width ease-out 100ms, border-color ease-out 100ms;
|
|
478
478
|
}
|
|
479
|
-
.
|
|
479
|
+
._enabled_177y13m_126 ._icon_177y13m_110{
|
|
480
480
|
cursor:pointer;
|
|
481
481
|
}
|
|
482
|
-
.
|
|
482
|
+
._indeterminate_177y13m_130 ._icon_177y13m_110{
|
|
483
483
|
border-width:var(--_rs-checkbox-ci-indeterminate-icon-border-width);
|
|
484
484
|
}
|
|
485
|
-
.
|
|
485
|
+
._input_177y13m_99:checked + ._icon_177y13m_110{
|
|
486
486
|
border-width:calc(var(--_rs-checkbox-ci-size)/2);
|
|
487
487
|
}
|
|
488
|
-
.
|
|
489
|
-
.
|
|
488
|
+
._disabled_177y13m_138 ._icon_177y13m_110._icon_177y13m_110,
|
|
489
|
+
._input_177y13m_99:disabled + ._icon_177y13m_110{
|
|
490
490
|
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));
|
|
491
491
|
|
|
492
492
|
cursor:not-allowed;
|
|
@@ -494,27 +494,27 @@
|
|
|
494
494
|
|
|
495
495
|
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));
|
|
496
496
|
}
|
|
497
|
-
.
|
|
498
|
-
.
|
|
497
|
+
._input_177y13m_99:hover + ._icon_177y13m_110,
|
|
498
|
+
._enabled_177y13m_126:hover ._icon_177y13m_110{
|
|
499
499
|
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));
|
|
500
500
|
}
|
|
501
|
-
.
|
|
502
|
-
.
|
|
503
|
-
.
|
|
501
|
+
._enabled_177y13m_126._indeterminate_177y13m_130 ._icon_177y13m_110,
|
|
502
|
+
._enabled_177y13m_126._indeterminate_177y13m_130:hover ._icon_177y13m_110,
|
|
503
|
+
._enabled_177y13m_126._indeterminate_177y13m_130 ._input_177y13m_99:hover + ._icon_177y13m_110{
|
|
504
504
|
border-color:var(--_rs-checkbox-ci-indeterminate-icon-border-color);
|
|
505
505
|
|
|
506
506
|
background-color:var(
|
|
507
507
|
--_rs-checkbox-ci-indeterminate-icon-background-color
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
|
-
.
|
|
510
|
+
._enabled_177y13m_126 ._input_177y13m_99:checked + ._icon_177y13m_110._icon_177y13m_110{
|
|
511
511
|
border-color:var(--_rs-checkbox-ci-checked-icon-border-color);
|
|
512
512
|
}
|
|
513
|
-
.
|
|
514
|
-
.
|
|
513
|
+
._error_177y13m_79 ._icon_177y13m_110._icon_177y13m_110._icon_177y13m_110._icon_177y13m_110,
|
|
514
|
+
._input_177y13m_99:invalid + ._icon_177y13m_110._icon_177y13m_110._icon_177y13m_110{
|
|
515
515
|
border-color:#F45C4A;
|
|
516
516
|
}
|
|
517
|
-
.
|
|
517
|
+
._icon_177y13m_110::after{
|
|
518
518
|
position:absolute;
|
|
519
519
|
top:var(--_rs-checkbox-ci-shadow-size);
|
|
520
520
|
right:var(--_rs-checkbox-ci-shadow-size);
|
|
@@ -523,15 +523,15 @@
|
|
|
523
523
|
|
|
524
524
|
content:'';
|
|
525
525
|
}
|
|
526
|
-
.
|
|
527
|
-
label:hover .
|
|
528
|
-
.
|
|
526
|
+
._enabled_177y13m_126:hover > ._icon_177y13m_110::after,
|
|
527
|
+
label:hover ._enabled_177y13m_126 > ._icon_177y13m_110::after,
|
|
528
|
+
._enabled_177y13m_126 ._input_177y13m_99:active + ._icon_177y13m_110::after{
|
|
529
529
|
box-shadow:0 0 0 var(--_rs-checkbox-ci-shadow-size) var(--_rs-checkbox-ci-hover-icon-box-shadow);
|
|
530
530
|
}
|
|
531
|
-
.
|
|
531
|
+
._enabled_177y13m_126 ._input_177y13m_99:focus[data-focus-method='key'] + ._icon_177y13m_110::after{
|
|
532
532
|
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);
|
|
533
533
|
}
|
|
534
|
-
.
|
|
534
|
+
._checkmark_177y13m_194{
|
|
535
535
|
position:absolute;
|
|
536
536
|
top:var(--_rs-checkbox-ci-shadow-size);
|
|
537
537
|
left:var(--_rs-checkbox-ci-shadow-size);
|
|
@@ -542,22 +542,22 @@
|
|
|
542
542
|
height:var(--_rs-checkbox-ci-size);
|
|
543
543
|
fill:currentColor;
|
|
544
544
|
}
|
|
545
|
-
.
|
|
545
|
+
._enabled_177y13m_126 ._checkmark_177y13m_194{
|
|
546
546
|
color:var(--_rs-checkbox-ci-mark-color);
|
|
547
547
|
}
|
|
548
|
-
.
|
|
549
|
-
.
|
|
548
|
+
._disabled_177y13m_138 ._checkmark_177y13m_194,
|
|
549
|
+
._input_177y13m_99:disabled + ._icon_177y13m_110 > ._checkmark_177y13m_194{
|
|
550
550
|
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));
|
|
551
551
|
}
|
|
552
|
-
.
|
|
552
|
+
._input_177y13m_99:checked + ._icon_177y13m_110 > ._checkmark_177y13m_194{
|
|
553
553
|
display:block;
|
|
554
554
|
}
|
|
555
|
-
.
|
|
555
|
+
._markS_177y13m_219{
|
|
556
556
|
display:var(--_rs-checkbox-ci-mark-s-display);
|
|
557
557
|
}
|
|
558
|
-
.
|
|
558
|
+
._markM_177y13m_222{
|
|
559
559
|
display:var(--_rs-checkbox-ci-mark-m-display);
|
|
560
560
|
}
|
|
561
|
-
.
|
|
561
|
+
._markL_177y13m_225{
|
|
562
562
|
display:var(--_rs-checkbox-ci-mark-l-display);
|
|
563
563
|
}
|
|
@@ -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_177y13m_8",
|
|
3
|
+
"themeDark": "_themeDark_177y13m_11",
|
|
4
|
+
"container": "_container_177y13m_15",
|
|
5
|
+
"listSizeS": "_listSizeS_177y13m_20",
|
|
6
|
+
"listSizeM": "_listSizeM_177y13m_23",
|
|
7
|
+
"listSizeL": "_listSizeL_177y13m_26",
|
|
8
|
+
"checkboxSizeS": "_checkboxSizeS_177y13m_30",
|
|
9
|
+
"checkboxSizeM": "_checkboxSizeM_177y13m_33",
|
|
10
|
+
"checkboxSizeL": "_checkboxSizeL_177y13m_36",
|
|
11
|
+
"sizeS": "_sizeS_177y13m_40",
|
|
12
|
+
"sizeM": "_sizeM_177y13m_43",
|
|
13
|
+
"sizeL": "_sizeL_177y13m_46",
|
|
14
|
+
"classic": "_classic_177y13m_50",
|
|
15
|
+
"rock": "_rock_177y13m_53",
|
|
16
|
+
"checkbox": "_checkbox_177y13m_30",
|
|
17
|
+
"errorMessage": "_errorMessage_177y13m_79",
|
|
18
|
+
"list": "_list_177y13m_20",
|
|
19
|
+
"errorIcon": "_errorIcon_177y13m_93",
|
|
20
|
+
"input": "_input_177y13m_99",
|
|
21
|
+
"icon": "_icon_177y13m_110",
|
|
22
|
+
"enabled": "_enabled_177y13m_126",
|
|
23
|
+
"indeterminate": "_indeterminate_177y13m_130",
|
|
24
|
+
"disabled": "_disabled_177y13m_138",
|
|
25
|
+
"error": "_error_177y13m_79",
|
|
26
|
+
"checkmark": "_checkmark_177y13m_194",
|
|
27
|
+
"markS": "_markS_177y13m_219",
|
|
28
|
+
"markM": "_markM_177y13m_222",
|
|
29
|
+
"markL": "_markL_177y13m_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.9-RUI-230-Update-icons-
|
|
3
|
+
"version": "0.8.9-RUI-230-Update-icons-1bfaa24e.31+1bfaa24e",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
19
|
-
"@rescui/menu": "0.10.13-RUI-230-Update-icons-
|
|
19
|
+
"@rescui/menu": "0.10.13-RUI-230-Update-icons-1bfaa24e.31+1bfaa24e",
|
|
20
20
|
"classnames": "^2.2.6"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/colors": "0.2.7-RUI-230-Update-icons-
|
|
28
|
+
"@rescui/colors": "0.2.7-RUI-230-Update-icons-1bfaa24e.55+1bfaa24e",
|
|
29
29
|
"@rescui/postcss-preset-library": "0.2.2",
|
|
30
30
|
"@rescui/scripts": "0.3.5",
|
|
31
|
-
"@rescui/typography": "0.21.1-RUI-230-Update-icons-
|
|
31
|
+
"@rescui/typography": "0.21.1-RUI-230-Update-icons-1bfaa24e.31+1bfaa24e",
|
|
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": "1bfaa24e81b1a94b625304e660d29d1b3eb3d71d"
|
|
40
40
|
}
|