basecoat-css 1.0.0-beta.3 → 1.0.0-beta.5

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 (53) hide show
  1. package/dist/base/base.css +46 -44
  2. package/dist/basecoat-base.cdn.css +249 -65
  3. package/dist/basecoat-base.cdn.min.css +1 -1
  4. package/dist/basecoat-compat.cdn.css +22 -0
  5. package/dist/basecoat-compat.cdn.min.css +1 -1
  6. package/dist/basecoat-components.css +2 -0
  7. package/dist/basecoat-luma.cdn.css +430 -80
  8. package/dist/basecoat-luma.cdn.min.css +1 -1
  9. package/dist/basecoat-lyra.cdn.css +431 -78
  10. package/dist/basecoat-lyra.cdn.min.css +1 -1
  11. package/dist/basecoat-maia.cdn.css +421 -80
  12. package/dist/basecoat-maia.cdn.min.css +1 -1
  13. package/dist/basecoat-mira.cdn.css +418 -80
  14. package/dist/basecoat-mira.cdn.min.css +1 -1
  15. package/dist/basecoat-nova.cdn.css +435 -80
  16. package/dist/basecoat-nova.cdn.min.css +1 -1
  17. package/dist/basecoat-rhea.cdn.css +440 -91
  18. package/dist/basecoat-rhea.cdn.min.css +1 -1
  19. package/dist/basecoat-sera.cdn.css +424 -78
  20. package/dist/basecoat-sera.cdn.min.css +1 -1
  21. package/dist/basecoat-vega.cdn.css +424 -79
  22. package/dist/basecoat-vega.cdn.min.css +1 -1
  23. package/dist/basecoat.cdn.css +424 -79
  24. package/dist/basecoat.cdn.min.css +1 -1
  25. package/dist/compat/legacy.css +6 -0
  26. package/dist/components/accordion.css +27 -0
  27. package/dist/components/alert.css +12 -0
  28. package/dist/components/avatar.css +6 -6
  29. package/dist/components/breadcrumb.css +30 -0
  30. package/dist/components/card.css +4 -0
  31. package/dist/components/combobox.css +23 -2
  32. package/dist/components/command.css +19 -12
  33. package/dist/components/dialog.css +30 -1
  34. package/dist/components/dropdown-menu.css +1 -1
  35. package/dist/js/accordion.js +68 -0
  36. package/dist/js/accordion.min.js +1 -0
  37. package/dist/js/all.js +199 -28
  38. package/dist/js/all.min.js +1 -1
  39. package/dist/js/combobox.js +115 -26
  40. package/dist/js/combobox.min.js +1 -1
  41. package/dist/js/command.js +3 -1
  42. package/dist/js/command.min.js +1 -1
  43. package/dist/js/dropdown-menu.js +12 -1
  44. package/dist/js/dropdown-menu.min.js +1 -1
  45. package/dist/styles/luma.css +85 -11
  46. package/dist/styles/lyra.css +81 -11
  47. package/dist/styles/maia.css +85 -11
  48. package/dist/styles/mira.css +85 -11
  49. package/dist/styles/nova.css +83 -13
  50. package/dist/styles/rhea.css +89 -15
  51. package/dist/styles/sera.css +80 -10
  52. package/dist/styles/vega.css +82 -12
  53. package/package.json +1 -1
@@ -13,7 +13,6 @@
13
13
  --container-xs: 20rem;
14
14
  --container-sm: 24rem;
15
15
  --container-md: 28rem;
16
- --container-lg: 32rem;
17
16
  --text-xs: 0.75rem;
18
17
  --text-xs--line-height: calc(1 / 0.75);
19
18
  --text-sm: 0.875rem;
@@ -258,7 +257,7 @@
258
257
  --scrollbar-track: transparent;
259
258
  --scrollbar-thumb: var(--border);
260
259
  --scrollbar-width: 0.625rem;
261
- --scrollbar-thin-width: 0.375rem;
260
+ --scrollbar-sm-width: 0.375rem;
262
261
  --scrollbar-radius: 9999px;
263
262
  --chevron-down-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>');
264
263
  --chevron-down-icon-50: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0 / 0.5)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>');
@@ -269,7 +268,7 @@
269
268
  --foreground: oklch(0.985 0 0);
270
269
  --card: oklch(0.205 0 0);
271
270
  --card-foreground: oklch(0.985 0 0);
272
- --popover: oklch(0.269 0 0);
271
+ --popover: oklch(0.205 0 0);
273
272
  --popover-foreground: oklch(0.985 0 0);
274
273
  --primary: oklch(0.922 0 0);
275
274
  --primary-foreground: oklch(0.205 0 0);
