@keboola/design 5.1.0 → 6.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/AGENTS.md +1 -1
- package/COMPONENT-API.md +145 -103
- package/dist/editors.cjs +5 -5
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +5 -5
- package/dist/editors.js.map +1 -1
- package/dist/index.cjs +393 -222
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +675 -477
- package/dist/index.d.ts +675 -477
- package/dist/index.js +394 -222
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +60 -27
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +60 -27
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +3 -2
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +3 -2
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +61 -29
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +61 -29
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +3 -3
- package/dist/testing.cjs +5 -0
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.js +5 -0
- package/dist/testing.js.map +1 -1
- package/package.json +5 -5
- package/src/styles.css +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ComponentProps, Ref, ElementRef, ReactNode, PropsWithChildren, MouseEvent as MouseEvent$1, HTMLAttributes, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, InputHTMLAttributes, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
|
|
3
|
+
import { ComponentProps, Ref, ElementRef, ReactNode, PropsWithChildren, MouseEvent as MouseEvent$1, HTMLAttributes, RefObject, MouseEventHandler, ComponentPropsWithRef, ChangeEvent, FocusEvent as FocusEvent$1, InputHTMLAttributes, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
|
|
4
4
|
import * as class_variance_authority from 'class-variance-authority';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -24,7 +24,7 @@ export { defaultFilter, useCommandState } from 'cmdk';
|
|
|
24
24
|
import * as react_textarea_autosize from 'react-textarea-autosize';
|
|
25
25
|
import react_textarea_autosize__default from 'react-textarea-autosize';
|
|
26
26
|
import { Matcher, DateRange as DateRange$1, PropsBase, PropsSingle, PropsRange } from 'react-day-picker';
|
|
27
|
-
import { LabelProps
|
|
27
|
+
import { LabelProps } from '@radix-ui/react-label';
|
|
28
28
|
import * as _radix_ui_react_switch from '@radix-ui/react-switch';
|
|
29
29
|
import { Root as Root$6 } from '@radix-ui/react-switch';
|
|
30
30
|
import * as RRadioGroup from '@radix-ui/react-radio-group';
|
|
@@ -38,8 +38,8 @@ import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
|
38
38
|
import * as _base_ui_react_types from '@base-ui/react/types';
|
|
39
39
|
import { Brand } from '@keboola/brand-registry';
|
|
40
40
|
export { Brand, brandSchema, exampleCustomer, keboola, keboolaLegacySidebar, keboolaLegacyTopnav } from '@keboola/brand-registry';
|
|
41
|
-
import { OTPInput
|
|
42
|
-
export { SlotProps as
|
|
41
|
+
import { OTPInput } from 'input-otp';
|
|
42
|
+
export { SlotProps as OtpInputRenderSlotProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from 'input-otp';
|
|
43
43
|
import { Accept, FileRejection } from 'react-dropzone';
|
|
44
44
|
import * as _radix_ui_react_collapsible from '@radix-ui/react-collapsible';
|
|
45
45
|
import { Root as Root$9 } from '@radix-ui/react-collapsible';
|
|
@@ -59,12 +59,12 @@ export { Slot } from '@radix-ui/react-slot';
|
|
|
59
59
|
declare const variants$3: (props?: ({
|
|
60
60
|
block?: boolean | null | undefined;
|
|
61
61
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
62
|
-
size?: "
|
|
62
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
63
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
64
64
|
declare const argoVariants: (props?: ({
|
|
65
65
|
block?: boolean | null | undefined;
|
|
66
66
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
67
|
-
size?: "
|
|
67
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
68
68
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69
69
|
|
|
70
70
|
/**
|
|
@@ -74,7 +74,7 @@ declare const argoVariants: (props?: ({
|
|
|
74
74
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
75
75
|
* composed as children — `<Button><Trash2 className="tw-size-4" /> Delete</Button>`.
|
|
76
76
|
*/
|
|
77
|
-
type Props$
|
|
77
|
+
type Props$1U = {
|
|
78
78
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
79
79
|
isLoading?: boolean;
|
|
80
80
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
@@ -93,7 +93,7 @@ type Props$1S = {
|
|
|
93
93
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
94
94
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
95
95
|
*/
|
|
96
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
96
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$1U & {
|
|
97
97
|
ref?: Ref<ElementRef<"button">>;
|
|
98
98
|
}) => react_jsx_runtime.JSX.Element;
|
|
99
99
|
|
|
@@ -101,29 +101,29 @@ declare const buttonInlineVariants: (props?: ({
|
|
|
101
101
|
color?: "dark" | "muted" | "link" | "danger" | "custom" | null | undefined;
|
|
102
102
|
variant?: "link" | "custom" | "link-reverse" | null | undefined;
|
|
103
103
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
|
-
type Props$
|
|
104
|
+
type Props$1T = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
105
105
|
asChild?: boolean;
|
|
106
106
|
};
|
|
107
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
107
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$1T & {
|
|
108
108
|
ref?: Ref<ElementRef<"button">>;
|
|
109
109
|
}) => react_jsx_runtime.JSX.Element;
|
|
110
110
|
|
|
111
111
|
declare const buttonGroupVariant: (props?: ({
|
|
112
112
|
variant?: "inline" | "block" | null | undefined;
|
|
113
|
-
space?: "
|
|
113
|
+
space?: "medium" | "small" | "large" | "extra-small" | "little-small" | "compact" | null | undefined;
|
|
114
114
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
115
|
-
type Props$
|
|
115
|
+
type Props$1S = {
|
|
116
116
|
children: ReactNode;
|
|
117
117
|
className?: string;
|
|
118
118
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
119
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
119
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$1S & {
|
|
120
120
|
ref?: Ref<ElementRef<"div">>;
|
|
121
121
|
}) => react_jsx_runtime.JSX.Element;
|
|
122
122
|
|
|
123
123
|
type Variant$8 = ComponentProps<typeof Button>['variant'];
|
|
124
124
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
125
125
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
126
|
-
type Props$
|
|
126
|
+
type Props$1R = {
|
|
127
127
|
actions?: ReactNode;
|
|
128
128
|
isActionsOpen?: boolean;
|
|
129
129
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -132,7 +132,7 @@ type Props$1P = {
|
|
|
132
132
|
variant?: Exclude<Variant$8, 'inline' | 'invisible'>;
|
|
133
133
|
size?: SpitButtonSize;
|
|
134
134
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
135
|
-
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$
|
|
135
|
+
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$1R & {
|
|
136
136
|
ref?: Ref<ElementRef<"button">>;
|
|
137
137
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
138
138
|
Action: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: (_radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -146,11 +146,11 @@ declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsO
|
|
|
146
146
|
Actions: react.ForwardRefExoticComponent<_radix_ui_react_dropdown_menu.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
147
147
|
};
|
|
148
148
|
|
|
149
|
-
type Props$
|
|
149
|
+
type Props$1Q = {
|
|
150
150
|
className?: string;
|
|
151
151
|
} & PropsWithChildren;
|
|
152
152
|
declare const MultiActionButtonGroup: {
|
|
153
|
-
({ children, className }: Props$
|
|
153
|
+
({ children, className }: Props$1Q): react_jsx_runtime.JSX.Element;
|
|
154
154
|
Button: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, "data-testid": dataTestId, }: {
|
|
155
155
|
disabled?: boolean;
|
|
156
156
|
icon: react.ReactNode;
|
|
@@ -165,19 +165,19 @@ declare const MultiActionButtonGroup: {
|
|
|
165
165
|
|
|
166
166
|
declare const toggleVariants: (props?: ({
|
|
167
167
|
variant?: "ai" | "ai-vivid" | "ghost" | null | undefined;
|
|
168
|
-
size?: "
|
|
168
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
169
169
|
iconOnly?: boolean | null | undefined;
|
|
170
170
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
171
|
-
type Props$
|
|
171
|
+
type Props$1P = {
|
|
172
172
|
icon?: ReactNode;
|
|
173
173
|
badge?: ReactNode;
|
|
174
174
|
} & ComponentProps<typeof Root> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly'>;
|
|
175
|
-
declare const Toggle: ({ ref, className, variant, size, children, icon, badge, disabled, ...props }: Props$
|
|
175
|
+
declare const Toggle: ({ ref, className, variant, size, children, icon, badge, disabled, ...props }: Props$1P & {
|
|
176
176
|
ref?: Ref<ElementRef<"button">>;
|
|
177
177
|
}) => react_jsx_runtime.JSX.Element;
|
|
178
178
|
|
|
179
179
|
declare const rootVariants: (props?: ({
|
|
180
|
-
size?: "
|
|
180
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
181
181
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
182
182
|
type RootProps$5 = ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof rootVariants>;
|
|
183
183
|
type ItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
@@ -193,11 +193,11 @@ declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$5 & {
|
|
|
193
193
|
declare const tooltipVariants: (props?: ({
|
|
194
194
|
variant?: "action" | "explanatory" | null | undefined;
|
|
195
195
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
196
|
-
type Props$
|
|
196
|
+
type Props$1O = {
|
|
197
197
|
keepOpenOnPointerDownOutside?: boolean;
|
|
198
198
|
placement?: ComponentProps<typeof Content>['side'];
|
|
199
199
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
200
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
200
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$1O) => react_jsx_runtime.JSX.Element;
|
|
201
201
|
|
|
202
202
|
type TriggerProps$1 = {
|
|
203
203
|
triggerAsChild?: boolean;
|
|
@@ -206,7 +206,7 @@ type TriggerProps$1 = {
|
|
|
206
206
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
207
207
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
208
208
|
*/
|
|
209
|
-
type Props$
|
|
209
|
+
type Props$1N = {
|
|
210
210
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
211
211
|
keepOpenOnTriggerClick?: boolean;
|
|
212
212
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -236,7 +236,7 @@ declare const TooltipProvider: react.FC<_radix_ui_react_tooltip.TooltipProviderP
|
|
|
236
236
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
237
237
|
*/
|
|
238
238
|
declare const Tooltip: {
|
|
239
|
-
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, triggerAsChild, }: Props$
|
|
239
|
+
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, triggerAsChild, }: Props$1N): react_jsx_runtime.JSX.Element;
|
|
240
240
|
Root: ({ children, delayDuration, ...rest }: _radix_ui_react_tooltip.TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
241
241
|
Content: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: {
|
|
242
242
|
keepOpenOnPointerDownOutside?: boolean;
|
|
@@ -251,33 +251,33 @@ declare const Tooltip: {
|
|
|
251
251
|
}) => react_jsx_runtime.JSX.Element;
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
-
type Props$
|
|
255
|
-
tooltip?: Props$
|
|
256
|
-
tooltipPlacement?: Props$
|
|
257
|
-
tooltipVariant?: Props$
|
|
258
|
-
asChild?: Props$
|
|
254
|
+
type Props$1M = {
|
|
255
|
+
tooltip?: Props$1N['tooltip'];
|
|
256
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
257
|
+
tooltipVariant?: Props$1N['variant'];
|
|
258
|
+
asChild?: Props$1N['triggerAsChild'];
|
|
259
259
|
text?: string | (() => string);
|
|
260
260
|
} & ComponentProps<'button'>;
|
|
261
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
261
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$1M & {
|
|
262
262
|
ref?: Ref<ElementRef<"button">>;
|
|
263
263
|
}) => react_jsx_runtime.JSX.Element;
|
|
264
264
|
|
|
265
265
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
266
266
|
type ButtonProps$2 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
267
|
-
type Props$
|
|
267
|
+
type Props$1L = ClipboardProps$1 & ButtonProps$2 & {
|
|
268
268
|
icon?: ReactNode;
|
|
269
269
|
};
|
|
270
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
270
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$1L) => react_jsx_runtime.JSX.Element;
|
|
271
271
|
|
|
272
272
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
273
273
|
type ButtonProps$1 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
274
|
-
type Props$
|
|
274
|
+
type Props$1K = {
|
|
275
275
|
hideIcon?: boolean;
|
|
276
276
|
} & ClipboardProps & ButtonProps$1;
|
|
277
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
277
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$1K) => react_jsx_runtime.JSX.Element;
|
|
278
278
|
|
|
279
|
-
type Props$
|
|
280
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
279
|
+
type Props$1J = ComponentProps<'a'>;
|
|
280
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1J & {
|
|
281
281
|
ref?: Ref<ElementRef<"a">>;
|
|
282
282
|
}) => react_jsx_runtime.JSX.Element;
|
|
283
283
|
|
|
@@ -289,13 +289,13 @@ type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
|
289
289
|
|
|
290
290
|
type ConfirmHandler = (event: MouseEvent$1<HTMLButtonElement>) => void | Promise<unknown>;
|
|
291
291
|
type CancelHandler = (event: MouseEvent$1<HTMLButtonElement>) => void;
|
|
292
|
-
type Props$
|
|
292
|
+
type Props$1I = {
|
|
293
293
|
onConfirm?: ConfirmHandler;
|
|
294
294
|
onCancel?: CancelHandler;
|
|
295
295
|
skipAsyncWait?: boolean;
|
|
296
296
|
} & ComponentProps<typeof Root$1>;
|
|
297
297
|
declare const AlertModal: {
|
|
298
|
-
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
298
|
+
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$1I): react_jsx_runtime.JSX.Element;
|
|
299
299
|
Trigger: ({ ref, onClick, onKeyDown, ...props }: _radix_ui_react_alert_dialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
300
300
|
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, container, className, children, onEscapeKeyDown, ...props }: {
|
|
301
301
|
variant?: AlertModalVariant;
|
|
@@ -307,7 +307,7 @@ declare const AlertModal: {
|
|
|
307
307
|
} & Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "title">) => react_jsx_runtime.JSX.Element;
|
|
308
308
|
};
|
|
309
309
|
|
|
310
|
-
type Props$
|
|
310
|
+
type Props$1H = ComponentProps<typeof Root$2>;
|
|
311
311
|
/**
|
|
312
312
|
* Blocking dialog for confirmations, forms, and detail views. Built on Radix Dialog.
|
|
313
313
|
*
|
|
@@ -323,7 +323,7 @@ type Props$1F = ComponentProps<typeof Root$2>;
|
|
|
323
323
|
* @see RECIPES.md#confirm-dialog — for destructive-confirm dialogs
|
|
324
324
|
*/
|
|
325
325
|
declare const Modal: {
|
|
326
|
-
(props: Props$
|
|
326
|
+
(props: Props$1H): react_jsx_runtime.JSX.Element;
|
|
327
327
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
328
328
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
329
329
|
Content: ({ size, className, children, onEscapeKeyDown, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -376,7 +376,7 @@ declare const FullScreenModal: (({ children, className, lockBodyScroll, onEscape
|
|
|
376
376
|
}) => react_jsx_runtime.JSX.Element;
|
|
377
377
|
};
|
|
378
378
|
|
|
379
|
-
type Props$
|
|
379
|
+
type Props$1G = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
380
380
|
title: ReactNode;
|
|
381
381
|
titleClassName?: string;
|
|
382
382
|
titleWrapperClassName?: string;
|
|
@@ -385,16 +385,16 @@ type Props$1E = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
385
385
|
onClose?: () => void;
|
|
386
386
|
showPreviousTitle?: boolean;
|
|
387
387
|
}>;
|
|
388
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
388
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$1G) => react_jsx_runtime.JSX.Element;
|
|
389
389
|
|
|
390
|
-
type Props$
|
|
391
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
390
|
+
type Props$1F = HTMLAttributes<HTMLDivElement>;
|
|
391
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$1F & {
|
|
392
392
|
ref?: Ref<HTMLDivElement>;
|
|
393
393
|
}) => react_jsx_runtime.JSX.Element;
|
|
394
394
|
|
|
395
|
-
type Props$
|
|
395
|
+
type Props$1E = ComponentProps<typeof Root$2>;
|
|
396
396
|
declare const Sheet: {
|
|
397
|
-
(props: Props$
|
|
397
|
+
(props: Props$1E): react_jsx_runtime.JSX.Element;
|
|
398
398
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
399
399
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
400
400
|
Content: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -417,9 +417,9 @@ declare const Sheet: {
|
|
|
417
417
|
Body: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
418
418
|
};
|
|
419
419
|
|
|
420
|
-
type Props$
|
|
420
|
+
type Props$1D = ComponentProps<typeof Root$3>;
|
|
421
421
|
declare const Popover: {
|
|
422
|
-
(props: Props$
|
|
422
|
+
(props: Props$1D): react_jsx_runtime.JSX.Element;
|
|
423
423
|
/**
|
|
424
424
|
* Main Layout
|
|
425
425
|
*/
|
|
@@ -441,12 +441,12 @@ type PopconfirmContextType = {
|
|
|
441
441
|
isLoading: boolean;
|
|
442
442
|
};
|
|
443
443
|
|
|
444
|
-
type Props$
|
|
444
|
+
type Props$1C = {
|
|
445
445
|
children: ReactNode;
|
|
446
446
|
skipAsyncWait?: boolean;
|
|
447
447
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
448
448
|
declare const Popconfirm: {
|
|
449
|
-
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
449
|
+
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$1C): react_jsx_runtime.JSX.Element;
|
|
450
450
|
Confirm: ({ ref, onClick, children, asChild, className, ...props }: (({
|
|
451
451
|
asChild: true;
|
|
452
452
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
@@ -458,7 +458,7 @@ declare const Popconfirm: {
|
|
|
458
458
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
459
459
|
block?: boolean | null | undefined;
|
|
460
460
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
461
|
-
size?: "
|
|
461
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
462
462
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
463
463
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
464
464
|
}, "children" | "isLoading">)) & {
|
|
@@ -475,7 +475,7 @@ declare const Popconfirm: {
|
|
|
475
475
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
476
476
|
block?: boolean | null | undefined;
|
|
477
477
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
478
|
-
size?: "
|
|
478
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
479
479
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
480
480
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
481
481
|
}, "children">)) & {
|
|
@@ -799,18 +799,18 @@ declare const Popconfirm: {
|
|
|
799
799
|
Trigger: ({ onClick, ...props }: _radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
800
800
|
};
|
|
801
801
|
|
|
802
|
-
type Props$
|
|
802
|
+
type Props$1B = ComponentProps<typeof Root$4>;
|
|
803
803
|
declare const HoverCard: {
|
|
804
|
-
({ openDelay, closeDelay, ...rest }: Props$
|
|
804
|
+
({ openDelay, closeDelay, ...rest }: Props$1B): react_jsx_runtime.JSX.Element;
|
|
805
805
|
Content: ({ ref, className, align, sideOffset, children, ...props }: Omit<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
806
806
|
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
807
807
|
}) => react_jsx_runtime.JSX.Element;
|
|
808
808
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
809
809
|
};
|
|
810
810
|
|
|
811
|
-
type Props$
|
|
811
|
+
type Props$1A = ComponentProps<typeof Root$5>;
|
|
812
812
|
declare const DropdownMenu: {
|
|
813
|
-
({ modal, ...props }: Props$
|
|
813
|
+
({ modal, ...props }: Props$1A): react_jsx_runtime.JSX.Element;
|
|
814
814
|
/**
|
|
815
815
|
* Main Layout
|
|
816
816
|
*/
|
|
@@ -866,14 +866,14 @@ declare const DropdownMenu: {
|
|
|
866
866
|
}) => react_jsx_runtime.JSX.Element;
|
|
867
867
|
};
|
|
868
868
|
|
|
869
|
-
type Props$
|
|
869
|
+
type Props$1z = {
|
|
870
870
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
871
871
|
};
|
|
872
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
872
|
+
declare const CheckIndicator: ({ variant }: Props$1z) => react_jsx_runtime.JSX.Element | null;
|
|
873
873
|
|
|
874
|
-
type Props$
|
|
874
|
+
type Props$1y = ComponentProps<typeof Command$1>;
|
|
875
875
|
declare const Command: {
|
|
876
|
-
({ className, ...rest }: Props$
|
|
876
|
+
({ className, ...rest }: Props$1y): react_jsx_runtime.JSX.Element;
|
|
877
877
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
878
878
|
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
879
879
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1233,7 +1233,7 @@ declare const Command: {
|
|
|
1233
1233
|
minLength?: number | undefined | undefined;
|
|
1234
1234
|
placeholder?: string | undefined | undefined;
|
|
1235
1235
|
readOnly?: boolean | undefined | undefined;
|
|
1236
|
-
sizing?: "
|
|
1236
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1237
1237
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1238
1238
|
rightSuffix?: react.ReactNode;
|
|
1239
1239
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -1269,25 +1269,25 @@ declare const Command: {
|
|
|
1269
1269
|
declare const addonVariants$1: (props?: ({
|
|
1270
1270
|
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
1271
1271
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1272
|
-
type Props$
|
|
1273
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
1272
|
+
type Props$1x = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1273
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1x) => react_jsx_runtime.JSX.Element;
|
|
1274
1274
|
|
|
1275
1275
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
1276
|
-
type Props$
|
|
1277
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
1276
|
+
type Props$1w = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
1277
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$1w & {
|
|
1278
1278
|
ref?: Ref<ElementRef<"button">>;
|
|
1279
1279
|
}) => react_jsx_runtime.JSX.Element;
|
|
1280
1280
|
|
|
1281
|
-
type Props$
|
|
1282
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
1281
|
+
type Props$1v = ComponentProps<'input'>;
|
|
1282
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$1v & {
|
|
1283
1283
|
ref?: Ref<ElementRef<"input">>;
|
|
1284
1284
|
}) => react_jsx_runtime.JSX.Element;
|
|
1285
1285
|
|
|
1286
|
-
type Props$
|
|
1287
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
1286
|
+
type Props$1u = ComponentProps<'span'>;
|
|
1287
|
+
declare const InputGroupText: ({ className, ...props }: Props$1u) => react_jsx_runtime.JSX.Element;
|
|
1288
1288
|
|
|
1289
1289
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof react_textarea_autosize__default>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
1290
|
-
type Props$
|
|
1290
|
+
type Props$1t = TextareaNativeProps$1 & {
|
|
1291
1291
|
value?: string | null;
|
|
1292
1292
|
defaultValue?: string | null;
|
|
1293
1293
|
onValueChange?: (value: string) => void;
|
|
@@ -1295,20 +1295,20 @@ type Props$1r = TextareaNativeProps$1 & {
|
|
|
1295
1295
|
maxRows?: number | 'unlimited';
|
|
1296
1296
|
disableResize?: boolean;
|
|
1297
1297
|
};
|
|
1298
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
1298
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$1t & {
|
|
1299
1299
|
ref?: Ref<ElementRef<"textarea">>;
|
|
1300
1300
|
}) => react_jsx_runtime.JSX.Element;
|
|
1301
1301
|
|
|
1302
1302
|
declare const inputGroupVariants: (props?: ({
|
|
1303
1303
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1304
1304
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1305
|
-
sizing?: "
|
|
1305
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1306
1306
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1307
1307
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1308
|
-
type Props$
|
|
1308
|
+
type Props$1s = ComponentProps<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
1309
1309
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
1310
1310
|
};
|
|
1311
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1311
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$1s & {
|
|
1312
1312
|
ref?: Ref<ElementRef<"div">>;
|
|
1313
1313
|
}) => react_jsx_runtime.JSX.Element;
|
|
1314
1314
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
@@ -1335,7 +1335,7 @@ type OwnProps$1 = {
|
|
|
1335
1335
|
* Props for `Input`. Combines `InputGroup` chrome (variant / sizing / state / focusVariant) with
|
|
1336
1336
|
* input-specific slots (`prefix`, `leftSuffix`, `rightSuffix`, `allowClear`).
|
|
1337
1337
|
*/
|
|
1338
|
-
type Props$
|
|
1338
|
+
type Props$1r = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue'>;
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Low-level text input with `InputGroup` chrome — addons, clear button, sizing, focus variants.
|
|
1341
1341
|
*
|
|
@@ -1345,12 +1345,12 @@ type Props$1p = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, '
|
|
|
1345
1345
|
* `FormGroup.TextInput`; for search use `SearchInput`; for forms with validation use `useAppForm`.
|
|
1346
1346
|
* **Composition:** wrap in `FormGroup` for shared error state, or render directly as a controlled input.
|
|
1347
1347
|
*/
|
|
1348
|
-
declare const Input$1: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, value, defaultValue, ...inputProps }: Props$
|
|
1348
|
+
declare const Input$1: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, value, defaultValue, ...inputProps }: Props$1r & {
|
|
1349
1349
|
ref?: Ref<ElementRef<"input">>;
|
|
1350
1350
|
}) => react_jsx_runtime.JSX.Element;
|
|
1351
1351
|
|
|
1352
1352
|
type InputProps$1 = ComponentProps<typeof Input$1>;
|
|
1353
|
-
type Props$
|
|
1353
|
+
type Props$1q = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
1354
1354
|
defaultValue?: Date | null;
|
|
1355
1355
|
disabledDays?: Matcher | Matcher[];
|
|
1356
1356
|
endMonth?: Date;
|
|
@@ -1359,12 +1359,12 @@ type Props$1o = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
|
1359
1359
|
startMonth?: Date;
|
|
1360
1360
|
value?: Date | null;
|
|
1361
1361
|
};
|
|
1362
|
-
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$
|
|
1362
|
+
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$1q & {
|
|
1363
1363
|
ref?: Ref<ElementRef<"input">>;
|
|
1364
1364
|
}) => react_jsx_runtime.JSX.Element;
|
|
1365
1365
|
|
|
1366
1366
|
type InputProps = ComponentProps<typeof Input$1>;
|
|
1367
|
-
type Props$
|
|
1367
|
+
type Props$1p = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
1368
1368
|
defaultValue?: DateRange$1 | null;
|
|
1369
1369
|
endMonth?: Date;
|
|
1370
1370
|
onValueBlur?: (value: DateRange$1 | null) => void;
|
|
@@ -1372,7 +1372,7 @@ type Props$1n = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
|
1372
1372
|
startMonth?: Date;
|
|
1373
1373
|
value?: DateRange$1 | null;
|
|
1374
1374
|
};
|
|
1375
|
-
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$
|
|
1375
|
+
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$1p & {
|
|
1376
1376
|
ref?: Ref<ElementRef<"input">>;
|
|
1377
1377
|
}) => react_jsx_runtime.JSX.Element;
|
|
1378
1378
|
|
|
@@ -1390,7 +1390,7 @@ type OwnProps = {
|
|
|
1390
1390
|
* Props for `TextInput`. Extends `Input` with string-typed `value` / `defaultValue` and convenience
|
|
1391
1391
|
* `onValueChange` / `onValueBlur` callbacks. `null` / `undefined` are coerced to empty strings.
|
|
1392
1392
|
*/
|
|
1393
|
-
type Props$
|
|
1393
|
+
type Props$1o = OwnProps & NativeProps;
|
|
1394
1394
|
/**
|
|
1395
1395
|
* Standard text input with a string-only API. The default choice for a bare text input.
|
|
1396
1396
|
*
|
|
@@ -1402,42 +1402,42 @@ type Props$1m = OwnProps & NativeProps;
|
|
|
1402
1402
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1403
1403
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1404
1404
|
*/
|
|
1405
|
-
declare const TextInput: ({ ref, value, defaultValue, type, variant, onValueChange, onChange, onValueBlur, onBlur, ...props }: Props$
|
|
1405
|
+
declare const TextInput: ({ ref, value, defaultValue, type, variant, onValueChange, onChange, onValueBlur, onBlur, ...props }: Props$1o & {
|
|
1406
1406
|
ref?: Ref<ElementRef<"input">>;
|
|
1407
1407
|
}) => react_jsx_runtime.JSX.Element;
|
|
1408
1408
|
|
|
1409
|
-
type Props$
|
|
1410
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1409
|
+
type Props$1n = ComponentProps<typeof TextInput>;
|
|
1410
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$1n & {
|
|
1411
1411
|
ref?: Ref<ElementRef<"input">>;
|
|
1412
1412
|
}) => react_jsx_runtime.JSX.Element;
|
|
1413
1413
|
|
|
1414
|
-
type Props$
|
|
1414
|
+
type Props$1m = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1415
1415
|
viewPortClassName?: string;
|
|
1416
1416
|
scrollBarClassName?: string;
|
|
1417
1417
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1418
1418
|
};
|
|
1419
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1419
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$1m & {
|
|
1420
1420
|
ref?: Ref<ElementRef<"div">>;
|
|
1421
1421
|
}) => react_jsx_runtime.JSX.Element;
|
|
1422
1422
|
|
|
1423
|
-
type Props$
|
|
1424
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1423
|
+
type Props$1l = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1424
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$1l) => react_jsx_runtime.JSX.Element;
|
|
1425
1425
|
|
|
1426
|
-
type Props$
|
|
1427
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1426
|
+
type Props$1k = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1427
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$1k & {
|
|
1428
1428
|
ref?: Ref<ElementRef<"div">>;
|
|
1429
1429
|
}) => react_jsx_runtime.JSX.Element;
|
|
1430
1430
|
|
|
1431
|
-
type Props$
|
|
1432
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
1431
|
+
type Props$1j = ComponentProps<typeof Command$1.Group>;
|
|
1432
|
+
declare const CommandGroup: ({ className, ...props }: Props$1j) => react_jsx_runtime.JSX.Element;
|
|
1433
1433
|
|
|
1434
|
-
type Props$
|
|
1434
|
+
type Props$1i = ComponentProps<typeof Command$1.Item> & {
|
|
1435
1435
|
icon?: ReactNode;
|
|
1436
1436
|
checked?: boolean;
|
|
1437
1437
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1438
1438
|
actions?: ReactNode;
|
|
1439
1439
|
};
|
|
1440
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1440
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$1i) => react_jsx_runtime.JSX.Element;
|
|
1441
1441
|
|
|
1442
1442
|
/** Viewport-relative box of the highlighted target. */
|
|
1443
1443
|
type TargetRect = {
|
|
@@ -1457,7 +1457,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1457
1457
|
*/
|
|
1458
1458
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1459
1459
|
|
|
1460
|
-
type Props$
|
|
1460
|
+
type Props$1h = {
|
|
1461
1461
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1462
1462
|
rect: TargetRect | null;
|
|
1463
1463
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1479,7 +1479,7 @@ type Props$1f = {
|
|
|
1479
1479
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1480
1480
|
* "Guided tour (recipe)" story for the composition.
|
|
1481
1481
|
*/
|
|
1482
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1482
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$1h) => react_jsx_runtime.JSX.Element;
|
|
1483
1483
|
|
|
1484
1484
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
1485
1485
|
declare const Calendar: {
|
|
@@ -1523,23 +1523,22 @@ declare const DateRangePicker: {
|
|
|
1523
1523
|
displayName: string;
|
|
1524
1524
|
};
|
|
1525
1525
|
|
|
1526
|
-
type Props$
|
|
1526
|
+
type Props$1g = {
|
|
1527
1527
|
children?: ReactNode;
|
|
1528
1528
|
defaultSelected?: string | null;
|
|
1529
1529
|
selected?: string | null;
|
|
1530
1530
|
onSelect?: (time: string) => void;
|
|
1531
1531
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1532
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$
|
|
1532
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$1g) => react_jsx_runtime.JSX.Element;
|
|
1533
1533
|
|
|
1534
|
-
type
|
|
1534
|
+
type Props$1f = {
|
|
1535
1535
|
id?: string | number;
|
|
1536
1536
|
htmlFor?: string | number;
|
|
1537
|
-
} & Omit<LabelProps
|
|
1537
|
+
} & Omit<LabelProps, 'id' | 'htmlFor'>;
|
|
1538
1538
|
declare const Label: {
|
|
1539
|
-
({ className, children, id, htmlFor, ...rest }:
|
|
1540
|
-
Optional: ({ className }:
|
|
1541
|
-
|
|
1542
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1539
|
+
({ className, children, id, htmlFor, ...rest }: Props$1f): react_jsx_runtime.JSX.Element;
|
|
1540
|
+
Optional: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1541
|
+
Required: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1543
1542
|
};
|
|
1544
1543
|
|
|
1545
1544
|
declare const fieldBoxVariants: (props?: ({
|
|
@@ -1548,24 +1547,24 @@ declare const fieldBoxVariants: (props?: ({
|
|
|
1548
1547
|
|
|
1549
1548
|
declare const switchVariants: (props?: ({
|
|
1550
1549
|
variant?: "default" | "argo" | null | undefined;
|
|
1551
|
-
size?: "
|
|
1550
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
1552
1551
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1553
1552
|
|
|
1554
|
-
type Props$
|
|
1553
|
+
type Props$1e = {
|
|
1555
1554
|
id?: string | number;
|
|
1556
1555
|
children?: ReactNode;
|
|
1557
1556
|
description?: ReactNode;
|
|
1558
1557
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1559
1558
|
position?: 'start' | 'end';
|
|
1560
1559
|
} & Omit<ComponentProps<typeof Root$6>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
1561
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
1560
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$1e & {
|
|
1562
1561
|
ref?: Ref<ElementRef<"button">>;
|
|
1563
1562
|
}) => react_jsx_runtime.JSX.Element;
|
|
1564
1563
|
|
|
1565
1564
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
1566
1565
|
type Orientation = 'vertical' | 'horizontal';
|
|
1567
1566
|
|
|
1568
|
-
type Props$
|
|
1567
|
+
type Props$1d<Value> = {
|
|
1569
1568
|
variant?: Variant$7;
|
|
1570
1569
|
orientation?: Orientation;
|
|
1571
1570
|
onValueChange?: (value: Value) => void;
|
|
@@ -1573,7 +1572,7 @@ type Props$1c<Value> = {
|
|
|
1573
1572
|
defaultValue?: Value | null;
|
|
1574
1573
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1575
1574
|
declare const RadioGroup: {
|
|
1576
|
-
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
1575
|
+
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$1d<Value>): react_jsx_runtime.JSX.Element;
|
|
1577
1576
|
Item: <T extends string = string>({ children, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1578
1577
|
content?: string | undefined | undefined;
|
|
1579
1578
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -1870,34 +1869,34 @@ declare const RadioGroup: {
|
|
|
1870
1869
|
} & {
|
|
1871
1870
|
value: T;
|
|
1872
1871
|
tooltip?: react.ReactNode;
|
|
1873
|
-
tooltipVariant?: Props$
|
|
1874
|
-
tooltipPlacement?: Props$
|
|
1872
|
+
tooltipVariant?: Props$1N["variant"];
|
|
1873
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
1875
1874
|
description?: react.ReactNode;
|
|
1876
1875
|
}) => react_jsx_runtime.JSX.Element;
|
|
1877
1876
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
1878
1877
|
};
|
|
1879
1878
|
|
|
1880
|
-
type Props$
|
|
1879
|
+
type Props$1c = ComponentProps<typeof Thumb> & {
|
|
1881
1880
|
tooltip?: ReactNode;
|
|
1882
1881
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
1883
1882
|
};
|
|
1884
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
1883
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$1c & {
|
|
1885
1884
|
ref?: Ref<ElementRef<typeof Thumb>>;
|
|
1886
1885
|
}) => react_jsx_runtime.JSX.Element;
|
|
1887
1886
|
|
|
1888
1887
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
1889
|
-
type Props$
|
|
1888
|
+
type Props$1b = ComponentProps<typeof Root$7> & {
|
|
1890
1889
|
thumbTooltip?: ThumbTooltipFn;
|
|
1891
1890
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
1892
1891
|
rangeClassName?: string;
|
|
1893
1892
|
};
|
|
1894
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
1893
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$1b & {
|
|
1895
1894
|
ref?: Ref<ElementRef<typeof Root$7>>;
|
|
1896
1895
|
}) => react_jsx_runtime.JSX.Element;
|
|
1897
1896
|
|
|
1898
1897
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent$1<HTMLButtonElement>) => void;
|
|
1899
1898
|
type SearchBlurEventHandler = (value: string, event: FocusEvent$1<HTMLInputElement, Element>) => void;
|
|
1900
|
-
type Props$
|
|
1899
|
+
type Props$1a = {
|
|
1901
1900
|
suffix?: ReactNode;
|
|
1902
1901
|
disableDebounce?: boolean;
|
|
1903
1902
|
debounceDelay?: number;
|
|
@@ -1912,14 +1911,14 @@ type Props$19 = {
|
|
|
1912
1911
|
/**
|
|
1913
1912
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
1914
1913
|
*/
|
|
1915
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
1914
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$1a & {
|
|
1916
1915
|
ref?: Ref<ElementRef<"input">>;
|
|
1917
1916
|
}) => react_jsx_runtime.JSX.Element;
|
|
1918
1917
|
|
|
1919
|
-
type Props$
|
|
1918
|
+
type Props$19 = {
|
|
1920
1919
|
onSubmit: (value: string) => void;
|
|
1921
1920
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
1922
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
1921
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$19 & {
|
|
1923
1922
|
ref?: Ref<ElementRef<"input">>;
|
|
1924
1923
|
}) => react_jsx_runtime.JSX.Element;
|
|
1925
1924
|
|
|
@@ -1941,13 +1940,13 @@ type SelectRootProps = {
|
|
|
1941
1940
|
|
|
1942
1941
|
declare const variants$2: (props?: ({
|
|
1943
1942
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1944
|
-
sizing?: "
|
|
1943
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1945
1944
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1946
1945
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1947
|
-
type Props$
|
|
1946
|
+
type Props$18 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof variants$2>, 'variant'> & {
|
|
1948
1947
|
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'>;
|
|
1949
1948
|
} & Pick<ComponentProps<typeof _radix_ui_react_select.Value>, 'placeholder'>;
|
|
1950
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
1949
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$18 & {
|
|
1951
1950
|
ref?: Ref<ElementRef<"button">>;
|
|
1952
1951
|
}) => react_jsx_runtime.JSX.Element;
|
|
1953
1952
|
|
|
@@ -1966,7 +1965,7 @@ type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
|
1966
1965
|
* Props for `Select`. Combines Radix `Select.Root` control props with `Select.Trigger` chrome and the
|
|
1967
1966
|
* convenience `items` shape (flat list, or grouped lists with optional labels).
|
|
1968
1967
|
*/
|
|
1969
|
-
type Props$
|
|
1968
|
+
type Props$17 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className'> & {
|
|
1970
1969
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
1971
1970
|
};
|
|
1972
1971
|
/**
|
|
@@ -1981,16 +1980,16 @@ type Props$16 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange'
|
|
|
1981
1980
|
* `Select.Item`) for custom item layouts; the top-level `Select` covers the common cases.
|
|
1982
1981
|
*/
|
|
1983
1982
|
declare const Select: {
|
|
1984
|
-
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$
|
|
1983
|
+
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$17): react_jsx_runtime.JSX.Element;
|
|
1985
1984
|
Root: (props: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1986
1985
|
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: (_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
1987
1986
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1988
|
-
sizing?: "
|
|
1987
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1989
1988
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1990
1989
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
1991
1990
|
variant?: Exclude<class_variance_authority.VariantProps<(props?: ({
|
|
1992
1991
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1993
|
-
sizing?: "
|
|
1992
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1994
1993
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1995
1994
|
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo">;
|
|
1996
1995
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">) & {
|
|
@@ -2011,51 +2010,51 @@ declare const Select: {
|
|
|
2011
2010
|
Separator: ({ className, ...props }: _radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2012
2011
|
};
|
|
2013
2012
|
|
|
2014
|
-
type Props$
|
|
2013
|
+
type Props$16 = {
|
|
2015
2014
|
id?: string | number;
|
|
2016
2015
|
description?: ReactNode;
|
|
2017
2016
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
2018
2017
|
position?: 'start' | 'end';
|
|
2019
|
-
tooltip?: Props$
|
|
2020
|
-
tooltipPlacement?: Props$
|
|
2018
|
+
tooltip?: Props$1N['tooltip'];
|
|
2019
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
2021
2020
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
2022
|
-
declare function Checkbox(prop: Omit<Props$
|
|
2021
|
+
declare function Checkbox(prop: Omit<Props$16, 'checked' | 'onCheckedChange'> & {
|
|
2023
2022
|
checked?: boolean;
|
|
2024
2023
|
onCheckedChange?: (checked: boolean) => void;
|
|
2025
2024
|
}): ReactNode;
|
|
2026
|
-
declare function Checkbox(prop: Omit<Props$
|
|
2025
|
+
declare function Checkbox(prop: Omit<Props$16, 'checked' | 'onCheckedChange'> & {
|
|
2027
2026
|
checked?: CheckedState;
|
|
2028
2027
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
2029
2028
|
}): ReactNode;
|
|
2030
2029
|
|
|
2031
2030
|
type Variant$6 = 'check' | 'checkbox';
|
|
2032
|
-
type Props$
|
|
2031
|
+
type Props$15 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
2033
2032
|
className?: string;
|
|
2034
2033
|
variant?: Variant$6;
|
|
2035
2034
|
};
|
|
2036
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
2035
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$15 & {
|
|
2037
2036
|
ref?: Ref<ElementRef<"span">>;
|
|
2038
2037
|
}) => react_jsx_runtime.JSX.Element;
|
|
2039
2038
|
|
|
2040
|
-
type Props$
|
|
2041
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
2039
|
+
type Props$14 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
2040
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$14 & {
|
|
2042
2041
|
ref?: Ref<ElementRef<"input">>;
|
|
2043
2042
|
}) => react_jsx_runtime.JSX.Element;
|
|
2044
2043
|
|
|
2045
2044
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
2046
|
-
type Props$
|
|
2045
|
+
type Props$13 = InputGroupProps$6 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
2047
2046
|
className?: string;
|
|
2048
2047
|
};
|
|
2049
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
2048
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$13 & {
|
|
2050
2049
|
ref?: Ref<ElementRef<"div">>;
|
|
2051
2050
|
}) => react_jsx_runtime.JSX.Element;
|
|
2052
2051
|
|
|
2053
|
-
type Props$
|
|
2052
|
+
type Props$12 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
2054
2053
|
className?: string;
|
|
2055
2054
|
icon?: ReactNode;
|
|
2056
2055
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
2057
2056
|
};
|
|
2058
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
2057
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$12 & {
|
|
2059
2058
|
ref?: Ref<ElementRef<"div">>;
|
|
2060
2059
|
}) => react_jsx_runtime.JSX.Element;
|
|
2061
2060
|
|
|
@@ -2075,7 +2074,7 @@ type CreatableProps<Value> = {
|
|
|
2075
2074
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
2076
2075
|
queryToCreateValue?: (query: string) => Value;
|
|
2077
2076
|
};
|
|
2078
|
-
type Props$
|
|
2077
|
+
type Props$11<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps<Value> & {
|
|
2079
2078
|
items?: readonly (Value | GroupShape)[];
|
|
2080
2079
|
allowClear?: boolean;
|
|
2081
2080
|
empty?: ReactNode;
|
|
@@ -2087,12 +2086,12 @@ type Props$10<Value, GroupShape extends Group<Value> = Group<Value>> = PublicCom
|
|
|
2087
2086
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
2088
2087
|
};
|
|
2089
2088
|
declare const Combobox: {
|
|
2090
|
-
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$
|
|
2089
|
+
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$11<Value, GroupShape>): react_jsx_runtime.JSX.Element;
|
|
2091
2090
|
Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
|
|
2092
2091
|
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: ({
|
|
2093
2092
|
variant?: "primary" | "secondary" | null | undefined;
|
|
2094
2093
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2095
|
-
sizing?: "
|
|
2094
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2096
2095
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
2097
2096
|
} & Omit<Omit<_base_ui_react_combobox.ComboboxInputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className" | "render"> & {
|
|
2098
2097
|
className?: string;
|
|
@@ -2470,7 +2469,7 @@ type Indicator = NonNullable<ComboboxItemProps['indicator']>;
|
|
|
2470
2469
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
2471
2470
|
* the default substring matcher.
|
|
2472
2471
|
*/
|
|
2473
|
-
type Props
|
|
2472
|
+
type Props$10<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter'> & Pick<ComboboxChipsProps, 'itemToChipLabel' | 'itemToChipColor' | 'maxVisible'> & {
|
|
2474
2473
|
items?: readonly (Value | GroupShape)[];
|
|
2475
2474
|
allowClear?: boolean;
|
|
2476
2475
|
allowSelectAll?: boolean;
|
|
@@ -2494,7 +2493,7 @@ type Props$$<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<Combo
|
|
|
2494
2493
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
2495
2494
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
2496
2495
|
*/
|
|
2497
|
-
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props
|
|
2496
|
+
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$10<Value, GroupShape>) => react_jsx_runtime.JSX.Element;
|
|
2498
2497
|
|
|
2499
2498
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
2500
2499
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
@@ -2507,12 +2506,12 @@ type TextareaOwnProps = {
|
|
|
2507
2506
|
disableResize?: boolean;
|
|
2508
2507
|
containerClassName?: string;
|
|
2509
2508
|
};
|
|
2510
|
-
type Props
|
|
2509
|
+
type Props$$ = InputGroupProps$5 & TextareaNativeProps & TextareaOwnProps;
|
|
2511
2510
|
/**
|
|
2512
2511
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
2513
2512
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
2514
2513
|
*/
|
|
2515
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props
|
|
2514
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props$$ & {
|
|
2516
2515
|
ref?: Ref<ElementRef<"textarea">>;
|
|
2517
2516
|
}) => react_jsx_runtime.JSX.Element;
|
|
2518
2517
|
|
|
@@ -2527,14 +2526,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
2527
2526
|
|
|
2528
2527
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2529
2528
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2530
|
-
type Props$
|
|
2529
|
+
type Props$_ = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
2531
2530
|
value?: string | null;
|
|
2532
2531
|
defaultValue?: string | null;
|
|
2533
2532
|
onValueChange?: (value: string) => void;
|
|
2534
2533
|
onValueBlur?: (value: string) => void;
|
|
2535
2534
|
allowClear?: boolean;
|
|
2536
2535
|
};
|
|
2537
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
2536
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$_ & {
|
|
2538
2537
|
ref?: Ref<ElementRef<"input">>;
|
|
2539
2538
|
}) => react_jsx_runtime.JSX.Element;
|
|
2540
2539
|
|
|
@@ -2571,12 +2570,12 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
2571
2570
|
setScheme: (next: ColorScheme) => void;
|
|
2572
2571
|
};
|
|
2573
2572
|
|
|
2574
|
-
type Props$
|
|
2573
|
+
type Props$Z = UseColorSchemeOptions & UseBrandOptions & {
|
|
2575
2574
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
2576
2575
|
brands?: readonly Brand[];
|
|
2577
2576
|
children: ReactNode;
|
|
2578
2577
|
};
|
|
2579
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$
|
|
2578
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$Z) => react_jsx_runtime.JSX.Element;
|
|
2580
2579
|
|
|
2581
2580
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
2582
2581
|
themes: Theme[];
|
|
@@ -2600,7 +2599,7 @@ declare const useArgoDesign: () => boolean;
|
|
|
2600
2599
|
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
2601
2600
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
2602
2601
|
|
|
2603
|
-
type Props$
|
|
2602
|
+
type Props$Y = {
|
|
2604
2603
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
2605
2604
|
value: ColorScheme;
|
|
2606
2605
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -2625,11 +2624,11 @@ type Props$X = {
|
|
|
2625
2624
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
2626
2625
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
2627
2626
|
*/
|
|
2628
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
2627
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$Y) => react_jsx_runtime.JSX.Element;
|
|
2629
2628
|
|
|
2630
2629
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2631
2630
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
2632
|
-
type Props$
|
|
2631
|
+
type Props$X = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
2633
2632
|
value?: number | null;
|
|
2634
2633
|
defaultValue?: number | null;
|
|
2635
2634
|
onValueChange?: (value: number | null) => void;
|
|
@@ -2637,13 +2636,13 @@ type Props$W = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
2637
2636
|
prefix?: ReactNode;
|
|
2638
2637
|
suffix?: ReactNode;
|
|
2639
2638
|
};
|
|
2640
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
2639
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$X & {
|
|
2641
2640
|
ref?: Ref<ElementRef<"input">>;
|
|
2642
2641
|
}) => react_jsx_runtime.JSX.Element;
|
|
2643
2642
|
|
|
2644
2643
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2645
2644
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
2646
|
-
type Props$
|
|
2645
|
+
type Props$W = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
2647
2646
|
value?: string | null;
|
|
2648
2647
|
defaultValue?: string | null;
|
|
2649
2648
|
onValueChange?: (value: string) => void;
|
|
@@ -2653,46 +2652,34 @@ type Props$V = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
|
2653
2652
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
2654
2653
|
defaultPasswordVisibility?: boolean;
|
|
2655
2654
|
};
|
|
2656
|
-
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$
|
|
2655
|
+
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$W & {
|
|
2657
2656
|
ref?: Ref<ElementRef<"input">>;
|
|
2658
2657
|
}) => react_jsx_runtime.JSX.Element;
|
|
2659
2658
|
|
|
2660
2659
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2661
2660
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2662
|
-
type Props$
|
|
2661
|
+
type Props$V = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
2663
2662
|
value?: string | null;
|
|
2664
2663
|
defaultValue?: string | null;
|
|
2665
2664
|
onValueChange?: (value: string | null) => void;
|
|
2666
2665
|
onValueBlur?: (value: string | null) => void;
|
|
2667
2666
|
allowClear?: boolean;
|
|
2668
2667
|
};
|
|
2669
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2668
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$V & {
|
|
2670
2669
|
ref?: Ref<ElementRef<"input">>;
|
|
2671
2670
|
}) => react_jsx_runtime.JSX.Element;
|
|
2672
2671
|
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2677
|
-
type SlotVariants = VariantProps<typeof slotVariants>;
|
|
2678
|
-
|
|
2679
|
-
type Sizing = NonNullable<SlotVariants['sizing']>;
|
|
2680
|
-
type State = NonNullable<SlotVariants['state']>;
|
|
2681
|
-
|
|
2682
|
-
type OtpInputProps = ComponentProps<typeof OTPInput>;
|
|
2683
|
-
type OtpInputChildrenProps = Omit<Extract<OtpInputProps, {
|
|
2672
|
+
type OtpInputSizing = 'sm' | 'md' | 'lg';
|
|
2673
|
+
type OtpElementProps = ComponentProps<typeof OTPInput>;
|
|
2674
|
+
type OtpElementChildrenProps = Omit<Extract<OtpElementProps, {
|
|
2684
2675
|
children: ReactNode;
|
|
2685
2676
|
}>, 'containerClassName'>;
|
|
2686
2677
|
type RootOwnProps = {
|
|
2687
|
-
|
|
2688
|
-
sizing?: Sizing;
|
|
2689
|
-
/** Drives the error ring/border on each slot and `aria-invalid` on the inner input. */
|
|
2690
|
-
state?: State;
|
|
2691
|
-
/** Class for the outer flex container that holds groups + separators. */
|
|
2678
|
+
sizing?: OtpInputSizing;
|
|
2692
2679
|
containerClassName?: string;
|
|
2693
2680
|
};
|
|
2694
|
-
type RootProps$4 =
|
|
2695
|
-
declare const
|
|
2681
|
+
type RootProps$4 = OtpElementChildrenProps & RootOwnProps;
|
|
2682
|
+
declare const OtpInput: (({ ref, sizing, pattern, containerClassName, className, children, "aria-invalid": ariaInvalid, ...rest }: RootProps$4 & {
|
|
2696
2683
|
ref?: Ref<HTMLInputElement>;
|
|
2697
2684
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2698
2685
|
Group: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
@@ -2708,12 +2695,6 @@ declare const InputOtp: (({ ref, sizing, state, pattern, containerClassName, cla
|
|
|
2708
2695
|
}) => react_jsx_runtime.JSX.Element;
|
|
2709
2696
|
};
|
|
2710
2697
|
|
|
2711
|
-
/**
|
|
2712
|
-
* Access the `input-otp` render context (slots, focus, hover) — use this inside a custom
|
|
2713
|
-
* child of `<InputOtp>` to render slots yourself. Throws if called outside `<InputOtp>`.
|
|
2714
|
-
*/
|
|
2715
|
-
declare const useInputOtpContext: () => RenderProps;
|
|
2716
|
-
|
|
2717
2698
|
type InputGroupProps = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2718
2699
|
type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2719
2700
|
/**
|
|
@@ -2722,7 +2703,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
2722
2703
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
2723
2704
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
2724
2705
|
*/
|
|
2725
|
-
type Props$
|
|
2706
|
+
type Props$U = InputGroupProps & InputGroupInputProps & {
|
|
2726
2707
|
value?: string | null;
|
|
2727
2708
|
defaultValue?: string | null;
|
|
2728
2709
|
/** Called with the latest string value after the debounce window (default 300ms). Fires synchronously on clear and when `disableDebounce` is set. For sync echo of every keystroke use `onChange`. */
|
|
@@ -2751,7 +2732,7 @@ type Props$T = InputGroupProps & InputGroupInputProps & {
|
|
|
2751
2732
|
*
|
|
2752
2733
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
2753
2734
|
*/
|
|
2754
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
2735
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$U & {
|
|
2755
2736
|
ref?: Ref<ElementRef<"input">>;
|
|
2756
2737
|
}) => react_jsx_runtime.JSX.Element;
|
|
2757
2738
|
|
|
@@ -2776,15 +2757,15 @@ declare const addonVariants: (props?: ({
|
|
|
2776
2757
|
align?: "inline-start" | "inline-end" | null | undefined;
|
|
2777
2758
|
variant?: "inline" | "floating" | null | undefined;
|
|
2778
2759
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2779
|
-
type Props$
|
|
2780
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
2760
|
+
type Props$T = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
2761
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$T & {
|
|
2781
2762
|
ref?: Ref<ElementRef<"div">>;
|
|
2782
2763
|
}) => react_jsx_runtime.JSX.Element;
|
|
2783
2764
|
|
|
2784
|
-
type Props$
|
|
2765
|
+
type Props$S = ComponentProps<'span'> & {
|
|
2785
2766
|
asChild?: boolean;
|
|
2786
2767
|
};
|
|
2787
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
2768
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$S & {
|
|
2788
2769
|
ref?: Ref<ElementRef<"span">>;
|
|
2789
2770
|
}) => react_jsx_runtime.JSX.Element;
|
|
2790
2771
|
|
|
@@ -2793,8 +2774,8 @@ declare const badgeRootVariants: (props?: ({
|
|
|
2793
2774
|
color?: "orange" | "blue" | "red" | "green" | "gray" | "cyan" | "purple" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2794
2775
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2795
2776
|
|
|
2796
|
-
type Props$
|
|
2797
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$
|
|
2777
|
+
type Props$R = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
2778
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$R & {
|
|
2798
2779
|
ref?: Ref<ElementRef<"div">>;
|
|
2799
2780
|
}) => react_jsx_runtime.JSX.Element;
|
|
2800
2781
|
|
|
@@ -2806,14 +2787,14 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
2806
2787
|
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
2807
2788
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
2808
2789
|
*/
|
|
2809
|
-
type Props$
|
|
2790
|
+
type Props$Q = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
2810
2791
|
prefix?: ReactNode;
|
|
2811
2792
|
prefixVariant?: AddonVariant;
|
|
2812
2793
|
suffix?: ReactNode;
|
|
2813
2794
|
suffixVariant?: AddonVariant;
|
|
2814
2795
|
labelClassName?: string;
|
|
2815
2796
|
};
|
|
2816
|
-
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
2797
|
+
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$Q & {
|
|
2817
2798
|
ref?: Ref<ElementRef<"span">>;
|
|
2818
2799
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2819
2800
|
Root: ({ ref, variant, color, className, children, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -2845,45 +2826,45 @@ type TagOption = {
|
|
|
2845
2826
|
disabled?: boolean;
|
|
2846
2827
|
};
|
|
2847
2828
|
|
|
2848
|
-
type Props$
|
|
2829
|
+
type Props$P = {
|
|
2849
2830
|
onCreate?: (search: string) => void;
|
|
2850
2831
|
} & Pick<ComponentProps<typeof Command.Item>, 'value'>;
|
|
2851
|
-
declare const TagSelectCreateItem: ({ onCreate, value }: Props$
|
|
2832
|
+
declare const TagSelectCreateItem: ({ onCreate, value }: Props$P) => react_jsx_runtime.JSX.Element;
|
|
2852
2833
|
|
|
2853
|
-
type Props$
|
|
2834
|
+
type Props$O = {
|
|
2854
2835
|
value: string[];
|
|
2855
2836
|
onAdd?: (selected: string[]) => void;
|
|
2856
2837
|
};
|
|
2857
|
-
declare const TagSelectValue: ({ value, onAdd }: Props$
|
|
2838
|
+
declare const TagSelectValue: ({ value, onAdd }: Props$O) => react_jsx_runtime.JSX.Element;
|
|
2858
2839
|
|
|
2859
|
-
type Props$
|
|
2840
|
+
type Props$N = {
|
|
2860
2841
|
options?: TagOption[];
|
|
2861
2842
|
} & Pick<ComponentProps<typeof TagSelectValue>, 'onAdd'> & Pick<ComponentProps<typeof TagSelectCreateItem>, 'onCreate'>;
|
|
2862
|
-
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$
|
|
2843
|
+
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
2863
2844
|
|
|
2864
|
-
type Props$
|
|
2845
|
+
type Props$M = {
|
|
2865
2846
|
children: ReactNode;
|
|
2866
2847
|
} & ComponentProps<typeof TagSelectList>;
|
|
2867
|
-
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$
|
|
2848
|
+
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$M) => react_jsx_runtime.JSX.Element;
|
|
2868
2849
|
|
|
2869
2850
|
type OnValueChangeHandler = (value: {
|
|
2870
2851
|
action: 'add' | 'remove';
|
|
2871
2852
|
tags: TagOption[];
|
|
2872
2853
|
allTags: TagOption[];
|
|
2873
2854
|
}) => void;
|
|
2874
|
-
type Props$
|
|
2855
|
+
type Props$L = {
|
|
2875
2856
|
value?: TagOption[];
|
|
2876
2857
|
onValueChange: OnValueChangeHandler;
|
|
2877
2858
|
disabled?: boolean;
|
|
2878
2859
|
} & Pick<ComponentProps<typeof TagSelectPopover>, 'options' | 'onCreate'>;
|
|
2879
|
-
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$
|
|
2860
|
+
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$L) => react_jsx_runtime.JSX.Element | null;
|
|
2880
2861
|
|
|
2881
2862
|
/**
|
|
2882
2863
|
* Props for `FileUpload`. The component is uncontrolled with respect to the file
|
|
2883
2864
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
2884
2865
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
2885
2866
|
*/
|
|
2886
|
-
type Props$
|
|
2867
|
+
type Props$K = {
|
|
2887
2868
|
/** MIME / extension filter passed straight to react-dropzone. */
|
|
2888
2869
|
accept?: Accept;
|
|
2889
2870
|
/** Max size per file, in bytes. Oversized files are rejected and surface in `onFilesRejected`. */
|
|
@@ -2902,7 +2883,7 @@ type Props$J = {
|
|
|
2902
2883
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
2903
2884
|
children: ReactNode;
|
|
2904
2885
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'>;
|
|
2905
|
-
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
2886
|
+
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$K) => react_jsx_runtime.JSX.Element) & {
|
|
2906
2887
|
DropZone: ({ children, className, ...rest }: {
|
|
2907
2888
|
children?: ReactNode;
|
|
2908
2889
|
} & Omit<HTMLAttributes<HTMLDivElement>, "children">) => react_jsx_runtime.JSX.Element;
|
|
@@ -2918,36 +2899,320 @@ type FormGroupContext = {
|
|
|
2918
2899
|
};
|
|
2919
2900
|
|
|
2920
2901
|
/**
|
|
2921
|
-
* Props for `FormGroup`. `state` from `FormGroupContext` ("default" | "error") propagates
|
|
2922
|
-
*
|
|
2902
|
+
* Props for `FormGroup`. `state` from `FormGroupContext` ("default" | "error" | "warning") propagates via
|
|
2903
|
+
* context to nested inputs. `FormGroup.Help` stays advisory (it reacts only to "warning"); validation errors
|
|
2904
|
+
* render through `FormGroup.Error`, not the input `state`.
|
|
2923
2905
|
*/
|
|
2924
|
-
type FormGroupProps =
|
|
2925
|
-
children: ReactNode;
|
|
2926
|
-
className?: string;
|
|
2927
|
-
testId?: string;
|
|
2928
|
-
} & FormGroupContext;
|
|
2906
|
+
type FormGroupProps = ComponentPropsWithRef<'div'> & FormGroupContext;
|
|
2929
2907
|
/**
|
|
2930
2908
|
* Label + input + help-text grouping with shared validation state. Provides the chrome for a single field.
|
|
2931
2909
|
*
|
|
2932
2910
|
* **When to use:** rendering a label + bare input + help/error text outside `useAppForm` (e.g. one-off
|
|
2933
|
-
* filter fields, settings panes).
|
|
2934
|
-
*
|
|
2911
|
+
* filter fields, settings panes). `state="error"` flips `FormGroup.TextInput` chrome without per-component
|
|
2912
|
+
* wiring; the error message itself renders via `FormGroup.Error` (`role="alert"`), while `FormGroup.Help`
|
|
2913
|
+
* stays advisory.
|
|
2935
2914
|
* **When NOT to use:** for a full form with validation and submit state, use `useAppForm` from `blocks/Form` —
|
|
2936
2915
|
* it composes `FormGroup` internally via the typed field connectors.
|
|
2937
2916
|
* **Composition:** nest a `Label`, then one of `FormGroup.TextInput` / `FormGroup.NumberInput` /
|
|
2938
|
-
* `FormGroup.ColorInput` / `FormGroup.Textarea`, optionally followed by `FormGroup.Help
|
|
2917
|
+
* `FormGroup.ColorInput` / `FormGroup.Textarea`, optionally followed by `FormGroup.Help`
|
|
2918
|
+
* (advisory description) or `FormGroup.Error` (validation error, announced via `role="alert"`).
|
|
2939
2919
|
*/
|
|
2940
2920
|
declare const FormGroup: {
|
|
2941
|
-
({ className, children, state,
|
|
2921
|
+
({ className, children, state, ...rest }: FormGroupProps): react_jsx_runtime.JSX.Element;
|
|
2942
2922
|
Help: ({ children, ...rest }: {
|
|
2943
|
-
|
|
2944
|
-
|
|
2923
|
+
content?: string | undefined | undefined;
|
|
2924
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
2925
|
+
prefix?: string | undefined | undefined;
|
|
2926
|
+
id?: string | undefined | undefined;
|
|
2927
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2928
|
+
slot?: string | undefined | undefined;
|
|
2929
|
+
style?: react.CSSProperties | undefined;
|
|
2930
|
+
title?: string | undefined | undefined;
|
|
2931
|
+
ref?: react.Ref<HTMLParagraphElement> | undefined;
|
|
2932
|
+
key?: react.Key | null | undefined;
|
|
2933
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
2934
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
2935
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
2936
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
2937
|
+
accessKey?: string | undefined | undefined;
|
|
2938
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
2939
|
+
autoFocus?: boolean | undefined | undefined;
|
|
2940
|
+
className?: string | undefined | undefined;
|
|
2941
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
2942
|
+
contextMenu?: string | undefined | undefined;
|
|
2943
|
+
dir?: string | undefined | undefined;
|
|
2944
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
2945
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
2946
|
+
hidden?: boolean | undefined | undefined;
|
|
2947
|
+
lang?: string | undefined | undefined;
|
|
2948
|
+
nonce?: string | undefined | undefined;
|
|
2949
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
2950
|
+
tabIndex?: number | undefined | undefined;
|
|
2951
|
+
radioGroup?: string | undefined | undefined;
|
|
2952
|
+
role?: react.AriaRole | undefined;
|
|
2953
|
+
about?: string | undefined | undefined;
|
|
2954
|
+
datatype?: string | undefined | undefined;
|
|
2955
|
+
inlist?: any;
|
|
2956
|
+
property?: string | undefined | undefined;
|
|
2957
|
+
rel?: string | undefined | undefined;
|
|
2958
|
+
resource?: string | undefined | undefined;
|
|
2959
|
+
rev?: string | undefined | undefined;
|
|
2960
|
+
typeof?: string | undefined | undefined;
|
|
2961
|
+
vocab?: string | undefined | undefined;
|
|
2962
|
+
autoCorrect?: string | undefined | undefined;
|
|
2963
|
+
autoSave?: string | undefined | undefined;
|
|
2964
|
+
color?: string | undefined | undefined;
|
|
2965
|
+
itemProp?: string | undefined | undefined;
|
|
2966
|
+
itemScope?: boolean | undefined | undefined;
|
|
2967
|
+
itemType?: string | undefined | undefined;
|
|
2968
|
+
itemID?: string | undefined | undefined;
|
|
2969
|
+
itemRef?: string | undefined | undefined;
|
|
2970
|
+
results?: number | undefined | undefined;
|
|
2971
|
+
security?: string | undefined | undefined;
|
|
2972
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
2973
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
2974
|
+
popoverTarget?: string | undefined | undefined;
|
|
2975
|
+
inert?: boolean | undefined | undefined;
|
|
2976
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
2977
|
+
is?: string | undefined | undefined;
|
|
2978
|
+
exportparts?: string | undefined | undefined;
|
|
2979
|
+
part?: string | undefined | undefined;
|
|
2980
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
2981
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
2982
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
2983
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
2984
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
2985
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
2986
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
2987
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
2988
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
2989
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
2990
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
2991
|
+
"aria-controls"?: string | undefined | undefined;
|
|
2992
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
2993
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
2994
|
+
"aria-description"?: string | undefined | undefined;
|
|
2995
|
+
"aria-details"?: string | undefined | undefined;
|
|
2996
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
2997
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
2998
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
2999
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
3000
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
3001
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
3002
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
3003
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
3004
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
3005
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
3006
|
+
"aria-label"?: string | undefined | undefined;
|
|
3007
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
3008
|
+
"aria-level"?: number | undefined | undefined;
|
|
3009
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
3010
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
3011
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
3012
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
3013
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
3014
|
+
"aria-owns"?: string | undefined | undefined;
|
|
3015
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
3016
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
3017
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
3018
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
3019
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
3020
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
3021
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
3022
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
3023
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
3024
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
3025
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
3026
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
3027
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
3028
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
3029
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
3030
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
3031
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
3032
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
3033
|
+
children?: react.ReactNode;
|
|
3034
|
+
dangerouslySetInnerHTML?: {
|
|
3035
|
+
__html: string | TrustedHTML;
|
|
3036
|
+
} | undefined | undefined;
|
|
3037
|
+
onCopy?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3038
|
+
onCopyCapture?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3039
|
+
onCut?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3040
|
+
onCutCapture?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3041
|
+
onPaste?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3042
|
+
onPasteCapture?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3043
|
+
onCompositionEnd?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3044
|
+
onCompositionEndCapture?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3045
|
+
onCompositionStart?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3046
|
+
onCompositionStartCapture?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3047
|
+
onCompositionUpdate?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3048
|
+
onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3049
|
+
onFocus?: react.FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
3050
|
+
onFocusCapture?: react.FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
3051
|
+
onBlur?: react.FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
3052
|
+
onBlurCapture?: react.FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
3053
|
+
onChange?: react.ChangeEventHandler<HTMLParagraphElement, Element> | undefined;
|
|
3054
|
+
onChangeCapture?: react.ChangeEventHandler<HTMLParagraphElement, Element> | undefined;
|
|
3055
|
+
onBeforeInput?: react.InputEventHandler<HTMLParagraphElement> | undefined;
|
|
3056
|
+
onBeforeInputCapture?: react.InputEventHandler<HTMLParagraphElement> | undefined;
|
|
3057
|
+
onInput?: react.InputEventHandler<HTMLParagraphElement> | undefined;
|
|
3058
|
+
onInputCapture?: react.InputEventHandler<HTMLParagraphElement> | undefined;
|
|
3059
|
+
onReset?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3060
|
+
onResetCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3061
|
+
onSubmit?: react.SubmitEventHandler<HTMLParagraphElement> | undefined;
|
|
3062
|
+
onSubmitCapture?: react.SubmitEventHandler<HTMLParagraphElement> | undefined;
|
|
3063
|
+
onInvalid?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3064
|
+
onInvalidCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3065
|
+
onLoad?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3066
|
+
onLoadCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3067
|
+
onError?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3068
|
+
onErrorCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3069
|
+
onKeyDown?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3070
|
+
onKeyDownCapture?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3071
|
+
onKeyPress?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3072
|
+
onKeyPressCapture?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3073
|
+
onKeyUp?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3074
|
+
onKeyUpCapture?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3075
|
+
onAbort?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3076
|
+
onAbortCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3077
|
+
onCanPlay?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3078
|
+
onCanPlayCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3079
|
+
onCanPlayThrough?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3080
|
+
onCanPlayThroughCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3081
|
+
onDurationChange?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3082
|
+
onDurationChangeCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3083
|
+
onEmptied?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3084
|
+
onEmptiedCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3085
|
+
onEncrypted?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3086
|
+
onEncryptedCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3087
|
+
onEnded?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3088
|
+
onEndedCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3089
|
+
onLoadedData?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3090
|
+
onLoadedDataCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3091
|
+
onLoadedMetadata?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3092
|
+
onLoadedMetadataCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3093
|
+
onLoadStart?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3094
|
+
onLoadStartCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3095
|
+
onPause?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3096
|
+
onPauseCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3097
|
+
onPlay?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3098
|
+
onPlayCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3099
|
+
onPlaying?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3100
|
+
onPlayingCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3101
|
+
onProgress?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3102
|
+
onProgressCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3103
|
+
onRateChange?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3104
|
+
onRateChangeCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3105
|
+
onSeeked?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3106
|
+
onSeekedCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3107
|
+
onSeeking?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3108
|
+
onSeekingCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3109
|
+
onStalled?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3110
|
+
onStalledCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3111
|
+
onSuspend?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3112
|
+
onSuspendCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3113
|
+
onTimeUpdate?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3114
|
+
onTimeUpdateCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3115
|
+
onVolumeChange?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3116
|
+
onVolumeChangeCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3117
|
+
onWaiting?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3118
|
+
onWaitingCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3119
|
+
onAuxClick?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3120
|
+
onAuxClickCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3121
|
+
onClick?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3122
|
+
onClickCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3123
|
+
onContextMenu?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3124
|
+
onContextMenuCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3125
|
+
onDoubleClick?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3126
|
+
onDoubleClickCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3127
|
+
onDrag?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3128
|
+
onDragCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3129
|
+
onDragEnd?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3130
|
+
onDragEndCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3131
|
+
onDragEnter?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3132
|
+
onDragEnterCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3133
|
+
onDragExit?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3134
|
+
onDragExitCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3135
|
+
onDragLeave?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3136
|
+
onDragLeaveCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3137
|
+
onDragOver?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3138
|
+
onDragOverCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3139
|
+
onDragStart?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3140
|
+
onDragStartCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3141
|
+
onDrop?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3142
|
+
onDropCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3143
|
+
onMouseDown?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3144
|
+
onMouseDownCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3145
|
+
onMouseEnter?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3146
|
+
onMouseLeave?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3147
|
+
onMouseMove?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3148
|
+
onMouseMoveCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3149
|
+
onMouseOut?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3150
|
+
onMouseOutCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3151
|
+
onMouseOver?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3152
|
+
onMouseOverCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3153
|
+
onMouseUp?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3154
|
+
onMouseUpCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3155
|
+
onSelect?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3156
|
+
onSelectCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3157
|
+
onTouchCancel?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3158
|
+
onTouchCancelCapture?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3159
|
+
onTouchEnd?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3160
|
+
onTouchEndCapture?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3161
|
+
onTouchMove?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3162
|
+
onTouchMoveCapture?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3163
|
+
onTouchStart?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3164
|
+
onTouchStartCapture?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3165
|
+
onPointerDown?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3166
|
+
onPointerDownCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3167
|
+
onPointerMove?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3168
|
+
onPointerMoveCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3169
|
+
onPointerUp?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3170
|
+
onPointerUpCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3171
|
+
onPointerCancel?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3172
|
+
onPointerCancelCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3173
|
+
onPointerEnter?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3174
|
+
onPointerLeave?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3175
|
+
onPointerOver?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3176
|
+
onPointerOverCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3177
|
+
onPointerOut?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3178
|
+
onPointerOutCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3179
|
+
onGotPointerCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3180
|
+
onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3181
|
+
onLostPointerCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3182
|
+
onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3183
|
+
onScroll?: react.UIEventHandler<HTMLParagraphElement> | undefined;
|
|
3184
|
+
onScrollCapture?: react.UIEventHandler<HTMLParagraphElement> | undefined;
|
|
3185
|
+
onScrollEnd?: react.UIEventHandler<HTMLParagraphElement> | undefined;
|
|
3186
|
+
onScrollEndCapture?: react.UIEventHandler<HTMLParagraphElement> | undefined;
|
|
3187
|
+
onWheel?: react.WheelEventHandler<HTMLParagraphElement> | undefined;
|
|
3188
|
+
onWheelCapture?: react.WheelEventHandler<HTMLParagraphElement> | undefined;
|
|
3189
|
+
onAnimationStart?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3190
|
+
onAnimationStartCapture?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3191
|
+
onAnimationEnd?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3192
|
+
onAnimationEndCapture?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3193
|
+
onAnimationIteration?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3194
|
+
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3195
|
+
onToggle?: react.ToggleEventHandler<HTMLParagraphElement> | undefined;
|
|
3196
|
+
onBeforeToggle?: react.ToggleEventHandler<HTMLParagraphElement> | undefined;
|
|
3197
|
+
onTransitionCancel?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3198
|
+
onTransitionCancelCapture?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3199
|
+
onTransitionEnd?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3200
|
+
onTransitionEndCapture?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3201
|
+
onTransitionRun?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3202
|
+
onTransitionRunCapture?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3203
|
+
onTransitionStart?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3204
|
+
onTransitionStartCapture?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
2945
3205
|
}) => react_jsx_runtime.JSX.Element;
|
|
3206
|
+
Error: ({ children, className, errors, ...rest }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & {
|
|
3207
|
+
errors?: readonly (string | {
|
|
3208
|
+
message?: string;
|
|
3209
|
+
} | undefined)[];
|
|
3210
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
2946
3211
|
TextInput: ({ ref, ...props }: {
|
|
2947
3212
|
content?: string | undefined | undefined;
|
|
2948
3213
|
size?: number | undefined | undefined;
|
|
2949
3214
|
translate?: "yes" | "no" | undefined | undefined;
|
|
2950
|
-
prefix?: ReactNode;
|
|
3215
|
+
prefix?: react.ReactNode;
|
|
2951
3216
|
id?: string | undefined | undefined;
|
|
2952
3217
|
name?: string | undefined | undefined;
|
|
2953
3218
|
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
@@ -3059,7 +3324,7 @@ declare const FormGroup: {
|
|
|
3059
3324
|
"aria-valuemin"?: number | undefined | undefined;
|
|
3060
3325
|
"aria-valuenow"?: number | undefined | undefined;
|
|
3061
3326
|
"aria-valuetext"?: string | undefined | undefined;
|
|
3062
|
-
children?: ReactNode;
|
|
3327
|
+
children?: react.ReactNode;
|
|
3063
3328
|
dangerouslySetInnerHTML?: {
|
|
3064
3329
|
__html: string | TrustedHTML;
|
|
3065
3330
|
} | undefined | undefined;
|
|
@@ -3257,11 +3522,11 @@ declare const FormGroup: {
|
|
|
3257
3522
|
placeholder?: string | undefined | undefined;
|
|
3258
3523
|
readOnly?: boolean | undefined | undefined;
|
|
3259
3524
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3260
|
-
sizing?: "
|
|
3525
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3261
3526
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3262
|
-
rightSuffix?: ReactNode;
|
|
3527
|
+
rightSuffix?: react.ReactNode;
|
|
3263
3528
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
3264
|
-
leftSuffix?: ReactNode;
|
|
3529
|
+
leftSuffix?: react.ReactNode;
|
|
3265
3530
|
allowClear?: boolean | undefined;
|
|
3266
3531
|
onClear?: (() => void) | undefined;
|
|
3267
3532
|
testId?: string | undefined;
|
|
@@ -3272,7 +3537,7 @@ declare const FormGroup: {
|
|
|
3272
3537
|
content?: string | undefined | undefined;
|
|
3273
3538
|
size?: number | undefined | undefined;
|
|
3274
3539
|
translate?: "yes" | "no" | undefined | undefined;
|
|
3275
|
-
prefix?: ReactNode;
|
|
3540
|
+
prefix?: react.ReactNode;
|
|
3276
3541
|
id?: string | undefined | undefined;
|
|
3277
3542
|
name?: string | undefined | undefined;
|
|
3278
3543
|
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
@@ -3384,7 +3649,7 @@ declare const FormGroup: {
|
|
|
3384
3649
|
"aria-valuemin"?: number | undefined | undefined;
|
|
3385
3650
|
"aria-valuenow"?: number | undefined | undefined;
|
|
3386
3651
|
"aria-valuetext"?: string | undefined | undefined;
|
|
3387
|
-
children?: ReactNode;
|
|
3652
|
+
children?: react.ReactNode;
|
|
3388
3653
|
dangerouslySetInnerHTML?: {
|
|
3389
3654
|
__html: string | TrustedHTML;
|
|
3390
3655
|
} | undefined | undefined;
|
|
@@ -3583,9 +3848,9 @@ declare const FormGroup: {
|
|
|
3583
3848
|
placeholder?: string | undefined | undefined;
|
|
3584
3849
|
readOnly?: boolean | undefined | undefined;
|
|
3585
3850
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
3586
|
-
sizing?: "
|
|
3851
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3587
3852
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3588
|
-
suffix?: ReactNode;
|
|
3853
|
+
suffix?: react.ReactNode;
|
|
3589
3854
|
} & {
|
|
3590
3855
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
3591
3856
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -3705,7 +3970,7 @@ declare const FormGroup: {
|
|
|
3705
3970
|
"aria-valuemin"?: number | undefined | undefined;
|
|
3706
3971
|
"aria-valuenow"?: number | undefined | undefined;
|
|
3707
3972
|
"aria-valuetext"?: string | undefined | undefined;
|
|
3708
|
-
children?: ReactNode;
|
|
3973
|
+
children?: react.ReactNode;
|
|
3709
3974
|
dangerouslySetInnerHTML?: {
|
|
3710
3975
|
__html: string | TrustedHTML;
|
|
3711
3976
|
} | undefined | undefined;
|
|
@@ -3905,7 +4170,7 @@ declare const FormGroup: {
|
|
|
3905
4170
|
placeholder?: string | undefined | undefined;
|
|
3906
4171
|
readOnly?: boolean | undefined | undefined;
|
|
3907
4172
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3908
|
-
sizing?: "
|
|
4173
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3909
4174
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3910
4175
|
allowClear?: boolean | undefined;
|
|
3911
4176
|
} & {
|
|
@@ -4027,7 +4292,7 @@ declare const FormGroup: {
|
|
|
4027
4292
|
"aria-valuemin"?: number | undefined | undefined;
|
|
4028
4293
|
"aria-valuenow"?: number | undefined | undefined;
|
|
4029
4294
|
"aria-valuetext"?: string | undefined | undefined;
|
|
4030
|
-
children?: ReactNode;
|
|
4295
|
+
children?: react.ReactNode;
|
|
4031
4296
|
dangerouslySetInnerHTML?: {
|
|
4032
4297
|
__html: string | TrustedHTML;
|
|
4033
4298
|
} | undefined | undefined;
|
|
@@ -4217,56 +4482,52 @@ declare const FormGroup: {
|
|
|
4217
4482
|
cacheMeasurements?: boolean | undefined;
|
|
4218
4483
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
4219
4484
|
disableResize?: boolean | undefined;
|
|
4220
|
-
sizing?: "
|
|
4485
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
4221
4486
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
4222
4487
|
containerClassName?: string | undefined;
|
|
4223
4488
|
}) => react_jsx_runtime.JSX.Element;
|
|
4224
4489
|
};
|
|
4225
4490
|
|
|
4226
4491
|
declare const helpVariants: (props?: ({
|
|
4227
|
-
state?: "warning" | "default" |
|
|
4492
|
+
state?: "warning" | "default" | null | undefined;
|
|
4228
4493
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4229
|
-
type Props$
|
|
4230
|
-
|
|
4231
|
-
children?: ReactNode;
|
|
4232
|
-
testId?: string;
|
|
4233
|
-
} & VariantProps<typeof helpVariants>;
|
|
4234
|
-
declare const HelpBlock: ({ children, className, state, testId }: Props$I) => react_jsx_runtime.JSX.Element | null;
|
|
4494
|
+
type Props$J = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4495
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$J) => react_jsx_runtime.JSX.Element | null;
|
|
4235
4496
|
|
|
4236
4497
|
type AnswerItem = {
|
|
4237
4498
|
question: string;
|
|
4238
4499
|
answer?: string;
|
|
4239
4500
|
};
|
|
4240
4501
|
type Variant$5 = 'success' | 'dismissed';
|
|
4241
|
-
type Props$
|
|
4502
|
+
type Props$I = {
|
|
4242
4503
|
items: readonly AnswerItem[];
|
|
4243
4504
|
variant?: Variant$5;
|
|
4244
4505
|
noAnswerLabel?: string;
|
|
4245
4506
|
};
|
|
4246
|
-
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$
|
|
4507
|
+
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$I) => react_jsx_runtime.JSX.Element;
|
|
4247
4508
|
|
|
4248
4509
|
type Variant$4 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4249
|
-
type Props$
|
|
4510
|
+
type Props$H = {
|
|
4250
4511
|
isExpanded: boolean;
|
|
4251
4512
|
onToggle: () => void;
|
|
4252
4513
|
label: ReactNode;
|
|
4253
4514
|
variant?: Variant$4;
|
|
4254
4515
|
};
|
|
4255
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$
|
|
4516
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$H) => react_jsx_runtime.JSX.Element;
|
|
4256
4517
|
|
|
4257
|
-
type Props$
|
|
4518
|
+
type Props$G = {
|
|
4258
4519
|
children: ReactNode;
|
|
4259
4520
|
};
|
|
4260
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
4521
|
+
declare const InlineStepDetail: ({ children }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
4261
4522
|
|
|
4262
4523
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4263
|
-
type Props$
|
|
4524
|
+
type Props$F = {
|
|
4264
4525
|
variant: Variant$3;
|
|
4265
4526
|
children: ReactNode;
|
|
4266
4527
|
};
|
|
4267
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
4528
|
+
declare const InlineStepLabel: ({ variant, children }: Props$F) => react_jsx_runtime.JSX.Element;
|
|
4268
4529
|
|
|
4269
|
-
type Props$
|
|
4530
|
+
type Props$E = {
|
|
4270
4531
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4271
4532
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4272
4533
|
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
@@ -4278,9 +4539,9 @@ type Props$D = {
|
|
|
4278
4539
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4279
4540
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4280
4541
|
*/
|
|
4281
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4542
|
+
declare const Markdown: ({ children, className }: Props$E) => react_jsx_runtime.JSX.Element;
|
|
4282
4543
|
|
|
4283
|
-
type Props$
|
|
4544
|
+
type Props$D = {
|
|
4284
4545
|
user?: {
|
|
4285
4546
|
name: string | undefined;
|
|
4286
4547
|
email: string | undefined;
|
|
@@ -4290,17 +4551,17 @@ type Props$C = {
|
|
|
4290
4551
|
size?: number;
|
|
4291
4552
|
variant?: 'circle' | 'rounded';
|
|
4292
4553
|
} & ComponentProps<'span'>;
|
|
4293
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4554
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$D & {
|
|
4294
4555
|
ref?: Ref<ElementRef<"span">>;
|
|
4295
4556
|
}) => react_jsx_runtime.JSX.Element;
|
|
4296
4557
|
|
|
4297
|
-
type Props$
|
|
4558
|
+
type Props$C = {
|
|
4298
4559
|
variant: 'user' | 'assistant';
|
|
4299
4560
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4300
4561
|
actions?: ReactNode;
|
|
4301
4562
|
createdAt?: string;
|
|
4302
4563
|
} & PropsWithChildren;
|
|
4303
|
-
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$
|
|
4564
|
+
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$C) => react_jsx_runtime.JSX.Element;
|
|
4304
4565
|
|
|
4305
4566
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
4306
4567
|
type PlanApprovalProps = {
|
|
@@ -4348,17 +4609,17 @@ type PromptCommand = {
|
|
|
4348
4609
|
};
|
|
4349
4610
|
|
|
4350
4611
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4351
|
-
type Props$
|
|
4612
|
+
type Props$B = Pick<ComponentProps<typeof Button>, 'disabled'> & {
|
|
4352
4613
|
status?: SubmitStatus;
|
|
4353
4614
|
};
|
|
4354
|
-
declare const PromptInputSubmit: ({ ref, disabled, status, }: Props$
|
|
4615
|
+
declare const PromptInputSubmit: ({ ref, disabled, status, }: Props$B & {
|
|
4355
4616
|
ref?: Ref<ElementRef<"button">>;
|
|
4356
4617
|
}) => react_jsx_runtime.JSX.Element;
|
|
4357
4618
|
|
|
4358
4619
|
declare const promptInputVariants: (props?: ({
|
|
4359
4620
|
variant?: "inline" | "default" | null | undefined;
|
|
4360
4621
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4361
|
-
type Props$
|
|
4622
|
+
type Props$A = {
|
|
4362
4623
|
onSend?: (value: string) => void;
|
|
4363
4624
|
onAbort?: () => void;
|
|
4364
4625
|
onContinue?: () => void;
|
|
@@ -4372,7 +4633,7 @@ type Props$z = {
|
|
|
4372
4633
|
commands?: PromptCommand[];
|
|
4373
4634
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof react_textarea_autosize__default>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4374
4635
|
declare const PromptInput: {
|
|
4375
|
-
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4636
|
+
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$A): react_jsx_runtime.JSX.Element;
|
|
4376
4637
|
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & {
|
|
4377
4638
|
ref?: react.Ref<ElementRef<"button">>;
|
|
4378
4639
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -4384,7 +4645,7 @@ type QuestionOption = {
|
|
|
4384
4645
|
description?: string;
|
|
4385
4646
|
preview?: string;
|
|
4386
4647
|
};
|
|
4387
|
-
type Props$
|
|
4648
|
+
type Props$z = {
|
|
4388
4649
|
question: string;
|
|
4389
4650
|
header?: string;
|
|
4390
4651
|
options: readonly QuestionOption[];
|
|
@@ -4407,7 +4668,7 @@ type Props$y = {
|
|
|
4407
4668
|
renderPreview?: (content: string) => ReactNode;
|
|
4408
4669
|
className?: string;
|
|
4409
4670
|
};
|
|
4410
|
-
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$
|
|
4671
|
+
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$z) => react_jsx_runtime.JSX.Element;
|
|
4411
4672
|
|
|
4412
4673
|
type QuestionStep = {
|
|
4413
4674
|
question: string;
|
|
@@ -4421,7 +4682,7 @@ type QuestionAnswers = {
|
|
|
4421
4682
|
selections: Record<number, readonly string[]>;
|
|
4422
4683
|
customAnswers: Record<number, string>;
|
|
4423
4684
|
};
|
|
4424
|
-
type Props$
|
|
4685
|
+
type Props$y = {
|
|
4425
4686
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
4426
4687
|
showSkip?: boolean;
|
|
4427
4688
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -4429,16 +4690,16 @@ type Props$x = {
|
|
|
4429
4690
|
renderPreview?: (content: string) => ReactNode;
|
|
4430
4691
|
className?: string;
|
|
4431
4692
|
};
|
|
4432
|
-
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$
|
|
4693
|
+
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
4433
4694
|
|
|
4434
|
-
type Props$
|
|
4695
|
+
type Props$x = {
|
|
4435
4696
|
label: string;
|
|
4436
4697
|
disabled?: boolean;
|
|
4437
4698
|
onClick: () => void;
|
|
4438
4699
|
icon?: ReactNode;
|
|
4439
4700
|
className?: string;
|
|
4440
4701
|
};
|
|
4441
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4702
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$x) => react_jsx_runtime.JSX.Element;
|
|
4442
4703
|
|
|
4443
4704
|
type ThinkingIndicatorProps = {
|
|
4444
4705
|
label?: string;
|
|
@@ -4497,7 +4758,7 @@ type ToolCallChipProps = {
|
|
|
4497
4758
|
*/
|
|
4498
4759
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className, }: ToolCallChipProps) => react_jsx_runtime.JSX.Element;
|
|
4499
4760
|
|
|
4500
|
-
type Props$
|
|
4761
|
+
type Props$w = {
|
|
4501
4762
|
value: number;
|
|
4502
4763
|
alert?: boolean;
|
|
4503
4764
|
children: ReactNode;
|
|
@@ -4511,19 +4772,19 @@ type Props$v = {
|
|
|
4511
4772
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4512
4773
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4513
4774
|
};
|
|
4514
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$
|
|
4775
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
4515
4776
|
|
|
4516
|
-
type Props$
|
|
4777
|
+
type Props$v = {
|
|
4517
4778
|
value: number;
|
|
4518
4779
|
size?: number;
|
|
4519
4780
|
strokeWidth?: number;
|
|
4520
4781
|
className?: string;
|
|
4521
4782
|
};
|
|
4522
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4783
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$v) => react_jsx_runtime.JSX.Element;
|
|
4523
4784
|
|
|
4524
|
-
type Props$
|
|
4785
|
+
type Props$u = ComponentProps<typeof Root$9>;
|
|
4525
4786
|
declare const Collapsible: {
|
|
4526
|
-
(props: Props$
|
|
4787
|
+
(props: Props$u): react_jsx_runtime.JSX.Element;
|
|
4527
4788
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
4528
4789
|
Content: ({ ref, className, children, ...props }: Omit<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
4529
4790
|
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
@@ -4531,10 +4792,10 @@ declare const Collapsible: {
|
|
|
4531
4792
|
};
|
|
4532
4793
|
|
|
4533
4794
|
type Variant$2 = 'info' | 'warning' | 'error' | 'success';
|
|
4534
|
-
type Props$
|
|
4795
|
+
type Props$t = {
|
|
4535
4796
|
variant?: Variant$2;
|
|
4536
4797
|
} & ComponentProps<'div'>;
|
|
4537
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4798
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$t & {
|
|
4538
4799
|
ref?: Ref<ElementRef<"div">>;
|
|
4539
4800
|
}) => react_jsx_runtime.JSX.Element;
|
|
4540
4801
|
|
|
@@ -4559,7 +4820,7 @@ type DefaultProps = {
|
|
|
4559
4820
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4560
4821
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4561
4822
|
*/
|
|
4562
|
-
type Props$
|
|
4823
|
+
type Props$s = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4563
4824
|
/**
|
|
4564
4825
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4565
4826
|
*
|
|
@@ -4573,13 +4834,13 @@ type Props$r = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4573
4834
|
*
|
|
4574
4835
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4575
4836
|
*/
|
|
4576
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
4837
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$s) => react_jsx_runtime.JSX.Element;
|
|
4577
4838
|
|
|
4578
4839
|
declare const variants$1: (props?: ({
|
|
4579
4840
|
variant?: "success" | "warning" | "info" | "default" | "error" | null | undefined;
|
|
4580
4841
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4581
4842
|
type Variants = VariantProps<typeof variants$1>;
|
|
4582
|
-
type Props$
|
|
4843
|
+
type Props$r = {
|
|
4583
4844
|
id: string | number;
|
|
4584
4845
|
title: ReactNode;
|
|
4585
4846
|
icon?: ReactNode;
|
|
@@ -4588,7 +4849,7 @@ type Props$q = {
|
|
|
4588
4849
|
loading?: boolean;
|
|
4589
4850
|
duration?: number;
|
|
4590
4851
|
} & Variants;
|
|
4591
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$
|
|
4852
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
4592
4853
|
|
|
4593
4854
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
4594
4855
|
type Title = ToastProps['title'] | ((opts: {
|
|
@@ -4609,7 +4870,7 @@ declare const toast: {
|
|
|
4609
4870
|
dismissAll(): string | number;
|
|
4610
4871
|
};
|
|
4611
4872
|
|
|
4612
|
-
type Props$
|
|
4873
|
+
type Props$q = {
|
|
4613
4874
|
enabled?: boolean;
|
|
4614
4875
|
} & Parameters<typeof toast>[0];
|
|
4615
4876
|
/**
|
|
@@ -4622,22 +4883,22 @@ type Props$p = {
|
|
|
4622
4883
|
* Use `toast()` for transient feedback after a user action
|
|
4623
4884
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
4624
4885
|
*/
|
|
4625
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4886
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$q) => void;
|
|
4626
4887
|
|
|
4627
4888
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
4628
4889
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
4629
4890
|
|
|
4630
|
-
type Props$
|
|
4891
|
+
type Props$p = {
|
|
4631
4892
|
children?: ReactNode;
|
|
4632
4893
|
};
|
|
4633
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4894
|
+
declare const EmptySearchContent: ({ children }: Props$p) => react_jsx_runtime.JSX.Element;
|
|
4634
4895
|
|
|
4635
|
-
type Props$
|
|
4896
|
+
type Props$o = {
|
|
4636
4897
|
title: string;
|
|
4637
4898
|
children: ReactNode;
|
|
4638
4899
|
className?: string;
|
|
4639
4900
|
};
|
|
4640
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
4901
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$o) => react_jsx_runtime.JSX.Element;
|
|
4641
4902
|
|
|
4642
4903
|
declare const emptyStateClassnames: (props?: ({
|
|
4643
4904
|
variant?: "compact" | "default" | null | undefined;
|
|
@@ -4777,8 +5038,8 @@ declare const variants: (props?: ({
|
|
|
4777
5038
|
variant?: "success" | "default" | null | undefined;
|
|
4778
5039
|
size?: "sm" | "lg" | null | undefined;
|
|
4779
5040
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4780
|
-
type Props$
|
|
4781
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5041
|
+
type Props$n = ComponentProps<typeof Root$a> & VariantProps<typeof variants>;
|
|
5042
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$n & {
|
|
4782
5043
|
ref?: Ref<ElementRef<typeof Root$a>>;
|
|
4783
5044
|
}) => react_jsx_runtime.JSX.Element;
|
|
4784
5045
|
|
|
@@ -4796,7 +5057,7 @@ type CollapseProps = {
|
|
|
4796
5057
|
/** @deprecated Use `Collapsible` instead. */
|
|
4797
5058
|
declare const Collapse: ({ open, header, className, bodyClassName, children, onClick, animationClassName, hidden, ...rest }: CollapseProps & ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
4798
5059
|
|
|
4799
|
-
type Props$
|
|
5060
|
+
type Props$m = {
|
|
4800
5061
|
header: ReactNode;
|
|
4801
5062
|
isDisabled?: boolean;
|
|
4802
5063
|
defaultExpanded?: boolean;
|
|
@@ -4808,16 +5069,16 @@ type Props$l = {
|
|
|
4808
5069
|
variant?: 'default' | 'white';
|
|
4809
5070
|
children: ReactNode;
|
|
4810
5071
|
};
|
|
4811
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$
|
|
5072
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$m) => react_jsx_runtime.JSX.Element;
|
|
4812
5073
|
|
|
4813
|
-
type Props$
|
|
5074
|
+
type Props$l = PropsWithChildren<{
|
|
4814
5075
|
defaultExpanded?: boolean;
|
|
4815
5076
|
labelCollapse?: ReactNode;
|
|
4816
5077
|
labelOpen?: ReactNode;
|
|
4817
5078
|
placement?: 'top' | 'bottom';
|
|
4818
5079
|
className?: string;
|
|
4819
5080
|
}>;
|
|
4820
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$
|
|
5081
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$l) => react_jsx_runtime.JSX.Element;
|
|
4821
5082
|
|
|
4822
5083
|
type RootProps$1 = ComponentPropsWithoutRef<'div'>;
|
|
4823
5084
|
type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -5059,7 +5320,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5059
5320
|
Clear: ({ className, children, ...props }: ActionProps) => react_jsx_runtime.JSX.Element;
|
|
5060
5321
|
};
|
|
5061
5322
|
|
|
5062
|
-
type Props$
|
|
5323
|
+
type Props$k = {
|
|
5063
5324
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
5064
5325
|
variant?: 'mark' | 'wordmark';
|
|
5065
5326
|
/** Sets the logo height; aspect ratio is preserved (e.g. `tw-h-7`). */
|
|
@@ -5069,7 +5330,7 @@ type Props$j = {
|
|
|
5069
5330
|
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
5070
5331
|
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
5071
5332
|
*/
|
|
5072
|
-
declare const BrandLogo: ({ variant, className }: Props$
|
|
5333
|
+
declare const BrandLogo: ({ variant, className }: Props$k) => react_jsx_runtime.JSX.Element | null;
|
|
5073
5334
|
|
|
5074
5335
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => react_jsx_runtime.JSX.Element;
|
|
5075
5336
|
|
|
@@ -5081,7 +5342,7 @@ type SidebarState$1 = 'expanded' | 'collapsed';
|
|
|
5081
5342
|
type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
5082
5343
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
5083
5344
|
|
|
5084
|
-
type Props$
|
|
5345
|
+
type Props$j = {
|
|
5085
5346
|
children: ReactNode;
|
|
5086
5347
|
className?: string;
|
|
5087
5348
|
id?: string;
|
|
@@ -5092,7 +5353,7 @@ type Props$i = {
|
|
|
5092
5353
|
resizable?: boolean;
|
|
5093
5354
|
};
|
|
5094
5355
|
declare const Sidebar: {
|
|
5095
|
-
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$
|
|
5356
|
+
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$j): react_jsx_runtime.JSX.Element | null;
|
|
5096
5357
|
Header: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5097
5358
|
Content: ({ ref, className, children, contentRef, }: {
|
|
5098
5359
|
className?: string;
|
|
@@ -5762,7 +6023,7 @@ declare const Sidebar: {
|
|
|
5762
6023
|
}) => react_jsx_runtime.JSX.Element;
|
|
5763
6024
|
};
|
|
5764
6025
|
|
|
5765
|
-
type Props$
|
|
6026
|
+
type Props$i = {
|
|
5766
6027
|
children?: ReactNode;
|
|
5767
6028
|
defaultLeftMode?: SidebarMode;
|
|
5768
6029
|
leftMode?: SidebarMode;
|
|
@@ -5780,7 +6041,7 @@ type Props$h = {
|
|
|
5780
6041
|
onRightWidthChange?: (width: number) => void;
|
|
5781
6042
|
defaultFilledSide?: SidebarSide | null;
|
|
5782
6043
|
};
|
|
5783
|
-
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$
|
|
6044
|
+
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
5784
6045
|
|
|
5785
6046
|
type Input = {
|
|
5786
6047
|
variant: SidebarVariant;
|
|
@@ -5796,12 +6057,12 @@ type EffectiveWidths = {
|
|
|
5796
6057
|
};
|
|
5797
6058
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode, }: Input) => EffectiveWidths;
|
|
5798
6059
|
|
|
5799
|
-
type Props$
|
|
6060
|
+
type Props$h = {
|
|
5800
6061
|
defaultMode?: SidebarMode;
|
|
5801
6062
|
mode?: SidebarMode;
|
|
5802
6063
|
onModeChange?: (state: SidebarMode) => void;
|
|
5803
6064
|
};
|
|
5804
|
-
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$
|
|
6065
|
+
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$h) => {
|
|
5805
6066
|
isHovered: boolean;
|
|
5806
6067
|
toggle: () => void;
|
|
5807
6068
|
setMode: (dispatch: Parameters<react.Dispatch<react.SetStateAction<"expanded" | "collapsed" | "expand-on-hover">>>[0]) => void;
|
|
@@ -5831,7 +6092,7 @@ declare const separatorVariants: (props?: ({
|
|
|
5831
6092
|
size?: "full" | "1/2" | "3/4" | null | undefined;
|
|
5832
6093
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5833
6094
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5834
|
-
type Props$
|
|
6095
|
+
type Props$g = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typeof RSeparator.Root>, 'decorative'> & {
|
|
5835
6096
|
/**
|
|
5836
6097
|
* Optional label rendered centered between two line segments
|
|
5837
6098
|
* (typical "OR" divider). Implies `orientation="horizontal"`.
|
|
@@ -5839,12 +6100,12 @@ type Props$f = VariantProps<typeof separatorVariants> & Omit<ComponentProps<type
|
|
|
5839
6100
|
*/
|
|
5840
6101
|
label?: ReactNode;
|
|
5841
6102
|
};
|
|
5842
|
-
declare const Separator: ({ className, orientation, size, label, ...props }: Props$
|
|
6103
|
+
declare const Separator: ({ className, orientation, size, label, ...props }: Props$g) => react_jsx_runtime.JSX.Element;
|
|
5843
6104
|
|
|
5844
6105
|
declare const navbarClassnames: (props?: ({
|
|
5845
6106
|
bordered?: boolean | null | undefined;
|
|
5846
6107
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5847
|
-
type Props$
|
|
6108
|
+
type Props$f = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
5848
6109
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
5849
6110
|
};
|
|
5850
6111
|
/**
|
|
@@ -5862,7 +6123,7 @@ type Props$e = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
|
5862
6123
|
* @see AppShell — pair with `AppShell.Header`; the sidebar rail uses `Sidebar` instead.
|
|
5863
6124
|
*/
|
|
5864
6125
|
declare const Navbar: {
|
|
5865
|
-
({ className, accent, bordered, ...rest }: Props$
|
|
6126
|
+
({ className, accent, bordered, ...rest }: Props$f): react_jsx_runtime.JSX.Element;
|
|
5866
6127
|
Header: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5867
6128
|
Footer: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5868
6129
|
Content: ({ children, className }: {
|
|
@@ -5896,9 +6157,9 @@ declare const Navbar: {
|
|
|
5896
6157
|
}) => react_jsx_runtime.JSX.Element;
|
|
5897
6158
|
};
|
|
5898
6159
|
|
|
5899
|
-
type Props$
|
|
6160
|
+
type Props$e = ComponentProps<'nav'>;
|
|
5900
6161
|
declare const Breadcrumb: {
|
|
5901
|
-
({ className, ...props }: Props$
|
|
6162
|
+
({ className, ...props }: Props$e): react_jsx_runtime.JSX.Element;
|
|
5902
6163
|
List: ({ className, ...props }: react.DetailedHTMLProps<react.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>) => react_jsx_runtime.JSX.Element;
|
|
5903
6164
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
5904
6165
|
Link: ({ ref, asChild, className, ...props }: (react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
@@ -5921,7 +6182,7 @@ declare const Breadcrumb: {
|
|
|
5921
6182
|
open?: boolean;
|
|
5922
6183
|
defaultOpen?: boolean;
|
|
5923
6184
|
onOpenChange?: (open: boolean) => void;
|
|
5924
|
-
size?: "
|
|
6185
|
+
size?: "medium" | "small" | "large";
|
|
5925
6186
|
filter?: boolean;
|
|
5926
6187
|
shouldFilter?: boolean;
|
|
5927
6188
|
searchValue?: string;
|
|
@@ -5954,7 +6215,7 @@ type Trigger<T extends string> = {
|
|
|
5954
6215
|
title: ReactNode;
|
|
5955
6216
|
onClose?: (value: T) => void;
|
|
5956
6217
|
} & Omit<RadixTabs.TabsTriggerProps, 'title' | 'asChild'>;
|
|
5957
|
-
type Props$
|
|
6218
|
+
type Props$d<T extends string> = {
|
|
5958
6219
|
triggers: readonly Trigger<T>[];
|
|
5959
6220
|
compact?: boolean;
|
|
5960
6221
|
children: ReactNode;
|
|
@@ -5965,7 +6226,7 @@ type Props$c<T extends string> = {
|
|
|
5965
6226
|
triggerClassName?: string;
|
|
5966
6227
|
triggerGroupClassName?: string;
|
|
5967
6228
|
} & Omit<RadixTabs.TabsProps, 'onValueChange'>;
|
|
5968
|
-
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$
|
|
6229
|
+
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$d<T>) => react_jsx_runtime.JSX.Element;
|
|
5969
6230
|
|
|
5970
6231
|
declare const TabsContent: (props: RadixTabs.TabsContentProps) => react_jsx_runtime.JSX.Element;
|
|
5971
6232
|
|
|
@@ -5982,7 +6243,7 @@ declare const stepperVariants: (props?: ({
|
|
|
5982
6243
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5983
6244
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5984
6245
|
|
|
5985
|
-
type Props$
|
|
6246
|
+
type Props$c = {
|
|
5986
6247
|
/** Layout direction. Defaults to `horizontal`. */
|
|
5987
6248
|
orientation?: StepperOrientation;
|
|
5988
6249
|
/**
|
|
@@ -6004,7 +6265,7 @@ type Props$b = {
|
|
|
6004
6265
|
* otherwise the stepper is visual only. Each step's `status` prop drives the indicator + connector colour.
|
|
6005
6266
|
*/
|
|
6006
6267
|
declare const Stepper: {
|
|
6007
|
-
({ orientation, onStepClick, children, className, ...props }: Props$
|
|
6268
|
+
({ orientation, onStepClick, children, className, ...props }: Props$c): react_jsx_runtime.JSX.Element;
|
|
6008
6269
|
Step: ({ status, children, className, ...props }: {
|
|
6009
6270
|
status?: StepStatus;
|
|
6010
6271
|
children: ReactNode;
|
|
@@ -6019,12 +6280,12 @@ declare const Stepper: {
|
|
|
6019
6280
|
|
|
6020
6281
|
declare const cardClassnames: (props?: ({
|
|
6021
6282
|
bordered?: boolean | null | undefined;
|
|
6022
|
-
padding?: "none" | "
|
|
6283
|
+
padding?: "none" | "medium" | "small" | "large" | null | undefined;
|
|
6023
6284
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6024
6285
|
|
|
6025
|
-
type Props$
|
|
6286
|
+
type Props$b = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames>;
|
|
6026
6287
|
declare const Card: {
|
|
6027
|
-
({ children, className, bordered, padding, ...rest }: Props$
|
|
6288
|
+
({ children, className, bordered, padding, ...rest }: Props$b): react_jsx_runtime.JSX.Element;
|
|
6028
6289
|
Header: ({ children, ...rest }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6029
6290
|
Content: ({ children, ...rest }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6030
6291
|
Title: ({ children, className, ...rest }: HTMLAttributes<HTMLHeadingElement>) => react_jsx_runtime.JSX.Element;
|
|
@@ -6034,7 +6295,7 @@ declare const Card: {
|
|
|
6034
6295
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
6035
6296
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
6036
6297
|
*/
|
|
6037
|
-
type Props$
|
|
6298
|
+
type Props$a = {
|
|
6038
6299
|
borderCollapsed?: boolean;
|
|
6039
6300
|
bordered?: boolean;
|
|
6040
6301
|
containerClassName?: string;
|
|
@@ -6053,7 +6314,7 @@ type Props$9 = {
|
|
|
6053
6314
|
* @see RECIPES.md#list-detail — for a list-table + row-click-to-detail pattern
|
|
6054
6315
|
*/
|
|
6055
6316
|
declare const Table: {
|
|
6056
|
-
({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$
|
|
6317
|
+
({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$a): react_jsx_runtime.JSX.Element;
|
|
6057
6318
|
Header: ({ withShadow, className, ...props }: {
|
|
6058
6319
|
withShadow?: boolean;
|
|
6059
6320
|
} & ComponentProps<"thead">) => react_jsx_runtime.JSX.Element;
|
|
@@ -6068,11 +6329,11 @@ declare const Table: {
|
|
|
6068
6329
|
Footer: ({ className, ...props }: ComponentProps<"tfoot">) => react_jsx_runtime.JSX.Element;
|
|
6069
6330
|
};
|
|
6070
6331
|
|
|
6071
|
-
type Props$
|
|
6332
|
+
type Props$9 = ComponentProps<'ul'> & {
|
|
6072
6333
|
variant?: 'solid' | 'dashed';
|
|
6073
6334
|
};
|
|
6074
6335
|
declare const Timeline: {
|
|
6075
|
-
({ className, variant, ...rest }: Props$
|
|
6336
|
+
({ className, variant, ...rest }: Props$9): react_jsx_runtime.JSX.Element;
|
|
6076
6337
|
Item: ({ className, ...rest }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6077
6338
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6078
6339
|
Connector: ({ className, children, asChild, variant, align, offset, style, ...rest }: {
|
|
@@ -6085,25 +6346,25 @@ declare const Timeline: {
|
|
|
6085
6346
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
6086
6347
|
};
|
|
6087
6348
|
|
|
6088
|
-
type Props$
|
|
6349
|
+
type Props$8 = {
|
|
6089
6350
|
text: ReactNode;
|
|
6090
6351
|
tooltip?: ReactNode;
|
|
6091
6352
|
twoLines?: boolean;
|
|
6092
6353
|
noTooltip?: boolean;
|
|
6093
|
-
tooltipVariant?: Props$
|
|
6094
|
-
tooltipPlacement?: Props$
|
|
6354
|
+
tooltipVariant?: Props$1N['variant'];
|
|
6355
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
6095
6356
|
} & Omit<ComponentPropsWithoutRef<'span'>, 'children'>;
|
|
6096
|
-
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$
|
|
6357
|
+
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$8 & {
|
|
6097
6358
|
ref?: Ref<ElementRef<"span">>;
|
|
6098
6359
|
}) => react_jsx_runtime.JSX.Element;
|
|
6099
6360
|
|
|
6100
|
-
type Props$
|
|
6361
|
+
type Props$7 = {
|
|
6101
6362
|
source: string;
|
|
6102
6363
|
className?: string;
|
|
6103
6364
|
mark?: string;
|
|
6104
6365
|
isCaseSensitive?: boolean;
|
|
6105
6366
|
} & ComponentProps<'span'>;
|
|
6106
|
-
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$
|
|
6367
|
+
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$7 & {
|
|
6107
6368
|
ref?: Ref<ElementRef<"span">>;
|
|
6108
6369
|
}) => react_jsx_runtime.JSX.Element;
|
|
6109
6370
|
|
|
@@ -6111,9 +6372,9 @@ declare const kbdVariants: (props?: ({
|
|
|
6111
6372
|
variant?: "primary" | "default" | null | undefined;
|
|
6112
6373
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6113
6374
|
|
|
6114
|
-
type Props$
|
|
6375
|
+
type Props$6 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
6115
6376
|
declare const Kbd: {
|
|
6116
|
-
({ children, className, variant, ...rest }: Props$
|
|
6377
|
+
({ children, className, variant, ...rest }: Props$6): react_jsx_runtime.JSX.Element;
|
|
6117
6378
|
Group: ({ ref, className, children, separator, ...props }: ({
|
|
6118
6379
|
separator?: string;
|
|
6119
6380
|
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement>) & {
|
|
@@ -6129,9 +6390,9 @@ type KeyRepresentation = {
|
|
|
6129
6390
|
};
|
|
6130
6391
|
declare const keys: Record<KeyName, KeyRepresentation>;
|
|
6131
6392
|
|
|
6132
|
-
type Props$
|
|
6393
|
+
type Props$5 = ComponentProps<'nav'>;
|
|
6133
6394
|
declare const Pagination: {
|
|
6134
|
-
({ className, ...props }: Props$
|
|
6395
|
+
({ className, ...props }: Props$5): react_jsx_runtime.JSX.Element;
|
|
6135
6396
|
Content: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element;
|
|
6136
6397
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6137
6398
|
Button: ({ ref, active: isActive, className, children, size, ...props }: ({
|
|
@@ -6142,7 +6403,7 @@ declare const Pagination: {
|
|
|
6142
6403
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6143
6404
|
block?: boolean | null | undefined;
|
|
6144
6405
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6145
|
-
size?: "
|
|
6406
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6146
6407
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
6147
6408
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6148
6409
|
}, "variant">) & {
|
|
@@ -6156,7 +6417,7 @@ declare const Pagination: {
|
|
|
6156
6417
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6157
6418
|
block?: boolean | null | undefined;
|
|
6158
6419
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6159
|
-
size?: "
|
|
6420
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6160
6421
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
6161
6422
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6162
6423
|
}, "variant"> & {
|
|
@@ -6170,7 +6431,7 @@ declare const Pagination: {
|
|
|
6170
6431
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6171
6432
|
block?: boolean | null | undefined;
|
|
6172
6433
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6173
|
-
size?: "
|
|
6434
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6174
6435
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
6175
6436
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6176
6437
|
}, "variant"> & {
|
|
@@ -6179,7 +6440,7 @@ declare const Pagination: {
|
|
|
6179
6440
|
Ellipsis: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6180
6441
|
};
|
|
6181
6442
|
|
|
6182
|
-
type Props$
|
|
6443
|
+
type Props$4 = {
|
|
6183
6444
|
oldValue: string;
|
|
6184
6445
|
newValue: string;
|
|
6185
6446
|
ignoreWhitespace?: boolean;
|
|
@@ -6189,7 +6450,7 @@ type Props$3 = {
|
|
|
6189
6450
|
rightTitle: ReactNode;
|
|
6190
6451
|
rightTitleGutter?: ReactNode;
|
|
6191
6452
|
};
|
|
6192
|
-
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className, }: Props$
|
|
6453
|
+
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className, }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
6193
6454
|
|
|
6194
6455
|
declare const DiffType: {
|
|
6195
6456
|
readonly DEFAULT: "default";
|
|
@@ -6234,17 +6495,17 @@ type DiffRow = {
|
|
|
6234
6495
|
declare const computeLineInformation: (oldString: string, newString: string, ignoreWhitespace?: boolean) => ComputedLineInformation;
|
|
6235
6496
|
declare const computeDiffRows: (lineInformation: LineInformation[], diffLines: number[], expandedBlocks: number[]) => DiffRow[];
|
|
6236
6497
|
|
|
6237
|
-
type Props$
|
|
6498
|
+
type Props$3 = {
|
|
6238
6499
|
label: string;
|
|
6239
6500
|
sublabel?: string;
|
|
6240
6501
|
};
|
|
6241
|
-
declare const PaneHeader: ({ label, sublabel }: Props$
|
|
6502
|
+
declare const PaneHeader: ({ label, sublabel }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
6242
6503
|
|
|
6243
|
-
type Props$
|
|
6504
|
+
type Props$2 = {
|
|
6244
6505
|
remainingConflicts: number;
|
|
6245
6506
|
remainingSafeChanges: number;
|
|
6246
6507
|
};
|
|
6247
|
-
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$
|
|
6508
|
+
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$2) => react_jsx_runtime.JSX.Element;
|
|
6248
6509
|
|
|
6249
6510
|
declare const useMergeDiff: (baseText: string, leftText: string, rightText: string) => {
|
|
6250
6511
|
mergeValue: string;
|
|
@@ -6268,13 +6529,43 @@ declare const useMergeDiff: (baseText: string, leftText: string, rightText: stri
|
|
|
6268
6529
|
reset: () => void;
|
|
6269
6530
|
};
|
|
6270
6531
|
|
|
6532
|
+
/**
|
|
6533
|
+
* The a11y wiring `FieldItem` derives from the field and hands back to the control — spread it onto
|
|
6534
|
+
* whatever element the field renders. Callers never author these attributes themselves.
|
|
6535
|
+
*/
|
|
6536
|
+
type FieldControlProps = {
|
|
6537
|
+
id: string;
|
|
6538
|
+
name: string;
|
|
6539
|
+
'aria-required'?: true;
|
|
6540
|
+
'aria-invalid'?: true;
|
|
6541
|
+
'aria-describedby'?: string;
|
|
6542
|
+
};
|
|
6543
|
+
/** Which marker sits next to the label. Purely visual — `aria-required` is driven by `required`. */
|
|
6544
|
+
type RequiredMark = 'required' | 'optional' | 'hidden';
|
|
6545
|
+
type Props$1 = {
|
|
6546
|
+
label?: ReactNode;
|
|
6547
|
+
required?: boolean;
|
|
6548
|
+
/**
|
|
6549
|
+
* Which marker to show beside the label — gated by `required` so it never lies: `'required'`
|
|
6550
|
+
* renders `*` only when the field is `required`; `'optional'` renders `(optional)` only when it
|
|
6551
|
+
* is not; `'hidden'` renders neither. Defaults to `'required'`.
|
|
6552
|
+
*/
|
|
6553
|
+
requiredMark?: RequiredMark;
|
|
6554
|
+
help?: ReactNode;
|
|
6555
|
+
tooltip?: ReactNode;
|
|
6556
|
+
className?: string;
|
|
6557
|
+
'aria-describedby'?: string;
|
|
6558
|
+
children: (control: FieldControlProps) => ReactNode;
|
|
6559
|
+
};
|
|
6560
|
+
type FieldItemProps = Omit<Props$1, 'children'>;
|
|
6561
|
+
|
|
6271
6562
|
/**
|
|
6272
6563
|
* Typed form hook + `withForm` binding for the design system.
|
|
6273
6564
|
*
|
|
6274
6565
|
* **When to use:** any form layout that has validation, server-side errors, or a submit state — pages,
|
|
6275
6566
|
* modals, drawers, multi-step wizards. Use `useAppForm({ defaultValues, validators, onSubmit })` at the
|
|
6276
6567
|
* top of the form component, then render the typed `field.TextField` / `field.NumberField` /
|
|
6277
|
-
* `field.PasswordField` / `field.
|
|
6568
|
+
* `field.PasswordField` / `field.TextareaField` / `field.SelectField` / `field.CheckboxField` /
|
|
6278
6569
|
* `field.SwitchField` connectors inside `form.AppForm` → `form.FormBody`. Submit via `form.SubmitButton`.
|
|
6279
6570
|
* **When NOT to use:** for a single uncontrolled `<input>` use `TextInput` directly; for a bare label + input
|
|
6280
6571
|
* pair without validation use `FormGroup` + `FormGroup.TextInput`.
|
|
@@ -6284,12 +6575,7 @@ declare const useMergeDiff: (baseText: string, leftText: string, rightText: stri
|
|
|
6284
6575
|
* @see RECIPES.md#modal-form — for the canonical form-in-modal composition
|
|
6285
6576
|
*/
|
|
6286
6577
|
declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_react_form.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
6287
|
-
readonly TextField: ({ label, required, help, className, ...inputProps }: {
|
|
6288
|
-
label?: react.ReactNode;
|
|
6289
|
-
required?: boolean;
|
|
6290
|
-
help?: react.ReactNode;
|
|
6291
|
-
className?: string;
|
|
6292
|
-
} & Omit<{
|
|
6578
|
+
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6293
6579
|
content?: string | undefined | undefined;
|
|
6294
6580
|
size?: number | undefined | undefined;
|
|
6295
6581
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -6603,7 +6889,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6603
6889
|
placeholder?: string | undefined | undefined;
|
|
6604
6890
|
readOnly?: boolean | undefined | undefined;
|
|
6605
6891
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
6606
|
-
sizing?: "
|
|
6892
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
6607
6893
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6608
6894
|
rightSuffix?: react.ReactNode;
|
|
6609
6895
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -6614,12 +6900,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6614
6900
|
} & {
|
|
6615
6901
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
6616
6902
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
6617
|
-
readonly NumberField: ({ label, required, help, className, ...inputProps }: {
|
|
6618
|
-
label?: react.ReactNode;
|
|
6619
|
-
required?: boolean;
|
|
6620
|
-
help?: react.ReactNode;
|
|
6621
|
-
className?: string;
|
|
6622
|
-
} & Omit<{
|
|
6903
|
+
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6623
6904
|
content?: string | undefined | undefined;
|
|
6624
6905
|
size?: number | undefined | undefined;
|
|
6625
6906
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -6934,21 +7215,16 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6934
7215
|
placeholder?: string | undefined | undefined;
|
|
6935
7216
|
readOnly?: boolean | undefined | undefined;
|
|
6936
7217
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
6937
|
-
sizing?: "
|
|
7218
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
6938
7219
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6939
7220
|
suffix?: react.ReactNode;
|
|
6940
7221
|
} & {
|
|
6941
7222
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
6942
7223
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
6943
|
-
readonly PasswordField: ({ label, required, help, className, ...inputProps }: {
|
|
6944
|
-
label?: react.ReactNode;
|
|
6945
|
-
required?: boolean;
|
|
6946
|
-
help?: react.ReactNode;
|
|
6947
|
-
className?: string;
|
|
6948
|
-
} & Omit<{
|
|
7224
|
+
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6949
7225
|
variant?: "primary" | "secondary" | null | undefined;
|
|
6950
7226
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
6951
|
-
sizing?: "
|
|
7227
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
6952
7228
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6953
7229
|
} & {
|
|
6954
7230
|
content?: string | undefined | undefined;
|
|
@@ -7271,12 +7547,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7271
7547
|
} & {
|
|
7272
7548
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7273
7549
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7274
|
-
readonly
|
|
7275
|
-
label?: react.ReactNode;
|
|
7276
|
-
required?: boolean;
|
|
7277
|
-
help?: react.ReactNode;
|
|
7278
|
-
className?: string;
|
|
7279
|
-
} & Omit<{
|
|
7550
|
+
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7280
7551
|
content?: string | undefined | undefined;
|
|
7281
7552
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7282
7553
|
prefix?: string | undefined | undefined;
|
|
@@ -7582,20 +7853,16 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7582
7853
|
cacheMeasurements?: boolean | undefined;
|
|
7583
7854
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
7584
7855
|
disableResize?: boolean | undefined;
|
|
7585
|
-
sizing?: "
|
|
7856
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7586
7857
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7587
7858
|
containerClassName?: string | undefined;
|
|
7588
7859
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7589
|
-
readonly SelectField: ({ label, required, help, className, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: {
|
|
7590
|
-
label?: react.ReactNode;
|
|
7591
|
-
required?: boolean;
|
|
7592
|
-
help?: react.ReactNode;
|
|
7593
|
-
className?: string;
|
|
7860
|
+
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
7594
7861
|
placeholder?: string;
|
|
7595
7862
|
triggerClassName?: string;
|
|
7596
7863
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7597
7864
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
7598
|
-
sizing?: "
|
|
7865
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7599
7866
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
7600
7867
|
items: readonly {
|
|
7601
7868
|
value: string;
|
|
@@ -7615,26 +7882,18 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7615
7882
|
label: react.ReactNode;
|
|
7616
7883
|
}[];
|
|
7617
7884
|
})) => react_jsx_runtime.JSX.Element;
|
|
7618
|
-
readonly CheckboxField: ({
|
|
7619
|
-
label?: react.ReactNode;
|
|
7620
|
-
help?: react.ReactNode;
|
|
7621
|
-
className?: string;
|
|
7622
|
-
} & Omit<Omit<{
|
|
7885
|
+
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
7623
7886
|
id?: string | number;
|
|
7624
7887
|
description?: react.ReactNode;
|
|
7625
7888
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
7626
7889
|
position?: "start" | "end";
|
|
7627
|
-
tooltip?: Props$
|
|
7628
|
-
tooltipPlacement?: Props$
|
|
7890
|
+
tooltip?: Props$1N["tooltip"];
|
|
7891
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
7629
7892
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
7630
7893
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
7631
7894
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
7632
7895
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
7633
|
-
readonly SwitchField: ({
|
|
7634
|
-
label?: react.ReactNode;
|
|
7635
|
-
help?: react.ReactNode;
|
|
7636
|
-
className?: string;
|
|
7637
|
-
} & Omit<{
|
|
7896
|
+
readonly SwitchField: ({ className, children, ...switchProps }: Pick<FieldItemProps, "className"> & Omit<{
|
|
7638
7897
|
id?: string | number;
|
|
7639
7898
|
children?: react.ReactNode;
|
|
7640
7899
|
description?: react.ReactNode;
|
|
@@ -7642,10 +7901,11 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7642
7901
|
position?: "start" | "end";
|
|
7643
7902
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
7644
7903
|
variant?: "default" | "argo" | null | undefined;
|
|
7645
|
-
size?: "
|
|
7904
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
7646
7905
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
7647
7906
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
7648
7907
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
7908
|
+
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$4, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7649
7909
|
}, {
|
|
7650
7910
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
7651
7911
|
children: react.ReactNode;
|
|
@@ -7658,18 +7918,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7658
7918
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
7659
7919
|
block?: boolean | null | undefined;
|
|
7660
7920
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
7661
|
-
size?: "
|
|
7921
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
7662
7922
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
7663
7923
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
7664
7924
|
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
7665
7925
|
}>;
|
|
7666
7926
|
declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: _tanstack_react_form.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
7667
|
-
readonly TextField: ({ label, required, help, className, ...inputProps }: {
|
|
7668
|
-
label?: react.ReactNode;
|
|
7669
|
-
required?: boolean;
|
|
7670
|
-
help?: react.ReactNode;
|
|
7671
|
-
className?: string;
|
|
7672
|
-
} & Omit<{
|
|
7927
|
+
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7673
7928
|
content?: string | undefined | undefined;
|
|
7674
7929
|
size?: number | undefined | undefined;
|
|
7675
7930
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -7983,7 +8238,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7983
8238
|
placeholder?: string | undefined | undefined;
|
|
7984
8239
|
readOnly?: boolean | undefined | undefined;
|
|
7985
8240
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
7986
|
-
sizing?: "
|
|
8241
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7987
8242
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7988
8243
|
rightSuffix?: react.ReactNode;
|
|
7989
8244
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -7994,12 +8249,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7994
8249
|
} & {
|
|
7995
8250
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7996
8251
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7997
|
-
readonly NumberField: ({ label, required, help, className, ...inputProps }: {
|
|
7998
|
-
label?: react.ReactNode;
|
|
7999
|
-
required?: boolean;
|
|
8000
|
-
help?: react.ReactNode;
|
|
8001
|
-
className?: string;
|
|
8002
|
-
} & Omit<{
|
|
8252
|
+
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8003
8253
|
content?: string | undefined | undefined;
|
|
8004
8254
|
size?: number | undefined | undefined;
|
|
8005
8255
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -8314,21 +8564,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8314
8564
|
placeholder?: string | undefined | undefined;
|
|
8315
8565
|
readOnly?: boolean | undefined | undefined;
|
|
8316
8566
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
8317
|
-
sizing?: "
|
|
8567
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8318
8568
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8319
8569
|
suffix?: react.ReactNode;
|
|
8320
8570
|
} & {
|
|
8321
8571
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8322
8572
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8323
|
-
readonly PasswordField: ({ label, required, help, className, ...inputProps }: {
|
|
8324
|
-
label?: react.ReactNode;
|
|
8325
|
-
required?: boolean;
|
|
8326
|
-
help?: react.ReactNode;
|
|
8327
|
-
className?: string;
|
|
8328
|
-
} & Omit<{
|
|
8573
|
+
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8329
8574
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8330
8575
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8331
|
-
sizing?: "
|
|
8576
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8332
8577
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8333
8578
|
} & {
|
|
8334
8579
|
content?: string | undefined | undefined;
|
|
@@ -8651,12 +8896,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8651
8896
|
} & {
|
|
8652
8897
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8653
8898
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8654
|
-
readonly
|
|
8655
|
-
label?: react.ReactNode;
|
|
8656
|
-
required?: boolean;
|
|
8657
|
-
help?: react.ReactNode;
|
|
8658
|
-
className?: string;
|
|
8659
|
-
} & Omit<{
|
|
8899
|
+
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8660
8900
|
content?: string | undefined | undefined;
|
|
8661
8901
|
translate?: "yes" | "no" | undefined | undefined;
|
|
8662
8902
|
prefix?: string | undefined | undefined;
|
|
@@ -8962,20 +9202,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8962
9202
|
cacheMeasurements?: boolean | undefined;
|
|
8963
9203
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
8964
9204
|
disableResize?: boolean | undefined;
|
|
8965
|
-
sizing?: "
|
|
9205
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8966
9206
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8967
9207
|
containerClassName?: string | undefined;
|
|
8968
9208
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8969
|
-
readonly SelectField: ({ label, required, help, className, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: {
|
|
8970
|
-
label?: react.ReactNode;
|
|
8971
|
-
required?: boolean;
|
|
8972
|
-
help?: react.ReactNode;
|
|
8973
|
-
className?: string;
|
|
9209
|
+
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
8974
9210
|
placeholder?: string;
|
|
8975
9211
|
triggerClassName?: string;
|
|
8976
9212
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8977
9213
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8978
|
-
sizing?: "
|
|
9214
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8979
9215
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
8980
9216
|
items: readonly {
|
|
8981
9217
|
value: string;
|
|
@@ -8995,26 +9231,18 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8995
9231
|
label: react.ReactNode;
|
|
8996
9232
|
}[];
|
|
8997
9233
|
})) => react_jsx_runtime.JSX.Element;
|
|
8998
|
-
readonly CheckboxField: ({
|
|
8999
|
-
label?: react.ReactNode;
|
|
9000
|
-
help?: react.ReactNode;
|
|
9001
|
-
className?: string;
|
|
9002
|
-
} & Omit<Omit<{
|
|
9234
|
+
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
9003
9235
|
id?: string | number;
|
|
9004
9236
|
description?: react.ReactNode;
|
|
9005
9237
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
9006
9238
|
position?: "start" | "end";
|
|
9007
|
-
tooltip?: Props$
|
|
9008
|
-
tooltipPlacement?: Props$
|
|
9239
|
+
tooltip?: Props$1N["tooltip"];
|
|
9240
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
9009
9241
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
9010
9242
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
9011
9243
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
9012
9244
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
9013
|
-
readonly SwitchField: ({
|
|
9014
|
-
label?: react.ReactNode;
|
|
9015
|
-
help?: react.ReactNode;
|
|
9016
|
-
className?: string;
|
|
9017
|
-
} & Omit<{
|
|
9245
|
+
readonly SwitchField: ({ className, children, ...switchProps }: Pick<FieldItemProps, "className"> & Omit<{
|
|
9018
9246
|
id?: string | number;
|
|
9019
9247
|
children?: react.ReactNode;
|
|
9020
9248
|
description?: react.ReactNode;
|
|
@@ -9022,10 +9250,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9022
9250
|
position?: "start" | "end";
|
|
9023
9251
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
9024
9252
|
variant?: "default" | "argo" | null | undefined;
|
|
9025
|
-
size?: "
|
|
9253
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
9026
9254
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
9027
9255
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
9028
9256
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
9257
|
+
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$4, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
9029
9258
|
}, {
|
|
9030
9259
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
9031
9260
|
children: react.ReactNode;
|
|
@@ -9038,18 +9267,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9038
9267
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
9039
9268
|
block?: boolean | null | undefined;
|
|
9040
9269
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
9041
|
-
size?: "
|
|
9270
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
9042
9271
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
9043
9272
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
9044
9273
|
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
9045
9274
|
}, TRenderProps>) => react.FunctionComponent<react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
9046
9275
|
form: _tanstack_react_form.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
9047
|
-
readonly TextField: ({ label, required, help, className, ...inputProps }: {
|
|
9048
|
-
label?: react.ReactNode;
|
|
9049
|
-
required?: boolean;
|
|
9050
|
-
help?: react.ReactNode;
|
|
9051
|
-
className?: string;
|
|
9052
|
-
} & Omit<{
|
|
9276
|
+
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9053
9277
|
content?: string | undefined | undefined;
|
|
9054
9278
|
size?: number | undefined | undefined;
|
|
9055
9279
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -9363,7 +9587,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9363
9587
|
placeholder?: string | undefined | undefined;
|
|
9364
9588
|
readOnly?: boolean | undefined | undefined;
|
|
9365
9589
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
9366
|
-
sizing?: "
|
|
9590
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9367
9591
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9368
9592
|
rightSuffix?: react.ReactNode;
|
|
9369
9593
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -9374,12 +9598,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9374
9598
|
} & {
|
|
9375
9599
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9376
9600
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
9377
|
-
readonly NumberField: ({ label, required, help, className, ...inputProps }: {
|
|
9378
|
-
label?: react.ReactNode;
|
|
9379
|
-
required?: boolean;
|
|
9380
|
-
help?: react.ReactNode;
|
|
9381
|
-
className?: string;
|
|
9382
|
-
} & Omit<{
|
|
9601
|
+
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9383
9602
|
content?: string | undefined | undefined;
|
|
9384
9603
|
size?: number | undefined | undefined;
|
|
9385
9604
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -9694,21 +9913,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9694
9913
|
placeholder?: string | undefined | undefined;
|
|
9695
9914
|
readOnly?: boolean | undefined | undefined;
|
|
9696
9915
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
9697
|
-
sizing?: "
|
|
9916
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9698
9917
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9699
9918
|
suffix?: react.ReactNode;
|
|
9700
9919
|
} & {
|
|
9701
9920
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9702
9921
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9703
|
-
readonly PasswordField: ({ label, required, help, className, ...inputProps }: {
|
|
9704
|
-
label?: react.ReactNode;
|
|
9705
|
-
required?: boolean;
|
|
9706
|
-
help?: react.ReactNode;
|
|
9707
|
-
className?: string;
|
|
9708
|
-
} & Omit<{
|
|
9922
|
+
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9709
9923
|
variant?: "primary" | "secondary" | null | undefined;
|
|
9710
9924
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
9711
|
-
sizing?: "
|
|
9925
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9712
9926
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9713
9927
|
} & {
|
|
9714
9928
|
content?: string | undefined | undefined;
|
|
@@ -10031,12 +10245,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10031
10245
|
} & {
|
|
10032
10246
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
10033
10247
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10034
|
-
readonly
|
|
10035
|
-
label?: react.ReactNode;
|
|
10036
|
-
required?: boolean;
|
|
10037
|
-
help?: react.ReactNode;
|
|
10038
|
-
className?: string;
|
|
10039
|
-
} & Omit<{
|
|
10248
|
+
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
10040
10249
|
content?: string | undefined | undefined;
|
|
10041
10250
|
translate?: "yes" | "no" | undefined | undefined;
|
|
10042
10251
|
prefix?: string | undefined | undefined;
|
|
@@ -10342,20 +10551,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10342
10551
|
cacheMeasurements?: boolean | undefined;
|
|
10343
10552
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
10344
10553
|
disableResize?: boolean | undefined;
|
|
10345
|
-
sizing?: "
|
|
10554
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10346
10555
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10347
10556
|
containerClassName?: string | undefined;
|
|
10348
10557
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10349
|
-
readonly SelectField: ({ label, required, help, className, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: {
|
|
10350
|
-
label?: react.ReactNode;
|
|
10351
|
-
required?: boolean;
|
|
10352
|
-
help?: react.ReactNode;
|
|
10353
|
-
className?: string;
|
|
10558
|
+
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
10354
10559
|
placeholder?: string;
|
|
10355
10560
|
triggerClassName?: string;
|
|
10356
10561
|
variant?: "primary" | "secondary" | null | undefined;
|
|
10357
10562
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
10358
|
-
sizing?: "
|
|
10563
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10359
10564
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
10360
10565
|
items: readonly {
|
|
10361
10566
|
value: string;
|
|
@@ -10375,26 +10580,18 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10375
10580
|
label: react.ReactNode;
|
|
10376
10581
|
}[];
|
|
10377
10582
|
})) => react_jsx_runtime.JSX.Element;
|
|
10378
|
-
readonly CheckboxField: ({
|
|
10379
|
-
label?: react.ReactNode;
|
|
10380
|
-
help?: react.ReactNode;
|
|
10381
|
-
className?: string;
|
|
10382
|
-
} & Omit<Omit<{
|
|
10583
|
+
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
10383
10584
|
id?: string | number;
|
|
10384
10585
|
description?: react.ReactNode;
|
|
10385
10586
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10386
10587
|
position?: "start" | "end";
|
|
10387
|
-
tooltip?: Props$
|
|
10388
|
-
tooltipPlacement?: Props$
|
|
10588
|
+
tooltip?: Props$1N["tooltip"];
|
|
10589
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
10389
10590
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10390
10591
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10391
10592
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
10392
10593
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10393
|
-
readonly SwitchField: ({
|
|
10394
|
-
label?: react.ReactNode;
|
|
10395
|
-
help?: react.ReactNode;
|
|
10396
|
-
className?: string;
|
|
10397
|
-
} & Omit<{
|
|
10594
|
+
readonly SwitchField: ({ className, children, ...switchProps }: Pick<FieldItemProps, "className"> & Omit<{
|
|
10398
10595
|
id?: string | number;
|
|
10399
10596
|
children?: react.ReactNode;
|
|
10400
10597
|
description?: react.ReactNode;
|
|
@@ -10402,10 +10599,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10402
10599
|
position?: "start" | "end";
|
|
10403
10600
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10404
10601
|
variant?: "default" | "argo" | null | undefined;
|
|
10405
|
-
size?: "
|
|
10602
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
10406
10603
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
10407
10604
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
10408
10605
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10606
|
+
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$4, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
10409
10607
|
}, {
|
|
10410
10608
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
10411
10609
|
children: react.ReactNode;
|
|
@@ -10418,7 +10616,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10418
10616
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
10419
10617
|
block?: boolean | null | undefined;
|
|
10420
10618
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
10421
|
-
size?: "
|
|
10619
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
10422
10620
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
10423
10621
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
10424
10622
|
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
@@ -10482,4 +10680,4 @@ type Props = {
|
|
|
10482
10680
|
};
|
|
10483
10681
|
declare const ZoomableSvg: ({ html, copyText, className }: Props) => react_jsx_runtime.JSX.Element;
|
|
10484
10682
|
|
|
10485
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$
|
|
10683
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$I as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, DEFAULT_COLOR_SCHEME, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$3 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$2 as ErrorStateProps, type Variant as ErrorStateVariant, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, HelpBlock, HoverCard, InlineStepDetail, type Props$G as InlineStepDetailProps, InlineStepLabel, type Props$F as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$4 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1o as Props, Question, type QuestionAnswers, QuestionBlock, type Props$y as QuestionBlockProps, type QuestionOption, type Props$z as QuestionProps, type QuestionStep, RadioGroup, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, Tabs, TabsContent, Tagger, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1N as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, cn, computeDiffRows, computeLineInformation, copyToClipboard, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, withForm };
|