@ag2/weave 0.18.0 → 0.19.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 (33) hide show
  1. package/dist/components/account-card/AccountCard.css.d.ts +2 -0
  2. package/dist/components/account-card/AccountCard.d.ts +10 -0
  3. package/dist/components/account-card/index.d.ts +1 -0
  4. package/dist/components/color-swatch-picker/ColorSwatchPicker.css.d.ts +4 -0
  5. package/dist/components/color-swatch-picker/ColorSwatchPicker.d.ts +17 -0
  6. package/dist/components/color-swatch-picker/index.d.ts +1 -0
  7. package/dist/components/form/Form.d.ts +2 -0
  8. package/dist/components/index.d.ts +7 -0
  9. package/dist/components/media-frame/MediaFrame.css.d.ts +6 -0
  10. package/dist/components/media-frame/MediaFrame.d.ts +19 -0
  11. package/dist/components/media-frame/index.d.ts +1 -0
  12. package/dist/components/onboarding-key-button/OnboardingKeyButton.css.d.ts +4 -0
  13. package/dist/components/onboarding-key-button/OnboardingKeyButton.d.ts +12 -0
  14. package/dist/components/onboarding-key-button/index.d.ts +1 -0
  15. package/dist/components/onboarding-motion/OnboardingMotion.css.d.ts +6 -0
  16. package/dist/components/onboarding-motion/OnboardingMotion.d.ts +34 -0
  17. package/dist/components/onboarding-motion/index.d.ts +1 -0
  18. package/dist/components/onboarding-setup/OnboardingSetup.css.d.ts +13 -0
  19. package/dist/components/onboarding-setup/OnboardingSetup.d.ts +62 -0
  20. package/dist/components/onboarding-setup/index.d.ts +1 -0
  21. package/dist/components/option-card/OptionCard.css.d.ts +6 -0
  22. package/dist/components/option-card/OptionCard.d.ts +14 -0
  23. package/dist/components/option-card/index.d.ts +1 -0
  24. package/dist/components/orb-background/OrbBackground.d.ts +3 -2
  25. package/dist/components/orb-background/orbField.d.ts +16 -1
  26. package/dist/index.js +906 -105
  27. package/dist/index.js.map +1 -1
  28. package/dist/style.css +476 -1
  29. package/dist/theme/agentColors.d.ts +47 -0
  30. package/dist/theme/auraColors.d.ts +39 -0
  31. package/dist/theme/index.d.ts +3 -0
  32. package/dist/theme/onboarding.d.ts +10 -0
  33. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ export declare const Card: string;
2
+ export declare const Slot: string;
@@ -0,0 +1,10 @@
1
+ import React, { HTMLAttributes, ReactNode } from "react";
2
+ export declare type AccountCardProps = HTMLAttributes<HTMLDivElement> & {
3
+ header?: ReactNode;
4
+ footer?: ReactNode;
5
+ };
6
+ /** White account surface. The consumer supplies headings, forms, links and routing. */
7
+ export declare const AccountCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
8
+ header?: ReactNode;
9
+ footer?: ReactNode;
10
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export * from "./AccountCard";
@@ -0,0 +1,4 @@
1
+ export declare const Group: string;
2
+ export declare const Swatch: string;
3
+ export declare const Paint: string;
4
+ export declare const Check: string;
@@ -0,0 +1,17 @@
1
+ import React, { ComponentPropsWithoutRef } from "react";
2
+ import * as Primitive from "@radix-ui/react-radio-group";
3
+ import { AgentColor } from "../../theme/agentColors";
4
+ export declare type ColorSwatchPickerProps = Omit<ComponentPropsWithoutRef<typeof Primitive.Root>, "children" | "value" | "defaultValue" | "onValueChange" | "asChild"> & {
5
+ value?: AgentColor;
6
+ defaultValue?: AgentColor;
7
+ onValueChange?: (color: AgentColor) => void;
8
+ colors?: readonly AgentColor[];
9
+ disabledColors?: readonly AgentColor[];
10
+ };
11
+ export declare const ColorSwatchPicker: React.ForwardRefExoticComponent<Omit<Pick<Primitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "slot" | "style" | "title" | "children" | "className" | "color" | "id" | "lang" | "name" | "role" | "tabIndex" | "orientation" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "loop" | "disabled" | "value" | "required" | "asChild" | "onValueChange">, "children" | "defaultValue" | "value" | "asChild" | "onValueChange"> & {
12
+ value?: "pink" | "ember" | "sky" | "mint" | "lemon" | "lilac" | "peach" | undefined;
13
+ defaultValue?: "pink" | "ember" | "sky" | "mint" | "lemon" | "lilac" | "peach" | undefined;
14
+ onValueChange?: ((color: AgentColor) => void) | undefined;
15
+ colors?: readonly ("pink" | "ember" | "sky" | "mint" | "lemon" | "lilac" | "peach")[] | undefined;
16
+ disabledColors?: readonly ("pink" | "ember" | "sky" | "mint" | "lemon" | "lilac" | "peach")[] | undefined;
17
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export * from "./ColorSwatchPicker";
@@ -9,6 +9,8 @@ export declare const Field: React.ForwardRefExoticComponent<React.HTMLAttributes
9
9
  label: ReactNode;
10
10
  description?: ReactNode;
11
11
  error?: ReactNode;
12
+ /** Compact forms own spacing in their parent and omit row dividers. */
13
+ density?: "compact" | "comfortable" | undefined;
12
14
  } & React.RefAttributes<HTMLDivElement>>;
