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
@@ -257,7 +257,7 @@
257
257
  --scrollbar-track: transparent;
258
258
  --scrollbar-thumb: var(--border);
259
259
  --scrollbar-width: 0.625rem;
260
- --scrollbar-thin-width: 0.375rem;
260
+ --scrollbar-sm-width: 0.375rem;
261
261
  --scrollbar-radius: 9999px;
262
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>');
263
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>');
@@ -268,7 +268,7 @@
268
268
  --foreground: oklch(0.985 0 0);
269
269
  --card: oklch(0.205 0 0);
270
270
  --card-foreground: oklch(0.985 0 0);
271
- --popover: oklch(0.269 0 0);
271
+ --popover: oklch(0.205 0 0);
272
272
  --popover-foreground: oklch(0.985 0 0);
273
273
  --primary: oklch(0.922 0 0);
274
274
  --primary-foreground: oklch(0.205 0 0);
@@ -318,45 +318,47 @@
318
318
  -webkit-font-smoothing: antialiased;
319
319
  -moz-osx-font-smoothing: grayscale;
320
320
  }
321
- .scrollbar {
322
- scrollbar-width: auto;
323
- scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
324
- &::-webkit-scrollbar {
325
- width: var(--scrollbar-width);
326
- height: var(--scrollbar-width);
327
- }
328
- &::-webkit-scrollbar-track {
329
- background: var(--scrollbar-track);
330
- }
331
- &::-webkit-scrollbar-thumb {
332
- background: var(--scrollbar-thumb);
333
- border-radius: var(--scrollbar-radius);
334
- border: 1px solid transparent;
335
- background-clip: padding-box;
336
- }
337
- &::-webkit-scrollbar-corner {
338
- background: var(--scrollbar-track);
339
- }
321
+ }
322
+ @layer components {
323
+ .accordion {
324
+ display: flex;
325
+ width: 100%;
326
+ flex-direction: column;
340
327
  }
341
- .scrollbar-thin {
342
- scrollbar-width: thin;
343
- scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
344
- &::-webkit-scrollbar {
345
- width: var(--scrollbar-thin-width);
346
- height: var(--scrollbar-thin-width);
347
- }
348
- &::-webkit-scrollbar-track {
349
- background: var(--scrollbar-track);
350
- }
351
- &::-webkit-scrollbar-thumb {
352
- background: var(--scrollbar-thumb);
353
- border-radius: var(--scrollbar-radius);
354
- border: 1px solid transparent;
355
- background-clip: padding-box;
356
- }
357
- &::-webkit-scrollbar-corner {
358
- background: var(--scrollbar-track);
359
- }
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;
360
362
  }
361
363
  }
362
364
  @layer components {
@@ -374,10 +376,20 @@
374
376
  display: grid;
375
377
  justify-items: start;
376
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
+ }
377
385
  ul {
378
386
  list-style-position: inside;
379
387
  list-style-type: disc;
380
388
  }
389
+ ol {
390
+ list-style-position: inside;
391
+ list-style-type: decimal;
392
+ }
381
393
  }
382
394
  .alert > footer {
383
395
  position: absolute;
@@ -449,7 +461,7 @@
449
461
  border-radius: inherit;
450
462
  object-fit: cover;
451
463
  }
