@shuriken-ui/tailwind 4.0.0-alpha.6 → 4.0.0-alpha.8
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/lib/css/focus.css +2 -9
- package/lib/css/mark.css +0 -2
- package/lib/css/mask.css +0 -2
- package/lib/css/slimscroll.css +4 -2
- package/lib/index.css +5 -53
- package/lib/theme.css +37 -28
- package/package.json +2 -2
- package/lib/css/accordion.css +0 -175
- package/lib/css/autocomplete.css +0 -520
- package/lib/css/avatar-group.css +0 -137
- package/lib/css/avatar.css +0 -737
- package/lib/css/breadcrumb.css +0 -62
- package/lib/css/button-action.css +0 -107
- package/lib/css/button-close.css +0 -116
- package/lib/css/button-group.css +0 -235
- package/lib/css/button-icon.css +0 -96
- package/lib/css/button.css +0 -564
- package/lib/css/card.css +0 -68
- package/lib/css/checkbox.css +0 -98
- package/lib/css/dropdown-divider.css +0 -5
- package/lib/css/dropdown-item.css +0 -61
- package/lib/css/dropdown.css +0 -101
- package/lib/css/fullscreen-dropfile.css +0 -62
- package/lib/css/heading.css +0 -77
- package/lib/css/icon-box.css +0 -304
- package/lib/css/input-file-regular.css +0 -254
- package/lib/css/input-file.css +0 -223
- package/lib/css/input-help-text.css +0 -6
- package/lib/css/input-number.css +0 -479
- package/lib/css/input.css +0 -408
- package/lib/css/kbd.css +0 -93
- package/lib/css/label.css +0 -5
- package/lib/css/link.css +0 -7
- package/lib/css/list.css +0 -23
- package/lib/css/listbox.css +0 -528
- package/lib/css/message-text.css +0 -71
- package/lib/css/message.css +0 -243
- package/lib/css/modal.css +0 -50
- package/lib/css/pagination.css +0 -92
- package/lib/css/paragraph.css +0 -77
- package/lib/css/placeholder-page.css +0 -43
- package/lib/css/placeload.css +0 -11
- package/lib/css/progress-circle.css +0 -17
- package/lib/css/progress.css +0 -89
- package/lib/css/prose.css +0 -22
- package/lib/css/radio.css +0 -72
- package/lib/css/select.css +0 -407
- package/lib/css/snack.css +0 -100
- package/lib/css/switch-ball.css +0 -93
- package/lib/css/switch-thin.css +0 -75
- package/lib/css/tab-slider.css +0 -189
- package/lib/css/tabs.css +0 -173
- package/lib/css/tag.css +0 -311
- package/lib/css/text.css +0 -77
- package/lib/css/textarea.css +0 -239
- package/lib/css/theme-switch.css +0 -64
- package/lib/css/theme-toggle.css +0 -61
- package/lib/css/toast.css +0 -131
- package/lib/css/tooltip.css +0 -98
@@ -1,254 +0,0 @@
|
|
1
|
-
/* @utility nui-input-file-regular */
|
2
|
-
|
3
|
-
@utility nui-input-file-regular {
|
4
|
-
@apply relative w-full;
|
5
|
-
|
6
|
-
&.nui-input-file-regular-sm:not(.nui-input-file-regular-has-icon) {
|
7
|
-
@apply text-xs leading-4;
|
8
|
-
|
9
|
-
.nui-input-file-regular-inner {
|
10
|
-
@apply h-8 py-2 gap-1;
|
11
|
-
}
|
12
|
-
|
13
|
-
.nui-input-file-regular-addon {
|
14
|
-
@apply h-8 px-2;
|
15
|
-
}
|
16
|
-
|
17
|
-
.nui-input-file-regular-placeload-wrapper {
|
18
|
-
@apply top-2.5;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
&.nui-input-file-regular-md:not(.nui-input-file-regular-has-icon) {
|
23
|
-
@apply text-[0.825rem] leading-5;
|
24
|
-
|
25
|
-
.nui-input-file-regular-inner {
|
26
|
-
@apply h-10 gap-2;
|
27
|
-
}
|
28
|
-
|
29
|
-
.nui-input-file-regular-addon {
|
30
|
-
@apply h-10 px-3;
|
31
|
-
}
|
32
|
-
|
33
|
-
.nui-input-file-regular-placeload-wrapper {
|
34
|
-
@apply top-3.5;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
&.nui-input-file-regular-lg:not(.nui-input-file-regular-has-icon) {
|
39
|
-
@apply text-sm leading-5;
|
40
|
-
|
41
|
-
.nui-input-file-regular-inner {
|
42
|
-
@apply h-12 gap-2;
|
43
|
-
}
|
44
|
-
|
45
|
-
.nui-input-file-regular-addon {
|
46
|
-
@apply h-12 px-4;
|
47
|
-
}
|
48
|
-
|
49
|
-
.nui-input-file-regular-placeload-wrapper {
|
50
|
-
@apply top-[1.2rem];
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
&.nui-input-file-regular-xl:not(.nui-input-file-regular-has-icon) {
|
55
|
-
@apply text-sm leading-5;
|
56
|
-
|
57
|
-
.nui-input-file-regular-inner {
|
58
|
-
@apply h-14 gap-2;
|
59
|
-
}
|
60
|
-
|
61
|
-
.nui-input-file-regular-addon {
|
62
|
-
@apply h-14 px-5;
|
63
|
-
}
|
64
|
-
|
65
|
-
.nui-input-file-regular-placeload-wrapper {
|
66
|
-
@apply top-[1.4rem];
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
&:hover {
|
71
|
-
.nui-input-file-regular-addon {
|
72
|
-
@apply text-primary-500 dark:text-primary-500;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
&:disabled {
|
77
|
-
.nui-input-file-regular-addon {
|
78
|
-
@apply cursor-not-allowed opacity-75;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
|
-
&:focus-within {
|
83
|
-
.nui-input-file-regular-addon {
|
84
|
-
@apply text-primary-500 dark:text-primary-500;
|
85
|
-
}
|
86
|
-
}
|
87
|
-
}
|
88
|
-
@utility nui-input-file-regular-label {
|
89
|
-
@apply nui-label w-full;
|
90
|
-
}
|
91
|
-
@utility nui-input-file-regular-outer {
|
92
|
-
@apply relative;
|
93
|
-
}
|
94
|
-
@utility nui-input-file-regular-inner {
|
95
|
-
@apply relative nui-focus w-full flex cursor-pointer items-center overflow-hidden disabled:cursor-not-allowed disabled:opacity-75;
|
96
|
-
@apply font-sans;
|
97
|
-
@apply transition-colors duration-300;
|
98
|
-
}
|
99
|
-
@utility nui-input-file-regular-addon {
|
100
|
-
@apply pointer-events-none flex shrink-0 items-center justify-center gap-1 transition-colors duration-100;
|
101
|
-
}
|
102
|
-
@utility nui-input-file-regular-placeholder {
|
103
|
-
@apply font-sans text-xs;
|
104
|
-
@apply text-muted-400 dark:text-muted-400;
|
105
|
-
}
|
106
|
-
@utility nui-input-file-regular-text {
|
107
|
-
@apply ms-2 inline-flex truncate text-muted-400 dark:text-muted-400;
|
108
|
-
}
|
109
|
-
@utility nui-input-file-regular-placeload-wrapper {
|
110
|
-
@apply absolute start-2 flex w-[70%] items-center;
|
111
|
-
|
112
|
-
.nui-input-file-regular-placeload {
|
113
|
-
@apply h-3 w-full max-w-[75%] rounded;
|
114
|
-
}
|
115
|
-
}
|
116
|
-
@utility nui-input-file-regular-default {
|
117
|
-
.nui-input-file-regular-inner {
|
118
|
-
@apply text-muted-600 dark:text-muted-200;
|
119
|
-
@apply bg-white dark:bg-muted-800;
|
120
|
-
@apply border border-muted-300 dark:border-muted-700;
|
121
|
-
@apply placeholder:text-muted-300 dark:placeholder:text-muted-500;
|
122
|
-
}
|
123
|
-
|
124
|
-
.nui-input-file-regular-addon {
|
125
|
-
@apply bg-muted-50 dark:bg-muted-800;
|
126
|
-
@apply text-muted-400 dark:text-muted-400;
|
127
|
-
@apply border-e border-muted-300 dark:border-muted-700;
|
128
|
-
}
|
129
|
-
}
|
130
|
-
@utility nui-input-file-regular-default-contrast {
|
131
|
-
.nui-input-file-regular-inner {
|
132
|
-
@apply text-muted-600 dark:text-muted-200;
|
133
|
-
@apply bg-white dark:bg-muted-950;
|
134
|
-
@apply border border-muted-300 dark:border-muted-800;
|
135
|
-
@apply placeholder:text-muted-300 dark:placeholder:text-muted-600;
|
136
|
-
}
|
137
|
-
|
138
|
-
.nui-input-file-regular-addon {
|
139
|
-
@apply bg-muted-50 dark:bg-muted-950;
|
140
|
-
@apply text-muted-400 dark:text-muted-400;
|
141
|
-
@apply border-e border border-muted-300 dark:border-muted-800;
|
142
|
-
}
|
143
|
-
}
|
144
|
-
@utility nui-input-file-regular-color-focus {
|
145
|
-
.nui-input-file-regular-inner:focus {
|
146
|
-
@apply !border-primary-500 dark:!border-primary-500;
|
147
|
-
}
|
148
|
-
}
|
149
|
-
@utility nui-input-file-regular-loading {
|
150
|
-
.nui-input-file-regular-inner {
|
151
|
-
@apply text-transparent placeholder:text-transparent;
|
152
|
-
}
|
153
|
-
}
|
154
|
-
@utility nui-input-file-regular-error {
|
155
|
-
.nui-input-file-regular-inner {
|
156
|
-
@apply border-danger-500 dark:border-danger-500;
|
157
|
-
}
|
158
|
-
}
|
159
|
-
@utility nui-input-file-regular-rounded-sm {
|
160
|
-
.nui-input-file-regular-inner {
|
161
|
-
@apply rounded-md;
|
162
|
-
}
|
163
|
-
}
|
164
|
-
@utility nui-input-file-regular-rounded-md {
|
165
|
-
.nui-input-file-regular-inner {
|
166
|
-
@apply rounded-lg;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
@utility nui-input-file-regular-rounded-lg {
|
170
|
-
.nui-input-file-regular-inner {
|
171
|
-
@apply rounded-xl;
|
172
|
-
}
|
173
|
-
}
|
174
|
-
@utility nui-input-file-regular-rounded-full {
|
175
|
-
.nui-input-file-regular-inner {
|
176
|
-
@apply rounded-full;
|
177
|
-
}
|
178
|
-
}
|
179
|
-
@utility nui-input-file-regular-sm {
|
180
|
-
@apply text-xs leading-4;
|
181
|
-
|
182
|
-
.nui-input-file-regular-inner {
|
183
|
-
@apply h-8 py-2 pe-3;
|
184
|
-
}
|
185
|
-
|
186
|
-
.nui-input-file-regular-addon {
|
187
|
-
@apply h-8 px-2;
|
188
|
-
}
|
189
|
-
|
190
|
-
.nui-input-file-regular-icon {
|
191
|
-
@apply w-3 h-3;
|
192
|
-
}
|
193
|
-
|
194
|
-
.nui-input-file-regular-placeload-wrapper {
|
195
|
-
@apply top-2.5;
|
196
|
-
}
|
197
|
-
}
|
198
|
-
@utility nui-input-file-regular-md {
|
199
|
-
@apply text-[0.825rem] leading-5;
|
200
|
-
|
201
|
-
.nui-input-file-regular-inner {
|
202
|
-
@apply h-10 pe-4;
|
203
|
-
}
|
204
|
-
|
205
|
-
.nui-input-file-regular-addon {
|
206
|
-
@apply h-10 px-3;
|
207
|
-
}
|
208
|
-
|
209
|
-
.nui-input-file-regular-icon {
|
210
|
-
@apply w-4 h-4;
|
211
|
-
}
|
212
|
-
|
213
|
-
.nui-input-file-regular-placeload-wrapper {
|
214
|
-
@apply top-3.5;
|
215
|
-
}
|
216
|
-
}
|
217
|
-
@utility nui-input-file-regular-lg {
|
218
|
-
@apply text-sm leading-5;
|
219
|
-
|
220
|
-
.nui-input-file-regular-inner {
|
221
|
-
@apply h-12 pe-4;
|
222
|
-
}
|
223
|
-
|
224
|
-
.nui-input-file-regular-addon {
|
225
|
-
@apply h-12 px-4;
|
226
|
-
}
|
227
|
-
|
228
|
-
.nui-input-file-regular-icon {
|
229
|
-
@apply w-5 h-5;
|
230
|
-
}
|
231
|
-
|
232
|
-
.nui-input-file-regular-placeload-wrapper {
|
233
|
-
@apply top-[1.2rem];
|
234
|
-
}
|
235
|
-
}
|
236
|
-
@utility nui-input-file-regular-xl {
|
237
|
-
@apply text-sm leading-5;
|
238
|
-
|
239
|
-
.nui-input-file-regular-inner {
|
240
|
-
@apply h-14 pe-4;
|
241
|
-
}
|
242
|
-
|
243
|
-
.nui-input-file-regular-addon {
|
244
|
-
@apply h-14 px-5;
|
245
|
-
}
|
246
|
-
|
247
|
-
.nui-input-file-regular-icon {
|
248
|
-
@apply w-6 h-6;
|
249
|
-
}
|
250
|
-
|
251
|
-
.nui-input-file-regular-placeload-wrapper {
|
252
|
-
@apply top-[1.4rem];
|
253
|
-
}
|
254
|
-
}
|
package/lib/css/input-file.css
DELETED
@@ -1,223 +0,0 @@
|
|
1
|
-
/* @utility nui-input-file */
|
2
|
-
|
3
|
-
@utility nui-input-file {
|
4
|
-
@apply relative block nui-focus;
|
5
|
-
}
|
6
|
-
@utility nui-input-file-drop {
|
7
|
-
@apply relative h-64 flex justify-center items-center;
|
8
|
-
@apply bg-white dark:bg-muted-700;
|
9
|
-
@apply border-2 border-dashed border-muted-200 dark:border-muted-200;
|
10
|
-
@apply hover:border-muted-400 dark:hover:border-muted-400;
|
11
|
-
@apply transition-colors duration-300;
|
12
|
-
|
13
|
-
.nui-drop-area-inner {
|
14
|
-
@apply absolute z-10;
|
15
|
-
}
|
16
|
-
|
17
|
-
.nui-drop-zone {
|
18
|
-
@apply flex flex-col items-center font-sans text-sm;
|
19
|
-
}
|
20
|
-
|
21
|
-
.nui-drop-zone-icon {
|
22
|
-
@apply w-10 h-10 mb-2;
|
23
|
-
@apply transition-colors duration-300;
|
24
|
-
}
|
25
|
-
|
26
|
-
.nui-drop-zone-text {
|
27
|
-
@apply block font-sans font-normal;
|
28
|
-
}
|
29
|
-
|
30
|
-
.nui-drop-zone-separator {
|
31
|
-
@apply block font-sans font-semibold leading-none py-1;
|
32
|
-
}
|
33
|
-
|
34
|
-
.nui-drop-zone-input {
|
35
|
-
@apply absolute top-0 left-0 h-full w-full opacity-0 file:cursor-pointer z-20;
|
36
|
-
}
|
37
|
-
|
38
|
-
&.nui-input-file-primary {
|
39
|
-
.nui-drop-zone-icon {
|
40
|
-
@apply text-muted-400 dark:text-muted-400;
|
41
|
-
}
|
42
|
-
|
43
|
-
.nui-drop-zone-text {
|
44
|
-
@apply text-muted-400 dark:text-muted-400;
|
45
|
-
}
|
46
|
-
|
47
|
-
.nui-drop-zone-separator {
|
48
|
-
@apply text-muted-400 dark:text-muted-400;
|
49
|
-
}
|
50
|
-
|
51
|
-
&:hover {
|
52
|
-
.nui-drop-zone-icon {
|
53
|
-
@apply text-primary-500 dark:text-primary-500;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
&.nui-input-file-dark {
|
59
|
-
.nui-drop-zone-icon {
|
60
|
-
@apply text-muted-400 dark:text-muted-400;
|
61
|
-
}
|
62
|
-
|
63
|
-
.nui-drop-zone-text {
|
64
|
-
@apply text-muted-400 dark:text-muted-400;
|
65
|
-
}
|
66
|
-
|
67
|
-
.nui-drop-zone-separator {
|
68
|
-
@apply text-muted-400 dark:text-muted-400;
|
69
|
-
}
|
70
|
-
|
71
|
-
&:hover {
|
72
|
-
.nui-drop-zone-icon {
|
73
|
-
@apply text-muted-900 dark:text-muted-100;
|
74
|
-
}
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
&.nui-input-file-black {
|
79
|
-
.nui-drop-zone-icon {
|
80
|
-
@apply text-muted-400 dark:text-muted-400;
|
81
|
-
}
|
82
|
-
|
83
|
-
.nui-drop-zone-text {
|
84
|
-
@apply text-muted-400 dark:text-muted-400;
|
85
|
-
}
|
86
|
-
|
87
|
-
.nui-drop-zone-separator {
|
88
|
-
@apply text-muted-400 dark:text-muted-400;
|
89
|
-
}
|
90
|
-
|
91
|
-
&:hover {
|
92
|
-
.nui-drop-zone-icon {
|
93
|
-
@apply text-black dark:text-white;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
}
|
98
|
-
@utility nui-input-file-button {
|
99
|
-
@apply w-64 max-w-full flex flex-col items-center px-4 py-8 tracking-wide cursor-pointer;
|
100
|
-
@apply bg-white dark:bg-muted-700;
|
101
|
-
@apply transition-colors duration-300;
|
102
|
-
|
103
|
-
.nui-upload-button-icon {
|
104
|
-
@apply w-8 h-8;
|
105
|
-
}
|
106
|
-
|
107
|
-
.nui-upload-button-label {
|
108
|
-
@apply block mt-2 leading-normal;
|
109
|
-
@apply font-sans text-sm;
|
110
|
-
}
|
111
|
-
|
112
|
-
&.nui-input-file-primary {
|
113
|
-
@apply text-muted-400 dark:text-muted-400;
|
114
|
-
@apply hover:text-primary-500 dark:hover:text-primary-500;
|
115
|
-
@apply border-2 border-muted-200 dark:border-muted-600;
|
116
|
-
@apply hover:border-primary-500 dark:hover:border-primary-500;
|
117
|
-
}
|
118
|
-
|
119
|
-
&.nui-input-file-dark {
|
120
|
-
@apply text-muted-400 dark:text-muted-400;
|
121
|
-
@apply hover:text-muted-900 dark:hover:text-muted-100;
|
122
|
-
@apply border-2 border-muted-200 dark:border-muted-600;
|
123
|
-
@apply hover:border-muted-900 dark:hover:border-muted-100;
|
124
|
-
}
|
125
|
-
|
126
|
-
&.nui-input-file-black {
|
127
|
-
@apply text-muted-400 dark:text-muted-400;
|
128
|
-
@apply hover:text-black dark:hover:text-white;
|
129
|
-
@apply border-2 border-muted-200 dark:border-muted-600;
|
130
|
-
@apply hover:border-black dark:hover:border-white;
|
131
|
-
}
|
132
|
-
}
|
133
|
-
@utility nui-input-file-combo {
|
134
|
-
@apply block font-sans p-1;
|
135
|
-
@apply bg-white dark:bg-muted-700;
|
136
|
-
@apply border border-muted-200 dark:border-muted-600;
|
137
|
-
|
138
|
-
.nui-combo-label-text {
|
139
|
-
@apply font-sans sr-only text-sm;
|
140
|
-
}
|
141
|
-
|
142
|
-
.nui-combo-input {
|
143
|
-
@apply outline-none block w-full file:me-4 file:py-2 file:px-4 file:border-0 file:cursor-pointer file:transition-colors file:duration-300;
|
144
|
-
@apply text-sm text-muted-500 dark:text-muted-400;
|
145
|
-
@apply file:text-sm;
|
146
|
-
}
|
147
|
-
|
148
|
-
&.nui-input-file-primary {
|
149
|
-
.nui-combo-input {
|
150
|
-
@apply file:bg-primary-500/10 dark:file:bg-primary-500/10;
|
151
|
-
@apply file:hover:bg-primary-500/20 dark:file:hover:bg-primary-500/20;
|
152
|
-
@apply file:text-primary-700 dark:file:text-primary-700;
|
153
|
-
}
|
154
|
-
}
|
155
|
-
|
156
|
-
&.nui-input-file-dark {
|
157
|
-
.nui-combo-input {
|
158
|
-
@apply file:bg-muted-900/10 dark:file:bg-muted-100/10;
|
159
|
-
@apply file:hover:bg-muted-900/20 dark:file:hover:bg-muted-100/20;
|
160
|
-
@apply file:text-muted-900 dark:file:text-muted-100;
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
&.nui-input-file-black {
|
165
|
-
.nui-combo-input {
|
166
|
-
@apply file:bg-black/10 dark:file:bg-white/10;
|
167
|
-
@apply file:hover:bg-black/20 dark:file:hover:bg-white/20;
|
168
|
-
@apply file:text-black dark:file:text-white;
|
169
|
-
}
|
170
|
-
}
|
171
|
-
}
|
172
|
-
@utility nui-input-file-rounded-sm {
|
173
|
-
&.nui-input-file-drop, &.nui-input-file-button {
|
174
|
-
@apply rounded-md;
|
175
|
-
}
|
176
|
-
|
177
|
-
&.nui-input-file-combo {
|
178
|
-
@apply rounded-md;
|
179
|
-
}
|
180
|
-
|
181
|
-
&.nui-input-file-combo .nui-combo-input {
|
182
|
-
@apply file:rounded-md;
|
183
|
-
}
|
184
|
-
}
|
185
|
-
@utility nui-input-file-rounded-md {
|
186
|
-
&.nui-input-file-drop, &.nui-input-file-button {
|
187
|
-
@apply rounded-lg;
|
188
|
-
}
|
189
|
-
|
190
|
-
&.nui-input-file-combo {
|
191
|
-
@apply rounded-lg;
|
192
|
-
}
|
193
|
-
|
194
|
-
&.nui-input-file-combo .nui-combo-input {
|
195
|
-
@apply file:rounded-lg;
|
196
|
-
}
|
197
|
-
}
|
198
|
-
@utility nui-input-file-rounded-lg {
|
199
|
-
&.nui-input-file-drop, &.nui-input-file-button {
|
200
|
-
@apply rounded-xl;
|
201
|
-
}
|
202
|
-
|
203
|
-
&.nui-input-file-combo {
|
204
|
-
@apply rounded-xl;
|
205
|
-
}
|
206
|
-
|
207
|
-
&.nui-input-file-combo .nui-combo-input {
|
208
|
-
@apply file:rounded-xl;
|
209
|
-
}
|
210
|
-
}
|
211
|
-
@utility nui-input-file-rounded-full {
|
212
|
-
&.nui-input-file-drop, &.nui-input-file-button {
|
213
|
-
@apply rounded-full;
|
214
|
-
}
|
215
|
-
|
216
|
-
&.nui-input-file-combo {
|
217
|
-
@apply rounded-full;
|
218
|
-
}
|
219
|
-
|
220
|
-
&.nui-input-file-combo .nui-combo-input {
|
221
|
-
@apply file:rounded-full;
|
222
|
-
}
|
223
|
-
}
|