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.
Files changed (75) hide show
  1. package/base/properties.css +49 -1
  2. package/base/rootcolor.css +43 -1
  3. package/base/scrollbar.css +37 -1
  4. package/colors/properties.css +500 -1
  5. package/colors/responsive.css +2510 -1
  6. package/colors/states.css +1840 -1
  7. package/components/alert/object.js +1 -1
  8. package/components/alert.css +433 -1
  9. package/components/avatar/object.js +1 -1
  10. package/components/avatar.css +385 -1
  11. package/components/badge/object.js +1 -1
  12. package/components/badge.css +589 -1
  13. package/components/button/object.js +1 -1
  14. package/components/button.css +1795 -1
  15. package/components/card/object.js +1 -1
  16. package/components/card.css +955 -1
  17. package/components/chat/object.js +1 -1
  18. package/components/chat.css +775 -1
  19. package/components/checkbox/object.js +1 -1
  20. package/components/checkbox.css +853 -1
  21. package/components/collapse.css +1039 -1
  22. package/components/countdown.css +121 -1
  23. package/components/divider/object.js +1 -1
  24. package/components/divider.css +643 -1
  25. package/components/dropdown/object.js +1 -1
  26. package/components/dropdown.css +1123 -1
  27. package/components/footer/object.js +1 -1
  28. package/components/footer.css +265 -1
  29. package/components/hero.css +181 -1
  30. package/components/input/class.json +1 -1
  31. package/components/input/object.js +1 -1
  32. package/components/input.css +1147 -1
  33. package/components/kbd/object.js +1 -1
  34. package/components/kbd.css +295 -1
  35. package/components/link.css +427 -1
  36. package/components/loading.css +271 -1
  37. package/components/mask.css +499 -1
  38. package/components/menu/object.js +1 -1
  39. package/components/menu.css +1411 -1
  40. package/components/navbar.css +151 -1
  41. package/components/progress.css +967 -1
  42. package/components/radialprogress.css +223 -1
  43. package/components/radio/object.js +1 -1
  44. package/components/radio.css +601 -1
  45. package/components/range/object.js +1 -1
  46. package/components/range.css +973 -1
  47. package/components/rating/object.js +1 -1
  48. package/components/rating.css +613 -1
  49. package/components/select/class.json +1 -1
  50. package/components/select/object.js +1 -1
  51. package/components/select.css +925 -1
  52. package/components/skeleton/object.js +1 -1
  53. package/components/skeleton.css +145 -1
  54. package/components/stack.css +157 -1
  55. package/components/status.css +385 -1
  56. package/components/steps/object.js +1 -1
  57. package/components/steps.css +853 -1
  58. package/components/swap/object.js +1 -1
  59. package/components/swap.css +553 -1
  60. package/components/tab/class.json +4 -4
  61. package/components/tab/object.js +1 -1
  62. package/components/tab.css +1333 -1
  63. package/components/table/object.js +1 -1
  64. package/components/table.css +781 -1
  65. package/components/timeline/object.js +1 -1
  66. package/components/timeline.css +1735 -1
  67. package/components/toggle/object.js +1 -1
  68. package/components/toggle.css +811 -1
  69. package/components/tooltip/object.js +1 -1
  70. package/components/tooltip.css +823 -1
  71. package/full.css +1 -1
  72. package/index.js +1 -1
  73. package/package.json +79 -78
  74. package/themes.css +1 -1
  75. package/utilities/join.css +757 -1
