@gradeui/ui 2.1.0 → 3.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.
Files changed (53) hide show
  1. package/README.md +5 -12
  2. package/components/ui/button.md +11 -7
  3. package/components/ui/dropdown-menu.md +1 -0
  4. package/components/ui/logo.md +8 -6
  5. package/components/ui/map.md +3 -0
  6. package/components/ui/media-surface.md +1 -0
  7. package/components/ui/sidebar.md +2 -1
  8. package/components/ui/swatch.md +88 -0
  9. package/dist/contracts.js +6 -6
  10. package/dist/contracts.js.map +1 -1
  11. package/dist/contracts.mjs +6 -6
  12. package/dist/contracts.mjs.map +1 -1
  13. package/dist/index.d.mts +617 -393
  14. package/dist/index.d.ts +617 -393
  15. package/dist/index.js +602 -65
  16. package/dist/index.js.map +1 -1
  17. package/dist/index.mjs +602 -65
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/map/google.d.mts +1 -1
  20. package/dist/map/google.d.ts +1 -1
  21. package/dist/map/google.js +1 -1
  22. package/dist/map/google.js.map +1 -1
  23. package/dist/map/google.mjs +1 -1
  24. package/dist/map/google.mjs.map +1 -1
  25. package/dist/map/leaflet.d.mts +1 -1
  26. package/dist/map/leaflet.d.ts +1 -1
  27. package/dist/map/leaflet.js +2 -2
  28. package/dist/map/leaflet.js.map +1 -1
  29. package/dist/map/leaflet.mjs +2 -2
  30. package/dist/map/leaflet.mjs.map +1 -1
  31. package/dist/map/mapbox.d.mts +1 -1
  32. package/dist/map/mapbox.d.ts +1 -1
  33. package/dist/map/mapbox.js +2 -2
  34. package/dist/map/mapbox.js.map +1 -1
  35. package/dist/map/mapbox.mjs +2 -2
  36. package/dist/map/mapbox.mjs.map +1 -1
  37. package/dist/map/maplibre.d.mts +1 -1
  38. package/dist/map/maplibre.d.ts +1 -1
  39. package/dist/map/maplibre.js +1 -1
  40. package/dist/map/maplibre.js.map +1 -1
  41. package/dist/map/maplibre.mjs +1 -1
  42. package/dist/map/maplibre.mjs.map +1 -1
  43. package/dist/styles.css +1 -1
  44. package/dist/{types-BxywIwvG.d.mts → types-B45Uirkp.d.mts} +23 -0
  45. package/dist/{types-BxywIwvG.d.ts → types-B45Uirkp.d.ts} +23 -0
  46. package/package.json +3 -6
  47. package/styles/globals.css +2402 -0
  48. package/dist/tailwind-preset.d.mts +0 -20
  49. package/dist/tailwind-preset.d.ts +0 -20
  50. package/dist/tailwind-preset.js +0 -2
  51. package/dist/tailwind-preset.js.map +0 -1
  52. package/dist/tailwind-preset.mjs +0 -2
  53. package/dist/tailwind-preset.mjs.map +0 -1
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _gradeui_contracts from '@gradeui/contracts';
2
2
  import { ComponentContract } from '@gradeui/contracts';
3
3
  import { z } from 'zod';
4
- import * as React$1 from 'react';
4
+ import * as React from 'react';
5
5
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
6
6
  import * as class_variance_authority_types from 'class-variance-authority/types';
7
7
  import { VariantProps } from 'class-variance-authority';
@@ -33,8 +33,8 @@ import * as RechartsPrimitive from 'recharts';
33
33
  import * as TogglePrimitive from '@radix-ui/react-toggle';
34
34
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
35
35
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
36
- import { M as MapProps, a as MapHandle, b as MapMarkerProps } from './types-BxywIwvG.mjs';
37
- export { C as Coords, c as MapAppearance, d as MapError, e as MapErrorCode } from './types-BxywIwvG.mjs';
36
+ import { M as MapProps, a as MapHandle, b as MapMarkerProps } from './types-B45Uirkp.mjs';
37
+ export { C as Coords, c as MapAppearance, d as MapError, e as MapErrorCode } from './types-B45Uirkp.mjs';
38
38
  import * as THREE from 'three';
39
39
  import { ClassValue } from 'clsx';
40
40
 
@@ -113,6 +113,14 @@ declare const MediaSurfaceContract: _gradeui_contracts.ComponentContract<{
113
113
  label: string;
114
114
  description: string;
115
115
  };
116
+ instanceId: {
117
+ schema: z.ZodOptional<z.ZodString>;
118
+ design: "content";
119
+ group: string;
120
+ control: "text";
121
+ label: string;
122
+ description: string;
123
+ };
116
124
  source: {
117
125
  schema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
118
126
  kind: z.ZodLiteral<"album">;
@@ -362,10 +370,10 @@ declare const MediaSurfaceContract: _gradeui_contracts.ComponentContract<{
362
370
  };
363
371
  }>;
364
372
 
365
- declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
366
- declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
367
- declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
368
- declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
373
+ declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
374
+ declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
375
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
376
+ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
369
377
 
370
378
  /**
371
379
  * Callout — inline, ambient, non-blocking status/feedback surface.
@@ -391,11 +399,11 @@ declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<Accordion
391
399
  declare const calloutVariants: (props?: ({
392
400
  variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
393
401
  } & class_variance_authority_types.ClassProp) | undefined) => string;
394
- declare const Callout: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
402
+ declare const Callout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
395
403
  variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
396
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
397
- declare const CalloutTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
398
- declare const CalloutDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
404
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
405
+ declare const CalloutTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
406
+ declare const CalloutDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
399
407
 
400
408
  /**
401
409
  * AppShell — top-level page scaffold for an app-like or marketing layout.
@@ -448,32 +456,32 @@ declare const mainVariants: (props?: ({
448
456
  maxWidth?: "full" | "container" | null | undefined;
449
457
  } & class_variance_authority_types.ClassProp) | undefined) => string;
450
458
  declare const footerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
451
- interface AppShellProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof shellVariants> {
459
+ interface AppShellProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof shellVariants> {
452
460
  /** Render as the single child element via Radix Slot — lets you stamp the
453
461
  * shell layout onto an existing root tag without an extra wrapper. */
454
462
  asChild?: boolean;
455
463
  }
456
- declare const AppShell: React$1.ForwardRefExoticComponent<AppShellProps & React$1.RefAttributes<HTMLDivElement>>;
457
- interface AppShellHeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants> {
464
+ declare const AppShell: React.ForwardRefExoticComponent<AppShellProps & React.RefAttributes<HTMLDivElement>>;
465
+ interface AppShellHeaderProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants> {
458
466
  asChild?: boolean;
459
467
  }
460
- declare const AppShellHeader: React$1.ForwardRefExoticComponent<AppShellHeaderProps & React$1.RefAttributes<HTMLElement>>;
461
- interface AppShellNavProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof navVariants> {
468
+ declare const AppShellHeader: React.ForwardRefExoticComponent<AppShellHeaderProps & React.RefAttributes<HTMLElement>>;
469
+ interface AppShellNavProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof navVariants> {
462
470
  asChild?: boolean;
463
471
  }
464
- declare const AppShellNav: React$1.ForwardRefExoticComponent<AppShellNavProps & React$1.RefAttributes<HTMLElement>>;
465
- interface AppShellAsideProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof asideVariants> {
472
+ declare const AppShellNav: React.ForwardRefExoticComponent<AppShellNavProps & React.RefAttributes<HTMLElement>>;
473
+ interface AppShellAsideProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof asideVariants> {
466
474
  asChild?: boolean;
467
475
  }
468
- declare const AppShellAside: React$1.ForwardRefExoticComponent<AppShellAsideProps & React$1.RefAttributes<HTMLElement>>;
469
- interface AppShellMainProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof mainVariants> {
476
+ declare const AppShellAside: React.ForwardRefExoticComponent<AppShellAsideProps & React.RefAttributes<HTMLElement>>;
477
+ interface AppShellMainProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof mainVariants> {
470
478
  asChild?: boolean;
471
479
  }
472
- declare const AppShellMain: React$1.ForwardRefExoticComponent<AppShellMainProps & React$1.RefAttributes<HTMLElement>>;
473
- interface AppShellFooterProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof footerVariants> {
480
+ declare const AppShellMain: React.ForwardRefExoticComponent<AppShellMainProps & React.RefAttributes<HTMLElement>>;
481
+ interface AppShellFooterProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof footerVariants> {
474
482
  asChild?: boolean;
475
483
  }
476
- declare const AppShellFooter: React$1.ForwardRefExoticComponent<AppShellFooterProps & React$1.RefAttributes<HTMLElement>>;
484
+ declare const AppShellFooter: React.ForwardRefExoticComponent<AppShellFooterProps & React.RefAttributes<HTMLElement>>;
477
485
 
478
486
  /**
479
487
  * Avatar — circular user/entity glyph. Wraps Radix's avatar primitive
@@ -496,25 +504,25 @@ declare const AppShellFooter: React$1.ForwardRefExoticComponent<AppShellFooterPr
496
504
  declare const avatarSizes: (props?: ({
497
505
  size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
498
506
  } & class_variance_authority_types.ClassProp) | undefined) => string;
499
- interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarSizes> {
507
+ interface AvatarProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarSizes> {
500
508
  }
501
- declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
502
- declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
509
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
510
+ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
503
511
  declare const avatarFallbackTones: (props?: ({
504
512
  tone?: "muted" | "primary" | "violet" | "amber" | "emerald" | "sky" | "rose" | "plum" | "lime" | null | undefined;
505
513
  } & class_variance_authority_types.ClassProp) | undefined) => string;
506
514
  type AvatarTone = NonNullable<VariantProps<typeof avatarFallbackTones>["tone"]>;
507
- interface AvatarFallbackProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>, VariantProps<typeof avatarFallbackTones> {
515
+ interface AvatarFallbackProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>, VariantProps<typeof avatarFallbackTones> {
508
516
  }
509
- declare const AvatarFallback: React$1.ForwardRefExoticComponent<AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>>;
517
+ declare const AvatarFallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
510
518
 
511
519
  declare const badgeVariants: (props?: ({
512
520
  variant?: "default" | "secondary" | "destructive" | "outline" | "highlight" | "success" | "warning" | "info" | "success-soft" | "warning-soft" | "destructive-soft" | "info-soft" | "highlight-soft" | "success-outline" | "warning-outline" | "destructive-outline" | "info-outline" | null | undefined;
513
521
  rounded?: "default" | "full" | null | undefined;
514
522
  } & class_variance_authority_types.ClassProp) | undefined) => string;
515
- interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
523
+ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
516
524
  }
517
- declare function Badge({ className, variant, rounded, ...props }: BadgeProps): React$1.JSX.Element;
525
+ declare function Badge({ className, variant, rounded, ...props }: BadgeProps): React.JSX.Element;
518
526
 
519
527
  /**
520
528
  * Surface — what a container is *made of*.
@@ -579,7 +587,7 @@ declare const bannerVariants: (props?: ({
579
587
  align?: "between" | "start" | "center" | null | undefined;
580
588
  sticky?: boolean | null | undefined;
581
589
  } & class_variance_authority_types.ClassProp) | undefined) => string;
582
- interface BannerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof bannerVariants> {
590
+ interface BannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof bannerVariants> {
583
591
  /**
584
592
  * Material the banner is *made of*. Defaults to `solid` (the
585
593
  * variant's tinted bg). `glass` is useful when the banner sits over
@@ -603,14 +611,14 @@ interface BannerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "titl
603
611
  * Leading slot — typically a single Lucide icon. The status icon
604
612
  * is NOT inferred from variant; pass the one that fits your message.
605
613
  */
606
- icon?: React$1.ReactNode;
614
+ icon?: React.ReactNode;
607
615
  /**
608
616
  * Optional trailing action — usually a Button or anchor. Sits to the
609
617
  * left of the dismiss button.
610
618
  */
611
- action?: React$1.ReactNode;
619
+ action?: React.ReactNode;
612
620
  }
613
- declare const Banner: React$1.ForwardRefExoticComponent<BannerProps & React$1.RefAttributes<HTMLDivElement>>;
621
+ declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
614
622
 
615
623
  /**
616
624
  * Button — primary action primitive.
@@ -635,15 +643,23 @@ declare const buttonVariants: (props?: ({
635
643
  variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "raised" | null | undefined;
636
644
  size?: "2xs" | "xs" | "sm" | "md" | "lg" | "default" | "icon" | null | undefined;
637
645
  } & class_variance_authority_types.ClassProp) | undefined) => string;
638
- interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
646
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
639
647
  asChild?: boolean;
648
+ /** Presence TRAIT: tactile elevation (bevel + drop + hover glow +
649
+ * pressed sink) layered onto WHATEVER variant the button wears —
650
+ * a raised primary, raised outline, etc. Glow tone reads
651
+ * --btn-glow → --accent-glow → --selected-glow; override
652
+ * per-button via style={{ "--btn-glow": "var(--warning)" }}.
653
+ * variant="raised" remains the neutral-key alias (trait +
654
+ * secondary surface). */
655
+ raised?: boolean;
640
656
  }
641
- declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
657
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
642
658
 
643
- declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
644
- buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
645
- }): React$1.JSX.Element;
646
- declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): React$1.JSX.Element;
659
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
660
+ buttonVariant?: React.ComponentProps<typeof Button>["variant"];
661
+ }): React.JSX.Element;
662
+ declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): React.JSX.Element;
647
663
 
648
664
  /**
649
665
  * Carousel — token-driven slideshow primitive built on embla-carousel.
@@ -688,7 +704,7 @@ declare function CalendarDayButton({ className, day, modifiers, ...props }: Reac
688
704
  */
689
705
 
690
706
  type EmblaApi = NonNullable<UseEmblaCarouselType[1]>;
