@rescui/radio-button 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.
- package/lib/_virtual/index.css.js +7 -7
- package/lib/index.css +50 -56
- package/lib/parts/radio-button.p.module.css.js +19 -19
- 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_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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
35
|
+
._sizeXS_ekw7ne_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_ekw7ne_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_ekw7ne_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_ekw7ne_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
75
|
+
._themeLight_iid8n8_8{
|
|
76
76
|
--rs-theme-dark:0;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._themeDark_iid8n8_11{
|
|
79
79
|
--rs-theme-dark:1;
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
._container_iid8n8_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_iid8n8_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_iid8n8_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_iid8n8_20 [data-rs-internal='radio-button-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
|
-
.
|
|
136
|
+
._listSizeS_iid8n8_20 [data-rs-internal='radio-button-list__error-icon']:not(html){
|
|
137
137
|
--_rs-icons-height:20px;
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
._listSizeM_iid8n8_23 [data-rs-internal='radio-button-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
|
-
.
|
|
167
|
+
._listSizeM_iid8n8_23 [data-rs-internal='radio-button-list__error-icon']:not(html){
|
|
168
168
|
--_rs-icons-height:20px;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
._listSizeL_iid8n8_26 [data-rs-internal='radio-button-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,35 +195,35 @@
|
|
|
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
|
-
.
|
|
198
|
+
._listSizeL_iid8n8_26 [data-rs-internal='radio-button-list__error-icon']:not(html){
|
|
199
199
|
--_rs-icons-height:24px;
|
|
200
200
|
}
|
|
201
|
-
.
|
|
201
|
+
._sizeS_iid8n8_30{
|
|
202
202
|
--_rs-radio-button-size:20px;
|
|
203
203
|
--_rs-radio-button-box-shadow-size:3px;
|
|
204
204
|
--_rs-radio-button-active-icon-border-width:5px;
|
|
205
205
|
}
|
|
206
|
-
.
|
|
206
|
+
._sizeM_iid8n8_33{
|
|
207
207
|
--_rs-radio-button-size:24px;
|
|
208
208
|
--_rs-radio-button-box-shadow-size:3px;
|
|
209
209
|
--_rs-radio-button-active-icon-border-width:6px;
|
|
210
210
|
}
|
|
211
|
-
.
|
|
211
|
+
._sizeL_iid8n8_36{
|
|
212
212
|
--_rs-radio-button-size:28px;
|
|
213
213
|
--_rs-radio-button-box-shadow-size:4px;
|
|
214
214
|
--_rs-radio-button-active-icon-border-width:6px;
|
|
215
215
|
}
|
|
216
|
-
.
|
|
216
|
+
._classic_iid8n8_40{
|
|
217
217
|
--_rs-radio-button-active-icon-border-color:var(--_rs-color-primary);
|
|
218
218
|
--_rs-radio-button-active-icon-background-color:#FFFFFF;
|
|
219
219
|
--_rs-radio-button-active-icon-hover-box-shadow-color:var(--_rs-color-primary-t-fog);
|
|
220
220
|
}
|
|
221
|
-
.
|
|
221
|
+
._rock_iid8n8_43{
|
|
222
222
|
--_rs-radio-button-active-icon-border-color: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));
|
|
223
223
|
--_rs-radio-button-active-icon-background-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));
|
|
224
224
|
--_rs-radio-button-active-icon-hover-box-shadow-color:rgba(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), 0.1);
|
|
225
225
|
}
|
|
226
|
-
.
|
|
226
|
+
._main_iid8n8_47{
|
|
227
227
|
--_rs-theme-dark:var(
|
|
228
228
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
229
229
|
var(--rs-theme-dark, 0)
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
234
234
|
}
|
|
235
235
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
236
|
-
.
|
|
236
|
+
._main_iid8n8_47{
|
|
237
237
|
--_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)));
|
|
238
238
|
--_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)));
|
|
239
239
|
--_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)));
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
245
|
-
.
|
|
245
|
+
._main_iid8n8_47{
|
|
246
246
|
--_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);
|
|
247
247
|
--_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));
|
|
248
248
|
--_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));
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
--_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));
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
._main_iid8n8_47 {
|
|
254
254
|
|
|
255
255
|
display:inline-block;
|
|
256
256
|
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
|
|
260
260
|
vertical-align:middle;
|
|
261
261
|
}
|
|
262
|
-
.
|
|
262
|
+
._errorMessage_iid8n8_59{
|
|
263
263
|
letter-spacing:var(
|
|
264
264
|
--rs-text-base-letter-spacing,
|
|
265
265
|
var(--_rs-typography-letter-spacing)
|
|
@@ -272,12 +272,6 @@
|
|
|
272
272
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
273
273
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
274
274
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
275
|
-
}
|
|
276
|
-
._errorMessage_17kdg7z_59 > p:not(:nth-child(1)),
|
|
277
|
-
._errorMessage_17kdg7z_59 > pre:not(:nth-child(1)){
|
|
278
|
-
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
279
|
-
}
|
|
280
|
-
._errorMessage_17kdg7z_59 {
|
|
281
275
|
|
|
282
276
|
display:-webkit-box;
|
|
283
277
|
|
|
@@ -294,14 +288,14 @@
|
|
|
294
288
|
-moz-column-gap:8px;
|
|
295
289
|
column-gap:8px;
|
|
296
290
|
}
|
|
297
|
-
.
|
|
291
|
+
._errorIcon_iid8n8_71{
|
|
298
292
|
-webkit-box-flex:0;
|
|
299
293
|
-ms-flex:0 0 auto;
|
|
300
294
|
flex:0 0 auto;
|
|
301
295
|
|
|
302
296
|
color:#F45C4A;
|
|
303
297
|
}
|
|
304
|
-
.
|
|
298
|
+
._input_iid8n8_77{
|
|
305
299
|
position:absolute;
|
|
306
300
|
-webkit-appearance:none;
|
|
307
301
|
-moz-appearance:none;
|
|
@@ -315,7 +309,7 @@
|
|
|
315
309
|
|
|
316
310
|
border:0;
|
|
317
311
|
}
|
|
318
|
-
.
|
|
312
|
+
._icon_iid8n8_90{
|
|
319
313
|
position:relative;
|
|
320
314
|
|
|
321
315
|
display:inline-block;
|
|
@@ -334,16 +328,16 @@
|
|
|
334
328
|
|
|
335
329
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*204));
|
|
336
330
|
}
|
|
337
|
-
.
|
|
331
|
+
._enabled_iid8n8_111 ._icon_iid8n8_90{
|
|
338
332
|
cursor:pointer;
|
|
339
333
|
}
|
|
340
|
-
.
|
|
341
|
-
label:hover .
|
|
334
|
+
._enabled_iid8n8_111:hover > ._icon_iid8n8_90,
|
|
335
|
+
label:hover ._enabled_iid8n8_111 > ._icon_iid8n8_90{
|
|
342
336
|
background-color: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));
|
|
343
337
|
}
|
|
344
|
-
.
|
|
345
|
-
.
|
|
346
|
-
.
|
|
338
|
+
._disabled_iid8n8_120 ._icon_iid8n8_90._icon_iid8n8_90,
|
|
339
|
+
._input_iid8n8_77:disabled + ._icon_iid8n8_90._icon_iid8n8_90,
|
|
340
|
+
._input_iid8n8_77:checked:disabled + ._icon_iid8n8_90{
|
|
347
341
|
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));
|
|
348
342
|
|
|
349
343
|
cursor:not-allowed;
|
|
@@ -351,27 +345,27 @@
|
|
|
351
345
|
|
|
352
346
|
background-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));
|
|
353
347
|
}
|
|
354
|
-
.
|
|
355
|
-
.
|
|
348
|
+
._enabled_iid8n8_111 ._input_iid8n8_77:active + ._icon_iid8n8_90,
|
|
349
|
+
._enabled_iid8n8_111 ._input_iid8n8_77:checked + ._icon_iid8n8_90{
|
|
356
350
|
border-color:var(--_rs-radio-button-active-icon-border-color);
|
|
357
351
|
|
|
358
352
|
background-color:var(--_rs-radio-button-active-icon-background-color);
|
|
359
353
|
}
|
|
360
|
-
.
|
|
361
|
-
.
|
|
362
|
-
.
|
|
354
|
+
._enabled_iid8n8_111 ._input_iid8n8_77:active + ._icon_iid8n8_90,
|
|
355
|
+
._enabled_iid8n8_111 ._input_iid8n8_77:checked + ._icon_iid8n8_90,
|
|
356
|
+
._main_iid8n8_47 ._input_iid8n8_77:checked:disabled + ._icon_iid8n8_90{
|
|
363
357
|
border-width:var(--_rs-radio-button-active-icon-border-width);
|
|
364
358
|
}
|
|
365
|
-
.
|
|
359
|
+
._error_iid8n8_59 ._icon_iid8n8_90._icon_iid8n8_90._icon_iid8n8_90{
|
|
366
360
|
border-color:#F45C4A;
|
|
367
361
|
}
|
|
368
|
-
.
|
|
369
|
-
label:hover .
|
|
370
|
-
.
|
|
362
|
+
._enabled_iid8n8_111:hover > ._icon_iid8n8_90._icon_iid8n8_90,
|
|
363
|
+
label:hover ._enabled_iid8n8_111 > ._icon_iid8n8_90._icon_iid8n8_90,
|
|
364
|
+
._enabled_iid8n8_111 ._input_iid8n8_77:active:not(:checked) + ._icon_iid8n8_90{
|
|
371
365
|
-webkit-box-shadow:0 0 0 var(--_rs-radio-button-box-shadow-size) var(--_rs-radio-button-active-icon-hover-box-shadow-color);
|
|
372
366
|
box-shadow:0 0 0 var(--_rs-radio-button-box-shadow-size) var(--_rs-radio-button-active-icon-hover-box-shadow-color);
|
|
373
367
|
}
|
|
374
|
-
.
|
|
368
|
+
._enabled_iid8n8_111 ._input_iid8n8_77:focus[data-focus-method='key'] + ._icon_iid8n8_90{
|
|
375
369
|
-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-radio-button-box-shadow-size) var(--_rs-color-primary-t-dim);
|
|
376
370
|
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-radio-button-box-shadow-size) var(--_rs-color-primary-t-dim);
|
|
377
371
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"container": "
|
|
5
|
-
"listSizeS": "
|
|
6
|
-
"listSizeM": "
|
|
7
|
-
"listSizeL": "
|
|
8
|
-
"sizeS": "
|
|
9
|
-
"sizeM": "
|
|
10
|
-
"sizeL": "
|
|
11
|
-
"classic": "
|
|
12
|
-
"rock": "
|
|
13
|
-
"main": "
|
|
14
|
-
"errorMessage": "
|
|
15
|
-
"errorIcon": "
|
|
16
|
-
"input": "
|
|
17
|
-
"icon": "
|
|
18
|
-
"enabled": "
|
|
19
|
-
"disabled": "
|
|
20
|
-
"error": "
|
|
2
|
+
"themeLight": "_themeLight_iid8n8_8",
|
|
3
|
+
"themeDark": "_themeDark_iid8n8_11",
|
|
4
|
+
"container": "_container_iid8n8_15",
|
|
5
|
+
"listSizeS": "_listSizeS_iid8n8_20",
|
|
6
|
+
"listSizeM": "_listSizeM_iid8n8_23",
|
|
7
|
+
"listSizeL": "_listSizeL_iid8n8_26",
|
|
8
|
+
"sizeS": "_sizeS_iid8n8_30",
|
|
9
|
+
"sizeM": "_sizeM_iid8n8_33",
|
|
10
|
+
"sizeL": "_sizeL_iid8n8_36",
|
|
11
|
+
"classic": "_classic_iid8n8_40",
|
|
12
|
+
"rock": "_rock_iid8n8_43",
|
|
13
|
+
"main": "_main_iid8n8_47",
|
|
14
|
+
"errorMessage": "_errorMessage_iid8n8_59",
|
|
15
|
+
"errorIcon": "_errorIcon_iid8n8_71",
|
|
16
|
+
"input": "_input_iid8n8_77",
|
|
17
|
+
"icon": "_icon_iid8n8_90",
|
|
18
|
+
"enabled": "_enabled_iid8n8_111",
|
|
19
|
+
"disabled": "_disabled_iid8n8_120",
|
|
20
|
+
"error": "_error_iid8n8_59"
|
|
21
21
|
};
|
|
22
22
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/radio-button",
|
|
3
|
-
"version": "0.8.
|
|
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.
|
|
18
|
+
"@rescui/menu": "^0.10.5",
|
|
19
19
|
"classnames": "^2.2.6",
|
|
20
20
|
"core-js": "^3.9.1"
|
|
21
21
|
},
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/colors": "^0.2.
|
|
29
|
-
"@rescui/scripts": "^0.3.
|
|
30
|
-
"@rescui/typography": "^0.
|
|
28
|
+
"@rescui/colors": "^0.2.3",
|
|
29
|
+
"@rescui/scripts": "^0.3.3",
|
|
30
|
+
"@rescui/typography": "^0.17.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
34
34
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
35
35
|
},
|
|
36
36
|
"nx": {},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "b422496bacb5df4a601008c646abfb08cebe461c"
|
|
38
38
|
}
|