@keboola/design 4.4.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +68 -44
- package/COMPONENT-API.md +35 -6
- package/README.md +1 -1
- package/dist/charts.cjs +268 -0
- package/dist/charts.cjs.map +1 -0
- package/dist/charts.d.cts +181 -0
- package/dist/charts.d.ts +181 -0
- package/dist/charts.js +259 -0
- package/dist/charts.js.map +1 -0
- package/dist/editors.cjs +151 -77
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +153 -79
- package/dist/editors.js.map +1 -1
- package/dist/index.cjs +2610 -1537
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +486 -467
- package/dist/index.d.ts +486 -467
- package/dist/index.js +2337 -1273
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +155 -119
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +155 -119
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +62 -36
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +63 -37
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +459 -385
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +363 -289
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +4 -2
- package/dist/testing.cjs +238 -111
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +6 -0
- package/dist/testing.d.ts +6 -0
- package/dist/testing.js +240 -113
- package/dist/testing.js.map +1 -1
- package/package.json +35 -16
- package/src/styles.css +72 -30
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ComponentProps, Ref, ElementRef, ReactNode, PropsWithChildren, MouseEvent as MouseEvent$1, HTMLAttributes, ChangeEvent, FocusEvent as FocusEvent$1, InputHTMLAttributes, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, CSSProperties, TransitionEventHandler,
|
|
3
|
+
import { ComponentProps, Ref, ElementRef, ReactNode, PropsWithChildren, MouseEvent as MouseEvent$1, HTMLAttributes, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, InputHTMLAttributes, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
|
|
4
4
|
import * as class_variance_authority from 'class-variance-authority';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -37,7 +37,7 @@ import * as _base_ui_react_combobox from '@base-ui/react/combobox';
|
|
|
37
37
|
import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
38
38
|
import * as _base_ui_react_types from '@base-ui/react/types';
|
|
39
39
|
import { Brand } from '@keboola/brand-registry';
|
|
40
|
-
export { Brand, brandSchema,
|
|
40
|
+
export { Brand, brandSchema, exampleCustomer, keboola, keboolaLegacySidebar, keboolaLegacyTopnav } from '@keboola/brand-registry';
|
|
41
41
|
import { OTPInput, RenderProps } from 'input-otp';
|
|
42
42
|
export { SlotProps as InputOtpRenderSlotProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from 'input-otp';
|
|
43
43
|
import { Accept, FileRejection } from 'react-dropzone';
|
|
@@ -45,8 +45,8 @@ import * as _radix_ui_react_collapsible from '@radix-ui/react-collapsible';
|
|
|
45
45
|
import { Root as Root$9 } from '@radix-ui/react-collapsible';
|
|
46
46
|
import { Action, ExternalToast, Toaster as Toaster$1 } from 'sonner';
|
|
47
47
|
import { Root as Root$a } from '@radix-ui/react-progress';
|
|
48
|
-
import
|
|
49
|
-
export {
|
|
48
|
+
import { Separator as Separator$1, Group as Group$1 } from 'react-resizable-panels';
|
|
49
|
+
export { PanelImperativeHandle, Panel as ResizablePanel, useDefaultLayout } from 'react-resizable-panels';
|
|
50
50
|
import * as RSeparator from '@radix-ui/react-separator';
|
|
51
51
|
import * as RadixTabs from '@radix-ui/react-tabs';
|
|
52
52
|
import { M as MergeConflict, C as ChangeClassification } from './constants-D3gaMY-W.cjs';
|
|
@@ -58,12 +58,12 @@ export { Slot } from '@radix-ui/react-slot';
|
|
|
58
58
|
|
|
59
59
|
declare const variants$3: (props?: ({
|
|
60
60
|
block?: boolean | null | undefined;
|
|
61
|
-
variant?: "primary" | "
|
|
61
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
62
62
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
63
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
64
64
|
declare const argoVariants: (props?: ({
|
|
65
65
|
block?: boolean | null | undefined;
|
|
66
|
-
variant?: "primary" | "
|
|
66
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
67
67
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
68
68
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69
69
|
|
|
@@ -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$1S = {
|
|
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$1Q = {
|
|
|
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$1S & {
|
|
97
97
|
ref?: Ref<ElementRef<"button">>;
|
|
98
98
|
}) => react_jsx_runtime.JSX.Element;
|
|
99
99
|
|
|
@@ -101,29 +101,29 @@ declare const buttonInlineVariants: (props?: ({
|
|
|
101
101
|
color?: "dark" | "muted" | "link" | "danger" | "custom" | null | undefined;
|
|
102
102
|
variant?: "link" | "custom" | "link-reverse" | null | undefined;
|
|
103
103
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
|
-
type Props$
|
|
104
|
+
type Props$1R = 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$1R & {
|
|
108
108
|
ref?: Ref<ElementRef<"button">>;
|
|
109
109
|
}) => react_jsx_runtime.JSX.Element;
|
|
110
110
|
|
|
111
111
|
declare const buttonGroupVariant: (props?: ({
|
|
112
112
|
variant?: "inline" | "block" | null | undefined;
|
|
113
|
-
space?: "
|
|
113
|
+
space?: "small" | "medium" | "large" | "extra-small" | "little-small" | "compact" | null | undefined;
|
|
114
114
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
115
|
-
type Props$
|
|
115
|
+
type Props$1Q = {
|
|
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$1Q & {
|
|
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$1P = {
|
|
127
127
|
actions?: ReactNode;
|
|
128
128
|
isActionsOpen?: boolean;
|
|
129
129
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -132,7 +132,7 @@ type Props$1N = {
|
|
|
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$1P & {
|
|
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$1O = {
|
|
150
150
|
className?: string;
|
|
151
151
|
} & PropsWithChildren;
|
|
152
152
|
declare const MultiActionButtonGroup: {
|
|
153
|
-
({ children, className }: Props$
|
|
153
|
+
({ children, className }: Props$1O): 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,11 +168,11 @@ declare const toggleVariants: (props?: ({
|
|
|
168
168
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
169
169
|
iconOnly?: boolean | null | undefined;
|
|
170
170
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
171
|
-
type Props$
|
|
171
|
+
type Props$1N = {
|
|
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$1N & {
|
|
176
176
|
ref?: Ref<ElementRef<"button">>;
|
|
177
177
|
}) => react_jsx_runtime.JSX.Element;
|
|
178
178
|
|
|
@@ -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$1M = {
|
|
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$1M) => 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$1L = {
|
|
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$1L): react_jsx_runtime.JSX.Element;
|
|
240
240
|
Root: ({ children, delayDuration, ...rest }: _radix_ui_react_tooltip.TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
241
241
|
Content: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: {
|
|
242
242
|
keepOpenOnPointerDownOutside?: boolean;
|
|
@@ -251,33 +251,33 @@ declare const Tooltip: {
|
|
|
251
251
|
}) => react_jsx_runtime.JSX.Element;
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
-
type Props$
|
|
255
|
-
tooltip?: Props$
|
|
256
|
-
tooltipPlacement?: Props$
|
|
257
|
-
tooltipVariant?: Props$
|
|
258
|
-
asChild?: Props$
|
|
254
|
+
type Props$1K = {
|
|
255
|
+
tooltip?: Props$1L['tooltip'];
|
|
256
|
+
tooltipPlacement?: Props$1L['placement'];
|
|
257
|
+
tooltipVariant?: Props$1L['variant'];
|
|
258
|
+
asChild?: Props$1L['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$1K & {
|
|
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$1J = 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$1J) => 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$1I = {
|
|
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$1I) => react_jsx_runtime.JSX.Element;
|
|
278
278
|
|
|
279
|
-
type Props$
|
|
280
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
279
|
+
type Props$1H = ComponentProps<'a'>;
|
|
280
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1H & {
|
|
281
281
|
ref?: Ref<ElementRef<"a">>;
|
|
282
282
|
}) => react_jsx_runtime.JSX.Element;
|
|
283
283
|
|
|
@@ -289,13 +289,13 @@ type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
|
289
289
|
|
|
290
290
|
type ConfirmHandler = (event: MouseEvent$1<HTMLButtonElement>) => void | Promise<unknown>;
|
|
291
291
|
type CancelHandler = (event: MouseEvent$1<HTMLButtonElement>) => void;
|
|
292
|
-
type Props$
|
|
292
|
+
type Props$1G = {
|
|
293
293
|
onConfirm?: ConfirmHandler;
|
|
294
294
|
onCancel?: CancelHandler;
|
|
295
295
|
skipAsyncWait?: boolean;
|
|
296
296
|
} & ComponentProps<typeof Root$1>;
|
|
297
297
|
declare const AlertModal: {
|
|
298
|
-
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
298
|
+
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$1G): react_jsx_runtime.JSX.Element;
|
|
299
299
|
Trigger: ({ ref, onClick, onKeyDown, ...props }: _radix_ui_react_alert_dialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
300
300
|
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, container, className, children, onEscapeKeyDown, ...props }: {
|
|
301
301
|
variant?: AlertModalVariant;
|
|
@@ -307,11 +307,7 @@ declare const AlertModal: {
|
|
|
307
307
|
} & Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "title">) => react_jsx_runtime.JSX.Element;
|
|
308
308
|
};
|
|
309
309
|
|
|
310
|
-
|
|
311
|
-
* Props for the `Modal` root — forwarded to Radix `Dialog.Root` (controls `open`, `onOpenChange`,
|
|
312
|
-
* `defaultOpen`, `modal`).
|
|
313
|
-
*/
|
|
314
|
-
type Props$1D = ComponentProps<typeof Root$2>;
|
|
310
|
+
type Props$1F = ComponentProps<typeof Root$2>;
|
|
315
311
|
/**
|
|
316
312
|
* Blocking dialog for confirmations, forms, and detail views. Built on Radix Dialog.
|
|
317
313
|
*
|
|
@@ -327,40 +323,31 @@ type Props$1D = ComponentProps<typeof Root$2>;
|
|
|
327
323
|
* @see RECIPES.md#confirm-dialog — for destructive-confirm dialogs
|
|
328
324
|
*/
|
|
329
325
|
declare const Modal: {
|
|
330
|
-
(props: Props$
|
|
331
|
-
/** Radix `Dialog.Close` re-export — closes the nearest `Modal` when clicked. Use `asChild` to wrap a `Button`. */
|
|
326
|
+
(props: Props$1F): react_jsx_runtime.JSX.Element;
|
|
332
327
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
333
|
-
/** Radix `Dialog.Trigger` re-export — opens the modal. Use `asChild` to wrap a `Button`. */
|
|
334
328
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
335
|
-
/** Modal content container — portals into the overlay, handles sizing (`small` / `medium` / `large`) and open/close animation. */
|
|
336
329
|
Content: ({ size, className, children, onEscapeKeyDown, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
337
330
|
size?: "small" | "medium" | "large";
|
|
338
331
|
}) => react_jsx_runtime.JSX.Element;
|
|
339
|
-
/** Scrollable body slot. Place form fields or detail content here; takes available space inside `Modal.Content`. */
|
|
340
332
|
Body: ({ className, ...props }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & {
|
|
341
333
|
as?: "form";
|
|
342
334
|
}) => react_jsx_runtime.JSX.Element;
|
|
343
|
-
|
|
344
|
-
Icon: (props: {
|
|
335
|
+
Icon: ({ color, icon }: {
|
|
345
336
|
color: ("orange" | "blue" | "red" | "green" | "gray" | "violet") | (string & {});
|
|
346
337
|
icon: react.ReactNode;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
iconUrl: string;
|
|
352
|
-
iconAlt?: string;
|
|
353
|
-
icon?: never;
|
|
338
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
339
|
+
Image: ({ src, alt }: {
|
|
340
|
+
src: string;
|
|
341
|
+
alt?: string;
|
|
354
342
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
355
|
-
/** Bottom action row. Place the primary + cancel `Button`s here; sits below `Modal.Body`. */
|
|
356
343
|
Footer: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
title?: react.ReactNode;
|
|
344
|
+
Header: ({ className, icon, description, "aria-description": ariaDescription, actions, hideCloseIcon, children, ...props }: {
|
|
345
|
+
icon?: react.ReactNode;
|
|
360
346
|
description?: react.ReactNode;
|
|
347
|
+
'aria-description'?: string;
|
|
348
|
+
actions?: react.ReactNode;
|
|
361
349
|
hideCloseIcon?: boolean;
|
|
362
350
|
} & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
363
|
-
/** Backdrop overlay rendered behind `Modal.Content`. Normally implicit — only override for non-standard layouts. */
|
|
364
351
|
Overlay: ({ ref, className, disableTransition, ...props }: (_radix_ui_react_dialog.DialogOverlayProps & react.RefAttributes<HTMLDivElement> & {
|
|
365
352
|
disableTransition?: boolean;
|
|
366
353
|
}) & {
|
|
@@ -389,7 +376,7 @@ declare const FullScreenModal: (({ children, className, lockBodyScroll, onEscape
|
|
|
389
376
|
}) => react_jsx_runtime.JSX.Element;
|
|
390
377
|
};
|
|
391
378
|
|
|
392
|
-
type Props$
|
|
379
|
+
type Props$1E = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
393
380
|
title: ReactNode;
|
|
394
381
|
titleClassName?: string;
|
|
395
382
|
titleWrapperClassName?: string;
|
|
@@ -398,16 +385,16 @@ type Props$1C = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
398
385
|
onClose?: () => void;
|
|
399
386
|
showPreviousTitle?: boolean;
|
|
400
387
|
}>;
|
|
401
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
388
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$1E) => react_jsx_runtime.JSX.Element;
|
|
402
389
|
|
|
403
|
-
type Props$
|
|
404
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
390
|
+
type Props$1D = HTMLAttributes<HTMLDivElement>;
|
|
391
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$1D & {
|
|
405
392
|
ref?: Ref<HTMLDivElement>;
|
|
406
393
|
}) => react_jsx_runtime.JSX.Element;
|
|
407
394
|
|
|
408
|
-
type Props$
|
|
395
|
+
type Props$1C = ComponentProps<typeof Root$2>;
|
|
409
396
|
declare const Sheet: {
|
|
410
|
-
(props: Props$
|
|
397
|
+
(props: Props$1C): react_jsx_runtime.JSX.Element;
|
|
411
398
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
412
399
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
413
400
|
Content: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -430,9 +417,9 @@ declare const Sheet: {
|
|
|
430
417
|
Body: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
431
418
|
};
|
|
432
419
|
|
|
433
|
-
type Props$
|
|
420
|
+
type Props$1B = ComponentProps<typeof Root$3>;
|
|
434
421
|
declare const Popover: {
|
|
435
|
-
(props: Props$
|
|
422
|
+
(props: Props$1B): react_jsx_runtime.JSX.Element;
|
|
436
423
|
/**
|
|
437
424
|
* Main Layout
|
|
438
425
|
*/
|
|
@@ -454,12 +441,12 @@ type PopconfirmContextType = {
|
|
|
454
441
|
isLoading: boolean;
|
|
455
442
|
};
|
|
456
443
|
|
|
457
|
-
type Props$
|
|
444
|
+
type Props$1A = {
|
|
458
445
|
children: ReactNode;
|
|
459
446
|
skipAsyncWait?: boolean;
|
|
460
447
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
461
448
|
declare const Popconfirm: {
|
|
462
|
-
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
449
|
+
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$1A): react_jsx_runtime.JSX.Element;
|
|
463
450
|
Confirm: ({ ref, onClick, children, asChild, className, ...props }: (({
|
|
464
451
|
asChild: true;
|
|
465
452
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
@@ -470,7 +457,7 @@ declare const Popconfirm: {
|
|
|
470
457
|
asChild?: boolean;
|
|
471
458
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
472
459
|
block?: boolean | null | undefined;
|
|
473
|
-
variant?: "primary" | "
|
|
460
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
474
461
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
475
462
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
476
463
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
@@ -487,7 +474,7 @@ declare const Popconfirm: {
|
|
|
487
474
|
asChild?: boolean;
|
|
488
475
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
489
476
|
block?: boolean | null | undefined;
|
|
490
|
-
variant?: "primary" | "
|
|
477
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
491
478
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
492
479
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
493
480
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
@@ -500,6 +487,7 @@ declare const Popconfirm: {
|
|
|
500
487
|
translate?: "yes" | "no" | undefined | undefined;
|
|
501
488
|
prefix?: string | undefined | undefined;
|
|
502
489
|
id?: string | undefined | undefined;
|
|
490
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
503
491
|
slot?: string | undefined | undefined;
|
|
504
492
|
style?: react.CSSProperties | undefined;
|
|
505
493
|
title?: string | undefined | undefined;
|
|
@@ -545,7 +533,6 @@ declare const Popconfirm: {
|
|
|
545
533
|
results?: number | undefined | undefined;
|
|
546
534
|
security?: string | undefined | undefined;
|
|
547
535
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
548
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
549
536
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
550
537
|
popoverTarget?: string | undefined | undefined;
|
|
551
538
|
inert?: boolean | undefined | undefined;
|
|
@@ -812,18 +799,18 @@ declare const Popconfirm: {
|
|
|
812
799
|
Trigger: ({ onClick, ...props }: _radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
813
800
|
};
|
|
814
801
|
|
|
815
|
-
type Props$
|
|
802
|
+
type Props$1z = ComponentProps<typeof Root$4>;
|
|
816
803
|
declare const HoverCard: {
|
|
817
|
-
({ openDelay, closeDelay, ...rest }: Props$
|
|
804
|
+
({ openDelay, closeDelay, ...rest }: Props$1z): react_jsx_runtime.JSX.Element;
|
|
818
805
|
Content: ({ ref, className, align, sideOffset, children, ...props }: Omit<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
819
806
|
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
820
807
|
}) => react_jsx_runtime.JSX.Element;
|
|
821
808
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
822
809
|
};
|
|
823
810
|
|
|
824
|
-
type Props$
|
|
811
|
+
type Props$1y = ComponentProps<typeof Root$5>;
|
|
825
812
|
declare const DropdownMenu: {
|
|
826
|
-
({ modal, ...props }: Props$
|
|
813
|
+
({ modal, ...props }: Props$1y): react_jsx_runtime.JSX.Element;
|
|
827
814
|
/**
|
|
828
815
|
* Main Layout
|
|
829
816
|
*/
|
|
@@ -879,14 +866,14 @@ declare const DropdownMenu: {
|
|
|
879
866
|
}) => react_jsx_runtime.JSX.Element;
|
|
880
867
|
};
|
|
881
868
|
|
|
882
|
-
type Props$
|
|
869
|
+
type Props$1x = {
|
|
883
870
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
884
871
|
};
|
|
885
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
872
|
+
declare const CheckIndicator: ({ variant }: Props$1x) => react_jsx_runtime.JSX.Element | null;
|
|
886
873
|
|
|
887
|
-
type Props$
|
|
874
|
+
type Props$1w = ComponentProps<typeof Command$1>;
|
|
888
875
|
declare const Command: {
|
|
889
|
-
({ className, ...rest }: Props$
|
|
876
|
+
({ className, ...rest }: Props$1w): react_jsx_runtime.JSX.Element;
|
|
890
877
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
891
878
|
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
892
879
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -943,6 +930,7 @@ declare const Command: {
|
|
|
943
930
|
prefix?: react.ReactNode;
|
|
944
931
|
id?: string | undefined | undefined;
|
|
945
932
|
name?: string | undefined | undefined;
|
|
933
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
946
934
|
variant?: "primary" | "secondary" | null | undefined;
|
|
947
935
|
form?: string | undefined | undefined;
|
|
948
936
|
slot?: string | undefined | undefined;
|
|
@@ -990,7 +978,6 @@ declare const Command: {
|
|
|
990
978
|
results?: number | undefined | undefined;
|
|
991
979
|
security?: string | undefined | undefined;
|
|
992
980
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
993
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
994
981
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
995
982
|
popoverTarget?: string | undefined | undefined;
|
|
996
983
|
inert?: boolean | undefined | undefined;
|
|
@@ -1236,7 +1223,7 @@ declare const Command: {
|
|
|
1236
1223
|
width?: number | string | undefined | undefined;
|
|
1237
1224
|
checked?: boolean | undefined | undefined;
|
|
1238
1225
|
multiple?: boolean | undefined | undefined;
|
|
1239
|
-
state?: "
|
|
1226
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
1240
1227
|
src?: string | undefined | undefined;
|
|
1241
1228
|
alt?: string | undefined | undefined;
|
|
1242
1229
|
required?: boolean | undefined | undefined;
|
|
@@ -1282,25 +1269,25 @@ declare const Command: {
|
|
|
1282
1269
|
declare const addonVariants$1: (props?: ({
|
|
1283
1270
|
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
1284
1271
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1285
|
-
type Props$
|
|
1286
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
1272
|
+
type Props$1v = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1273
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1v) => react_jsx_runtime.JSX.Element;
|
|
1287
1274
|
|
|
1288
1275
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
1289
|
-
type Props$
|
|
1290
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
1276
|
+
type Props$1u = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
1277
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$1u & {
|
|
1291
1278
|
ref?: Ref<ElementRef<"button">>;
|
|
1292
1279
|
}) => react_jsx_runtime.JSX.Element;
|
|
1293
1280
|
|
|
1294
|
-
type Props$
|
|
1295
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
1281
|
+
type Props$1t = ComponentProps<'input'>;
|
|
1282
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$1t & {
|
|
1296
1283
|
ref?: Ref<ElementRef<"input">>;
|
|
1297
1284
|
}) => react_jsx_runtime.JSX.Element;
|
|
1298
1285
|
|
|
1299
|
-
type Props$
|
|
1300
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
1286
|
+
type Props$1s = ComponentProps<'span'>;
|
|
1287
|
+
declare const InputGroupText: ({ className, ...props }: Props$1s) => react_jsx_runtime.JSX.Element;
|
|
1301
1288
|
|
|
1302
1289
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof react_textarea_autosize__default>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
1303
|
-
type Props$
|
|
1290
|
+
type Props$1r = TextareaNativeProps$1 & {
|
|
1304
1291
|
value?: string | null;
|
|
1305
1292
|
defaultValue?: string | null;
|
|
1306
1293
|
onValueChange?: (value: string) => void;
|
|
@@ -1308,7 +1295,7 @@ type Props$1p = TextareaNativeProps$1 & {
|
|
|
1308
1295
|
maxRows?: number | 'unlimited';
|
|
1309
1296
|
disableResize?: boolean;
|
|
1310
1297
|
};
|
|
1311
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
1298
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$1r & {
|
|
1312
1299
|
ref?: Ref<ElementRef<"textarea">>;
|
|
1313
1300
|
}) => react_jsx_runtime.JSX.Element;
|
|
1314
1301
|
|
|
@@ -1316,12 +1303,12 @@ declare const inputGroupVariants: (props?: ({
|
|
|
1316
1303
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1317
1304
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1318
1305
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1319
|
-
state?: "
|
|
1306
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
1320
1307
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1321
|
-
type Props$
|
|
1308
|
+
type Props$1q = ComponentProps<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
1322
1309
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
1323
1310
|
};
|
|
1324
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1311
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$1q & {
|
|
1325
1312
|
ref?: Ref<ElementRef<"div">>;
|
|
1326
1313
|
}) => react_jsx_runtime.JSX.Element;
|
|
1327
1314
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
@@ -1348,7 +1335,7 @@ type OwnProps$1 = {
|
|
|
1348
1335
|
* Props for `Input`. Combines `InputGroup` chrome (variant / sizing / state / focusVariant) with
|
|
1349
1336
|
* input-specific slots (`prefix`, `leftSuffix`, `rightSuffix`, `allowClear`).
|
|
1350
1337
|
*/
|
|
1351
|
-
type Props$
|
|
1338
|
+
type Props$1p = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue'>;
|
|
1352
1339
|
/**
|
|
1353
1340
|
* Low-level text input with `InputGroup` chrome — addons, clear button, sizing, focus variants.
|
|
1354
1341
|
*
|
|
@@ -1358,12 +1345,12 @@ type Props$1n = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, '
|
|
|
1358
1345
|
* `FormGroup.TextInput`; for search use `SearchInput`; for forms with validation use `useAppForm`.
|
|
1359
1346
|
* **Composition:** wrap in `FormGroup` for shared error state, or render directly as a controlled input.
|
|
1360
1347
|
*/
|
|
1361
|
-
declare const Input$1: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, value, defaultValue, ...inputProps }: Props$
|
|
1348
|
+
declare const Input$1: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, value, defaultValue, ...inputProps }: Props$1p & {
|
|
1362
1349
|
ref?: Ref<ElementRef<"input">>;
|
|
1363
1350
|
}) => react_jsx_runtime.JSX.Element;
|
|
1364
1351
|
|
|
1365
1352
|
type InputProps$1 = ComponentProps<typeof Input$1>;
|
|
1366
|
-
type Props$
|
|
1353
|
+
type Props$1o = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
1367
1354
|
defaultValue?: Date | null;
|
|
1368
1355
|
disabledDays?: Matcher | Matcher[];
|
|
1369
1356
|
endMonth?: Date;
|
|
@@ -1372,12 +1359,12 @@ type Props$1m = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
|
1372
1359
|
startMonth?: Date;
|
|
1373
1360
|
value?: Date | null;
|
|
1374
1361
|
};
|
|
1375
|
-
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$
|
|
1362
|
+
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$1o & {
|
|
1376
1363
|
ref?: Ref<ElementRef<"input">>;
|
|
1377
1364
|
}) => react_jsx_runtime.JSX.Element;
|
|
1378
1365
|
|
|
1379
1366
|
type InputProps = ComponentProps<typeof Input$1>;
|
|
1380
|
-
type Props$
|
|
1367
|
+
type Props$1n = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
1381
1368
|
defaultValue?: DateRange$1 | null;
|
|
1382
1369
|
endMonth?: Date;
|
|
1383
1370
|
onValueBlur?: (value: DateRange$1 | null) => void;
|
|
@@ -1385,7 +1372,7 @@ type Props$1l = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
|
1385
1372
|
startMonth?: Date;
|
|
1386
1373
|
value?: DateRange$1 | null;
|
|
1387
1374
|
};
|
|
1388
|
-
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$
|
|
1375
|
+
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$1n & {
|
|
1389
1376
|
ref?: Ref<ElementRef<"input">>;
|
|
1390
1377
|
}) => react_jsx_runtime.JSX.Element;
|
|
1391
1378
|
|
|
@@ -1403,7 +1390,7 @@ type OwnProps = {
|
|
|
1403
1390
|
* Props for `TextInput`. Extends `Input` with string-typed `value` / `defaultValue` and convenience
|
|
1404
1391
|
* `onValueChange` / `onValueBlur` callbacks. `null` / `undefined` are coerced to empty strings.
|
|
1405
1392
|
*/
|
|
1406
|
-
type Props$
|
|
1393
|
+
type Props$1m = OwnProps & NativeProps;
|
|
1407
1394
|
/**
|
|
1408
1395
|
* Standard text input with a string-only API. The default choice for a bare text input.
|
|
1409
1396
|
*
|
|
@@ -1415,42 +1402,84 @@ type Props$1k = OwnProps & NativeProps;
|
|
|
1415
1402
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1416
1403
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1417
1404
|
*/
|
|
1418
|
-
declare const TextInput: ({ ref, value, defaultValue, type, variant, onValueChange, onChange, onValueBlur, onBlur, ...props }: Props$
|
|
1405
|
+
declare const TextInput: ({ ref, value, defaultValue, type, variant, onValueChange, onChange, onValueBlur, onBlur, ...props }: Props$1m & {
|
|
1419
1406
|
ref?: Ref<ElementRef<"input">>;
|
|
1420
1407
|
}) => react_jsx_runtime.JSX.Element;
|
|
1421
1408
|
|
|
1422
|
-
type Props$
|
|
1423
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1409
|
+
type Props$1l = ComponentProps<typeof TextInput>;
|
|
1410
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$1l & {
|
|
1424
1411
|
ref?: Ref<ElementRef<"input">>;
|
|
1425
1412
|
}) => react_jsx_runtime.JSX.Element;
|
|
1426
1413
|
|
|
1427
|
-
type Props$
|
|
1414
|
+
type Props$1k = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1428
1415
|
viewPortClassName?: string;
|
|
1429
1416
|
scrollBarClassName?: string;
|
|
1430
1417
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1431
1418
|
};
|
|
1432
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1419
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$1k & {
|
|
1433
1420
|
ref?: Ref<ElementRef<"div">>;
|
|
1434
1421
|
}) => react_jsx_runtime.JSX.Element;
|
|
1435
1422
|
|
|
1436
|
-
type Props$
|
|
1437
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1423
|
+
type Props$1j = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1424
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$1j) => react_jsx_runtime.JSX.Element;
|
|
1438
1425
|
|
|
1439
|
-
type Props$
|
|
1440
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1426
|
+
type Props$1i = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1427
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$1i & {
|
|
1441
1428
|
ref?: Ref<ElementRef<"div">>;
|
|
1442
1429
|
}) => react_jsx_runtime.JSX.Element;
|
|
1443
1430
|
|
|
1444
|
-
type Props$
|
|
1445
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
1431
|
+
type Props$1h = ComponentProps<typeof Command$1.Group>;
|
|
1432
|
+
declare const CommandGroup: ({ className, ...props }: Props$1h) => react_jsx_runtime.JSX.Element;
|
|
1446
1433
|
|
|
1447
|
-
type Props$
|
|
1434
|
+
type Props$1g = ComponentProps<typeof Command$1.Item> & {
|
|
1448
1435
|
icon?: ReactNode;
|
|
1449
1436
|
checked?: boolean;
|
|
1450
1437
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1451
1438
|
actions?: ReactNode;
|
|
1452
1439
|
};
|
|
1453
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1440
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$1g) => react_jsx_runtime.JSX.Element;
|
|
1441
|
+
|
|
1442
|
+
/** Viewport-relative box of the highlighted target. */
|
|
1443
|
+
type TargetRect = {
|
|
1444
|
+
top: number;
|
|
1445
|
+
left: number;
|
|
1446
|
+
width: number;
|
|
1447
|
+
height: number;
|
|
1448
|
+
};
|
|
1449
|
+
/** Element to track: a CSS selector, a React ref, or nothing (centered/no target). */
|
|
1450
|
+
type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
1451
|
+
/**
|
|
1452
|
+
* Resolves a `target` (CSS selector or React ref) to a live viewport rect and
|
|
1453
|
+
* keeps it in sync while `enabled` — re-measuring on resize and scroll so an
|
|
1454
|
+
* anchored overlay (e.g. `SpotlightBackdrop` + `Popover`) follows the element.
|
|
1455
|
+
* Returns `null` when disabled or the target is absent, so callers can fall
|
|
1456
|
+
* back to a centered/full-dim layout.
|
|
1457
|
+
*/
|
|
1458
|
+
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1459
|
+
|
|
1460
|
+
type Props$1f = {
|
|
1461
|
+
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1462
|
+
rect: TargetRect | null;
|
|
1463
|
+
/** Padding around the target inside the cut-out, in px. */
|
|
1464
|
+
padding?: number;
|
|
1465
|
+
/** Corner radius of the cut-out, in px. */
|
|
1466
|
+
radius?: number;
|
|
1467
|
+
className?: string;
|
|
1468
|
+
/** Fired when the dim layer is clicked (e.g. to dismiss). Receives the click event. */
|
|
1469
|
+
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
1470
|
+
};
|
|
1471
|
+
/**
|
|
1472
|
+
* Full-viewport dimmed layer with an SVG-mask cut-out around a target rect,
|
|
1473
|
+
* producing a spotlight highlight. With `rect={null}` it dims the whole viewport
|
|
1474
|
+
* (no cut-out). The dim tone uses the semantic `foreground` token, so it re-skins
|
|
1475
|
+
* with the active brand.
|
|
1476
|
+
*
|
|
1477
|
+
* **Presentational primitive** — pass a `rect` from `useTargetRect`, and compose
|
|
1478
|
+
* with `Popover` for an anchored callout. Tour / coachmark orchestration
|
|
1479
|
+
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1480
|
+
* "Guided tour (recipe)" story for the composition.
|
|
1481
|
+
*/
|
|
1482
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$1f) => react_jsx_runtime.JSX.Element;
|
|
1454
1483
|
|
|
1455
1484
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
1456
1485
|
declare const Calendar: {
|
|
@@ -1494,13 +1523,13 @@ declare const DateRangePicker: {
|
|
|
1494
1523
|
displayName: string;
|
|
1495
1524
|
};
|
|
1496
1525
|
|
|
1497
|
-
type Props$
|
|
1526
|
+
type Props$1e = {
|
|
1498
1527
|
children?: ReactNode;
|
|
1499
1528
|
defaultSelected?: string | null;
|
|
1500
1529
|
selected?: string | null;
|
|
1501
1530
|
onSelect?: (time: string) => void;
|
|
1502
1531
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1503
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$
|
|
1532
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$1e) => react_jsx_runtime.JSX.Element;
|
|
1504
1533
|
|
|
1505
1534
|
type LabelProps = {
|
|
1506
1535
|
id?: string | number;
|
|
@@ -1522,21 +1551,21 @@ declare const switchVariants: (props?: ({
|
|
|
1522
1551
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
1523
1552
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1524
1553
|
|
|
1525
|
-
type Props$
|
|
1554
|
+
type Props$1d = {
|
|
1526
1555
|
id?: string | number;
|
|
1527
1556
|
children?: ReactNode;
|
|
1528
1557
|
description?: ReactNode;
|
|
1529
1558
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1530
1559
|
position?: 'start' | 'end';
|
|
1531
1560
|
} & Omit<ComponentProps<typeof Root$6>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
1532
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
1561
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$1d & {
|
|
1533
1562
|
ref?: Ref<ElementRef<"button">>;
|
|
1534
1563
|
}) => react_jsx_runtime.JSX.Element;
|
|
1535
1564
|
|
|
1536
1565
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
1537
1566
|
type Orientation = 'vertical' | 'horizontal';
|
|
1538
1567
|
|
|
1539
|
-
type Props$
|
|
1568
|
+
type Props$1c<Value> = {
|
|
1540
1569
|
variant?: Variant$7;
|
|
1541
1570
|
orientation?: Orientation;
|
|
1542
1571
|
onValueChange?: (value: Value) => void;
|
|
@@ -1544,12 +1573,13 @@ type Props$1b<Value> = {
|
|
|
1544
1573
|
defaultValue?: Value | null;
|
|
1545
1574
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1546
1575
|
declare const RadioGroup: {
|
|
1547
|
-
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
1576
|
+
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$1c<Value>): react_jsx_runtime.JSX.Element;
|
|
1548
1577
|
Item: <T extends string = string>({ children, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1549
1578
|
content?: string | undefined | undefined;
|
|
1550
1579
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1551
1580
|
prefix?: string | undefined | undefined;
|
|
1552
1581
|
id?: string | undefined | undefined;
|
|
1582
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1553
1583
|
form?: string | undefined | undefined;
|
|
1554
1584
|
slot?: string | undefined | undefined;
|
|
1555
1585
|
style?: react.CSSProperties | undefined;
|
|
@@ -1596,7 +1626,6 @@ declare const RadioGroup: {
|
|
|
1596
1626
|
results?: number | undefined | undefined;
|
|
1597
1627
|
security?: string | undefined | undefined;
|
|
1598
1628
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
1599
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1600
1629
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
1601
1630
|
popoverTarget?: string | undefined | undefined;
|
|
1602
1631
|
inert?: boolean | undefined | undefined;
|
|
@@ -1841,34 +1870,34 @@ declare const RadioGroup: {
|
|
|
1841
1870
|
} & {
|
|
1842
1871
|
value: T;
|
|
1843
1872
|
tooltip?: react.ReactNode;
|
|
1844
|
-
tooltipVariant?: Props$
|
|
1845
|
-
tooltipPlacement?: Props$
|
|
1873
|
+
tooltipVariant?: Props$1L["variant"];
|
|
1874
|
+
tooltipPlacement?: Props$1L["placement"];
|
|
1846
1875
|
description?: react.ReactNode;
|
|
1847
1876
|
}) => react_jsx_runtime.JSX.Element;
|
|
1848
1877
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
1849
1878
|
};
|
|
1850
1879
|
|
|
1851
|
-
type Props$
|
|
1880
|
+
type Props$1b = ComponentProps<typeof Thumb> & {
|
|
1852
1881
|
tooltip?: ReactNode;
|
|
1853
1882
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
1854
1883
|
};
|
|
1855
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
1884
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$1b & {
|
|
1856
1885
|
ref?: Ref<ElementRef<typeof Thumb>>;
|
|
1857
1886
|
}) => react_jsx_runtime.JSX.Element;
|
|
1858
1887
|
|
|
1859
1888
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
1860
|
-
type Props$
|
|
1889
|
+
type Props$1a = ComponentProps<typeof Root$7> & {
|
|
1861
1890
|
thumbTooltip?: ThumbTooltipFn;
|
|
1862
1891
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
1863
1892
|
rangeClassName?: string;
|
|
1864
1893
|
};
|
|
1865
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
1894
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$1a & {
|
|
1866
1895
|
ref?: Ref<ElementRef<typeof Root$7>>;
|
|
1867
1896
|
}) => react_jsx_runtime.JSX.Element;
|
|
1868
1897
|
|
|
1869
1898
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent$1<HTMLButtonElement>) => void;
|
|
1870
1899
|
type SearchBlurEventHandler = (value: string, event: FocusEvent$1<HTMLInputElement, Element>) => void;
|
|
1871
|
-
type Props$
|
|
1900
|
+
type Props$19 = {
|
|
1872
1901
|
suffix?: ReactNode;
|
|
1873
1902
|
disableDebounce?: boolean;
|
|
1874
1903
|
debounceDelay?: number;
|
|
@@ -1883,14 +1912,14 @@ type Props$18 = {
|
|
|
1883
1912
|
/**
|
|
1884
1913
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
1885
1914
|
*/
|
|
1886
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
1915
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$19 & {
|
|
1887
1916
|
ref?: Ref<ElementRef<"input">>;
|
|
1888
1917
|
}) => react_jsx_runtime.JSX.Element;
|
|
1889
1918
|
|
|
1890
|
-
type Props$
|
|
1919
|
+
type Props$18 = {
|
|
1891
1920
|
onSubmit: (value: string) => void;
|
|
1892
1921
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
1893
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
1922
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$18 & {
|
|
1894
1923
|
ref?: Ref<ElementRef<"input">>;
|
|
1895
1924
|
}) => react_jsx_runtime.JSX.Element;
|
|
1896
1925
|
|
|
@@ -1913,12 +1942,12 @@ type SelectRootProps = {
|
|
|
1913
1942
|
declare const variants$2: (props?: ({
|
|
1914
1943
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1915
1944
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1916
|
-
state?: "
|
|
1945
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
1917
1946
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1918
|
-
type Props$
|
|
1947
|
+
type Props$17 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof variants$2>, 'variant'> & {
|
|
1919
1948
|
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'>;
|
|
1920
1949
|
} & Pick<ComponentProps<typeof _radix_ui_react_select.Value>, 'placeholder'>;
|
|
1921
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
1950
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$17 & {
|
|
1922
1951
|
ref?: Ref<ElementRef<"button">>;
|
|
1923
1952
|
}) => react_jsx_runtime.JSX.Element;
|
|
1924
1953
|
|
|
@@ -1937,7 +1966,7 @@ type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
|
1937
1966
|
* Props for `Select`. Combines Radix `Select.Root` control props with `Select.Trigger` chrome and the
|
|
1938
1967
|
* convenience `items` shape (flat list, or grouped lists with optional labels).
|
|
1939
1968
|
*/
|
|
1940
|
-
type Props$
|
|
1969
|
+
type Props$16 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className'> & {
|
|
1941
1970
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
1942
1971
|
};
|
|
1943
1972
|
/**
|
|
@@ -1952,17 +1981,17 @@ type Props$15 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange'
|
|
|
1952
1981
|
* `Select.Item`) for custom item layouts; the top-level `Select` covers the common cases.
|
|
1953
1982
|
*/
|
|
1954
1983
|
declare const Select: {
|
|
1955
|
-
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$
|
|
1984
|
+
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$16): react_jsx_runtime.JSX.Element;
|
|
1956
1985
|
Root: (props: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1957
1986
|
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: (_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
1958
1987
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1959
1988
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1960
|
-
state?: "
|
|
1989
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
1961
1990
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
1962
1991
|
variant?: Exclude<class_variance_authority.VariantProps<(props?: ({
|
|
1963
1992
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1964
1993
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1965
|
-
state?: "
|
|
1994
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
1966
1995
|
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo">;
|
|
1967
1996
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">) & {
|
|
1968
1997
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
@@ -1982,51 +2011,51 @@ declare const Select: {
|
|
|
1982
2011
|
Separator: ({ className, ...props }: _radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1983
2012
|
};
|
|
1984
2013
|
|
|
1985
|
-
type Props$
|
|
2014
|
+
type Props$15 = {
|
|
1986
2015
|
id?: string | number;
|
|
1987
2016
|
description?: ReactNode;
|
|
1988
2017
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1989
2018
|
position?: 'start' | 'end';
|
|
1990
|
-
tooltip?: Props$
|
|
1991
|
-
tooltipPlacement?: Props$
|
|
2019
|
+
tooltip?: Props$1L['tooltip'];
|
|
2020
|
+
tooltipPlacement?: Props$1L['placement'];
|
|
1992
2021
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
1993
|
-
declare function Checkbox(prop: Omit<Props$
|
|
2022
|
+
declare function Checkbox(prop: Omit<Props$15, 'checked' | 'onCheckedChange'> & {
|
|
1994
2023
|
checked?: boolean;
|
|
1995
2024
|
onCheckedChange?: (checked: boolean) => void;
|
|
1996
2025
|
}): ReactNode;
|
|
1997
|
-
declare function Checkbox(prop: Omit<Props$
|
|
2026
|
+
declare function Checkbox(prop: Omit<Props$15, 'checked' | 'onCheckedChange'> & {
|
|
1998
2027
|
checked?: CheckedState;
|
|
1999
2028
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
2000
2029
|
}): ReactNode;
|
|
2001
2030
|
|
|
2002
2031
|
type Variant$6 = 'check' | 'checkbox';
|
|
2003
|
-
type Props$
|
|
2032
|
+
type Props$14 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
2004
2033
|
className?: string;
|
|
2005
2034
|
variant?: Variant$6;
|
|
2006
2035
|
};
|
|
2007
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
2036
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$14 & {
|
|
2008
2037
|
ref?: Ref<ElementRef<"span">>;
|
|
2009
2038
|
}) => react_jsx_runtime.JSX.Element;
|
|
2010
2039
|
|
|
2011
|
-
type Props$
|
|
2012
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
2040
|
+
type Props$13 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
2041
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$13 & {
|
|
2013
2042
|
ref?: Ref<ElementRef<"input">>;
|
|
2014
2043
|
}) => react_jsx_runtime.JSX.Element;
|
|
2015
2044
|
|
|
2016
2045
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
2017
|
-
type Props$
|
|
2046
|
+
type Props$12 = InputGroupProps$6 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
2018
2047
|
className?: string;
|
|
2019
2048
|
};
|
|
2020
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
2049
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$12 & {
|
|
2021
2050
|
ref?: Ref<ElementRef<"div">>;
|
|
2022
2051
|
}) => react_jsx_runtime.JSX.Element;
|
|
2023
2052
|
|
|
2024
|
-
type Props$
|
|
2053
|
+
type Props$11 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
2025
2054
|
className?: string;
|
|
2026
2055
|
icon?: ReactNode;
|
|
2027
2056
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
2028
2057
|
};
|
|
2029
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
2058
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$11 & {
|
|
2030
2059
|
ref?: Ref<ElementRef<"div">>;
|
|
2031
2060
|
}) => react_jsx_runtime.JSX.Element;
|
|
2032
2061
|
|
|
@@ -2046,7 +2075,7 @@ type CreatableProps<Value> = {
|
|
|
2046
2075
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
2047
2076
|
queryToCreateValue?: (query: string) => Value;
|
|
2048
2077
|
};
|
|
2049
|
-
type Props
|
|
2078
|
+
type Props$10<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps<Value> & {
|
|
2050
2079
|
items?: readonly (Value | GroupShape)[];
|
|
2051
2080
|
allowClear?: boolean;
|
|
2052
2081
|
empty?: ReactNode;
|
|
@@ -2058,11 +2087,11 @@ type Props$$<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComb
|
|
|
2058
2087
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
2059
2088
|
};
|
|
2060
2089
|
declare const Combobox: {
|
|
2061
|
-
<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
|
|
2090
|
+
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$10<Value, GroupShape>): react_jsx_runtime.JSX.Element;
|
|
2062
2091
|
Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
|
|
2063
2092
|
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: ({
|
|
2064
2093
|
variant?: "primary" | "secondary" | null | undefined;
|
|
2065
|
-
state?: "
|
|
2094
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
2066
2095
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
2067
2096
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
2068
2097
|
} & Omit<Omit<_base_ui_react_combobox.ComboboxInputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className" | "render"> & {
|
|
@@ -2077,6 +2106,7 @@ declare const Combobox: {
|
|
|
2077
2106
|
prefix?: string | undefined | undefined;
|
|
2078
2107
|
id?: string | undefined | undefined;
|
|
2079
2108
|
name?: string | undefined | undefined;
|
|
2109
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2080
2110
|
form?: string | undefined | undefined;
|
|
2081
2111
|
slot?: string | undefined | undefined;
|
|
2082
2112
|
style?: react.CSSProperties | ((state: _base_ui_react_combobox.ComboboxInputState) => React.CSSProperties | undefined) | undefined;
|
|
@@ -2121,7 +2151,6 @@ declare const Combobox: {
|
|
|
2121
2151
|
results?: number | undefined | undefined;
|
|
2122
2152
|
security?: string | undefined | undefined;
|
|
2123
2153
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
2124
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2125
2154
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
2126
2155
|
popoverTarget?: string | undefined | undefined;
|
|
2127
2156
|
inert?: boolean | undefined | undefined;
|
|
@@ -2425,7 +2454,7 @@ declare const Combobox: {
|
|
|
2425
2454
|
Chips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, variant, }: {
|
|
2426
2455
|
maxVisible?: number;
|
|
2427
2456
|
itemToChipLabel?: ((item: Value) => ReactNode) | undefined;
|
|
2428
|
-
itemToChipColor?: ((item: Value) => "orange" | "blue" | "red" | "green" | "gray" | "cyan" | "purple" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | undefined) | undefined;
|
|
2457
|
+
itemToChipColor?: ((item: Value) => "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" | undefined) | undefined;
|
|
2429
2458
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2430
2459
|
}) => react_jsx_runtime.JSX.Element;
|
|
2431
2460
|
};
|
|
@@ -2441,7 +2470,7 @@ type Indicator = NonNullable<ComboboxItemProps['indicator']>;
|
|
|
2441
2470
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
2442
2471
|
* the default substring matcher.
|
|
2443
2472
|
*/
|
|
2444
|
-
type Props
|
|
2473
|
+
type Props$$<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'> & {
|
|
2445
2474
|
items?: readonly (Value | GroupShape)[];
|
|
2446
2475
|
allowClear?: boolean;
|
|
2447
2476
|
allowSelectAll?: boolean;
|
|
@@ -2465,7 +2494,7 @@ type Props$_<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<Combo
|
|
|
2465
2494
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
2466
2495
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
2467
2496
|
*/
|
|
2468
|
-
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
|
|
2497
|
+
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$$<Value, GroupShape>) => react_jsx_runtime.JSX.Element;
|
|
2469
2498
|
|
|
2470
2499
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
2471
2500
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
@@ -2478,12 +2507,12 @@ type TextareaOwnProps = {
|
|
|
2478
2507
|
disableResize?: boolean;
|
|
2479
2508
|
containerClassName?: string;
|
|
2480
2509
|
};
|
|
2481
|
-
type Props$
|
|
2510
|
+
type Props$_ = InputGroupProps$5 & TextareaNativeProps & TextareaOwnProps;
|
|
2482
2511
|
/**
|
|
2483
2512
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
2484
2513
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
2485
2514
|
*/
|
|
2486
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props$
|
|
2515
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props$_ & {
|
|
2487
2516
|
ref?: Ref<ElementRef<"textarea">>;
|
|
2488
2517
|
}) => react_jsx_runtime.JSX.Element;
|
|
2489
2518
|
|
|
@@ -2498,198 +2527,80 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
2498
2527
|
|
|
2499
2528
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2500
2529
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2501
|
-
type Props$
|
|
2530
|
+
type Props$Z = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
2502
2531
|
value?: string | null;
|
|
2503
2532
|
defaultValue?: string | null;
|
|
2504
2533
|
onValueChange?: (value: string) => void;
|
|
2505
2534
|
onValueBlur?: (value: string) => void;
|
|
2506
2535
|
allowClear?: boolean;
|
|
2507
2536
|
};
|
|
2508
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
2537
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$Z & {
|
|
2509
2538
|
ref?: Ref<ElementRef<"input">>;
|
|
2510
2539
|
}) => react_jsx_runtime.JSX.Element;
|
|
2511
2540
|
|
|
2512
|
-
type
|
|
2513
|
-
type
|
|
2514
|
-
type
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
/**
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
/**
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2541
|
+
type BrandId = string;
|
|
2542
|
+
type ResolvedColorScheme = 'light' | 'dark';
|
|
2543
|
+
type ColorScheme = 'system' | ResolvedColorScheme;
|
|
2544
|
+
type Tokens = Record<string, string>;
|
|
2545
|
+
type Theme = Pick<Brand, 'id' | 'name' | 'shell' | 'logo'>;
|
|
2546
|
+
|
|
2547
|
+
type UseBrandOptions = {
|
|
2548
|
+
/** Initial active brand id for uncontrolled use. Defaults to the design-system sentinel (`DEFAULT_BRAND_ID`) — no brand tokens injected, so the stylesheet defaults apply. */
|
|
2549
|
+
defaultBrandId?: BrandId;
|
|
2550
|
+
/** Controlled active brand id. When set, the parent owns the value and `setBrand` only notifies via `onBrandIdChange` (it does not mutate internal state). */
|
|
2551
|
+
brandId?: BrandId;
|
|
2552
|
+
/** Called with the next id whenever `setBrand` runs — required to persist the choice in controlled mode. */
|
|
2553
|
+
onBrandIdChange?: (brandId: BrandId) => void;
|
|
2554
|
+
};
|
|
2555
|
+
declare const useBrandState: ({ defaultBrandId: defaultBrand, brandId: controlledBrand, onBrandIdChange: onBrandChange, }?: UseBrandOptions) => {
|
|
2556
|
+
brandId: string;
|
|
2557
|
+
setBrand: (next: BrandId) => void;
|
|
2558
|
+
};
|
|
2559
|
+
|
|
2560
|
+
type UseColorSchemeOptions = {
|
|
2561
|
+
/** Initial colour scheme for uncontrolled use. Defaults to `light` (`DEFAULT_COLOR_SCHEME`). */
|
|
2562
|
+
defaultScheme?: ColorScheme;
|
|
2563
|
+
/** Controlled colour scheme (`light` / `dark` / `system`). When set, the parent owns the value and `setScheme` only notifies via `onSchemeChange`. `system` follows `prefers-color-scheme` and resolves reactively. */
|
|
2564
|
+
scheme?: ColorScheme;
|
|
2565
|
+
/** Called with the next scheme whenever `setScheme` runs — required to persist the choice in controlled mode. */
|
|
2566
|
+
onSchemeChange?: (theme: ColorScheme) => void;
|
|
2567
|
+
};
|
|
2568
|
+
declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchemeChange, }?: UseColorSchemeOptions) => {
|
|
2569
|
+
scheme: ColorScheme;
|
|
2570
|
+
resolvedScheme: ResolvedColorScheme;
|
|
2571
|
+
setScheme: (next: ColorScheme) => void;
|
|
2572
|
+
};
|
|
2573
|
+
|
|
2574
|
+
type Props$Y = UseColorSchemeOptions & UseBrandOptions & {
|
|
2575
|
+
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
2576
|
+
brands?: readonly Brand[];
|
|
2543
2577
|
children: ReactNode;
|
|
2544
2578
|
};
|
|
2545
|
-
|
|
2546
|
-
* Responsibilities:
|
|
2547
|
-
* - ROOT only: render hidden SVG gradient definitions (`aigradient-600`,
|
|
2548
|
-
* `aigradient-700`). The IDs are hardcoded, so a nested provider must not
|
|
2549
|
-
* re-emit them or the document gains duplicate (HTML-invalid) IDs.
|
|
2550
|
-
* - Set `data-brand="<brand.id>"` on `<html>` and inject the matching `--color-*` /
|
|
2551
|
-
* `--radius-*` CSS variables (for the resolved light/dark mode) so chrome
|
|
2552
|
-
* re-skins for the supplied brand.
|
|
2553
|
-
* - ROOT only: set `data-theme` (`light` | `dark`) on `<html>` and own the
|
|
2554
|
-
* `prefers-color-scheme` media listener when `colorScheme === 'system'`.
|
|
2555
|
-
* A nested provider inherits the resolved mode from the parent context and
|
|
2556
|
-
* touches neither `data-theme` nor a media listener.
|
|
2557
|
-
* - Expose `{ brand, setBrand?, colorScheme, resolvedMode }` via `useTheme()`.
|
|
2558
|
-
* - ROOT only: mount a Radix `TooltipProvider` around the subtree so any
|
|
2559
|
-
* `Tooltip` works without a separately-mounted provider. Nested providers
|
|
2560
|
-
* inherit the root's `TooltipProvider` via context, so they add none of their
|
|
2561
|
-
* own — this keeps a single delay group across the app (apps like kbc-ui mount
|
|
2562
|
-
* dozens of scoped `ThemeProvider`s, so re-mounting a provider per subtree
|
|
2563
|
-
* would fragment tooltip delay behavior). A consumer's own `TooltipProvider`
|
|
2564
|
-
* still composes fine.
|
|
2565
|
-
*
|
|
2566
|
-
* Brand × mode: the active mode's palette is injected inline on `<html>`. When
|
|
2567
|
-
* the resolved mode is `dark` and the brand has no `colorsDark`, the colour
|
|
2568
|
-
* vars are NOT emitted — the stylesheet `[data-theme='dark']` block supplies
|
|
2569
|
-
* them, so no `!important` override is ever needed.
|
|
2570
|
-
*
|
|
2571
|
-
* `data-brand` (brand id) and `data-theme` (light/dark) are separate axes so
|
|
2572
|
-
* they compose without clobbering each other.
|
|
2573
|
-
*/
|
|
2574
|
-
declare const ThemeProvider: ({ brand, setBrand, colorScheme, children, }: Props$X) => react_jsx_runtime.JSX.Element;
|
|
2579
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$Y) => react_jsx_runtime.JSX.Element;
|
|
2575
2580
|
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
* error UX so missing-provider bugs surface as a clear runtime message instead
|
|
2581
|
-
* of a confusing "undefined.brand" downstream.
|
|
2582
|
-
*/
|
|
2581
|
+
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
2582
|
+
themes: Theme[];
|
|
2583
|
+
currentTheme: Theme;
|
|
2584
|
+
};
|
|
2583
2585
|
declare const useTheme: () => ThemeContextValue;
|
|
2584
|
-
|
|
2585
2586
|
/**
|
|
2586
|
-
*
|
|
2587
|
-
* nearest `<ThemeProvider>`. Read-only — there is no setter (yet).
|
|
2587
|
+
* TEMPORARY — kbc-ui-internal only.
|
|
2588
2588
|
*
|
|
2589
|
-
*
|
|
2589
|
+
* Flags whether the subtree renders the argo design language. Defaults to argo
|
|
2590
|
+
* (`true`) — the modern default; legacy chrome is the exception. It exists
|
|
2591
|
+
* solely to bridge kbc-ui while its chrome is migrated off the legacy design
|
|
2592
|
+
* language: kbc-ui provides `false` for legacy brands/surfaces (see its
|
|
2593
|
+
* `AppThemeProvider`) and reads it via `useArgoDesign`. `ThemeProvider` does
|
|
2594
|
+
* not set it — argo is decoupled from the brand. Once every kbc-ui surface has
|
|
2595
|
+
* been migrated, this context and its hook can be deleted.
|
|
2590
2596
|
*/
|
|
2591
|
-
declare const
|
|
2592
|
-
|
|
2593
|
-
resolvedMode: ResolvedMode;
|
|
2594
|
-
};
|
|
2595
|
-
|
|
2596
|
-
declare const useIsLegacyBrand: () => boolean;
|
|
2597
|
+
declare const ArgoDesignContext: react.Context<boolean>;
|
|
2598
|
+
declare const useArgoDesign: () => boolean;
|
|
2597
2599
|
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
colorScheme?: ColorScheme;
|
|
2601
|
-
children: ReactNode;
|
|
2602
|
-
};
|
|
2603
|
-
/**
|
|
2604
|
-
* Storybook decorator that wraps every story in a `ThemeProvider`. Wire it
|
|
2605
|
-
* once in `.storybook/preview.tsx` (added to the global `decorators` array),
|
|
2606
|
-
* driven by the `brand` global the toolbar item sets. Pair with
|
|
2607
|
-
* `resolveStorybookBrand` + `themeToolbarBrands` from `./storybookBrands` to
|
|
2608
|
-
* build the toolbar. This is the empirical brand-swap harness UT-4047
|
|
2609
|
-
* promised for the layer-0 contract.
|
|
2610
|
-
*
|
|
2611
|
-
* `colorScheme` (driven by the **Mode** toolbar) is forwarded to the provider
|
|
2612
|
-
* so flipping it sets `data-theme` and emits the active mode's palette — the
|
|
2613
|
-
* empirical light/dark switch. The story is rendered on a `bg-background`
|
|
2614
|
-
* surface so the mode is actually visible (otherwise dark-mode text sits on
|
|
2615
|
-
* the unrelated canvas backdrop).
|
|
2616
|
-
*/
|
|
2617
|
-
declare const ThemeDecorator: ({ brand, colorScheme, children }: Props$W) => react_jsx_runtime.JSX.Element;
|
|
2600
|
+
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
2601
|
+
declare const DEFAULT_BRAND_ID = "design-system";
|
|
2618
2602
|
|
|
2619
|
-
|
|
2620
|
-
* Default toolbar items shipped with `ThemeDecorator` — the same brand IDs
|
|
2621
|
-
* the registry exports today. Re-exported so a downstream Storybook config
|
|
2622
|
-
* can extend the list with additional brands without re-implementing the
|
|
2623
|
-
* decorator wiring.
|
|
2624
|
-
*/
|
|
2625
|
-
declare const themeToolbarBrands: {
|
|
2626
|
-
id: string;
|
|
2627
|
-
name: string;
|
|
2628
|
-
colors: {
|
|
2629
|
-
foreground: string;
|
|
2630
|
-
background: string;
|
|
2631
|
-
muted: string;
|
|
2632
|
-
mutedForeground: string;
|
|
2633
|
-
border: string;
|
|
2634
|
-
primary: string;
|
|
2635
|
-
primaryForeground: string;
|
|
2636
|
-
destructive: string;
|
|
2637
|
-
destructiveForeground: string;
|
|
2638
|
-
accent?: string | undefined;
|
|
2639
|
-
accentForeground?: string | undefined;
|
|
2640
|
-
};
|
|
2641
|
-
shell: "sidebar" | "topnav";
|
|
2642
|
-
colorsDark?: {
|
|
2643
|
-
foreground: string;
|
|
2644
|
-
background: string;
|
|
2645
|
-
muted: string;
|
|
2646
|
-
mutedForeground: string;
|
|
2647
|
-
border: string;
|
|
2648
|
-
primary: string;
|
|
2649
|
-
primaryForeground: string;
|
|
2650
|
-
destructive: string;
|
|
2651
|
-
destructiveForeground: string;
|
|
2652
|
-
accent?: string | undefined;
|
|
2653
|
-
accentForeground?: string | undefined;
|
|
2654
|
-
} | undefined;
|
|
2655
|
-
sidebarColors?: {
|
|
2656
|
-
sidebar?: string | undefined;
|
|
2657
|
-
sidebarForeground?: string | undefined;
|
|
2658
|
-
sidebarPrimary?: string | undefined;
|
|
2659
|
-
sidebarPrimaryForeground?: string | undefined;
|
|
2660
|
-
sidebarAccent?: string | undefined;
|
|
2661
|
-
sidebarAccentForeground?: string | undefined;
|
|
2662
|
-
sidebarBorder?: string | undefined;
|
|
2663
|
-
sidebarRing?: string | undefined;
|
|
2664
|
-
} | undefined;
|
|
2665
|
-
sidebarColorsDark?: {
|
|
2666
|
-
sidebar?: string | undefined;
|
|
2667
|
-
sidebarForeground?: string | undefined;
|
|
2668
|
-
sidebarPrimary?: string | undefined;
|
|
2669
|
-
sidebarPrimaryForeground?: string | undefined;
|
|
2670
|
-
sidebarAccent?: string | undefined;
|
|
2671
|
-
sidebarAccentForeground?: string | undefined;
|
|
2672
|
-
sidebarBorder?: string | undefined;
|
|
2673
|
-
sidebarRing?: string | undefined;
|
|
2674
|
-
} | undefined;
|
|
2675
|
-
typography?: {
|
|
2676
|
-
fontFamily: string;
|
|
2677
|
-
} | undefined;
|
|
2678
|
-
radii?: {
|
|
2679
|
-
sm: string;
|
|
2680
|
-
md: string;
|
|
2681
|
-
lg: string;
|
|
2682
|
-
} | undefined;
|
|
2683
|
-
density?: "comfortable" | "compact" | undefined;
|
|
2684
|
-
}[];
|
|
2685
|
-
/**
|
|
2686
|
-
* Resolve a brand ID coming from the Storybook globals object. Falls back to
|
|
2687
|
-
* the canonical Keboola brand if the ID is unknown — keeps the decorator
|
|
2688
|
-
* defensive against stale URL state.
|
|
2689
|
-
*/
|
|
2690
|
-
declare const resolveStorybookBrand: (id: unknown) => Brand;
|
|
2691
|
-
|
|
2692
|
-
type Props$V = {
|
|
2603
|
+
type Props$X = {
|
|
2693
2604
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
2694
2605
|
value: ColorScheme;
|
|
2695
2606
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -2714,11 +2625,11 @@ type Props$V = {
|
|
|
2714
2625
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
2715
2626
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
2716
2627
|
*/
|
|
2717
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
2628
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$X) => react_jsx_runtime.JSX.Element;
|
|
2718
2629
|
|
|
2719
2630
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2720
2631
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
2721
|
-
type Props$
|
|
2632
|
+
type Props$W = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
2722
2633
|
value?: number | null;
|
|
2723
2634
|
defaultValue?: number | null;
|
|
2724
2635
|
onValueChange?: (value: number | null) => void;
|
|
@@ -2726,13 +2637,13 @@ type Props$U = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
2726
2637
|
prefix?: ReactNode;
|
|
2727
2638
|
suffix?: ReactNode;
|
|
2728
2639
|
};
|
|
2729
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
2640
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$W & {
|
|
2730
2641
|
ref?: Ref<ElementRef<"input">>;
|
|
2731
2642
|
}) => react_jsx_runtime.JSX.Element;
|
|
2732
2643
|
|
|
2733
2644
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2734
2645
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
2735
|
-
type Props$
|
|
2646
|
+
type Props$V = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
2736
2647
|
value?: string | null;
|
|
2737
2648
|
defaultValue?: string | null;
|
|
2738
2649
|
onValueChange?: (value: string) => void;
|
|
@@ -2742,20 +2653,20 @@ type Props$T = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
|
2742
2653
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
2743
2654
|
defaultPasswordVisibility?: boolean;
|
|
2744
2655
|
};
|
|
2745
|
-
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$
|
|
2656
|
+
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$V & {
|
|
2746
2657
|
ref?: Ref<ElementRef<"input">>;
|
|
2747
2658
|
}) => react_jsx_runtime.JSX.Element;
|
|
2748
2659
|
|
|
2749
2660
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2750
2661
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2751
|
-
type Props$
|
|
2662
|
+
type Props$U = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
2752
2663
|
value?: string | null;
|
|
2753
2664
|
defaultValue?: string | null;
|
|
2754
2665
|
onValueChange?: (value: string | null) => void;
|
|
2755
2666
|
onValueBlur?: (value: string | null) => void;
|
|
2756
2667
|
allowClear?: boolean;
|
|
2757
2668
|
};
|
|
2758
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2669
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$U & {
|
|
2759
2670
|
ref?: Ref<ElementRef<"input">>;
|
|
2760
2671
|
}) => react_jsx_runtime.JSX.Element;
|
|
2761
2672
|
|
|
@@ -2811,7 +2722,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
2811
2722
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
2812
2723
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
2813
2724
|
*/
|
|
2814
|
-
type Props$
|
|
2725
|
+
type Props$T = InputGroupProps & InputGroupInputProps & {
|
|
2815
2726
|
value?: string | null;
|
|
2816
2727
|
defaultValue?: string | null;
|
|
2817
2728
|
/** 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`. */
|
|
@@ -2840,7 +2751,7 @@ type Props$R = InputGroupProps & InputGroupInputProps & {
|
|
|
2840
2751
|
*
|
|
2841
2752
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
2842
2753
|
*/
|
|
2843
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
2754
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$T & {
|
|
2844
2755
|
ref?: Ref<ElementRef<"input">>;
|
|
2845
2756
|
}) => react_jsx_runtime.JSX.Element;
|
|
2846
2757
|
|
|
@@ -2865,25 +2776,25 @@ declare const addonVariants: (props?: ({
|
|
|
2865
2776
|
align?: "inline-start" | "inline-end" | null | undefined;
|
|
2866
2777
|
variant?: "inline" | "floating" | null | undefined;
|
|
2867
2778
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2868
|
-
type Props$
|
|
2869
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
2779
|
+
type Props$S = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
2780
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$S & {
|
|
2870
2781
|
ref?: Ref<ElementRef<"div">>;
|
|
2871
2782
|
}) => react_jsx_runtime.JSX.Element;
|
|
2872
2783
|
|
|
2873
|
-
type Props$
|
|
2784
|
+
type Props$R = ComponentProps<'span'> & {
|
|
2874
2785
|
asChild?: boolean;
|
|
2875
2786
|
};
|
|
2876
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
2787
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$R & {
|
|
2877
2788
|
ref?: Ref<ElementRef<"span">>;
|
|
2878
2789
|
}) => react_jsx_runtime.JSX.Element;
|
|
2879
2790
|
|
|
2880
2791
|
declare const badgeRootVariants: (props?: ({
|
|
2881
2792
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2882
|
-
color?: "orange" | "blue" | "red" | "green" | "gray" | "cyan" | "purple" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2793
|
+
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;
|
|
2883
2794
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2884
2795
|
|
|
2885
|
-
type Props$
|
|
2886
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$
|
|
2796
|
+
type Props$Q = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
2797
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$Q & {
|
|
2887
2798
|
ref?: Ref<ElementRef<"div">>;
|
|
2888
2799
|
}) => react_jsx_runtime.JSX.Element;
|
|
2889
2800
|
|
|
@@ -2892,22 +2803,22 @@ type BadgeRootProps = ComponentProps<typeof BadgeRoot>;
|
|
|
2892
2803
|
type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
2893
2804
|
/**
|
|
2894
2805
|
* Props for `Badge`. `color` is a categorical contract (`green` = success, `red` = error, `orange` = warning,
|
|
2895
|
-
* `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
2806
|
+
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
2896
2807
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
2897
2808
|
*/
|
|
2898
|
-
type Props$
|
|
2809
|
+
type Props$P = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
2899
2810
|
prefix?: ReactNode;
|
|
2900
2811
|
prefixVariant?: AddonVariant;
|
|
2901
2812
|
suffix?: ReactNode;
|
|
2902
2813
|
suffixVariant?: AddonVariant;
|
|
2903
2814
|
labelClassName?: string;
|
|
2904
2815
|
};
|
|
2905
|
-
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
2816
|
+
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$P & {
|
|
2906
2817
|
ref?: Ref<ElementRef<"span">>;
|
|
2907
2818
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2908
2819
|
Root: ({ ref, variant, color, className, children, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2909
2820
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2910
|
-
color?: "orange" | "blue" | "red" | "green" | "gray" | "cyan" | "purple" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2821
|
+
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;
|
|
2911
2822
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2912
2823
|
ref?: Ref<ElementRef<"div">>;
|
|
2913
2824
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -2934,45 +2845,45 @@ type TagOption = {
|
|
|
2934
2845
|
disabled?: boolean;
|
|
2935
2846
|
};
|
|
2936
2847
|
|
|
2937
|
-
type Props$
|
|
2848
|
+
type Props$O = {
|
|
2938
2849
|
onCreate?: (search: string) => void;
|
|
2939
2850
|
} & Pick<ComponentProps<typeof Command.Item>, 'value'>;
|
|
2940
|
-
declare const TagSelectCreateItem: ({ onCreate, value }: Props$
|
|
2851
|
+
declare const TagSelectCreateItem: ({ onCreate, value }: Props$O) => react_jsx_runtime.JSX.Element;
|
|
2941
2852
|
|
|
2942
|
-
type Props$
|
|
2853
|
+
type Props$N = {
|
|
2943
2854
|
value: string[];
|
|
2944
2855
|
onAdd?: (selected: string[]) => void;
|
|
2945
2856
|
};
|
|
2946
|
-
declare const TagSelectValue: ({ value, onAdd }: Props$
|
|
2857
|
+
declare const TagSelectValue: ({ value, onAdd }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
2947
2858
|
|
|
2948
|
-
type Props$
|
|
2859
|
+
type Props$M = {
|
|
2949
2860
|
options?: TagOption[];
|
|
2950
2861
|
} & Pick<ComponentProps<typeof TagSelectValue>, 'onAdd'> & Pick<ComponentProps<typeof TagSelectCreateItem>, 'onCreate'>;
|
|
2951
|
-
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$
|
|
2862
|
+
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$M) => react_jsx_runtime.JSX.Element;
|
|
2952
2863
|
|
|
2953
|
-
type Props$
|
|
2864
|
+
type Props$L = {
|
|
2954
2865
|
children: ReactNode;
|
|
2955
2866
|
} & ComponentProps<typeof TagSelectList>;
|
|
2956
|
-
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$
|
|
2867
|
+
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$L) => react_jsx_runtime.JSX.Element;
|
|
2957
2868
|
|
|
2958
2869
|
type OnValueChangeHandler = (value: {
|
|
2959
2870
|
action: 'add' | 'remove';
|
|
2960
2871
|
tags: TagOption[];
|
|
2961
2872
|
allTags: TagOption[];
|
|
2962
2873
|
}) => void;
|
|
2963
|
-
type Props$
|
|
2874
|
+
type Props$K = {
|
|
2964
2875
|
value?: TagOption[];
|
|
2965
2876
|
onValueChange: OnValueChangeHandler;
|
|
2966
2877
|
disabled?: boolean;
|
|
2967
2878
|
} & Pick<ComponentProps<typeof TagSelectPopover>, 'options' | 'onCreate'>;
|
|
2968
|
-
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$
|
|
2879
|
+
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$K) => react_jsx_runtime.JSX.Element | null;
|
|
2969
2880
|
|
|
2970
2881
|
/**
|
|
2971
2882
|
* Props for `FileUpload`. The component is uncontrolled with respect to the file
|
|
2972
2883
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
2973
2884
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
2974
2885
|
*/
|
|
2975
|
-
type Props$
|
|
2886
|
+
type Props$J = {
|
|
2976
2887
|
/** MIME / extension filter passed straight to react-dropzone. */
|
|
2977
2888
|
accept?: Accept;
|
|
2978
2889
|
/** Max size per file, in bytes. Oversized files are rejected and surface in `onFilesRejected`. */
|
|
@@ -2991,7 +2902,7 @@ type Props$H = {
|
|
|
2991
2902
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
2992
2903
|
children: ReactNode;
|
|
2993
2904
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'>;
|
|
2994
|
-
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
2905
|
+
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$J) => react_jsx_runtime.JSX.Element) & {
|
|
2995
2906
|
DropZone: ({ children, className, ...rest }: {
|
|
2996
2907
|
children?: ReactNode;
|
|
2997
2908
|
} & Omit<HTMLAttributes<HTMLDivElement>, "children">) => react_jsx_runtime.JSX.Element;
|
|
@@ -3039,6 +2950,7 @@ declare const FormGroup: {
|
|
|
3039
2950
|
prefix?: ReactNode;
|
|
3040
2951
|
id?: string | undefined | undefined;
|
|
3041
2952
|
name?: string | undefined | undefined;
|
|
2953
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3042
2954
|
variant?: "primary" | "secondary" | null | undefined;
|
|
3043
2955
|
form?: string | undefined | undefined;
|
|
3044
2956
|
slot?: string | undefined | undefined;
|
|
@@ -3087,7 +2999,6 @@ declare const FormGroup: {
|
|
|
3087
2999
|
results?: number | undefined | undefined;
|
|
3088
3000
|
security?: string | undefined | undefined;
|
|
3089
3001
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
3090
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3091
3002
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
3092
3003
|
popoverTarget?: string | undefined | undefined;
|
|
3093
3004
|
inert?: boolean | undefined | undefined;
|
|
@@ -3364,6 +3275,7 @@ declare const FormGroup: {
|
|
|
3364
3275
|
prefix?: ReactNode;
|
|
3365
3276
|
id?: string | undefined | undefined;
|
|
3366
3277
|
name?: string | undefined | undefined;
|
|
3278
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3367
3279
|
variant?: "primary" | "secondary" | null | undefined;
|
|
3368
3280
|
form?: string | undefined | undefined;
|
|
3369
3281
|
slot?: string | undefined | undefined;
|
|
@@ -3412,7 +3324,6 @@ declare const FormGroup: {
|
|
|
3412
3324
|
results?: number | undefined | undefined;
|
|
3413
3325
|
security?: string | undefined | undefined;
|
|
3414
3326
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
3415
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3416
3327
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
3417
3328
|
popoverTarget?: string | undefined | undefined;
|
|
3418
3329
|
inert?: boolean | undefined | undefined;
|
|
@@ -3685,6 +3596,7 @@ declare const FormGroup: {
|
|
|
3685
3596
|
prefix?: string | undefined | undefined;
|
|
3686
3597
|
id?: string | undefined | undefined;
|
|
3687
3598
|
name?: string | undefined | undefined;
|
|
3599
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3688
3600
|
variant?: "primary" | "secondary" | null | undefined;
|
|
3689
3601
|
form?: string | undefined | undefined;
|
|
3690
3602
|
slot?: string | undefined | undefined;
|
|
@@ -3733,7 +3645,6 @@ declare const FormGroup: {
|
|
|
3733
3645
|
results?: number | undefined | undefined;
|
|
3734
3646
|
security?: string | undefined | undefined;
|
|
3735
3647
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
3736
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3737
3648
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
3738
3649
|
popoverTarget?: string | undefined | undefined;
|
|
3739
3650
|
inert?: boolean | undefined | undefined;
|
|
@@ -4006,6 +3917,7 @@ declare const FormGroup: {
|
|
|
4006
3917
|
prefix?: string | undefined | undefined;
|
|
4007
3918
|
id?: string | undefined | undefined;
|
|
4008
3919
|
name?: string | undefined | undefined;
|
|
3920
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
4009
3921
|
variant?: "primary" | "secondary" | null | undefined;
|
|
4010
3922
|
form?: string | undefined | undefined;
|
|
4011
3923
|
slot?: string | undefined | undefined;
|
|
@@ -4055,7 +3967,6 @@ declare const FormGroup: {
|
|
|
4055
3967
|
results?: number | undefined | undefined;
|
|
4056
3968
|
security?: string | undefined | undefined;
|
|
4057
3969
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
4058
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
4059
3970
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
4060
3971
|
popoverTarget?: string | undefined | undefined;
|
|
4061
3972
|
inert?: boolean | undefined | undefined;
|
|
@@ -4313,49 +4224,63 @@ declare const FormGroup: {
|
|
|
4313
4224
|
};
|
|
4314
4225
|
|
|
4315
4226
|
declare const helpVariants: (props?: ({
|
|
4316
|
-
state?: "
|
|
4227
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
4317
4228
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4318
|
-
type Props$
|
|
4229
|
+
type Props$I = {
|
|
4319
4230
|
className?: string;
|
|
4320
4231
|
children?: ReactNode;
|
|
4321
4232
|
testId?: string;
|
|
4322
4233
|
} & VariantProps<typeof helpVariants>;
|
|
4323
|
-
declare const HelpBlock: ({ children, className, state, testId }: Props$
|
|
4234
|
+
declare const HelpBlock: ({ children, className, state, testId }: Props$I) => react_jsx_runtime.JSX.Element | null;
|
|
4324
4235
|
|
|
4325
4236
|
type AnswerItem = {
|
|
4326
4237
|
question: string;
|
|
4327
4238
|
answer?: string;
|
|
4328
4239
|
};
|
|
4329
4240
|
type Variant$5 = 'success' | 'dismissed';
|
|
4330
|
-
type Props$
|
|
4241
|
+
type Props$H = {
|
|
4331
4242
|
items: readonly AnswerItem[];
|
|
4332
4243
|
variant?: Variant$5;
|
|
4333
4244
|
noAnswerLabel?: string;
|
|
4334
4245
|
};
|
|
4335
|
-
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$
|
|
4246
|
+
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$H) => react_jsx_runtime.JSX.Element;
|
|
4336
4247
|
|
|
4337
4248
|
type Variant$4 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4338
|
-
type Props$
|
|
4249
|
+
type Props$G = {
|
|
4339
4250
|
isExpanded: boolean;
|
|
4340
4251
|
onToggle: () => void;
|
|
4341
4252
|
label: ReactNode;
|
|
4342
4253
|
variant?: Variant$4;
|
|
4343
4254
|
};
|
|
4344
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$
|
|
4255
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
4345
4256
|
|
|
4346
|
-
type Props$
|
|
4257
|
+
type Props$F = {
|
|
4347
4258
|
children: ReactNode;
|
|
4348
4259
|
};
|
|
4349
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
4260
|
+
declare const InlineStepDetail: ({ children }: Props$F) => react_jsx_runtime.JSX.Element;
|
|
4350
4261
|
|
|
4351
4262
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4352
|
-
type Props$
|
|
4263
|
+
type Props$E = {
|
|
4353
4264
|
variant: Variant$3;
|
|
4354
4265
|
children: ReactNode;
|
|
4355
4266
|
};
|
|
4356
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
4267
|
+
declare const InlineStepLabel: ({ variant, children }: Props$E) => react_jsx_runtime.JSX.Element;
|
|
4357
4268
|
|
|
4358
|
-
type Props$
|
|
4269
|
+
type Props$D = {
|
|
4270
|
+
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4271
|
+
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4272
|
+
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
4273
|
+
children: string;
|
|
4274
|
+
className?: string;
|
|
4275
|
+
};
|
|
4276
|
+
/**
|
|
4277
|
+
* Read-only GFM Markdown renderer with design-token typography. Pair with
|
|
4278
|
+
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4279
|
+
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4280
|
+
*/
|
|
4281
|
+
declare const Markdown: ({ children, className }: Props$D) => react_jsx_runtime.JSX.Element;
|
|
4282
|
+
|
|
4283
|
+
type Props$C = {
|
|
4359
4284
|
user?: {
|
|
4360
4285
|
name: string | undefined;
|
|
4361
4286
|
email: string | undefined;
|
|
@@ -4365,17 +4290,17 @@ type Props$B = {
|
|
|
4365
4290
|
size?: number;
|
|
4366
4291
|
variant?: 'circle' | 'rounded';
|
|
4367
4292
|
} & ComponentProps<'span'>;
|
|
4368
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4293
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$C & {
|
|
4369
4294
|
ref?: Ref<ElementRef<"span">>;
|
|
4370
4295
|
}) => react_jsx_runtime.JSX.Element;
|
|
4371
4296
|
|
|
4372
|
-
type Props$
|
|
4297
|
+
type Props$B = {
|
|
4373
4298
|
variant: 'user' | 'assistant';
|
|
4374
4299
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4375
4300
|
actions?: ReactNode;
|
|
4376
4301
|
createdAt?: string;
|
|
4377
4302
|
} & PropsWithChildren;
|
|
4378
|
-
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$
|
|
4303
|
+
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$B) => react_jsx_runtime.JSX.Element;
|
|
4379
4304
|
|
|
4380
4305
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
4381
4306
|
type PlanApprovalProps = {
|
|
@@ -4423,17 +4348,17 @@ type PromptCommand = {
|
|
|
4423
4348
|
};
|
|
4424
4349
|
|
|
4425
4350
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4426
|
-
type Props$
|
|
4351
|
+
type Props$A = Pick<ComponentProps<typeof Button>, 'disabled'> & {
|
|
4427
4352
|
status?: SubmitStatus;
|
|
4428
4353
|
};
|
|
4429
|
-
declare const PromptInputSubmit: ({ ref, disabled, status, }: Props$
|
|
4354
|
+
declare const PromptInputSubmit: ({ ref, disabled, status, }: Props$A & {
|
|
4430
4355
|
ref?: Ref<ElementRef<"button">>;
|
|
4431
4356
|
}) => react_jsx_runtime.JSX.Element;
|
|
4432
4357
|
|
|
4433
4358
|
declare const promptInputVariants: (props?: ({
|
|
4434
4359
|
variant?: "inline" | "default" | null | undefined;
|
|
4435
4360
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4436
|
-
type Props$
|
|
4361
|
+
type Props$z = {
|
|
4437
4362
|
onSend?: (value: string) => void;
|
|
4438
4363
|
onAbort?: () => void;
|
|
4439
4364
|
onContinue?: () => void;
|
|
@@ -4447,7 +4372,7 @@ type Props$y = {
|
|
|
4447
4372
|
commands?: PromptCommand[];
|
|
4448
4373
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof react_textarea_autosize__default>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4449
4374
|
declare const PromptInput: {
|
|
4450
|
-
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4375
|
+
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$z): react_jsx_runtime.JSX.Element;
|
|
4451
4376
|
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & {
|
|
4452
4377
|
ref?: react.Ref<ElementRef<"button">>;
|
|
4453
4378
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -4459,7 +4384,7 @@ type QuestionOption = {
|
|
|
4459
4384
|
description?: string;
|
|
4460
4385
|
preview?: string;
|
|
4461
4386
|
};
|
|
4462
|
-
type Props$
|
|
4387
|
+
type Props$y = {
|
|
4463
4388
|
question: string;
|
|
4464
4389
|
header?: string;
|
|
4465
4390
|
options: readonly QuestionOption[];
|
|
@@ -4482,7 +4407,7 @@ type Props$x = {
|
|
|
4482
4407
|
renderPreview?: (content: string) => ReactNode;
|
|
4483
4408
|
className?: string;
|
|
4484
4409
|
};
|
|
4485
|
-
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$
|
|
4410
|
+
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
4486
4411
|
|
|
4487
4412
|
type QuestionStep = {
|
|
4488
4413
|
question: string;
|
|
@@ -4496,7 +4421,7 @@ type QuestionAnswers = {
|
|
|
4496
4421
|
selections: Record<number, readonly string[]>;
|
|
4497
4422
|
customAnswers: Record<number, string>;
|
|
4498
4423
|
};
|
|
4499
|
-
type Props$
|
|
4424
|
+
type Props$x = {
|
|
4500
4425
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
4501
4426
|
showSkip?: boolean;
|
|
4502
4427
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -4504,23 +4429,75 @@ type Props$w = {
|
|
|
4504
4429
|
renderPreview?: (content: string) => ReactNode;
|
|
4505
4430
|
className?: string;
|
|
4506
4431
|
};
|
|
4507
|
-
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$
|
|
4432
|
+
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$x) => react_jsx_runtime.JSX.Element;
|
|
4508
4433
|
|
|
4509
|
-
type Props$
|
|
4434
|
+
type Props$w = {
|
|
4510
4435
|
label: string;
|
|
4511
4436
|
disabled?: boolean;
|
|
4512
4437
|
onClick: () => void;
|
|
4513
4438
|
icon?: ReactNode;
|
|
4514
4439
|
className?: string;
|
|
4515
4440
|
};
|
|
4516
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4441
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
4517
4442
|
|
|
4518
4443
|
type ThinkingIndicatorProps = {
|
|
4519
4444
|
label?: string;
|
|
4520
4445
|
};
|
|
4521
4446
|
declare const ThinkingIndicator: ({ label }: ThinkingIndicatorProps) => react_jsx_runtime.JSX.Element;
|
|
4522
4447
|
|
|
4523
|
-
type
|
|
4448
|
+
type ToolCallApprovalStatus = 'pending' | 'approved' | 'rejected' | 'expired';
|
|
4449
|
+
type ToolCallApprovalProps = {
|
|
4450
|
+
/** The tool being called (e.g. `run_sql`). Rendered as a monospace tag. */
|
|
4451
|
+
toolName: string;
|
|
4452
|
+
/** Human-readable summary of what the tool will do. */
|
|
4453
|
+
title?: ReactNode;
|
|
4454
|
+
status: ToolCallApprovalStatus;
|
|
4455
|
+
onApprove?: () => void;
|
|
4456
|
+
onReject?: () => void;
|
|
4457
|
+
/** App-rendered detail — a diff, a `ToolCallChip`, a chart, arguments. */
|
|
4458
|
+
children?: ReactNode;
|
|
4459
|
+
/**
|
|
4460
|
+
* Replaces the default Approve/Reject buttons in the pending state. Use when
|
|
4461
|
+
* the call needs bespoke controls (e.g. an inline reason field).
|
|
4462
|
+
*/
|
|
4463
|
+
actions?: ReactNode;
|
|
4464
|
+
isSubmitting?: boolean;
|
|
4465
|
+
/**
|
|
4466
|
+
* Opt into `Enter` = approve / `Escape` = reject while pending. Off by
|
|
4467
|
+
* default so the shortcuts never fire unexpectedly in a busy chat.
|
|
4468
|
+
*/
|
|
4469
|
+
enableShortcuts?: boolean;
|
|
4470
|
+
approveLabel?: string;
|
|
4471
|
+
rejectLabel?: string;
|
|
4472
|
+
className?: string;
|
|
4473
|
+
};
|
|
4474
|
+
/**
|
|
4475
|
+
* Per-tool-call approve/reject frame — the granular sibling of `PlanApproval`
|
|
4476
|
+
* (which approves a whole plan). Chrome + status + actions only: the app
|
|
4477
|
+
* renders the call detail as `children` and owns the SDK/permission wiring.
|
|
4478
|
+
*/
|
|
4479
|
+
declare const ToolCallApproval: ({ toolName, title, status, onApprove, onReject, children, actions, isSubmitting, enableShortcuts, approveLabel, rejectLabel, className, }: ToolCallApprovalProps) => react_jsx_runtime.JSX.Element;
|
|
4480
|
+
|
|
4481
|
+
type ToolCallState = 'processing' | 'done' | 'error';
|
|
4482
|
+
type ToolCallChipProps = {
|
|
4483
|
+
label: ReactNode;
|
|
4484
|
+
state: ToolCallState;
|
|
4485
|
+
/** Leading icon; defaults to a state glyph (spinner / check / x). */
|
|
4486
|
+
icon?: ReactNode;
|
|
4487
|
+
/** Trailing node (e.g. a chevron or count). */
|
|
4488
|
+
trailing?: ReactNode;
|
|
4489
|
+
/** When set, the chip renders as a button and fires this on click. */
|
|
4490
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
4491
|
+
className?: string;
|
|
4492
|
+
};
|
|
4493
|
+
/**
|
|
4494
|
+
* Presentational chip summarising a single tool call (icon + label + optional
|
|
4495
|
+
* trailing action). It has **no** URL/router knowledge — wrap it in a `Link`
|
|
4496
|
+
* or pass `onClick` for navigation; the app owns deep-linking.
|
|
4497
|
+
*/
|
|
4498
|
+
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className, }: ToolCallChipProps) => react_jsx_runtime.JSX.Element;
|
|
4499
|
+
|
|
4500
|
+
type Props$v = {
|
|
4524
4501
|
value: number;
|
|
4525
4502
|
alert?: boolean;
|
|
4526
4503
|
children: ReactNode;
|
|
@@ -4534,19 +4511,19 @@ type Props$u = {
|
|
|
4534
4511
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4535
4512
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4536
4513
|
};
|
|
4537
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$
|
|
4514
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$v) => react_jsx_runtime.JSX.Element;
|
|
4538
4515
|
|
|
4539
|
-
type Props$
|
|
4516
|
+
type Props$u = {
|
|
4540
4517
|
value: number;
|
|
4541
4518
|
size?: number;
|
|
4542
4519
|
strokeWidth?: number;
|
|
4543
4520
|
className?: string;
|
|
4544
4521
|
};
|
|
4545
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4522
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
4546
4523
|
|
|
4547
|
-
type Props$
|
|
4524
|
+
type Props$t = ComponentProps<typeof Root$9>;
|
|
4548
4525
|
declare const Collapsible: {
|
|
4549
|
-
(props: Props$
|
|
4526
|
+
(props: Props$t): react_jsx_runtime.JSX.Element;
|
|
4550
4527
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
4551
4528
|
Content: ({ ref, className, children, ...props }: Omit<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
4552
4529
|
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
@@ -4554,10 +4531,10 @@ declare const Collapsible: {
|
|
|
4554
4531
|
};
|
|
4555
4532
|
|
|
4556
4533
|
type Variant$2 = 'info' | 'warning' | 'error' | 'success';
|
|
4557
|
-
type Props$
|
|
4534
|
+
type Props$s = {
|
|
4558
4535
|
variant?: Variant$2;
|
|
4559
4536
|
} & ComponentProps<'div'>;
|
|
4560
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4537
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$s & {
|
|
4561
4538
|
ref?: Ref<ElementRef<"div">>;
|
|
4562
4539
|
}) => react_jsx_runtime.JSX.Element;
|
|
4563
4540
|
|
|
@@ -4582,7 +4559,7 @@ type DefaultProps = {
|
|
|
4582
4559
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4583
4560
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4584
4561
|
*/
|
|
4585
|
-
type Props$
|
|
4562
|
+
type Props$r = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4586
4563
|
/**
|
|
4587
4564
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4588
4565
|
*
|
|
@@ -4596,13 +4573,13 @@ type Props$q = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4596
4573
|
*
|
|
4597
4574
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4598
4575
|
*/
|
|
4599
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
4576
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
4600
4577
|
|
|
4601
4578
|
declare const variants$1: (props?: ({
|
|
4602
|
-
variant?: "
|
|
4579
|
+
variant?: "success" | "warning" | "info" | "default" | "error" | null | undefined;
|
|
4603
4580
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4604
4581
|
type Variants = VariantProps<typeof variants$1>;
|
|
4605
|
-
type Props$
|
|
4582
|
+
type Props$q = {
|
|
4606
4583
|
id: string | number;
|
|
4607
4584
|
title: ReactNode;
|
|
4608
4585
|
icon?: ReactNode;
|
|
@@ -4611,7 +4588,7 @@ type Props$p = {
|
|
|
4611
4588
|
loading?: boolean;
|
|
4612
4589
|
duration?: number;
|
|
4613
4590
|
} & Variants;
|
|
4614
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$
|
|
4591
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
4615
4592
|
|
|
4616
4593
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
4617
4594
|
type Title = ToastProps['title'] | ((opts: {
|
|
@@ -4632,7 +4609,7 @@ declare const toast: {
|
|
|
4632
4609
|
dismissAll(): string | number;
|
|
4633
4610
|
};
|
|
4634
4611
|
|
|
4635
|
-
type Props$
|
|
4612
|
+
type Props$p = {
|
|
4636
4613
|
enabled?: boolean;
|
|
4637
4614
|
} & Parameters<typeof toast>[0];
|
|
4638
4615
|
/**
|
|
@@ -4645,22 +4622,22 @@ type Props$o = {
|
|
|
4645
4622
|
* Use `toast()` for transient feedback after a user action
|
|
4646
4623
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
4647
4624
|
*/
|
|
4648
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4625
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$p) => void;
|
|
4649
4626
|
|
|
4650
4627
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
4651
4628
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
4652
4629
|
|
|
4653
|
-
type Props$
|
|
4630
|
+
type Props$o = {
|
|
4654
4631
|
children?: ReactNode;
|
|
4655
4632
|
};
|
|
4656
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4633
|
+
declare const EmptySearchContent: ({ children }: Props$o) => react_jsx_runtime.JSX.Element;
|
|
4657
4634
|
|
|
4658
|
-
type Props$
|
|
4635
|
+
type Props$n = {
|
|
4659
4636
|
title: string;
|
|
4660
4637
|
children: ReactNode;
|
|
4661
4638
|
className?: string;
|
|
4662
4639
|
};
|
|
4663
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
4640
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
4664
4641
|
|
|
4665
4642
|
declare const emptyStateClassnames: (props?: ({
|
|
4666
4643
|
variant?: "compact" | "default" | null | undefined;
|
|
@@ -4797,11 +4774,11 @@ type DotsLoaderProps = {
|
|
|
4797
4774
|
declare const DotsLoader: ({ className }: DotsLoaderProps) => react_jsx_runtime.JSX.Element;
|
|
4798
4775
|
|
|
4799
4776
|
declare const variants: (props?: ({
|
|
4800
|
-
variant?: "
|
|
4777
|
+
variant?: "success" | "default" | null | undefined;
|
|
4801
4778
|
size?: "sm" | "lg" | null | undefined;
|
|
4802
4779
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4803
|
-
type Props$
|
|
4804
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
4780
|
+
type Props$m = ComponentProps<typeof Root$a> & VariantProps<typeof variants>;
|
|
4781
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$m & {
|
|
4805
4782
|
ref?: Ref<ElementRef<typeof Root$a>>;
|
|
4806
4783
|
}) => react_jsx_runtime.JSX.Element;
|
|
4807
4784
|
|
|
@@ -4819,7 +4796,7 @@ type CollapseProps = {
|
|
|
4819
4796
|
/** @deprecated Use `Collapsible` instead. */
|
|
4820
4797
|
declare const Collapse: ({ open, header, className, bodyClassName, children, onClick, animationClassName, hidden, ...rest }: CollapseProps & ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
4821
4798
|
|
|
4822
|
-
type Props$
|
|
4799
|
+
type Props$l = {
|
|
4823
4800
|
header: ReactNode;
|
|
4824
4801
|
isDisabled?: boolean;
|
|
4825
4802
|
defaultExpanded?: boolean;
|
|
@@ -4831,16 +4808,16 @@ type Props$k = {
|
|
|
4831
4808
|
variant?: 'default' | 'white';
|
|
4832
4809
|
children: ReactNode;
|
|
4833
4810
|
};
|
|
4834
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$
|
|
4811
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$l) => react_jsx_runtime.JSX.Element;
|
|
4835
4812
|
|
|
4836
|
-
type Props$
|
|
4813
|
+
type Props$k = PropsWithChildren<{
|
|
4837
4814
|
defaultExpanded?: boolean;
|
|
4838
4815
|
labelCollapse?: ReactNode;
|
|
4839
4816
|
labelOpen?: ReactNode;
|
|
4840
4817
|
placement?: 'top' | 'bottom';
|
|
4841
4818
|
className?: string;
|
|
4842
4819
|
}>;
|
|
4843
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$
|
|
4820
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$k) => react_jsx_runtime.JSX.Element;
|
|
4844
4821
|
|
|
4845
4822
|
type RootProps$1 = ComponentPropsWithoutRef<'div'>;
|
|
4846
4823
|
type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -5055,7 +5032,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5055
5032
|
*/
|
|
5056
5033
|
Token: ({ children, popover, onRemove, removeAriaLabel, ...props }: Omit<Omit<Pick<react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
5057
5034
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
5058
|
-
color?: "orange" | "blue" | "red" | "green" | "gray" | "cyan" | "purple" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
5035
|
+
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;
|
|
5059
5036
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
5060
5037
|
ref?: Ref<ElementRef<"div">>;
|
|
5061
5038
|
}, "variant" | "color"> & Omit<react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
@@ -5070,7 +5047,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5070
5047
|
labelClassName?: string;
|
|
5071
5048
|
} & {
|
|
5072
5049
|
ref?: Ref<ElementRef<"span">>;
|
|
5073
|
-
}, "ref">, "
|
|
5050
|
+
}, "ref">, "popover" | "variant" | "color" | "children" | "asChild" | "suffix"> & {
|
|
5074
5051
|
children: ReactNode;
|
|
5075
5052
|
popover: ReactNode;
|
|
5076
5053
|
onRemove: () => void;
|
|
@@ -5082,13 +5059,21 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5082
5059
|
Clear: ({ className, children, ...props }: ActionProps) => react_jsx_runtime.JSX.Element;
|
|
5083
5060
|
};
|
|
5084
5061
|
|
|
5085
|
-
|
|
5062
|
+
type Props$j = {
|
|
5063
|
+
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
5064
|
+
variant?: 'mark' | 'wordmark';
|
|
5065
|
+
/** Sets the logo height; aspect ratio is preserved (e.g. `tw-h-7`). */
|
|
5066
|
+
className?: string;
|
|
5067
|
+
};
|
|
5068
|
+
/**
|
|
5069
|
+
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
5070
|
+
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
5071
|
+
*/
|
|
5072
|
+
declare const BrandLogo: ({ variant, className }: Props$j) => react_jsx_runtime.JSX.Element | null;
|
|
5086
5073
|
|
|
5087
|
-
declare const
|
|
5088
|
-
ref?: Ref<ResizablePrimitive.ImperativePanelHandle>;
|
|
5089
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5074
|
+
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => react_jsx_runtime.JSX.Element;
|
|
5090
5075
|
|
|
5091
|
-
declare const ResizablePanelGroup: ({ className, ...props }: ComponentProps<typeof
|
|
5076
|
+
declare const ResizablePanelGroup: ({ className, orientation, ...props }: ComponentProps<typeof Group$1>) => react_jsx_runtime.JSX.Element;
|
|
5092
5077
|
|
|
5093
5078
|
type SidebarMode = 'expanded' | 'collapsed' | 'expand-on-hover';
|
|
5094
5079
|
type SidebarSide = 'left' | 'right';
|
|
@@ -5108,7 +5093,7 @@ type Props$i = {
|
|
|
5108
5093
|
};
|
|
5109
5094
|
declare const Sidebar: {
|
|
5110
5095
|
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$i): react_jsx_runtime.JSX.Element | null;
|
|
5111
|
-
Header: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5096
|
+
Header: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5112
5097
|
Content: ({ ref, className, children, contentRef, }: {
|
|
5113
5098
|
className?: string;
|
|
5114
5099
|
children?: ReactNode;
|
|
@@ -5135,6 +5120,7 @@ declare const Sidebar: {
|
|
|
5135
5120
|
translate?: "yes" | "no" | undefined | undefined;
|
|
5136
5121
|
prefix?: string | undefined | undefined;
|
|
5137
5122
|
id?: string | undefined | undefined;
|
|
5123
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5138
5124
|
label?: ReactNode;
|
|
5139
5125
|
slot?: string | undefined | undefined;
|
|
5140
5126
|
style?: CSSProperties | undefined;
|
|
@@ -5181,7 +5167,6 @@ declare const Sidebar: {
|
|
|
5181
5167
|
results?: number | undefined | undefined;
|
|
5182
5168
|
security?: string | undefined | undefined;
|
|
5183
5169
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
5184
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5185
5170
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
5186
5171
|
popoverTarget?: string | undefined | undefined;
|
|
5187
5172
|
inert?: boolean | undefined | undefined;
|
|
@@ -5448,6 +5433,7 @@ declare const Sidebar: {
|
|
|
5448
5433
|
translate?: "yes" | "no" | undefined | undefined;
|
|
5449
5434
|
id?: string | undefined | undefined;
|
|
5450
5435
|
name?: string | undefined | undefined;
|
|
5436
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5451
5437
|
form?: string | undefined | undefined;
|
|
5452
5438
|
slot?: string | undefined | undefined;
|
|
5453
5439
|
style?: CSSProperties | undefined;
|
|
@@ -5495,7 +5481,6 @@ declare const Sidebar: {
|
|
|
5495
5481
|
results?: number | undefined | undefined;
|
|
5496
5482
|
security?: string | undefined | undefined;
|
|
5497
5483
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
5498
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5499
5484
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
5500
5485
|
popoverTarget?: string | undefined | undefined;
|
|
5501
5486
|
inert?: boolean | undefined | undefined;
|
|
@@ -5928,6 +5913,40 @@ declare const Breadcrumb: {
|
|
|
5928
5913
|
Ellipsis: ({ ref, className, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & {
|
|
5929
5914
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5930
5915
|
}) => react_jsx_runtime.JSX.Element;
|
|
5916
|
+
Dropdown: {
|
|
5917
|
+
({ label, splitTrigger, triggerLabel, open, defaultOpen, onOpenChange, size, filter, shouldFilter, searchValue, onSearchChange, searchPlaceholder, emptyMessage, children, }: {
|
|
5918
|
+
label: react.ReactNode;
|
|
5919
|
+
splitTrigger?: boolean;
|
|
5920
|
+
triggerLabel?: string;
|
|
5921
|
+
open?: boolean;
|
|
5922
|
+
defaultOpen?: boolean;
|
|
5923
|
+
onOpenChange?: (open: boolean) => void;
|
|
5924
|
+
size?: "small" | "medium" | "large";
|
|
5925
|
+
filter?: boolean;
|
|
5926
|
+
shouldFilter?: boolean;
|
|
5927
|
+
searchValue?: string;
|
|
5928
|
+
onSearchChange?: (value: string) => void;
|
|
5929
|
+
searchPlaceholder?: string;
|
|
5930
|
+
emptyMessage?: react.ReactNode;
|
|
5931
|
+
children: react.ReactNode;
|
|
5932
|
+
}): react_jsx_runtime.JSX.Element;
|
|
5933
|
+
Item: ({ ref, asChild, textValue, active, closeOnSelect, className, children, onClick, ...props }: (react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5934
|
+
asChild?: boolean;
|
|
5935
|
+
textValue?: string;
|
|
5936
|
+
active?: boolean;
|
|
5937
|
+
closeOnSelect?: boolean;
|
|
5938
|
+
}) & {
|
|
5939
|
+
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5940
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
5941
|
+
Group: ({ label, textValue, collapsible, defaultExpanded, className, children, }: {
|
|
5942
|
+
label: react.ReactNode;
|
|
5943
|
+
textValue?: string;
|
|
5944
|
+
collapsible?: boolean;
|
|
5945
|
+
defaultExpanded?: boolean;
|
|
5946
|
+
className?: string;
|
|
5947
|
+
children: react.ReactNode;
|
|
5948
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
5949
|
+
};
|
|
5931
5950
|
};
|
|
5932
5951
|
|
|
5933
5952
|
type Trigger<T extends string> = {
|
|
@@ -6071,8 +6090,8 @@ type Props$7 = {
|
|
|
6071
6090
|
tooltip?: ReactNode;
|
|
6072
6091
|
twoLines?: boolean;
|
|
6073
6092
|
noTooltip?: boolean;
|
|
6074
|
-
tooltipVariant?: Props$
|
|
6075
|
-
tooltipPlacement?: Props$
|
|
6093
|
+
tooltipVariant?: Props$1L['variant'];
|
|
6094
|
+
tooltipPlacement?: Props$1L['placement'];
|
|
6076
6095
|
} & Omit<ComponentPropsWithoutRef<'span'>, 'children'>;
|
|
6077
6096
|
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$7 & {
|
|
6078
6097
|
ref?: Ref<ElementRef<"span">>;
|
|
@@ -6122,7 +6141,7 @@ declare const Pagination: {
|
|
|
6122
6141
|
asChild?: boolean;
|
|
6123
6142
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6124
6143
|
block?: boolean | null | undefined;
|
|
6125
|
-
variant?: "primary" | "
|
|
6144
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6126
6145
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6127
6146
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
6128
6147
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
@@ -6136,7 +6155,7 @@ declare const Pagination: {
|
|
|
6136
6155
|
asChild?: boolean;
|
|
6137
6156
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6138
6157
|
block?: boolean | null | undefined;
|
|
6139
|
-
variant?: "primary" | "
|
|
6158
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6140
6159
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6141
6160
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
6142
6161
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
@@ -6150,7 +6169,7 @@ declare const Pagination: {
|
|
|
6150
6169
|
asChild?: boolean;
|
|
6151
6170
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6152
6171
|
block?: boolean | null | undefined;
|
|
6153
|
-
variant?: "primary" | "
|
|
6172
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6154
6173
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6155
6174
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
6156
6175
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
@@ -6277,6 +6296,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6277
6296
|
prefix?: react.ReactNode;
|
|
6278
6297
|
id?: string | undefined | undefined;
|
|
6279
6298
|
name?: string | undefined | undefined;
|
|
6299
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6280
6300
|
variant?: "primary" | "secondary" | null | undefined;
|
|
6281
6301
|
form?: string | undefined | undefined;
|
|
6282
6302
|
slot?: string | undefined | undefined;
|
|
@@ -6325,7 +6345,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6325
6345
|
results?: number | undefined | undefined;
|
|
6326
6346
|
security?: string | undefined | undefined;
|
|
6327
6347
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
6328
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6329
6348
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
6330
6349
|
popoverTarget?: string | undefined | undefined;
|
|
6331
6350
|
inert?: boolean | undefined | undefined;
|
|
@@ -6607,6 +6626,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6607
6626
|
prefix?: react.ReactNode;
|
|
6608
6627
|
id?: string | undefined | undefined;
|
|
6609
6628
|
name?: string | undefined | undefined;
|
|
6629
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6610
6630
|
variant?: "primary" | "secondary" | null | undefined;
|
|
6611
6631
|
form?: string | undefined | undefined;
|
|
6612
6632
|
slot?: string | undefined | undefined;
|
|
@@ -6655,7 +6675,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6655
6675
|
results?: number | undefined | undefined;
|
|
6656
6676
|
security?: string | undefined | undefined;
|
|
6657
6677
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
6658
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6659
6678
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
6660
6679
|
popoverTarget?: string | undefined | undefined;
|
|
6661
6680
|
inert?: boolean | undefined | undefined;
|
|
@@ -6928,7 +6947,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6928
6947
|
className?: string;
|
|
6929
6948
|
} & Omit<{
|
|
6930
6949
|
variant?: "primary" | "secondary" | null | undefined;
|
|
6931
|
-
state?: "
|
|
6950
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
6932
6951
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
6933
6952
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6934
6953
|
} & {
|
|
@@ -6938,6 +6957,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6938
6957
|
prefix?: string | undefined | undefined;
|
|
6939
6958
|
id?: string | undefined | undefined;
|
|
6940
6959
|
name?: string | undefined | undefined;
|
|
6960
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6941
6961
|
form?: string | undefined | undefined;
|
|
6942
6962
|
slot?: string | undefined | undefined;
|
|
6943
6963
|
style?: react.CSSProperties | undefined;
|
|
@@ -6984,7 +7004,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6984
7004
|
results?: number | undefined | undefined;
|
|
6985
7005
|
security?: string | undefined | undefined;
|
|
6986
7006
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
6987
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6988
7007
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
6989
7008
|
popoverTarget?: string | undefined | undefined;
|
|
6990
7009
|
inert?: boolean | undefined | undefined;
|
|
@@ -7263,6 +7282,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7263
7282
|
prefix?: string | undefined | undefined;
|
|
7264
7283
|
id?: string | undefined | undefined;
|
|
7265
7284
|
name?: string | undefined | undefined;
|
|
7285
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7266
7286
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7267
7287
|
form?: string | undefined | undefined;
|
|
7268
7288
|
slot?: string | undefined | undefined;
|
|
@@ -7312,7 +7332,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7312
7332
|
results?: number | undefined | undefined;
|
|
7313
7333
|
security?: string | undefined | undefined;
|
|
7314
7334
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
7315
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7316
7335
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
7317
7336
|
popoverTarget?: string | undefined | undefined;
|
|
7318
7337
|
inert?: boolean | undefined | undefined;
|
|
@@ -7575,7 +7594,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7575
7594
|
placeholder?: string;
|
|
7576
7595
|
triggerClassName?: string;
|
|
7577
7596
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7578
|
-
state?: "
|
|
7597
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
7579
7598
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
7580
7599
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
7581
7600
|
items: readonly {
|
|
@@ -7605,8 +7624,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7605
7624
|
description?: react.ReactNode;
|
|
7606
7625
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
7607
7626
|
position?: "start" | "end";
|
|
7608
|
-
tooltip?: Props$
|
|
7609
|
-
tooltipPlacement?: Props$
|
|
7627
|
+
tooltip?: Props$1L["tooltip"];
|
|
7628
|
+
tooltipPlacement?: Props$1L["placement"];
|
|
7610
7629
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
7611
7630
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
7612
7631
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -7638,7 +7657,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7638
7657
|
asChild?: boolean;
|
|
7639
7658
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
7640
7659
|
block?: boolean | null | undefined;
|
|
7641
|
-
variant?: "primary" | "
|
|
7660
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
7642
7661
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
7643
7662
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
7644
7663
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
@@ -7657,6 +7676,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7657
7676
|
prefix?: react.ReactNode;
|
|
7658
7677
|
id?: string | undefined | undefined;
|
|
7659
7678
|
name?: string | undefined | undefined;
|
|
7679
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7660
7680
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7661
7681
|
form?: string | undefined | undefined;
|
|
7662
7682
|
slot?: string | undefined | undefined;
|
|
@@ -7705,7 +7725,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7705
7725
|
results?: number | undefined | undefined;
|
|
7706
7726
|
security?: string | undefined | undefined;
|
|
7707
7727
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
7708
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7709
7728
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
7710
7729
|
popoverTarget?: string | undefined | undefined;
|
|
7711
7730
|
inert?: boolean | undefined | undefined;
|
|
@@ -7987,6 +8006,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7987
8006
|
prefix?: react.ReactNode;
|
|
7988
8007
|
id?: string | undefined | undefined;
|
|
7989
8008
|
name?: string | undefined | undefined;
|
|
8009
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7990
8010
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7991
8011
|
form?: string | undefined | undefined;
|
|
7992
8012
|
slot?: string | undefined | undefined;
|
|
@@ -8035,7 +8055,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8035
8055
|
results?: number | undefined | undefined;
|
|
8036
8056
|
security?: string | undefined | undefined;
|
|
8037
8057
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
8038
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8039
8058
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
8040
8059
|
popoverTarget?: string | undefined | undefined;
|
|
8041
8060
|
inert?: boolean | undefined | undefined;
|
|
@@ -8308,7 +8327,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8308
8327
|
className?: string;
|
|
8309
8328
|
} & Omit<{
|
|
8310
8329
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8311
|
-
state?: "
|
|
8330
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
8312
8331
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8313
8332
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8314
8333
|
} & {
|
|
@@ -8318,6 +8337,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8318
8337
|
prefix?: string | undefined | undefined;
|
|
8319
8338
|
id?: string | undefined | undefined;
|
|
8320
8339
|
name?: string | undefined | undefined;
|
|
8340
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8321
8341
|
form?: string | undefined | undefined;
|
|
8322
8342
|
slot?: string | undefined | undefined;
|
|
8323
8343
|
style?: react.CSSProperties | undefined;
|
|
@@ -8364,7 +8384,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8364
8384
|
results?: number | undefined | undefined;
|
|
8365
8385
|
security?: string | undefined | undefined;
|
|
8366
8386
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
8367
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8368
8387
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
8369
8388
|
popoverTarget?: string | undefined | undefined;
|
|
8370
8389
|
inert?: boolean | undefined | undefined;
|
|
@@ -8643,6 +8662,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8643
8662
|
prefix?: string | undefined | undefined;
|
|
8644
8663
|
id?: string | undefined | undefined;
|
|
8645
8664
|
name?: string | undefined | undefined;
|
|
8665
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8646
8666
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8647
8667
|
form?: string | undefined | undefined;
|
|
8648
8668
|
slot?: string | undefined | undefined;
|
|
@@ -8692,7 +8712,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8692
8712
|
results?: number | undefined | undefined;
|
|
8693
8713
|
security?: string | undefined | undefined;
|
|
8694
8714
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
8695
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8696
8715
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
8697
8716
|
popoverTarget?: string | undefined | undefined;
|
|
8698
8717
|
inert?: boolean | undefined | undefined;
|
|
@@ -8955,7 +8974,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8955
8974
|
placeholder?: string;
|
|
8956
8975
|
triggerClassName?: string;
|
|
8957
8976
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8958
|
-
state?: "
|
|
8977
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
8959
8978
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8960
8979
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
8961
8980
|
items: readonly {
|
|
@@ -8985,8 +9004,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8985
9004
|
description?: react.ReactNode;
|
|
8986
9005
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
8987
9006
|
position?: "start" | "end";
|
|
8988
|
-
tooltip?: Props$
|
|
8989
|
-
tooltipPlacement?: Props$
|
|
9007
|
+
tooltip?: Props$1L["tooltip"];
|
|
9008
|
+
tooltipPlacement?: Props$1L["placement"];
|
|
8990
9009
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
8991
9010
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
8992
9011
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -9018,7 +9037,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9018
9037
|
asChild?: boolean;
|
|
9019
9038
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
9020
9039
|
block?: boolean | null | undefined;
|
|
9021
|
-
variant?: "primary" | "
|
|
9040
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
9022
9041
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
9023
9042
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
9024
9043
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
@@ -9037,6 +9056,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9037
9056
|
prefix?: react.ReactNode;
|
|
9038
9057
|
id?: string | undefined | undefined;
|
|
9039
9058
|
name?: string | undefined | undefined;
|
|
9059
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9040
9060
|
variant?: "primary" | "secondary" | null | undefined;
|
|
9041
9061
|
form?: string | undefined | undefined;
|
|
9042
9062
|
slot?: string | undefined | undefined;
|
|
@@ -9085,7 +9105,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9085
9105
|
results?: number | undefined | undefined;
|
|
9086
9106
|
security?: string | undefined | undefined;
|
|
9087
9107
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
9088
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9089
9108
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
9090
9109
|
popoverTarget?: string | undefined | undefined;
|
|
9091
9110
|
inert?: boolean | undefined | undefined;
|
|
@@ -9367,6 +9386,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9367
9386
|
prefix?: react.ReactNode;
|
|
9368
9387
|
id?: string | undefined | undefined;
|
|
9369
9388
|
name?: string | undefined | undefined;
|
|
9389
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9370
9390
|
variant?: "primary" | "secondary" | null | undefined;
|
|
9371
9391
|
form?: string | undefined | undefined;
|
|
9372
9392
|
slot?: string | undefined | undefined;
|
|
@@ -9415,7 +9435,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9415
9435
|
results?: number | undefined | undefined;
|
|
9416
9436
|
security?: string | undefined | undefined;
|
|
9417
9437
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
9418
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9419
9438
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
9420
9439
|
popoverTarget?: string | undefined | undefined;
|
|
9421
9440
|
inert?: boolean | undefined | undefined;
|
|
@@ -9688,7 +9707,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9688
9707
|
className?: string;
|
|
9689
9708
|
} & Omit<{
|
|
9690
9709
|
variant?: "primary" | "secondary" | null | undefined;
|
|
9691
|
-
state?: "
|
|
9710
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
9692
9711
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
9693
9712
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9694
9713
|
} & {
|
|
@@ -9698,6 +9717,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9698
9717
|
prefix?: string | undefined | undefined;
|
|
9699
9718
|
id?: string | undefined | undefined;
|
|
9700
9719
|
name?: string | undefined | undefined;
|
|
9720
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9701
9721
|
form?: string | undefined | undefined;
|
|
9702
9722
|
slot?: string | undefined | undefined;
|
|
9703
9723
|
style?: react.CSSProperties | undefined;
|
|
@@ -9744,7 +9764,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9744
9764
|
results?: number | undefined | undefined;
|
|
9745
9765
|
security?: string | undefined | undefined;
|
|
9746
9766
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
9747
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9748
9767
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
9749
9768
|
popoverTarget?: string | undefined | undefined;
|
|
9750
9769
|
inert?: boolean | undefined | undefined;
|
|
@@ -10023,6 +10042,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10023
10042
|
prefix?: string | undefined | undefined;
|
|
10024
10043
|
id?: string | undefined | undefined;
|
|
10025
10044
|
name?: string | undefined | undefined;
|
|
10045
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
10026
10046
|
variant?: "primary" | "secondary" | null | undefined;
|
|
10027
10047
|
form?: string | undefined | undefined;
|
|
10028
10048
|
slot?: string | undefined | undefined;
|
|
@@ -10072,7 +10092,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10072
10092
|
results?: number | undefined | undefined;
|
|
10073
10093
|
security?: string | undefined | undefined;
|
|
10074
10094
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
10075
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
10076
10095
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
10077
10096
|
popoverTarget?: string | undefined | undefined;
|
|
10078
10097
|
inert?: boolean | undefined | undefined;
|
|
@@ -10335,7 +10354,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10335
10354
|
placeholder?: string;
|
|
10336
10355
|
triggerClassName?: string;
|
|
10337
10356
|
variant?: "primary" | "secondary" | null | undefined;
|
|
10338
|
-
state?: "
|
|
10357
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
10339
10358
|
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
10340
10359
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
10341
10360
|
items: readonly {
|
|
@@ -10365,8 +10384,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10365
10384
|
description?: react.ReactNode;
|
|
10366
10385
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10367
10386
|
position?: "start" | "end";
|
|
10368
|
-
tooltip?: Props$
|
|
10369
|
-
tooltipPlacement?: Props$
|
|
10387
|
+
tooltip?: Props$1L["tooltip"];
|
|
10388
|
+
tooltipPlacement?: Props$1L["placement"];
|
|
10370
10389
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10371
10390
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10372
10391
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10398,7 +10417,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10398
10417
|
asChild?: boolean;
|
|
10399
10418
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
10400
10419
|
block?: boolean | null | undefined;
|
|
10401
|
-
variant?: "primary" | "
|
|
10420
|
+
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
10402
10421
|
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
10403
10422
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
10404
10423
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
@@ -10463,4 +10482,4 @@ type Props = {
|
|
|
10463
10482
|
};
|
|
10464
10483
|
declare const ZoomableSvg: ({ html, copyText, className }: Props) => react_jsx_runtime.JSX.Element;
|
|
10465
10484
|
|
|
10466
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$
|
|
10485
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$H as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, DEFAULT_COLOR_SCHEME, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$3 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$2 as ErrorStateProps, type Variant as ErrorStateVariant, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, HelpBlock, HoverCard, InlineStepDetail, type Props$F as InlineStepDetailProps, InlineStepLabel, type Props$E as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, InputOtp, type RootProps$4 as InputOtpProps, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1m as Props, Question, type QuestionAnswers, QuestionBlock, type Props$x as QuestionBlockProps, type QuestionOption, type Props$y as QuestionProps, type QuestionStep, RadioGroup, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, Tabs, TabsContent, Tagger, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1L as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, cn, computeDiffRows, computeLineInformation, copyToClipboard, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, toast, useAppForm, useArgoDesign, useAutosizeInput, useInputOtpContext, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, withForm };
|