691
- interface CarouselProps extends React$1.HTMLAttributes<HTMLDivElement> {
707
+ interface CarouselProps extends React.HTMLAttributes<HTMLDivElement> {
692
708
  /** Loop back to slide 0 after the last one. Default true. */
693
709
  loop?: boolean;
694
710
  /** Slide alignment within the viewport when not all slides are full-width.
@@ -722,7 +738,7 @@ interface AutoplayConfig {
722
738
  * matches the MediaSurface "play when visible" convention. Default true. */
723
739
  pauseWhenOffscreen?: boolean;
724
740
  }
725
- interface CarouselRootComponent extends React$1.ForwardRefExoticComponent<CarouselProps & React$1.RefAttributes<HTMLDivElement>> {
741
+ interface CarouselRootComponent extends React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<HTMLDivElement>> {
726
742
  Slide: typeof CarouselSlide;
727
743
  VideoSlide: typeof CarouselVideoSlide;
728
744
  Dots: typeof CarouselDots;
@@ -730,13 +746,13 @@ interface CarouselRootComponent extends React$1.ForwardRefExoticComponent<Carous
730
746
  Prev: typeof CarouselPrev;
731
747
  Next: typeof CarouselNext;
732
748
  }
733
- interface CarouselSlideProps extends React$1.HTMLAttributes<HTMLDivElement> {
749
+ interface CarouselSlideProps extends React.HTMLAttributes<HTMLDivElement> {
734
750
  /** Per-slide autoplay duration in ms. Overrides the carousel's default
735
751
  * delay for this slide only. e.g. `duration={15000}` keeps a hero
736
752
  * still on screen for 15s while the rest cycle at 5s. */
737
753
  duration?: number;
738
754
  }
739
- declare const CarouselSlide: React$1.ForwardRefExoticComponent<CarouselSlideProps & React$1.RefAttributes<HTMLDivElement>>;
755
+ declare const CarouselSlide: React.ForwardRefExoticComponent<CarouselSlideProps & React.RefAttributes<HTMLDivElement>>;
740
756
  interface CarouselVideoSlideProps extends Omit<CarouselSlideProps, "children"> {
741
757
  src: string;
742
758
  /** Poster shown until the slide becomes active. Reuses the
@@ -753,8 +769,8 @@ interface CarouselVideoSlideProps extends Omit<CarouselSlideProps, "children"> {
753
769
  /** Object-fit for the video. Default `"cover"`. */
754
770
  fit?: "cover" | "contain";
755
771
  }
756
- declare const CarouselVideoSlide: React$1.ForwardRefExoticComponent<CarouselVideoSlideProps & React$1.RefAttributes<HTMLDivElement>>;
757
- interface CarouselDotsProps extends React$1.HTMLAttributes<HTMLDivElement> {
772
+ declare const CarouselVideoSlide: React.ForwardRefExoticComponent<CarouselVideoSlideProps & React.RefAttributes<HTMLDivElement>>;
773
+ interface CarouselDotsProps extends React.HTMLAttributes<HTMLDivElement> {
758
774
  /** Position the dots relative to the viewport. Default `"below"` puts
759
775
  * them in flow underneath; `"overlay"` floats them at the bottom of
760
776
  * the carousel area on top of the slides. */
@@ -766,25 +782,25 @@ interface CarouselDotsProps extends React$1.HTMLAttributes<HTMLDivElement> {
766
782
  index: number;
767
783
  active: boolean;
768
784
  onClick: () => void;
769
- }) => React$1.ReactNode;
785
+ }) => React.ReactNode;
770
786
  }
771
- declare const CarouselDots: React$1.ForwardRefExoticComponent<CarouselDotsProps & React$1.RefAttributes<HTMLDivElement>>;
772
- interface CarouselArrowsProps extends React$1.HTMLAttributes<HTMLDivElement> {
787
+ declare const CarouselDots: React.ForwardRefExoticComponent<CarouselDotsProps & React.RefAttributes<HTMLDivElement>>;
788
+ interface CarouselArrowsProps extends React.HTMLAttributes<HTMLDivElement> {
773
789
  /** Position relative to the viewport. `"overlay"` (default) floats the
774
790
  * arrows over the slides; `"outside"` places them in flow alongside
775
791
  * the carousel (useful when the viewport is full-bleed). */
776
792
  position?: "overlay" | "outside";
777
793
  }
778
- declare const CarouselArrows: React$1.ForwardRefExoticComponent<CarouselArrowsProps & React$1.RefAttributes<HTMLDivElement>>;
779
- interface CarouselNavButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
794
+ declare const CarouselArrows: React.ForwardRefExoticComponent<CarouselArrowsProps & React.RefAttributes<HTMLDivElement>>;
795
+ interface CarouselNavButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
780
796
  }
781
- declare const CarouselPrev: React$1.ForwardRefExoticComponent<CarouselNavButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
782
- declare const CarouselNext: React$1.ForwardRefExoticComponent<CarouselNavButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
797
+ declare const CarouselPrev: React.ForwardRefExoticComponent<CarouselNavButtonProps & React.RefAttributes<HTMLButtonElement>>;
798
+ declare const CarouselNext: React.ForwardRefExoticComponent<CarouselNavButtonProps & React.RefAttributes<HTMLButtonElement>>;
783
799
  declare const Carousel: CarouselRootComponent;
784
800
 
785
801
  declare function useCarouselApi(): EmblaApi | undefined;
786
802
 
787
- interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
803
+ interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
788
804
  /**
789
805
  * What the card surface is *made of*. Composes with `shadow-elevation-*`
790
806
  * (depth) and `gds-aura-*` (state signal) — see PRESENCE.md.
@@ -799,14 +815,14 @@ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
799
815
  */
800
816
  surface?: Surface;
801
817
  }
802
- declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
803
- declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
804
- declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
805
- declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
806
- declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
807
- declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
818
+ declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
819
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
820
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
821
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
822
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
823
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
808
824
 
809
- declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
825
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
810
826
 
811
827
  /**
812
828
  * Field — the inline composition primitive for a control + its caption.
@@ -839,17 +855,17 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive
839
855
  * RadioCard / CheckboxCard / SwitchCard instead — see `selection-card.tsx`.
840
856
  */
841
857
  type FieldLayout = "option" | "setting";
842
- declare const FieldLabel: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
843
- declare const FieldDescription: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
844
- declare const FieldTrailing: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
845
- interface FieldProps extends React$1.HTMLAttributes<HTMLDivElement> {
858
+ declare const FieldLabel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
859
+ declare const FieldDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
860
+ declare const FieldTrailing: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
861
+ interface FieldProps extends React.HTMLAttributes<HTMLDivElement> {
846
862
  /** `option` (control leads) or `setting` (text leads, control trailing). */
847
863
  layout?: FieldLayout;
848
864
  }
849
- declare const Field: React$1.ForwardRefExoticComponent<FieldProps & React$1.RefAttributes<HTMLDivElement>> & {
850
- Label: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
851
- Description: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
852
- Trailing: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
865
+ declare const Field: React.ForwardRefExoticComponent<FieldProps & React.RefAttributes<HTMLDivElement>> & {
866
+ Label: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
867
+ Description: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
868
+ Trailing: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
853
869
  };
854
870
 
855
871
  /**
@@ -884,30 +900,30 @@ declare const Field: React$1.ForwardRefExoticComponent<FieldProps & React$1.RefA
884
900
  type IndicatorPosition = "leading" | "trailing";
885
901
  interface SelectionCardOwnProps {
886
902
  /** Title line. Omit and pass `children` for fully custom content. */
887
- label?: React$1.ReactNode;
903
+ label?: React.ReactNode;
888
904
  /** Secondary line under the label. */
889
- description?: React$1.ReactNode;
905
+ description?: React.ReactNode;
890
906
  /** Optional slot rendered between the content and the indicator
891
907
  * (a Badge, price, kbd hint, …). */
892
- aside?: React$1.ReactNode;
908
+ aside?: React.ReactNode;
893
909
  /** Hide the dot/check/switch glyph — selection is then conveyed purely by
894
910
  * the card's selected border + background. Semantics stay intact. */
895
911
  hideIndicator?: boolean;
896
912
  /** Which side the indicator sits on. Default `trailing`. */
897
913
  indicatorPosition?: IndicatorPosition;
898
914
  }
899
- interface RadioCardProps extends Omit<React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, "children">, SelectionCardOwnProps {
900
- children?: React$1.ReactNode;
915
+ interface RadioCardProps extends Omit<React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, "children">, SelectionCardOwnProps {
916
+ children?: React.ReactNode;
901
917
  }
902
- declare const RadioCard: React$1.ForwardRefExoticComponent<RadioCardProps & React$1.RefAttributes<HTMLButtonElement>>;
903
- interface CheckboxCardProps extends Omit<React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, "children">, SelectionCardOwnProps {
904
- children?: React$1.ReactNode;
918
+ declare const RadioCard: React.ForwardRefExoticComponent<RadioCardProps & React.RefAttributes<HTMLButtonElement>>;
919
+ interface CheckboxCardProps extends Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, "children">, SelectionCardOwnProps {
920
+ children?: React.ReactNode;
905
921
  }
906
- declare const CheckboxCard: React$1.ForwardRefExoticComponent<CheckboxCardProps & React$1.RefAttributes<HTMLButtonElement>>;
907
- interface SwitchCardProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, "children">, SelectionCardOwnProps {
908
- children?: React$1.ReactNode;
922
+ declare const CheckboxCard: React.ForwardRefExoticComponent<CheckboxCardProps & React.RefAttributes<HTMLButtonElement>>;
923
+ interface SwitchCardProps extends Omit<React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, "children">, SelectionCardOwnProps {
924
+ children?: React.ReactNode;
909
925
  }
910
- declare const SwitchCard: React$1.ForwardRefExoticComponent<SwitchCardProps & React$1.RefAttributes<HTMLButtonElement>>;
926
+ declare const SwitchCard: React.ForwardRefExoticComponent<SwitchCardProps & React.RefAttributes<HTMLButtonElement>>;
911
927
 
912
928
  /**
913
929
  * Code — syntax-highlighted code surface with diff, line-emphasis, and
@@ -969,7 +985,7 @@ interface CodeDiff {
969
985
  /** 1-indexed line numbers marked as removed (red bg + `-` gutter). */
970
986
  removed?: number[];
971
987
  }
972
- interface CodeProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
988
+ interface CodeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
973
989
  /**
974
990
  * Source code to render. Optional when `steps` is provided — the
975
991
  * scripted machine builds its own buffer and ignores `source`. When
@@ -1084,7 +1100,7 @@ interface CodeProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "childr
1084
1100
  */
1085
1101
  maxLines?: number;
1086
1102
  }
1087
- declare const Code: React$1.ForwardRefExoticComponent<CodeProps & React$1.RefAttributes<HTMLDivElement>>;
1103
+ declare const Code: React.ForwardRefExoticComponent<CodeProps & React.RefAttributes<HTMLDivElement>>;
1088
1104
 
1089
1105
  /**
1090
1106
  * Message — the canonical "avatar + author + timestamp + body" row.
@@ -1122,26 +1138,26 @@ declare const Code: React$1.ForwardRefExoticComponent<CodeProps & React$1.RefAtt
1122
1138
  * - Don't use Message for non-people activity (system events,
1123
1139
  * log lines). Reach for Callout or a plain Row.
1124
1140
  */
1125
- interface MessageProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title"> {
1141
+ interface MessageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
1126
1142
  /** Display name of the message author. */
1127
1143
  author: string;
1128
1144
  /**
1129
1145
  * Timestamp string ("11:24", "2 hours ago") OR any node for custom
1130
1146
  * formatting (tooltip-wrapped time, link to permalink, etc).
1131
1147
  */
1132
- timestamp?: React$1.ReactNode;
1148
+ timestamp?: React.ReactNode;
1133
1149
  /**
1134
1150
  * Avatar slot. Pass any `<Avatar>` composition. When omitted, the
1135
1151
  * row renders without an avatar column — handy for grouped messages
1136
1152
  * from the same author where only the first row shows the avatar.
1137
1153
  */
1138
- avatar?: React$1.ReactNode;
1154
+ avatar?: React.ReactNode;
1139
1155
  /**
1140
1156
  * Small chip(s) next to the author name. Use for "OP", "Bot",
1141
1157
  * "Admin", or any role/state badge that belongs in the header
1142
1158
  * rhythm rather than the body.
1143
1159
  */
1144
- badge?: React$1.ReactNode;
1160
+ badge?: React.ReactNode;
1145
1161
  /**
1146
1162
  * Editing state — renders an "(edited)" hint next to the timestamp.
1147
1163
  * Pass a string to customise the label (e.g. "(edited 2 minutes ago)").
@@ -1157,12 +1173,12 @@ interface MessageProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "tit
1157
1173
  * icon buttons (reply / react / pin / more). Pushed to the right
1158
1174
  * with `ml-auto`.
1159
1175
  */
1160
- actions?: React$1.ReactNode;
1176
+ actions?: React.ReactNode;
1161
1177
  /**
1162
1178
  * Reactions slot — renders below the body. Typically a Row of
1163
1179
  * reaction chips (emoji + count). Hidden when no node is passed.
1164
1180
  */
1165
- reactions?: React$1.ReactNode;
1181
+ reactions?: React.ReactNode;
1166
1182
  /**
1167
1183
  * Thread / reply count — renders a "N replies" link affordance
1168
1184
  * below the body. Click handler is the consumer's responsibility.
@@ -1192,9 +1208,9 @@ interface MessageProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "tit
1192
1208
  * can embed rich content — Markdown-rendered prose, images,
1193
1209
  * embedded cards, etc. Plain text is the common case.
1194
1210
  */
1195
- children: React$1.ReactNode;
1211
+ children: React.ReactNode;
1196
1212
  }
1197
- declare const Message: React$1.ForwardRefExoticComponent<MessageProps & React$1.RefAttributes<HTMLDivElement>>;
1213
+ declare const Message: React.ForwardRefExoticComponent<MessageProps & React.RefAttributes<HTMLDivElement>>;
1198
1214
 
1199
1215
  /**
1200
1216
  * Shared types + presets for scripted component demos.
@@ -1343,7 +1359,7 @@ interface UseScriptedDemoOptions<TStep> {
1343
1359
  */
1344
1360
  loopDelay?: number;
1345
1361
  /** Container ref for inView detection. Required when `trigger="inView"`. */
1346
- containerRef?: React$1.RefObject<HTMLElement | null>;
1362
+ containerRef?: React.RefObject<HTMLElement | null>;
1347
1363
  /**
1348
1364
  * Fires when one loop iteration completes (or the whole run, when
1349
1365
  * `loop` is false). Consumers can use this to reset their buffer or
@@ -1395,7 +1411,7 @@ declare function useScriptedDemo<TStep>(opts: UseScriptedDemoOptions<TStep>): Sc
1395
1411
  * than motion / framer keeps the cursor available in environments
1396
1412
  * that disable JS animation but still render the page.
1397
1413
  */
1398
- interface BlinkingCursorProps extends Omit<React$1.HTMLAttributes<HTMLSpanElement>, "children"> {
1414
+ interface BlinkingCursorProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> {
1399
1415
  /**
1400
1416
  * Visual variant. `inline` (default) is for caret-in-text demos
1401
1417
  * (Code, Composer). `block` is for terminal-style square cursors
@@ -1403,7 +1419,7 @@ interface BlinkingCursorProps extends Omit<React$1.HTMLAttributes<HTMLSpanElemen
1403
1419
  */
1404
1420
  variant?: "inline" | "block";
1405
1421
  }
1406
- declare const BlinkingCursor: React$1.ForwardRefExoticComponent<BlinkingCursorProps & React$1.RefAttributes<HTMLSpanElement>>;
1422
+ declare const BlinkingCursor: React.ForwardRefExoticComponent<BlinkingCursorProps & React.RefAttributes<HTMLSpanElement>>;
1407
1423
 
1408
1424
  /**
1409
1425
  * DemoStage + Reveal — staged appearance for whole-interface demos.
@@ -1461,9 +1477,9 @@ interface DemoStageProps {
1461
1477
  */
1462
1478
  visibleWhenIdle?: boolean;
1463
1479
  className?: string;
1464
- children: React$1.ReactNode;
1480
+ children: React.ReactNode;
1465
1481
  }
1466
- declare function DemoStage({ steps, speed, trigger, play, loop, defaultAnimation, visibleWhenIdle, className, children, }: DemoStageProps): React$1.JSX.Element;
1482
+ declare function DemoStage({ steps, speed, trigger, play, loop, defaultAnimation, visibleWhenIdle, className, children, }: DemoStageProps): React.JSX.Element;
1467
1483
  interface RevealProps {
1468
1484
  /** Stage target id. The matching `{ type: "reveal", target: id }` step shows this. */
1469
1485
  id: string;
@@ -1492,9 +1508,9 @@ interface RevealProps {
1492
1508
  */
1493
1509
  onHide?: () => void;
1494
1510
  className?: string;
1495
- children: React$1.ReactNode;
1511
+ children: React.ReactNode;
1496
1512
  }
1497
- declare function Reveal({ id, animation, durationMs, hideOutsideStage, onReveal, onHide, className, children, }: RevealProps): React$1.JSX.Element;
1513
+ declare function Reveal({ id, animation, durationMs, hideOutsideStage, onReveal, onHide, className, children, }: RevealProps): React.JSX.Element;
1498
1514
 
1499
1515
  /**
1500
1516
  * Composer — the generic text composition surface for the design system.
@@ -1701,13 +1717,13 @@ interface ComposerProps {
1701
1717
  * Custom content for the left action slot. Replaces the default
1702
1718
  * paperclip button when `attachments` is enabled.
1703
1719
  */
1704
- leftActions?: React$1.ReactNode;
1720
+ leftActions?: React.ReactNode;
1705
1721
  /**
1706
1722
  * Custom content for the right action slot. Replaces the default
1707
1723
  * Send / Stop button. Use the `useComposer()` hook inside to access
1708
1724
  * imperative methods.
1709
1725
  */
1710
- rightActions?: React$1.ReactNode;
1726
+ rightActions?: React.ReactNode;
1711
1727
  /** Hide the default Send button without replacing it. */
1712
1728
  hideSend?: boolean;
1713
1729
  /** Scripted demo steps. */
@@ -1750,8 +1766,8 @@ interface ComposerProps {
1750
1766
  readOnly?: boolean;
1751
1767
  className?: string;
1752
1768
  }
1753
- declare const Composer: React$1.ForwardRefExoticComponent<ComposerProps & React$1.RefAttributes<ComposerHandle>>;
1754
- declare const ComposerReply: React$1.ForwardRefExoticComponent<ComposerProps & React$1.RefAttributes<ComposerHandle>>;
1769
+ declare const Composer: React.ForwardRefExoticComponent<ComposerProps & React.RefAttributes<ComposerHandle>>;
1770
+ declare const ComposerReply: React.ForwardRefExoticComponent<ComposerProps & React.RefAttributes<ComposerHandle>>;
1755
1771
 
1756
1772
  /**
1757
1773
  * DatePicker + DateRangePicker
@@ -1795,9 +1811,9 @@ interface DatePickerBaseProps {
1795
1811
  */
1796
1812
  format?: string;
1797
1813
  /** Forwarded to the underlying `react-day-picker` Calendar. */
1798
- captionLayout?: React$1.ComponentProps<typeof Calendar>["captionLayout"];
1814
+ captionLayout?: React.ComponentProps<typeof Calendar>["captionLayout"];
1799
1815
  /** Icon shown in the trigger. Defaults to lucide's CalendarIcon. */
1800
- icon?: React$1.ReactNode;
1816
+ icon?: React.ReactNode;
1801
1817
  /** Accessible label for screen readers when no date is selected. */
1802
1818
  "aria-label"?: string;
1803
1819
  }
@@ -1815,15 +1831,15 @@ interface DateRangePickerProps extends DatePickerBaseProps {
1815
1831
  /** Number of months to show side-by-side. Defaults to 2. */
1816
1832
  numberOfMonths?: number;
1817
1833
  }
1818
- declare function DatePicker({ value, onChange, placeholder, disabled, className, contentClassName, align, side, format, captionLayout, icon, "aria-label": ariaLabel, }: DatePickerProps): React$1.JSX.Element;
1819
- declare function DateRangePicker({ value, onChange, placeholder, disabled, className, contentClassName, align, side, format, captionLayout, icon, numberOfMonths, "aria-label": ariaLabel, }: DateRangePickerProps): React$1.JSX.Element;
1834
+ declare function DatePicker({ value, onChange, placeholder, disabled, className, contentClassName, align, side, format, captionLayout, icon, "aria-label": ariaLabel, }: DatePickerProps): React.JSX.Element;
1835
+ declare function DateRangePicker({ value, onChange, placeholder, disabled, className, contentClassName, align, side, format, captionLayout, icon, numberOfMonths, "aria-label": ariaLabel, }: DateRangePickerProps): React.JSX.Element;
1820
1836
 
1821
- declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
1822
- declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1823
- declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
1824
- declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
1825
- declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1826
- interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
1837
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
1838
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
1839
+ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
1840
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
1841
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1842
+ interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
1827
1843
  /**
1828
1844
  * What the dialog surface is *made of*. Composes with the overlay
1829
1845
  * scrim — see PRESENCE.md and dialog.md for scenarios.
@@ -1837,20 +1853,20 @@ interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof Dia
1837
1853
  */
1838
1854
  surface?: Surface;
1839
1855
  }
