basecoat-css 1.0.0-beta.4 → 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 (50) hide show
  1. package/dist/base/base.css +1 -1
  2. package/dist/basecoat-base.cdn.css +250 -26
  3. package/dist/basecoat-base.cdn.min.css +1 -1
  4. package/dist/basecoat-components.css +2 -0
  5. package/dist/basecoat-luma.cdn.css +431 -41
  6. package/dist/basecoat-luma.cdn.min.css +1 -1
  7. package/dist/basecoat-lyra.cdn.css +432 -39
  8. package/dist/basecoat-lyra.cdn.min.css +1 -1
  9. package/dist/basecoat-maia.cdn.css +422 -41
  10. package/dist/basecoat-maia.cdn.min.css +1 -1
  11. package/dist/basecoat-mira.cdn.css +419 -41
  12. package/dist/basecoat-mira.cdn.min.css +1 -1
  13. package/dist/basecoat-nova.cdn.css +436 -41
  14. package/dist/basecoat-nova.cdn.min.css +1 -1
  15. package/dist/basecoat-rhea.cdn.css +441 -52
  16. package/dist/basecoat-rhea.cdn.min.css +1 -1
  17. package/dist/basecoat-sera.cdn.css +425 -39
  18. package/dist/basecoat-sera.cdn.min.css +1 -1
  19. package/dist/basecoat-vega.cdn.css +425 -40
  20. package/dist/basecoat-vega.cdn.min.css +1 -1
  21. package/dist/basecoat.cdn.css +425 -40
  22. package/dist/basecoat.cdn.min.css +1 -1
  23. package/dist/components/accordion.css +27 -0
  24. package/dist/components/alert.css +12 -0
  25. package/dist/components/avatar.css +6 -6
  26. package/dist/components/breadcrumb.css +30 -0
  27. package/dist/components/card.css +4 -0
  28. package/dist/components/combobox.css +23 -2
  29. package/dist/components/command.css +19 -12
  30. package/dist/components/dialog.css +30 -1
  31. package/dist/components/dropdown-menu.css +1 -1
  32. package/dist/js/accordion.js +68 -0
  33. package/dist/js/accordion.min.js +1 -0
  34. package/dist/js/all.js +199 -28
  35. package/dist/js/all.min.js +1 -1
  36. package/dist/js/combobox.js +115 -26
  37. package/dist/js/combobox.min.js +1 -1
  38. package/dist/js/command.js +3 -1
  39. package/dist/js/command.min.js +1 -1
  40. package/dist/js/dropdown-menu.js +12 -1
  41. package/dist/js/dropdown-menu.min.js +1 -1
  42. package/dist/styles/luma.css +85 -11
  43. package/dist/styles/lyra.css +81 -11
  44. package/dist/styles/maia.css +85 -11
  45. package/dist/styles/mira.css +85 -11
  46. package/dist/styles/nova.css +83 -13
  47. package/dist/styles/rhea.css +89 -15
  48. package/dist/styles/sera.css +80 -10
  49. package/dist/styles/vega.css +82 -12
  50. package/package.json +1 -1
@@ -12,7 +12,6 @@
12
12
  --spacing: 0.25rem;
13
13
  --container-xs: 20rem;
14
14
  --container-sm: 24rem;
15
- --container-lg: 32rem;
16
15
  --text-xs: 0.75rem;
17
16
  --text-xs--line-height: calc(1 / 0.75);
18
17
  --text-sm: 0.875rem;
@@ -265,7 +264,7 @@
265
264
  --foreground: oklch(0.985 0 0);
266
265
  --card: oklch(0.205 0 0);
267
266
  --card-foreground: oklch(0.985 0 0);
268
- --popover: oklch(0.269 0 0);
267
+ --popover: oklch(0.205 0 0);
269
268
  --popover-foreground: oklch(0.985 0 0);
270
269
  --primary: oklch(0.922 0 0);
271
270
  --primary-foreground: oklch(0.205 0 0);
@@ -316,6 +315,48 @@
316
315
  -moz-osx-font-smoothing: grayscale;
317
316
  }
318
317
  }
