Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -6,14 +6,22 @@ interface Props {
children: React.ReactNode;
className?: string;
size?: "xs" | "sm" | "md" | "lg";
tone?: "default" | "danger";
}
export default function SettingSection({
title,
description,
children,
className = "border border-border-default dark:border-border-default/50 shadow-2xs px-4 py-5 bg-surface-neutral-primary sm:p-6 rounded-md",
className,
size = "md",
tone = "default",
}: Props) {
const cardClassName =
className ??
(tone === "danger"
? "border border-red-200 shadow-2xs px-4 py-5 bg-red-50 sm:p-6 rounded-md"
: "border border-border-default dark:border-border-default/50 shadow-2xs px-4 py-5 bg-surface-neutral-primary sm:p-6 rounded-md");
return (
<div
className={clsx(
@@ -25,14 +33,14 @@ export default function SettingSection({
>
<div className={clsx(size === "sm" && "md:col-span-1", size === "md" && "md:col-span-1", size === "lg" && "md:col-span-1")}>
<div className="sm:px-0">
<h3 className="text-text-neutral-primary text-lg font-medium leading-6">{title}</h3>
<div className="text-text-neutral-tertiary mt-1 text-sm leading-5">{description}</div>
<h3 className={clsx("text-lg font-medium leading-6", tone === "danger" ? "text-red-700" : "text-text-neutral-primary")}>{title}</h3>
<div className={clsx("mt-1 text-sm leading-5", tone === "danger" ? "text-red-600" : "text-text-neutral-tertiary")}>{description}</div>
</div>
</div>
<div className={clsx("mt-5 md:mt-0", size === "sm" && "md:col-span-1", size === "md" && "md:col-span-2", size === "lg" && "md:col-span-3")}>
<div>
<div className="sm:rounded-sm">
<div className={className}>{children}</div>
<div className={cardClassName}>{children}</div>
</div>
</div>
</div>