@gradeui/ui 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -12
- package/components/ui/avatar.md +28 -3
- package/components/ui/grade-loader.md +31 -0
- package/components/ui/input.md +2 -1
- package/components/ui/logo.md +39 -13
- package/components/ui/map.md +19 -10
- package/components/ui/motion.md +109 -0
- package/dist/contracts.js +5 -5
- package/dist/contracts.js.map +1 -1
- package/dist/contracts.mjs +5 -5
- package/dist/contracts.mjs.map +1 -1
- package/dist/index.d.mts +343 -21
- package/dist/index.d.ts +343 -21
- package/dist/index.js +222 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +222 -45
- package/dist/index.mjs.map +1 -1
- package/dist/map/leaflet.d.mts +6 -0
- package/dist/map/leaflet.d.ts +6 -0
- package/dist/map/leaflet.js +4 -0
- package/dist/map/leaflet.js.map +1 -0
- package/dist/map/leaflet.mjs +4 -0
- package/dist/map/leaflet.mjs.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +9 -7
- package/styles/globals.css +2278 -0
- package/dist/tailwind-preset.d.mts +0 -20
- package/dist/tailwind-preset.d.ts +0 -20
- package/dist/tailwind-preset.js +0 -2
- package/dist/tailwind-preset.js.map +0 -1
- package/dist/tailwind-preset.mjs +0 -2
- package/dist/tailwind-preset.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,11 @@ import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
|
25
25
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
26
26
|
import { UniqueIdentifier } from '@dnd-kit/core';
|
|
27
27
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
28
|
+
import * as recharts_types_util_payload_getUniqPayload from 'recharts/types/util/payload/getUniqPayload';
|
|
29
|
+
import * as recharts_types_component_Tooltip from 'recharts/types/component/Tooltip';
|
|
30
|
+
import * as recharts_types_util_types from 'recharts/types/util/types';
|
|
31
|
+
import * as recharts_types_component_DefaultTooltipContent from 'recharts/types/component/DefaultTooltipContent';
|
|
32
|
+
import * as RechartsPrimitive from 'recharts';
|
|
28
33
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
29
34
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
30
35
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
@@ -384,10 +389,10 @@ declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<Accordion
|
|
|
384
389
|
* `variant="warning"` or `variant="info"` depending on temperature.
|
|
385
390
|
*/
|
|
386
391
|
declare const calloutVariants: (props?: ({
|
|
387
|
-
variant?: "default" | "
|
|
392
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
388
393
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
389
394
|
declare const Callout: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
390
|
-
variant?: "default" | "
|
|
395
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
391
396
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
392
397
|
declare const CalloutTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
393
398
|
declare const CalloutDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -489,7 +494,7 @@ declare const AppShellFooter: React$1.ForwardRefExoticComponent<AppShellFooterPr
|
|
|
489
494
|
* directly still works and overrides the variant defaults.
|
|
490
495
|
*/
|
|
491
496
|
declare const avatarSizes: (props?: ({
|
|
492
|
-
size?: "
|
|
497
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
493
498
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
494
499
|
interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarSizes> {
|
|
495
500
|
}
|
|
@@ -504,7 +509,7 @@ interface AvatarFallbackProps extends React$1.ComponentPropsWithoutRef<typeof Av
|
|
|
504
509
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
505
510
|
|
|
506
511
|
declare const badgeVariants: (props?: ({
|
|
507
|
-
variant?: "default" | "
|
|
512
|
+
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;
|
|
508
513
|
rounded?: "default" | "full" | null | undefined;
|
|
509
514
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
510
515
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -570,7 +575,7 @@ type Surface = "solid" | "translucent" | "glass" | "glass-strong";
|
|
|
570
575
|
* cannot get the token names wrong.
|
|
571
576
|
*/
|
|
572
577
|
declare const bannerVariants: (props?: ({
|
|
573
|
-
variant?: "default" | "
|
|
578
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | "announcement" | null | undefined;
|
|
574
579
|
align?: "between" | "start" | "center" | null | undefined;
|
|
575
580
|
sticky?: boolean | null | undefined;
|
|
576
581
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -627,8 +632,8 @@ declare const Banner: React$1.ForwardRefExoticComponent<BannerProps & React$1.Re
|
|
|
627
632
|
* consistent across primitives.
|
|
628
633
|
*/
|
|
629
634
|
declare const buttonVariants: (props?: ({
|
|
630
|
-
variant?: "default" | "
|
|
631
|
-
size?: "
|
|
635
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "raised" | null | undefined;
|
|
636
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "default" | "icon" | null | undefined;
|
|
632
637
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
633
638
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
634
639
|
asChild?: boolean;
|
|
@@ -1907,7 +1912,7 @@ declare const DropdownMenuShortcut: {
|
|
|
1907
1912
|
* rationale.
|
|
1908
1913
|
*/
|
|
1909
1914
|
declare const inputVariants: (props?: ({
|
|
1910
|
-
size?: "
|
|
1915
|
+
size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
|
|
1911
1916
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1912
1917
|
type InputSize = NonNullable<VariantProps<typeof inputVariants>["size"]>;
|
|
1913
1918
|
type InputProps = Omit<React$1.ComponentProps<"input">, "size"> & {
|
|
@@ -1925,7 +1930,7 @@ type InputProps = Omit<React$1.ComponentProps<"input">, "size"> & {
|
|
|
1925
1930
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1926
1931
|
|
|
1927
1932
|
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
|
|
1928
|
-
size?: "
|
|
1933
|
+
size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
|
|
1929
1934
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1930
1935
|
|
|
1931
1936
|
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
@@ -2108,7 +2113,7 @@ declare const ResizableHandle: ({ withHandle, className, ...props }: React$1.Com
|
|
|
2108
2113
|
* etc.) and is a separate primitive.
|
|
2109
2114
|
*/
|
|
2110
2115
|
declare const rowVariants: (props?: ({
|
|
2111
|
-
gap?: "none" | "
|
|
2116
|
+
gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2112
2117
|
align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
|
|
2113
2118
|
justify?: "between" | "start" | "center" | "end" | "around" | "evenly" | null | undefined;
|
|
2114
2119
|
wrap?: boolean | null | undefined;
|
|
@@ -2144,7 +2149,7 @@ declare const Row: React$1.ForwardRefExoticComponent<RowProps & React$1.RefAttri
|
|
|
2144
2149
|
*/
|
|
2145
2150
|
declare const gridVariants: (props?: ({
|
|
2146
2151
|
cols?: "1" | "2" | "3" | "4" | "5" | "6" | "12" | null | undefined;
|
|
2147
|
-
gap?: "none" | "
|
|
2152
|
+
gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2148
2153
|
align?: "start" | "center" | "end" | "stretch" | null | undefined;
|
|
2149
2154
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2150
2155
|
interface GridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
|
|
@@ -2178,7 +2183,7 @@ declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAtt
|
|
|
2178
2183
|
*/
|
|
2179
2184
|
declare const flexVariants: (props?: ({
|
|
2180
2185
|
direction?: "row" | "col" | "row-reverse" | "col-reverse" | null | undefined;
|
|
2181
|
-
gap?: "none" | "
|
|
2186
|
+
gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2182
2187
|
align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
|
|
2183
2188
|
justify?: "between" | "start" | "center" | "end" | "around" | "evenly" | null | undefined;
|
|
2184
2189
|
wrap?: "wrap" | "nowrap" | "wrap-reverse" | null | undefined;
|
|
@@ -2214,7 +2219,7 @@ type SelectMenuSize = "default" | "sm" | "xs" | "2xs";
|
|
|
2214
2219
|
* existing call site.
|
|
2215
2220
|
*/
|
|
2216
2221
|
declare const selectTriggerVariants: (props?: ({
|
|
2217
|
-
size?: "
|
|
2222
|
+
size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
|
|
2218
2223
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2219
2224
|
type SelectTriggerSize = NonNullable<VariantProps<typeof selectTriggerVariants>["size"]>;
|
|
2220
2225
|
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
@@ -2389,7 +2394,7 @@ declare const Sortable: SortableRootComponent;
|
|
|
2389
2394
|
* for a centred narrow column (auth cards, marketing copy).
|
|
2390
2395
|
*/
|
|
2391
2396
|
declare const stackVariants: (props?: ({
|
|
2392
|
-
gap?: "none" | "
|
|
2397
|
+
gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2393
2398
|
align?: "start" | "center" | "end" | "stretch" | null | undefined;
|
|
2394
2399
|
justify?: "between" | "start" | "center" | "end" | "around" | "evenly" | null | undefined;
|
|
2395
2400
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -2409,7 +2414,7 @@ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefA
|
|
|
2409
2414
|
* dense tool-panel sizes (the Studio inspector).
|
|
2410
2415
|
*/
|
|
2411
2416
|
declare const switchTrackVariants: (props?: ({
|
|
2412
|
-
size?: "
|
|
2417
|
+
size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
|
|
2413
2418
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2414
2419
|
type SwitchSize = NonNullable<VariantProps<typeof switchTrackVariants>["size"]>;
|
|
2415
2420
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "size"> & {
|
|
@@ -2531,13 +2536,73 @@ interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsP
|
|
|
2531
2536
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2532
2537
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2533
2538
|
|
|
2539
|
+
declare const THEMES: {
|
|
2540
|
+
readonly light: "";
|
|
2541
|
+
readonly dark: ".dark";
|
|
2542
|
+
};
|
|
2543
|
+
type ChartConfig = {
|
|
2544
|
+
[k in string]: {
|
|
2545
|
+
label?: React$1.ReactNode;
|
|
2546
|
+
icon?: React$1.ComponentType;
|
|
2547
|
+
} & ({
|
|
2548
|
+
color?: string;
|
|
2549
|
+
theme?: never;
|
|
2550
|
+
} | {
|
|
2551
|
+
color?: never;
|
|
2552
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
2553
|
+
});
|
|
2554
|
+
};
|
|
2555
|
+
declare const ChartContainer: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2556
|
+
config: ChartConfig;
|
|
2557
|
+
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
2558
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2559
|
+
declare const ChartStyle: ({ id, config }: {
|
|
2560
|
+
id: string;
|
|
2561
|
+
config: ChartConfig;
|
|
2562
|
+
}) => React$1.JSX.Element | null;
|
|
2563
|
+
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> & {
|
|
2565
|
+
accessibilityLayer?: boolean;
|
|
2566
|
+
active?: boolean | undefined;
|
|
2567
|
+
includeHidden?: boolean | undefined;
|
|
2568
|
+
allowEscapeViewBox?: recharts_types_util_types.AllowInDimension;
|
|
2569
|
+
animationDuration?: recharts_types_util_types.AnimationDuration;
|
|
2570
|
+
animationEasing?: recharts_types_util_types.AnimationTiming;
|
|
2571
|
+
content?: recharts_types_component_Tooltip.ContentType<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> | undefined;
|
|
2572
|
+
coordinate?: Partial<recharts_types_util_types.Coordinate>;
|
|
2573
|
+
cursor?: boolean | React$1.ReactElement | React$1.SVGProps<SVGElement>;
|
|
2574
|
+
filterNull?: boolean;
|
|
2575
|
+
defaultIndex?: number;
|
|
2576
|
+
isAnimationActive?: boolean;
|
|
2577
|
+
offset?: number;
|
|
2578
|
+
payloadUniqBy?: recharts_types_util_payload_getUniqPayload.UniqueOption<recharts_types_component_DefaultTooltipContent.Payload<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType>> | undefined;
|
|
2579
|
+
position?: Partial<recharts_types_util_types.Coordinate>;
|
|
2580
|
+
reverseDirection?: recharts_types_util_types.AllowInDimension;
|
|
2581
|
+
shared?: boolean;
|
|
2582
|
+
trigger?: "hover" | "click";
|
|
2583
|
+
useTranslate3d?: boolean;
|
|
2584
|
+
viewBox?: recharts_types_util_types.CartesianViewBox;
|
|
2585
|
+
wrapperStyle?: React$1.CSSProperties;
|
|
2586
|
+
} & React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2587
|
+
hideLabel?: boolean;
|
|
2588
|
+
hideIndicator?: boolean;
|
|
2589
|
+
indicator?: "line" | "dot" | "dashed";
|
|
2590
|
+
nameKey?: string;
|
|
2591
|
+
labelKey?: string;
|
|
2592
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2593
|
+
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"> & {
|
|
2595
|
+
hideIcon?: boolean;
|
|
2596
|
+
nameKey?: string;
|
|
2597
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2598
|
+
|
|
2534
2599
|
/**
|
|
2535
2600
|
* Textarea variants — `size` mirrors Input so the whole form-control
|
|
2536
2601
|
* family scales together. Default keeps the existing min-h-[80px] /
|
|
2537
2602
|
* px-3 / text-sm; `sm` and `xs` are for dense tool panels.
|
|
2538
2603
|
*/
|
|
2539
2604
|
declare const textareaVariants: (props?: ({
|
|
2540
|
-
size?: "
|
|
2605
|
+
size?: "2xs" | "xs" | "sm" | "default" | null | undefined;
|
|
2541
2606
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2542
2607
|
type TextareaSize = NonNullable<VariantProps<typeof textareaVariants>["size"]>;
|
|
2543
2608
|
type TextareaProps = Omit<React$1.ComponentProps<"textarea">, "size"> & {
|
|
@@ -2547,11 +2612,11 @@ declare const Textarea: React$1.ForwardRefExoticComponent<Omit<TextareaProps, "r
|
|
|
2547
2612
|
|
|
2548
2613
|
declare const toggleVariants: (props?: ({
|
|
2549
2614
|
variant?: "default" | "outline" | null | undefined;
|
|
2550
|
-
size?: "
|
|
2615
|
+
size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
|
|
2551
2616
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2552
2617
|
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
2553
2618
|
variant?: "default" | "outline" | null | undefined;
|
|
2554
|
-
size?: "
|
|
2619
|
+
size?: "2xs" | "xs" | "sm" | "lg" | "default" | null | undefined;
|
|
2555
2620
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2556
2621
|
|
|
2557
2622
|
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
@@ -3362,6 +3427,18 @@ interface LogoProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "children"
|
|
|
3362
3427
|
}
|
|
3363
3428
|
declare const Logo: React$1.ForwardRefExoticComponent<LogoProps & React$1.RefAttributes<HTMLElement>>;
|
|
3364
3429
|
|
|
3430
|
+
type GradeLoaderSize = "sm" | "md" | "lg" | "xl";
|
|
3431
|
+
interface GradeLoaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
3432
|
+
/** Mark size — token or exact pixels. Default `"md"` (24px). */
|
|
3433
|
+
size?: GradeLoaderSize | number;
|
|
3434
|
+
/** Accessible status text (and the optional visible caption).
|
|
3435
|
+
* Default "Loading…"; pass "" to silence. */
|
|
3436
|
+
label?: string;
|
|
3437
|
+
/** Show the label visually under the mark (it's always announced). */
|
|
3438
|
+
showLabel?: boolean;
|
|
3439
|
+
}
|
|
3440
|
+
declare const GradeLoader: React$1.ForwardRefExoticComponent<GradeLoaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3441
|
+
|
|
3365
3442
|
/**
|
|
3366
3443
|
* ScreenAnimator — wrap any content in a directed camera.
|
|
3367
3444
|
*
|
|
@@ -3402,6 +3479,12 @@ interface ScreenAnimatorProps {
|
|
|
3402
3479
|
maxLoops?: number;
|
|
3403
3480
|
/** Show the play / pause / restart transport. Default true. */
|
|
3404
3481
|
controls?: boolean;
|
|
3482
|
+
/** Controlled pause override — a sequencer (e.g. `<Motion>`) holds the
|
|
3483
|
+
* transport. Leave undefined for self-managed playback. */
|
|
3484
|
+
paused?: boolean;
|
|
3485
|
+
/** Fires once when the tour runs to its end and stops (loop cap reached,
|
|
3486
|
+
* or `loop=false`). The hook a sequencer advances on. */
|
|
3487
|
+
onEnded?: () => void;
|
|
3405
3488
|
/** Dim the edges when pushed in (focus vignette). Default false — opt in. */
|
|
3406
3489
|
spotlight?: boolean;
|
|
3407
3490
|
/** Render the synthetic cursor pulse on detail shots. Default true. */
|
|
@@ -3421,7 +3504,185 @@ interface ScreenAnimatorProps {
|
|
|
3421
3504
|
style?: React$1.CSSProperties;
|
|
3422
3505
|
children: React$1.ReactNode;
|
|
3423
3506
|
}
|
|
3424
|
-
declare function ScreenAnimator({ shots, autoplay, loop, maxLoops, controls, spotlight, cursor, enter, captionPosition, stage, backdrop, className, style, children, }: ScreenAnimatorProps): React$1.JSX.Element;
|
|
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;
|
|
3508
|
+
|
|
3509
|
+
/**
|
|
3510
|
+
* Motion — a directed sequence of scenes on one persistent stage.
|
|
3511
|
+
*
|
|
3512
|
+
* The grammar of a modern product demo: text → demo → video → text, any
|
|
3513
|
+
* order, any mix. A `<Motion>` owns the stage (one continuous backdrop) and
|
|
3514
|
+
* plays its `<MotionScene>`s in order. A scene is a *stage moment* holding
|
|
3515
|
+
* arbitrary content:
|
|
3516
|
+
*
|
|
3517
|
+
* - `<MotionScreen>` — a framed screen with its OWN camera (`shots`,
|
|
3518
|
+
* ScreenAnimator applied per-screen). Several can share a scene
|
|
3519
|
+
* (mobile + desktop side by side).
|
|
3520
|
+
* - `<MotionText>` — templated text animations (Motion Templates:
|
|
3521
|
+
* title / lower-third / section-break).
|
|
3522
|
+
* - anything else — a <video>, an image, plain JSX. Untimed content
|
|
3523
|
+
* rides the scene's `durationMs`.
|
|
3524
|
+
*
|
|
3525
|
+
* THE COMPLETION CONTRACT: a scene advances when all its *timed* children
|
|
3526
|
+
* have finished (a camera tour ending, a text template completing), or
|
|
3527
|
+
* after `durationMs` when nothing in it keeps time. Timed children register
|
|
3528
|
+
* with the scene; static content doesn't. New content types plug in by
|
|
3529
|
+
* registering — nothing else changes.
|
|
3530
|
+
*
|
|
3531
|
+
* Two views of the same children: `view="play"` (the film) and
|
|
3532
|
+
* `view="strip"` (the arrangement — scenes left-to-right as labelled
|
|
3533
|
+
* cards, the Studio edit view). Under `prefers-reduced-motion` the play
|
|
3534
|
+
* view falls back to the strip: see everything, move nothing.
|
|
3535
|
+
*
|
|
3536
|
+
* See STUDIO-DIRECTOR.md ("Grade Motion") for the design doc.
|
|
3537
|
+
*/
|
|
3538
|
+
interface MotionSceneRegistration {
|
|
3539
|
+
/** Signal this timed child has finished its run. Idempotent. */
|
|
3540
|
+
done: () => void;
|
|
3541
|
+
/** Unregister (unmount) without deadlocking the scene. */
|
|
3542
|
+
cancel: () => void;
|
|
3543
|
+
}
|
|
3544
|
+
interface SceneCtxValue {
|
|
3545
|
+
mode: "play" | "strip";
|
|
3546
|
+
active: boolean;
|
|
3547
|
+
paused: boolean;
|
|
3548
|
+
/** Register as a timed child. Call in a mount effect; cancel on cleanup. */
|
|
3549
|
+
register: () => MotionSceneRegistration;
|
|
3550
|
+
}
|
|
3551
|
+
/** Read the enclosing scene (or a permissive standalone default). */
|
|
3552
|
+
declare function useMotionScene(): SceneCtxValue;
|
|
3553
|
+
interface MotionScreenProps {
|
|
3554
|
+
/** Frame preset. Desktop is a 16:10 browser-ish frame; mobile a tall
|
|
3555
|
+
* device frame. Default "desktop". */
|
|
3556
|
+
device?: "desktop" | "mobile";
|
|
3557
|
+
/** Camera shots for THIS screen (ScreenAnimator, per-screen). Omit for
|
|
3558
|
+
* fly-in + a single dwell. */
|
|
3559
|
+
shots?: ScreenAnimatorShot[];
|
|
3560
|
+
/** Virtual CSS width the content is laid out at before scaling into the
|
|
3561
|
+
* frame. Defaults: desktop 1100, mobile 390. */
|
|
3562
|
+
virtualWidth?: number;
|
|
3563
|
+
/** Dim edges when the camera pushes in. Default false. */
|
|
3564
|
+
spotlight?: boolean;
|
|
3565
|
+
/** Synthetic cursor on detail shots. Default true. */
|
|
3566
|
+
cursor?: boolean;
|
|
3567
|
+
/** Fly the CONTENT in from offscreen when the scene starts. Default
|
|
3568
|
+
* FALSE for framed screens — the full-screen fly-in choreography
|
|
3569
|
+
* reads badly inside a small clipped frame (content sliding around
|
|
3570
|
+
* in a box). Scene `transition` and frame `animate` are the
|
|
3571
|
+
* entrances here; opt back in for full-bleed hero screens. */
|
|
3572
|
+
enter?: boolean;
|
|
3573
|
+
/** Animate the FRAME in place within the scene — independent of (and
|
|
3574
|
+
* composable with) the camera inside it. "rise" / "tilt-settle" are
|
|
3575
|
+
* entrances; "float" / "drift" are ambient loops. Default "none".
|
|
3576
|
+
* Pair with enter={false} when using an entrance here. */
|
|
3577
|
+
animate?: MotionScreenAnimate;
|
|
3578
|
+
/** Provenance — the Studio screen this was copied from. Ignored at
|
|
3579
|
+
* render; read by tooling (the dock, future live-reference scenes). */
|
|
3580
|
+
screenId?: string;
|
|
3581
|
+
className?: string;
|
|
3582
|
+
style?: React$1.CSSProperties;
|
|
3583
|
+
children: React$1.ReactNode;
|
|
3584
|
+
}
|
|
3585
|
+
declare function MotionScreen({ device, shots, virtualWidth, spotlight, cursor, enter, animate, screenId: _screenId, className, style, children, }: MotionScreenProps): React$1.JSX.Element;
|
|
3586
|
+
type MotionTextTemplate = "title" | "lower-third" | "section-break" | "broadcast" | "ticker" | "stat" | "quote";
|
|
3587
|
+
interface MotionTextProps {
|
|
3588
|
+
/** Which Motion Template. Default "title". */
|
|
3589
|
+
template?: MotionTextTemplate;
|
|
3590
|
+
heading: string;
|
|
3591
|
+
/** Supporting line (title / lower-third). */
|
|
3592
|
+
text?: string;
|
|
3593
|
+
/** Override the template's run length (ms). */
|
|
3594
|
+
durationMs?: number;
|
|
3595
|
+
/** Text colour against the stage. Default "light" (for the dark stage). */
|
|
3596
|
+
tone?: "light" | "dark";
|
|
3597
|
+
/**
|
|
3598
|
+
* Lift the type off a busy or low-contrast backdrop (pale shader washes,
|
|
3599
|
+
* photos, video). `"shadow"` adds a soft contrast shadow to the glyphs;
|
|
3600
|
+
* `"scrim"` additionally drops a quiet radial darkening behind the text
|
|
3601
|
+
* block. Default "none" — flat fills don't need it.
|
|
3602
|
+
*/
|
|
3603
|
+
lift?: "none" | "shadow" | "scrim";
|
|
3604
|
+
className?: string;
|
|
3605
|
+
style?: React$1.CSSProperties;
|
|
3606
|
+
}
|
|
3607
|
+
declare function MotionText({ template, heading, text, durationMs, tone, lift, className, style, }: MotionTextProps): React$1.JSX.Element;
|
|
3608
|
+
type MotionOverlayZone = "top-left" | "top" | "top-right" | "center" | "bottom-left" | "bottom" | "bottom-right" | "lower-third";
|
|
3609
|
+
interface MotionOverlayProps {
|
|
3610
|
+
/** Anchor zone. Default "top-right" (the classic network-bug corner). */
|
|
3611
|
+
zone?: MotionOverlayZone;
|
|
3612
|
+
/** Visible from this scene index (inclusive). Default 0 — overlays are
|
|
3613
|
+
* a second TIMELINE: always-on is just the full-range case. */
|
|
3614
|
+
fromScene?: number;
|
|
3615
|
+
/** Visible through this scene index (inclusive). Default: the end. */
|
|
3616
|
+
toScene?: number;
|
|
3617
|
+
/** Re-enable pointer events for interactive overlays. Default false. */
|
|
3618
|
+
interactive?: boolean;
|
|
3619
|
+
className?: string;
|
|
3620
|
+
style?: React$1.CSSProperties;
|
|
3621
|
+
children: React$1.ReactNode;
|
|
3622
|
+
}
|
|
3623
|
+
declare function MotionOverlay({ zone, fromScene: _fromScene, toScene: _toScene, interactive, className, style, children, }: MotionOverlayProps): React$1.JSX.Element;
|
|
3624
|
+
/** How a scene ARRIVES on the stage. Entrance-only by design — the
|
|
3625
|
+
* outgoing scene cuts; the incoming one performs. (True cross-fades
|
|
3626
|
+
* need both scenes mounted; that rides the seekable-clock work.) */
|
|
3627
|
+
type MotionSceneTransition = "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "pop" | "zoom" | "wipe-circle" | "none";
|
|
3628
|
+
/** In-place frame animation for MotionScreen — the screen performs
|
|
3629
|
+
* WITHIN the scene (independent of the camera inside it, composable
|
|
3630
|
+
* with it). "rise" and "tilt-settle" are entrances; "float" and
|
|
3631
|
+
* "drift" are ambient loops. */
|
|
3632
|
+
type MotionScreenAnimate = "rise" | "float" | "tilt-settle" | "drift" | "none";
|
|
3633
|
+
interface MotionSceneProps {
|
|
3634
|
+
/** Shown in the strip view + read by the timeline dock. */
|
|
3635
|
+
label?: string;
|
|
3636
|
+
/** Minimum runtime (ms); the whole clock when nothing inside keeps
|
|
3637
|
+
* time. Default 4000 for untimed scenes. */
|
|
3638
|
+
durationMs?: number;
|
|
3639
|
+
/** Scene background painted over the shared stage for this moment only
|
|
3640
|
+
* (a CSS background — the white title card, a brand fill). */
|
|
3641
|
+
fill?: string;
|
|
3642
|
+
/** How the scene arrives: fade · slide-up/down/left/right · pop ·
|
|
3643
|
+
* zoom · wipe-circle (a mask wipe) · none. Default "fade". The
|
|
3644
|
+
* OUTGOING scene stays visible underneath for the transition window,
|
|
3645
|
+
* so slides/wipes reveal it rather than the stage. */
|
|
3646
|
+
transition?: MotionSceneTransition;
|
|
3647
|
+
/** Transition timing override (ms). Defaults per transition — see
|
|
3648
|
+
* SCENE_TRANSITION_DEFAULT_MS. */
|
|
3649
|
+
transitionMs?: number;
|
|
3650
|
+
className?: string;
|
|
3651
|
+
style?: React$1.CSSProperties;
|
|
3652
|
+
children: React$1.ReactNode;
|
|
3653
|
+
}
|
|
3654
|
+
/**
|
|
3655
|
+
* One stage moment in a `<Motion>`. Holds arbitrary content; advances by
|
|
3656
|
+
* the completion contract (see the file header). Renders standalone too
|
|
3657
|
+
* (active, looping nothing) so a scene can be previewed in isolation —
|
|
3658
|
+
* each scene is independently editable.
|
|
3659
|
+
*/
|
|
3660
|
+
declare function MotionScene(props: MotionSceneProps): React$1.JSX.Element;
|
|
3661
|
+
interface MotionProps {
|
|
3662
|
+
/** "play" runs the film; "strip" lays the scenes out left-to-right as
|
|
3663
|
+
* labelled cards (the arrangement / edit view). Default "play". */
|
|
3664
|
+
view?: "play" | "strip";
|
|
3665
|
+
/** Fixed artboard aspect for the film, letterboxed into the container —
|
|
3666
|
+
* "16/9" (landscape demo), "9/16" (TikTok / Reels / Shorts), "1/1".
|
|
3667
|
+
* Default "auto": the stage fills the container responsively. Strip
|
|
3668
|
+
* cards adopt the same ratio. */
|
|
3669
|
+
aspect?: "auto" | "16/9" | "9/16" | "1/1" | (string & {});
|
|
3670
|
+
/** The persistent stage behind every scene (CSS background). */
|
|
3671
|
+
stage?: string;
|
|
3672
|
+
/** A live layer behind all scenes (image, gradient, <ThreeScene>). */
|
|
3673
|
+
backdrop?: React$1.ReactNode;
|
|
3674
|
+
/** Start playing on mount. Default true. */
|
|
3675
|
+
autoplay?: boolean;
|
|
3676
|
+
/** Return to scene 1 and keep going at the end. Default false — a
|
|
3677
|
+
* motion is a movie; it ends. */
|
|
3678
|
+
loop?: boolean;
|
|
3679
|
+
/** Show the transport (play/pause, restart, scene dots). Default true. */
|
|
3680
|
+
controls?: boolean;
|
|
3681
|
+
className?: string;
|
|
3682
|
+
style?: React$1.CSSProperties;
|
|
3683
|
+
children: React$1.ReactNode;
|
|
3684
|
+
}
|
|
3685
|
+
declare function Motion({ view, aspect, stage, backdrop, autoplay, loop, controls, className, style, children, }: MotionProps): React$1.JSX.Element;
|
|
3425
3686
|
|
|
3426
3687
|
/**
|
|
3427
3688
|
* Control schema — the canonical, UI-agnostic descriptor for a shader's
|
|
@@ -3651,6 +3912,17 @@ declare function buildFragmentShaderScene(userFragment: string): SceneFactory;
|
|
|
3651
3912
|
* play/pause overlay. Scene pauses when offscreen (pauseOffscreen default `true`).
|
|
3652
3913
|
*/
|
|
3653
3914
|
|
|
3915
|
+
/**
|
|
3916
|
+
* Tone — pin the shader's canvas independently of the page theme.
|
|
3917
|
+
*
|
|
3918
|
+
* `"auto"` (default) follows `--background`, so a shader on a page
|
|
3919
|
+
* re-tints with light/dark mode. But a film frame or a hero with white
|
|
3920
|
+
* type wants a STABLE ground: in light mode `--background` is near-white
|
|
3921
|
+
* and every wash goes pastel under it. `tone="dark"` / `tone="light"`
|
|
3922
|
+
* pins just the background uniform (brand pops still flow through), and
|
|
3923
|
+
* an explicit `palette.background` always wins over both.
|
|
3924
|
+
*/
|
|
3925
|
+
type SceneTone = "auto" | "dark" | "light";
|
|
3654
3926
|
interface ThreeSceneProps extends Omit<BaseMediaProps, "src" | "poster">, Omit<React$1.HTMLAttributes<HTMLDivElement>, keyof BaseMediaProps> {
|
|
3655
3927
|
/** Preset id from the shader preset registry. */
|
|
3656
3928
|
preset?: string;
|
|
@@ -3675,6 +3947,9 @@ interface ThreeSceneProps extends Omit<BaseMediaProps, "src" | "poster">, Omit<R
|
|
|
3675
3947
|
postPreset?: string | PostPreset;
|
|
3676
3948
|
/** Palette overrides. Unset slots fall back to `DEFAULT_PALETTE`. */
|
|
3677
3949
|
palette?: Partial<Palette>;
|
|
3950
|
+
/** Pin the canvas tone regardless of page theme (see `SceneTone`).
|
|
3951
|
+
* An explicit `palette.background` wins over this. */
|
|
3952
|
+
tone?: SceneTone;
|
|
3678
3953
|
/**
|
|
3679
3954
|
* Custom scene factory. Takes precedence over `preset` and `fragmentShader`.
|
|
3680
3955
|
* Use for bespoke three.js scenes that don't fit a preset or fullscreen quad.
|
|
@@ -3787,6 +4062,11 @@ interface BackgroundFillProps {
|
|
|
3787
4062
|
fragmentShader?: string;
|
|
3788
4063
|
/** Palette overrides for the shader. */
|
|
3789
4064
|
palette?: Partial<Palette>;
|
|
4065
|
+
/** Pin the shader's canvas tone — "dark" | "light" | "auto" (default).
|
|
4066
|
+
* Film frames and heroes with fixed-colour type should pin their tone
|
|
4067
|
+
* rather than inherit the page's light/dark mode (in light mode the
|
|
4068
|
+
* theme background washes every shader pastel). See ThreeScene. */
|
|
4069
|
+
tone?: SceneTone;
|
|
3790
4070
|
/** Post-FX preset id or live PostPreset object. */
|
|
3791
4071
|
postPreset?: string | PostPreset;
|
|
3792
4072
|
/** Layer opacity (0–1). */
|
|
@@ -3995,6 +4275,7 @@ declare const FONTS: {
|
|
|
3995
4275
|
readonly outfit: "var(--font-outfit), system-ui, sans-serif";
|
|
3996
4276
|
readonly plusJakarta: "var(--font-plus-jakarta), system-ui, sans-serif";
|
|
3997
4277
|
readonly spaceGrotesk: "var(--font-space-grotesk), system-ui, sans-serif";
|
|
4278
|
+
readonly poppins: "var(--font-poppins), system-ui, sans-serif";
|
|
3998
4279
|
readonly fraunces: "var(--font-fraunces), Georgia, serif";
|
|
3999
4280
|
readonly instrumentSerif: "var(--font-instrument-serif), Georgia, serif";
|
|
4000
4281
|
readonly sourceSerif: "var(--font-source-serif), Georgia, serif";
|
|
@@ -4008,6 +4289,13 @@ declare const FONTS: {
|
|
|
4008
4289
|
type FontKey = keyof typeof FONTS;
|
|
4009
4290
|
/** Type scale preset — controls how generous the size ladder is. */
|
|
4010
4291
|
type TypeScalePreset = "compact" | "default" | "spacious";
|
|
4292
|
+
/** Modular (musical-interval) scale ids — mirror GDS_MODULAR_SCALES in
|
|
4293
|
+
* @gradeui/core. Selecting one generates the type ladder middle-out from
|
|
4294
|
+
* the body size (Utopia model): up by the ratio, down by the reciprocal,
|
|
4295
|
+
* floored. */
|
|
4296
|
+
type ModularScaleId = "minor-second" | "major-second" | "minor-third" | "major-third" | "perfect-fourth" | "augmented-fourth" | "perfect-fifth" | "golden-ratio";
|
|
4297
|
+
/** What `typography.scale` accepts: a legacy flat preset or a modular ratio. */
|
|
4298
|
+
type TypeScale = TypeScalePreset | ModularScaleId;
|
|
4011
4299
|
/** Density preset — controls spacing tightness. */
|
|
4012
4300
|
type SpacingDensity = "tight" | "default" | "roomy";
|
|
4013
4301
|
/** Radius preset — controls how rounded corners are across the system. */
|
|
@@ -4071,7 +4359,7 @@ interface ThemeInput {
|
|
|
4071
4359
|
display: FontKey;
|
|
4072
4360
|
body: FontKey;
|
|
4073
4361
|
mono: FontKey;
|
|
4074
|
-
scale:
|
|
4362
|
+
scale: TypeScale;
|
|
4075
4363
|
/** Override heading weight. Defaults to 600 for sans, 500 for serif. */
|
|
4076
4364
|
headingWeight?: number;
|
|
4077
4365
|
/** Override body weight. Defaults to 400. */
|
|
@@ -4157,6 +4445,17 @@ interface GeneratedTypography {
|
|
|
4157
4445
|
body: string;
|
|
4158
4446
|
bodySm: string;
|
|
4159
4447
|
};
|
|
4448
|
+
/**
|
|
4449
|
+
* The full named Tailwind ladder (2xs…7xl), present ONLY when
|
|
4450
|
+
* `typography.scale` is a modular ratio id (THEME-MIGRATION.md B2).
|
|
4451
|
+
* Emitted as `--text-<name>` / `--text-<name>--line-height` so every
|
|
4452
|
+
* text-* utility re-pitches when the ratio changes. Presets leave this
|
|
4453
|
+
* undefined — the static ladder in the stylesheet stays untouched.
|
|
4454
|
+
*/
|
|
4455
|
+
namedScale?: Record<string, {
|
|
4456
|
+
size: string;
|
|
4457
|
+
lineHeight: string;
|
|
4458
|
+
}>;
|
|
4160
4459
|
}
|
|
4161
4460
|
/** Concrete resolved CSS values for radius. */
|
|
4162
4461
|
interface GeneratedRadius {
|
|
@@ -4172,6 +4471,14 @@ interface GeneratedRadius {
|
|
|
4172
4471
|
interface GeneratedSpacing {
|
|
4173
4472
|
baseUnit: string;
|
|
4174
4473
|
densityFactor: number;
|
|
4474
|
+
/**
|
|
4475
|
+
* The Tailwind v4 `--spacing` base unit (e.g. "0.2125rem" for tight,
|
|
4476
|
+
* "0.25rem" for default, "0.3rem" for roomy). Every spacing utility is
|
|
4477
|
+
* calc(var(--spacing) * N), so this single variable re-scales padding,
|
|
4478
|
+
* gaps, margins and sizes across every generated screen — retroactively
|
|
4479
|
+
* (THEME-MIGRATION.md B1).
|
|
4480
|
+
*/
|
|
4481
|
+
unit: string;
|
|
4175
4482
|
}
|
|
4176
4483
|
/** Concrete resolved effects values. */
|
|
4177
4484
|
interface GeneratedEffects {
|
|
@@ -4223,6 +4530,21 @@ interface GeneratedTheme {
|
|
|
4223
4530
|
primary: Ramp;
|
|
4224
4531
|
accent: Ramp;
|
|
4225
4532
|
};
|
|
4533
|
+
/**
|
|
4534
|
+
* Role ramp families (THEME-MIGRATION.md B4) — every status alias is a
|
|
4535
|
+
* whole ramp because status displays many ways (soft 100 bg, solid 600
|
|
4536
|
+
* fill, 800 text). Seeded from the fixed status hues; emitted as
|
|
4537
|
+
* `--gds-<role>-<step>` triplets alongside primary/accent/neutral
|
|
4538
|
+
* (which reuse `ramps`). Optional so partially-constructed themes stay
|
|
4539
|
+
* valid; generator output always includes it.
|
|
4540
|
+
*/
|
|
4541
|
+
roleRamps?: {
|
|
4542
|
+
success: Ramp;
|
|
4543
|
+
warning: Ramp;
|
|
4544
|
+
info: Ramp;
|
|
4545
|
+
highlight: Ramp;
|
|
4546
|
+
destructive: Ramp;
|
|
4547
|
+
};
|
|
4226
4548
|
/** Semantic tokens for all four modes. */
|
|
4227
4549
|
colors: Record<ModeName, GeneratedColorsMode>;
|
|
4228
4550
|
/** 5-stop palette for chart series. */
|
|
@@ -4417,4 +4739,4 @@ declare function GradeModeSwitcher({ className, variant }: GradeModeSwitcherProp
|
|
|
4417
4739
|
*/
|
|
4418
4740
|
declare function ThemeToggle(): React$1.JSX.Element;
|
|
4419
4741
|
|
|
4420
|
-
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 ChartPalette, 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, 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, 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, usePageActive, usePrefersReducedMotion, useReducedMotion, useScriptedDemo };
|
|
4742
|
+
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 };
|