318
+ @layer components {
319
+ .accordion {
320
+ display: flex;
321
+ width: 100%;
322
+ flex-direction: column;
323
+ }
324
+ .accordion > details > summary {
325
+ position: relative;
326
+ display: flex;
327
+ width: 100%;
328
+ flex: 1;
329
+ cursor: pointer;
330
+ list-style-type: none;
331
+ align-items: flex-start;
332
+ justify-content: space-between;
333
+ border-style: var(--tw-border-style);
334
+ border-width: 1px;
335
+ border-color: transparent;
336
+ transition-property: all;
337
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
338
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
339
+ --tw-outline-style: none;
340
+ outline-style: none;
341
+ }
342
+ .accordion > details > summary > svg:last-child {
343
+ pointer-events: none;
344
+ flex-shrink: 0;
345
+ transition-property: transform, translate, scale, rotate;
346
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
347
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
348
+ }
349
+ .accordion > details[open] > summary > svg:last-child {
350
+ rotate: 180deg;
351
+ }
352
+ .accordion > details[aria-disabled='true'] > summary, .accordion > details > summary[aria-disabled='true'] {
353
+ pointer-events: none;
354
+ opacity: 50%;
355
+ }
356
+ .accordion > details > :not(summary) {
357
+ overflow: hidden;
358
+ }
359
+ }
319
360
  @layer components {
320
361
  .alert {
321
362
  position: relative;
@@ -331,10 +372,20 @@
331
372
  display: grid;
332
373
  justify-items: start;
333
374
  gap: calc(var(--spacing) * 1);
375
+ :where(p, ul, ol) {
376
+ margin: calc(var(--spacing) * 0);
377
+ }
378
+ :where(p, ul, ol):not(:last-child) {
379
+ margin-bottom: calc(var(--spacing) * 4);
380
+ }
334
381
  ul {
335
382
  list-style-position: inside;
336
383
  list-style-type: disc;
337
384
  }
385
+ ol {
386
+ list-style-position: inside;
387
+ list-style-type: decimal;
388
+ }
338
389
  }
339
390
  .alert > footer {
340
391
  position: absolute;
@@ -406,7 +457,7 @@
406
457
  border-radius: inherit;
407
458
  object-fit: cover;
408
459
  }
409
- .avatar > span:not([data-badge]) {
460
+ .avatar > span:not(.avatar-badge) {
410
461
  display: flex;
411
462
  width: 100%;
412
463
  height: 100%;
@@ -416,11 +467,11 @@
416
467
  font-size: var(--text-sm);
417
468
  line-height: var(--tw-leading, var(--text-sm--line-height));
418
469
  }
419
- .avatar[data-size='sm'] > span:not([data-badge]) {
470
+ .avatar[data-size='sm'] > span:not(.avatar-badge) {
420
471
  font-size: var(--text-xs);
421
472
  line-height: var(--tw-leading, var(--text-xs--line-height));
422
473
  }
423
- .avatar > [data-badge] {
474
+ .avatar > .avatar-badge {
424
475
  position: absolute;
425
476
  inset-inline-end: calc(var(--spacing) * 0);
426
477
  bottom: calc(var(--spacing) * 0);
@@ -435,14 +486,14 @@
435
486
  -webkit-user-select: none;
436
487
  user-select: none;
437
488
  }
438
- .avatar[data-size='sm'] > [data-badge] {
489
+ .avatar[data-size='sm'] > .avatar-badge {
439
490
  width: calc(var(--spacing) * 2);
440
491
  height: calc(var(--spacing) * 2);
441
492
  &>svg {
442
493
  display: none;
443
494
  }
444
495
  }
445
- .avatar > [data-badge] {
496
+ .avatar > .avatar-badge {
446
497
  width: calc(var(--spacing) * 2.5);
447
498
  height: calc(var(--spacing) * 2.5);
448
499
  &>svg {
@@ -450,7 +501,7 @@
450
501
  height: calc(var(--spacing) * 2);
451
502
  }
452
503
  }
453
- .avatar[data-size='lg'] > [data-badge] {
504
+ .avatar[data-size='lg'] > .avatar-badge {
454
505
  width: calc(var(--spacing) * 3);
455
506
  height: calc(var(--spacing) * 3);
456
507
  &>svg {
@@ -523,6 +574,53 @@
523
574
  }
524
575
  }
525
576
  }
577
+ @layer components {
578
+ .breadcrumb > ol {
579
+ margin: calc(var(--spacing) * 0);
580
+ display: flex;
581
+ list-style-type: none;
582
+ flex-wrap: wrap;
583
+ align-items: center;
584
+ padding: calc(var(--spacing) * 0);
585
+ overflow-wrap: break-word;
586
+ }
587
+ .breadcrumb li {
588
+ display: inline-flex;
589
+ align-items: center;
590
+ }
591
+ .breadcrumb a {
592
+ border-radius: var(--radius-sm);
593
+ --tw-outline-style: none;
594
+ outline-style: none;
595
+ &:focus-visible {
596
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
597
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
598
+ }
599
+ &:focus-visible {
600
+ --tw-ring-color: var(--color-ring);
601
+ @supports (color: color-mix(in lab, red, red)) {
602
+ --tw-ring-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
603
+ }
604
+ }
605
+ }
606
+ .breadcrumb [aria-current='page'] {
607
+ cursor: default;
608
+ }
609
+ .breadcrumb li[aria-hidden='true'] {
610
+ -webkit-user-select: none;
611
+ user-select: none;
612
+ }
613
+ .breadcrumb li > span[aria-hidden='true'] {
614
+ display: flex;
615
+ align-items: center;
616
+ justify-content: center;
617
+ }
618
+ .breadcrumb [data-rtl-flip] {
619
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
620
+ rotate: 180deg;
621
+ }
622
+ }
623
+ }
526
624
  @layer components {
527
625
  .btn {
528
626
  display: inline-flex;
@@ -647,6 +745,11 @@
647
745
  align-self: flex-start;
648
746
  justify-self: flex-end;
649
747
  }
748
+ > header > menu.card-action {
749
+ margin: calc(var(--spacing) * 0);
750
+ list-style-type: none;
751
+ padding: calc(var(--spacing) * 0);
752
+ }
650
753
  > footer {
651
754
  display: flex;
652
755
  align-items: center;
@@ -792,7 +895,7 @@
792
895
  &::backdrop {
793
896
  opacity: 100%;
794
897
  }
795
- > * {
898
+ > .command {
796
899
  --tw-scale-x: 100%;
797
900
  --tw-scale-y: 100%;
798
901
  --tw-scale-z: 100%;
@@ -803,7 +906,7 @@
803
906
  &::backdrop {
804
907
  opacity: 0%;
805
908
  }
806
- > * {
909
+ > .command {
807
910
  --tw-scale-x: 95%;
808
911
  --tw-scale-y: 95%;
809
912
  --tw-scale-z: 95%;
@@ -818,7 +921,7 @@
818
921
  transition-duration: var(--tw-duration, var(--default-transition-duration));
819
922
  transition-behavior: allow-discrete;
820
923
  }
821
- > * {
924
+ > .command {
822
925
  position: fixed;
823
926
  top: calc(1/3 * 100%);
824
927
  left: calc(1/2 * 100%);
@@ -840,13 +943,13 @@
840
943
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
841
944
  transition-duration: var(--tw-duration, var(--default-transition-duration));
842
945
  @media (width >= 40rem) {
843
- max-width: var(--container-lg);
946
+ max-width: var(--container-sm);
844
947
  }
845
948
  }
846
- > * > :is(button, form[method='dialog']) {
949
+ > .command > :is(button, form[method='dialog']) {
847
950
  position: absolute;
848
951
  }
849
- > * > :is(button, form[method='dialog'] > button) {
952
+ > .command > :is(button, form[method='dialog'] > button) {
850
953
  display: inline-flex;
851
954
  align-items: center;
852
955
  justify-content: center;
@@ -877,7 +980,7 @@
877
980
  flex-shrink: 0;
878
981
  }
879
982
  }
880
- > * > :is(button, form[method='dialog'] > button) > svg:not([class*='size-']) {
983
+ > .command > :is(button, form[method='dialog'] > button) > svg:not([class*='size-']) {
881
984
  width: calc(var(--spacing) * 4);
882
985
  height: calc(var(--spacing) * 4);
883
986
  }
@@ -920,6 +1023,10 @@
920
1023
  outline: 2px solid transparent;
921
1024
  outline-offset: 2px;
922
1025
  }
1026
+ scrollbar-width: none;
1027
+ &::-webkit-scrollbar {
1028
+ display: none;
1029
+ }
923
1030
  }
924
1031
  .command [role='menuitem'] {
925
1032
  position: relative;
@@ -927,9 +1034,6 @@
927
1034
  width: 100%;
928
1035
  cursor: default;
929
1036
  align-items: center;
930
- overflow: hidden;
931
- text-overflow: ellipsis;
932
- white-space: nowrap;
933
1037
  --tw-outline-style: none;
934
1038
  outline-style: none;
935
1039
  @media (forced-colors: active) {
@@ -953,6 +1057,12 @@
953
1057
  &[aria-hidden="true"] {
954
1058
  display: none;
955
1059
  }
1060
+ &[data-disabled="true"] {
1061
+ pointer-events: none;
1062
+ }
1063
+ &[data-disabled="true"] {
1064
+ opacity: 50%;
1065
+ }
956
1066
  & svg {
957
1067
  pointer-events: none;
958
1068
  }
@@ -960,9 +1070,9 @@
960
1070
  flex-shrink: 0;
961
1071
  }
962
1072
  }
963
- .command [role='menuitem'].active {
964
- background-color: var(--color-accent);
965
- color: var(--color-accent-foreground);
1073
+ .command [role='menuitem'].active, .command [role='menuitem'][data-selected='true'] {
1074
+ background-color: var(--color-muted);
1075
+ color: var(--color-foreground);
966
1076
  }
967
1077
  .command [role='group'] {
968
1078
  overflow: hidden;
@@ -984,7 +1094,7 @@
984
1094
  margin-inline-start: auto;
985
1095
  opacity: 0%;
986
1096
  }
987
- .command [role='menuitem'][data-checked='true'] [data-indicator], .command [role='menuitem'][aria-selected='true'] [data-indicator] {
1097
+ .command [role='menuitem'][data-checked='true'] [data-indicator], .command [role='menuitem'][aria-selected='true'] [data-indicator], .command [role='menuitem'][data-selected='true'] [data-indicator] {
988
1098
  opacity: 100%;
989
1099
  }
990
1100
  .command [role='menuitem']:has([data-shortcut]) [data-indicator] {
@@ -1007,8 +1117,8 @@
1007
1117
  content: var(--tw-content);
1008
1118
  }
1009
1119
  .command:not([data-command-initialized]) [role='menuitem']:not([aria-disabled='true']):not(:disabled):hover {
1010
- background-color: var(--color-accent);
1011
- color: var(--color-accent-foreground);
1120
+ background-color: var(--color-muted);
1121
+ color: var(--color-foreground);
1012
1122
  }
1013
1123
  .command:has(> header input:not(:placeholder-shown)) [role='separator'] {
1014
1124
  display: none;
@@ -1043,17 +1153,69 @@
1043
1153
  opacity: 50%;
1044
1154
  }
1045
1155
  }
1156
+ .combobox .input-group input[role='combobox'], .combobox [data-popover] input[role='combobox'] {
1157
+ min-width: calc(var(--spacing) * 0);
1158
+ --tw-outline-style: none;
1159
+ outline-style: none;
1160
+ @media (forced-colors: active) {
1161
+ outline: 2px solid transparent;
1162
+ outline-offset: 2px;
1163
+ }
1164
+ &::placeholder {
1165
+ color: var(--color-muted-foreground);
1166
+ }
1167
+ &:disabled {
1168
+ pointer-events: none;
1169
+ }
1170
+ &:disabled {
1171
+ cursor: not-allowed;
1172
+ }
1173
+ &:disabled {
1174
+ opacity: 50%;
1175
+ }
1176
+ }
1046
1177
  .combobox > svg, .combobox-trigger-icon {
1047
1178
  pointer-events: none;
1048
1179
  position: absolute;
1049
1180
  flex-shrink: 0;
1050
1181
  }
1182
+ .combobox:has(> .combobox-chips) > .combobox-trigger-icon {
1183
+ display: none;
1184
+ }
1185
+ .combobox [data-clear] {
1186
+ display: inline-flex;
1187
+ width: calc(var(--spacing) * 6);
1188
+ height: calc(var(--spacing) * 6);
1189
+ flex-shrink: 0;
1190
+ cursor: default;
1191
+ appearance: none;
1192
+ align-items: center;
1193
+ justify-content: center;
1194
+ border-style: var(--tw-border-style);
1195
+ border-width: 0px;
1196
+ background-color: transparent;
1197
+ padding: calc(var(--spacing) * 0);
1198
+ color: currentcolor;
1199
+ &:disabled {
1200
+ pointer-events: none;
1201
+ }
1202
+ &:disabled {
1203
+ opacity: 50%;
1204
+ }
1205
+ }
1206
+ .combobox [data-clear][hidden] {
1207
+ display: none;
1208
+ }
1209
+ .combobox .input-group:has([data-clear]:not([hidden])) button[aria-haspopup='listbox'] {
1210
+ display: none;
1211
+ }
1051
1212
  .combobox [data-popover] {
1052
1213
  isolation: isolate;
1053
1214
  overflow: hidden;
1054
1215
  min-width: max(100%, 9rem);
1055
1216
  }
1056
1217
  .combobox [role='listbox'] {
1218
+ overflow-x: hidden;
1057
1219
  overflow-y: auto;
1058
1220
  --tw-outline-style: none;
1059
1221
  outline-style: none;
@@ -1176,12 +1338,13 @@
1176
1338
  }
1177
1339
  .combobox-chip-remove {
1178
1340
  display: inline-flex;
1341
+ flex-shrink: 0;
1179
1342
  align-items: center;
1180
1343
  justify-content: center;
1181
1344
  }
1182
1345
  }
1183
1346
  @layer components {
1184
- .dialog {
1347
+ .dialog, .alert-dialog {
1185
1348
  background-color: transparent;
1186
1349
  padding: calc(var(--spacing) * 0);
1187
1350
  color: inherit;
@@ -1253,6 +1416,8 @@
1253
1416
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1254
1417
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1255
1418
  }
1419
+ }
1420
+ .dialog {
1256
1421
  > * > header {
1257
1422
  display: flex;
1258
1423
  flex-direction: column;
@@ -1309,6 +1474,64 @@
1309
1474
  height: calc(var(--spacing) * 4);
1310
1475
  }
1311
1476
  }
1477
+ .alert-dialog {
1478
+ > * > header {
1479
+ display: grid;
1480
+ grid-template-rows: auto 1fr;
1481
+ place-items: center;
1482
+ text-align: center;
1483
+ @media (width >= 40rem) {
1484
+ place-items: start;
1485
+ }
1486
+ @media (width >= 40rem) {
1487
+ text-align: start;
1488
+ }
1489
+ }
1490
+ > * > header:has(> figure) {
1491
+ grid-template-rows: auto auto 1fr;
1492
+ @media (width >= 40rem) {
1493
+ grid-template-rows: auto 1fr;
1494
+ }
1495
+ }
1496
+ > * > header > figure {
1497
+ margin: calc(var(--spacing) * 0);
1498
+ flex-shrink: 0;
1499
+ @media (width >= 40rem) {
1500
+ grid-row: span 2 / span 2;
1501
+ }
1502
+ & svg {
1503
+ pointer-events: none;
1504
+ }
1505
+ & svg {
1506
+ flex-shrink: 0;
1507
+ }
1508
+ }
1509
+ > * > header > figure:has(img) {
1510
+ overflow: hidden;
1511
+ & img {
1512
+ width: 100%;
1513
+ height: 100%;
1514
+ }
1515
+ & img {
1516
+ object-fit: cover;
1517
+ }
1518
+ }
1519
+ > * > header:has(> figure) > :is(h2, p) {
1520
+ @media (width >= 40rem) {
1521
+ grid-column-start: 2;
1522
+ }
1523
+ }
1524
+ > * > footer {
1525
+ display: flex;
1526
+ flex-direction: column-reverse;
1527
+ @media (width >= 40rem) {
1528
+ flex-direction: row;
1529
+ }
1530
+ @media (width >= 40rem) {
1531
+ justify-content: flex-end;
1532
+ }
1533
+ }
1534
+ }
1312
1535
  }
1313
1536
  @layer components {
1314
1537
  .dropdown-menu {
@@ -1381,7 +1604,7 @@
1381
1604
  padding-inline-start: calc(var(--spacing) * 8);
1382
1605
  }
1383
1606
  .dropdown-menu :is(kbd:last-child, .kbd:last-child):not([data-shortcut]) {
1384
- margin-inline-start: calc(var(--spacing) * 8);
1607
+ padding-inline-start: calc(var(--spacing) * 8);
1385
1608
  }
1386
1609
  .dropdown-menu [data-indicator] {
1387
1610
  pointer-events: none;
@@ -3075,6 +3298,51 @@
3075
3298
  }
3076
3299
  }
3077
3300
  @layer components {
3301
+ .accordion > details {
3302
+ &:not(*:last-child) {
3303
+ border-bottom-style: var(--tw-border-style);
3304
+ border-bottom-width: 1px;
3305
+ }
3306
+ }
3307
+ .accordion > details > summary {
3308
+ border-radius: var(--radius-lg);
3309
+ padding-block: calc(var(--spacing) * 2.5);
3310
+ text-align: left;
3311
+ font-size: var(--text-sm);
3312
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3313
+ --tw-font-weight: var(--font-weight-medium);
3314
+ font-weight: var(--font-weight-medium);
3315
+ &:hover {
3316
+ @media (hover: hover) {
3317
+ text-decoration-line: underline;
3318
+ }
3319
+ }
3320
+ &:focus-visible {
3321
+ border-color: var(--color-ring);
3322
+ }
3323
+ &:focus-visible {
3324
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
3325
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3326
+ }
3327
+ &:focus-visible {
3328
+ --tw-ring-color: var(--color-ring);
3329
+ @supports (color: color-mix(in lab, red, red)) {
3330
+ --tw-ring-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
3331
+ }
3332
+ }
3333
+ }
3334
+ .accordion > details > summary > svg:last-child {
3335
+ margin-inline-start: auto;
3336
+ width: calc(var(--spacing) * 4);
3337
+ height: calc(var(--spacing) * 4);
3338
+ color: var(--color-muted-foreground);
3339
+ }
3340
+ .accordion > details > :not(summary) {
3341
+ padding-top: calc(var(--spacing) * 0);
3342
+ padding-bottom: calc(var(--spacing) * 2.5);
3343
+ font-size: var(--text-sm);
3344
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3345
+ }
3078
3346
  .btn {
3079
3347
  border-radius: var(--radius-lg);
3080
3348
  border-style: var(--tw-border-style);
@@ -3966,7 +4234,7 @@
3966
4234
  width: calc(var(--spacing) * 10);
3967
4235
  height: calc(var(--spacing) * 10);
3968
4236
  }
3969
- .avatar > span:not([data-badge]) {
4237
+ .avatar > span:not(.avatar-badge) {
3970
4238
  border-radius: inherit;
3971
4239
  background-color: var(--color-muted);
3972
4240
  color: var(--color-muted-foreground);
@@ -3974,7 +4242,7 @@
3974
4242
  .avatar > img {
3975
4243
  border-radius: inherit;
3976
4244
  }
3977
- .avatar > [data-badge] {
4245
+ .avatar > .avatar-badge {
3978
4246
  background-color: var(--color-primary);
3979
4247
  color: var(--color-primary-foreground);
3980
4248
  --tw-ring-color: var(--color-background);
@@ -4143,21 +4411,66 @@
4143
4411
  }
4144
4412
  }
4145
4413
  }
4414
+ .breadcrumb > ol {
4415
+ gap: calc(var(--spacing) * 1.5);
4416
+ font-size: var(--text-sm);
4417
+ line-height: var(--tw-leading, var(--text-sm--line-height));
4418
+ color: var(--color-muted-foreground);
4419
+ }
4420
+ .breadcrumb li {
4421
+ gap: calc(var(--spacing) * 1);
4422
+ }
4423
+ .breadcrumb a {
4424
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
4425
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
4426
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
4427
+ &:hover {
4428
+ @media (hover: hover) {
4429
+ color: var(--color-foreground);
4430
+ }
4431
+ }
4432
+ }
4433
+ .breadcrumb [aria-current='page'] {
4434
+ --tw-font-weight: var(--font-weight-normal);
4435
+ font-weight: var(--font-weight-normal);
4436
+ color: var(--color-foreground);
4437
+ }
4438
+ .breadcrumb li[aria-hidden='true'] > svg {
4439
+ width: calc(var(--spacing) * 3.5);
4440
+ height: calc(var(--spacing) * 3.5);
4441
+ }
4442
+ .breadcrumb li > span[aria-hidden='true'] {
4443
+ width: calc(var(--spacing) * 5);
4444
+ height: calc(var(--spacing) * 5);
4445
+ &>svg {
4446
+ width: calc(var(--spacing) * 4);
4447
+ height: calc(var(--spacing) * 4);
4448
+ }
4449
+ }
4146
4450
  .command {
4147
- border-radius: var(--radius-xl);
4451
+ border-radius: var(--radius-xl) !important;
4148
4452
  background-color: var(--color-popover);
4149
4453
  padding: calc(var(--spacing) * 1);
4150
4454
  color: var(--color-popover-foreground);
4151
4455
  }
4152
- .command-dialog > * {
4153
- border-radius: var(--radius-xl);
4154
- padding: calc(var(--spacing) * 0);
4456
+ .command-dialog > .command {
4457
+ border-radius: var(--radius-xl) !important;
4458
+ background-color: var(--color-popover);
4459
+ color: var(--color-popover-foreground);
4460
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4461
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4462
+ --tw-ring-color: var(--color-foreground);
4463
+ @supports (color: color-mix(in lab, red, red)) {
4464
+ --tw-ring-color: color-mix(in oklab, var(--color-foreground) 10%, transparent);
4465
+ }
4466
+ --tw-duration: 100ms;
4467
+ transition-duration: 100ms;
4155
4468
  }
4156
4469
  .command > header {
4157
4470
  margin: calc(var(--spacing) * 1);
4158
4471
  margin-bottom: calc(var(--spacing) * 0);
4159
4472
  height: calc(var(--spacing) * 8);
4160
- gap: calc(var(--spacing) * 2);
4473
+ gap: calc(var(--spacing) * 0);
4161
4474
  border-radius: var(--radius-lg);
4162
4475
  border-style: var(--tw-border-style);
4163
4476
  border-width: 1px;
@@ -4177,7 +4490,7 @@
4177
4490
  opacity: 50%;
4178
4491
  }
4179
4492
  .command > header input {
4180
- height: 100%;
4493
+ padding-inline-start: calc(var(--spacing) * 1.5);
4181
4494
  font-size: var(--text-sm);
4182
4495
  line-height: var(--tw-leading, var(--text-sm--line-height));
4183
4496
  &::placeholder {
@@ -4219,16 +4532,19 @@
4219
4532
  padding-block: calc(var(--spacing) * 1.5);
4220
4533
  font-size: var(--text-sm);
4221
4534
  line-height: var(--tw-leading, var(--text-sm--line-height));
4535
+ :where(*:is(.command-dialog)) & {
4536
+ border-radius: var(--radius-lg);
4537
+ }
4222
4538
  & svg:not([class*='size-']) {
4223
4539
  width: calc(var(--spacing) * 4);
4224
4540
  height: calc(var(--spacing) * 4);
4225
4541
  }
4226
4542
  }
4227
4543
  .command [role='menuitem'].active {
4228
- background-color: var(--color-accent);
4229
- color: var(--color-accent-foreground);
4544
+ background-color: var(--color-muted);
4545
+ color: var(--color-foreground);
4230
4546
  & svg {
4231
- color: var(--color-accent-foreground);
4547
+ color: var(--color-foreground);
4232
4548
  }
4233
4549
  }
4234
4550
  .command [data-shortcut] {
@@ -4269,6 +4585,12 @@
4269
4585
  --tw-ring-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
4270
4586
  }
4271
4587
  }
4588
+ &:disabled {
4589
+ background-color: var(--color-input);
4590
+ @supports (color: color-mix(in lab, red, red)) {
4591
+ background-color: color-mix(in oklab, var(--color-input) 50%, transparent);
4592
+ }
4593
+ }
4272
4594
  &[aria-invalid="true"] {
4273
4595
  border-color: var(--color-destructive);
4274
4596
  }
@@ -4288,6 +4610,14 @@
4288
4610
  background-color: color-mix(in oklab, var(--color-input) 30%, transparent);
4289
4611
  }
4290
4612
  }
4613
+ &:is(.dark *) {
4614
+ &:disabled {
4615
+ background-color: var(--color-input);
4616
+ @supports (color: color-mix(in lab, red, red)) {
4617
+ background-color: color-mix(in oklab, var(--color-input) 80%, transparent);
4618
+ }
4619
+ }
4620
+ }
4291
4621
  &:is(.dark *) {
4292
4622
  &[aria-invalid="true"] {
4293
4623
  border-color: var(--color-destructive);
@@ -4470,6 +4800,10 @@
4470
4800
  height: calc(var(--spacing) * 3.5);
4471
4801
  }
4472
4802
  }
4803
+ .combobox [data-popover] > :is(input[role='combobox'], .input-group) {
4804
+ margin-bottom: calc(var(--spacing) * 1);
4805
+ width: 100%;
4806
+ }
4473
4807
  *:not(select).select > button {
4474
4808
  height: calc(var(--spacing) * 8);
4475
4809
  gap: calc(var(--spacing) * 1.5);
@@ -4623,7 +4957,7 @@
4623
4957
  height: 1px;
4624
4958
  background-color: var(--color-border);
4625
4959
  }
4626
- .dialog::backdrop, .command-dialog::backdrop {
4960
+ .dialog::backdrop, .alert-dialog::backdrop, .command-dialog::backdrop {
4627
4961
  background-color: color-mix(in srgb, #000 10%, transparent);
4628
4962
  @supports (color: color-mix(in lab, red, red)) {
4629
4963
  background-color: color-mix(in oklab, var(--color-black) 10%, transparent);
@@ -4634,6 +4968,25 @@
4634
4968
  --tw-duration: 100ms;
4635
4969
  transition-duration: 100ms;
4636
4970
  }
4971
+ .alert-dialog > * {
4972
+ max-width: var(--container-xs);
4973
+ gap: calc(var(--spacing) * 4);
4974
+ border-radius: var(--radius-xl);
4975
+ background-color: var(--color-popover);
4976
+ padding: calc(var(--spacing) * 4);
4977
+ color: var(--color-popover-foreground);
4978
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4979
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4980
+ --tw-ring-color: var(--color-foreground);
4981
+ @supports (color: color-mix(in lab, red, red)) {
4982
+ --tw-ring-color: color-mix(in oklab, var(--color-foreground) 10%, transparent);
4983
+ }
4984
+ --tw-duration: 100ms;
4985
+ transition-duration: 100ms;
4986
+ @media (width >= 40rem) {
4987
+ max-width: var(--container-sm);
4988
+ }
4989
+ }
4637
4990
  .dialog > * {
4638
4991
  max-width: calc(100% - 2rem);
4639
4992
  gap: calc(var(--spacing) * 4);
@@ -4662,7 +5015,25 @@
4662
5015
  .dialog > * > header {
4663
5016
  gap: calc(var(--spacing) * 2);
4664
5017
  }
4665
- .dialog > * > footer {
5018
+ .alert-dialog > * > header {
5019
+ column-gap: calc(var(--spacing) * 4);
5020
+ row-gap: calc(var(--spacing) * 1.5);
5021
+ }
5022
+ .alert-dialog > * > header > figure {
5023
+ margin-bottom: calc(var(--spacing) * 2);
5024
+ display: inline-flex;
5025
+ width: calc(var(--spacing) * 10);
5026
+ height: calc(var(--spacing) * 10);
5027
+ align-items: center;
5028
+ justify-content: center;
5029
+ border-radius: var(--radius-md);
5030
+ background-color: var(--color-muted);
5031
+ &>svg:not([class*='size-']) {
5032
+ width: calc(var(--spacing) * 6);
5033
+ height: calc(var(--spacing) * 6);
5034
+ }
5035
+ }
5036
+ .alert-dialog > * > footer, .dialog > * > footer {
4666
5037
  margin-inline: calc(var(--spacing) * -4);
4667
5038
  margin-bottom: calc(var(--spacing) * -4);
4668
5039
  gap: calc(var(--spacing) * 2);
@@ -4684,6 +5055,12 @@
4684
5055
  --tw-font-weight: var(--font-weight-medium);
4685
5056
  font-weight: var(--font-weight-medium);
4686
5057
  }
5058
+ .alert-dialog > * > header > h2, .alert-dialog > * > [data-title] {
5059
+ font-size: var(--text-base);
5060
+ line-height: var(--tw-leading, var(--text-base--line-height));
5061
+ --tw-font-weight: var(--font-weight-medium);
5062
+ font-weight: var(--font-weight-medium);
5063
+ }
4687
5064
  .dialog > * > header > p, .dialog > * > [data-description] {
4688
5065
  font-size: var(--text-sm);
4689
5066
  line-height: var(--tw-leading, var(--text-sm--line-height));
@@ -4700,6 +5077,24 @@
4700
5077
  color: var(--color-foreground);
4701
5078
  }
4702
5079
  }
5080
+ .alert-dialog > * > header > p, .alert-dialog > * > [data-description] {
5081
+ font-size: var(--text-sm);
5082
+ line-height: var(--tw-leading, var(--text-sm--line-height));
5083
+ text-wrap: balance;
5084
+ color: var(--color-muted-foreground);
5085
+ @media (width >= 48rem) {
5086
+ text-wrap: pretty;
5087
+ }
5088
+ & a {
5089
+ text-decoration-line: underline;
5090
+ }
5091
+ & a {
5092
+ text-underline-offset: 3px;
5093
+ }
5094
+ & a:hover {
5095
+ color: var(--color-foreground);
5096
+ }
5097
+ }
4703
5098
  .dropdown-menu > [data-popover] {
4704
5099
  gap: calc(var(--spacing) * 0);
4705
5100
  overflow-x: hidden;
@@ -4786,7 +5181,7 @@
4786
5181
  height: 1px;
4787
5182
  background-color: var(--color-border);
4788
5183
  }
4789
- .dropdown-menu :is([data-shortcut], kbd:last-child) {
5184
+ .dropdown-menu :is([data-shortcut], kbd:last-child, .kbd:last-child) {
4790
5185
  font-family: var(--font-sans);
4791
5186
  font-size: var(--text-xs);
4792
5187
  line-height: var(--tw-leading, var(--text-xs--line-height));
@@ -4794,7 +5189,7 @@
4794
5189
  letter-spacing: var(--tracking-widest);
4795
5190
  color: var(--color-muted-foreground);
4796
5191
  }
4797
- .dropdown-menu :is([role='menuitem'], [role='menuitemcheckbox'], [role='menuitemradio']):is(:focus-visible, .active) :is([data-shortcut], kbd:last-child) {
5192
+ .dropdown-menu :is([role='menuitem'], [role='menuitemcheckbox'], [role='menuitemradio']):is(:focus-visible, .active) :is([data-shortcut], kbd:last-child, .kbd:last-child) {
4798
5193
  color: var(--color-accent-foreground);
4799
5194
  }
4800
5195
  [data-popover] {