@keboola/design 11.5.0 → 11.6.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 +7 -6
- package/CHANGELOG.md +25 -0
- package/COMPONENT-API.md +5 -5
- package/dist/{AIKit-CNX6aiKm.js → AIKit-BExvt9pt.js} +206 -32
- package/dist/AIKit-BExvt9pt.js.map +1 -0
- package/dist/DiagramSource-C5_d8Gdj.js +11 -0
- package/dist/DiagramSource-C5_d8Gdj.js.map +1 -0
- package/dist/{FullScreenModal-BvPuYibe.js → FullScreenModal-CN9nAs72.js} +50 -2
- package/dist/FullScreenModal-CN9nAs72.js.map +1 -0
- package/dist/{MermaidDiagram-CXG5tC6J.js → MermaidDiagram-DSI7xMu2.js} +3 -2
- package/dist/{MermaidDiagram-CXG5tC6J.js.map → MermaidDiagram-DSI7xMu2.js.map} +1 -1
- package/dist/flint.js +2 -1
- package/dist/flint.js.map +1 -1
- package/dist/index.d.ts +358 -283
- package/dist/index.js +3 -3
- package/dist/internal/blocks/AIKit.js +2 -2
- package/dist/internal/components/FullScreenModal.js +1 -1
- package/dist/internal/components/Progress.js +3 -1
- package/dist/internal/components/Progress.js.map +1 -1
- package/dist/markdown-editor.js +1 -1
- package/dist/mermaid.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/{svgTransforms-C9njt92h.js → svgTransforms-CJAYPk7o.js} +2 -10
- package/dist/svgTransforms-CJAYPk7o.js.map +1 -0
- package/package.json +4 -4
- package/dist/AIKit-CNX6aiKm.js.map +0 -1
- package/dist/FullScreenModal-BvPuYibe.js.map +0 -1
- package/dist/svgTransforms-C9njt92h.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ declare const argoVariants: (props?: ({
|
|
|
56
56
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
57
57
|
* composed as children — `<Button><Trash2 className="tw:size-4" /> Delete</Button>`.
|
|
58
58
|
*/
|
|
59
|
-
type Props$
|
|
59
|
+
type Props$263 = {
|
|
60
60
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
61
61
|
isLoading?: boolean;
|
|
62
62
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
@@ -75,31 +75,31 @@ type Props$262 = {
|
|
|
75
75
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
76
76
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
77
77
|
*/
|
|
78
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
78
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$263) => import("react/jsx-runtime").JSX.Element;
|
|
79
79
|
//#endregion
|
|
80
80
|
//#region src/components/Button/ButtonInline.d.ts
|
|
81
81
|
declare const buttonInlineVariants: (props?: ({
|
|
82
82
|
color?: "custom" | "danger" | "dark" | "link" | "muted" | null | undefined;
|
|
83
83
|
variant?: "custom" | "link" | "link-reverse" | null | undefined;
|
|
84
84
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
85
|
-
type Props$
|
|
85
|
+
type Props$262 = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
86
86
|
asChild?: boolean;
|
|
87
87
|
};
|
|
88
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
88
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$262) => import("react/jsx-runtime").JSX.Element;
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
91
91
|
declare const buttonGroupVariant: (props?: ({
|
|
92
92
|
variant?: "block" | "inline" | null | undefined;
|
|
93
93
|
space?: "compact" | "extra-small" | "large" | "little-small" | "medium" | "small" | null | undefined;
|
|
94
94
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
95
|
-
type Props$
|
|
95
|
+
type Props$261 = {
|
|
96
96
|
children: ReactNode;
|
|
97
97
|
className?: string;
|
|
98
98
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
99
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
99
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$261) => import("react/jsx-runtime").JSX.Element;
|
|
100
100
|
//#endregion
|
|
101
101
|
//#region src/components/DropdownMenu/DropdownMenuItem.d.ts
|
|
102
|
-
type Props$
|
|
102
|
+
type Props$260 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
103
103
|
/**
|
|
104
104
|
* Fix for `autoFocus` on inputs not working correctly in modals.
|
|
105
105
|
* While the DropdownMenuItem was animating out and the modal was animating in, the dying DropdownMenuItem was constantly trying to steal focus while the Dialog was trying to correctly set the new focus.
|
|
@@ -111,13 +111,13 @@ type Props$259 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
|
111
111
|
isLoading?: boolean;
|
|
112
112
|
iconClassName?: string;
|
|
113
113
|
};
|
|
114
|
-
declare const DropdownMenuItem: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: Props$
|
|
114
|
+
declare const DropdownMenuItem: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: Props$260) => import("react/jsx-runtime").JSX.Element;
|
|
115
115
|
//#endregion
|
|
116
116
|
//#region src/blocks/SplitButton/SplitButton.d.ts
|
|
117
117
|
type Variant$9 = ComponentProps<typeof Button>['variant'];
|
|
118
118
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
119
119
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
120
|
-
type Props$
|
|
120
|
+
type Props$259 = {
|
|
121
121
|
actions?: ReactNode;
|
|
122
122
|
isActionsOpen?: boolean;
|
|
123
123
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -126,7 +126,7 @@ type Props$258 = {
|
|
|
126
126
|
variant?: Exclude<Variant$9, 'inline' | 'invisible'>;
|
|
127
127
|
size?: SpitButtonSize;
|
|
128
128
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
129
|
-
declare const SplitButtonBase: ({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$
|
|
129
|
+
declare const SplitButtonBase: ({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$259) => import("react/jsx-runtime").JSX.Element;
|
|
130
130
|
declare const SplitButton: typeof SplitButtonBase & {
|
|
131
131
|
Action: typeof DropdownMenuItem;
|
|
132
132
|
Actions: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -136,21 +136,21 @@ declare const SplitButton: typeof SplitButtonBase & {
|
|
|
136
136
|
declare const tooltipVariants: (props?: ({
|
|
137
137
|
variant?: "action" | "explanatory" | null | undefined;
|
|
138
138
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
139
|
-
type Props$
|
|
139
|
+
type Props$258 = {
|
|
140
140
|
keepOpenOnPointerDownOutside?: boolean;
|
|
141
141
|
placement?: ComponentProps<typeof Content>['side'];
|
|
142
142
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
143
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
143
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$258) => import("react/jsx-runtime").JSX.Element;
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region src/components/Tooltip/TooltipRoot.d.ts
|
|
146
|
-
type Props$
|
|
147
|
-
declare const TooltipRoot: ({ children, delayDuration, ...rest }: Props$
|
|
146
|
+
type Props$257 = ComponentProps<typeof Root$1>;
|
|
147
|
+
declare const TooltipRoot: ({ children, delayDuration, ...rest }: Props$257) => import("react/jsx-runtime").JSX.Element;
|
|
148
148
|
//#endregion
|
|
149
149
|
//#region src/components/Tooltip/TooltipTrigger.d.ts
|
|
150
|
-
type Props$
|
|
150
|
+
type Props$256 = {
|
|
151
151
|
keepOpenOnClick?: boolean;
|
|
152
152
|
} & ComponentProps<typeof Trigger$1>;
|
|
153
|
-
declare const TooltipTrigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }: Props$
|
|
153
|
+
declare const TooltipTrigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }: Props$256) => import("react/jsx-runtime").JSX.Element;
|
|
154
154
|
//#endregion
|
|
155
155
|
//#region src/components/Tooltip/Tooltip.d.ts
|
|
156
156
|
type TriggerProps$1 = {
|
|
@@ -185,7 +185,7 @@ declare namespace Tooltip {
|
|
|
185
185
|
}
|
|
186
186
|
//#endregion
|
|
187
187
|
//#region src/blocks/MultiActionButtonGroup/MultiActionButton.d.ts
|
|
188
|
-
type Props$
|
|
188
|
+
type Props$255 = {
|
|
189
189
|
disabled?: boolean;
|
|
190
190
|
icon: ReactNode;
|
|
191
191
|
isLoading?: boolean;
|
|
@@ -195,13 +195,13 @@ type Props$254 = {
|
|
|
195
195
|
tooltipVariant?: ComponentProps<typeof Tooltip>['variant'];
|
|
196
196
|
'data-testid'?: string;
|
|
197
197
|
};
|
|
198
|
-
declare const MultiActionButton: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, 'data-testid': dataTestId }: Props$
|
|
198
|
+
declare const MultiActionButton: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, 'data-testid': dataTestId }: Props$255) => import("react/jsx-runtime").JSX.Element;
|
|
199
199
|
//#endregion
|
|
200
200
|
//#region src/blocks/MultiActionButtonGroup/MultiActionButtonGroup.d.ts
|
|
201
|
-
type Props$
|
|
201
|
+
type Props$254 = {
|
|
202
202
|
className?: string;
|
|
203
203
|
} & PropsWithChildren;
|
|
204
|
-
declare function MultiActionButtonGroup({ children, className }: Props$
|
|
204
|
+
declare function MultiActionButtonGroup({ children, className }: Props$254): import("react/jsx-runtime").JSX.Element;
|
|
205
205
|
declare namespace MultiActionButtonGroup {
|
|
206
206
|
export { MultiActionButton as Button };
|
|
207
207
|
}
|
|
@@ -213,12 +213,12 @@ declare const toggleVariants: (props?: ({
|
|
|
213
213
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
214
214
|
iconOnly?: boolean | null | undefined;
|
|
215
215
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
216
|
-
type Props$
|
|
216
|
+
type Props$253 = {
|
|
217
217
|
icon?: ReactNode;
|
|
218
218
|
badge?: ReactNode;
|
|
219
219
|
orientation?: 'horizontal' | 'vertical';
|
|
220
220
|
} & ComponentProps<typeof Root$3> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly' | 'orientation'>;
|
|
221
|
-
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$
|
|
221
|
+
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$253) => import("react/jsx-runtime").JSX.Element;
|
|
222
222
|
//#endregion
|
|
223
223
|
//#region src/components/ToggleGroup/ToggleGroup.d.ts
|
|
224
224
|
declare const rootVariants: (props?: ({
|
|
@@ -238,30 +238,30 @@ declare const ToggleGroup: typeof Root$20 & {
|
|
|
238
238
|
};
|
|
239
239
|
//#endregion
|
|
240
240
|
//#region src/components/Clipboard/Clipboard.d.ts
|
|
241
|
-
type Props$
|
|
241
|
+
type Props$252 = {
|
|
242
242
|
tooltip?: Props$8['tooltip'];
|
|
243
243
|
tooltipPlacement?: Props$8['placement'];
|
|
244
244
|
tooltipVariant?: Props$8['variant'];
|
|
245
245
|
asChild?: Props$8['triggerAsChild'];
|
|
246
246
|
text?: string | (() => string);
|
|
247
247
|
} & ComponentProps<'button'>;
|
|
248
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
248
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$252) => import("react/jsx-runtime").JSX.Element;
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region src/blocks/ClipboardButton/ClipboardButton.d.ts
|
|
251
251
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
252
252
|
type ButtonProps$4 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
253
|
-
type Props$
|
|
253
|
+
type Props$251 = ClipboardProps$1 & ButtonProps$4 & {
|
|
254
254
|
icon?: ReactNode;
|
|
255
255
|
};
|
|
256
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
256
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$251) => import("react/jsx-runtime").JSX.Element;
|
|
257
257
|
//#endregion
|
|
258
258
|
//#region src/blocks/ClipboardButton/ClipboardInline.d.ts
|
|
259
259
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
260
260
|
type ButtonProps$3 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
261
|
-
type Props$
|
|
261
|
+
type Props$250 = {
|
|
262
262
|
hideIcon?: boolean;
|
|
263
263
|
} & ClipboardProps & ButtonProps$3;
|
|
264
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
264
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$250) => import("react/jsx-runtime").JSX.Element;
|
|
265
265
|
//#endregion
|
|
266
266
|
//#region src/blocks/ExportMenu/ExportMenu.d.ts
|
|
267
267
|
type ExportMenuItem = {
|
|
@@ -269,7 +269,7 @@ type ExportMenuItem = {
|
|
|
269
269
|
label: string;
|
|
270
270
|
onSelect: () => void;
|
|
271
271
|
};
|
|
272
|
-
type Props$
|
|
272
|
+
type Props$249 = {
|
|
273
273
|
items: ExportMenuItem[];
|
|
274
274
|
/** Accessible name + tooltip for the trigger, e.g. "Export table". */
|
|
275
275
|
label: string;
|
|
@@ -291,7 +291,7 @@ type Props$248 = {
|
|
|
291
291
|
* which in turn pulls `ScrollArea`) plus two more external deps behind the lazy
|
|
292
292
|
* boundary. Callers already paying for the barrel inject this instead.
|
|
293
293
|
*/
|
|
294
|
-
declare const ExportMenu: ({ items, label, size, variant }: Props$
|
|
294
|
+
declare const ExportMenu: ({ items, label, size, variant }: Props$249) => import("react/jsx-runtime").JSX.Element;
|
|
295
295
|
//#endregion
|
|
296
296
|
//#region src/blocks/CopyField/CopyBox.d.ts
|
|
297
297
|
type CopyBoxProps = {
|
|
@@ -488,11 +488,11 @@ declare const LABELS$1: {
|
|
|
488
488
|
readonly signup: 'Sign up with Microsoft';
|
|
489
489
|
readonly continue: 'Continue with Microsoft';
|
|
490
490
|
};
|
|
491
|
-
type Props$
|
|
491
|
+
type Props$248 = ComponentPropsWithRef<'button'> & {
|
|
492
492
|
label?: keyof typeof LABELS$1;
|
|
493
493
|
isLoading?: boolean;
|
|
494
494
|
};
|
|
495
|
-
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
495
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$248) => import("react/jsx-runtime").JSX.Element;
|
|
496
496
|
//#endregion
|
|
497
497
|
//#region src/blocks/GoogleButton/GoogleButton.d.ts
|
|
498
498
|
declare const LABELS: {
|
|
@@ -506,15 +506,15 @@ declare const variants$6: (props?: ({
|
|
|
506
506
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
507
507
|
size?: "default" | "icon" | null | undefined;
|
|
508
508
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
509
|
-
type Props$
|
|
509
|
+
type Props$247 = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$6> & {
|
|
510
510
|
label?: keyof typeof LABELS;
|
|
511
511
|
isLoading?: boolean;
|
|
512
512
|
};
|
|
513
|
-
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
513
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$247) => import("react/jsx-runtime").JSX.Element;
|
|
514
514
|
//#endregion
|
|
515
515
|
//#region src/components/Link.d.ts
|
|
516
|
-
type Props$
|
|
517
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
516
|
+
type Props$246 = ComponentProps<'a'>;
|
|
517
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$246) => import("react/jsx-runtime").JSX.Element;
|
|
518
518
|
//#endregion
|
|
519
519
|
//#region src/components/AlertModal/variant.d.ts
|
|
520
520
|
/**
|
|
@@ -524,7 +524,7 @@ declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }
|
|
|
524
524
|
type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region src/components/AlertModal/AlertModalContent.d.ts
|
|
527
|
-
type Props$
|
|
527
|
+
type Props$245 = {
|
|
528
528
|
variant?: AlertModalVariant;
|
|
529
529
|
icon?: ReactNode;
|
|
530
530
|
title?: ReactNode;
|
|
@@ -534,23 +534,23 @@ type Props$244 = {
|
|
|
534
534
|
confirmDisabled?: boolean;
|
|
535
535
|
container?: ComponentProps<typeof Portal$1>['container'];
|
|
536
536
|
} & Omit<ComponentProps<typeof Content$1>, 'title'>;
|
|
537
|
-
declare const AlertModalContent: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: Props$
|
|
537
|
+
declare const AlertModalContent: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: Props$245) => import("react/jsx-runtime").JSX.Element;
|
|
538
538
|
//#endregion
|
|
539
539
|
//#region src/components/AlertModal/AlertModalTrigger.d.ts
|
|
540
|
-
type Props$
|
|
541
|
-
declare const AlertModalTrigger: ({ ref, onClick, onKeyDown, ...props }: Props$
|
|
540
|
+
type Props$244 = ComponentPropsWithRef<typeof Trigger$3>;
|
|
541
|
+
declare const AlertModalTrigger: ({ ref, onClick, onKeyDown, ...props }: Props$244) => import("react/jsx-runtime").JSX.Element;
|
|
542
542
|
//#endregion
|
|
543
543
|
//#region src/components/AlertModal/AlertModal.d.ts
|
|
544
544
|
type ConfirmHandler = (event: MouseEvent<HTMLButtonElement>) => void | Promise<unknown>;
|
|
545
545
|
type CancelHandler = (event: MouseEvent<HTMLButtonElement>) => void;
|
|
546
|
-
type Props$
|
|
546
|
+
type Props$243 = {
|
|
547
547
|
onConfirm?: ConfirmHandler;
|
|
548
548
|
onCancel?: CancelHandler;
|
|
549
549
|
skipAsyncWait?: boolean;
|
|
550
550
|
/** Marks the confirm action busy from the outside, on top of the state inferred from a thenable `onConfirm`. */
|
|
551
551
|
isLoading?: boolean;
|
|
552
552
|
} & ComponentProps<typeof Root$4>;
|
|
553
|
-
declare function AlertModal({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
553
|
+
declare function AlertModal({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$243): import("react/jsx-runtime").JSX.Element;
|
|
554
554
|
declare namespace AlertModal {
|
|
555
555
|
export { AlertModalTrigger as Trigger };
|
|
556
556
|
export { AlertModalContent as Content };
|
|
@@ -558,23 +558,23 @@ declare namespace AlertModal {
|
|
|
558
558
|
//#endregion
|
|
559
559
|
//#region src/components/Modal/ModalBody.d.ts
|
|
560
560
|
/** Props for `Modal.Body`. Accepts all `<div>` attributes; `as="form"` is reserved for future use. */
|
|
561
|
-
type Props$
|
|
561
|
+
type Props$242 = ComponentProps<'div'> & {
|
|
562
562
|
as?: 'form';
|
|
563
563
|
};
|
|
564
564
|
/**
|
|
565
565
|
* Scrollable body slot for `Modal`. Place form fields, content blocks, or detail panels here.
|
|
566
566
|
* Takes available height inside `Modal.Content` and scrolls when content overflows.
|
|
567
567
|
*/
|
|
568
|
-
declare const ModalBody: ({ className, ...props }: Props$
|
|
568
|
+
declare const ModalBody: ({ className, ...props }: Props$242) => import("react/jsx-runtime").JSX.Element;
|
|
569
569
|
//#endregion
|
|
570
570
|
//#region src/components/Modal/ModalContent.d.ts
|
|
571
|
-
type Props$
|
|
571
|
+
type Props$241 = ComponentProps<typeof Content$2> & {
|
|
572
572
|
size?: 'small' | 'medium' | 'large';
|
|
573
573
|
};
|
|
574
|
-
declare const ModalContent: ({ size, className, children, onEscapeKeyDown, ...props }: Props$
|
|
574
|
+
declare const ModalContent: ({ size, className, children, onEscapeKeyDown, ...props }: Props$241) => import("react/jsx-runtime").JSX.Element;
|
|
575
575
|
//#endregion
|
|
576
576
|
//#region src/components/Modal/ModalFooter.d.ts
|
|
577
|
-
type Props$
|
|
577
|
+
type Props$240 = ComponentPropsWithRef<'div'>;
|
|
578
578
|
/**
|
|
579
579
|
* The modal's action row.
|
|
580
580
|
*
|
|
@@ -587,10 +587,10 @@ type Props$239 = ComponentPropsWithRef<'div'>;
|
|
|
587
587
|
* displaces only within a group. `tw:justify-between` replaces `justify-end`; `tw:flex-col`
|
|
588
588
|
* leaves `items-center` and the gap in place, so a stacked footer wants `tw:items-stretch` too.
|
|
589
589
|
*/
|
|
590
|
-
declare const ModalFooter: ({ className, ...props }: Props$
|
|
590
|
+
declare const ModalFooter: ({ className, ...props }: Props$240) => import("react/jsx-runtime").JSX.Element;
|
|
591
591
|
//#endregion
|
|
592
592
|
//#region src/components/Modal/ModalHeader.d.ts
|
|
593
|
-
type Props$
|
|
593
|
+
type Props$239 = {
|
|
594
594
|
/** Status icon slot — `<Modal.Icon />` or `<Modal.Image />`. */
|
|
595
595
|
icon?: ReactNode;
|
|
596
596
|
/** Visible subtitle below the title (also fills `aria-describedby`). */
|
|
@@ -603,11 +603,11 @@ type Props$238 = {
|
|
|
603
603
|
hideCloseIcon?: boolean;
|
|
604
604
|
} & ComponentProps<'div'>;
|
|
605
605
|
/** Modal header: `[icon] | title (children) | actions + close` on row 1, `description` on row 2. */
|
|
606
|
-
declare const ModalHeader: ({ className, icon, description, 'aria-description': ariaDescription, actions, hideCloseIcon, children, ...props }: Props$
|
|
606
|
+
declare const ModalHeader: ({ className, icon, description, 'aria-description': ariaDescription, actions, hideCloseIcon, children, ...props }: Props$239) => import("react/jsx-runtime").JSX.Element;
|
|
607
607
|
//#endregion
|
|
608
608
|
//#region src/components/Modal/ModalIcon.d.ts
|
|
609
609
|
type NamedColor = 'orange' | 'blue' | 'red' | 'green' | 'gray' | 'violet';
|
|
610
|
-
type Props$
|
|
610
|
+
type Props$238 = {
|
|
611
611
|
color: NamedColor | (string & {});
|
|
612
612
|
icon: ReactNode;
|
|
613
613
|
};
|
|
@@ -625,25 +625,25 @@ type Props$237 = {
|
|
|
625
625
|
* `blue` info, `gray` neutral, `violet` agent) to encode meaning; the palette stays fixed across
|
|
626
626
|
* brand themes.
|
|
627
627
|
*/
|
|
628
|
-
declare const ModalIcon: ({ color, icon }: Props$
|
|
628
|
+
declare const ModalIcon: ({ color, icon }: Props$238) => import("react/jsx-runtime").JSX.Element;
|
|
629
629
|
//#endregion
|
|
630
630
|
//#region src/components/Modal/ModalImage.d.ts
|
|
631
|
-
type Props$
|
|
631
|
+
type Props$237 = {
|
|
632
632
|
src: string;
|
|
633
633
|
/** Accessible alt text. Defaults to `""` (decorative) — provide it when the image carries meaning. */
|
|
634
634
|
alt?: string;
|
|
635
635
|
};
|
|
636
|
-
declare const ModalImage: ({ src, alt }: Props$
|
|
636
|
+
declare const ModalImage: ({ src, alt }: Props$237) => import("react/jsx-runtime").JSX.Element | null;
|
|
637
637
|
//#endregion
|
|
638
638
|
//#region src/components/Modal/ModalOverlay.d.ts
|
|
639
|
-
type Props$
|
|
639
|
+
type Props$236 = ComponentProps<typeof Overlay$1> & {
|
|
640
640
|
disableTransition?: boolean;
|
|
641
641
|
};
|
|
642
|
-
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$
|
|
642
|
+
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$236) => import("react/jsx-runtime").JSX.Element;
|
|
643
643
|
//#endregion
|
|
644
644
|
//#region src/components/Modal/Modal.d.ts
|
|
645
|
-
type Props$
|
|
646
|
-
declare function Modal(props: Props$
|
|
645
|
+
type Props$235 = ComponentProps<typeof Root$5>;
|
|
646
|
+
declare function Modal(props: Props$235): import("react/jsx-runtime").JSX.Element;
|
|
647
647
|
declare namespace Modal {
|
|
648
648
|
export { Close };
|
|
649
649
|
export { Trigger$4 as Trigger };
|
|
@@ -657,13 +657,13 @@ declare namespace Modal {
|
|
|
657
657
|
}
|
|
658
658
|
//#endregion
|
|
659
659
|
//#region src/components/FullScreenModal/FullScreenModalBody.d.ts
|
|
660
|
-
type Props$
|
|
661
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
660
|
+
type Props$234 = HTMLAttributes<HTMLDivElement>;
|
|
661
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$234 & {
|
|
662
662
|
ref?: Ref<HTMLDivElement>;
|
|
663
663
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
664
664
|
//#endregion
|
|
665
665
|
//#region src/components/FullScreenModal/FullScreenModalHeader.d.ts
|
|
666
|
-
type Props$
|
|
666
|
+
type Props$233 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
667
667
|
title: ReactNode;
|
|
668
668
|
titleClassName?: string;
|
|
669
669
|
titleWrapperClassName?: string;
|
|
@@ -672,17 +672,17 @@ type Props$232 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
672
672
|
onClose?: () => void;
|
|
673
673
|
showPreviousTitle?: boolean;
|
|
674
674
|
}>;
|
|
675
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
675
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$233) => import("react/jsx-runtime").JSX.Element;
|
|
676
676
|
//#endregion
|
|
677
677
|
//#region src/components/FullScreenModal/FullScreenModalRoot.d.ts
|
|
678
|
-
type Props$
|
|
678
|
+
type Props$232 = HTMLAttributes<HTMLDivElement> & {
|
|
679
679
|
children: ReactNode;
|
|
680
680
|
/** Lock body scroll when modal is open. Default: true */
|
|
681
681
|
lockBodyScroll?: boolean;
|
|
682
682
|
/** Callback when ESC key is pressed */
|
|
683
683
|
onEscapeKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
684
684
|
};
|
|
685
|
-
declare const FullScreenModalRoot: ({ children, className, lockBodyScroll, onEscapeKeyDown, onKeyDown, ...props }: Props$
|
|
685
|
+
declare const FullScreenModalRoot: ({ children, className, lockBodyScroll, onEscapeKeyDown, onKeyDown, ...props }: Props$232) => import("react").ReactPortal;
|
|
686
686
|
//#endregion
|
|
687
687
|
//#region src/components/FullScreenModal/FullScreenModal.d.ts
|
|
688
688
|
declare const FullScreenModal: typeof FullScreenModalRoot & {
|
|
@@ -691,42 +691,42 @@ declare const FullScreenModal: typeof FullScreenModalRoot & {
|
|
|
691
691
|
};
|
|
692
692
|
//#endregion
|
|
693
693
|
//#region src/components/Sheet/SheetBody.d.ts
|
|
694
|
-
type Props$
|
|
695
|
-
declare const SheetBody: ({ className, ...rest }: Props$
|
|
694
|
+
type Props$231 = ComponentProps<'div'>;
|
|
695
|
+
declare const SheetBody: ({ className, ...rest }: Props$231) => import("react/jsx-runtime").JSX.Element;
|
|
696
696
|
//#endregion
|
|
697
697
|
//#region src/components/Sheet/SheetContent.d.ts
|
|
698
698
|
declare const sheetContentVariants: (props?: ({
|
|
699
699
|
disableTransition?: boolean | null | undefined;
|
|
700
700
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
701
701
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
702
|
-
type Props$
|
|
702
|
+
type Props$230 = ComponentProps<typeof Content$2> & {
|
|
703
703
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
704
704
|
hideOverlay?: boolean;
|
|
705
705
|
keepOpenOnPointerDownOutside?: boolean;
|
|
706
706
|
} & VariantProps<typeof sheetContentVariants> & Pick<ComponentProps<typeof Portal$2>, 'container'>;
|
|
707
|
-
declare const SheetContent: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: Props$
|
|
707
|
+
declare const SheetContent: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: Props$230) => import("react/jsx-runtime").JSX.Element;
|
|
708
708
|
//#endregion
|
|
709
709
|
//#region src/components/Sheet/SheetFooter.d.ts
|
|
710
|
-
type Props$
|
|
711
|
-
declare const SheetFooter: ({ className, ...props }: Props$
|
|
710
|
+
type Props$229 = ComponentProps<'div'>;
|
|
711
|
+
declare const SheetFooter: ({ className, ...props }: Props$229) => import("react/jsx-runtime").JSX.Element;
|
|
712
712
|
//#endregion
|
|
713
713
|
//#region src/components/Sheet/SheetHeader.d.ts
|
|
714
|
-
type Props$
|
|
714
|
+
type Props$228 = {
|
|
715
715
|
title?: ReactNode;
|
|
716
716
|
description?: ReactNode;
|
|
717
717
|
hideCloseIcon?: boolean;
|
|
718
718
|
} & ComponentProps<'div'>;
|
|
719
|
-
declare const SheetHeader: ({ className, children, hideCloseIcon, title, description, ...props }: Props$
|
|
719
|
+
declare const SheetHeader: ({ className, children, hideCloseIcon, title, description, ...props }: Props$228) => import("react/jsx-runtime").JSX.Element;
|
|
720
720
|
//#endregion
|
|
721
721
|
//#region src/components/Sheet/SheetTitle.d.ts
|
|
722
|
-
type Props$
|
|
722
|
+
type Props$227 = ComponentProps<typeof Title$1> & {
|
|
723
723
|
visuallyHidden?: boolean;
|
|
724
724
|
};
|
|
725
|
-
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$
|
|
725
|
+
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$227) => import("react/jsx-runtime").JSX.Element;
|
|
726
726
|
//#endregion
|
|
727
727
|
//#region src/components/Sheet/Sheet.d.ts
|
|
728
|
-
type Props$
|
|
729
|
-
declare function Sheet(props: Props$
|
|
728
|
+
type Props$226 = ComponentProps<typeof Root$5>;
|
|
729
|
+
declare function Sheet(props: Props$226): import("react/jsx-runtime").JSX.Element;
|
|
730
730
|
declare namespace Sheet {
|
|
731
731
|
export { Close };
|
|
732
732
|
export { Trigger$4 as Trigger };
|
|
@@ -742,7 +742,7 @@ declare const variants$5: (props?: ({
|
|
|
742
742
|
variant?: "argo" | "default" | null | undefined;
|
|
743
743
|
matchTriggerWidth?: boolean | null | undefined;
|
|
744
744
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
745
|
-
type Props$
|
|
745
|
+
type Props$225 = ComponentProps<typeof Content$3> & Omit<VariantProps<typeof variants$5>, 'variant'> & {
|
|
746
746
|
/**
|
|
747
747
|
* Where the popover portals to. Defaults to `document.body`; a host that
|
|
748
748
|
* scopes its own theme passes the element that carries it, so the panel is
|
|
@@ -750,11 +750,11 @@ type Props$224 = ComponentProps<typeof Content$3> & Omit<VariantProps<typeof var
|
|
|
750
750
|
*/
|
|
751
751
|
container?: ComponentProps<typeof Portal$3>['container'];
|
|
752
752
|
};
|
|
753
|
-
declare const PopoverContent: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, container, ...props }: Props$
|
|
753
|
+
declare const PopoverContent: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, container, ...props }: Props$225) => import("react/jsx-runtime").JSX.Element;
|
|
754
754
|
//#endregion
|
|
755
755
|
//#region src/components/Popover/Popover.d.ts
|
|
756
|
-
type Props$
|
|
757
|
-
declare function Popover(props: Props$
|
|
756
|
+
type Props$224 = ComponentProps<typeof Root$6>;
|
|
757
|
+
declare function Popover(props: Props$224): import("react/jsx-runtime").JSX.Element;
|
|
758
758
|
declare namespace Popover {
|
|
759
759
|
export { PopoverContent as Content };
|
|
760
760
|
export { Trigger$5 as Trigger };
|
|
@@ -771,8 +771,8 @@ type PopconfirmContextType = {
|
|
|
771
771
|
};
|
|
772
772
|
//#endregion
|
|
773
773
|
//#region src/components/Popconfirm/PopconfirmBody.d.ts
|
|
774
|
-
type Props$
|
|
775
|
-
declare const PopconfirmBody: (props: Props$
|
|
774
|
+
type Props$223 = ComponentProps<'div'>;
|
|
775
|
+
declare const PopconfirmBody: (props: Props$223) => import("react/jsx-runtime").JSX.Element;
|
|
776
776
|
//#endregion
|
|
777
777
|
//#region src/components/Popconfirm/PopconfirmCancel.d.ts
|
|
778
778
|
type SlotProps$5 = {
|
|
@@ -782,8 +782,8 @@ type ButtonProps$2 = {
|
|
|
782
782
|
asChild?: false;
|
|
783
783
|
children?: ReactNode;
|
|
784
784
|
} & Omit<ComponentProps<typeof Button>, 'children'>;
|
|
785
|
-
type Props$
|
|
786
|
-
declare const PopconfirmCancel: ({ ref, onClick, children, asChild, className, ...props }: Props$
|
|
785
|
+
type Props$222 = SlotProps$5 | ButtonProps$2;
|
|
786
|
+
declare const PopconfirmCancel: ({ ref, onClick, children, asChild, className, ...props }: Props$222) => import("react/jsx-runtime").JSX.Element;
|
|
787
787
|
//#endregion
|
|
788
788
|
//#region src/components/Popconfirm/PopconfirmConfirm.d.ts
|
|
789
789
|
type SlotProps$4 = {
|
|
@@ -793,27 +793,27 @@ type ButtonProps$1 = {
|
|
|
793
793
|
asChild?: false;
|
|
794
794
|
children?: ReactNode;
|
|
795
795
|
} & Omit<ComponentProps<typeof Button>, 'children' | 'isLoading'>;
|
|
796
|
-
type Props$
|
|
797
|
-
declare const PopconfirmConfirm: ({ ref, onClick, children, asChild, className, ...props }: Props$
|
|
796
|
+
type Props$221 = SlotProps$4 | ButtonProps$1;
|
|
797
|
+
declare const PopconfirmConfirm: ({ ref, onClick, children, asChild, className, ...props }: Props$221) => import("react/jsx-runtime").JSX.Element;
|
|
798
798
|
//#endregion
|
|
799
799
|
//#region src/components/Popconfirm/PopconfirmContent.d.ts
|
|
800
|
-
type Props$
|
|
801
|
-
declare const PopconfirmContent: ({ className, onInteractOutside, ...props }: Props$
|
|
800
|
+
type Props$220 = Omit<ComponentProps<typeof Popover.Content>, 'showArrow'>;
|
|
801
|
+
declare const PopconfirmContent: ({ className, onInteractOutside, ...props }: Props$220) => import("react/jsx-runtime").JSX.Element;
|
|
802
802
|
//#endregion
|
|
803
803
|
//#region src/components/Popconfirm/PopconfirmFooter.d.ts
|
|
804
|
-
type Props$
|
|
805
|
-
declare const PopconfirmFooter: ({ className, ...props }: Props$
|
|
804
|
+
type Props$219 = ComponentProps<'div'>;
|
|
805
|
+
declare const PopconfirmFooter: ({ className, ...props }: Props$219) => import("react/jsx-runtime").JSX.Element;
|
|
806
806
|
//#endregion
|
|
807
807
|
//#region src/components/Popconfirm/PopconfirmTrigger.d.ts
|
|
808
|
-
type Props$
|
|
809
|
-
declare const PopconfirmTrigger: ({ onClick, ...props }: Props$
|
|
808
|
+
type Props$218 = ComponentProps<typeof Popover.Trigger>;
|
|
809
|
+
declare const PopconfirmTrigger: ({ onClick, ...props }: Props$218) => import("react/jsx-runtime").JSX.Element;
|
|
810
810
|
//#endregion
|
|
811
811
|
//#region src/components/Popconfirm/Popconfirm.d.ts
|
|
812
|
-
type Props$
|
|
812
|
+
type Props$217 = {
|
|
813
813
|
children: ReactNode;
|
|
814
814
|
skipAsyncWait?: boolean;
|
|
815
815
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
816
|
-
declare function Popconfirm({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
816
|
+
declare function Popconfirm({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$217): import("react/jsx-runtime").JSX.Element;
|
|
817
817
|
declare namespace Popconfirm {
|
|
818
818
|
export { PopconfirmConfirm as Confirm };
|
|
819
819
|
export { PopconfirmCancel as Cancel };
|
|
@@ -824,54 +824,54 @@ declare namespace Popconfirm {
|
|
|
824
824
|
}
|
|
825
825
|
//#endregion
|
|
826
826
|
//#region src/components/HoverCard/HoverCardContent.d.ts
|
|
827
|
-
type Props$
|
|
828
|
-
declare const HoverCardContent: ({ ref, className, align, sideOffset, children, ...props }: Props$
|
|
827
|
+
type Props$216 = ComponentProps<typeof Content$4>;
|
|
828
|
+
declare const HoverCardContent: ({ ref, className, align, sideOffset, children, ...props }: Props$216) => import("react/jsx-runtime").JSX.Element;
|
|
829
829
|
//#endregion
|
|
830
830
|
//#region src/components/HoverCard/HoverCard.d.ts
|
|
831
|
-
type Props$
|
|
832
|
-
declare function HoverCard({ openDelay, closeDelay, ...rest }: Props$
|
|
831
|
+
type Props$215 = ComponentProps<typeof Root$7>;
|
|
832
|
+
declare function HoverCard({ openDelay, closeDelay, ...rest }: Props$215): import("react/jsx-runtime").JSX.Element;
|
|
833
833
|
declare namespace HoverCard {
|
|
834
834
|
export { HoverCardContent as Content };
|
|
835
835
|
export { Trigger$6 as Trigger };
|
|
836
836
|
}
|
|
837
837
|
//#endregion
|
|
838
838
|
//#region src/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts
|
|
839
|
-
type Props$
|
|
839
|
+
type Props$214 = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
840
840
|
closeOnSelect?: boolean;
|
|
841
841
|
indicator?: 'switch' | 'checkbox' | 'check';
|
|
842
842
|
indicatorAlign?: 'start' | 'end';
|
|
843
843
|
isLoading?: boolean;
|
|
844
844
|
};
|
|
845
|
-
declare const DropdownMenuCheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, ...props }: Props$
|
|
845
|
+
declare const DropdownMenuCheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, ...props }: Props$214) => import("react/jsx-runtime").JSX.Element;
|
|
846
846
|
//#endregion
|
|
847
847
|
//#region src/components/DropdownMenu/DropdownMenuContent.d.ts
|
|
848
|
-
type Props$
|
|
848
|
+
type Props$213 = Omit<ComponentProps<typeof DropdownMenuPrimitive.Content>, 'forceMount' | 'asChild'> & {
|
|
849
849
|
forceMount?: boolean;
|
|
850
850
|
viewPortClassName?: string;
|
|
851
851
|
container?: HTMLElement | null;
|
|
852
852
|
};
|
|
853
|
-
declare const DropdownMenuContent: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Props$
|
|
853
|
+
declare const DropdownMenuContent: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Props$213) => import("react/jsx-runtime").JSX.Element;
|
|
854
854
|
//#endregion
|
|
855
855
|
//#region src/components/DropdownMenu/DropdownMenuItemDescription.d.ts
|
|
856
|
-
type Props$
|
|
856
|
+
type Props$212 = ComponentProps<'span'> & {
|
|
857
857
|
hideOnHover?: boolean;
|
|
858
858
|
};
|
|
859
|
-
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$
|
|
859
|
+
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$212) => import("react/jsx-runtime").JSX.Element;
|
|
860
860
|
//#endregion
|
|
861
861
|
//#region src/components/DropdownMenu/DropdownMenuLabel.d.ts
|
|
862
|
-
type Props$
|
|
863
|
-
declare const DropdownMenuLabel: ({ className, ...props }: Props$
|
|
862
|
+
type Props$211 = ComponentProps<typeof DropdownMenuPrimitive.Label>;
|
|
863
|
+
declare const DropdownMenuLabel: ({ className, ...props }: Props$211) => import("react/jsx-runtime").JSX.Element;
|
|
864
864
|
//#endregion
|
|
865
865
|
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioGroup.d.ts
|
|
866
|
-
type Props$
|
|
866
|
+
type Props$210<Value> = Omit<ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>, 'value' | 'onValueChange' | 'defaultValue'> & {
|
|
867
867
|
value?: Value;
|
|
868
868
|
defaultValue?: Value;
|
|
869
869
|
onValueChange?: (value: Value) => void;
|
|
870
870
|
};
|
|
871
|
-
declare const DropdownMenuRadioGroup: <Value extends string = string>({ value, defaultValue, onValueChange, ...props }: Props$
|
|
871
|
+
declare const DropdownMenuRadioGroup: <Value extends string = string>({ value, defaultValue, onValueChange, ...props }: Props$210<Value>) => import("react/jsx-runtime").JSX.Element;
|
|
872
872
|
//#endregion
|
|
873
873
|
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioItem.d.ts
|
|
874
|
-
type Props$
|
|
874
|
+
type Props$209 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
875
875
|
closeOnSelect?: boolean;
|
|
876
876
|
indicatorAlign?: 'start' | 'end';
|
|
877
877
|
indicator?: 'radio' | 'check' | 'none';
|
|
@@ -879,30 +879,30 @@ type Props$208 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
|
879
879
|
iconClassName?: string;
|
|
880
880
|
isLoading?: boolean;
|
|
881
881
|
};
|
|
882
|
-
declare const DropdownMenuRadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: Props$
|
|
882
|
+
declare const DropdownMenuRadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: Props$209) => import("react/jsx-runtime").JSX.Element;
|
|
883
883
|
//#endregion
|
|
884
884
|
//#region src/components/DropdownMenu/DropdownMenuSeparator.d.ts
|
|
885
|
-
type Props$
|
|
886
|
-
declare const DropdownMenuSeparator: ({ className, ...props }: Props$
|
|
885
|
+
type Props$208 = ComponentProps<typeof DropdownMenuPrimitive.Separator>;
|
|
886
|
+
declare const DropdownMenuSeparator: ({ className, ...props }: Props$208) => import("react/jsx-runtime").JSX.Element;
|
|
887
887
|
//#endregion
|
|
888
888
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSub.d.ts
|
|
889
889
|
declare const DropdownMenuSub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
890
890
|
//#endregion
|
|
891
891
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubContent.d.ts
|
|
892
|
-
type Props$
|
|
893
|
-
declare const DropdownMenuSubContent: ({ className, ...props }: Props$
|
|
892
|
+
type Props$207 = ComponentProps<typeof DropdownMenuPrimitive.SubContent>;
|
|
893
|
+
declare const DropdownMenuSubContent: ({ className, ...props }: Props$207) => import("react/jsx-runtime").JSX.Element;
|
|
894
894
|
//#endregion
|
|
895
895
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubTrigger.d.ts
|
|
896
|
-
type Props$
|
|
897
|
-
declare const DropdownMenuSubTrigger: ({ className, children, ...props }: Props$
|
|
896
|
+
type Props$206 = ComponentProps<typeof DropdownMenuPrimitive.SubTrigger>;
|
|
897
|
+
declare const DropdownMenuSubTrigger: ({ className, children, ...props }: Props$206) => import("react/jsx-runtime").JSX.Element;
|
|
898
898
|
//#endregion
|
|
899
899
|
//#region src/components/DropdownMenu/DropdownMenuTrigger.d.ts
|
|
900
|
-
type Props$
|
|
901
|
-
declare const DropdownMenuTrigger: ({ ref, className, ...props }: Props$
|
|
900
|
+
type Props$205 = ComponentProps<typeof Trigger$2>;
|
|
901
|
+
declare const DropdownMenuTrigger: ({ ref, className, ...props }: Props$205) => import("react/jsx-runtime").JSX.Element;
|
|
902
902
|
//#endregion
|
|
903
903
|
//#region src/components/DropdownMenu/DropdownMenu.d.ts
|
|
904
|
-
type Props$
|
|
905
|
-
declare function DropdownMenu({ modal, ...props }: Props$
|
|
904
|
+
type Props$204 = ComponentProps<typeof Root$2>;
|
|
905
|
+
declare function DropdownMenu({ modal, ...props }: Props$204): import("react/jsx-runtime").JSX.Element;
|
|
906
906
|
declare namespace DropdownMenu {
|
|
907
907
|
export { DropdownMenuTrigger as Trigger };
|
|
908
908
|
export { DropdownMenuContent as Content };
|
|
@@ -920,40 +920,40 @@ declare namespace DropdownMenu {
|
|
|
920
920
|
}
|
|
921
921
|
//#endregion
|
|
922
922
|
//#region src/blocks/Command/CommandContent.d.ts
|
|
923
|
-
type Props$
|
|
924
|
-
declare const CommandContent: ({ className, ...rest }: Props$
|
|
923
|
+
type Props$203 = ComponentProps<'div'>;
|
|
924
|
+
declare const CommandContent: ({ className, ...rest }: Props$203) => import("react/jsx-runtime").JSX.Element;
|
|
925
925
|
//#endregion
|
|
926
926
|
//#region src/blocks/Command/CommandEmpty.d.ts
|
|
927
|
-
type Props$
|
|
928
|
-
declare const CommandEmpty: ({ ...props }: Props$
|
|
927
|
+
type Props$202 = ComponentProps<typeof Command$1.Empty>;
|
|
928
|
+
declare const CommandEmpty: ({ ...props }: Props$202) => import("react/jsx-runtime").JSX.Element;
|
|
929
929
|
//#endregion
|
|
930
930
|
//#region src/blocks/Command/CommandGroup.d.ts
|
|
931
|
-
type Props$
|
|
932
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
931
|
+
type Props$201 = ComponentProps<typeof Command$1.Group>;
|
|
932
|
+
declare const CommandGroup: ({ className, ...props }: Props$201) => import("react/jsx-runtime").JSX.Element;
|
|
933
933
|
//#endregion
|
|
934
934
|
//#region src/components/InputGroup/InputGroupAddon.d.ts
|
|
935
935
|
declare const addonVariants$1: (props?: ({
|
|
936
936
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
937
937
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
938
|
-
type Props$
|
|
939
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
938
|
+
type Props$200 = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
939
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$200) => import("react/jsx-runtime").JSX.Element;
|
|
940
940
|
//#endregion
|
|
941
941
|
//#region src/components/InputGroup/InputGroupButton.d.ts
|
|
942
942
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
943
|
-
type Props$
|
|
944
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
943
|
+
type Props$199 = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
944
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$199) => import("react/jsx-runtime").JSX.Element;
|
|
945
945
|
//#endregion
|
|
946
946
|
//#region src/components/InputGroup/InputGroupInput.d.ts
|
|
947
|
-
type Props$
|
|
948
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
947
|
+
type Props$198 = ComponentProps<'input'>;
|
|
948
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$198) => import("react/jsx-runtime").JSX.Element;
|
|
949
949
|
//#endregion
|
|
950
950
|
//#region src/components/InputGroup/InputGroupText.d.ts
|
|
951
|
-
type Props$
|
|
952
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
951
|
+
type Props$197 = ComponentProps<'span'>;
|
|
952
|
+
declare const InputGroupText: ({ className, ...props }: Props$197) => import("react/jsx-runtime").JSX.Element;
|
|
953
953
|
//#endregion
|
|
954
954
|
//#region src/components/InputGroup/InputGroupTextArea.d.ts
|
|
955
955
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof TextareaAutosize>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
956
|
-
type Props$
|
|
956
|
+
type Props$196 = TextareaNativeProps$1 & {
|
|
957
957
|
value?: string | null;
|
|
958
958
|
defaultValue?: string | null;
|
|
959
959
|
onValueChange?: (value: string) => void;
|
|
@@ -961,7 +961,7 @@ type Props$195 = TextareaNativeProps$1 & {
|
|
|
961
961
|
maxRows?: number | 'unlimited';
|
|
962
962
|
disableResize?: boolean;
|
|
963
963
|
};
|
|
964
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
964
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$196) => import("react/jsx-runtime").JSX.Element;
|
|
965
965
|
//#endregion
|
|
966
966
|
//#region src/components/InputGroup/InputGroup.d.ts
|
|
967
967
|
declare const inputGroupVariants: (props?: ({
|
|
@@ -970,10 +970,10 @@ declare const inputGroupVariants: (props?: ({
|
|
|
970
970
|
sizing?: "default" | "medium" | "small" | null | undefined;
|
|
971
971
|
state?: "default" | "error" | "warning" | null | undefined;
|
|
972
972
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
973
|
-
type Props$
|
|
973
|
+
type Props$195 = ComponentPropsWithRef<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
974
974
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
975
975
|
};
|
|
976
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
976
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$195) => import("react/jsx-runtime").JSX.Element;
|
|
977
977
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
978
978
|
Input: typeof InputGroupInput;
|
|
979
979
|
Addon: typeof InputGroupAddon;
|
|
@@ -1022,47 +1022,47 @@ type Props$3 = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'pre
|
|
|
1022
1022
|
declare const TextInput: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, onValueChange, onValueBlur, value: valueProp, defaultValue, ...inputProps }: Props$3) => import("react/jsx-runtime").JSX.Element;
|
|
1023
1023
|
//#endregion
|
|
1024
1024
|
//#region src/blocks/Command/CommandInput.d.ts
|
|
1025
|
-
type Props$
|
|
1026
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1025
|
+
type Props$194 = ComponentProps<typeof TextInput>;
|
|
1026
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$194) => import("react/jsx-runtime").JSX.Element;
|
|
1027
1027
|
//#endregion
|
|
1028
1028
|
//#region src/blocks/Command/CommandItem/CheckIndicator.d.ts
|
|
1029
|
-
type Props$
|
|
1029
|
+
type Props$193 = {
|
|
1030
1030
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
1031
1031
|
};
|
|
1032
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
1032
|
+
declare const CheckIndicator: ({ variant }: Props$193) => import("react/jsx-runtime").JSX.Element | null;
|
|
1033
1033
|
//#endregion
|
|
1034
1034
|
//#region src/blocks/Command/CommandItem/CommandItem.d.ts
|
|
1035
|
-
type Props$
|
|
1035
|
+
type Props$192 = ComponentProps<typeof Command$1.Item> & {
|
|
1036
1036
|
icon?: ReactNode;
|
|
1037
1037
|
checked?: boolean;
|
|
1038
1038
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1039
1039
|
actions?: ReactNode;
|
|
1040
1040
|
};
|
|
1041
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1041
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$192) => import("react/jsx-runtime").JSX.Element;
|
|
1042
1042
|
//#endregion
|
|
1043
1043
|
//#region src/components/ScrollArea/ScrollArea.d.ts
|
|
1044
|
-
type Props$
|
|
1044
|
+
type Props$191 = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1045
1045
|
viewPortClassName?: string;
|
|
1046
1046
|
scrollBarClassName?: string;
|
|
1047
1047
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1048
1048
|
};
|
|
1049
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1049
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$191) => import("react/jsx-runtime").JSX.Element;
|
|
1050
1050
|
//#endregion
|
|
1051
1051
|
//#region src/components/ScrollArea/ScrollBar.d.ts
|
|
1052
|
-
type Props$
|
|
1053
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1052
|
+
type Props$190 = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1053
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$190) => import("react/jsx-runtime").JSX.Element;
|
|
1054
1054
|
//#endregion
|
|
1055
1055
|
//#region src/blocks/Command/CommandList.d.ts
|
|
1056
|
-
type Props$
|
|
1057
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1056
|
+
type Props$189 = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1057
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$189) => import("react/jsx-runtime").JSX.Element;
|
|
1058
1058
|
//#endregion
|
|
1059
1059
|
//#region src/blocks/Command/CommandSeparator.d.ts
|
|
1060
|
-
type Props$
|
|
1061
|
-
declare const CommandSeparator: ({ className, ...props }: Props$
|
|
1060
|
+
type Props$188 = ComponentProps<typeof Command$1.Separator>;
|
|
1061
|
+
declare const CommandSeparator: ({ className, ...props }: Props$188) => import("react/jsx-runtime").JSX.Element;
|
|
1062
1062
|
//#endregion
|
|
1063
1063
|
//#region src/blocks/Command/Command.d.ts
|
|
1064
1064
|
type Variant$8 = 'default' | 'argo';
|
|
1065
|
-
type Props$
|
|
1065
|
+
type Props$187 = ComponentProps<typeof Command$1> & {
|
|
1066
1066
|
/**
|
|
1067
1067
|
* Which styling the parts take, when the theme's own answer is wrong for the
|
|
1068
1068
|
* surface.
|
|
@@ -1074,7 +1074,7 @@ type Props$186 = ComponentProps<typeof Command$1> & {
|
|
|
1074
1074
|
*/
|
|
1075
1075
|
variant?: Variant$8;
|
|
1076
1076
|
};
|
|
1077
|
-
declare function Command({ className, variant, ...rest }: Props$
|
|
1077
|
+
declare function Command({ className, variant, ...rest }: Props$187): import("react/jsx-runtime").JSX.Element;
|
|
1078
1078
|
declare namespace Command {
|
|
1079
1079
|
export { CommandContent as Content };
|
|
1080
1080
|
export { CommandSeparator as Separator };
|
|
@@ -1105,7 +1105,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1105
1105
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1106
1106
|
//#endregion
|
|
1107
1107
|
//#region src/components/SpotlightBackdrop/SpotlightBackdrop.d.ts
|
|
1108
|
-
type Props$
|
|
1108
|
+
type Props$186 = {
|
|
1109
1109
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1110
1110
|
rect: TargetRect | null;
|
|
1111
1111
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1127,7 +1127,7 @@ type Props$185 = {
|
|
|
1127
1127
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1128
1128
|
* "Guided tour (recipe)" story for the composition.
|
|
1129
1129
|
*/
|
|
1130
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1130
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$186) => import("react/jsx-runtime").JSX.Element;
|
|
1131
1131
|
//#endregion
|
|
1132
1132
|
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/types.d.ts
|
|
1133
1133
|
/**
|
|
@@ -3524,16 +3524,16 @@ declare namespace DateRangePicker {
|
|
|
3524
3524
|
}
|
|
3525
3525
|
//#endregion
|
|
3526
3526
|
//#region src/components/TimePicker/TimePicker.d.ts
|
|
3527
|
-
type Props$
|
|
3527
|
+
type Props$185 = {
|
|
3528
3528
|
children?: ReactNode;
|
|
3529
3529
|
defaultSelected?: string | null;
|
|
3530
3530
|
selected?: string | null;
|
|
3531
3531
|
onSelect?: (time: string) => void;
|
|
3532
3532
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
3533
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset }: Props$
|
|
3533
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset }: Props$185) => import("react/jsx-runtime").JSX.Element;
|
|
3534
3534
|
//#endregion
|
|
3535
3535
|
//#region src/components/Label/Label.d.ts
|
|
3536
|
-
type Props$
|
|
3536
|
+
type Props$184 = {
|
|
3537
3537
|
id?: string | number;
|
|
3538
3538
|
htmlFor?: string | number;
|
|
3539
3539
|
} & Omit<LabelProps, 'id' | 'htmlFor'>;
|
|
@@ -3549,7 +3549,7 @@ declare const Optional: ({ className, ...props }: ComponentPropsWithRef<'span'>)
|
|
|
3549
3549
|
* `aria-required` (or `required`) on the associated control.
|
|
3550
3550
|
*/
|
|
3551
3551
|
declare const Required$1: ({ className, ...props }: ComponentPropsWithRef<'span'>) => import("react/jsx-runtime").JSX.Element;
|
|
3552
|
-
declare function Label({ className, children, id, htmlFor, ...rest }: Props$
|
|
3552
|
+
declare function Label({ className, children, id, htmlFor, ...rest }: Props$184): import("react/jsx-runtime").JSX.Element;
|
|
3553
3553
|
declare namespace Label {
|
|
3554
3554
|
export { Optional };
|
|
3555
3555
|
export { Required$1 as Required };
|
|
@@ -3567,14 +3567,14 @@ declare const switchVariants: (props?: ({
|
|
|
3567
3567
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3568
3568
|
//#endregion
|
|
3569
3569
|
//#region src/components/Switch/Switch.d.ts
|
|
3570
|
-
type Props$
|
|
3570
|
+
type Props$183 = {
|
|
3571
3571
|
id?: string | number;
|
|
3572
3572
|
children?: ReactNode;
|
|
3573
3573
|
description?: ReactNode;
|
|
3574
3574
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
3575
3575
|
position?: 'start' | 'end';
|
|
3576
3576
|
} & Omit<ComponentProps<typeof Root$8>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
3577
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
3577
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$183) => import("react/jsx-runtime").JSX.Element;
|
|
3578
3578
|
//#endregion
|
|
3579
3579
|
//#region src/components/RadioGroup/context.d.ts
|
|
3580
3580
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
@@ -3582,52 +3582,52 @@ type Orientation = 'vertical' | 'horizontal';
|
|
|
3582
3582
|
//#endregion
|
|
3583
3583
|
//#region src/components/RadioGroup/RadioGroupItem.d.ts
|
|
3584
3584
|
type ItemProps = Omit<ComponentProps<typeof Item>, 'asChild' | 'value'>;
|
|
3585
|
-
type Props$
|
|
3585
|
+
type Props$182<T extends string = string> = ItemProps & {
|
|
3586
3586
|
value: T;
|
|
3587
3587
|
tooltip?: ReactNode;
|
|
3588
3588
|
tooltipVariant?: Props$8['variant'];
|
|
3589
3589
|
tooltipPlacement?: Props$8['placement'];
|
|
3590
3590
|
description?: ReactNode;
|
|
3591
3591
|
};
|
|
3592
|
-
declare const RadioGroupItem: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: Props$
|
|
3592
|
+
declare const RadioGroupItem: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: Props$182<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3593
3593
|
//#endregion
|
|
3594
3594
|
//#region src/components/RadioGroup/RadioGroupSeparator.d.ts
|
|
3595
3595
|
declare const RadioGroupSeparator: () => import("react/jsx-runtime").JSX.Element;
|
|
3596
3596
|
//#endregion
|
|
3597
3597
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
3598
|
-
type Props$
|
|
3598
|
+
type Props$181<Value> = {
|
|
3599
3599
|
variant?: Variant$7;
|
|
3600
3600
|
orientation?: Orientation;
|
|
3601
3601
|
onValueChange?: (value: Value) => void;
|
|
3602
3602
|
value?: Value | null;
|
|
3603
3603
|
defaultValue?: Value | null;
|
|
3604
3604
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
3605
|
-
declare function RadioGroup<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
3605
|
+
declare function RadioGroup<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$181<Value>): import("react/jsx-runtime").JSX.Element;
|
|
3606
3606
|
declare namespace RadioGroup {
|
|
3607
3607
|
export { RadioGroupItem as Item };
|
|
3608
3608
|
export { RadioGroupSeparator as Separator };
|
|
3609
3609
|
}
|
|
3610
3610
|
//#endregion
|
|
3611
3611
|
//#region src/components/Slider/SliderThumb.d.ts
|
|
3612
|
-
type Props$
|
|
3612
|
+
type Props$180 = ComponentProps<typeof Thumb$1> & {
|
|
3613
3613
|
tooltip?: ReactNode;
|
|
3614
3614
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
3615
3615
|
};
|
|
3616
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
3616
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$180) => import("react/jsx-runtime").JSX.Element;
|
|
3617
3617
|
//#endregion
|
|
3618
3618
|
//#region src/components/Slider/Slider.d.ts
|
|
3619
3619
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
3620
|
-
type Props$
|
|
3620
|
+
type Props$179 = ComponentProps<typeof Root$9> & {
|
|
3621
3621
|
thumbTooltip?: ThumbTooltipFn;
|
|
3622
3622
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
3623
3623
|
rangeClassName?: string;
|
|
3624
3624
|
};
|
|
3625
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
3625
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$179) => import("react/jsx-runtime").JSX.Element;
|
|
3626
3626
|
//#endregion
|
|
3627
3627
|
//#region src/components/Search/Search.d.ts
|
|
3628
3628
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent<HTMLButtonElement>) => void;
|
|
3629
3629
|
type SearchBlurEventHandler = (value: string, event: FocusEvent<HTMLInputElement, Element>) => void;
|
|
3630
|
-
type Props$
|
|
3630
|
+
type Props$178 = {
|
|
3631
3631
|
suffix?: ReactNode;
|
|
3632
3632
|
disableDebounce?: boolean;
|
|
3633
3633
|
debounceDelay?: number;
|
|
@@ -3642,19 +3642,19 @@ type Props$177 = {
|
|
|
3642
3642
|
/**
|
|
3643
3643
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
3644
3644
|
*/
|
|
3645
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
3645
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$178) => import("react/jsx-runtime").JSX.Element;
|
|
3646
3646
|
//#endregion
|
|
3647
3647
|
//#region src/components/Search/SearchForm.d.ts
|
|
3648
|
-
type Props$
|
|
3648
|
+
type Props$177 = {
|
|
3649
3649
|
onSubmit: (value: string) => void;
|
|
3650
3650
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
3651
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
3651
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$177) => import("react/jsx-runtime").JSX.Element;
|
|
3652
3652
|
//#endregion
|
|
3653
3653
|
//#region src/components/Select/SelectContent.d.ts
|
|
3654
3654
|
/**
|
|
3655
3655
|
* Props for `Select.Content`. `container` portals the listbox into a custom element (useful inside modals).
|
|
3656
3656
|
*/
|
|
3657
|
-
type Props$
|
|
3657
|
+
type Props$176 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
3658
3658
|
container?: HTMLElement | null;
|
|
3659
3659
|
};
|
|
3660
3660
|
/**
|
|
@@ -3662,22 +3662,22 @@ type Props$175 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
|
3662
3662
|
* Normally rendered implicitly by `Select`; use directly only when composing custom item layouts via
|
|
3663
3663
|
* the `Select.Root` / `Select.Trigger` / `Select.Content` compound parts.
|
|
3664
3664
|
*/
|
|
3665
|
-
declare const SelectContent: ({ ref, className, children, container, position, sideOffset, ...props }: Props$
|
|
3665
|
+
declare const SelectContent: ({ ref, className, children, container, position, sideOffset, ...props }: Props$176) => import("react/jsx-runtime").JSX.Element;
|
|
3666
3666
|
//#endregion
|
|
3667
3667
|
//#region src/components/Select/SelectGroup.d.ts
|
|
3668
|
-
type Props$
|
|
3669
|
-
declare const SelectGroup: ({ className, ...props }: Props$
|
|
3668
|
+
type Props$175 = ComponentProps<typeof SelectPrimitive.Group>;
|
|
3669
|
+
declare const SelectGroup: ({ className, ...props }: Props$175) => import("react/jsx-runtime").JSX.Element;
|
|
3670
3670
|
//#endregion
|
|
3671
3671
|
//#region src/components/Select/SelectItem.d.ts
|
|
3672
|
-
type Props$
|
|
3672
|
+
type Props$174 = ComponentProps<typeof SelectPrimitive.Item> & {
|
|
3673
3673
|
icon?: ReactNode;
|
|
3674
3674
|
hint?: ReactNode;
|
|
3675
3675
|
};
|
|
3676
|
-
declare const SelectItem$1: ({ ref, className, children, icon, hint, 'aria-describedby': ariaDescribedBy, ...props }: Props$
|
|
3676
|
+
declare const SelectItem$1: ({ ref, className, children, icon, hint, 'aria-describedby': ariaDescribedBy, ...props }: Props$174) => import("react/jsx-runtime").JSX.Element;
|
|
3677
3677
|
//#endregion
|
|
3678
3678
|
//#region src/components/Select/SelectLabel.d.ts
|
|
3679
|
-
type Props$
|
|
3680
|
-
declare const SelectLabel: ({ className, ...props }: Props$
|
|
3679
|
+
type Props$173 = ComponentProps<typeof SelectPrimitive.Label>;
|
|
3680
|
+
declare const SelectLabel: ({ className, ...props }: Props$173) => import("react/jsx-runtime").JSX.Element;
|
|
3681
3681
|
//#endregion
|
|
3682
3682
|
//#region src/components/Select/SelectRoot.d.ts
|
|
3683
3683
|
type SelectRootProps = {
|
|
@@ -3698,8 +3698,8 @@ type SelectRootProps = {
|
|
|
3698
3698
|
declare const SelectRoot: (props: SelectRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
3699
3699
|
//#endregion
|
|
3700
3700
|
//#region src/components/Select/SelectSeparator.d.ts
|
|
3701
|
-
type Props$
|
|
3702
|
-
declare const SelectSeparator: ({ className, ...props }: Props$
|
|
3701
|
+
type Props$172 = ComponentProps<typeof SelectPrimitive.Separator>;
|
|
3702
|
+
declare const SelectSeparator: ({ className, ...props }: Props$172) => import("react/jsx-runtime").JSX.Element;
|
|
3703
3703
|
//#endregion
|
|
3704
3704
|
//#region src/components/Select/SelectTrigger.d.ts
|
|
3705
3705
|
type BaseProps$1 = ComponentProps<typeof SelectPrimitive.Trigger> & Omit<VariantProps<typeof overlayTriggerVariants>, 'variant'> & {
|
|
@@ -3754,7 +3754,7 @@ declare namespace Select {
|
|
|
3754
3754
|
}
|
|
3755
3755
|
//#endregion
|
|
3756
3756
|
//#region src/components/Checkbox/Checkbox.d.ts
|
|
3757
|
-
type Props$
|
|
3757
|
+
type Props$171 = {
|
|
3758
3758
|
id?: string | number;
|
|
3759
3759
|
description?: ReactNode;
|
|
3760
3760
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
@@ -3762,11 +3762,11 @@ type Props$170 = {
|
|
|
3762
3762
|
tooltip?: Props$8['tooltip'];
|
|
3763
3763
|
tooltipPlacement?: Props$8['placement'];
|
|
3764
3764
|
} & Omit<ComponentProps<typeof Root$11>, 'id'>;
|
|
3765
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3765
|
+
declare function Checkbox(prop: Omit<Props$171, 'checked' | 'onCheckedChange'> & {
|
|
3766
3766
|
checked?: boolean;
|
|
3767
3767
|
onCheckedChange?: (checked: boolean) => void;
|
|
3768
3768
|
}): ReactNode;
|
|
3769
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3769
|
+
declare function Checkbox(prop: Omit<Props$171, 'checked' | 'onCheckedChange'> & {
|
|
3770
3770
|
checked?: CheckedState;
|
|
3771
3771
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
3772
3772
|
}): ReactNode;
|
|
@@ -3797,18 +3797,18 @@ declare const addonVariants: (props?: ({
|
|
|
3797
3797
|
align?: "inline-end" | "inline-start" | null | undefined;
|
|
3798
3798
|
variant?: "floating" | "inline" | null | undefined;
|
|
3799
3799
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3800
|
-
type Props$
|
|
3801
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
3800
|
+
type Props$170 = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
3801
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$170) => import("react/jsx-runtime").JSX.Element;
|
|
3802
3802
|
//#endregion
|
|
3803
3803
|
//#region src/components/Badge/BadgeButton.d.ts
|
|
3804
|
-
type Props$
|
|
3805
|
-
declare const BadgeButton: ({ ref, className, type, children, ...rest }: Props$
|
|
3804
|
+
type Props$169 = ComponentProps<'button'>;
|
|
3805
|
+
declare const BadgeButton: ({ ref, className, type, children, ...rest }: Props$169) => import("react/jsx-runtime").JSX.Element;
|
|
3806
3806
|
//#endregion
|
|
3807
3807
|
//#region src/components/Badge/BadgeLabel.d.ts
|
|
3808
|
-
type Props$
|
|
3808
|
+
type Props$168 = ComponentProps<'span'> & {
|
|
3809
3809
|
asChild?: boolean;
|
|
3810
3810
|
};
|
|
3811
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
3811
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$168) => import("react/jsx-runtime").JSX.Element;
|
|
3812
3812
|
//#endregion
|
|
3813
3813
|
//#region src/components/Badge/styles.d.ts
|
|
3814
3814
|
declare const badgeRootVariants: (props?: ({
|
|
@@ -3817,8 +3817,8 @@ declare const badgeRootVariants: (props?: ({
|
|
|
3817
3817
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3818
3818
|
//#endregion
|
|
3819
3819
|
//#region src/components/Badge/BadgeRoot.d.ts
|
|
3820
|
-
type Props$
|
|
3821
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$
|
|
3820
|
+
type Props$167 = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
3821
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$167) => import("react/jsx-runtime").JSX.Element;
|
|
3822
3822
|
//#endregion
|
|
3823
3823
|
//#region src/components/Badge/Badge.d.ts
|
|
3824
3824
|
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
@@ -3829,7 +3829,7 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
3829
3829
|
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
3830
3830
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
3831
3831
|
*/
|
|
3832
|
-
type Props$
|
|
3832
|
+
type Props$166 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
3833
3833
|
prefix?: ReactNode;
|
|
3834
3834
|
prefixVariant?: AddonVariant;
|
|
3835
3835
|
suffix?: ReactNode;
|
|
@@ -3847,7 +3847,7 @@ type Props$165 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProp
|
|
|
3847
3847
|
* **Composition:** drop into `PageHeader.Detail` `badges` slot, `Table.Cell`, or alongside titles in cards.
|
|
3848
3848
|
* Use `Badge.Button` for an interactive (clickable) badge variant.
|
|
3849
3849
|
*/
|
|
3850
|
-
declare const BadgeInner: ({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
3850
|
+
declare const BadgeInner: ({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$166) => import("react/jsx-runtime").JSX.Element;
|
|
3851
3851
|
declare const Badge: typeof BadgeInner & {
|
|
3852
3852
|
Root: typeof BadgeRoot;
|
|
3853
3853
|
Button: typeof BadgeButton;
|
|
@@ -3858,7 +3858,7 @@ declare const Badge: typeof BadgeInner & {
|
|
|
3858
3858
|
//#region src/components/Combobox/ComboboxChip.d.ts
|
|
3859
3859
|
type BadgeColor = ComponentProps<typeof Badge>['color'];
|
|
3860
3860
|
type BadgeVariant = ComponentProps<typeof Badge>['variant'];
|
|
3861
|
-
type Props$
|
|
3861
|
+
type Props$165 = {
|
|
3862
3862
|
children: ReactNode;
|
|
3863
3863
|
color?: BadgeColor;
|
|
3864
3864
|
variant?: BadgeVariant;
|
|
@@ -3873,10 +3873,10 @@ type Props$164 = {
|
|
|
3873
3873
|
* - A chip the user cannot remove is a plain `Badge`, not a chip — a chip would take a position
|
|
3874
3874
|
* that a removal counts against.
|
|
3875
3875
|
*/
|
|
3876
|
-
declare const ComboboxChip: ({ children, color, variant }: Props$
|
|
3876
|
+
declare const ComboboxChip: ({ children, color, variant }: Props$165) => import("react/jsx-runtime").JSX.Element;
|
|
3877
3877
|
//#endregion
|
|
3878
3878
|
//#region src/components/Combobox/ComboboxChips.d.ts
|
|
3879
|
-
type Props$
|
|
3879
|
+
type Props$164<Value> = {
|
|
3880
3880
|
maxVisible?: number;
|
|
3881
3881
|
itemToChipLabel?: (item: Value) => ReactNode;
|
|
3882
3882
|
itemToChipColor?: (item: Value) => BadgeColor;
|
|
@@ -3897,7 +3897,7 @@ type Props$163<Value> = {
|
|
|
3897
3897
|
*/
|
|
3898
3898
|
children?: (values: Value[]) => ReactNode;
|
|
3899
3899
|
};
|
|
3900
|
-
declare const ComboboxChips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, pinnedChipLabels, variant, children }: Props$
|
|
3900
|
+
declare const ComboboxChips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, pinnedChipLabels, variant, children }: Props$164<Value>) => import("react/jsx-runtime").JSX.Element;
|
|
3901
3901
|
//#endregion
|
|
3902
3902
|
//#region src/components/Combobox/ComboboxContent.d.ts
|
|
3903
3903
|
type PortalProps = ComponentProps<typeof Combobox$1.Portal>;
|
|
@@ -3905,72 +3905,72 @@ type PositionerProps = ComponentProps<typeof Combobox$1.Positioner>;
|
|
|
3905
3905
|
type PopupProps = Omit<ComponentProps<typeof Combobox$1.Popup>, 'className'> & {
|
|
3906
3906
|
className?: string;
|
|
3907
3907
|
};
|
|
3908
|
-
type Props$
|
|
3909
|
-
declare const ComboboxContent: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Props$
|
|
3908
|
+
type Props$163 = PopupProps & Pick<PositionerProps, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> & Pick<PortalProps, 'container'>;
|
|
3909
|
+
declare const ComboboxContent: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Props$163) => import("react/jsx-runtime").JSX.Element;
|
|
3910
3910
|
//#endregion
|
|
3911
3911
|
//#region src/components/Combobox/ComboboxEmpty.d.ts
|
|
3912
|
-
type Props$
|
|
3912
|
+
type Props$162 = Omit<ComponentProps<typeof Combobox$1.Empty>, 'className'> & {
|
|
3913
3913
|
className?: string;
|
|
3914
3914
|
};
|
|
3915
|
-
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$
|
|
3915
|
+
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$162) => import("react/jsx-runtime").JSX.Element;
|
|
3916
3916
|
//#endregion
|
|
3917
3917
|
//#region src/components/Combobox/ComboboxInput.d.ts
|
|
3918
|
-
type Props$
|
|
3919
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
3918
|
+
type Props$161 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
3919
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$161) => import("react/jsx-runtime").JSX.Element;
|
|
3920
3920
|
//#endregion
|
|
3921
3921
|
//#region src/components/Combobox/ComboboxInputGroup.d.ts
|
|
3922
3922
|
type InputGroupProps$8 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
3923
|
-
type Props$
|
|
3923
|
+
type Props$160 = InputGroupProps$8 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
3924
3924
|
className?: string;
|
|
3925
3925
|
};
|
|
3926
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
3926
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$160) => import("react/jsx-runtime").JSX.Element;
|
|
3927
3927
|
//#endregion
|
|
3928
3928
|
//#region src/components/Combobox/ComboboxItemIndicator.d.ts
|
|
3929
3929
|
type Variant$6 = 'check' | 'checkbox';
|
|
3930
|
-
type Props$
|
|
3930
|
+
type Props$159 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
3931
3931
|
className?: string;
|
|
3932
3932
|
variant?: Variant$6;
|
|
3933
3933
|
};
|
|
3934
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
3934
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$159) => import("react/jsx-runtime").JSX.Element;
|
|
3935
3935
|
//#endregion
|
|
3936
3936
|
//#region src/components/Combobox/ComboboxItem.d.ts
|
|
3937
|
-
type Props$
|
|
3937
|
+
type Props$158 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
3938
3938
|
className?: string;
|
|
3939
3939
|
icon?: ReactNode;
|
|
3940
3940
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
3941
3941
|
};
|
|
3942
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
3942
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$158) => import("react/jsx-runtime").JSX.Element;
|
|
3943
3943
|
//#endregion
|
|
3944
3944
|
//#region src/components/Combobox/ComboboxList.d.ts
|
|
3945
|
-
type Props$
|
|
3945
|
+
type Props$157 = Omit<ComponentProps<typeof Combobox$1.List>, 'className'> & {
|
|
3946
3946
|
className?: string;
|
|
3947
3947
|
};
|
|
3948
|
-
declare const ComboboxList: ({ ref, className, ...props }: Props$
|
|
3948
|
+
declare const ComboboxList: ({ ref, className, ...props }: Props$157) => import("react/jsx-runtime").JSX.Element;
|
|
3949
3949
|
//#endregion
|
|
3950
3950
|
//#region src/components/Combobox/ComboboxRoot.d.ts
|
|
3951
3951
|
declare const ComboboxRoot: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => import("react/jsx-runtime").JSX.Element;
|
|
3952
3952
|
//#endregion
|
|
3953
3953
|
//#region src/components/Combobox/ComboboxSeparator.d.ts
|
|
3954
|
-
type Props$
|
|
3954
|
+
type Props$156 = Omit<ComponentProps<typeof Combobox$1.Separator>, 'className'> & {
|
|
3955
3955
|
className?: string;
|
|
3956
3956
|
};
|
|
3957
|
-
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$
|
|
3957
|
+
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$156) => import("react/jsx-runtime").JSX.Element;
|
|
3958
3958
|
//#endregion
|
|
3959
3959
|
//#region src/components/Combobox/Group/ComboboxGroup.d.ts
|
|
3960
|
-
type Props$
|
|
3960
|
+
type Props$155 = Omit<ComponentProps<typeof Combobox$1.Group>, 'className'> & {
|
|
3961
3961
|
className?: string;
|
|
3962
3962
|
};
|
|
3963
|
-
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$
|
|
3963
|
+
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$155) => import("react/jsx-runtime").JSX.Element;
|
|
3964
3964
|
//#endregion
|
|
3965
3965
|
//#region src/components/Combobox/Group/ComboboxGroupLabel.d.ts
|
|
3966
|
-
type Props$
|
|
3966
|
+
type Props$154 = Omit<Combobox$1.GroupLabel.Props, 'className'> & {
|
|
3967
3967
|
className?: string;
|
|
3968
3968
|
};
|
|
3969
|
-
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$
|
|
3969
|
+
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$154) => import("react/jsx-runtime").JSX.Element;
|
|
3970
3970
|
//#endregion
|
|
3971
3971
|
//#region src/components/Combobox/Group/ComboboxCollection.d.ts
|
|
3972
|
-
type Props$
|
|
3973
|
-
declare const ComboboxCollection: ({ ...props }: Props$
|
|
3972
|
+
type Props$153 = Combobox$1.Collection.Props;
|
|
3973
|
+
declare const ComboboxCollection: ({ ...props }: Props$153) => import("react/jsx-runtime").JSX.Element;
|
|
3974
3974
|
//#endregion
|
|
3975
3975
|
//#region src/components/Combobox/types.d.ts
|
|
3976
3976
|
type Group$2<Item = unknown> = {
|
|
@@ -3998,7 +3998,7 @@ type CreatableProps$1<Value> = {
|
|
|
3998
3998
|
*/
|
|
3999
3999
|
canCreate?: (query: string) => boolean;
|
|
4000
4000
|
};
|
|
4001
|
-
type Props$
|
|
4001
|
+
type Props$152<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps$1<Value> & {
|
|
4002
4002
|
items?: readonly (Value | GroupShape)[];
|
|
4003
4003
|
/**
|
|
4004
4004
|
* Offer a clear button once a value is selected. Defaults to **`true`**.
|
|
@@ -4066,7 +4066,7 @@ type Props$151<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Publ
|
|
|
4066
4066
|
itemToSelectedLabel?: (item: Value) => ReactNode;
|
|
4067
4067
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
4068
4068
|
};
|
|
4069
|
-
declare function Combobox<Value, GroupShape extends Group$2<Value> = Group$2<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, virtualized, inputValueSanitizer, onQueryChange, allowCreate, queryToCreateValue, queryToCreateLabel, canCreate, itemToDisabled, itemToLabel, itemToIcon, itemToSelectedLabel, groupToLabel }: Props$
|
|
4069
|
+
declare function Combobox<Value, GroupShape extends Group$2<Value> = Group$2<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, virtualized, inputValueSanitizer, onQueryChange, allowCreate, queryToCreateValue, queryToCreateLabel, canCreate, itemToDisabled, itemToLabel, itemToIcon, itemToSelectedLabel, groupToLabel }: Props$152<Value, GroupShape>): import("react/jsx-runtime").JSX.Element;
|
|
4070
4070
|
declare namespace Combobox {
|
|
4071
4071
|
export { ComboboxRoot as Root };
|
|
4072
4072
|
export { ComboboxInputGroup as InputGroup };
|
|
@@ -4173,7 +4173,7 @@ type CreatableProps<Value> = {
|
|
|
4173
4173
|
* without it Base UI matches `value` against `items` by reference. Pass `allowCreate` to let the user add
|
|
4174
4174
|
* free-form values not in `items`.
|
|
4175
4175
|
*/
|
|
4176
|
-
type Props$
|
|
4176
|
+
type Props$151<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id' | 'name' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter' | 'isItemEqualToValue'> & Pick<ComboboxChipsProps<Value>, 'itemToChipLabel' | 'itemToChipColor' | 'pinnedChipLabels' | 'maxVisible'> & CreatableProps<Value> & {
|
|
4177
4177
|
items?: readonly (Value | GroupShape)[];
|
|
4178
4178
|
/**
|
|
4179
4179
|
* Offer a clear-all button once something is selected. Defaults to **`true`**.
|
|
@@ -4251,10 +4251,10 @@ type Props$150<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick
|
|
|
4251
4251
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
4252
4252
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
4253
4253
|
*/
|
|
4254
|
-
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, isItemEqualToValue: isItemEqualToValueProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, allowSelectAll, empty, indicator, inputValueSanitizer, onQueryChange, allowCreate, canCreate, queryToCreateValue, queryToCreateLabel, createSeparator, itemToDisabled, itemToLabel: itemToLabelProp, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, pinnedChipLabels, renderChips, maxVisible }: Props$
|
|
4254
|
+
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, isItemEqualToValue: isItemEqualToValueProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, allowSelectAll, empty, indicator, inputValueSanitizer, onQueryChange, allowCreate, canCreate, queryToCreateValue, queryToCreateLabel, createSeparator, itemToDisabled, itemToLabel: itemToLabelProp, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, pinnedChipLabels, renderChips, maxVisible }: Props$151<Value, GroupShape>) => import("react/jsx-runtime").JSX.Element;
|
|
4255
4255
|
//#endregion
|
|
4256
4256
|
//#region src/blocks/Form/connectors/MultiComboboxField.d.ts
|
|
4257
|
-
type Props$
|
|
4257
|
+
type Props$150 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<string>>, 'id' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'state'> & {
|
|
4258
4258
|
inputClassName?: string;
|
|
4259
4259
|
};
|
|
4260
4260
|
/**
|
|
@@ -4282,7 +4282,7 @@ type Props$149 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<strin
|
|
|
4282
4282
|
* Pass `allowCreate` for an enum the user may extend — an open list of synchronous action names, say.
|
|
4283
4283
|
* The created values land in the field value like any other.
|
|
4284
4284
|
*/
|
|
4285
|
-
declare const MultiComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, ...comboboxProps }: Props$
|
|
4285
|
+
declare const MultiComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, ...comboboxProps }: Props$150) => import("react/jsx-runtime").JSX.Element;
|
|
4286
4286
|
//#endregion
|
|
4287
4287
|
//#region src/blocks/Textarea/Textarea.d.ts
|
|
4288
4288
|
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
@@ -4296,12 +4296,12 @@ type TextareaOwnProps = {
|
|
|
4296
4296
|
disableResize?: boolean;
|
|
4297
4297
|
containerClassName?: string;
|
|
4298
4298
|
};
|
|
4299
|
-
type Props$
|
|
4299
|
+
type Props$149 = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
4300
4300
|
/**
|
|
4301
4301
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
4302
4302
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
4303
4303
|
*/
|
|
4304
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$
|
|
4304
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$149) => import("react/jsx-runtime").JSX.Element;
|
|
4305
4305
|
//#endregion
|
|
4306
4306
|
//#region src/blocks/AutoSaveTextarea/AutoSaveTextarea.d.ts
|
|
4307
4307
|
type AutoSaveTextareaProps = {
|
|
@@ -4316,14 +4316,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
4316
4316
|
//#region src/blocks/ColorInput/ColorInput.d.ts
|
|
4317
4317
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4318
4318
|
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
4319
|
-
type Props$
|
|
4319
|
+
type Props$148 = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
4320
4320
|
value?: string | null;
|
|
4321
4321
|
defaultValue?: string | null;
|
|
4322
4322
|
onValueChange?: (value: string) => void;
|
|
4323
4323
|
onValueBlur?: (value: string) => void;
|
|
4324
4324
|
allowClear?: boolean;
|
|
4325
4325
|
};
|
|
4326
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
4326
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$148) => import("react/jsx-runtime").JSX.Element;
|
|
4327
4327
|
//#endregion
|
|
4328
4328
|
//#region src/components/ThemeProvider/useBrandState.d.ts
|
|
4329
4329
|
type UseBrandOptions = {
|
|
@@ -4355,17 +4355,17 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
4355
4355
|
};
|
|
4356
4356
|
//#endregion
|
|
4357
4357
|
//#region src/components/ThemeProvider/ThemeProvider.d.ts
|
|
4358
|
-
type Props$
|
|
4358
|
+
type Props$147 = UseColorSchemeOptions & UseBrandOptions & {
|
|
4359
4359
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
4360
4360
|
brands?: readonly Brand$1[];
|
|
4361
4361
|
children: ReactNode;
|
|
4362
4362
|
};
|
|
4363
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$
|
|
4363
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$147) => import("react/jsx-runtime").JSX.Element;
|
|
4364
4364
|
//#endregion
|
|
4365
4365
|
//#region src/components/ThemeProvider/ThemeScope.d.ts
|
|
4366
4366
|
/** The scope's themed portal container, or `null` outside a `ThemeScope`. */
|
|
4367
4367
|
declare const useThemeScopeContainer: () => HTMLElement | null;
|
|
4368
|
-
type Props$
|
|
4368
|
+
type Props$146 = {
|
|
4369
4369
|
/** Colour scheme for this subtree. `system` follows the OS preference. */
|
|
4370
4370
|
scheme: ColorScheme;
|
|
4371
4371
|
/** Merged onto the child element. */
|
|
@@ -4389,7 +4389,7 @@ type Props$145 = {
|
|
|
4389
4389
|
* layout ignores but selectors do not) silently breaks direct-child selectors
|
|
4390
4390
|
* like `[data-fill=true] > &` in the element it wraps.
|
|
4391
4391
|
*/
|
|
4392
|
-
declare const ThemeScope: ({ scheme, className, children }: Props$
|
|
4392
|
+
declare const ThemeScope: ({ scheme, className, children }: Props$146) => import("react/jsx-runtime").JSX.Element;
|
|
4393
4393
|
//#endregion
|
|
4394
4394
|
//#region src/components/ThemeProvider/context.d.ts
|
|
4395
4395
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
@@ -4422,7 +4422,7 @@ declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
|
4422
4422
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
4423
4423
|
//#endregion
|
|
4424
4424
|
//#region src/blocks/ColorModeSwitch/ColorModeSwitch.d.ts
|
|
4425
|
-
type Props$
|
|
4425
|
+
type Props$145 = {
|
|
4426
4426
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
4427
4427
|
value: ColorScheme;
|
|
4428
4428
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -4447,12 +4447,12 @@ type Props$144 = {
|
|
|
4447
4447
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
4448
4448
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
4449
4449
|
*/
|
|
4450
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
4450
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$145) => import("react/jsx-runtime").JSX.Element;
|
|
4451
4451
|
//#endregion
|
|
4452
4452
|
//#region src/blocks/DateInput/DateInput.d.ts
|
|
4453
4453
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4454
4454
|
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4455
|
-
type Props$
|
|
4455
|
+
type Props$144 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
4456
4456
|
value?: Date | null;
|
|
4457
4457
|
defaultValue?: Date | null;
|
|
4458
4458
|
onValueChange?: (value: Date | null) => void;
|
|
@@ -4462,12 +4462,12 @@ type Props$143 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
|
4462
4462
|
endMonth?: Date;
|
|
4463
4463
|
startMonth?: Date;
|
|
4464
4464
|
};
|
|
4465
|
-
declare const DateInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4465
|
+
declare const DateInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$144) => import("react/jsx-runtime").JSX.Element;
|
|
4466
4466
|
//#endregion
|
|
4467
4467
|
//#region src/blocks/NumberInput/NumberInput.d.ts
|
|
4468
4468
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4469
4469
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
4470
|
-
type Props$
|
|
4470
|
+
type Props$143 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
4471
4471
|
value?: number | null;
|
|
4472
4472
|
defaultValue?: number | null;
|
|
4473
4473
|
onValueChange?: (value: number | null) => void;
|
|
@@ -4475,12 +4475,12 @@ type Props$142 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
|
4475
4475
|
prefix?: ReactNode;
|
|
4476
4476
|
suffix?: ReactNode;
|
|
4477
4477
|
};
|
|
4478
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
4478
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$143) => import("react/jsx-runtime").JSX.Element;
|
|
4479
4479
|
//#endregion
|
|
4480
4480
|
//#region src/blocks/PasswordInput/PasswordInput.d.ts
|
|
4481
4481
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4482
4482
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
4483
|
-
type Props$
|
|
4483
|
+
type Props$142 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
4484
4484
|
value?: string | null;
|
|
4485
4485
|
defaultValue?: string | null;
|
|
4486
4486
|
onValueChange?: (value: string) => void;
|
|
@@ -4497,24 +4497,24 @@ type Props$141 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
4497
4497
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
4498
4498
|
defaultPasswordVisibility?: boolean;
|
|
4499
4499
|
};
|
|
4500
|
-
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$
|
|
4500
|
+
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$142) => import("react/jsx-runtime").JSX.Element;
|
|
4501
4501
|
//#endregion
|
|
4502
4502
|
//#region src/blocks/TimeInput/TimeInput.d.ts
|
|
4503
4503
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4504
4504
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4505
|
-
type Props$
|
|
4505
|
+
type Props$141 = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
4506
4506
|
value?: string | null;
|
|
4507
4507
|
defaultValue?: string | null;
|
|
4508
4508
|
onValueChange?: (value: string | null) => void;
|
|
4509
4509
|
onValueBlur?: (value: string | null) => void;
|
|
4510
4510
|
allowClear?: boolean;
|
|
4511
4511
|
};
|
|
4512
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4512
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$141) => import("react/jsx-runtime").JSX.Element;
|
|
4513
4513
|
//#endregion
|
|
4514
4514
|
//#region src/blocks/DateRangeInput/DateRangeInput.d.ts
|
|
4515
4515
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4516
4516
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4517
|
-
type Props$
|
|
4517
|
+
type Props$140 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
4518
4518
|
value?: DateRange$1 | null;
|
|
4519
4519
|
defaultValue?: DateRange$1 | null;
|
|
4520
4520
|
onValueChange?: (value: DateRange$1 | null) => void;
|
|
@@ -4523,7 +4523,7 @@ type Props$139 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
|
4523
4523
|
startMonth?: Date;
|
|
4524
4524
|
endMonth?: Date;
|
|
4525
4525
|
};
|
|
4526
|
-
declare const DateRangeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4526
|
+
declare const DateRangeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$140) => import("react/jsx-runtime").JSX.Element;
|
|
4527
4527
|
//#endregion
|
|
4528
4528
|
//#region src/blocks/OtpInput/OtpInputGroup.d.ts
|
|
4529
4529
|
type GroupProps = ComponentProps<'div'>;
|
|
@@ -4574,7 +4574,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
4574
4574
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
4575
4575
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
4576
4576
|
*/
|
|
4577
|
-
type Props$
|
|
4577
|
+
type Props$139 = InputGroupProps & InputGroupInputProps & {
|
|
4578
4578
|
value?: string | null;
|
|
4579
4579
|
defaultValue?: string | null;
|
|
4580
4580
|
/** 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`. */
|
|
@@ -4603,7 +4603,7 @@ type Props$138 = InputGroupProps & InputGroupInputProps & {
|
|
|
4603
4603
|
*
|
|
4604
4604
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
4605
4605
|
*/
|
|
4606
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
4606
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$139) => import("react/jsx-runtime").JSX.Element;
|
|
4607
4607
|
//#endregion
|
|
4608
4608
|
//#region src/blocks/SearchInputWithNavigation/SearchInputWithNavigation.d.ts
|
|
4609
4609
|
type SearchInputWithNavigationProps = {
|
|
@@ -4723,7 +4723,7 @@ declare const useFileDropTarget: ({ accept, maxSize, maxFiles, multiple, disable
|
|
|
4723
4723
|
declare const useFileUploadRejections: () => FileUploadRejection[];
|
|
4724
4724
|
//#endregion
|
|
4725
4725
|
//#region src/components/FileUpload/FileUploadDropZone.d.ts
|
|
4726
|
-
type Props$
|
|
4726
|
+
type Props$138 = {
|
|
4727
4727
|
/** Override the default copy / icon block. */
|
|
4728
4728
|
children?: ReactNode;
|
|
4729
4729
|
/** `id` for the underlying file input, so an external `<Label htmlFor>` can address it. */
|
|
@@ -4733,10 +4733,10 @@ type Props$137 = {
|
|
|
4733
4733
|
* Drop-zone target. Defaults to "Drag files here or click to browse" + Upload icon.
|
|
4734
4734
|
* Pass `children` to fully replace the inner block.
|
|
4735
4735
|
*/
|
|
4736
|
-
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$
|
|
4736
|
+
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$138) => import("react/jsx-runtime").JSX.Element;
|
|
4737
4737
|
//#endregion
|
|
4738
4738
|
//#region src/components/FileUpload/FileUploadFileList.d.ts
|
|
4739
|
-
type Props$
|
|
4739
|
+
type Props$137 = {
|
|
4740
4740
|
files: File[];
|
|
4741
4741
|
onRemove?: (file: File, index: number) => void;
|
|
4742
4742
|
/**
|
|
@@ -4749,7 +4749,7 @@ type Props$136 = {
|
|
|
4749
4749
|
* Selected-files list. Caller owns the `files` array — pass it back into the list and handle
|
|
4750
4750
|
* removal via `onRemove`.
|
|
4751
4751
|
*/
|
|
4752
|
-
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$
|
|
4752
|
+
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$137) => import("react/jsx-runtime").JSX.Element | null;
|
|
4753
4753
|
//#endregion
|
|
4754
4754
|
//#region src/components/FileUpload/FileUpload.d.ts
|
|
4755
4755
|
/**
|
|
@@ -4757,7 +4757,7 @@ declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...res
|
|
|
4757
4757
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
4758
4758
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
4759
4759
|
*/
|
|
4760
|
-
type Props$
|
|
4760
|
+
type Props$136 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
4761
4761
|
/** Storybook-only: force a visual state without simulating real drag events. */
|
|
4762
4762
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
4763
4763
|
children: ReactNode;
|
|
@@ -4776,18 +4776,18 @@ type Props$135 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
|
4776
4776
|
* for the selected-files list. The caller stores the `File[]` and renders it back into `FileList`.
|
|
4777
4777
|
* Rejection copy is the caller's — read it with `useFileUploadRejections()`.
|
|
4778
4778
|
*/
|
|
4779
|
-
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
4779
|
+
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$136) => import("react/jsx-runtime").JSX.Element;
|
|
4780
4780
|
declare const FileUpload: typeof FileUploadInner & {
|
|
4781
4781
|
DropZone: typeof FileUploadDropZone;
|
|
4782
4782
|
FileList: typeof FileUploadFileList;
|
|
4783
4783
|
};
|
|
4784
4784
|
//#endregion
|
|
4785
4785
|
//#region src/blocks/FormGroup/FormGroupColorInput.d.ts
|
|
4786
|
-
type Props$
|
|
4787
|
-
declare const FormGroupColorInput: ({ ref, ...props }: Props$
|
|
4786
|
+
type Props$135 = Omit<ComponentProps<typeof ColorInput>, 'state'>;
|
|
4787
|
+
declare const FormGroupColorInput: ({ ref, ...props }: Props$135) => import("react/jsx-runtime").JSX.Element;
|
|
4788
4788
|
//#endregion
|
|
4789
4789
|
//#region src/blocks/FormGroup/FormGroupError.d.ts
|
|
4790
|
-
type Props$
|
|
4790
|
+
type Props$134 = ComponentPropsWithRef<'div'> & {
|
|
4791
4791
|
/**
|
|
4792
4792
|
* Field validation errors. TanStack Form errors are strings (function validators) or
|
|
4793
4793
|
* `{ message }` objects (Standard Schema / zod). A single message renders inline; several
|
|
@@ -4803,30 +4803,30 @@ type Props$133 = ComponentPropsWithRef<'div'> & {
|
|
|
4803
4803
|
* field (e.g. surfaced on submit). Renders a `<div>` (not `<p>`) so multiple errors can render
|
|
4804
4804
|
* as a `<ul>`.
|
|
4805
4805
|
*/
|
|
4806
|
-
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$
|
|
4806
|
+
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$134) => import("react/jsx-runtime").JSX.Element | null;
|
|
4807
4807
|
//#endregion
|
|
4808
4808
|
//#region src/components/HelpBlock/HelpBlock.d.ts
|
|
4809
4809
|
declare const helpVariants: (props?: ({
|
|
4810
4810
|
state?: "default" | "warning" | null | undefined;
|
|
4811
4811
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4812
|
-
type Props$
|
|
4813
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4812
|
+
type Props$133 = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4813
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$133) => import("react/jsx-runtime").JSX.Element | null;
|
|
4814
4814
|
//#endregion
|
|
4815
4815
|
//#region src/blocks/FormGroup/FormGroupHelp.d.ts
|
|
4816
|
-
type Props$
|
|
4817
|
-
declare const FormGroupHelp: ({ children, ...rest }: Props$
|
|
4816
|
+
type Props$132 = Omit<ComponentProps<typeof HelpBlock>, 'state'>;
|
|
4817
|
+
declare const FormGroupHelp: ({ children, ...rest }: Props$132) => import("react/jsx-runtime").JSX.Element;
|
|
4818
4818
|
//#endregion
|
|
4819
4819
|
//#region src/blocks/FormGroup/FormGroupNumberInput.d.ts
|
|
4820
|
-
type Props$
|
|
4821
|
-
declare const FormGroupNumberInput: ({ ref, ...props }: Props$
|
|
4820
|
+
type Props$131 = Omit<ComponentProps<typeof NumberInput>, 'state'>;
|
|
4821
|
+
declare const FormGroupNumberInput: ({ ref, ...props }: Props$131) => import("react/jsx-runtime").JSX.Element;
|
|
4822
4822
|
//#endregion
|
|
4823
4823
|
//#region src/blocks/FormGroup/FormGroupTextarea.d.ts
|
|
4824
|
-
type Props$
|
|
4825
|
-
declare const FormGroupTextarea: (props: Props$
|
|
4824
|
+
type Props$130 = Omit<ComponentProps<typeof Textarea>, 'state'>;
|
|
4825
|
+
declare const FormGroupTextarea: (props: Props$130) => import("react/jsx-runtime").JSX.Element;
|
|
4826
4826
|
//#endregion
|
|
4827
4827
|
//#region src/blocks/FormGroup/FormGroupTextInput.d.ts
|
|
4828
|
-
type Props$
|
|
4829
|
-
declare const FormGroupTextInput: ({ ref, ...props }: Props$
|
|
4828
|
+
type Props$129 = Omit<ComponentProps<typeof TextInput>, 'state'>;
|
|
4829
|
+
declare const FormGroupTextInput: ({ ref, ...props }: Props$129) => import("react/jsx-runtime").JSX.Element;
|
|
4830
4830
|
//#endregion
|
|
4831
4831
|
//#region src/blocks/FormGroup/types.d.ts
|
|
4832
4832
|
type ValidityState = 'default' | 'error' | 'warning';
|
|
@@ -4854,7 +4854,7 @@ declare namespace FormGroup {
|
|
|
4854
4854
|
//#region src/blocks/AIKit/AnswerActions.d.ts
|
|
4855
4855
|
/** Which way a reader rated an answer. */
|
|
4856
4856
|
type AnswerVote = 'up' | 'down';
|
|
4857
|
-
type Props$
|
|
4857
|
+
type Props$128 = {
|
|
4858
4858
|
/**
|
|
4859
4859
|
* The answer as the reader would read it, for the clipboard.
|
|
4860
4860
|
*
|
|
@@ -4878,7 +4878,7 @@ type Props$127 = {
|
|
|
4878
4878
|
* - The recorded vote and the write are the caller's: the two chats vote against different
|
|
4879
4879
|
* endpoints, and only the caller knows whether a turn is finished enough to rate.
|
|
4880
4880
|
*/
|
|
4881
|
-
declare const AnswerActions: ({ copyText, vote, onVote }: Props$
|
|
4881
|
+
declare const AnswerActions: ({ copyText, vote, onVote }: Props$128) => import("react/jsx-runtime").JSX.Element;
|
|
4882
4882
|
//#endregion
|
|
4883
4883
|
//#region src/blocks/AIKit/AnswerSummary.d.ts
|
|
4884
4884
|
type AnswerItem = {
|
|
@@ -4896,13 +4896,13 @@ declare const AnswerSummary: ({ items, variant, noAnswerLabel, onExpandToggle }:
|
|
|
4896
4896
|
//#endregion
|
|
4897
4897
|
//#region src/blocks/AIKit/CollapsibleStepHeader.d.ts
|
|
4898
4898
|
type Variant$5 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4899
|
-
type Props$
|
|
4899
|
+
type Props$127 = {
|
|
4900
4900
|
isExpanded: boolean;
|
|
4901
4901
|
onToggle: () => void;
|
|
4902
4902
|
label: ReactNode;
|
|
4903
4903
|
variant?: Variant$5;
|
|
4904
4904
|
};
|
|
4905
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$
|
|
4905
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$127) => import("react/jsx-runtime").JSX.Element;
|
|
4906
4906
|
//#endregion
|
|
4907
4907
|
//#region src/blocks/AIKit/InlineStepDetail.d.ts
|
|
4908
4908
|
type Props$1 = {
|
|
@@ -4930,7 +4930,7 @@ declare const InlineStepLabel: ({ variant, children }: Props$2) => import("react
|
|
|
4930
4930
|
* every other app in the same bundle holds a fence back.
|
|
4931
4931
|
*/
|
|
4932
4932
|
declare const DIAGRAM_LANGUAGES: readonly string[];
|
|
4933
|
-
type Props$
|
|
4933
|
+
type Props$126 = {
|
|
4934
4934
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4935
4935
|
* render through the design `Table`; fenced ```mermaid and ```flint blocks render
|
|
4936
4936
|
* as diagrams; every other fenced block gets a hover copy button. */
|
|
@@ -4962,7 +4962,73 @@ type Props$125 = {
|
|
|
4962
4962
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4963
4963
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4964
4964
|
*/
|
|
4965
|
-
declare const Markdown: ({ children, className, remarkPlugins, components: componentOverrides }: Props$
|
|
4965
|
+
declare const Markdown: ({ children, className, remarkPlugins, components: componentOverrides }: Props$126) => import("react/jsx-runtime").JSX.Element;
|
|
4966
|
+
//#endregion
|
|
4967
|
+
//#region src/blocks/AIKit/MarkdownTable.d.ts
|
|
4968
|
+
/**
|
|
4969
|
+
* The token the host paints the table on, which is the colour the fade has to end in.
|
|
4970
|
+
*
|
|
4971
|
+
* - A gradient hides the cut-off cells by ending in the surface behind them. End it in any other
|
|
4972
|
+
* token and it draws a contrasting strip over the data instead of hiding it.
|
|
4973
|
+
* - Full class strings, not a composed `tw:from-${token}`: Tailwind reads literals.
|
|
4974
|
+
*/
|
|
4975
|
+
declare const FADE_SURFACE: {
|
|
4976
|
+
readonly card: 'tw:from-card';
|
|
4977
|
+
readonly background: 'tw:from-background';
|
|
4978
|
+
};
|
|
4979
|
+
type Surface = keyof typeof FADE_SURFACE;
|
|
4980
|
+
type Props$125 = {
|
|
4981
|
+
/**
|
|
4982
|
+
* The table itself — a `Table bordered`, whose own container is the scrolling element.
|
|
4983
|
+
*
|
|
4984
|
+
* - It has to be left at its intrinsic width (`tw:min-w-max`). `Table` is `w-full` with auto
|
|
4985
|
+
* layout, so on its own the grid shrinks to the column and wraps its cells instead:
|
|
4986
|
+
* `scrollWidth` never exceeds `clientWidth`, and neither affordance below can ever appear.
|
|
4987
|
+
*/
|
|
4988
|
+
children: ReactNode;
|
|
4989
|
+
/**
|
|
4990
|
+
* What the host paints behind the table.
|
|
4991
|
+
*
|
|
4992
|
+
* - `card` for a table inside a panel or a card, `background` for one on the bare page.
|
|
4993
|
+
* - Only the fade reads it, and only to end in the same colour it covers.
|
|
4994
|
+
* - The fade is one strip down the whole right edge, so it can end in one colour only. A host
|
|
4995
|
+
* that leaves `Table`'s tinted header band in place gives it a second surface to cover and
|
|
4996
|
+
* the strip will contrast over the header row; paint the band `surface` too.
|
|
4997
|
+
*/
|
|
4998
|
+
surface?: Surface;
|
|
4999
|
+
/**
|
|
5000
|
+
* Host controls in the rail, left of the expand action.
|
|
5001
|
+
*
|
|
5002
|
+
* - Quiet or revealed on hover is the host's call: its own `opacity-0 group-hover:opacity-100`
|
|
5003
|
+
* span, plus `tw:group` on `className`.
|
|
5004
|
+
*/
|
|
5005
|
+
actions?: ReactNode;
|
|
5006
|
+
/**
|
|
5007
|
+
* Where a table too wide for its column goes — a panel to fullscreen, a modal.
|
|
5008
|
+
*
|
|
5009
|
+
* - Omitted where there is nowhere wider to go: the fade draws, the action does not.
|
|
5010
|
+
* - Whether the table is in fact cut off is measured here.
|
|
5011
|
+
*/
|
|
5012
|
+
onExpand?: () => void;
|
|
5013
|
+
className?: string;
|
|
5014
|
+
};
|
|
5015
|
+
/**
|
|
5016
|
+
* A table in an answer, with the fact that it is cut off on the right said out loud.
|
|
5017
|
+
*
|
|
5018
|
+
* - `overflow-x: auto` scrolls silently, so nothing on screen says there is more to the right.
|
|
5019
|
+
* - The controls sit in a rail above the grid, never over the header row or the last row — the
|
|
5020
|
+
* data a reader reaches for them to get at. The rail holds its height, so revealing hover
|
|
5021
|
+
* controls or crossing the ratio cannot shift the table under the pointer.
|
|
5022
|
+
* - The fade marks the cut edge only while content remains, so it never reads as a border.
|
|
5023
|
+
* - A painted gradient rather than the `tw:scroll-fade-x` mask, which needs scroll-driven
|
|
5024
|
+
* animations: the build floor is `baseline-widely-available` (Safari 16, Firefox 104), and there
|
|
5025
|
+
* the utility either fades both edges of a table that fits or, behind the `supports-` guard
|
|
5026
|
+
* `PageLayout` uses, says nothing at all — which is the state this component exists to end. The
|
|
5027
|
+
* mask also has to sit on the scrolling element, and that is `Table`'s own container, not ours.
|
|
5028
|
+
* - Past `EXPAND_RATIO` the fade is joined by `onExpand`'s action, drawn without waiting for a
|
|
5029
|
+
* hover: it reports that content is cut off, which the reader needs before going looking.
|
|
5030
|
+
*/
|
|
5031
|
+
declare const MarkdownTable: ({ children, actions, onExpand, surface, className }: Props$125) => import("react/jsx-runtime").JSX.Element;
|
|
4966
5032
|
//#endregion
|
|
4967
5033
|
//#region src/components/Avatar.d.ts
|
|
4968
5034
|
type Props$124 = {
|
|
@@ -5141,6 +5207,15 @@ declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: P
|
|
|
5141
5207
|
type ThinkingIndicatorProps = {
|
|
5142
5208
|
label?: string;
|
|
5143
5209
|
};
|
|
5210
|
+
/**
|
|
5211
|
+
* The agent's turn is in flight and has nothing to show yet.
|
|
5212
|
+
*
|
|
5213
|
+
* - Quiet chrome, matching the step rows it precedes (muted ink, no italic), so the hand-off
|
|
5214
|
+
* from "Thinking..." to the first step is seamless.
|
|
5215
|
+
* - `role="status"` because a spinner is silence to a screen reader, and for much of a turn
|
|
5216
|
+
* this is all a transcript shows. The label is the announcement, so it is never decorative.
|
|
5217
|
+
* - The icon is hidden from the tree: it says the same thing as the label beside it.
|
|
5218
|
+
*/
|
|
5144
5219
|
declare const ThinkingIndicator: ({ label }: ThinkingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
5145
5220
|
//#endregion
|
|
5146
5221
|
//#region src/blocks/AIKit/ToolCall/ToolCallApproval.d.ts
|
|
@@ -5253,12 +5328,12 @@ declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$11
|
|
|
5253
5328
|
*/
|
|
5254
5329
|
declare const clampPercentage: (value: number) => number;
|
|
5255
5330
|
/**
|
|
5256
|
-
* A percentage as text — `72%`, `
|
|
5331
|
+
* A percentage as text — `72%`, `0.2%`, `99%`.
|
|
5257
5332
|
*
|
|
5258
|
-
* -
|
|
5259
|
-
* -
|
|
5333
|
+
* - Whole numbers from 1% up; a decimal only below 1%, where rounding would read as `0%`.
|
|
5334
|
+
* - A non-zero share never prints as `0.0%` — it floors at `0.1%`.
|
|
5335
|
+
* - Never `100%` for a value under 100: the text would disagree with the at-limit state computed
|
|
5260
5336
|
* from the raw value, exactly at the boundary everything else turns on.
|
|
5261
|
-
* - The `1e-9` nudge is for floating-point noise — `11 / 1000 * 100` is `1.0999999999999999`.
|
|
5262
5337
|
*/
|
|
5263
5338
|
declare const formatPercentage: (value: number) => string;
|
|
5264
5339
|
//#endregion
|
|
@@ -5548,7 +5623,7 @@ declare const DiagramSkeleton: () => import("react/jsx-runtime").JSX.Element;
|
|
|
5548
5623
|
//#endregion
|
|
5549
5624
|
//#region src/components/Progress/Progress.d.ts
|
|
5550
5625
|
declare const variants$3: (props?: ({
|
|
5551
|
-
variant?: "default" | "success" | null | undefined;
|
|
5626
|
+
variant?: "default" | "error" | "success" | "warning" | null | undefined;
|
|
5552
5627
|
size?: "lg" | "sm" | null | undefined;
|
|
5553
5628
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5554
5629
|
type Props$107 = ComponentProps<typeof Root$12> & VariantProps<typeof variants$3>;
|
|
@@ -7602,5 +7677,5 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
7602
7677
|
/** WCAG level for normal-size text at a given ratio. */
|
|
7603
7678
|
declare const wcagLevel: (ratio: number) => 'AAA' | 'AA' | 'fail';
|
|
7604
7679
|
//#endregion
|
|
7605
|
-
export { Alert, AlertModal, AnswerActions, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AnswerVote, AppShell, type AppShellHeaderSpan, type AppShellSlot, ArgoDesignContext, AuthLayout, type RootProps as AuthLayoutProps, AutoSaveTextarea, Avatar, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps$1 as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DIAGRAM_LANGUAGES, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, DiagramSkeleton, type DiffChunk, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$3 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$4 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$1 as InlineStepDetailProps, InlineStepLabel, type Props$2 as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkedText, type MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, Navbar, NumberInput, OtpInput, type RootProps$5 as OtpInputProps, type OtpInputRenderSlotProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, type PanelImperativeHandle, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, Props$3 as Props, Question, type QuestionAnswers, QuestionBlock, type Props$4 as QuestionBlockProps, type QuestionOption, type Props$5 as QuestionProps, type QuestionStep, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavItemRenderProps, Select, SelectItem, SelectItemGroup, SelectProps, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, Slot, SplitButton, SpotlightBackdrop, SpotlightTarget, StatCard, StatCardGrid, type Props$6 as StatCardGridProps, type RootProps$6 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, TargetRect, TextInput, Textarea, Theme, ThemeProvider, ThemeScope, ThinkingIndicator, ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, type ToolCallStatus, ToolCallStatusHeader, type Props$7 as ToolCallStatusHeaderProps, Tooltip, type Props$8 as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, UseAutosizeInputOptions, UseAutosizeInputReturn, type ValidityState, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, appShellSlotSelector, argoVariants, brandSchema, channelsToHex, clampPercentage, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, exampleCustomer, filterByWords, findLiteralMatches, formatPercentage, hasLiteralMatch, hexToChannels, isMac, kbdVariants, keboola, keboolaLegacySidebar, keboolaLegacyTopnav, keys, matchByWords, mergeRefs, namedLabel, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useThemeScopeContainer, useWorkbench, wcagLevel, withBlankValues, withForm };
|
|
7680
|
+
export { Alert, AlertModal, AnswerActions, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AnswerVote, AppShell, type AppShellHeaderSpan, type AppShellSlot, ArgoDesignContext, AuthLayout, type RootProps as AuthLayoutProps, AutoSaveTextarea, Avatar, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps$1 as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DIAGRAM_LANGUAGES, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, DiagramSkeleton, type DiffChunk, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$3 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$4 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$1 as InlineStepDetailProps, InlineStepLabel, type Props$2 as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkdownTable, MarkedText, type MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, Navbar, NumberInput, OtpInput, type RootProps$5 as OtpInputProps, type OtpInputRenderSlotProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, type PanelImperativeHandle, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, Props$3 as Props, Question, type QuestionAnswers, QuestionBlock, type Props$4 as QuestionBlockProps, type QuestionOption, type Props$5 as QuestionProps, type QuestionStep, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavItemRenderProps, Select, SelectItem, SelectItemGroup, SelectProps, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, Slot, SplitButton, SpotlightBackdrop, SpotlightTarget, StatCard, StatCardGrid, type Props$6 as StatCardGridProps, type RootProps$6 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, TargetRect, TextInput, Textarea, Theme, ThemeProvider, ThemeScope, ThinkingIndicator, type ThinkingIndicatorProps, ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, type ToolCallStatus, ToolCallStatusHeader, type Props$7 as ToolCallStatusHeaderProps, Tooltip, type Props$8 as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, UseAutosizeInputOptions, UseAutosizeInputReturn, type ValidityState, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, appShellSlotSelector, argoVariants, brandSchema, channelsToHex, clampPercentage, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, exampleCustomer, filterByWords, findLiteralMatches, formatPercentage, hasLiteralMatch, hexToChannels, isMac, kbdVariants, keboola, keboolaLegacySidebar, keboolaLegacyTopnav, keys, matchByWords, mergeRefs, namedLabel, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useThemeScopeContainer, useWorkbench, wcagLevel, withBlankValues, withForm };
|
|
7606
7681
|
//# sourceMappingURL=index.d.ts.map
|