@trycompai/design-system 1.0.43 → 1.0.44
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/package.json
CHANGED
|
@@ -19,7 +19,7 @@ const buttonVariants = cva(
|
|
|
19
19
|
'hover:bg-accent hover:text-foreground dark:hover:bg-accent/50 aria-expanded:bg-accent aria-expanded:text-foreground',
|
|
20
20
|
destructive:
|
|
21
21
|
'bg-destructive/10 text-destructive hover:bg-destructive/15 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 focus-visible:border-destructive/40 dark:bg-destructive/20 dark:hover:bg-destructive/30',
|
|
22
|
-
link: 'text-primary underline-offset-4 hover:underline',
|
|
22
|
+
link: 'text-primary underline-offset-4 hover:underline px-0',
|
|
23
23
|
},
|
|
24
24
|
width: {
|
|
25
25
|
auto: '',
|
|
@@ -63,8 +63,8 @@ function PageHeader({ title, actions, breadcrumbs, backHref, backLabel = 'Back',
|
|
|
63
63
|
) : null}
|
|
64
64
|
|
|
65
65
|
{/* Main header row */}
|
|
66
|
-
<div className="flex items-center justify-between gap-4 min-w-0">
|
|
67
|
-
<div className="min-w-0
|
|
66
|
+
<div className="flex flex-wrap items-center justify-between gap-x-4 gap-y-2 min-w-0">
|
|
67
|
+
<div className="min-w-0">
|
|
68
68
|
<Heading level="1">{title}</Heading>
|
|
69
69
|
</div>
|
|
70
70
|
{resolvedActions && (
|