@rolster/react-components 18.21.23 → 18.21.25

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.
Files changed (28) hide show
  1. package/dist/cjs/assets/{index-R-vkwGLv.css → index-yC2kyFNJ.css} +209 -126
  2. package/dist/es/assets/{index-R-vkwGLv.css → index-yC2kyFNJ.css} +209 -126
  3. package/dist/esm/components/atoms/Amount/Amount.css +5 -4
  4. package/dist/esm/components/atoms/Avatar/Avatar.css +5 -5
  5. package/dist/esm/components/atoms/Badge/Badge.css +1 -1
  6. package/dist/esm/components/atoms/Breadcrumb/Breadcrumb.css +3 -2
  7. package/dist/esm/components/atoms/Button/Button.css +11 -11
  8. package/dist/esm/components/atoms/ButtonAction/ButtonAction.css +13 -7
  9. package/dist/esm/components/atoms/CheckBox/CheckBox.css +15 -8
  10. package/dist/esm/components/atoms/Icon/Icon.css +6 -5
  11. package/dist/esm/components/atoms/Input/Input.css +20 -12
  12. package/dist/esm/components/atoms/InputSearch/InputSearch.css +1 -1
  13. package/dist/esm/components/atoms/Label/Label.css +6 -3
  14. package/dist/esm/components/atoms/Poster/Poster.css +10 -6
  15. package/dist/esm/components/atoms/ProgressCircular/ProgressCircular.css +6 -2
  16. package/dist/esm/components/atoms/RadioButton/RadioButton.css +14 -7
  17. package/dist/esm/components/atoms/Skeleton/Skeleton.css +7 -4
  18. package/dist/esm/components/atoms/SkeletonText/SkeletonText.css +9 -5
  19. package/dist/esm/components/atoms/Switch/Switch.css +17 -12
  20. package/dist/esm/components/atoms/TabularText/TabularText.css +4 -4
  21. package/dist/esm/components/molecules/Ballot/Ballot.css +50 -21
  22. package/dist/esm/components/molecules/PickerDay/PickerDay.css +1 -1
  23. package/dist/esm/components/molecules/PickerMonth/PickerMonth.css +1 -1
  24. package/dist/esm/components/molecules/PickerYear/PickerYear.css +1 -1
  25. package/dist/esm/components/molecules/Toolbar/Toolbar.css +1 -1
  26. package/dist/esm/components/organisms/Card/Card.css +1 -1
  27. package/dist/esm/components/organisms/Snackbar/Snackbar.css +1 -1
  28. package/package.json +4 -4
@@ -1,29 +1,30 @@
1
1
  .rls-tabular-text {
2
2
  display: flex;
3
3
  width: auto;
4
- justify-content: var(--rlc-tabulartext-text-align);
4
+ justify-content: var(--rlc-tabulartext-text-align, flex-start);
5
5
  }
6
6
  .rls-tabular-text span {
7
- font-size: var(--rlc-tabulartext-font-size);
7
+ font-size: var(--rlc-tabulartext-font-size, var(--rls-body-font-size));
8
8
  }
9
9
  .rls-tabular-text__char {
10
10
  display: block;
11
11
  text-align: center;
12
- width: var(--rlc-tabulartext-char-width);
12
+ width: var(--rlc-tabulartext-char-width, 5.5rem);
13
13
  }
14
14
  .rls-tabular-text__pointer {
15
15
  display: block;
16
16
  text-align: center;
17
- width: var(--rlc-tabulartext-pointer-width);
17
+ width: var(--rlc-tabulartext-pointer-width, 2rem);
18
18
  }
19
19
 
20
20
  .rls-amount {
21
- --rlc-tabulartext-font-size: var(--rlc-amount-font-size);
21
+ --pvt-font-size: var(--rlc-amount-font-size, inherit);
22
+ --rlc-tabulartext-font-size: var(--pvt-font-size);
22
23
  display: flex;
23
- width: var(--rlc-amount-width);
24
- justify-content: var(--rlc-amount-text-align);
24
+ width: var(--rlc-amount-width, auto);
25
+ justify-content: var(--rlc-amount-text-align, start);
25
26
  column-gap: var(--rls-sizing-x2);
26
- font-size: var(--rlc-amount-font-size);
27
+ font-size: var(--pvt-font-size);
27
28
  }
28
29
  .rls-amount[rls-theme] {
29
30
  color: var(--rls-theme-color-500);
@@ -34,12 +35,12 @@
34
35
  display: flex;
35
36
  justify-content: center;
36
37
  overflow: hidden;
37
- font-size: var(--rlc-avatar-font-size);
38
- width: var(--rlc-avatar-width);
39
- height: var(--rlc-avatar-height);
38
+ font-size: var(--rlc-avatar-font-size, var(--rls-title-font-size));
39
+ width: var(--rlc-avatar-width, var(--rls-sizing-x24));
40
+ height: var(--rlc-avatar-height, var(--rls-sizing-x24));
40
41
  background: var(--rls-theme-gradient-500);
41
- color: var(--rls-theme-font-500);
42
- border-radius: var(--rlc-avatar-border-radius);
42
+ color: var(--rls-theme-color-050);
43
+ border-radius: var(--rlc-avatar-radius, var(--rls-sizing-x4));
43
44
  }
