@uxf/ui 10.0.0-beta.7 → 10.0.0-beta.74
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 +9 -1
- package/_select-base/_select-base.d.ts +1 -1
- package/_select-base/_select-base.js +4 -3
- package/alert-bubble/alert-bubble.d.ts +8 -0
- package/alert-bubble/alert-bubble.js +22 -0
- package/alert-bubble/alert-bubble.spec.d.ts +1 -0
- package/alert-bubble/alert-bubble.spec.js +9 -0
- package/alert-bubble/alert-bubble.stories.d.ts +7 -0
- package/alert-bubble/alert-bubble.stories.js +50 -0
- package/alert-bubble/index.d.ts +3 -0
- package/alert-bubble/index.js +5 -0
- package/alert-bubble/theme.d.ts +16 -0
- package/alert-bubble/theme.js +2 -0
- package/avatar-file-input/avatar-file-input.d.ts +3 -0
- package/avatar-file-input/avatar-file-input.js +10 -4
- package/avatar-file-input/avatar-file-input.stories.js +2 -2
- package/avatar-file-input/theme.d.ts +5 -0
- package/avatar-file-input/theme.js +2 -0
- package/button/theme.d.ts +1 -0
- package/calendar/calendar-day-cell.d.ts +3 -0
- package/calendar/calendar-day-cell.js +14 -14
- package/{date-picker/date-picker-navigation.d.ts → calendar/calendar-navigation.d.ts} +2 -3
- package/{date-picker/date-picker-navigation.js → calendar/calendar-navigation.js} +6 -6
- package/calendar/calendar-provider.js +1 -1
- package/calendar/calendar.d.ts +5 -0
- package/calendar/calendar.js +5 -8
- package/calendar/index.d.ts +4 -1
- package/calendar/index.js +5 -15
- package/chip/chip.js +6 -4
- package/chip/chip.stories.js +37 -28
- package/combobox/combobox.d.ts +1 -1
- package/combobox/combobox.stories.d.ts +2 -1
- package/combobox/combobox.stories.js +6 -2
- package/config/icons-config.d.ts +1 -1
- package/config/icons-config.js +1 -1
- package/config/icons.d.ts +13 -3
- package/config/icons.js +3 -1
- package/css/alert-bubble.css +100 -0
- package/css/avatar-file-input.css +54 -20
- package/css/avatar.css +3 -3
- package/css/badge.css +5 -5
- package/css/button-group.css +1 -1
- package/css/button-list.css +2 -2
- package/css/button.css +72 -26
- package/css/calendar.css +115 -51
- package/css/checkbox-button.css +8 -8
- package/css/checkbox.css +9 -9
- package/css/chip.css +217 -318
- package/css/color-radio-group.css +1 -1
- package/css/color-radio.css +3 -3
- package/css/component-structure-analyzer.css +12 -12
- package/css/date-picker.css +10 -3
- package/css/date-range-picker.css +21 -0
- package/css/datetime-picker.css +2 -2
- package/css/dialog.css +55 -0
- package/css/dropdown.css +10 -2
- package/css/dropzone.css +7 -7
- package/css/error-message.css +1 -1
- package/css/file-input.css +2 -2
- package/css/flash-messages.css +133 -9
- package/css/icon.css +1 -1
- package/css/image-gallery.css +7 -7
- package/css/input-with-popover.css +1 -1
- package/css/input.css +8 -8
- package/css/layout.css +4 -4
- package/css/list-item.css +2 -2
- package/css/message.css +92 -0
- package/css/modal.css +10 -54
- package/css/multi-combobox.css +10 -10
- package/css/pagination.css +14 -14
- package/css/paper.css +1 -1
- package/css/radio-group.css +3 -3
- package/css/radio.css +7 -7
- package/css/raster-image.css +1 -1
- package/css/select-base.css +1 -1
- package/css/tabs.css +13 -13
- package/css/text-link.css +4 -4
- package/css/textarea.css +68 -76
- package/css/time-picker.css +12 -16
- package/css/toggle.css +1 -1
- package/css/tooltip.css +2 -2
- package/date-picker/date-picker-decade.js +6 -6
- package/date-picker/date-picker-month.js +6 -6
- package/date-picker/date-picker-year.js +2 -2
- package/date-picker/date-picker.d.ts +2 -0
- package/date-picker/date-picker.js +2 -0
- package/date-picker-input/date-picker-input.d.ts +1 -0
- package/date-picker-input/date-picker-input.js +3 -1
- package/date-range-picker/date-range-picker-content.d.ts +2 -0
- package/date-range-picker/date-range-picker-content.js +55 -0
- package/date-range-picker/date-range-picker-decade.d.ts +6 -0
- package/date-range-picker/date-range-picker-decade.js +72 -0
- package/date-range-picker/date-range-picker-month.d.ts +8 -0
- package/date-range-picker/date-range-picker-month.js +69 -0
- package/date-range-picker/date-range-picker-year.d.ts +7 -0
- package/date-range-picker/date-range-picker-year.js +80 -0
- package/date-range-picker/date-range-picker.d.ts +10 -0
- package/date-range-picker/date-range-picker.js +51 -0
- package/date-range-picker/date-range-picker.spec.d.ts +1 -0
- package/date-range-picker/date-range-picker.spec.js +9 -0
- package/date-range-picker/date-range-picker.stories.d.ts +7 -0
- package/date-range-picker/date-range-picker.stories.js +43 -0
- package/date-range-picker/index.d.ts +3 -0
- package/date-range-picker/index.js +5 -0
- package/date-range-picker/types.d.ts +5 -0
- package/date-range-picker/types.js +2 -0
- package/date-range-picker-input/date-range-picker-input.d.ts +16 -0
- package/date-range-picker-input/date-range-picker-input.js +62 -0
- package/date-range-picker-input/date-range-picker-input.spec.d.ts +1 -0
- package/date-range-picker-input/date-range-picker-input.spec.js +9 -0
- package/date-range-picker-input/date-range-picker-input.stories.d.ts +10 -0
- package/date-range-picker-input/date-range-picker-input.stories.js +53 -0
- package/date-range-picker-input/index.d.ts +2 -0
- package/date-range-picker-input/index.js +5 -0
- package/datetime-picker/datetime-picker.d.ts +1 -0
- package/datetime-picker/datetime-picker.js +2 -2
- package/datetime-picker-input/datetime-picker-input.d.ts +1 -0
- package/datetime-picker-input/datetime-picker-input.js +3 -1
- package/dialog/dialog.d.ts +9 -0
- package/{modal/modal-dialog.js → dialog/dialog.js} +8 -9
- package/dialog/dialog.spec.d.ts +1 -0
- package/dialog/dialog.spec.js +9 -0
- package/dialog/dialog.stories.d.ts +7 -0
- package/dialog/dialog.stories.js +47 -0
- package/dialog/index.d.ts +2 -0
- package/dialog/index.js +5 -0
- package/dropzone/dropzone-input.js +10 -6
- package/file-input/file-input.d.ts +3 -0
- package/file-input/file-input.js +5 -5
- package/flash-messages/flash-message.js +1 -1
- package/flash-messages/flash-messages.js +44 -10
- package/flash-messages/flash-messages.stories.js +12 -0
- package/image-gallery/components/close-button.d.ts +2 -1
- package/image-gallery/components/close-button.js +2 -3
- package/image-gallery/components/gallery.d.ts +4 -1
- package/image-gallery/components/gallery.js +5 -4
- package/image-gallery/components/next-button.d.ts +7 -0
- package/image-gallery/components/next-button.js +14 -0
- package/image-gallery/components/prev-button.d.ts +7 -0
- package/image-gallery/components/prev-button.js +14 -0
- package/image-gallery/image-gallery.d.ts +4 -1
- package/image-gallery/image-gallery.js +1 -1
- package/image-gallery/image-gallery.stories.js +5 -1
- package/message/index.d.ts +3 -0
- package/message/index.js +7 -0
- package/message/message-content.d.ts +17 -0
- package/message/message-content.js +41 -0
- package/message/message-service.d.ts +13 -0
- package/message/message-service.js +29 -0
- package/message/message.d.ts +20 -0
- package/message/message.js +47 -0
- package/message/message.spec.d.ts +1 -0
- package/message/message.spec.js +9 -0
- package/message/message.stories.d.ts +7 -0
- package/message/message.stories.js +82 -0
- package/message/theme.d.ts +12 -0
- package/message/theme.js +2 -0
- package/modal/index.d.ts +2 -1
- package/modal/index.js +3 -3
- package/modal/modal.d.ts +5 -4
- package/modal/modal.js +9 -9
- package/modal/modal.stories.js +12 -0
- package/modal/theme.d.ts +3 -0
- package/multi-combobox/_multi-combobox-base.js +9 -3
- package/multi-combobox/multi-combobox.stories.js +6 -3
- package/multi-combobox/types.d.ts +4 -0
- package/multi-select/_multi-select-base.js +2 -2
- package/multi-select/multi-select.stories.js +5 -2
- package/package.json +10 -8
- package/radio-group/index.d.ts +1 -1
- package/radio-group/radio-group.d.ts +3 -3
- package/radio-group/radio-group.js +2 -2
- package/radio-group/radio-group.stories.js +4 -4
- package/raster-image/raster-image.js +1 -1
- package/select/select.d.ts +1 -1
- package/select/select.stories.d.ts +2 -1
- package/select/select.stories.js +8 -2
- package/textarea/textarea.js +5 -5
- package/time-picker/time-picker-hour.js +3 -3
- package/time-picker/time-picker-hours.js +1 -1
- package/time-picker/time-picker-minute.js +3 -3
- package/time-picker/time-picker-minutes.js +1 -1
- package/time-picker/time-picker.d.ts +1 -0
- package/time-picker/time-picker.js +3 -2
- package/time-picker-input/time-picker-input.js +3 -1
- package/tooltip/tooltip.js +20 -18
- package/utils/icons-config.js +13 -3
- package/utils/mocks/uploadFIle.mock.js +1 -1
- package/utils/storybook-config.d.ts +11 -1
- package/utils/storybook-config.js +9 -1
- package/utils/tailwind-config.js +8 -0
- package/image-gallery/components/arrow-button.d.ts +0 -7
- package/image-gallery/components/arrow-button.js +0 -14
- package/modal/modal-dialog.d.ts +0 -11
package/css/chip.css
CHANGED
|
@@ -1,590 +1,489 @@
|
|
|
1
1
|
.uxf-chip {
|
|
2
|
-
|
|
2
|
+
--button-bg-color-hover: transparent;
|
|
3
|
+
--spacing-y: calc((var(--h) - var(--button-size)) / 2);
|
|
4
|
+
--spacing-x: theme("spacing.2");
|
|
5
|
+
|
|
6
|
+
align-items: center;
|
|
7
|
+
background-color: var(--bg-color);
|
|
8
|
+
border-radius: theme("borderRadius.lg");
|
|
9
|
+
color: var(--color);
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
height: var(--h);
|
|
12
|
+
max-width: 100%;
|
|
13
|
+
padding: 0 var(--spacing-x);
|
|
3
14
|
|
|
4
15
|
&.has-button {
|
|
5
|
-
|
|
16
|
+
padding-right: var(--spacing-y);
|
|
6
17
|
}
|
|
7
18
|
|
|
8
19
|
&--size-default {
|
|
9
|
-
|
|
20
|
+
--button-border-radius: var(--spacing-y);
|
|
21
|
+
--button-size: 16px;
|
|
22
|
+
--h: 24px;
|
|
10
23
|
|
|
11
|
-
|
|
12
|
-
@apply h-4 w-4;
|
|
13
|
-
}
|
|
24
|
+
@apply text-sm;
|
|
14
25
|
}
|
|
15
26
|
|
|
16
27
|
&--size-small {
|
|
17
|
-
|
|
28
|
+
--button-border-radius: 999px;
|
|
29
|
+
--button-size: 16px;
|
|
30
|
+
--h: 20px;
|
|
18
31
|
|
|
19
|
-
|
|
20
|
-
@apply h-4 w-4;
|
|
21
|
-
}
|
|
32
|
+
@apply text-xs;
|
|
22
33
|
}
|
|
23
34
|
|
|
24
35
|
&--size-large {
|
|
25
|
-
|
|
36
|
+
--button-border-radius: var(--spacing-y);
|
|
37
|
+
--button-size: 20px;
|
|
38
|
+
--h: 28px;
|
|
26
39
|
|
|
27
|
-
|
|
28
|
-
@apply h-4 w-4;
|
|
29
|
-
}
|
|
40
|
+
@apply text-base;
|
|
30
41
|
}
|
|
31
42
|
|
|
32
43
|
&__text {
|
|
33
44
|
@apply truncate;
|
|
45
|
+
|
|
46
|
+
letter-spacing: -0.02em;
|
|
34
47
|
}
|
|
35
48
|
|
|
36
49
|
&__button {
|
|
37
|
-
|
|
50
|
+
align-items: center;
|
|
51
|
+
border-radius: var(--button-border-radius);
|
|
52
|
+
display: inline-flex;
|
|
53
|
+
flex-shrink: 0;
|
|
54
|
+
height: var(--button-size);
|
|
55
|
+
justify-content: center;
|
|
56
|
+
margin-left: calc(var(--spacing-y) / 2);
|
|
57
|
+
text-align: center;
|
|
58
|
+
width: var(--button-size);
|
|
38
59
|
|
|
39
|
-
|
|
40
|
-
@apply
|
|
60
|
+
&-label {
|
|
61
|
+
@apply sr-only;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&-icon {
|
|
65
|
+
height: 8px;
|
|
66
|
+
width: 8px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:hover {
|
|
70
|
+
background-color: var(--button-bg-color-hover);
|
|
71
|
+
color: var(--button-color-hover);
|
|
41
72
|
}
|
|
42
73
|
}
|
|
43
74
|
|
|
44
75
|
&--variant-default {
|
|
76
|
+
--button-color-hover: var(--color);
|
|
77
|
+
|
|
45
78
|
&.uxf-chip--color-orange {
|
|
46
79
|
:root .light & {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
.
|
|
50
|
-
@apply hover:bg-orange-200;
|
|
51
|
-
}
|
|
80
|
+
--bg-color: theme("colors.orange.500");
|
|
81
|
+
--button-bg-color-hover: theme("colors.orange.700");
|
|
82
|
+
--color: theme("colors.white");
|
|
52
83
|
}
|
|
53
84
|
|
|
54
85
|
:root .dark & {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.
|
|
58
|
-
@apply hover:bg-orange-800;
|
|
59
|
-
}
|
|
86
|
+
--bg-color: theme("colors.orange.700");
|
|
87
|
+
--button-bg-color-hover: theme("colors.orange.900");
|
|
88
|
+
--color: theme("colors.orange.100");
|
|
60
89
|
}
|
|
61
90
|
}
|
|
62
91
|
|
|
63
92
|
&.uxf-chip--color-red {
|
|
64
93
|
:root .light & {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
.
|
|
68
|
-
@apply hover:bg-red-200;
|
|
69
|
-
}
|
|
94
|
+
--bg-color: theme("colors.red.500");
|
|
95
|
+
--button-bg-color-hover: theme("colors.red.700");
|
|
96
|
+
--color: theme("colors.white");
|
|
70
97
|
}
|
|
71
98
|
|
|
72
99
|
:root .dark & {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
.
|
|
76
|
-
@apply hover:bg-red-800;
|
|
77
|
-
}
|
|
100
|
+
--bg-color: theme("colors.red.700");
|
|
101
|
+
--button-bg-color-hover: theme("colors.red.900");
|
|
102
|
+
--color: theme("colors.red.100");
|
|
78
103
|
}
|
|
79
104
|
}
|
|
80
105
|
|
|
81
106
|
&.uxf-chip--color-yellow {
|
|
82
107
|
:root .light & {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
.
|
|
86
|
-
@apply hover:bg-yellow-200;
|
|
87
|
-
}
|
|
108
|
+
--bg-color: theme("colors.yellow.500");
|
|
109
|
+
--button-bg-color-hover: theme("colors.yellow.700");
|
|
110
|
+
--color: theme("colors.white");
|
|
88
111
|
}
|
|
89
112
|
|
|
90
113
|
:root .dark & {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.
|
|
94
|
-
@apply hover:bg-yellow-800;
|
|
95
|
-
}
|
|
114
|
+
--bg-color: theme("colors.yellow.700");
|
|
115
|
+
--button-bg-color-hover: theme("colors.yellow.900");
|
|
116
|
+
--color: theme("colors.yellow.100");
|
|
96
117
|
}
|
|
97
118
|
}
|
|
98
119
|
|
|
99
120
|
&.uxf-chip--color-pink {
|
|
100
121
|
:root .light & {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
.
|
|
104
|
-
@apply hover:bg-pink-200;
|
|
105
|
-
}
|
|
122
|
+
--bg-color: theme("colors.pink.500");
|
|
123
|
+
--button-bg-color-hover: theme("colors.pink.700");
|
|
124
|
+
--color: theme("colors.white");
|
|
106
125
|
}
|
|
107
126
|
|
|
108
127
|
:root .dark & {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
.
|
|
112
|
-
@apply hover:bg-pink-800;
|
|
113
|
-
}
|
|
128
|
+
--bg-color: theme("colors.pink.700");
|
|
129
|
+
--button-bg-color-hover: theme("colors.pink.900");
|
|
130
|
+
--color: theme("colors.pink.100");
|
|
114
131
|
}
|
|
115
132
|
}
|
|
116
133
|
|
|
117
134
|
&.uxf-chip--color-purple {
|
|
118
135
|
:root .light & {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
.
|
|
122
|
-
@apply hover:bg-purple-200;
|
|
123
|
-
}
|
|
136
|
+
--bg-color: theme("colors.purple.500");
|
|
137
|
+
--button-bg-color-hover: theme("colors.purple.700");
|
|
138
|
+
--color: theme("colors.white");
|
|
124
139
|
}
|
|
125
140
|
|
|
126
141
|
:root .dark & {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
.
|
|
130
|
-
@apply hover:bg-purple-800;
|
|
131
|
-
}
|
|
142
|
+
--bg-color: theme("colors.purple.700");
|
|
143
|
+
--button-bg-color-hover: theme("colors.purple.900");
|
|
144
|
+
--color: theme("colors.purple.100");
|
|
132
145
|
}
|
|
133
146
|
}
|
|
134
147
|
|
|
135
148
|
&.uxf-chip--color-indigo {
|
|
136
149
|
:root .light & {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
.
|
|
140
|
-
@apply hover:bg-indigo-200;
|
|
141
|
-
}
|
|
150
|
+
--bg-color: theme("colors.indigo.500");
|
|
151
|
+
--button-bg-color-hover: theme("colors.indigo.700");
|
|
152
|
+
--color: theme("colors.white");
|
|
142
153
|
}
|
|
143
154
|
|
|
144
155
|
:root .dark & {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
.
|
|
148
|
-
@apply hover:bg-indigo-800;
|
|
149
|
-
}
|
|
156
|
+
--bg-color: theme("colors.indigo.700");
|
|
157
|
+
--button-bg-color-hover: theme("colors.indigo.900");
|
|
158
|
+
--color: theme("colors.indigo.100");
|
|
150
159
|
}
|
|
151
160
|
}
|
|
152
161
|
|
|
153
162
|
&.uxf-chip--color-green {
|
|
154
163
|
:root .light & {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
.
|
|
158
|
-
@apply hover:bg-green-200;
|
|
159
|
-
}
|
|
164
|
+
--bg-color: theme("colors.green.500");
|
|
165
|
+
--button-bg-color-hover: theme("colors.green.700");
|
|
166
|
+
--color: theme("colors.white");
|
|
160
167
|
}
|
|
161
168
|
|
|
162
169
|
:root .dark & {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
.
|
|
166
|
-
@apply hover:bg-green-800;
|
|
167
|
-
}
|
|
170
|
+
--bg-color: theme("colors.green.700");
|
|
171
|
+
--button-bg-color-hover: theme("colors.green.900");
|
|
172
|
+
--color: theme("colors.green.100");
|
|
168
173
|
}
|
|
169
174
|
}
|
|
170
175
|
|
|
171
176
|
&.uxf-chip--color-blue {
|
|
172
177
|
:root .light & {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
.
|
|
176
|
-
@apply hover:bg-blue-200;
|
|
177
|
-
}
|
|
178
|
+
--bg-color: theme("colors.blue.500");
|
|
179
|
+
--button-bg-color-hover: theme("colors.blue.700");
|
|
180
|
+
--color: theme("colors.white");
|
|
178
181
|
}
|
|
179
182
|
|
|
180
183
|
:root .dark & {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
.
|
|
184
|
-
@apply hover:bg-blue-800;
|
|
185
|
-
}
|
|
184
|
+
--bg-color: theme("colors.blue.700");
|
|
185
|
+
--button-bg-color-hover: theme("colors.blue.900");
|
|
186
|
+
--color: theme("colors.blue.100");
|
|
186
187
|
}
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
&.uxf-chip--color-default {
|
|
190
191
|
:root .light & {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
.
|
|
194
|
-
@apply hover:bg-gray-200;
|
|
195
|
-
}
|
|
192
|
+
--bg-color: theme("colors.gray.500");
|
|
193
|
+
--button-bg-color-hover: theme("colors.gray.700");
|
|
194
|
+
--color: theme("colors.white");
|
|
196
195
|
}
|
|
197
196
|
|
|
198
197
|
:root .dark & {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
.
|
|
202
|
-
@apply hover:bg-gray-800;
|
|
203
|
-
}
|
|
198
|
+
--bg-color: theme("colors.gray.700");
|
|
199
|
+
--button-bg-color-hover: theme("colors.gray.900");
|
|
200
|
+
--color: theme("colors.gray.100");
|
|
204
201
|
}
|
|
205
202
|
}
|
|
206
203
|
|
|
207
204
|
&.uxf-chip--color-primary {
|
|
208
205
|
:root .light & {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
.
|
|
212
|
-
@apply hover:bg-primary-200;
|
|
213
|
-
}
|
|
206
|
+
--bg-color: theme("colors.primary.500");
|
|
207
|
+
--button-bg-color-hover: theme("colors.primary.700");
|
|
208
|
+
--color: theme("colors.white");
|
|
214
209
|
}
|
|
215
210
|
|
|
216
211
|
:root .dark & {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
.
|
|
220
|
-
@apply hover:bg-primary-800;
|
|
221
|
-
}
|
|
212
|
+
--bg-color: theme("colors.primary.700");
|
|
213
|
+
--button-bg-color-hover: theme("colors.primary.900");
|
|
214
|
+
--color: theme("colors.primary.100");
|
|
222
215
|
}
|
|
223
216
|
}
|
|
224
217
|
}
|
|
225
218
|
|
|
226
219
|
&--variant-medium {
|
|
220
|
+
--button-color-hover: var(--color);
|
|
221
|
+
|
|
227
222
|
&.uxf-chip--color-orange {
|
|
228
223
|
:root .light & {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
.
|
|
232
|
-
@apply hover:bg-orange-200;
|
|
233
|
-
}
|
|
224
|
+
--bg-color: theme("colors.orange.100");
|
|
225
|
+
--button-bg-color-hover: theme("colors.orange.300");
|
|
226
|
+
--color: theme("colors.orange.700");
|
|
234
227
|
}
|
|
235
228
|
|
|
236
229
|
:root .dark & {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
.
|
|
240
|
-
@apply hover:bg-orange-800;
|
|
241
|
-
}
|
|
230
|
+
--bg-color: theme("colors.orange.400");
|
|
231
|
+
--button-bg-color-hover: theme("colors.orange.500");
|
|
232
|
+
--color: theme("colors.lightHigh");
|
|
242
233
|
}
|
|
243
234
|
}
|
|
244
235
|
|
|
245
236
|
&.uxf-chip--color-red {
|
|
246
237
|
:root .light & {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
.
|
|
250
|
-
@apply hover:bg-red-200;
|
|
251
|
-
}
|
|
238
|
+
--bg-color: theme("colors.red.100");
|
|
239
|
+
--button-bg-color-hover: theme("colors.red.300");
|
|
240
|
+
--color: theme("colors.red.700");
|
|
252
241
|
}
|
|
253
242
|
|
|
254
243
|
:root .dark & {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
.
|
|
258
|
-
@apply hover:bg-red-800;
|
|
259
|
-
}
|
|
244
|
+
--bg-color: theme("colors.red.400");
|
|
245
|
+
--button-bg-color-hover: theme("colors.red.500");
|
|
246
|
+
--color: theme("colors.lightHigh");
|
|
260
247
|
}
|
|
261
248
|
}
|
|
262
249
|
|
|
263
250
|
&.uxf-chip--color-yellow {
|
|
264
251
|
:root .light & {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
.
|
|
268
|
-
@apply hover:bg-yellow-200;
|
|
269
|
-
}
|
|
252
|
+
--bg-color: theme("colors.yellow.100");
|
|
253
|
+
--button-bg-color-hover: theme("colors.yellow.300");
|
|
254
|
+
--color: theme("colors.yellow.700");
|
|
270
255
|
}
|
|
271
256
|
|
|
272
257
|
:root .dark & {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
.
|
|
276
|
-
@apply hover:bg-yellow-800;
|
|
277
|
-
}
|
|
258
|
+
--bg-color: theme("colors.yellow.400");
|
|
259
|
+
--button-bg-color-hover: theme("colors.yellow.500");
|
|
260
|
+
--color: theme("colors.lightHigh");
|
|
278
261
|
}
|
|
279
262
|
}
|
|
280
263
|
|
|
281
264
|
&.uxf-chip--color-pink {
|
|
282
265
|
:root .light & {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
.
|
|
286
|
-
@apply hover:bg-pink-200;
|
|
287
|
-
}
|
|
266
|
+
--bg-color: theme("colors.pink.100");
|
|
267
|
+
--button-bg-color-hover: theme("colors.pink.300");
|
|
268
|
+
--color: theme("colors.pink.700");
|
|
288
269
|
}
|
|
289
270
|
|
|
290
271
|
:root .dark & {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
.
|
|
294
|
-
@apply hover:bg-pink-800;
|
|
295
|
-
}
|
|
272
|
+
--bg-color: theme("colors.pink.400");
|
|
273
|
+
--button-bg-color-hover: theme("colors.pink.500");
|
|
274
|
+
--color: theme("colors.lightHigh");
|
|
296
275
|
}
|
|
297
276
|
}
|
|
298
277
|
|
|
299
278
|
&.uxf-chip--color-purple {
|
|
300
279
|
:root .light & {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
.
|
|
304
|
-
@apply hover:bg-purple-200;
|
|
305
|
-
}
|
|
280
|
+
--bg-color: theme("colors.purple.100");
|
|
281
|
+
--button-bg-color-hover: theme("colors.purple.300");
|
|
282
|
+
--color: theme("colors.purple.700");
|
|
306
283
|
}
|
|
307
284
|
|
|
308
285
|
:root .dark & {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
.
|
|
312
|
-
@apply hover:bg-purple-800;
|
|
313
|
-
}
|
|
286
|
+
--bg-color: theme("colors.purple.400");
|
|
287
|
+
--button-bg-color-hover: theme("colors.purple.500");
|
|
288
|
+
--color: theme("colors.lightHigh");
|
|
314
289
|
}
|
|
315
290
|
}
|
|
316
291
|
|
|
317
292
|
&.uxf-chip--color-indigo {
|
|
318
293
|
:root .light & {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
.
|
|
322
|
-
@apply hover:bg-indigo-200;
|
|
323
|
-
}
|
|
294
|
+
--bg-color: theme("colors.indigo.100");
|
|
295
|
+
--button-bg-color-hover: theme("colors.indigo.300");
|
|
296
|
+
--color: theme("colors.indigo.700");
|
|
324
297
|
}
|
|
325
298
|
|
|
326
299
|
:root .dark & {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
.
|
|
330
|
-
@apply hover:bg-indigo-800;
|
|
331
|
-
}
|
|
300
|
+
--bg-color: theme("colors.indigo.400");
|
|
301
|
+
--button-bg-color-hover: theme("colors.indigo.500");
|
|
302
|
+
--color: theme("colors.lightHigh");
|
|
332
303
|
}
|
|
333
304
|
}
|
|
334
305
|
|
|
335
306
|
&.uxf-chip--color-green {
|
|
336
307
|
:root .light & {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
.
|
|
340
|
-
@apply hover:bg-green-200;
|
|
341
|
-
}
|
|
308
|
+
--bg-color: theme("colors.green.100");
|
|
309
|
+
--button-bg-color-hover: theme("colors.green.300");
|
|
310
|
+
--color: theme("colors.green.700");
|
|
342
311
|
}
|
|
343
312
|
|
|
344
313
|
:root .dark & {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
.
|
|
348
|
-
@apply hover:bg-green-800;
|
|
349
|
-
}
|
|
314
|
+
--bg-color: theme("colors.green.400");
|
|
315
|
+
--button-bg-color-hover: theme("colors.green.500");
|
|
316
|
+
--color: theme("colors.lightHigh");
|
|
350
317
|
}
|
|
351
318
|
}
|
|
352
319
|
|
|
353
320
|
&.uxf-chip--color-blue {
|
|
354
321
|
:root .light & {
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
.
|
|
358
|
-
@apply hover:bg-blue-200;
|
|
359
|
-
}
|
|
322
|
+
--bg-color: theme("colors.blue.100");
|
|
323
|
+
--button-bg-color-hover: theme("colors.blue.300");
|
|
324
|
+
--color: theme("colors.blue.700");
|
|
360
325
|
}
|
|
361
326
|
|
|
362
327
|
:root .dark & {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
.
|
|
366
|
-
@apply hover:bg-blue-800;
|
|
367
|
-
}
|
|
328
|
+
--bg-color: theme("colors.blue.400");
|
|
329
|
+
--button-bg-color-hover: theme("colors.blue.500");
|
|
330
|
+
--color: theme("colors.lightHigh");
|
|
368
331
|
}
|
|
369
332
|
}
|
|
370
333
|
|
|
371
334
|
&.uxf-chip--color-default {
|
|
372
335
|
:root .light & {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
.
|
|
376
|
-
@apply hover:bg-gray-200;
|
|
377
|
-
}
|
|
336
|
+
--bg-color: theme("colors.gray.100");
|
|
337
|
+
--button-bg-color-hover: theme("colors.gray.300");
|
|
338
|
+
--color: theme("colors.gray.700");
|
|
378
339
|
}
|
|
379
340
|
|
|
380
341
|
:root .dark & {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
.
|
|
384
|
-
@apply hover:bg-gray-800;
|
|
385
|
-
}
|
|
342
|
+
--bg-color: theme("colors.gray.400");
|
|
343
|
+
--button-bg-color-hover: theme("colors.gray.500");
|
|
344
|
+
--color: theme("colors.lightHigh");
|
|
386
345
|
}
|
|
387
346
|
}
|
|
388
347
|
|
|
389
348
|
&.uxf-chip--color-primary {
|
|
390
349
|
:root .light & {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
.
|
|
394
|
-
@apply hover:bg-primary-200;
|
|
395
|
-
}
|
|
350
|
+
--bg-color: theme("colors.primary.100");
|
|
351
|
+
--button-bg-color-hover: theme("colors.primary.300");
|
|
352
|
+
--color: theme("colors.primary.700");
|
|
396
353
|
}
|
|
397
354
|
|
|
398
355
|
:root .dark & {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
.
|
|
402
|
-
@apply hover:bg-primary-800;
|
|
403
|
-
}
|
|
356
|
+
--bg-color: theme("colors.primary.400");
|
|
357
|
+
--button-bg-color-hover: theme("colors.primary.500");
|
|
358
|
+
--color: theme("colors.lightHigh");
|
|
404
359
|
}
|
|
405
360
|
}
|
|
406
361
|
}
|
|
407
362
|
|
|
408
363
|
&--variant-low {
|
|
409
|
-
|
|
364
|
+
--bg-color: transparent;
|
|
365
|
+
--button-color-hover: var(--color);
|
|
366
|
+
--spacing-x: calc(theme("spacing.2") - 1px);
|
|
367
|
+
|
|
368
|
+
border: 1px solid var(--color);
|
|
410
369
|
|
|
411
370
|
&.uxf-chip--color-orange {
|
|
412
371
|
:root .light & {
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
.uxf-chip__button {
|
|
416
|
-
@apply hover:bg-orange-200;
|
|
417
|
-
}
|
|
372
|
+
--button-bg-color-hover: theme("colors.orange.200");
|
|
373
|
+
--color: theme("colors.orange.500");
|
|
418
374
|
}
|
|
419
375
|
|
|
420
376
|
:root .dark & {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
.uxf-chip__button {
|
|
424
|
-
@apply hover:bg-orange-800;
|
|
425
|
-
}
|
|
377
|
+
--button-bg-color-hover: theme("colors.orange.900");
|
|
378
|
+
--color: theme("colors.orange.400");
|
|
426
379
|
}
|
|
427
380
|
}
|
|
428
381
|
|
|
429
382
|
&.uxf-chip--color-red {
|
|
430
383
|
:root .light & {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
.uxf-chip__button {
|
|
434
|
-
@apply hover:bg-red-200;
|
|
435
|
-
}
|
|
384
|
+
--button-bg-color-hover: theme("colors.red.200");
|
|
385
|
+
--color: theme("colors.red.500");
|
|
436
386
|
}
|
|
437
387
|
|
|
438
388
|
:root .dark & {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
.uxf-chip__button {
|
|
442
|
-
@apply hover:bg-red-800;
|
|
443
|
-
}
|
|
389
|
+
--button-bg-color-hover: theme("colors.red.900");
|
|
390
|
+
--color: theme("colors.red.400");
|
|
444
391
|
}
|
|
445
392
|
}
|
|
446
393
|
|
|
447
394
|
&.uxf-chip--color-yellow {
|
|
448
395
|
:root .light & {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
.uxf-chip__button {
|
|
452
|
-
@apply hover:bg-yellow-200;
|
|
453
|
-
}
|
|
396
|
+
--button-bg-color-hover: theme("colors.yellow.200");
|
|
397
|
+
--color: theme("colors.yellow.500");
|
|
454
398
|
}
|
|
455
399
|
|
|
456
400
|
:root .dark & {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
.uxf-chip__button {
|
|
460
|
-
@apply hover:bg-yellow-800;
|
|
461
|
-
}
|
|
401
|
+
--button-bg-color-hover: theme("colors.yellow.900");
|
|
402
|
+
--color: theme("colors.yellow.400");
|
|
462
403
|
}
|
|
463
404
|
}
|
|
464
405
|
|
|
465
406
|
&.uxf-chip--color-pink {
|
|
466
407
|
:root .light & {
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
.uxf-chip__button {
|
|
470
|
-
@apply hover:bg-pink-200;
|
|
471
|
-
}
|
|
408
|
+
--button-bg-color-hover: theme("colors.pink.200");
|
|
409
|
+
--color: theme("colors.pink.500");
|
|
472
410
|
}
|
|
473
411
|
|
|
474
412
|
:root .dark & {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
.uxf-chip__button {
|
|
478
|
-
@apply hover:bg-pink-800;
|
|
479
|
-
}
|
|
413
|
+
--button-bg-color-hover: theme("colors.pink.900");
|
|
414
|
+
--color: theme("colors.pink.400");
|
|
480
415
|
}
|
|
481
416
|
}
|
|
482
417
|
|
|
483
418
|
&.uxf-chip--color-purple {
|
|
484
419
|
:root .light & {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
.uxf-chip__button {
|
|
488
|
-
@apply hover:bg-purple-200;
|
|
489
|
-
}
|
|
420
|
+
--button-bg-color-hover: theme("colors.purple.200");
|
|
421
|
+
--color: theme("colors.purple.500");
|
|
490
422
|
}
|
|
491
423
|
|
|
492
424
|
:root .dark & {
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
.uxf-chip__button {
|
|
496
|
-
@apply hover:bg-purple-800;
|
|
497
|
-
}
|
|
425
|
+
--button-bg-color-hover: theme("colors.purple.900");
|
|
426
|
+
--color: theme("colors.purple.400");
|
|
498
427
|
}
|
|
499
428
|
}
|
|
500
429
|
|
|
501
430
|
&.uxf-chip--color-indigo {
|
|
502
431
|
:root .light & {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
.uxf-chip__button {
|
|
506
|
-
@apply hover:bg-indigo-200;
|
|
507
|
-
}
|
|
432
|
+
--button-bg-color-hover: theme("colors.indigo.200");
|
|
433
|
+
--color: theme("colors.indigo.500");
|
|
508
434
|
}
|
|
509
435
|
|
|
510
436
|
:root .dark & {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
.uxf-chip__button {
|
|
514
|
-
@apply hover:bg-indigo-800;
|
|
515
|
-
}
|
|
437
|
+
--button-bg-color-hover: theme("colors.indigo.900");
|
|
438
|
+
--color: theme("colors.indigo.400");
|
|
516
439
|
}
|
|
517
440
|
}
|
|
518
441
|
|
|
519
442
|
&.uxf-chip--color-green {
|
|
520
443
|
:root .light & {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
.uxf-chip__button {
|
|
524
|
-
@apply hover:bg-green-200;
|
|
525
|
-
}
|
|
444
|
+
--button-bg-color-hover: theme("colors.green.200");
|
|
445
|
+
--color: theme("colors.green.500");
|
|
526
446
|
}
|
|
527
447
|
|
|
528
448
|
:root .dark & {
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
.uxf-chip__button {
|
|
532
|
-
@apply hover:bg-green-800;
|
|
533
|
-
}
|
|
449
|
+
--button-bg-color-hover: theme("colors.green.900");
|
|
450
|
+
--color: theme("colors.green.400");
|
|
534
451
|
}
|
|
535
452
|
}
|
|
536
453
|
|
|
537
454
|
&.uxf-chip--color-blue {
|
|
538
455
|
:root .light & {
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
.uxf-chip__button {
|
|
542
|
-
@apply hover:bg-blue-200;
|
|
543
|
-
}
|
|
456
|
+
--button-bg-color-hover: theme("colors.blue.200");
|
|
457
|
+
--color: theme("colors.blue.500");
|
|
544
458
|
}
|
|
545
459
|
|
|
546
460
|
:root .dark & {
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
.uxf-chip__button {
|
|
550
|
-
@apply hover:bg-blue-800;
|
|
551
|
-
}
|
|
461
|
+
--button-bg-color-hover: theme("colors.blue.900");
|
|
462
|
+
--color: theme("colors.blue.400");
|
|
552
463
|
}
|
|
553
464
|
}
|
|
554
465
|
|
|
555
466
|
&.uxf-chip--color-default {
|
|
556
467
|
:root .light & {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
.uxf-chip__button {
|
|
560
|
-
@apply hover:bg-gray-200;
|
|
561
|
-
}
|
|
468
|
+
--button-bg-color-hover: theme("colors.gray.200");
|
|
469
|
+
--color: theme("colors.gray.500");
|
|
562
470
|
}
|
|
563
471
|
|
|
564
472
|
:root .dark & {
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
.uxf-chip__button {
|
|
568
|
-
@apply hover:bg-gray-800;
|
|
569
|
-
}
|
|
473
|
+
--button-bg-color-hover: theme("colors.gray.900");
|
|
474
|
+
--color: theme("colors.gray.400");
|
|
570
475
|
}
|
|
571
476
|
}
|
|
572
477
|
|
|
573
478
|
&.uxf-chip--color-primary {
|
|
574
479
|
:root .light & {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
.uxf-chip__button {
|
|
578
|
-
@apply hover:bg-primary-200;
|
|
579
|
-
}
|
|
480
|
+
--button-bg-color-hover: theme("colors.primary.200");
|
|
481
|
+
--color: theme("colors.primary.500");
|
|
580
482
|
}
|
|
581
483
|
|
|
582
484
|
:root .dark & {
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
.uxf-chip__button {
|
|
586
|
-
@apply hover:bg-primary-800;
|
|
587
|
-
}
|
|
485
|
+
--button-bg-color-hover: theme("colors.primary.900");
|
|
486
|
+
--color: theme("colors.primary.400");
|
|
588
487
|
}
|
|
589
488
|
}
|
|
590
489
|
}
|