@gradeui/ui 4.0.0 → 4.1.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.ts CHANGED
@@ -191,14 +191,14 @@ declare const MediaSurfaceContract: _gradeui_contracts.ComponentContract<{
191
191
  description: z.ZodOptional<z.ZodString>;
192
192
  }, "strip", z.ZodTypeAny, {
193
193
  kind: "book";
194
- description?: string | undefined;
195
194
  title?: string | undefined;
195
+ description?: string | undefined;
196
196
  author?: string | undefined;
197
197
  isbn?: string | undefined;
198
198
  }, {
199
199
  kind: "book";
200
- description?: string | undefined;
201
200
  title?: string | undefined;
201
+ description?: string | undefined;
202
202
  author?: string | undefined;
203
203
  isbn?: string | undefined;
204
204
  }>, z.ZodObject<{
@@ -443,7 +443,7 @@ declare const CalloutDescription: React.ForwardRefExoticComponent<React.HTMLAttr
443
443
  declare const shellVariants: (props?: ({
444
444
  nav?: "none" | "top" | "side" | "three-pane" | null | undefined;
445
445
  } & class_variance_authority_types.ClassProp) | undefined) => string;
446
- declare const headerVariants: (props?: ({
446
+ declare const headerVariants$1: (props?: ({
447
447
  sticky?: boolean | null | undefined;
448
448
  } & class_variance_authority_types.ClassProp) | undefined) => string;
449
449
  declare const navVariants: (props?: ({
@@ -463,7 +463,7 @@ interface AppShellProps extends React.HTMLAttributes<HTMLDivElement>, VariantPro
463
463
  asChild?: boolean;
464
464
  }
465
465
  declare const AppShell: React.ForwardRefExoticComponent<AppShellProps & React.RefAttributes<HTMLDivElement>>;
466
- interface AppShellHeaderProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants> {
466
+ interface AppShellHeaderProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants$1> {
467
467
  asChild?: boolean;
468
468
  }
469
469
  declare const AppShellHeader: React.ForwardRefExoticComponent<AppShellHeaderProps & React.RefAttributes<HTMLElement>>;
@@ -585,7 +585,7 @@ type Surface = "solid" | "translucent" | "glass" | "glass-strong" | "frosted";
585
585
  */
586
586
  declare const bannerVariants: (props?: ({
587
587
  variant?: "default" | "destructive" | "success" | "warning" | "info" | "announcement" | null | undefined;
588
- align?: "between" | "start" | "center" | null | undefined;
588
+ align?: "center" | "between" | "start" | null | undefined;
589
589
  sticky?: boolean | null | undefined;
590
590
  } & class_variance_authority_types.ClassProp) | undefined) => string;
591
591
  interface BannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof bannerVariants> {
@@ -647,8 +647,8 @@ declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAtt
647
647
  * consistent across primitives.
648
648
  */
649
649
  declare const buttonVariants: (props?: ({
650
- variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "raised" | null | undefined;
651
- size?: "2xs" | "xs" | "sm" | "md" | "lg" | "default" | null | undefined;
650
+ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "raised" | null | undefined;
651
+ size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | null | undefined;
652
652
  iconOnly?: boolean | null | undefined;
653
653
  } & class_variance_authority_types.ClassProp) | undefined) => string;
654
654
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -676,7 +676,7 @@ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAtt
676
676
  * Title / Subtitle / Description / Actions / Media) give the common shape
677
677
  * design intent without constraining it.
678
678
  */
679
- type SectionScope = "default" | "inverse" | "brand" | "accent" | "muted" | "card";
679
+ type SectionScope$1 = "default" | "inverse" | "brand" | "accent" | "muted" | "card";
680
680
  type ContainerMaxW = "sm" | "md" | "lg" | "xl" | "prose" | "full";
681
681
  declare const bandVariants: (props?: ({
682
682
  pad?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
@@ -684,7 +684,7 @@ declare const bandVariants: (props?: ({
684
684
  interface SectionProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof bandVariants> {
685
685
  /** Colour subtheme — applies the `scope-*` class (STUDIO-COLOR.md). Unset =
686
686
  * the page surface (transparent). */
687
- scope?: SectionScope;
687
+ scope?: SectionScope$1;
688
688
  /** Visual band background — image / video / gradient / shader (e.g.
689
689
  * `<BackgroundFill>`). Renders BEHIND the content; Section owns the
690
690
  * relative + overflow-hidden + z-layering. Works with `scope`, which
@@ -694,11 +694,11 @@ interface SectionProps extends React.HTMLAttributes<HTMLElement>, VariantProps<t
694
694
  as?: "section" | "header" | "footer" | "div";
695
695
  }
696
696
  declare const Section: React.ForwardRefExoticComponent<SectionProps & React.RefAttributes<HTMLElement>>;
697
- declare const containerVariants: (props?: ({
697
+ declare const containerVariants$1: (props?: ({
698
698
  maxW?: "sm" | "md" | "lg" | "xl" | "full" | "prose" | null | undefined;
699
699
  grid?: boolean | null | undefined;
700
700
  } & class_variance_authority_types.ClassProp) | undefined) => string;
701
- interface ContainerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants> {
701
+ interface ContainerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants$1> {
702
702
  as?: "div" | "section";
703
703
  }
704
704
  declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>;
@@ -712,6 +712,66 @@ declare const SectionActions: React.ForwardRefExoticComponent<React.HTMLAttribut
712
712
  * doesn't care what's inside; the media frames itself. */
713
713
  declare const SectionMedia: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
714
714
 
715
+ /** Named colour SCOPES (STUDIO-COLOR.md). A `scope` makes the section a local
716
+ * colour mode — like light/dark, but scoped to this element and focused on
717
+ * surfaces. It applies the matching `scope-*` class, which re-points the
718
+ * surface tokens (--background / --card / --muted / --foreground / --border)
719
+ * at the named pair, so every descendant re-tones while still using the
720
+ * ordinary tokens. `inverse` is the dark-band / light-text marketing scope. */
721
+ declare const SECTION_SCOPES: readonly ["default", "inverse", "brand", "accent", "muted", "card"];
722
+ type SectionScope = (typeof SECTION_SCOPES)[number];
723
+ declare const sectionBlockVariants: (props?: ({
724
+ padding?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
725
+ background?: "muted" | "primary" | "gradient" | "card" | "transparent" | "scoped" | null | undefined;
726
+ fullBleed?: boolean | null | undefined;
727
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
728
+ declare const containerVariants: (props?: ({
729
+ container?: "default" | "full" | "wide" | "narrow" | null | undefined;
730
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
731
+ declare const headerVariants: (props?: ({
732
+ alignment?: "center" | "right" | "left" | null | undefined;
733
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
734
+ declare const titleVariants: (props?: ({
735
+ titleSize?: "sm" | "md" | "lg" | "xl" | null | undefined;
736
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
737
+ type ButtonVariant = VariantProps<typeof buttonVariants>["variant"];
738
+ interface CTAConfig {
739
+ text: string;
740
+ variant?: ButtonVariant;
741
+ href?: string;
742
+ onClick?: () => void;
743
+ }
744
+ interface SectionBlockProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof sectionBlockVariants>, VariantProps<typeof containerVariants>, VariantProps<typeof headerVariants>, VariantProps<typeof titleVariants> {
745
+ /**
746
+ * What the section surface is *made of*. Orthogonal to `background`
747
+ * (which picks the tonal direction): `surface` picks the material
748
+ * applied on top.
749
+ *
750
+ * - `solid` (default): the `background` tint is opaque.
751
+ * - `translucent`: ~82% opacity, no blur — picks up the page underneath.
752
+ * - `glass`: ~58% opacity + 14px blur + edge highlight. Sections that
753
+ * sit over a hero image / generative backdrop and need to read as
754
+ * floating chrome.
755
+ * - `glass-strong`: 42% + 24px blur — for full-page-overlay sections.
756
+ *
757
+ * When `surface !== "solid"`, the `background` Tailwind classes still
758
+ * apply but get overlaid with the glass class so the alpha shows
759
+ * through the tint.
760
+ */
761
+ surface?: Surface;
762
+ /** Make the section a named colour scope (a local surface mode): applies the
763
+ * `scope-*` class so the whole subtree re-tones. Overrides `background`. */
764
+ scope?: SectionScope;
765
+ title?: string;
766
+ subtitle?: string;
767
+ cta1?: string | CTAConfig;
768
+ cta2?: string | CTAConfig;
769
+ backgroundImage?: string;
770
+ children?: React.ReactNode;
771
+ as?: "section" | "div" | "article";
772
+ }
773
+ declare const SectionBlock: React.ForwardRefExoticComponent<SectionBlockProps & React.RefAttributes<HTMLElement>>;
774
+
715
775
  declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
716
776
  buttonVariant?: React.ComponentProps<typeof Button>["variant"];
717
777
  }): React.JSX.Element;
@@ -1753,7 +1813,7 @@ declare const DropdownMenuShortcut: {
1753
1813
  * rationale.
1754
1814
  */
1755
1815
  declare const inputVariants: (props?: ({
1756
- size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
1816
+ size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
1757
1817
  variant?: "default" | "ghost" | null | undefined;
1758
1818
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1759
1819
  type InputSize = NonNullable<VariantProps<typeof inputVariants>["size"]>;
@@ -1774,7 +1834,7 @@ type InputProps = Omit<React.ComponentProps<"input">, "size"> & {
1774
1834
  declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
1775
1835
 
1776
1836
  declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
1777
- size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
1837
+ size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
1778
1838
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
1779
1839
 
1780
1840
  declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
@@ -2142,7 +2202,7 @@ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPri
2142
2202
  * </ResizablePanelGroup>
2143
2203
  */
2144
2204
  declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React.JSX.Element;
2145
- declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLSelectElement | HTMLTextAreaElement | HTMLMapElement | HTMLTitleElement | HTMLVideoElement | HTMLButtonElement | HTMLLinkElement | HTMLLabelElement | HTMLStyleElement | HTMLSourceElement | HTMLHtmlElement | HTMLDataElement | HTMLOptionElement | HTMLTableColElement | HTMLAudioElement | HTMLEmbedElement | HTMLProgressElement | HTMLHRElement | HTMLTableElement | HTMLAnchorElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSpanElement | HTMLUListElement | HTMLAreaElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLFieldSetElement | HTMLHeadElement | HTMLIFrameElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOutputElement | HTMLPreElement | HTMLSlotElement | HTMLScriptElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
2205
+ declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadElement | HTMLElement | HTMLLinkElement | HTMLDivElement | HTMLObjectElement | HTMLAnchorElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLButtonElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLSpanElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
2146
2206
  className?: string | undefined;
2147
2207
  collapsedSize?: number | undefined;
2148
2208
  collapsible?: boolean | undefined;
@@ -2182,8 +2242,8 @@ declare const ResizableHandle: ({ withHandle, className, ...props }: React.Compo
2182
2242
  */
2183
2243
  declare const rowVariants: (props?: ({
2184
2244
  gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
2185
- align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
2186
- justify?: "between" | "start" | "center" | "end" | "around" | "evenly" | null | undefined;
2245
+ align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
2246
+ justify?: "center" | "between" | "start" | "end" | "around" | "evenly" | null | undefined;
2187
2247
  wrap?: boolean | null | undefined;
2188
2248
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2189
2249
  interface RowProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof rowVariants> {
@@ -2218,7 +2278,7 @@ declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttribute
2218
2278
  declare const gridVariants: (props?: ({
2219
2279
  cols?: "1" | "2" | "3" | "4" | "5" | "6" | "12" | null | undefined;
2220
2280
  gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
2221
- align?: "start" | "center" | "end" | "stretch" | null | undefined;
2281
+ align?: "center" | "start" | "end" | "stretch" | null | undefined;
2222
2282
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2223
2283
  interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
2224
2284
  /** When true, render as the single child element via Radix Slot — lets
@@ -2250,10 +2310,10 @@ declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttribu
2250
2310
  * case. Flex is the escape hatch, not the default.
2251
2311
  */
2252
2312
  declare const flexVariants: (props?: ({
2253
- direction?: "row" | "col" | "row-reverse" | "col-reverse" | null | undefined;
2313
+ direction?: "col" | "row" | "row-reverse" | "col-reverse" | null | undefined;
2254
2314
  gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
2255
- align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
2256
- justify?: "between" | "start" | "center" | "end" | "around" | "evenly" | null | undefined;
2315
+ align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
2316
+ justify?: "center" | "between" | "start" | "end" | "around" | "evenly" | null | undefined;
2257
2317
  wrap?: "wrap" | "nowrap" | "wrap-reverse" | null | undefined;
2258
2318
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2259
2319
  interface FlexProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof flexVariants> {
@@ -2287,7 +2347,7 @@ type SelectMenuSize = "default" | "sm" | "xs" | "2xs";
2287
2347
  * existing call site.
2288
2348
  */
2289
2349
  declare const selectTriggerVariants: (props?: ({
2290
- size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
2350
+ size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
2291
2351
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2292
2352
  type SelectTriggerSize = NonNullable<VariantProps<typeof selectTriggerVariants>["size"]>;
2293
2353
  declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
@@ -2399,7 +2459,7 @@ declare const SheetClose: React.ForwardRefExoticComponent<DialogPrimitive.Dialog
2399
2459
  declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
2400
2460
  declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2401
2461
  declare const sheetVariants: (props?: ({
2402
- side?: "top" | "right" | "bottom" | "left" | null | undefined;
2462
+ side?: "bottom" | "top" | "right" | "left" | null | undefined;
2403
2463
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2404
2464
  interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
2405
2465
  /** Extra classes for the backdrop overlay. e.g. `bg-transparent`
@@ -2555,8 +2615,8 @@ declare const Sortable: SortableRootComponent;
2555
2615
  */
2556
2616
  declare const stackVariants: (props?: ({
2557
2617
  gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
2558
- align?: "start" | "center" | "end" | "stretch" | null | undefined;
2559
- justify?: "between" | "start" | "center" | "end" | "around" | "evenly" | null | undefined;
2618
+ align?: "center" | "start" | "end" | "stretch" | null | undefined;
2619
+ justify?: "center" | "between" | "start" | "end" | "around" | "evenly" | null | undefined;
2560
2620
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2561
2621
  interface StackProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
2562
2622
  /** When true, render as the single child element via Radix Slot — lets
@@ -2574,7 +2634,7 @@ declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttri
2574
2634
  * dense tool-panel sizes (the Studio inspector).
2575
2635
  */
2576
2636
  declare const switchTrackVariants: (props?: ({
2577
- size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
2637
+ size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
2578
2638
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2579
2639
  type SwitchSize = NonNullable<VariantProps<typeof switchTrackVariants>["size"]>;
2580
2640
  declare const Switch: React.ForwardRefExoticComponent<Omit<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref">, "size"> & {
@@ -2762,7 +2822,7 @@ declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.Cla
2762
2822
  * px-3 / text-sm; `sm` and `xs` are for dense tool panels.
2763
2823
  */
2764
2824
  declare const textareaVariants: (props?: ({
2765
- size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
2825
+ size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
2766
2826
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2767
2827
  type TextareaSize = NonNullable<VariantProps<typeof textareaVariants>["size"]>;
2768
2828
  type TextareaProps = Omit<React.ComponentProps<"textarea">, "size"> & {
@@ -2772,11 +2832,11 @@ declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref
2772
2832
 
2773
2833
  declare const toggleVariants: (props?: ({
2774
2834
  variant?: "default" | "outline" | "segmented" | null | undefined;
2775
- size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
2835
+ size?: "default" | "2xs" | "xs" | "sm" | "lg" | null | undefined;
2776
2836
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2777
2837
  declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
2778
2838
  variant?: "default" | "outline" | "segmented" | null | undefined;
2779
- size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
2839
+ size?: "default" | "2xs" | "xs" | "sm" | "lg" | null | undefined;
2780
2840
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
2781
2841
 
2782
2842
  declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
@@ -2786,11 +2846,11 @@ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimit
2786
2846
 
2787
2847
  declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
2788
2848
  variant?: "default" | "outline" | "segmented" | null | undefined;
2789
- size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
2849
+ size?: "default" | "2xs" | "xs" | "sm" | "lg" | null | undefined;
2790
2850
  } & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
2791
2851
  declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
2792
2852
  variant?: "default" | "outline" | "segmented" | null | undefined;
2793
- size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
2853
+ size?: "default" | "2xs" | "xs" | "sm" | "lg" | null | undefined;
2794
2854
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
2795
2855
  tooltip?: React.ReactNode;
2796
2856
  tooltipSide?: React.ComponentPropsWithoutRef<typeof TooltipContent>["side"];
@@ -2845,7 +2905,7 @@ declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupP
2845
2905
  * persistent footer toolbars on mobile-style layouts.
2846
2906
  */
2847
2907
  declare const toolbarVariants: (props?: ({
2848
- position?: "top" | "inline" | "bottom" | null | undefined;
2908
+ position?: "bottom" | "top" | "inline" | null | undefined;
2849
2909
  variant?: "default" | "transparent" | "subtle" | null | undefined;
2850
2910
  size?: "sm" | "md" | "lg" | null | undefined;
2851
2911
  sticky?: boolean | null | undefined;
@@ -4921,6 +4981,16 @@ interface GeneratedTheme {
4921
4981
  info: Ramp;
4922
4982
  highlight: Ramp;
4923
4983
  destructive: Ramp;
4984
+ /**
4985
+ * Expressive accent ramps — default = the primary hue rotated +60°·k in
4986
+ * OKLCH (k = 1..5). Optional so partially-constructed themes stay valid;
4987
+ * generator output always includes them. Emitted as `--gds-accent{1..5}-<step>`.
4988
+ */
4989
+ accent1?: Ramp;
4990
+ accent2?: Ramp;
4991
+ accent3?: Ramp;
4992
+ accent4?: Ramp;
4993
+ accent5?: Ramp;
4924
4994
  };
4925
4995
  /** Semantic tokens for all four modes. */
4926
4996
  colors: Record<ModeName, GeneratedColorsMode>;
@@ -5116,4 +5186,4 @@ declare function GradeModeSwitcher({ className, variant }: GradeModeSwitcherProp
5116
5186
  */
5117
5187
  declare function ThemeToggle(): React.JSX.Element;
5118
5188
 
5119
- export { ALL_MODES, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AppShell, AppShellAside, type AppShellAsideProps, AppShellFooter, type AppShellFooterProps, AppShellHeader, type AppShellHeaderProps, AppShellMain, type AppShellMainProps, AppShellNav, type AppShellNavProps, type AppShellProps, Avatar, AvatarFallback, AvatarImage, type AvatarTone, BUILT_IN_INPUTS, BackgroundFill, type BackgroundFillFit, type BackgroundFillProps, type BackgroundFillType, Badge, Banner, type BannerProps, type BaseMediaProps, BlinkingCursor, type BlinkingCursorProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, type BreadcrumbMenuItem, BreadcrumbMenuTrigger, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonShape, TRANSPARENT as COLOR_PICKER_TRANSPARENT, COMPONENT_CONTRACTS, Calendar, CalendarDayButton, Callout, CalloutDescription, CalloutTitle, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardStyle, CardTitle, Carousel, CarouselArrows, type CarouselArrowsProps, type AutoplayConfig as CarouselAutoplayConfig, CarouselDots, type CarouselDotsProps, type CarouselNavButtonProps, CarouselNext, CarouselPrev, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselVideoSlide, type CarouselVideoSlideProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, type ChartPalette, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, type CheckboxCardProps, Code, type CodeDiff, type CodeLanguage, type CodeProps, type CodeReveal, type CodeTrigger, type ColorIntensity, ColorPicker, type ColorPickerProps, type ColorTokenGroup, Combobox, type ComboboxOption, type ComboboxProps, Container, type ContainerMaxW, type ContainerProps, DEFAULT_COLOR_TOKEN_GROUPS, DEMO_SPEED_PRESETS, DataView, type DataViewBadgeOption, type DataViewCellType, type DataViewColumn, DataViewColumns, type DataViewColumnsProps, type DataViewMode, type DataViewProps, type DataViewState, DataViewToggle, type DataViewToggleProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DemoSpeed, DemoStage, type DemoStageProps, DemoTrigger, 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, FILL_TOKENS, FRAGMENT_HEADER, Field, FieldDescription, FieldLabel, type FieldProps, FieldTrailing, FillPicker, type FillPickerProps, FillSection, type FillSectionProps, type FillValue, Flex, type FlexProps, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeLoader, type GradeLoaderProps, type GradeLoaderSize, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, GradientEditor, type GradientEditorProps, type GradientStop, type GradientType, type GradientValue, Grid, type GridProps, Input, type InputStyle, Label, LenisProvider, Logo, type LogoLockup, type LogoMode, type LogoProps, type LogoSize, type LogoSources, type LogoVariant, MOTION_ATTR, Map, MapHandle, MapMarker, MapMarkerProps, MapProps, type MediaAspect, type MediaRadius, MediaSurface, MediaSurfaceContract, type MediaSurfaceProps, Message, type MessageProps, type ModeName, Motion, MotionOverlay, type MotionOverlayProps, type MotionOverlayZone, type MotionProps, MotionScene, type MotionSceneProps, type MotionSceneRegistration, type MotionSceneTransition, MotionScreen, type MotionScreenAnimate, type MotionScreenProps, MotionText, type MotionTextProps, type MotionTextTemplate, MultiSelect, type MultiSelectOption, type MultiSelectProps, type OKLCHTriplet, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostPreset, Progress, PropertyList, type PropertyListProps, PropertyListRow, type PropertyListRowProps, RadioCard, type RadioCardProps, RadioGroup, RadioGroupItem, type RadiusStyle, type Ramp, ResizableHandle, ResizablePanel, ResizablePanelGroup, Reveal, type RevealAnimation, type RevealProps, type RevealStep, RivePlayer, type RivePlayerProps, Row, type RowProps, type SceneContext, type SceneFactory, type SceneHandle, ScreenAnimator, type ScreenAnimatorProps, type ScreenAnimatorShot, type ScriptedDemoContext, type ScriptedDemoState, ScrollArea, ScrollBar, Section, SectionActions, SectionDescription, SectionEyebrow, SectionMedia, type SectionProps, type SectionScope, SectionSubtitle, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShaderCompileError, ShaderControls, type ShaderControlsProps, type ShaderPreset, ShaderPresetPicker, type ShaderPresetPickerProps, ShaderPresetPreview, type ShaderPresetPreviewProps, type ShadowIntensity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarTreeItem, type SidebarTreeItemProps, Skeleton, Slider, Sortable, SortableGroup, type SortableGroupProps, SortableHandle, type SortableHandleProps, SortableItem, type SortableItemProps, type SortableProps, type SpacingDensity, Stack, type StackProps, Swatch, SwatchGroup, type SwatchGroupProps, type SwatchProps, Switch, SwitchCard, type SwitchCardProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ThemeInput, ThemeToggle, ThreeScene, type ThreeSceneProps, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, type ToolbarProps, ToolbarSlot, type ToolbarSlotProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypeScalePreset, type UseDataViewOptions, type UseScriptedDemoOptions, VideoPlayer, type VideoPlayerProps, asideVariants as appShellAsideVariants, footerVariants as appShellFooterVariants, headerVariants as appShellHeaderVariants, mainVariants as appShellMainVariants, navVariants as appShellNavVariants, applyThemeToRoot, badgeVariants, bannerVariants, buildFragmentShaderScene, builtInThemes, buttonVariants, calloutVariants, calmInput, cn, containerVariants, defaultPostPreset, defaultThemeId, deleteUserTheme, sleep as demoSleep, typeText as demoTypeText, duplicateTheme, energyInput, flexVariants, generateTheme, getComponentContract, getTheme, gradientToCss, gridVariants, listContractedComponents, listThemes, listUserThemes, loadUserThemeInput, postPresets, rowVariants, saveUserTheme, sceneRegistry, bandVariants as sectionBandVariants, setMotion, shaderPresetById, shaderPresets, shellVariants, stackVariants, swatchVariants, themeToCSSVars, toggleVariants, useCarouselApi, useDataView, useGradeTheme, useMaybeGradeTheme, useMotionScene, usePageActive, usePrefersReducedMotion, useReducedMotion, useScriptedDemo };
5189
+ export { ALL_MODES, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AppShell, AppShellAside, type AppShellAsideProps, AppShellFooter, type AppShellFooterProps, AppShellHeader, type AppShellHeaderProps, AppShellMain, type AppShellMainProps, AppShellNav, type AppShellNavProps, type AppShellProps, Avatar, AvatarFallback, AvatarImage, type AvatarTone, BUILT_IN_INPUTS, BackgroundFill, type BackgroundFillFit, type BackgroundFillProps, type BackgroundFillType, Badge, Banner, type BannerProps, type BaseMediaProps, BlinkingCursor, type BlinkingCursorProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, type BreadcrumbMenuItem, BreadcrumbMenuTrigger, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonShape, TRANSPARENT as COLOR_PICKER_TRANSPARENT, COMPONENT_CONTRACTS, Calendar, CalendarDayButton, Callout, CalloutDescription, CalloutTitle, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardStyle, CardTitle, Carousel, CarouselArrows, type CarouselArrowsProps, type AutoplayConfig as CarouselAutoplayConfig, CarouselDots, type CarouselDotsProps, type CarouselNavButtonProps, CarouselNext, CarouselPrev, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselVideoSlide, type CarouselVideoSlideProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, type ChartPalette, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, type CheckboxCardProps, Code, type CodeDiff, type CodeLanguage, type CodeProps, type CodeReveal, type CodeTrigger, type ColorIntensity, ColorPicker, type ColorPickerProps, type ColorTokenGroup, Combobox, type ComboboxOption, type ComboboxProps, Container, type ContainerMaxW, type ContainerProps, DEFAULT_COLOR_TOKEN_GROUPS, DEMO_SPEED_PRESETS, DataView, type DataViewBadgeOption, type DataViewCellType, type DataViewColumn, DataViewColumns, type DataViewColumnsProps, type DataViewMode, type DataViewProps, type DataViewState, DataViewToggle, type DataViewToggleProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DemoSpeed, DemoStage, type DemoStageProps, DemoTrigger, 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, FILL_TOKENS, FRAGMENT_HEADER, Field, FieldDescription, FieldLabel, type FieldProps, FieldTrailing, FillPicker, type FillPickerProps, FillSection, type FillSectionProps, type FillValue, Flex, type FlexProps, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeLoader, type GradeLoaderProps, type GradeLoaderSize, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, GradientEditor, type GradientEditorProps, type GradientStop, type GradientType, type GradientValue, Grid, type GridProps, Input, type InputStyle, Label, LenisProvider, Logo, type LogoLockup, type LogoMode, type LogoProps, type LogoSize, type LogoSources, type LogoVariant, MOTION_ATTR, Map, MapHandle, MapMarker, MapMarkerProps, MapProps, type MediaAspect, type MediaRadius, MediaSurface, MediaSurfaceContract, type MediaSurfaceProps, Message, type MessageProps, type ModeName, Motion, MotionOverlay, type MotionOverlayProps, type MotionOverlayZone, type MotionProps, MotionScene, type MotionSceneProps, type MotionSceneRegistration, type MotionSceneTransition, MotionScreen, type MotionScreenAnimate, type MotionScreenProps, MotionText, type MotionTextProps, type MotionTextTemplate, MultiSelect, type MultiSelectOption, type MultiSelectProps, type OKLCHTriplet, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostPreset, Progress, PropertyList, type PropertyListProps, PropertyListRow, type PropertyListRowProps, RadioCard, type RadioCardProps, RadioGroup, RadioGroupItem, type RadiusStyle, type Ramp, ResizableHandle, ResizablePanel, ResizablePanelGroup, Reveal, type RevealAnimation, type RevealProps, type RevealStep, RivePlayer, type RivePlayerProps, Row, type RowProps, type SceneContext, type SceneFactory, type SceneHandle, ScreenAnimator, type ScreenAnimatorProps, type ScreenAnimatorShot, type ScriptedDemoContext, type ScriptedDemoState, ScrollArea, ScrollBar, Section, SectionActions, SectionBlock, type SectionBlockProps, SectionDescription, SectionEyebrow, SectionMedia, type SectionProps, type SectionScope$1 as SectionScope, SectionSubtitle, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShaderCompileError, ShaderControls, type ShaderControlsProps, type ShaderPreset, ShaderPresetPicker, type ShaderPresetPickerProps, ShaderPresetPreview, type ShaderPresetPreviewProps, type ShadowIntensity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarTreeItem, type SidebarTreeItemProps, Skeleton, Slider, Sortable, SortableGroup, type SortableGroupProps, SortableHandle, type SortableHandleProps, SortableItem, type SortableItemProps, type SortableProps, type SpacingDensity, Stack, type StackProps, Swatch, SwatchGroup, type SwatchGroupProps, type SwatchProps, Switch, SwitchCard, type SwitchCardProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ThemeInput, ThemeToggle, ThreeScene, type ThreeSceneProps, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, type ToolbarProps, ToolbarSlot, type ToolbarSlotProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypeScalePreset, type UseDataViewOptions, type UseScriptedDemoOptions, VideoPlayer, type VideoPlayerProps, asideVariants as appShellAsideVariants, footerVariants as appShellFooterVariants, headerVariants$1 as appShellHeaderVariants, mainVariants as appShellMainVariants, navVariants as appShellNavVariants, applyThemeToRoot, badgeVariants, bannerVariants, buildFragmentShaderScene, builtInThemes, buttonVariants, calloutVariants, calmInput, cn, containerVariants$1 as containerVariants, defaultPostPreset, defaultThemeId, deleteUserTheme, sleep as demoSleep, typeText as demoTypeText, duplicateTheme, energyInput, flexVariants, generateTheme, getComponentContract, getTheme, gradientToCss, gridVariants, listContractedComponents, listThemes, listUserThemes, loadUserThemeInput, postPresets, rowVariants, saveUserTheme, sceneRegistry, bandVariants as sectionBandVariants, sectionBlockVariants, setMotion, shaderPresetById, shaderPresets, shellVariants, stackVariants, swatchVariants, themeToCSSVars, toggleVariants, useCarouselApi, useDataView, useGradeTheme, useMaybeGradeTheme, useMotionScene, usePageActive, usePrefersReducedMotion, useReducedMotion, useScriptedDemo };