44
45
  .rls-avatar--skeleton {
45
46
  background: var(--rls-theme-color-200);
@@ -59,7 +60,7 @@
59
60
  position: relative;
60
61
  display: inline-block;
61
62
  width: auto;
62
- padding: var(--rlc-badge-padding);
63
+ padding: var(--rlc-badge-padding, var(--rls-sizing-x2));
63
64
  box-sizing: border-box;
64
65
  font-size: var(--rls-caption-font-size);
65
66
  letter-spacing: var(--rls-caption-letter-spacing);
@@ -75,11 +76,12 @@
75
76
  }
76
77
 
77
78
  .rls-breadcrumb {
79
+ --pvt-height: var(--rlc-breadcrumb-height, var(--rls-sizing-x18));
78
80
  --pvt-link-font-color: var(--rls-app-color-600);
79
81
  display: -webkit-box;
80
82
  width: 100%;
81
- height: var(--rlc-breadcrumb-height);
82
- line-height: var(--rlc-breadcrumb-height);
83
+ height: var(--pvt-height);
84
+ line-height: var(--pvt-height);
83
85
  padding: 0rem var(--rls-sizing-x8);
84
86
  box-sizing: border-box;
85
87
  user-select: none;
@@ -134,12 +136,13 @@
134
136
  }
135
137
 
136
138
  .rls-icon {
139
+ --pvt-icon-dimension: var(--rlc-icon-dimension, var(--rls-sizing-x12));
137
140
  --pvt-icon-display: block;
138
141
  position: relative;
139
- font-size: var(--rlc-icon-dimesion);
140
- width: var(--rlc-icon-dimesion);
141
- height: var(--rlc-icon-dimesion);
142
- line-height: var(--rlc-icon-dimesion);
142
+ font-size: var(--pvt-icon-dimesion);
143
+ width: var(--pvt-icon-dimesion);
144
+ height: var(--pvt-icon-dimesion);
145
+ line-height: var(--pvt-icon-dimesion);
143
146
  }
144
147
  .rls-icon--skeleton {
145
148
  --pvt-icon-display: none;
@@ -148,7 +151,7 @@
148
151
  }
149
152
  .rls-icon > i {
150
153
  display: var(--pvt-icon-display);
151
- color: var(--rlc-icon-color);
154
+ color: var(--rlc-icon-color, inherit);
152
155
  width: 100%;
153
156
  height: 100%;
154
157
  line-height: inherit;
@@ -166,22 +169,22 @@
166
169
  --pvt-classic-font-color: var(--rls-app-color-500);
167
170
  --pvt-classic-border: none;
168
171
  --pvt-raised-background: var(--rls-theme-color-500);
169
- --pvt-raised-font-color: var(--rls-theme-font-500);
172
+ --pvt-raised-font-color: var(--rls-theme-color-050);
170
173
  --pvt-raised-border: none;
171
174
  --pvt-flat-background: var(--rls-theme-color-200);
172
175
  --pvt-flat-font-color: var(--rls-theme-color-700);
173
176
  --pvt-flat-border: none;
174
177
  --pvt-stroked-background: transparent;
175
178
  --pvt-stroked-font-color: var(--rls-theme-color-500);
176
- --pvt-stroked-border: var(--rls-theme-border-1-500);
179
+ --pvt-stroked-border: var(--rls-theme-border-2-500);
177
180
  --pvt-outline-background: transparent;
178
181
  --pvt-outline-font-color: var(--rls-app-color-600);
179
- --pvt-outline-border: var(--rls-app-border-1-300);
182
+ --pvt-outline-border: var(--rls-app-border-2-300);
180
183
  --pvt-ghost-background: none;
181
184
  --pvt-ghost-font-color: var(--rls-theme-color-500);
182
185
  --pvt-ghost-border: none;
183
186
  --pvt-gradient-background: var(--rls-theme-gradient-500);
184
- --pvt-gradient-font-color: var(--rls-theme-font-500);
187
+ --pvt-gradient-font-color: var(--rls-theme-color-050);
185
188
  --pvt-gradient-border: none;
186
189
  position: relative;
187
190
  padding: 0rem;
@@ -208,10 +211,10 @@
208
211
  --pvt-flat-border: none;
209
212
  --pvt-stroked-background: var(--rls-theme-color-100);
210
213
  --pvt-stroked-font-color: var(--rls-theme-color-700);
211
- --pvt-stroked-border: var(--rls-theme-border-1-700);
214
+ --pvt-stroked-border: var(--rls-theme-border-2-700);
212
215
  --pvt-outline-background: transparent;
213
216
  --pvt-outline-font-color: var(--rls-theme-color-500);
214
- --pvt-outline-border: var(--rls-theme-border-1-500);
217
+ --pvt-outline-border: var(--rls-theme-border-2-500);
215
218
  --pvt-ghost-background: var(--rls-theme-color-200);
216
219
  --pvt-ghost-font-color: var(--rls-theme-font-100);
217
220
  --pvt-ghost-border: none;
@@ -231,10 +234,10 @@
231
234
  --pvt-flat-border: none;
232
235
  --pvt-stroked-background: transparent;
233
236
  --pvt-stroked-font-color: var(--rls-theme-color-300);
234
- --pvt-stroked-border: var(--rls-theme-border-1-300);
237
+ --pvt-stroked-border: var(--rls-theme-border-2-300);
235
238
  --pvt-outline-background: transparent;
236
239
  --pvt-outline-font-color: var(--rls-app-color-400);
237
- --pvt-outline-border: var(--rls-app-border-1-100);
240
+ --pvt-outline-border: var(--rls-app-border-2-100);
238
241
  --pvt-ghost-background: transparent;
239
242
  --pvt-ghost-font-color: var(--rls-theme-color-300);
240
243
  --pvt-ghost-border: none;
@@ -250,9 +253,9 @@
250
253
  overflow: hidden;
251
254
  line-height: var(--rls-sizing-x20);
252
255
  height: var(--rls-sizing-x20);
253
- padding: var(--rlc-button-content-padding);
256
+ padding: var(--rlc-button-content-padding, 0rem var(--rls-sizing-x4));
254
257
  box-sizing: border-box;
255
- border-radius: var(--rlc-button-content-radius);
258
+ border-radius: var(--rlc-button-content-radius, var(--rls-sizing-x2));
256
259
  color: var(--pvt-button-content-font-color);
257
260
  border: var(--pvt-button-content-border);
258
261
  background: var(--pvt-button-content-background);
@@ -321,7 +324,7 @@
321
324
  font-size: var(--rls-button-font-size);
322
325
  font-weight: var(--rls-font-weight-bold);
323
326
  letter-spacing: var(--rls-button-letter-spacing);
324
- text-transform: var(--rlc-button-label-text-transform);
327
+ text-transform: var(--rlc-button-label-text-transform, uppercase);
325
328
  text-overflow: ellipsis;
326
329
  overflow: hidden;
327
330
  white-space: nowrap;
@@ -345,6 +348,12 @@
345
348
  }
