ar-design 0.2.80 → 0.2.82

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 (54) hide show
  1. package/dist/assets/css/components/data-display/chip/chip.css +1 -3
  2. package/dist/assets/css/components/form/checkbox/core/border.css +106 -74
  3. package/dist/assets/css/components/form/select/styles.css +1 -1
  4. package/dist/assets/css/components/form/switch/core/border.css +178 -59
  5. package/dist/assets/css/components/form/switch/styles.css +4 -8
  6. package/dist/assets/css/components/form/upload/preview-selected-files.css +5 -1
  7. package/dist/assets/css/core/ar-core.css +10 -2
  8. package/dist/assets/css/core/color-palette.css +111 -0
  9. package/dist/assets/css/core/variants/animation.css +90 -60
  10. package/dist/assets/css/core/variants/borderless/borderless.css +325 -122
  11. package/dist/assets/css/core/variants/dashed/dashed.css +323 -147
  12. package/dist/assets/css/core/variants/filled/styles.css +439 -0
  13. package/dist/assets/css/core/variants/outlined/styles.css +406 -0
  14. package/dist/assets/css/core/variants/surface/styles.css +263 -0
  15. package/dist/components/data-display/card/index.js +1 -1
  16. package/dist/components/data-display/chip/IProps.d.ts +2 -2
  17. package/dist/components/data-display/chip/index.js +2 -2
  18. package/dist/components/data-display/table/IProps.d.ts +2 -2
  19. package/dist/components/data-display/table/index.js +7 -7
  20. package/dist/components/feedback/popover/index.js +2 -2
  21. package/dist/components/feedback/popup/index.js +6 -6
  22. package/dist/components/feedback/progress/index.js +1 -1
  23. package/dist/components/form/button/IProps.d.ts +2 -2
  24. package/dist/components/form/button/index.js +2 -2
  25. package/dist/components/form/button-action/index.js +2 -2
  26. package/dist/components/form/checkbox/IProps.d.ts +2 -2
  27. package/dist/components/form/checkbox/index.js +2 -2
  28. package/dist/components/form/date-picker/Props.d.ts +1 -1
  29. package/dist/components/form/date-picker/index.js +2 -2
  30. package/dist/components/form/input/IProps.d.ts +2 -2
  31. package/dist/components/form/input/index.js +3 -3
  32. package/dist/components/form/input-tag/IProps.d.ts +1 -1
  33. package/dist/components/form/radio/IProps.d.ts +2 -2
  34. package/dist/components/form/radio/index.js +2 -2
  35. package/dist/components/form/select/Props.d.ts +5 -5
  36. package/dist/components/form/select/index.js +8 -6
  37. package/dist/components/form/switch/IProps.d.ts +2 -2
  38. package/dist/components/form/switch/index.js +2 -2
  39. package/dist/components/form/text-editor/IProps.d.ts +2 -2
  40. package/dist/components/form/text-editor/index.d.ts +1 -1
  41. package/dist/components/form/text-editor/index.js +3 -3
  42. package/dist/components/form/upload/PreviewSelectedFile.js +12 -2
  43. package/dist/components/form/upload/PreviewSelectedFiles.js +19 -7
  44. package/dist/components/form/upload/Props.d.ts +2 -3
  45. package/dist/components/form/upload/index.js +2 -3
  46. package/dist/components/icons/Compiler.js +37 -0
  47. package/dist/components/navigation/steps/index.js +1 -1
  48. package/dist/libs/infrastructure/shared/Utils.d.ts +10 -2
  49. package/dist/libs/infrastructure/shared/Utils.js +263 -2
  50. package/dist/libs/types/IGlobalProps.d.ts +13 -1
  51. package/dist/libs/types/index.d.ts +5 -3
  52. package/package.json +1 -1
  53. package/dist/assets/css/core/variants/filled/filled.css +0 -260
  54. package/dist/assets/css/core/variants/outlined/outlined.css +0 -206
@@ -6,9 +6,7 @@
6
6
  height: 1.75rem;
7
7
  padding: 0 0.5rem;
8
8
  font-size: 0.75rem;
9
- font-weight: 600;
9
+ font-weight: 400;
10
10
  white-space: nowrap;
11
11
  user-select: none;
12
- /* -webkit-text-stroke: 0.5px var(--white); */
13
- letter-spacing: 1px;
14
12
  }