13
15
  export declare const FormCard: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, Omit<any, "as"> & {
14
16
  display?: "Flex" | "InlineFlex" | undefined;
@@ -18,6 +18,7 @@ export * from "./input";
18
18
  export * from "./form";
19
19
  export * from "./select";
20
20
  export * from "./line";
21
+ export * from "./media-frame";
21
22
  export * from "./menu";
22
23
  export * from "./modal";
23
24
  export * from "./overlay";
@@ -69,3 +70,9 @@ export * from "./activity-item";
69
70
  export * from "./quote-card";
70
71
  export * from "./lobby";
71
72
  export * from "./orb-background";
73
+ export * from "./account-card";
74
+ export * from "./onboarding-key-button";
75
+ export * from "./option-card";
76
+ export * from "./color-swatch-picker";
77
+ export * from "./onboarding-setup";
78
+ export * from "./onboarding-motion";
@@ -0,0 +1,6 @@
1
+ export declare const Frame: string;
2
+ export declare const Outlined: string;
3
+ export declare const Viewport: string;
4
+ export declare const Media: string;
5
+ export declare const Overlay: string;
6
+ export declare const Caption: string;
@@ -0,0 +1,19 @@
1
+ import React, { ReactNode } from "react";
2
+ export declare type MediaFrameProps = {
3
+ /** Width / height. Update when decoded dimensions become available. Invalid ratios use 1. */
4
+ aspectRatio?: number;
5
+ /** Bounds in CSS pixels, converted to rem. The containing column can be narrower. */
6
+ minWidth?: number;
7
+ maxWidth?: number;
8
+ minHeight?: number;
9
+ maxHeight?: number;
10
+ outlined?: boolean;
11
+ /** Image, video, or custom media. Direct img/video children are contained without cropping. */
12
+ children?: ReactNode;
13
+ /** Centered loading, spoiler, or error controls. The consumer owns state and accessibility. */
14
+ overlay?: ReactNode;
15
+ /** Separate from the media bounds; supply accessible caption content. */
16
+ caption?: ReactNode;
17
+ };
18
+ /** A responsive visual frame. Does not fetch media, add button semantics, or open a viewer. */
19
+ export declare const MediaFrame: <T extends React.ElementType<any> = "div">(props: import("..").AsOutProps<T, MediaFrameProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export * from "./MediaFrame";
@@ -0,0 +1,4 @@
1
+ export declare const Button: string;
2
+ export declare const Glow: string;
3
+ export declare const Fill: string;
4
+ export declare const Label: string;
@@ -0,0 +1,12 @@
1
+ import React, { ButtonHTMLAttributes } from "react";
2
+ export declare type OnboardingKeyButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
3
+ /** Hold the pressed gradient during an onboarding finish reveal. */
4
+ finishing?: boolean;
5
+ fullWidth?: boolean;
6
+ };
7
+ /** One Key action per onboarding screen. Activation remains immediate and native. */
8
+ export declare const OnboardingKeyButton: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
9
+ /** Hold the pressed gradient during an onboarding finish reveal. */
10
+ finishing?: boolean | undefined;
11
+ fullWidth?: boolean | undefined;
12
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ export * from "./OnboardingKeyButton";
@@ -0,0 +1,6 @@
1
+ export declare const Stage: string;
2
+ export declare const Snapshot: string;
3
+ export declare const Finish: string;
4
+ export declare const Card: string;
5
+ export declare const Room: string;
6
+ export declare const Light: string;
@@ -0,0 +1,34 @@
1
+ import React, { ReactNode, RefObject } from "react";
2
+ import { AgentColor } from "../../theme/agentColors";
3
+ export declare type OnboardingTransitionProps = {
4
+ stepKey: string | number;
5
+ direction?: "forward" | "back";
6
+ children: ReactNode;
7
+ };
8
+ /** The commit snapshot captures descendant state and live form values before replacement. */
9
+ export declare class OnboardingTransition extends React.Component<OnboardingTransitionProps> {
10
+ private live;
11
+ private overlay;
12
+ private running;
13
+ getSnapshotBeforeUpdate(previous: OnboardingTransitionProps): HTMLElement | null;
14
+ componentDidUpdate(...args: [OnboardingTransitionProps, unknown, HTMLElement | null]): void;
15
+ componentWillUnmount(): void;
16
+ private clearExit;
17
+ render(): JSX.Element;
18
+ }
19
+ /** Call with the selected swatch and avatar; interrupted flights are removed immediately. */
20
+ export declare function useAgentColorMotion(): (source: HTMLElement, target: HTMLElement, color: AgentColor) => void;
21
+ export declare type OnboardingFinishProps = {
22
+ active: boolean;
23
+ color: AgentColor;
24
+ /** The clicked Key button. Keep it mounted inside card during the reveal. */
25
+ originRef: RefObject<HTMLElement>;
26
+ /** The agent icon in room. */
27
+ destinationRef: RefObject<HTMLElement>;
28
+ card: ReactNode;
29
+ room: ReactNode;
30
+ roomLabel?: string;
31
+ className?: string;
32
+ };
33
+ /** A visual reveal, never a gate for persisting setup or entering the room. */
34
+ export declare const OnboardingFinish: ({ active, color, originRef, destinationRef, card, room, roomLabel, className, }: OnboardingFinishProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./OnboardingMotion";
@@ -0,0 +1,13 @@
1
+ export declare const Progress: string;
2
+ export declare const ProgressInset: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
3
+ export declare const ProgressFill: string;
4
+ export declare const Row: string;
5
+ export declare const Well: string;
6
+ export declare const Body: string;
7
+ export declare const Title: string;
8
+ export declare const Description: string;
9
+ export declare const Status: string;
10
+ export declare const Working: string;
11
+ export declare const Navigation: string;
12
+ export declare const Actions: string;
13
+ export declare const Hidden: string;
@@ -0,0 +1,62 @@
1
+ import React, { HTMLAttributes, ReactNode } from "react";
2
+ export declare type OnboardingProgressProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
3
+ value: number;
4
+ max: number;
5
+ label: string;
6
+ };
7
+ export declare const OnboardingProgress: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
8
+ value: number;
9
+ max: number;
10
+ label: string;
11
+ } & React.RefAttributes<HTMLDivElement>>;
12
+ export declare type SetupState = "idle" | "working" | "ready" | "error";
13
+ export declare type SetupStatusRowProps = HTMLAttributes<HTMLDivElement> & {
14
+ title: string;
15
+ description?: ReactNode;
16
+ icon?: ReactNode;
17
+ state: SetupState;
18
+ statusText?: string;
19
+ action?: {
20
+ label: string;
21
+ onClick: () => void;
22
+ disabled?: boolean;
23
+ };
24
+ };
25
+ export declare const SetupStatusRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
26
+ title: string;
27
+ description?: ReactNode;
28
+ icon?: ReactNode;
29
+ state: SetupState;
30
+ statusText?: string | undefined;
31
+ action?: {
32
+ label: string;
33
+ onClick: () => void;
34
+ disabled?: boolean | undefined;
35
+ } | undefined;
36
+ } & React.RefAttributes<HTMLDivElement>>;
37
+ export declare type PermissionRowProps = Omit<SetupStatusRowProps, "state" | "action"> & {
38
+ state: "not-allowed" | "waiting" | "allowed" | "error";
39
+ onAllow?: () => void;
40
+ /** Localized action text, e.g. Allow or Try again. */
41
+ actionLabel?: string;
42
+ disabled?: boolean;
43
+ };
44
+ /** Presentation only: the client reads permission status and opens native system UI. */
45
+ export declare const PermissionRow: React.ForwardRefExoticComponent<Omit<SetupStatusRowProps, "action" | "state"> & {
46
+ state: "not-allowed" | "waiting" | "allowed" | "error";
47
+ onAllow?: (() => void) | undefined;
48
+ /** Localized action text, e.g. Allow or Try again. */
49
+ actionLabel?: string | undefined;
50
+ disabled?: boolean | undefined;
51
+ } & React.RefAttributes<HTMLDivElement>>;
52
+ export declare type OnboardingNavigationProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
53
+ back?: ReactNode;
54
+ secondary?: ReactNode;
55
+ primary: ReactNode;
56
+ };
57
+ /** Footer layout only; consumers retain navigation, labels and native submit behavior. */
58
+ export declare const OnboardingNavigation: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
59
+ back?: ReactNode;
60
+ secondary?: ReactNode;
61
+ primary: ReactNode;
62
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export * from "./OnboardingSetup";
@@ -0,0 +1,6 @@
1
+ export declare const Group: string;
2
+ export declare const Card: string;
3
+ export declare const Body: string;
4
+ export declare const Title: string;
5
+ export declare const Description: string;
6
+ export declare const Indicator: string;
@@ -0,0 +1,14 @@
1
+ import React, { ComponentPropsWithoutRef, ReactNode } from "react";
2
+ import * as Primitive from "@radix-ui/react-radio-group";
3
+ export declare const OptionCardGroup: React.ForwardRefExoticComponent<Pick<Primitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "slot" | "style" | "title" | "children" | "className" | "color" | "id" | "lang" | "name" | "role" | "tabIndex" | "orientation" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "loop" | "disabled" | "value" | "required" | "asChild" | "onValueChange"> & React.RefAttributes<HTMLDivElement>>;
4
+ export declare type OptionCardProps = Omit<ComponentPropsWithoutRef<typeof Primitive.Item>, "title" | "children" | "asChild"> & {
5
+ title: ReactNode;
6
+ description?: ReactNode;
7
+ before?: ReactNode;
8
+ };
9
+ /** One radio choice; slots must not contain interactive controls. Group owns selection and name. */
10
+ export declare const OptionCard: React.ForwardRefExoticComponent<Omit<Pick<Primitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "children" | "className" | "color" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "checked" | "required" | "asChild">, "title" | "children" | "asChild"> & {
11
+ title: ReactNode;
12
+ description?: ReactNode;
13
+ before?: ReactNode;
14
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ export * from "./OptionCard";
@@ -1,7 +1,8 @@
1
- export declare type OrbBackgroundProps = {
1
+ import { OrbFieldOptions } from "./orbField";
2
+ export declare type OrbBackgroundProps = OrbFieldOptions & {
2
3
  className?: string;
3
4
  /** Optional framing-host override; otherwise follows the active surface token. */
4
5
  appearance?: "light" | "dark";
5
6
  };
6
7
  /** Calm, blurred orbs with absorb collisions. Place inside an OrbBackgroundHost surface. */
7
- export declare const OrbBackground: ({ className, appearance }: OrbBackgroundProps) => JSX.Element;
8
+ export declare const OrbBackground: ({ className, appearance, agentColor, finish, }: OrbBackgroundProps) => JSX.Element;
@@ -1 +1,16 @@
1
- export declare function startOrbField(element: HTMLCanvasElement): () => void;
1
+ import type { AgentColor } from "../../theme/agentColors";
2
+ export declare type OrbFieldOptions = {
3
+ agentColor?: AgentColor;
4
+ /** Normalized host coordinates and performance.now() start time; decorative only. */
5
+ finish?: {
6
+ origin: {
7
+ x: number;
8
+ y: number;
9
+ };
10
+ startedAt: number;
11
+ };
12
+ };
13
+ export declare type OrbFieldController = (() => void) & {
14
+ update: (options: OrbFieldOptions) => void;
15
+ };
16
+ export declare function startOrbField(element: HTMLCanvasElement, initial?: OrbFieldOptions): OrbFieldController;