1840
- declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
1856
+ declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
1841
1857
  declare const DialogHeader: {
1842
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
1858
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
1843
1859
  displayName: string;
1844
1860
  };
1845
1861
  declare const DialogFooter: {
1846
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
1862
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
1847
1863
  displayName: string;
1848
1864
  };
1849
- declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
1850
- declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
1865
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
1866
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
1851
1867
 
1852
- declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
1853
- declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1868
+ declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
1869
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
1854
1870
  /**
1855
1871
  * Menu density. Set `size` on `<DropdownMenuContent>` (or
1856
1872
  * `<DropdownMenuSubContent>`) and every item inside — Item, Checkbox,
@@ -1860,21 +1876,21 @@ declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMen
1860
1876
  * tool-panel density (the Studio inspector).
1861
1877
  */
1862
1878
  type DropdownMenuSize = "default" | "sm" | "xs";
1863
- declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1864
- declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
1865
- declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
1866
- declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1867
- declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1879
+ declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
1880
+ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
1881
+ declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
1882
+ declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
1883
+ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
1868
1884
  inset?: boolean;
1869
- } & React$1.RefAttributes<HTMLDivElement>>;
1870
- interface DropdownMenuSubContentProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> {
1885
+ } & React.RefAttributes<HTMLDivElement>>;
1886
+ interface DropdownMenuSubContentProps extends React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> {
1871
1887
  /** What the submenu surface is *made of*. See dropdown-menu.md. */
1872
1888
  surface?: Surface;
1873
1889
  /** Menu density — cascades to items via context. */
1874
1890
  size?: DropdownMenuSize;
1875
1891
  }
1876
- declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
1877
- interface DropdownMenuContentProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> {
1892
+ declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>>;
1893
+ interface DropdownMenuContentProps extends React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> {
1878
1894
  /**
1879
1895
  * What the menu surface is *made of*. `solid` (default) is `bg-popover`.
1880
1896
  * `translucent` matches Apple HIG / iOS menu sheets. `glass` for menus
@@ -1884,18 +1900,18 @@ interface DropdownMenuContentProps extends React$1.ComponentPropsWithoutRef<type
1884
1900
  /** Menu density — cascades to items via context. */
1885
1901
  size?: DropdownMenuSize;
1886
1902
  }
1887
- declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
1888
- declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1903
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>>;
1904
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
1889
1905
  inset?: boolean;
1890
- } & React$1.RefAttributes<HTMLDivElement>>;
1891
- declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1892
- declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1893
- declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1906
+ } & React.RefAttributes<HTMLDivElement>>;
1907
+ declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1908
+ declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1909
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
1894
1910
  inset?: boolean;
1895
- } & React$1.RefAttributes<HTMLDivElement>>;
1896
- declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1911
+ } & React.RefAttributes<HTMLDivElement>>;
1912
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1897
1913
  declare const DropdownMenuShortcut: {
1898
- ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
1914
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
1899
1915
  displayName: string;
1900
1916
  };
1901
1917
 
@@ -1913,30 +1929,33 @@ declare const DropdownMenuShortcut: {
1913
1929
  */
1914
1930
  declare const inputVariants: (props?: ({
1915
1931
  size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
1932
+ variant?: "default" | "ghost" | null | undefined;
1916
1933
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1917
1934
  type InputSize = NonNullable<VariantProps<typeof inputVariants>["size"]>;
1918
- type InputProps = Omit<React$1.ComponentProps<"input">, "size"> & {
1935
+ type InputVariant = NonNullable<VariantProps<typeof inputVariants>["variant"]>;
1936
+ type InputProps = Omit<React.ComponentProps<"input">, "size"> & {
1919
1937
  size?: InputSize;
1938
+ variant?: InputVariant;
1920
1939
  /** Adornment rendered inside the field on the leading edge — an icon,
1921
1940
  * a unit, a prefix. Non-interactive by default (clicks pass through
1922
1941
  * to focus the input); pass an element with its own pointer-events
1923
1942
  * if you need it clickable. */
1924
- startSlot?: React$1.ReactNode;
1943
+ startSlot?: React.ReactNode;
1925
1944
  /** Adornment rendered inside the field on the trailing edge — a unit
1926
1945
  * ("px"), a clear button, a stepper. Same pointer rules as
1927
1946
  * `startSlot`. */
1928
- endSlot?: React$1.ReactNode;
1947
+ endSlot?: React.ReactNode;
1929
1948
  };
1930
- declare const Input: React$1.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
1949
+ declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
1931
1950
 
1932
- declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
1951
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
1933
1952
  size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
1934
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
1953
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
1935
1954
 
1936
- declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
1937
- declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1938
- declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
1939
- interface PopoverContentProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
1955
+ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
1956
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
1957
+ declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
1958
+ interface PopoverContentProps extends React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
1940
1959
  /**
1941
1960
  * What the popover surface is *made of*. Defaults to `solid`
1942
1961
  * (`bg-popover`). `translucent` is the Apple HIG menu-sheet feel.
@@ -1944,9 +1963,9 @@ interface PopoverContentProps extends React$1.ComponentPropsWithoutRef<typeof Po
1944
1963
  */
1945
1964
  surface?: Surface;
1946
1965
  }
1947
- declare const PopoverContent: React$1.ForwardRefExoticComponent<PopoverContentProps & React$1.RefAttributes<HTMLDivElement>>;
1966
+ declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
1948
1967
 
1949
- declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1968
+ declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1950
1969
 
1951
1970
  /**
1952
1971
  * MultiSelect — multi-pick combobox.
@@ -1988,7 +2007,7 @@ interface MultiSelectOption {
1988
2007
  /** Optional lucide-style icon component (or any React component
1989
2008
  * accepting a className). Rendered both in the dropdown row and
1990
2009
  * on the badge. */
1991
- icon?: React$1.ComponentType<{
2010
+ icon?: React.ComponentType<{
1992
2011
  className?: string;
1993
2012
  }>;
1994
2013
  /** Disables the row in the dropdown — selection is locked in
@@ -2031,10 +2050,10 @@ interface MultiSelectProps {
2031
2050
  id?: string;
2032
2051
  "aria-label"?: string;
2033
2052
  }
2034
- declare const MultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps & React$1.RefAttributes<HTMLButtonElement>>;
2053
+ declare const MultiSelect: React.ForwardRefExoticComponent<MultiSelectProps & React.RefAttributes<HTMLButtonElement>>;
2035
2054
 
2036
- declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2037
- declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
2055
+ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2056
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
2038
2057
 
2039
2058
  /**
2040
2059
  * Resizable — drag-to-adjust panel groups.
@@ -2073,8 +2092,8 @@ declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupP
2073
2092
  * </ResizablePanel>
2074
2093
  * </ResizablePanelGroup>
2075
2094
  */
2076
- declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
2077
- declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLSelectElement | HTMLTextAreaElement | HTMLMapElement | HTMLTitleElement | HTMLVideoElement | HTMLButtonElement | HTMLLinkElement | HTMLLabelElement | HTMLStyleElement | HTMLSourceElement | HTMLHtmlElement | HTMLOptionElement | HTMLTableColElement | HTMLAudioElement | HTMLEmbedElement | HTMLProgressElement | HTMLHRElement | HTMLTableElement | HTMLAnchorElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSpanElement | HTMLUListElement | HTMLAreaElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLDataElement | 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"> & {
2095
+ declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React.JSX.Element;
2096
+ declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLSelectElement | HTMLTextAreaElement | HTMLMapElement | HTMLTitleElement | HTMLVideoElement | HTMLButtonElement | HTMLLinkElement | HTMLLabelElement | HTMLStyleElement | HTMLSourceElement | HTMLHtmlElement | HTMLOptionElement | HTMLTableColElement | HTMLAudioElement | HTMLEmbedElement | HTMLProgressElement | HTMLHRElement | HTMLTableElement | HTMLAnchorElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSpanElement | HTMLUListElement | HTMLAreaElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLDataElement | 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"> & {
2078
2097
  className?: string | undefined;
2079
2098
  collapsedSize?: number | undefined;
2080
2099
  collapsible?: boolean | undefined;
@@ -2089,14 +2108,14 @@ declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTM
2089
2108
  style?: object | undefined;
2090
2109
  tagName?: keyof HTMLElementTagNameMap | undefined;
2091
2110
  } & {
2092
- children?: React$1.ReactNode;
2093
- } & React$1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
2094
- declare const ResizableHandle: ({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
2111
+ children?: React.ReactNode;
2112
+ } & React.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
2113
+ declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
2095
2114
  /** When true, render a visible grip handle in the middle of the divider
2096
2115
  * for affordance. Without this, the handle is just a 1px hit area —
2097
2116
  * fine for power-user tools, harder to discover for everyone else. */
2098
2117
  withHandle?: boolean;
2099
- }) => React$1.JSX.Element;
2118
+ }) => React.JSX.Element;
2100
2119
 
2101
2120
  /**
2102
2121
  * Row — horizontal layout primitive.
@@ -2118,13 +2137,13 @@ declare const rowVariants: (props?: ({
2118
2137
  justify?: "between" | "start" | "center" | "end" | "around" | "evenly" | null | undefined;
2119
2138
  wrap?: boolean | null | undefined;
2120
2139
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2121
- interface RowProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof rowVariants> {
2140
+ interface RowProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof rowVariants> {
2122
2141
  /** When true, render as the single child element via Radix Slot — lets
2123
2142
  * you stamp Row's layout classes onto an existing semantic tag without
2124
2143
  * nesting an extra `<div>`. */
2125
2144
  asChild?: boolean;
2126
2145
  }
2127
- declare const Row: React$1.ForwardRefExoticComponent<RowProps & React$1.RefAttributes<HTMLDivElement>>;
2146
+ declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>;
2128
2147
 
2129
2148
  /**
2130
2149
  * Grid — 2D layout primitive. The partner to Stack and Row.
@@ -2152,13 +2171,13 @@ declare const gridVariants: (props?: ({
2152
2171
  gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
2153
2172
  align?: "start" | "center" | "end" | "stretch" | null | undefined;
2154
2173
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2155
- interface GridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
2174
+ interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
2156
2175
  /** When true, render as the single child element via Radix Slot — lets
2157
2176
  * you stamp Grid's layout classes onto an existing semantic tag
2158
2177
  * without nesting an extra `<div>`. */
2159
2178
  asChild?: boolean;
2160
2179
  }
2161
- declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>>;
2180
+ declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
2162
2181
 
2163
2182
  /**
2164
2183
  * Flex — the unopinionated flexbox primitive.
@@ -2188,20 +2207,20 @@ declare const flexVariants: (props?: ({
2188
2207
  justify?: "between" | "start" | "center" | "end" | "around" | "evenly" | null | undefined;
2189
2208
  wrap?: "wrap" | "nowrap" | "wrap-reverse" | null | undefined;
2190
2209
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2191
- interface FlexProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof flexVariants> {
2210
+ interface FlexProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof flexVariants> {
2192
2211
  /** When true, render as the single child element via Radix Slot — lets
2193
2212
  * you stamp Flex's layout classes onto an existing semantic tag without
2194
2213
  * nesting an extra `<div>`. */
