panelui-web 0.10.0 → 0.10.1
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.
|
@@ -82,7 +82,14 @@ const dialogVariants = tv({
|
|
|
82
82
|
bodyContent: 'flex flex-col gap-4',
|
|
83
83
|
scrollbar: 'my-2 me-1 flex w-1.5 opacity-0 transition-opacity delay-300 data-hovering:opacity-100 data-hovering:delay-0 data-scrolling:opacity-100 data-scrolling:delay-0',
|
|
84
84
|
thumb: 'relative flex-1 rounded-full bg-foreground/20',
|
|
85
|
-
footer:
|
|
85
|
+
footer: [
|
|
86
|
+
'flex shrink-0 items-center',
|
|
87
|
+
// The footer sits on a tinted surface, and the secondary fill is a tint
|
|
88
|
+
// too, so the button all but disappears into it. There it takes the
|
|
89
|
+
// panel's own surface instead, which keeps it lighter than the band.
|
|
90
|
+
'*:data-[variant=secondary]:bg-popover *:data-[variant=secondary]:shadow-xs',
|
|
91
|
+
'*:data-[variant=secondary]:hover:not-disabled:bg-[color-mix(in_oklab,var(--popover),var(--foreground)_5%)]',
|
|
92
|
+
],
|
|
86
93
|
close: [
|
|
87
94
|
'absolute end-4 top-4 z-10 inline-flex size-8 cursor-pointer items-center justify-center rounded-full',
|
|
88
95
|
'bg-muted text-muted-foreground outline-none transition-[background-color,color,scale] duration-150',
|