@@ -1,130 +1,162 @@
1
- /* #region Border Color -> PRIMARY */
2
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.primary::before {
1
+ /* #region Border Color -> BLUE */
2
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.blue::before {
3
3
  border-right-color: var(--white);
4
4
  border-bottom-color: var(--white);
5
5
  }
6
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.primary::before {
7
- border-right-color: var(--primary);
8
- border-bottom-color: var(--primary);
6
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.blue::before {
7
+ border-right-color: var(--blue);
8
+ border-bottom-color: var(--blue);
9
9
  }
10
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.primary::before {
11
- border-right-color: var(--primary);
12
- border-bottom-color: var(--primary);
10
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.blue::before {
11
+ border-right-color: var(--blue);
12
+ border-bottom-color: var(--blue);
13
13
  }
14
14
  /* #endregion */
15
- /* Border Color -> PRIMARY */
15
+ /* Border Color -> BLUE */
16
16
 
17
- /* #region Border Color -> PRIMARY-LIGHT */
18
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.primary-light::before {
17
+ /* #region Border Color -> PURPLE */
18
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.purple::before {
19
19
  border-right-color: var(--white);
20
20
  border-bottom-color: var(--white);
21
21
  }
22
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.primary-light::before {
23
- border-right-color: var(--primary-light);
24
- border-bottom-color: var(--primary-light);
22
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.purple::before {
23
+ border-right-color: var(--purple);
24
+ border-bottom-color: var(--purple);
25
25
  }
26
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.primary-light::before {
27
- border-right-color: var(--primary-light);
28
- border-bottom-color: var(--primary-light);
26
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.purple::before {
27
+ border-right-color: var(--purple);
28
+ border-bottom-color: var(--purple);
29
29
  }
30
30
  /* #endregion */
31
- /* Border Color -> PRIMARY-LIGHT */
31
+ /* Border Color -> PURPLE */
32
32
 
33
- /* #region Border Color -> SECONDARY */
34
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.secondary::before {
33
+ /* #region Border Color -> PINK */
34
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.pink::before {
35
35
  border-right-color: var(--white);
36
36
  border-bottom-color: var(--white);
37
37
  }
38
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.secondary::before {
39
- border-right-color: var(--secondary);
40
- border-bottom-color: var(--secondary);
38
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.pink::before {
39
+ border-right-color: var(--pink);
40
+ border-bottom-color: var(--pink);
41
41
  }
42
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.secondary::before {
43
- border-right-color: var(--secondary);
44
- border-bottom-color: var(--secondary);
42
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.pink::before {
43
+ border-right-color: var(--pink);
44
+ border-bottom-color: var(--pink);
45
45
  }
46
46
  /* #endregion */
47
- /* Border Color -> SECONDARY */
47
+ /* Border Color -> PINK */
48
48
 
49
- /* #region Border Color -> SUCCESS */
50
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.success::before {
49
+ /* #region Border Color -> RED */
50
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.red::before {
51
51
  border-right-color: var(--white);
52
52
  border-bottom-color: var(--white);
53
53
  }
54
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.success::before {
55
- border-right-color: var(--success);
56
- border-bottom-color: var(--success);
54
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.red::before {
55
+ border-right-color: var(--red);
56
+ border-bottom-color: var(--red);
57
57
  }
58
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.success::before {
59
- border-right-color: var(--success);
60
- border-bottom-color: var(--success);
58
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.red::before {
59
+ border-right-color: var(--red);
60
+ border-bottom-color: var(--red);
61
61
  }
62
62
  /* #endregion */
63
- /* Border Color -> SUCCESS */
63
+ /* Border Color -> RED */
64
64
 
65
- /* #region Border Color -> WARNING */
66
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.warning::before {
67
- border-right-color: var(--dark);
68
- border-bottom-color: var(--dark);
65
+ /* #region Border Color -> ORANGE */
66
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.orange::before {
67
+ border-right-color: var(--white);
68
+ border-bottom-color: var(--white);
69
69
  }
70
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.warning::before {
71
- border-right-color: var(--warning);
72
- border-bottom-color: var(--warning);
70
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.orange::before {
71
+ border-right-color: var(--orange);
72
+ border-bottom-color: var(--orange);
73
73
  }
74
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.warning::before {
75
- border-right-color: var(--warning);
76
- border-bottom-color: var(--warning);
74
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.orange::before {
75
+ border-right-color: var(--orange);
76
+ border-bottom-color: var(--orange);
77
77
  }
78
78
  /* #endregion */
79
- /* Border Color -> WARNING */
79
+ /* Border Color -> ORANGE */
80
80
 
81
- /* #region Border Color -> DANGER */
82
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.danger::before {
81
+ /* #region Border Color -> YELLOW */
82
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.yellow::before {
83
83
  border-right-color: var(--white);
84
84
  border-bottom-color: var(--white);
85
85
  }
86
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.danger::before {
87
- border-right-color: var(--danger);
88
- border-bottom-color: var(--danger);
86
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.yellow::before {
87
+ border-right-color: var(--yellow);
88
+ border-bottom-color: var(--yellow);
89
89
  }
90
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.danger::before {
91
- border-right-color: var(--danger);
92
- border-bottom-color: var(--danger);
90
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.yellow::before {
91
+ border-right-color: var(--yellow);
92
+ border-bottom-color: var(--yellow);
93
93
  }
94
94
  /* #endregion */
95
- /* Border Color -> DANGER */
95
+ /* Border Color -> YELLOW */
96
96
 
97
- /* #region Border Color -> INFORMATION */
98
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.information::before {
97
+ /* #region Border Color -> GREEN */
98
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.green::before {
99
99
  border-right-color: var(--white);
100
100
  border-bottom-color: var(--white);
101
101
  }
102
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.information::before {
103
- border-right-color: var(--information);
104
- border-bottom-color: var(--information);
102
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.green::before {
103
+ border-right-color: var(--green);
104
+ border-bottom-color: var(--green);
105
105
  }
106
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.information::before {
107
- border-right-color: var(--information);
108
- border-bottom-color: var(--information);
106
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.green::before {
107
+ border-right-color: var(--green);
108
+ border-bottom-color: var(--green);
109
109
  }
110
110
  /* #endregion */
111
- /* Border Color -> INFORMATION */
111
+ /* Border Color -> GREEN */
112
112
 
113
- /* #region Border Color -> DARK */
114
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.dark::before {
113
+ /* #region Border Color -> TEAL */
114
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.teal::before {
115
115
  border-right-color: var(--white);
116
116
  border-bottom-color: var(--white);
117
117
  }
118
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.dark::before {
119
- border-right-color: var(--dark);
120
- border-bottom-color: var(--dark);
118
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.teal::before {
119
+ border-right-color: var(--teal);
120
+ border-bottom-color: var(--teal);
121
121
  }
122
- .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.dark::before {
123
- border-right-color: var(--dark);
124
- border-bottom-color: var(--dark);
122
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.teal::before {
123
+ border-right-color: var(--teal);
124
+ border-bottom-color: var(--teal);
125
+ }
126
+ /* #endregion */
127
+ /* Border Color -> TEAL */
128
+
129
+ /* #region Border Color -> CYAN */
130
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.cyan::before {
131
+ border-right-color: var(--white);
132
+ border-bottom-color: var(--white);
133
+ }
134
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.cyan::before {
135
+ border-right-color: var(--cyan);
136
+ border-bottom-color: var(--cyan);
137
+ }
138
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.cyan::before {
139
+ border-right-color: var(--cyan);
140
+ border-bottom-color: var(--cyan);
141
+ }
142
+ /* #endregion */
143
+ /* Border Color -> CYAN */
144
+
145
+ /* #region Border Color -> GRAY */
146
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.gray::before {
147
+ border-right-color: var(--white);
148
+ border-bottom-color: var(--white);
149
+ }
150
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.outlined.gray::before {
151
+ border-right-color: var(--gray);
152
+ border-bottom-color: var(--gray);
153
+ }
154
+ .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.borderless.gray::before {
155
+ border-right-color: var(--gray);
156
+ border-bottom-color: var(--gray);
125
157
  }
126
158
  /* #endregion */
127
- /* Border Color -> DARK */
159
+ /* Border Color -> GRAY */
128
160
 
129
161
  /* #region Border Color -> LIGHT */
130
162
  .ar-checkbox-wrapper > label > :is(input[type="checkbox"], input[type="radio"]):checked + span > .ar-checkbox.filled.light::before {
@@ -87,8 +87,8 @@
87
87
  }
88
88
  .ar-select-wrapper > .ar-select > .selections > .items > span.placeholder {
89
89
  color: var(--dark);
90
+ font-weight: 400;
90
91
  font-family: var(--system);
91
- /* -webkit-text-stroke: 0.25px var(--dark); */
92
92
  }
93
93
  .ar-select-wrapper > .ar-select > .selections > ul {
94
94
  display: flex;
@@ -1,89 +1,208 @@
1
- /* #region Border Color -> PRIMARY */
2
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.primary {
3
- box-shadow: 0 0 0 2.5px rgba(var(--primary-rgb), .1);
4
- }
5
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.primary > .handle {
6
- box-shadow: 0 0 0 2px rgba(var(--primary-rgb), .5);
1
+ /* #region Border Color -> BLUE */
2
+ .ar-switch-wrapper {
3
+ > label {
4
+ > input[type="checkbox"] {
5
+ + span.blue {
6
+ background-color: var(--blue-500);
7
+ }
8
+
9
+ &.checked {
10
+ + .span.blue {
11
+ background-color: var(--blue-500);
12
+ }
13
+ }
14
+ }
15
+ }
7
16
  }
8
17
  /* #endregion */
9
- /* Border Color -> PRIMARY */
18
+ /* Border Color -> BLUE */
10
19
 
11
- /* #region Border Color -> PRIMARY-LIGHT */
12
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.primary-light {
13
- box-shadow: 0 0 0 2.5px rgba(var(--primary-light-rgb), .1);
14
- }
15
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.primary-light > .handle {
16
- box-shadow: 0 0 0 2px rgba(var(--primary-light-rgb), .5);
20
+ /* #region Border Color -> PURPLE */
21
+ .ar-switch-wrapper {
22
+ > label {
23
+ > input[type="checkbox"] {
24
+ + span.purple {
25
+ background-color: var(--purple-500);
26
+ }
27
+
28
+ &.checked {
29
+ + .span.purple {
30
+ background-color: var(--purple-500);
31
+ }
32
+ }
33
+ }
34
+ }
17
35
  }
18
36
  /* #endregion */
19
- /* Border Color -> PRIMARY-LIGHT */
37
+ /* Border Color -> PURPLE */
20
38
 
21
- /* #region Border Color -> SECONDARY */
22
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.secondary {
23
- box-shadow: 0 0 0 2.5px rgba(var(--secondary-rgb), .1);
24
- }
25
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.secondary > .handle {
26
- box-shadow: 0 0 0 2px rgba(var(--secondary-rgb), .5);
39
+ /* #region Border Color -> PINK */
40
+ .ar-switch-wrapper {
41
+ > label {
42
+ > input[type="checkbox"] {
43
+ + span.pink {
44
+ background-color: var(--pink-500);
45
+ }
46
+
47
+ &.checked {
48
+ + .span.pink {
49
+ background-color: var(--pink-500);
50
+ }
51
+ }
52
+ }
53
+ }
27
54
  }
28
55
  /* #endregion */
29
- /* Border Color -> SECONDARY */
56
+ /* Border Color -> PINK */
30
57
 
31
- /* #region Border Color -> SUCCESS */
32
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.success {
33
- box-shadow: 0 0 0 2.5px rgba(var(--success-rgb), .1);
34
- }
35
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.success > .handle {
36
- box-shadow: 0 0 0 2px rgba(var(--success-rgb), .5);
58
+ /* #region Border Color -> RED */
59
+ .ar-switch-wrapper {
60
+ > label {
61
+ > input[type="checkbox"] {
62
+ + span.red {
63
+ background-color: var(--red-500);
64
+ }
65
+
66
+ &.checked {
67
+ + .span.red {
68
+ background-color: var(--red-500);
69
+ }
70
+ }
71
+ }
72
+ }
37
73
  }
38
74
  /* #endregion */
39
- /* Border Color -> SUCCESS */
75
+ /* Border Color -> RED */
40
76
 
41
- /* #region Border Color -> WARNING */
42
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.warning {
43
- box-shadow: 0 0 0 2.5px rgba(var(--warning-rgb), .1);
44
- }
45
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.warning > .handle {
46
- box-shadow: 0 0 0 2px rgba(var(--warning-rgb), .5);
77
+ /* #region Border Color -> ORANGE */
78
+ .ar-switch-wrapper {
79
+ > label {
80
+ > input[type="checkbox"] {
81
+ + span.orange {
82
+ background-color: var(--orange-500);
83
+ }
84
+
85
+ &.checked {
86
+ + .span.orange {
87
+ background-color: var(--orange-500);
88
+ }
89
+ }
90
+ }
91
+ }
47
92
  }
48
93
  /* #endregion */
49
- /* Border Color -> WARNING */
94
+ /* Border Color -> ORANGE */
50
95
 
51
- /* #region Border Color -> DANGER */
52
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.danger {
53
- box-shadow: 0 0 0 2.5px rgba(var(--danger-rgb), .1);
54
- }
55
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.danger > .handle {
56
- box-shadow: 0 0 0 2px rgba(var(--danger-rgb), .5);
96
+ /* #region Border Color -> YELLOW */
97
+ .ar-switch-wrapper {
98
+ > label {
99
+ > input[type="checkbox"] {
100
+ + span.yellow {
101
+ background-color: var(--yellow-500);
102
+ }
103
+
104
+ &.checked {
105
+ + .span.yellow {
106
+ background-color: var(--yellow-500);
107
+ }
108
+ }
109
+ }
110
+ }
57
111
  }
58
112
  /* #endregion */
59
- /* Border Color -> DANGER */
113
+ /* Border Color -> YELLOW */
114
+
115
+ /* #region Border Color -> GREEN */
116
+ .ar-switch-wrapper {
117
+ > label {
118
+ > input[type="checkbox"] {
119
+ + span.green {
120
+ background-color: var(--green-500);
121
+ }
60
122
 
61
- /* #region Border Color -> INFORMATION */
62
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.information {
63
- box-shadow: 0 0 0 2.5px rgba(var(--information-rgb), .1);
123
+ &.checked {
124
+ + .span.green {
125
+ background-color: var(--green-500);
126
+ }
127
+ }
128
+ }
129
+ }
64
130
  }
65
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.information > .handle {
66
- box-shadow: 0 0 0 2px rgba(var(--information-rgb), .5);
131
+ /* #endregion */
132
+ /* Border Color -> GREEN */
133
+
134
+ /* #region Border Color -> TEAL */
135
+ .ar-switch-wrapper {
136
+ > label {
137
+ > input[type="checkbox"] {
138
+ + span.teal {
139
+ background-color: var(--teal-500);
140
+ }
141
+
142
+ &.checked {
143
+ + .span.teal {
144
+ background-color: var(--teal-500);
145
+ }
146
+ }
147
+ }
148
+ }
67
149
  }
68
150
  /* #endregion */
69
- /* Border Color -> INFORMATION */
151
+ /* Border Color -> TEAL */
152
+
153
+ /* #region Border Color -> CYAN */
154
+ .ar-switch-wrapper {
155
+ > label {
156
+ > input[type="checkbox"] {
157
+ + span.cyan {
158
+ background-color: var(--cyan-500);
159
+ }
70
160
 
71
- /* #region Border Color -> DARK */
72
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.dark {
73
- box-shadow: 0 0 0 2.5px rgba(var(--dark-rgb), .1);
161
+ &.checked {
162
+ + .span.cyan {
163
+ background-color: var(--cyan-500);
164
+ }
165
+ }
166
+ }
167
+ }
74
168
  }
75
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.dark > .handle {
76
- box-shadow: 0 0 0 2px rgba(var(--dark-rgb), .5);
169
+ /* #endregion */
170
+ /* Border Color -> CYAN */
171
+
172
+ /* #region Border Color -> GRAY */
173
+ .ar-switch-wrapper {
174
+ > label {
175
+ > input[type="checkbox"] {
176
+ + span.gray {
177
+ background-color: var(--gray-500);
178
+ }
179
+
180
+ &.checked {
181
+ + .span.gray {
182
+ background-color: var(--gray-500);
183
+ }
184
+ }
185
+ }
186
+ }
77
187
  }
78
188
  /* #endregion */
79
- /* Border Color -> DARK */
189
+ /* Border Color -> GRAY */
80
190
 
81
191
  /* #region Border Color -> LIGHT */
82
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.light {
83
- box-shadow: 0 0 0 2.5px rgba(var(--light-rgb), .1);
84
- }
85
- .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch.light > .handle {
86
- box-shadow: 0 0 0 2px rgba(var(--light-rgb), .5);
192
+ .ar-switch-wrapper {
193
+ > label {
194
+ > input[type="checkbox"] {
195
+ + span.light {
196
+ background-color: var(--light-500);
197
+ }
198
+
199
+ &.checked {
200
+ + .span.light {
201
+ background-color: var(--light-500);
202
+ }
203
+ }
204
+ }
205
+ }
87
206
  }
88
207
  /* #endregion */
89
208
  /* Border Color -> LIGHT */
@@ -8,10 +8,8 @@
8
8
  .ar-switch-wrapper > label {
9
9
  display: flex;
10
10
  flex-direction: row;
11
- /* justify-content: space-between; */
12
11
  align-items: center;
13
12
  gap: 0 0.5rem;
14
- /* width: 100%; */
15
13
  user-select: none;
16
14
  }
17
15
  .ar-switch-wrapper > label > input[type="checkbox"] {
@@ -22,7 +20,7 @@
22
20
  position: relative;
23
21
  display: inline-block;
24
22
  width: 2.25rem;
25
- height: 1rem;
23
+ height: 1.25rem;
26
24
  transition: box-shadow 250ms ease-in-out;
27
25
  }
28
26
 
@@ -34,14 +32,12 @@
34
32
  display: inline-block;
35
33
  content: "";
36
34
  background-color: var(--white);
37
- width: 0.75rem;
38
- height: 0.75rem;
35
+ width: 0.85rem;
36
+ height: 0.85rem;
39
37
  transition: left 150ms, width 150ms 150ms, height 150ms 150ms, box-shadow 150ms 150ms ease-in-out;
40
38
  }
41
39
  .ar-switch-wrapper > label > input[type="checkbox"].checked + .ar-switch > .handle {
42
- left: calc(2.25rem - 0.9rem);
43
- width: 1rem;
44
- height: 1rem;
40
+ left: calc(2.25rem - 1rem);
45
41
  }
46
42
 
47
43
  @import url("./core/border.css");
@@ -1,4 +1,5 @@
1
1
  .ar-upload-button > .button.multiple > .preview {
2
+ position: relative;
2
3
  display: flex;
3
4
  flex-direction: row;
4
5
  flex-wrap: nowrap;
@@ -26,6 +27,9 @@
26
27
  .ar-upload-button > .button.multiple > .items > .item {
27
28
  --size: 5rem;
28
29
 
30
+ display: flex;
31
+ justify-content: center;
32
+ align-items: center;
29
33
  position: relative;
30
34
  min-width: var(--size);
31
35
  min-height: var(--size);
@@ -95,7 +99,7 @@
95
99
  align-items: center;
96
100
  gap: 0.5rem;
97
101
  position: absolute;
98
- inset: auto 7.5rem 0 0;
102
+ inset: auto 0 0 0;
99
103
  background-color: rgba(var(--black-rgb), 0.75);
100
104
  padding: 0.5rem;
101
105
  transition: visibility 250ms, opacity 250ms ease-in-out;
@@ -75,6 +75,8 @@
75
75
  --dark-rgb: 52, 58, 64;
76
76
  }
77
77
  /* #endregion */
78
+
79
+ @import url("./color-palette.css");
78
80
  /* Color Palette */
79
81
 
80
82
  /* #region Fonts */
@@ -133,7 +135,13 @@
133
135
  transition: border 250ms, box-shadow 250ms ease-in-out;
134
136
  }
135
137
 
136
- @import url("./variants/filled/filled.css");
138
+ @import url("./variants/filled/styles.css");
139
+
140
+ .surface {
141
+ transition: border 250ms, box-shadow 250ms ease-in-out;
142
+ }
143
+
144
+ @import url("./variants/surface/styles.css");
137
145
 
138
146
  .outlined {
139
147
  background-color: transparent;
@@ -143,7 +151,7 @@
143
151
  transition: border 250ms, box-shadow 250ms ease-in-out;
144
152
  }
145
153
 
146
- @import url("./variants/outlined/outlined.css");
154
+ @import url("./variants/outlined/styles.css");
147
155
 
148
156
  .dashed {
149
157
  background-color: transparent;