346
349
 
347
350
  .rls-button-action {
351
+ --pvt-ripple-dimension: var(
352
+ --rlc-action-ripple-dimension,
353
+ var(--rls-sizing-x18)
354
+ );
355
+ --pvt-ripple-position: var(--rlc-action-ripple-position, -9rem);
356
+ --pvt-ripple-color: var(--rlc-action-ripple-color, var(--rls-app-color-600));
348
357
  --pvt-tooltip-transition-delay: 0ms;
349
358
  --pvt-tooltip-opacity: 0;
350
359
  position: relative;
@@ -357,7 +366,7 @@
357
366
  user-select: none;
358
367
  cursor: default;
359
368
  background: transparent;
360
- color: var(--rlc-action-color);
369
+ color: var(--rlc-action-color, var(--rls-app-color-600));
361
370
  }
362
371
  .rls-button-action::before {
363
372
  position: absolute;
@@ -369,7 +378,7 @@
369
378
  visibility: hidden;
370
379
  border-radius: 50%;
371
380
  transform: scale(0);
372
- background: var(--rlc-action-ripple-color);
381
+ background: var(--pvt-ripple-color);
373
382
  padding-top: calc(120% - var(--rls-sizing-x4));
374
383
  padding-left: calc(120% - var(--rls-sizing-x4));
375
384
  margin-top: calc(-60% + var(--rls-sizing-x2));
@@ -387,12 +396,12 @@
387
396
  top: 50%;
388
397
  left: 50%;
389
398
  opacity: 0.24;
390
- width: var(--rlc-action-ripple-dimension);
391
- height: var(--rlc-action-ripple-dimension);
392
- margin-top: var(--rlc-action-ripple-position);
393
- margin-left: var(--rlc-action-ripple-position);
399
+ width: var(--pvt-ripple-dimension);
400
+ height: var(--pvt-ripple-dimension);
401
+ margin-top: var(--pvt-ripple-position);
402
+ margin-left: var(--pvt-ripple-position);
394
403
  border-radius: 50%;
395
- background: var(--rlc-action-ripple-color);
404
+ background: var(--pvt-ripple-color);
396
405
  transform: scale(0);
397
406
  transition: transform 160ms 0ms var(--rls-sharp-curve);
398
407
  }
@@ -439,23 +448,30 @@
439
448
  }
440
449
 
