Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -1,4 +1,4 @@
import type { ReactNode } from "react";
import type { ComponentProps, ReactNode } from "react";
import { twClassNames } from "~/ui/utils";
import { Card } from "~/ui/components/Card";
import { IconWithBackground } from "~/ui/components/IconWithBackground";
@@ -9,9 +9,9 @@ type CardSize = "small" | "medium" | "large" | "extra-large";
type SubtitleVariant = "regular-0" | "regular-150" | "medium-150";
const SUBTITLE_CLS: Record<SubtitleVariant, string> = {
"regular-0": "text-body-small-regular-0 font-body-small-regular-0 text-text-neutral-tertiary",
"regular-150": "text-body-small-regular-150 font-body-small-regular-150 text-text-neutral-tertiary",
"medium-150": "text-body-small-medium-150 font-body-small-medium-150 text-text-neutral-tertiary",
"regular-0": "text-body-small-regular-0 font-body-small-regular-0 text-text-neutral-secondary",
"regular-150": "text-body-small-regular-150 font-body-small-regular-150 text-text-neutral-secondary",
"medium-150": "text-body-small-medium-150 font-body-small-medium-150 text-text-neutral-secondary",
};
// Gemeinsames Auth-Layout nach Davids WF-P2-Subframe-Auth-Screens (Login/Signup/Reset/2FA/Magic-Link):
@@ -30,6 +30,7 @@ export function AuthShell({
cardClassName = "max-w-[448px]",
showLogo = true,
logoIconOnly = false,
logoSize = "64",
titleAlign = "center",
headerGap = "gap-1.5",
subtitleVariant = "regular-150",
@@ -47,6 +48,8 @@ export function AuthShell({
showLogo?: boolean;
/** Icon-only-Logo (wie Davids Auth-Screens, Logo size=64 hideText) statt vollem Wortmarken-Logo. */
logoIconOnly?: boolean;
/** Visuelle Logo-Groesse. Auth-Defaults bleiben bei 64; breite Mehrschritt-Flows duerfen kompakter sein. */
logoSize?: ComponentProps<typeof Logo>["size"];
/** Titel-/Untertitel-Ausrichtung. David: Login=center, Signup/Forgot/Reset/2FA=start. */
titleAlign?: "center" | "start";
/** Abstand Titel<->Untertitel. David: S01 Login = gap-1.5, sonst gap-1. */
@@ -60,7 +63,7 @@ export function AuthShell({
className="flex min-h-screen w-full flex-col items-center justify-center gap-8 bg-surface-neutral-primary px-4 py-12 mobile:gap-6 mobile:py-6"
data-ui-id={dataUiId}
>
{showLogo ? <Logo size="64" showIcon={logoIconOnly || undefined} hideText={logoIconOnly || undefined} /> : null}
{showLogo ? <Logo size={logoSize} showIcon={logoIconOnly || undefined} hideText={logoIconOnly || undefined} /> : null}
<Card size={cardSize} variant="default" className={twClassNames("items-stretch", cardClassName)}>
<div className={twClassNames("flex w-full flex-col", headerGap, titleAlign === "center" ? "items-center" : "items-start")}>
<h1 className="text-heading- font-heading- text-text-neutral-primary">{title}</h1>
@@ -130,7 +133,7 @@ export function AuthDivider({ label, labelSize = "small" }: { label: ReactNode;
<div className="flex h-px grow shrink-0 basis-0 flex-col items-center bg-border-default" />
<span
className={twClassNames(
"text-body-small-regular-0 font-body-small-regular-0 text-text-neutral-tertiary",
"text-body-small-regular-0 font-body-small-regular-0 text-text-neutral-secondary",
{
"text-body-extra-small-regular-150 font-body-extra-small-regular-150":
labelSize === "extra-small",