@rescui/switcher 0.11.0 → 0.11.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/index.css +95 -83
- package/lib/public-api.p.css +20 -8
- package/lib/public-api.pcss +20 -8
- package/lib/switcher.p.module.css.js +18 -18
- package/lib/vertical-switcher.p.module.css.js +19 -19
- package/package.json +4 -4
package/lib/index.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.
|
|
1
|
+
._themeLight_15ur2gn_6{
|
|
2
2
|
--rs-theme-dark:0;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._themeDark_15ur2gn_9{
|
|
5
5
|
--rs-theme-dark:1;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._sizeXS_15ur2gn_13{
|
|
8
8
|
--_rs-switcher-border-radius:4px;
|
|
9
9
|
--_rs-switcher-compact-border-radius:var(--_rs-switcher-border-radius);
|
|
10
10
|
--_rs-switcher-option-padding:2px 12px;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
--_rs-switcher-compact-icon-offset:var(--_rs-switcher-icon-offset);
|
|
15
15
|
--_rs-switcher-icon-margin-vertical:2px;
|
|
16
16
|
}
|
|
17
|
-
.
|
|
17
|
+
._sizeXS_15ur2gn_13 [data-rs-internal='switcher__option']{
|
|
18
18
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
19
19
|
--_rs-typography-text-transform:initial;
|
|
20
20
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
49
49
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
._sizeS_15ur2gn_16{
|
|
52
52
|
--_rs-switcher-border-radius:16px;
|
|
53
53
|
--_rs-switcher-compact-border-radius:4px;
|
|
54
54
|
--_rs-switcher-option-padding:6px 16px;
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
--_rs-switcher-compact-icon-offset:4px;
|
|
59
59
|
--_rs-switcher-icon-margin-vertical:0px;
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
._sizeS_15ur2gn_16 [data-rs-internal='switcher__option']{
|
|
62
62
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
63
63
|
--_rs-typography-text-transform:initial;
|
|
64
64
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
93
93
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
._sizeM_15ur2gn_19{
|
|
96
96
|
--_rs-switcher-border-radius:20px;
|
|
97
97
|
--_rs-switcher-compact-border-radius:8px;
|
|
98
98
|
--_rs-switcher-option-padding:8px 24px;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
--_rs-switcher-compact-icon-offset:8px;
|
|
103
103
|
--_rs-switcher-icon-margin-vertical:0px;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
._sizeM_15ur2gn_19 [data-rs-internal='switcher__option']{
|
|
106
106
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
107
107
|
--_rs-typography-text-transform:initial;
|
|
108
108
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -131,17 +131,20 @@
|
|
|
131
131
|
--_rs-typography-text-auto-offset:16px;
|
|
132
132
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
133
133
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
134
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
134
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
135
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
136
|
+
16px
|
|
137
|
+
);
|
|
135
138
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
136
139
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
137
140
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
138
141
|
}
|
|
139
142
|
@media screen and (max-width: 640px){
|
|
140
|
-
.
|
|
141
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
143
|
+
._sizeM_15ur2gn_19 [data-rs-internal='switcher__option']{
|
|
144
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
142
145
|
}
|
|
143
146
|
}
|
|
144
|
-
.
|
|
147
|
+
._sizeL_15ur2gn_22{
|
|
145
148
|
--_rs-switcher-border-radius:26px;
|
|
146
149
|
--_rs-switcher-compact-border-radius:12px;
|
|
147
150
|
--_rs-switcher-option-padding:12px 32px;
|
|
@@ -151,7 +154,7 @@
|
|
|
151
154
|
--_rs-switcher-compact-icon-offset:12px;
|
|
152
155
|
--_rs-switcher-icon-margin-vertical:0px;
|
|
153
156
|
}
|
|
154
|
-
.
|
|
157
|
+
._sizeL_15ur2gn_22 [data-rs-internal='switcher__option']{
|
|
155
158
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
156
159
|
--_rs-typography-text-transform:initial;
|
|
157
160
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -180,28 +183,31 @@
|
|
|
180
183
|
--_rs-typography-text-auto-offset:32px;
|
|
181
184
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
182
185
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
183
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
186
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
187
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
188
|
+
24px
|
|
189
|
+
);
|
|
184
190
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
185
191
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
186
192
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
187
193
|
}
|
|
188
194
|
@media screen and (max-width: 640px){
|
|
189
|
-
.
|
|
190
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
195
|
+
._sizeL_15ur2gn_22 [data-rs-internal='switcher__option']{
|
|
196
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
191
197
|
}
|
|
192
198
|
}
|
|
193
|
-
.
|
|
199
|
+
._modeClassic_15ur2gn_26{
|
|
194
200
|
--_rs-switcher-option-hover-background:var(--_rs-color-primary-t-fog);
|
|
195
201
|
--_rs-switcher-mark-border-color:var(--_rs-color-primary);
|
|
196
202
|
}
|
|
197
|
-
.
|
|
203
|
+
._modeRock_15ur2gn_29{
|
|
198
204
|
--_rs-switcher-option-hover-background:rgba(
|
|
199
205
|
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),
|
|
200
206
|
0.1
|
|
201
207
|
);
|
|
202
208
|
--_rs-switcher-mark-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));
|
|
203
209
|
}
|
|
204
|
-
.
|
|
210
|
+
._compact_15ur2gn_33{
|
|
205
211
|
--_rs-switcher-border-radius-from-compact:var(
|
|
206
212
|
--_rs-switcher-compact-border-radius
|
|
207
213
|
);
|
|
@@ -212,7 +218,7 @@
|
|
|
212
218
|
--_rs-switcher-compact-icon-offset
|
|
213
219
|
);
|
|
214
220
|
}
|
|
215
|
-
.
|
|
221
|
+
._switcher_15ur2gn_37{
|
|
216
222
|
--_rs-theme-dark:var(
|
|
217
223
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
218
224
|
var(--rs-theme-dark, 0)
|
|
@@ -222,7 +228,7 @@
|
|
|
222
228
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
223
229
|
}
|
|
224
230
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
225
|
-
.
|
|
231
|
+
._switcher_15ur2gn_37{
|
|
226
232
|
--_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)));
|
|
227
233
|
--_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)));
|
|
228
234
|
--_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)));
|
|
@@ -231,7 +237,7 @@
|
|
|
231
237
|
}
|
|
232
238
|
}
|
|
233
239
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
234
|
-
.
|
|
240
|
+
._switcher_15ur2gn_37{
|
|
235
241
|
--_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);
|
|
236
242
|
--_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));
|
|
237
243
|
--_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));
|
|
@@ -239,7 +245,7 @@
|
|
|
239
245
|
--_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));
|
|
240
246
|
}
|
|
241
247
|
}
|
|
242
|
-
.
|
|
248
|
+
._switcher_15ur2gn_37 {
|
|
243
249
|
|
|
244
250
|
position:relative;
|
|
245
251
|
|
|
@@ -255,16 +261,16 @@
|
|
|
255
261
|
background:transparent;
|
|
256
262
|
box-shadow:inset 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.3) 0 0 0 1px;
|
|
257
263
|
}
|
|
258
|
-
.
|
|
264
|
+
._switcher_15ur2gn_37._disabled_15ur2gn_55{
|
|
259
265
|
box-shadow:inset 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.2) 0 0 0 1px;
|
|
260
266
|
}
|
|
261
|
-
.
|
|
267
|
+
._alignIconLeft_15ur2gn_60{
|
|
262
268
|
--_rs-switcher-option-flex-direction:row;
|
|
263
269
|
}
|
|
264
|
-
.
|
|
270
|
+
._alignIconRight_15ur2gn_63{
|
|
265
271
|
--_rs-switcher-option-flex-direction:row-reverse;
|
|
266
272
|
}
|
|
267
|
-
.
|
|
273
|
+
._option_15ur2gn_67{
|
|
268
274
|
letter-spacing:var(
|
|
269
275
|
--rs-text-base-letter-spacing,
|
|
270
276
|
var(--_rs-typography-letter-spacing)
|
|
@@ -315,26 +321,26 @@
|
|
|
315
321
|
-moz-appearance:none;
|
|
316
322
|
appearance:none;
|
|
317
323
|
}
|
|
318
|
-
.
|
|
324
|
+
._disabled_15ur2gn_55 ._option_15ur2gn_67{
|
|
319
325
|
cursor:not-allowed;
|
|
320
326
|
pointer-events:none;
|
|
321
327
|
}
|
|
322
|
-
.
|
|
328
|
+
._option_15ur2gn_67:focus[data-focus-method='key']{
|
|
323
329
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
324
330
|
}
|
|
325
331
|
@media (hover: hover){
|
|
326
|
-
.
|
|
332
|
+
._option_15ur2gn_67:hover{
|
|
327
333
|
background:var(--_rs-switcher-option-hover-background);
|
|
328
334
|
}
|
|
329
335
|
}
|
|
330
|
-
.
|
|
336
|
+
._option_15ur2gn_67._selected_15ur2gn_118:active{
|
|
331
337
|
background:transparent;
|
|
332
338
|
}
|
|
333
|
-
.
|
|
334
|
-
.
|
|
339
|
+
._option_15ur2gn_67._selected_15ur2gn_118:hover,
|
|
340
|
+
._option_15ur2gn_67._selected_15ur2gn_118:active{
|
|
335
341
|
cursor:default;
|
|
336
342
|
}
|
|
337
|
-
.
|
|
343
|
+
._hiddenMark_15ur2gn_127 ._option_15ur2gn_67._selected_15ur2gn_118::before{
|
|
338
344
|
position:absolute;
|
|
339
345
|
top:0;
|
|
340
346
|
right:0;
|
|
@@ -350,11 +356,11 @@
|
|
|
350
356
|
|
|
351
357
|
content:'';
|
|
352
358
|
}
|
|
353
|
-
.
|
|
359
|
+
._hiddenMark_15ur2gn_127._disabled_15ur2gn_55 ._option_15ur2gn_67._selected_15ur2gn_118::before{
|
|
354
360
|
border-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.2);
|
|
355
361
|
}
|
|
356
|
-
.
|
|
357
|
-
.
|
|
362
|
+
._disabled_15ur2gn_55 ._option_15ur2gn_67,
|
|
363
|
+
._disabled_15ur2gn_55 ._option_15ur2gn_67._selected_15ur2gn_118{
|
|
358
364
|
color:var(
|
|
359
365
|
--rs-color-pale,
|
|
360
366
|
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.5)
|
|
@@ -364,7 +370,7 @@
|
|
|
364
370
|
|
|
365
371
|
background:transparent;
|
|
366
372
|
}
|
|
367
|
-
.
|
|
373
|
+
._option_15ur2gn_67 ._icon_15ur2gn_158{
|
|
368
374
|
flex:0 0 auto;
|
|
369
375
|
|
|
370
376
|
width:auto;
|
|
@@ -375,7 +381,7 @@
|
|
|
375
381
|
margin-top:var(--_rs-switcher-icon-margin-vertical);
|
|
376
382
|
margin-bottom:var(--_rs-switcher-icon-margin-vertical);
|
|
377
383
|
}
|
|
378
|
-
.
|
|
384
|
+
._mark_15ur2gn_171{
|
|
379
385
|
position:absolute;
|
|
380
386
|
top:0;
|
|
381
387
|
bottom:0;
|
|
@@ -393,20 +399,20 @@
|
|
|
393
399
|
|
|
394
400
|
transition:all var(--_rs-switcher-mark-transition-duration);
|
|
395
401
|
}
|
|
396
|
-
.
|
|
402
|
+
._disabled_15ur2gn_55 ._mark_15ur2gn_171{
|
|
397
403
|
border-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.2);
|
|
398
404
|
}
|
|
399
|
-
.
|
|
405
|
+
._hiddenMark_15ur2gn_127 ._mark_15ur2gn_171{
|
|
400
406
|
display:none;
|
|
401
407
|
}
|
|
402
408
|
|
|
403
|
-
.
|
|
409
|
+
._themeLight_1q0s5vy_6{
|
|
404
410
|
--rs-theme-dark:0;
|
|
405
411
|
}
|
|
406
|
-
.
|
|
412
|
+
._themeDark_1q0s5vy_9{
|
|
407
413
|
--rs-theme-dark:1;
|
|
408
414
|
}
|
|
409
|
-
.
|
|
415
|
+
._sizeXS_1q0s5vy_13{
|
|
410
416
|
--_rs-switcher-vertical-border-radius:4px;
|
|
411
417
|
--_rs-switcher-vertical-option-vertical-padding:2px;
|
|
412
418
|
--_rs-switcher-vertical-option-horizontal-padding:8px;
|
|
@@ -414,7 +420,7 @@
|
|
|
414
420
|
--_rs-switcher-vertical-icon-offset:4px;
|
|
415
421
|
--_rs-switcher-vertical-icon-margin-vertical:2px;
|
|
416
422
|
}
|
|
417
|
-
.
|
|
423
|
+
._sizeXS_1q0s5vy_13 [data-rs-internal='vertical-switcher__option']{
|
|
418
424
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
419
425
|
--_rs-typography-text-transform:initial;
|
|
420
426
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -448,7 +454,7 @@
|
|
|
448
454
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
449
455
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
450
456
|
}
|
|
451
|
-
.
|
|
457
|
+
._sizeS_1q0s5vy_16{
|
|
452
458
|
--_rs-switcher-vertical-border-radius:4px;
|
|
453
459
|
--_rs-switcher-vertical-option-vertical-padding:6px;
|
|
454
460
|
--_rs-switcher-vertical-option-horizontal-padding:12px;
|
|
@@ -456,7 +462,7 @@
|
|
|
456
462
|
--_rs-switcher-vertical-icon-offset:4px;
|
|
457
463
|
--_rs-switcher-vertical-icon-margin-vertical:0px;
|
|
458
464
|
}
|
|
459
|
-
.
|
|
465
|
+
._sizeS_1q0s5vy_16 [data-rs-internal='vertical-switcher__option']{
|
|
460
466
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
461
467
|
--_rs-typography-text-transform:initial;
|
|
462
468
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -490,7 +496,7 @@
|
|
|
490
496
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
491
497
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
492
498
|
}
|
|
493
|
-
.
|
|
499
|
+
._sizeM_1q0s5vy_19{
|
|
494
500
|
--_rs-switcher-vertical-border-radius:8px;
|
|
495
501
|
--_rs-switcher-vertical-option-vertical-padding:8px;
|
|
496
502
|
--_rs-switcher-vertical-option-horizontal-padding:16px;
|
|
@@ -498,7 +504,7 @@
|
|
|
498
504
|
--_rs-switcher-vertical-icon-offset:8px;
|
|
499
505
|
--_rs-switcher-vertical-icon-margin-vertical:0px;
|
|
500
506
|
}
|
|
501
|
-
.
|
|
507
|
+
._sizeM_1q0s5vy_19 [data-rs-internal='vertical-switcher__option']{
|
|
502
508
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
503
509
|
--_rs-typography-text-transform:initial;
|
|
504
510
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -527,17 +533,20 @@
|
|
|
527
533
|
--_rs-typography-text-auto-offset:16px;
|
|
528
534
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
529
535
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
530
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
536
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
537
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
538
|
+
16px
|
|
539
|
+
);
|
|
531
540
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
532
541
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
533
542
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
534
543
|
}
|
|
535
544
|
@media screen and (max-width: 640px){
|
|
536
|
-
.
|
|
537
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
545
|
+
._sizeM_1q0s5vy_19 [data-rs-internal='vertical-switcher__option']{
|
|
546
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
538
547
|
}
|
|
539
548
|
}
|
|
540
|
-
.
|
|
549
|
+
._sizeL_1q0s5vy_22{
|
|
541
550
|
--_rs-switcher-vertical-border-radius:12px;
|
|
542
551
|
--_rs-switcher-vertical-option-vertical-padding:12px;
|
|
543
552
|
--_rs-switcher-vertical-option-horizontal-padding:24px;
|
|
@@ -545,7 +554,7 @@
|
|
|
545
554
|
--_rs-switcher-vertical-icon-offset:12px;
|
|
546
555
|
--_rs-switcher-vertical-icon-margin-vertical:0px;
|
|
547
556
|
}
|
|
548
|
-
.
|
|
557
|
+
._sizeL_1q0s5vy_22 [data-rs-internal='vertical-switcher__option']{
|
|
549
558
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
550
559
|
--_rs-typography-text-transform:initial;
|
|
551
560
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -574,23 +583,26 @@
|
|
|
574
583
|
--_rs-typography-text-auto-offset:32px;
|
|
575
584
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
576
585
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
577
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
586
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
587
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
588
|
+
24px
|
|
589
|
+
);
|
|
578
590
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
579
591
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
580
592
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
581
593
|
}
|
|
582
594
|
@media screen and (max-width: 640px){
|
|
583
|
-
.
|
|
584
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
595
|
+
._sizeL_1q0s5vy_22 [data-rs-internal='vertical-switcher__option']{
|
|
596
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
585
597
|
}
|
|
586
598
|
}
|
|
587
|
-
.
|
|
599
|
+
._modeClassic_1q0s5vy_26{
|
|
588
600
|
--_rs-switcher-vertical-option-hover-background:var(
|
|
589
601
|
--_rs-color-primary-t-fog
|
|
590
602
|
);
|
|
591
603
|
--_rs-switcher-vertical-mark-border-color:var(--_rs-color-primary);
|
|
592
604
|
}
|
|
593
|
-
.
|
|
605
|
+
._modeRock_1q0s5vy_29{
|
|
594
606
|
--_rs-switcher-vertical-option-hover-background:rgba(
|
|
595
607
|
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),
|
|
596
608
|
0.1
|
|
@@ -599,7 +611,7 @@
|
|
|
599
611
|
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)
|
|
600
612
|
);
|
|
601
613
|
}
|
|
602
|
-
.
|
|
614
|
+
._verticalSwitcher_1q0s5vy_33{
|
|
603
615
|
--_rs-theme-dark:var(
|
|
604
616
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
605
617
|
var(--rs-theme-dark, 0)
|
|
@@ -609,7 +621,7 @@
|
|
|
609
621
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
610
622
|
}
|
|
611
623
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
612
|
-
.
|
|
624
|
+
._verticalSwitcher_1q0s5vy_33{
|
|
613
625
|
--_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)));
|
|
614
626
|
--_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)));
|
|
615
627
|
--_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)));
|
|
@@ -618,7 +630,7 @@
|
|
|
618
630
|
}
|
|
619
631
|
}
|
|
620
632
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
621
|
-
.
|
|
633
|
+
._verticalSwitcher_1q0s5vy_33{
|
|
622
634
|
--_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);
|
|
623
635
|
--_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));
|
|
624
636
|
--_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));
|
|
@@ -626,7 +638,7 @@
|
|
|
626
638
|
--_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));
|
|
627
639
|
}
|
|
628
640
|
}
|
|
629
|
-
.
|
|
641
|
+
._verticalSwitcher_1q0s5vy_33 {
|
|
630
642
|
|
|
631
643
|
position:relative;
|
|
632
644
|
|
|
@@ -641,16 +653,16 @@
|
|
|
641
653
|
background:transparent;
|
|
642
654
|
box-shadow:inset 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.3) 0 0 0 1px;
|
|
643
655
|
}
|
|
644
|
-
.
|
|
656
|
+
._verticalSwitcher_1q0s5vy_33._disabled_1q0s5vy_50{
|
|
645
657
|
box-shadow:inset 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.2) 0 0 0 1px;
|
|
646
658
|
}
|
|
647
|
-
.
|
|
659
|
+
._alignIconLeft_1q0s5vy_55{
|
|
648
660
|
--_rs-switcher-vertical-option-flex-direction:row;
|
|
649
661
|
}
|
|
650
|
-
.
|
|
662
|
+
._alignIconRight_1q0s5vy_58{
|
|
651
663
|
--_rs-switcher-vertical-option-flex-direction:row-reverse;
|
|
652
664
|
}
|
|
653
|
-
.
|
|
665
|
+
._option_1q0s5vy_62{
|
|
654
666
|
letter-spacing:var(
|
|
655
667
|
--rs-text-base-letter-spacing,
|
|
656
668
|
var(--_rs-typography-letter-spacing)
|
|
@@ -694,26 +706,26 @@
|
|
|
694
706
|
-moz-appearance:none;
|
|
695
707
|
appearance:none;
|
|
696
708
|
}
|
|
697
|
-
.
|
|
709
|
+
._disabled_1q0s5vy_50 ._option_1q0s5vy_62{
|
|
698
710
|
cursor:not-allowed;
|
|
699
711
|
pointer-events:none;
|
|
700
712
|
}
|
|
701
|
-
.
|
|
713
|
+
._option_1q0s5vy_62:focus[data-focus-method='key']{
|
|
702
714
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
703
715
|
}
|
|
704
716
|
@media (hover: hover){
|
|
705
|
-
.
|
|
717
|
+
._option_1q0s5vy_62:hover{
|
|
706
718
|
background:var(--_rs-switcher-vertical-option-hover-background);
|
|
707
719
|
}
|
|
708
720
|
}
|
|
709
|
-
.
|
|
721
|
+
._option_1q0s5vy_62._selected_1q0s5vy_107:active{
|
|
710
722
|
background:transparent;
|
|
711
723
|
}
|
|
712
|
-
.
|
|
713
|
-
.
|
|
724
|
+
._option_1q0s5vy_62._selected_1q0s5vy_107:hover,
|
|
725
|
+
._option_1q0s5vy_62._selected_1q0s5vy_107:active{
|
|
714
726
|
cursor:default;
|
|
715
727
|
}
|
|
716
|
-
.
|
|
728
|
+
._hiddenMark_1q0s5vy_116 ._option_1q0s5vy_62._selected_1q0s5vy_107::before{
|
|
717
729
|
position:absolute;
|
|
718
730
|
top:0;
|
|
719
731
|
right:0;
|
|
@@ -729,11 +741,11 @@
|
|
|
729
741
|
|
|
730
742
|
content:'';
|
|
731
743
|
}
|
|
732
|
-
.
|
|
744
|
+
._hiddenMark_1q0s5vy_116._disabled_1q0s5vy_50 ._option_1q0s5vy_62._selected_1q0s5vy_107::before{
|
|
733
745
|
border-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.2);
|
|
734
746
|
}
|
|
735
|
-
.
|
|
736
|
-
.
|
|
747
|
+
._disabled_1q0s5vy_50 ._option_1q0s5vy_62,
|
|
748
|
+
._disabled_1q0s5vy_50 ._option_1q0s5vy_62._selected_1q0s5vy_107{
|
|
737
749
|
color:var(
|
|
738
750
|
--rs-color-pale,
|
|
739
751
|
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.5)
|
|
@@ -743,12 +755,12 @@
|
|
|
743
755
|
|
|
744
756
|
background:transparent;
|
|
745
757
|
}
|
|
746
|
-
.
|
|
758
|
+
._option_1q0s5vy_62 ._optionLabel_1q0s5vy_147{
|
|
747
759
|
flex:1 1 auto;
|
|
748
760
|
|
|
749
761
|
text-align:left;
|
|
750
762
|
}
|
|
751
|
-
.
|
|
763
|
+
._option_1q0s5vy_62 ._icon_1q0s5vy_153{
|
|
752
764
|
flex:0 0 auto;
|
|
753
765
|
|
|
754
766
|
width:auto;
|
|
@@ -759,12 +771,12 @@
|
|
|
759
771
|
|
|
760
772
|
fill:currentColor;
|
|
761
773
|
}
|
|
762
|
-
.
|
|
774
|
+
._option_1q0s5vy_62 ._fakeIcon_1q0s5vy_164{
|
|
763
775
|
display:inline-block;
|
|
764
776
|
|
|
765
777
|
width:var(--_rs-switcher-vertical-icon-size);
|
|
766
778
|
}
|
|
767
|
-
.
|
|
779
|
+
._mark_1q0s5vy_171{
|
|
768
780
|
position:absolute;
|
|
769
781
|
right:0;
|
|
770
782
|
left:0;
|
|
@@ -779,9 +791,9 @@
|
|
|
779
791
|
|
|
780
792
|
transition:all var(--_rs-switcher-vertical-mark-transition-duration);
|
|
781
793
|
}
|
|
782
|
-
.
|
|
794
|
+
._disabled_1q0s5vy_50 ._mark_1q0s5vy_171{
|
|
783
795
|
border-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.2);
|
|
784
796
|
}
|
|
785
|
-
.
|
|
797
|
+
._hiddenMark_1q0s5vy_116 ._mark_1q0s5vy_171{
|
|
786
798
|
display:none;
|
|
787
799
|
}
|
package/lib/public-api.p.css
CHANGED
|
@@ -130,14 +130,17 @@
|
|
|
130
130
|
--_rs-typography-text-auto-offset:16px;
|
|
131
131
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
132
132
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
133
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
133
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
134
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
135
|
+
16px
|
|
136
|
+
);
|
|
134
137
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
135
138
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
136
139
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
137
140
|
}
|
|
138
141
|
@media screen and (max-width: 640px){
|
|
139
142
|
&:not(html) [data-rs-internal='switcher__option']{
|
|
140
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
143
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
141
144
|
}
|
|
142
145
|
}
|
|
143
146
|
}
|
|
@@ -181,14 +184,17 @@
|
|
|
181
184
|
--_rs-typography-text-auto-offset:32px;
|
|
182
185
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
183
186
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
184
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
187
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
188
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
189
|
+
24px
|
|
190
|
+
);
|
|
185
191
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
186
192
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
187
193
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
188
194
|
}
|
|
189
195
|
@media screen and (max-width: 640px){
|
|
190
196
|
&:not(html) [data-rs-internal='switcher__option']{
|
|
191
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
197
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
192
198
|
}
|
|
193
199
|
}
|
|
194
200
|
}
|
|
@@ -359,14 +365,17 @@
|
|
|
359
365
|
--_rs-typography-text-auto-offset:16px;
|
|
360
366
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
361
367
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
362
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
368
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
369
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
370
|
+
16px
|
|
371
|
+
);
|
|
363
372
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
364
373
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
365
374
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
366
375
|
}
|
|
367
376
|
@media screen and (max-width: 640px){
|
|
368
377
|
&:not(html) [data-rs-internal='vertical-switcher__option']{
|
|
369
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
378
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
370
379
|
}
|
|
371
380
|
}
|
|
372
381
|
}
|
|
@@ -408,14 +417,17 @@
|
|
|
408
417
|
--_rs-typography-text-auto-offset:32px;
|
|
409
418
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
410
419
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
411
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
420
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
421
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
422
|
+
24px
|
|
423
|
+
);
|
|
412
424
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
413
425
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
414
426
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
415
427
|
}
|
|
416
428
|
@media screen and (max-width: 640px){
|
|
417
429
|
&:not(html) [data-rs-internal='vertical-switcher__option']{
|
|
418
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
430
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
419
431
|
}
|
|
420
432
|
}
|
|
421
433
|
}
|
package/lib/public-api.pcss
CHANGED
|
@@ -130,14 +130,17 @@
|
|
|
130
130
|
--_rs-typography-text-auto-offset:16px;
|
|
131
131
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
132
132
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
133
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
133
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
134
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
135
|
+
16px
|
|
136
|
+
);
|
|
134
137
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
135
138
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
136
139
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
137
140
|
}
|
|
138
141
|
@media screen and (max-width: 640px){
|
|
139
142
|
&:not(html) [data-rs-internal='switcher__option']{
|
|
140
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
143
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
141
144
|
}
|
|
142
145
|
}
|
|
143
146
|
}
|
|
@@ -181,14 +184,17 @@
|
|
|
181
184
|
--_rs-typography-text-auto-offset:32px;
|
|
182
185
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
183
186
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
184
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
187
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
188
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
189
|
+
24px
|
|
190
|
+
);
|
|
185
191
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
186
192
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
187
193
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
188
194
|
}
|
|
189
195
|
@media screen and (max-width: 640px){
|
|
190
196
|
&:not(html) [data-rs-internal='switcher__option']{
|
|
191
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
197
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
192
198
|
}
|
|
193
199
|
}
|
|
194
200
|
}
|
|
@@ -359,14 +365,17 @@
|
|
|
359
365
|
--_rs-typography-text-auto-offset:16px;
|
|
360
366
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
361
367
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
362
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
368
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
369
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
370
|
+
16px
|
|
371
|
+
);
|
|
363
372
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
364
373
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
365
374
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
366
375
|
}
|
|
367
376
|
@media screen and (max-width: 640px){
|
|
368
377
|
&:not(html) [data-rs-internal='vertical-switcher__option']{
|
|
369
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
378
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
370
379
|
}
|
|
371
380
|
}
|
|
372
381
|
}
|
|
@@ -408,14 +417,17 @@
|
|
|
408
417
|
--_rs-typography-text-auto-offset:32px;
|
|
409
418
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
410
419
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
411
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
420
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
421
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
422
|
+
24px
|
|
423
|
+
);
|
|
412
424
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
413
425
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
414
426
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
415
427
|
}
|
|
416
428
|
@media screen and (max-width: 640px){
|
|
417
429
|
&:not(html) [data-rs-internal='vertical-switcher__option']{
|
|
418
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
430
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
419
431
|
}
|
|
420
432
|
}
|
|
421
433
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"sizeXS": "
|
|
5
|
-
"sizeS": "
|
|
6
|
-
"sizeM": "
|
|
7
|
-
"sizeL": "
|
|
8
|
-
"modeClassic": "
|
|
9
|
-
"modeRock": "
|
|
10
|
-
"compact": "
|
|
11
|
-
"switcher": "
|
|
12
|
-
"disabled": "
|
|
13
|
-
"alignIconLeft": "
|
|
14
|
-
"alignIconRight": "
|
|
15
|
-
"option": "
|
|
16
|
-
"selected": "
|
|
17
|
-
"hiddenMark": "
|
|
18
|
-
"icon": "
|
|
19
|
-
"mark": "
|
|
2
|
+
"themeLight": "_themeLight_15ur2gn_6",
|
|
3
|
+
"themeDark": "_themeDark_15ur2gn_9",
|
|
4
|
+
"sizeXS": "_sizeXS_15ur2gn_13",
|
|
5
|
+
"sizeS": "_sizeS_15ur2gn_16",
|
|
6
|
+
"sizeM": "_sizeM_15ur2gn_19",
|
|
7
|
+
"sizeL": "_sizeL_15ur2gn_22",
|
|
8
|
+
"modeClassic": "_modeClassic_15ur2gn_26",
|
|
9
|
+
"modeRock": "_modeRock_15ur2gn_29",
|
|
10
|
+
"compact": "_compact_15ur2gn_33",
|
|
11
|
+
"switcher": "_switcher_15ur2gn_37",
|
|
12
|
+
"disabled": "_disabled_15ur2gn_55",
|
|
13
|
+
"alignIconLeft": "_alignIconLeft_15ur2gn_60",
|
|
14
|
+
"alignIconRight": "_alignIconRight_15ur2gn_63",
|
|
15
|
+
"option": "_option_15ur2gn_67",
|
|
16
|
+
"selected": "_selected_15ur2gn_118",
|
|
17
|
+
"hiddenMark": "_hiddenMark_15ur2gn_127",
|
|
18
|
+
"icon": "_icon_15ur2gn_158",
|
|
19
|
+
"mark": "_mark_15ur2gn_171"
|
|
20
20
|
};
|
|
21
21
|
export { styles as default };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"sizeXS": "
|
|
5
|
-
"sizeS": "
|
|
6
|
-
"sizeM": "
|
|
7
|
-
"sizeL": "
|
|
8
|
-
"modeClassic": "
|
|
9
|
-
"modeRock": "
|
|
10
|
-
"verticalSwitcher": "
|
|
11
|
-
"disabled": "
|
|
12
|
-
"alignIconLeft": "
|
|
13
|
-
"alignIconRight": "
|
|
14
|
-
"option": "
|
|
15
|
-
"selected": "
|
|
16
|
-
"hiddenMark": "
|
|
17
|
-
"optionLabel": "
|
|
18
|
-
"icon": "
|
|
19
|
-
"fakeIcon": "
|
|
20
|
-
"mark": "
|
|
2
|
+
"themeLight": "_themeLight_1q0s5vy_6",
|
|
3
|
+
"themeDark": "_themeDark_1q0s5vy_9",
|
|
4
|
+
"sizeXS": "_sizeXS_1q0s5vy_13",
|
|
5
|
+
"sizeS": "_sizeS_1q0s5vy_16",
|
|
6
|
+
"sizeM": "_sizeM_1q0s5vy_19",
|
|
7
|
+
"sizeL": "_sizeL_1q0s5vy_22",
|
|
8
|
+
"modeClassic": "_modeClassic_1q0s5vy_26",
|
|
9
|
+
"modeRock": "_modeRock_1q0s5vy_29",
|
|
10
|
+
"verticalSwitcher": "_verticalSwitcher_1q0s5vy_33",
|
|
11
|
+
"disabled": "_disabled_1q0s5vy_50",
|
|
12
|
+
"alignIconLeft": "_alignIconLeft_1q0s5vy_55",
|
|
13
|
+
"alignIconRight": "_alignIconRight_1q0s5vy_58",
|
|
14
|
+
"option": "_option_1q0s5vy_62",
|
|
15
|
+
"selected": "_selected_1q0s5vy_107",
|
|
16
|
+
"hiddenMark": "_hiddenMark_1q0s5vy_116",
|
|
17
|
+
"optionLabel": "_optionLabel_1q0s5vy_147",
|
|
18
|
+
"icon": "_icon_1q0s5vy_153",
|
|
19
|
+
"fakeIcon": "_fakeIcon_1q0s5vy_164",
|
|
20
|
+
"mark": "_mark_1q0s5vy_171"
|
|
21
21
|
};
|
|
22
22
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/switcher",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@rescui/colors": "^0.2.7",
|
|
30
|
-
"@rescui/icons": "^0.16.
|
|
30
|
+
"@rescui/icons": "^0.16.17",
|
|
31
31
|
"@rescui/scripts": "^0.3.5",
|
|
32
|
-
"@rescui/typography": "^0.
|
|
32
|
+
"@rescui/typography": "^0.23.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
36
36
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
37
37
|
},
|
|
38
38
|
"nx": {},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "f9a0228790b099e343e9017980e7635c12815bda"
|
|
40
40
|
}
|