@ag2/weave 0.18.0 → 0.20.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 (39) hide show
  1. package/dist/components/account-card/AccountCard.css.d.ts +2 -0
  2. package/dist/components/account-card/AccountCard.d.ts +14 -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 +9 -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-button/OnboardingButton.css.d.ts +1 -0
  13. package/dist/components/onboarding-button/OnboardingButton.d.ts +19 -0
  14. package/dist/components/onboarding-button/index.d.ts +1 -0
  15. package/dist/components/onboarding-chip/OnboardingChip.css.d.ts +2 -0
  16. package/dist/components/onboarding-chip/OnboardingChip.d.ts +10 -0
  17. package/dist/components/onboarding-chip/index.d.ts +1 -0
  18. package/dist/components/onboarding-key-button/OnboardingKeyButton.css.d.ts +4 -0
  19. package/dist/components/onboarding-key-button/OnboardingKeyButton.d.ts +12 -0
  20. package/dist/components/onboarding-key-button/index.d.ts +1 -0
  21. package/dist/components/onboarding-motion/OnboardingMotion.css.d.ts +6 -0
  22. package/dist/components/onboarding-motion/OnboardingMotion.d.ts +34 -0
  23. package/dist/components/onboarding-motion/index.d.ts +1 -0
  24. package/dist/components/onboarding-setup/OnboardingSetup.css.d.ts +21 -0
  25. package/dist/components/onboarding-setup/OnboardingSetup.d.ts +91 -0
  26. package/dist/components/onboarding-setup/index.d.ts +1 -0
  27. package/dist/components/option-card/OptionCard.css.d.ts +7 -0
  28. package/dist/components/option-card/OptionCard.d.ts +18 -0
  29. package/dist/components/option-card/index.d.ts +1 -0
  30. package/dist/components/orb-background/OrbBackground.d.ts +3 -2
  31. package/dist/components/orb-background/orbField.d.ts +16 -1
  32. package/dist/index.js +1025 -110
  33. package/dist/index.js.map +1 -1
  34. package/dist/style.css +750 -1
  35. package/dist/theme/agentColors.d.ts +47 -0
  36. package/dist/theme/auraColors.d.ts +39 -0
  37. package/dist/theme/index.d.ts +3 -0
  38. package/dist/theme/onboarding.d.ts +13 -0
  39. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ export declare const Card: string;
