@shuriken-ui/tailwind 3.1.3 → 4.0.0-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +41 -90
- package/src/css/accordion.css +175 -0
- package/src/css/autocomplete.css +511 -0
- package/src/css/avatar-group.css +138 -0
- package/src/css/avatar.css +738 -0
- package/src/css/breadcrumb.css +63 -0
- package/src/css/button-action.css +108 -0
- package/src/css/button-close.css +117 -0
- package/src/css/button-group.css +236 -0
- package/src/css/button-icon.css +97 -0
- package/src/css/button.css +565 -0
- package/src/css/card.css +69 -0
- package/src/css/checkbox.css +99 -0
- package/src/css/dropdown-divider.css +6 -0
- package/src/css/dropdown-item.css +62 -0
- package/src/css/dropdown.css +102 -0
- package/src/css/focus.css +12 -0
- package/src/css/fullscreen-dropfile.css +63 -0
- package/src/css/heading.css +78 -0
- package/src/css/icon-box.css +305 -0
- package/src/css/input-file-regular.css +255 -0
- package/src/css/input-file.css +224 -0
- package/src/css/input-help-text.css +7 -0
- package/src/css/input-number.css +469 -0
- package/src/css/input.css +402 -0
- package/src/css/kbd.css +94 -0
- package/src/css/label.css +6 -0
- package/src/css/link.css +8 -0
- package/src/css/list.css +23 -0
- package/src/css/listbox.css +511 -0
- package/src/css/mark.css +7 -0
- package/src/css/mask.css +23 -0
- package/src/css/message-text.css +72 -0
- package/src/css/message.css +245 -0
- package/src/css/modal.css +51 -0
- package/src/css/pagination.css +93 -0
- package/src/css/paragraph.css +78 -0
- package/src/css/placeholder-page.css +44 -0
- package/src/css/placeload.css +13 -0
- package/src/css/progress-circle.css +18 -0
- package/src/css/progress.css +90 -0
- package/src/css/prose.css +22 -0
- package/src/css/radio.css +73 -0
- package/src/css/select.css +404 -0
- package/src/css/slimscroll.css +32 -0
- package/src/css/snack.css +101 -0
- package/src/css/switch-ball.css +94 -0
- package/src/css/switch-thin.css +76 -0
- package/src/css/tab-slider.css +190 -0
- package/src/css/tabs.css +175 -0
- package/src/css/tag.css +312 -0
- package/src/css/text.css +78 -0
- package/src/css/textarea.css +228 -0
- package/src/css/theme-switch.css +65 -0
- package/src/css/theme-toggle.css +62 -0
- package/src/css/toast.css +132 -0
- package/src/css/tooltip.css +99 -0
- package/src/index.css +58 -0
- package/src/theme.css +80 -0
- package/dist/colors.cjs +0 -2
- package/dist/colors.d.cts +0 -2
- package/dist/colors.d.mts +0 -2
- package/dist/colors.d.ts +0 -2
- package/dist/colors.mjs +0 -1
- package/dist/config.cjs +0 -18
- package/dist/config.d.cts +0 -6
- package/dist/config.d.mts +0 -6
- package/dist/config.d.ts +0 -6
- package/dist/config.mjs +0 -16
- package/dist/index.cjs +0 -25
- package/dist/index.d.cts +0 -11
- package/dist/index.d.mts +0 -11
- package/dist/index.d.ts +0 -11
- package/dist/index.mjs +0 -21
- package/dist/plugins/index.cjs +0 -21074
- package/dist/plugins/index.d.cts +0 -308
- package/dist/plugins/index.d.mts +0 -308
- package/dist/plugins/index.d.ts +0 -308
- package/dist/plugins/index.mjs +0 -21008
- package/dist/preset.cjs +0 -53
- package/dist/preset.d.cts +0 -3
- package/dist/preset.d.mts +0 -3
- package/dist/preset.d.ts +0 -3
- package/dist/preset.mjs +0 -44
- package/dist/shared/tailwind.6e316a50.d.cts +0 -49966
- package/dist/shared/tailwind.6e316a50.d.mts +0 -49966
- package/dist/shared/tailwind.6e316a50.d.ts +0 -49966
- package/dist/themes.cjs +0 -119
- package/dist/themes.d.cts +0 -187
- package/dist/themes.d.mts +0 -187
- package/dist/themes.d.ts +0 -187
- package/dist/themes.mjs +0 -113
@@ -0,0 +1,511 @@
|
|
1
|
+
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
|
+
/* @utility nui-autocomplete */
|
3
|
+
|
4
|
+
@utility nui-autocomplete {
|
5
|
+
@apply w-full relative;
|
6
|
+
|
7
|
+
.nui-autocomplete-label, .nui-label-float {
|
8
|
+
@apply nui-label;
|
9
|
+
}
|
10
|
+
|
11
|
+
&:not(.nui-autocomplete-loading) {
|
12
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
13
|
+
@apply text-muted-300 dark:text-muted-600;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
&:not(.nui-has-icon).nui-autocomplete-sm {
|
18
|
+
.nui-autocomplete-input {
|
19
|
+
@apply h-8 py-1 text-xs leading-4 px-2;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
&:not(.nui-has-icon).nui-autocomplete-md {
|
24
|
+
.nui-autocomplete-input {
|
25
|
+
@apply h-10 py-2 text-sm leading-5 px-3;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
&:not(.nui-has-icon).nui-autocomplete-lg {
|
30
|
+
.nui-autocomplete-input {
|
31
|
+
@apply h-12 py-2 text-sm leading-5 px-4;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
&:not(.nui-has-icon).nui-autocomplete-xl {
|
36
|
+
.nui-autocomplete-input {
|
37
|
+
@apply h-14 py-2 text-base leading-5 px-4;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
&.nui-autocomplete-label-float:not(.nui-has-icon).nui-autocomplete-sm {
|
42
|
+
.nui-label-float {
|
43
|
+
@apply start-3 -ms-3 -mt-7 text-xs;
|
44
|
+
}
|
45
|
+
|
46
|
+
.nui-autocomplete-input:focus-visible ~ .nui-label-float {
|
47
|
+
@apply !-ms-3 !-mt-7;
|
48
|
+
}
|
49
|
+
|
50
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
51
|
+
@apply ms-0 mt-0;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
&.nui-autocomplete-label-float:not(.nui-has-icon).nui-autocomplete-md {
|
56
|
+
.nui-label-float {
|
57
|
+
@apply start-3 -ms-3 -mt-8 text-xs;
|
58
|
+
}
|
59
|
+
|
60
|
+
.nui-autocomplete-input:focus-visible ~ .nui-label-float {
|
61
|
+
@apply !-ms-3 !-mt-8 !text-xs;
|
62
|
+
}
|
63
|
+
|
64
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
65
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
&.nui-autocomplete-label-float:not(.nui-has-icon).nui-autocomplete-lg {
|
70
|
+
.nui-label-float {
|
71
|
+
@apply start-3 -ms-3 -mt-9 text-xs;
|
72
|
+
}
|
73
|
+
|
74
|
+
.nui-autocomplete-input:focus-visible ~ .nui-label-float {
|
75
|
+
@apply !-ms-3 !-mt-9 !text-xs;
|
76
|
+
}
|
77
|
+
|
78
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
79
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
&.nui-autocomplete-label-float:not(.nui-has-icon).nui-autocomplete-xl {
|
84
|
+
.nui-label-float {
|
85
|
+
@apply start-3 -ms-3 -mt-10 text-xs;
|
86
|
+
}
|
87
|
+
|
88
|
+
.nui-autocomplete-input:focus-visible ~ .nui-label-float {
|
89
|
+
@apply !-ms-3 !-mt-10 !text-xs;
|
90
|
+
}
|
91
|
+
|
92
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
93
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
@utility nui-label-float {
|
98
|
+
@apply pointer-events-none absolute inline-flex select-none items-center leading-none;
|
99
|
+
@apply text-primary-500 h-5;
|
100
|
+
@apply transition-all duration-300;
|
101
|
+
}
|
102
|
+
@utility nui-autocomplete-multiple {
|
103
|
+
@apply block;
|
104
|
+
|
105
|
+
.nui-autocomplete-multiple-list {
|
106
|
+
@apply my-2 flex flex-wrap gap-1;
|
107
|
+
}
|
108
|
+
|
109
|
+
.nui-autocomplete-multiple-list-item {
|
110
|
+
@apply flex items-center py-2 pe-2 ps-3;
|
111
|
+
@apply font-sans text-xs font-medium;
|
112
|
+
@apply text-muted-400 dark:text-muted-400;
|
113
|
+
@apply bg-muted-200 dark:bg-muted-700;
|
114
|
+
}
|
115
|
+
|
116
|
+
.nui-autocomplete-multiple-list-item-icon {
|
117
|
+
@apply ms-1 block h-3 w-3;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
@utility nui-autocomplete-outer {
|
121
|
+
@apply relative;
|
122
|
+
}
|
123
|
+
@utility nui-autocomplete-icon {
|
124
|
+
@apply absolute start-0 top-0 z-10 flex items-center justify-center;
|
125
|
+
@apply text-muted-400 dark:text-muted-400;
|
126
|
+
@apply transition-colors duration-300;
|
127
|
+
}
|
128
|
+
@utility nui-autocomplete-input {
|
129
|
+
@apply nui-focus w-full font-sans;
|
130
|
+
@apply disabled:cursor-not-allowed disabled:opacity-75;
|
131
|
+
@apply transition-all duration-300;
|
132
|
+
|
133
|
+
&:focus-visible ~ .nui-label-float {
|
134
|
+
@apply !text-primary-500 dark:!text-primary-500;
|
135
|
+
}
|
136
|
+
|
137
|
+
&:focus-visible ~ .nui-autocomplete-icon {
|
138
|
+
@apply !text-primary-500 dark:!text-primary-500;
|
139
|
+
}
|
140
|
+
|
141
|
+
&:disabled ~ .nui-autocomplete-icon {
|
142
|
+
@apply cursor-not-allowed opacity-75;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
@utility nui-autocomplete-clear {
|
146
|
+
@apply absolute end-0 top-0 z-auto flex items-center justify-center cursor-pointer;
|
147
|
+
@apply text-muted-400 dark:text-muted-400;
|
148
|
+
@apply hover:text-muted-700 dark:hover:text-muted-200;
|
149
|
+
@apply transition-colors duration-300;
|
150
|
+
|
151
|
+
.nui-autocomplete-clear-inner {
|
152
|
+
@apply w-4 h-4;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
@utility nui-autocomplete-placeload {
|
156
|
+
@apply absolute start-0 top-0 flex w-full items-center px-4;
|
157
|
+
|
158
|
+
.nui-placeload {
|
159
|
+
@apply h-3 w-full max-w-[75%] rounded;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
@utility nui-autocomplete-results {
|
163
|
+
@apply nui-slimscroll absolute z-20 mt-1 max-h-[265px] w-full overflow-auto py-1 outline-none sm:text-sm;
|
164
|
+
@apply text-base;
|
165
|
+
@apply shadow-lg shadow-muted-300/30 dark:shadow-muted-800/20;
|
166
|
+
|
167
|
+
.nui-autocomplete-results-header, .nui-autocomplete-results-footer {
|
168
|
+
@apply relative px-2 py-1;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
@utility nui-autocomplete-results-item {
|
172
|
+
@apply px-2 py-1;
|
173
|
+
}
|
174
|
+
@utility nui-autocomplete-results-item-inner {
|
175
|
+
@apply text-muted-800 dark:text-muted-100 flex gap-2 cursor-pointer items-center;
|
176
|
+
@apply p-2;
|
177
|
+
@apply transition-colors duration-300;
|
178
|
+
|
179
|
+
.nui-autocomplete-results-item-selected {
|
180
|
+
@apply ms-auto flex items-center justify-center;
|
181
|
+
}
|
182
|
+
|
183
|
+
.nui-autocomplete-results-item-selected-icon {
|
184
|
+
@apply block text-success-500;
|
185
|
+
@apply h-4 w-4;
|
186
|
+
}
|
187
|
+
|
188
|
+
&.nui-has-media {
|
189
|
+
.nui-autocomplete-results-item-selected {
|
190
|
+
@apply h-8 w-8;
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
@utility nui-autocomplete-results-placeholder {
|
195
|
+
@apply relative px-4 py-2 cursor-default select-none;
|
196
|
+
@apply font-sans text-muted-700 dark:text-muted-400;
|
197
|
+
}
|
198
|
+
@utility nui-autocomplete-rounded-sm {
|
199
|
+
.nui-autocomplete-input {
|
200
|
+
@apply rounded-md;
|
201
|
+
}
|
202
|
+
|
203
|
+
.nui-autocomplete-results, .nui-autocomplete-results-item-inner, .nui-autocomplete-multiple .nui-autocomplete-multiple-list-item {
|
204
|
+
@apply rounded-md;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
@utility nui-autocomplete-rounded-md {
|
208
|
+
.nui-autocomplete-input {
|
209
|
+
@apply rounded-lg;
|
210
|
+
}
|
211
|
+
|
212
|
+
.nui-autocomplete-results, .nui-autocomplete-results-item-inner, .nui-autocomplete-multiple .nui-autocomplete-multiple-list-item {
|
213
|
+
@apply rounded-lg;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
@utility nui-autocomplete-rounded-lg {
|
217
|
+
.nui-autocomplete-input {
|
218
|
+
@apply rounded-xl;
|
219
|
+
}
|
220
|
+
|
221
|
+
.nui-autocomplete-results, .nui-autocomplete-results-item-inner, .nui-autocomplete-multiple .nui-autocomplete-multiple-list-item {
|
222
|
+
@apply rounded-xl;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
@utility nui-autocomplete-rounded-full {
|
226
|
+
.nui-autocomplete-input, .nui-autocomplete-multiple .nui-autocomplete-multiple-list-item {
|
227
|
+
@apply rounded-full;
|
228
|
+
}
|
229
|
+
|
230
|
+
.nui-autocomplete-results, .nui-autocomplete-results-item-inner {
|
231
|
+
@apply rounded-xl;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
@utility nui-autocomplete-sm {
|
235
|
+
.nui-autocomplete-label {
|
236
|
+
@apply pb-1 text-xs;
|
237
|
+
}
|
238
|
+
|
239
|
+
.nui-label-float {
|
240
|
+
@apply top-1.5;
|
241
|
+
}
|
242
|
+
|
243
|
+
.nui-autocomplete-icon {
|
244
|
+
@apply h-8 w-8;
|
245
|
+
|
246
|
+
.nui-autocomplete-icon-inner {
|
247
|
+
@apply h-4 w-4;
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
.nui-autocomplete-placeload {
|
252
|
+
@apply h-8;
|
253
|
+
}
|
254
|
+
|
255
|
+
.nui-autocomplete-clear {
|
256
|
+
@apply h-8 w-8;
|
257
|
+
}
|
258
|
+
}
|
259
|
+
@utility nui-autocomplete-md {
|
260
|
+
.nui-autocomplete-label {
|
261
|
+
@apply pb-1 text-[0.825rem];
|
262
|
+
}
|
263
|
+
|
264
|
+
.nui-label-float {
|
265
|
+
@apply top-2.5;
|
266
|
+
}
|
267
|
+
|
268
|
+
.nui-autocomplete-icon {
|
269
|
+
@apply h-10 w-10;
|
270
|
+
|
271
|
+
.nui-autocomplete-icon-inner {
|
272
|
+
@apply h-[1.15rem] w-[1.15rem];
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
.nui-autocomplete-placeload {
|
277
|
+
@apply h-10;
|
278
|
+
}
|
279
|
+
|
280
|
+
.nui-autocomplete-clear {
|
281
|
+
@apply h-10 w-10;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
@utility nui-autocomplete-lg {
|
285
|
+
.nui-autocomplete-label {
|
286
|
+
@apply pb-1 text-sm;
|
287
|
+
}
|
288
|
+
|
289
|
+
.nui-label-float {
|
290
|
+
@apply top-3.5;
|
291
|
+
}
|
292
|
+
|
293
|
+
.nui-autocomplete-icon {
|
294
|
+
@apply h-12 w-12;
|
295
|
+
|
296
|
+
.nui-autocomplete-icon-inner {
|
297
|
+
@apply h-5 w-5;
|
298
|
+
}
|
299
|
+
}
|
300
|
+
|
301
|
+
.nui-autocomplete-placeload {
|
302
|
+
@apply h-12;
|
303
|
+
}
|
304
|
+
|
305
|
+
.nui-autocomplete-clear {
|
306
|
+
@apply h-12 w-12;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
@utility nui-autocomplete-xl {
|
310
|
+
.nui-autocomplete-label {
|
311
|
+
@apply pb-1 text-sm;
|
312
|
+
}
|
313
|
+
|
314
|
+
.nui-label-float {
|
315
|
+
@apply top-[1.1rem];
|
316
|
+
}
|
317
|
+
|
318
|
+
.nui-autocomplete-icon {
|
319
|
+
@apply h-14 w-14;
|
320
|
+
|
321
|
+
.nui-autocomplete-icon-inner {
|
322
|
+
@apply h-5 w-5;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
|
326
|
+
.nui-autocomplete-placeload {
|
327
|
+
@apply h-14;
|
328
|
+
}
|
329
|
+
|
330
|
+
.nui-autocomplete-clear {
|
331
|
+
@apply h-14 w-14;
|
332
|
+
}
|
333
|
+
}
|
334
|
+
@utility nui-autocomplete-default {
|
335
|
+
.nui-autocomplete-input {
|
336
|
+
@apply text-muted-600 dark:text-muted-200;
|
337
|
+
@apply bg-white dark:bg-muted-900;
|
338
|
+
@apply border border-muted-300 dark:border-muted-700;
|
339
|
+
@apply placeholder:text-muted-300 dark:placeholder:text-muted-500;
|
340
|
+
}
|
341
|
+
|
342
|
+
.nui-autocomplete-results {
|
343
|
+
@apply border border-muted-200 dark:border-muted-700;
|
344
|
+
@apply bg-white dark:bg-muted-800;
|
345
|
+
}
|
346
|
+
|
347
|
+
.nui-autocomplete-results-item-inner.nui-active, .nui-autocomplete-results-item-inner:hover {
|
348
|
+
@apply bg-muted-100 dark:bg-muted-700;
|
349
|
+
}
|
350
|
+
}
|
351
|
+
@utility nui-autocomplete-default-contrast {
|
352
|
+
.nui-autocomplete-input {
|
353
|
+
@apply text-muted-600 dark:text-muted-200;
|
354
|
+
@apply bg-white dark:bg-muted-950;
|
355
|
+
@apply border border-muted-300 dark:border-muted-800;
|
356
|
+
@apply placeholder:text-muted-300 dark:placeholder:text-muted-600;
|
357
|
+
}
|
358
|
+
|
359
|
+
.nui-autocomplete-results {
|
360
|
+
@apply border border-muted-200 dark:border-muted-800;
|
361
|
+
@apply bg-white dark:bg-muted-950;
|
362
|
+
}
|
363
|
+
|
364
|
+
.nui-autocomplete-results-item-inner.nui-active, .nui-autocomplete-results-item-inner:hover {
|
365
|
+
@apply bg-muted-100 dark:bg-muted-800;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
@utility nui-autocomplete-muted {
|
369
|
+
.nui-autocomplete-input {
|
370
|
+
@apply text-muted-600 dark:text-muted-200;
|
371
|
+
@apply bg-muted-100 dark:bg-muted-900;
|
372
|
+
@apply border border-muted-200 dark:border-muted-700;
|
373
|
+
@apply placeholder:text-muted-300 dark:placeholder:text-muted-500;
|
374
|
+
}
|
375
|
+
|
376
|
+
.nui-autocomplete-results {
|
377
|
+
@apply border border-muted-200 dark:border-muted-700;
|
378
|
+
@apply bg-white dark:bg-muted-800;
|
379
|
+
}
|
380
|
+
|
381
|
+
.nui-autocomplete-results-item-inner.nui-active, .nui-autocomplete-results-item-inner:hover {
|
382
|
+
@apply bg-muted-100 dark:bg-muted-700;
|
383
|
+
}
|
384
|
+
}
|
385
|
+
@utility nui-autocomplete-muted-contrast {
|
386
|
+
.nui-autocomplete-input {
|
387
|
+
@apply text-muted-600 dark:text-muted-200;
|
388
|
+
@apply bg-muted-100 dark:bg-muted-950;
|
389
|
+
@apply border border-muted-100 dark:border-muted-800;
|
390
|
+
@apply placeholder:text-muted-300 dark:placeholder:text-muted-600;
|
391
|
+
}
|
392
|
+
|
393
|
+
.nui-autocomplete-results {
|
394
|
+
@apply border border-muted-200 dark:border-muted-800;
|
395
|
+
@apply bg-white dark:bg-muted-950;
|
396
|
+
}
|
397
|
+
|
398
|
+
.nui-autocomplete-results-item-inner.nui-active, .nui-autocomplete-results-item-inner:hover {
|
399
|
+
@apply bg-muted-100 dark:bg-muted-800;
|
400
|
+
}
|
401
|
+
}
|
402
|
+
@utility nui-autocomplete-focus {
|
403
|
+
.nui-autocomplete-input {
|
404
|
+
@apply transition-colors duration-300;
|
405
|
+
@apply focus:!border-primary-500 dark:focus:!border-primary-500;
|
406
|
+
@apply focus:hover:!border-primary-500 dark:focus:hover:!border-primary-500;
|
407
|
+
}
|
408
|
+
}
|
409
|
+
@utility nui-autocomplete-loading {
|
410
|
+
.nui-autocomplete-input {
|
411
|
+
@apply !text-transparent placeholder:!text-transparent dark:placeholder:!text-transparent;
|
412
|
+
}
|
413
|
+
|
414
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
415
|
+
@apply text-transparent;
|
416
|
+
}
|
417
|
+
|
418
|
+
.nui-autocomplete-icon {
|
419
|
+
@apply opacity-50;
|
420
|
+
}
|
421
|
+
}
|
422
|
+
@utility nui-autocomplete-label-float {
|
423
|
+
.nui-autocomplete-input {
|
424
|
+
@apply placeholder:text-transparent dark:placeholder:text-transparent;
|
425
|
+
}
|
426
|
+
|
427
|
+
.nui-autocomplete-multiple .nui-autocomplete-multiple-list {
|
428
|
+
@apply mb-6;
|
429
|
+
}
|
430
|
+
}
|
431
|
+
@utility nui-autocomplete-error {
|
432
|
+
.nui-autocomplete-input {
|
433
|
+
@apply !border-danger-500 dark:!border-danger-500;
|
434
|
+
}
|
435
|
+
|
436
|
+
.nui-autocomplete-icon {
|
437
|
+
@apply !text-danger-500 dark:!text-danger-500;
|
438
|
+
}
|
439
|
+
}
|
440
|
+
@utility nui-has-icon {
|
441
|
+
.nui-autocomplete-input {
|
442
|
+
@apply h-8 py-1 text-xs leading-4 pe-3 ps-8;
|
443
|
+
}
|
444
|
+
}
|
445
|
+
@utility nui-has-icon {
|
446
|
+
.nui-autocomplete-input {
|
447
|
+
@apply h-10 py-2 text-sm leading-5 pe-4 ps-10;
|
448
|
+
}
|
449
|
+
}
|
450
|
+
@utility nui-has-icon {
|
451
|
+
.nui-autocomplete-input {
|
452
|
+
@apply h-12 py-2 text-sm leading-5 pe-4 ps-11;
|
453
|
+
}
|
454
|
+
}
|
455
|
+
@utility nui-has-icon {
|
456
|
+
.nui-autocomplete-input {
|
457
|
+
@apply h-14 py-2 text-base leading-5 pe-4 ps-12;
|
458
|
+
}
|
459
|
+
}
|
460
|
+
@utility nui-autocomplete-label-float {
|
461
|
+
.nui-label-float {
|
462
|
+
@apply start-8 -ms-8 -mt-7 text-xs;
|
463
|
+
}
|
464
|
+
|
465
|
+
.nui-autocomplete-input:focus-visible ~ .nui-label-float {
|
466
|
+
@apply !-ms-8 !-mt-7;
|
467
|
+
}
|
468
|
+
|
469
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
470
|
+
@apply ms-0 mt-0;
|
471
|
+
}
|
472
|
+
}
|
473
|
+
@utility nui-autocomplete-label-float {
|
474
|
+
.nui-label-float {
|
475
|
+
@apply start-10 -ms-10 -mt-8 text-xs;
|
476
|
+
}
|
477
|
+
|
478
|
+
.nui-autocomplete-input:focus-visible ~ .nui-label-float {
|
479
|
+
@apply !-ms-10 !-mt-8 !text-xs;
|
480
|
+
}
|
481
|
+
|
482
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
483
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
484
|
+
}
|
485
|
+
}
|
486
|
+
@utility nui-autocomplete-label-float {
|
487
|
+
.nui-label-float {
|
488
|
+
@apply start-11 -ms-10 -mt-9 text-xs;
|
489
|
+
}
|
490
|
+
|
491
|
+
.nui-autocomplete-input:focus-visible ~ .nui-label-float {
|
492
|
+
@apply !-ms-10 !-mt-9 !text-xs;
|
493
|
+
}
|
494
|
+
|
495
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
496
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
497
|
+
}
|
498
|
+
}
|
499
|
+
@utility nui-autocomplete-label-float {
|
500
|
+
.nui-label-float {
|
501
|
+
@apply start-[3.25rem] -ms-[3.25rem] -mt-10 text-xs;
|
502
|
+
}
|
503
|
+
|
504
|
+
.nui-autocomplete-input:focus-visible ~ .nui-label-float {
|
505
|
+
@apply !-ms-[3.25rem] !-mt-10 !text-xs;
|
506
|
+
}
|
507
|
+
|
508
|
+
.nui-autocomplete-input:placeholder-shown ~ .nui-label-float {
|
509
|
+
@apply ms-0 mt-0 text-[0.825rem];
|
510
|
+
}
|
511
|
+
}
|
@@ -0,0 +1,138 @@
|
|
1
|
+
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
|
+
/* @utility nui-avatar-group */
|
3
|
+
|
4
|
+
@utility nui-avatar-group {
|
5
|
+
@apply flex;
|
6
|
+
}
|
7
|
+
@utility nui-avatar-outer {
|
8
|
+
@apply relative flex shrink-0 items-center justify-center rounded-full;
|
9
|
+
@apply bg-white dark:bg-muted-800;
|
10
|
+
@apply transition-all duration-100 ease-in;
|
11
|
+
|
12
|
+
.nui-avatar {
|
13
|
+
@apply bg-primary-500/20 text-primary-500/20 !scale-90;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
@utility nui-avatar-count {
|
17
|
+
@apply relative shrink-0 rounded-full;
|
18
|
+
@apply bg-white dark:bg-muted-800;
|
19
|
+
@apply transition-all duration-100 ease-in;
|
20
|
+
|
21
|
+
.nui-avatar-count-inner {
|
22
|
+
@apply relative scale-90 inline-flex items-center justify-center rounded-full;
|
23
|
+
@apply h-full w-full;
|
24
|
+
@apply bg-muted-200 dark:bg-muted-700;
|
25
|
+
@apply border border-white dark:border-muted-800;
|
26
|
+
}
|
27
|
+
|
28
|
+
.nui-avatar-count-text {
|
29
|
+
@apply -ms-1 uppercase;
|
30
|
+
@apply font-sans font-medium;
|
31
|
+
@apply text-muted-500 dark:text-muted-300;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
@utility nui-avatar-group-xxs {
|
35
|
+
.nui-avatar-outer {
|
36
|
+
@apply h-6 w-6;
|
37
|
+
|
38
|
+
&:first-child {
|
39
|
+
@apply hover:-ms-2 hover:me-2 focus:-ms-2 focus:me-2;
|
40
|
+
}
|
41
|
+
|
42
|
+
&:not(:first-child) {
|
43
|
+
@apply -ms-2 hover:-ms-4 hover:me-2 focus:-ms-4 focus:me-2;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.nui-avatar-count {
|
48
|
+
@apply -ms-2 h-6 w-6;
|
49
|
+
|
50
|
+
.nui-avatar-count-text {
|
51
|
+
@apply text-xs;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
@utility nui-avatar-group-xs {
|
56
|
+
.nui-avatar-outer {
|
57
|
+
@apply h-8 w-8;
|
58
|
+
|
59
|
+
&:first-child {
|
60
|
+
@apply hover:-ms-2 hover:me-2 focus:-ms-2 focus:me-2;
|
61
|
+
}
|
62
|
+
|
63
|
+
&:not(:first-child) {
|
64
|
+
@apply -ms-2 hover:-ms-4 hover:me-2 focus:-ms-4 focus:me-2;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
.nui-avatar-count {
|
69
|
+
@apply -ms-2 h-8 w-8;
|
70
|
+
|
71
|
+
.nui-avatar-count-text {
|
72
|
+
@apply text-sm;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
@utility nui-avatar-group-sm {
|
77
|
+
.nui-avatar-outer {
|
78
|
+
@apply h-10 w-10;
|
79
|
+
|
80
|
+
&:first-child {
|
81
|
+
@apply hover:-ms-2 hover:me-2 focus:me-2;
|
82
|
+
}
|
83
|
+
|
84
|
+
&:not(:first-child) {
|
85
|
+
@apply -ms-3 hover:-ms-5 hover:me-2 focus:-ms-5 focus:me-2;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.nui-avatar-count {
|
90
|
+
@apply -ms-3 h-10 w-10;
|
91
|
+
|
92
|
+
.nui-avatar-count-text {
|
93
|
+
@apply text-sm;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
@utility nui-avatar-group-md {
|
98
|
+
.nui-avatar-outer {
|
99
|
+
@apply h-12 w-12;
|
100
|
+
|
101
|
+
&:first-child {
|
102
|
+
@apply hover:-ms-3 hover:me-3 focus:me-3;
|
103
|
+
}
|
104
|
+
|
105
|
+
&:not(:first-child) {
|
106
|
+
@apply -ms-4 hover:-ms-7 hover:me-3 focus:me-3;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
.nui-avatar-count {
|
111
|
+
@apply -ms-4 h-12 w-12;
|
112
|
+
|
113
|
+
.nui-avatar-count-text {
|
114
|
+
@apply text-lg;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
@utility nui-avatar-group-lg {
|
119
|
+
.nui-avatar-outer {
|
120
|
+
@apply h-16 w-16;
|
121
|
+
|
122
|
+
&:first-child {
|
123
|
+
@apply hover:-ms-4 hover:me-4 focus:me-4;
|
124
|
+
}
|
125
|
+
|
126
|
+
&:not(:first-child) {
|
127
|
+
@apply -ms-5 hover:-ms-9 hover:me-4 focus:-ms-9 focus:me-4;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
.nui-avatar-count {
|
132
|
+
@apply -ms-5 h-16 w-16;
|
133
|
+
|
134
|
+
.nui-avatar-count-text {
|
135
|
+
@apply text-xl;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|