@gradeui/ui 0.5.3 → 0.7.0

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/dist/index.d.mts CHANGED
@@ -26,13 +26,63 @@ declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<Accordion
26
26
  declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
27
27
 
28
28
  declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
29
- variant?: "default" | "destructive" | "success" | "warning" | "info" | "highlight" | null | undefined;
29
+ variant?: "destructive" | "success" | "warning" | "info" | "highlight" | "default" | null | undefined;
30
30
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
31
31
  declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
32
32
  declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
33
33
 
34
+ /**
35
+ * AppShell — top-level page scaffold for an app-like layout.
36
+ *
37
+ * The Studio was missing a named "app layout" primitive — without one,
38
+ * agent-generated pages either freestyle grids or reinvent the nav-plus-
39
+ * content structure every time. AppShell gives them one component with a
40
+ * small, bounded set of layout variants so vibe-coded prototypes land in a
41
+ * recognisable shape: a nav region (top, side, or none) plus a main region
42
+ * that optionally constrains its content width.
43
+ *
44
+ * It is deliberately *just* structure: no collapse state, no context, no
45
+ * runtime JS. Nav content is whatever the caller drops in — a SideMenu,
46
+ * a TopMenu, or a hand-rolled `<nav>`. Keeping it dumb means it renders
47
+ * fine on the server and can be styled by consumers without fighting a
48
+ * behaviour model.
49
+ *
50
+ * Variants:
51
+ * - `nav` — "none" | "top" | "side". Chooses the grid structure.
52
+ * - `maxWidth` — "full" | "container". Caps the main region width for
53
+ * marketing-style pages without the caller having to wrap
54
+ * their content in a max-w-* div.
55
+ * - `sticky` — boolean. Sticks top nav to the viewport top / side nav
56
+ * to the viewport when the page scrolls. Sensible default
57
+ * for app chrome.
58
+ */
59
+ declare const shellVariants: (props?: ({
60
+ nav?: "none" | "top" | "side" | null | undefined;
61
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
62
+ declare const navVariants: (props?: ({
63
+ placement?: "none" | "top" | "side" | null | undefined;
64
+ sticky?: boolean | null | undefined;
65
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
66
+ declare const mainVariants: (props?: ({
67
+ maxWidth?: "container" | "full" | null | undefined;
68
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
69
+ interface AppShellProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof shellVariants> {
70
+ /** Render as the single child element via Radix Slot — lets you stamp the
71
+ * shell layout onto an existing root tag without an extra wrapper. */
72
+ asChild?: boolean;
73
+ }
74
+ declare const AppShell: React$1.ForwardRefExoticComponent<AppShellProps & React$1.RefAttributes<HTMLDivElement>>;
75
+ interface AppShellNavProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof navVariants> {
76
+ asChild?: boolean;
77
+ }
78
+ declare const AppShellNav: React$1.ForwardRefExoticComponent<AppShellNavProps & React$1.RefAttributes<HTMLElement>>;
79
+ interface AppShellMainProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof mainVariants> {
80
+ asChild?: boolean;
81
+ }
82
+ declare const AppShellMain: React$1.ForwardRefExoticComponent<AppShellMainProps & React$1.RefAttributes<HTMLElement>>;
83
+
34
84
  declare const badgeVariants: (props?: ({
35
- variant?: "default" | "destructive" | "success" | "warning" | "info" | "highlight" | "secondary" | "outline" | "success-soft" | "warning-soft" | "destructive-soft" | "info-soft" | "highlight-soft" | "success-outline" | "warning-outline" | "destructive-outline" | "info-outline" | null | undefined;
85
+ variant?: "secondary" | "destructive" | "success" | "warning" | "info" | "highlight" | "default" | "outline" | "success-soft" | "warning-soft" | "destructive-soft" | "info-soft" | "highlight-soft" | "success-outline" | "warning-outline" | "destructive-outline" | "info-outline" | null | undefined;
36
86
  rounded?: "default" | "full" | null | undefined;
37
87
  } & class_variance_authority_types.ClassProp) | undefined) => string;
38
88
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
@@ -40,8 +90,8 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProp
40
90
  declare function Badge({ className, variant, rounded, ...props }: BadgeProps): React$1.JSX.Element;
41
91
 
42
92
  declare const buttonVariants: (props?: ({
43
- variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
44
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
93
+ variant?: "link" | "secondary" | "destructive" | "default" | "outline" | "ghost" | null | undefined;
94
+ size?: "lg" | "sm" | "default" | "icon" | null | undefined;
45
95
  } & class_variance_authority_types.ClassProp) | undefined) => string;
46
96
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
47
97
  asChild?: boolean;
@@ -183,6 +233,34 @@ declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive
183
233
  declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
184
234
  declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
185
235
 
236
+ /**
237
+ * Row — horizontal layout primitive.
238
+ *
239
+ * The partner to Stack. Use for button groups, inline form layouts,
240
+ * split hero/logo rows, anything on one line. The default `align="center"`
241
+ * matches what most real rows want — vertically-centred icon-plus-text,
242
+ * centred button groups. `justify` covers the main-axis distribution
243
+ * explicitly so the agent doesn't reach for `ml-auto` to push things
244
+ * apart.
245
+ *
246
+ * Distinct from a two-pane Split: Row is for evenly flowing children
247
+ * with a shared gap; Split enforces an explicit pane ratio (1/3 + 2/3
248
+ * etc.) and is a separate primitive.
249
+ */
250
+ declare const rowVariants: (props?: ({
251
+ gap?: "lg" | "md" | "sm" | "none" | "xs" | "xl" | "2xl" | null | undefined;
252
+ align?: "center" | "end" | "start" | "stretch" | "baseline" | null | undefined;
253
+ justify?: "center" | "end" | "start" | "between" | "around" | "evenly" | null | undefined;
254
+ wrap?: boolean | null | undefined;
255
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
256
+ interface RowProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof rowVariants> {
257
+ /** When true, render as the single child element via Radix Slot — lets
258
+ * you stamp Row's layout classes onto an existing semantic tag without
259
+ * nesting an extra `<div>`. */
260
+ asChild?: boolean;
261
+ }
262
+ declare const Row: React$1.ForwardRefExoticComponent<RowProps & React$1.RefAttributes<HTMLDivElement>>;
263
+
186
264
  declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
187
265
  declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
188
266
 
@@ -205,7 +283,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
205
283
  declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
206
284
  declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
207
285
  declare const sheetVariants: (props?: ({
208
- side?: "left" | "right" | "top" | "bottom" | null | undefined;
286
+ side?: "top" | "left" | "right" | "bottom" | null | undefined;
209
287
  } & class_variance_authority_types.ClassProp) | undefined) => string;
210
288
  interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
211
289
  }
@@ -225,6 +303,32 @@ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivE
225
303
 
226
304
  declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
227
305
 
306
+ /**
307
+ * Stack — vertical layout primitive.
308
+ *
309
+ * Reach for this as the default top-level wrapper inside the Studio main
310
+ * slot when composing multiple regions (hero + content + footer). The
311
+ * point is to stop the agent from freestyling `flex flex-col gap-6`
312
+ * inline on every generation — a named layout component with a bounded
313
+ * gap scale gives the Studio settings panel something to mutate, and
314
+ * keeps vertical rhythm consistent across designs.
315
+ *
316
+ * Cross-axis default is `stretch` so Sections/Cards fill the container
317
+ * width, which is what 95% of callers want. Override with `align="center"`
318
+ * for a centred narrow column (auth cards, marketing copy).
319
+ */
320
+ declare const stackVariants: (props?: ({
321
+ gap?: "lg" | "md" | "sm" | "none" | "xs" | "xl" | "2xl" | null | undefined;
322
+ align?: "center" | "end" | "start" | "stretch" | null | undefined;
323
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
324
+ interface StackProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
325
+ /** When true, render as the single child element via Radix Slot — lets
326
+ * you stamp Stack's layout classes onto an existing semantic tag
327
+ * (`<section>`, `<main>`, `<nav>`) without nesting an extra `<div>`. */
328
+ asChild?: boolean;
329
+ }
330
+ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
331
+
228
332
  declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
229
333
 
230
334
  declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
@@ -1269,4 +1373,4 @@ declare function GradeModeSwitcher({ className, variant }: GradeModeSwitcherProp
1269
1373
  */
1270
1374
  declare function ThemeToggle(): React$1.JSX.Element;
1271
1375
 
1272
- export { ALL_MODES, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, BUILT_IN_INPUTS, Badge, type BaseMediaProps, type BreadcrumbItem, Button, type ButtonShape, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardStyle, CardTitle, type ChartPalette, Checkbox, type ColorIntensity, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FRAGMENT_HEADER, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, Input, type InputStyle, Label, LenisProvider, type MediaAspect, type MediaRadius, MediaSurface, type MediaSurfaceProps, type ModeName, type OKLCHTriplet, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostPreset, Progress, RadioGroup, RadioGroupItem, type RadiusStyle, type Ramp, RivePlayer, type RivePlayerProps, type SceneContext, type SceneFactory, type SceneHandle, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShaderCompileError, type ShaderPreset, ShaderPresetPicker, type ShaderPresetPickerProps, ShaderPresetPreview, type ShaderPresetPreviewProps, type ShadowIntensity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SideMenu, type SideMenuItem, type SideMenuProps, type SideMenuSection, type SimpleTab, SimpleTabs, SimpleTabsContent, SimpleTabsList, type SimpleTabsListProps, SimpleTabsPanel, type SimpleTabsPanelProps, type SimpleTabsProps, SimpleTabsRoot, type SimpleTabsRootProps, SimpleTabsTrigger, type SimpleTabsTriggerProps, Skeleton, Slider, type SpacingDensity, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ThemeInput, ThemeToggle, ThreeScene, type ThreeSceneProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopMenu, type TopMenuProps, TopMenuUser, TopMenuUserItem, type TopMenuUserItemProps, type TopMenuUserProps, TopMenuUserSection, type TypeScalePreset, VideoPlayer, type VideoPlayerProps, applyThemeToRoot, badgeVariants, buildFragmentShaderScene, builtInThemes, buttonVariants, calmInput, cn, defaultPostPreset, defaultThemeId, deleteUserTheme, duplicateTheme, energyInput, generateTheme, getTheme, listThemes, listUserThemes, loadUserThemeInput, postPresets, saveUserTheme, sceneRegistry, shaderPresetById, shaderPresets, themeToCSSVars, useGradeTheme, useMaybeGradeTheme, usePrefersReducedMotion };
1376
+ export { ALL_MODES, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AppShell, AppShellMain, type AppShellMainProps, AppShellNav, type AppShellNavProps, type AppShellProps, BUILT_IN_INPUTS, Badge, type BaseMediaProps, type BreadcrumbItem, Button, type ButtonShape, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardStyle, CardTitle, type ChartPalette, Checkbox, type ColorIntensity, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FRAGMENT_HEADER, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, Input, type InputStyle, Label, LenisProvider, type MediaAspect, type MediaRadius, MediaSurface, type MediaSurfaceProps, type ModeName, type OKLCHTriplet, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostPreset, Progress, RadioGroup, RadioGroupItem, type RadiusStyle, type Ramp, RivePlayer, type RivePlayerProps, Row, type RowProps, type SceneContext, type SceneFactory, type SceneHandle, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShaderCompileError, type ShaderPreset, ShaderPresetPicker, type ShaderPresetPickerProps, ShaderPresetPreview, type ShaderPresetPreviewProps, type ShadowIntensity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SideMenu, type SideMenuItem, type SideMenuProps, type SideMenuSection, type SimpleTab, SimpleTabs, SimpleTabsContent, SimpleTabsList, type SimpleTabsListProps, SimpleTabsPanel, type SimpleTabsPanelProps, type SimpleTabsProps, SimpleTabsRoot, type SimpleTabsRootProps, SimpleTabsTrigger, type SimpleTabsTriggerProps, Skeleton, Slider, type SpacingDensity, Stack, type StackProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ThemeInput, ThemeToggle, ThreeScene, type ThreeSceneProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopMenu, type TopMenuProps, TopMenuUser, TopMenuUserItem, type TopMenuUserItemProps, type TopMenuUserProps, TopMenuUserSection, type TypeScalePreset, VideoPlayer, type VideoPlayerProps, mainVariants as appShellMainVariants, navVariants as appShellNavVariants, applyThemeToRoot, badgeVariants, buildFragmentShaderScene, builtInThemes, buttonVariants, calmInput, cn, defaultPostPreset, defaultThemeId, deleteUserTheme, duplicateTheme, energyInput, generateTheme, getTheme, listThemes, listUserThemes, loadUserThemeInput, postPresets, rowVariants, saveUserTheme, sceneRegistry, shaderPresetById, shaderPresets, shellVariants, stackVariants, themeToCSSVars, useGradeTheme, useMaybeGradeTheme, usePrefersReducedMotion };
package/dist/index.d.ts CHANGED
@@ -26,13 +26,63 @@ declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<Accordion
26
26
  declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
27
27
 
28
28
  declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
29
- variant?: "default" | "destructive" | "success" | "warning" | "info" | "highlight" | null | undefined;
29
+ variant?: "destructive" | "success" | "warning" | "info" | "highlight" | "default" | null | undefined;
30
30
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
31
31
  declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
32
32
  declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
33
33
 
34
+ /**
35
+ * AppShell — top-level page scaffold for an app-like layout.
36
+ *
37
+ * The Studio was missing a named "app layout" primitive — without one,
38
+ * agent-generated pages either freestyle grids or reinvent the nav-plus-
39
+ * content structure every time. AppShell gives them one component with a
40
+ * small, bounded set of layout variants so vibe-coded prototypes land in a
41
+ * recognisable shape: a nav region (top, side, or none) plus a main region
42
+ * that optionally constrains its content width.
43
+ *
44
+ * It is deliberately *just* structure: no collapse state, no context, no
45
+ * runtime JS. Nav content is whatever the caller drops in — a SideMenu,
46
+ * a TopMenu, or a hand-rolled `<nav>`. Keeping it dumb means it renders
47
+ * fine on the server and can be styled by consumers without fighting a
48
+ * behaviour model.
49
+ *
50
+ * Variants:
51
+ * - `nav` — "none" | "top" | "side". Chooses the grid structure.
52
+ * - `maxWidth` — "full" | "container". Caps the main region width for
53
+ * marketing-style pages without the caller having to wrap
54
+ * their content in a max-w-* div.
55
+ * - `sticky` — boolean. Sticks top nav to the viewport top / side nav
56
+ * to the viewport when the page scrolls. Sensible default
57
+ * for app chrome.
58
+ */
59
+ declare const shellVariants: (props?: ({
60
+ nav?: "none" | "top" | "side" | null | undefined;
61
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
62
+ declare const navVariants: (props?: ({
63
+ placement?: "none" | "top" | "side" | null | undefined;
64
+ sticky?: boolean | null | undefined;
65
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
66
+ declare const mainVariants: (props?: ({
67
+ maxWidth?: "container" | "full" | null | undefined;
68
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
69
+ interface AppShellProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof shellVariants> {
70
+ /** Render as the single child element via Radix Slot — lets you stamp the
71
+ * shell layout onto an existing root tag without an extra wrapper. */
72
+ asChild?: boolean;
73
+ }
74
+ declare const AppShell: React$1.ForwardRefExoticComponent<AppShellProps & React$1.RefAttributes<HTMLDivElement>>;
75
+ interface AppShellNavProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof navVariants> {
76
+ asChild?: boolean;
77
+ }
78
+ declare const AppShellNav: React$1.ForwardRefExoticComponent<AppShellNavProps & React$1.RefAttributes<HTMLElement>>;
79
+ interface AppShellMainProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof mainVariants> {
80
+ asChild?: boolean;
81
+ }
82
+ declare const AppShellMain: React$1.ForwardRefExoticComponent<AppShellMainProps & React$1.RefAttributes<HTMLElement>>;
83
+
34
84
  declare const badgeVariants: (props?: ({
35
- variant?: "default" | "destructive" | "success" | "warning" | "info" | "highlight" | "secondary" | "outline" | "success-soft" | "warning-soft" | "destructive-soft" | "info-soft" | "highlight-soft" | "success-outline" | "warning-outline" | "destructive-outline" | "info-outline" | null | undefined;
85
+ variant?: "secondary" | "destructive" | "success" | "warning" | "info" | "highlight" | "default" | "outline" | "success-soft" | "warning-soft" | "destructive-soft" | "info-soft" | "highlight-soft" | "success-outline" | "warning-outline" | "destructive-outline" | "info-outline" | null | undefined;
36
86
  rounded?: "default" | "full" | null | undefined;
37
87
  } & class_variance_authority_types.ClassProp) | undefined) => string;
38
88
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
@@ -40,8 +90,8 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProp
40
90
  declare function Badge({ className, variant, rounded, ...props }: BadgeProps): React$1.JSX.Element;
41
91
 
42
92
  declare const buttonVariants: (props?: ({
43
- variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
44
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
93
+ variant?: "link" | "secondary" | "destructive" | "default" | "outline" | "ghost" | null | undefined;
94
+ size?: "lg" | "sm" | "default" | "icon" | null | undefined;
45
95
  } & class_variance_authority_types.ClassProp) | undefined) => string;
46
96
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
47
97
  asChild?: boolean;
@@ -183,6 +233,34 @@ declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive
183
233
  declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
184
234
  declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
185
235
 
236
+ /**
237
+ * Row — horizontal layout primitive.
238
+ *
239
+ * The partner to Stack. Use for button groups, inline form layouts,
240
+ * split hero/logo rows, anything on one line. The default `align="center"`
241
+ * matches what most real rows want — vertically-centred icon-plus-text,
242
+ * centred button groups. `justify` covers the main-axis distribution
243
+ * explicitly so the agent doesn't reach for `ml-auto` to push things
244
+ * apart.
245
+ *
246
+ * Distinct from a two-pane Split: Row is for evenly flowing children
247
+ * with a shared gap; Split enforces an explicit pane ratio (1/3 + 2/3
248
+ * etc.) and is a separate primitive.
249
+ */
250
+ declare const rowVariants: (props?: ({
251
+ gap?: "lg" | "md" | "sm" | "none" | "xs" | "xl" | "2xl" | null | undefined;
252
+ align?: "center" | "end" | "start" | "stretch" | "baseline" | null | undefined;
253
+ justify?: "center" | "end" | "start" | "between" | "around" | "evenly" | null | undefined;
254
+ wrap?: boolean | null | undefined;
255
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
256
+ interface RowProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof rowVariants> {
257
+ /** When true, render as the single child element via Radix Slot — lets
258
+ * you stamp Row's layout classes onto an existing semantic tag without
259
+ * nesting an extra `<div>`. */
260
+ asChild?: boolean;
261
+ }
262
+ declare const Row: React$1.ForwardRefExoticComponent<RowProps & React$1.RefAttributes<HTMLDivElement>>;
263
+
186
264
  declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
187
265
  declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
188
266
 
@@ -205,7 +283,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
205
283
  declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
206
284
  declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
207
285
  declare const sheetVariants: (props?: ({
208
- side?: "left" | "right" | "top" | "bottom" | null | undefined;
286
+ side?: "top" | "left" | "right" | "bottom" | null | undefined;
209
287
  } & class_variance_authority_types.ClassProp) | undefined) => string;
210
288
  interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
211
289
  }
@@ -225,6 +303,32 @@ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivE
225
303
 
226
304
  declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
227
305
 
306
+ /**
307
+ * Stack — vertical layout primitive.
308
+ *
309
+ * Reach for this as the default top-level wrapper inside the Studio main
310
+ * slot when composing multiple regions (hero + content + footer). The
311
+ * point is to stop the agent from freestyling `flex flex-col gap-6`
312
+ * inline on every generation — a named layout component with a bounded
313
+ * gap scale gives the Studio settings panel something to mutate, and
314
+ * keeps vertical rhythm consistent across designs.
315
+ *
316
+ * Cross-axis default is `stretch` so Sections/Cards fill the container
317
+ * width, which is what 95% of callers want. Override with `align="center"`
318
+ * for a centred narrow column (auth cards, marketing copy).
319
+ */
320
+ declare const stackVariants: (props?: ({
321
+ gap?: "lg" | "md" | "sm" | "none" | "xs" | "xl" | "2xl" | null | undefined;
322
+ align?: "center" | "end" | "start" | "stretch" | null | undefined;
323
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
324
+ interface StackProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
325
+ /** When true, render as the single child element via Radix Slot — lets
326
+ * you stamp Stack's layout classes onto an existing semantic tag
327
+ * (`<section>`, `<main>`, `<nav>`) without nesting an extra `<div>`. */
328
+ asChild?: boolean;
329
+ }
330
+ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
331
+
228
332
  declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
229
333
 
230
334
  declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
@@ -1269,4 +1373,4 @@ declare function GradeModeSwitcher({ className, variant }: GradeModeSwitcherProp
1269
1373
  */
1270
1374
  declare function ThemeToggle(): React$1.JSX.Element;
1271
1375
 
1272
- export { ALL_MODES, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, BUILT_IN_INPUTS, Badge, type BaseMediaProps, type BreadcrumbItem, Button, type ButtonShape, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardStyle, CardTitle, type ChartPalette, Checkbox, type ColorIntensity, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FRAGMENT_HEADER, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, Input, type InputStyle, Label, LenisProvider, type MediaAspect, type MediaRadius, MediaSurface, type MediaSurfaceProps, type ModeName, type OKLCHTriplet, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostPreset, Progress, RadioGroup, RadioGroupItem, type RadiusStyle, type Ramp, RivePlayer, type RivePlayerProps, type SceneContext, type SceneFactory, type SceneHandle, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShaderCompileError, type ShaderPreset, ShaderPresetPicker, type ShaderPresetPickerProps, ShaderPresetPreview, type ShaderPresetPreviewProps, type ShadowIntensity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SideMenu, type SideMenuItem, type SideMenuProps, type SideMenuSection, type SimpleTab, SimpleTabs, SimpleTabsContent, SimpleTabsList, type SimpleTabsListProps, SimpleTabsPanel, type SimpleTabsPanelProps, type SimpleTabsProps, SimpleTabsRoot, type SimpleTabsRootProps, SimpleTabsTrigger, type SimpleTabsTriggerProps, Skeleton, Slider, type SpacingDensity, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ThemeInput, ThemeToggle, ThreeScene, type ThreeSceneProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopMenu, type TopMenuProps, TopMenuUser, TopMenuUserItem, type TopMenuUserItemProps, type TopMenuUserProps, TopMenuUserSection, type TypeScalePreset, VideoPlayer, type VideoPlayerProps, applyThemeToRoot, badgeVariants, buildFragmentShaderScene, builtInThemes, buttonVariants, calmInput, cn, defaultPostPreset, defaultThemeId, deleteUserTheme, duplicateTheme, energyInput, generateTheme, getTheme, listThemes, listUserThemes, loadUserThemeInput, postPresets, saveUserTheme, sceneRegistry, shaderPresetById, shaderPresets, themeToCSSVars, useGradeTheme, useMaybeGradeTheme, usePrefersReducedMotion };
1376
+ export { ALL_MODES, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AppShell, AppShellMain, type AppShellMainProps, AppShellNav, type AppShellNavProps, type AppShellProps, BUILT_IN_INPUTS, Badge, type BaseMediaProps, type BreadcrumbItem, Button, type ButtonShape, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardStyle, CardTitle, type ChartPalette, Checkbox, type ColorIntensity, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FRAGMENT_HEADER, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, Input, type InputStyle, Label, LenisProvider, type MediaAspect, type MediaRadius, MediaSurface, type MediaSurfaceProps, type ModeName, type OKLCHTriplet, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostPreset, Progress, RadioGroup, RadioGroupItem, type RadiusStyle, type Ramp, RivePlayer, type RivePlayerProps, Row, type RowProps, type SceneContext, type SceneFactory, type SceneHandle, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShaderCompileError, type ShaderPreset, ShaderPresetPicker, type ShaderPresetPickerProps, ShaderPresetPreview, type ShaderPresetPreviewProps, type ShadowIntensity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SideMenu, type SideMenuItem, type SideMenuProps, type SideMenuSection, type SimpleTab, SimpleTabs, SimpleTabsContent, SimpleTabsList, type SimpleTabsListProps, SimpleTabsPanel, type SimpleTabsPanelProps, type SimpleTabsProps, SimpleTabsRoot, type SimpleTabsRootProps, SimpleTabsTrigger, type SimpleTabsTriggerProps, Skeleton, Slider, type SpacingDensity, Stack, type StackProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ThemeInput, ThemeToggle, ThreeScene, type ThreeSceneProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopMenu, type TopMenuProps, TopMenuUser, TopMenuUserItem, type TopMenuUserItemProps, type TopMenuUserProps, TopMenuUserSection, type TypeScalePreset, VideoPlayer, type VideoPlayerProps, mainVariants as appShellMainVariants, navVariants as appShellNavVariants, applyThemeToRoot, badgeVariants, buildFragmentShaderScene, builtInThemes, buttonVariants, calmInput, cn, defaultPostPreset, defaultThemeId, deleteUserTheme, duplicateTheme, energyInput, generateTheme, getTheme, listThemes, listUserThemes, loadUserThemeInput, postPresets, rowVariants, saveUserTheme, sceneRegistry, shaderPresetById, shaderPresets, shellVariants, stackVariants, themeToCSSVars, useGradeTheme, useMaybeGradeTheme, usePrefersReducedMotion };