@rescui/radio-button 0.6.4 → 0.7.0

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.
@@ -0,0 +1,437 @@
1
+ @define-mixin rs-radio-button-list-size-s{
2
+ & [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__menu-item"]{
3
+ --_rs-menu-mi-icon-offset:8px;
4
+ --_rs-menu-mi-vertical-padding:6px;
5
+ --_rs-menu-mi-horizontal-padding:8px;
6
+ --_rs-typography-letter-spacing:0.0045em;
7
+ --_rs-typography-text-transform:initial;
8
+ --_rs-typography-font-variant-numeric:initial;
9
+ --_rs-typography-font-family:var(
10
+ --rs-font-family-ui,
11
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
12
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
13
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
14
+ );
15
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
16
+ --_rs-typography-font-weight:var(
17
+ --rs-font-weight-regular,
18
+ 400
19
+ );
20
+ --_rs-typography-line-height:var(
21
+ --rs-text-3-line-height,
22
+ 20px
23
+ );
24
+ --_rs-typography-base-color:var(
25
+ --_rs-typography-hardness-color,
26
+ var(
27
+ --rs-color-average,
28
+ 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.7)
29
+ )
30
+ );
31
+ --_rs-typography-text-auto-offset:8px;
32
+ --_rs-typography-ul-list-li-padding-left:28px;
33
+ --_rs-typography-ol-list-li-padding-left:21px;
34
+ --_rs-typography-list-li-margin-top-from-text:8px;
35
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
36
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
37
+ --_rs-typography-link-border-bottom-width-from-text:1px;
38
+ }
39
+ & [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__group-header"]{
40
+ --_rs-menu-gh-vertical-padding:6px;
41
+ --_rs-menu-gh-horizontal-padding:8px;
42
+ --_rs-typography-letter-spacing:normal;
43
+ --_rs-typography-text-transform:initial;
44
+ --_rs-typography-font-variant-numeric:initial;
45
+ --_rs-typography-font-family:var(
46
+ --rs-font-family-ui,
47
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
48
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
49
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
50
+ );
51
+ --_rs-typography-font-size:var(--rs-h5-font-size, 13px);
52
+ --_rs-typography-font-weight:var(
53
+ --rs-font-weight-semi-bold,
54
+ 600
55
+ );
56
+ --_rs-typography-line-height:var(--rs-h5-line-height, 20px);
57
+ --_rs-typography-base-color:var(
58
+ --rs-color-hard,
59
+ 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))
60
+ );
61
+ --_rs-typography-text-auto-offset:0;
62
+ --_rs-typography-ul-list-li-padding-left:initial;
63
+ --_rs-typography-ol-list-li-padding-left:initial;
64
+ --_rs-typography-list-li-margin-top-from-text:initial;
65
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
66
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
67
+ --_rs-typography-link-border-bottom-width-from-text:2px;
68
+ }
69
+ & [data-rs-internal="radio-button__control"]{
70
+ --_rs-radio-button-size:20px;
71
+ --_rs-radio-button-box-shadow-size:3px;
72
+ --_rs-radio-button-active-icon-border-width:5px;
73
+ }
74
+ }
75
+ @define-mixin rs-radio-button-list-size-m{
76
+ & [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__menu-item"]{
77
+ --_rs-menu-mi-icon-offset:8px;
78
+ --_rs-menu-mi-vertical-padding:8px;
79
+ --_rs-menu-mi-horizontal-padding:16px;
80
+ --_rs-typography-letter-spacing:0.0015em;
81
+ --_rs-typography-text-transform:initial;
82
+ --_rs-typography-font-variant-numeric:initial;
83
+ --_rs-typography-font-family:var(
84
+ --rs-font-family-ui,
85
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
86
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
87
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
88
+ );
89
+ --_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
90
+ --_rs-typography-font-weight:var(
91
+ --rs-font-weight-regular,
92
+ 400
93
+ );
94
+ --_rs-typography-line-height:var(
95
+ --rs-text-2-line-height,
96
+ 24px
97
+ );
98
+ --_rs-typography-base-color:var(
99
+ --_rs-typography-hardness-color,
100
+ var(
101
+ --rs-color-average,
102
+ 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.7)
103
+ )
104
+ );
105
+ --_rs-typography-text-auto-offset:16px;
106
+ --_rs-typography-ul-list-li-padding-left:22px;
107
+ --_rs-typography-ol-list-li-padding-left:26px;
108
+ --_rs-typography-list-li-margin-top-from-text:16px;
109
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
110
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
111
+ --_rs-typography-link-border-bottom-width-from-text:1px;
112
+ }
113
+ @media screen and (max-width: 640px){
114
+ & [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__menu-item"]{
115
+ --_rs-typography-list-li-margin-top-from-text:12px;
116
+ }
117
+ }
118
+ & [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__group-header"]{
119
+ --_rs-menu-gh-vertical-padding:8px;
120
+ --_rs-menu-gh-horizontal-padding:16px;
121
+ --_rs-typography-letter-spacing:normal;
122
+ --_rs-typography-text-transform:initial;
123
+ --_rs-typography-font-variant-numeric:initial;
124
+ --_rs-typography-font-family:var(
125
+ --rs-font-family-ui,
126
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
127
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
128
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
129
+ );
130
+ --_rs-typography-font-size:var(--rs-h4-font-size, 16px);
131
+ --_rs-typography-font-weight:var(
132
+ --rs-font-weight-semi-bold,
133
+ 600
134
+ );
135
+ --_rs-typography-line-height:var(--rs-h4-line-height, 24px);
136
+ --_rs-typography-base-color:var(
137
+ --rs-color-hard,
138
+ 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))
139
+ );
140
+ --_rs-typography-text-auto-offset:0;
141
+ --_rs-typography-ul-list-li-padding-left:initial;
142
+ --_rs-typography-ol-list-li-padding-left:initial;
143
+ --_rs-typography-list-li-margin-top-from-text:initial;
144
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
145
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
146
+ --_rs-typography-link-border-bottom-width-from-text:2px;
147
+ }
148
+ & [data-rs-internal="radio-button__control"]{
149
+ --_rs-radio-button-size:24px;
150
+ --_rs-radio-button-box-shadow-size:3px;
151
+ --_rs-radio-button-active-icon-border-width:6px;
152
+ }
153
+ }
154
+ @define-mixin rs-radio-button-list-size-l{
155
+ & [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__menu-item"]{
156
+ --_rs-menu-mi-icon-offset:16px;
157
+ --_rs-menu-mi-vertical-padding:12px;
158
+ --_rs-menu-mi-horizontal-padding:16px;
159
+ --_rs-typography-letter-spacing:normal;
160
+ --_rs-typography-text-transform:initial;
161
+ --_rs-typography-font-variant-numeric:initial;
162
+ --_rs-typography-font-family:var(
163
+ --rs-font-family-ui,
164
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
165
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
166
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
167
+ );
168
+ --_rs-typography-font-size:var(--rs-text-1-font-size, 20px);
169
+ --_rs-typography-font-weight:var(
170
+ --rs-font-weight-regular,
171
+ 400
172
+ );
173
+ --_rs-typography-line-height:var(
174
+ --rs-text-1-line-height,
175
+ 28px
176
+ );
177
+ --_rs-typography-base-color:var(
178
+ --_rs-typography-hardness-color,
179
+ var(
180
+ --rs-color-average,
181
+ 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.7)
182
+ )
183
+ );
184
+ --_rs-typography-text-auto-offset:32px;
185
+ --_rs-typography-ul-list-li-padding-left:26px;
186
+ --_rs-typography-ol-list-li-padding-left:32px;
187
+ --_rs-typography-list-li-margin-top-from-text:24px;
188
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
189
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
190
+ --_rs-typography-link-border-bottom-width-from-text:1px;
191
+ }
192
+ @media screen and (max-width: 640px){
193
+ & [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__menu-item"]{
194
+ --_rs-typography-list-li-margin-top-from-text:16px;
195
+ }
196
+ }
197
+ & [data-rs-internal="radio-button-list__menu"] [data-rs-internal="menu__group-header"]{
198
+ --_rs-menu-gh-vertical-padding:12px;
199
+ --_rs-menu-gh-horizontal-padding:16px;
200
+ --_rs-typography-letter-spacing:normal;
201
+ --_rs-typography-text-transform:initial;
202
+ --_rs-typography-font-variant-numeric:initial;
203
+ --_rs-typography-font-family:var(
204
+ --rs-font-family-ui,
205
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
206
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
207
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
208
+ );
209
+ --_rs-typography-font-size:var(--rs-h3-font-size, 20px);
210
+ --_rs-typography-font-weight:var(
211
+ --rs-font-weight-semi-bold,
212
+ 600
213
+ );
214
+ --_rs-typography-line-height:var(--rs-h3-line-height, 28px);
215
+ --_rs-typography-base-color:var(
216
+ --rs-color-hard,
217
+ 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))
218
+ );
219
+ --_rs-typography-text-auto-offset:0;
220
+ --_rs-typography-ul-list-li-padding-left:initial;
221
+ --_rs-typography-ol-list-li-padding-left:initial;
222
+ --_rs-typography-list-li-margin-top-from-text:initial;
223
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
224
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
225
+ --_rs-typography-link-border-bottom-width-from-text:2px;
226
+ }
227
+ & [data-rs-internal="radio-button__control"]{
228
+ --_rs-radio-button-size:28px;
229
+ --_rs-radio-button-box-shadow-size:4px;
230
+ --_rs-radio-button-active-icon-border-width:6px;
231
+ }
232
+ }
233
+ @define-mixin rs-radio-button-list-mode-classic{
234
+ & [data-rs-internal="radio-button__control"]{
235
+ --_rs-radio-button-active-icon-border-color:var(--_rs-color-primary);
236
+ --_rs-radio-button-active-icon-background-color:#FFFFFF;
237
+ --_rs-radio-button-active-icon-hover-box-shadow-color:var(--_rs-color-primary-t-fog);
238
+ }
239
+ }
240
+ @define-mixin rs-radio-button-list-mode-rock{
241
+ & [data-rs-internal="radio-button__control"]{
242
+ --_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));
243
+ --_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));
244
+ --_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);
245
+ }
246
+ }
247
+ @define-mixin rs-radio-button-size-s{
248
+ &[class][class]{
249
+ --_rs-menu-mi-icon-offset:8px;
250
+ --_rs-menu-mi-vertical-padding:6px;
251
+ --_rs-menu-mi-horizontal-padding:8px;
252
+ --_rs-typography-letter-spacing:0.0045em;
253
+ --_rs-typography-text-transform:initial;
254
+ --_rs-typography-font-variant-numeric:initial;
255
+ --_rs-typography-font-family:var(
256
+ --rs-font-family-ui,
257
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
258
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
259
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
260
+ );
261
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
262
+ --_rs-typography-font-weight:var(
263
+ --rs-font-weight-regular,
264
+ 400
265
+ );
266
+ --_rs-typography-line-height:var(
267
+ --rs-text-3-line-height,
268
+ 20px
269
+ );
270
+ --_rs-typography-base-color:var(
271
+ --_rs-typography-hardness-color,
272
+ var(
273
+ --rs-color-average,
274
+ 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.7)
275
+ )
276
+ );
277
+ --_rs-typography-text-auto-offset:8px;
278
+ --_rs-typography-ul-list-li-padding-left:28px;
279
+ --_rs-typography-ol-list-li-padding-left:21px;
280
+ --_rs-typography-list-li-margin-top-from-text:8px;
281
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
282
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
283
+ --_rs-typography-link-border-bottom-width-from-text:1px;
284
+ }
285
+ & [data-rs-internal="radio-button__control"]{
286
+ --_rs-radio-button-size:20px;
287
+ --_rs-radio-button-box-shadow-size:3px;
288
+ --_rs-radio-button-active-icon-border-width:5px;
289
+ }
290
+ }
291
+ @define-mixin rs-radio-button-size-m{
292
+ &[class][class]{
293
+ --_rs-menu-mi-icon-offset:8px;
294
+ --_rs-menu-mi-vertical-padding:8px;
295
+ --_rs-menu-mi-horizontal-padding:16px;
296
+ --_rs-typography-letter-spacing:0.0015em;
297
+ --_rs-typography-text-transform:initial;
298
+ --_rs-typography-font-variant-numeric:initial;
299
+ --_rs-typography-font-family:var(
300
+ --rs-font-family-ui,
301
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
302
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
303
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
304
+ );
305
+ --_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
306
+ --_rs-typography-font-weight:var(
307
+ --rs-font-weight-regular,
308
+ 400
309
+ );
310
+ --_rs-typography-line-height:var(
311
+ --rs-text-2-line-height,
312
+ 24px
313
+ );
314
+ --_rs-typography-base-color:var(
315
+ --_rs-typography-hardness-color,
316
+ var(
317
+ --rs-color-average,
318
+ 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.7)
319
+ )
320
+ );
321
+ --_rs-typography-text-auto-offset:16px;
322
+ --_rs-typography-ul-list-li-padding-left:22px;
323
+ --_rs-typography-ol-list-li-padding-left:26px;
324
+ --_rs-typography-list-li-margin-top-from-text:16px;
325
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
326
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
327
+ --_rs-typography-link-border-bottom-width-from-text:1px;
328
+ }
329
+ @media screen and (max-width: 640px){
330
+ &[class][class]{
331
+ --_rs-typography-list-li-margin-top-from-text:12px;
332
+ }
333
+ }
334
+ & [data-rs-internal="radio-button__control"]{
335
+ --_rs-radio-button-size:24px;
336
+ --_rs-radio-button-box-shadow-size:3px;
337
+ --_rs-radio-button-active-icon-border-width:6px;
338
+ }
339
+ }
340
+ @define-mixin rs-radio-button-size-l{
341
+ &[class][class]{
342
+ --_rs-menu-mi-icon-offset:16px;
343
+ --_rs-menu-mi-vertical-padding:12px;
344
+ --_rs-menu-mi-horizontal-padding:16px;
345
+ --_rs-typography-letter-spacing:normal;
346
+ --_rs-typography-text-transform:initial;
347
+ --_rs-typography-font-variant-numeric:initial;
348
+ --_rs-typography-font-family:var(
349
+ --rs-font-family-ui,
350
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
351
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
352
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
353
+ );
354
+ --_rs-typography-font-size:var(--rs-text-1-font-size, 20px);
355
+ --_rs-typography-font-weight:var(
356
+ --rs-font-weight-regular,
357
+ 400
358
+ );
359
+ --_rs-typography-line-height:var(
360
+ --rs-text-1-line-height,
361
+ 28px
362
+ );
363
+ --_rs-typography-base-color:var(
364
+ --_rs-typography-hardness-color,
365
+ var(
366
+ --rs-color-average,
367
+ 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.7)
368
+ )
369
+ );
370
+ --_rs-typography-text-auto-offset:32px;
371
+ --_rs-typography-ul-list-li-padding-left:26px;
372
+ --_rs-typography-ol-list-li-padding-left:32px;
373
+ --_rs-typography-list-li-margin-top-from-text:24px;
374
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
375
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
376
+ --_rs-typography-link-border-bottom-width-from-text:1px;
377
+ }
378
+ @media screen and (max-width: 640px){
379
+ &[class][class]{
380
+ --_rs-typography-list-li-margin-top-from-text:16px;
381
+ }
382
+ }
383
+ & [data-rs-internal="radio-button__control"]{
384
+ --_rs-radio-button-size:28px;
385
+ --_rs-radio-button-box-shadow-size:4px;
386
+ --_rs-radio-button-active-icon-border-width:6px;
387
+ }
388
+ }
389
+ @define-mixin rs-radio-button-mode-classic{
390
+ & [data-rs-internal="radio-button__control"]{
391
+ --_rs-radio-button-active-icon-border-color:var(--_rs-color-primary);
392
+ --_rs-radio-button-active-icon-background-color:#FFFFFF;
393
+ --_rs-radio-button-active-icon-hover-box-shadow-color:var(--_rs-color-primary-t-fog);
394
+ }
395
+ }
396
+ @define-mixin rs-radio-button-mode-rock{
397
+ & [data-rs-internal="radio-button__control"]{
398
+ --_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));
399
+ --_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));
400
+ --_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);
401
+ }
402
+ }
403
+ @define-mixin rs-radio-button-control-size-s{
404
+ &[class]{
405
+ --_rs-radio-button-size:20px;
406
+ --_rs-radio-button-box-shadow-size:3px;
407
+ --_rs-radio-button-active-icon-border-width:5px;
408
+ }
409
+ }
410
+ @define-mixin rs-radio-button-control-size-m{
411
+ &[class]{
412
+ --_rs-radio-button-size:24px;
413
+ --_rs-radio-button-box-shadow-size:3px;
414
+ --_rs-radio-button-active-icon-border-width:6px;
415
+ }
416
+ }
417
+ @define-mixin rs-radio-button-control-size-l{
418
+ &[class]{
419
+ --_rs-radio-button-size:28px;
420
+ --_rs-radio-button-box-shadow-size:4px;
421
+ --_rs-radio-button-active-icon-border-width:6px;
422
+ }
423
+ }
424
+ @define-mixin rs-radio-button-control-mode-classic{
425
+ &[class]{
426
+ --_rs-radio-button-active-icon-border-color:var(--_rs-color-primary);
427
+ --_rs-radio-button-active-icon-background-color:#FFFFFF;
428
+ --_rs-radio-button-active-icon-hover-box-shadow-color:var(--_rs-color-primary-t-fog);
429
+ }
430
+ }
431
+ @define-mixin rs-radio-button-control-mode-rock{
432
+ &[class]{
433
+ --_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));
434
+ --_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));
435
+ --_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);
436
+ }
437
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/radio-button",
3
- "version": "0.6.4",
3
+ "version": "0.7.0",
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.9.8",
18
+ "@rescui/menu": "^0.10.0",
19
19
  "classnames": "^2.2.6",
20
20
  "core-js": "^3.9.1"
21
21
  },
@@ -25,12 +25,13 @@
25
25
  "react": ">=16.8.0 <19"
26
26
  },
27
27
  "devDependencies": {
28
- "@rescui/colors": "^0.1.11",
29
- "@rescui/scripts": "^0.2.3",
30
- "@rescui/typography": "^0.15.0"
28
+ "@rescui/colors": "^0.2.0",
29
+ "@rescui/scripts": "^0.3.0",
30
+ "@rescui/typography": "^0.16.0"
31
31
  },
32
32
  "scripts": {
33
- "build": "rescui-scripts build"
33
+ "build": "rescui-scripts build && yarn run build-pcss-api",
34
+ "build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
34
35
  },
35
- "gitHead": "e21b6f80037993b094ceaff022db6d4cd176a88d"
36
+ "gitHead": "51da8a7188f4c558c563065a4ff4ef5c8e74994c"
36
37
  }