2195
2214
  asChild?: boolean;
2196
2215
  }
2197
- declare const Flex: React$1.ForwardRefExoticComponent<FlexProps & React$1.RefAttributes<HTMLDivElement>>;
2216
+ declare const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
2198
2217
 
2199
- declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2200
- declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2218
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2219
+ declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2201
2220
 
2202
- declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
2203
- declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
2204
- declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
2221
+ declare const Select: React.FC<SelectPrimitive.SelectProps>;
2222
+ declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
2223
+ declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
2205
2224
  /**
2206
2225
  * Menu density. Set `size` on `<SelectContent>` and every `<SelectItem>`
2207
2226
  * inside it picks up matching padding / text-size / check-indicator
@@ -2222,43 +2241,116 @@ declare const selectTriggerVariants: (props?: ({
2222
2241
  size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
2223
2242
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2224
2243
  type SelectTriggerSize = NonNullable<VariantProps<typeof selectTriggerVariants>["size"]>;
2225
- declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
2244
+ declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
2226
2245
  size?: SelectTriggerSize;
2227
2246
  /** Adornment rendered inside the trigger on the leading edge — a
2228
2247
  * property glyph, a unit. Mirrors Input's startSlot. Grouped with
2229
2248
  * the value in a div (NOT a bare span: the trigger's
2230
2249
  * `[&>span]:line-clamp-1` would stack a span's children
2231
2250
  * vertically). */
2232
- startSlot?: React$1.ReactNode;
2251
+ startSlot?: React.ReactNode;
2233
2252
  /** Hide the dropdown chevron — Figma-style token fields keep the
2234
2253
  * right edge for their own affordances (detach/attach). */
2235
2254
  chevron?: boolean;
2236
- } & React$1.RefAttributes<HTMLButtonElement>>;
2237
- declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2238
- declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2239
- declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
2255
+ } & React.RefAttributes<HTMLButtonElement>>;
2256
+ declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2257
+ declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2258
+ declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
2240
2259
  size?: SelectMenuSize;
2241
- } & React$1.RefAttributes<HTMLDivElement>>;
2242
- declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2243
- declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
2260
+ } & React.RefAttributes<HTMLDivElement>>;
2261
+ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2262
+ declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
2244
2263
  /** Optional right-aligned secondary text (e.g. a token's resolved
2245
2264
  * value). Rendered in the menu row only — NOT inside ItemText, so
2246
2265
  * it never mirrors into the trigger via SelectValue. */
2247
- hint?: React$1.ReactNode;
2248
- } & React$1.RefAttributes<HTMLDivElement>>;
2249
- declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2266
+ hint?: React.ReactNode;
2267
+ } & React.RefAttributes<HTMLDivElement>>;
2268
+ declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2250
2269
 
2251
- declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2270
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2252
2271
 
