daisyui 5.0.0-alpha.21 → 5.0.0-alpha.22
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/base/properties.css +49 -1
- package/base/rootcolor.css +43 -1
- package/base/scrollbar.css +37 -1
- package/colors/properties.css +500 -1
- package/colors/responsive.css +2510 -1
- package/colors/states.css +1840 -1
- package/components/alert/object.js +1 -1
- package/components/alert.css +433 -1
- package/components/avatar/object.js +1 -1
- package/components/avatar.css +385 -1
- package/components/badge/object.js +1 -1
- package/components/badge.css +589 -1
- package/components/button/object.js +1 -1
- package/components/button.css +1795 -1
- package/components/card/object.js +1 -1
- package/components/card.css +955 -1
- package/components/chat/object.js +1 -1
- package/components/chat.css +775 -1
- package/components/checkbox/object.js +1 -1
- package/components/checkbox.css +853 -1
- package/components/collapse.css +1039 -1
- package/components/countdown.css +121 -1
- package/components/divider/object.js +1 -1
- package/components/divider.css +643 -1
- package/components/dropdown/object.js +1 -1
- package/components/dropdown.css +1123 -1
- package/components/footer/object.js +1 -1
- package/components/footer.css +265 -1
- package/components/hero.css +181 -1
- package/components/input/class.json +1 -1
- package/components/input/object.js +1 -1
- package/components/input.css +1147 -1
- package/components/kbd/object.js +1 -1
- package/components/kbd.css +295 -1
- package/components/link.css +427 -1
- package/components/loading.css +271 -1
- package/components/mask.css +499 -1
- package/components/menu/object.js +1 -1
- package/components/menu.css +1411 -1
- package/components/navbar.css +151 -1
- package/components/progress.css +967 -1
- package/components/radialprogress.css +223 -1
- package/components/radio/object.js +1 -1
- package/components/radio.css +601 -1
- package/components/range/object.js +1 -1
- package/components/range.css +973 -1
- package/components/rating/object.js +1 -1
- package/components/rating.css +613 -1
- package/components/select/class.json +1 -1
- package/components/select/object.js +1 -1
- package/components/select.css +925 -1
- package/components/skeleton/object.js +1 -1
- package/components/skeleton.css +145 -1
- package/components/stack.css +157 -1
- package/components/status.css +385 -1
- package/components/steps/object.js +1 -1
- package/components/steps.css +853 -1
- package/components/swap/object.js +1 -1
- package/components/swap.css +553 -1
- package/components/tab/class.json +4 -4
- package/components/tab/object.js +1 -1
- package/components/tab.css +1333 -1
- package/components/table/object.js +1 -1
- package/components/table.css +781 -1
- package/components/timeline/object.js +1 -1
- package/components/timeline.css +1735 -1
- package/components/toggle/object.js +1 -1
- package/components/toggle.css +811 -1
- package/components/tooltip/object.js +1 -1
- package/components/tooltip.css +823 -1
- package/full.css +1 -1
- package/index.js +1 -1
- package/package.json +79 -78
- package/themes.css +1 -1
- package/utilities/join.css +757 -1
package/components/avatar.css
CHANGED
|
@@ -1 +1,385 @@
|
|
|
1
|
-
|
|
1
|
+
.avatar-group {
|
|
2
|
+
display: flex;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
:where(.avatar) {
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
border-radius: calc(infinity * 1px);
|
|
7
|
+
border: 4px solid var(--color-base-100);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.avatar {
|
|
11
|
+
position: relative;
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
vertical-align: middle;
|
|
14
|
+
&>div {
|
|
15
|
+
display: block;
|
|
16
|
+
aspect-ratio: 1 / 1;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
img {
|
|
20
|
+
height: 100%;
|
|
21
|
+
width: 100%;
|
|
22
|
+
object-fit: cover;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.avatar-placeholder {
|
|
26
|
+
&>div {
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.avatar-online {
|
|
33
|
+
&:before {
|
|
34
|
+
content: "";
|
|
35
|
+
position: absolute;
|
|
36
|
+
z-index: 10;
|
|
37
|
+
display: block;
|
|
38
|
+
border-radius: calc(infinity * 1px);
|
|
39
|
+
background-color: var(--color-success, );
|
|
40
|
+
outline: 2px solid var(--color-base-100);
|
|
41
|
+
width: 15%;
|
|
42
|
+
height: 15%;
|
|
43
|
+
top: 7%;
|
|
44
|
+
right: 7%;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.avatar-offline {
|
|
48
|
+
&:before {
|
|
49
|
+
content: "";
|
|
50
|
+
position: absolute;
|
|
51
|
+
z-index: 10;
|
|
52
|
+
display: block;
|
|
53
|
+
border-radius: calc(infinity * 1px);
|
|
54
|
+
background-color: var(--color-base-300, );
|
|
55
|
+
outline: 2px solid var(--color-base-100);
|
|
56
|
+
width: 15%;
|
|
57
|
+
height: 15%;
|
|
58
|
+
top: 7%;
|
|
59
|
+
right: 7%;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
@media (min-width: 640px) {
|
|
63
|
+
.sm\:avatar-group {
|
|
64
|
+
display: flex;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
:where(.avatar) {
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
border-radius: calc(infinity * 1px);
|
|
69
|
+
border: 4px solid var(--color-base-100);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
.sm\:avatar {
|
|
73
|
+
position: relative;
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
vertical-align: middle;
|
|
76
|
+
&>div {
|
|
77
|
+
display: block;
|
|
78
|
+
aspect-ratio: 1 / 1;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
}
|
|
81
|
+
img {
|
|
82
|
+
height: 100%;
|
|
83
|
+
width: 100%;
|
|
84
|
+
object-fit: cover;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
.sm\:avatar-placeholder {
|
|
88
|
+
&>div {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
.sm\:avatar-online {
|
|
95
|
+
&:before {
|
|
96
|
+
content: "";
|
|
97
|
+
position: absolute;
|
|
98
|
+
z-index: 10;
|
|
99
|
+
display: block;
|
|
100
|
+
border-radius: calc(infinity * 1px);
|
|
101
|
+
background-color: var(--color-success, );
|
|
102
|
+
outline: 2px solid var(--color-base-100);
|
|
103
|
+
width: 15%;
|
|
104
|
+
height: 15%;
|
|
105
|
+
top: 7%;
|
|
106
|
+
right: 7%;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.sm\:avatar-offline {
|
|
110
|
+
&:before {
|
|
111
|
+
content: "";
|
|
112
|
+
position: absolute;
|
|
113
|
+
z-index: 10;
|
|
114
|
+
display: block;
|
|
115
|
+
border-radius: calc(infinity * 1px);
|
|
116
|
+
background-color: var(--color-base-300, );
|
|
117
|
+
outline: 2px solid var(--color-base-100);
|
|
118
|
+
width: 15%;
|
|
119
|
+
height: 15%;
|
|
120
|
+
top: 7%;
|
|
121
|
+
right: 7%;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@media (min-width: 768px) {
|
|
128
|
+
.md\:avatar-group {
|
|
129
|
+
display: flex;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
:where(.avatar) {
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
border-radius: calc(infinity * 1px);
|
|
134
|
+
border: 4px solid var(--color-base-100);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
.md\:avatar {
|
|
138
|
+
position: relative;
|
|
139
|
+
display: inline-flex;
|
|
140
|
+
vertical-align: middle;
|
|
141
|
+
&>div {
|
|
142
|
+
display: block;
|
|
143
|
+
aspect-ratio: 1 / 1;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
}
|
|
146
|
+
img {
|
|
147
|
+
height: 100%;
|
|
148
|
+
width: 100%;
|
|
149
|
+
object-fit: cover;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
.md\:avatar-placeholder {
|
|
153
|
+
&>div {
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: center;
|
|
156
|
+
justify-content: center;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
.md\:avatar-online {
|
|
160
|
+
&:before {
|
|
161
|
+
content: "";
|
|
162
|
+
position: absolute;
|
|
163
|
+
z-index: 10;
|
|
164
|
+
display: block;
|
|
165
|
+
border-radius: calc(infinity * 1px);
|
|
166
|
+
background-color: var(--color-success, );
|
|
167
|
+
outline: 2px solid var(--color-base-100);
|
|
168
|
+
width: 15%;
|
|
169
|
+
height: 15%;
|
|
170
|
+
top: 7%;
|
|
171
|
+
right: 7%;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
.md\:avatar-offline {
|
|
175
|
+
&:before {
|
|
176
|
+
content: "";
|
|
177
|
+
position: absolute;
|
|
178
|
+
z-index: 10;
|
|
179
|
+
display: block;
|
|
180
|
+
border-radius: calc(infinity * 1px);
|
|
181
|
+
background-color: var(--color-base-300, );
|
|
182
|
+
outline: 2px solid var(--color-base-100);
|
|
183
|
+
width: 15%;
|
|
184
|
+
height: 15%;
|
|
185
|
+
top: 7%;
|
|
186
|
+
right: 7%;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
@media (min-width: 1024px) {
|
|
193
|
+
.lg\:avatar-group {
|
|
194
|
+
display: flex;
|
|
195
|
+
overflow: hidden;
|
|
196
|
+
:where(.avatar) {
|
|
197
|
+
overflow: hidden;
|
|
198
|
+
border-radius: calc(infinity * 1px);
|
|
199
|
+
border: 4px solid var(--color-base-100);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
.lg\:avatar {
|
|
203
|
+
position: relative;
|
|
204
|
+
display: inline-flex;
|
|
205
|
+
vertical-align: middle;
|
|
206
|
+
&>div {
|
|
207
|
+
display: block;
|
|
208
|
+
aspect-ratio: 1 / 1;
|
|
209
|
+
overflow: hidden;
|
|
210
|
+
}
|
|
211
|
+
img {
|
|
212
|
+
height: 100%;
|
|
213
|
+
width: 100%;
|
|
214
|
+
object-fit: cover;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
.lg\:avatar-placeholder {
|
|
218
|
+
&>div {
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: center;
|
|
221
|
+
justify-content: center;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
.lg\:avatar-online {
|
|
225
|
+
&:before {
|
|
226
|
+
content: "";
|
|
227
|
+
position: absolute;
|
|
228
|
+
z-index: 10;
|
|
229
|
+
display: block;
|
|
230
|
+
border-radius: calc(infinity * 1px);
|
|
231
|
+
background-color: var(--color-success, );
|
|
232
|
+
outline: 2px solid var(--color-base-100);
|
|
233
|
+
width: 15%;
|
|
234
|
+
height: 15%;
|
|
235
|
+
top: 7%;
|
|
236
|
+
right: 7%;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
.lg\:avatar-offline {
|
|
240
|
+
&:before {
|
|
241
|
+
content: "";
|
|
242
|
+
position: absolute;
|
|
243
|
+
z-index: 10;
|
|
244
|
+
display: block;
|
|
245
|
+
border-radius: calc(infinity * 1px);
|
|
246
|
+
background-color: var(--color-base-300, );
|
|
247
|
+
outline: 2px solid var(--color-base-100);
|
|
248
|
+
width: 15%;
|
|
249
|
+
height: 15%;
|
|
250
|
+
top: 7%;
|
|
251
|
+
right: 7%;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
@media (min-width: 1280px) {
|
|
258
|
+
.xl\:avatar-group {
|
|
259
|
+
display: flex;
|
|
260
|
+
overflow: hidden;
|
|
261
|
+
:where(.avatar) {
|
|
262
|
+
overflow: hidden;
|
|
263
|
+
border-radius: calc(infinity * 1px);
|
|
264
|
+
border: 4px solid var(--color-base-100);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
.xl\:avatar {
|
|
268
|
+
position: relative;
|
|
269
|
+
display: inline-flex;
|
|
270
|
+
vertical-align: middle;
|
|
271
|
+
&>div {
|
|
272
|
+
display: block;
|
|
273
|
+
aspect-ratio: 1 / 1;
|
|
274
|
+
overflow: hidden;
|
|
275
|
+
}
|
|
276
|
+
img {
|
|
277
|
+
height: 100%;
|
|
278
|
+
width: 100%;
|
|
279
|
+
object-fit: cover;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
.xl\:avatar-placeholder {
|
|
283
|
+
&>div {
|
|
284
|
+
display: flex;
|
|
285
|
+
align-items: center;
|
|
286
|
+
justify-content: center;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
.xl\:avatar-online {
|
|
290
|
+
&:before {
|
|
291
|
+
content: "";
|
|
292
|
+
position: absolute;
|
|
293
|
+
z-index: 10;
|
|
294
|
+
display: block;
|
|
295
|
+
border-radius: calc(infinity * 1px);
|
|
296
|
+
background-color: var(--color-success, );
|
|
297
|
+
outline: 2px solid var(--color-base-100);
|
|
298
|
+
width: 15%;
|
|
299
|
+
height: 15%;
|
|
300
|
+
top: 7%;
|
|
301
|
+
right: 7%;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
.xl\:avatar-offline {
|
|
305
|
+
&:before {
|
|
306
|
+
content: "";
|
|
307
|
+
position: absolute;
|
|
308
|
+
z-index: 10;
|
|
309
|
+
display: block;
|
|
310
|
+
border-radius: calc(infinity * 1px);
|
|
311
|
+
background-color: var(--color-base-300, );
|
|
312
|
+
outline: 2px solid var(--color-base-100);
|
|
313
|
+
width: 15%;
|
|
314
|
+
height: 15%;
|
|
315
|
+
top: 7%;
|
|
316
|
+
right: 7%;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
@media (min-width: 1536px) {
|
|
323
|
+
.\32xl\:avatar-group {
|
|
324
|
+
display: flex;
|
|
325
|
+
overflow: hidden;
|
|
326
|
+
:where(.avatar) {
|
|
327
|
+
overflow: hidden;
|
|
328
|
+
border-radius: calc(infinity * 1px);
|
|
329
|
+
border: 4px solid var(--color-base-100);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
.\32xl\:avatar {
|
|
333
|
+
position: relative;
|
|
334
|
+
display: inline-flex;
|
|
335
|
+
vertical-align: middle;
|
|
336
|
+
&>div {
|
|
337
|
+
display: block;
|
|
338
|
+
aspect-ratio: 1 / 1;
|
|
339
|
+
overflow: hidden;
|
|
340
|
+
}
|
|
341
|
+
img {
|
|
342
|
+
height: 100%;
|
|
343
|
+
width: 100%;
|
|
344
|
+
object-fit: cover;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
.\32xl\:avatar-placeholder {
|
|
348
|
+
&>div {
|
|
349
|
+
display: flex;
|
|
350
|
+
align-items: center;
|
|
351
|
+
justify-content: center;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
.\32xl\:avatar-online {
|
|
355
|
+
&:before {
|
|
356
|
+
content: "";
|
|
357
|
+
position: absolute;
|
|
358
|
+
z-index: 10;
|
|
359
|
+
display: block;
|
|
360
|
+
border-radius: calc(infinity * 1px);
|
|
361
|
+
background-color: var(--color-success, );
|
|
362
|
+
outline: 2px solid var(--color-base-100);
|
|
363
|
+
width: 15%;
|
|
364
|
+
height: 15%;
|
|
365
|
+
top: 7%;
|
|
366
|
+
right: 7%;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
.\32xl\:avatar-offline {
|
|
370
|
+
&:before {
|
|
371
|
+
content: "";
|
|
372
|
+
position: absolute;
|
|
373
|
+
z-index: 10;
|
|
374
|
+
display: block;
|
|
375
|
+
border-radius: calc(infinity * 1px);
|
|
376
|
+
background-color: var(--color-base-300, );
|
|
377
|
+
outline: 2px solid var(--color-base-100);
|
|
378
|
+
width: 15%;
|
|
379
|
+
height: 15%;
|
|
380
|
+
top: 7%;
|
|
381
|
+
right: 7%;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default {".badge":{"@apply inline-flex items-center justify-center h-5
|
|
1
|
+
export default {".badge":{"@apply inline-flex items-center justify-center h-5 rounded-badge text-base-content align-middle box-content gap-2":{},"border":"1px solid var(--badge-color, var(--color-base-200))","fontSize":"0.75rem","lineHeight":"1.25rem","width":"fit-content","paddingLeft":"0.563rem","paddingRight":"0.563rem","transitionProperty":"color, background-color, box-shadow","background":"var(--badge-color, var(--color-base-100))","&.badge-outline":{"color":"var(--badge-color, var(--color-base-content))","@apply border-current bg-transparent":{}},"&.badge-dash":{"color":"var(--badge-color, var(--color-base-content))","@apply bg-transparent":{},"borderStyle":"1px dashed currentColor"},"&.badge-soft":{"color":"var(--badge-color, var(--color-base-content))","background":"color-mix(in oklab, var(--badge-color, var(--color-base-content)) 8%, var(--color-base-100))","borderColor":"color-mix(in oklab, var(--badge-color, var(--color-base-content)) 10%, var(--color-base-100))"}},".badge-primary":{"--badge-color":"var(--color-primary)","@apply text-primary-content":{}},".badge-secondary":{"--badge-color":"var(--color-secondary)","@apply text-secondary-content":{}},".badge-accent":{"--badge-color":"var(--color-accent)","@apply text-accent-content":{}},".badge-neutral":{"--badge-color":"var(--color-neutral)","@apply text-neutral-content":{}},".badge-info":{"--badge-color":"var(--color-info)","@apply text-info-content":{}},".badge-success":{"--badge-color":"var(--color-success)","@apply text-success-content":{}},".badge-warning":{"--badge-color":"var(--color-warning)","@apply text-warning-content":{}},".badge-error":{"--badge-color":"var(--color-error)","@apply text-error-content":{}},".badge-ghost":{"@apply border-base-200 bg-base-200 text-base-content":{}},".badge-xs":{"@apply h-4 px-2":{},"fontSize":"0.625rem"},".badge-sm":{"@apply h-5 px-2.5":{},"fontSize":"0.75rem"},".badge-md":{"@apply h-6 px-3":{},"fontSize":"0.875rem"},".badge-lg":{"@apply h-8 px-4":{},"fontSize":"1rem"}};
|