@keboola/design 6.1.0 → 6.2.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/dist/index.cjs +862 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +429 -285
- package/dist/index.d.ts +429 -285
- package/dist/index.js +853 -19
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +9 -9
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +9 -9
- package/dist/markdown-editor.js.map +1 -1
- package/dist/rjsf.cjs +16 -14
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +16 -14
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +2 -2
- package/dist/testing.cjs +12 -0
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.js +12 -0
- package/dist/testing.js.map +1 -1
- package/package.json +5 -5
- package/src/styles.css +18 -0
package/dist/index.d.ts
CHANGED
|
@@ -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 } from '@radix-ui/react-label';
|
|
27
|
+
import { LabelProps as LabelProps$1 } 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';
|
|
@@ -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$1V = {
|
|
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$1U = {
|
|
|
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$1V & {
|
|
97
97
|
ref?: Ref<ElementRef<"button">>;
|
|
98
98
|
}) => react_jsx_runtime.JSX.Element;
|
|
99
99
|
|
|
@@ -101,10 +101,10 @@ 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$1U = 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$1U & {
|
|
108
108
|
ref?: Ref<ElementRef<"button">>;
|
|
109
109
|
}) => react_jsx_runtime.JSX.Element;
|
|
110
110
|
|
|
@@ -112,18 +112,18 @@ declare const buttonGroupVariant: (props?: ({
|
|
|
112
112
|
variant?: "inline" | "block" | null | undefined;
|
|
113
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$1T = {
|
|
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$1T & {
|
|
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$1S = {
|
|
127
127
|
actions?: ReactNode;
|
|
128
128
|
isActionsOpen?: boolean;
|
|
129
129
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -132,7 +132,7 @@ type Props$1R = {
|
|
|
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$1S & {
|
|
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$1R = {
|
|
150
150
|
className?: string;
|
|
151
151
|
} & PropsWithChildren;
|
|
152
152
|
declare const MultiActionButtonGroup: {
|
|
153
|
-
({ children, className }: Props$
|
|
153
|
+
({ children, className }: Props$1R): 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;
|
|
@@ -168,20 +168,20 @@ declare const toggleVariants: (props?: ({
|
|
|
168
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$1Q = {
|
|
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$1Q & {
|
|
176
176
|
ref?: Ref<ElementRef<"button">>;
|
|
177
177
|
}) => react_jsx_runtime.JSX.Element;
|
|
178
178
|
|
|
179
179
|
declare const rootVariants: (props?: ({
|
|
180
180
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
181
181
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
182
|
-
type RootProps$
|
|
182
|
+
type RootProps$8 = ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof rootVariants>;
|
|
183
183
|
type ItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
184
|
-
declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$
|
|
184
|
+
declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$8 & {
|
|
185
185
|
ref?: Ref<ElementRef<"div">>;
|
|
186
186
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
187
187
|
/** Individual segment inside a `ToggleGroup`. `value` is required and must be unique within the group. */
|
|
@@ -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$1P = {
|
|
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$1P) => 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$1O = {
|
|
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$1O): 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,30 +251,30 @@ 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$1N = {
|
|
255
|
+
tooltip?: Props$1O['tooltip'];
|
|
256
|
+
tooltipPlacement?: Props$1O['placement'];
|
|
257
|
+
tooltipVariant?: Props$1O['variant'];
|
|
258
|
+
asChild?: Props$1O['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$1N & {
|
|
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$1M = 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$1M) => 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$1L = {
|
|
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$1L) => react_jsx_runtime.JSX.Element;
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* Compound component for readonly value/command boxes with inline copy.
|
|
@@ -379,8 +379,8 @@ declare const CopyField: {
|
|
|
379
379
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
380
380
|
};
|
|
381
381
|
|
|
382
|
-
type Props$
|
|
383
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
382
|
+
type Props$1K = ComponentProps<'a'>;
|
|
383
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1K & {
|
|
384
384
|
ref?: Ref<ElementRef<"a">>;
|
|
385
385
|
}) => react_jsx_runtime.JSX.Element;
|
|
386
386
|
|
|
@@ -392,13 +392,13 @@ type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
|
392
392
|
|
|
393
393
|
type ConfirmHandler = (event: MouseEvent$1<HTMLButtonElement>) => void | Promise<unknown>;
|
|
394
394
|
type CancelHandler = (event: MouseEvent$1<HTMLButtonElement>) => void;
|
|
395
|
-
type Props$
|
|
395
|
+
type Props$1J = {
|
|
396
396
|
onConfirm?: ConfirmHandler;
|
|
397
397
|
onCancel?: CancelHandler;
|
|
398
398
|
skipAsyncWait?: boolean;
|
|
399
399
|
} & ComponentProps<typeof Root$1>;
|
|
400
400
|
declare const AlertModal: {
|
|
401
|
-
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
401
|
+
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$1J): react_jsx_runtime.JSX.Element;
|
|
402
402
|
Trigger: ({ ref, onClick, onKeyDown, ...props }: _radix_ui_react_alert_dialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
403
403
|
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, container, className, children, onEscapeKeyDown, ...props }: {
|
|
404
404
|
variant?: AlertModalVariant;
|
|
@@ -410,7 +410,7 @@ declare const AlertModal: {
|
|
|
410
410
|
} & Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "title">) => react_jsx_runtime.JSX.Element;
|
|
411
411
|
};
|
|
412
412
|
|
|
413
|
-
type Props$
|
|
413
|
+
type Props$1I = ComponentProps<typeof Root$2>;
|
|
414
414
|
/**
|
|
415
415
|
* Blocking dialog for confirmations, forms, and detail views. Built on Radix Dialog.
|
|
416
416
|
*
|
|
@@ -426,7 +426,7 @@ type Props$1H = ComponentProps<typeof Root$2>;
|
|
|
426
426
|
* @see RECIPES.md#confirm-dialog — for destructive-confirm dialogs
|
|
427
427
|
*/
|
|
428
428
|
declare const Modal: {
|
|
429
|
-
(props: Props$
|
|
429
|
+
(props: Props$1I): react_jsx_runtime.JSX.Element;
|
|
430
430
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
431
431
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
432
432
|
Content: ({ size, className, children, onEscapeKeyDown, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -479,7 +479,7 @@ declare const FullScreenModal: (({ children, className, lockBodyScroll, onEscape
|
|
|
479
479
|
}) => react_jsx_runtime.JSX.Element;
|
|
480
480
|
};
|
|
481
481
|
|
|
482
|
-
type Props$
|
|
482
|
+
type Props$1H = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
483
483
|
title: ReactNode;
|
|
484
484
|
titleClassName?: string;
|
|
485
485
|
titleWrapperClassName?: string;
|
|
@@ -488,16 +488,16 @@ type Props$1G = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
488
488
|
onClose?: () => void;
|
|
489
489
|
showPreviousTitle?: boolean;
|
|
490
490
|
}>;
|
|
491
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
491
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$1H) => react_jsx_runtime.JSX.Element;
|
|
492
492
|
|
|
493
|
-
type Props$
|
|
494
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
493
|
+
type Props$1G = HTMLAttributes<HTMLDivElement>;
|
|
494
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$1G & {
|
|
495
495
|
ref?: Ref<HTMLDivElement>;
|
|
496
496
|
}) => react_jsx_runtime.JSX.Element;
|
|
497
497
|
|
|
498
|
-
type Props$
|
|
498
|
+
type Props$1F = ComponentProps<typeof Root$2>;
|
|
499
499
|
declare const Sheet: {
|
|
500
|
-
(props: Props$
|
|
500
|
+
(props: Props$1F): react_jsx_runtime.JSX.Element;
|
|
501
501
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
502
502
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
503
503
|
Content: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -520,9 +520,9 @@ declare const Sheet: {
|
|
|
520
520
|
Body: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
521
521
|
};
|
|
522
522
|
|
|
523
|
-
type Props$
|
|
523
|
+
type Props$1E = ComponentProps<typeof Root$3>;
|
|
524
524
|
declare const Popover: {
|
|
525
|
-
(props: Props$
|
|
525
|
+
(props: Props$1E): react_jsx_runtime.JSX.Element;
|
|
526
526
|
/**
|
|
527
527
|
* Main Layout
|
|
528
528
|
*/
|
|
@@ -544,12 +544,12 @@ type PopconfirmContextType = {
|
|
|
544
544
|
isLoading: boolean;
|
|
545
545
|
};
|
|
546
546
|
|
|
547
|
-
type Props$
|
|
547
|
+
type Props$1D = {
|
|
548
548
|
children: ReactNode;
|
|
549
549
|
skipAsyncWait?: boolean;
|
|
550
550
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
551
551
|
declare const Popconfirm: {
|
|
552
|
-
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
552
|
+
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$1D): react_jsx_runtime.JSX.Element;
|
|
553
553
|
Confirm: ({ ref, onClick, children, asChild, className, ...props }: (({
|
|
554
554
|
asChild: true;
|
|
555
555
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
@@ -902,18 +902,18 @@ declare const Popconfirm: {
|
|
|
902
902
|
Trigger: ({ onClick, ...props }: _radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
903
903
|
};
|
|
904
904
|
|
|
905
|
-
type Props$
|
|
905
|
+
type Props$1C = ComponentProps<typeof Root$4>;
|
|
906
906
|
declare const HoverCard: {
|
|
907
|
-
({ openDelay, closeDelay, ...rest }: Props$
|
|
907
|
+
({ openDelay, closeDelay, ...rest }: Props$1C): react_jsx_runtime.JSX.Element;
|
|
908
908
|
Content: ({ ref, className, align, sideOffset, children, ...props }: Omit<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
909
909
|
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
910
910
|
}) => react_jsx_runtime.JSX.Element;
|
|
911
911
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
912
912
|
};
|
|
913
913
|
|
|
914
|
-
type Props$
|
|
914
|
+
type Props$1B = ComponentProps<typeof Root$5>;
|
|
915
915
|
declare const DropdownMenu: {
|
|
916
|
-
({ modal, ...props }: Props$
|
|
916
|
+
({ modal, ...props }: Props$1B): react_jsx_runtime.JSX.Element;
|
|
917
917
|
/**
|
|
918
918
|
* Main Layout
|
|
919
919
|
*/
|
|
@@ -969,14 +969,14 @@ declare const DropdownMenu: {
|
|
|
969
969
|
}) => react_jsx_runtime.JSX.Element;
|
|
970
970
|
};
|
|
971
971
|
|
|
972
|
-
type Props$
|
|
972
|
+
type Props$1A = {
|
|
973
973
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
974
974
|
};
|
|
975
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
975
|
+
declare const CheckIndicator: ({ variant }: Props$1A) => react_jsx_runtime.JSX.Element | null;
|
|
976
976
|
|
|
977
|
-
type Props$
|
|
977
|
+
type Props$1z = ComponentProps<typeof Command$1>;
|
|
978
978
|
declare const Command: {
|
|
979
|
-
({ className, ...rest }: Props$
|
|
979
|
+
({ className, ...rest }: Props$1z): react_jsx_runtime.JSX.Element;
|
|
980
980
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
981
981
|
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
982
982
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1372,25 +1372,25 @@ declare const Command: {
|
|
|
1372
1372
|
declare const addonVariants$1: (props?: ({
|
|
1373
1373
|
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
1374
1374
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1375
|
-
type Props$
|
|
1376
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
1375
|
+
type Props$1y = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1376
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1y) => react_jsx_runtime.JSX.Element;
|
|
1377
1377
|
|
|
1378
1378
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
1379
|
-
type Props$
|
|
1380
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
1379
|
+
type Props$1x = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
1380
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$1x & {
|
|
1381
1381
|
ref?: Ref<ElementRef<"button">>;
|
|
1382
1382
|
}) => react_jsx_runtime.JSX.Element;
|
|
1383
1383
|
|
|
1384
|
-
type Props$
|
|
1385
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
1384
|
+
type Props$1w = ComponentProps<'input'>;
|
|
1385
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$1w & {
|
|
1386
1386
|
ref?: Ref<ElementRef<"input">>;
|
|
1387
1387
|
}) => react_jsx_runtime.JSX.Element;
|
|
1388
1388
|
|
|
1389
|
-
type Props$
|
|
1390
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
1389
|
+
type Props$1v = ComponentProps<'span'>;
|
|
1390
|
+
declare const InputGroupText: ({ className, ...props }: Props$1v) => react_jsx_runtime.JSX.Element;
|
|
1391
1391
|
|
|
1392
1392
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof react_textarea_autosize__default>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
1393
|
-
type Props$
|
|
1393
|
+
type Props$1u = TextareaNativeProps$1 & {
|
|
1394
1394
|
value?: string | null;
|
|
1395
1395
|
defaultValue?: string | null;
|
|
1396
1396
|
onValueChange?: (value: string) => void;
|
|
@@ -1398,7 +1398,7 @@ type Props$1t = TextareaNativeProps$1 & {
|
|
|
1398
1398
|
maxRows?: number | 'unlimited';
|
|
1399
1399
|
disableResize?: boolean;
|
|
1400
1400
|
};
|
|
1401
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
1401
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$1u & {
|
|
1402
1402
|
ref?: Ref<ElementRef<"textarea">>;
|
|
1403
1403
|
}) => react_jsx_runtime.JSX.Element;
|
|
1404
1404
|
|
|
@@ -1408,10 +1408,10 @@ declare const inputGroupVariants: (props?: ({
|
|
|
1408
1408
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1409
1409
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1410
1410
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1411
|
-
type Props$
|
|
1411
|
+
type Props$1t = ComponentProps<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
1412
1412
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
1413
1413
|
};
|
|
1414
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1414
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$1t & {
|
|
1415
1415
|
ref?: Ref<ElementRef<"div">>;
|
|
1416
1416
|
}) => react_jsx_runtime.JSX.Element;
|
|
1417
1417
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
@@ -1438,7 +1438,7 @@ type OwnProps$1 = {
|
|
|
1438
1438
|
* Props for `Input`. Combines `InputGroup` chrome (variant / sizing / state / focusVariant) with
|
|
1439
1439
|
* input-specific slots (`prefix`, `leftSuffix`, `rightSuffix`, `allowClear`).
|
|
1440
1440
|
*/
|
|
1441
|
-
type Props$
|
|
1441
|
+
type Props$1s = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue'>;
|
|
1442
1442
|
/**
|
|
1443
1443
|
* Low-level text input with `InputGroup` chrome — addons, clear button, sizing, focus variants.
|
|
1444
1444
|
*
|
|
@@ -1448,12 +1448,12 @@ type Props$1r = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, '
|
|
|
1448
1448
|
* `FormGroup.TextInput`; for search use `SearchInput`; for forms with validation use `useAppForm`.
|
|
1449
1449
|
* **Composition:** wrap in `FormGroup` for shared error state, or render directly as a controlled input.
|
|
1450
1450
|
*/
|
|
1451
|
-
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$
|
|
1451
|
+
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$1s & {
|
|
1452
1452
|
ref?: Ref<ElementRef<"input">>;
|
|
1453
1453
|
}) => react_jsx_runtime.JSX.Element;
|
|
1454
1454
|
|
|
1455
1455
|
type InputProps$1 = ComponentProps<typeof Input$1>;
|
|
1456
|
-
type Props$
|
|
1456
|
+
type Props$1r = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
1457
1457
|
defaultValue?: Date | null;
|
|
1458
1458
|
disabledDays?: Matcher | Matcher[];
|
|
1459
1459
|
endMonth?: Date;
|
|
@@ -1462,12 +1462,12 @@ type Props$1q = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
|
1462
1462
|
startMonth?: Date;
|
|
1463
1463
|
value?: Date | null;
|
|
1464
1464
|
};
|
|
1465
|
-
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$
|
|
1465
|
+
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$1r & {
|
|
1466
1466
|
ref?: Ref<ElementRef<"input">>;
|
|
1467
1467
|
}) => react_jsx_runtime.JSX.Element;
|
|
1468
1468
|
|
|
1469
1469
|
type InputProps = ComponentProps<typeof Input$1>;
|
|
1470
|
-
type Props$
|
|
1470
|
+
type Props$1q = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
1471
1471
|
defaultValue?: DateRange$1 | null;
|
|
1472
1472
|
endMonth?: Date;
|
|
1473
1473
|
onValueBlur?: (value: DateRange$1 | null) => void;
|
|
@@ -1475,7 +1475,7 @@ type Props$1p = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
|
1475
1475
|
startMonth?: Date;
|
|
1476
1476
|
value?: DateRange$1 | null;
|
|
1477
1477
|
};
|
|
1478
|
-
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$
|
|
1478
|
+
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$1q & {
|
|
1479
1479
|
ref?: Ref<ElementRef<"input">>;
|
|
1480
1480
|
}) => react_jsx_runtime.JSX.Element;
|
|
1481
1481
|
|
|
@@ -1493,7 +1493,7 @@ type OwnProps = {
|
|
|
1493
1493
|
* Props for `TextInput`. Extends `Input` with string-typed `value` / `defaultValue` and convenience
|
|
1494
1494
|
* `onValueChange` / `onValueBlur` callbacks. `null` / `undefined` are coerced to empty strings.
|
|
1495
1495
|
*/
|
|
1496
|
-
type Props$
|
|
1496
|
+
type Props$1p = OwnProps & NativeProps;
|
|
1497
1497
|
/**
|
|
1498
1498
|
* Standard text input with a string-only API. The default choice for a bare text input.
|
|
1499
1499
|
*
|
|
@@ -1505,42 +1505,42 @@ type Props$1o = OwnProps & NativeProps;
|
|
|
1505
1505
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1506
1506
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1507
1507
|
*/
|
|
1508
|
-
declare const TextInput: ({ ref, value, defaultValue, type, variant, onValueChange, onChange, onValueBlur, onBlur, ...props }: Props$
|
|
1508
|
+
declare const TextInput: ({ ref, value, defaultValue, type, variant, onValueChange, onChange, onValueBlur, onBlur, ...props }: Props$1p & {
|
|
1509
1509
|
ref?: Ref<ElementRef<"input">>;
|
|
1510
1510
|
}) => react_jsx_runtime.JSX.Element;
|
|
1511
1511
|
|
|
1512
|
-
type Props$
|
|
1513
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1512
|
+
type Props$1o = ComponentProps<typeof TextInput>;
|
|
1513
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$1o & {
|
|
1514
1514
|
ref?: Ref<ElementRef<"input">>;
|
|
1515
1515
|
}) => react_jsx_runtime.JSX.Element;
|
|
1516
1516
|
|
|
1517
|
-
type Props$
|
|
1517
|
+
type Props$1n = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1518
1518
|
viewPortClassName?: string;
|
|
1519
1519
|
scrollBarClassName?: string;
|
|
1520
1520
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1521
1521
|
};
|
|
1522
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1522
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$1n & {
|
|
1523
1523
|
ref?: Ref<ElementRef<"div">>;
|
|
1524
1524
|
}) => react_jsx_runtime.JSX.Element;
|
|
1525
1525
|
|
|
1526
|
-
type Props$
|
|
1527
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1526
|
+
type Props$1m = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1527
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$1m) => react_jsx_runtime.JSX.Element;
|
|
1528
1528
|
|
|
1529
|
-
type Props$
|
|
1530
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1529
|
+
type Props$1l = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1530
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$1l & {
|
|
1531
1531
|
ref?: Ref<ElementRef<"div">>;
|
|
1532
1532
|
}) => react_jsx_runtime.JSX.Element;
|
|
1533
1533
|
|
|
1534
|
-
type Props$
|
|
1535
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
1534
|
+
type Props$1k = ComponentProps<typeof Command$1.Group>;
|
|
1535
|
+
declare const CommandGroup: ({ className, ...props }: Props$1k) => react_jsx_runtime.JSX.Element;
|
|
1536
1536
|
|
|
1537
|
-
type Props$
|
|
1537
|
+
type Props$1j = ComponentProps<typeof Command$1.Item> & {
|
|
1538
1538
|
icon?: ReactNode;
|
|
1539
1539
|
checked?: boolean;
|
|
1540
1540
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1541
1541
|
actions?: ReactNode;
|
|
1542
1542
|
};
|
|
1543
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1543
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$1j) => react_jsx_runtime.JSX.Element;
|
|
1544
1544
|
|
|
1545
1545
|
/** Viewport-relative box of the highlighted target. */
|
|
1546
1546
|
type TargetRect = {
|
|
@@ -1560,7 +1560,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1560
1560
|
*/
|
|
1561
1561
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1562
1562
|
|
|
1563
|
-
type Props$
|
|
1563
|
+
type Props$1i = {
|
|
1564
1564
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1565
1565
|
rect: TargetRect | null;
|
|
1566
1566
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1582,7 +1582,7 @@ type Props$1h = {
|
|
|
1582
1582
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1583
1583
|
* "Guided tour (recipe)" story for the composition.
|
|
1584
1584
|
*/
|
|
1585
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1585
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$1i) => react_jsx_runtime.JSX.Element;
|
|
1586
1586
|
|
|
1587
1587
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
1588
1588
|
declare const Calendar: {
|
|
@@ -1626,20 +1626,20 @@ declare const DateRangePicker: {
|
|
|
1626
1626
|
displayName: string;
|
|
1627
1627
|
};
|
|
1628
1628
|
|
|
1629
|
-
type Props$
|
|
1629
|
+
type Props$1h = {
|
|
1630
1630
|
children?: ReactNode;
|
|
1631
1631
|
defaultSelected?: string | null;
|
|
1632
1632
|
selected?: string | null;
|
|
1633
1633
|
onSelect?: (time: string) => void;
|
|
1634
1634
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1635
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$
|
|
1635
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$1h) => react_jsx_runtime.JSX.Element;
|
|
1636
1636
|
|
|
1637
|
-
type Props$
|
|
1637
|
+
type Props$1g = {
|
|
1638
1638
|
id?: string | number;
|
|
1639
1639
|
htmlFor?: string | number;
|
|
1640
|
-
} & Omit<LabelProps, 'id' | 'htmlFor'>;
|
|
1640
|
+
} & Omit<LabelProps$1, 'id' | 'htmlFor'>;
|
|
1641
1641
|
declare const Label: {
|
|
1642
|
-
({ className, children, id, htmlFor, ...rest }: Props$
|
|
1642
|
+
({ className, children, id, htmlFor, ...rest }: Props$1g): react_jsx_runtime.JSX.Element;
|
|
1643
1643
|
Optional: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1644
1644
|
Required: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1645
1645
|
};
|
|
@@ -1653,21 +1653,21 @@ declare const switchVariants: (props?: ({
|
|
|
1653
1653
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
1654
1654
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1655
1655
|
|
|
1656
|
-
type Props$
|
|
1656
|
+
type Props$1f = {
|
|
1657
1657
|
id?: string | number;
|
|
1658
1658
|
children?: ReactNode;
|
|
1659
1659
|
description?: ReactNode;
|
|
1660
1660
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1661
1661
|
position?: 'start' | 'end';
|
|
1662
1662
|
} & Omit<ComponentProps<typeof Root$6>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
1663
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
1663
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$1f & {
|
|
1664
1664
|
ref?: Ref<ElementRef<"button">>;
|
|
1665
1665
|
}) => react_jsx_runtime.JSX.Element;
|
|
1666
1666
|
|
|
1667
1667
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
1668
1668
|
type Orientation = 'vertical' | 'horizontal';
|
|
1669
1669
|
|
|
1670
|
-
type Props$
|
|
1670
|
+
type Props$1e<Value> = {
|
|
1671
1671
|
variant?: Variant$7;
|
|
1672
1672
|
orientation?: Orientation;
|
|
1673
1673
|
onValueChange?: (value: Value) => void;
|
|
@@ -1675,7 +1675,7 @@ type Props$1d<Value> = {
|
|
|
1675
1675
|
defaultValue?: Value | null;
|
|
1676
1676
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1677
1677
|
declare const RadioGroup: {
|
|
1678
|
-
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
1678
|
+
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$1e<Value>): react_jsx_runtime.JSX.Element;
|
|
1679
1679
|
Item: <T extends string = string>({ children, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1680
1680
|
content?: string | undefined | undefined;
|
|
1681
1681
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -1972,34 +1972,34 @@ declare const RadioGroup: {
|
|
|
1972
1972
|
} & {
|
|
1973
1973
|
value: T;
|
|
1974
1974
|
tooltip?: react.ReactNode;
|
|
1975
|
-
tooltipVariant?: Props$
|
|
1976
|
-
tooltipPlacement?: Props$
|
|
1975
|
+
tooltipVariant?: Props$1O["variant"];
|
|
1976
|
+
tooltipPlacement?: Props$1O["placement"];
|
|
1977
1977
|
description?: react.ReactNode;
|
|
1978
1978
|
}) => react_jsx_runtime.JSX.Element;
|
|
1979
1979
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
1980
1980
|
};
|
|
1981
1981
|
|
|
1982
|
-
type Props$
|
|
1982
|
+
type Props$1d = ComponentProps<typeof Thumb> & {
|
|
1983
1983
|
tooltip?: ReactNode;
|
|
1984
1984
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
1985
1985
|
};
|
|
1986
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
1986
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$1d & {
|
|
1987
1987
|
ref?: Ref<ElementRef<typeof Thumb>>;
|
|
1988
1988
|
}) => react_jsx_runtime.JSX.Element;
|
|
1989
1989
|
|
|
1990
1990
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
1991
|
-
type Props$
|
|
1991
|
+
type Props$1c = ComponentProps<typeof Root$7> & {
|
|
1992
1992
|
thumbTooltip?: ThumbTooltipFn;
|
|
1993
1993
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
1994
1994
|
rangeClassName?: string;
|
|
1995
1995
|
};
|
|
1996
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
1996
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$1c & {
|
|
1997
1997
|
ref?: Ref<ElementRef<typeof Root$7>>;
|
|
1998
1998
|
}) => react_jsx_runtime.JSX.Element;
|
|
1999
1999
|
|
|
2000
2000
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent$1<HTMLButtonElement>) => void;
|
|
2001
2001
|
type SearchBlurEventHandler = (value: string, event: FocusEvent$1<HTMLInputElement, Element>) => void;
|
|
2002
|
-
type Props$
|
|
2002
|
+
type Props$1b = {
|
|
2003
2003
|
suffix?: ReactNode;
|
|
2004
2004
|
disableDebounce?: boolean;
|
|
2005
2005
|
debounceDelay?: number;
|
|
@@ -2014,14 +2014,14 @@ type Props$1a = {
|
|
|
2014
2014
|
/**
|
|
2015
2015
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
2016
2016
|
*/
|
|
2017
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
2017
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$1b & {
|
|
2018
2018
|
ref?: Ref<ElementRef<"input">>;
|
|
2019
2019
|
}) => react_jsx_runtime.JSX.Element;
|
|
2020
2020
|
|
|
2021
|
-
type Props$
|
|
2021
|
+
type Props$1a = {
|
|
2022
2022
|
onSubmit: (value: string) => void;
|
|
2023
2023
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
2024
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
2024
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$1a & {
|
|
2025
2025
|
ref?: Ref<ElementRef<"input">>;
|
|
2026
2026
|
}) => react_jsx_runtime.JSX.Element;
|
|
2027
2027
|
|
|
@@ -2046,10 +2046,10 @@ declare const variants$2: (props?: ({
|
|
|
2046
2046
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2047
2047
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2048
2048
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2049
|
-
type Props$
|
|
2049
|
+
type Props$19 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof variants$2>, 'variant'> & {
|
|
2050
2050
|
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'>;
|
|
2051
2051
|
} & Pick<ComponentProps<typeof _radix_ui_react_select.Value>, 'placeholder'>;
|
|
2052
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
2052
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$19 & {
|
|
2053
2053
|
ref?: Ref<ElementRef<"button">>;
|
|
2054
2054
|
}) => react_jsx_runtime.JSX.Element;
|
|
2055
2055
|
|
|
@@ -2068,7 +2068,7 @@ type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
|
2068
2068
|
* Props for `Select`. Combines Radix `Select.Root` control props with `Select.Trigger` chrome and the
|
|
2069
2069
|
* convenience `items` shape (flat list, or grouped lists with optional labels).
|
|
2070
2070
|
*/
|
|
2071
|
-
type Props$
|
|
2071
|
+
type Props$18 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className'> & {
|
|
2072
2072
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
2073
2073
|
};
|
|
2074
2074
|
/**
|
|
@@ -2083,7 +2083,7 @@ type Props$17 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange'
|
|
|
2083
2083
|
* `Select.Item`) for custom item layouts; the top-level `Select` covers the common cases.
|
|
2084
2084
|
*/
|
|
2085
2085
|
declare const Select: {
|
|
2086
|
-
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$
|
|
2086
|
+
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$18): react_jsx_runtime.JSX.Element;
|
|
2087
2087
|
Root: (props: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
2088
2088
|
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: (_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
2089
2089
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
@@ -2113,51 +2113,51 @@ declare const Select: {
|
|
|
2113
2113
|
Separator: ({ className, ...props }: _radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2114
2114
|
};
|
|
2115
2115
|
|
|
2116
|
-
type Props$
|
|
2116
|
+
type Props$17 = {
|
|
2117
2117
|
id?: string | number;
|
|
2118
2118
|
description?: ReactNode;
|
|
2119
2119
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
2120
2120
|
position?: 'start' | 'end';
|
|
2121
|
-
tooltip?: Props$
|
|
2122
|
-
tooltipPlacement?: Props$
|
|
2121
|
+
tooltip?: Props$1O['tooltip'];
|
|
2122
|
+
tooltipPlacement?: Props$1O['placement'];
|
|
2123
2123
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
2124
|
-
declare function Checkbox(prop: Omit<Props$
|
|
2124
|
+
declare function Checkbox(prop: Omit<Props$17, 'checked' | 'onCheckedChange'> & {
|
|
2125
2125
|
checked?: boolean;
|
|
2126
2126
|
onCheckedChange?: (checked: boolean) => void;
|
|
2127
2127
|
}): ReactNode;
|
|
2128
|
-
declare function Checkbox(prop: Omit<Props$
|
|
2128
|
+
declare function Checkbox(prop: Omit<Props$17, 'checked' | 'onCheckedChange'> & {
|
|
2129
2129
|
checked?: CheckedState;
|
|
2130
2130
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
2131
2131
|
}): ReactNode;
|
|
2132
2132
|
|
|
2133
2133
|
type Variant$6 = 'check' | 'checkbox';
|
|
2134
|
-
type Props$
|
|
2134
|
+
type Props$16 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
2135
2135
|
className?: string;
|
|
2136
2136
|
variant?: Variant$6;
|
|
2137
2137
|
};
|
|
2138
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
2138
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$16 & {
|
|
2139
2139
|
ref?: Ref<ElementRef<"span">>;
|
|
2140
2140
|
}) => react_jsx_runtime.JSX.Element;
|
|
2141
2141
|
|
|
2142
|
-
type Props$
|
|
2143
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
2142
|
+
type Props$15 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
2143
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$15 & {
|
|
2144
2144
|
ref?: Ref<ElementRef<"input">>;
|
|
2145
2145
|
}) => react_jsx_runtime.JSX.Element;
|
|
2146
2146
|
|
|
2147
2147
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
2148
|
-
type Props$
|
|
2148
|
+
type Props$14 = InputGroupProps$6 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
2149
2149
|
className?: string;
|
|
2150
2150
|
};
|
|
2151
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
2151
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$14 & {
|
|
2152
2152
|
ref?: Ref<ElementRef<"div">>;
|
|
2153
2153
|
}) => react_jsx_runtime.JSX.Element;
|
|
2154
2154
|
|
|
2155
|
-
type Props$
|
|
2155
|
+
type Props$13 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
2156
2156
|
className?: string;
|
|
2157
2157
|
icon?: ReactNode;
|
|
2158
2158
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
2159
2159
|
};
|
|
2160
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
2160
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$13 & {
|
|
2161
2161
|
ref?: Ref<ElementRef<"div">>;
|
|
2162
2162
|
}) => react_jsx_runtime.JSX.Element;
|
|
2163
2163
|
|
|
@@ -2177,7 +2177,7 @@ type CreatableProps<Value> = {
|
|
|
2177
2177
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
2178
2178
|
queryToCreateValue?: (query: string) => Value;
|
|
2179
2179
|
};
|
|
2180
|
-
type Props$
|
|
2180
|
+
type Props$12<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps<Value> & {
|
|
2181
2181
|
items?: readonly (Value | GroupShape)[];
|
|
2182
2182
|
allowClear?: boolean;
|
|
2183
2183
|
empty?: ReactNode;
|
|
@@ -2189,7 +2189,7 @@ type Props$11<Value, GroupShape extends Group<Value> = Group<Value>> = PublicCom
|
|
|
2189
2189
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
2190
2190
|
};
|
|
2191
2191
|
declare const Combobox: {
|
|
2192
|
-
<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$
|
|
2192
|
+
<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$12<Value, GroupShape>): react_jsx_runtime.JSX.Element;
|
|
2193
2193
|
Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
|
|
2194
2194
|
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: ({
|
|
2195
2195
|
variant?: "primary" | "secondary" | null | undefined;
|
|
@@ -2572,7 +2572,7 @@ type Indicator = NonNullable<ComboboxItemProps['indicator']>;
|
|
|
2572
2572
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
2573
2573
|
* the default substring matcher.
|
|
2574
2574
|
*/
|
|
2575
|
-
type Props$
|
|
2575
|
+
type Props$11<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'> & {
|
|
2576
2576
|
items?: readonly (Value | GroupShape)[];
|
|
2577
2577
|
allowClear?: boolean;
|
|
2578
2578
|
allowSelectAll?: boolean;
|
|
@@ -2596,7 +2596,7 @@ type Props$10<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<Comb
|
|
|
2596
2596
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
2597
2597
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
2598
2598
|
*/
|
|
2599
|
-
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$
|
|
2599
|
+
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$11<Value, GroupShape>) => react_jsx_runtime.JSX.Element;
|
|
2600
2600
|
|
|
2601
2601
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
2602
2602
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
@@ -2609,12 +2609,12 @@ type TextareaOwnProps = {
|
|
|
2609
2609
|
disableResize?: boolean;
|
|
2610
2610
|
containerClassName?: string;
|
|
2611
2611
|
};
|
|
2612
|
-
type Props
|
|
2612
|
+
type Props$10 = InputGroupProps$5 & TextareaNativeProps & TextareaOwnProps;
|
|
2613
2613
|
/**
|
|
2614
2614
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
2615
2615
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
2616
2616
|
*/
|
|
2617
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props
|
|
2617
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props$10 & {
|
|
2618
2618
|
ref?: Ref<ElementRef<"textarea">>;
|
|
2619
2619
|
}) => react_jsx_runtime.JSX.Element;
|
|
2620
2620
|
|
|
@@ -2629,14 +2629,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
2629
2629
|
|
|
2630
2630
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2631
2631
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2632
|
-
type Props
|
|
2632
|
+
type Props$$ = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
2633
2633
|
value?: string | null;
|
|
2634
2634
|
defaultValue?: string | null;
|
|
2635
2635
|
onValueChange?: (value: string) => void;
|
|
2636
2636
|
onValueBlur?: (value: string) => void;
|
|
2637
2637
|
allowClear?: boolean;
|
|
2638
2638
|
};
|
|
2639
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props
|
|
2639
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$$ & {
|
|
2640
2640
|
ref?: Ref<ElementRef<"input">>;
|
|
2641
2641
|
}) => react_jsx_runtime.JSX.Element;
|
|
2642
2642
|
|
|
@@ -2673,12 +2673,12 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
2673
2673
|
setScheme: (next: ColorScheme) => void;
|
|
2674
2674
|
};
|
|
2675
2675
|
|
|
2676
|
-
type Props$
|
|
2676
|
+
type Props$_ = UseColorSchemeOptions & UseBrandOptions & {
|
|
2677
2677
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
2678
2678
|
brands?: readonly Brand[];
|
|
2679
2679
|
children: ReactNode;
|
|
2680
2680
|
};
|
|
2681
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$
|
|
2681
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$_) => react_jsx_runtime.JSX.Element;
|
|
2682
2682
|
|
|
2683
2683
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
2684
2684
|
themes: Theme[];
|
|
@@ -2702,7 +2702,7 @@ declare const useArgoDesign: () => boolean;
|
|
|
2702
2702
|
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
2703
2703
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
2704
2704
|
|
|
2705
|
-
type Props$
|
|
2705
|
+
type Props$Z = {
|
|
2706
2706
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
2707
2707
|
value: ColorScheme;
|
|
2708
2708
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -2727,11 +2727,11 @@ type Props$Y = {
|
|
|
2727
2727
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
2728
2728
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
2729
2729
|
*/
|
|
2730
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
2730
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$Z) => react_jsx_runtime.JSX.Element;
|
|
2731
2731
|
|
|
2732
2732
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2733
2733
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
2734
|
-
type Props$
|
|
2734
|
+
type Props$Y = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
2735
2735
|
value?: number | null;
|
|
2736
2736
|
defaultValue?: number | null;
|
|
2737
2737
|
onValueChange?: (value: number | null) => void;
|
|
@@ -2739,13 +2739,13 @@ type Props$X = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
2739
2739
|
prefix?: ReactNode;
|
|
2740
2740
|
suffix?: ReactNode;
|
|
2741
2741
|
};
|
|
2742
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
2742
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$Y & {
|
|
2743
2743
|
ref?: Ref<ElementRef<"input">>;
|
|
2744
2744
|
}) => react_jsx_runtime.JSX.Element;
|
|
2745
2745
|
|
|
2746
2746
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2747
2747
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
2748
|
-
type Props$
|
|
2748
|
+
type Props$X = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
2749
2749
|
value?: string | null;
|
|
2750
2750
|
defaultValue?: string | null;
|
|
2751
2751
|
onValueChange?: (value: string) => void;
|
|
@@ -2755,20 +2755,20 @@ type Props$W = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
|
2755
2755
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
2756
2756
|
defaultPasswordVisibility?: boolean;
|
|
2757
2757
|
};
|
|
2758
|
-
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$
|
|
2758
|
+
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$X & {
|
|
2759
2759
|
ref?: Ref<ElementRef<"input">>;
|
|
2760
2760
|
}) => react_jsx_runtime.JSX.Element;
|
|
2761
2761
|
|
|
2762
2762
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2763
2763
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2764
|
-
type Props$
|
|
2764
|
+
type Props$W = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
2765
2765
|
value?: string | null;
|
|
2766
2766
|
defaultValue?: string | null;
|
|
2767
2767
|
onValueChange?: (value: string | null) => void;
|
|
2768
2768
|
onValueBlur?: (value: string | null) => void;
|
|
2769
2769
|
allowClear?: boolean;
|
|
2770
2770
|
};
|
|
2771
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2771
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$W & {
|
|
2772
2772
|
ref?: Ref<ElementRef<"input">>;
|
|
2773
2773
|
}) => react_jsx_runtime.JSX.Element;
|
|
2774
2774
|
|
|
@@ -2781,8 +2781,8 @@ type RootOwnProps = {
|
|
|
2781
2781
|
sizing?: OtpInputSizing;
|
|
2782
2782
|
containerClassName?: string;
|
|
2783
2783
|
};
|
|
2784
|
-
type RootProps$
|
|
2785
|
-
declare const OtpInput: (({ ref, sizing, pattern, containerClassName, className, children, "aria-invalid": ariaInvalid, ...rest }: RootProps$
|
|
2784
|
+
type RootProps$7 = OtpElementChildrenProps & RootOwnProps;
|
|
2785
|
+
declare const OtpInput: (({ ref, sizing, pattern, containerClassName, className, children, "aria-invalid": ariaInvalid, ...rest }: RootProps$7 & {
|
|
2786
2786
|
ref?: Ref<HTMLInputElement>;
|
|
2787
2787
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2788
2788
|
Group: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
@@ -2806,7 +2806,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
2806
2806
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
2807
2807
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
2808
2808
|
*/
|
|
2809
|
-
type Props$
|
|
2809
|
+
type Props$V = InputGroupProps & InputGroupInputProps & {
|
|
2810
2810
|
value?: string | null;
|
|
2811
2811
|
defaultValue?: string | null;
|
|
2812
2812
|
/** 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`. */
|
|
@@ -2835,7 +2835,7 @@ type Props$U = InputGroupProps & InputGroupInputProps & {
|
|
|
2835
2835
|
*
|
|
2836
2836
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
2837
2837
|
*/
|
|
2838
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
2838
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$V & {
|
|
2839
2839
|
ref?: Ref<ElementRef<"input">>;
|
|
2840
2840
|
}) => react_jsx_runtime.JSX.Element;
|
|
2841
2841
|
|
|
@@ -2860,15 +2860,15 @@ declare const addonVariants: (props?: ({
|
|
|
2860
2860
|
align?: "inline-start" | "inline-end" | null | undefined;
|
|
2861
2861
|
variant?: "inline" | "floating" | null | undefined;
|
|
2862
2862
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2863
|
-
type Props$
|
|
2864
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
2863
|
+
type Props$U = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
2864
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$U & {
|
|
2865
2865
|
ref?: Ref<ElementRef<"div">>;
|
|
2866
2866
|
}) => react_jsx_runtime.JSX.Element;
|
|
2867
2867
|
|
|
2868
|
-
type Props$
|
|
2868
|
+
type Props$T = ComponentProps<'span'> & {
|
|
2869
2869
|
asChild?: boolean;
|
|
2870
2870
|
};
|
|
2871
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
2871
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$T & {
|
|
2872
2872
|
ref?: Ref<ElementRef<"span">>;
|
|
2873
2873
|
}) => react_jsx_runtime.JSX.Element;
|
|
2874
2874
|
|
|
@@ -2877,8 +2877,8 @@ declare const badgeRootVariants: (props?: ({
|
|
|
2877
2877
|
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;
|
|
2878
2878
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2879
2879
|
|
|
2880
|
-
type Props$
|
|
2881
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$
|
|
2880
|
+
type Props$S = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
2881
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$S & {
|
|
2882
2882
|
ref?: Ref<ElementRef<"div">>;
|
|
2883
2883
|
}) => react_jsx_runtime.JSX.Element;
|
|
2884
2884
|
|
|
@@ -2890,14 +2890,14 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
2890
2890
|
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
2891
2891
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
2892
2892
|
*/
|
|
2893
|
-
type Props$
|
|
2893
|
+
type Props$R = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
2894
2894
|
prefix?: ReactNode;
|
|
2895
2895
|
prefixVariant?: AddonVariant;
|
|
2896
2896
|
suffix?: ReactNode;
|
|
2897
2897
|
suffixVariant?: AddonVariant;
|
|
2898
2898
|
labelClassName?: string;
|
|
2899
2899
|
};
|
|
2900
|
-
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
2900
|
+
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$R & {
|
|
2901
2901
|
ref?: Ref<ElementRef<"span">>;
|
|
2902
2902
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2903
2903
|
Root: ({ ref, variant, color, className, children, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -2929,45 +2929,45 @@ type TagOption = {
|
|
|
2929
2929
|
disabled?: boolean;
|
|
2930
2930
|
};
|
|
2931
2931
|
|
|
2932
|
-
type Props$
|
|
2932
|
+
type Props$Q = {
|
|
2933
2933
|
onCreate?: (search: string) => void;
|
|
2934
2934
|
} & Pick<ComponentProps<typeof Command.Item>, 'value'>;
|
|
2935
|
-
declare const TagSelectCreateItem: ({ onCreate, value }: Props$
|
|
2935
|
+
declare const TagSelectCreateItem: ({ onCreate, value }: Props$Q) => react_jsx_runtime.JSX.Element;
|
|
2936
2936
|
|
|
2937
|
-
type Props$
|
|
2937
|
+
type Props$P = {
|
|
2938
2938
|
value: string[];
|
|
2939
2939
|
onAdd?: (selected: string[]) => void;
|
|
2940
2940
|
};
|
|
2941
|
-
declare const TagSelectValue: ({ value, onAdd }: Props$
|
|
2941
|
+
declare const TagSelectValue: ({ value, onAdd }: Props$P) => react_jsx_runtime.JSX.Element;
|
|
2942
2942
|
|
|
2943
|
-
type Props$
|
|
2943
|
+
type Props$O = {
|
|
2944
2944
|
options?: TagOption[];
|
|
2945
2945
|
} & Pick<ComponentProps<typeof TagSelectValue>, 'onAdd'> & Pick<ComponentProps<typeof TagSelectCreateItem>, 'onCreate'>;
|
|
2946
|
-
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$
|
|
2946
|
+
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$O) => react_jsx_runtime.JSX.Element;
|
|
2947
2947
|
|
|
2948
|
-
type Props$
|
|
2948
|
+
type Props$N = {
|
|
2949
2949
|
children: ReactNode;
|
|
2950
2950
|
} & ComponentProps<typeof TagSelectList>;
|
|
2951
|
-
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$
|
|
2951
|
+
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
2952
2952
|
|
|
2953
2953
|
type OnValueChangeHandler = (value: {
|
|
2954
2954
|
action: 'add' | 'remove';
|
|
2955
2955
|
tags: TagOption[];
|
|
2956
2956
|
allTags: TagOption[];
|
|
2957
2957
|
}) => void;
|
|
2958
|
-
type Props$
|
|
2958
|
+
type Props$M = {
|
|
2959
2959
|
value?: TagOption[];
|
|
2960
2960
|
onValueChange: OnValueChangeHandler;
|
|
2961
2961
|
disabled?: boolean;
|
|
2962
2962
|
} & Pick<ComponentProps<typeof TagSelectPopover>, 'options' | 'onCreate'>;
|
|
2963
|
-
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$
|
|
2963
|
+
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$M) => react_jsx_runtime.JSX.Element | null;
|
|
2964
2964
|
|
|
2965
2965
|
/**
|
|
2966
2966
|
* Props for `FileUpload`. The component is uncontrolled with respect to the file
|
|
2967
2967
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
2968
2968
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
2969
2969
|
*/
|
|
2970
|
-
type Props$
|
|
2970
|
+
type Props$L = {
|
|
2971
2971
|
/** MIME / extension filter passed straight to react-dropzone. */
|
|
2972
2972
|
accept?: Accept;
|
|
2973
2973
|
/** Max size per file, in bytes. Oversized files are rejected and surface in `onFilesRejected`. */
|
|
@@ -2986,7 +2986,7 @@ type Props$K = {
|
|
|
2986
2986
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
2987
2987
|
children: ReactNode;
|
|
2988
2988
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'>;
|
|
2989
|
-
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
2989
|
+
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$L) => react_jsx_runtime.JSX.Element) & {
|
|
2990
2990
|
DropZone: ({ children, className, ...rest }: {
|
|
2991
2991
|
children?: ReactNode;
|
|
2992
2992
|
} & Omit<HTMLAttributes<HTMLDivElement>, "children">) => react_jsx_runtime.JSX.Element;
|
|
@@ -4594,43 +4594,43 @@ declare const FormGroup: {
|
|
|
4594
4594
|
declare const helpVariants: (props?: ({
|
|
4595
4595
|
state?: "warning" | "default" | null | undefined;
|
|
4596
4596
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4597
|
-
type Props$
|
|
4598
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4597
|
+
type Props$K = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4598
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$K) => react_jsx_runtime.JSX.Element | null;
|
|
4599
4599
|
|
|
4600
4600
|
type AnswerItem = {
|
|
4601
4601
|
question: string;
|
|
4602
4602
|
answer?: string;
|
|
4603
4603
|
};
|
|
4604
4604
|
type Variant$5 = 'success' | 'dismissed';
|
|
4605
|
-
type Props$
|
|
4605
|
+
type Props$J = {
|
|
4606
4606
|
items: readonly AnswerItem[];
|
|
4607
4607
|
variant?: Variant$5;
|
|
4608
4608
|
noAnswerLabel?: string;
|
|
4609
4609
|
};
|
|
4610
|
-
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$
|
|
4610
|
+
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$J) => react_jsx_runtime.JSX.Element;
|
|
4611
4611
|
|
|
4612
4612
|
type Variant$4 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4613
|
-
type Props$
|
|
4613
|
+
type Props$I = {
|
|
4614
4614
|
isExpanded: boolean;
|
|
4615
4615
|
onToggle: () => void;
|
|
4616
4616
|
label: ReactNode;
|
|
4617
4617
|
variant?: Variant$4;
|
|
4618
4618
|
};
|
|
4619
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$
|
|
4619
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$I) => react_jsx_runtime.JSX.Element;
|
|
4620
4620
|
|
|
4621
|
-
type Props$
|
|
4621
|
+
type Props$H = {
|
|
4622
4622
|
children: ReactNode;
|
|
4623
4623
|
};
|
|
4624
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
4624
|
+
declare const InlineStepDetail: ({ children }: Props$H) => react_jsx_runtime.JSX.Element;
|
|
4625
4625
|
|
|
4626
4626
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4627
|
-
type Props$
|
|
4627
|
+
type Props$G = {
|
|
4628
4628
|
variant: Variant$3;
|
|
4629
4629
|
children: ReactNode;
|
|
4630
4630
|
};
|
|
4631
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
4631
|
+
declare const InlineStepLabel: ({ variant, children }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
4632
4632
|
|
|
4633
|
-
type Props$
|
|
4633
|
+
type Props$F = {
|
|
4634
4634
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4635
4635
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4636
4636
|
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
@@ -4642,9 +4642,9 @@ type Props$E = {
|
|
|
4642
4642
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4643
4643
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4644
4644
|
*/
|
|
4645
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4645
|
+
declare const Markdown: ({ children, className }: Props$F) => react_jsx_runtime.JSX.Element;
|
|
4646
4646
|
|
|
4647
|
-
type Props$
|
|
4647
|
+
type Props$E = {
|
|
4648
4648
|
user?: {
|
|
4649
4649
|
name: string | undefined;
|
|
4650
4650
|
email: string | undefined;
|
|
@@ -4654,17 +4654,17 @@ type Props$D = {
|
|
|
4654
4654
|
size?: number;
|
|
4655
4655
|
variant?: 'circle' | 'rounded';
|
|
4656
4656
|
} & ComponentProps<'span'>;
|
|
4657
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4657
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$E & {
|
|
4658
4658
|
ref?: Ref<ElementRef<"span">>;
|
|
4659
4659
|
}) => react_jsx_runtime.JSX.Element;
|
|
4660
4660
|
|
|
4661
|
-
type Props$
|
|
4661
|
+
type Props$D = {
|
|
4662
4662
|
variant: 'user' | 'assistant';
|
|
4663
4663
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4664
4664
|
actions?: ReactNode;
|
|
4665
4665
|
createdAt?: string;
|
|
4666
4666
|
} & PropsWithChildren;
|
|
4667
|
-
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$
|
|
4667
|
+
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$D) => react_jsx_runtime.JSX.Element;
|
|
4668
4668
|
|
|
4669
4669
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
4670
4670
|
type PlanApprovalProps = {
|
|
@@ -4712,17 +4712,17 @@ type PromptCommand = {
|
|
|
4712
4712
|
};
|
|
4713
4713
|
|
|
4714
4714
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4715
|
-
type Props$
|
|
4715
|
+
type Props$C = Pick<ComponentProps<typeof Button>, 'disabled'> & {
|
|
4716
4716
|
status?: SubmitStatus;
|
|
4717
4717
|
};
|
|
4718
|
-
declare const PromptInputSubmit: ({ ref, disabled, status, }: Props$
|
|
4718
|
+
declare const PromptInputSubmit: ({ ref, disabled, status, }: Props$C & {
|
|
4719
4719
|
ref?: Ref<ElementRef<"button">>;
|
|
4720
4720
|
}) => react_jsx_runtime.JSX.Element;
|
|
4721
4721
|
|
|
4722
4722
|
declare const promptInputVariants: (props?: ({
|
|
4723
4723
|
variant?: "inline" | "default" | null | undefined;
|
|
4724
4724
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4725
|
-
type Props$
|
|
4725
|
+
type Props$B = {
|
|
4726
4726
|
onSend?: (value: string) => void;
|
|
4727
4727
|
onAbort?: () => void;
|
|
4728
4728
|
onContinue?: () => void;
|
|
@@ -4736,7 +4736,7 @@ type Props$A = {
|
|
|
4736
4736
|
commands?: PromptCommand[];
|
|
4737
4737
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof react_textarea_autosize__default>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4738
4738
|
declare const PromptInput: {
|
|
4739
|
-
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4739
|
+
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$B): react_jsx_runtime.JSX.Element;
|
|
4740
4740
|
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & {
|
|
4741
4741
|
ref?: react.Ref<ElementRef<"button">>;
|
|
4742
4742
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -4748,7 +4748,7 @@ type QuestionOption = {
|
|
|
4748
4748
|
description?: string;
|
|
4749
4749
|
preview?: string;
|
|
4750
4750
|
};
|
|
4751
|
-
type Props$
|
|
4751
|
+
type Props$A = {
|
|
4752
4752
|
question: string;
|
|
4753
4753
|
header?: string;
|
|
4754
4754
|
options: readonly QuestionOption[];
|
|
@@ -4771,7 +4771,7 @@ type Props$z = {
|
|
|
4771
4771
|
renderPreview?: (content: string) => ReactNode;
|
|
4772
4772
|
className?: string;
|
|
4773
4773
|
};
|
|
4774
|
-
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$
|
|
4774
|
+
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$A) => react_jsx_runtime.JSX.Element;
|
|
4775
4775
|
|
|
4776
4776
|
type QuestionStep = {
|
|
4777
4777
|
question: string;
|
|
@@ -4785,7 +4785,7 @@ type QuestionAnswers = {
|
|
|
4785
4785
|
selections: Record<number, readonly string[]>;
|
|
4786
4786
|
customAnswers: Record<number, string>;
|
|
4787
4787
|
};
|
|
4788
|
-
type Props$
|
|
4788
|
+
type Props$z = {
|
|
4789
4789
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
4790
4790
|
showSkip?: boolean;
|
|
4791
4791
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -4793,16 +4793,16 @@ type Props$y = {
|
|
|
4793
4793
|
renderPreview?: (content: string) => ReactNode;
|
|
4794
4794
|
className?: string;
|
|
4795
4795
|
};
|
|
4796
|
-
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$
|
|
4796
|
+
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$z) => react_jsx_runtime.JSX.Element;
|
|
4797
4797
|
|
|
4798
|
-
type Props$
|
|
4798
|
+
type Props$y = {
|
|
4799
4799
|
label: string;
|
|
4800
4800
|
disabled?: boolean;
|
|
4801
4801
|
onClick: () => void;
|
|
4802
4802
|
icon?: ReactNode;
|
|
4803
4803
|
className?: string;
|
|
4804
4804
|
};
|
|
4805
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4805
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
4806
4806
|
|
|
4807
4807
|
type ThinkingIndicatorProps = {
|
|
4808
4808
|
label?: string;
|
|
@@ -4861,7 +4861,7 @@ type ToolCallChipProps = {
|
|
|
4861
4861
|
*/
|
|
4862
4862
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className, }: ToolCallChipProps) => react_jsx_runtime.JSX.Element;
|
|
4863
4863
|
|
|
4864
|
-
type Props$
|
|
4864
|
+
type Props$x = {
|
|
4865
4865
|
value: number;
|
|
4866
4866
|
alert?: boolean;
|
|
4867
4867
|
children: ReactNode;
|
|
@@ -4875,19 +4875,19 @@ type Props$w = {
|
|
|
4875
4875
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4876
4876
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4877
4877
|
};
|
|
4878
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$
|
|
4878
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$x) => react_jsx_runtime.JSX.Element;
|
|
4879
4879
|
|
|
4880
|
-
type Props$
|
|
4880
|
+
type Props$w = {
|
|
4881
4881
|
value: number;
|
|
4882
4882
|
size?: number;
|
|
4883
4883
|
strokeWidth?: number;
|
|
4884
4884
|
className?: string;
|
|
4885
4885
|
};
|
|
4886
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4886
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
4887
4887
|
|
|
4888
|
-
type Props$
|
|
4888
|
+
type Props$v = ComponentProps<typeof Root$9>;
|
|
4889
4889
|
declare const Collapsible: {
|
|
4890
|
-
(props: Props$
|
|
4890
|
+
(props: Props$v): react_jsx_runtime.JSX.Element;
|
|
4891
4891
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
4892
4892
|
Content: ({ ref, className, children, ...props }: Omit<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
4893
4893
|
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
@@ -4895,10 +4895,10 @@ declare const Collapsible: {
|
|
|
4895
4895
|
};
|
|
4896
4896
|
|
|
4897
4897
|
type Variant$2 = 'info' | 'warning' | 'error' | 'success';
|
|
4898
|
-
type Props$
|
|
4898
|
+
type Props$u = {
|
|
4899
4899
|
variant?: Variant$2;
|
|
4900
4900
|
} & ComponentProps<'div'>;
|
|
4901
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4901
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$u & {
|
|
4902
4902
|
ref?: Ref<ElementRef<"div">>;
|
|
4903
4903
|
}) => react_jsx_runtime.JSX.Element;
|
|
4904
4904
|
|
|
@@ -4923,7 +4923,7 @@ type DefaultProps = {
|
|
|
4923
4923
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4924
4924
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4925
4925
|
*/
|
|
4926
|
-
type Props$
|
|
4926
|
+
type Props$t = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4927
4927
|
/**
|
|
4928
4928
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4929
4929
|
*
|
|
@@ -4937,13 +4937,13 @@ type Props$s = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4937
4937
|
*
|
|
4938
4938
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4939
4939
|
*/
|
|
4940
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
4940
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$t) => react_jsx_runtime.JSX.Element;
|
|
4941
4941
|
|
|
4942
4942
|
declare const variants$1: (props?: ({
|
|
4943
4943
|
variant?: "success" | "warning" | "info" | "default" | "error" | null | undefined;
|
|
4944
4944
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4945
4945
|
type Variants = VariantProps<typeof variants$1>;
|
|
4946
|
-
type Props$
|
|
4946
|
+
type Props$s = {
|
|
4947
4947
|
id: string | number;
|
|
4948
4948
|
title: ReactNode;
|
|
4949
4949
|
icon?: ReactNode;
|
|
@@ -4952,7 +4952,7 @@ type Props$r = {
|
|
|
4952
4952
|
loading?: boolean;
|
|
4953
4953
|
duration?: number;
|
|
4954
4954
|
} & Variants;
|
|
4955
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$
|
|
4955
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$s) => react_jsx_runtime.JSX.Element;
|
|
4956
4956
|
|
|
4957
4957
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
4958
4958
|
type Title = ToastProps['title'] | ((opts: {
|
|
@@ -4973,7 +4973,7 @@ declare const toast: {
|
|
|
4973
4973
|
dismissAll(): string | number;
|
|
4974
4974
|
};
|
|
4975
4975
|
|
|
4976
|
-
type Props$
|
|
4976
|
+
type Props$r = {
|
|
4977
4977
|
enabled?: boolean;
|
|
4978
4978
|
} & Parameters<typeof toast>[0];
|
|
4979
4979
|
/**
|
|
@@ -4986,22 +4986,22 @@ type Props$q = {
|
|
|
4986
4986
|
* Use `toast()` for transient feedback after a user action
|
|
4987
4987
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
4988
4988
|
*/
|
|
4989
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4989
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$r) => void;
|
|
4990
4990
|
|
|
4991
4991
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
4992
4992
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
4993
4993
|
|
|
4994
|
-
type Props$
|
|
4994
|
+
type Props$q = {
|
|
4995
4995
|
children?: ReactNode;
|
|
4996
4996
|
};
|
|
4997
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4997
|
+
declare const EmptySearchContent: ({ children }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
4998
4998
|
|
|
4999
|
-
type Props$
|
|
4999
|
+
type Props$p = {
|
|
5000
5000
|
title: string;
|
|
5001
5001
|
children: ReactNode;
|
|
5002
5002
|
className?: string;
|
|
5003
5003
|
};
|
|
5004
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
5004
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$p) => react_jsx_runtime.JSX.Element;
|
|
5005
5005
|
|
|
5006
5006
|
declare const emptyStateClassnames: (props?: ({
|
|
5007
5007
|
variant?: "compact" | "default" | null | undefined;
|
|
@@ -5011,7 +5011,7 @@ type Variant$1 = VariantProps<typeof emptyStateClassnames>['variant'];
|
|
|
5011
5011
|
* Props for `EmptyState`. `variant` chooses spacing — `"default"` for full-page empty states,
|
|
5012
5012
|
* `"compact"` for inside cards / small surfaces.
|
|
5013
5013
|
*/
|
|
5014
|
-
type RootProps$
|
|
5014
|
+
type RootProps$6 = ComponentProps<'div'> & VariantProps<typeof emptyStateClassnames> & {
|
|
5015
5015
|
variant?: Variant$1;
|
|
5016
5016
|
};
|
|
5017
5017
|
/**
|
|
@@ -5026,23 +5026,23 @@ type RootProps$3 = ComponentProps<'div'> & VariantProps<typeof emptyStateClassna
|
|
|
5026
5026
|
*
|
|
5027
5027
|
* @see RECIPES.md#card-with-empty-state — for the empty-card pattern
|
|
5028
5028
|
*/
|
|
5029
|
-
declare const EmptyStateRoot: ({ className, variant, children, ...rest }: RootProps$
|
|
5029
|
+
declare const EmptyStateRoot: ({ className, variant, children, ...rest }: RootProps$6) => react_jsx_runtime.JSX.Element;
|
|
5030
5030
|
type SlotProps$2 = ComponentProps<'div'> & {
|
|
5031
5031
|
variant?: Variant$1;
|
|
5032
5032
|
};
|
|
5033
5033
|
declare const EmptyStateIcon: ({ className, variant, children, ...rest }: SlotProps$2) => react_jsx_runtime.JSX.Element;
|
|
5034
|
-
type TitleProps$
|
|
5034
|
+
type TitleProps$2 = ComponentProps<'h3'> & {
|
|
5035
5035
|
variant?: Variant$1;
|
|
5036
5036
|
};
|
|
5037
|
-
declare const EmptyStateTitle: ({ className, variant, children, ...rest }: TitleProps$
|
|
5038
|
-
type DescriptionProps$
|
|
5037
|
+
declare const EmptyStateTitle: ({ className, variant, children, ...rest }: TitleProps$2) => react_jsx_runtime.JSX.Element;
|
|
5038
|
+
type DescriptionProps$2 = ComponentProps<'p'> & {
|
|
5039
5039
|
variant?: Variant$1;
|
|
5040
5040
|
};
|
|
5041
|
-
declare const EmptyStateDescription: ({ className, variant, children, ...rest }: DescriptionProps$
|
|
5042
|
-
type ActionsProps$
|
|
5041
|
+
declare const EmptyStateDescription: ({ className, variant, children, ...rest }: DescriptionProps$2) => react_jsx_runtime.JSX.Element;
|
|
5042
|
+
type ActionsProps$2 = ComponentProps<'div'> & {
|
|
5043
5043
|
variant?: Variant$1;
|
|
5044
5044
|
};
|
|
5045
|
-
declare const EmptyStateActions: ({ className, variant, children, ...rest }: ActionsProps$
|
|
5045
|
+
declare const EmptyStateActions: ({ className, variant, children, ...rest }: ActionsProps$2) => react_jsx_runtime.JSX.Element;
|
|
5046
5046
|
declare const EmptyState: typeof EmptyStateRoot & {
|
|
5047
5047
|
Icon: typeof EmptyStateIcon;
|
|
5048
5048
|
Title: typeof EmptyStateTitle;
|
|
@@ -5058,7 +5058,7 @@ type Variant = VariantProps<typeof errorStateClassnames>['variant'];
|
|
|
5058
5058
|
* Props for `ErrorState`. `variant` chooses look — `"default"` for non-blocking errors, `"compact"` for
|
|
5059
5059
|
* inside cards, `"destructive"` for blocking failures (red title + icon).
|
|
5060
5060
|
*/
|
|
5061
|
-
type RootProps$
|
|
5061
|
+
type RootProps$5 = ComponentProps<'div'> & VariantProps<typeof errorStateClassnames> & {
|
|
5062
5062
|
variant?: Variant;
|
|
5063
5063
|
};
|
|
5064
5064
|
/**
|
|
@@ -5072,23 +5072,23 @@ type RootProps$2 = ComponentProps<'div'> & VariantProps<typeof errorStateClassna
|
|
|
5072
5072
|
* **Composition:** nest `ErrorState.Icon`, `ErrorState.Title`, `ErrorState.Description`, and
|
|
5073
5073
|
* `ErrorState.Actions`. Use `variant="destructive"` for full-page critical failures.
|
|
5074
5074
|
*/
|
|
5075
|
-
declare const ErrorStateRoot: ({ className, variant, children, ...rest }: RootProps$
|
|
5075
|
+
declare const ErrorStateRoot: ({ className, variant, children, ...rest }: RootProps$5) => react_jsx_runtime.JSX.Element;
|
|
5076
5076
|
type SlotProps$1 = ComponentProps<'div'> & {
|
|
5077
5077
|
variant?: Variant;
|
|
5078
5078
|
};
|
|
5079
5079
|
declare const ErrorStateIcon: ({ className, variant, children, ...rest }: SlotProps$1) => react_jsx_runtime.JSX.Element;
|
|
5080
|
-
type TitleProps = ComponentProps<'h3'> & {
|
|
5080
|
+
type TitleProps$1 = ComponentProps<'h3'> & {
|
|
5081
5081
|
variant?: Variant;
|
|
5082
5082
|
};
|
|
5083
|
-
declare const ErrorStateTitle: ({ className, variant, children, ...rest }: TitleProps) => react_jsx_runtime.JSX.Element;
|
|
5084
|
-
type DescriptionProps = ComponentProps<'p'> & {
|
|
5083
|
+
declare const ErrorStateTitle: ({ className, variant, children, ...rest }: TitleProps$1) => react_jsx_runtime.JSX.Element;
|
|
5084
|
+
type DescriptionProps$1 = ComponentProps<'p'> & {
|
|
5085
5085
|
variant?: Variant;
|
|
5086
5086
|
};
|
|
5087
|
-
declare const ErrorStateDescription: ({ className, variant, children, ...rest }: DescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
5088
|
-
type ActionsProps = ComponentProps<'div'> & {
|
|
5087
|
+
declare const ErrorStateDescription: ({ className, variant, children, ...rest }: DescriptionProps$1) => react_jsx_runtime.JSX.Element;
|
|
5088
|
+
type ActionsProps$1 = ComponentProps<'div'> & {
|
|
5089
5089
|
variant?: Variant;
|
|
5090
5090
|
};
|
|
5091
|
-
declare const ErrorStateActions: ({ className, variant, children, ...rest }: ActionsProps) => react_jsx_runtime.JSX.Element;
|
|
5091
|
+
declare const ErrorStateActions: ({ className, variant, children, ...rest }: ActionsProps$1) => react_jsx_runtime.JSX.Element;
|
|
5092
5092
|
declare const ErrorState: typeof ErrorStateRoot & {
|
|
5093
5093
|
Icon: typeof ErrorStateIcon;
|
|
5094
5094
|
Title: typeof ErrorStateTitle;
|
|
@@ -5141,8 +5141,8 @@ declare const variants: (props?: ({
|
|
|
5141
5141
|
variant?: "success" | "default" | null | undefined;
|
|
5142
5142
|
size?: "sm" | "lg" | null | undefined;
|
|
5143
5143
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5144
|
-
type Props$
|
|
5145
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5144
|
+
type Props$o = ComponentProps<typeof Root$a> & VariantProps<typeof variants>;
|
|
5145
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$o & {
|
|
5146
5146
|
ref?: Ref<ElementRef<typeof Root$a>>;
|
|
5147
5147
|
}) => react_jsx_runtime.JSX.Element;
|
|
5148
5148
|
|
|
@@ -5160,7 +5160,7 @@ type CollapseProps = {
|
|
|
5160
5160
|
/** @deprecated Use `Collapsible` instead. */
|
|
5161
5161
|
declare const Collapse: ({ open, header, className, bodyClassName, children, onClick, animationClassName, hidden, ...rest }: CollapseProps & ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5162
5162
|
|
|
5163
|
-
type Props$
|
|
5163
|
+
type Props$n = {
|
|
5164
5164
|
header: ReactNode;
|
|
5165
5165
|
isDisabled?: boolean;
|
|
5166
5166
|
defaultExpanded?: boolean;
|
|
@@ -5172,18 +5172,18 @@ type Props$m = {
|
|
|
5172
5172
|
variant?: 'default' | 'white';
|
|
5173
5173
|
children: ReactNode;
|
|
5174
5174
|
};
|
|
5175
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$
|
|
5175
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
5176
5176
|
|
|
5177
|
-
type Props$
|
|
5177
|
+
type Props$m = PropsWithChildren<{
|
|
5178
5178
|
defaultExpanded?: boolean;
|
|
5179
5179
|
labelCollapse?: ReactNode;
|
|
5180
5180
|
labelOpen?: ReactNode;
|
|
5181
5181
|
placement?: 'top' | 'bottom';
|
|
5182
5182
|
className?: string;
|
|
5183
5183
|
}>;
|
|
5184
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$
|
|
5184
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$m) => react_jsx_runtime.JSX.Element;
|
|
5185
5185
|
|
|
5186
|
-
type RootProps$
|
|
5186
|
+
type RootProps$4 = ComponentPropsWithoutRef<'div'>;
|
|
5187
5187
|
type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
5188
5188
|
/** Render as the child element (Radix-Slot pattern), forwarding props onto it. */
|
|
5189
5189
|
asChild?: boolean;
|
|
@@ -5207,7 +5207,7 @@ type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
5207
5207
|
* @see AppShell.stories.tsx — flip the Storybook brand toolbar to see the
|
|
5208
5208
|
* sidebar / top-nav geometry swap from a single composition.
|
|
5209
5209
|
*/
|
|
5210
|
-
declare const AppShell: (({ ref, className, children, ...props }: RootProps$
|
|
5210
|
+
declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 & {
|
|
5211
5211
|
ref?: Ref<ElementRef<"div">>;
|
|
5212
5212
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
5213
5213
|
/**
|
|
@@ -5244,7 +5244,7 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$1 &
|
|
|
5244
5244
|
* `narrow` (976px) for forms, `default` (1280px) for most pages, `wide` (1600px) for dense detail views,
|
|
5245
5245
|
* `full` for edge-to-edge layouts.
|
|
5246
5246
|
*/
|
|
5247
|
-
type RootProps = ComponentPropsWithoutRef<'div'> & {
|
|
5247
|
+
type RootProps$3 = ComponentPropsWithoutRef<'div'> & {
|
|
5248
5248
|
maxWidth?: 'default' | 'narrow' | 'wide' | 'full';
|
|
5249
5249
|
};
|
|
5250
5250
|
type FooterProps = ComponentPropsWithoutRef<'footer'> & {
|
|
@@ -5267,7 +5267,7 @@ type FooterProps = ComponentPropsWithoutRef<'footer'> & {
|
|
|
5267
5267
|
*
|
|
5268
5268
|
* @see RECIPES.md#list-detail — for the index → detail page pattern
|
|
5269
5269
|
*/
|
|
5270
|
-
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps & {
|
|
5270
|
+
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps$3 & {
|
|
5271
5271
|
ref?: Ref<ElementRef<"div">>;
|
|
5272
5272
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
5273
5273
|
/** Detail-pattern breadcrumb row. Usually composed automatically by `PageHeader.Detail` — slot exists for layouts that don't fit either `PageHeader` variant. */
|
|
@@ -5423,7 +5423,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5423
5423
|
Clear: ({ className, children, ...props }: ActionProps) => react_jsx_runtime.JSX.Element;
|
|
5424
5424
|
};
|
|
5425
5425
|
|
|
5426
|
-
type Props$
|
|
5426
|
+
type Props$l = {
|
|
5427
5427
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
5428
5428
|
variant?: 'mark' | 'wordmark';
|
|
5429
5429
|
/** Sets the logo height; aspect ratio is preserved (e.g. `tw-h-7`). */
|
|
@@ -5433,7 +5433,7 @@ type Props$k = {
|
|
|
5433
5433
|
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
5434
5434
|
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
5435
5435
|
*/
|
|
5436
|
-
declare const BrandLogo: ({ variant, className }: Props$
|
|
5436
|
+
declare const BrandLogo: ({ variant, className }: Props$l) => react_jsx_runtime.JSX.Element | null;
|
|
5437
5437
|
|
|
5438
5438
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => react_jsx_runtime.JSX.Element;
|
|
5439
5439
|
|
|
@@ -5445,7 +5445,7 @@ type SidebarState$1 = 'expanded' | 'collapsed';
|
|
|
5445
5445
|
type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
5446
5446
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
5447
5447
|
|
|
5448
|
-
type Props$
|
|
5448
|
+
type Props$k = {
|
|
5449
5449
|
children: ReactNode;
|
|
5450
5450
|
className?: string;
|
|
5451
5451
|
id?: string;
|
|
@@ -5456,7 +5456,7 @@ type Props$j = {
|
|
|
5456
5456
|
resizable?: boolean;
|
|
5457
5457
|
};
|
|
5458
5458
|
declare const Sidebar: {
|
|
5459
|
-
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$
|
|
5459
|
+
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$k): react_jsx_runtime.JSX.Element | null;
|
|
5460
5460
|
Header: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5461
5461
|
Content: ({ ref, className, children, contentRef, }: {
|
|
5462
5462
|
className?: string;
|
|
@@ -6126,7 +6126,7 @@ declare const Sidebar: {
|
|
|
6126
6126
|
}) => react_jsx_runtime.JSX.Element;
|
|
6127
6127
|
};
|
|
6128
6128
|
|
|
6129
|
-
type Props$
|
|
6129
|
+
type Props$j = {
|
|
6130
6130
|
children?: ReactNode;
|
|
6131
6131
|
defaultLeftMode?: SidebarMode;
|
|
6132
6132
|
leftMode?: SidebarMode;
|
|
@@ -6144,7 +6144,7 @@ type Props$i = {
|
|
|
6144
6144
|
onRightWidthChange?: (width: number) => void;
|
|
6145
6145
|
defaultFilledSide?: SidebarSide | null;
|
|
6146
6146
|
};
|
|
6147
|
-
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$
|
|
6147
|
+
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
6148
6148
|
|
|
6149
6149
|
type Input = {
|
|
6150
6150
|
variant: SidebarVariant;
|
|
@@ -6160,12 +6160,12 @@ type EffectiveWidths = {
|
|
|
6160
6160
|
};
|
|
6161
6161
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode, }: Input) => EffectiveWidths;
|
|
6162
6162
|
|
|
6163
|
-
type Props$
|
|
6163
|
+
type Props$i = {
|
|
6164
6164
|
defaultMode?: SidebarMode;
|
|
6165
6165
|
mode?: SidebarMode;
|
|
6166
6166
|
onModeChange?: (state: SidebarMode) => void;
|
|
6167
6167
|
};
|
|
6168
|
-
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$
|
|
6168
|
+
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$i) => {
|
|
6169
6169
|
isHovered: boolean;
|
|
6170
6170
|
toggle: () => void;
|
|
6171
6171
|
setMode: (dispatch: Parameters<react.Dispatch<react.SetStateAction<"expanded" | "collapsed" | "expand-on-hover">>>[0]) => void;
|
|
@@ -6195,7 +6195,7 @@ declare const separatorVariants: (props?: ({
|
|
|
6195
6195
|
size?: "full" | "1/2" | "3/4" | null | undefined;
|
|
6196
6196
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
6197
6197
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6198
|
-
type Props$
|
|
6198
|
+
type Props$h = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typeof RSeparator.Root>, 'decorative'> & {
|
|
6199
6199
|
/**
|
|
6200
6200
|
* Optional label rendered centered between two line segments
|
|
6201
6201
|
* (typical "OR" divider). Implies `orientation="horizontal"`.
|
|
@@ -6203,12 +6203,12 @@ type Props$g = VariantProps<typeof separatorVariants> & Omit<ComponentProps<type
|
|
|
6203
6203
|
*/
|
|
6204
6204
|
label?: ReactNode;
|
|
6205
6205
|
};
|
|
6206
|
-
declare const Separator: ({ className, orientation, size, label, ...props }: Props$
|
|
6206
|
+
declare const Separator: ({ className, orientation, size, label, ...props }: Props$h) => react_jsx_runtime.JSX.Element;
|
|
6207
6207
|
|
|
6208
6208
|
declare const navbarClassnames: (props?: ({
|
|
6209
6209
|
bordered?: boolean | null | undefined;
|
|
6210
6210
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6211
|
-
type Props$
|
|
6211
|
+
type Props$g = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
6212
6212
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
6213
6213
|
};
|
|
6214
6214
|
/**
|
|
@@ -6226,7 +6226,7 @@ type Props$f = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
|
6226
6226
|
* @see AppShell — pair with `AppShell.Header`; the sidebar rail uses `Sidebar` instead.
|
|
6227
6227
|
*/
|
|
6228
6228
|
declare const Navbar: {
|
|
6229
|
-
({ className, accent, bordered, ...rest }: Props$
|
|
6229
|
+
({ className, accent, bordered, ...rest }: Props$g): react_jsx_runtime.JSX.Element;
|
|
6230
6230
|
Header: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6231
6231
|
Footer: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6232
6232
|
Content: ({ children, className }: {
|
|
@@ -6260,9 +6260,9 @@ declare const Navbar: {
|
|
|
6260
6260
|
}) => react_jsx_runtime.JSX.Element;
|
|
6261
6261
|
};
|
|
6262
6262
|
|
|
6263
|
-
type Props$
|
|
6263
|
+
type Props$f = ComponentProps<'nav'>;
|
|
6264
6264
|
declare const Breadcrumb: {
|
|
6265
|
-
({ className, ...props }: Props$
|
|
6265
|
+
({ className, ...props }: Props$f): react_jsx_runtime.JSX.Element;
|
|
6266
6266
|
List: ({ className, ...props }: react.DetailedHTMLProps<react.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>) => react_jsx_runtime.JSX.Element;
|
|
6267
6267
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6268
6268
|
Link: ({ ref, asChild, className, ...props }: (react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
@@ -6318,7 +6318,7 @@ type Trigger<T extends string> = {
|
|
|
6318
6318
|
title: ReactNode;
|
|
6319
6319
|
onClose?: (value: T) => void;
|
|
6320
6320
|
} & Omit<RadixTabs.TabsTriggerProps, 'title' | 'asChild'>;
|
|
6321
|
-
type Props$
|
|
6321
|
+
type Props$e<T extends string> = {
|
|
6322
6322
|
triggers: readonly Trigger<T>[];
|
|
6323
6323
|
compact?: boolean;
|
|
6324
6324
|
children: ReactNode;
|
|
@@ -6329,7 +6329,7 @@ type Props$d<T extends string> = {
|
|
|
6329
6329
|
triggerClassName?: string;
|
|
6330
6330
|
triggerGroupClassName?: string;
|
|
6331
6331
|
} & Omit<RadixTabs.TabsProps, 'onValueChange'>;
|
|
6332
|
-
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$
|
|
6332
|
+
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$e<T>) => react_jsx_runtime.JSX.Element;
|
|
6333
6333
|
|
|
6334
6334
|
declare const TabsContent: (props: RadixTabs.TabsContentProps) => react_jsx_runtime.JSX.Element;
|
|
6335
6335
|
|
|
@@ -6346,7 +6346,7 @@ declare const stepperVariants: (props?: ({
|
|
|
6346
6346
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
6347
6347
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6348
6348
|
|
|
6349
|
-
type Props$
|
|
6349
|
+
type Props$d = {
|
|
6350
6350
|
/** Layout direction. Defaults to `horizontal`. */
|
|
6351
6351
|
orientation?: StepperOrientation;
|
|
6352
6352
|
/**
|
|
@@ -6368,7 +6368,7 @@ type Props$c = {
|
|
|
6368
6368
|
* otherwise the stepper is visual only. Each step's `status` prop drives the indicator + connector colour.
|
|
6369
6369
|
*/
|
|
6370
6370
|
declare const Stepper: {
|
|
6371
|
-
({ orientation, onStepClick, children, className, ...props }: Props$
|
|
6371
|
+
({ orientation, onStepClick, children, className, ...props }: Props$d): react_jsx_runtime.JSX.Element;
|
|
6372
6372
|
Step: ({ status, children, className, ...props }: {
|
|
6373
6373
|
status?: StepStatus;
|
|
6374
6374
|
children: ReactNode;
|
|
@@ -6386,9 +6386,9 @@ declare const cardClassnames: (props?: ({
|
|
|
6386
6386
|
padding?: "none" | "medium" | "small" | "large" | null | undefined;
|
|
6387
6387
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6388
6388
|
|
|
6389
|
-
type Props$
|
|
6389
|
+
type Props$c = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames>;
|
|
6390
6390
|
declare const Card: {
|
|
6391
|
-
({ children, className, bordered, padding, ...rest }: Props$
|
|
6391
|
+
({ children, className, bordered, padding, ...rest }: Props$c): react_jsx_runtime.JSX.Element;
|
|
6392
6392
|
Header: ({ children, ...rest }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6393
6393
|
Content: ({ children, ...rest }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6394
6394
|
Title: ({ children, className, as: Tag, ...rest }: HTMLAttributes<HTMLHeadingElement> & {
|
|
@@ -6400,7 +6400,7 @@ declare const Card: {
|
|
|
6400
6400
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
6401
6401
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
6402
6402
|
*/
|
|
6403
|
-
type Props$
|
|
6403
|
+
type Props$b = {
|
|
6404
6404
|
borderCollapsed?: boolean;
|
|
6405
6405
|
bordered?: boolean;
|
|
6406
6406
|
containerClassName?: string;
|
|
@@ -6419,7 +6419,7 @@ type Props$a = {
|
|
|
6419
6419
|
* @see RECIPES.md#list-detail — for a list-table + row-click-to-detail pattern
|
|
6420
6420
|
*/
|
|
6421
6421
|
declare const Table: {
|
|
6422
|
-
({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$
|
|
6422
|
+
({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$b): react_jsx_runtime.JSX.Element;
|
|
6423
6423
|
Header: ({ withShadow, className, ...props }: {
|
|
6424
6424
|
withShadow?: boolean;
|
|
6425
6425
|
} & ComponentProps<"thead">) => react_jsx_runtime.JSX.Element;
|
|
@@ -6434,11 +6434,11 @@ declare const Table: {
|
|
|
6434
6434
|
Footer: ({ className, ...props }: ComponentProps<"tfoot">) => react_jsx_runtime.JSX.Element;
|
|
6435
6435
|
};
|
|
6436
6436
|
|
|
6437
|
-
type Props$
|
|
6437
|
+
type Props$a = ComponentProps<'ul'> & {
|
|
6438
6438
|
variant?: 'solid' | 'dashed';
|
|
6439
6439
|
};
|
|
6440
6440
|
declare const Timeline: {
|
|
6441
|
-
({ className, variant, ...rest }: Props$
|
|
6441
|
+
({ className, variant, ...rest }: Props$a): react_jsx_runtime.JSX.Element;
|
|
6442
6442
|
Item: ({ className, ...rest }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6443
6443
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6444
6444
|
Connector: ({ className, children, asChild, variant, align, offset, style, ...rest }: {
|
|
@@ -6451,25 +6451,25 @@ declare const Timeline: {
|
|
|
6451
6451
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
6452
6452
|
};
|
|
6453
6453
|
|
|
6454
|
-
type Props$
|
|
6454
|
+
type Props$9 = {
|
|
6455
6455
|
text: ReactNode;
|
|
6456
6456
|
tooltip?: ReactNode;
|
|
6457
6457
|
twoLines?: boolean;
|
|
6458
6458
|
noTooltip?: boolean;
|
|
6459
|
-
tooltipVariant?: Props$
|
|
6460
|
-
tooltipPlacement?: Props$
|
|
6459
|
+
tooltipVariant?: Props$1O['variant'];
|
|
6460
|
+
tooltipPlacement?: Props$1O['placement'];
|
|
6461
6461
|
} & Omit<ComponentPropsWithoutRef<'span'>, 'children'>;
|
|
6462
|
-
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$
|
|
6462
|
+
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9 & {
|
|
6463
6463
|
ref?: Ref<ElementRef<"span">>;
|
|
6464
6464
|
}) => react_jsx_runtime.JSX.Element;
|
|
6465
6465
|
|
|
6466
|
-
type Props$
|
|
6466
|
+
type Props$8 = {
|
|
6467
6467
|
source: string;
|
|
6468
6468
|
className?: string;
|
|
6469
6469
|
mark?: string;
|
|
6470
6470
|
isCaseSensitive?: boolean;
|
|
6471
6471
|
} & ComponentProps<'span'>;
|
|
6472
|
-
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$
|
|
6472
|
+
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$8 & {
|
|
6473
6473
|
ref?: Ref<ElementRef<"span">>;
|
|
6474
6474
|
}) => react_jsx_runtime.JSX.Element;
|
|
6475
6475
|
|
|
@@ -6477,9 +6477,9 @@ declare const kbdVariants: (props?: ({
|
|
|
6477
6477
|
variant?: "primary" | "default" | null | undefined;
|
|
6478
6478
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6479
6479
|
|
|
6480
|
-
type Props$
|
|
6480
|
+
type Props$7 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
6481
6481
|
declare const Kbd: {
|
|
6482
|
-
({ children, className, variant, ...rest }: Props$
|
|
6482
|
+
({ children, className, variant, ...rest }: Props$7): react_jsx_runtime.JSX.Element;
|
|
6483
6483
|
Group: ({ ref, className, children, separator, ...props }: ({
|
|
6484
6484
|
separator?: string;
|
|
6485
6485
|
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement>) & {
|
|
@@ -6495,9 +6495,9 @@ type KeyRepresentation = {
|
|
|
6495
6495
|
};
|
|
6496
6496
|
declare const keys: Record<KeyName, KeyRepresentation>;
|
|
6497
6497
|
|
|
6498
|
-
type Props$
|
|
6498
|
+
type Props$6 = ComponentProps<'nav'>;
|
|
6499
6499
|
declare const Pagination: {
|
|
6500
|
-
({ className, ...props }: Props$
|
|
6500
|
+
({ className, ...props }: Props$6): react_jsx_runtime.JSX.Element;
|
|
6501
6501
|
Content: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element;
|
|
6502
6502
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6503
6503
|
Button: ({ ref, active: isActive, className, children, size, ...props }: ({
|
|
@@ -6545,7 +6545,7 @@ declare const Pagination: {
|
|
|
6545
6545
|
Ellipsis: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6546
6546
|
};
|
|
6547
6547
|
|
|
6548
|
-
type Props$
|
|
6548
|
+
type Props$5 = {
|
|
6549
6549
|
oldValue: string;
|
|
6550
6550
|
newValue: string;
|
|
6551
6551
|
ignoreWhitespace?: boolean;
|
|
@@ -6555,7 +6555,7 @@ type Props$4 = {
|
|
|
6555
6555
|
rightTitle: ReactNode;
|
|
6556
6556
|
rightTitleGutter?: ReactNode;
|
|
6557
6557
|
};
|
|
6558
|
-
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className, }: Props$
|
|
6558
|
+
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className, }: Props$5) => react_jsx_runtime.JSX.Element;
|
|
6559
6559
|
|
|
6560
6560
|
declare const DiffType: {
|
|
6561
6561
|
readonly DEFAULT: "default";
|
|
@@ -6600,17 +6600,17 @@ type DiffRow = {
|
|
|
6600
6600
|
declare const computeLineInformation: (oldString: string, newString: string, ignoreWhitespace?: boolean) => ComputedLineInformation;
|
|
6601
6601
|
declare const computeDiffRows: (lineInformation: LineInformation[], diffLines: number[], expandedBlocks: number[]) => DiffRow[];
|
|
6602
6602
|
|
|
6603
|
-
type Props$
|
|
6603
|
+
type Props$4 = {
|
|
6604
6604
|
label: string;
|
|
6605
6605
|
sublabel?: string;
|
|
6606
6606
|
};
|
|
6607
|
-
declare const PaneHeader: ({ label, sublabel }: Props$
|
|
6607
|
+
declare const PaneHeader: ({ label, sublabel }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
6608
6608
|
|
|
6609
|
-
type Props$
|
|
6609
|
+
type Props$3 = {
|
|
6610
6610
|
remainingConflicts: number;
|
|
6611
6611
|
remainingSafeChanges: number;
|
|
6612
6612
|
};
|
|
6613
|
-
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$
|
|
6613
|
+
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
6614
6614
|
|
|
6615
6615
|
declare const useMergeDiff: (baseText: string, leftText: string, rightText: string) => {
|
|
6616
6616
|
mergeValue: string;
|
|
@@ -6634,6 +6634,113 @@ declare const useMergeDiff: (baseText: string, leftText: string, rightText: stri
|
|
|
6634
6634
|
reset: () => void;
|
|
6635
6635
|
};
|
|
6636
6636
|
|
|
6637
|
+
type RootProps$2 = ComponentProps<'section'>;
|
|
6638
|
+
/**
|
|
6639
|
+
* Signature dashboard hero banner — the opinionated top-of-page welcome/summary surface
|
|
6640
|
+
* (daily-brief header, project overview, greeting + primary CTA).
|
|
6641
|
+
*
|
|
6642
|
+
* **When to use:** the first block on a landing or dashboard page, above the KPI strip and
|
|
6643
|
+
* chart panels. It sets tone with an eyebrow, a large title, a lead paragraph, and an actions row.
|
|
6644
|
+
* **When NOT to use:** for an in-app page title use `PageHeader.Index`; for an empty page use
|
|
6645
|
+
* `EmptyState`. **Composition:** `DashboardHero.Eyebrow`, `.Title`, `.Description`, `.Actions`,
|
|
6646
|
+
* and an optional `.Aside` that floats to the right on wide screens. Reads semantic tokens only.
|
|
6647
|
+
*/
|
|
6648
|
+
declare const DashboardHeroRoot: ({ className, children, ...rest }: RootProps$2) => react_jsx_runtime.JSX.Element;
|
|
6649
|
+
type BodyProps = ComponentProps<'div'>;
|
|
6650
|
+
declare const DashboardHeroBody: ({ className, children, ...rest }: BodyProps) => react_jsx_runtime.JSX.Element;
|
|
6651
|
+
type EyebrowProps = ComponentProps<'p'>;
|
|
6652
|
+
declare const DashboardHeroEyebrow: ({ className, children, ...rest }: EyebrowProps) => react_jsx_runtime.JSX.Element;
|
|
6653
|
+
type TitleProps = ComponentProps<'h1'>;
|
|
6654
|
+
declare const DashboardHeroTitle: ({ className, children, ...rest }: TitleProps) => react_jsx_runtime.JSX.Element;
|
|
6655
|
+
type DescriptionProps = ComponentProps<'p'>;
|
|
6656
|
+
declare const DashboardHeroDescription: ({ className, children, ...rest }: DescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
6657
|
+
type ActionsProps = ComponentProps<'div'>;
|
|
6658
|
+
declare const DashboardHeroActions: ({ className, children, ...rest }: ActionsProps) => react_jsx_runtime.JSX.Element;
|
|
6659
|
+
type AsideProps = ComponentProps<'div'>;
|
|
6660
|
+
declare const DashboardHeroAside: ({ className, children, ...rest }: AsideProps) => react_jsx_runtime.JSX.Element;
|
|
6661
|
+
declare const DashboardHero: typeof DashboardHeroRoot & {
|
|
6662
|
+
Body: typeof DashboardHeroBody;
|
|
6663
|
+
Eyebrow: typeof DashboardHeroEyebrow;
|
|
6664
|
+
Title: typeof DashboardHeroTitle;
|
|
6665
|
+
Description: typeof DashboardHeroDescription;
|
|
6666
|
+
Actions: typeof DashboardHeroActions;
|
|
6667
|
+
Aside: typeof DashboardHeroAside;
|
|
6668
|
+
};
|
|
6669
|
+
|
|
6670
|
+
declare const trendClassnames: (props?: ({
|
|
6671
|
+
direction?: "flat" | "up" | "down" | null | undefined;
|
|
6672
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6673
|
+
type TrendDirection = NonNullable<VariantProps<typeof trendClassnames>['direction']>;
|
|
6674
|
+
type RootProps$1 = ComponentProps<typeof Card>;
|
|
6675
|
+
/**
|
|
6676
|
+
* A single KPI / metric tile — a signature composition over `Card` with a label,
|
|
6677
|
+
* a large value, an optional trend delta, and an optional leading icon + footnote.
|
|
6678
|
+
*
|
|
6679
|
+
* **When to use:** the headline numbers of a dashboard (revenue, active users, uptime),
|
|
6680
|
+
* usually in a `StatCardGrid` strip at the top of a page.
|
|
6681
|
+
* **When NOT to use:** for a chart use `ChartPanel`; for a generic content surface use `Card`.
|
|
6682
|
+
* **Composition:** `StatCard.Icon`, `StatCard.Label`, `StatCard.Value`, `StatCard.Trend`,
|
|
6683
|
+
* `StatCard.Footnote`. All colours read semantic tokens, so the tile re-skins with the brand.
|
|
6684
|
+
*/
|
|
6685
|
+
declare const StatCardRoot: ({ className, children, bordered, ...rest }: RootProps$1) => react_jsx_runtime.JSX.Element;
|
|
6686
|
+
type IconProps = ComponentProps<'div'>;
|
|
6687
|
+
declare const StatCardIcon: ({ className, children, ...rest }: IconProps) => react_jsx_runtime.JSX.Element;
|
|
6688
|
+
type LabelProps = ComponentProps<'p'>;
|
|
6689
|
+
declare const StatCardLabel: ({ className, children, ...rest }: LabelProps) => react_jsx_runtime.JSX.Element;
|
|
6690
|
+
type ValueProps = ComponentProps<'p'>;
|
|
6691
|
+
declare const StatCardValue: ({ className, children, ...rest }: ValueProps) => react_jsx_runtime.JSX.Element;
|
|
6692
|
+
type TrendProps = ComponentProps<'span'> & {
|
|
6693
|
+
/** Which way the metric moved — sets the semantic colour (`success` / `destructive` / muted). */
|
|
6694
|
+
direction?: TrendDirection;
|
|
6695
|
+
/** Optional leading icon (e.g. an arrow). */
|
|
6696
|
+
icon?: ReactNode;
|
|
6697
|
+
};
|
|
6698
|
+
declare const StatCardTrend: ({ className, direction, icon, children, ...rest }: TrendProps) => react_jsx_runtime.JSX.Element;
|
|
6699
|
+
type FootnoteProps = ComponentProps<'p'>;
|
|
6700
|
+
declare const StatCardFootnote: ({ className, children, ...rest }: FootnoteProps) => react_jsx_runtime.JSX.Element;
|
|
6701
|
+
declare const StatCard: typeof StatCardRoot & {
|
|
6702
|
+
Icon: typeof StatCardIcon;
|
|
6703
|
+
Label: typeof StatCardLabel;
|
|
6704
|
+
Value: typeof StatCardValue;
|
|
6705
|
+
Trend: typeof StatCardTrend;
|
|
6706
|
+
Footnote: typeof StatCardFootnote;
|
|
6707
|
+
};
|
|
6708
|
+
|
|
6709
|
+
declare const gridClassnames: (props?: ({
|
|
6710
|
+
columns?: 2 | 4 | 3 | null | undefined;
|
|
6711
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6712
|
+
type Props$2 = ComponentProps<'div'> & VariantProps<typeof gridClassnames>;
|
|
6713
|
+
/**
|
|
6714
|
+
* Responsive strip of KPI tiles. Lay `StatCard`s inside it at the top of a dashboard.
|
|
6715
|
+
* `columns` caps the tiles per row on large screens; the grid collapses to one column on
|
|
6716
|
+
* mobile and two on small screens.
|
|
6717
|
+
*/
|
|
6718
|
+
declare const StatCardGrid: ({ className, columns, children, ...rest }: Props$2) => react_jsx_runtime.JSX.Element;
|
|
6719
|
+
|
|
6720
|
+
type RootProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
6721
|
+
/** Panel heading. */
|
|
6722
|
+
title: ReactNode;
|
|
6723
|
+
/** Optional supporting line under the title. */
|
|
6724
|
+
description?: ReactNode;
|
|
6725
|
+
/** Heading level for the title — defaults to `h3`. Set to sit correctly under a page `h1`/`h2`. */
|
|
6726
|
+
titleAs?: ComponentProps<typeof Card.Title>['as'];
|
|
6727
|
+
/** Right-aligned header slot — range picker, legend toggle, menu, etc. */
|
|
6728
|
+
toolbar?: ReactNode;
|
|
6729
|
+
/** Optional footer row (e.g. a source note or an inline legend). */
|
|
6730
|
+
footer?: ReactNode;
|
|
6731
|
+
};
|
|
6732
|
+
/**
|
|
6733
|
+
* Signature chart panel — a `Card` shell with a title/description header, an optional toolbar,
|
|
6734
|
+
* a chart body, and an optional footer. Pass a `@keboola/design/charts` chart (`LineChart`,
|
|
6735
|
+
* `BarChart`, `AreaChart`, `PieChart`) as children; the panel owns the chrome, the chart owns
|
|
6736
|
+
* its own responsive container and themed palette.
|
|
6737
|
+
*
|
|
6738
|
+
* **When to use:** any framed data-viz block on a dashboard.
|
|
6739
|
+
* **When NOT to use:** for a KPI number use `StatCard`; for a raw unframed chart drop the chart
|
|
6740
|
+
* component directly. Charts follow the active brand's chart palette — never hardcode colours.
|
|
6741
|
+
*/
|
|
6742
|
+
declare const ChartPanel: ({ title, description, titleAs, toolbar, footer, className, bordered, children, ...rest }: RootProps) => react_jsx_runtime.JSX.Element;
|
|
6743
|
+
|
|
6637
6744
|
/**
|
|
6638
6745
|
* The a11y wiring `FieldItem` derives from the field and hands back to the control — spread it onto
|
|
6639
6746
|
* whatever element the field renders. Callers never author these attributes themselves.
|
|
@@ -7992,8 +8099,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7992
8099
|
description?: react.ReactNode;
|
|
7993
8100
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
7994
8101
|
position?: "start" | "end";
|
|
7995
|
-
tooltip?: Props$
|
|
7996
|
-
tooltipPlacement?: Props$
|
|
8102
|
+
tooltip?: Props$1O["tooltip"];
|
|
8103
|
+
tooltipPlacement?: Props$1O["placement"];
|
|
7997
8104
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
7998
8105
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
7999
8106
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -8010,7 +8117,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8010
8117
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
8011
8118
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
8012
8119
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
8013
|
-
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$
|
|
8120
|
+
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
8014
8121
|
}, {
|
|
8015
8122
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
8016
8123
|
children: react.ReactNode;
|
|
@@ -9341,8 +9448,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9341
9448
|
description?: react.ReactNode;
|
|
9342
9449
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
9343
9450
|
position?: "start" | "end";
|
|
9344
|
-
tooltip?: Props$
|
|
9345
|
-
tooltipPlacement?: Props$
|
|
9451
|
+
tooltip?: Props$1O["tooltip"];
|
|
9452
|
+
tooltipPlacement?: Props$1O["placement"];
|
|
9346
9453
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
9347
9454
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
9348
9455
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -9359,7 +9466,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9359
9466
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
9360
9467
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
9361
9468
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
9362
|
-
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$
|
|
9469
|
+
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
9363
9470
|
}, {
|
|
9364
9471
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
9365
9472
|
children: react.ReactNode;
|
|
@@ -10690,8 +10797,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10690
10797
|
description?: react.ReactNode;
|
|
10691
10798
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10692
10799
|
position?: "start" | "end";
|
|
10693
|
-
tooltip?: Props$
|
|
10694
|
-
tooltipPlacement?: Props$
|
|
10800
|
+
tooltip?: Props$1O["tooltip"];
|
|
10801
|
+
tooltipPlacement?: Props$1O["placement"];
|
|
10695
10802
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10696
10803
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10697
10804
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10708,7 +10815,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10708
10815
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
10709
10816
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
10710
10817
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10711
|
-
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$
|
|
10818
|
+
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
10712
10819
|
}, {
|
|
10713
10820
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
10714
10821
|
children: react.ReactNode;
|
|
@@ -10785,4 +10892,41 @@ type Props = {
|
|
|
10785
10892
|
};
|
|
10786
10893
|
declare const ZoomableSvg: ({ html, copyText, className }: Props) => react_jsx_runtime.JSX.Element;
|
|
10787
10894
|
|
|
10788
|
-
|
|
10895
|
+
type ColorSlot = keyof Omit<NonNullable<Brand['theme']['colors']>, 'sidebar' | 'chart'>;
|
|
10896
|
+
type SidebarSlot = keyof NonNullable<NonNullable<Brand['theme']['colors']>['sidebar']>;
|
|
10897
|
+
type RadiusSize = keyof NonNullable<Brand['theme']['radii']>;
|
|
10898
|
+
declare const DEFAULT_FALLBACK_FONT = "'Inter', system-ui, sans-serif";
|
|
10899
|
+
declare const DEFAULT_FONT_OPTIONS: {
|
|
10900
|
+
value: string;
|
|
10901
|
+
label: string;
|
|
10902
|
+
}[];
|
|
10903
|
+
type BrandEditorProps = {
|
|
10904
|
+
value: Brand;
|
|
10905
|
+
onChange: (next: Brand) => void;
|
|
10906
|
+
/** Palette being edited. Controlled. Default 'light'. */
|
|
10907
|
+
colorScheme?: 'light' | 'dark';
|
|
10908
|
+
/** If provided, the editor shows a light/dark toggle that calls this. If omitted, no toggle. */
|
|
10909
|
+
onColorSchemeChange?: (scheme: 'light' | 'dark') => void;
|
|
10910
|
+
/** Font choices for the typography Select. Defaults to DEFAULT_FONT_OPTIONS. */
|
|
10911
|
+
fontOptions?: {
|
|
10912
|
+
value: string;
|
|
10913
|
+
label: string;
|
|
10914
|
+
}[];
|
|
10915
|
+
};
|
|
10916
|
+
/**
|
|
10917
|
+
* Controlled brand-editing block — colors (light/dark), sidebar colors, WCAG contrast readout,
|
|
10918
|
+
* corner radius, typography, and logo. Reads/writes a `Brand` (`@keboola/brand-registry`) via
|
|
10919
|
+
* `value` / `onChange`; owns no state of its own, so the caller decides where the brand and the
|
|
10920
|
+
* active color scheme live (Kai build-mode preview, theme-generator, …).
|
|
10921
|
+
*/
|
|
10922
|
+
declare const BrandEditor: ({ value, onChange, colorScheme, onColorSchemeChange, fontOptions, }: BrandEditorProps) => react_jsx_runtime.JSX.Element;
|
|
10923
|
+
|
|
10924
|
+
declare const hexToChannels: (hex: string) => string;
|
|
10925
|
+
declare const channelsToHex: (channels: string) => string;
|
|
10926
|
+
|
|
10927
|
+
/** WCAG contrast ratio (1–21) between two `"R G B"` colours. */
|
|
10928
|
+
declare const contrastRatio: (fg: string, bg: string) => number;
|
|
10929
|
+
/** WCAG level for normal-size text at a given ratio. */
|
|
10930
|
+
declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
|
|
10931
|
+
|
|
10932
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$J as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, HelpBlock, HoverCard, InlineStepDetail, type Props$H as InlineStepDetailProps, InlineStepLabel, type Props$G 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$7 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$1p as Props, Question, type QuestionAnswers, QuestionBlock, type Props$z as QuestionBlockProps, type QuestionOption, type Props$A as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, 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, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, 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$1O as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, wcagLevel, withForm };
|