2
+ export declare const Slot: string;
@@ -0,0 +1,14 @@
1
+ import React, { HTMLAttributes, ReactNode } from "react";
2
+ export declare type AccountCardProps = HTMLAttributes<HTMLDivElement> & {
3
+ header?: ReactNode;
4
+ footer?: ReactNode;
5
+ /** `wide` is the 640px app onboarding card; `default` (400px) suits browser sign-in. */
6
+ size?: "default" | "wide";
7
+ };
8
+ /** White account surface. The consumer supplies headings, forms, links and routing. */
9
+ export declare const AccountCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
10
+ header?: ReactNode;
11
+ footer?: ReactNode;
12
+ /** `wide` is the 640px app onboarding card; `default` (400px) suits browser sign-in. */
13
+ size?: "default" | "wide" | undefined;
14
+ } & 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,11 @@ 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 "./onboarding-button";
76
+ export * from "./onboarding-chip";
77
+ export * from "./option-card";
78
+ export * from "./color-swatch-picker";
79
+ export * from "./onboarding-setup";
80
+ 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 @@
1
+ export declare const Button: string;
@@ -0,0 +1,19 @@
1
+ import React, { ButtonHTMLAttributes } from "react";
2
+ export declare type OnboardingButtonVariant = "Brand" | "Primary" | "Ghost";
3
+ export declare type OnboardingButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
4
+ /**
5
+ * Brand: white pill with the Ember inner glow (Allow, Connect).
6
+ * Primary: dark pill without the Key glow. Ghost: Back, Skip, Finish later.
7
+ */
8
+ variant?: OnboardingButtonVariant;
9
+ fullWidth?: boolean;
10
+ };
11
+ /** Onboarding actions other than the one Key action per screen. */
12
+ export declare const OnboardingButton: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
13
+ /**
14
+ * Brand: white pill with the Ember inner glow (Allow, Connect).
15
+ * Primary: dark pill without the Key glow. Ghost: Back, Skip, Finish later.
16
+ */
17
+ variant?: OnboardingButtonVariant | undefined;
18
+ fullWidth?: boolean | undefined;
19
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ export * from "./OnboardingButton";
@@ -0,0 +1,2 @@
1
+ export declare const Chip: string;
2
+ export declare const Check: string;
@@ -0,0 +1,10 @@
1
+ import React, { ButtonHTMLAttributes } from "react";
2
+ export declare type OnboardingChipProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> & {
3
+ pressed: boolean;
4
+ onPressedChange: (pressed: boolean) => void;
5
+ };
6
+ /** Multi-select choice pill (roles, interests). Dark with a check while pressed. */
7
+ export declare const OnboardingChip: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type"> & {
8
+ pressed: boolean;
9
+ onPressedChange: (pressed: boolean) => void;
10
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ export * from "./OnboardingChip";
@@ -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,21 @@
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 Card: string;
14
+ export declare const CardHeading: string;
15
+ export declare const CardTitle: string;
16
+ export declare const CardMeta: string;
17
+ export declare const CardStatus: string;
18
+ export declare const CardBarInset: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
19
+ export declare const CardBar: string;
20
+ export declare const CardBarFill: string;
21
+ export declare const Hidden: string;
@@ -0,0 +1,91 @@
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 SetupProgressCardProps = Omit<HTMLAttributes<HTMLDivElement>, "title"> & {
38
+ /** Provider or task name, e.g. Codex. */
39
+ title: string;
40
+ /** Quiet text beside the title, e.g. by OpenAI. */
41
+ meta?: ReactNode;
42
+ state?: SetupState;
43
+ /** Live status line, e.g. Installing Codex…. Shimmers while working. */
44
+ statusText: string;
45
+ /** Omit while the amount of work is unknown: the bar sweeps instead. */
46
+ value?: number;
47
+ max?: number;
48
+ /** Accessible name of the bar. Defaults to the title. */
49
+ progressLabel?: string;
50
+ };
51
+ /** Install or sign-in progress for one provider. The client supplies real progress and state. */
52
+ export declare const SetupProgressCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "title"> & {
53
+ /** Provider or task name, e.g. Codex. */
54
+ title: string;
55
+ /** Quiet text beside the title, e.g. by OpenAI. */
56
+ meta?: ReactNode;
57
+ state?: SetupState | undefined;
58
+ /** Live status line, e.g. Installing Codex…. Shimmers while working. */
59
+ statusText: string;
60
+ /** Omit while the amount of work is unknown: the bar sweeps instead. */
61
+ value?: number | undefined;
62
+ max?: number | undefined;
63
+ /** Accessible name of the bar. Defaults to the title. */
64
+ progressLabel?: string | undefined;
65
+ } & React.RefAttributes<HTMLDivElement>>;
66
+ export declare type PermissionRowProps = Omit<SetupStatusRowProps, "state" | "action"> & {
67
+ state: "not-allowed" | "waiting" | "allowed" | "error";
68
+ onAllow?: () => void;
69
+ /** Localized action text, e.g. Allow or Try again. */
70
+ actionLabel?: string;
71
+ disabled?: boolean;
72
+ };
73
+ /** Presentation only: the client reads permission status and opens native system UI. */
74
+ export declare const PermissionRow: React.ForwardRefExoticComponent<Omit<SetupStatusRowProps, "action" | "state"> & {
75
+ state: "not-allowed" | "waiting" | "allowed" | "error";
76
+ onAllow?: (() => void) | undefined;
77
+ /** Localized action text, e.g. Allow or Try again. */
78
+ actionLabel?: string | undefined;
79
+ disabled?: boolean | undefined;
80
+ } & React.RefAttributes<HTMLDivElement>>;
81
+ export declare type OnboardingNavigationProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
82
+ back?: ReactNode;
83
+ secondary?: ReactNode;
84
+ primary: ReactNode;
85
+ };
86
+ /** Footer layout only; consumers retain navigation, labels and native submit behavior. */
87
+ export declare const OnboardingNavigation: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
88
+ back?: ReactNode;
89
+ secondary?: ReactNode;
90
+ primary: ReactNode;
91
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export * from "./OnboardingSetup";
@@ -0,0 +1,7 @@
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 Status: string;
7
+ export declare const Indicator: string;
@@ -0,0 +1,18 @@
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
+ /** Short state line under the description, e.g. On this Mac. Green while selected. */
9
+ status?: ReactNode;
10
+ };
11
+ /** One radio choice; slots must not contain interactive controls. Group owns selection and name. */
12
+ 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"> & {
13
+ title: ReactNode;
14
+ description?: ReactNode;
15
+ before?: ReactNode;
16
+ /** Short state line under the description, e.g. On this Mac. Green while selected. */
17
+ status?: ReactNode;
18
+ } & 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;