basecoat-css 1.0.0-beta.5 → 1.0.0-beta.6
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/basecoat-base.cdn.css +25 -1
- package/dist/basecoat-base.cdn.min.css +1 -1
- package/dist/basecoat-luma.cdn.css +64 -16
- package/dist/basecoat-luma.cdn.min.css +1 -1
- package/dist/basecoat-lyra.cdn.css +60 -15
- package/dist/basecoat-lyra.cdn.min.css +1 -1
- package/dist/basecoat-maia.cdn.css +62 -16
- package/dist/basecoat-maia.cdn.min.css +1 -1
- package/dist/basecoat-mira.cdn.css +62 -16
- package/dist/basecoat-mira.cdn.min.css +1 -1
- package/dist/basecoat-nova.cdn.css +64 -16
- package/dist/basecoat-nova.cdn.min.css +1 -1
- package/dist/basecoat-rhea.cdn.css +64 -16
- package/dist/basecoat-rhea.cdn.min.css +1 -1
- package/dist/basecoat-sera.cdn.css +60 -16
- package/dist/basecoat-sera.cdn.min.css +1 -1
- package/dist/basecoat-vega.cdn.css +64 -16
- package/dist/basecoat-vega.cdn.min.css +1 -1
- package/dist/basecoat.cdn.css +64 -16
- package/dist/basecoat.cdn.min.css +1 -1
- package/dist/components/popover.css +27 -1
- package/dist/js/all.js +46 -13
- package/dist/js/all.min.js +1 -1
- package/dist/js/select.js +46 -13
- package/dist/js/select.min.js +1 -1
- package/dist/styles/luma.css +21 -5
- package/dist/styles/lyra.css +16 -4
- package/dist/styles/maia.css +21 -5
- package/dist/styles/mira.css +21 -5
- package/dist/styles/nova.css +21 -5
- package/dist/styles/rhea.css +21 -5
- package/dist/styles/sera.css +21 -5
- package/dist/styles/vega.css +21 -5
- package/package.json +1 -1
package/dist/styles/luma.css
CHANGED
|
@@ -424,11 +424,15 @@
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
.combobox [data-popover] {
|
|
427
|
-
@apply bg-popover text-popover-foreground ring-foreground/5 dark:ring-foreground/10 max-h-72 rounded-3xl p-
|
|
427
|
+
@apply bg-popover text-popover-foreground ring-foreground/5 dark:ring-foreground/10 max-h-72 gap-0 rounded-3xl p-0 shadow-lg ring-1 duration-100;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
.combobox [role='listbox'] {
|
|
431
|
-
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1.5 overflow-y-auto;
|
|
431
|
+
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1.5 overflow-y-auto p-1.5;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true']))) {
|
|
435
|
+
@apply p-0;
|
|
432
436
|
}
|
|
433
437
|
|
|
434
438
|
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true'])))::before {
|
|
@@ -445,7 +449,7 @@
|
|
|
445
449
|
|
|
446
450
|
.combobox [role='option'].active,
|
|
447
451
|
.combobox [role='option']:focus-visible {
|
|
448
|
-
@apply bg-
|
|
452
|
+
@apply bg-accent text-accent-foreground [&_svg]:text-accent-foreground;
|
|
449
453
|
}
|
|
450
454
|
|
|
451
455
|
.combobox [role='group'] {
|
|
@@ -468,7 +472,11 @@
|
|
|
468
472
|
@apply -ms-1 opacity-50 hover:opacity-100 [&_svg]:size-3.5;
|
|
469
473
|
}
|
|
470
474
|
|
|
471
|
-
.combobox [data-popover] >
|
|
475
|
+
.combobox [data-popover] > .input-group {
|
|
476
|
+
@apply m-1.5 mb-0 h-8 w-auto border-input/30 bg-input/50 shadow-none focus-within:border-inherit focus-within:ring-0;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.combobox [data-popover] > input[role='combobox'] {
|
|
472
480
|
@apply mb-1 w-full;
|
|
473
481
|
}
|
|
474
482
|
/* Select */
|
|
@@ -759,7 +767,15 @@
|
|
|
759
767
|
}
|
|
760
768
|
|
|
761
769
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):before {
|
|
762
|
-
@apply bg-background
|
|
770
|
+
@apply bg-background rounded-full shadow-sm not-dark:bg-clip-padding;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
|
|
774
|
+
@apply bg-foreground;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
|
|
778
|
+
@apply bg-primary-foreground;
|
|
763
779
|
}
|
|
764
780
|
|
|
765
781
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not([data-size='sm']):before {
|
package/dist/styles/lyra.css
CHANGED
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
.combobox [data-popover] {
|
|
415
|
-
@apply bg-popover text-popover-foreground ring-foreground/10 max-h-72 rounded-none shadow-md ring-1 duration-100;
|
|
415
|
+
@apply bg-popover text-popover-foreground ring-foreground/10 max-h-72 gap-0 rounded-none p-0 shadow-md ring-1 duration-100;
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
.combobox [role='listbox'] {
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
|
|
434
434
|
.combobox [role='option'].active,
|
|
435
435
|
.combobox [role='option']:focus-visible {
|
|
436
|
-
@apply bg-
|
|
436
|
+
@apply bg-accent text-accent-foreground [&_svg]:text-accent-foreground;
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
.combobox [role='separator'] {
|
|
@@ -452,7 +452,11 @@
|
|
|
452
452
|
@apply -ms-1 opacity-50 hover:opacity-100 [&_svg]:size-3.5;
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
.combobox [data-popover] >
|
|
455
|
+
.combobox [data-popover] > .input-group {
|
|
456
|
+
@apply m-1 mb-0 h-8 w-auto border-input/30 bg-input/30 shadow-none focus-within:border-inherit focus-within:ring-0;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.combobox [data-popover] > input[role='combobox'] {
|
|
456
460
|
@apply mb-1 w-full;
|
|
457
461
|
}
|
|
458
462
|
/* Select */
|
|
@@ -743,7 +747,15 @@
|
|
|
743
747
|
}
|
|
744
748
|
|
|
745
749
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):before {
|
|
746
|
-
@apply bg-background
|
|
750
|
+
@apply bg-background rounded-full;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
|
|
754
|
+
@apply bg-foreground;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
|
|
758
|
+
@apply bg-primary-foreground;
|
|
747
759
|
}
|
|
748
760
|
|
|
749
761
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not([data-size='sm']):before {
|
package/dist/styles/maia.css
CHANGED
|
@@ -416,11 +416,15 @@
|
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
.combobox [data-popover] {
|
|
419
|
-
@apply bg-popover text-popover-foreground ring-foreground/5 max-h-72 rounded-2xl p-
|
|
419
|
+
@apply bg-popover text-popover-foreground ring-foreground/5 max-h-72 gap-0 rounded-2xl p-0 shadow-2xl ring-1 duration-100;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
.combobox [role='listbox'] {
|
|
423
|
-
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto;
|
|
423
|
+
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto p-1;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true']))) {
|
|
427
|
+
@apply p-0;
|
|
424
428
|
}
|
|
425
429
|
|
|
426
430
|
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true'])))::before {
|
|
@@ -437,7 +441,7 @@
|
|
|
437
441
|
|
|
438
442
|
.combobox [role='option'].active,
|
|
439
443
|
.combobox [role='option']:focus-visible {
|
|
440
|
-
@apply bg-
|
|
444
|
+
@apply bg-accent text-accent-foreground [&_svg]:text-accent-foreground;
|
|
441
445
|
}
|
|
442
446
|
|
|
443
447
|
.combobox [role='group'] {
|
|
@@ -460,7 +464,11 @@
|
|
|
460
464
|
@apply -ms-1 opacity-50 hover:opacity-100 [&_svg]:size-3.5;
|
|
461
465
|
}
|
|
462
466
|
|
|
463
|
-
.combobox [data-popover] >
|
|
467
|
+
.combobox [data-popover] > .input-group {
|
|
468
|
+
@apply m-1 mb-0 h-9 w-auto border-none bg-input/30 shadow-none focus-within:border-inherit focus-within:ring-0;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.combobox [data-popover] > input[role='combobox'] {
|
|
464
472
|
@apply mb-1 w-full;
|
|
465
473
|
}
|
|
466
474
|
/* Select */
|
|
@@ -747,7 +755,15 @@
|
|
|
747
755
|
}
|
|
748
756
|
|
|
749
757
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):before {
|
|
750
|
-
@apply bg-background
|
|
758
|
+
@apply bg-background rounded-full;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
|
|
762
|
+
@apply bg-foreground;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
|
|
766
|
+
@apply bg-primary-foreground;
|
|
751
767
|
}
|
|
752
768
|
|
|
753
769
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not([data-size='sm']):before {
|
package/dist/styles/mira.css
CHANGED
|
@@ -416,11 +416,15 @@
|
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
.combobox [data-popover] {
|
|
419
|
-
@apply bg-popover text-popover-foreground ring-foreground/10 dark:bg-popover max-h-72 rounded-lg p-
|
|
419
|
+
@apply bg-popover text-popover-foreground ring-foreground/10 dark:bg-popover max-h-72 gap-0 rounded-lg p-0 shadow-md ring-1 duration-100;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
.combobox [role='listbox'] {
|
|
423
|
-
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto;
|
|
423
|
+
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto p-1;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true']))) {
|
|
427
|
+
@apply p-0;
|
|
424
428
|
}
|
|
425
429
|
|
|
426
430
|
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true'])))::before {
|
|
@@ -437,7 +441,7 @@
|
|
|
437
441
|
|
|
438
442
|
.combobox [role='option'].active,
|
|
439
443
|
.combobox [role='option']:focus-visible {
|
|
440
|
-
@apply bg-
|
|
444
|
+
@apply bg-accent text-accent-foreground [&_svg]:text-accent-foreground;
|
|
441
445
|
}
|
|
442
446
|
|
|
443
447
|
.combobox [role='group'] {
|
|
@@ -460,7 +464,11 @@
|
|
|
460
464
|
@apply -ms-1 opacity-50 hover:opacity-100 [&_svg]:size-3;
|
|
461
465
|
}
|
|
462
466
|
|
|
463
|
-
.combobox [data-popover] >
|
|
467
|
+
.combobox [data-popover] > .input-group {
|
|
468
|
+
@apply m-1 mb-0 h-7 w-auto border-none bg-input/20 shadow-none focus-within:border-inherit focus-within:ring-0;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.combobox [data-popover] > input[role='combobox'] {
|
|
464
472
|
@apply mb-1 w-full;
|
|
465
473
|
}
|
|
466
474
|
/* Select */
|
|
@@ -751,7 +759,15 @@
|
|
|
751
759
|
}
|
|
752
760
|
|
|
753
761
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):before {
|
|
754
|
-
@apply bg-background
|
|
762
|
+
@apply bg-background rounded-full;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
|
|
766
|
+
@apply bg-foreground;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
|
|
770
|
+
@apply bg-primary-foreground;
|
|
755
771
|
}
|
|
756
772
|
|
|
757
773
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not([data-size='sm']):before {
|
package/dist/styles/nova.css
CHANGED
|
@@ -412,11 +412,15 @@
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
.combobox [data-popover] {
|
|
415
|
-
@apply bg-popover text-popover-foreground ring-foreground/10 max-h-72 rounded-lg p-
|
|
415
|
+
@apply bg-popover text-popover-foreground ring-foreground/10 max-h-72 gap-0 rounded-lg p-0 shadow-md ring-1 duration-100;
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
.combobox [role='listbox'] {
|
|
419
|
-
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto;
|
|
419
|
+
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto p-1;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true']))) {
|
|
423
|
+
@apply p-0;
|
|
420
424
|
}
|
|
421
425
|
|
|
422
426
|
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true'])))::before {
|
|
@@ -433,7 +437,7 @@
|
|
|
433
437
|
|
|
434
438
|
.combobox [role='option'].active,
|
|
435
439
|
.combobox [role='option']:focus-visible {
|
|
436
|
-
@apply bg-
|
|
440
|
+
@apply bg-accent text-accent-foreground [&_svg]:text-accent-foreground;
|
|
437
441
|
}
|
|
438
442
|
|
|
439
443
|
.combobox [role='group'] {
|
|
@@ -456,7 +460,11 @@
|
|
|
456
460
|
@apply -ms-1 opacity-50 hover:opacity-100 [&_svg]:size-3.5;
|
|
457
461
|
}
|
|
458
462
|
|
|
459
|
-
.combobox [data-popover] >
|
|
463
|
+
.combobox [data-popover] > .input-group {
|
|
464
|
+
@apply m-1 mb-0 h-8 w-auto border-input/30 bg-input/30 shadow-none focus-within:border-inherit focus-within:ring-0;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.combobox [data-popover] > input[role='combobox'] {
|
|
460
468
|
@apply mb-1 w-full;
|
|
461
469
|
}
|
|
462
470
|
/* Select */
|
|
@@ -747,7 +755,15 @@
|
|
|
747
755
|
}
|
|
748
756
|
|
|
749
757
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):before {
|
|
750
|
-
@apply bg-background
|
|
758
|
+
@apply bg-background rounded-full;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
|
|
762
|
+
@apply bg-foreground;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
|
|
766
|
+
@apply bg-primary-foreground;
|
|
751
767
|
}
|
|
752
768
|
|
|
753
769
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not([data-size='sm']):before {
|
package/dist/styles/rhea.css
CHANGED
|
@@ -424,11 +424,15 @@
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
.combobox [data-popover] {
|
|
427
|
-
@apply bg-popover text-popover-foreground ring-foreground/5 dark:ring-foreground/10 max-h-72 rounded-2xl p-
|
|
427
|
+
@apply bg-popover text-popover-foreground ring-foreground/5 dark:ring-foreground/10 max-h-72 gap-0 rounded-2xl p-0 shadow-lg ring-1 duration-100;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
.combobox [role='listbox'] {
|
|
431
|
-
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto;
|
|
431
|
+
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto p-1;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true']))) {
|
|
435
|
+
@apply p-0;
|
|
432
436
|
}
|
|
433
437
|
|
|
434
438
|
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true'])))::before {
|
|
@@ -445,7 +449,7 @@
|
|
|
445
449
|
|
|
446
450
|
.combobox [role='option'].active,
|
|
447
451
|
.combobox [role='option']:focus-visible {
|
|
448
|
-
@apply bg-
|
|
452
|
+
@apply bg-accent text-accent-foreground [&_svg]:text-accent-foreground;
|
|
449
453
|
}
|
|
450
454
|
|
|
451
455
|
.combobox [role='group'] {
|
|
@@ -468,7 +472,11 @@
|
|
|
468
472
|
@apply -ms-0.5 size-4.5 opacity-50 hover:opacity-100 [&_svg]:size-3.5;
|
|
469
473
|
}
|
|
470
474
|
|
|
471
|
-
.combobox [data-popover] >
|
|
475
|
+
.combobox [data-popover] > .input-group {
|
|
476
|
+
@apply m-1 mb-0 h-8 w-auto border-input/30 bg-input/50 shadow-none focus-within:border-inherit focus-within:ring-0;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.combobox [data-popover] > input[role='combobox'] {
|
|
472
480
|
@apply mb-1 w-full;
|
|
473
481
|
}
|
|
474
482
|
/* Select */
|
|
@@ -759,7 +767,15 @@
|
|
|
759
767
|
}
|
|
760
768
|
|
|
761
769
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):before {
|
|
762
|
-
@apply bg-background
|
|
770
|
+
@apply bg-background rounded-2xl shadow-sm not-dark:bg-clip-padding;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
|
|
774
|
+
@apply bg-foreground;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
|
|
778
|
+
@apply bg-primary-foreground;
|
|
763
779
|
}
|
|
764
780
|
|
|
765
781
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not([data-size='sm']):before {
|
package/dist/styles/sera.css
CHANGED
|
@@ -428,11 +428,15 @@
|
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
.combobox [data-popover] {
|
|
431
|
-
@apply bg-popover text-popover-foreground ring-foreground/10 max-h-72 rounded-none p-
|
|
431
|
+
@apply bg-popover text-popover-foreground ring-foreground/10 max-h-72 gap-0 rounded-none p-0 shadow-md ring-1 duration-100;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
.combobox [role='listbox'] {
|
|
435
|
-
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1.5 overflow-y-auto;
|
|
435
|
+
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1.5 overflow-y-auto p-1.5;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true']))) {
|
|
439
|
+
@apply p-0;
|
|
436
440
|
}
|
|
437
441
|
|
|
438
442
|
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true'])))::before {
|
|
@@ -449,7 +453,7 @@
|
|
|
449
453
|
|
|
450
454
|
.combobox [role='option'].active,
|
|
451
455
|
.combobox [role='option']:focus-visible {
|
|
452
|
-
@apply bg-
|
|
456
|
+
@apply bg-accent text-accent-foreground [&_svg]:text-accent-foreground;
|
|
453
457
|
}
|
|
454
458
|
|
|
455
459
|
.combobox [role='group'] {
|
|
@@ -472,7 +476,11 @@
|
|
|
472
476
|
@apply -ms-1 opacity-50 hover:opacity-100 [&_svg]:size-3.5;
|
|
473
477
|
}
|
|
474
478
|
|
|
475
|
-
.combobox [data-popover] >
|
|
479
|
+
.combobox [data-popover] > .input-group {
|
|
480
|
+
@apply m-1.5 mb-0 h-8 w-auto border-transparent border-b-input bg-transparent px-2.5 shadow-none focus-within:border-transparent focus-within:ring-0;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.combobox [data-popover] > input[role='combobox'] {
|
|
476
484
|
@apply mb-1 w-full;
|
|
477
485
|
}
|
|
478
486
|
/* Select */
|
|
@@ -763,7 +771,15 @@
|
|
|
763
771
|
}
|
|
764
772
|
|
|
765
773
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):before {
|
|
766
|
-
@apply bg-background
|
|
774
|
+
@apply bg-background;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
|
|
778
|
+
@apply bg-foreground;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
|
|
782
|
+
@apply bg-primary-foreground;
|
|
767
783
|
}
|
|
768
784
|
|
|
769
785
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not([data-size='sm']):before {
|
package/dist/styles/vega.css
CHANGED
|
@@ -412,11 +412,15 @@
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
.combobox [data-popover] {
|
|
415
|
-
@apply bg-popover text-popover-foreground ring-foreground/10 max-h-72 rounded-md p-
|
|
415
|
+
@apply bg-popover text-popover-foreground ring-foreground/10 max-h-72 gap-0 rounded-md p-0 shadow-md ring-1 duration-100;
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
.combobox [role='listbox'] {
|
|
419
|
-
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto;
|
|
419
|
+
@apply max-h-[min(18rem,var(--available-height,18rem))] scroll-py-1 overflow-y-auto p-1;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true']))) {
|
|
423
|
+
@apply p-0;
|
|
420
424
|
}
|
|
421
425
|
|
|
422
426
|
.combobox [role='listbox']:not(:has([data-value]:not([aria-hidden='true'])))::before {
|
|
@@ -433,7 +437,7 @@
|
|
|
433
437
|
|
|
434
438
|
.combobox [role='option'].active,
|
|
435
439
|
.combobox [role='option']:focus-visible {
|
|
436
|
-
@apply bg-
|
|
440
|
+
@apply bg-accent text-accent-foreground [&_svg]:text-accent-foreground;
|
|
437
441
|
}
|
|
438
442
|
|
|
439
443
|
.combobox [role='group'] {
|
|
@@ -456,7 +460,11 @@
|
|
|
456
460
|
@apply -ms-1 opacity-50 hover:opacity-100 [&_svg]:size-3.5;
|
|
457
461
|
}
|
|
458
462
|
|
|
459
|
-
.combobox [data-popover] >
|
|
463
|
+
.combobox [data-popover] > .input-group {
|
|
464
|
+
@apply m-1 mb-0 h-8 w-auto border-input/30 bg-input/30 shadow-none focus-within:border-inherit focus-within:ring-0;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.combobox [data-popover] > input[role='combobox'] {
|
|
460
468
|
@apply mb-1 w-full;
|
|
461
469
|
}
|
|
462
470
|
/* Select */
|
|
@@ -747,7 +755,15 @@
|
|
|
747
755
|
}
|
|
748
756
|
|
|
749
757
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):before {
|
|
750
|
-
@apply bg-background
|
|
758
|
+
@apply bg-background rounded-full;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
|
|
762
|
+
@apply bg-foreground;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
|
|
766
|
+
@apply bg-primary-foreground;
|
|
751
767
|
}
|
|
752
768
|
|
|
753
769
|
:is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not([data-size='sm']):before {
|