452
- .avatar > span:not([data-badge]) {
464
+ .avatar > span:not(.avatar-badge) {
453
465
  display: flex;
454
466
  width: 100%;
455
467
  height: 100%;
@@ -459,11 +471,11 @@
459
471
  font-size: var(--text-sm);
460
472
  line-height: var(--tw-leading, var(--text-sm--line-height));
461
473
  }
462
- .avatar[data-size='sm'] > span:not([data-badge]) {
474
+ .avatar[data-size='sm'] > span:not(.avatar-badge) {
463
475
  font-size: var(--text-xs);
464
476
  line-height: var(--tw-leading, var(--text-xs--line-height));
465
477
  }
466
- .avatar > [data-badge] {
478
+ .avatar > .avatar-badge {
467
479
  position: absolute;
468
480
  inset-inline-end: calc(var(--spacing) * 0);
469
481
  bottom: calc(var(--spacing) * 0);
@@ -478,14 +490,14 @@
478
490
  -webkit-user-select: none;
479
491
  user-select: none;
480
492
  }
481
- .avatar[data-size='sm'] > [data-badge] {
493
+ .avatar[data-size='sm'] > .avatar-badge {
482
494
  width: calc(var(--spacing) * 2);
483
495
  height: calc(var(--spacing) * 2);
484
496
  &>svg {
485
497
  display: none;
486
498
  }
487
499
  }
488
- .avatar > [data-badge] {
500
+ .avatar > .avatar-badge {
489
501
  width: calc(var(--spacing) * 2.5);
490
502
  height: calc(var(--spacing) * 2.5);
491
503
  &>svg {
@@ -493,7 +505,7 @@
493
505
  height: calc(var(--spacing) * 2);
494
506
  }
495
507
  }
496
- .avatar[data-size='lg'] > [data-badge] {
508
+ .avatar[data-size='lg'] > .avatar-badge {
497
509
  width: calc(var(--spacing) * 3);
498
510
  height: calc(var(--spacing) * 3);
499
511
  &>svg {
@@ -566,6 +578,53 @@
566
578
  }
567
579
  }
568
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
+ }
569
628
  @layer components {
570
629
  .btn {
571
630
  display: inline-flex;
@@ -690,6 +749,11 @@
690
749
  align-self: flex-start;
691
750
  justify-self: flex-end;
692
751
  }
752
+ > header > menu.card-action {
753
+ margin: calc(var(--spacing) * 0);
754
+ list-style-type: none;
755
+ padding: calc(var(--spacing) * 0);
756
+ }
693
757
  > footer {
694
758
  display: flex;
695
759
  align-items: center;
@@ -835,7 +899,7 @@
835
899
  &::backdrop {
836
900
  opacity: 100%;
837
901
  }
838
- > * {
902
+ > .command {
839
903
  --tw-scale-x: 100%;
840
904
  --tw-scale-y: 100%;
841
905
  --tw-scale-z: 100%;
@@ -846,7 +910,7 @@
846
910
  &::backdrop {
847
911
  opacity: 0%;
848
912
  }
849
- > * {
913
+ > .command {
850
914
  --tw-scale-x: 95%;
851
915
  --tw-scale-y: 95%;
852
916
  --tw-scale-z: 95%;
@@ -861,7 +925,7 @@
861
925
  transition-duration: var(--tw-duration, var(--default-transition-duration));
862
926
  transition-behavior: allow-discrete;
863
927
  }
864
- > * {
928
+ > .command {
865
929
  position: fixed;
866
930
  top: calc(1/3 * 100%);
867
931
  left: calc(1/2 * 100%);
@@ -883,13 +947,13 @@
883
947
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
884
948
  transition-duration: var(--tw-duration, var(--default-transition-duration));
885
949
  @media (width >= 40rem) {
886
- max-width: var(--container-lg);
950
+ max-width: var(--container-sm);
887
951
  }
888
952
  }
889
- > * > :is(button, form[method='dialog']) {
953
+ > .command > :is(button, form[method='dialog']) {
890
954
  position: absolute;
891
955
  }
892
- > * > :is(button, form[method='dialog'] > button) {
956
+ > .command > :is(button, form[method='dialog'] > button) {
893
957
  display: inline-flex;
894
958
  align-items: center;
895
959
  justify-content: center;
@@ -920,7 +984,7 @@
920
984
  flex-shrink: 0;
921
985
  }
922
986
  }
923
- > * > :is(button, form[method='dialog'] > button) > svg:not([class*='size-']) {
987
+ > .command > :is(button, form[method='dialog'] > button) > svg:not([class*='size-']) {
924
988
  width: calc(var(--spacing) * 4);
925
989
  height: calc(var(--spacing) * 4);
926
990
  }
@@ -963,6 +1027,10 @@
963
1027
  outline: 2px solid transparent;
964
1028
  outline-offset: 2px;
965
1029
  }
1030
+ scrollbar-width: none;
1031
+ &::-webkit-scrollbar {
1032
+ display: none;
1033
+ }
966
1034
  }
967
1035
  .command [role='menuitem'] {
968
1036
  position: relative;
@@ -970,9 +1038,6 @@
970
1038
  width: 100%;
971
1039
  cursor: default;
972
1040
  align-items: center;
973
- overflow: hidden;
974
- text-overflow: ellipsis;
975
- white-space: nowrap;
976
1041
  --tw-outline-style: none;
977
1042
  outline-style: none;
978
1043
  @media (forced-colors: active) {
@@ -996,6 +1061,12 @@
996
1061
  &[aria-hidden="true"] {
997
1062
  display: none;
998
1063
  }
1064
+ &[data-disabled="true"] {
1065
+ pointer-events: none;
1066
+ }
1067
+ &[data-disabled="true"] {
1068
+ opacity: 50%;
1069
+ }
999
1070
  & svg {
1000
1071
  pointer-events: none;
1001
1072
  }
@@ -1003,9 +1074,9 @@
1003
1074
  flex-shrink: 0;
1004
1075
  }
1005
1076
  }
1006
- .command [role='menuitem'].active {
1007
- background-color: var(--color-accent);
1008
- 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);
1009
1080
  }
1010
1081
  .command [role='group'] {
1011
1082
  overflow: hidden;
@@ -1027,7 +1098,7 @@
1027
1098
  margin-inline-start: auto;
1028
1099
  opacity: 0%;
1029
1100
  }
1030
- .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] {
1031
1102
  opacity: 100%;
1032
1103
  }
1033
1104
  .command [role='menuitem']:has([data-shortcut]) [data-indicator] {
@@ -1050,8 +1121,8 @@
1050
1121
  content: var(--tw-content);
1051
1122
  }
1052
1123
  .command:not([data-command-initialized]) [role='menuitem']:not([aria-disabled='true']):not(:disabled):hover {
1053
- background-color: var(--color-accent);
1054
- color: var(--color-accent-foreground);
1124
+ background-color: var(--color-muted);
1125
+ color: var(--color-foreground);
1055
1126
  }
1056
1127
  .command:has(> header input:not(:placeholder-shown)) [role='separator'] {
1057
1128
  display: none;
@@ -1086,17 +1157,69 @@
1086
1157
  opacity: 50%;
1087
1158
  }
1088
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
+ }
1089
1181
  .combobox > svg, .combobox-trigger-icon {
1090
1182
  pointer-events: none;
1091
1183
  position: absolute;
1092
1184
  flex-shrink: 0;
1093
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
+ }
1094
1216
  .combobox [data-popover] {
1095
1217
  isolation: isolate;
1096
1218
  overflow: hidden;
1097
1219
  min-width: max(100%, 9rem);
1098
1220
  }
1099
1221
  .combobox [role='listbox'] {
1222
+ overflow-x: hidden;
1100
1223
  overflow-y: auto;
1101
1224
  --tw-outline-style: none;
1102
1225
  outline-style: none;
@@ -1219,12 +1342,13 @@
1219
1342
  }
1220
1343
  .combobox-chip-remove {
1221
1344
  display: inline-flex;
1345
+ flex-shrink: 0;
1222
1346
  align-items: center;
1223
1347
  justify-content: center;
1224
1348
  }
1225
1349
  }
1226
1350
  @layer components {
1227
- .dialog {
1351
+ .dialog, .alert-dialog {
1228
1352
  background-color: transparent;
1229
1353
  padding: calc(var(--spacing) * 0);
1230
1354
  color: inherit;
@@ -1296,6 +1420,8 @@
1296
1420
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1297
1421
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1298
1422
  }
1423
+ }
1424
+ .dialog {
1299
1425
  > * > header {
1300
1426
  display: flex;
1301
1427
  flex-direction: column;
@@ -1352,6 +1478,64 @@
1352
1478
  height: calc(var(--spacing) * 4);
1353
1479
  }
1354
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
+ }
1355
1539
  }
1356
1540
  @layer components {
1357
1541
  .dropdown-menu {
@@ -1424,7 +1608,7 @@
1424
1608
  padding-inline-start: calc(var(--spacing) * 8);
1425
1609
  }
1426
1610
  .dropdown-menu :is(kbd:last-child, .kbd:last-child):not([data-shortcut]) {
1427
- margin-inline-start: calc(var(--spacing) * 8);
1611
+ padding-inline-start: calc(var(--spacing) * 8);
1428
1612
  }
1429
1613
  .dropdown-menu [data-indicator] {
1430
1614
  pointer-events: none;
@@ -3118,6 +3302,51 @@
3118
3302
  }
3119
3303
  }
3120
3304
  @layer components {
3305
+ .accordion > details {
3306
+ &:not(*:last-child) {
3307
+ border-bottom-style: var(--tw-border-style);
3308
+ border-bottom-width: 1px;
3309
+ }
3310
+ }
3311
+ .accordion > details > summary {
3312
+ border-radius: var(--radius-md);
3313
+ padding-block: calc(var(--spacing) * 4);
3314
+ text-align: left;
3315
+ font-size: var(--text-sm);
3316
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3317
+ --tw-font-weight: var(--font-weight-medium);
3318
+ font-weight: var(--font-weight-medium);
3319
+ &:hover {
3320
+ @media (hover: hover) {
3321
+ text-decoration-line: underline;
3322
+ }
3323
+ }
3324
+ &:focus-visible {
3325
+ border-color: var(--color-ring);
3326
+ }
3327
+ &:focus-visible {
3328
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
3329
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3330
+ }
3331
+ &:focus-visible {
3332
+ --tw-ring-color: var(--color-ring);
3333
+ @supports (color: color-mix(in lab, red, red)) {
3334
+ --tw-ring-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
3335
+ }
3336
+ }
3337
+ }
3338
+ .accordion > details > summary > svg:last-child {
3339
+ margin-inline-start: auto;
3340
+ width: calc(var(--spacing) * 4);
3341
+ height: calc(var(--spacing) * 4);
3342
+ color: var(--color-muted-foreground);
3343
+ }
3344
+ .accordion > details > :not(summary) {
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
+ }
3121
3350
  .btn {
3122
3351
  border-radius: var(--radius-md);
3123
3352
  border-style: var(--tw-border-style);
@@ -3980,7 +4209,7 @@
3980
4209
  width: calc(var(--spacing) * 10);
3981
4210
  height: calc(var(--spacing) * 10);
3982
4211
  }
3983
- .avatar > span:not([data-badge]) {
4212
+ .avatar > span:not(.avatar-badge) {
3984
4213
  border-radius: inherit;
3985
4214
  background-color: var(--color-muted);
3986
4215
  color: var(--color-muted-foreground);
@@ -3988,7 +4217,7 @@
3988
4217
  .avatar > img {
3989
4218
  border-radius: inherit;
3990
4219
  }
3991
- .avatar > [data-badge] {
4220
+ .avatar > .avatar-badge {
3992
4221
  background-color: var(--color-primary);
3993
4222
  color: var(--color-primary-foreground);
3994
4223
  --tw-ring-color: var(--color-background);
@@ -4157,21 +4386,69 @@
4157
4386
  }
4158
4387
  }
4159
4388
  }
4389
+ .breadcrumb > ol {
4390
+ gap: calc(var(--spacing) * 1.5);
4391
+ font-size: var(--text-sm);
4392
+ line-height: var(--tw-leading, var(--text-sm--line-height));
4393
+ color: var(--color-muted-foreground);
4394
+ @media (width >= 40rem) {
4395
+ gap: calc(var(--spacing) * 2.5);
4396
+ }
4397
+ }
4398
+ .breadcrumb li {
4399
+ gap: calc(var(--spacing) * 1.5);
4400
+ }
4401
+ .breadcrumb a {
4402
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
4403
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
4404
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
4405
+ &:hover {
4406
+ @media (hover: hover) {
4407
+ color: var(--color-foreground);
4408
+ }
4409
+ }
4410
+ }
4411
+ .breadcrumb [aria-current='page'] {
4412
+ --tw-font-weight: var(--font-weight-normal);
4413
+ font-weight: var(--font-weight-normal);
4414
+ color: var(--color-foreground);
4415
+ }
4416
+ .breadcrumb li[aria-hidden='true'] > svg {
4417
+ width: calc(var(--spacing) * 3.5);
4418
+ height: calc(var(--spacing) * 3.5);
4419
+ }
4420
+ .breadcrumb li > span[aria-hidden='true'] {
4421
+ width: calc(var(--spacing) * 5);
4422
+ height: calc(var(--spacing) * 5);
4423
+ &>svg {
4424
+ width: calc(var(--spacing) * 4);
4425
+ height: calc(var(--spacing) * 4);
4426
+ }
4427
+ }
4160
4428
  .command {
4161
- border-radius: var(--radius-xl);
4429
+ border-radius: var(--radius-xl) !important;
4162
4430
  background-color: var(--color-popover);
4163
4431
  padding: calc(var(--spacing) * 1);
4164
4432
  color: var(--color-popover-foreground);
4165
4433
  }
4166
- .command-dialog > * {
4167
- border-radius: var(--radius-xl);
4168
- padding: calc(var(--spacing) * 0);
4434
+ .command-dialog > .command {
4435
+ border-radius: var(--radius-xl) !important;
4436
+ background-color: var(--color-popover);
4437
+ color: var(--color-popover-foreground);
4438
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4439
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4440
+ --tw-ring-color: var(--color-foreground);
4441
+ @supports (color: color-mix(in lab, red, red)) {
4442
+ --tw-ring-color: color-mix(in oklab, var(--color-foreground) 10%, transparent);
4443
+ }
4444
+ --tw-duration: 100ms;
4445
+ transition-duration: 100ms;
4169
4446
  }
4170
4447
  .command > header {
4171
4448
  margin: calc(var(--spacing) * 1);
4172
4449
  margin-bottom: calc(var(--spacing) * 0);
4173
4450
  height: calc(var(--spacing) * 8);
4174
- gap: calc(var(--spacing) * 2);
4451
+ gap: calc(var(--spacing) * 0);
4175
4452
  border-radius: var(--radius-lg);
4176
4453
  border-style: var(--tw-border-style);
4177
4454
  border-width: 1px;
@@ -4191,7 +4468,7 @@
4191
4468
  opacity: 50%;
4192
4469
  }
4193
4470
  .command > header input {
4194
- height: 100%;
4471
+ padding-inline-start: calc(var(--spacing) * 1.5);
4195
4472
  font-size: var(--text-sm);
4196
4473
  line-height: var(--tw-leading, var(--text-sm--line-height));
4197
4474
  &::placeholder {
@@ -4234,16 +4511,19 @@
4234
4511
  padding-block: calc(var(--spacing) * 1.5);
4235
4512
  font-size: var(--text-sm);
4236
4513
  line-height: var(--tw-leading, var(--text-sm--line-height));
4514
+ :where(*:is(.command-dialog)) & {
4515
+ border-radius: var(--radius-lg);
4516
+ }
4237
4517
  & svg:not([class*='size-']) {
4238
4518
  width: calc(var(--spacing) * 4);
4239
4519
  height: calc(var(--spacing) * 4);
4240
4520
  }
4241
4521
  }
4242
4522
  .command [role='menuitem'].active {
4243
- background-color: var(--color-accent);
4244
- color: var(--color-accent-foreground);
4523
+ background-color: var(--color-muted);
4524
+ color: var(--color-foreground);
4245
4525
  & svg {
4246
- color: var(--color-accent-foreground);
4526
+ color: var(--color-foreground);
4247
4527
  }
4248
4528
  }
4249
4529
  .command [data-shortcut] {
@@ -4489,6 +4769,10 @@
4489
4769
  height: calc(var(--spacing) * 3.5);
4490
4770
  }
4491
4771
  }
4772
+ .combobox [data-popover] > :is(input[role='combobox'], .input-group) {
4773
+ margin-bottom: calc(var(--spacing) * 1);
4774
+ width: 100%;
4775
+ }
4492
4776
  *:not(select).select > button {
4493
4777
  height: calc(var(--spacing) * 9);
4494
4778
  gap: calc(var(--spacing) * 1.5);
@@ -4639,7 +4923,7 @@
4639
4923
  height: 1px;
4640
4924
  background-color: var(--color-border);
4641
4925
  }
4642
- .dialog::backdrop, .command-dialog::backdrop {
4926
+ .dialog::backdrop, .alert-dialog::backdrop, .command-dialog::backdrop {
4643
4927
  background-color: color-mix(in srgb, #000 10%, transparent);
4644
4928
  @supports (color: color-mix(in lab, red, red)) {
4645
4929
  background-color: color-mix(in oklab, var(--color-black) 10%, transparent);
@@ -4650,6 +4934,25 @@
4650
4934
  --tw-duration: 100ms;
4651
4935
  transition-duration: 100ms;
4652
4936
  }
4937
+ .alert-dialog > * {
4938
+ max-width: var(--container-xs);
4939
+ gap: calc(var(--spacing) * 6);
4940
+ border-radius: var(--radius-xl);
4941
+ background-color: var(--color-popover);
4942
+ padding: calc(var(--spacing) * 6);
4943
+ color: var(--color-popover-foreground);
4944
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4945
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4946
+ --tw-ring-color: var(--color-foreground);
4947
+ @supports (color: color-mix(in lab, red, red)) {
4948
+ --tw-ring-color: color-mix(in oklab, var(--color-foreground) 10%, transparent);
4949
+ }
4950
+ --tw-duration: 100ms;
4951
+ transition-duration: 100ms;
4952
+ @media (width >= 40rem) {
4953
+ max-width: var(--container-lg);
4954
+ }
4955
+ }
4653
4956
  .dialog > * {
4654
4957
  max-width: calc(100% - 2rem);
4655
4958
  gap: calc(var(--spacing) * 6);
@@ -4678,7 +4981,25 @@
4678
4981
  .dialog > * > header {
4679
4982
  gap: calc(var(--spacing) * 2);
4680
4983
  }
4681
- .dialog > * > footer {
4984
+ .alert-dialog > * > header {
4985
+ column-gap: calc(var(--spacing) * 6);
4986
+ row-gap: calc(var(--spacing) * 1.5);
4987
+ }
4988
+ .alert-dialog > * > header > figure {
4989
+ margin-bottom: calc(var(--spacing) * 2);
4990
+ display: inline-flex;
4991
+ width: calc(var(--spacing) * 16);
4992
+ height: calc(var(--spacing) * 16);
4993
+ align-items: center;
4994
+ justify-content: center;
4995
+ border-radius: var(--radius-md);
4996
+ background-color: var(--color-muted);
4997
+ &>svg:not([class*='size-']) {
4998
+ width: calc(var(--spacing) * 8);
4999
+ height: calc(var(--spacing) * 8);
5000
+ }
5001
+ }
5002
+ .alert-dialog > * > footer, .dialog > * > footer {
4682
5003
  gap: calc(var(--spacing) * 2);
4683
5004
  }
4684
5005
  .dialog > * > header > h2, .dialog > * > [data-title] {
@@ -4687,6 +5008,12 @@
4687
5008
  --tw-font-weight: var(--font-weight-medium);
4688
5009
  font-weight: var(--font-weight-medium);
4689
5010
  }
5011
+ .alert-dialog > * > header > h2, .alert-dialog > * > [data-title] {
5012
+ font-size: var(--text-lg);
5013
+ line-height: var(--tw-leading, var(--text-lg--line-height));
5014
+ --tw-font-weight: var(--font-weight-medium);
5015
+ font-weight: var(--font-weight-medium);
5016
+ }
4690
5017
  .dialog > * > header > p, .dialog > * > [data-description] {
4691
5018
  font-size: var(--text-sm);
4692
5019
  line-height: var(--tw-leading, var(--text-sm--line-height));
@@ -4703,6 +5030,24 @@
4703
5030
  color: var(--color-foreground);
4704
5031
  }
4705
5032
  }
5033
+ .alert-dialog > * > header > p, .alert-dialog > * > [data-description] {
5034
+ font-size: var(--text-sm);
5035
+ line-height: var(--tw-leading, var(--text-sm--line-height));
5036
+ text-wrap: balance;
5037
+ color: var(--color-muted-foreground);
5038
+ @media (width >= 48rem) {
5039
+ text-wrap: pretty;
5040
+ }
5041
+ & a {
5042
+ text-decoration-line: underline;
5043
+ }
5044
+ & a {
5045
+ text-underline-offset: 3px;
5046
+ }
5047
+ & a:hover {
5048
+ color: var(--color-foreground);
5049
+ }
5050
+ }
4706
5051
  .dropdown-menu > [data-popover] {
4707
5052
  gap: calc(var(--spacing) * 0);
4708
5053
  overflow-x: hidden;
@@ -4789,7 +5134,7 @@
4789
5134
  height: 1px;
4790
5135
  background-color: var(--color-border);
4791
5136
  }
4792
- .dropdown-menu :is([data-shortcut], kbd:last-child) {
5137
+ .dropdown-menu :is([data-shortcut], kbd:last-child, .kbd:last-child) {
4793
5138
  font-family: var(--font-sans);
4794
5139
  font-size: var(--text-xs);
4795
5140
  line-height: var(--tw-leading, var(--text-xs--line-height));
@@ -4797,7 +5142,7 @@
4797
5142
  letter-spacing: var(--tracking-widest);
4798
5143
  color: var(--color-muted-foreground);
4799
5144
  }
4800
- .dropdown-menu :is([role='menuitem'], [role='menuitemcheckbox'], [role='menuitemradio']):is(:focus-visible, .active) :is([data-shortcut], kbd:last-child) {
5145
+ .dropdown-menu :is([role='menuitem'], [role='menuitemcheckbox'], [role='menuitemradio']):is(:focus-visible, .active) :is([data-shortcut], kbd:last-child, .kbd:last-child) {
4801
5146
  color: var(--color-accent-foreground);
4802
5147
  }
4803
5148
  [data-popover] {