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.
- package/dist/base/base.css +1 -1
- package/dist/basecoat-base.cdn.css +250 -26
- package/dist/basecoat-base.cdn.min.css +1 -1
- package/dist/basecoat-components.css +2 -0
- package/dist/basecoat-luma.cdn.css +431 -41
- package/dist/basecoat-luma.cdn.min.css +1 -1
- package/dist/basecoat-lyra.cdn.css +432 -39
- package/dist/basecoat-lyra.cdn.min.css +1 -1
- package/dist/basecoat-maia.cdn.css +422 -41
- package/dist/basecoat-maia.cdn.min.css +1 -1
- package/dist/basecoat-mira.cdn.css +419 -41
- package/dist/basecoat-mira.cdn.min.css +1 -1
- package/dist/basecoat-nova.cdn.css +436 -41
- package/dist/basecoat-nova.cdn.min.css +1 -1
- package/dist/basecoat-rhea.cdn.css +441 -52
- package/dist/basecoat-rhea.cdn.min.css +1 -1
- package/dist/basecoat-sera.cdn.css +425 -39
- package/dist/basecoat-sera.cdn.min.css +1 -1
- package/dist/basecoat-vega.cdn.css +425 -40
- package/dist/basecoat-vega.cdn.min.css +1 -1
- package/dist/basecoat.cdn.css +425 -40
- package/dist/basecoat.cdn.min.css +1 -1
- package/dist/components/accordion.css +27 -0
- package/dist/components/alert.css +12 -0
- package/dist/components/avatar.css +6 -6
- package/dist/components/breadcrumb.css +30 -0
- package/dist/components/card.css +4 -0
- package/dist/components/combobox.css +23 -2
- package/dist/components/command.css +19 -12
- package/dist/components/dialog.css +30 -1
- package/dist/components/dropdown-menu.css +1 -1
- package/dist/js/accordion.js +68 -0
- package/dist/js/accordion.min.js +1 -0
- package/dist/js/all.js +199 -28
- package/dist/js/all.min.js +1 -1
- package/dist/js/combobox.js +115 -26
- package/dist/js/combobox.min.js +1 -1
- package/dist/js/command.js +3 -1
- package/dist/js/command.min.js +1 -1
- package/dist/js/dropdown-menu.js +12 -1
- package/dist/js/dropdown-menu.min.js +1 -1
- package/dist/styles/luma.css +85 -11
- package/dist/styles/lyra.css +81 -11
- package/dist/styles/maia.css +85 -11
- package/dist/styles/mira.css +85 -11
- package/dist/styles/nova.css +83 -13
- package/dist/styles/rhea.css +89 -15
- package/dist/styles/sera.css +80 -10
- package/dist/styles/vega.css +82 -12
- 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;
|
|
@@ -262,7 +261,7 @@
|
|
|
262
261
|
--foreground: oklch(0.985 0 0);
|
|
263
262
|
--card: oklch(0.205 0 0);
|
|
264
263
|
--card-foreground: oklch(0.985 0 0);
|
|
265
|
-
--popover: oklch(0.
|
|
264
|
+
--popover: oklch(0.205 0 0);
|
|
266
265
|
--popover-foreground: oklch(0.985 0 0);
|
|
267
266
|
--primary: oklch(0.922 0 0);
|
|
268
267
|
--primary-foreground: oklch(0.205 0 0);
|
|
@@ -313,6 +312,48 @@
|
|
|
313
312
|
-moz-osx-font-smoothing: grayscale;
|
|
314
313
|
}
|
|
315
314
|
}
|
|
315
|
+
@layer components {
|
|
316
|
+
.accordion {
|
|
317
|
+
display: flex;
|
|
318
|
+
width: 100%;
|
|
319
|
+
flex-direction: column;
|
|
320
|
+
}
|
|
321
|
+
.accordion > details > summary {
|
|
322
|
+
position: relative;
|
|
323
|
+
display: flex;
|
|
324
|
+
width: 100%;
|
|
325
|
+
flex: 1;
|
|
326
|
+
cursor: pointer;
|
|
327
|
+
list-style-type: none;
|
|
328
|
+
align-items: flex-start;
|
|
329
|
+
justify-content: space-between;
|
|
330
|
+
border-style: var(--tw-border-style);
|
|
331
|
+
border-width: 1px;
|
|
332
|
+
border-color: transparent;
|
|
333
|
+
transition-property: all;
|
|
334
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
335
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
336
|
+
--tw-outline-style: none;
|
|
337
|
+
outline-style: none;
|
|
338
|
+
}
|
|
339
|
+
.accordion > details > summary > svg:last-child {
|
|
340
|
+
pointer-events: none;
|
|
341
|
+
flex-shrink: 0;
|
|
342
|
+
transition-property: transform, translate, scale, rotate;
|
|
343
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
344
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
345
|
+
}
|
|
346
|
+
.accordion > details[open] > summary > svg:last-child {
|
|
347
|
+
rotate: 180deg;
|
|
348
|
+
}
|
|
349
|
+
.accordion > details[aria-disabled='true'] > summary, .accordion > details > summary[aria-disabled='true'] {
|
|
350
|
+
pointer-events: none;
|
|
351
|
+
opacity: 50%;
|
|
352
|
+
}
|
|
353
|
+
.accordion > details > :not(summary) {
|
|
354
|
+
overflow: hidden;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
316
357
|
@layer components {
|
|
317
358
|
.alert {
|
|
318
359
|
position: relative;
|
|
@@ -328,10 +369,20 @@
|
|
|
328
369
|
display: grid;
|
|
329
370
|
justify-items: start;
|
|
330
371
|
gap: calc(var(--spacing) * 1);
|
|
372
|
+
:where(p, ul, ol) {
|
|
373
|
+
margin: calc(var(--spacing) * 0);
|
|
374
|
+
}
|
|
375
|
+
:where(p, ul, ol):not(:last-child) {
|
|
376
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
377
|
+
}
|
|
331
378
|
ul {
|
|
332
379
|
list-style-position: inside;
|
|
333
380
|
list-style-type: disc;
|
|
334
381
|
}
|
|
382
|
+
ol {
|
|
383
|
+
list-style-position: inside;
|
|
384
|
+
list-style-type: decimal;
|
|
385
|
+
}
|
|
335
386
|
}
|
|
336
387
|
.alert > footer {
|
|
337
388
|
position: absolute;
|
|
@@ -403,7 +454,7 @@
|
|
|
403
454
|
border-radius: inherit;
|
|
404
455
|
object-fit: cover;
|
|
405
456
|
}
|
|
406
|
-
.avatar > span:not(
|
|
457
|
+
.avatar > span:not(.avatar-badge) {
|
|
407
458
|
display: flex;
|
|
408
459
|
width: 100%;
|
|
409
460
|
height: 100%;
|
|
@@ -413,11 +464,11 @@
|
|
|
413
464
|
font-size: var(--text-sm);
|
|
414
465
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
415
466
|
}
|
|
416
|
-
.avatar[data-size='sm'] > span:not(
|
|
467
|
+
.avatar[data-size='sm'] > span:not(.avatar-badge) {
|
|
417
468
|
font-size: var(--text-xs);
|
|
418
469
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
419
470
|
}
|
|
420
|
-
.avatar >
|
|
471
|
+
.avatar > .avatar-badge {
|
|
421
472
|
position: absolute;
|
|
422
473
|
inset-inline-end: calc(var(--spacing) * 0);
|
|
423
474
|
bottom: calc(var(--spacing) * 0);
|
|
@@ -432,14 +483,14 @@
|
|
|
432
483
|
-webkit-user-select: none;
|
|
433
484
|
user-select: none;
|
|
434
485
|
}
|
|
435
|
-
.avatar[data-size='sm'] >
|
|
486
|
+
.avatar[data-size='sm'] > .avatar-badge {
|
|
436
487
|
width: calc(var(--spacing) * 2);
|
|
437
488
|
height: calc(var(--spacing) * 2);
|
|
438
489
|
&>svg {
|
|
439
490
|
display: none;
|
|
440
491
|
}
|
|
441
492
|
}
|
|
442
|
-
.avatar >
|
|
493
|
+
.avatar > .avatar-badge {
|
|
443
494
|
width: calc(var(--spacing) * 2.5);
|
|
444
495
|
height: calc(var(--spacing) * 2.5);
|
|
445
496
|
&>svg {
|
|
@@ -447,7 +498,7 @@
|
|
|
447
498
|
height: calc(var(--spacing) * 2);
|
|
448
499
|
}
|
|
449
500
|
}
|
|
450
|
-
.avatar[data-size='lg'] >
|
|
501
|
+
.avatar[data-size='lg'] > .avatar-badge {
|
|
451
502
|
width: calc(var(--spacing) * 3);
|
|
452
503
|
height: calc(var(--spacing) * 3);
|
|
453
504
|
&>svg {
|
|
@@ -520,6 +571,53 @@
|
|
|
520
571
|
}
|
|
521
572
|
}
|
|
522
573
|
}
|
|
574
|
+
@layer components {
|
|
575
|
+
.breadcrumb > ol {
|
|
576
|
+
margin: calc(var(--spacing) * 0);
|
|
577
|
+
display: flex;
|
|
578
|
+
list-style-type: none;
|
|
579
|
+
flex-wrap: wrap;
|
|
580
|
+
align-items: center;
|
|
581
|
+
padding: calc(var(--spacing) * 0);
|
|
582
|
+
overflow-wrap: break-word;
|
|
583
|
+
}
|
|
584
|
+
.breadcrumb li {
|
|
585
|
+
display: inline-flex;
|
|
586
|
+
align-items: center;
|
|
587
|
+
}
|
|
588
|
+
.breadcrumb a {
|
|
589
|
+
border-radius: var(--radius-sm);
|
|
590
|
+
--tw-outline-style: none;
|
|
591
|
+
outline-style: none;
|
|
592
|
+
&:focus-visible {
|
|
593
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
594
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
595
|
+
}
|
|
596
|
+
&:focus-visible {
|
|
597
|
+
--tw-ring-color: var(--color-ring);
|
|
598
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
599
|
+
--tw-ring-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
.breadcrumb [aria-current='page'] {
|
|
604
|
+
cursor: default;
|
|
605
|
+
}
|
|
606
|
+
.breadcrumb li[aria-hidden='true'] {
|
|
607
|
+
-webkit-user-select: none;
|
|
608
|
+
user-select: none;
|
|
609
|
+
}
|
|
610
|
+
.breadcrumb li > span[aria-hidden='true'] {
|
|
611
|
+
display: flex;
|
|
612
|
+
align-items: center;
|
|
613
|
+
justify-content: center;
|
|
614
|
+
}
|
|
615
|
+
.breadcrumb [data-rtl-flip] {
|
|
616
|
+
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
617
|
+
rotate: 180deg;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
}
|
|
523
621
|
@layer components {
|
|
524
622
|
.btn {
|
|
525
623
|
display: inline-flex;
|
|
@@ -644,6 +742,11 @@
|
|
|
644
742
|
align-self: flex-start;
|
|
645
743
|
justify-self: flex-end;
|
|
646
744
|
}
|
|
745
|
+
> header > menu.card-action {
|
|
746
|
+
margin: calc(var(--spacing) * 0);
|
|
747
|
+
list-style-type: none;
|
|
748
|
+
padding: calc(var(--spacing) * 0);
|
|
749
|
+
}
|
|
647
750
|
> footer {
|
|
648
751
|
display: flex;
|
|
649
752
|
align-items: center;
|
|
@@ -789,7 +892,7 @@
|
|
|
789
892
|
&::backdrop {
|
|
790
893
|
opacity: 100%;
|
|
791
894
|
}
|
|
792
|
-
>
|
|
895
|
+
> .command {
|
|
793
896
|
--tw-scale-x: 100%;
|
|
794
897
|
--tw-scale-y: 100%;
|
|
795
898
|
--tw-scale-z: 100%;
|
|
@@ -800,7 +903,7 @@
|
|
|
800
903
|
&::backdrop {
|
|
801
904
|
opacity: 0%;
|
|
802
905
|
}
|
|
803
|
-
>
|
|
906
|
+
> .command {
|
|
804
907
|
--tw-scale-x: 95%;
|
|
805
908
|
--tw-scale-y: 95%;
|
|
806
909
|
--tw-scale-z: 95%;
|
|
@@ -815,7 +918,7 @@
|
|
|
815
918
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
816
919
|
transition-behavior: allow-discrete;
|
|
817
920
|
}
|
|
818
|
-
>
|
|
921
|
+
> .command {
|
|
819
922
|
position: fixed;
|
|
820
923
|
top: calc(1/3 * 100%);
|
|
821
924
|
left: calc(1/2 * 100%);
|
|
@@ -837,13 +940,13 @@
|
|
|
837
940
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
838
941
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
839
942
|
@media (width >= 40rem) {
|
|
840
|
-
max-width: var(--container-
|
|
943
|
+
max-width: var(--container-sm);
|
|
841
944
|
}
|
|
842
945
|
}
|
|
843
|
-
>
|
|
946
|
+
> .command > :is(button, form[method='dialog']) {
|
|
844
947
|
position: absolute;
|
|
845
948
|
}
|
|
846
|
-
>
|
|
949
|
+
> .command > :is(button, form[method='dialog'] > button) {
|
|
847
950
|
display: inline-flex;
|
|
848
951
|
align-items: center;
|
|
849
952
|
justify-content: center;
|
|
@@ -874,7 +977,7 @@
|
|
|
874
977
|
flex-shrink: 0;
|
|
875
978
|
}
|
|
876
979
|
}
|
|
877
|
-
>
|
|
980
|
+
> .command > :is(button, form[method='dialog'] > button) > svg:not([class*='size-']) {
|
|
878
981
|
width: calc(var(--spacing) * 4);
|
|
879
982
|
height: calc(var(--spacing) * 4);
|
|
880
983
|
}
|
|
@@ -917,6 +1020,10 @@
|
|
|
917
1020
|
outline: 2px solid transparent;
|
|
918
1021
|
outline-offset: 2px;
|
|
919
1022
|
}
|
|
1023
|
+
scrollbar-width: none;
|
|
1024
|
+
&::-webkit-scrollbar {
|
|
1025
|
+
display: none;
|
|
1026
|
+
}
|
|
920
1027
|
}
|
|
921
1028
|
.command [role='menuitem'] {
|
|
922
1029
|
position: relative;
|
|
@@ -924,9 +1031,6 @@
|
|
|
924
1031
|
width: 100%;
|
|
925
1032
|
cursor: default;
|
|
926
1033
|
align-items: center;
|
|
927
|
-
overflow: hidden;
|
|
928
|
-
text-overflow: ellipsis;
|
|
929
|
-
white-space: nowrap;
|
|
930
1034
|
--tw-outline-style: none;
|
|
931
1035
|
outline-style: none;
|
|
932
1036
|
@media (forced-colors: active) {
|
|
@@ -950,6 +1054,12 @@
|
|
|
950
1054
|
&[aria-hidden="true"] {
|
|
951
1055
|
display: none;
|
|
952
1056
|
}
|
|
1057
|
+
&[data-disabled="true"] {
|
|
1058
|
+
pointer-events: none;
|
|
1059
|
+
}
|
|
1060
|
+
&[data-disabled="true"] {
|
|
1061
|
+
opacity: 50%;
|
|
1062
|
+
}
|
|
953
1063
|
& svg {
|
|
954
1064
|
pointer-events: none;
|
|
955
1065
|
}
|
|
@@ -957,9 +1067,9 @@
|
|
|
957
1067
|
flex-shrink: 0;
|
|
958
1068
|
}
|
|
959
1069
|
}
|
|
960
|
-
.command [role='menuitem'].active {
|
|
961
|
-
background-color: var(--color-
|
|
962
|
-
color: var(--color-
|
|
1070
|
+
.command [role='menuitem'].active, .command [role='menuitem'][data-selected='true'] {
|
|
1071
|
+
background-color: var(--color-muted);
|
|
1072
|
+
color: var(--color-foreground);
|
|
963
1073
|
}
|
|
964
1074
|
.command [role='group'] {
|
|
965
1075
|
overflow: hidden;
|
|
@@ -981,7 +1091,7 @@
|
|
|
981
1091
|
margin-inline-start: auto;
|
|
982
1092
|
opacity: 0%;
|
|
983
1093
|
}
|
|
984
|
-
.command [role='menuitem'][data-checked='true'] [data-indicator], .command [role='menuitem'][aria-selected='true'] [data-indicator] {
|
|
1094
|
+
.command [role='menuitem'][data-checked='true'] [data-indicator], .command [role='menuitem'][aria-selected='true'] [data-indicator], .command [role='menuitem'][data-selected='true'] [data-indicator] {
|
|
985
1095
|
opacity: 100%;
|
|
986
1096
|
}
|
|
987
1097
|
.command [role='menuitem']:has([data-shortcut]) [data-indicator] {
|
|
@@ -1004,8 +1114,8 @@
|
|
|
1004
1114
|
content: var(--tw-content);
|
|
1005
1115
|
}
|
|
1006
1116
|
.command:not([data-command-initialized]) [role='menuitem']:not([aria-disabled='true']):not(:disabled):hover {
|
|
1007
|
-
background-color: var(--color-
|
|
1008
|
-
color: var(--color-
|
|
1117
|
+
background-color: var(--color-muted);
|
|
1118
|
+
color: var(--color-foreground);
|
|
1009
1119
|
}
|
|
1010
1120
|
.command:has(> header input:not(:placeholder-shown)) [role='separator'] {
|
|
1011
1121
|
display: none;
|
|
@@ -1040,17 +1150,69 @@
|
|
|
1040
1150
|
opacity: 50%;
|
|
1041
1151
|
}
|
|
1042
1152
|
}
|
|
1153
|
+
.combobox .input-group input[role='combobox'], .combobox [data-popover] input[role='combobox'] {
|
|
1154
|
+
min-width: calc(var(--spacing) * 0);
|
|
1155
|
+
--tw-outline-style: none;
|
|
1156
|
+
outline-style: none;
|
|
1157
|
+
@media (forced-colors: active) {
|
|
1158
|
+
outline: 2px solid transparent;
|
|
1159
|
+
outline-offset: 2px;
|
|
1160
|
+
}
|
|
1161
|
+
&::placeholder {
|
|
1162
|
+
color: var(--color-muted-foreground);
|
|
1163
|
+
}
|
|
1164
|
+
&:disabled {
|
|
1165
|
+
pointer-events: none;
|
|
1166
|
+
}
|
|
1167
|
+
&:disabled {
|
|
1168
|
+
cursor: not-allowed;
|
|
1169
|
+
}
|
|
1170
|
+
&:disabled {
|
|
1171
|
+
opacity: 50%;
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1043
1174
|
.combobox > svg, .combobox-trigger-icon {
|
|
1044
1175
|
pointer-events: none;
|
|
1045
1176
|
position: absolute;
|
|
1046
1177
|
flex-shrink: 0;
|
|
1047
1178
|
}
|
|
1179
|
+
.combobox:has(> .combobox-chips) > .combobox-trigger-icon {
|
|
1180
|
+
display: none;
|
|
1181
|
+
}
|
|
1182
|
+
.combobox [data-clear] {
|
|
1183
|
+
display: inline-flex;
|
|
1184
|
+
width: calc(var(--spacing) * 6);
|
|
1185
|
+
height: calc(var(--spacing) * 6);
|
|
1186
|
+
flex-shrink: 0;
|
|
1187
|
+
cursor: default;
|
|
1188
|
+
appearance: none;
|
|
1189
|
+
align-items: center;
|
|
1190
|
+
justify-content: center;
|
|
1191
|
+
border-style: var(--tw-border-style);
|
|
1192
|
+
border-width: 0px;
|
|
1193
|
+
background-color: transparent;
|
|
1194
|
+
padding: calc(var(--spacing) * 0);
|
|
1195
|
+
color: currentcolor;
|
|
1196
|
+
&:disabled {
|
|
1197
|
+
pointer-events: none;
|
|
1198
|
+
}
|
|
1199
|
+
&:disabled {
|
|
1200
|
+
opacity: 50%;
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
.combobox [data-clear][hidden] {
|
|
1204
|
+
display: none;
|
|
1205
|
+
}
|
|
1206
|
+
.combobox .input-group:has([data-clear]:not([hidden])) button[aria-haspopup='listbox'] {
|
|
1207
|
+
display: none;
|
|
1208
|
+
}
|
|
1048
1209
|
.combobox [data-popover] {
|
|
1049
1210
|
isolation: isolate;
|
|
1050
1211
|
overflow: hidden;
|
|
1051
1212
|
min-width: max(100%, 9rem);
|
|
1052
1213
|
}
|
|
1053
1214
|
.combobox [role='listbox'] {
|
|
1215
|
+
overflow-x: hidden;
|
|
1054
1216
|
overflow-y: auto;
|
|
1055
1217
|
--tw-outline-style: none;
|
|
1056
1218
|
outline-style: none;
|
|
@@ -1173,12 +1335,13 @@
|
|
|
1173
1335
|
}
|
|
1174
1336
|
.combobox-chip-remove {
|
|
1175
1337
|
display: inline-flex;
|
|
1338
|
+
flex-shrink: 0;
|
|
1176
1339
|
align-items: center;
|
|
1177
1340
|
justify-content: center;
|
|
1178
1341
|
}
|
|
1179
1342
|
}
|
|
1180
1343
|
@layer components {
|
|
1181
|
-
.dialog {
|
|
1344
|
+
.dialog, .alert-dialog {
|
|
1182
1345
|
background-color: transparent;
|
|
1183
1346
|
padding: calc(var(--spacing) * 0);
|
|
1184
1347
|
color: inherit;
|
|
@@ -1250,6 +1413,8 @@
|
|
|
1250
1413
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1251
1414
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1252
1415
|
}
|
|
1416
|
+
}
|
|
1417
|
+
.dialog {
|
|
1253
1418
|
> * > header {
|
|
1254
1419
|
display: flex;
|
|
1255
1420
|
flex-direction: column;
|
|
@@ -1306,6 +1471,64 @@
|
|
|
1306
1471
|
height: calc(var(--spacing) * 4);
|
|
1307
1472
|
}
|
|
1308
1473
|
}
|
|
1474
|
+
.alert-dialog {
|
|
1475
|
+
> * > header {
|
|
1476
|
+
display: grid;
|
|
1477
|
+
grid-template-rows: auto 1fr;
|
|
1478
|
+
place-items: center;
|
|
1479
|
+
text-align: center;
|
|
1480
|
+
@media (width >= 40rem) {
|
|
1481
|
+
place-items: start;
|
|
1482
|
+
}
|
|
1483
|
+
@media (width >= 40rem) {
|
|
1484
|
+
text-align: start;
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
> * > header:has(> figure) {
|
|
1488
|
+
grid-template-rows: auto auto 1fr;
|
|
1489
|
+
@media (width >= 40rem) {
|
|
1490
|
+
grid-template-rows: auto 1fr;
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
> * > header > figure {
|
|
1494
|
+
margin: calc(var(--spacing) * 0);
|
|
1495
|
+
flex-shrink: 0;
|
|
1496
|
+
@media (width >= 40rem) {
|
|
1497
|
+
grid-row: span 2 / span 2;
|
|
1498
|
+
}
|
|
1499
|
+
& svg {
|
|
1500
|
+
pointer-events: none;
|
|
1501
|
+
}
|
|
1502
|
+
& svg {
|
|
1503
|
+
flex-shrink: 0;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
> * > header > figure:has(img) {
|
|
1507
|
+
overflow: hidden;
|
|
1508
|
+
& img {
|
|
1509
|
+
width: 100%;
|
|
1510
|
+
height: 100%;
|
|
1511
|
+
}
|
|
1512
|
+
& img {
|
|
1513
|
+
object-fit: cover;
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
> * > header:has(> figure) > :is(h2, p) {
|
|
1517
|
+
@media (width >= 40rem) {
|
|
1518
|
+
grid-column-start: 2;
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
> * > footer {
|
|
1522
|
+
display: flex;
|
|
1523
|
+
flex-direction: column-reverse;
|
|
1524
|
+
@media (width >= 40rem) {
|
|
1525
|
+
flex-direction: row;
|
|
1526
|
+
}
|
|
1527
|
+
@media (width >= 40rem) {
|
|
1528
|
+
justify-content: flex-end;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1309
1532
|
}
|
|
1310
1533
|
@layer components {
|
|
1311
1534
|
.dropdown-menu {
|
|
@@ -1378,7 +1601,7 @@
|
|
|
1378
1601
|
padding-inline-start: calc(var(--spacing) * 8);
|
|
1379
1602
|
}
|
|
1380
1603
|
.dropdown-menu :is(kbd:last-child, .kbd:last-child):not([data-shortcut]) {
|
|
1381
|
-
|
|
1604
|
+
padding-inline-start: calc(var(--spacing) * 8);
|
|
1382
1605
|
}
|
|
1383
1606
|
.dropdown-menu [data-indicator] {
|
|
1384
1607
|
pointer-events: none;
|
|
@@ -3072,6 +3295,51 @@
|
|
|
3072
3295
|
}
|
|
3073
3296
|
}
|
|
3074
3297
|
@layer components {
|
|
3298
|
+
.accordion {
|
|
3299
|
+
overflow: hidden;
|
|
3300
|
+
border-radius: var(--radius-md);
|
|
3301
|
+
border-style: var(--tw-border-style);
|
|
3302
|
+
border-width: 1px;
|
|
3303
|
+
}
|
|
3304
|
+
.accordion > details {
|
|
3305
|
+
&:not(*:last-child) {
|
|
3306
|
+
border-bottom-style: var(--tw-border-style);
|
|
3307
|
+
border-bottom-width: 1px;
|
|
3308
|
+
}
|
|
3309
|
+
&:is([open], :popover-open, :open) {
|
|
3310
|
+
background-color: var(--color-muted);
|
|
3311
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3312
|
+
background-color: color-mix(in oklab, var(--color-muted) 50%, transparent);
|
|
3313
|
+
}
|
|
3314
|
+
}
|
|
3315
|
+
}
|
|
3316
|
+
.accordion > details > summary {
|
|
3317
|
+
gap: calc(var(--spacing) * 6);
|
|
3318
|
+
padding: calc(var(--spacing) * 2);
|
|
3319
|
+
text-align: left;
|
|
3320
|
+
font-size: var(--text-xs);
|
|
3321
|
+
line-height: var(--leading-relaxed);
|
|
3322
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
3323
|
+
font-weight: var(--font-weight-medium);
|
|
3324
|
+
&:hover {
|
|
3325
|
+
@media (hover: hover) {
|
|
3326
|
+
text-decoration-line: underline;
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
3329
|
+
}
|
|
3330
|
+
.accordion > details > summary > svg:last-child {
|
|
3331
|
+
margin-inline-start: auto;
|
|
3332
|
+
width: calc(var(--spacing) * 4);
|
|
3333
|
+
height: calc(var(--spacing) * 4);
|
|
3334
|
+
color: var(--color-muted-foreground);
|
|
3335
|
+
}
|
|
3336
|
+
.accordion > details > :not(summary) {
|
|
3337
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
3338
|
+
padding-top: calc(var(--spacing) * 0);
|
|
3339
|
+
padding-bottom: calc(var(--spacing) * 4);
|
|
3340
|
+
font-size: var(--text-xs);
|
|
3341
|
+
line-height: var(--leading-relaxed);
|
|
3342
|
+
}
|
|
3075
3343
|
.btn {
|
|
3076
3344
|
border-radius: var(--radius-md);
|
|
3077
3345
|
border-style: var(--tw-border-style);
|
|
@@ -3952,7 +4220,7 @@
|
|
|
3952
4220
|
width: calc(var(--spacing) * 10);
|
|
3953
4221
|
height: calc(var(--spacing) * 10);
|
|
3954
4222
|
}
|
|
3955
|
-
.avatar > span:not(
|
|
4223
|
+
.avatar > span:not(.avatar-badge) {
|
|
3956
4224
|
border-radius: inherit;
|
|
3957
4225
|
background-color: var(--color-muted);
|
|
3958
4226
|
color: var(--color-muted-foreground);
|
|
@@ -3960,7 +4228,7 @@
|
|
|
3960
4228
|
.avatar > img {
|
|
3961
4229
|
border-radius: inherit;
|
|
3962
4230
|
}
|
|
3963
|
-
.avatar >
|
|
4231
|
+
.avatar > .avatar-badge {
|
|
3964
4232
|
background-color: var(--color-primary);
|
|
3965
4233
|
color: var(--color-primary-foreground);
|
|
3966
4234
|
--tw-ring-color: var(--color-background);
|
|
@@ -4138,21 +4406,66 @@
|
|
|
4138
4406
|
}
|
|
4139
4407
|
}
|
|
4140
4408
|
}
|
|
4409
|
+
.breadcrumb > ol {
|
|
4410
|
+
gap: calc(var(--spacing) * 1.5);
|
|
4411
|
+
font-size: var(--text-xs);
|
|
4412
|
+
line-height: var(--leading-relaxed);
|
|
4413
|
+
color: var(--color-muted-foreground);
|
|
4414
|
+
}
|
|
4415
|
+
.breadcrumb li {
|
|
4416
|
+
gap: calc(var(--spacing) * 1);
|
|
4417
|
+
}
|
|
4418
|
+
.breadcrumb a {
|
|
4419
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
4420
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
4421
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
4422
|
+
&:hover {
|
|
4423
|
+
@media (hover: hover) {
|
|
4424
|
+
color: var(--color-foreground);
|
|
4425
|
+
}
|
|
4426
|
+
}
|
|
4427
|
+
}
|
|
4428
|
+
.breadcrumb [aria-current='page'] {
|
|
4429
|
+
--tw-font-weight: var(--font-weight-normal);
|
|
4430
|
+
font-weight: var(--font-weight-normal);
|
|
4431
|
+
color: var(--color-foreground);
|
|
4432
|
+
}
|
|
4433
|
+
.breadcrumb li[aria-hidden='true'] > svg {
|
|
4434
|
+
width: calc(var(--spacing) * 3.5);
|
|
4435
|
+
height: calc(var(--spacing) * 3.5);
|
|
4436
|
+
}
|
|
4437
|
+
.breadcrumb li > span[aria-hidden='true'] {
|
|
4438
|
+
width: calc(var(--spacing) * 4);
|
|
4439
|
+
height: calc(var(--spacing) * 4);
|
|
4440
|
+
&>svg {
|
|
4441
|
+
width: calc(var(--spacing) * 3.5);
|
|
4442
|
+
height: calc(var(--spacing) * 3.5);
|
|
4443
|
+
}
|
|
4444
|
+
}
|
|
4141
4445
|
.command {
|
|
4142
|
-
border-radius: var(--radius-xl);
|
|
4446
|
+
border-radius: var(--radius-xl) !important;
|
|
4143
4447
|
background-color: var(--color-popover);
|
|
4144
4448
|
padding: calc(var(--spacing) * 1);
|
|
4145
4449
|
color: var(--color-popover-foreground);
|
|
4146
4450
|
}
|
|
4147
|
-
.command-dialog >
|
|
4148
|
-
border-radius: var(--radius-xl);
|
|
4149
|
-
|
|
4451
|
+
.command-dialog > .command {
|
|
4452
|
+
border-radius: var(--radius-xl) !important;
|
|
4453
|
+
background-color: var(--color-popover);
|
|
4454
|
+
color: var(--color-popover-foreground);
|
|
4455
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4456
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4457
|
+
--tw-ring-color: var(--color-foreground);
|
|
4458
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4459
|
+
--tw-ring-color: color-mix(in oklab, var(--color-foreground) 10%, transparent);
|
|
4460
|
+
}
|
|
4461
|
+
--tw-duration: 100ms;
|
|
4462
|
+
transition-duration: 100ms;
|
|
4150
4463
|
}
|
|
4151
4464
|
.command > header {
|
|
4152
4465
|
margin: calc(var(--spacing) * 1);
|
|
4153
4466
|
margin-bottom: calc(var(--spacing) * 0);
|
|
4154
4467
|
height: calc(var(--spacing) * 8);
|
|
4155
|
-
gap: calc(var(--spacing) *
|
|
4468
|
+
gap: calc(var(--spacing) * 0);
|
|
4156
4469
|
border-radius: var(--radius-lg);
|
|
4157
4470
|
background-color: var(--color-input);
|
|
4158
4471
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -4172,7 +4485,7 @@
|
|
|
4172
4485
|
opacity: 50%;
|
|
4173
4486
|
}
|
|
4174
4487
|
.command > header input {
|
|
4175
|
-
|
|
4488
|
+
padding-inline-start: calc(var(--spacing) * 1.5);
|
|
4176
4489
|
font-size: var(--text-xs);
|
|
4177
4490
|
line-height: var(--leading-relaxed);
|
|
4178
4491
|
&::placeholder {
|
|
@@ -4225,10 +4538,10 @@
|
|
|
4225
4538
|
}
|
|
4226
4539
|
}
|
|
4227
4540
|
.command [role='menuitem'].active {
|
|
4228
|
-
background-color: var(--color-
|
|
4229
|
-
color: var(--color-
|
|
4541
|
+
background-color: var(--color-muted);
|
|
4542
|
+
color: var(--color-foreground);
|
|
4230
4543
|
& svg {
|
|
4231
|
-
color: var(--color-
|
|
4544
|
+
color: var(--color-foreground);
|
|
4232
4545
|
}
|
|
4233
4546
|
}
|
|
4234
4547
|
.command [data-shortcut] {
|
|
@@ -4478,6 +4791,10 @@
|
|
|
4478
4791
|
height: calc(var(--spacing) * 3);
|
|
4479
4792
|
}
|
|
4480
4793
|
}
|
|
4794
|
+
.combobox [data-popover] > :is(input[role='combobox'], .input-group) {
|
|
4795
|
+
margin-bottom: calc(var(--spacing) * 1);
|
|
4796
|
+
width: 100%;
|
|
4797
|
+
}
|
|
4481
4798
|
*:not(select).select > button {
|
|
4482
4799
|
height: calc(var(--spacing) * 7);
|
|
4483
4800
|
gap: calc(var(--spacing) * 1.5);
|
|
@@ -4638,7 +4955,7 @@
|
|
|
4638
4955
|
background-color: color-mix(in oklab, var(--color-border) 50%, transparent);
|
|
4639
4956
|
}
|
|
4640
4957
|
}
|
|
4641
|
-
.dialog::backdrop, .command-dialog::backdrop {
|
|
4958
|
+
.dialog::backdrop, .alert-dialog::backdrop, .command-dialog::backdrop {
|
|
4642
4959
|
background-color: color-mix(in srgb, #000 80%, transparent);
|
|
4643
4960
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4644
4961
|
background-color: color-mix(in oklab, var(--color-black) 80%, transparent);
|
|
@@ -4649,6 +4966,25 @@
|
|
|
4649
4966
|
--tw-duration: 100ms;
|
|
4650
4967
|
transition-duration: 100ms;
|
|
4651
4968
|
}
|
|
4969
|
+
.alert-dialog > * {
|
|
4970
|
+
max-width: var(--container-xs);
|
|
4971
|
+
gap: calc(var(--spacing) * 3);
|
|
4972
|
+
border-radius: var(--radius-xl);
|
|
4973
|
+
background-color: var(--color-popover);
|
|
4974
|
+
padding: calc(var(--spacing) * 4);
|
|
4975
|
+
color: var(--color-popover-foreground);
|
|
4976
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4977
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4978
|
+
--tw-ring-color: var(--color-foreground);
|
|
4979
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4980
|
+
--tw-ring-color: color-mix(in oklab, var(--color-foreground) 10%, transparent);
|
|
4981
|
+
}
|
|
4982
|
+
--tw-duration: 100ms;
|
|
4983
|
+
transition-duration: 100ms;
|
|
4984
|
+
@media (width >= 40rem) {
|
|
4985
|
+
max-width: var(--container-sm);
|
|
4986
|
+
}
|
|
4987
|
+
}
|
|
4652
4988
|
.dialog > * {
|
|
4653
4989
|
max-width: calc(100% - 2rem);
|
|
4654
4990
|
gap: calc(var(--spacing) * 4);
|
|
@@ -4677,7 +5013,25 @@
|
|
|
4677
5013
|
.dialog > * > header {
|
|
4678
5014
|
gap: calc(var(--spacing) * 1);
|
|
4679
5015
|
}
|
|
4680
|
-
.dialog > * >
|
|
5016
|
+
.alert-dialog > * > header {
|
|
5017
|
+
column-gap: calc(var(--spacing) * 4);
|
|
5018
|
+
row-gap: calc(var(--spacing) * 1);
|
|
5019
|
+
}
|
|
5020
|
+
.alert-dialog > * > header > figure {
|
|
5021
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
5022
|
+
display: inline-flex;
|
|
5023
|
+
width: calc(var(--spacing) * 8);
|
|
5024
|
+
height: calc(var(--spacing) * 8);
|
|
5025
|
+
align-items: center;
|
|
5026
|
+
justify-content: center;
|
|
5027
|
+
border-radius: var(--radius-md);
|
|
5028
|
+
background-color: var(--color-muted);
|
|
5029
|
+
&>svg:not([class*='size-']) {
|
|
5030
|
+
width: calc(var(--spacing) * 4);
|
|
5031
|
+
height: calc(var(--spacing) * 4);
|
|
5032
|
+
}
|
|
5033
|
+
}
|
|
5034
|
+
.alert-dialog > * > footer, .dialog > * > footer {
|
|
4681
5035
|
gap: calc(var(--spacing) * 2);
|
|
4682
5036
|
}
|
|
4683
5037
|
.dialog > * > header > h2, .dialog > * > [data-title] {
|
|
@@ -4686,6 +5040,12 @@
|
|
|
4686
5040
|
--tw-font-weight: var(--font-weight-medium);
|
|
4687
5041
|
font-weight: var(--font-weight-medium);
|
|
4688
5042
|
}
|
|
5043
|
+
.alert-dialog > * > header > h2, .alert-dialog > * > [data-title] {
|
|
5044
|
+
font-size: var(--text-sm);
|
|
5045
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
5046
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
5047
|
+
font-weight: var(--font-weight-medium);
|
|
5048
|
+
}
|
|
4689
5049
|
.dialog > * > header > p, .dialog > * > [data-description] {
|
|
4690
5050
|
font-size: var(--text-xs);
|
|
4691
5051
|
line-height: var(--leading-relaxed);
|
|
@@ -4700,6 +5060,24 @@
|
|
|
4700
5060
|
color: var(--color-foreground);
|
|
4701
5061
|
}
|
|
4702
5062
|
}
|
|
5063
|
+
.alert-dialog > * > header > p, .alert-dialog > * > [data-description] {
|
|
5064
|
+
font-size: var(--text-xs);
|
|
5065
|
+
line-height: var(--leading-relaxed);
|
|
5066
|
+
text-wrap: balance;
|
|
5067
|
+
color: var(--color-muted-foreground);
|
|
5068
|
+
@media (width >= 48rem) {
|
|
5069
|
+
text-wrap: pretty;
|
|
5070
|
+
}
|
|
5071
|
+
& a {
|
|
5072
|
+
text-decoration-line: underline;
|
|
5073
|
+
}
|
|
5074
|
+
& a {
|
|
5075
|
+
text-underline-offset: 3px;
|
|
5076
|
+
}
|
|
5077
|
+
& a:hover {
|
|
5078
|
+
color: var(--color-foreground);
|
|
5079
|
+
}
|
|
5080
|
+
}
|
|
4703
5081
|
.dropdown-menu > [data-popover] {
|
|
4704
5082
|
gap: calc(var(--spacing) * 0);
|
|
4705
5083
|
overflow-x: hidden;
|
|
@@ -4790,14 +5168,14 @@
|
|
|
4790
5168
|
background-color: color-mix(in oklab, var(--color-border) 50%, transparent);
|
|
4791
5169
|
}
|
|
4792
5170
|
}
|
|
4793
|
-
.dropdown-menu :is([data-shortcut], kbd:last-child) {
|
|
5171
|
+
.dropdown-menu :is([data-shortcut], kbd:last-child, .kbd:last-child) {
|
|
4794
5172
|
font-family: var(--font-sans);
|
|
4795
5173
|
font-size: 0.625rem;
|
|
4796
5174
|
--tw-tracking: var(--tracking-widest);
|
|
4797
5175
|
letter-spacing: var(--tracking-widest);
|
|
4798
5176
|
color: var(--color-muted-foreground);
|
|
4799
5177
|
}
|
|
4800
|
-
.dropdown-menu :is([role='menuitem'], [role='menuitemcheckbox'], [role='menuitemradio']):is(:focus-visible, .active) :is([data-shortcut], kbd:last-child) {
|
|
5178
|
+
.dropdown-menu :is([role='menuitem'], [role='menuitemcheckbox'], [role='menuitemradio']):is(:focus-visible, .active) :is([data-shortcut], kbd:last-child, .kbd:last-child) {
|
|
4801
5179
|
color: var(--color-accent-foreground);
|
|
4802
5180
|
}
|
|
4803
5181
|
[data-popover] {
|