2253
- declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
2254
- declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
2255
- declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
2256
- declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
2257
- declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2272
+ /**
2273
+ * Swatch a single colour chip.
2274
+ *
2275
+ * THE primitive for showing a colour: brand-pop strips, palette pickers,
2276
+ * theme previews, token galleries, "pick an accent" rows. A swatch reads a
2277
+ * value from one of two places, in priority order:
2278
+ *
2279
+ * - `color` — any raw CSS colour (`#1f6feb`, `oklch(...)`, `rgb(...)`,
2280
+ * even `var(--whatever)`). Use for one-off / external colours.
2281
+ * - `token` — a Grade colour token NAME (no `--` and no `oklch()` wrap),
2282
+ * resolved to `oklch(var(--<token>))`. This is the design-system
2283
+ * path: `token="brand-3"`, `token="primary"`, `token="chart-2"`.
2284
+ * Because it points at the live CSS variable, the swatch
2285
+ * re-voices automatically when the theme changes.
2286
+ *
2287
+ * A transparency checkerboard sits behind the fill (shared with the rest of
2288
+ * the system via `--gds-media-checker-*`), so semi-transparent values read
2289
+ * honestly instead of compositing against an opaque tile.
2290
+ *
2291
+ * Pass `onSelect` to make it pickable — it renders a real <button> with
2292
+ * `aria-pressed`, a focus ring, and a hover lift. `selected` draws the
2293
+ * shared selection ring (`--selected`). Pass `label` to caption it (the
2294
+ * caption also becomes the accessible name / tooltip).
2295
+ *
2296
+ * Sizing is the t-shirt scale (xs → xl); reach for `size` over `h-*`/`w-*`
2297
+ * utilities so the scale stays on tokens. Shape is square / rounded (rides
2298
+ * `--radius`) / circle.
2299
+ */
2300
+ declare const swatchVariants: (props?: ({
2301
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
2302
+ shape?: "rounded" | "square" | "circle" | null | undefined;
2303
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
2304
+ type SwatchSize = NonNullable<VariantProps<typeof swatchVariants>["size"]>;
2305
+ type SwatchShape = NonNullable<VariantProps<typeof swatchVariants>["shape"]>;
2306
+ interface SwatchProps extends Omit<React.HTMLAttributes<HTMLElement>, "color">, VariantProps<typeof swatchVariants> {
2307
+ /** Any raw CSS colour. Takes precedence over `token`. */
2308
+ color?: string;
2309
+ /** A Grade colour token name (no `--`), resolved as `oklch(var(--<token>))`. */
2310
+ token?: string;
2311
+ /** Optional caption rendered beneath the chip; also the accessible name. */
2312
+ label?: React.ReactNode;
2313
+ /** Draws the shared selection ring (`--selected`). */
2314
+ selected?: boolean;
2315
+ /** Makes the swatch a pickable <button> and fires on activation. */
2316
+ onSelect?: () => void;
2317
+ /** Makes the swatch an editable colour well: hosts a native
2318
+ * `<input type="color">` (the OS picker) behind the chip and fires with
2319
+ * the new `#rrggbb`. The presentation stays the DS chip; the interaction
2320
+ * stays native. Takes precedence over `onSelect`. */
2321
+ onColorChange?: (value: string) => void;
2322
+ }
2323
+ declare const Swatch: React.ForwardRefExoticComponent<SwatchProps & React.RefAttributes<HTMLElement>>;
2324
+ interface SwatchGroupProps extends React.HTMLAttributes<HTMLDivElement> {
2325
+ /** `row` spaces them out; `stack` overlaps into a coin-stack. Default row. */
2326
+ layout?: "row" | "stack";
2327
+ /** Cascades to every child Swatch. */
2328
+ size?: SwatchSize;
2329
+ /** Cascades to every child Swatch. */
2330
+ shape?: SwatchShape;
2331
+ /** Spacing between chips in `row` layout. Default sm. */
2332
+ gap?: "xs" | "sm" | "md" | "lg";
2333
+ }
2334
+ declare const SwatchGroup: React.ForwardRefExoticComponent<SwatchGroupProps & React.RefAttributes<HTMLDivElement>>;
2335
+
2336
+ declare const Sheet: React.FC<DialogPrimitive.DialogProps>;
2337
+ declare const SheetTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
2338
+ declare const SheetClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
2339
+ declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
2340
+ declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2258
2341
  declare const sheetVariants: (props?: ({
2259
2342
  side?: "top" | "right" | "bottom" | "left" | null | undefined;
2260
2343
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2261
- interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
2344
+ interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
2345
+ /** Extra classes for the backdrop overlay. e.g. `bg-transparent`
2346
+ * keeps click-outside-to-close while removing the dimming — useful
2347
+ * when the whole point is watching the page behind the sheet
2348
+ * change (the embed theme playground). */
2349
+ overlayClassName?: string;
2350
+ /** Extra classes for the built-in close button — reposition it or
2351
+ * restyle it as a full icon button (the default is a bare X at
2352
+ * right-4 top-4 with an opacity hover). */
2353
+ closeClassName?: string;
2262
2354
  /**
2263
2355
  * What the sheet panel is *made of*. `solid` is the default opaque
2264
2356
  * `bg-background`. `glass` lets the page show through with a 14px
@@ -2267,21 +2359,29 @@ interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof Dial
2267
2359
  */
2268
2360
  surface?: Surface;
2269
2361
  }
2270
- declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
2362
+ declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
2271
2363
  declare const SheetHeader: {
2272
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
2364
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
2273
2365
  displayName: string;
2274
2366
  };
2275
2367
  declare const SheetFooter: {
2276
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
2368
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
2277
2369
  displayName: string;
2278
2370
  };
2279
- declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
2280
- declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
2371
+ declare const SheetTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
2372
+ declare const SheetDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
2281
2373
 
2282
- declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
2374
+ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
2283
2375
 
2284
- declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
2376
+ /**
2377
+ * `size` controls the visual weight. `default` is the standard control;
2378
+ * `sm` is the dense, subtle track for tool panels / inspectors (thin
2379
+ * muted track, small thumb) so a panel of sliders reads quietly.
2380
+ */
2381
+ type SliderSize = "default" | "sm";
2382
+ declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & {
2383
+ size?: SliderSize;
2384
+ } & React.RefAttributes<HTMLSpanElement>>;
2285
2385
 
2286
2386
  /**
2287
2387
  * Sortable — compound drag-to-reorder primitive built on dnd-kit.
@@ -2326,12 +2426,12 @@ declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.Sli
2326
2426
  */
2327
2427
 
2328
2428
  type SortableStrategy = "vertical" | "horizontal" | "grid";
2329
- interface SortableGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
2429
+ interface SortableGroupProps extends React.HTMLAttributes<HTMLDivElement> {
2330
2430
  /** Disable drag for every container inside the Group. */
2331
2431
  disabled?: boolean;
2332
2432
  }
2333
- declare const SortableGroup: React$1.ForwardRefExoticComponent<SortableGroupProps & React$1.RefAttributes<HTMLDivElement>>;
2334
- interface SortableProps<T extends UniqueIdentifier = UniqueIdentifier> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange" | "id"> {
2433
+ declare const SortableGroup: React.ForwardRefExoticComponent<SortableGroupProps & React.RefAttributes<HTMLDivElement>>;
2434
+ interface SortableProps<T extends UniqueIdentifier = UniqueIdentifier> extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "id"> {
2335
2435
  /** Ordered list of unique ids — strings or numbers. Source of truth
2336
2436
  * for the order; reorder fires `onReorder(newValues)` and the
2337
2437
  * consumer updates their state. */
@@ -2354,12 +2454,12 @@ interface SortableProps<T extends UniqueIdentifier = UniqueIdentifier> extends O
2354
2454
  * Sortable; auto-generated via React.useId when omitted. */
2355
2455
  id?: string;
2356
2456
  }
2357
- interface SortableRootComponent extends React$1.ForwardRefExoticComponent<SortableProps & React$1.RefAttributes<HTMLDivElement>> {
2457
+ interface SortableRootComponent extends React.ForwardRefExoticComponent<SortableProps & React.RefAttributes<HTMLDivElement>> {
2358
2458
  Item: typeof SortableItem;
2359
2459
  Handle: typeof SortableHandle;
2360
2460
  Group: typeof SortableGroup;
2361
2461
  }
2362
- interface SortableItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
2462
+ interface SortableItemProps extends React.HTMLAttributes<HTMLDivElement> {
2363
2463
  /** Must match one of the parent `<Sortable values>` entries.
2364
2464
  * Identity, not React key. */
2365
2465
  value: UniqueIdentifier;
@@ -2370,13 +2470,13 @@ interface SortableItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
2370
2470
  /** Disable drag for THIS item without disabling the whole Sortable. */
2371
2471
  disabled?: boolean;
2372
2472
  }
2373
- declare const SortableItem: React$1.ForwardRefExoticComponent<SortableItemProps & React$1.RefAttributes<HTMLDivElement>>;
2374
- interface SortableHandleProps extends React$1.HTMLAttributes<HTMLElement> {
2473
+ declare const SortableItem: React.ForwardRefExoticComponent<SortableItemProps & React.RefAttributes<HTMLDivElement>>;
2474
+ interface SortableHandleProps extends React.HTMLAttributes<HTMLElement> {
2375
2475
  /** Render as the child element via Slot — typical pattern is
2376
2476
  * `<Sortable.Handle asChild><Button variant="ghost" size="icon">…</Button></Sortable.Handle>`. */
2377
2477
  asChild?: boolean;
2378
2478
  }
2379
- declare const SortableHandle: React$1.ForwardRefExoticComponent<SortableHandleProps & React$1.RefAttributes<HTMLElement>>;
2479
+ declare const SortableHandle: React.ForwardRefExoticComponent<SortableHandleProps & React.RefAttributes<HTMLElement>>;
2380
2480
  declare const Sortable: SortableRootComponent;
2381
2481
 
2382
2482
  /**
@@ -2398,13 +2498,13 @@ declare const stackVariants: (props?: ({
2398
2498
  align?: "start" | "center" | "end" | "stretch" | null | undefined;
2399
2499
  justify?: "between" | "start" | "center" | "end" | "around" | "evenly" | null | undefined;
2400
2500
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2401
- interface StackProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
2501
+ interface StackProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
2402
2502
  /** When true, render as the single child element via Radix Slot — lets
2403
2503
  * you stamp Stack's layout classes onto an existing semantic tag
2404
2504
  * (`<section>`, `<main>`, `<nav>`) without nesting an extra `<div>`. */
2405
2505
  asChild?: boolean;
2406
2506
  }
2407
- declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
2507
+ declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
2408
2508
 
2409
2509
  /**
2410
2510
  * Switch — track + thumb scale together via the shared control size
@@ -2417,45 +2517,45 @@ declare const switchTrackVariants: (props?: ({
2417
2517
  size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
2418
2518
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2419
2519
  type SwitchSize = NonNullable<VariantProps<typeof switchTrackVariants>["size"]>;
2420
- declare const Switch: React$1.ForwardRefExoticComponent<Omit<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "size"> & {
2520
+ declare const Switch: React.ForwardRefExoticComponent<Omit<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref">, "size"> & {
2421
2521
  size?: SwitchSize;
2422
- } & React$1.RefAttributes<HTMLButtonElement>>;
2522
+ } & React.RefAttributes<HTMLButtonElement>>;
2423
2523
 
2424
- declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
2425
- declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
2426
- declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
2427
- declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
2428
- declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
2429
- declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
2430
- declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
2431
- declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
2524
+ declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
2525
+ declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
2526
+ declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
2527
+ declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
2528
+ declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
2529
+ declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
2530
+ declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
2531
+ declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
2432
2532
 
2433
- interface BreadcrumbProps extends React$1.ComponentPropsWithoutRef<"nav"> {
2533
+ interface BreadcrumbProps extends React.ComponentPropsWithoutRef<"nav"> {
2434
2534
  /** Default separator node for every <BreadcrumbSeparator/> inside this
2435
2535
  * tree. Pass a string ("/", "›", "•"), a lucide icon (<Slash />,
2436
2536
  * <ChevronRight />), or any ReactNode. Default: <ChevronRight />.
2437
2537
  * Per-instance `<BreadcrumbSeparator>children</BreadcrumbSeparator>`
2438
2538
  * still overrides. */
2439
- separator?: React$1.ReactNode;
2539
+ separator?: React.ReactNode;
2440
2540
  }
2441
- declare const Breadcrumb: React$1.ForwardRefExoticComponent<BreadcrumbProps & React$1.RefAttributes<HTMLElement>>;
2442
- declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
2443
- declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
2444
- interface BreadcrumbLinkProps extends React$1.HTMLAttributes<HTMLElement> {
2541
+ declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
2542
+ declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
2543
+ declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
2544
+ interface BreadcrumbLinkProps extends React.HTMLAttributes<HTMLElement> {
2445
2545
  /** Anchor href. When set, renders an <a>; otherwise renders a <button>. */
2446
2546
  href?: string;
2447
2547
  /** Use a <span> instead of <a>/<button> — useful when wrapping in a
2448
2548
  * framework-specific Link component yourself. */
2449
2549
  asChild?: boolean;
2450
2550
  }
2451
- declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<BreadcrumbLinkProps & React$1.RefAttributes<HTMLElement>>;
2452
- declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
2551
+ declare const BreadcrumbLink: React.ForwardRefExoticComponent<BreadcrumbLinkProps & React.RefAttributes<HTMLElement>>;
2552
+ declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
2453
2553
  declare const BreadcrumbSeparator: {
2454
- ({ children, className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
2554
+ ({ children, className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
2455
2555
  displayName: string;
2456
2556
  };
2457
2557
  declare const BreadcrumbEllipsis: {
2458
- ({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
2558
+ ({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
2459
2559
  displayName: string;
2460
2560
  };
2461
2561
  /** One row inside a BreadcrumbMenuTrigger's popover. The dropdown
@@ -2506,9 +2606,9 @@ interface BreadcrumbMenuTriggerProps {
2506
2606
  * />
2507
2607
  * </BreadcrumbItem>
2508
2608
  */
2509
- declare const BreadcrumbMenuTrigger: React$1.ForwardRefExoticComponent<BreadcrumbMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
2609
+ declare const BreadcrumbMenuTrigger: React.ForwardRefExoticComponent<BreadcrumbMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
2510
2610
 
2511
- declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
2611
+ declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
2512
2612
  declare const tabsListVariants: (props?: ({
2513
2613
  variant?: "pill" | "underlined" | null | undefined;
2514
2614
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -2517,10 +2617,10 @@ declare const tabsTriggerVariants: (props?: ({
2517
2617
  variant?: "pill" | "underlined" | null | undefined;
2518
2618
  size?: "sm" | "md" | "lg" | null | undefined;
2519
2619
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2520
- interface TabsListProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, VariantProps<typeof tabsListVariants> {
2620
+ interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, VariantProps<typeof tabsListVariants> {
2521
2621
  }
2522
- declare const TabsList: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
2523
- interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof tabsTriggerVariants> {
2622
+ declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
2623
+ interface TabsTriggerProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof tabsTriggerVariants> {
2524
2624
  /**
2525
2625
  * Tooltip text shown on hover / focus. Designed for icon-only
2526
2626
  * triggers: pass `<TabsTrigger value="preview" tooltip="Preview">`
@@ -2531,10 +2631,10 @@ interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsP
2531
2631
  * Requires a `<TooltipProvider>` somewhere above the tabs. The
2532
2632
  * design system's root layout mounts one app-wide.
2533
2633
  */
2534
- tooltip?: React$1.ReactNode;
2634
+ tooltip?: React.ReactNode;
2535
2635
  }
2536
- declare const TabsTrigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
2537
- declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2636
+ declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
2637
+ declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2538
2638
 
2539
2639
  declare const THEMES: {
2540
2640
  readonly light: "";
@@ -2542,8 +2642,8 @@ declare const THEMES: {
2542
2642
  };
2543
2643
  type ChartConfig = {
2544
2644
  [k in string]: {
2545
- label?: React$1.ReactNode;
2546
- icon?: React$1.ComponentType;
2645
+ label?: React.ReactNode;
2646
+ icon?: React.ComponentType;
2547
2647
  } & ({
2548
2648
  color?: string;
2549
2649
  theme?: never;
@@ -2552,16 +2652,16 @@ type ChartConfig = {
2552
2652
  theme: Record<keyof typeof THEMES, string>;
2553
2653
  });
2554
2654
  };
2555
- declare const ChartContainer: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
2655
+ declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
2556
2656
  config: ChartConfig;
2557
- children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
2558
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2657
+ children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
2658
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
2559
2659
  declare const ChartStyle: ({ id, config }: {
2560
2660
  id: string;
2561
2661
  config: ChartConfig;
2562
- }) => React$1.JSX.Element | null;
2662
+ }) => React.JSX.Element | null;
2563
2663
  declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
2564
- declare const ChartTooltipContent: React$1.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> & {
2664
+ declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> & {
2565
2665
  accessibilityLayer?: boolean;
2566
2666
  active?: boolean | undefined;
2567
2667
  includeHidden?: boolean | undefined;
@@ -2570,7 +2670,7 @@ declare const ChartTooltipContent: React$1.ForwardRefExoticComponent<Omit<Rechar
2570
2670
  animationEasing?: recharts_types_util_types.AnimationTiming;
2571
2671
  content?: recharts_types_component_Tooltip.ContentType<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> | undefined;
2572
2672
  coordinate?: Partial<recharts_types_util_types.Coordinate>;
2573
- cursor?: boolean | React$1.ReactElement | React$1.SVGProps<SVGElement>;
2673
+ cursor?: boolean | React.ReactElement | React.SVGProps<SVGElement>;
2574
2674
  filterNull?: boolean;
2575
2675
  defaultIndex?: number;
2576
2676
  isAnimationActive?: boolean;
@@ -2582,19 +2682,19 @@ declare const ChartTooltipContent: React$1.ForwardRefExoticComponent<Omit<Rechar
2582
2682
  trigger?: "hover" | "click";
2583
2683
  useTranslate3d?: boolean;
2584
2684
  viewBox?: recharts_types_util_types.CartesianViewBox;
2585
- wrapperStyle?: React$1.CSSProperties;
2586
- } & React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
2685
+ wrapperStyle?: React.CSSProperties;
2686
+ } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
2587
2687
  hideLabel?: boolean;
2588
2688
  hideIndicator?: boolean;
2589
2689
  indicator?: "line" | "dot" | "dashed";
2590
2690
  nameKey?: string;
2591
2691
  labelKey?: string;
2592
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2692
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
2593
2693
  declare const ChartLegend: typeof RechartsPrimitive.Legend;
2594
- declare const ChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "verticalAlign" | "payload"> & {
2694
+ declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "verticalAlign" | "payload"> & {
2595
2695
  hideIcon?: boolean;
2596
2696
  nameKey?: string;
2597
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2697
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
2598
2698
 
2599
2699
  /**
2600
2700
  * Textarea variants — `size` mirrors Input so the whole form-control
@@ -2605,53 +2705,37 @@ declare const textareaVariants: (props?: ({
2605
2705
  size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
2606
2706
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2607
2707
  type TextareaSize = NonNullable<VariantProps<typeof textareaVariants>["size"]>;
2608
- type TextareaProps = Omit<React$1.ComponentProps<"textarea">, "size"> & {
2708
+ type TextareaProps = Omit<React.ComponentProps<"textarea">, "size"> & {
2609
2709
  size?: TextareaSize;
2610
2710
  };
2611
- declare const Textarea: React$1.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
2711
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
2612
2712
 
2613
2713
  declare const toggleVariants: (props?: ({
2614
- variant?: "default" | "outline" | null | undefined;
2714
+ variant?: "default" | "outline" | "segmented" | null | undefined;
2615
2715
  size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
2616
2716
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2617
- declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
2618
- variant?: "default" | "outline" | null | undefined;
2717
+ declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
2718
+ variant?: "default" | "outline" | "segmented" | null | undefined;
2619
2719
  size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
2620
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
2720
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
2621
2721
 
2622
- declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
2623
- declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
2624
- declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
2625
- declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2722
+ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
2723
+ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
2724
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
2725
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
2626
2726
 
2627
- declare const toggleGroupVariants: (props?: ({
2628
- size?: "sm" | "md" | "lg" | null | undefined;
2629
- } & class_variance_authority_types.ClassProp) | undefined) => string;
2630
- type ToggleGroupProps = React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleGroupVariants>;
2631
- declare const ToggleGroup: React$1.ForwardRefExoticComponent<ToggleGroupProps & React$1.RefAttributes<HTMLDivElement>>;
2632
- declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
2633
- size?: "sm" | "md" | "lg" | null | undefined;
2727
+ declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
2728
+ variant?: "default" | "outline" | "segmented" | null | undefined;
2729
+ size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
2730
+ } & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
2731
+ declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
2732
+ variant?: "default" | "outline" | "segmented" | null | undefined;
2733
+ size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
2634
2734
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
2635
- /** Tooltip content. When set, the item is wrapped in a Tooltip
2636
- * so icon-only items keep an accessible label without bloating
2637
- * the chrome with text. Pass a string for the common case;
2638
- * pass a node for richer content (key hint, badge, etc.).
2639
- *
2640
- * Assumes a `TooltipProvider` exists somewhere upstream — in
2641
- * apps/docs the root layout already mounts one, which is the
2642
- * pattern most consumers should follow. If no provider is
2643
- * present, the tooltip is silently ignored at runtime (Radix
2644
- * no-ops) — pass `tooltip={undefined}` to be sure of plain
2645
- * behavior. */
2646
- tooltip?: React$1.ReactNode;
2647
- /** Which side of the item the tooltip renders on. Defaults to
2648
- * "top" — matches the Tabs primitive's convention. */
2649
- tooltipSide?: React$1.ComponentPropsWithoutRef<typeof TooltipContent>["side"];
2650
- /** Tooltip delay override. The provider's `delayDuration` is
2651
- * the default; pass a per-item value if a specific control
2652
- * needs a snappier or quieter feel. */
2735
+ tooltip?: React.ReactNode;
2736
+ tooltipSide?: React.ComponentPropsWithoutRef<typeof TooltipContent>["side"];
2653
2737
  tooltipDelay?: number;
2654
- } & React$1.RefAttributes<HTMLButtonElement>>;
2738
+ } & React.RefAttributes<HTMLButtonElement>>;
2655
2739
 
2656
2740
  /**
2657
2741
  * Toolbar — slot-based chrome bar for the leading/center/trailing
@@ -2706,32 +2790,32 @@ declare const toolbarVariants: (props?: ({
2706
2790
  size?: "sm" | "md" | "lg" | null | undefined;
2707
2791
  sticky?: boolean | null | undefined;
2708
2792
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2709
- interface ToolbarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof toolbarVariants> {
2793
+ interface ToolbarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof toolbarVariants> {
2710
2794
  /** Left-aligned content. Usually a logo + primary nav links. */
2711
- leading?: React$1.ReactNode;
2795
+ leading?: React.ReactNode;
2712
2796
  /** Center-aligned content. Usually a search input, a page title,
2713
2797
  * or a segmented control. The center column stretches via `1fr`
2714
2798
  * so it stays visually centered relative to the bar. */
2715
- center?: React$1.ReactNode;
2799
+ center?: React.ReactNode;
2716
2800
  /** Right-aligned content. Usually action icons + user avatar. */
2717
- trailing?: React$1.ReactNode;
2801
+ trailing?: React.ReactNode;
2718
2802
  /** When using `children` directly (advanced custom layout), the
2719
2803
  * slot props are ignored. Most callers should prefer the slot
2720
2804
  * props — they give the canonical grid layout for free. */
2721
- children?: React$1.ReactNode;
2805
+ children?: React.ReactNode;
2722
2806
  /** Required by WAI-ARIA toolbar pattern. Falls back to "Toolbar". */
2723
2807
  "aria-label"?: string;
2724
2808
  }
2725
- declare const Toolbar: React$1.ForwardRefExoticComponent<ToolbarProps & React$1.RefAttributes<HTMLDivElement>>;
2809
+ declare const Toolbar: React.ForwardRefExoticComponent<ToolbarProps & React.RefAttributes<HTMLDivElement>>;
2726
2810
  /**
2727
2811
  * ToolbarSlot — escape-hatch piece for the rare case a consumer
2728
2812
  * wants to compose a custom inner layout with children but still
2729
2813
  * get the slot styling. Use the slot props on Toolbar where you can.
2730
2814
  */
2731
- interface ToolbarSlotProps extends React$1.HTMLAttributes<HTMLDivElement> {
2815
+ interface ToolbarSlotProps extends React.HTMLAttributes<HTMLDivElement> {
2732
2816
  align?: "leading" | "center" | "trailing";
2733
2817
  }
2734
- declare const ToolbarSlot: React$1.ForwardRefExoticComponent<ToolbarSlotProps & React$1.RefAttributes<HTMLDivElement>>;
2818
+ declare const ToolbarSlot: React.ForwardRefExoticComponent<ToolbarSlotProps & React.RefAttributes<HTMLDivElement>>;
2735
2819
 
2736
2820
  /**
2737
2821
  * Sidebar — compound layout primitive for vertical app navigation.
@@ -2781,7 +2865,7 @@ declare const ToolbarSlot: React$1.ForwardRefExoticComponent<ToolbarSlotProps &
2781
2865
  * Sidebar is the navigation content for that chrome.
2782
2866
  */
2783
2867
 
2784
- interface SidebarProps extends React$1.HTMLAttributes<HTMLElement> {
2868
+ interface SidebarProps extends React.HTMLAttributes<HTMLElement> {
2785
2869
  /** Controlled collapsed state. When set, `onCollapsedChange` MUST be
2786
2870
  * wired or the toggle button becomes a no-op. */
2787
2871
  collapsed?: boolean;
@@ -2808,7 +2892,7 @@ interface SidebarProps extends React$1.HTMLAttributes<HTMLElement> {
2808
2892
  */
2809
2893
  variant?: "rail" | "panel";
2810
2894
  }
2811
- interface SidebarRootComponent extends React$1.ForwardRefExoticComponent<SidebarProps & React$1.RefAttributes<HTMLElement>> {
2895
+ interface SidebarRootComponent extends React.ForwardRefExoticComponent<SidebarProps & React.RefAttributes<HTMLElement>> {
2812
2896
  Header: typeof SidebarHeader;
2813
2897
  Content: typeof SidebarContent;
2814
2898
  Footer: typeof SidebarFooter;
@@ -2817,21 +2901,21 @@ interface SidebarRootComponent extends React$1.ForwardRefExoticComponent<Sidebar
2817
2901
  TreeItem: typeof SidebarTreeItem;
2818
2902
  }
2819
2903
  declare const Sidebar: SidebarRootComponent;
2820
- interface SidebarHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
2904
+ interface SidebarHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
2821
2905
  }
2822
- declare const SidebarHeader: React$1.ForwardRefExoticComponent<SidebarHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
2823
- interface SidebarContentProps extends React$1.HTMLAttributes<HTMLElement> {
2906
+ declare const SidebarHeader: React.ForwardRefExoticComponent<SidebarHeaderProps & React.RefAttributes<HTMLDivElement>>;
2907
+ interface SidebarContentProps extends React.HTMLAttributes<HTMLElement> {
2824
2908
  }
2825
- declare const SidebarContent: React$1.ForwardRefExoticComponent<SidebarContentProps & React$1.RefAttributes<HTMLElement>>;
2826
- interface SidebarFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
2909
+ declare const SidebarContent: React.ForwardRefExoticComponent<SidebarContentProps & React.RefAttributes<HTMLElement>>;
2910
+ interface SidebarFooterProps extends React.HTMLAttributes<HTMLDivElement> {
2827
2911
  }
2828
- declare const SidebarFooter: React$1.ForwardRefExoticComponent<SidebarFooterProps & React$1.RefAttributes<HTMLDivElement>>;
2829
- interface SidebarSectionProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title"> {
2912
+ declare const SidebarFooter: React.ForwardRefExoticComponent<SidebarFooterProps & React.RefAttributes<HTMLDivElement>>;
2913
+ interface SidebarSectionProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
2830
2914
  /** Group label shown above the items. Hidden when sidebar is collapsed
2831
2915
  * (children render flat under the icon strip). */
2832
- title?: React$1.ReactNode;
2916
+ title?: React.ReactNode;
2833
2917
  /** Optional icon next to the title. */
2834
- icon?: React$1.ReactNode;
2918
+ icon?: React.ReactNode;
2835
2919
  /** Action(s) rendered on the right edge of the section header — the
2836
2920
  * canonical "+ add to this group" or "..." menu slot. Common in Notion
2837
2921
  * (+ next to Pages), Linear (+ next to Favorites), Slack (+ next to
@@ -2840,19 +2924,29 @@ interface SidebarSectionProps extends Omit<React$1.HTMLAttributes<HTMLDivElement
2840
2924
  * Pointer events on the trailing content are isolated from the
2841
2925
  * collapse toggle, so a Button inside `trailing` won't also flip the
2842
2926
  * expanded state. */
2843
- trailing?: React$1.ReactNode;
2927
+ trailing?: React.ReactNode;
2844
2928
  /** Allow the section to toggle open/closed via clicking the title.
2845
2929
  * Default true when `title` is set; ignored otherwise (no header to click). */
2846
2930
  collapsible?: boolean;
2847
2931
  /** Initial open state for collapsible sections. Default true. */
2848
2932
  defaultExpanded?: boolean;
2933
+ /** Title casing. The component should not silently dictate case
2934
+ * (Ali, 2026-06-11) — but the HISTORIC defaults differ per variant
2935
+ * and existing surfaces depend on them, so when unset, legacy
2936
+ * behaviour is preserved exactly: static headers render UPPERCASE
2937
+ * (the Notion/Linear treatment), collapsible headers render the
2938
+ * authored case (a long-standing `normal-case` override). Set
2939
+ * explicitly to get the same treatment from both variants:
2940
+ * `"uppercase"` for the shouty group label, `"none"` for
2941
+ * sentence-case headers like a "Recents" list. */
2942
+ titleTransform?: "uppercase" | "none";
2849
2943
  }
2850
- declare const SidebarSection: React$1.ForwardRefExoticComponent<SidebarSectionProps & React$1.RefAttributes<HTMLDivElement>>;
2851
- interface SidebarItemProps extends Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "title"> {
2944
+ declare const SidebarSection: React.ForwardRefExoticComponent<SidebarSectionProps & React.RefAttributes<HTMLDivElement>>;
2945
+ interface SidebarItemProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "title"> {
2852
2946
  /** Leading icon. Sized to fit both expanded + collapsed states. */
2853
- icon?: React$1.ReactNode;
2947
+ icon?: React.ReactNode;
2854
2948
  /** Trailing badge — count, status label. Hidden when collapsed. */
2855
- badge?: React$1.ReactNode;
2949
+ badge?: React.ReactNode;
2856
2950
  /** Marks the current page / route. Drives the highlighted style + sets
2857
2951
  * `aria-current="page"`. */
2858
2952
  active?: boolean;
@@ -2866,10 +2960,10 @@ interface SidebarItemProps extends Omit<React$1.AnchorHTMLAttributes<HTMLAnchorE
2866
2960
  disabled?: boolean;
2867
2961
  /** Visible label. Use `children` so the JSX reads naturally — the
2868
2962
  * prop name is `children` not `label`. */
2869
- children?: React$1.ReactNode;
2963
+ children?: React.ReactNode;
2870
2964
  /** Tooltip override shown when sidebar is collapsed. Defaults to the
2871
2965
  * item's text content (children, when it's a string). */
2872
- collapsedLabel?: React$1.ReactNode;
2966
+ collapsedLabel?: React.ReactNode;
2873
2967
  /**
2874
2968
  * Row size.
2875
2969
  *
@@ -2889,17 +2983,17 @@ interface SidebarItemProps extends Omit<React$1.AnchorHTMLAttributes<HTMLAnchorE
2889
2983
  * badge anchored to the trailing edge as usual. Hidden when the
2890
2984
  * sidebar is collapsed (only the icon + tooltip remain).
2891
2985
  */
2892
- description?: React$1.ReactNode;
2986
+ description?: React.ReactNode;
2893
2987
  }
2894
- declare const SidebarItem: React$1.ForwardRefExoticComponent<SidebarItemProps & React$1.RefAttributes<HTMLAnchorElement>>;
2895
- interface SidebarTreeItemProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children" | "title"> {
2988
+ declare const SidebarItem: React.ForwardRefExoticComponent<SidebarItemProps & React.RefAttributes<HTMLAnchorElement>>;
2989
+ interface SidebarTreeItemProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children" | "title"> {
2896
2990
  /** Row label. Required — without it the row has nothing to show. */
2897
- label: React$1.ReactNode;
2991
+ label: React.ReactNode;
2898
2992
  /** Leading icon (folder, file, custom emoji). Shown to the right
2899
2993
  * of the chevron column. */
2900
- icon?: React$1.ReactNode;
2994
+ icon?: React.ReactNode;
2901
2995
  /** Trailing badge — count, status. Hidden when sidebar is collapsed. */
2902
- badge?: React$1.ReactNode;
2996
+ badge?: React.ReactNode;
2903
2997
  /** Marks the branch as the current route. Adds aria-current="page"
2904
2998
  * on the row. */
2905
2999
  active?: boolean;
@@ -2913,7 +3007,7 @@ interface SidebarTreeItemProps extends Omit<React$1.ButtonHTMLAttributes<HTMLBut
2913
3007
  /** Disabled state. */
2914
3008
  disabled?: boolean;
2915
3009
  /** Nested children — SidebarItem or more SidebarTreeItem. */
2916
- children?: React$1.ReactNode;
3010
+ children?: React.ReactNode;
2917
3011
  /**
2918
3012
  * Secondary line shown beneath the label — same shape as
2919
3013
  * SidebarItem's `description`. Useful when a branch needs more
@@ -2921,7 +3015,7 @@ interface SidebarTreeItemProps extends Omit<React$1.ButtonHTMLAttributes<HTMLBut
2921
3015
  * Layout adapts to stack label + description; chevron and icon
2922
3016
  * stay vertically centered against the stack.
2923
3017
  */
2924
- description?: React$1.ReactNode;
3018
+ description?: React.ReactNode;
2925
3019
  /**
2926
3020
  * Right-edge action slot — settings cog, more-actions overflow,
2927
3021
  * "+ add child" affordance. Rendered as a sibling of the branch
@@ -2937,13 +3031,13 @@ interface SidebarTreeItemProps extends Omit<React$1.ButtonHTMLAttributes<HTMLBut
2937
3031
  * Hovering nested children rows does NOT trigger the group hover
2938
3032
  * — the named group is scoped to the branch row alone.
2939
3033
  */
2940
- trailing?: React$1.ReactNode;
3034
+ trailing?: React.ReactNode;
2941
3035
  }
2942
- declare const SidebarTreeItem: React$1.ForwardRefExoticComponent<SidebarTreeItemProps & React$1.RefAttributes<HTMLButtonElement>>;
3036
+ declare const SidebarTreeItem: React.ForwardRefExoticComponent<SidebarTreeItemProps & React.RefAttributes<HTMLButtonElement>>;
2943
3037
 
2944
- declare const Map: React$1.ForwardRefExoticComponent<MapProps & React$1.RefAttributes<MapHandle>>;
3038
+ declare const Map: React.ForwardRefExoticComponent<MapProps & React.RefAttributes<MapHandle>>;
2945
3039
 
2946
- declare const MapMarker: React$1.NamedExoticComponent<MapMarkerProps>;
3040
+ declare const MapMarker: React.NamedExoticComponent<MapMarkerProps>;
2947
3041
 
2948
3042
  /**
2949
3043
  * lib/motion — the global motion control for gradeui.
@@ -3205,7 +3299,7 @@ declare global {
3205
3299
  __gradeMediaPending?: Record<string, true>;
3206
3300
  }
3207
3301
  }
3208
- interface MediaSurfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
3302
+ interface MediaSurfaceProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
3209
3303
  aspect?: MediaAspect;
3210
3304
  radius?: MediaRadius;
3211
3305
  border?: boolean;
@@ -3213,7 +3307,7 @@ interface MediaSurfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
3213
3307
  /** Callback fires when the surface enters / leaves the viewport. */
3214
3308
  onVisibilityChange?: (visible: boolean) => void;
3215
3309
  /** Fallback shown before `onReady` is signalled by the child. */
3216
- fallback?: React$1.ReactNode;
3310
+ fallback?: React.ReactNode;
3217
3311
  /**
3218
3312
  * Controls the empty-state placeholder shown when no `src`, `children`,
3219
3313
  * and no `loading` state are provided. Default `"auto"` renders the
@@ -3225,7 +3319,7 @@ interface MediaSurfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
3225
3319
  * Legacy `"icon"` is kept as an alias for `"auto"` so the previous API
3226
3320
  * doesn't break.
3227
3321
  */
3228
- emptyState?: "auto" | "icon" | "none" | React$1.ReactNode;
3322
+ emptyState?: "auto" | "icon" | "none" | React.ReactNode;
3229
3323
  /**
3230
3324
  * What kind of media is intended for this slot — drives the placeholder
3231
3325
  * glyph, the default `aspect` when unset, and the future generator's
@@ -3260,7 +3354,7 @@ interface MediaSurfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
3260
3354
  * should pick a `hint` and let the map decide; this is the escape
3261
3355
  * hatch for special slots that don't fit the canonical set.
3262
3356
  */
3263
- glyph?: React$1.ReactNode;
3357
+ glyph?: React.ReactNode;
3264
3358
  /**
3265
3359
  * Stable identifier for this specific MediaSurface instance, stamped
3266
3360
  * on the root as `data-gds-instance-id`. When the JSX renders a list
@@ -3288,10 +3382,10 @@ interface MediaSurfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
3288
3382
  * `children` for content that REPLACES the media (custom canvas/video);
3289
3383
  * use `overlay` for content that DECORATES it.
3290
3384
  */
3291
- overlay?: React$1.ReactNode;
3292
- children?: React$1.ReactNode;
3385
+ overlay?: React.ReactNode;
3386
+ children?: React.ReactNode;
3293
3387
  }
3294
- declare const MediaSurface: React$1.ForwardRefExoticComponent<MediaSurfaceProps & React$1.RefAttributes<HTMLDivElement>>;
3388
+ declare const MediaSurface: React.ForwardRefExoticComponent<MediaSurfaceProps & React.RefAttributes<HTMLDivElement>>;
3295
3389
  /** Shared prop interface extended by each media primitive. */
3296
3390
  interface BaseMediaProps {
3297
3391
  /** src for the media — url or path. */
@@ -3315,7 +3409,7 @@ interface BaseMediaProps {
3315
3409
  /** Accessible label — used as `aria-label` on the surface. */
3316
3410
  label?: string;
3317
3411
  className?: string;
3318
- style?: React$1.CSSProperties;
3412
+ style?: React.CSSProperties;
3319
3413
  }
3320
3414
 
3321
3415
  /**
@@ -3334,7 +3428,7 @@ interface VideoPlayerProps extends BaseMediaProps {
3334
3428
  /** Object-fit. Defaults to "cover" — matches typical hero/background use. */
3335
3429
  objectFit?: "cover" | "contain" | "fill";
3336
3430
  }
3337
- declare const VideoPlayer: React$1.ForwardRefExoticComponent<VideoPlayerProps & React$1.RefAttributes<HTMLVideoElement>>;
3431
+ declare const VideoPlayer: React.ForwardRefExoticComponent<VideoPlayerProps & React.RefAttributes<HTMLVideoElement>>;
3338
3432
 
3339
3433
  /**
3340
3434
  * RivePlayer — Rive runtime wrapped in a MediaSurface.
@@ -3358,7 +3452,7 @@ interface RivePlayerProps extends BaseMediaProps {
3358
3452
  /** Inputs to pass to the state machine. */
3359
3453
  stateMachineInputs?: Record<string, number | boolean | string>;
3360
3454
  }
3361
- declare const RivePlayer: React$1.ForwardRefExoticComponent<RivePlayerProps & React$1.RefAttributes<HTMLDivElement>>;
3455
+ declare const RivePlayer: React.ForwardRefExoticComponent<RivePlayerProps & React.RefAttributes<HTMLDivElement>>;
3362
3456
 
3363
3457
  /**
3364
3458
  * Logo — a brand mark with lockup, background-mode, and monochrome
@@ -3387,9 +3481,9 @@ type LogoSize = "sm" | "md" | "lg" | "xl";
3387
3481
  * light or dark background; `mono` is a single-colour treatment that
3388
3482
  * inherits `currentColor` and works on any background. */
3389
3483
  interface LogoVariant {
3390
- light?: React$1.ReactNode;
3391
- dark?: React$1.ReactNode;
3392
- mono?: React$1.ReactNode;
3484
+ light?: React.ReactNode;
3485
+ dark?: React.ReactNode;
3486
+ mono?: React.ReactNode;
3393
3487
  }
3394
3488
  /** The brand artwork set, keyed by lockup then appearance. */
3395
3489
  interface LogoSources {
@@ -3397,7 +3491,7 @@ interface LogoSources {
3397
3491
  horizontal?: LogoVariant;
3398
3492
  icon?: LogoVariant;
3399
3493
  }
3400
- interface LogoProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "children"> {
3494
+ interface LogoProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
3401
3495
  /** The brand artwork. Supply only the slots you have. Optional — with
3402
3496
  * no artwork at all the neutral placeholder renders, which keeps
3403
3497
  * layout intact (and keeps a model-emitted bare `<Logo />` from
@@ -3425,10 +3519,10 @@ interface LogoProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "children"
3425
3519
  /** Optional link target — renders the logo as an `<a>` (logo-links-home). */
3426
3520
  href?: string;
3427
3521
  }
3428
- declare const Logo: React$1.ForwardRefExoticComponent<LogoProps & React$1.RefAttributes<HTMLElement>>;
3522
+ declare const Logo: React.ForwardRefExoticComponent<LogoProps & React.RefAttributes<HTMLElement>>;
3429
3523
 
3430
3524
  type GradeLoaderSize = "sm" | "md" | "lg" | "xl";
3431
- interface GradeLoaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
3525
+ interface GradeLoaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
3432
3526
  /** Mark size — token or exact pixels. Default `"md"` (24px). */
3433
3527
  size?: GradeLoaderSize | number;
3434
3528
  /** Accessible status text (and the optional visible caption).
@@ -3437,7 +3531,7 @@ interface GradeLoaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
3437
3531
  /** Show the label visually under the mark (it's always announced). */
3438
3532
  showLabel?: boolean;
3439
3533
  }
3440
- declare const GradeLoader: React$1.ForwardRefExoticComponent<GradeLoaderProps & React$1.RefAttributes<HTMLDivElement>>;
3534
+ declare const GradeLoader: React.ForwardRefExoticComponent<GradeLoaderProps & React.RefAttributes<HTMLDivElement>>;
3441
3535
 
3442
3536
  /**
3443
3537
  * ScreenAnimator — wrap any content in a directed camera.
@@ -3499,12 +3593,12 @@ interface ScreenAnimatorProps {
3499
3593
  /** A live backdrop rendered BEHIND the content, filling the stage — an
3500
3594
  * image, a gradient, or a `<ThreeScene>` shader. Shows around the screen
3501
3595
  * while it's small (fly in/out) and behind any padding. */
3502
- backdrop?: React$1.ReactNode;
3596
+ backdrop?: React.ReactNode;
3503
3597
  className?: string;
3504
- style?: React$1.CSSProperties;
3505
- children: React$1.ReactNode;
3598
+ style?: React.CSSProperties;
3599
+ children: React.ReactNode;
3506
3600
  }
3507
- declare function ScreenAnimator({ shots, autoplay, loop, maxLoops, controls, paused, onEnded, spotlight, cursor, enter, captionPosition, stage, backdrop, className, style, children, }: ScreenAnimatorProps): React$1.JSX.Element;
3601
+ declare function ScreenAnimator({ shots, autoplay, loop, maxLoops, controls, paused, onEnded, spotlight, cursor, enter, captionPosition, stage, backdrop, className, style, children, }: ScreenAnimatorProps): React.JSX.Element;
3508
3602
 
3509
3603
  /**
3510
3604
  * Motion — a directed sequence of scenes on one persistent stage.
@@ -3579,10 +3673,10 @@ interface MotionScreenProps {
3579
3673
  * render; read by tooling (the dock, future live-reference scenes). */
3580
3674
  screenId?: string;
3581
3675
  className?: string;
3582
- style?: React$1.CSSProperties;
3583
- children: React$1.ReactNode;
3676
+ style?: React.CSSProperties;
3677
+ children: React.ReactNode;
3584
3678
  }
3585
- declare function MotionScreen({ device, shots, virtualWidth, spotlight, cursor, enter, animate, screenId: _screenId, className, style, children, }: MotionScreenProps): React$1.JSX.Element;
3679
+ declare function MotionScreen({ device, shots, virtualWidth, spotlight, cursor, enter, animate, screenId: _screenId, className, style, children, }: MotionScreenProps): React.JSX.Element;
3586
3680
  type MotionTextTemplate = "title" | "lower-third" | "section-break" | "broadcast" | "ticker" | "stat" | "quote";
3587
3681
  interface MotionTextProps {
3588
3682
  /** Which Motion Template. Default "title". */
@@ -3602,9 +3696,9 @@ interface MotionTextProps {
3602
3696
  */
3603
3697
  lift?: "none" | "shadow" | "scrim";
3604
3698
  className?: string;
3605
- style?: React$1.CSSProperties;
3699
+ style?: React.CSSProperties;
3606
3700
  }
3607
- declare function MotionText({ template, heading, text, durationMs, tone, lift, className, style, }: MotionTextProps): React$1.JSX.Element;
3701
+ declare function MotionText({ template, heading, text, durationMs, tone, lift, className, style, }: MotionTextProps): React.JSX.Element;
3608
3702
  type MotionOverlayZone = "top-left" | "top" | "top-right" | "center" | "bottom-left" | "bottom" | "bottom-right" | "lower-third";
3609
3703
  interface MotionOverlayProps {
3610
3704
  /** Anchor zone. Default "top-right" (the classic network-bug corner). */
@@ -3617,10 +3711,10 @@ interface MotionOverlayProps {
3617
3711
  /** Re-enable pointer events for interactive overlays. Default false. */
3618
3712
  interactive?: boolean;
3619
3713
  className?: string;
3620
- style?: React$1.CSSProperties;
3621
- children: React$1.ReactNode;
3714
+ style?: React.CSSProperties;
3715
+ children: React.ReactNode;
3622
3716
  }
3623
- declare function MotionOverlay({ zone, fromScene: _fromScene, toScene: _toScene, interactive, className, style, children, }: MotionOverlayProps): React$1.JSX.Element;
3717
+ declare function MotionOverlay({ zone, fromScene: _fromScene, toScene: _toScene, interactive, className, style, children, }: MotionOverlayProps): React.JSX.Element;
3624
3718
  /** How a scene ARRIVES on the stage. Entrance-only by design — the
3625
3719
  * outgoing scene cuts; the incoming one performs. (True cross-fades
3626
3720
  * need both scenes mounted; that rides the seekable-clock work.) */
@@ -3648,8 +3742,8 @@ interface MotionSceneProps {
3648
3742
  * SCENE_TRANSITION_DEFAULT_MS. */
3649
3743
  transitionMs?: number;
3650
3744
  className?: string;
3651
- style?: React$1.CSSProperties;
3652
- children: React$1.ReactNode;
3745
+ style?: React.CSSProperties;
3746
+ children: React.ReactNode;
3653
3747
  }
3654
3748
  /**
3655
3749
  * One stage moment in a `<Motion>`. Holds arbitrary content; advances by
@@ -3657,7 +3751,7 @@ interface MotionSceneProps {
3657
3751
  * (active, looping nothing) so a scene can be previewed in isolation —
3658
3752
  * each scene is independently editable.
3659
3753
  */
3660
- declare function MotionScene(props: MotionSceneProps): React$1.JSX.Element;
3754
+ declare function MotionScene(props: MotionSceneProps): React.JSX.Element;
3661
3755
  interface MotionProps {
3662
3756
  /** "play" runs the film; "strip" lays the scenes out left-to-right as
3663
3757
  * labelled cards (the arrangement / edit view). Default "play". */
@@ -3670,7 +3764,7 @@ interface MotionProps {
3670
3764
  /** The persistent stage behind every scene (CSS background). */
3671
3765
  stage?: string;
3672
3766
  /** A live layer behind all scenes (image, gradient, <ThreeScene>). */
3673
- backdrop?: React$1.ReactNode;
3767
+ backdrop?: React.ReactNode;
3674
3768
  /** Start playing on mount. Default true. */
3675
3769
  autoplay?: boolean;
3676
3770
  /** Return to scene 1 and keep going at the end. Default false — a
@@ -3679,10 +3773,10 @@ interface MotionProps {
3679
3773
  /** Show the transport (play/pause, restart, scene dots). Default true. */
3680
3774
  controls?: boolean;
3681
3775
  className?: string;
3682
- style?: React$1.CSSProperties;
3683
- children: React$1.ReactNode;
3776
+ style?: React.CSSProperties;
3777
+ children: React.ReactNode;
3684
3778
  }
3685
- declare function Motion({ view, aspect, stage, backdrop, autoplay, loop, controls, className, style, children, }: MotionProps): React$1.JSX.Element;
3779
+ declare function Motion({ view, aspect, stage, backdrop, autoplay, loop, controls, className, style, children, }: MotionProps): React.JSX.Element;
3686
3780
 
3687
3781
  /**
3688
3782
  * Control schema — the canonical, UI-agnostic descriptor for a shader's
@@ -3710,6 +3804,12 @@ type NumberControl = {
3710
3804
  default: number;
3711
3805
  /** Display unit appended in the readout (e.g. "px", "°", "%"). */
3712
3806
  unit?: string;
3807
+ /** Readout normalisation. "percent" shows the value as 0–100% of its
3808
+ * [min,max] range (the slider still drives the real value) — for the
3809
+ * abstract 0.3753-style knobs where a percentage reads far clearer.
3810
+ * Omit for the raw number. A panel-level `format` setting can opt every
3811
+ * eligible slider into percent without per-control flags. */
3812
+ display?: "percent";
3713
3813
  };
3714
3814
  type ColorControl = {
3715
3815
  type: "color";
@@ -3800,6 +3900,11 @@ interface SceneHandle {
3800
3900
  resize?: (width: number, height: number) => void;
3801
3901
  /** Called when palette changes at runtime. */
3802
3902
  setPalette?: (palette: Palette) => void;
3903
+ /** Called when contract-driven params change at runtime (no remount).
3904
+ * Values are pre-resolved by the host: colours as THREE-parseable
3905
+ * strings (rgb()/hex), colour lists as string[], numbers/bools/selects
3906
+ * as their raw DemoState values. Keyed by ControlSpec.key. */
3907
+ setParams?: (params: Record<string, number | string | boolean | string[]>) => void;
3803
3908
  /** Release GPU + CPU resources. */
3804
3909
  dispose?: () => void;
3805
3910
  }
@@ -3897,7 +4002,11 @@ declare class ShaderCompileError extends Error {
3897
4002
  * the GLSL doesn't compile. ThreeScene catches this and falls back to
3898
4003
  * `preset="space"` so the UI stays populated.
3899
4004
  */
3900
- declare function buildFragmentShaderScene(userFragment: string): SceneFactory;
4005
+ declare function buildFragmentShaderScene(userFragment: string,
4006
+ /** Optional param contract — each non-divider control becomes a uniform
4007
+ * the shader can read (see paramUniformName) and `setParams` can drive
4008
+ * live without a remount. */
4009
+ controls?: readonly ControlSpec[]): SceneFactory;
3901
4010
 
3902
4011
  /**
3903
4012
  * ThreeScene — the WebGL media primitive.
@@ -3923,7 +4032,7 @@ declare function buildFragmentShaderScene(userFragment: string): SceneFactory;
3923
4032
  * an explicit `palette.background` always wins over both.
3924
4033
  */
3925
4034
  type SceneTone = "auto" | "dark" | "light";
3926
- interface ThreeSceneProps extends Omit<BaseMediaProps, "src" | "poster">, Omit<React$1.HTMLAttributes<HTMLDivElement>, keyof BaseMediaProps> {
4035
+ interface ThreeSceneProps extends Omit<BaseMediaProps, "src" | "poster">, Omit<React.HTMLAttributes<HTMLDivElement>, keyof BaseMediaProps> {
3927
4036
  /** Preset id from the shader preset registry. */
3928
4037
  preset?: string;
3929
4038
  /**
@@ -3966,36 +4075,54 @@ interface ThreeSceneProps extends Omit<BaseMediaProps, "src" | "poster">, Omit<R
3966
4075
  * hover" thumbnails. Reduced-motion still forces paused.
3967
4076
  */
3968
4077
  play?: boolean;
4078
+ /**
4079
+ * Release the WebGL context entirely while the scene is scrolled out of
4080
+ * view (and rebuild it when it returns), instead of merely pausing the
4081
+ * render loop. A live `WebGLRenderer` holds a real GL context for its
4082
+ * whole lifetime, and browsers cap simultaneous contexts (~16 Chrome,
4083
+ * ~8 Safari) — so a gallery of many `ThreeScene`s blows the budget and
4084
+ * the browser silently evicts the OLDEST (those cards go blank with a
4085
+ * "Context Lost" log). Galleries / thumbnail grids should set this so
4086
+ * only the on-screen scenes hold a context; a global budget (below) caps
4087
+ * the live total. Default `false` — single hero shaders keep their context.
4088
+ */
4089
+ releaseOffscreen?: boolean;
3969
4090
  }
3970
- declare const ThreeScene: React$1.ForwardRefExoticComponent<ThreeSceneProps & React$1.RefAttributes<HTMLDivElement>>;
4091
+ declare const ThreeScene: React.ForwardRefExoticComponent<ThreeSceneProps & React.RefAttributes<HTMLDivElement>>;
3971
4092
 
3972
4093
  /**
3973
- * ShaderControls — renders a `ControlSpec[]` schema into a live controls
3974
- * panel using the DS control primitives. One component drives every
3975
- * shader's params, the universal post stack (POST_CONTROLS), and any
3976
- * effect layer — because they all describe themselves as ControlSpec[].
3977
- *
3978
- * Controlled: parent owns the `DemoState` and gets `onChange(key, value)`
3979
- * on every edit. UI-only; it knows nothing about WebGL.
3980
- *
3981
- * Mapping:
3982
- * slider → Slider + editable number (with optional unit)
3983
- * segmented → ToggleGroup (single)
3984
- * select → Select (compact)
3985
- * toggle → Switch
3986
- * color → swatch + hex field (with optional "→ slot" binding hint)
3987
- * colorList → N swatches + add/remove (Paper's colorCount)
3988
- * divider → section heading + rule
4094
+ * ShaderControls — renders a `ControlSpec[]` schema into a DS-native control
4095
+ * panel. The single renderer behind every shader's params, the universal
4096
+ * post stack, and any effect layer (they all describe themselves as
4097
+ * ControlSpec[]).
4098
+ *
4099
+ * DS-consistent by construction: it composes the design-system primitives at
4100
+ * tool-panel density (Label size="xs", Slider size="sm", Input size="2xs"
4101
+ * variant="ghost", ToggleGroup size="sm", Select size="xs", Switch) — no
4102
+ * bespoke markup, so it reads identically to the Studio inspector and the
4103
+ * homepage tweaker.
4104
+ *
4105
+ * `labelPosition` switches between the dense inline layout (label left,
4106
+ * control + value right) and label-above (label + value on top, control
4107
+ * below). Controlled: parent owns `DemoState`, gets `onChange(key, value)`.
3989
4108
  */
3990
4109
 
4110
+ type ControlLabelPosition = "inline" | "above";
3991
4111
  interface ShaderControlsProps {
3992
4112
  controls: readonly ControlSpec[];
3993
4113
  state: DemoState;
3994
4114
  onChange: (key: string, value: number | string | boolean | string[]) => void;
3995
4115
  disabled?: boolean;
4116
+ /** Label placement: dense inline (default) or stacked above the control. */
4117
+ labelPosition?: ControlLabelPosition;
4118
+ /** Number-readout format. "percent" normalises every eligible slider (no
4119
+ * unit, fractional step, non-negative range) to 0–100%, killing the
4120
+ * abstract 0.3753 readouts. A control's own `display: "percent"` always
4121
+ * wins. Default "raw". */
4122
+ format?: "raw" | "percent";
3996
4123
  className?: string;
3997
4124
  }
3998
- declare function ShaderControls({ controls, state, onChange, disabled, className, }: ShaderControlsProps): React$1.JSX.Element;
4125
+ declare function ShaderControls({ controls, state, onChange, disabled, labelPosition, format, className, }: ShaderControlsProps): React.JSX.Element;
3999
4126
 
4000
4127
  /**
4001
4128
  * BackgroundFill — a frame's background *paint*, as a layer.
@@ -4072,13 +4199,13 @@ interface BackgroundFillProps {
4072
4199
  /** Layer opacity (0–1). */
4073
4200
  opacity?: number;
4074
4201
  /** CSS mix-blend-mode against the frame behind it. */
4075
- blendMode?: React$1.CSSProperties["mixBlendMode"];
4202
+ blendMode?: React.CSSProperties["mixBlendMode"];
4076
4203
  /** Corner radius — match the frame's so the paint clips cleanly. */
4077
4204
  radius?: MediaRadius;
4078
4205
  className?: string;
4079
- style?: React$1.CSSProperties;
4206
+ style?: React.CSSProperties;
4080
4207
  }
4081
- declare const BackgroundFill: React$1.ForwardRefExoticComponent<BackgroundFillProps & React$1.RefAttributes<HTMLDivElement>>;
4208
+ declare const BackgroundFill: React.ForwardRefExoticComponent<BackgroundFillProps & React.RefAttributes<HTMLDivElement>>;
4082
4209
 
4083
4210
  /**
4084
4211
  * FillPicker — Grade's paint picker, modelled on Figma's fill popover.
@@ -4121,7 +4248,7 @@ interface FillPickerProps {
4121
4248
  onChange: (value: FillValue) => void;
4122
4249
  className?: string;
4123
4250
  }
4124
- declare function FillPicker({ value, onChange, className }: FillPickerProps): React$1.JSX.Element;
4251
+ declare function FillPicker({ value, onChange, className }: FillPickerProps): React.JSX.Element;
4125
4252
  declare namespace FillPicker {
4126
4253
  var displayName: string;
4127
4254
  }
@@ -4153,7 +4280,7 @@ interface ShaderPresetPreviewProps {
4153
4280
  hideLabel?: boolean;
4154
4281
  onClick?: () => void;
4155
4282
  }
4156
- declare const ShaderPresetPreview: React$1.ForwardRefExoticComponent<ShaderPresetPreviewProps & React$1.RefAttributes<HTMLDivElement>>;
4283
+ declare const ShaderPresetPreview: React.ForwardRefExoticComponent<ShaderPresetPreviewProps & React.RefAttributes<HTMLDivElement>>;
4157
4284
 
4158
4285
  /**
4159
4286
  * ShaderPresetPicker — runtime preset gallery + selection.
@@ -4184,7 +4311,7 @@ interface ShaderPresetPickerProps {
4184
4311
  columns?: 2 | 3 | 4;
4185
4312
  className?: string;
4186
4313
  }
4187
- declare function ShaderPresetPicker({ value, onChange, filterTags, live, postPreset, palette, columns, className, }: ShaderPresetPickerProps): React$1.JSX.Element;
4314
+ declare function ShaderPresetPicker({ value, onChange, filterTags, live, postPreset, palette, columns, className, }: ShaderPresetPickerProps): React.JSX.Element;
4188
4315
 
4189
4316
  /**
4190
4317
  * Shader preset registry — maps semantic preset ids to scene factories
@@ -4220,7 +4347,7 @@ declare function cn(...inputs: ClassValue[]): string;
4220
4347
  interface LenisProviderProps {
4221
4348
  children: React.ReactNode;
4222
4349
  }
4223
- declare function LenisProvider({ children }: LenisProviderProps): React$1.JSX.Element;
4350
+ declare function LenisProvider({ children }: LenisProviderProps): React.JSX.Element;
4224
4351
 
4225
4352
  /**
4226
4353
  * OKLCH ramp generation.
@@ -4287,6 +4414,34 @@ declare const FONTS: {
4287
4414
  readonly mono: "ui-monospace, Menlo, monospace";
4288
4415
  };
4289
4416
  type FontKey = keyof typeof FONTS;
4417
+ /** One uploaded font face a theme carries. Stored on
4418
+ * `ThemeInput.typography.customFonts` and emitted as an @font-face rule
4419
+ * by `fontFaceCSS` (apply.ts) wherever the theme is applied. */
4420
+ interface CustomFontFace {
4421
+ /** CSS font-family name, e.g. "Pebble Sans". Doubles as the display
4422
+ * label and as the reference target for `custom:<family>` selections. */
4423
+ family: string;
4424
+ /** Permanent public URL for the font file (user-assets bucket). Must be
4425
+ * publicly resolvable so cross-origin embeds can load it. */
4426
+ url: string;
4427
+ /** @font-face `format()` hint. Derived from the file extension. */
4428
+ format?: "woff2" | "woff" | "truetype" | "opentype";
4429
+ /** font-weight descriptor: "400", "700", or a variable range "100 900". */
4430
+ weight?: string;
4431
+ /** font-stretch descriptor range, e.g. "75% 125%" for a wdth axis.
4432
+ * Defaults to a generous "50% 200%" (browsers clamp to the font's
4433
+ * real range) so width-variable fonts respond to font-stretch. */
4434
+ stretch?: string;
4435
+ style?: "normal" | "italic";
4436
+ /** Drives the generic fallback stack appended after the family. */
4437
+ category?: "sans" | "serif" | "mono";
4438
+ /** Provenance: the `assets` row this face came from (optional — a theme
4439
+ * must stay renderable even if the library row is gone). */
4440
+ assetId?: string;
4441
+ }
4442
+ /** What `typography.display/body/mono` accept: a registry key, or a
4443
+ * reference to an entry in `typography.customFonts` ("custom:<family>"). */
4444
+ type FontSelection = FontKey | `custom:${string}`;
4290
4445
  /** Type scale preset — controls how generous the size ladder is. */
4291
4446
  type TypeScalePreset = "compact" | "default" | "spacious";
4292
4447
  /** Modular (musical-interval) scale ids — mirror GDS_MODULAR_SCALES in
@@ -4349,6 +4504,21 @@ interface ThemeInput {
4349
4504
  };
4350
4505
  /** If true, the neutral ramp is pure gray regardless of neutral hue. */
4351
4506
  neutralPureGray?: boolean;
4507
+ /**
4508
+ * Focus ring colour. By default the ring (`--ring`) rides the PRIMARY
4509
+ * ramp at a mode-tuned step (500 light / 400 dark / 300 superDark).
4510
+ * `source` re-points it at another ramp; `hue` (0–360) gives the ring
4511
+ * its own dedicated ramp at primary chroma — for brands whose focus
4512
+ * colour is deliberately independent of primary/accent (e.g. a blue
4513
+ * a11y ring on a warm-toned brand). `hue` wins over `source` when both
4514
+ * are set. The mode-tuned step is preserved either way, so contrast
4515
+ * behaviour per mode doesn't change. Deterministic + portable like
4516
+ * every other ThemeInput field.
4517
+ */
4518
+ ring?: {
4519
+ source?: "primary" | "accent" | "neutral";
4520
+ hue?: number;
4521
+ };
4352
4522
  /**
4353
4523
  * Global chroma intensity. Multiplies every ramp's chroma — a quick way to
4354
4524
  * flip the whole theme between muted / default / vibrant without touching
@@ -4356,9 +4526,9 @@ interface ThemeInput {
4356
4526
  */
4357
4527
  intensity?: ColorIntensity;
4358
4528
  typography: {
4359
- display: FontKey;
4360
- body: FontKey;
4361
- mono: FontKey;
4529
+ display: FontSelection;
4530
+ body: FontSelection;
4531
+ mono: FontSelection;
4362
4532
  scale: TypeScale;
4363
4533
  /** Override heading weight. Defaults to 600 for sans, 500 for serif. */
4364
4534
  headingWeight?: number;
@@ -4366,6 +4536,18 @@ interface ThemeInput {
4366
4536
  bodyWeight?: number;
4367
4537
  /** Letter-spacing applied to headings. Default "-0.01em". */
4368
4538
  headingTracking?: string;
4539
+ /** CSS font-stretch for body text (spans, paragraphs, component
4540
+ * text — it inherits everywhere). Meaningful for fonts with a
4541
+ * wdth axis, e.g. "90%" = TT Commons' Compact cut. Default
4542
+ * "normal". Fonts without the axis ignore it. */
4543
+ bodyStretch?: string;
4544
+ /** CSS font-stretch for display/heading text. Defaults to
4545
+ * bodyStretch so one knob re-cuts the whole theme. */
4546
+ displayStretch?: string;
4547
+ /** Uploaded faces this theme carries. A `custom:<family>` selection
4548
+ * above must have a matching entry here; unreferenced entries are
4549
+ * harmless (kept so switching back is instant). */
4550
+ customFonts?: CustomFontFace[];
4369
4551
  };
4370
4552
  spacing: {
4371
4553
  density: SpacingDensity;
@@ -4430,9 +4612,17 @@ interface GeneratedTypography {
4430
4612
  fontSans: string;
4431
4613
  fontMono: string;
4432
4614
  fontDisplay: string;
4615
+ /** Custom @font-face sources carried through from the input. Whoever
4616
+ * applies the theme (apply.ts, Fast Frame, Sandpack, embed) is
4617
+ * responsible for injecting these — the font-family vars above already
4618
+ * reference the family names. Absent/empty for registry-only themes. */
4619
+ fontFaces?: CustomFontFace[];
4433
4620
  headingWeight: number;
4434
4621
  bodyWeight: number;
4435
4622
  headingTracking: string;
4623
+ /** Resolved CSS font-stretch values ("normal" when unset). */
4624
+ bodyStretch: string;
4625
+ displayStretch: string;
4436
4626
  /** Explicit font-size for each step in the scale. */
4437
4627
  scale: {
4438
4628
  display: string;
@@ -4445,6 +4635,17 @@ interface GeneratedTypography {
4445
4635
  body: string;
4446
4636
  bodySm: string;
4447
4637
  };
4638
+ /**
4639
+ * The full named Tailwind ladder (2xs…7xl), present ONLY when
4640
+ * `typography.scale` is a modular ratio id (THEME-MIGRATION.md B2).
4641
+ * Emitted as `--text-<name>` / `--text-<name>--line-height` so every
4642
+ * text-* utility re-pitches when the ratio changes. Presets leave this
4643
+ * undefined — the static ladder in the stylesheet stays untouched.
4644
+ */
4645
+ namedScale?: Record<string, {
4646
+ size: string;
4647
+ lineHeight: string;
4648
+ }>;
4448
4649
  }
4449
4650
  /** Concrete resolved CSS values for radius. */
4450
4651
  interface GeneratedRadius {
@@ -4460,6 +4661,14 @@ interface GeneratedRadius {
4460
4661
  interface GeneratedSpacing {
4461
4662
  baseUnit: string;
4462
4663
  densityFactor: number;
4664
+ /**
4665
+ * The Tailwind v4 `--spacing` base unit (e.g. "0.2125rem" for tight,
4666
+ * "0.25rem" for default, "0.3rem" for roomy). Every spacing utility is
4667
+ * calc(var(--spacing) * N), so this single variable re-scales padding,
4668
+ * gaps, margins and sizes across every generated screen — retroactively
4669
+ * (THEME-MIGRATION.md B1).
4670
+ */
4671
+ unit: string;
4463
4672
  }
4464
4673
  /** Concrete resolved effects values. */
4465
4674
  interface GeneratedEffects {
@@ -4511,6 +4720,21 @@ interface GeneratedTheme {
4511
4720
  primary: Ramp;
4512
4721
  accent: Ramp;
4513
4722
  };
4723
+ /**
4724
+ * Role ramp families (THEME-MIGRATION.md B4) — every status alias is a
4725
+ * whole ramp because status displays many ways (soft 100 bg, solid 600
4726
+ * fill, 800 text). Seeded from the fixed status hues; emitted as
4727
+ * `--gds-<role>-<step>` triplets alongside primary/accent/neutral
4728
+ * (which reuse `ramps`). Optional so partially-constructed themes stay
4729
+ * valid; generator output always includes it.
4730
+ */
4731
+ roleRamps?: {
4732
+ success: Ramp;
4733
+ warning: Ramp;
4734
+ info: Ramp;
4735
+ highlight: Ramp;
4736
+ destructive: Ramp;
4737
+ };
4514
4738
  /** Semantic tokens for all four modes. */
4515
4739
  colors: Record<ModeName, GeneratedColorsMode>;
4516
4740
  /** 5-stop palette for chart series. */
@@ -4664,11 +4888,11 @@ type GradeThemeContextValue = {
4664
4888
  refresh: () => void;
4665
4889
  };
4666
4890
  interface GradeThemeProviderProps {
4667
- children: React$1.ReactNode;
4891
+ children: React.ReactNode;
4668
4892
  defaultTheme?: string;
4669
4893
  defaultMode?: ModeName;
4670
4894
  }
4671
- declare function GradeThemeProvider({ children, defaultTheme, defaultMode, }: GradeThemeProviderProps): React$1.JSX.Element;
4895
+ declare function GradeThemeProvider({ children, defaultTheme, defaultMode, }: GradeThemeProviderProps): React.JSX.Element;
4672
4896
  /** Read the active theme + mode. Must be used inside <GradeThemeProvider>. */
4673
4897
  declare function useGradeTheme(): GradeThemeContextValue;
4674
4898
  /** Safe variant — returns null outside a provider instead of throwing. */
@@ -4683,7 +4907,7 @@ declare function useMaybeGradeTheme(): GradeThemeContextValue | null;
4683
4907
  */
4684
4908
  declare function GradeThemeSwitcher({ className }: {
4685
4909
  className?: string;
4686
- }): React$1.JSX.Element | null;
4910
+ }): React.JSX.Element | null;
4687
4911
 
4688
4912
  /**
4689
4913
  * 4-way mode switcher. Segmented control: super-light / light / dark / super-dark.
@@ -4696,13 +4920,13 @@ interface GradeModeSwitcherProps {
4696
4920
  className?: string;
4697
4921
  variant?: "icons" | "labeled";
4698
4922
  }
4699
- declare function GradeModeSwitcher({ className, variant }: GradeModeSwitcherProps): React$1.JSX.Element | null;
4923
+ declare function GradeModeSwitcher({ className, variant }: GradeModeSwitcherProps): React.JSX.Element | null;
4700
4924
 
4701
4925
  /**
4702
4926
  * Binary light/dark toggle — flips between `light` and `dark` modes.
4703
4927
  * For the full 4-way picker (including super-light / super-dark), use
4704
4928
  * <GradeModeSwitcher /> instead.
4705
4929
  */
4706
- declare function ThemeToggle(): React$1.JSX.Element;
4930
+ declare function ThemeToggle(): React.JSX.Element;
4707
4931
 
4708
- 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, 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, Composer, type ComposerAttachment, type ComposerAttachmentConfig, type ComposerContent, type ComposerFormat, type ComposerHandle, type ComposerMentionItem, type ComposerProps, ComposerReply, type ComposerStep, type ComposerTriggerConfig, DEMO_SPEED_PRESETS, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DemoSpeed, DemoStage, type DemoStageProps, type 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, type FillValue, Flex, type FlexProps, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeLoader, type GradeLoaderProps, type GradeLoaderSize, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, 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, 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, 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, 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 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, defaultPostPreset, defaultThemeId, deleteUserTheme, sleep as demoSleep, typeText as demoTypeText, duplicateTheme, energyInput, flexVariants, generateTheme, getComponentContract, getTheme, gridVariants, listContractedComponents, listThemes, listUserThemes, loadUserThemeInput, postPresets, rowVariants, saveUserTheme, sceneRegistry, setMotion, shaderPresetById, shaderPresets, shellVariants, stackVariants, themeToCSSVars, toggleVariants, useCarouselApi, useGradeTheme, useMaybeGradeTheme, useMotionScene, usePageActive, usePrefersReducedMotion, useReducedMotion, useScriptedDemo };
4932
+ 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, 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, Composer, type ComposerAttachment, type ComposerAttachmentConfig, type ComposerContent, type ComposerFormat, type ComposerHandle, type ComposerMentionItem, type ComposerProps, ComposerReply, type ComposerStep, type ComposerTriggerConfig, DEMO_SPEED_PRESETS, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DemoSpeed, DemoStage, type DemoStageProps, type 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, type FillValue, Flex, type FlexProps, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeLoader, type GradeLoaderProps, type GradeLoaderSize, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, 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, 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, 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 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, defaultPostPreset, defaultThemeId, deleteUserTheme, sleep as demoSleep, typeText as demoTypeText, duplicateTheme, energyInput, flexVariants, generateTheme, getComponentContract, getTheme, gridVariants, listContractedComponents, listThemes, listUserThemes, loadUserThemeInput, postPresets, rowVariants, saveUserTheme, sceneRegistry, setMotion, shaderPresetById, shaderPresets, shellVariants, stackVariants, swatchVariants, themeToCSSVars, toggleVariants, useCarouselApi, useGradeTheme, useMaybeGradeTheme, useMotionScene, usePageActive, usePrefersReducedMotion, useReducedMotion, useScriptedDemo };