@rescui/radio-button 0.8.7 → 0.8.9-RUI-229-Mark-packages-as-ES-modules-62bc27a1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_virtual/index.css.js +7 -7
- package/lib/index.css +53 -53
- package/lib/parts/radio-button.p.module.css.js +19 -19
- package/lib/public-api.p.css +12 -12
- package/lib/public-api.pcss +12 -12
- package/package.json +12 -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_pv5mls_4",
|
|
3
|
+
"sizeXS": "_sizeXS_pv5mls_14",
|
|
4
|
+
"sizeS": "_sizeS_pv5mls_18",
|
|
5
|
+
"sizeM": "_sizeM_pv5mls_22",
|
|
6
|
+
"sizeL": "_sizeL_pv5mls_26",
|
|
7
|
+
"light": "_light_pv5mls_30",
|
|
8
|
+
"dark": "_dark_pv5mls_34"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_pv5mls_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_pv5mls_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_pv5mls_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_pv5mls_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_pv5mls_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_pv5mls_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_pv5mls_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_pv5mls_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_pv5mls_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_pv5mls_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,13 +60,13 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._themeLight_2l3wsu_8{
|
|
64
64
|
--rs-theme-dark:0;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._themeDark_2l3wsu_11{
|
|
67
67
|
--rs-theme-dark:1;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
._container_2l3wsu_15{
|
|
70
70
|
--_rs-theme-dark:var(
|
|
71
71
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
72
72
|
var(--rs-theme-dark, 0)
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
77
77
|
}
|
|
78
78
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
79
|
-
.
|
|
79
|
+
._container_2l3wsu_15{
|
|
80
80
|
--_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)));
|
|
81
81
|
--_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)));
|
|
82
82
|
--_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)));
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
88
|
-
.
|
|
88
|
+
._container_2l3wsu_15{
|
|
89
89
|
--_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);
|
|
90
90
|
--_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));
|
|
91
91
|
--_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));
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
--_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));
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
.
|
|
97
|
-
--_rs-typography-letter-spacing:normal;
|
|
96
|
+
._listSizeS_2l3wsu_20 [data-rs-internal='radio-button-list__error-message']{
|
|
97
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
98
98
|
--_rs-typography-text-transform:initial;
|
|
99
99
|
--_rs-typography-font-variant-numeric:initial;
|
|
100
100
|
--_rs-typography-font-family:var(
|
|
@@ -124,11 +124,11 @@
|
|
|
124
124
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
125
125
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
126
126
|
}
|
|
127
|
-
.
|
|
127
|
+
._listSizeS_2l3wsu_20 [data-rs-internal='radio-button-list__error-icon']:not(html){
|
|
128
128
|
--_rs-icons-height:20px;
|
|
129
129
|
}
|
|
130
|
-
.
|
|
131
|
-
--_rs-typography-letter-spacing:normal;
|
|
130
|
+
._listSizeM_2l3wsu_23 [data-rs-internal='radio-button-list__error-message']{
|
|
131
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
132
132
|
--_rs-typography-text-transform:initial;
|
|
133
133
|
--_rs-typography-font-variant-numeric:initial;
|
|
134
134
|
--_rs-typography-font-family:var(
|
|
@@ -158,11 +158,11 @@
|
|
|
158
158
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
159
159
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
160
160
|
}
|
|
161
|
-
.
|
|
161
|
+
._listSizeM_2l3wsu_23 [data-rs-internal='radio-button-list__error-icon']:not(html){
|
|
162
162
|
--_rs-icons-height:20px;
|
|
163
163
|
}
|
|
164
|
-
.
|
|
165
|
-
--_rs-typography-letter-spacing:normal;
|
|
164
|
+
._listSizeL_2l3wsu_26 [data-rs-internal='radio-button-list__error-message']{
|
|
165
|
+
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
166
166
|
--_rs-typography-text-transform:initial;
|
|
167
167
|
--_rs-typography-font-variant-numeric:initial;
|
|
168
168
|
--_rs-typography-font-family:var(
|
|
@@ -192,35 +192,35 @@
|
|
|
192
192
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
193
193
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
194
194
|
}
|
|
195
|
-
.
|
|
195
|
+
._listSizeL_2l3wsu_26 [data-rs-internal='radio-button-list__error-icon']:not(html){
|
|
196
196
|
--_rs-icons-height:24px;
|
|
197
197
|
}
|
|
198
|
-
.
|
|
198
|
+
._sizeS_2l3wsu_30{
|
|
199
199
|
--_rs-radio-button-size:20px;
|
|
200
200
|
--_rs-radio-button-box-shadow-size:3px;
|
|
201
201
|
--_rs-radio-button-active-icon-border-width:5px;
|
|
202
202
|
}
|
|
203
|
-
.
|
|
203
|
+
._sizeM_2l3wsu_33{
|
|
204
204
|
--_rs-radio-button-size:24px;
|
|
205
205
|
--_rs-radio-button-box-shadow-size:3px;
|
|
206
206
|
--_rs-radio-button-active-icon-border-width:6px;
|
|
207
207
|
}
|
|
208
|
-
.
|
|
208
|
+
._sizeL_2l3wsu_36{
|
|
209
209
|
--_rs-radio-button-size:28px;
|
|
210
210
|
--_rs-radio-button-box-shadow-size:4px;
|
|
211
211
|
--_rs-radio-button-active-icon-border-width:6px;
|
|
212
212
|
}
|
|
213
|
-
.
|
|
213
|
+
._classic_2l3wsu_40{
|
|
214
214
|
--_rs-radio-button-active-icon-border-color:var(--_rs-color-primary);
|
|
215
215
|
--_rs-radio-button-active-icon-background-color:#FFFFFF;
|
|
216
216
|
--_rs-radio-button-active-icon-hover-box-shadow-color:var(--_rs-color-primary-t-fog);
|
|
217
217
|
}
|
|
218
|
-
.
|
|
218
|
+
._rock_2l3wsu_43{
|
|
219
219
|
--_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));
|
|
220
220
|
--_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));
|
|
221
221
|
--_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);
|
|
222
222
|
}
|
|
223
|
-
.
|
|
223
|
+
._main_2l3wsu_47{
|
|
224
224
|
--_rs-theme-dark:var(
|
|
225
225
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
226
226
|
var(--rs-theme-dark, 0)
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
231
231
|
}
|
|
232
232
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
233
|
-
.
|
|
233
|
+
._main_2l3wsu_47{
|
|
234
234
|
--_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)));
|
|
235
235
|
--_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)));
|
|
236
236
|
--_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)));
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
242
|
-
.
|
|
242
|
+
._main_2l3wsu_47{
|
|
243
243
|
--_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);
|
|
244
244
|
--_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));
|
|
245
245
|
--_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));
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
--_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));
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
.
|
|
250
|
+
._main_2l3wsu_47 {
|
|
251
251
|
|
|
252
252
|
display:inline-block;
|
|
253
253
|
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
|
|
257
257
|
vertical-align:middle;
|
|
258
258
|
}
|
|
259
|
-
.
|
|
259
|
+
._errorMessage_2l3wsu_59{
|
|
260
260
|
letter-spacing:var(
|
|
261
261
|
--rs-text-base-letter-spacing,
|
|
262
262
|
var(--_rs-typography-letter-spacing)
|
|
@@ -278,12 +278,12 @@
|
|
|
278
278
|
-moz-column-gap:8px;
|
|
279
279
|
column-gap:8px;
|
|
280
280
|
}
|
|
281
|
-
.
|
|
281
|
+
._errorIcon_2l3wsu_71{
|
|
282
282
|
flex:0 0 auto;
|
|
283
283
|
|
|
284
284
|
color:#F45C4A;
|
|
285
285
|
}
|
|
286
|
-
.
|
|
286
|
+
._input_2l3wsu_77{
|
|
287
287
|
position:absolute;
|
|
288
288
|
-webkit-appearance:none;
|
|
289
289
|
-moz-appearance:none;
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
|
|
298
298
|
border:0;
|
|
299
299
|
}
|
|
300
|
-
.
|
|
300
|
+
._icon_2l3wsu_90{
|
|
301
301
|
position:relative;
|
|
302
302
|
|
|
303
303
|
display:inline-block;
|
|
@@ -314,16 +314,16 @@
|
|
|
314
314
|
|
|
315
315
|
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));
|
|
316
316
|
}
|
|
317
|
-
.
|
|
317
|
+
._enabled_2l3wsu_111 ._icon_2l3wsu_90{
|
|
318
318
|
cursor:pointer;
|
|
319
319
|
}
|
|
320
|
-
.
|
|
321
|
-
label:hover .
|
|
320
|
+
._enabled_2l3wsu_111:hover > ._icon_2l3wsu_90,
|
|
321
|
+
label:hover ._enabled_2l3wsu_111 > ._icon_2l3wsu_90{
|
|
322
322
|
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));
|
|
323
323
|
}
|
|
324
|
-
.
|
|
325
|
-
.
|
|
326
|
-
.
|
|
324
|
+
._disabled_2l3wsu_120 ._icon_2l3wsu_90._icon_2l3wsu_90,
|
|
325
|
+
._input_2l3wsu_77:disabled + ._icon_2l3wsu_90._icon_2l3wsu_90,
|
|
326
|
+
._input_2l3wsu_77:checked:disabled + ._icon_2l3wsu_90{
|
|
327
327
|
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));
|
|
328
328
|
|
|
329
329
|
cursor:not-allowed;
|
|
@@ -331,25 +331,25 @@
|
|
|
331
331
|
|
|
332
332
|
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));
|
|
333
333
|
}
|
|
334
|
-
.
|
|
335
|
-
.
|
|
334
|
+
._enabled_2l3wsu_111 ._input_2l3wsu_77:active + ._icon_2l3wsu_90,
|
|
335
|
+
._enabled_2l3wsu_111 ._input_2l3wsu_77:checked + ._icon_2l3wsu_90{
|
|
336
336
|
border-color:var(--_rs-radio-button-active-icon-border-color);
|
|
337
337
|
|
|
338
338
|
background-color:var(--_rs-radio-button-active-icon-background-color);
|
|
339
339
|
}
|
|
340
|
-
.
|
|
341
|
-
.
|
|
342
|
-
.
|
|
340
|
+
._enabled_2l3wsu_111 ._input_2l3wsu_77:active + ._icon_2l3wsu_90,
|
|
341
|
+
._enabled_2l3wsu_111 ._input_2l3wsu_77:checked + ._icon_2l3wsu_90,
|
|
342
|
+
._main_2l3wsu_47 ._input_2l3wsu_77:checked:disabled + ._icon_2l3wsu_90{
|
|
343
343
|
border-width:var(--_rs-radio-button-active-icon-border-width);
|
|
344
344
|
}
|
|
345
|
-
.
|
|
345
|
+
._error_2l3wsu_59 ._icon_2l3wsu_90._icon_2l3wsu_90._icon_2l3wsu_90{
|
|
346
346
|
border-color:#F45C4A;
|
|
347
347
|
}
|
|
348
|
-
.
|
|
349
|
-
label:hover .
|
|
350
|
-
.
|
|
348
|
+
._enabled_2l3wsu_111:hover > ._icon_2l3wsu_90._icon_2l3wsu_90,
|
|
349
|
+
label:hover ._enabled_2l3wsu_111 > ._icon_2l3wsu_90._icon_2l3wsu_90,
|
|
350
|
+
._enabled_2l3wsu_111 ._input_2l3wsu_77:active:not(:checked) + ._icon_2l3wsu_90{
|
|
351
351
|
box-shadow:0 0 0 var(--_rs-radio-button-box-shadow-size) var(--_rs-radio-button-active-icon-hover-box-shadow-color);
|
|
352
352
|
}
|
|
353
|
-
.
|
|
353
|
+
._enabled_2l3wsu_111 ._input_2l3wsu_77:focus[data-focus-method='key'] + ._icon_2l3wsu_90{
|
|
354
354
|
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);
|
|
355
355
|
}
|
|
@@ -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_2l3wsu_8",
|
|
3
|
+
"themeDark": "_themeDark_2l3wsu_11",
|
|
4
|
+
"container": "_container_2l3wsu_15",
|
|
5
|
+
"listSizeS": "_listSizeS_2l3wsu_20",
|
|
6
|
+
"listSizeM": "_listSizeM_2l3wsu_23",
|
|
7
|
+
"listSizeL": "_listSizeL_2l3wsu_26",
|
|
8
|
+
"sizeS": "_sizeS_2l3wsu_30",
|
|
9
|
+
"sizeM": "_sizeM_2l3wsu_33",
|
|
10
|
+
"sizeL": "_sizeL_2l3wsu_36",
|
|
11
|
+
"classic": "_classic_2l3wsu_40",
|
|
12
|
+
"rock": "_rock_2l3wsu_43",
|
|
13
|
+
"main": "_main_2l3wsu_47",
|
|
14
|
+
"errorMessage": "_errorMessage_2l3wsu_59",
|
|
15
|
+
"errorIcon": "_errorIcon_2l3wsu_71",
|
|
16
|
+
"input": "_input_2l3wsu_77",
|
|
17
|
+
"icon": "_icon_2l3wsu_90",
|
|
18
|
+
"enabled": "_enabled_2l3wsu_111",
|
|
19
|
+
"disabled": "_disabled_2l3wsu_120",
|
|
20
|
+
"error": "_error_2l3wsu_59"
|
|
21
21
|
};
|
|
22
22
|
export { styles as default };
|
package/lib/public-api.p.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@define-mixin rs-radio-button-list-size-s{
|
|
2
2
|
&[class] [data-rs-internal='radio-button-list__error-message']{
|
|
3
|
-
--_rs-typography-letter-spacing:normal;
|
|
3
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
4
4
|
--_rs-typography-text-transform:initial;
|
|
5
5
|
--_rs-typography-font-variant-numeric:initial;
|
|
6
6
|
--_rs-typography-font-family:var(
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
--_rs-menu-mi-icon-offset:8px;
|
|
38
38
|
--_rs-menu-mi-vertical-padding:6px;
|
|
39
39
|
--_rs-menu-mi-horizontal-padding:8px;
|
|
40
|
-
--_rs-typography-letter-spacing:0.0045em;
|
|
40
|
+
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
41
41
|
--_rs-typography-text-transform:initial;
|
|
42
42
|
--_rs-typography-font-variant-numeric:initial;
|
|
43
43
|
--_rs-typography-font-family:var(
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
& [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__group-header"]{
|
|
74
74
|
--_rs-menu-gh-vertical-padding:6px;
|
|
75
75
|
--_rs-menu-gh-horizontal-padding:8px;
|
|
76
|
-
--_rs-typography-letter-spacing:normal;
|
|
76
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
77
77
|
--_rs-typography-text-transform:initial;
|
|
78
78
|
--_rs-typography-font-variant-numeric:initial;
|
|
79
79
|
--_rs-typography-font-family:var(
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
}
|
|
112
112
|
@define-mixin rs-radio-button-list-size-m{
|
|
113
113
|
&[class] [data-rs-internal='radio-button-list__error-message']{
|
|
114
|
-
--_rs-typography-letter-spacing:normal;
|
|
114
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
115
115
|
--_rs-typography-text-transform:initial;
|
|
116
116
|
--_rs-typography-font-variant-numeric:initial;
|
|
117
117
|
--_rs-typography-font-family:var(
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
--_rs-menu-mi-icon-offset:8px;
|
|
149
149
|
--_rs-menu-mi-vertical-padding:8px;
|
|
150
150
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
151
|
-
--_rs-typography-letter-spacing:0.0015em;
|
|
151
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
152
152
|
--_rs-typography-text-transform:initial;
|
|
153
153
|
--_rs-typography-font-variant-numeric:initial;
|
|
154
154
|
--_rs-typography-font-family:var(
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
& [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__group-header"]{
|
|
190
190
|
--_rs-menu-gh-vertical-padding:8px;
|
|
191
191
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
192
|
-
--_rs-typography-letter-spacing:normal;
|
|
192
|
+
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
193
193
|
--_rs-typography-text-transform:initial;
|
|
194
194
|
--_rs-typography-font-variant-numeric:initial;
|
|
195
195
|
--_rs-typography-font-family:var(
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
}
|
|
228
228
|
@define-mixin rs-radio-button-list-size-l{
|
|
229
229
|
&[class] [data-rs-internal='radio-button-list__error-message']{
|
|
230
|
-
--_rs-typography-letter-spacing:normal;
|
|
230
|
+
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
231
231
|
--_rs-typography-text-transform:initial;
|
|
232
232
|
--_rs-typography-font-variant-numeric:initial;
|
|
233
233
|
--_rs-typography-font-family:var(
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
--_rs-menu-mi-icon-offset:16px;
|
|
265
265
|
--_rs-menu-mi-vertical-padding:12px;
|
|
266
266
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
267
|
-
--_rs-typography-letter-spacing:normal;
|
|
267
|
+
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
268
268
|
--_rs-typography-text-transform:initial;
|
|
269
269
|
--_rs-typography-font-variant-numeric:initial;
|
|
270
270
|
--_rs-typography-font-family:var(
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
& [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__group-header"]{
|
|
306
306
|
--_rs-menu-gh-vertical-padding:12px;
|
|
307
307
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
308
|
-
--_rs-typography-letter-spacing:normal;
|
|
308
|
+
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
309
309
|
--_rs-typography-text-transform:initial;
|
|
310
310
|
--_rs-typography-font-variant-numeric:initial;
|
|
311
311
|
--_rs-typography-font-family:var(
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
--_rs-menu-mi-icon-offset:8px;
|
|
361
361
|
--_rs-menu-mi-vertical-padding:6px;
|
|
362
362
|
--_rs-menu-mi-horizontal-padding:8px;
|
|
363
|
-
--_rs-typography-letter-spacing:0.0045em;
|
|
363
|
+
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
364
364
|
--_rs-typography-text-transform:initial;
|
|
365
365
|
--_rs-typography-font-variant-numeric:initial;
|
|
366
366
|
--_rs-typography-font-family:var(
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
--_rs-menu-mi-icon-offset:8px;
|
|
405
405
|
--_rs-menu-mi-vertical-padding:8px;
|
|
406
406
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
407
|
-
--_rs-typography-letter-spacing:0.0015em;
|
|
407
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
408
408
|
--_rs-typography-text-transform:initial;
|
|
409
409
|
--_rs-typography-font-variant-numeric:initial;
|
|
410
410
|
--_rs-typography-font-family:var(
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
--_rs-menu-mi-icon-offset:16px;
|
|
454
454
|
--_rs-menu-mi-vertical-padding:12px;
|
|
455
455
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
456
|
-
--_rs-typography-letter-spacing:normal;
|
|
456
|
+
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
457
457
|
--_rs-typography-text-transform:initial;
|
|
458
458
|
--_rs-typography-font-variant-numeric:initial;
|
|
459
459
|
--_rs-typography-font-family:var(
|
package/lib/public-api.pcss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@define-mixin rs-radio-button-list-size-s{
|
|
2
2
|
&[class] [data-rs-internal='radio-button-list__error-message']{
|
|
3
|
-
--_rs-typography-letter-spacing:normal;
|
|
3
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
4
4
|
--_rs-typography-text-transform:initial;
|
|
5
5
|
--_rs-typography-font-variant-numeric:initial;
|
|
6
6
|
--_rs-typography-font-family:var(
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
--_rs-menu-mi-icon-offset:8px;
|
|
38
38
|
--_rs-menu-mi-vertical-padding:6px;
|
|
39
39
|
--_rs-menu-mi-horizontal-padding:8px;
|
|
40
|
-
--_rs-typography-letter-spacing:0.0045em;
|
|
40
|
+
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
41
41
|
--_rs-typography-text-transform:initial;
|
|
42
42
|
--_rs-typography-font-variant-numeric:initial;
|
|
43
43
|
--_rs-typography-font-family:var(
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
& [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__group-header"]{
|
|
74
74
|
--_rs-menu-gh-vertical-padding:6px;
|
|
75
75
|
--_rs-menu-gh-horizontal-padding:8px;
|
|
76
|
-
--_rs-typography-letter-spacing:normal;
|
|
76
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
77
77
|
--_rs-typography-text-transform:initial;
|
|
78
78
|
--_rs-typography-font-variant-numeric:initial;
|
|
79
79
|
--_rs-typography-font-family:var(
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
}
|
|
112
112
|
@define-mixin rs-radio-button-list-size-m{
|
|
113
113
|
&[class] [data-rs-internal='radio-button-list__error-message']{
|
|
114
|
-
--_rs-typography-letter-spacing:normal;
|
|
114
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
115
115
|
--_rs-typography-text-transform:initial;
|
|
116
116
|
--_rs-typography-font-variant-numeric:initial;
|
|
117
117
|
--_rs-typography-font-family:var(
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
--_rs-menu-mi-icon-offset:8px;
|
|
149
149
|
--_rs-menu-mi-vertical-padding:8px;
|
|
150
150
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
151
|
-
--_rs-typography-letter-spacing:0.0015em;
|
|
151
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
152
152
|
--_rs-typography-text-transform:initial;
|
|
153
153
|
--_rs-typography-font-variant-numeric:initial;
|
|
154
154
|
--_rs-typography-font-family:var(
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
& [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__group-header"]{
|
|
190
190
|
--_rs-menu-gh-vertical-padding:8px;
|
|
191
191
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
192
|
-
--_rs-typography-letter-spacing:normal;
|
|
192
|
+
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
193
193
|
--_rs-typography-text-transform:initial;
|
|
194
194
|
--_rs-typography-font-variant-numeric:initial;
|
|
195
195
|
--_rs-typography-font-family:var(
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
}
|
|
228
228
|
@define-mixin rs-radio-button-list-size-l{
|
|
229
229
|
&[class] [data-rs-internal='radio-button-list__error-message']{
|
|
230
|
-
--_rs-typography-letter-spacing:normal;
|
|
230
|
+
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
231
231
|
--_rs-typography-text-transform:initial;
|
|
232
232
|
--_rs-typography-font-variant-numeric:initial;
|
|
233
233
|
--_rs-typography-font-family:var(
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
--_rs-menu-mi-icon-offset:16px;
|
|
265
265
|
--_rs-menu-mi-vertical-padding:12px;
|
|
266
266
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
267
|
-
--_rs-typography-letter-spacing:normal;
|
|
267
|
+
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
268
268
|
--_rs-typography-text-transform:initial;
|
|
269
269
|
--_rs-typography-font-variant-numeric:initial;
|
|
270
270
|
--_rs-typography-font-family:var(
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
& [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__group-header"]{
|
|
306
306
|
--_rs-menu-gh-vertical-padding:12px;
|
|
307
307
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
308
|
-
--_rs-typography-letter-spacing:normal;
|
|
308
|
+
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
309
309
|
--_rs-typography-text-transform:initial;
|
|
310
310
|
--_rs-typography-font-variant-numeric:initial;
|
|
311
311
|
--_rs-typography-font-family:var(
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
--_rs-menu-mi-icon-offset:8px;
|
|
361
361
|
--_rs-menu-mi-vertical-padding:6px;
|
|
362
362
|
--_rs-menu-mi-horizontal-padding:8px;
|
|
363
|
-
--_rs-typography-letter-spacing:0.0045em;
|
|
363
|
+
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
364
364
|
--_rs-typography-text-transform:initial;
|
|
365
365
|
--_rs-typography-font-variant-numeric:initial;
|
|
366
366
|
--_rs-typography-font-family:var(
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
--_rs-menu-mi-icon-offset:8px;
|
|
405
405
|
--_rs-menu-mi-vertical-padding:8px;
|
|
406
406
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
407
|
-
--_rs-typography-letter-spacing:0.0015em;
|
|
407
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
408
408
|
--_rs-typography-text-transform:initial;
|
|
409
409
|
--_rs-typography-font-variant-numeric:initial;
|
|
410
410
|
--_rs-typography-font-family:var(
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
--_rs-menu-mi-icon-offset:16px;
|
|
454
454
|
--_rs-menu-mi-vertical-padding:12px;
|
|
455
455
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
456
|
-
--_rs-typography-letter-spacing:normal;
|
|
456
|
+
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
457
457
|
--_rs-typography-text-transform:initial;
|
|
458
458
|
--_rs-typography-font-variant-numeric:initial;
|
|
459
459
|
--_rs-typography-font-family:var(
|
package/package.json
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/radio-button",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.9-RUI-229-Mark-packages-as-ES-modules-62bc27a1.2+62bc27a1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./lib/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./*": "./*"
|
|
13
|
+
},
|
|
8
14
|
"src:main": "src/index.ts",
|
|
9
15
|
"files": [
|
|
10
16
|
"lib",
|
|
@@ -15,7 +21,7 @@
|
|
|
15
21
|
},
|
|
16
22
|
"dependencies": {
|
|
17
23
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
18
|
-
"@rescui/menu": "
|
|
24
|
+
"@rescui/menu": "0.10.13-RUI-229-Mark-packages-as-ES-modules-62bc27a1.2+62bc27a1",
|
|
19
25
|
"classnames": "^2.2.6"
|
|
20
26
|
},
|
|
21
27
|
"peerDependencies": {
|
|
@@ -24,14 +30,14 @@
|
|
|
24
30
|
"react": ">=16.8.0 <19"
|
|
25
31
|
},
|
|
26
32
|
"devDependencies": {
|
|
27
|
-
"@rescui/colors": "
|
|
28
|
-
"@rescui/scripts": "
|
|
29
|
-
"@rescui/typography": "
|
|
33
|
+
"@rescui/colors": "0.2.7-RUI-229-Mark-packages-as-ES-modules-62bc27a1.26+62bc27a1",
|
|
34
|
+
"@rescui/scripts": "0.3.5",
|
|
35
|
+
"@rescui/typography": "0.21.1-RUI-229-Mark-packages-as-ES-modules-62bc27a1.2+62bc27a1"
|
|
30
36
|
},
|
|
31
37
|
"scripts": {
|
|
32
38
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
33
39
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
34
40
|
},
|
|
35
41
|
"nx": {},
|
|
36
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "62bc27a12c78adf2a930b830aeaec251ecfe93fa"
|
|
37
43
|
}
|