441
450
  .rls-checkbox {
451
+ --pvt-dimension: var(--rlc-checkbox-dimension, var(--rls-sizing-x12));
452
+ --pvt-component-dimension: var(
453
+ --rlc-checkbox-children-dimension,
454
+ var(--rls-sizing-x6)
455
+ );
456
+ --pvt-component-border-color: var(--rls-app-color-500);
442
457
  --pvt-component-transform: scale(0);
443
458
  position: relative;
444
459
  display: flex;
445
- width: var(--rlc-checkbox-dimension);
446
- height: var(--rlc-checkbox-dimension);
460
+ width: var(--pvt-dimension);
461
+ height: var(--pvt-dimension);
447
462
  justify-content: center;
448
463
  align-items: center;
449
464
  box-sizing: border-box;
450
465
  outline: none;
451
- border-radius: var(--rls-sizing-x2);
452
- background: var(--rls-app-color-050);
453
- box-shadow: 0 0 2rem 0 rgba(37, 38, 65, 0.38);
466
+ border-radius: var(--rls-sizing-x3);
467
+ background: var(--rls-theme-color-050);
468
+ border: var(--rls-sizing-x1) solid var(--pvt-component-border-color);
454
469
  }
455
470
  .rls-checkbox:hover {
456
471
  cursor: pointer;
457
472
  }
458
473
  .rls-checkbox--checked {
474
+ --pvt-component-border-color: var(--rls-theme-color-500);
459
475
  --pvt-component-transform: scale(1);
460
476
  }
461
477
  .rls-checkbox--disabled {
@@ -463,24 +479,32 @@
463
479
  pointer-events: none;
464
480
  }
465
481
  .rls-checkbox__component {
466
- width: var(--rlc-checkbox-children-dimension);
467
- height: var(--rlc-checkbox-children-dimension);
482
+ width: var(--pvt-component-dimension);
483
+ height: var(--pvt-component-dimension);
468
484
  border-radius: var(--rls-sizing-x1);
469
- background: var(--rls-theme-gradient-500);
485
+ background: var(--rls-theme-color-500);
470
486
  transform: var(--pvt-component-transform);
471
487
  transform-origin: 50% 50%;
472
488
  transition: all 160ms 0ms var(--rls-standard-curve);
473
489
  }
474
490
 
475
491
  .rls-input {
476
- --pvt-value-font-color: var(--rlc-input-font-color);
492
+ --pvt-font-color: var(--rlc-input-font-color, var(--rls-app-color-900));
493
+ --pvt-font-size: var(--rlc-input-font-size, var(--rls-input-font-size));
494
+ --pvt-letter-spacing: var(
495
+ --rlc-input-letter-spacing,
496
+ var(--rls-input-letter-spacing)
497
+ );
498
+ --pvt-height: var(--rlc-input-height, var(--rls-sizing-x12));
499
+ --pvt-text-align: var(--rlc-input-text-align, left);
500
+ --pvt-value-font-color: var(--pvt-font-color);
477
501
  --pvt-value-opacity: 1;
478
502
  --pvt-component-font-color: transparent;
479
503
  position: relative;
480
504
  width: 100%;
481
505
  }
482
506
  .rls-input--focused {
483
- --pvt-component-font-color: var(--rlc-input-font-color);
507
+ --pvt-component-font-color: var(--pvt-font-color);
484
508
  --pvt-value-font-color: transparent;
485
509
  }
486
510
  .rls-input--disabled {
@@ -489,8 +513,8 @@
489
513
  .rls-input__component {
490
514
  position: relative;
491
515
  width: 100%;
492
- height: var(--rlc-input-height);
493
- line-height: var(--rlc-input-height);
516
+ height: var(--pvt-height);
517
+ line-height: var(--pvt-height);
494
518
  padding: 0rem;
495
519
  cursor: text;
496
520
  border: none;
@@ -498,9 +522,9 @@
498
522
  background: transparent;
499
523
  color: var(--pvt-component-font-color);
500
524
  font-weight: var(--rls-font-weight-medium);
501
- font-size: var(--rlc-input-font-size);
502
- text-align: var(--rlc-input-text-align);
503
- letter-spacing: var(--rlc-input-letter-spacing);
525
+ font-size: var(--pvt-font-size);
526
+ text-align: var(--pvt-text-align);
527
+ letter-spacing: var(--pvt-letter-spacing);
504
528
  }
505
529
  .rls-input__component::-webkit-outer-spin-button,
506
530
  .rls-input__component::-webkit-inner-spin-button {
@@ -522,8 +546,8 @@
522
546
  top: 0rem;
523
547
  left: 0rem;
524
548
  width: 100%;
525
- height: var(--rlc-input-height);
526
- line-height: var(--rlc-input-height);
549
+ height: var(--pvt-height);
550
+ line-height: var(--pvt-height);
527
551
  background: transparent;
528
552
  pointer-events: none;
529
553
  overflow: hidden;
@@ -531,9 +555,9 @@
531
555
  opacity: var(--pvt-value-opacity);
532
556
  color: var(--pvt-value-font-color);
533
557
  font-weight: var(--rls-font-weight-medium);
534
- font-size: var(--rlc-input-font-size);
535
- text-align: var(--rlc-input-text-align);
536
- letter-spacing: var(--rlc-input-letter-spacing);
558
+ font-size: var(--pvt-font-size);
559
+ text-align: var(--pvt-text-align);
560
+ letter-spacing: var(--pvt-letter-spacing);
537
561
  }
538
562
 
539
563
  .rls-input-money {
@@ -594,7 +618,7 @@
594
618
  align-items: center;
595
619
  padding: var(--rls-sizing-x4) var(--rls-sizing-x6);
596
620
  box-sizing: border-box;
597
- background: var(--rls-app-color-100);
621
+ background: var(rlc-input-search-background, var(--rls-app-color-100));
598
622
  border-radius: var(--rls-sizing-x4);
599
623
  }
600
624
 
@@ -605,9 +629,12 @@
605
629
  }
