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
@@ -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;
@@ -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);
@@ -320,6 +319,48 @@
320
319
  -moz-osx-font-smoothing: grayscale;
321
320
  }
322
321
  }
322
+ @layer components {
323
+ .accordion {
324
+ display: flex;
325
+ width: 100%;
326
+ flex-direction: column;
327
+ }
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;
362
+ }
363
+ }
323
364
  @layer components {
324
365
  .alert {
325
366
  position: relative;
@@ -335,10 +376,20 @@
335
376
  display: grid;
336
377
  justify-items: start;
337
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
+ }
338
385
  ul {
339
386
  list-style-position: inside;
340
387
  list-style-type: disc;
341
388
  }
389
+ ol {
390
+ list-style-position: inside;
391
+ list-style-type: decimal;
392
+ }
342
393
  }
343
394
  .alert > footer {
344
395
  position: absolute;
@@ -410,7 +461,7 @@
410
461
  border-radius: inherit;
411
462
  object-fit: cover;
412
463
  }
413
- .avatar > span:not([data-badge]) {
464
+ .avatar > span:not(.avatar-badge) {
414
465
  display: flex;
415
466
  width: 100%;
416
467
  height: 100%;
@@ -420,11 +471,11 @@
420
471
  font-size: var(--text-sm);
421
472
  line-height: var(--tw-leading, var(--text-sm--line-height));
422
473
  }
423
- .avatar[data-size='sm'] > span:not([data-badge]) {
474
+ .avatar[data-size='sm'] > span:not(.avatar-badge) {
424
475
  font-size: var(--text-xs);
425
476
  line-height: var(--tw-leading, var(--text-xs--line-height));
426
477
  }
427
- .avatar > [data-badge] {
478
+ .avatar > .avatar-badge {
428
479
  position: absolute;
429
480
  inset-inline-end: calc(var(--spacing) * 0);
430
481
  bottom: calc(var(--spacing) * 0);
@@ -439,14 +490,14 @@
439
490
  -webkit-user-select: none;
440
491
  user-select: none;
441
492
  }
442
- .avatar[data-size='sm'] > [data-badge] {
493
+ .avatar[data-size='sm'] > .avatar-badge {
443
494
  width: calc(var(--spacing) * 2);
444
495
  height: calc(var(--spacing) * 2);
445
496
  &>svg {
446
497
  display: none;
447
498
  }
448
499
  }
449
- .avatar > [data-badge] {
500
+ .avatar > .avatar-badge {
450
501
  width: calc(var(--spacing) * 2.5);
451
502
  height: calc(var(--spacing) * 2.5);
452
503
  &>svg {
@@ -454,7 +505,7 @@
454
505
  height: calc(var(--spacing) * 2);
455
506
  }
456
507
  }
457
- .avatar[data-size='lg'] > [data-badge] {
508
+ .avatar[data-size='lg'] > .avatar-badge {
458
509
  width: calc(var(--spacing) * 3);
459
510
  height: calc(var(--spacing) * 3);
460
511
  &>svg {
@@ -527,6 +578,53 @@
527
578
  }
528
579
  }
529
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
+ }
530
628
  @layer components {
531
629
  .btn {
532
630
  display: inline-flex;
@@ -651,6 +749,11 @@
651
749
  align-self: flex-start;
652
750
  justify-self: flex-end;
653
751
  }
752
+ > header > menu.card-action {
753
+ margin: calc(var(--spacing) * 0);
754
+ list-style-type: none;
755
+ padding: calc(var(--spacing) * 0);
756
+ }
654
757
  > footer {
655
758
  display: flex;
656
759
  align-items: center;
@@ -796,7 +899,7 @@
796
899
  &::backdrop {
797
900
  opacity: 100%;
798
901
  }
799
- > * {
902
+ > .command {
800
903
  --tw-scale-x: 100%;
801
904
  --tw-scale-y: 100%;
802
905
  --tw-scale-z: 100%;
@@ -807,7 +910,7 @@
807
910
  &::backdrop {
808
911
  opacity: 0%;
809
912
  }
810
- > * {
913
+ > .command {
811
914
  --tw-scale-x: 95%;
812
915
  --tw-scale-y: 95%;
813
916
  --tw-scale-z: 95%;
@@ -822,7 +925,7 @@
822
925
  transition-duration: var(--tw-duration, var(--default-transition-duration));
823
926
  transition-behavior: allow-discrete;
824
927
  }
825
- > * {
928
+ > .command {
826
929
  position: fixed;
827
930
  top: calc(1/3 * 100%);
828
931
  left: calc(1/2 * 100%);
@@ -844,13 +947,13 @@
844
947
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
845
948
  transition-duration: var(--tw-duration, var(--default-transition-duration));
846
949
  @media (width >= 40rem) {
847
- max-width: var(--container-lg);
950
+ max-width: var(--container-sm);
848
951
  }
849
952
  }
850
- > * > :is(button, form[method='dialog']) {
953
+ > .command > :is(button, form[method='dialog']) {
851
954
  position: absolute;
852
955
  }
853
- > * > :is(button, form[method='dialog'] > button) {
956
+ > .command > :is(button, form[method='dialog'] > button) {
854
957
  display: inline-flex;
855
958
  align-items: center;
856
959
  justify-content: center;
@@ -881,7 +984,7 @@
881
984
  flex-shrink: 0;
882
985
  }
883
986
  }
884
- > * > :is(button, form[method='dialog'] > button) > svg:not([class*='size-']) {
987
+ > .command > :is(button, form[method='dialog'] > button) > svg:not([class*='size-']) {
885
988
  width: calc(var(--spacing) * 4);
886
989
  height: calc(var(--spacing) * 4);
887
990
  }
@@ -924,6 +1027,10 @@
924
1027
  outline: 2px solid transparent;
925
1028
  outline-offset: 2px;
926
1029
  }
1030
+ scrollbar-width: none;
1031
+ &::-webkit-scrollbar {
1032
+ display: none;
1033
+ }
927
1034
  }
928
1035
  .command [role='menuitem'] {
929
1036
  position: relative;
@@ -931,9 +1038,6 @@
931
1038
  width: 100%;
932
1039
  cursor: default;
933
1040
  align-items: center;
934
- overflow: hidden;
935
- text-overflow: ellipsis;
936
- white-space: nowrap;
937
1041
  --tw-outline-style: none;
938
1042
  outline-style: none;
939
1043
  @media (forced-colors: active) {
@@ -957,6 +1061,12 @@
957
1061
  &[aria-hidden="true"] {
958
1062
  display: none;
959
1063
  }
1064
+ &[data-disabled="true"] {
1065
+ pointer-events: none;
1066
+ }
1067
+ &[data-disabled="true"] {
1068
+ opacity: 50%;
1069
+ }
960
1070
  & svg {
961
1071
  pointer-events: none;
962
1072
  }
@@ -964,9 +1074,9 @@
964
1074
  flex-shrink: 0;
965
1075
  }
966
1076
  }
967
- .command [role='menuitem'].active {
968
- background-color: var(--color-accent);
969
- 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);
970
1080
  }
971
1081
  .command [role='group'] {
972
1082
  overflow: hidden;
@@ -988,7 +1098,7 @@
988
1098
  margin-inline-start: auto;
989
1099
  opacity: 0%;
990
1100
  }
991
- .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] {
992
1102
  opacity: 100%;
993
1103
  }
994
1104
  .command [role='menuitem']:has([data-shortcut]) [data-indicator] {
@@ -1011,8 +1121,8 @@
1011
1121
  content: var(--tw-content);
1012
1122
  }
1013
1123
  .command:not([data-command-initialized]) [role='menuitem']:not([aria-disabled='true']):not(:disabled):hover {
1014
- background-color: var(--color-accent);
1015
- color: var(--color-accent-foreground);
1124
+ background-color: var(--color-muted);
1125
+ color: var(--color-foreground);
1016
1126
  }
1017
1127
  .command:has(> header input:not(:placeholder-shown)) [role='separator'] {
1018
1128
  display: none;
@@ -1047,17 +1157,69 @@
1047
1157
  opacity: 50%;
1048
1158
  }
1049
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
+ }
1050
1181
  .combobox > svg, .combobox-trigger-icon {
1051
1182
  pointer-events: none;
1052
1183
  position: absolute;
1053
1184
  flex-shrink: 0;
1054
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
+ }
1055
1216
  .combobox [data-popover] {
1056
1217
  isolation: isolate;
1057
1218
  overflow: hidden;
1058
1219
  min-width: max(100%, 9rem);
1059
1220
  }
1060
1221
  .combobox [role='listbox'] {
1222
+ overflow-x: hidden;
1061
1223
  overflow-y: auto;
1062
1224
  --tw-outline-style: none;
1063
1225
  outline-style: none;
@@ -1180,12 +1342,13 @@
1180
1342
  }
1181
1343
  .combobox-chip-remove {
1182
1344
  display: inline-flex;
1345
+ flex-shrink: 0;
1183
1346
  align-items: center;
1184
1347
  justify-content: center;
1185
1348
  }
1186
1349
  }
1187
1350
  @layer components {
1188
- .dialog {
1351
+ .dialog, .alert-dialog {
1189
1352
  background-color: transparent;
1190
1353
  padding: calc(var(--spacing) * 0);
1191
1354
  color: inherit;
@@ -1257,6 +1420,8 @@
1257
1420
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1258
1421
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1259
1422
  }
1423
+ }
1424
+ .dialog {
1260
1425
  > * > header {
1261
1426
  display: flex;
1262
1427
  flex-direction: column;
@@ -1313,6 +1478,64 @@
1313
1478
  height: calc(var(--spacing) * 4);
1314
1479
  }
1315
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
+ }
1316
1539
  }
1317
1540
  @layer components {
1318
1541
  .dropdown-menu {
@@ -1385,7 +1608,7 @@
1385
1608
  padding-inline-start: calc(var(--spacing) * 8);
1386
1609
  }
1387
1610
  .dropdown-menu :is(kbd:last-child, .kbd:last-child):not([data-shortcut]) {
1388
- margin-inline-start: calc(var(--spacing) * 8);
1611
+ padding-inline-start: calc(var(--spacing) * 8);
1389
1612
  }
1390
1613
  .dropdown-menu [data-indicator] {
1391
1614
  pointer-events: none;
@@ -3079,6 +3302,51 @@
3079
3302
  }
3080
3303
  }
3081
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
+ }
3082
3350
  .btn {
3083
3351
  border-radius: var(--radius-4xl);
3084
3352
  border-style: var(--tw-border-style);
@@ -3915,7 +4183,7 @@
3915
4183
  width: calc(var(--spacing) * 10);
3916
4184
  height: calc(var(--spacing) * 10);
3917
4185
  }
3918
- .avatar > span:not([data-badge]) {
4186
+ .avatar > span:not(.avatar-badge) {
3919
4187
  border-radius: inherit;
3920
4188
  background-color: var(--color-muted);
3921
4189
  color: var(--color-muted-foreground);
@@ -3923,7 +4191,7 @@
3923
4191
  .avatar > img {
3924
4192
  border-radius: inherit;
3925
4193
  }
3926
- .avatar > [data-badge] {
4194
+ .avatar > .avatar-badge {
3927
4195
  background-color: var(--color-primary);
3928
4196
  color: var(--color-primary-foreground);
3929
4197
  --tw-ring-color: var(--color-background);
@@ -4096,21 +4364,69 @@
4096
4364
  }
4097
4365
  }
4098
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
+ }
4099
4406
  .command {
4100
- border-radius: var(--radius-4xl);
4407
+ border-radius: var(--radius-4xl) !important;
4101
4408
  background-color: var(--color-popover);
4102
4409
  padding: calc(var(--spacing) * 1);
4103
4410
  color: var(--color-popover-foreground);
4104
4411
  }
4105
- .command-dialog > * {
4106
- border-radius: var(--radius-4xl);
4107
- 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;
4108
4424
  }
4109
4425
  .command > header {
4110
4426
  margin: calc(var(--spacing) * 1);
4111
4427
  margin-bottom: calc(var(--spacing) * 0);
4112
4428
  height: calc(var(--spacing) * 9);
4113
- gap: calc(var(--spacing) * 2);
4429
+ gap: calc(var(--spacing) * 0);
4114
4430
  border-radius: var(--radius-3xl);
4115
4431
  background-color: var(--color-input);
4116
4432
  @supports (color: color-mix(in lab, red, red)) {
@@ -4124,7 +4440,7 @@
4124
4440
  opacity: 50%;
4125
4441
  }
4126
4442
  .command > header input {
4127
- height: 100%;
4443
+ padding-inline-start: calc(var(--spacing) * 1.5);
4128
4444
  font-size: var(--text-sm);
4129
4445
  line-height: var(--tw-leading, var(--text-sm--line-height));
4130
4446
  &::placeholder {
@@ -4178,10 +4494,10 @@
4178
4494
  }
4179
4495
  }
4180
4496
  .command [role='menuitem'].active {
4181
- background-color: var(--color-accent);
4182
- color: var(--color-accent-foreground);
4497
+ background-color: var(--color-muted);
4498
+ color: var(--color-foreground);
4183
4499
  & svg {
4184
- color: var(--color-accent-foreground);
4500
+ color: var(--color-foreground);
4185
4501
  }
4186
4502
  }
4187
4503
  .command [data-shortcut] {
@@ -4423,6 +4739,10 @@
4423
4739
  height: calc(var(--spacing) * 3.5);
4424
4740
  }
4425
4741
  }
4742
+ .combobox [data-popover] > :is(input[role='combobox'], .input-group) {
4743
+ margin-bottom: calc(var(--spacing) * 1);
4744
+ width: 100%;
4745
+ }
4426
4746
  *:not(select).select > button {
4427
4747
  height: calc(var(--spacing) * 9);
4428
4748
  gap: calc(var(--spacing) * 1.5);
@@ -4570,7 +4890,7 @@
4570
4890
  background-color: color-mix(in oklab, var(--color-border) 50%, transparent);
4571
4891
  }
4572
4892
  }
4573
- .dialog::backdrop, .command-dialog::backdrop {
4893
+ .dialog::backdrop, .alert-dialog::backdrop, .command-dialog::backdrop {
4574
4894
  background-color: color-mix(in srgb, #000 80%, transparent);
4575
4895
  @supports (color: color-mix(in lab, red, red)) {
4576
4896
  background-color: color-mix(in oklab, var(--color-black) 80%, transparent);
@@ -4581,6 +4901,25 @@
4581
4901
  --tw-duration: 100ms;
4582
4902
  transition-duration: 100ms;
4583
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
+ }
4584
4923
  .dialog > * {
4585
4924
  max-width: calc(100% - 2rem);
4586
4925
  gap: calc(var(--spacing) * 6);
@@ -4609,7 +4948,25 @@
4609
4948
  .dialog > * > header {
4610
4949
  gap: calc(var(--spacing) * 2);
4611
4950
  }
4612
- .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 {
4613
4970
  gap: calc(var(--spacing) * 2);
4614
4971
  }
4615
4972
  .dialog > * > header > h2, .dialog > * > [data-title] {
@@ -4620,6 +4977,12 @@
4620
4977
  --tw-font-weight: var(--font-weight-medium);
4621
4978
  font-weight: var(--font-weight-medium);
4622
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
+ }
4623
4986
  .dialog > * > header > p, .dialog > * > [data-description] {
4624
4987
  font-size: var(--text-sm);
4625
4988
  line-height: var(--tw-leading, var(--text-sm--line-height));
@@ -4636,6 +4999,24 @@
4636
4999
  color: var(--color-foreground);
4637
5000
  }
4638
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
+ }
4639
5020
  .dropdown-menu > [data-popover] {
4640
5021
  min-width: calc(var(--spacing) * 48);
4641
5022
  gap: calc(var(--spacing) * 0);
@@ -4730,7 +5111,7 @@
4730
5111
  background-color: color-mix(in oklab, var(--color-border) 50%, transparent);
4731
5112
  }
4732
5113
  }
4733
- .dropdown-menu :is([data-shortcut], kbd:last-child) {
5114
+ .dropdown-menu :is([data-shortcut], kbd:last-child, .kbd:last-child) {
4734
5115
  font-family: var(--font-sans);
4735
5116
  font-size: var(--text-xs);
4736
5117
  line-height: var(--tw-leading, var(--text-xs--line-height));
@@ -4738,7 +5119,7 @@
4738
5119
  letter-spacing: var(--tracking-widest);
4739
5120
  color: var(--color-muted-foreground);
4740
5121
  }
4741
- .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) {
4742
5123
  color: var(--color-accent-foreground);
4743
5124
  }
4744
5125
  [data-popover] {