@uxf/ui 11.20.0 → 11.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_file-input-base/file-input-base.js +1 -1
- package/_input-with-popover/input-with-popover.d.ts +1 -4
- package/_input-with-popover/input-with-popover.js +13 -10
- package/alert-bubble/alert-bubble.d.ts +2 -2
- package/alert-bubble/alert-bubble.js +1 -1
- package/avatar-file-input/avatar-file-input.d.ts +1 -1
- package/avatar-file-input/avatar-file-input.js +2 -2
- package/calendar/calendar-day-cell.js +2 -2
- package/checkbox/checkbox.d.ts +1 -1
- package/checkbox-input/checkbox-input.d.ts +1 -1
- package/checkbox-input/checkbox-input.js +1 -1
- package/combobox/README.md +5 -4
- package/combobox/combobox.d.ts +40 -14
- package/combobox/combobox.js +64 -13
- package/combobox/combobox.stories.d.ts +2 -5
- package/combobox/index.d.ts +1 -1
- package/css/alert-bubble.css +8 -16
- package/css/avatar-file-input.css +13 -24
- package/css/avatar.css +1 -5
- package/css/badge.css +1 -5
- package/css/button-list.css +4 -18
- package/css/button.css +21 -89
- package/css/calendar.css +23 -41
- package/css/checkbox-button.css +54 -55
- package/css/checkbox-input.css +2 -4
- package/css/checkbox.css +47 -59
- package/css/chip.css +80 -140
- package/css/color-radio-group.css +2 -5
- package/css/color-radio.css +1 -5
- package/css/combobox.css +7 -0
- package/css/date-picker.css +2 -4
- package/css/dialog.css +2 -5
- package/css/dropdown.css +54 -40
- package/css/dropzone.css +4 -9
- package/css/file-input.css +5 -21
- package/css/input-with-popover.css +1 -5
- package/css/input.css +40 -55
- package/css/label.css +1 -5
- package/css/list-item.css +10 -13
- package/css/loader.css +4 -4
- package/css/message.css +2 -8
- package/css/multi-combobox.css +81 -56
- package/css/multi-select.css +98 -13
- package/css/pagination.css +5 -20
- package/css/radio-group.css +51 -92
- package/css/radio.css +49 -58
- package/css/select.css +11 -0
- package/css/tabs.css +12 -36
- package/css/text-link.css +3 -6
- package/css/textarea.css +16 -22
- package/css/toggle.css +20 -40
- package/dropdown/dropdown.js +1 -1
- package/dropzone/dropzone-input.js +2 -2
- package/file-input/file-input.js +2 -2
- package/flash-messages/flash-messages.js +2 -2
- package/icon/icon.d.ts +1 -0
- package/icon/icon.js +3 -3
- package/icon/index.d.ts +1 -0
- package/image-gallery/components/close-button.js +1 -1
- package/image-gallery/components/next-button.js +1 -1
- package/image-gallery/components/prev-button.js +1 -1
- package/input/README.md +1 -1
- package/input/index.d.ts +2 -0
- package/input/index.js +2 -0
- package/input/input-arrow-icon.d.ts +8 -0
- package/input/input-arrow-icon.js +16 -0
- package/input/input.d.ts +2 -1
- package/input/input.js +7 -7
- package/input/input.stories.d.ts +1 -0
- package/message/message.d.ts +1 -1
- package/multi-combobox/README.md +5 -2
- package/multi-combobox/multi-combobox.d.ts +2 -2
- package/multi-combobox/multi-combobox.js +118 -32
- package/multi-combobox/multi-combobox.stories.js +4 -6
- package/multi-combobox/types.d.ts +3 -1
- package/multi-select/README.md +5 -3
- package/multi-select/multi-select.d.ts +2 -2
- package/multi-select/multi-select.js +79 -23
- package/multi-select/multi-select.stories.js +1 -2
- package/multi-select/types.d.ts +3 -1
- package/package.json +4 -4
- package/radio/radio.d.ts +1 -1
- package/radio-group/radio-group.d.ts +2 -2
- package/radio-group/radio-group.js +1 -1
- package/raster-image/empty-image.d.ts +9 -0
- package/raster-image/empty-image.js +13 -0
- package/raster-image/img-sources.d.ts +1 -1
- package/raster-image/img-sources.js +6 -6
- package/raster-image/raster-image.d.ts +16 -12
- package/raster-image/raster-image.js +19 -21
- package/raster-image/raster-image.stories.d.ts +2 -1
- package/raster-image/responsive-img-sources.d.ts +15 -0
- package/raster-image/responsive-img-sources.js +20 -0
- package/select/README.md +5 -3
- package/select/select.d.ts +38 -13
- package/select/select.js +91 -13
- package/select/select.stories.js +3 -1
- package/text-input/text-input.js +2 -2
- package/textarea/textarea.js +2 -2
- package/toggle/toggle.d.ts +1 -1
- package/tooltip/tooltip.js +2 -2
- package/utils/files/get-file-icon.d.ts +1 -1
- package/_select-base/_select-base.d.ts +0 -58
- package/_select-base/_select-base.js +0 -107
- package/_select-base/index.d.ts +0 -2
- package/_select-base/index.js +0 -5
- package/css/select-base.css +0 -50
- package/multi-combobox/_multi-combobox-base.d.ts +0 -8
- package/multi-combobox/_multi-combobox-base.js +0 -141
- package/multi-select/_multi-select-base.d.ts +0 -8
- package/multi-select/_multi-select-base.js +0 -78
package/css/checkbox.css
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
.uxf-checkbox {
|
|
2
|
-
@apply relative flex shrink-0 items-center justify-center rounded border
|
|
3
|
-
|
|
4
|
-
focus-visible:before:rounded-lg focus-visible:before:border-2;
|
|
2
|
+
@apply focus-visible:before:border-primary relative flex shrink-0 items-center justify-center rounded border border-gray-400
|
|
3
|
+
bg-white outline-none transition focus-visible:before:absolute
|
|
4
|
+
focus-visible:before:inset-[-5px] focus-visible:before:rounded-lg focus-visible:before:border-2;
|
|
5
|
+
|
|
6
|
+
:root .dark & {
|
|
7
|
+
@apply focus-visible:before:border-primary border-gray-400 bg-gray-900;
|
|
8
|
+
}
|
|
5
9
|
|
|
6
10
|
&__inner {
|
|
7
11
|
@apply hidden;
|
|
@@ -24,8 +28,18 @@
|
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
&.is-selected {
|
|
31
|
+
@apply bg-primary is-hoverable:bg-primary-700 border-transparent;
|
|
32
|
+
|
|
33
|
+
:root .dark & {
|
|
34
|
+
@apply bg-primary is-hoverable:bg-primary-300 border-transparent;
|
|
35
|
+
}
|
|
36
|
+
|
|
27
37
|
.uxf-checkbox__inner {
|
|
28
|
-
@apply block;
|
|
38
|
+
@apply block text-white;
|
|
39
|
+
|
|
40
|
+
:root .dark & {
|
|
41
|
+
@apply text-white;
|
|
42
|
+
}
|
|
29
43
|
}
|
|
30
44
|
}
|
|
31
45
|
|
|
@@ -34,85 +48,59 @@
|
|
|
34
48
|
@apply pointer-events-none;
|
|
35
49
|
}
|
|
36
50
|
|
|
37
|
-
|
|
38
|
-
@apply
|
|
51
|
+
&.is-disabled {
|
|
52
|
+
@apply border-gray-200;
|
|
39
53
|
|
|
40
|
-
|
|
41
|
-
@apply
|
|
42
|
-
|
|
43
|
-
.uxf-checkbox__inner {
|
|
44
|
-
@apply text-white;
|
|
45
|
-
}
|
|
54
|
+
:root .dark & {
|
|
55
|
+
@apply border-gray-600;
|
|
46
56
|
}
|
|
47
57
|
|
|
48
|
-
&.is-
|
|
49
|
-
@apply
|
|
50
|
-
|
|
51
|
-
&.is-selected {
|
|
52
|
-
@apply bg-gray-200;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.uxf-checkbox__inner {
|
|
56
|
-
@apply text-gray-400;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
58
|
+
&.is-selected {
|
|
59
|
+
@apply bg-gray-200;
|
|
59
60
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
@apply bg-primary/60;
|
|
61
|
+
:root .dark & {
|
|
62
|
+
@apply bg-gray-600;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
@apply
|
|
68
|
-
|
|
69
|
-
&.is-selected {
|
|
70
|
-
@apply bg-error;
|
|
71
|
-
}
|
|
66
|
+
.uxf-checkbox__inner {
|
|
67
|
+
@apply text-gray-400;
|
|
72
68
|
|
|
73
|
-
.
|
|
74
|
-
@apply text-
|
|
69
|
+
:root .dark & {
|
|
70
|
+
@apply text-gray-800;
|
|
75
71
|
}
|
|
76
72
|
}
|
|
77
73
|
}
|
|
78
74
|
|
|
79
|
-
|
|
80
|
-
@apply focus-visible:before:border-primary border-gray-400 bg-gray-900;
|
|
81
|
-
|
|
75
|
+
&.is-readonly {
|
|
82
76
|
&.is-selected {
|
|
83
|
-
@apply bg-primary
|
|
77
|
+
@apply bg-primary/60;
|
|
84
78
|
|
|
85
|
-
.
|
|
86
|
-
@apply
|
|
79
|
+
:root .dark & {
|
|
80
|
+
@apply bg-primary/60;
|
|
87
81
|
}
|
|
88
82
|
}
|
|
83
|
+
}
|
|
89
84
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
&.is-selected {
|
|
94
|
-
@apply bg-gray-600;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.uxf-checkbox__inner {
|
|
98
|
-
@apply text-gray-800;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
85
|
+
&.is-invalid {
|
|
86
|
+
@apply border-error;
|
|
101
87
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
@apply bg-primary/60;
|
|
105
|
-
}
|
|
88
|
+
:root .dark & {
|
|
89
|
+
@apply border-error;
|
|
106
90
|
}
|
|
107
91
|
|
|
108
|
-
&.is-
|
|
109
|
-
@apply
|
|
92
|
+
&.is-selected {
|
|
93
|
+
@apply bg-error;
|
|
110
94
|
|
|
111
|
-
|
|
95
|
+
:root .dark & {
|
|
112
96
|
@apply bg-error;
|
|
113
97
|
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.uxf-checkbox__inner {
|
|
101
|
+
@apply text-white;
|
|
114
102
|
|
|
115
|
-
.
|
|
103
|
+
:root .dark & {
|
|
116
104
|
@apply text-white;
|
|
117
105
|
}
|
|
118
106
|
}
|
package/css/chip.css
CHANGED
|
@@ -76,11 +76,9 @@
|
|
|
76
76
|
--button-color-hover: var(--color);
|
|
77
77
|
|
|
78
78
|
&.uxf-chip--color-orange {
|
|
79
|
-
:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
--color: theme("colors.white");
|
|
83
|
-
}
|
|
79
|
+
--bg-color: theme("colors.orange.500");
|
|
80
|
+
--button-bg-color-hover: theme("colors.orange.700");
|
|
81
|
+
--color: theme("colors.white");
|
|
84
82
|
|
|
85
83
|
:root .dark & {
|
|
86
84
|
--bg-color: theme("colors.orange.700");
|
|
@@ -90,11 +88,9 @@
|
|
|
90
88
|
}
|
|
91
89
|
|
|
92
90
|
&.uxf-chip--color-red {
|
|
93
|
-
:
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
--color: theme("colors.white");
|
|
97
|
-
}
|
|
91
|
+
--bg-color: theme("colors.red.500");
|
|
92
|
+
--button-bg-color-hover: theme("colors.red.700");
|
|
93
|
+
--color: theme("colors.white");
|
|
98
94
|
|
|
99
95
|
:root .dark & {
|
|
100
96
|
--bg-color: theme("colors.red.700");
|
|
@@ -104,11 +100,9 @@
|
|
|
104
100
|
}
|
|
105
101
|
|
|
106
102
|
&.uxf-chip--color-yellow {
|
|
107
|
-
:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
--color: theme("colors.white");
|
|
111
|
-
}
|
|
103
|
+
--bg-color: theme("colors.yellow.500");
|
|
104
|
+
--button-bg-color-hover: theme("colors.yellow.700");
|
|
105
|
+
--color: theme("colors.white");
|
|
112
106
|
|
|
113
107
|
:root .dark & {
|
|
114
108
|
--bg-color: theme("colors.yellow.700");
|
|
@@ -118,11 +112,9 @@
|
|
|
118
112
|
}
|
|
119
113
|
|
|
120
114
|
&.uxf-chip--color-pink {
|
|
121
|
-
:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
--color: theme("colors.white");
|
|
125
|
-
}
|
|
115
|
+
--bg-color: theme("colors.pink.500");
|
|
116
|
+
--button-bg-color-hover: theme("colors.pink.700");
|
|
117
|
+
--color: theme("colors.white");
|
|
126
118
|
|
|
127
119
|
:root .dark & {
|
|
128
120
|
--bg-color: theme("colors.pink.700");
|
|
@@ -132,11 +124,9 @@
|
|
|
132
124
|
}
|
|
133
125
|
|
|
134
126
|
&.uxf-chip--color-purple {
|
|
135
|
-
:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
--color: theme("colors.white");
|
|
139
|
-
}
|
|
127
|
+
--bg-color: theme("colors.purple.500");
|
|
128
|
+
--button-bg-color-hover: theme("colors.purple.700");
|
|
129
|
+
--color: theme("colors.white");
|
|
140
130
|
|
|
141
131
|
:root .dark & {
|
|
142
132
|
--bg-color: theme("colors.purple.700");
|
|
@@ -146,11 +136,9 @@
|
|
|
146
136
|
}
|
|
147
137
|
|
|
148
138
|
&.uxf-chip--color-indigo {
|
|
149
|
-
:
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
--color: theme("colors.white");
|
|
153
|
-
}
|
|
139
|
+
--bg-color: theme("colors.indigo.500");
|
|
140
|
+
--button-bg-color-hover: theme("colors.indigo.700");
|
|
141
|
+
--color: theme("colors.white");
|
|
154
142
|
|
|
155
143
|
:root .dark & {
|
|
156
144
|
--bg-color: theme("colors.indigo.700");
|
|
@@ -160,11 +148,9 @@
|
|
|
160
148
|
}
|
|
161
149
|
|
|
162
150
|
&.uxf-chip--color-green {
|
|
163
|
-
:
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
--color: theme("colors.white");
|
|
167
|
-
}
|
|
151
|
+
--bg-color: theme("colors.green.500");
|
|
152
|
+
--button-bg-color-hover: theme("colors.green.700");
|
|
153
|
+
--color: theme("colors.white");
|
|
168
154
|
|
|
169
155
|
:root .dark & {
|
|
170
156
|
--bg-color: theme("colors.green.700");
|
|
@@ -174,11 +160,9 @@
|
|
|
174
160
|
}
|
|
175
161
|
|
|
176
162
|
&.uxf-chip--color-blue {
|
|
177
|
-
:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
--color: theme("colors.white");
|
|
181
|
-
}
|
|
163
|
+
--bg-color: theme("colors.blue.500");
|
|
164
|
+
--button-bg-color-hover: theme("colors.blue.700");
|
|
165
|
+
--color: theme("colors.white");
|
|
182
166
|
|
|
183
167
|
:root .dark & {
|
|
184
168
|
--bg-color: theme("colors.blue.700");
|
|
@@ -188,11 +172,9 @@
|
|
|
188
172
|
}
|
|
189
173
|
|
|
190
174
|
&.uxf-chip--color-default {
|
|
191
|
-
:
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
--color: theme("colors.white");
|
|
195
|
-
}
|
|
175
|
+
--bg-color: theme("colors.gray.500");
|
|
176
|
+
--button-bg-color-hover: theme("colors.gray.700");
|
|
177
|
+
--color: theme("colors.white");
|
|
196
178
|
|
|
197
179
|
:root .dark & {
|
|
198
180
|
--bg-color: theme("colors.gray.700");
|
|
@@ -202,11 +184,9 @@
|
|
|
202
184
|
}
|
|
203
185
|
|
|
204
186
|
&.uxf-chip--color-primary {
|
|
205
|
-
:
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
--color: theme("colors.white");
|
|
209
|
-
}
|
|
187
|
+
--bg-color: theme("colors.primary.500");
|
|
188
|
+
--button-bg-color-hover: theme("colors.primary.700");
|
|
189
|
+
--color: theme("colors.white");
|
|
210
190
|
|
|
211
191
|
:root .dark & {
|
|
212
192
|
--bg-color: theme("colors.primary.700");
|
|
@@ -220,11 +200,9 @@
|
|
|
220
200
|
--button-color-hover: var(--color);
|
|
221
201
|
|
|
222
202
|
&.uxf-chip--color-orange {
|
|
223
|
-
:
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
--color: theme("colors.orange.700");
|
|
227
|
-
}
|
|
203
|
+
--bg-color: theme("colors.orange.100");
|
|
204
|
+
--button-bg-color-hover: theme("colors.orange.300");
|
|
205
|
+
--color: theme("colors.orange.700");
|
|
228
206
|
|
|
229
207
|
:root .dark & {
|
|
230
208
|
--bg-color: theme("colors.orange.400");
|
|
@@ -234,11 +212,9 @@
|
|
|
234
212
|
}
|
|
235
213
|
|
|
236
214
|
&.uxf-chip--color-red {
|
|
237
|
-
:
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
--color: theme("colors.red.700");
|
|
241
|
-
}
|
|
215
|
+
--bg-color: theme("colors.red.100");
|
|
216
|
+
--button-bg-color-hover: theme("colors.red.300");
|
|
217
|
+
--color: theme("colors.red.700");
|
|
242
218
|
|
|
243
219
|
:root .dark & {
|
|
244
220
|
--bg-color: theme("colors.red.400");
|
|
@@ -248,11 +224,9 @@
|
|
|
248
224
|
}
|
|
249
225
|
|
|
250
226
|
&.uxf-chip--color-yellow {
|
|
251
|
-
:
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
--color: theme("colors.yellow.700");
|
|
255
|
-
}
|
|
227
|
+
--bg-color: theme("colors.yellow.100");
|
|
228
|
+
--button-bg-color-hover: theme("colors.yellow.300");
|
|
229
|
+
--color: theme("colors.yellow.700");
|
|
256
230
|
|
|
257
231
|
:root .dark & {
|
|
258
232
|
--bg-color: theme("colors.yellow.400");
|
|
@@ -262,11 +236,9 @@
|
|
|
262
236
|
}
|
|
263
237
|
|
|
264
238
|
&.uxf-chip--color-pink {
|
|
265
|
-
:
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
--color: theme("colors.pink.700");
|
|
269
|
-
}
|
|
239
|
+
--bg-color: theme("colors.pink.100");
|
|
240
|
+
--button-bg-color-hover: theme("colors.pink.300");
|
|
241
|
+
--color: theme("colors.pink.700");
|
|
270
242
|
|
|
271
243
|
:root .dark & {
|
|
272
244
|
--bg-color: theme("colors.pink.400");
|
|
@@ -276,11 +248,9 @@
|
|
|
276
248
|
}
|
|
277
249
|
|
|
278
250
|
&.uxf-chip--color-purple {
|
|
279
|
-
:
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
--color: theme("colors.purple.700");
|
|
283
|
-
}
|
|
251
|
+
--bg-color: theme("colors.purple.100");
|
|
252
|
+
--button-bg-color-hover: theme("colors.purple.300");
|
|
253
|
+
--color: theme("colors.purple.700");
|
|
284
254
|
|
|
285
255
|
:root .dark & {
|
|
286
256
|
--bg-color: theme("colors.purple.400");
|
|
@@ -290,11 +260,9 @@
|
|
|
290
260
|
}
|
|
291
261
|
|
|
292
262
|
&.uxf-chip--color-indigo {
|
|
293
|
-
:
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
--color: theme("colors.indigo.700");
|
|
297
|
-
}
|
|
263
|
+
--bg-color: theme("colors.indigo.100");
|
|
264
|
+
--button-bg-color-hover: theme("colors.indigo.300");
|
|
265
|
+
--color: theme("colors.indigo.700");
|
|
298
266
|
|
|
299
267
|
:root .dark & {
|
|
300
268
|
--bg-color: theme("colors.indigo.400");
|
|
@@ -304,11 +272,9 @@
|
|
|
304
272
|
}
|
|
305
273
|
|
|
306
274
|
&.uxf-chip--color-green {
|
|
307
|
-
:
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
--color: theme("colors.green.700");
|
|
311
|
-
}
|
|
275
|
+
--bg-color: theme("colors.green.100");
|
|
276
|
+
--button-bg-color-hover: theme("colors.green.300");
|
|
277
|
+
--color: theme("colors.green.700");
|
|
312
278
|
|
|
313
279
|
:root .dark & {
|
|
314
280
|
--bg-color: theme("colors.green.400");
|
|
@@ -318,11 +284,9 @@
|
|
|
318
284
|
}
|
|
319
285
|
|
|
320
286
|
&.uxf-chip--color-blue {
|
|
321
|
-
:
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
--color: theme("colors.blue.700");
|
|
325
|
-
}
|
|
287
|
+
--bg-color: theme("colors.blue.100");
|
|
288
|
+
--button-bg-color-hover: theme("colors.blue.300");
|
|
289
|
+
--color: theme("colors.blue.700");
|
|
326
290
|
|
|
327
291
|
:root .dark & {
|
|
328
292
|
--bg-color: theme("colors.blue.400");
|
|
@@ -332,11 +296,9 @@
|
|
|
332
296
|
}
|
|
333
297
|
|
|
334
298
|
&.uxf-chip--color-default {
|
|
335
|
-
:
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
--color: theme("colors.gray.700");
|
|
339
|
-
}
|
|
299
|
+
--bg-color: theme("colors.gray.100");
|
|
300
|
+
--button-bg-color-hover: theme("colors.gray.300");
|
|
301
|
+
--color: theme("colors.gray.700");
|
|
340
302
|
|
|
341
303
|
:root .dark & {
|
|
342
304
|
--bg-color: theme("colors.gray.400");
|
|
@@ -346,11 +308,9 @@
|
|
|
346
308
|
}
|
|
347
309
|
|
|
348
310
|
&.uxf-chip--color-primary {
|
|
349
|
-
:
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
--color: theme("colors.primary.700");
|
|
353
|
-
}
|
|
311
|
+
--bg-color: theme("colors.primary.100");
|
|
312
|
+
--button-bg-color-hover: theme("colors.primary.300");
|
|
313
|
+
--color: theme("colors.primary.700");
|
|
354
314
|
|
|
355
315
|
:root .dark & {
|
|
356
316
|
--bg-color: theme("colors.primary.400");
|
|
@@ -368,10 +328,8 @@
|
|
|
368
328
|
border: 1px solid var(--color);
|
|
369
329
|
|
|
370
330
|
&.uxf-chip--color-orange {
|
|
371
|
-
:
|
|
372
|
-
|
|
373
|
-
--color: theme("colors.orange.500");
|
|
374
|
-
}
|
|
331
|
+
--button-bg-color-hover: theme("colors.orange.200");
|
|
332
|
+
--color: theme("colors.orange.500");
|
|
375
333
|
|
|
376
334
|
:root .dark & {
|
|
377
335
|
--button-bg-color-hover: theme("colors.orange.900");
|
|
@@ -380,10 +338,8 @@
|
|
|
380
338
|
}
|
|
381
339
|
|
|
382
340
|
&.uxf-chip--color-red {
|
|
383
|
-
:
|
|
384
|
-
|
|
385
|
-
--color: theme("colors.red.500");
|
|
386
|
-
}
|
|
341
|
+
--button-bg-color-hover: theme("colors.red.200");
|
|
342
|
+
--color: theme("colors.red.500");
|
|
387
343
|
|
|
388
344
|
:root .dark & {
|
|
389
345
|
--button-bg-color-hover: theme("colors.red.900");
|
|
@@ -392,10 +348,8 @@
|
|
|
392
348
|
}
|
|
393
349
|
|
|
394
350
|
&.uxf-chip--color-yellow {
|
|
395
|
-
:
|
|
396
|
-
|
|
397
|
-
--color: theme("colors.yellow.500");
|
|
398
|
-
}
|
|
351
|
+
--button-bg-color-hover: theme("colors.yellow.200");
|
|
352
|
+
--color: theme("colors.yellow.500");
|
|
399
353
|
|
|
400
354
|
:root .dark & {
|
|
401
355
|
--button-bg-color-hover: theme("colors.yellow.900");
|
|
@@ -404,10 +358,8 @@
|
|
|
404
358
|
}
|
|
405
359
|
|
|
406
360
|
&.uxf-chip--color-pink {
|
|
407
|
-
:
|
|
408
|
-
|
|
409
|
-
--color: theme("colors.pink.500");
|
|
410
|
-
}
|
|
361
|
+
--button-bg-color-hover: theme("colors.pink.200");
|
|
362
|
+
--color: theme("colors.pink.500");
|
|
411
363
|
|
|
412
364
|
:root .dark & {
|
|
413
365
|
--button-bg-color-hover: theme("colors.pink.900");
|
|
@@ -416,10 +368,8 @@
|
|
|
416
368
|
}
|
|
417
369
|
|
|
418
370
|
&.uxf-chip--color-purple {
|
|
419
|
-
:
|
|
420
|
-
|
|
421
|
-
--color: theme("colors.purple.500");
|
|
422
|
-
}
|
|
371
|
+
--button-bg-color-hover: theme("colors.purple.200");
|
|
372
|
+
--color: theme("colors.purple.500");
|
|
423
373
|
|
|
424
374
|
:root .dark & {
|
|
425
375
|
--button-bg-color-hover: theme("colors.purple.900");
|
|
@@ -428,10 +378,8 @@
|
|
|
428
378
|
}
|
|
429
379
|
|
|
430
380
|
&.uxf-chip--color-indigo {
|
|
431
|
-
:
|
|
432
|
-
|
|
433
|
-
--color: theme("colors.indigo.500");
|
|
434
|
-
}
|
|
381
|
+
--button-bg-color-hover: theme("colors.indigo.200");
|
|
382
|
+
--color: theme("colors.indigo.500");
|
|
435
383
|
|
|
436
384
|
:root .dark & {
|
|
437
385
|
--button-bg-color-hover: theme("colors.indigo.900");
|
|
@@ -440,10 +388,8 @@
|
|
|
440
388
|
}
|
|
441
389
|
|
|
442
390
|
&.uxf-chip--color-green {
|
|
443
|
-
:
|
|
444
|
-
|
|
445
|
-
--color: theme("colors.green.500");
|
|
446
|
-
}
|
|
391
|
+
--button-bg-color-hover: theme("colors.green.200");
|
|
392
|
+
--color: theme("colors.green.500");
|
|
447
393
|
|
|
448
394
|
:root .dark & {
|
|
449
395
|
--button-bg-color-hover: theme("colors.green.900");
|
|
@@ -452,10 +398,8 @@
|
|
|
452
398
|
}
|
|
453
399
|
|
|
454
400
|
&.uxf-chip--color-blue {
|
|
455
|
-
:
|
|
456
|
-
|
|
457
|
-
--color: theme("colors.blue.500");
|
|
458
|
-
}
|
|
401
|
+
--button-bg-color-hover: theme("colors.blue.200");
|
|
402
|
+
--color: theme("colors.blue.500");
|
|
459
403
|
|
|
460
404
|
:root .dark & {
|
|
461
405
|
--button-bg-color-hover: theme("colors.blue.900");
|
|
@@ -464,10 +408,8 @@
|
|
|
464
408
|
}
|
|
465
409
|
|
|
466
410
|
&.uxf-chip--color-default {
|
|
467
|
-
:
|
|
468
|
-
|
|
469
|
-
--color: theme("colors.gray.500");
|
|
470
|
-
}
|
|
411
|
+
--button-bg-color-hover: theme("colors.gray.200");
|
|
412
|
+
--color: theme("colors.gray.500");
|
|
471
413
|
|
|
472
414
|
:root .dark & {
|
|
473
415
|
--button-bg-color-hover: theme("colors.gray.900");
|
|
@@ -476,10 +418,8 @@
|
|
|
476
418
|
}
|
|
477
419
|
|
|
478
420
|
&.uxf-chip--color-primary {
|
|
479
|
-
:
|
|
480
|
-
|
|
481
|
-
--color: theme("colors.primary.500");
|
|
482
|
-
}
|
|
421
|
+
--button-bg-color-hover: theme("colors.primary.200");
|
|
422
|
+
--color: theme("colors.primary.500");
|
|
483
423
|
|
|
484
424
|
:root .dark & {
|
|
485
425
|
--button-bg-color-hover: theme("colors.primary.900");
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
.uxf-color-radio-group {
|
|
2
2
|
&__option {
|
|
3
|
-
@apply is-disabled:pointer-events-none rounded-full outline-none focus-visible:ring-2 focus-visible:ring-
|
|
4
|
-
|
|
5
|
-
:root .light & {
|
|
6
|
-
@apply focus-visible:ring-[color:var(--option-color)] focus-visible:ring-offset-white;
|
|
7
|
-
}
|
|
3
|
+
@apply is-disabled:pointer-events-none rounded-full outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--option-color)]
|
|
4
|
+
focus-visible:ring-offset-2 focus-visible:ring-offset-white;
|
|
8
5
|
|
|
9
6
|
:root .dark & {
|
|
10
7
|
@apply focus-visible:ring-[color:var(--option-color)] focus-visible:ring-offset-gray-900;
|
package/css/color-radio.css
CHANGED
|
@@ -20,11 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&.is-disabled {
|
|
23
|
-
@apply after:rounded-inherit pointer-events-none after:absolute after:inset-0;
|
|
24
|
-
|
|
25
|
-
:root .light & {
|
|
26
|
-
@apply after:bg-white/50;
|
|
27
|
-
}
|
|
23
|
+
@apply after:rounded-inherit pointer-events-none after:absolute after:inset-0 after:bg-white/50;
|
|
28
24
|
|
|
29
25
|
:root .dark & {
|
|
30
26
|
@apply after:bg-black/50;
|
package/css/combobox.css
ADDED
package/css/date-picker.css
CHANGED
|
@@ -13,14 +13,12 @@
|
|
|
13
13
|
margin-bottom: theme("spacing.4");
|
|
14
14
|
|
|
15
15
|
&-title {
|
|
16
|
+
@apply text-lightMedium is-hoverable:text-lightHigh;
|
|
17
|
+
|
|
16
18
|
font-size: 14px;
|
|
17
19
|
font-weight: theme("fontWeight.medium");
|
|
18
20
|
text-align: center;
|
|
19
21
|
|
|
20
|
-
:root .light & {
|
|
21
|
-
@apply text-lightMedium is-hoverable:text-lightHigh;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
22
|
:root .dark & {
|
|
25
23
|
@apply text-darkMedium is-hoverable:text-darkHigh;
|
|
26
24
|
}
|
package/css/dialog.css
CHANGED
|
@@ -31,18 +31,15 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&__panel {
|
|
34
|
+
background-color: theme("colors.white");
|
|
34
35
|
border-top-left-radius: var(--panel-border-radius);
|
|
35
36
|
border-top-right-radius: var(--panel-border-radius);
|
|
37
|
+
color: theme("colors.black");
|
|
36
38
|
max-width: var(--panel-max-w);
|
|
37
39
|
overflow: hidden;
|
|
38
40
|
position: relative;
|
|
39
41
|
width: 100%;
|
|
40
42
|
|
|
41
|
-
:root .light & {
|
|
42
|
-
background-color: theme("colors.white");
|
|
43
|
-
color: theme("colors.black");
|
|
44
|
-
}
|
|
45
|
-
|
|
46
43
|
:root .dark & {
|
|
47
44
|
background-color: theme("colors.gray.900");
|
|
48
45
|
color: theme("colors.white");
|