@betterstart/cli 0.1.76 → 0.1.78
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
|
@@ -65,14 +65,14 @@ export async function CmsSidebar(props: React.ComponentProps<typeof Sidebar>) {
|
|
|
65
65
|
<div className="flex items-center gap-2 w-full relative h-full">
|
|
66
66
|
<Link href="/cms" className="flex items-center gap-2 w-full">
|
|
67
67
|
<Avatar className="size-8">
|
|
68
|
-
<AvatarImage src={settings?.
|
|
68
|
+
<AvatarImage src={settings?.dashboardLogo || "https://assets.betterstart.dev/assets/betterstart-logo.svg"} />
|
|
69
69
|
<AvatarFallback className="text-sm font-semibold text-foreground">
|
|
70
|
-
{settings?.
|
|
70
|
+
{settings?.dashboardName?.charAt(0) ?? cms.name?.charAt(0)}
|
|
71
71
|
</AvatarFallback>
|
|
72
72
|
</Avatar>
|
|
73
73
|
<div className="flex text-foreground items-center gap-1 w-full group-data-[collapsible=icon]:hidden">
|
|
74
74
|
<span className="text-sm font-medium line-clamp-1">
|
|
75
|
-
{settings?.
|
|
75
|
+
{settings?.dashboardName ?? cms.name}
|
|
76
76
|
</span>
|
|
77
77
|
</div>
|
|
78
78
|
</Link>
|
package/templates/ui/button.tsx
CHANGED
|
@@ -5,7 +5,7 @@ import { Slot } from "radix-ui"
|
|
|
5
5
|
import { cn } from "@cms/utils/cn"
|
|
6
6
|
|
|
7
7
|
const buttonVariants = cva(
|
|
8
|
-
"group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4
|
|
8
|
+
"group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
9
9
|
{
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
package/templates/ui/card.tsx
CHANGED
|
@@ -84,7 +84,7 @@ function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
|
|
|
84
84
|
<div
|
|
85
85
|
data-slot="card-footer"
|
|
86
86
|
className={cn(
|
|
87
|
-
"flex items-center border-t bg-muted/50 px-6
|
|
87
|
+
"flex items-center border-t bg-muted/50 px-6 pt-4 pb-4.5 group-data-[size=sm]/card:p-3",
|
|
88
88
|
className
|
|
89
89
|
)}
|
|
90
90
|
{...props}
|