606
630
 
607
631
  .rls-label {
608
- font-size: var(--rlc-label-font-size);
609
- letter-spacing: var(--rlc-label-letter-spacing);
610
- line-height: var(--rlc-label-height);
632
+ font-size: var(--rlc-label-font-size, var(--rls-smalltext-font-size));
633
+ letter-spacing: var(
634
+ --rlc-label-letter-spacing,
635
+ var(--rls-smalltext-letter-spacing)
636
+ );
637
+ line-height: var(--rlc-label-height, var(--rls-smalltext-line-height));
611
638
  font-weight: inherit;
612
639
  }
613
640
  .rls-label[rls-theme] {
@@ -629,18 +656,22 @@
629
656
 
630
657
  .rls-poster {
631
658
  --pvt-background: var(--rls-theme-color-100);
659
+ --pvt-height: var(--rlc-poster-height, var(--rls-body-line-height));
632
660
  --pvt-border-content: none;
633
661
  --pvt-border-color: var(--rls-app-color-400);
634
662
  position: relative;
635
663
  display: block;
636
664
  width: auto;
637
665
  font-weight: inherit;
638
- font-size: var(--rlc-poster-font-size);
639
- letter-spacing: var(--rlc-poster-letter-spacing);
640
- height: var(--rlc-poster-height);
641
- line-height: var(--rlc-poster-height);
642
- padding: var(--rlc-poster-padding);
643
- text-align: var(--rlc-poster-text-align);
666
+ font-size: var(--rlc-poster-font-size, var(--rls-body-font-size));
667
+ letter-spacing: var(
668
+ --rlc-poster-letter-spacing,
669
+ var(--rls-body-letter-spacing)
670
+ );
671
+ height: var(--pvt-height);
672
+ line-height: var(--pvt-height);
673
+ padding: var(--rlc-poster-padding, var(--rls-sizing-x4));
674
+ text-align: var(--rlc-poster-text-align, center);
644
675
  border-radius: var(--rls-sizing-x2);
645
676
  color: var(--rls-app-color-600);
646
677
  background: var(--rls-app-color-200);
@@ -728,9 +759,13 @@
728
759
  }
729
760
 
730
761
  .rls-progress-circular {
762
+ --pvt-dimension: var(
763
+ --rlc-progress-circular-dimension,
764
+ var(--rls-sizing-x28)
765
+ );
731
766
  position: relative;
732
- width: var(--rlc-progress-circular-dimension);
733
- height: var(--rlc-progress-circular-dimension);
767
+ width: var(--pvt-dimension);
768
+ height: var(--pvt-dimension);
734
769
  padding: var(--rls-sizing-x2);
735
770
  box-sizing: border-box;
736
771
  stroke: var(--rls-theme-color-500);
@@ -773,23 +808,30 @@
773
808
  }
774
809
 
775
810
  .rls-radiobutton {
811
+ --pvt-dimension: var(--rlc-radiobutton-dimension, var(--rls-sizing-x12));
812
+ --pvt-component-dimension: var(
813
+ --rlc-radiobutton-children-dimension,
814
+ var(--rls-sizing-x6)
815
+ );
816
+ --pvt-component-border-color: var(--rls-app-color-500);
776
817
  --pvt-component-transform: scale(0);
777
818
  position: relative;
778
819
  display: flex;
779
- width: var(--rlc-radiobutton-dimension);
780
- height: var(--rlc-radiobutton-dimension);
820
+ width: var(--pvt-dimension);
821
+ height: var(--pvt-dimension);
781
822
  justify-content: center;
782
823
  align-items: center;
783
824
  outline: none;
784
825
  border-radius: 50%;
785
826
  box-sizing: border-box;
786
- background: var(--rls-app-color-050);
787
- box-shadow: 0 0 2rem 0 rgba(37, 38, 65, 0.38);
827
+ background: var(--rls-theme-color-050);
828
+ border: var(--rls-sizing-x1) solid var(--pvt-component-border-color);
788
829
  }
789
830
  .rls-radiobutton:hover {
790
831
  cursor: pointer;
791
832
  }
792
833
  .rls-radiobutton--checked {
834
+ --pvt-component-border-color: var(--rls-theme-color-500);
793
835
  --pvt-component-transform: scale(1);
794
836
  }
795
837
  .rls-radiobutton--disabled {
@@ -797,22 +839,25 @@
797
839
  pointer-events: none;
798
840
  }
799
841
  .rls-radiobutton__component {
800
- width: var(--rlc-radiobutton-children-dimension);
801
- height: varr(--rlc-radiobutton-children-dimension);
842
+ width: var(--pvt-component-dimension);
843
+ height: var(--pvt-component-dimension);
802
844
  border-radius: 50%;
803
- background: var(--rls-theme-gradient-500);
845
+ background: var(--rls-theme-color-500);
804
846
  transform: var(--pvt-component-transform);
805
847
  transform-origin: 50% 50%;
806
848
  transition: all 160ms 0ms var(--rls-standard-curve);
807
849
  }
808
850
 
809
851
  .rls-skeleton {
852
+ --pvt-height: var(--rlc-skeleton-height, inherit);
853
+ --pvt-max-height: var(--rlc-skeleton-max-height, inherit);
854
+ --pvt-min-height: var(--rlc-skeleton-min-height, inherit);
810
855
  position: relative;
811
856
  width: 100%;
812
- max-height: inherit;
813
- min-height: inherit;
814
- height: inherit;
815
- line-height: inherit;
857
+ max-height: var(--pvt-max-height);
858
+ min-height: var(--pvt-min-height);
859
+ height: var(--pvt-height);
860
+ line-height: var(--pvt-height);
816
861
  letter-spacing: inherit;
817
862
  overflow: hidden;
818
863
  background: var(--rls-theme-color-100);
@@ -843,18 +888,22 @@
843
888
  }
844
889
 
845
890
  .rls-skeleton-text {
846
- --rlc-skeleton-height: var(--rlc-skeleton-text-height);
891
+ --pvt-height: var(--rlc-skeleton-text-height, var(--rls-body-line-height));
892
+ --rlc-skeleton-height: var(--pvt-height);
847
893
  position: relative;
848
894
  display: block;
849
895
  overflow: inherit;
850
896
  font-weight: inherit;
851
- font-size: var(--rlc-skeleton-text-font-size);
852
- letter-spacing: var(--rlc-skeleton-text-letter-spacing);
853
- line-height: var(--rlc-skeleton-text-height);
897
+ font-size: var(--rlc-skeleton-text-font-size, var(--rls-body-font-size));
898
+ letter-spacing: var(
899
+ --rlc-skeleton-text-letter-spacing,
900
+ var(--rls-body-letter-spacing)
901
+ );
902
+ line-height: var(--pvt-height);
854
903
  }
855
904
  .rls-skeleton-text__value {
856
905
  display: flex;
857
- column-gap: var(--rlc-skeleton-text-column-gap);
906
+ column-gap: var(--rlc-skeleton-text-column-gap, var(--rls-sizing-x4));
858
907
  align-items: center;
859
908
  font-weight: inherit;
860
909
  font-size: inherit;
@@ -869,19 +918,24 @@
869
918
  }
870
919
 
871
920
  .rls-switch {
921
+ --pvt-element-size: var(--rlc-switch-element-size, var(--rls-sizing-x10));
872
922
  --pvt-element-left: var(--rls-sizing-x1);
923
+ --pvt-element-border-color: var(--rls-app-color-400);
873
924
  --pvt-element-background: var(--rls-app-color-050);
874
- --pvt-bar-background: var(--rls-app-color-200);
875
- max-width: var(--rlc-switch-max-width);
925
+ --pvt-element-item-background: transparent;
926
+ --pvt-bar-background: var(--rls-app-color-300);
927
+ max-width: var(--rlc-switch-max-width, var(--rls-sizing-x18));
876
928
  }
877
929
  .rls-switch:hover {
878
930
  cursor: pointer;
879
931
  }
880
932
  .rls-switch--checked {
881
- --pvt-element-background: var(--rls-theme-gradient-500);
882
933
  --pvt-element-left: calc(
883
- 100% - var(--rlc-switch-element-size) - var(--rls-sizing-x1)
934
+ 100% - var(--pvt-element-size) - var(--rls-sizing-x1)
884
935
  );
936
+ --pvt-element-border-color: var(--rls-theme-color-500);
937
+ --pvt-element-background: var(--rls-theme-color-050);
938
+ --pvt-element-item-background: var(--rls-theme-color-500);
885
939
  --pvt-bar-background: var(--rls-theme-color-300);
886
940
  }
887
941
  .rls-switch--disabled {
@@ -898,15 +952,15 @@
898
952
  position: absolute;
899
953
  top: 0rem;
900
954
  left: var(--pvt-element-left);
901
- width: var(--rlc-switch-element-size);
902
- height: var(--rlc-switch-element-size);
955
+ width: var(--pvt-element-size);
956
+ height: var(--pvt-element-size);
903
957
  z-index: var(--rls-z-index-2);
904
958
  padding: var(--rls-sizing-x2);
905
959
  box-sizing: border-box;
906
960
  border-radius: 50%;
907
- background: var(--rls-app-color-050);
908
- box-shadow: 0 0 2rem 0 rgba(37, 38, 65, 0.38);
909
- /*transition: left 240ms var(--rls-standard-curve);*/
961
+ background: var(--pvt-element-background);
962
+ border: var(--rls-sizing-x1) solid var(--pvt-element-border-color);
963
+ transition: left 240ms var(--rls-standard-curve);
910
964
  }
911
965
  .rls-switch__component__element::before {
912
966
  display: block;
@@ -914,13 +968,13 @@
914
968
  width: 100%;
915
969
  height: 100%;
916
970
  border-radius: 50%;
917
- background: var(--pvt-element-background);
971
+ background: var(--pvt-element-item-background);
918
972
  }
919
973
  .rls-switch__component__bar {
920
974
  background: var(--pvt-bar-background);
921
975
  width: 100%;
922
- height: var(--rlc-switch-bar-height);
923
- border-radius: var(--rlc-switch-bar-radius);
976
+ height: var(--rlc-switch-bar-height, var(--rls-sizing-x4));
977
+ border-radius: var(--rlc-switch-bar-radius, var(--rls-sizing-x2));
924
978
  }
925
979
 
926
980
  .rls-alert {
@@ -956,12 +1010,32 @@
956
1010
  .rls-ballot {
957
1011
  --rlc-avatar-width: var(--rls-sizing-x20);
958
1012
  --rlc-avatar-height: var(--rls-sizing-x20);
1013
+ --pvt-title-letter-spacing: var(
1014
+ --rlc-ballot-title-letter-spacing,
1015
+ var(--rls-label-letter-spacing)
1016
+ );
1017
+ --pvt-title-font-size: var(
1018
+ --rlc-ballot-title-font-size,
1019
+ var(--rls-label-font-size)
1020
+ );
1021
+ --pvt-title-height: var(
1022
+ --rlc-ballot-title-height,
1023
+ var(--rls-label-line-height)
1024
+ );
1025
+ --pvt-subtitle-letter-spacing: var(
1026
+ --rlc-ballot-subtitle-letter-spacing,
1027
+ var(--rls-smalltext-letter-spacing)
1028
+ );
1029
+ --pvt-subtitle-height: var(
1030
+ --rlc-ballot-subtitle-height,
1031
+ var(--rls-smalltext-line-height)
1032
+ );
959
1033
  position: relative;
960
1034
  display: flex;
961
1035
  width: 100%;
962
1036
  align-items: center;
963
1037
  column-gap: var(--rls-sizing-x4);
964
- padding: var(--rlc-ballot-padding);
1038
+ padding: var(--rlc-ballot-padding, var(--rls-sizing-x4));
965
1039
  box-sizing: border-box;
966
1040
  overflow: hidden;
967
1041
  }
@@ -976,42 +1050,51 @@
976
1050
  display: flex;
977
1051
  overflow: hidden;
978
1052
  flex-direction: column;
979
- row-gap: var(--rlc-ballot-component-row-gap);
1053
+ row-gap: var(--rlc-ballot-component-row-gap, var(--rls-sizing-x2));
980
1054
  }
981
1055
  .rls-ballot .rls-avatar + .rls-ballot__component {
982
1056
  width: calc(100% - var(--rlc-avatar-width) - var(--rls-sizing-x4));
983
1057
  }
984
1058
  .rls-ballot__title {
985
- --rlc-skeleton-text-height: var(--rlc-ballot-title-height);
986
- --rlc-skeleton-text-letter-spacing: var(--rlc-ballot-title-letter-spacing);
987
- --rlc-skeleton-text-font-size: var(--rlc-ballot-title-font-size);
1059
+ --rlc-skeleton-text-height: var(--pvt-title-height);
1060
+ --rlc-skeleton-text-letter-spacing: var(--pvt-title-letter-spacing);
1061
+ --rlc-skeleton-text-font-size: var(--pvt-title-font-size);
988
1062
  position: relative;
989
1063
  width: 100%;
990
1064
  color: var(--rls-app-color-900);
991
1065
  overflow: hidden;
992
1066
  white-space: nowrap;
993
1067
  text-overflow: ellipsis;
994
- font-weight: var(--rlc-ballot-title-font-weight);
995
- font-size: var(--rlc-ballot-title-font-size);
996
- letter-spacing: var(--rlc-ballot-title-letter-spacing);
997
- min-height: var(--rlc-ballot-title-height);
998
- line-height: var(--rlc-ballot-title-height);
1068
+ font-weight: var(
1069
+ --rlc-ballot-title-font-weight,
1070
+ var(--rls-font-weight-medium)
1071
+ );
1072
+ font-size: var(--pvt-title-font-size);
1073
+ letter-spacing: var(--pvt-title-letter-spacing);
1074
+ min-height: var(--pvt-title-height);
1075
+ line-height: var(--pvt-title-height);
999
1076
  }
1000
1077
  .rls-ballot__subtitle {
1001
- --rlc-skeleton-text-height: var(--rlc-ballot-subtitle-height);
1002
- --rlc-skeleton-text-letter-spacing: var(--rlc-ballot-subtitle-letter-spacing);
1003
- --rlc-skeleton-text-font-size: var(--rlc-ballot-subtitle-font-size);
1078
+ --rlc-skeleton-text-height: var(--pvt-subtitle-height);
1079
+ --rlc-skeleton-text-letter-spacing: var(--pvt-subtitle-letter-spacing);
1080
+ --rlc-skeleton-text-font-size: var(
1081
+ --rlc-ballot-subtitle-font-size,
1082
+ var(--rls-smalltext-font-size)
1083
+ );
1004
1084
  position: relative;
1005
- width: var(--rlc-ballot-subtitle-width);
1085
+ width: var(--rlc-ballot-subtitle-width, 100%);
1006
1086
  color: var(--rls-app-color-600);
1007
- font-weight: var(--rlc-ballot-subtitle-font-weight);
1087
+ font-weight: var(
1088
+ --rlc-ballot-subtitle-font-weight,
1089
+ var(--rls-font-weight-semibold)
1090
+ );
1008
1091
  font-size: var(--rls-ballot-subtitle-font-size);
1009
- letter-spacing: var(--rlc-ballot-subtitle-letter-spacing);
1010
- min-height: var(--rlc-ballot-subtitle-height);
1011
- line-height: var(--rlc-ballot-subtitle-height);
1012
- overflow: var(--rlc-ballot-subtitle-overflow);
1013
- text-overflow: var(--rlc-ballot-subtitle-text-overflow);
1014
- white-space: var(--rlc-ballot-subtitle-white-space);
1092
+ letter-spacing: var(--pvt-subtitle-letter-spacing);
1093
+ min-height: var(--pvt-subtitle-height);
1094
+ line-height: var(--pvt-subtitle-height);
1095
+ overflow: var(--rlc-ballot-subtitle-overflow, initial);
1096
+ text-overflow: var(--rlc-ballot-subtitle-text-overflow, initial);
1097
+ white-space: var(--rlc-ballot-subtitle-white-space, initial);
1015
1098
  }
1016
1099
 
1017
1100
  .rls-button-progress {
@@ -1393,7 +1476,7 @@
1393
1476
  }
1394
1477
  .rls-picker-day__element--focused {
1395
1478
  --pvt-span-background: var(--rls-theme-color-500);
1396
- --pvt-span-font-color: var(--rls-theme-font-500);
1479
+ --pvt-span-font-color: var(--rls-theme-color-050);
1397
1480
  --pvt-span-border: var(--rls-theme-border-1-500);
1398
1481
  }
1399
1482
  .rls-picker-day__element--forbidden {
@@ -1531,7 +1614,7 @@
1531
1614
  }
1532
1615
  .rls-picker-month__component--focused {
1533
1616
  --pvt-component-background: var(--rls-theme-color-500);
1534
- --pvt-component-font-color: var(--rls-theme-font-500);
1617
+ --pvt-component-font-color: var(--rls-theme-color-050);
1535
1618
  --pvt-component-border: var(--rls-theme-border-1-500);
1536
1619
  }
1537
1620
  .rls-picker-month__component--disabled {
@@ -1644,7 +1727,7 @@
1644
1727
  }
1645
1728
  .rls-picker-year__element--focused {
1646
1729
  --pvt-component-background: var(--rls-theme-color-500);
1647
- --pvt-component-font-color: var(--rls-theme-font-500);
1730
+ --pvt-component-font-color: var(--rls-theme-color-050);
1648
1731
  --pvt-component-border: var(--rls-theme-border-1-500);
1649
1732
  }
1650
1733
  .rls-picker-year__element--disabled {
@@ -1666,7 +1749,7 @@
1666
1749
  justify-content: space-between;
1667
1750
  align-items: center;
1668
1751
  column-gap: var(--rls-sizing-x6);
1669
- height: var(--rlc-toolbar-height);
1752
+ height: var(--rlc-toolbar-height, var(--rls-sizing-x28));
1670
1753
  }
1671
1754
  .rls-toolbar > * {
1672
1755
  width: auto;
@@ -1714,7 +1797,7 @@
1714
1797
  .rls-card__content {
1715
1798
  display: flex;
1716
1799
  flex-direction: column;
1717
- padding: var(--rlc-card-content-padding);
1800
+ padding: var(--rlc-card-content-padding, var(--rls-sizing-x8));
1718
1801
  box-sizing: border-box;
1719
1802
  }
1720
1803
 
@@ -2291,7 +2374,7 @@
2291
2374
  display: flex;
2292
2375
  column-gap: var(--rls-sizing-x6);
2293
2376
  bottom: 0rem;
2294
- left: var(--rlc-snackbar-left);
2377
+ left: var(--rlc-snackbar-left, 50%);
2295
2378
  z-index: 32;
2296
2379
  width: auto;
2297
2380
  height: auto;