@@ -319,45 +318,47 @@
319
318
  -webkit-font-smoothing: antialiased;
320
319
  -moz-osx-font-smoothing: grayscale;
321
320
  }
322
- .scrollbar {
323
- scrollbar-width: auto;
324
- scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
325
- &::-webkit-scrollbar {
326
- width: var(--scrollbar-width);
327
- height: var(--scrollbar-width);
328
- }
329
- &::-webkit-scrollbar-track {
330
- background: var(--scrollbar-track);
331
- }
332
- &::-webkit-scrollbar-thumb {
333
- background: var(--scrollbar-thumb);
334
- border-radius: var(--scrollbar-radius);
335
- border: 1px solid transparent;
336
- background-clip: padding-box;
337
- }
338
- &::-webkit-scrollbar-corner {
339
- background: var(--scrollbar-track);
340
- }
321
+ }
322
+ @layer components {
323
+ .accordion {
324
+ display: flex;
325
+ width: 100%;
326
+ flex-direction: column;
341
327
  }
342
- .scrollbar-thin {
343
- scrollbar-width: thin;
344
- scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
345
- &::-webkit-scrollbar {
346
- width: var(--scrollbar-thin-width);
347
- height: var(--scrollbar-thin-width);
348
- }
349
- &::-webkit-scrollbar-track {
350
- background: var(--scrollbar-track);
351
- }
352
- &::-webkit-scrollbar-thumb {
353
- background: var(--scrollbar-thumb);
354
- border-radius: var(--scrollbar-radius);
355
- border: 1px solid transparent;
356
- background-clip: padding-box;
357
- }
358
- &::-webkit-scrollbar-corner {
359
- background: var(--scrollbar-track);
360
- }
328
+ .accordion > details > summary {
329
+ position: relative;
330
+ display: flex;
331
+ width: 100%;
332
+ flex: 1;
333
+ cursor: pointer;
334
+ list-style-type: none;
335
+ align-items: flex-start;
336
+ justify-content: space-between;
337
+ border-style: var(--tw-border-style);
338
+ border-width: 1px;
339
+ border-color: transparent;
340
+ transition-property: all;
341
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
342
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
343
+ --tw-outline-style: none;
344
+ outline-style: none;
345
+ }
346
+ .accordion > details > summary > svg:last-child {
347
+ pointer-events: none;
348
+ flex-shrink: 0;
349
+ transition-property: transform, translate, scale, rotate;
350
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
351
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
352
+ }
353
+ .accordion > details[open] > summary > svg:last-child {
354
+ rotate: 180deg;
355
+ }
356
+ .accordion > details[aria-disabled='true'] > summary, .accordion > details > summary[aria-disabled='true'] {
357
+ pointer-events: none;
358
+ opacity: 50%;
359
+ }
360
+ .accordion > details > :not(summary) {
361
+ overflow: hidden;
361
362
  }
362
363
  }
363
364
  @layer components {
@@ -375,10 +376,20 @@
375
376
  display: grid;
376
377
  justify-items: start;
377
378
  gap: calc(var(--spacing) * 1);
379
+ :where(p, ul, ol) {
380
+ margin: calc(var(--spacing) * 0);
381
+ }
382
+ :where(p, ul, ol):not(:last-child) {
383
+ margin-bottom: calc(var(--spacing) * 4);
384
+ }
378
385
  ul {
379
386
  list-style-position: inside;
380
387
  list-style-type: disc;
381
388
  }
389
+ ol {
390
+ list-style-position: inside;
391
+ list-style-type: decimal;
392
+ }
382
393
  }
383
394
  .alert > footer {
384
395
  position: absolute;
@@ -450,7 +461,7 @@
450
461
  border-radius: inherit;
451
462
  object-fit: cover;
452
463
  }
453
- .avatar > span:not([data-badge]) {
464
+ .avatar > span:not(.avatar-badge) {
454
465
  display: flex;
455
466
  width: 100%;
456
467
  height: 100%;
@@ -460,11 +471,11 @@
460
471
  font-size: var(--text-sm);
461
472
  line-height: var(--tw-leading, var(--text-sm--line-height));
462
473
  }
463
- .avatar[data-size='sm'] > span:not([data-badge]) {
474
+ .avatar[data-size='sm'] > span:not(.avatar-badge) {
464
475
  font-size: var(--text-xs);
465
476
  line-height: var(--tw-leading, var(--text-xs--line-height));
466
477
  }
467
- .avatar > [data-badge] {
478
+ .avatar > .avatar-badge {
468
479
  position: absolute;
469
480
  inset-inline-end: calc(var(--spacing) * 0);
470
481
  bottom: calc(var(--spacing) * 0);
@@ -479,14 +490,14 @@
479
490
  -webkit-user-select: none;
480
491
  user-select: none;
481
492
  }
482
- .avatar[data-size='sm'] > [data-badge] {
493
+ .avatar[data-size='sm'] > .avatar-badge {
483
494
  width: calc(var(--spacing) * 2);
484
495
  height: calc(var(--spacing) * 2);
485
496
  &>svg {
486
497
  display: none;
487
498
  }
488
499
  }
489
- .avatar > [data-badge] {
500
+ .avatar > .avatar-badge {
490
501
  width: calc(var(--spacing) * 2.5);
491
502
  height: calc(var(--spacing) * 2.5);
492
503
  &>svg {
@@ -494,7 +505,7 @@
494
505
  height: calc(var(--spacing) * 2);
495
506
  }
496
507
  }
497
- .avatar[data-size='lg'] > [data-badge] {
508
+ .avatar[data-size='lg'] > .avatar-badge {
498
509
  width: calc(var(--spacing) * 3);
499
510
  height: calc(var(--spacing) * 3);
500
511
  &>svg {
@@ -567,6 +578,53 @@
567
578
  }
568
579
  }
569
580
  }
581
+ @layer components {
582
+ .breadcrumb > ol {
583
+ margin: calc(var(--spacing) * 0);
584
+ display: flex;
585
+ list-style-type: none;
586
+ flex-wrap: wrap;
587
+ align-items: center;
588
+ padding: calc(var(--spacing) * 0);
589
+ overflow-wrap: break-word;
590
+ }
591
+ .breadcrumb li {
592
+ display: inline-flex;
593
+ align-items: center;
594
+ }
595
+ .breadcrumb a {
596
+ border-radius: var(--radius-sm);
597
+ --tw-outline-style: none;
598
+ outline-style: none;
599
+ &:focus-visible {
600
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
601
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
602
+ }
603
+ &:focus-visible {
604
+ --tw-ring-color: var(--color-ring);
605
+ @supports (color: color-mix(in lab, red, red)) {
606
+ --tw-ring-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
607
+ }
608
+ }
609
+ }
610
+ .breadcrumb [aria-current='page'] {
611
+ cursor: default;
612
+ }
613
+ .breadcrumb li[aria-hidden='true'] {
614
+ -webkit-user-select: none;
615
+ user-select: none;
616
+ }
617
+ .breadcrumb li > span[aria-hidden='true'] {
618
+ display: flex;
619
+ align-items: center;
620
+ justify-content: center;
621
+ }
622
+ .breadcrumb [data-rtl-flip] {
623
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
624
+ rotate: 180deg;
625
+ }
626
+ }
627
+ }
570
628
  @layer components {
571
629
  .btn {
572
630
  display: inline-flex;
@@ -691,6 +749,11 @@
691
749
  align-self: flex-start;
692
750
  justify-self: flex-end;
693
751
  }
752
+ > header > menu.card-action {
753
+ margin: calc(var(--spacing) * 0);
754
+ list-style-type: none;
755
+ padding: calc(var(--spacing) * 0);
756
+ }
694
757
  > footer {
695
758
  display: flex;
696
759
  align-items: center;
@@ -836,7 +899,7 @@
836
899
  &::backdrop {
837
900
  opacity: 100%;
838
901
  }
839
- > * {
902
+ > .command {
840
903
  --tw-scale-x: 100%;
841
904
  --tw-scale-y: 100%;
842
905
  --tw-scale-z: 100%;
@@ -847,7 +910,7 @@
847
910
  &::backdrop {
848
911
  opacity: 0%;
849
912
  }
850
- > * {
913
+ > .command {
851
914
  --tw-scale-x: 95%;
852
915
  --tw-scale-y: 95%;
853
916
  --tw-scale-z: 95%;
@@ -862,7 +925,7 @@
862
925
  transition-duration: var(--tw-duration, var(--default-transition-duration));
863
926
  transition-behavior: allow-discrete;
864
927
  }
865
- > * {
928
+ > .command {
866
929
  position: fixed;
867
930
  top: calc(1/3 * 100%);
868
931
  left: calc(1/2 * 100%);
@@ -884,13 +947,13 @@
884
947
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
885
948
  transition-duration: var(--tw-duration, var(--default-transition-duration));
886
949
  @media (width >= 40rem) {
887
- max-width: var(--container-lg);
950
+ max-width: var(--container-sm);
888
951
  }
889
952
  }
890
- > * > :is(button, form[method='dialog']) {
953
+ > .command > :is(button, form[method='dialog']) {
891
954
  position: absolute;
892
955
  }
893
- > * > :is(button, form[method='dialog'] > button) {
956
+ > .command > :is(button, form[method='dialog'] > button) {
894
957
  display: inline-flex;
895
958
  align-items: center;
896
959
  justify-content: center;
@@ -921,7 +984,7 @@
921
984
  flex-shrink: 0;
922
985
  }
923
986
  }
924
- > * > :is(button, form[method='dialog'] > button) > svg:not([class*='size-']) {
987
+ > .command > :is(button, form[method='dialog'] > button) > svg:not([class*='size-']) {
925
988
  width: calc(var(--spacing) * 4);
926
989
  height: calc(var(--spacing) * 4);
927
990
  }
@@ -964,6 +1027,10 @@
964
1027
  outline: 2px solid transparent;
965
1028
  outline-offset: 2px;
966
1029
  }
1030
+ scrollbar-width: none;
1031
+ &::-webkit-scrollbar {
1032
+ display: none;
1033
+ }
967
1034
  }
968
1035
  .command [role='menuitem'] {
969
1036
  position: relative;
@@ -971,9 +1038,6 @@
971
1038
  width: 100%;
972
1039
  cursor: default;
973
1040
  align-items: center;
974
- overflow: hidden;
975
- text-overflow: ellipsis;
976
- white-space: nowrap;
977
1041
  --tw-outline-style: none;
978
1042
  outline-style: none;
979
1043
  @media (forced-colors: active) {
@@ -997,6 +1061,12 @@
997
1061
  &[aria-hidden="true"] {
998
1062
  display: none;
999
1063
  }
1064
+ &[data-disabled="true"] {
1065
+ pointer-events: none;
1066
+ }
1067
+ &[data-disabled="true"] {
1068
+ opacity: 50%;
1069
+ }
1000
1070
  & svg {
1001
1071
  pointer-events: none;
1002
1072
  }
@@ -1004,9 +1074,9 @@
1004
1074
  flex-shrink: 0;
1005
1075
  }
1006
1076
  }
1007
- .command [role='menuitem'].active {
1008
- background-color: var(--color-accent);
1009
- color: var(--color-accent-foreground);
1077
+ .command [role='menuitem'].active, .command [role='menuitem'][data-selected='true'] {
1078
+ background-color: var(--color-muted);
1079
+ color: var(--color-foreground);
1010
1080
  }
1011
1081
  .command [role='group'] {
1012
1082
  overflow: hidden;
@@ -1028,7 +1098,7 @@
1028
1098
  margin-inline-start: auto;
1029
1099
  opacity: 0%;
1030
1100
  }
1031
- .command [role='menuitem'][data-checked='true'] [data-indicator], .command [role='menuitem'][aria-selected='true'] [data-indicator] {
1101
+ .command [role='menuitem'][data-checked='true'] [data-indicator], .command [role='menuitem'][aria-selected='true'] [data-indicator], .command [role='menuitem'][data-selected='true'] [data-indicator] {
1032
1102
  opacity: 100%;
1033
1103
  }
1034
1104
  .command [role='menuitem']:has([data-shortcut]) [data-indicator] {
@@ -1051,8 +1121,8 @@
1051
1121
  content: var(--tw-content);
1052
1122
  }
1053
1123
  .command:not([data-command-initialized]) [role='menuitem']:not([aria-disabled='true']):not(:disabled):hover {
1054
- background-color: var(--color-accent);
1055
- color: var(--color-accent-foreground);
1124
+ background-color: var(--color-muted);
1125
+ color: var(--color-foreground);
1056
1126
  }
1057
1127
  .command:has(> header input:not(:placeholder-shown)) [role='separator'] {
1058
1128
  display: none;
@@ -1087,17 +1157,69 @@
1087
1157
  opacity: 50%;
1088
1158
  }
1089
1159
  }
1160
+ .combobox .input-group input[role='combobox'], .combobox [data-popover] input[role='combobox'] {
1161
+ min-width: calc(var(--spacing) * 0);
1162
+ --tw-outline-style: none;
1163
+ outline-style: none;
1164
+ @media (forced-colors: active) {
1165
+ outline: 2px solid transparent;
1166
+ outline-offset: 2px;
1167
+ }
1168
+ &::placeholder {
1169
+ color: var(--color-muted-foreground);
1170
+ }
1171
+ &:disabled {
1172
+ pointer-events: none;
1173
+ }
1174
+ &:disabled {
1175
+ cursor: not-allowed;
1176
+ }
1177
+ &:disabled {
1178
+ opacity: 50%;
1179
+ }
1180
+ }
1090
1181
  .combobox > svg, .combobox-trigger-icon {
1091
1182
  pointer-events: none;
1092
1183
  position: absolute;
1093
1184
  flex-shrink: 0;
1094
1185
  }
1186
+ .combobox:has(> .combobox-chips) > .combobox-trigger-icon {
1187
+ display: none;
1188
+ }
1189
+ .combobox [data-clear] {
1190
+ display: inline-flex;
1191
+ width: calc(var(--spacing) * 6);
1192
+ height: calc(var(--spacing) * 6);
1193
+ flex-shrink: 0;
1194
+ cursor: default;
1195
+ appearance: none;
1196
+ align-items: center;
1197
+ justify-content: center;
1198
+ border-style: var(--tw-border-style);
1199
+ border-width: 0px;
1200
+ background-color: transparent;
1201
+ padding: calc(var(--spacing) * 0);
1202
+ color: currentcolor;
1203
+ &:disabled {
1204
+ pointer-events: none;
1205
+ }
1206
+ &:disabled {
1207
+ opacity: 50%;
1208
+ }
1209
+ }
1210
+ .combobox [data-clear][hidden] {
1211
+ display: none;
1212
+ }
1213
+ .combobox .input-group:has([data-clear]:not([hidden])) button[aria-haspopup='listbox'] {
1214
+ display: none;
1215
+ }
1095
1216
  .combobox [data-popover] {
1096
1217
  isolation: isolate;
1097
1218
  overflow: hidden;
1098
1219
  min-width: max(100%, 9rem);
1099
1220
  }
1100
1221
  .combobox [role='listbox'] {
1222
+ overflow-x: hidden;
1101
1223
  overflow-y: auto;
1102
1224
  --tw-outline-style: none;
1103
1225
  outline-style: none;
@@ -1220,12 +1342,13 @@
1220
1342
  }
1221
1343
  .combobox-chip-remove {
1222
1344
  display: inline-flex;
1345
+ flex-shrink: 0;
1223
1346
  align-items: center;
1224
1347
  justify-content: center;
1225
1348
  }
1226
1349
  }
1227
1350
  @layer components {
1228
- .dialog {
1351
+ .dialog, .alert-dialog {
1229
1352
  background-color: transparent;
1230
1353
  padding: calc(var(--spacing) * 0);
1231
1354
  color: inherit;
@@ -1297,6 +1420,8 @@
1297
1420
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1298
1421
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1299
1422
  }
1423
+ }
1424
+ .dialog {
1300
1425
  > * > header {
1301
1426
  display: flex;
1302
1427
  flex-direction: column;
@@ -1353,6 +1478,64 @@
1353
1478
  height: calc(var(--spacing) * 4);
1354
1479
  }
1355
1480
  }
1481
+ .alert-dialog {
1482
+ > * > header {
1483
+ display: grid;
1484
+ grid-template-rows: auto 1fr;
1485
+ place-items: center;
1486
+ text-align: center;
1487
+ @media (width >= 40rem) {
1488
+ place-items: start;
1489
+ }
1490
+ @media (width >= 40rem) {
1491
+ text-align: start;
1492
+ }
1493
+ }
1494
+ > * > header:has(> figure) {
1495
+ grid-template-rows: auto auto 1fr;
1496
+ @media (width >= 40rem) {
1497
+ grid-template-rows: auto 1fr;
1498
+ }
1499
+ }
1500
+ > * > header > figure {
1501
+ margin: calc(var(--spacing) * 0);
1502
+ flex-shrink: 0;
1503
+ @media (width >= 40rem) {
1504
+ grid-row: span 2 / span 2;
1505
+ }
1506
+ & svg {
1507
+ pointer-events: none;
1508
+ }
1509
+ & svg {
1510
+ flex-shrink: 0;
1511
+ }
1512
+ }
1513
+ > * > header > figure:has(img) {
1514
+ overflow: hidden;
1515
+ & img {
1516
+ width: 100%;
1517
+ height: 100%;
1518
+ }
1519
+ & img {
1520
+ object-fit: cover;
1521
+ }
1522
+ }
1523
+ > * > header:has(> figure) > :is(h2, p) {
1524
+ @media (width >= 40rem) {
1525
+ grid-column-start: 2;
1526
+ }
1527
+ }
1528
+ > * > footer {
1529
+ display: flex;
1530
+ flex-direction: column-reverse;
1531
+ @media (width >= 40rem) {
1532
+ flex-direction: row;
1533
+ }
1534
+ @media (width >= 40rem) {
1535
+ justify-content: flex-end;
1536
+ }
1537
+ }
1538
+ }
1356
1539
  }
1357
1540
  @layer components {
1358
1541
  .dropdown-menu {
@@ -1425,7 +1608,7 @@
1425
1608
  padding-inline-start: calc(var(--spacing) * 8);
1426
1609
  }
1427
1610
  .dropdown-menu :is(kbd:last-child, .kbd:last-child):not([data-shortcut]) {
1428
- margin-inline-start: calc(var(--spacing) * 8);
1611
+ padding-inline-start: calc(var(--spacing) * 8);
1429
1612
  }
1430
1613
  .dropdown-menu [data-indicator] {
1431
1614
  pointer-events: none;
@@ -3119,6 +3302,51 @@
3119
3302
  }
3120
3303
  }
3121
3304
  @layer components {
3305
+ .accordion {
3306
+ overflow: hidden;
3307
+ border-radius: var(--radius-2xl);
3308
+ border-style: var(--tw-border-style);
3309
+ border-width: 1px;
3310
+ }
3311
+ .accordion > details {
3312
+ &:not(*:last-child) {
3313
+ border-bottom-style: var(--tw-border-style);
3314
+ border-bottom-width: 1px;
3315
+ }
3316
+ &:is([open], :popover-open, :open) {
3317
+ background-color: var(--color-muted);
3318
+ @supports (color: color-mix(in lab, red, red)) {
3319
+ background-color: color-mix(in oklab, var(--color-muted) 50%, transparent);
3320
+ }
3321
+ }
3322
+ }
3323
+ .accordion > details > summary {
3324
+ gap: calc(var(--spacing) * 6);
3325
+ padding: calc(var(--spacing) * 4);
3326
+ text-align: left;
3327
+ font-size: var(--text-sm);
3328
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3329
+ --tw-font-weight: var(--font-weight-medium);
3330
+ font-weight: var(--font-weight-medium);
3331
+ &:hover {
3332
+ @media (hover: hover) {
3333
+ text-decoration-line: underline;
3334
+ }
3335
+ }
3336
+ }
3337
+ .accordion > details > summary > svg:last-child {
3338
+ margin-inline-start: auto;
3339
+ width: calc(var(--spacing) * 4);
3340
+ height: calc(var(--spacing) * 4);
3341
+ color: var(--color-muted-foreground);
3342
+ }
3343
+ .accordion > details > :not(summary) {
3344
+ padding-inline: calc(var(--spacing) * 4);
3345
+ padding-top: calc(var(--spacing) * 0);
3346
+ padding-bottom: calc(var(--spacing) * 4);
3347
+ font-size: var(--text-sm);
3348
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3349
+ }
3122
3350
  .btn {
3123
3351
  border-radius: var(--radius-4xl);
3124
3352
  border-style: var(--tw-border-style);
@@ -3955,7 +4183,7 @@
3955
4183
  width: calc(var(--spacing) * 10);
3956
4184
  height: calc(var(--spacing) * 10);
3957
4185
  }
3958
- .avatar > span:not([data-badge]) {
4186
+ .avatar > span:not(.avatar-badge) {
3959
4187
  border-radius: inherit;
3960
4188
  background-color: var(--color-muted);
3961
4189
  color: var(--color-muted-foreground);
@@ -3963,7 +4191,7 @@
3963
4191
  .avatar > img {
3964
4192
  border-radius: inherit;
3965
4193
  }
3966
- .avatar > [data-badge] {
4194
+ .avatar > .avatar-badge {
3967
4195
  background-color: var(--color-primary);
3968
4196
  color: var(--color-primary-foreground);
3969
4197
  --tw-ring-color: var(--color-background);
@@ -4136,21 +4364,69 @@
4136
4364
  }
4137
4365
  }
4138
4366
  }
4367
+ .breadcrumb > ol {
4368
+ gap: calc(var(--spacing) * 1.5);
4369
+ font-size: var(--text-sm);
4370
+ line-height: var(--tw-leading, var(--text-sm--line-height));
4371
+ color: var(--color-muted-foreground);
4372
+ @media (width >= 40rem) {
4373
+ gap: calc(var(--spacing) * 2.5);
4374
+ }
4375
+ }
4376
+ .breadcrumb li {
4377
+ gap: calc(var(--spacing) * 1.5);
4378
+ }
4379
+ .breadcrumb a {
4380
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
4381
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
4382
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
4383
+ &:hover {
4384
+ @media (hover: hover) {
4385
+ color: var(--color-foreground);
4386
+ }
4387
+ }
4388
+ }
4389
+ .breadcrumb [aria-current='page'] {
4390
+ --tw-font-weight: var(--font-weight-normal);
4391
+ font-weight: var(--font-weight-normal);
4392
+ color: var(--color-foreground);
4393
+ }
4394
+ .breadcrumb li[aria-hidden='true'] > svg {
4395
+ width: calc(var(--spacing) * 3.5);
4396
+ height: calc(var(--spacing) * 3.5);
4397
+ }
4398
+ .breadcrumb li > span[aria-hidden='true'] {
4399
+ width: calc(var(--spacing) * 5);
4400
+ height: calc(var(--spacing) * 5);
4401
+ &>svg {
4402
+ width: calc(var(--spacing) * 4);
4403
+ height: calc(var(--spacing) * 4);
4404
+ }
4405
+ }
4139
4406
  .command {
4140
- border-radius: var(--radius-4xl);
4407
+ border-radius: var(--radius-4xl) !important;
4141
4408
  background-color: var(--color-popover);
4142
4409
  padding: calc(var(--spacing) * 1);
4143
4410
  color: var(--color-popover-foreground);
4144
4411
  }
4145
- .command-dialog > * {
4146
- border-radius: var(--radius-4xl);
4147
- padding: calc(var(--spacing) * 0);
4412
+ .command-dialog > .command {
4413
+ border-radius: var(--radius-4xl) !important;
4414
+ background-color: var(--color-popover);
4415
+ color: var(--color-popover-foreground);
4416
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4417
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4418
+ --tw-ring-color: var(--color-foreground);
4419
+ @supports (color: color-mix(in lab, red, red)) {
4420
+ --tw-ring-color: color-mix(in oklab, var(--color-foreground) 5%, transparent);
4421
+ }
4422
+ --tw-duration: 100ms;
4423
+ transition-duration: 100ms;
4148
4424
  }
4149
4425
  .command > header {
4150
4426
  margin: calc(var(--spacing) * 1);
4151
4427
  margin-bottom: calc(var(--spacing) * 0);
4152
4428
  height: calc(var(--spacing) * 9);
4153
- gap: calc(var(--spacing) * 2);
4429
+ gap: calc(var(--spacing) * 0);
4154
4430
  border-radius: var(--radius-3xl);
4155
4431
  background-color: var(--color-input);
4156
4432
  @supports (color: color-mix(in lab, red, red)) {
@@ -4164,7 +4440,7 @@
4164
4440
  opacity: 50%;
4165
4441
  }
4166
4442
  .command > header input {
4167
- height: 100%;
4443
+ padding-inline-start: calc(var(--spacing) * 1.5);
4168
4444
  font-size: var(--text-sm);
4169
4445
  line-height: var(--tw-leading, var(--text-sm--line-height));
4170
4446
  &::placeholder {
@@ -4218,10 +4494,10 @@
4218
4494
  }
4219
4495
  }
4220
4496
  .command [role='menuitem'].active {
4221
- background-color: var(--color-accent);
4222
- color: var(--color-accent-foreground);
4497
+ background-color: var(--color-muted);
4498
+ color: var(--color-foreground);
4223
4499
  & svg {
4224
- color: var(--color-accent-foreground);
4500
+ color: var(--color-foreground);
4225
4501
  }
4226
4502
  }
4227
4503
  .command [data-shortcut] {
@@ -4463,6 +4739,10 @@
4463
4739
  height: calc(var(--spacing) * 3.5);
4464
4740
  }
4465
4741
  }
4742
+ .combobox [data-popover] > :is(input[role='combobox'], .input-group) {
4743
+ margin-bottom: calc(var(--spacing) * 1);
4744
+ width: 100%;
4745
+ }
4466
4746
  *:not(select).select > button {
4467
4747
  height: calc(var(--spacing) * 9);
4468
4748
  gap: calc(var(--spacing) * 1.5);
@@ -4610,7 +4890,7 @@
4610
4890
  background-color: color-mix(in oklab, var(--color-border) 50%, transparent);
4611
4891
  }
4612
4892
  }
4613
- .dialog::backdrop, .command-dialog::backdrop {
4893
+ .dialog::backdrop, .alert-dialog::backdrop, .command-dialog::backdrop {
4614
4894
  background-color: color-mix(in srgb, #000 80%, transparent);
4615
4895
  @supports (color: color-mix(in lab, red, red)) {
4616
4896
  background-color: color-mix(in oklab, var(--color-black) 80%, transparent);
@@ -4621,6 +4901,25 @@
4621
4901
  --tw-duration: 100ms;
4622
4902
  transition-duration: 100ms;
4623
4903
  }
4904
+ .alert-dialog > * {
4905
+ max-width: var(--container-xs);
4906
+ gap: calc(var(--spacing) * 6);
4907
+ border-radius: var(--radius-4xl);
4908
+ background-color: var(--color-popover);
4909
+ padding: calc(var(--spacing) * 6);
4910
+ color: var(--color-popover-foreground);
4911
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4912
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4913
+ --tw-ring-color: var(--color-foreground);
4914
+ @supports (color: color-mix(in lab, red, red)) {
4915
+ --tw-ring-color: color-mix(in oklab, var(--color-foreground) 5%, transparent);
4916
+ }
4917
+ --tw-duration: 100ms;
4918
+ transition-duration: 100ms;
4919
+ @media (width >= 40rem) {
4920
+ max-width: var(--container-md);
4921
+ }
4922
+ }
4624
4923
  .dialog > * {
4625
4924
  max-width: calc(100% - 2rem);
4626
4925
  gap: calc(var(--spacing) * 6);
@@ -4649,7 +4948,25 @@
4649
4948
  .dialog > * > header {
4650
4949
  gap: calc(var(--spacing) * 2);
4651
4950
  }
4652
- .dialog > * > footer {
4951
+ .alert-dialog > * > header {
4952
+ column-gap: calc(var(--spacing) * 6);
4953
+ row-gap: calc(var(--spacing) * 1.5);
4954
+ }
4955
+ .alert-dialog > * > header > figure {
4956
+ margin-bottom: calc(var(--spacing) * 2);
4957
+ display: inline-flex;
4958
+ width: calc(var(--spacing) * 16);
4959
+ height: calc(var(--spacing) * 16);
4960
+ align-items: center;
4961
+ justify-content: center;
4962
+ border-radius: calc(infinity * 1px);
4963
+ background-color: var(--color-muted);
4964
+ &>svg:not([class*='size-']) {
4965
+ width: calc(var(--spacing) * 8);
4966
+ height: calc(var(--spacing) * 8);
4967
+ }
4968
+ }
4969
+ .alert-dialog > * > footer, .dialog > * > footer {
4653
4970
  gap: calc(var(--spacing) * 2);
4654
4971
  }
4655
4972
  .dialog > * > header > h2, .dialog > * > [data-title] {
@@ -4660,6 +4977,12 @@
4660
4977
  --tw-font-weight: var(--font-weight-medium);
4661
4978
  font-weight: var(--font-weight-medium);
4662
4979
  }
4980
+ .alert-dialog > * > header > h2, .alert-dialog > * > [data-title] {
4981
+ font-size: var(--text-lg);
4982
+ line-height: var(--tw-leading, var(--text-lg--line-height));
4983
+ --tw-font-weight: var(--font-weight-medium);
4984
+ font-weight: var(--font-weight-medium);
4985
+ }
4663
4986
  .dialog > * > header > p, .dialog > * > [data-description] {
4664
4987
  font-size: var(--text-sm);
4665
4988
  line-height: var(--tw-leading, var(--text-sm--line-height));
@@ -4676,6 +4999,24 @@
4676
4999
  color: var(--color-foreground);
4677
5000
  }
4678
5001
  }
5002
+ .alert-dialog > * > header > p, .alert-dialog > * > [data-description] {
5003
+ font-size: var(--text-sm);
5004
+ line-height: var(--tw-leading, var(--text-sm--line-height));
5005
+ text-wrap: balance;
5006
+ color: var(--color-muted-foreground);
5007
+ @media (width >= 48rem) {
5008
+ text-wrap: pretty;
5009
+ }
5010
+ & a {
5011
+ text-decoration-line: underline;
5012
+ }
5013
+ & a {
5014
+ text-underline-offset: 3px;
5015
+ }
5016
+ & a:hover {
5017
+ color: var(--color-foreground);
5018
+ }
5019
+ }
4679
5020
  .dropdown-menu > [data-popover] {
4680
5021
  min-width: calc(var(--spacing) * 48);
4681
5022
  gap: calc(var(--spacing) * 0);
@@ -4770,7 +5111,7 @@
4770
5111
  background-color: color-mix(in oklab, var(--color-border) 50%, transparent);
4771
5112
  }
4772
5113
  }
4773
- .dropdown-menu :is([data-shortcut], kbd:last-child) {
5114
+ .dropdown-menu :is([data-shortcut], kbd:last-child, .kbd:last-child) {
4774
5115
  font-family: var(--font-sans);
4775
5116
  font-size: var(--text-xs);
4776
5117
  line-height: var(--tw-leading, var(--text-xs--line-height));
@@ -4778,7 +5119,7 @@
4778
5119
  letter-spacing: var(--tracking-widest);
4779
5120
  color: var(--color-muted-foreground);
4780
5121
  }
4781
- .dropdown-menu :is([role='menuitem'], [role='menuitemcheckbox'], [role='menuitemradio']):is(:focus-visible, .active) :is([data-shortcut], kbd:last-child) {
5122
+ .dropdown-menu :is([role='menuitem'], [role='menuitemcheckbox'], [role='menuitemradio']):is(:focus-visible, .active) :is([data-shortcut], kbd:last-child, .kbd:last-child) {
4782
5123
  color: var(--color-accent-foreground);
4783
5124
  }
4784
5125
  [data-popover] {