@@ -1 +1,1123 @@
1
- /*! 🌼 daisyUI 5.0.0-alpha.21 – MIT License */ .dropdown{position-area:var(--anchor-v,bottom)var(--anchor-h,span-right);display:inline-block;position:relative;&>:not(summary):focus{outline-offset:2px;outline:2px solid #0000}& .dropdown-content{transition-property:opacity,scale;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);position:absolute}&:not(details){& .dropdown-content{visibility:hidden;transform-origin:top;--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:0}}&.dropdown-open,&:not(.dropdown-hover):focus,&:focus-within{& .dropdown-content{visibility:visible;opacity:1}}&.dropdown-hover:hover{& .dropdown-content{visibility:visible;--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:1}}&:is(details){& summary{&::-webkit-details-marker{display:none}}}&.dropdown-open,&:focus,&:focus-within{& .dropdown-content{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}}&[popover]{z-index:1000;color:inherit;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));transition-property:opacity,scale;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);position:fixed;@supports not (position-area:bottom){&{margin:auto}&.dropdown-open{visibility:hidden;transform-origin:top;--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:0;&:popover-open{visibility:visible;--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:1}}&::backdrop{background-color:oklab(0% none none/.3)}}&:not(.dropdown-open,:popover-open){visibility:hidden;transform-origin:top;--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:0}}}.dropdown-start{--anchor-h:span-right;& :where(.dropdown-content){inset-inline-end:auto}&.dropdown-left{--anchor-h:left;--anchor-v:span-bottom;& .dropdown-content{top:var(--spacing-0,0px);bottom:auto}}&.dropdown-right{--anchor-h:right;--anchor-v:span-bottom;& .dropdown-content{top:var(--spacing-0,0px);bottom:auto}}}.dropdown-center{--anchor-h:center;& :where(.dropdown-content){inset-inline-end:50%;translate:50%}&.dropdown-left{--anchor-h:left;--anchor-v:center;& .dropdown-content{top:auto;bottom:50%;translate:0 50%}}&.dropdown-right{--anchor-h:right;--anchor-v:center;& .dropdown-content{top:auto;bottom:50%;translate:0 50%}}}.dropdown-end{--anchor-h:span-left;& :where(.dropdown-content){inset-inline-end:var(--spacing-0,0px)}&.dropdown-left{--anchor-h:left;--anchor-v:span-top;& .dropdown-content{top:auto;bottom:var(--spacing-0,0px)}}&.dropdown-right{--anchor-h:right;--anchor-v:span-top;& .dropdown-content{top:auto;bottom:var(--spacing-0,0px)}}}.dropdown-left{--anchor-h:left;--anchor-v:span-bottom;& .dropdown-content{inset-inline-end:100%;top:var(--spacing-0,0px);transform-origin:100%;bottom:auto}}.dropdown-right{--anchor-h:right;--anchor-v:span-bottom;& .dropdown-content{inset-inline-start:100%;top:var(--spacing-0,0px);transform-origin:0;bottom:auto}}.dropdown-bottom{--anchor-v:bottom;& .dropdown-content{transform-origin:top;top:100%;bottom:auto}}.dropdown-top{--anchor-v:top;& .dropdown-content{transform-origin:bottom;top:auto;bottom:100%}}
1
+ .dropdown {
2
+ position: relative;
3
+ display: inline-block;
4
+ position-area: var(--anchor-v, bottom) var(--anchor-h, span-right);
5
+ &>*:not(summary):focus {
6
+ outline: 2px solid transparent;
7
+ outline-offset: 2px;
8
+ }
9
+ .dropdown-content {
10
+ position: absolute;
11
+ transition-property: opacity, scale;
12
+ transition-duration: .2s;
13
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
14
+ }
15
+ &:not(details) {
16
+ .dropdown-content {
17
+ visibility: hidden;
18
+ transform-origin: top;
19
+ opacity: 0%;
20
+ scale: 95%;
21
+ }
22
+ }
23
+ &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within {
24
+ .dropdown-content {
25
+ visibility: visible;
26
+ opacity: 100%;
27
+ }
28
+ }
29
+ &.dropdown-hover:hover {
30
+ .dropdown-content {
31
+ visibility: visible;
32
+ opacity: 100%;
33
+ scale: 100%;
34
+ }
35
+ }
36
+ &:is(details) {
37
+ summary {
38
+ &::-webkit-details-marker {
39
+ display: none;
40
+ }
41
+ }
42
+ }
43
+ &.dropdown-open, &:focus, &:focus-within {
44
+ .dropdown-content {
45
+ scale: 100%;
46
+ }
47
+ }
48
+ &[popover] {
49
+ position: fixed;
50
+ z-index: 1000;
51
+ color: inherit;
52
+ transition-property: opacity, scale;
53
+ transition-duration: .2s;
54
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
55
+ @supports not (position-area: bottom) {
56
+ margin: auto;
57
+ &.dropdown-open {
58
+ visibility: hidden;
59
+ transform-origin: top;
60
+ opacity: 0%;
61
+ scale: 95%;
62
+ &:popover-open {
63
+ visibility: visible;
64
+ opacity: 100%;
65
+ scale: 100%;
66
+ }
67
+ }
68
+ &::backdrop {
69
+ background-color: color-mix(in oklab, black 30%, transparent);
70
+ }
71
+ }
72
+ &:not(.dropdown-open, :popover-open) {
73
+ visibility: hidden;
74
+ transform-origin: top;
75
+ opacity: 0%;
76
+ scale: 95%;
77
+ }
78
+ }
79
+ }
80
+ .dropdown-start {
81
+ --anchor-h: span-right;
82
+ :where(.dropdown-content) {
83
+ inset-inline-end: auto;
84
+ }
85
+ &.dropdown-left {
86
+ --anchor-h: left;
87
+ --anchor-v: span-bottom;
88
+ .dropdown-content {
89
+ top: var(--spacing-0, 0px);
90
+ bottom: auto;
91
+ }
92
+ }
93
+ &.dropdown-right {
94
+ --anchor-h: right;
95
+ --anchor-v: span-bottom;
96
+ .dropdown-content {
97
+ top: var(--spacing-0, 0px);
98
+ bottom: auto;
99
+ }
100
+ }
101
+ }
102
+ .dropdown-center {
103
+ --anchor-h: center;
104
+ :where(.dropdown-content) {
105
+ inset-inline-end: calc(1/2 * 100%);
106
+ translate: 50% 0;
107
+ }
108
+ &.dropdown-left {
109
+ --anchor-h: left;
110
+ --anchor-v: center;
111
+ .dropdown-content {
112
+ top: auto;
113
+ bottom: calc(1/2 * 100%);
114
+ translate: 0 50%;
115
+ }
116
+ }
117
+ &.dropdown-right {
118
+ --anchor-h: right;
119
+ --anchor-v: center;
120
+ .dropdown-content {
121
+ top: auto;
122
+ bottom: calc(1/2 * 100%);
123
+ translate: 0 50%;
124
+ }
125
+ }
126
+ }
127
+ .dropdown-end {
128
+ --anchor-h: span-left;
129
+ :where(.dropdown-content) {
130
+ inset-inline-end: var(--spacing-0, 0px);
131
+ }
132
+ &.dropdown-left {
133
+ --anchor-h: left;
134
+ --anchor-v: span-top;
135
+ .dropdown-content {
136
+ top: auto;
137
+ bottom: var(--spacing-0, 0px);
138
+ }
139
+ }
140
+ &.dropdown-right {
141
+ --anchor-h: right;
142
+ --anchor-v: span-top;
143
+ .dropdown-content {
144
+ top: auto;
145
+ bottom: var(--spacing-0, 0px);
146
+ }
147
+ }
148
+ }
149
+ .dropdown-left {
150
+ --anchor-h: left;
151
+ --anchor-v: span-bottom;
152
+ .dropdown-content {
153
+ inset-inline-end: 100%;
154
+ top: var(--spacing-0, 0px);
155
+ bottom: auto;
156
+ transform-origin: right;
157
+ }
158
+ }
159
+ .dropdown-right {
160
+ --anchor-h: right;
161
+ --anchor-v: span-bottom;
162
+ .dropdown-content {
163
+ inset-inline-start: 100%;
164
+ top: var(--spacing-0, 0px);
165
+ bottom: auto;
166
+ transform-origin: left;
167
+ }
168
+ }
169
+ .dropdown-bottom {
170
+ --anchor-v: bottom;
171
+ .dropdown-content {
172
+ top: 100%;
173
+ bottom: auto;
174
+ transform-origin: top;
175
+ }
176
+ }
177
+ .dropdown-top {
178
+ --anchor-v: top;
179
+ .dropdown-content {
180
+ top: auto;
181
+ bottom: 100%;
182
+ transform-origin: bottom;
183
+ }
184
+ }
185
+ @media (min-width: 640px) {
186
+ .sm\:dropdown {
187
+ position: relative;
188
+ display: inline-block;
189
+ position-area: var(--anchor-v, bottom) var(--anchor-h, span-right);
190
+ &>*:not(summary):focus {
191
+ outline: 2px solid transparent;
192
+ outline-offset: 2px;
193
+ }
194
+ .dropdown-content {
195
+ position: absolute;
196
+ transition-property: opacity, scale;
197
+ transition-duration: .2s;
198
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
199
+ }
200
+ &:not(details) {
201
+ .dropdown-content {
202
+ visibility: hidden;
203
+ transform-origin: top;
204
+ opacity: 0%;
205
+ scale: 95%;
206
+ }
207
+ }
208
+ &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within {
209
+ .dropdown-content {
210
+ visibility: visible;
211
+ opacity: 100%;
212
+ }
213
+ }
214
+ &.dropdown-hover:hover {
215
+ .dropdown-content {
216
+ visibility: visible;
217
+ opacity: 100%;
218
+ scale: 100%;
219
+ }
220
+ }
221
+ &:is(details) {
222
+ summary {
223
+ &::-webkit-details-marker {
224
+ display: none;
225
+ }
226
+ }
227
+ }
228
+ &.dropdown-open, &:focus, &:focus-within {
229
+ .dropdown-content {
230
+ scale: 100%;
231
+ }
232
+ }
233
+ &[popover] {
234
+ position: fixed;
235
+ z-index: 1000;
236
+ color: inherit;
237
+ transition-property: opacity, scale;
238
+ transition-duration: .2s;
239
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
240
+ @supports not (position-area: bottom) {
241
+ margin: auto;
242
+ &.dropdown-open {
243
+ visibility: hidden;
244
+ transform-origin: top;
245
+ opacity: 0%;
246
+ scale: 95%;
247
+ &:popover-open {
248
+ visibility: visible;
249
+ opacity: 100%;
250
+ scale: 100%;
251
+ }
252
+ }
253
+ &::backdrop {
254
+ background-color: color-mix(in oklab, black 30%, transparent);
255
+ }
256
+ }
257
+ &:not(.dropdown-open, :popover-open) {
258
+ visibility: hidden;
259
+ transform-origin: top;
260
+ opacity: 0%;
261
+ scale: 95%;
262
+ }
263
+ }
264
+ }
265
+ .sm\:dropdown-start {
266
+ --anchor-h: span-right;
267
+ :where(.dropdown-content) {
268
+ inset-inline-end: auto;
269
+ }
270
+ &.dropdown-left {
271
+ --anchor-h: left;
272
+ --anchor-v: span-bottom;
273
+ .dropdown-content {
274
+ top: var(--spacing-0, 0px);
275
+ bottom: auto;
276
+ }
277
+ }
278
+ &.dropdown-right {
279
+ --anchor-h: right;
280
+ --anchor-v: span-bottom;
281
+ .dropdown-content {
282
+ top: var(--spacing-0, 0px);
283
+ bottom: auto;
284
+ }
285
+ }
286
+ }
287
+ .sm\:dropdown-center {
288
+ --anchor-h: center;
289
+ :where(.dropdown-content) {
290
+ inset-inline-end: calc(1/2 * 100%);
291
+ translate: 50% 0;
292
+ }
293
+ &.dropdown-left {
294
+ --anchor-h: left;
295
+ --anchor-v: center;
296
+ .dropdown-content {
297
+ top: auto;
298
+ bottom: calc(1/2 * 100%);
299
+ translate: 0 50%;
300
+ }
301
+ }
302
+ &.dropdown-right {
303
+ --anchor-h: right;
304
+ --anchor-v: center;
305
+ .dropdown-content {
306
+ top: auto;
307
+ bottom: calc(1/2 * 100%);
308
+ translate: 0 50%;
309
+ }
310
+ }
311
+ }
312
+ .sm\:dropdown-end {
313
+ --anchor-h: span-left;
314
+ :where(.dropdown-content) {
315
+ inset-inline-end: var(--spacing-0, 0px);
316
+ }
317
+ &.dropdown-left {
318
+ --anchor-h: left;
319
+ --anchor-v: span-top;
320
+ .dropdown-content {
321
+ top: auto;
322
+ bottom: var(--spacing-0, 0px);
323
+ }
324
+ }
325
+ &.dropdown-right {
326
+ --anchor-h: right;
327
+ --anchor-v: span-top;
328
+ .dropdown-content {
329
+ top: auto;
330
+ bottom: var(--spacing-0, 0px);
331
+ }
332
+ }
333
+ }
334
+ .sm\:dropdown-left {
335
+ --anchor-h: left;
336
+ --anchor-v: span-bottom;
337
+ .dropdown-content {
338
+ inset-inline-end: 100%;
339
+ top: var(--spacing-0, 0px);
340
+ bottom: auto;
341
+ transform-origin: right;
342
+ }
343
+ }
344
+ .sm\:dropdown-right {
345
+ --anchor-h: right;
346
+ --anchor-v: span-bottom;
347
+ .dropdown-content {
348
+ inset-inline-start: 100%;
349
+ top: var(--spacing-0, 0px);
350
+ bottom: auto;
351
+ transform-origin: left;
352
+ }
353
+ }
354
+ .sm\:dropdown-bottom {
355
+ --anchor-v: bottom;
356
+ .dropdown-content {
357
+ top: 100%;
358
+ bottom: auto;
359
+ transform-origin: top;
360
+ }
361
+ }
362
+ .sm\:dropdown-top {
363
+ --anchor-v: top;
364
+ .dropdown-content {
365
+ top: auto;
366
+ bottom: 100%;
367
+ transform-origin: bottom;
368
+ }
369
+ }
370
+ }
371
+
372
+
373
+ @media (min-width: 768px) {
374
+ .md\:dropdown {
375
+ position: relative;
376
+ display: inline-block;
377
+ position-area: var(--anchor-v, bottom) var(--anchor-h, span-right);
378
+ &>*:not(summary):focus {
379
+ outline: 2px solid transparent;
380
+ outline-offset: 2px;
381
+ }
382
+ .dropdown-content {
383
+ position: absolute;
384
+ transition-property: opacity, scale;
385
+ transition-duration: .2s;
386
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
387
+ }
388
+ &:not(details) {
389
+ .dropdown-content {
390
+ visibility: hidden;
391
+ transform-origin: top;
392
+ opacity: 0%;
393
+ scale: 95%;
394
+ }
395
+ }
396
+ &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within {
397
+ .dropdown-content {
398
+ visibility: visible;
399
+ opacity: 100%;
400
+ }
401
+ }
402
+ &.dropdown-hover:hover {
403
+ .dropdown-content {
404
+ visibility: visible;
405
+ opacity: 100%;
406
+ scale: 100%;
407
+ }
408
+ }
409
+ &:is(details) {
410
+ summary {
411
+ &::-webkit-details-marker {
412
+ display: none;
413
+ }
414
+ }
415
+ }
416
+ &.dropdown-open, &:focus, &:focus-within {
417
+ .dropdown-content {
418
+ scale: 100%;
419
+ }
420
+ }
421
+ &[popover] {
422
+ position: fixed;
423
+ z-index: 1000;
424
+ color: inherit;
425
+ transition-property: opacity, scale;
426
+ transition-duration: .2s;
427
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
428
+ @supports not (position-area: bottom) {
429
+ margin: auto;
430
+ &.dropdown-open {
431
+ visibility: hidden;
432
+ transform-origin: top;
433
+ opacity: 0%;
434
+ scale: 95%;
435
+ &:popover-open {
436
+ visibility: visible;
437
+ opacity: 100%;
438
+ scale: 100%;
439
+ }
440
+ }
441
+ &::backdrop {
442
+ background-color: color-mix(in oklab, black 30%, transparent);
443
+ }
444
+ }
445
+ &:not(.dropdown-open, :popover-open) {
446
+ visibility: hidden;
447
+ transform-origin: top;
448
+ opacity: 0%;
449
+ scale: 95%;
450
+ }
451
+ }
452
+ }
453
+ .md\:dropdown-start {
454
+ --anchor-h: span-right;
455
+ :where(.dropdown-content) {
456
+ inset-inline-end: auto;
457
+ }
458
+ &.dropdown-left {
459
+ --anchor-h: left;
460
+ --anchor-v: span-bottom;
461
+ .dropdown-content {
462
+ top: var(--spacing-0, 0px);
463
+ bottom: auto;
464
+ }
465
+ }
466
+ &.dropdown-right {
467
+ --anchor-h: right;
468
+ --anchor-v: span-bottom;
469
+ .dropdown-content {
470
+ top: var(--spacing-0, 0px);
471
+ bottom: auto;
472
+ }
473
+ }
474
+ }
475
+ .md\:dropdown-center {
476
+ --anchor-h: center;
477
+ :where(.dropdown-content) {
478
+ inset-inline-end: calc(1/2 * 100%);
479
+ translate: 50% 0;
480
+ }
481
+ &.dropdown-left {
482
+ --anchor-h: left;
483
+ --anchor-v: center;
484
+ .dropdown-content {
485
+ top: auto;
486
+ bottom: calc(1/2 * 100%);
487
+ translate: 0 50%;
488
+ }
489
+ }
490
+ &.dropdown-right {
491
+ --anchor-h: right;
492
+ --anchor-v: center;
493
+ .dropdown-content {
494
+ top: auto;
495
+ bottom: calc(1/2 * 100%);
496
+ translate: 0 50%;
497
+ }
498
+ }
499
+ }
500
+ .md\:dropdown-end {
501
+ --anchor-h: span-left;
502
+ :where(.dropdown-content) {
503
+ inset-inline-end: var(--spacing-0, 0px);
504
+ }
505
+ &.dropdown-left {
506
+ --anchor-h: left;
507
+ --anchor-v: span-top;
508
+ .dropdown-content {
509
+ top: auto;
510
+ bottom: var(--spacing-0, 0px);
511
+ }
512
+ }
513
+ &.dropdown-right {
514
+ --anchor-h: right;
515
+ --anchor-v: span-top;
516
+ .dropdown-content {
517
+ top: auto;
518
+ bottom: var(--spacing-0, 0px);
519
+ }
520
+ }
521
+ }
522
+ .md\:dropdown-left {
523
+ --anchor-h: left;
524
+ --anchor-v: span-bottom;
525
+ .dropdown-content {
526
+ inset-inline-end: 100%;
527
+ top: var(--spacing-0, 0px);
528
+ bottom: auto;
529
+ transform-origin: right;
530
+ }
531
+ }
532
+ .md\:dropdown-right {
533
+ --anchor-h: right;
534
+ --anchor-v: span-bottom;
535
+ .dropdown-content {
536
+ inset-inline-start: 100%;
537
+ top: var(--spacing-0, 0px);
538
+ bottom: auto;
539
+ transform-origin: left;
540
+ }
541
+ }
542
+ .md\:dropdown-bottom {
543
+ --anchor-v: bottom;
544
+ .dropdown-content {
545
+ top: 100%;
546
+ bottom: auto;
547
+ transform-origin: top;
548
+ }
549
+ }
550
+ .md\:dropdown-top {
551
+ --anchor-v: top;
552
+ .dropdown-content {
553
+ top: auto;
554
+ bottom: 100%;
555
+ transform-origin: bottom;
556
+ }
557
+ }
558
+ }
559
+
560
+
561
+ @media (min-width: 1024px) {
562
+ .lg\:dropdown {
563
+ position: relative;
564
+ display: inline-block;
565
+ position-area: var(--anchor-v, bottom) var(--anchor-h, span-right);
566
+ &>*:not(summary):focus {
567
+ outline: 2px solid transparent;
568
+ outline-offset: 2px;
569
+ }
570
+ .dropdown-content {
571
+ position: absolute;
572
+ transition-property: opacity, scale;
573
+ transition-duration: .2s;
574
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
575
+ }
576
+ &:not(details) {
577
+ .dropdown-content {
578
+ visibility: hidden;
579
+ transform-origin: top;
580
+ opacity: 0%;
581
+ scale: 95%;
582
+ }
583
+ }
584
+ &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within {
585
+ .dropdown-content {
586
+ visibility: visible;
587
+ opacity: 100%;
588
+ }
589
+ }
590
+ &.dropdown-hover:hover {
591
+ .dropdown-content {
592
+ visibility: visible;
593
+ opacity: 100%;
594
+ scale: 100%;
595
+ }
596
+ }
597
+ &:is(details) {
598
+ summary {
599
+ &::-webkit-details-marker {
600
+ display: none;
601
+ }
602
+ }
603
+ }
604
+ &.dropdown-open, &:focus, &:focus-within {
605
+ .dropdown-content {
606
+ scale: 100%;
607
+ }
608
+ }
609
+ &[popover] {
610
+ position: fixed;
611
+ z-index: 1000;
612
+ color: inherit;
613
+ transition-property: opacity, scale;
614
+ transition-duration: .2s;
615
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
616
+ @supports not (position-area: bottom) {
617
+ margin: auto;
618
+ &.dropdown-open {
619
+ visibility: hidden;
620
+ transform-origin: top;
621
+ opacity: 0%;
622
+ scale: 95%;
623
+ &:popover-open {
624
+ visibility: visible;
625
+ opacity: 100%;
626
+ scale: 100%;
627
+ }
628
+ }
629
+ &::backdrop {
630
+ background-color: color-mix(in oklab, black 30%, transparent);
631
+ }
632
+ }
633
+ &:not(.dropdown-open, :popover-open) {
634
+ visibility: hidden;
635
+ transform-origin: top;
636
+ opacity: 0%;
637
+ scale: 95%;
638
+ }
639
+ }
640
+ }
641
+ .lg\:dropdown-start {
642
+ --anchor-h: span-right;
643
+ :where(.dropdown-content) {
644
+ inset-inline-end: auto;
645
+ }
646
+ &.dropdown-left {
647
+ --anchor-h: left;
648
+ --anchor-v: span-bottom;
649
+ .dropdown-content {
650
+ top: var(--spacing-0, 0px);
651
+ bottom: auto;
652
+ }
653
+ }
654
+ &.dropdown-right {
655
+ --anchor-h: right;
656
+ --anchor-v: span-bottom;
657
+ .dropdown-content {
658
+ top: var(--spacing-0, 0px);
659
+ bottom: auto;
660
+ }
661
+ }
662
+ }
663
+ .lg\:dropdown-center {
664
+ --anchor-h: center;
665
+ :where(.dropdown-content) {
666
+ inset-inline-end: calc(1/2 * 100%);
667
+ translate: 50% 0;
668
+ }
669
+ &.dropdown-left {
670
+ --anchor-h: left;
671
+ --anchor-v: center;
672
+ .dropdown-content {
673
+ top: auto;
674
+ bottom: calc(1/2 * 100%);
675
+ translate: 0 50%;
676
+ }
677
+ }
678
+ &.dropdown-right {
679
+ --anchor-h: right;
680
+ --anchor-v: center;
681
+ .dropdown-content {
682
+ top: auto;
683
+ bottom: calc(1/2 * 100%);
684
+ translate: 0 50%;
685
+ }
686
+ }
687
+ }
688
+ .lg\:dropdown-end {
689
+ --anchor-h: span-left;
690
+ :where(.dropdown-content) {
691
+ inset-inline-end: var(--spacing-0, 0px);
692
+ }
693
+ &.dropdown-left {
694
+ --anchor-h: left;
695
+ --anchor-v: span-top;
696
+ .dropdown-content {
697
+ top: auto;
698
+ bottom: var(--spacing-0, 0px);
699
+ }
700
+ }
701
+ &.dropdown-right {
702
+ --anchor-h: right;
703
+ --anchor-v: span-top;
704
+ .dropdown-content {
705
+ top: auto;
706
+ bottom: var(--spacing-0, 0px);
707
+ }
708
+ }
709
+ }
710
+ .lg\:dropdown-left {
711
+ --anchor-h: left;
712
+ --anchor-v: span-bottom;
713
+ .dropdown-content {
714
+ inset-inline-end: 100%;
715
+ top: var(--spacing-0, 0px);
716
+ bottom: auto;
717
+ transform-origin: right;
718
+ }
719
+ }
720
+ .lg\:dropdown-right {
721
+ --anchor-h: right;
722
+ --anchor-v: span-bottom;
723
+ .dropdown-content {
724
+ inset-inline-start: 100%;
725
+ top: var(--spacing-0, 0px);
726
+ bottom: auto;
727
+ transform-origin: left;
728
+ }
729
+ }
730
+ .lg\:dropdown-bottom {
731
+ --anchor-v: bottom;
732
+ .dropdown-content {
733
+ top: 100%;
734
+ bottom: auto;
735
+ transform-origin: top;
736
+ }
737
+ }
738
+ .lg\:dropdown-top {
739
+ --anchor-v: top;
740
+ .dropdown-content {
741
+ top: auto;
742
+ bottom: 100%;
743
+ transform-origin: bottom;
744
+ }
745
+ }
746
+ }
747
+
748
+
749
+ @media (min-width: 1280px) {
750
+ .xl\:dropdown {
751
+ position: relative;
752
+ display: inline-block;
753
+ position-area: var(--anchor-v, bottom) var(--anchor-h, span-right);
754
+ &>*:not(summary):focus {
755
+ outline: 2px solid transparent;
756
+ outline-offset: 2px;
757
+ }
758
+ .dropdown-content {
759
+ position: absolute;
760
+ transition-property: opacity, scale;
761
+ transition-duration: .2s;
762
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
763
+ }
764
+ &:not(details) {
765
+ .dropdown-content {
766
+ visibility: hidden;
767
+ transform-origin: top;
768
+ opacity: 0%;
769
+ scale: 95%;
770
+ }
771
+ }
772
+ &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within {
773
+ .dropdown-content {
774
+ visibility: visible;
775
+ opacity: 100%;
776
+ }
777
+ }
778
+ &.dropdown-hover:hover {
779
+ .dropdown-content {
780
+ visibility: visible;
781
+ opacity: 100%;
782
+ scale: 100%;
783
+ }
784
+ }
785
+ &:is(details) {
786
+ summary {
787
+ &::-webkit-details-marker {
788
+ display: none;
789
+ }
790
+ }
791
+ }
792
+ &.dropdown-open, &:focus, &:focus-within {
793
+ .dropdown-content {
794
+ scale: 100%;
795
+ }
796
+ }
797
+ &[popover] {
798
+ position: fixed;
799
+ z-index: 1000;
800
+ color: inherit;
801
+ transition-property: opacity, scale;
802
+ transition-duration: .2s;
803
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
804
+ @supports not (position-area: bottom) {
805
+ margin: auto;
806
+ &.dropdown-open {
807
+ visibility: hidden;
808
+ transform-origin: top;
809
+ opacity: 0%;
810
+ scale: 95%;
811
+ &:popover-open {
812
+ visibility: visible;
813
+ opacity: 100%;
814
+ scale: 100%;
815
+ }
816
+ }
817
+ &::backdrop {
818
+ background-color: color-mix(in oklab, black 30%, transparent);
819
+ }
820
+ }
821
+ &:not(.dropdown-open, :popover-open) {
822
+ visibility: hidden;
823
+ transform-origin: top;
824
+ opacity: 0%;
825
+ scale: 95%;
826
+ }
827
+ }
828
+ }
829
+ .xl\:dropdown-start {
830
+ --anchor-h: span-right;
831
+ :where(.dropdown-content) {
832
+ inset-inline-end: auto;
833
+ }
834
+ &.dropdown-left {
835
+ --anchor-h: left;
836
+ --anchor-v: span-bottom;
837
+ .dropdown-content {
838
+ top: var(--spacing-0, 0px);
839
+ bottom: auto;
840
+ }
841
+ }
842
+ &.dropdown-right {
843
+ --anchor-h: right;
844
+ --anchor-v: span-bottom;
845
+ .dropdown-content {
846
+ top: var(--spacing-0, 0px);
847
+ bottom: auto;
848
+ }
849
+ }
850
+ }
851
+ .xl\:dropdown-center {
852
+ --anchor-h: center;
853
+ :where(.dropdown-content) {
854
+ inset-inline-end: calc(1/2 * 100%);
855
+ translate: 50% 0;
856
+ }
857
+ &.dropdown-left {
858
+ --anchor-h: left;
859
+ --anchor-v: center;
860
+ .dropdown-content {
861
+ top: auto;
862
+ bottom: calc(1/2 * 100%);
863
+ translate: 0 50%;
864
+ }
865
+ }
866
+ &.dropdown-right {
867
+ --anchor-h: right;
868
+ --anchor-v: center;
869
+ .dropdown-content {
870
+ top: auto;
871
+ bottom: calc(1/2 * 100%);
872
+ translate: 0 50%;
873
+ }
874
+ }
875
+ }
876
+ .xl\:dropdown-end {
877
+ --anchor-h: span-left;
878
+ :where(.dropdown-content) {
879
+ inset-inline-end: var(--spacing-0, 0px);
880
+ }
881
+ &.dropdown-left {
882
+ --anchor-h: left;
883
+ --anchor-v: span-top;
884
+ .dropdown-content {
885
+ top: auto;
886
+ bottom: var(--spacing-0, 0px);
887
+ }
888
+ }
889
+ &.dropdown-right {
890
+ --anchor-h: right;
891
+ --anchor-v: span-top;
892
+ .dropdown-content {
893
+ top: auto;
894
+ bottom: var(--spacing-0, 0px);
895
+ }
896
+ }
897
+ }
898
+ .xl\:dropdown-left {
899
+ --anchor-h: left;
900
+ --anchor-v: span-bottom;
901
+ .dropdown-content {
902
+ inset-inline-end: 100%;
903
+ top: var(--spacing-0, 0px);
904
+ bottom: auto;
905
+ transform-origin: right;
906
+ }
907
+ }
908
+ .xl\:dropdown-right {
909
+ --anchor-h: right;
910
+ --anchor-v: span-bottom;
911
+ .dropdown-content {
912
+ inset-inline-start: 100%;
913
+ top: var(--spacing-0, 0px);
914
+ bottom: auto;
915
+ transform-origin: left;
916
+ }
917
+ }
918
+ .xl\:dropdown-bottom {
919
+ --anchor-v: bottom;
920
+ .dropdown-content {
921
+ top: 100%;
922
+ bottom: auto;
923
+ transform-origin: top;
924
+ }
925
+ }
926
+ .xl\:dropdown-top {
927
+ --anchor-v: top;
928
+ .dropdown-content {
929
+ top: auto;
930
+ bottom: 100%;
931
+ transform-origin: bottom;
932
+ }
933
+ }
934
+ }
935
+
936
+
937
+ @media (min-width: 1536px) {
938
+ .\32xl\:dropdown {
939
+ position: relative;
940
+ display: inline-block;
941
+ position-area: var(--anchor-v, bottom) var(--anchor-h, span-right);
942
+ &>*:not(summary):focus {
943
+ outline: 2px solid transparent;
944
+ outline-offset: 2px;
945
+ }
946
+ .dropdown-content {
947
+ position: absolute;
948
+ transition-property: opacity, scale;
949
+ transition-duration: .2s;
950
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
951
+ }
952
+ &:not(details) {
953
+ .dropdown-content {
954
+ visibility: hidden;
955
+ transform-origin: top;
956
+ opacity: 0%;
957
+ scale: 95%;
958
+ }
959
+ }
960
+ &.dropdown-open, &:not(.dropdown-hover):focus, &:focus-within {
961
+ .dropdown-content {
962
+ visibility: visible;
963
+ opacity: 100%;
964
+ }
965
+ }
966
+ &.dropdown-hover:hover {
967
+ .dropdown-content {
968
+ visibility: visible;
969
+ opacity: 100%;
970
+ scale: 100%;
971
+ }
972
+ }
973
+ &:is(details) {
974
+ summary {
975
+ &::-webkit-details-marker {
976
+ display: none;
977
+ }
978
+ }
979
+ }
980
+ &.dropdown-open, &:focus, &:focus-within {
981
+ .dropdown-content {
982
+ scale: 100%;
983
+ }
984
+ }
985
+ &[popover] {
986
+ position: fixed;
987
+ z-index: 1000;
988
+ color: inherit;
989
+ transition-property: opacity, scale;
990
+ transition-duration: .2s;
991
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
992
+ @supports not (position-area: bottom) {
993
+ margin: auto;
994
+ &.dropdown-open {
995
+ visibility: hidden;
996
+ transform-origin: top;
997
+ opacity: 0%;
998
+ scale: 95%;
999
+ &:popover-open {
1000
+ visibility: visible;
1001
+ opacity: 100%;
1002
+ scale: 100%;
1003
+ }
1004
+ }
1005
+ &::backdrop {
1006
+ background-color: color-mix(in oklab, black 30%, transparent);
1007
+ }
1008
+ }
1009
+ &:not(.dropdown-open, :popover-open) {
1010
+ visibility: hidden;
1011
+ transform-origin: top;
1012
+ opacity: 0%;
1013
+ scale: 95%;
1014
+ }
1015
+ }
1016
+ }
1017
+ .\32xl\:dropdown-start {
1018
+ --anchor-h: span-right;
1019
+ :where(.dropdown-content) {
1020
+ inset-inline-end: auto;
1021
+ }
1022
+ &.dropdown-left {
1023
+ --anchor-h: left;
1024
+ --anchor-v: span-bottom;
1025
+ .dropdown-content {
1026
+ top: var(--spacing-0, 0px);
1027
+ bottom: auto;
1028
+ }
1029
+ }
1030
+ &.dropdown-right {
1031
+ --anchor-h: right;
1032
+ --anchor-v: span-bottom;
1033
+ .dropdown-content {
1034
+ top: var(--spacing-0, 0px);
1035
+ bottom: auto;
1036
+ }
1037
+ }
1038
+ }
1039
+ .\32xl\:dropdown-center {
1040
+ --anchor-h: center;
1041
+ :where(.dropdown-content) {
1042
+ inset-inline-end: calc(1/2 * 100%);
1043
+ translate: 50% 0;
1044
+ }
1045
+ &.dropdown-left {
1046
+ --anchor-h: left;
1047
+ --anchor-v: center;
1048
+ .dropdown-content {
1049
+ top: auto;
1050
+ bottom: calc(1/2 * 100%);
1051
+ translate: 0 50%;
1052
+ }
1053
+ }
1054
+ &.dropdown-right {
1055
+ --anchor-h: right;
1056
+ --anchor-v: center;
1057
+ .dropdown-content {
1058
+ top: auto;
1059
+ bottom: calc(1/2 * 100%);
1060
+ translate: 0 50%;
1061
+ }
1062
+ }
1063
+ }
1064
+ .\32xl\:dropdown-end {
1065
+ --anchor-h: span-left;
1066
+ :where(.dropdown-content) {
1067
+ inset-inline-end: var(--spacing-0, 0px);
1068
+ }
1069
+ &.dropdown-left {
1070
+ --anchor-h: left;
1071
+ --anchor-v: span-top;
1072
+ .dropdown-content {
1073
+ top: auto;
1074
+ bottom: var(--spacing-0, 0px);
1075
+ }
1076
+ }
1077
+ &.dropdown-right {
1078
+ --anchor-h: right;
1079
+ --anchor-v: span-top;
1080
+ .dropdown-content {
1081
+ top: auto;
1082
+ bottom: var(--spacing-0, 0px);
1083
+ }
1084
+ }
1085
+ }
1086
+ .\32xl\:dropdown-left {
1087
+ --anchor-h: left;
1088
+ --anchor-v: span-bottom;
1089
+ .dropdown-content {
1090
+ inset-inline-end: 100%;
1091
+ top: var(--spacing-0, 0px);
1092
+ bottom: auto;
1093
+ transform-origin: right;
1094
+ }
1095
+ }
1096
+ .\32xl\:dropdown-right {
1097
+ --anchor-h: right;
1098
+ --anchor-v: span-bottom;
1099
+ .dropdown-content {
1100
+ inset-inline-start: 100%;
1101
+ top: var(--spacing-0, 0px);
1102
+ bottom: auto;
1103
+ transform-origin: left;
1104
+ }
1105
+ }
1106
+ .\32xl\:dropdown-bottom {
1107
+ --anchor-v: bottom;
1108
+ .dropdown-content {
1109
+ top: 100%;
1110
+ bottom: auto;
1111
+ transform-origin: top;
1112
+ }
1113
+ }
1114
+ .\32xl\:dropdown-top {
1115
+ --anchor-v: top;
1116
+ .dropdown-content {
1117
+ top: auto;
1118
+ bottom: 100%;
1119
+ transform-origin: bottom;
1120
+ }
1121
+ }
1122
+ }
1123
+