@keboola/design 9.0.0 → 10.1.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 +117 -40
- package/COMPONENT-API.md +31 -9
- package/README.md +3 -3
- package/dist/MermaidDiagram-EOKJHQQV.js +10 -0
- package/dist/MermaidDiagram-EOKJHQQV.js.map +1 -0
- package/dist/charts.d.ts +31 -2
- package/dist/charts.js +6 -9
- package/dist/charts.js.map +1 -1
- package/dist/chunk-63NSN2VL.js +274 -0
- package/dist/chunk-63NSN2VL.js.map +1 -0
- package/dist/{rjsf.cjs → chunk-6FPEI4EM.js} +1560 -5712
- package/dist/chunk-6FPEI4EM.js.map +1 -0
- package/dist/chunk-7PUUHEJQ.js +1313 -0
- package/dist/chunk-7PUUHEJQ.js.map +1 -0
- package/dist/chunk-BOHNXTMM.js +606 -0
- package/dist/chunk-BOHNXTMM.js.map +1 -0
- package/dist/{testing.cjs → chunk-C3L3TBBT.js} +33 -164
- package/dist/chunk-C3L3TBBT.js.map +1 -0
- package/dist/chunk-CTCFYWJC.js +407 -0
- package/dist/chunk-CTCFYWJC.js.map +1 -0
- package/dist/chunk-ESBL3IPF.js +23 -0
- package/dist/chunk-ESBL3IPF.js.map +1 -0
- package/dist/chunk-IJTHFNNJ.js +261 -0
- package/dist/chunk-IJTHFNNJ.js.map +1 -0
- package/dist/chunk-JP7PNHLH.js +40 -0
- package/dist/chunk-JP7PNHLH.js.map +1 -0
- package/dist/chunk-KPNAW5MU.js +229 -0
- package/dist/chunk-KPNAW5MU.js.map +1 -0
- package/dist/chunk-L37JJ6MR.js +152 -0
- package/dist/chunk-L37JJ6MR.js.map +1 -0
- package/dist/chunk-Q7NWXLCT.js +90 -0
- package/dist/chunk-Q7NWXLCT.js.map +1 -0
- package/dist/chunk-SYIEF644.js +1016 -0
- package/dist/chunk-SYIEF644.js.map +1 -0
- package/dist/chunk-VMFSRV5H.js +16 -0
- package/dist/chunk-VMFSRV5H.js.map +1 -0
- package/dist/chunk-VPPM7UUQ.js +47 -0
- package/dist/chunk-VPPM7UUQ.js.map +1 -0
- package/dist/chunk-XV3UUOYF.js +845 -0
- package/dist/chunk-XV3UUOYF.js.map +1 -0
- package/dist/editors.d.ts +53 -5
- package/dist/editors.js +85 -2097
- package/dist/editors.js.map +1 -1
- package/dist/icons.d.ts +29 -8
- package/dist/icons.js +2 -361
- package/dist/icons.js.map +1 -1
- package/dist/index.d.ts +735 -426
- package/dist/index.js +5029 -13796
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.js +41 -3426
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.js +8 -1129
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.js +97 -9240
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing.js +5 -357
- package/dist/testing.js.map +1 -1
- package/package.json +29 -74
- package/src/styles.css +60 -3
- package/src/theme.css +1 -0
- package/dist/charts.cjs +0 -268
- package/dist/charts.cjs.map +0 -1
- package/dist/charts.d.cts +0 -181
- package/dist/constants-D3gaMY-W.d.cts +0 -39
- package/dist/editors.cjs +0 -2456
- package/dist/editors.cjs.map +0 -1
- package/dist/editors.d.cts +0 -141
- package/dist/icons.cjs +0 -23888
- package/dist/icons.cjs.map +0 -1
- package/dist/icons.d.cts +0 -20
- package/dist/index.cjs +0 -24817
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -10413
- package/dist/markdown-editor.cjs +0 -4636
- package/dist/markdown-editor.cjs.map +0 -1
- package/dist/markdown-editor.d.cts +0 -75
- package/dist/mermaid.cjs +0 -1138
- package/dist/mermaid.cjs.map +0 -1
- package/dist/mermaid.d.cts +0 -15
- package/dist/rjsf.cjs.map +0 -1
- package/dist/rjsf.d.cts +0 -55
- package/dist/testing.cjs.map +0 -1
- package/dist/testing.d.cts +0 -25
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ComponentProps, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, ComponentRef,
|
|
3
|
+
import { ComponentProps, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, CSSProperties, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, ComponentRef, TransitionEventHandler, Dispatch, SetStateAction, MutableRefObject, RefCallback } from 'react';
|
|
4
4
|
import * as class_variance_authority from 'class-variance-authority';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -40,11 +40,12 @@ import { Brand } from '@keboola/brand-registry';
|
|
|
40
40
|
export { Brand, brandSchema, exampleCustomer, keboola, keboolaLegacySidebar, keboolaLegacyTopnav } from '@keboola/brand-registry';
|
|
41
41
|
import { OTPInput } from 'input-otp';
|
|
42
42
|
export { SlotProps as OtpInputRenderSlotProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from 'input-otp';
|
|
43
|
-
import {
|
|
43
|
+
import { DropzoneState } from 'react-dropzone';
|
|
44
44
|
import * as _radix_ui_react_collapsible from '@radix-ui/react-collapsible';
|
|
45
45
|
import { Root as Root$9 } from '@radix-ui/react-collapsible';
|
|
46
46
|
import { Action, ExternalToast, Toaster as Toaster$1 } from 'sonner';
|
|
47
47
|
import { Root as Root$a } from '@radix-ui/react-progress';
|
|
48
|
+
import { LucideIcon } from 'lucide-react';
|
|
48
49
|
import { Separator as Separator$1, Group as Group$1 } from 'react-resizable-panels';
|
|
49
50
|
export { PanelImperativeHandle, Panel as ResizablePanel, useDefaultLayout } from 'react-resizable-panels';
|
|
50
51
|
import * as RSeparator from '@radix-ui/react-separator';
|
|
@@ -56,15 +57,15 @@ import { AnyFormApi } from '@tanstack/react-form';
|
|
|
56
57
|
import { ClassValue } from 'clsx';
|
|
57
58
|
export { Slot } from '@radix-ui/react-slot';
|
|
58
59
|
|
|
59
|
-
declare const variants$
|
|
60
|
+
declare const variants$3: (props?: ({
|
|
60
61
|
block?: boolean | null | undefined;
|
|
61
62
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
62
|
-
size?: "
|
|
63
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
63
64
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
64
65
|
declare const argoVariants: (props?: ({
|
|
65
66
|
block?: boolean | null | undefined;
|
|
66
67
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
67
|
-
size?: "
|
|
68
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
68
69
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69
70
|
|
|
70
71
|
/**
|
|
@@ -74,12 +75,12 @@ declare const argoVariants: (props?: ({
|
|
|
74
75
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
75
76
|
* composed as children — `<Button><Trash2 className="tw:size-4" /> Delete</Button>`.
|
|
76
77
|
*/
|
|
77
|
-
type Props$
|
|
78
|
+
type Props$1U = {
|
|
78
79
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
79
80
|
isLoading?: boolean;
|
|
80
81
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
81
82
|
asChild?: boolean;
|
|
82
|
-
} & ComponentProps<'button'> & VariantProps<typeof variants$
|
|
83
|
+
} & ComponentProps<'button'> & VariantProps<typeof variants$3>;
|
|
83
84
|
/**
|
|
84
85
|
* Primary action surface for the design system — covers all clickable controls except inline text links.
|
|
85
86
|
*
|
|
@@ -93,31 +94,31 @@ type Props$1S = {
|
|
|
93
94
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
94
95
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
95
96
|
*/
|
|
96
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
97
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$1U) => react_jsx_runtime.JSX.Element;
|
|
97
98
|
|
|
98
99
|
declare const buttonInlineVariants: (props?: ({
|
|
99
|
-
color?: "
|
|
100
|
+
color?: "link" | "dark" | "muted" | "danger" | "custom" | null | undefined;
|
|
100
101
|
variant?: "link" | "custom" | "link-reverse" | null | undefined;
|
|
101
102
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
102
|
-
type Props$
|
|
103
|
+
type Props$1T = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
103
104
|
asChild?: boolean;
|
|
104
105
|
};
|
|
105
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
106
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$1T) => react_jsx_runtime.JSX.Element;
|
|
106
107
|
|
|
107
108
|
declare const buttonGroupVariant: (props?: ({
|
|
108
109
|
variant?: "inline" | "block" | null | undefined;
|
|
109
|
-
space?: "
|
|
110
|
+
space?: "small" | "medium" | "large" | "extra-small" | "little-small" | "compact" | null | undefined;
|
|
110
111
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
111
|
-
type Props$
|
|
112
|
+
type Props$1S = {
|
|
112
113
|
children: ReactNode;
|
|
113
114
|
className?: string;
|
|
114
115
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
115
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
116
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$1S) => react_jsx_runtime.JSX.Element;
|
|
116
117
|
|
|
117
118
|
type Variant$8 = ComponentProps<typeof Button>['variant'];
|
|
118
119
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
119
120
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
120
|
-
type Props$
|
|
121
|
+
type Props$1R = {
|
|
121
122
|
actions?: ReactNode;
|
|
122
123
|
isActionsOpen?: boolean;
|
|
123
124
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -126,7 +127,7 @@ type Props$1P = {
|
|
|
126
127
|
variant?: Exclude<Variant$8, 'inline' | 'invisible'>;
|
|
127
128
|
size?: SpitButtonSize;
|
|
128
129
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
129
|
-
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$
|
|
130
|
+
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$1R) => react_jsx_runtime.JSX.Element) & {
|
|
130
131
|
Action: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
131
132
|
asModalTrigger?: boolean;
|
|
132
133
|
icon?: ReactNode;
|
|
@@ -136,11 +137,11 @@ declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsO
|
|
|
136
137
|
Actions: react.ForwardRefExoticComponent<_radix_ui_react_dropdown_menu.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
137
138
|
};
|
|
138
139
|
|
|
139
|
-
type Props$
|
|
140
|
+
type Props$1Q = {
|
|
140
141
|
className?: string;
|
|
141
142
|
} & PropsWithChildren;
|
|
142
143
|
declare const MultiActionButtonGroup: {
|
|
143
|
-
({ children, className }: Props$
|
|
144
|
+
({ children, className }: Props$1Q): react_jsx_runtime.JSX.Element;
|
|
144
145
|
Button: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, "data-testid": dataTestId, }: {
|
|
145
146
|
disabled?: boolean;
|
|
146
147
|
icon: react.ReactNode;
|
|
@@ -155,19 +156,19 @@ declare const MultiActionButtonGroup: {
|
|
|
155
156
|
|
|
156
157
|
declare const toggleVariants: (props?: ({
|
|
157
158
|
variant?: "ai" | "ai-vivid" | "ghost" | null | undefined;
|
|
158
|
-
size?: "
|
|
159
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
159
160
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
160
161
|
iconOnly?: boolean | null | undefined;
|
|
161
162
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
162
|
-
type Props$
|
|
163
|
+
type Props$1P = {
|
|
163
164
|
icon?: ReactNode;
|
|
164
165
|
badge?: ReactNode;
|
|
165
166
|
orientation?: 'horizontal' | 'vertical';
|
|
166
167
|
} & ComponentProps<typeof Root> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly' | 'orientation'>;
|
|
167
|
-
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$
|
|
168
|
+
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$1P) => react_jsx_runtime.JSX.Element;
|
|
168
169
|
|
|
169
170
|
declare const rootVariants: (props?: ({
|
|
170
|
-
size?: "
|
|
171
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
171
172
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
172
173
|
type RootProps$8 = ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof rootVariants>;
|
|
173
174
|
type ItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
@@ -179,11 +180,11 @@ declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$8) =>
|
|
|
179
180
|
declare const tooltipVariants: (props?: ({
|
|
180
181
|
variant?: "action" | "explanatory" | null | undefined;
|
|
181
182
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
182
|
-
type Props$
|
|
183
|
+
type Props$1O = {
|
|
183
184
|
keepOpenOnPointerDownOutside?: boolean;
|
|
184
185
|
placement?: ComponentProps<typeof Content>['side'];
|
|
185
186
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
186
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
187
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$1O) => react_jsx_runtime.JSX.Element;
|
|
187
188
|
|
|
188
189
|
type TriggerProps$1 = {
|
|
189
190
|
triggerAsChild?: boolean;
|
|
@@ -192,7 +193,7 @@ type TriggerProps$1 = {
|
|
|
192
193
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
193
194
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
194
195
|
*/
|
|
195
|
-
type Props$
|
|
196
|
+
type Props$1N = {
|
|
196
197
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
197
198
|
keepOpenOnTriggerClick?: boolean;
|
|
198
199
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -224,7 +225,7 @@ declare const TooltipProvider: react.FC<_radix_ui_react_tooltip.TooltipProviderP
|
|
|
224
225
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
225
226
|
*/
|
|
226
227
|
declare const Tooltip: {
|
|
227
|
-
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild, }: Props$
|
|
228
|
+
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild, }: Props$1N): react_jsx_runtime.JSX.Element;
|
|
228
229
|
Root: ({ children, delayDuration, ...rest }: _radix_ui_react_tooltip.TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
229
230
|
Content: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: {
|
|
230
231
|
keepOpenOnPointerDownOutside?: boolean;
|
|
@@ -237,35 +238,35 @@ declare const Tooltip: {
|
|
|
237
238
|
} & _radix_ui_react_tooltip.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
238
239
|
};
|
|
239
240
|
|
|
240
|
-
type Props$
|
|
241
|
-
tooltip?: Props$
|
|
242
|
-
tooltipPlacement?: Props$
|
|
243
|
-
tooltipVariant?: Props$
|
|
244
|
-
asChild?: Props$
|
|
241
|
+
type Props$1M = {
|
|
242
|
+
tooltip?: Props$1N['tooltip'];
|
|
243
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
244
|
+
tooltipVariant?: Props$1N['variant'];
|
|
245
|
+
asChild?: Props$1N['triggerAsChild'];
|
|
245
246
|
text?: string | (() => string);
|
|
246
247
|
} & ComponentProps<'button'>;
|
|
247
|
-
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$1M) => react_jsx_runtime.JSX.Element;
|
|
248
249
|
|
|
249
250
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
250
251
|
type ButtonProps$2 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
251
|
-
type Props$
|
|
252
|
+
type Props$1L = ClipboardProps$1 & ButtonProps$2 & {
|
|
252
253
|
icon?: ReactNode;
|
|
253
254
|
};
|
|
254
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
255
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$1L) => react_jsx_runtime.JSX.Element;
|
|
255
256
|
|
|
256
257
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
257
258
|
type ButtonProps$1 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
258
|
-
type Props$
|
|
259
|
+
type Props$1K = {
|
|
259
260
|
hideIcon?: boolean;
|
|
260
261
|
} & ClipboardProps & ButtonProps$1;
|
|
261
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
262
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$1K) => react_jsx_runtime.JSX.Element;
|
|
262
263
|
|
|
263
264
|
type ExportMenuItem = {
|
|
264
265
|
/** Menu label, e.g. "Download as CSV". */
|
|
265
266
|
label: string;
|
|
266
267
|
onSelect: () => void;
|
|
267
268
|
};
|
|
268
|
-
type Props$
|
|
269
|
+
type Props$1J = {
|
|
269
270
|
items: ExportMenuItem[];
|
|
270
271
|
/** Accessible name + tooltip for the trigger, e.g. "Export table". */
|
|
271
272
|
label: string;
|
|
@@ -275,18 +276,13 @@ type Props$1H = {
|
|
|
275
276
|
* Download-icon trigger with a menu of export formats.
|
|
276
277
|
*
|
|
277
278
|
* Lives in the root barrel rather than inside `ZoomableSvg` on purpose: that
|
|
278
|
-
* component ships
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* entry, so a consumer whose neighbouring toolbar buttons come from a lazy
|
|
284
|
-
* subpath (`ZoomableSvg` via `@keboola/design/mermaid`, which sees the argo
|
|
285
|
-
* default) would otherwise place a legacy-styled trigger beside argo-styled
|
|
286
|
-
* siblings — different border, background and icon colour from the same
|
|
287
|
-
* `variant="outline"`.
|
|
279
|
+
* component ships behind the lazy `@keboola/design/mermaid` boundary, and Radix's
|
|
280
|
+
* menu is not in that chunk closure — importing it there would pull ~11 kB
|
|
281
|
+
* brotlied of chunk-mates (`DropdownMenu` travels with `ButtonGroup` and `toast`,
|
|
282
|
+
* which in turn pulls `ScrollArea`) plus two more external deps behind the lazy
|
|
283
|
+
* boundary. Callers already paying for the barrel inject this instead.
|
|
288
284
|
*/
|
|
289
|
-
declare const ExportMenu: ({ items, label, size }: Props$
|
|
285
|
+
declare const ExportMenu: ({ items, label, size }: Props$1J) => react_jsx_runtime.JSX.Element;
|
|
290
286
|
|
|
291
287
|
/**
|
|
292
288
|
* Compound component for readonly value/command boxes with inline copy.
|
|
@@ -398,11 +394,11 @@ declare const LABELS$1: {
|
|
|
398
394
|
readonly signup: "Sign up with Microsoft";
|
|
399
395
|
readonly continue: "Continue with Microsoft";
|
|
400
396
|
};
|
|
401
|
-
type Props$
|
|
397
|
+
type Props$1I = ComponentPropsWithRef<'button'> & {
|
|
402
398
|
label?: keyof typeof LABELS$1;
|
|
403
399
|
isLoading?: boolean;
|
|
404
400
|
};
|
|
405
|
-
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
401
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1I) => react_jsx_runtime.JSX.Element;
|
|
406
402
|
|
|
407
403
|
declare const LABELS: {
|
|
408
404
|
readonly signin: "Sign in with Google";
|
|
@@ -410,19 +406,19 @@ declare const LABELS: {
|
|
|
410
406
|
readonly continue: "Continue with Google";
|
|
411
407
|
readonly 'signin-short': "Sign in";
|
|
412
408
|
};
|
|
413
|
-
declare const variants$
|
|
409
|
+
declare const variants$2: (props?: ({
|
|
414
410
|
variant?: "default" | "neutral" | null | undefined;
|
|
415
411
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
416
412
|
size?: "icon" | "default" | null | undefined;
|
|
417
413
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
418
|
-
type Props$
|
|
414
|
+
type Props$1H = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$2> & {
|
|
419
415
|
label?: keyof typeof LABELS;
|
|
420
416
|
isLoading?: boolean;
|
|
421
417
|
};
|
|
422
|
-
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
418
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1H) => react_jsx_runtime.JSX.Element;
|
|
423
419
|
|
|
424
|
-
type Props$
|
|
425
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
420
|
+
type Props$1G = ComponentProps<'a'>;
|
|
421
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1G) => react_jsx_runtime.JSX.Element;
|
|
426
422
|
|
|
427
423
|
/**
|
|
428
424
|
* AlertModal status variants. Mirrors `Alert`'s set but exposes `danger` (not `error`) since an
|
|
@@ -432,25 +428,28 @@ type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
|
432
428
|
|
|
433
429
|
type ConfirmHandler = (event: MouseEvent$1<HTMLButtonElement>) => void | Promise<unknown>;
|
|
434
430
|
type CancelHandler = (event: MouseEvent$1<HTMLButtonElement>) => void;
|
|
435
|
-
type Props$
|
|
431
|
+
type Props$1F = {
|
|
436
432
|
onConfirm?: ConfirmHandler;
|
|
437
433
|
onCancel?: CancelHandler;
|
|
438
434
|
skipAsyncWait?: boolean;
|
|
435
|
+
/** Marks the confirm action busy from the outside, on top of the state inferred from a thenable `onConfirm`. */
|
|
436
|
+
isLoading?: boolean;
|
|
439
437
|
} & ComponentProps<typeof Root$1>;
|
|
440
438
|
declare const AlertModal: {
|
|
441
|
-
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
439
|
+
({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$1F): react_jsx_runtime.JSX.Element;
|
|
442
440
|
Trigger: ({ ref, onClick, onKeyDown, ...props }: _radix_ui_react_alert_dialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
443
|
-
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, container, className, children, onEscapeKeyDown, ...props }: {
|
|
441
|
+
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: {
|
|
444
442
|
variant?: AlertModalVariant;
|
|
445
443
|
icon?: react.ReactNode;
|
|
446
444
|
title?: react.ReactNode;
|
|
447
445
|
cancelLabel?: react.ReactNode;
|
|
448
446
|
confirmLabel?: react.ReactNode;
|
|
447
|
+
confirmDisabled?: boolean;
|
|
449
448
|
container?: ComponentProps<react.FC<_radix_ui_react_alert_dialog.AlertDialogPortalProps>>["container"];
|
|
450
449
|
} & Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "title">) => react_jsx_runtime.JSX.Element;
|
|
451
450
|
};
|
|
452
451
|
|
|
453
|
-
type Props$
|
|
452
|
+
type Props$1E = ComponentProps<typeof Root$2>;
|
|
454
453
|
/**
|
|
455
454
|
* Blocking dialog for confirmations, forms, and detail views. Built on Radix Dialog.
|
|
456
455
|
*
|
|
@@ -466,7 +465,7 @@ type Props$1C = ComponentProps<typeof Root$2>;
|
|
|
466
465
|
* @see RECIPES.md#confirm-dialog — for destructive-confirm dialogs
|
|
467
466
|
*/
|
|
468
467
|
declare const Modal: {
|
|
469
|
-
(props: Props$
|
|
468
|
+
(props: Props$1E): react_jsx_runtime.JSX.Element;
|
|
470
469
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
471
470
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
472
471
|
Content: ({ size, className, children, onEscapeKeyDown, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -517,7 +516,7 @@ declare const FullScreenModal: (({ children, className, lockBodyScroll, onEscape
|
|
|
517
516
|
}) => react_jsx_runtime.JSX.Element;
|
|
518
517
|
};
|
|
519
518
|
|
|
520
|
-
type Props$
|
|
519
|
+
type Props$1D = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
521
520
|
title: ReactNode;
|
|
522
521
|
titleClassName?: string;
|
|
523
522
|
titleWrapperClassName?: string;
|
|
@@ -526,16 +525,16 @@ type Props$1B = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
526
525
|
onClose?: () => void;
|
|
527
526
|
showPreviousTitle?: boolean;
|
|
528
527
|
}>;
|
|
529
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
528
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$1D) => react_jsx_runtime.JSX.Element;
|
|
530
529
|
|
|
531
|
-
type Props$
|
|
532
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
530
|
+
type Props$1C = HTMLAttributes<HTMLDivElement>;
|
|
531
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$1C & {
|
|
533
532
|
ref?: Ref<HTMLDivElement>;
|
|
534
533
|
}) => react_jsx_runtime.JSX.Element;
|
|
535
534
|
|
|
536
|
-
type Props$
|
|
535
|
+
type Props$1B = ComponentProps<typeof Root$2>;
|
|
537
536
|
declare const Sheet: {
|
|
538
|
-
(props: Props$
|
|
537
|
+
(props: Props$1B): react_jsx_runtime.JSX.Element;
|
|
539
538
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
540
539
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
541
540
|
Content: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -558,9 +557,9 @@ declare const Sheet: {
|
|
|
558
557
|
Body: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
559
558
|
};
|
|
560
559
|
|
|
561
|
-
type Props$
|
|
560
|
+
type Props$1A = ComponentProps<typeof Root$3>;
|
|
562
561
|
declare const Popover: {
|
|
563
|
-
(props: Props$
|
|
562
|
+
(props: Props$1A): react_jsx_runtime.JSX.Element;
|
|
564
563
|
/**
|
|
565
564
|
* Main Layout
|
|
566
565
|
*/
|
|
@@ -580,12 +579,12 @@ type PopconfirmContextType = {
|
|
|
580
579
|
isLoading: boolean;
|
|
581
580
|
};
|
|
582
581
|
|
|
583
|
-
type Props$
|
|
582
|
+
type Props$1z = {
|
|
584
583
|
children: ReactNode;
|
|
585
584
|
skipAsyncWait?: boolean;
|
|
586
585
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
587
586
|
declare const Popconfirm: {
|
|
588
|
-
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
587
|
+
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$1z): react_jsx_runtime.JSX.Element;
|
|
589
588
|
Confirm: ({ ref, onClick, children, asChild, className, ...props }: ({
|
|
590
589
|
asChild: true;
|
|
591
590
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
@@ -597,7 +596,7 @@ declare const Popconfirm: {
|
|
|
597
596
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
598
597
|
block?: boolean | null | undefined;
|
|
599
598
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
600
|
-
size?: "
|
|
599
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
601
600
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "children" | "isLoading">)) => react_jsx_runtime.JSX.Element;
|
|
602
601
|
Cancel: ({ ref, onClick, children, asChild, className, ...props }: ({
|
|
603
602
|
asChild: true;
|
|
@@ -610,7 +609,7 @@ declare const Popconfirm: {
|
|
|
610
609
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
611
610
|
block?: boolean | null | undefined;
|
|
612
611
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
613
|
-
size?: "
|
|
612
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
614
613
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "children">)) => react_jsx_runtime.JSX.Element;
|
|
615
614
|
Footer: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
616
615
|
Content: ({ className, onInteractOutside, ...props }: {
|
|
@@ -618,11 +617,11 @@ declare const Popconfirm: {
|
|
|
618
617
|
translate?: "yes" | "no" | undefined | undefined;
|
|
619
618
|
color?: string | undefined | undefined;
|
|
620
619
|
prefix?: string | undefined | undefined;
|
|
621
|
-
id?: string | undefined | undefined;
|
|
622
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
623
620
|
slot?: string | undefined | undefined;
|
|
624
621
|
style?: react.CSSProperties | undefined;
|
|
625
622
|
title?: string | undefined | undefined;
|
|
623
|
+
id?: string | undefined | undefined;
|
|
624
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
626
625
|
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
627
626
|
key?: react.Key | null | undefined;
|
|
628
627
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -930,16 +929,16 @@ declare const Popconfirm: {
|
|
|
930
929
|
Trigger: ({ onClick, ...props }: _radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
931
930
|
};
|
|
932
931
|
|
|
933
|
-
type Props$
|
|
932
|
+
type Props$1y = ComponentProps<typeof Root$4>;
|
|
934
933
|
declare const HoverCard: {
|
|
935
|
-
({ openDelay, closeDelay, ...rest }: Props$
|
|
934
|
+
({ openDelay, closeDelay, ...rest }: Props$1y): react_jsx_runtime.JSX.Element;
|
|
936
935
|
Content: ({ ref, className, align, sideOffset, children, ...props }: _radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
937
936
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
938
937
|
};
|
|
939
938
|
|
|
940
|
-
type Props$
|
|
939
|
+
type Props$1x = ComponentProps<typeof Root$5>;
|
|
941
940
|
declare const DropdownMenu: {
|
|
942
|
-
({ modal, ...props }: Props$
|
|
941
|
+
({ modal, ...props }: Props$1x): react_jsx_runtime.JSX.Element;
|
|
943
942
|
/**
|
|
944
943
|
* Main Layout
|
|
945
944
|
*/
|
|
@@ -991,14 +990,14 @@ declare const DropdownMenu: {
|
|
|
991
990
|
}) => react_jsx_runtime.JSX.Element;
|
|
992
991
|
};
|
|
993
992
|
|
|
994
|
-
type Props$
|
|
993
|
+
type Props$1w = {
|
|
995
994
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
996
995
|
};
|
|
997
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
996
|
+
declare const CheckIndicator: ({ variant }: Props$1w) => react_jsx_runtime.JSX.Element | null;
|
|
998
997
|
|
|
999
|
-
type Props$
|
|
998
|
+
type Props$1v = ComponentProps<typeof Command$1>;
|
|
1000
999
|
declare const Command: {
|
|
1001
|
-
({ className, ...rest }: Props$
|
|
1000
|
+
({ className, ...rest }: Props$1v): react_jsx_runtime.JSX.Element;
|
|
1002
1001
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1003
1002
|
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1004
1003
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1041,7 +1040,7 @@ declare const Command: {
|
|
|
1041
1040
|
Input: ({ ref, className, ...props }: {
|
|
1042
1041
|
variant?: "primary" | "secondary" | null | undefined;
|
|
1043
1042
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1044
|
-
sizing?: "
|
|
1043
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1045
1044
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1046
1045
|
} & {
|
|
1047
1046
|
prefix?: react.ReactNode;
|
|
@@ -1080,21 +1079,21 @@ declare const Command: {
|
|
|
1080
1079
|
declare const addonVariants$1: (props?: ({
|
|
1081
1080
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
1082
1081
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1083
|
-
type Props$
|
|
1084
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
1082
|
+
type Props$1u = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1083
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1u) => react_jsx_runtime.JSX.Element;
|
|
1085
1084
|
|
|
1086
1085
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
1087
|
-
type Props$
|
|
1088
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
1086
|
+
type Props$1t = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
1087
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$1t) => react_jsx_runtime.JSX.Element;
|
|
1089
1088
|
|
|
1090
|
-
type Props$
|
|
1091
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
1089
|
+
type Props$1s = ComponentProps<'input'>;
|
|
1090
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$1s) => react_jsx_runtime.JSX.Element;
|
|
1092
1091
|
|
|
1093
|
-
type Props$
|
|
1094
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
1092
|
+
type Props$1r = ComponentProps<'span'>;
|
|
1093
|
+
declare const InputGroupText: ({ className, ...props }: Props$1r) => react_jsx_runtime.JSX.Element;
|
|
1095
1094
|
|
|
1096
1095
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof react_textarea_autosize__default>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
1097
|
-
type Props$
|
|
1096
|
+
type Props$1q = TextareaNativeProps$1 & {
|
|
1098
1097
|
value?: string | null;
|
|
1099
1098
|
defaultValue?: string | null;
|
|
1100
1099
|
onValueChange?: (value: string) => void;
|
|
@@ -1102,18 +1101,18 @@ type Props$1o = TextareaNativeProps$1 & {
|
|
|
1102
1101
|
maxRows?: number | 'unlimited';
|
|
1103
1102
|
disableResize?: boolean;
|
|
1104
1103
|
};
|
|
1105
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
1104
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$1q) => react_jsx_runtime.JSX.Element;
|
|
1106
1105
|
|
|
1107
1106
|
declare const inputGroupVariants: (props?: ({
|
|
1108
1107
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1109
1108
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1110
|
-
sizing?: "
|
|
1109
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1111
1110
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1112
1111
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1113
|
-
type Props$
|
|
1112
|
+
type Props$1p = ComponentPropsWithRef<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
1114
1113
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
1115
1114
|
};
|
|
1116
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1115
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$1p) => react_jsx_runtime.JSX.Element;
|
|
1117
1116
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
1118
1117
|
Input: typeof InputGroupInput;
|
|
1119
1118
|
Addon: typeof InputGroupAddon;
|
|
@@ -1145,7 +1144,7 @@ type OwnProps = {
|
|
|
1145
1144
|
* `value` / `defaultValue` plus convenience `onValueChange` / `onValueBlur` callbacks. `null` /
|
|
1146
1145
|
* `undefined` are coerced to empty strings.
|
|
1147
1146
|
*/
|
|
1148
|
-
type Props$
|
|
1147
|
+
type Props$1o = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue' | 'type' | 'accept' | 'step'>;
|
|
1149
1148
|
/**
|
|
1150
1149
|
* Standard text input with a string-only API, built on `InputGroup` chrome — addons, clear button,
|
|
1151
1150
|
* sizing, focus variants. The default choice for a bare text input.
|
|
@@ -1158,34 +1157,34 @@ type Props$1m = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'pr
|
|
|
1158
1157
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1159
1158
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1160
1159
|
*/
|
|
1161
|
-
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$
|
|
1160
|
+
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$1o) => react_jsx_runtime.JSX.Element;
|
|
1162
1161
|
|
|
1163
|
-
type Props$
|
|
1164
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1162
|
+
type Props$1n = ComponentProps<typeof TextInput>;
|
|
1163
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$1n) => react_jsx_runtime.JSX.Element;
|
|
1165
1164
|
|
|
1166
|
-
type Props$
|
|
1165
|
+
type Props$1m = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1167
1166
|
viewPortClassName?: string;
|
|
1168
1167
|
scrollBarClassName?: string;
|
|
1169
1168
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1170
1169
|
};
|
|
1171
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1170
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$1m) => react_jsx_runtime.JSX.Element;
|
|
1172
1171
|
|
|
1173
|
-
type Props$
|
|
1174
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1172
|
+
type Props$1l = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1173
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$1l) => react_jsx_runtime.JSX.Element;
|
|
1175
1174
|
|
|
1176
|
-
type Props$
|
|
1177
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1175
|
+
type Props$1k = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1176
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$1k) => react_jsx_runtime.JSX.Element;
|
|
1178
1177
|
|
|
1179
|
-
type Props$
|
|
1180
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
1178
|
+
type Props$1j = ComponentProps<typeof Command$1.Group>;
|
|
1179
|
+
declare const CommandGroup: ({ className, ...props }: Props$1j) => react_jsx_runtime.JSX.Element;
|
|
1181
1180
|
|
|
1182
|
-
type Props$
|
|
1181
|
+
type Props$1i = ComponentProps<typeof Command$1.Item> & {
|
|
1183
1182
|
icon?: ReactNode;
|
|
1184
1183
|
checked?: boolean;
|
|
1185
1184
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1186
1185
|
actions?: ReactNode;
|
|
1187
1186
|
};
|
|
1188
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1187
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$1i) => react_jsx_runtime.JSX.Element;
|
|
1189
1188
|
|
|
1190
1189
|
/** Viewport-relative box of the highlighted target. */
|
|
1191
1190
|
type TargetRect = {
|
|
@@ -1205,7 +1204,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1205
1204
|
*/
|
|
1206
1205
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1207
1206
|
|
|
1208
|
-
type Props$
|
|
1207
|
+
type Props$1h = {
|
|
1209
1208
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1210
1209
|
rect: TargetRect | null;
|
|
1211
1210
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1227,7 +1226,7 @@ type Props$1f = {
|
|
|
1227
1226
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1228
1227
|
* "Guided tour (recipe)" story for the composition.
|
|
1229
1228
|
*/
|
|
1230
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1229
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$1h) => react_jsx_runtime.JSX.Element;
|
|
1231
1230
|
|
|
1232
1231
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
1233
1232
|
declare const Calendar: {
|
|
@@ -1242,49 +1241,87 @@ declare const DatePicker: {
|
|
|
1242
1241
|
displayName: string;
|
|
1243
1242
|
};
|
|
1244
1243
|
|
|
1244
|
+
/**
|
|
1245
|
+
* Chrome for a control that looks like an input but opens an overlay on click. Shared by
|
|
1246
|
+
* `SelectTrigger` and `DateRangePicker`'s trigger so both sit at the same height and colour when
|
|
1247
|
+
* they stand next to each other in a filter row.
|
|
1248
|
+
*/
|
|
1249
|
+
declare const overlayTriggerVariants: (props?: ({
|
|
1250
|
+
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1251
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1252
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
1253
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1254
|
+
|
|
1245
1255
|
type DateRange = {
|
|
1246
1256
|
from: Date;
|
|
1247
1257
|
to?: Date;
|
|
1248
1258
|
};
|
|
1249
1259
|
type DateRangePreset = {
|
|
1250
1260
|
label: string;
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1261
|
+
/**
|
|
1262
|
+
* The range the preset stands for. A preset may omit it and carry `value` instead — or neither,
|
|
1263
|
+
* for a clear-the-range preset ("All time"): without `onPresetSelect`, picking one calls
|
|
1264
|
+
* `onChange(undefined)`.
|
|
1265
|
+
*/
|
|
1266
|
+
range?: DateRange;
|
|
1267
|
+
/**
|
|
1268
|
+
* Echoed back through `onPresetSelect` instead of `range`. For consumers whose stored form of a
|
|
1269
|
+
* range is not two dates: a relative token the server resolves per request, such as `-7 days`.
|
|
1270
|
+
*/
|
|
1271
|
+
value?: string;
|
|
1255
1272
|
};
|
|
1256
1273
|
type DateRangePickerProps = {
|
|
1257
1274
|
value: DateRange | undefined;
|
|
1258
1275
|
onChange: (range: DateRange | undefined) => void;
|
|
1276
|
+
/**
|
|
1277
|
+
* Replaces the formatted range on the trigger entirely — the name of the active preset. For a
|
|
1278
|
+
* range in the app's own date style, prefer `formatDate`, which keeps the from → to join here.
|
|
1279
|
+
*/
|
|
1280
|
+
label?: ReactNode;
|
|
1281
|
+
/**
|
|
1282
|
+
* Formats one end of the range on the trigger, replacing the built-in ISO format (which is
|
|
1283
|
+
* unambiguous but matches no app in particular, including the `withTime` time-of-day part).
|
|
1284
|
+
* The from → to join stays with the component.
|
|
1285
|
+
*/
|
|
1286
|
+
formatDate?: (date: Date) => string;
|
|
1259
1287
|
placeholder?: string;
|
|
1260
|
-
presets?: DateRangePreset[];
|
|
1288
|
+
presets?: readonly DateRangePreset[];
|
|
1289
|
+
/** Called instead of `onChange` when a preset is picked, with the preset itself. */
|
|
1290
|
+
onPresetSelect?: (preset: DateRangePreset) => void;
|
|
1291
|
+
/** Adds a start/end time-of-day row; the emitted `from` / `to` then carry hours and minutes. */
|
|
1292
|
+
withTime?: boolean;
|
|
1293
|
+
/** Hold edits in a draft and emit only on Apply, so one range costs one `onChange`. */
|
|
1294
|
+
requireApply?: boolean;
|
|
1295
|
+
/** Days that cannot be picked, as a react-day-picker matcher — e.g. `{ after: new Date() }`. */
|
|
1296
|
+
disabledDays?: Matcher | Matcher[];
|
|
1297
|
+
variant?: Exclude<VariantProps<typeof overlayTriggerVariants>['variant'], 'argo'>;
|
|
1261
1298
|
disabled?: boolean;
|
|
1262
1299
|
className?: string;
|
|
1263
|
-
}
|
|
1300
|
+
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1264
1301
|
/**
|
|
1265
|
-
* Range-mode date picker — Popover + Calendar in
|
|
1266
|
-
*
|
|
1267
|
-
* pair; for a single date use `DatePicker`.
|
|
1302
|
+
* Range-mode date picker — `Popover` + `Calendar` in range mode, with an optional preset sidebar,
|
|
1303
|
+
* a time-of-day row (`withTime`) and an explicit Apply step (`requireApply`). Use for selecting a
|
|
1304
|
+
* `{ from, to }` pair; for a single date use `DatePicker`.
|
|
1268
1305
|
*/
|
|
1269
1306
|
declare const DateRangePicker: {
|
|
1270
|
-
({
|
|
1307
|
+
({ align, alignOffset, className, defaultOpen, disabled, disabledDays, formatDate, label, onChange, onOpenChange, onPresetSelect, open, placeholder, presets, requireApply, sideOffset, value, variant, withTime, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
1271
1308
|
displayName: string;
|
|
1272
1309
|
};
|
|
1273
1310
|
|
|
1274
|
-
type Props$
|
|
1311
|
+
type Props$1g = {
|
|
1275
1312
|
children?: ReactNode;
|
|
1276
1313
|
defaultSelected?: string | null;
|
|
1277
1314
|
selected?: string | null;
|
|
1278
1315
|
onSelect?: (time: string) => void;
|
|
1279
1316
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1280
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$
|
|
1317
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$1g) => react_jsx_runtime.JSX.Element;
|
|
1281
1318
|
|
|
1282
|
-
type Props$
|
|
1319
|
+
type Props$1f = {
|
|
1283
1320
|
id?: string | number;
|
|
1284
1321
|
htmlFor?: string | number;
|
|
1285
1322
|
} & Omit<LabelProps$1, 'id' | 'htmlFor'>;
|
|
1286
1323
|
declare const Label: {
|
|
1287
|
-
({ className, children, id, htmlFor, ...rest }: Props$
|
|
1324
|
+
({ className, children, id, htmlFor, ...rest }: Props$1f): react_jsx_runtime.JSX.Element;
|
|
1288
1325
|
Optional: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1289
1326
|
Required: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1290
1327
|
};
|
|
@@ -1295,22 +1332,22 @@ declare const fieldBoxVariants: (props?: ({
|
|
|
1295
1332
|
|
|
1296
1333
|
declare const switchVariants: (props?: ({
|
|
1297
1334
|
variant?: "default" | "argo" | null | undefined;
|
|
1298
|
-
size?: "
|
|
1335
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
1299
1336
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1300
1337
|
|
|
1301
|
-
type Props$
|
|
1338
|
+
type Props$1e = {
|
|
1302
1339
|
id?: string | number;
|
|
1303
1340
|
children?: ReactNode;
|
|
1304
1341
|
description?: ReactNode;
|
|
1305
1342
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1306
1343
|
position?: 'start' | 'end';
|
|
1307
1344
|
} & Omit<ComponentProps<typeof Root$6>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
1308
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
1345
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$1e) => react_jsx_runtime.JSX.Element;
|
|
1309
1346
|
|
|
1310
1347
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
1311
1348
|
type Orientation = 'vertical' | 'horizontal';
|
|
1312
1349
|
|
|
1313
|
-
type Props$
|
|
1350
|
+
type Props$1d<Value> = {
|
|
1314
1351
|
variant?: Variant$7;
|
|
1315
1352
|
orientation?: Orientation;
|
|
1316
1353
|
onValueChange?: (value: Value) => void;
|
|
@@ -1318,18 +1355,18 @@ type Props$1b<Value> = {
|
|
|
1318
1355
|
defaultValue?: Value | null;
|
|
1319
1356
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1320
1357
|
declare const RadioGroup: {
|
|
1321
|
-
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
1322
|
-
Item: <T extends string = string>({ children, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1358
|
+
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$1d<Value>): react_jsx_runtime.JSX.Element;
|
|
1359
|
+
Item: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1323
1360
|
content?: string | undefined | undefined;
|
|
1324
1361
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1325
1362
|
color?: string | undefined | undefined;
|
|
1326
1363
|
prefix?: string | undefined | undefined;
|
|
1327
|
-
id?: string | undefined | undefined;
|
|
1328
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1329
1364
|
form?: string | undefined | undefined;
|
|
1330
1365
|
slot?: string | undefined | undefined;
|
|
1331
1366
|
style?: react.CSSProperties | undefined;
|
|
1332
1367
|
title?: string | undefined | undefined;
|
|
1368
|
+
id?: string | undefined | undefined;
|
|
1369
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1333
1370
|
ref?: react.Ref<HTMLButtonElement> | undefined;
|
|
1334
1371
|
key?: react.Key | null | undefined;
|
|
1335
1372
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -1615,30 +1652,30 @@ declare const RadioGroup: {
|
|
|
1615
1652
|
} & {
|
|
1616
1653
|
value: T;
|
|
1617
1654
|
tooltip?: react.ReactNode;
|
|
1618
|
-
tooltipVariant?: Props$
|
|
1619
|
-
tooltipPlacement?: Props$
|
|
1655
|
+
tooltipVariant?: Props$1N["variant"];
|
|
1656
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
1620
1657
|
description?: react.ReactNode;
|
|
1621
1658
|
}) => react_jsx_runtime.JSX.Element;
|
|
1622
1659
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
1623
1660
|
};
|
|
1624
1661
|
|
|
1625
|
-
type Props$
|
|
1662
|
+
type Props$1c = ComponentProps<typeof Thumb> & {
|
|
1626
1663
|
tooltip?: ReactNode;
|
|
1627
1664
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
1628
1665
|
};
|
|
1629
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
1666
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$1c) => react_jsx_runtime.JSX.Element;
|
|
1630
1667
|
|
|
1631
1668
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
1632
|
-
type Props$
|
|
1669
|
+
type Props$1b = ComponentProps<typeof Root$7> & {
|
|
1633
1670
|
thumbTooltip?: ThumbTooltipFn;
|
|
1634
1671
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
1635
1672
|
rangeClassName?: string;
|
|
1636
1673
|
};
|
|
1637
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
1674
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$1b) => react_jsx_runtime.JSX.Element;
|
|
1638
1675
|
|
|
1639
1676
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent$1<HTMLButtonElement>) => void;
|
|
1640
1677
|
type SearchBlurEventHandler = (value: string, event: FocusEvent$1<HTMLInputElement, Element>) => void;
|
|
1641
|
-
type Props$
|
|
1678
|
+
type Props$1a = {
|
|
1642
1679
|
suffix?: ReactNode;
|
|
1643
1680
|
disableDebounce?: boolean;
|
|
1644
1681
|
debounceDelay?: number;
|
|
@@ -1653,12 +1690,12 @@ type Props$18 = {
|
|
|
1653
1690
|
/**
|
|
1654
1691
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
1655
1692
|
*/
|
|
1656
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
1693
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$1a) => react_jsx_runtime.JSX.Element;
|
|
1657
1694
|
|
|
1658
|
-
type Props$
|
|
1695
|
+
type Props$19 = {
|
|
1659
1696
|
onSubmit: (value: string) => void;
|
|
1660
1697
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
1661
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
1698
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$19) => react_jsx_runtime.JSX.Element;
|
|
1662
1699
|
|
|
1663
1700
|
type SelectRootProps = {
|
|
1664
1701
|
children?: ReactNode;
|
|
@@ -1676,15 +1713,10 @@ type SelectRootProps = {
|
|
|
1676
1713
|
onValueChange?(value: string): void;
|
|
1677
1714
|
};
|
|
1678
1715
|
|
|
1679
|
-
|
|
1680
|
-
variant?:
|
|
1681
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1682
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
1683
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1684
|
-
type Props$16 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof variants$2>, 'variant'> & {
|
|
1685
|
-
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'> | 'inline';
|
|
1716
|
+
type Props$18 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof overlayTriggerVariants>, 'variant'> & {
|
|
1717
|
+
variant?: Exclude<VariantProps<typeof overlayTriggerVariants>['variant'], 'argo'> | 'inline';
|
|
1686
1718
|
} & Pick<ComponentProps<typeof _radix_ui_react_select.Value>, 'placeholder'>;
|
|
1687
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
1719
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$18) => react_jsx_runtime.JSX.Element;
|
|
1688
1720
|
|
|
1689
1721
|
type SelectItem = {
|
|
1690
1722
|
value: string;
|
|
@@ -1697,7 +1729,7 @@ type SelectItemGroup = {
|
|
|
1697
1729
|
items: readonly SelectItem[];
|
|
1698
1730
|
};
|
|
1699
1731
|
type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
1700
|
-
type Props$
|
|
1732
|
+
type Props$17 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange' | 'dir' | 'autoComplete' | 'form'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required'> & {
|
|
1701
1733
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
1702
1734
|
};
|
|
1703
1735
|
/**
|
|
@@ -1711,18 +1743,14 @@ type Props$15 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange'
|
|
|
1711
1743
|
* `Select.Item`) for custom item layouts; the top-level `Select` covers the common cases.
|
|
1712
1744
|
*/
|
|
1713
1745
|
declare const Select: {
|
|
1714
|
-
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, dir, autoComplete, form, variant, state, sizing, placeholder, id, className, onBlur, "aria-describedby": ariaDescribedBy, "aria-invalid": ariaInvalid, "aria-required": ariaRequired, items, }: Props$
|
|
1746
|
+
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, dir, autoComplete, form, variant, state, sizing, placeholder, id, className, onBlur, "aria-describedby": ariaDescribedBy, "aria-invalid": ariaInvalid, "aria-required": ariaRequired, items, }: Props$17): react_jsx_runtime.JSX.Element;
|
|
1715
1747
|
Root: (props: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1716
1748
|
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: _radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
1717
1749
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1718
|
-
sizing?: "
|
|
1750
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1719
1751
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1720
1752
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
1721
|
-
variant?: Exclude<class_variance_authority.VariantProps<
|
|
1722
|
-
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1723
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1724
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
1725
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
1753
|
+
variant?: Exclude<class_variance_authority.VariantProps<typeof overlayTriggerVariants>["variant"], "argo"> | "inline";
|
|
1726
1754
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">) => react_jsx_runtime.JSX.Element;
|
|
1727
1755
|
Content: ({ ref, className, children, container, position, sideOffset, ...props }: _radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
1728
1756
|
container?: HTMLElement | null;
|
|
@@ -1735,45 +1763,45 @@ declare const Select: {
|
|
|
1735
1763
|
Separator: ({ className, ...props }: _radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1736
1764
|
};
|
|
1737
1765
|
|
|
1738
|
-
type Props$
|
|
1766
|
+
type Props$16 = {
|
|
1739
1767
|
id?: string | number;
|
|
1740
1768
|
description?: ReactNode;
|
|
1741
1769
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1742
1770
|
position?: 'start' | 'end';
|
|
1743
|
-
tooltip?: Props$
|
|
1744
|
-
tooltipPlacement?: Props$
|
|
1771
|
+
tooltip?: Props$1N['tooltip'];
|
|
1772
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
1745
1773
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
1746
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1774
|
+
declare function Checkbox(prop: Omit<Props$16, 'checked' | 'onCheckedChange'> & {
|
|
1747
1775
|
checked?: boolean;
|
|
1748
1776
|
onCheckedChange?: (checked: boolean) => void;
|
|
1749
1777
|
}): ReactNode;
|
|
1750
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1778
|
+
declare function Checkbox(prop: Omit<Props$16, 'checked' | 'onCheckedChange'> & {
|
|
1751
1779
|
checked?: CheckedState;
|
|
1752
1780
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
1753
1781
|
}): ReactNode;
|
|
1754
1782
|
|
|
1755
1783
|
type Variant$6 = 'check' | 'checkbox';
|
|
1756
|
-
type Props$
|
|
1784
|
+
type Props$15 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
1757
1785
|
className?: string;
|
|
1758
1786
|
variant?: Variant$6;
|
|
1759
1787
|
};
|
|
1760
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
1788
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$15) => react_jsx_runtime.JSX.Element;
|
|
1761
1789
|
|
|
1762
|
-
type Props$
|
|
1763
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
1790
|
+
type Props$14 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
1791
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$14) => react_jsx_runtime.JSX.Element;
|
|
1764
1792
|
|
|
1765
1793
|
type InputGroupProps$8 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
1766
|
-
type Props$
|
|
1794
|
+
type Props$13 = InputGroupProps$8 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
1767
1795
|
className?: string;
|
|
1768
1796
|
};
|
|
1769
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1797
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$13) => react_jsx_runtime.JSX.Element;
|
|
1770
1798
|
|
|
1771
|
-
type Props$
|
|
1799
|
+
type Props$12 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
1772
1800
|
className?: string;
|
|
1773
1801
|
icon?: ReactNode;
|
|
1774
1802
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
1775
1803
|
};
|
|
1776
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
1804
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$12) => react_jsx_runtime.JSX.Element;
|
|
1777
1805
|
|
|
1778
1806
|
type Group<Item = unknown> = {
|
|
1779
1807
|
items: readonly Item[];
|
|
@@ -1791,24 +1819,31 @@ type CreatableProps$1<Value> = {
|
|
|
1791
1819
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
1792
1820
|
queryToCreateValue?: (query: string) => Value;
|
|
1793
1821
|
};
|
|
1794
|
-
type Props
|
|
1822
|
+
type Props$11<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps$1<Value> & {
|
|
1795
1823
|
items?: readonly (Value | GroupShape)[];
|
|
1796
1824
|
allowClear?: boolean;
|
|
1797
1825
|
empty?: ReactNode;
|
|
1798
1826
|
indicator?: Indicator$1;
|
|
1799
1827
|
prefix?: ReactNode;
|
|
1828
|
+
/**
|
|
1829
|
+
* Window the list with a virtualizer so large option sets stay fast. Opt-in — defaults to
|
|
1830
|
+
* `false` to keep behavior unchanged for existing call sites (every option stays in the DOM).
|
|
1831
|
+
* Pass `'auto'` to virtualize only ungrouped lists longer than {@link VIRTUALIZE_THRESHOLD},
|
|
1832
|
+
* or `true` to force it. Grouped lists are never virtualized.
|
|
1833
|
+
*/
|
|
1834
|
+
virtualized?: boolean | 'auto';
|
|
1800
1835
|
itemToLabel?: (item: Value) => ReactNode;
|
|
1801
1836
|
itemToIcon?: (item: Value) => ReactNode;
|
|
1802
1837
|
itemToDisabled?: (item: Value) => boolean;
|
|
1803
1838
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
1804
1839
|
};
|
|
1805
1840
|
declare const Combobox: {
|
|
1806
|
-
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props
|
|
1841
|
+
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, virtualized, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$11<Value, GroupShape>): react_jsx_runtime.JSX.Element;
|
|
1807
1842
|
Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
|
|
1808
1843
|
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: {
|
|
1809
1844
|
variant?: "primary" | "secondary" | null | undefined;
|
|
1810
1845
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1811
|
-
sizing?: "
|
|
1846
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1812
1847
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1813
1848
|
} & Omit<Omit<_base_ui_react_combobox.ComboboxInputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className" | "render"> & {
|
|
1814
1849
|
className?: string;
|
|
@@ -1818,13 +1853,13 @@ declare const Combobox: {
|
|
|
1818
1853
|
size?: number | undefined | undefined;
|
|
1819
1854
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1820
1855
|
prefix?: string | undefined | undefined;
|
|
1821
|
-
id?: string | undefined | undefined;
|
|
1822
|
-
name?: string | undefined | undefined;
|
|
1823
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1824
1856
|
form?: string | undefined | undefined;
|
|
1825
1857
|
slot?: string | undefined | undefined;
|
|
1826
|
-
style?:
|
|
1858
|
+
style?: CSSProperties | ((state: _base_ui_react_combobox.ComboboxInputState) => React.CSSProperties | undefined) | undefined;
|
|
1827
1859
|
title?: string | undefined | undefined;
|
|
1860
|
+
id?: string | undefined | undefined;
|
|
1861
|
+
name?: string | undefined | undefined;
|
|
1862
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1828
1863
|
pattern?: string | undefined | undefined;
|
|
1829
1864
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
1830
1865
|
key?: react.Key | null | undefined;
|
|
@@ -2152,7 +2187,7 @@ declare const Combobox: {
|
|
|
2152
2187
|
Chips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, variant, }: {
|
|
2153
2188
|
maxVisible?: number;
|
|
2154
2189
|
itemToChipLabel?: ((item: Value) => ReactNode) | undefined;
|
|
2155
|
-
itemToChipColor?: ((item: Value) => "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "
|
|
2190
|
+
itemToChipColor?: ((item: Value) => "white" | "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | undefined) | undefined;
|
|
2156
2191
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2157
2192
|
}) => react_jsx_runtime.JSX.Element;
|
|
2158
2193
|
};
|
|
@@ -2173,7 +2208,7 @@ type CreatableProps<Value> = {
|
|
|
2173
2208
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
2174
2209
|
* the default substring matcher. Pass `allowCreate` to let the user add free-form values not in `items`.
|
|
2175
2210
|
*/
|
|
2176
|
-
type Props$
|
|
2211
|
+
type Props$10<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter'> & Pick<ComboboxChipsProps, 'itemToChipLabel' | 'itemToChipColor' | 'maxVisible'> & CreatableProps<Value> & {
|
|
2177
2212
|
items?: readonly (Value | GroupShape)[];
|
|
2178
2213
|
allowClear?: boolean;
|
|
2179
2214
|
allowSelectAll?: boolean;
|
|
@@ -2197,7 +2232,7 @@ type Props$_<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<Combo
|
|
|
2197
2232
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
2198
2233
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
2199
2234
|
*/
|
|
2200
|
-
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$
|
|
2235
|
+
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$10<Value, GroupShape>) => react_jsx_runtime.JSX.Element;
|
|
2201
2236
|
|
|
2202
2237
|
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
2203
2238
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
@@ -2210,12 +2245,12 @@ type TextareaOwnProps = {
|
|
|
2210
2245
|
disableResize?: boolean;
|
|
2211
2246
|
containerClassName?: string;
|
|
2212
2247
|
};
|
|
2213
|
-
type Props
|
|
2248
|
+
type Props$$ = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
2214
2249
|
/**
|
|
2215
2250
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
2216
2251
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
2217
2252
|
*/
|
|
2218
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props
|
|
2253
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$$) => react_jsx_runtime.JSX.Element;
|
|
2219
2254
|
|
|
2220
2255
|
type AutoSaveTextareaProps = {
|
|
2221
2256
|
savedValue?: string;
|
|
@@ -2228,14 +2263,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
2228
2263
|
|
|
2229
2264
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2230
2265
|
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2231
|
-
type Props$
|
|
2266
|
+
type Props$_ = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
2232
2267
|
value?: string | null;
|
|
2233
2268
|
defaultValue?: string | null;
|
|
2234
2269
|
onValueChange?: (value: string) => void;
|
|
2235
2270
|
onValueBlur?: (value: string) => void;
|
|
2236
2271
|
allowClear?: boolean;
|
|
2237
2272
|
};
|
|
2238
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
2273
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$_) => react_jsx_runtime.JSX.Element;
|
|
2239
2274
|
|
|
2240
2275
|
type BrandId = string;
|
|
2241
2276
|
type ResolvedColorScheme = 'light' | 'dark';
|
|
@@ -2270,12 +2305,12 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
2270
2305
|
setScheme: (next: ColorScheme) => void;
|
|
2271
2306
|
};
|
|
2272
2307
|
|
|
2273
|
-
type Props$
|
|
2308
|
+
type Props$Z = UseColorSchemeOptions & UseBrandOptions & {
|
|
2274
2309
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
2275
2310
|
brands?: readonly Brand[];
|
|
2276
2311
|
children: ReactNode;
|
|
2277
2312
|
};
|
|
2278
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$
|
|
2313
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$Z) => react_jsx_runtime.JSX.Element;
|
|
2279
2314
|
|
|
2280
2315
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
2281
2316
|
themes: Theme[];
|
|
@@ -2299,7 +2334,7 @@ declare const useArgoDesign: () => boolean;
|
|
|
2299
2334
|
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
2300
2335
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
2301
2336
|
|
|
2302
|
-
type Props$
|
|
2337
|
+
type Props$Y = {
|
|
2303
2338
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
2304
2339
|
value: ColorScheme;
|
|
2305
2340
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -2324,11 +2359,11 @@ type Props$W = {
|
|
|
2324
2359
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
2325
2360
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
2326
2361
|
*/
|
|
2327
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
2362
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$Y) => react_jsx_runtime.JSX.Element;
|
|
2328
2363
|
|
|
2329
2364
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2330
2365
|
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2331
|
-
type Props$
|
|
2366
|
+
type Props$X = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
2332
2367
|
value?: Date | null;
|
|
2333
2368
|
defaultValue?: Date | null;
|
|
2334
2369
|
onValueChange?: (value: Date | null) => void;
|
|
@@ -2338,11 +2373,11 @@ type Props$V = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
|
2338
2373
|
endMonth?: Date;
|
|
2339
2374
|
startMonth?: Date;
|
|
2340
2375
|
};
|
|
2341
|
-
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$
|
|
2376
|
+
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$X) => react_jsx_runtime.JSX.Element;
|
|
2342
2377
|
|
|
2343
2378
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2344
2379
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
2345
|
-
type Props$
|
|
2380
|
+
type Props$W = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
2346
2381
|
value?: number | null;
|
|
2347
2382
|
defaultValue?: number | null;
|
|
2348
2383
|
onValueChange?: (value: number | null) => void;
|
|
@@ -2350,11 +2385,11 @@ type Props$U = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
|
2350
2385
|
prefix?: ReactNode;
|
|
2351
2386
|
suffix?: ReactNode;
|
|
2352
2387
|
};
|
|
2353
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
2388
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$W) => react_jsx_runtime.JSX.Element;
|
|
2354
2389
|
|
|
2355
2390
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2356
2391
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
2357
|
-
type Props$
|
|
2392
|
+
type Props$V = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
2358
2393
|
value?: string | null;
|
|
2359
2394
|
defaultValue?: string | null;
|
|
2360
2395
|
onValueChange?: (value: string) => void;
|
|
@@ -2371,22 +2406,22 @@ type Props$T = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
2371
2406
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
2372
2407
|
defaultPasswordVisibility?: boolean;
|
|
2373
2408
|
};
|
|
2374
|
-
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$
|
|
2409
|
+
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$V) => react_jsx_runtime.JSX.Element;
|
|
2375
2410
|
|
|
2376
2411
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2377
2412
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2378
|
-
type Props$
|
|
2413
|
+
type Props$U = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
2379
2414
|
value?: string | null;
|
|
2380
2415
|
defaultValue?: string | null;
|
|
2381
2416
|
onValueChange?: (value: string | null) => void;
|
|
2382
2417
|
onValueBlur?: (value: string | null) => void;
|
|
2383
2418
|
allowClear?: boolean;
|
|
2384
2419
|
};
|
|
2385
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2420
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$U) => react_jsx_runtime.JSX.Element;
|
|
2386
2421
|
|
|
2387
2422
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2388
2423
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2389
|
-
type Props$
|
|
2424
|
+
type Props$T = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
2390
2425
|
value?: DateRange$1 | null;
|
|
2391
2426
|
defaultValue?: DateRange$1 | null;
|
|
2392
2427
|
onValueChange?: (value: DateRange$1 | null) => void;
|
|
@@ -2395,7 +2430,7 @@ type Props$R = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
|
2395
2430
|
startMonth?: Date;
|
|
2396
2431
|
endMonth?: Date;
|
|
2397
2432
|
};
|
|
2398
|
-
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$
|
|
2433
|
+
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$T) => react_jsx_runtime.JSX.Element;
|
|
2399
2434
|
|
|
2400
2435
|
type OtpInputSizing = 'sm' | 'md' | 'lg';
|
|
2401
2436
|
type OtpElementProps = ComponentProps<typeof OTPInput>;
|
|
@@ -2431,7 +2466,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
2431
2466
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
2432
2467
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
2433
2468
|
*/
|
|
2434
|
-
type Props$
|
|
2469
|
+
type Props$S = InputGroupProps & InputGroupInputProps & {
|
|
2435
2470
|
value?: string | null;
|
|
2436
2471
|
defaultValue?: string | null;
|
|
2437
2472
|
/** 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`. */
|
|
@@ -2460,7 +2495,7 @@ type Props$Q = InputGroupProps & InputGroupInputProps & {
|
|
|
2460
2495
|
*
|
|
2461
2496
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
2462
2497
|
*/
|
|
2463
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
2498
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$S) => react_jsx_runtime.JSX.Element;
|
|
2464
2499
|
|
|
2465
2500
|
type SearchInputWithNavigationProps = {
|
|
2466
2501
|
currentIndex: number | null;
|
|
@@ -2479,37 +2514,83 @@ declare const SearchInputWithNavigation: ({ ref, value, onValueChange, placehold
|
|
|
2479
2514
|
ref?: Ref<HTMLInputElement>;
|
|
2480
2515
|
}) => react_jsx_runtime.JSX.Element;
|
|
2481
2516
|
|
|
2517
|
+
/** MIME type → extensions map, e.g. `{ 'text/csv': ['.csv'] }`. */
|
|
2518
|
+
type FileUploadAccept = Record<string, string[]>;
|
|
2482
2519
|
/**
|
|
2483
|
-
*
|
|
2484
|
-
*
|
|
2485
|
-
*
|
|
2520
|
+
* Every rejection reason a drop target can emit. `FileUploadRejection.errors[].code` stays
|
|
2521
|
+
* `string` (the underlying library types it that way), but the vocabulary is closed — type a
|
|
2522
|
+
* rejection-copy map as `Record<FileUploadRejectionCode, string>` and it is checkably exhaustive.
|
|
2486
2523
|
*/
|
|
2487
|
-
type
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2524
|
+
type FileUploadRejectionCode = 'file-invalid-type' | 'file-too-large' | 'file-too-small' | 'too-many-files';
|
|
2525
|
+
/** A file the drop target refused, with the reason(s) why. */
|
|
2526
|
+
type FileUploadRejection = {
|
|
2527
|
+
file: File;
|
|
2528
|
+
errors: {
|
|
2529
|
+
code: string;
|
|
2530
|
+
message: string;
|
|
2531
|
+
}[];
|
|
2532
|
+
};
|
|
2533
|
+
type FileDropTargetOptions = {
|
|
2534
|
+
/** MIME / extension filter. Omit to accept every type. */
|
|
2535
|
+
accept?: FileUploadAccept;
|
|
2536
|
+
/** Max size per file, in bytes. Oversized files surface in `onFilesRejected`. */
|
|
2491
2537
|
maxSize?: number;
|
|
2492
2538
|
/** Max number of files accepted per drop. */
|
|
2493
2539
|
maxFiles?: number;
|
|
2494
2540
|
/** Allow multiple files. Defaults to true. */
|
|
2495
2541
|
multiple?: boolean;
|
|
2496
|
-
/** Disable the
|
|
2542
|
+
/** Disable the target — no drops, no click, no keyboard. */
|
|
2497
2543
|
disabled?: boolean;
|
|
2544
|
+
/** Don't open the file dialog on click. Set when wrapping a clickable subtree. */
|
|
2545
|
+
noClick?: boolean;
|
|
2546
|
+
/** Don't open the file dialog on Space / Enter. Set when wrapping a focusable subtree. */
|
|
2547
|
+
noKeyboard?: boolean;
|
|
2498
2548
|
/** Called with the accepted files on every drop. The caller owns the merged file list. */
|
|
2499
2549
|
onFilesChange?: (files: File[]) => void;
|
|
2500
|
-
/** Called with rejected files (
|
|
2501
|
-
onFilesRejected?: (rejections:
|
|
2550
|
+
/** Called with the rejected files (wrong type, too large, too many). */
|
|
2551
|
+
onFilesRejected?: (rejections: FileUploadRejection[]) => void;
|
|
2552
|
+
};
|
|
2553
|
+
type FileDropTarget = Pick<DropzoneState, 'getRootProps' | 'getInputProps' | 'isDragActive'> & {
|
|
2554
|
+
/** Rejections from the most recent drop — replaced on every drop. */
|
|
2555
|
+
rejections: FileUploadRejection[];
|
|
2556
|
+
};
|
|
2557
|
+
/**
|
|
2558
|
+
* Headless drop target — turns any element into one via `getRootProps()`.
|
|
2559
|
+
*
|
|
2560
|
+
* **When to use:** the drop affordance is an existing subtree you style yourself (a message
|
|
2561
|
+
* composer, a card, a whole panel). Pair with `noClick` / `noKeyboard` when that subtree is
|
|
2562
|
+
* already interactive, so clicking or typing inside it doesn't open the file dialog.
|
|
2563
|
+
* **When NOT to use:** a standalone drop box — compose `FileUpload` + `FileUpload.DropZone`,
|
|
2564
|
+
* which own the dashed-border chrome and the drag / error visual states.
|
|
2565
|
+
*/
|
|
2566
|
+
declare const useFileDropTarget: ({ accept, maxSize, maxFiles, multiple, disabled, noClick, noKeyboard, onFilesChange, onFilesRejected, }?: FileDropTargetOptions) => FileDropTarget;
|
|
2567
|
+
|
|
2568
|
+
/**
|
|
2569
|
+
* Rejections from the most recent drop, read from the enclosing `FileUpload`. Use it to render
|
|
2570
|
+
* your own "why was this refused" copy next to the drop zone — `FileUpload` ships none, because
|
|
2571
|
+
* the wording is product copy. Replaced on every drop, so it never goes stale.
|
|
2572
|
+
*/
|
|
2573
|
+
declare const useFileUploadRejections: () => FileUploadRejection[];
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* Props for `FileUpload`. The component is uncontrolled with respect to the file
|
|
2577
|
+
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
2578
|
+
* `FileUpload` only signals drop events; it does not store the file array.
|
|
2579
|
+
*/
|
|
2580
|
+
type Props$R = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
2502
2581
|
/** Storybook-only: force a visual state without simulating real drag events. */
|
|
2503
2582
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
2504
2583
|
children: ReactNode;
|
|
2505
2584
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'>;
|
|
2506
|
-
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
2507
|
-
DropZone: ({ children, className, ...rest }: {
|
|
2585
|
+
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$R) => react_jsx_runtime.JSX.Element) & {
|
|
2586
|
+
DropZone: ({ children, inputId, className, ...rest }: {
|
|
2508
2587
|
children?: ReactNode;
|
|
2588
|
+
inputId?: string;
|
|
2509
2589
|
} & Omit<HTMLAttributes<HTMLDivElement>, "children">) => react_jsx_runtime.JSX.Element;
|
|
2510
|
-
FileList: ({ files, onRemove, className, ...rest }: {
|
|
2590
|
+
FileList: ({ files, onRemove, invalid, className, ...rest }: {
|
|
2511
2591
|
files: File[];
|
|
2512
2592
|
onRemove?: (file: File, index: number) => void;
|
|
2593
|
+
invalid?: boolean;
|
|
2513
2594
|
} & Omit<HTMLAttributes<HTMLUListElement>, "children">) => react_jsx_runtime.JSX.Element | null;
|
|
2514
2595
|
};
|
|
2515
2596
|
|
|
@@ -2544,11 +2625,11 @@ declare const FormGroup: {
|
|
|
2544
2625
|
translate?: "yes" | "no" | undefined | undefined;
|
|
2545
2626
|
color?: string | undefined | undefined;
|
|
2546
2627
|
prefix?: string | undefined | undefined;
|
|
2547
|
-
id?: string | undefined | undefined;
|
|
2548
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2549
2628
|
slot?: string | undefined | undefined;
|
|
2550
2629
|
style?: react.CSSProperties | undefined;
|
|
2551
2630
|
title?: string | undefined | undefined;
|
|
2631
|
+
id?: string | undefined | undefined;
|
|
2632
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2552
2633
|
ref?: react.Ref<HTMLParagraphElement> | undefined;
|
|
2553
2634
|
key?: react.Key | null | undefined;
|
|
2554
2635
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -2834,14 +2915,14 @@ declare const FormGroup: {
|
|
|
2834
2915
|
translate?: "yes" | "no" | undefined | undefined;
|
|
2835
2916
|
color?: string | undefined | undefined;
|
|
2836
2917
|
prefix?: react.ReactNode;
|
|
2837
|
-
id?: string | undefined | undefined;
|
|
2838
|
-
name?: string | undefined | undefined;
|
|
2839
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2840
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
2841
2918
|
form?: string | undefined | undefined;
|
|
2842
2919
|
slot?: string | undefined | undefined;
|
|
2843
2920
|
style?: react.CSSProperties | undefined;
|
|
2844
2921
|
title?: string | undefined | undefined;
|
|
2922
|
+
id?: string | undefined | undefined;
|
|
2923
|
+
name?: string | undefined | undefined;
|
|
2924
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2925
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
2845
2926
|
pattern?: string | undefined | undefined;
|
|
2846
2927
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
2847
2928
|
key?: react.Key | null | undefined;
|
|
@@ -3142,7 +3223,7 @@ declare const FormGroup: {
|
|
|
3142
3223
|
readOnly?: boolean | undefined | undefined;
|
|
3143
3224
|
required?: boolean | undefined | undefined;
|
|
3144
3225
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3145
|
-
sizing?: "
|
|
3226
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
3146
3227
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3147
3228
|
rightSuffix?: react.ReactNode;
|
|
3148
3229
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -3157,14 +3238,14 @@ declare const FormGroup: {
|
|
|
3157
3238
|
translate?: "yes" | "no" | undefined | undefined;
|
|
3158
3239
|
color?: string | undefined | undefined;
|
|
3159
3240
|
prefix?: react.ReactNode;
|
|
3160
|
-
id?: string | undefined | undefined;
|
|
3161
|
-
name?: string | undefined | undefined;
|
|
3162
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3163
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
3164
3241
|
form?: string | undefined | undefined;
|
|
3165
3242
|
slot?: string | undefined | undefined;
|
|
3166
3243
|
style?: react.CSSProperties | undefined;
|
|
3167
3244
|
title?: string | undefined | undefined;
|
|
3245
|
+
id?: string | undefined | undefined;
|
|
3246
|
+
name?: string | undefined | undefined;
|
|
3247
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3248
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
3168
3249
|
pattern?: string | undefined | undefined;
|
|
3169
3250
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
3170
3251
|
key?: react.Key | null | undefined;
|
|
@@ -3466,7 +3547,7 @@ declare const FormGroup: {
|
|
|
3466
3547
|
readOnly?: boolean | undefined | undefined;
|
|
3467
3548
|
required?: boolean | undefined | undefined;
|
|
3468
3549
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
3469
|
-
sizing?: "
|
|
3550
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
3470
3551
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3471
3552
|
suffix?: react.ReactNode;
|
|
3472
3553
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -3476,14 +3557,14 @@ declare const FormGroup: {
|
|
|
3476
3557
|
translate?: "yes" | "no" | undefined | undefined;
|
|
3477
3558
|
color?: string | undefined | undefined;
|
|
3478
3559
|
prefix?: string | undefined | undefined;
|
|
3479
|
-
id?: string | undefined | undefined;
|
|
3480
|
-
name?: string | undefined | undefined;
|
|
3481
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3482
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
3483
3560
|
form?: string | undefined | undefined;
|
|
3484
3561
|
slot?: string | undefined | undefined;
|
|
3485
3562
|
style?: react.CSSProperties | undefined;
|
|
3486
3563
|
title?: string | undefined | undefined;
|
|
3564
|
+
id?: string | undefined | undefined;
|
|
3565
|
+
name?: string | undefined | undefined;
|
|
3566
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3567
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
3487
3568
|
pattern?: string | undefined | undefined;
|
|
3488
3569
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
3489
3570
|
key?: react.Key | null | undefined;
|
|
@@ -3786,7 +3867,7 @@ declare const FormGroup: {
|
|
|
3786
3867
|
readOnly?: boolean | undefined | undefined;
|
|
3787
3868
|
required?: boolean | undefined | undefined;
|
|
3788
3869
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3789
|
-
sizing?: "
|
|
3870
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
3790
3871
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3791
3872
|
allowClear?: boolean | undefined;
|
|
3792
3873
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -3796,16 +3877,16 @@ declare const FormGroup: {
|
|
|
3796
3877
|
wrap?: string | undefined | undefined;
|
|
3797
3878
|
color?: string | undefined | undefined;
|
|
3798
3879
|
prefix?: string | undefined | undefined;
|
|
3799
|
-
id?: string | undefined | undefined;
|
|
3800
|
-
name?: string | undefined | undefined;
|
|
3801
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3802
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
3803
3880
|
form?: string | undefined | undefined;
|
|
3804
3881
|
slot?: string | undefined | undefined;
|
|
3805
3882
|
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
3806
3883
|
height?: number;
|
|
3807
3884
|
}) | undefined;
|
|
3808
3885
|
title?: string | undefined | undefined;
|
|
3886
|
+
id?: string | undefined | undefined;
|
|
3887
|
+
name?: string | undefined | undefined;
|
|
3888
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3889
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
3809
3890
|
ref?: react.Ref<HTMLTextAreaElement> | undefined;
|
|
3810
3891
|
key?: react.Key | null | undefined;
|
|
3811
3892
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -4096,7 +4177,7 @@ declare const FormGroup: {
|
|
|
4096
4177
|
cacheMeasurements?: boolean | undefined;
|
|
4097
4178
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
4098
4179
|
disableResize?: boolean | undefined;
|
|
4099
|
-
sizing?: "
|
|
4180
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
4100
4181
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
4101
4182
|
containerClassName?: string | undefined;
|
|
4102
4183
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -4105,43 +4186,43 @@ declare const FormGroup: {
|
|
|
4105
4186
|
declare const helpVariants: (props?: ({
|
|
4106
4187
|
state?: "warning" | "default" | null | undefined;
|
|
4107
4188
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4108
|
-
type Props$
|
|
4109
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4189
|
+
type Props$Q = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4190
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$Q) => react_jsx_runtime.JSX.Element | null;
|
|
4110
4191
|
|
|
4111
4192
|
type AnswerItem = {
|
|
4112
4193
|
question: string;
|
|
4113
4194
|
answer?: string;
|
|
4114
4195
|
};
|
|
4115
4196
|
type Variant$5 = 'success' | 'dismissed';
|
|
4116
|
-
type Props$
|
|
4197
|
+
type Props$P = {
|
|
4117
4198
|
items: readonly AnswerItem[];
|
|
4118
4199
|
variant?: Variant$5;
|
|
4119
4200
|
noAnswerLabel?: string;
|
|
4120
4201
|
};
|
|
4121
|
-
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$
|
|
4202
|
+
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$P) => react_jsx_runtime.JSX.Element;
|
|
4122
4203
|
|
|
4123
4204
|
type Variant$4 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4124
|
-
type Props$
|
|
4205
|
+
type Props$O = {
|
|
4125
4206
|
isExpanded: boolean;
|
|
4126
4207
|
onToggle: () => void;
|
|
4127
4208
|
label: ReactNode;
|
|
4128
4209
|
variant?: Variant$4;
|
|
4129
4210
|
};
|
|
4130
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$
|
|
4211
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$O) => react_jsx_runtime.JSX.Element;
|
|
4131
4212
|
|
|
4132
|
-
type Props$
|
|
4213
|
+
type Props$N = {
|
|
4133
4214
|
children: ReactNode;
|
|
4134
4215
|
};
|
|
4135
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
4216
|
+
declare const InlineStepDetail: ({ children }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
4136
4217
|
|
|
4137
4218
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4138
|
-
type Props$
|
|
4219
|
+
type Props$M = {
|
|
4139
4220
|
variant: Variant$3;
|
|
4140
4221
|
children: ReactNode;
|
|
4141
4222
|
};
|
|
4142
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
4223
|
+
declare const InlineStepLabel: ({ variant, children }: Props$M) => react_jsx_runtime.JSX.Element;
|
|
4143
4224
|
|
|
4144
|
-
type Props$
|
|
4225
|
+
type Props$L = {
|
|
4145
4226
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4146
4227
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4147
4228
|
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
@@ -4153,9 +4234,9 @@ type Props$J = {
|
|
|
4153
4234
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4154
4235
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4155
4236
|
*/
|
|
4156
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4237
|
+
declare const Markdown: ({ children, className }: Props$L) => react_jsx_runtime.JSX.Element;
|
|
4157
4238
|
|
|
4158
|
-
type Props$
|
|
4239
|
+
type Props$K = {
|
|
4159
4240
|
user?: {
|
|
4160
4241
|
name: string | undefined;
|
|
4161
4242
|
email: string | undefined;
|
|
@@ -4165,15 +4246,15 @@ type Props$I = {
|
|
|
4165
4246
|
size?: number;
|
|
4166
4247
|
variant?: 'circle' | 'rounded';
|
|
4167
4248
|
} & ComponentProps<'span'>;
|
|
4168
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4249
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$K) => react_jsx_runtime.JSX.Element;
|
|
4169
4250
|
|
|
4170
|
-
type Props$
|
|
4251
|
+
type Props$J = {
|
|
4171
4252
|
variant: 'user' | 'assistant';
|
|
4172
4253
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4173
4254
|
actions?: ReactNode;
|
|
4174
4255
|
createdAt?: string;
|
|
4175
4256
|
} & PropsWithChildren;
|
|
4176
|
-
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$
|
|
4257
|
+
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$J) => react_jsx_runtime.JSX.Element;
|
|
4177
4258
|
|
|
4178
4259
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
4179
4260
|
type PlanApprovalProps = {
|
|
@@ -4223,15 +4304,15 @@ type PromptCommand = {
|
|
|
4223
4304
|
};
|
|
4224
4305
|
|
|
4225
4306
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4226
|
-
type Props$
|
|
4307
|
+
type Props$I = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
4227
4308
|
status?: SubmitStatus;
|
|
4228
4309
|
};
|
|
4229
|
-
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$
|
|
4310
|
+
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$I) => react_jsx_runtime.JSX.Element;
|
|
4230
4311
|
|
|
4231
4312
|
declare const promptInputVariants: (props?: ({
|
|
4232
4313
|
variant?: "inline" | "default" | null | undefined;
|
|
4233
4314
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4234
|
-
type Props$
|
|
4315
|
+
type Props$H = {
|
|
4235
4316
|
onSend?: (value: string) => void;
|
|
4236
4317
|
onAbort?: () => void;
|
|
4237
4318
|
onContinue?: () => void;
|
|
@@ -4245,7 +4326,7 @@ type Props$F = {
|
|
|
4245
4326
|
commands?: PromptCommand[];
|
|
4246
4327
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof react_textarea_autosize__default>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4247
4328
|
declare const PromptInput: {
|
|
4248
|
-
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4329
|
+
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$H): react_jsx_runtime.JSX.Element;
|
|
4249
4330
|
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
4250
4331
|
};
|
|
4251
4332
|
|
|
@@ -4255,7 +4336,7 @@ type QuestionOption = {
|
|
|
4255
4336
|
description?: string;
|
|
4256
4337
|
preview?: string;
|
|
4257
4338
|
};
|
|
4258
|
-
type Props$
|
|
4339
|
+
type Props$G = {
|
|
4259
4340
|
question: string;
|
|
4260
4341
|
header?: string;
|
|
4261
4342
|
options: readonly QuestionOption[];
|
|
@@ -4278,7 +4359,7 @@ type Props$E = {
|
|
|
4278
4359
|
renderPreview?: (content: string) => ReactNode;
|
|
4279
4360
|
className?: string;
|
|
4280
4361
|
};
|
|
4281
|
-
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$
|
|
4362
|
+
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
4282
4363
|
|
|
4283
4364
|
type QuestionStep = {
|
|
4284
4365
|
question: string;
|
|
@@ -4292,7 +4373,7 @@ type QuestionAnswers = {
|
|
|
4292
4373
|
selections: Record<number, readonly string[]>;
|
|
4293
4374
|
customAnswers: Record<number, string>;
|
|
4294
4375
|
};
|
|
4295
|
-
type Props$
|
|
4376
|
+
type Props$F = {
|
|
4296
4377
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
4297
4378
|
showSkip?: boolean;
|
|
4298
4379
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -4300,16 +4381,16 @@ type Props$D = {
|
|
|
4300
4381
|
renderPreview?: (content: string) => ReactNode;
|
|
4301
4382
|
className?: string;
|
|
4302
4383
|
};
|
|
4303
|
-
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$
|
|
4384
|
+
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$F) => react_jsx_runtime.JSX.Element;
|
|
4304
4385
|
|
|
4305
|
-
type Props$
|
|
4386
|
+
type Props$E = {
|
|
4306
4387
|
label: string;
|
|
4307
4388
|
disabled?: boolean;
|
|
4308
4389
|
onClick: () => void;
|
|
4309
4390
|
icon?: ReactNode;
|
|
4310
4391
|
className?: string;
|
|
4311
4392
|
};
|
|
4312
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4393
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$E) => react_jsx_runtime.JSX.Element;
|
|
4313
4394
|
|
|
4314
4395
|
type ThinkingIndicatorProps = {
|
|
4315
4396
|
label?: string;
|
|
@@ -4368,7 +4449,7 @@ type ToolCallChipProps = {
|
|
|
4368
4449
|
*/
|
|
4369
4450
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className, }: ToolCallChipProps) => react_jsx_runtime.JSX.Element;
|
|
4370
4451
|
|
|
4371
|
-
type Props$
|
|
4452
|
+
type Props$D = {
|
|
4372
4453
|
value: number;
|
|
4373
4454
|
alert?: boolean;
|
|
4374
4455
|
children: ReactNode;
|
|
@@ -4382,28 +4463,28 @@ type Props$B = {
|
|
|
4382
4463
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4383
4464
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4384
4465
|
};
|
|
4385
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$
|
|
4466
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$D) => react_jsx_runtime.JSX.Element;
|
|
4386
4467
|
|
|
4387
|
-
type Props$
|
|
4468
|
+
type Props$C = {
|
|
4388
4469
|
value: number;
|
|
4389
4470
|
size?: number;
|
|
4390
4471
|
strokeWidth?: number;
|
|
4391
4472
|
className?: string;
|
|
4392
4473
|
};
|
|
4393
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4474
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$C) => react_jsx_runtime.JSX.Element;
|
|
4394
4475
|
|
|
4395
|
-
type Props$
|
|
4476
|
+
type Props$B = ComponentProps<typeof Root$9>;
|
|
4396
4477
|
declare const Collapsible: {
|
|
4397
|
-
(props: Props$
|
|
4478
|
+
(props: Props$B): react_jsx_runtime.JSX.Element;
|
|
4398
4479
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
4399
4480
|
Content: ({ ref, className, children, ...props }: _radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
4400
4481
|
};
|
|
4401
4482
|
|
|
4402
4483
|
type Variant$2 = 'info' | 'warning' | 'error' | 'success';
|
|
4403
|
-
type Props$
|
|
4484
|
+
type Props$A = {
|
|
4404
4485
|
variant?: Variant$2;
|
|
4405
4486
|
} & ComponentProps<'div'>;
|
|
4406
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4487
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$A) => react_jsx_runtime.JSX.Element;
|
|
4407
4488
|
|
|
4408
4489
|
type CommonProps = {
|
|
4409
4490
|
hideIcon?: boolean;
|
|
@@ -4426,7 +4507,7 @@ type DefaultProps = {
|
|
|
4426
4507
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4427
4508
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4428
4509
|
*/
|
|
4429
|
-
type Props$
|
|
4510
|
+
type Props$z = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4430
4511
|
/**
|
|
4431
4512
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4432
4513
|
*
|
|
@@ -4440,13 +4521,13 @@ type Props$x = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4440
4521
|
*
|
|
4441
4522
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4442
4523
|
*/
|
|
4443
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
4524
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$z) => react_jsx_runtime.JSX.Element;
|
|
4444
4525
|
|
|
4445
4526
|
declare const variants$1: (props?: ({
|
|
4446
4527
|
variant?: "success" | "warning" | "info" | "default" | "error" | null | undefined;
|
|
4447
4528
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4448
4529
|
type Variants = VariantProps<typeof variants$1>;
|
|
4449
|
-
type Props$
|
|
4530
|
+
type Props$y = {
|
|
4450
4531
|
id: string | number;
|
|
4451
4532
|
title: ReactNode;
|
|
4452
4533
|
icon?: ReactNode;
|
|
@@ -4455,7 +4536,7 @@ type Props$w = {
|
|
|
4455
4536
|
loading?: boolean;
|
|
4456
4537
|
duration?: number;
|
|
4457
4538
|
} & Variants;
|
|
4458
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$
|
|
4539
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
4459
4540
|
|
|
4460
4541
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
4461
4542
|
type Title = ToastProps['title'] | ((opts: {
|
|
@@ -4476,7 +4557,7 @@ declare const toast: {
|
|
|
4476
4557
|
dismissAll(): string | number;
|
|
4477
4558
|
};
|
|
4478
4559
|
|
|
4479
|
-
type Props$
|
|
4560
|
+
type Props$x = {
|
|
4480
4561
|
enabled?: boolean;
|
|
4481
4562
|
} & Parameters<typeof toast>[0];
|
|
4482
4563
|
/**
|
|
@@ -4489,22 +4570,22 @@ type Props$v = {
|
|
|
4489
4570
|
* Use `toast()` for transient feedback after a user action
|
|
4490
4571
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
4491
4572
|
*/
|
|
4492
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4573
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$x) => void;
|
|
4493
4574
|
|
|
4494
4575
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
4495
4576
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
4496
4577
|
|
|
4497
|
-
type Props$
|
|
4578
|
+
type Props$w = {
|
|
4498
4579
|
children?: ReactNode;
|
|
4499
4580
|
};
|
|
4500
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4581
|
+
declare const EmptySearchContent: ({ children }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
4501
4582
|
|
|
4502
|
-
type Props$
|
|
4583
|
+
type Props$v = {
|
|
4503
4584
|
title: string;
|
|
4504
4585
|
children: ReactNode;
|
|
4505
4586
|
className?: string;
|
|
4506
4587
|
};
|
|
4507
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
4588
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$v) => react_jsx_runtime.JSX.Element;
|
|
4508
4589
|
|
|
4509
4590
|
declare const emptyStateClassnames: (props?: ({
|
|
4510
4591
|
variant?: "compact" | "default" | null | undefined;
|
|
@@ -4644,8 +4725,8 @@ declare const variants: (props?: ({
|
|
|
4644
4725
|
variant?: "success" | "default" | null | undefined;
|
|
4645
4726
|
size?: "sm" | "lg" | null | undefined;
|
|
4646
4727
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4647
|
-
type Props$
|
|
4648
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
4728
|
+
type Props$u = ComponentProps<typeof Root$a> & VariantProps<typeof variants>;
|
|
4729
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
4649
4730
|
|
|
4650
4731
|
/** @deprecated Use `Collapsible` instead. */
|
|
4651
4732
|
type CollapseProps = {
|
|
@@ -4661,7 +4742,7 @@ type CollapseProps = {
|
|
|
4661
4742
|
/** @deprecated Use `Collapsible` instead. */
|
|
4662
4743
|
declare const Collapse: ({ open, header, className, bodyClassName, children, onClick, animationClassName, hidden, ...rest }: CollapseProps & ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
4663
4744
|
|
|
4664
|
-
type Props$
|
|
4745
|
+
type Props$t = {
|
|
4665
4746
|
header: ReactNode;
|
|
4666
4747
|
isDisabled?: boolean;
|
|
4667
4748
|
defaultExpanded?: boolean;
|
|
@@ -4673,22 +4754,59 @@ type Props$r = {
|
|
|
4673
4754
|
variant?: 'default' | 'white';
|
|
4674
4755
|
children: ReactNode;
|
|
4675
4756
|
};
|
|
4676
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$
|
|
4757
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$t) => react_jsx_runtime.JSX.Element;
|
|
4677
4758
|
|
|
4678
|
-
type Props$
|
|
4759
|
+
type Props$s = PropsWithChildren<{
|
|
4679
4760
|
defaultExpanded?: boolean;
|
|
4680
4761
|
labelCollapse?: ReactNode;
|
|
4681
4762
|
labelOpen?: ReactNode;
|
|
4682
4763
|
placement?: 'top' | 'bottom';
|
|
4683
4764
|
className?: string;
|
|
4684
4765
|
}>;
|
|
4685
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$
|
|
4766
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$s) => react_jsx_runtime.JSX.Element;
|
|
4686
4767
|
|
|
4687
|
-
|
|
4768
|
+
/**
|
|
4769
|
+
* How far the header row stretches across the shell.
|
|
4770
|
+
*
|
|
4771
|
+
* - `content` — the header occupies the middle column only (`"sidebar header aside"`),
|
|
4772
|
+
* so both rails sit beside it and run the full height.
|
|
4773
|
+
* - `full` — the header spans all three columns and the rails sit below it, so the
|
|
4774
|
+
* brand mark aligns to the viewport's left edge.
|
|
4775
|
+
*
|
|
4776
|
+
* Only the sidebar geometry honours this; the top-nav geometry's header is
|
|
4777
|
+
* already full width.
|
|
4778
|
+
*/
|
|
4779
|
+
type AppShellHeaderSpan = 'content' | 'full';
|
|
4780
|
+
|
|
4781
|
+
type RootProps$4 = ComponentPropsWithoutRef<'div'> & {
|
|
4782
|
+
/**
|
|
4783
|
+
* How far the header row stretches. `content` (default) gives it the middle
|
|
4784
|
+
* column only, with both rails beside it; `full` spans all three columns and
|
|
4785
|
+
* drops the rails below it, so the brand mark aligns to the viewport edge.
|
|
4786
|
+
* No-op under the top-nav geometry, whose header is already full width.
|
|
4787
|
+
*
|
|
4788
|
+
* Reach for `full` when the header carries app-wide identity (brand mark,
|
|
4789
|
+
* project switcher, account menu) rather than page-level navigation.
|
|
4790
|
+
*/
|
|
4791
|
+
headerSpan?: AppShellHeaderSpan;
|
|
4792
|
+
};
|
|
4688
4793
|
type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
4689
4794
|
/** Render as the child element (Radix-Slot pattern), forwarding props onto it. */
|
|
4690
4795
|
asChild?: boolean;
|
|
4691
4796
|
};
|
|
4797
|
+
type ChromeSlotProps = SlotProps & {
|
|
4798
|
+
/**
|
|
4799
|
+
* Drop the slot's own padding, background and border so a hosted chrome component
|
|
4800
|
+
* (`Navbar` in `Header`, `Sidebar side="right"` in `Aside`) can render edge to edge.
|
|
4801
|
+
*
|
|
4802
|
+
* The slots paint themselves, which is right when you put content straight into them.
|
|
4803
|
+
* It is wrong when the child is already a full-bleed surface: the child ends up inset
|
|
4804
|
+
* inside the slot with the slot's background showing through as gutters at each end.
|
|
4805
|
+
* Use this instead of re-stating the overrides at the call site — hand-written
|
|
4806
|
+
* overrides also have to win a cascade fight, which is why they tend to grow an `!`.
|
|
4807
|
+
*/
|
|
4808
|
+
flush?: boolean;
|
|
4809
|
+
};
|
|
4692
4810
|
/**
|
|
4693
4811
|
* App-shell layout primitive. Reads `useTheme().brand.shell` and dispatches to
|
|
4694
4812
|
* a sidebar (left rail) or top-nav geometry. Consumers compose the same
|
|
@@ -4698,7 +4816,8 @@ type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
4698
4816
|
*
|
|
4699
4817
|
* **When to use:** the root layout of any app that wants to follow the active
|
|
4700
4818
|
* brand's shell geometry. Host a `PageLayout` inside `<AppShell.Main>` for
|
|
4701
|
-
* the per-page content column.
|
|
4819
|
+
* the per-page content column. Pass `headerSpan="full"` for a full-bleed header
|
|
4820
|
+
* row above both rails.
|
|
4702
4821
|
* **When NOT to use:** standalone screens that aren't part of a navigated app
|
|
4703
4822
|
* (sign-in, error pages). Render those without `AppShell`.
|
|
4704
4823
|
* **Composition:** must be rendered inside a `<ThemeProvider>` — the geometry
|
|
@@ -4708,14 +4827,14 @@ type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
4708
4827
|
* @see AppShell.stories.tsx — flip the Storybook brand toolbar to see the
|
|
4709
4828
|
* sidebar / top-nav geometry swap from a single composition.
|
|
4710
4829
|
*/
|
|
4711
|
-
declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 & {
|
|
4830
|
+
declare const AppShell: (({ ref, className, headerSpan, children, ...props }: RootProps$4 & {
|
|
4712
4831
|
ref?: Ref<ComponentRef<"div">>;
|
|
4713
4832
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
4714
4833
|
/**
|
|
4715
4834
|
* Top header row. Renders above `Main` in the sidebar shell; renders as the
|
|
4716
4835
|
* top bar (with full-width navigation room) in the top-nav shell.
|
|
4717
4836
|
*/
|
|
4718
|
-
Header: ({ ref, className, asChild, children, ...props }:
|
|
4837
|
+
Header: ({ ref, className, asChild, flush, children, ...props }: ChromeSlotProps & {
|
|
4719
4838
|
ref?: Ref<ComponentRef<"header">>;
|
|
4720
4839
|
}) => react_jsx_runtime.JSX.Element;
|
|
4721
4840
|
/**
|
|
@@ -4735,7 +4854,7 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
4735
4854
|
ref?: Ref<ComponentRef<"main">>;
|
|
4736
4855
|
}) => react_jsx_runtime.JSX.Element;
|
|
4737
4856
|
/** Optional right rail. Present in both shells. */
|
|
4738
|
-
Aside: ({ ref, className, asChild, children, ...props }:
|
|
4857
|
+
Aside: ({ ref, className, asChild, flush, children, ...props }: ChromeSlotProps & {
|
|
4739
4858
|
ref?: Ref<ComponentRef<"aside">>;
|
|
4740
4859
|
}) => react_jsx_runtime.JSX.Element;
|
|
4741
4860
|
};
|
|
@@ -4748,6 +4867,12 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
4748
4867
|
type RootProps$3 = ComponentProps<'div'> & {
|
|
4749
4868
|
maxWidth?: 'default' | 'narrow' | 'wide' | 'full';
|
|
4750
4869
|
};
|
|
4870
|
+
type HeaderProps = ComponentProps<'header'> & {
|
|
4871
|
+
sticky?: boolean;
|
|
4872
|
+
};
|
|
4873
|
+
type ContentProps = ComponentProps<'div'> & {
|
|
4874
|
+
nav?: ReactNode;
|
|
4875
|
+
};
|
|
4751
4876
|
type FooterProps = ComponentProps<'footer'> & {
|
|
4752
4877
|
sticky?: boolean;
|
|
4753
4878
|
};
|
|
@@ -4767,16 +4892,17 @@ type FooterProps = ComponentProps<'footer'> & {
|
|
|
4767
4892
|
* `PageLayout.Footer sticky`.
|
|
4768
4893
|
*
|
|
4769
4894
|
* @see RECIPES.md#list-detail — for the index → detail page pattern
|
|
4895
|
+
* @see RECIPES.md#section-nav — for the in-page vertical navigation pattern
|
|
4770
4896
|
*/
|
|
4771
4897
|
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps$3) => react_jsx_runtime.JSX.Element) & {
|
|
4772
4898
|
/** Detail-pattern breadcrumb row. Usually composed automatically by `PageHeader.Detail` — slot exists for layouts that don't fit either `PageHeader` variant. */
|
|
4773
4899
|
Breadcrumbs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
4774
|
-
/** Host slot for `PageHeader.Index` / `PageHeader.Detail`, or custom header JSX when neither variant fits. */
|
|
4775
|
-
Header: ({ ref, className, children, ...props }:
|
|
4900
|
+
/** Host slot for `PageHeader.Index` / `PageHeader.Detail`, or custom header JSX when neither variant fits. Pass `sticky` to pin it — it then also publishes its measured height as `--page-header-height` on the root, which `Content nav` pins the nav to. */
|
|
4901
|
+
Header: ({ ref, className, sticky, children, ...props }: HeaderProps) => react_jsx_runtime.JSX.Element;
|
|
4776
4902
|
/** Escape hatch for routing-based tab rows. Use `Tabs` / `TabsContent` core components inside, never a raw `<button>`. */
|
|
4777
4903
|
Tabs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
4778
|
-
/** Main content slot. Lists, cards, tables. */
|
|
4779
|
-
Content: ({ ref, className, children, ...props }:
|
|
4904
|
+
/** Main content slot. Lists, cards, tables. Pass `nav` (a `SectionNav`) for the two-column in-page-navigation layout; without it the slot is a plain column, exactly as before. */
|
|
4905
|
+
Content: ({ ref, className, nav, children, ...props }: ContentProps) => react_jsx_runtime.JSX.Element;
|
|
4780
4906
|
/** Bottom action bar — form submit + cancel. Pass `sticky` for a footer that pins to the viewport. */
|
|
4781
4907
|
Footer: ({ ref, className, sticky, children, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
4782
4908
|
};
|
|
@@ -4825,21 +4951,21 @@ declare const addonVariants: (props?: ({
|
|
|
4825
4951
|
align?: "inline-end" | "inline-start" | null | undefined;
|
|
4826
4952
|
variant?: "inline" | "floating" | null | undefined;
|
|
4827
4953
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4828
|
-
type Props$
|
|
4829
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
4954
|
+
type Props$r = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
4955
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
4830
4956
|
|
|
4831
|
-
type Props$
|
|
4957
|
+
type Props$q = ComponentProps<'span'> & {
|
|
4832
4958
|
asChild?: boolean;
|
|
4833
4959
|
};
|
|
4834
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
4960
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
4835
4961
|
|
|
4836
4962
|
declare const badgeRootVariants: (props?: ({
|
|
4837
4963
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4838
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "
|
|
4964
|
+
color?: "white" | "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4839
4965
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4840
4966
|
|
|
4841
|
-
type Props$
|
|
4842
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$
|
|
4967
|
+
type Props$p = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
4968
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$p) => react_jsx_runtime.JSX.Element;
|
|
4843
4969
|
|
|
4844
4970
|
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
4845
4971
|
type BadgeRootProps = ComponentProps<typeof BadgeRoot>;
|
|
@@ -4849,17 +4975,17 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
4849
4975
|
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
4850
4976
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
4851
4977
|
*/
|
|
4852
|
-
type Props$
|
|
4978
|
+
type Props$o = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
4853
4979
|
prefix?: ReactNode;
|
|
4854
4980
|
prefixVariant?: AddonVariant;
|
|
4855
4981
|
suffix?: ReactNode;
|
|
4856
4982
|
suffixVariant?: AddonVariant;
|
|
4857
4983
|
labelClassName?: string;
|
|
4858
4984
|
};
|
|
4859
|
-
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
4985
|
+
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$o) => react_jsx_runtime.JSX.Element) & {
|
|
4860
4986
|
Root: ({ ref, variant, color, className, children, ...rest }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
4861
4987
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4862
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "
|
|
4988
|
+
color?: "white" | "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4863
4989
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
4864
4990
|
Button: ({ ref, className, type, children, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
4865
4991
|
Label: ({ ref, className, asChild, ...rest }: react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
@@ -4929,7 +5055,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
4929
5055
|
*/
|
|
4930
5056
|
Token: ({ children, popover, onRemove, removeAriaLabel, ...props }: Omit<Omit<Pick<react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
4931
5057
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4932
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "
|
|
5058
|
+
color?: "white" | "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4933
5059
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "color" | "variant"> & Omit<react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
4934
5060
|
asChild?: boolean;
|
|
4935
5061
|
}, "prefix"> & {
|
|
@@ -4950,7 +5076,107 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
4950
5076
|
Clear: ({ className, children, ...props }: ActionProps) => react_jsx_runtime.JSX.Element;
|
|
4951
5077
|
};
|
|
4952
5078
|
|
|
4953
|
-
type
|
|
5079
|
+
type SectionNavItem = {
|
|
5080
|
+
/**
|
|
5081
|
+
* Identity **and** navigation target: `renderItem` gets it back as `targetId`, and `activeId` is
|
|
5082
|
+
* matched against it. Unique across the whole `groups` array.
|
|
5083
|
+
*/
|
|
5084
|
+
id: string;
|
|
5085
|
+
title: string;
|
|
5086
|
+
icon?: LucideIcon;
|
|
5087
|
+
/** Printed under the title when `showDescriptions` is on. */
|
|
5088
|
+
description?: string;
|
|
5089
|
+
/** Marks the row with a "New" badge. */
|
|
5090
|
+
isNew?: boolean;
|
|
5091
|
+
};
|
|
5092
|
+
type SectionNavGroup = SectionNavItem & {
|
|
5093
|
+
/**
|
|
5094
|
+
* Sub-sections, each a destination of its own. A group with children navigates to its first one,
|
|
5095
|
+
* so only a **childless** group's `id` is ever used as a target — that one has to be routable.
|
|
5096
|
+
*/
|
|
5097
|
+
children: SectionNavItem[];
|
|
5098
|
+
/** Rendered under the group's children in the tree — e.g. "More apps coming soon." */
|
|
5099
|
+
note?: ReactNode;
|
|
5100
|
+
};
|
|
5101
|
+
type SectionNavItemRenderProps = {
|
|
5102
|
+
/** Where this row goes. A group with children resolves to `children[0].id`. */
|
|
5103
|
+
targetId: string;
|
|
5104
|
+
/** `true` when `activeId` names this exact row. A group holding the active child is not "active". */
|
|
5105
|
+
isActive: boolean;
|
|
5106
|
+
/** The composed row body — icon, title, "New" badge, chevron, description. Render as children. */
|
|
5107
|
+
children: ReactNode;
|
|
5108
|
+
/**
|
|
5109
|
+
* Spread whole onto the clickable element; don't cherry-pick. `onClick` owns the group's open
|
|
5110
|
+
* state and calls `preventDefault()` on a click that only collapses a group, so a link handed
|
|
5111
|
+
* these props never navigates when it shouldn't — every router `Link` worth using checks
|
|
5112
|
+
* `defaultPrevented` before it navigates. If yours doesn't, render an `<a>` and navigate yourself.
|
|
5113
|
+
*/
|
|
5114
|
+
itemProps: {
|
|
5115
|
+
className: string;
|
|
5116
|
+
'aria-current': 'page' | undefined;
|
|
5117
|
+
'aria-expanded': boolean | undefined;
|
|
5118
|
+
/** `true` on a group row whose subtree holds the active section — the row is tinted, but it is
|
|
5119
|
+
* not the current page, so it carries no `aria-current`. */
|
|
5120
|
+
'data-active': true | undefined;
|
|
5121
|
+
onClick: (event: MouseEvent$1<HTMLElement>) => void;
|
|
5122
|
+
};
|
|
5123
|
+
};
|
|
5124
|
+
|
|
5125
|
+
type Props$n = {
|
|
5126
|
+
/**
|
|
5127
|
+
* The sections to show, already filtered. Visibility, permissions and feature flags stay in the
|
|
5128
|
+
* app — this block renders exactly what it is handed, in order.
|
|
5129
|
+
*/
|
|
5130
|
+
groups: SectionNavGroup[];
|
|
5131
|
+
/** `id` of the current section: a child's, or a childless group's. */
|
|
5132
|
+
activeId?: string;
|
|
5133
|
+
/**
|
|
5134
|
+
* Renders the clickable element for one row, so routing never enters the design system. Return a
|
|
5135
|
+
* `NavLink` / TanStack `Link` / `<a>` pointing at `targetId` and spread `itemProps` onto it.
|
|
5136
|
+
*/
|
|
5137
|
+
renderItem: (props: SectionNavItemRenderProps) => ReactNode;
|
|
5138
|
+
/** Print each section's `description` under its title. Off — the tree stays scannable without it. */
|
|
5139
|
+
showDescriptions?: boolean;
|
|
5140
|
+
/** Accessible name for the tree's `<nav>`, and the collapsed label with nothing active. */
|
|
5141
|
+
label?: string;
|
|
5142
|
+
/** Applied to the tree's `<nav>`. The column's own geometry belongs to `PageLayout.Content nav`. */
|
|
5143
|
+
className?: string;
|
|
5144
|
+
};
|
|
5145
|
+
/**
|
|
5146
|
+
* In-page grouped navigation for one page's sections: a tree above the container's breakpoint, a
|
|
5147
|
+
* single dropdown below it. Both are rendered and CSS picks one, and both draw their rows through
|
|
5148
|
+
* the same renderer, so the two can never drift apart.
|
|
5149
|
+
*
|
|
5150
|
+
* **This is not `Sidebar`.** `Sidebar` is the app-level left rail — `SidebarProvider`, icon-collapse,
|
|
5151
|
+
* one per app shell, outside `PageLayout`. `SectionNav` is scoped to a single page's sections, lives
|
|
5152
|
+
* inside `PageLayout.Content`, and owns no global state. See `AGENTS.md`.
|
|
5153
|
+
*
|
|
5154
|
+
* **Router-agnostic:** `renderItem` is the seam. Pass it whatever your router calls a link.
|
|
5155
|
+
*
|
|
5156
|
+
* ```tsx
|
|
5157
|
+
* <PageLayout.Content nav={
|
|
5158
|
+
* <SectionNav
|
|
5159
|
+
* groups={groups}
|
|
5160
|
+
* activeId={activeId}
|
|
5161
|
+
* renderItem={({ targetId, children, itemProps }) => (
|
|
5162
|
+
* <Link to={targetId} {...itemProps}>{children}</Link>
|
|
5163
|
+
* )}
|
|
5164
|
+
* />
|
|
5165
|
+
* }>
|
|
5166
|
+
* {page}
|
|
5167
|
+
* </PageLayout.Content>
|
|
5168
|
+
* ```
|
|
5169
|
+
*
|
|
5170
|
+
* The tree↔dropdown switch is a **container** query on the content area's width, never the viewport
|
|
5171
|
+
* — a product sidebar or a chat panel narrows the page without the window resizing.
|
|
5172
|
+
* `PageLayout.Content nav={…}` names that container; standalone, put `tw:@container/section-nav` on
|
|
5173
|
+
* an ancestor yourself.
|
|
5174
|
+
*
|
|
5175
|
+
* @see RECIPES.md#section-nav
|
|
5176
|
+
*/
|
|
5177
|
+
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className, }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
5178
|
+
|
|
5179
|
+
type Props$m = {
|
|
4954
5180
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
4955
5181
|
variant?: 'mark' | 'wordmark';
|
|
4956
5182
|
/** Sets the logo height; aspect ratio is preserved (e.g. `tw:h-7`). */
|
|
@@ -4960,7 +5186,7 @@ type Props$l = {
|
|
|
4960
5186
|
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
4961
5187
|
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
4962
5188
|
*/
|
|
4963
|
-
declare const BrandLogo: ({ variant, className }: Props$
|
|
5189
|
+
declare const BrandLogo: ({ variant, className }: Props$m) => react_jsx_runtime.JSX.Element | null;
|
|
4964
5190
|
|
|
4965
5191
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => react_jsx_runtime.JSX.Element;
|
|
4966
5192
|
|
|
@@ -4972,7 +5198,7 @@ type SidebarState$1 = 'expanded' | 'collapsed';
|
|
|
4972
5198
|
type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
4973
5199
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
4974
5200
|
|
|
4975
|
-
type Props$
|
|
5201
|
+
type Props$l = {
|
|
4976
5202
|
children: ReactNode;
|
|
4977
5203
|
className?: string;
|
|
4978
5204
|
id?: string;
|
|
@@ -4983,7 +5209,7 @@ type Props$k = {
|
|
|
4983
5209
|
resizable?: boolean;
|
|
4984
5210
|
};
|
|
4985
5211
|
declare const Sidebar: {
|
|
4986
|
-
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$
|
|
5212
|
+
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$l): react_jsx_runtime.JSX.Element | null;
|
|
4987
5213
|
Header: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
4988
5214
|
Content: ({ ref, className, children, contentRef }: {
|
|
4989
5215
|
className?: string;
|
|
@@ -5008,12 +5234,12 @@ declare const Sidebar: {
|
|
|
5008
5234
|
translate?: "yes" | "no" | undefined | undefined;
|
|
5009
5235
|
color?: string | undefined | undefined;
|
|
5010
5236
|
prefix?: string | undefined | undefined;
|
|
5011
|
-
id?: string | undefined | undefined;
|
|
5012
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5013
5237
|
label?: ReactNode;
|
|
5014
5238
|
slot?: string | undefined | undefined;
|
|
5015
5239
|
style?: CSSProperties | undefined;
|
|
5016
5240
|
title?: string | undefined | undefined;
|
|
5241
|
+
id?: string | undefined | undefined;
|
|
5242
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5017
5243
|
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
5018
5244
|
key?: react.Key | null | undefined;
|
|
5019
5245
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -5314,13 +5540,13 @@ declare const Sidebar: {
|
|
|
5314
5540
|
size?: number | undefined | undefined;
|
|
5315
5541
|
translate?: "yes" | "no" | undefined | undefined;
|
|
5316
5542
|
color?: string | undefined | undefined;
|
|
5317
|
-
id?: string | undefined | undefined;
|
|
5318
|
-
name?: string | undefined | undefined;
|
|
5319
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5320
5543
|
form?: string | undefined | undefined;
|
|
5321
5544
|
slot?: string | undefined | undefined;
|
|
5322
5545
|
style?: CSSProperties | undefined;
|
|
5323
5546
|
title?: string | undefined | undefined;
|
|
5547
|
+
id?: string | undefined | undefined;
|
|
5548
|
+
name?: string | undefined | undefined;
|
|
5549
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5324
5550
|
pattern?: string | undefined | undefined;
|
|
5325
5551
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
5326
5552
|
key?: react.Key | null | undefined;
|
|
@@ -5638,7 +5864,7 @@ declare const Sidebar: {
|
|
|
5638
5864
|
}) => react_jsx_runtime.JSX.Element;
|
|
5639
5865
|
};
|
|
5640
5866
|
|
|
5641
|
-
type Props$
|
|
5867
|
+
type Props$k = {
|
|
5642
5868
|
children?: ReactNode;
|
|
5643
5869
|
defaultLeftMode?: SidebarMode;
|
|
5644
5870
|
leftMode?: SidebarMode;
|
|
@@ -5656,7 +5882,7 @@ type Props$j = {
|
|
|
5656
5882
|
onRightWidthChange?: (width: number) => void;
|
|
5657
5883
|
defaultFilledSide?: SidebarSide | null;
|
|
5658
5884
|
};
|
|
5659
|
-
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$
|
|
5885
|
+
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$k) => react_jsx_runtime.JSX.Element;
|
|
5660
5886
|
|
|
5661
5887
|
type Input = {
|
|
5662
5888
|
variant: SidebarVariant;
|
|
@@ -5672,12 +5898,12 @@ type EffectiveWidths = {
|
|
|
5672
5898
|
};
|
|
5673
5899
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode, }: Input) => EffectiveWidths;
|
|
5674
5900
|
|
|
5675
|
-
type Props$
|
|
5901
|
+
type Props$j = {
|
|
5676
5902
|
defaultMode?: SidebarMode;
|
|
5677
5903
|
mode?: SidebarMode;
|
|
5678
5904
|
onModeChange?: (state: SidebarMode) => void;
|
|
5679
5905
|
};
|
|
5680
|
-
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$
|
|
5906
|
+
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$j) => {
|
|
5681
5907
|
isHovered: boolean;
|
|
5682
5908
|
toggle: () => void;
|
|
5683
5909
|
setMode: (dispatch: Parameters<react.Dispatch<react.SetStateAction<"expanded" | "collapsed" | "expand-on-hover">>>[0]) => void;
|
|
@@ -5701,13 +5927,19 @@ type SidebarSideValue = SidebarState & {
|
|
|
5701
5927
|
isDragging: boolean;
|
|
5702
5928
|
setIsDragging: (dragging: boolean) => void;
|
|
5703
5929
|
};
|
|
5930
|
+
/**
|
|
5931
|
+
* The sidebar if there is one, `null` otherwise — for code that ENHANCES a page when the app shell is
|
|
5932
|
+
* around it (borrowing width, collapsing a panel) and must still render without one, in a test, a
|
|
5933
|
+
* story, or an embedded surface. Anything that genuinely requires a sidebar keeps `useSidebar`.
|
|
5934
|
+
*/
|
|
5935
|
+
declare const useOptionalSidebar: (side?: SidebarSide) => SidebarSideValue | null;
|
|
5704
5936
|
declare const useSidebar: (side?: SidebarSide) => SidebarSideValue;
|
|
5705
5937
|
|
|
5706
5938
|
declare const separatorVariants: (props?: ({
|
|
5707
5939
|
size?: "full" | "1/2" | "3/4" | null | undefined;
|
|
5708
5940
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5709
5941
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5710
|
-
type Props$
|
|
5942
|
+
type Props$i = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typeof RSeparator.Root>, 'decorative'> & {
|
|
5711
5943
|
/**
|
|
5712
5944
|
* Optional label rendered centered between two line segments
|
|
5713
5945
|
* (typical "OR" divider). Implies `orientation="horizontal"`.
|
|
@@ -5715,12 +5947,12 @@ type Props$h = VariantProps<typeof separatorVariants> & Omit<ComponentProps<type
|
|
|
5715
5947
|
*/
|
|
5716
5948
|
label?: ReactNode;
|
|
5717
5949
|
};
|
|
5718
|
-
declare const Separator: ({ className, orientation, size, label, ...props }: Props$
|
|
5950
|
+
declare const Separator: ({ className, orientation, size, label, ...props }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
5719
5951
|
|
|
5720
5952
|
declare const navbarClassnames: (props?: ({
|
|
5721
5953
|
bordered?: boolean | null | undefined;
|
|
5722
5954
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5723
|
-
type Props$
|
|
5955
|
+
type Props$h = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
5724
5956
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
5725
5957
|
};
|
|
5726
5958
|
/**
|
|
@@ -5738,7 +5970,7 @@ type Props$g = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
|
5738
5970
|
* @see AppShell — pair with `AppShell.Header`; the sidebar rail uses `Sidebar` instead.
|
|
5739
5971
|
*/
|
|
5740
5972
|
declare const Navbar: {
|
|
5741
|
-
({ className, accent, bordered, ...rest }: Props$
|
|
5973
|
+
({ className, accent, bordered, ...rest }: Props$h): react_jsx_runtime.JSX.Element;
|
|
5742
5974
|
Header: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5743
5975
|
Footer: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5744
5976
|
Content: ({ children, className }: {
|
|
@@ -5766,6 +5998,72 @@ declare const Navbar: {
|
|
|
5766
5998
|
}) => react_jsx_runtime.JSX.Element;
|
|
5767
5999
|
};
|
|
5768
6000
|
|
|
6001
|
+
declare const DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM = 2.75;
|
|
6002
|
+
declare const DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX = 320;
|
|
6003
|
+
declare const MIN_WORKBENCH_PANEL_HEIGHT_IN_PX = 120;
|
|
6004
|
+
|
|
6005
|
+
/**
|
|
6006
|
+
* Full screen is a mode of the open panel, not a flag beside it — as two booleans the fourth
|
|
6007
|
+
* combination (collapsed *and* full screen) is expressible but meaningless.
|
|
6008
|
+
*/
|
|
6009
|
+
type WorkbenchState = 'collapsed' | 'expanded' | 'full-screen';
|
|
6010
|
+
type WorkbenchActions = {
|
|
6011
|
+
expand: () => void;
|
|
6012
|
+
collapse: () => void;
|
|
6013
|
+
toggleExpanded: () => void;
|
|
6014
|
+
enterFullScreen: () => void;
|
|
6015
|
+
exitFullScreen: () => void;
|
|
6016
|
+
toggleFullScreen: () => void;
|
|
6017
|
+
};
|
|
6018
|
+
type WorkbenchContextValue = WorkbenchActions & {
|
|
6019
|
+
state: WorkbenchState;
|
|
6020
|
+
setState: Dispatch<SetStateAction<WorkbenchState>>;
|
|
6021
|
+
panelHeight: number;
|
|
6022
|
+
setPanelHeight: Dispatch<SetStateAction<number>>;
|
|
6023
|
+
isResizing: boolean;
|
|
6024
|
+
setIsResizing: (isResizing: boolean) => void;
|
|
6025
|
+
};
|
|
6026
|
+
/**
|
|
6027
|
+
* The parts sit at arbitrary depth under `<Workbench>` — a trigger lives inside the panel header,
|
|
6028
|
+
* three levels down — so the state travels by context rather than props.
|
|
6029
|
+
*/
|
|
6030
|
+
declare const useWorkbench: () => WorkbenchContextValue;
|
|
6031
|
+
|
|
6032
|
+
type Props$g = {
|
|
6033
|
+
className?: string;
|
|
6034
|
+
children: ReactNode;
|
|
6035
|
+
state?: WorkbenchState;
|
|
6036
|
+
defaultState?: WorkbenchState;
|
|
6037
|
+
onStateChange?: (state: WorkbenchState) => void;
|
|
6038
|
+
barHeight?: number;
|
|
6039
|
+
panelHeight?: number;
|
|
6040
|
+
defaultPanelHeight?: number;
|
|
6041
|
+
onPanelHeightChange?: (panelHeight: number) => void;
|
|
6042
|
+
};
|
|
6043
|
+
declare const Workbench: {
|
|
6044
|
+
({ className, children, state: stateProp, defaultState, onStateChange, barHeight, panelHeight: panelHeightProp, defaultPanelHeight, onPanelHeightChange, }: Props$g): react_jsx_runtime.JSX.Element;
|
|
6045
|
+
Bar: {
|
|
6046
|
+
({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
6047
|
+
Start: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6048
|
+
Middle: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6049
|
+
End: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6050
|
+
};
|
|
6051
|
+
BarStart: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6052
|
+
BarMiddle: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6053
|
+
BarEnd: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6054
|
+
Panel: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6055
|
+
PanelHeader: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6056
|
+
PanelTitle: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6057
|
+
PanelActions: ({ className, asChild, ...props }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & {
|
|
6058
|
+
asChild?: boolean;
|
|
6059
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
6060
|
+
PanelContent: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6061
|
+
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
6062
|
+
FullScreenTrigger: ({ asChild, onClick, ...props }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6063
|
+
asChild?: boolean;
|
|
6064
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
6065
|
+
};
|
|
6066
|
+
|
|
5769
6067
|
type Props$f = ComponentProps<'nav'>;
|
|
5770
6068
|
declare const Breadcrumb: {
|
|
5771
6069
|
({ className, ...props }: Props$f): react_jsx_runtime.JSX.Element;
|
|
@@ -5785,7 +6083,7 @@ declare const Breadcrumb: {
|
|
|
5785
6083
|
open?: boolean;
|
|
5786
6084
|
defaultOpen?: boolean;
|
|
5787
6085
|
onOpenChange?: (open: boolean) => void;
|
|
5788
|
-
size?: "
|
|
6086
|
+
size?: "small" | "medium" | "large";
|
|
5789
6087
|
filter?: boolean;
|
|
5790
6088
|
shouldFilter?: boolean;
|
|
5791
6089
|
searchValue?: string;
|
|
@@ -5881,14 +6179,19 @@ declare const Stepper: {
|
|
|
5881
6179
|
|
|
5882
6180
|
declare const cardClassnames: (props?: ({
|
|
5883
6181
|
bordered?: boolean | null | undefined;
|
|
5884
|
-
padding?: "
|
|
6182
|
+
padding?: "small" | "none" | "medium" | "large" | null | undefined;
|
|
5885
6183
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5886
6184
|
|
|
5887
6185
|
type Props$c = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames>;
|
|
5888
6186
|
declare const Card: {
|
|
5889
6187
|
({ children, className, bordered, padding, ...rest }: Props$c): react_jsx_runtime.JSX.Element;
|
|
5890
|
-
Header: ({ children, ...rest }: HTMLAttributes<HTMLDivElement>
|
|
5891
|
-
|
|
6188
|
+
Header: ({ children, className, divider, layout, ...rest }: HTMLAttributes<HTMLDivElement> & {
|
|
6189
|
+
divider?: boolean;
|
|
6190
|
+
layout?: "row" | "inline" | "stack";
|
|
6191
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
6192
|
+
Content: ({ children, className, padded, ...rest }: HTMLAttributes<HTMLDivElement> & {
|
|
6193
|
+
padded?: boolean;
|
|
6194
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
5892
6195
|
Title: ({ children, className, as: Tag, ...rest }: HTMLAttributes<HTMLHeadingElement> & {
|
|
5893
6196
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
5894
6197
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -5951,7 +6254,7 @@ declare const Timeline: {
|
|
|
5951
6254
|
} & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
5952
6255
|
align?: "end" | "start" | "center" | "baseline" | null | undefined;
|
|
5953
6256
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & class_variance_authority.VariantProps<(props?: ({
|
|
5954
|
-
variant?: "
|
|
6257
|
+
variant?: "label" | "none" | "line" | "icon" | null | undefined;
|
|
5955
6258
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
5956
6259
|
};
|
|
5957
6260
|
|
|
@@ -5960,8 +6263,8 @@ type Props$9 = {
|
|
|
5960
6263
|
tooltip?: ReactNode;
|
|
5961
6264
|
twoLines?: boolean;
|
|
5962
6265
|
noTooltip?: boolean;
|
|
5963
|
-
tooltipVariant?: Props$
|
|
5964
|
-
tooltipPlacement?: Props$
|
|
6266
|
+
tooltipVariant?: Props$1N['variant'];
|
|
6267
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
5965
6268
|
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
5966
6269
|
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
5967
6270
|
|
|
@@ -6006,7 +6309,7 @@ declare const Pagination: {
|
|
|
6006
6309
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6007
6310
|
block?: boolean | null | undefined;
|
|
6008
6311
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6009
|
-
size?: "
|
|
6312
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6010
6313
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6011
6314
|
Previous: ({ children, ...props }: {
|
|
6012
6315
|
active?: boolean;
|
|
@@ -6016,7 +6319,7 @@ declare const Pagination: {
|
|
|
6016
6319
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6017
6320
|
block?: boolean | null | undefined;
|
|
6018
6321
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6019
|
-
size?: "
|
|
6322
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6020
6323
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6021
6324
|
Next: ({ children, className, ...props }: {
|
|
6022
6325
|
active?: boolean;
|
|
@@ -6026,7 +6329,7 @@ declare const Pagination: {
|
|
|
6026
6329
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6027
6330
|
block?: boolean | null | undefined;
|
|
6028
6331
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6029
|
-
size?: "
|
|
6332
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6030
6333
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6031
6334
|
Ellipsis: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6032
6335
|
};
|
|
@@ -6286,14 +6589,14 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6286
6589
|
translate?: "yes" | "no" | undefined | undefined;
|
|
6287
6590
|
color?: string | undefined | undefined;
|
|
6288
6591
|
prefix?: react.ReactNode;
|
|
6289
|
-
id?: string | undefined | undefined;
|
|
6290
|
-
name?: string | undefined | undefined;
|
|
6291
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6292
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
6293
6592
|
form?: string | undefined | undefined;
|
|
6294
6593
|
slot?: string | undefined | undefined;
|
|
6295
6594
|
style?: react.CSSProperties | undefined;
|
|
6296
6595
|
title?: string | undefined | undefined;
|
|
6596
|
+
id?: string | undefined | undefined;
|
|
6597
|
+
name?: string | undefined | undefined;
|
|
6598
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6599
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
6297
6600
|
pattern?: string | undefined | undefined;
|
|
6298
6601
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
6299
6602
|
key?: react.Key | null | undefined;
|
|
@@ -6594,7 +6897,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6594
6897
|
readOnly?: boolean | undefined | undefined;
|
|
6595
6898
|
required?: boolean | undefined | undefined;
|
|
6596
6899
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
6597
|
-
sizing?: "
|
|
6900
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
6598
6901
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6599
6902
|
rightSuffix?: react.ReactNode;
|
|
6600
6903
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -6609,14 +6912,14 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6609
6912
|
translate?: "yes" | "no" | undefined | undefined;
|
|
6610
6913
|
color?: string | undefined | undefined;
|
|
6611
6914
|
prefix?: react.ReactNode;
|
|
6612
|
-
id?: string | undefined | undefined;
|
|
6613
|
-
name?: string | undefined | undefined;
|
|
6614
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6615
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
6616
6915
|
form?: string | undefined | undefined;
|
|
6617
6916
|
slot?: string | undefined | undefined;
|
|
6618
6917
|
style?: react.CSSProperties | undefined;
|
|
6619
6918
|
title?: string | undefined | undefined;
|
|
6919
|
+
id?: string | undefined | undefined;
|
|
6920
|
+
name?: string | undefined | undefined;
|
|
6921
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6922
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
6620
6923
|
pattern?: string | undefined | undefined;
|
|
6621
6924
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
6622
6925
|
key?: react.Key | null | undefined;
|
|
@@ -6918,14 +7221,14 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6918
7221
|
readOnly?: boolean | undefined | undefined;
|
|
6919
7222
|
required?: boolean | undefined | undefined;
|
|
6920
7223
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
6921
|
-
sizing?: "
|
|
7224
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
6922
7225
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6923
7226
|
suffix?: react.ReactNode;
|
|
6924
7227
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
6925
7228
|
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6926
7229
|
variant?: "primary" | "secondary" | null | undefined;
|
|
6927
7230
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
6928
|
-
sizing?: "
|
|
7231
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
6929
7232
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6930
7233
|
} & {
|
|
6931
7234
|
content?: string | undefined | undefined;
|
|
@@ -6933,13 +7236,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6933
7236
|
translate?: "yes" | "no" | undefined | undefined;
|
|
6934
7237
|
color?: string | undefined | undefined;
|
|
6935
7238
|
prefix?: string | undefined | undefined;
|
|
6936
|
-
id?: string | undefined | undefined;
|
|
6937
|
-
name?: string | undefined | undefined;
|
|
6938
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6939
7239
|
form?: string | undefined | undefined;
|
|
6940
7240
|
slot?: string | undefined | undefined;
|
|
6941
7241
|
style?: react.CSSProperties | undefined;
|
|
6942
7242
|
title?: string | undefined | undefined;
|
|
7243
|
+
id?: string | undefined | undefined;
|
|
7244
|
+
name?: string | undefined | undefined;
|
|
7245
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6943
7246
|
pattern?: string | undefined | undefined;
|
|
6944
7247
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
6945
7248
|
key?: react.Key | null | undefined;
|
|
@@ -7253,16 +7556,16 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7253
7556
|
wrap?: string | undefined | undefined;
|
|
7254
7557
|
color?: string | undefined | undefined;
|
|
7255
7558
|
prefix?: string | undefined | undefined;
|
|
7256
|
-
id?: string | undefined | undefined;
|
|
7257
|
-
name?: string | undefined | undefined;
|
|
7258
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7259
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
7260
7559
|
form?: string | undefined | undefined;
|
|
7261
7560
|
slot?: string | undefined | undefined;
|
|
7262
7561
|
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
7263
7562
|
height?: number;
|
|
7264
7563
|
}) | undefined;
|
|
7265
7564
|
title?: string | undefined | undefined;
|
|
7565
|
+
id?: string | undefined | undefined;
|
|
7566
|
+
name?: string | undefined | undefined;
|
|
7567
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7568
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
7266
7569
|
ref?: react.Ref<HTMLTextAreaElement> | undefined;
|
|
7267
7570
|
key?: react.Key | null | undefined;
|
|
7268
7571
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -7553,20 +7856,16 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7553
7856
|
cacheMeasurements?: boolean | undefined;
|
|
7554
7857
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
7555
7858
|
disableResize?: boolean | undefined;
|
|
7556
|
-
sizing?: "
|
|
7859
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
7557
7860
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7558
7861
|
containerClassName?: string | undefined;
|
|
7559
7862
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7560
|
-
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "
|
|
7863
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "form" | "name" | "defaultValue" | "dir" | "open" | "defaultOpen" | "onOpenChange" | "disabled" | "value" | "onValueChange" | "autoComplete" | "required"> & Pick<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
7561
7864
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
7562
|
-
sizing?: "
|
|
7865
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
7563
7866
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
7564
7867
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
7565
|
-
variant?: Exclude<class_variance_authority.VariantProps<
|
|
7566
|
-
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
7567
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7568
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
7569
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
7868
|
+
variant?: Exclude<class_variance_authority.VariantProps<typeof overlayTriggerVariants>["variant"], "argo"> | "inline";
|
|
7570
7869
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">, "id" | "variant" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "state" | "placeholder" | "sizing"> & {
|
|
7571
7870
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
7572
7871
|
}, "id" | "name" | "defaultValue" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "value" | "onValueChange" | "items"> & {
|
|
@@ -7578,8 +7877,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7578
7877
|
description?: react.ReactNode;
|
|
7579
7878
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
7580
7879
|
position?: "start" | "end";
|
|
7581
|
-
tooltip?: Props$
|
|
7582
|
-
tooltipPlacement?: Props$
|
|
7880
|
+
tooltip?: Props$1N["tooltip"];
|
|
7881
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
7583
7882
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
7584
7883
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
7585
7884
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -7592,7 +7891,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7592
7891
|
position?: "start" | "end";
|
|
7593
7892
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
7594
7893
|
variant?: "default" | "argo" | null | undefined;
|
|
7595
|
-
size?: "
|
|
7894
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
7596
7895
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
7597
7896
|
readonly OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7598
7897
|
}, {
|
|
@@ -7607,7 +7906,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7607
7906
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
7608
7907
|
block?: boolean | null | undefined;
|
|
7609
7908
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
7610
|
-
size?: "
|
|
7909
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
7611
7910
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
7612
7911
|
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
7613
7912
|
}>;
|
|
@@ -7618,14 +7917,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7618
7917
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7619
7918
|
color?: string | undefined | undefined;
|
|
7620
7919
|
prefix?: react.ReactNode;
|
|
7621
|
-
id?: string | undefined | undefined;
|
|
7622
|
-
name?: string | undefined | undefined;
|
|
7623
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7624
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
7625
7920
|
form?: string | undefined | undefined;
|
|
7626
7921
|
slot?: string | undefined | undefined;
|
|
7627
7922
|
style?: react.CSSProperties | undefined;
|
|
7628
7923
|
title?: string | undefined | undefined;
|
|
7924
|
+
id?: string | undefined | undefined;
|
|
7925
|
+
name?: string | undefined | undefined;
|
|
7926
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7927
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
7629
7928
|
pattern?: string | undefined | undefined;
|
|
7630
7929
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
7631
7930
|
key?: react.Key | null | undefined;
|
|
@@ -7926,7 +8225,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7926
8225
|
readOnly?: boolean | undefined | undefined;
|
|
7927
8226
|
required?: boolean | undefined | undefined;
|
|
7928
8227
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
7929
|
-
sizing?: "
|
|
8228
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
7930
8229
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7931
8230
|
rightSuffix?: react.ReactNode;
|
|
7932
8231
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -7941,14 +8240,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7941
8240
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7942
8241
|
color?: string | undefined | undefined;
|
|
7943
8242
|
prefix?: react.ReactNode;
|
|
7944
|
-
id?: string | undefined | undefined;
|
|
7945
|
-
name?: string | undefined | undefined;
|
|
7946
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7947
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
7948
8243
|
form?: string | undefined | undefined;
|
|
7949
8244
|
slot?: string | undefined | undefined;
|
|
7950
8245
|
style?: react.CSSProperties | undefined;
|
|
7951
8246
|
title?: string | undefined | undefined;
|
|
8247
|
+
id?: string | undefined | undefined;
|
|
8248
|
+
name?: string | undefined | undefined;
|
|
8249
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8250
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
7952
8251
|
pattern?: string | undefined | undefined;
|
|
7953
8252
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
7954
8253
|
key?: react.Key | null | undefined;
|
|
@@ -8250,14 +8549,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8250
8549
|
readOnly?: boolean | undefined | undefined;
|
|
8251
8550
|
required?: boolean | undefined | undefined;
|
|
8252
8551
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
8253
|
-
sizing?: "
|
|
8552
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8254
8553
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8255
8554
|
suffix?: react.ReactNode;
|
|
8256
8555
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8257
8556
|
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8258
8557
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8259
8558
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8260
|
-
sizing?: "
|
|
8559
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8261
8560
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8262
8561
|
} & {
|
|
8263
8562
|
content?: string | undefined | undefined;
|
|
@@ -8265,13 +8564,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8265
8564
|
translate?: "yes" | "no" | undefined | undefined;
|
|
8266
8565
|
color?: string | undefined | undefined;
|
|
8267
8566
|
prefix?: string | undefined | undefined;
|
|
8268
|
-
id?: string | undefined | undefined;
|
|
8269
|
-
name?: string | undefined | undefined;
|
|
8270
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8271
8567
|
form?: string | undefined | undefined;
|
|
8272
8568
|
slot?: string | undefined | undefined;
|
|
8273
8569
|
style?: react.CSSProperties | undefined;
|
|
8274
8570
|
title?: string | undefined | undefined;
|
|
8571
|
+
id?: string | undefined | undefined;
|
|
8572
|
+
name?: string | undefined | undefined;
|
|
8573
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8275
8574
|
pattern?: string | undefined | undefined;
|
|
8276
8575
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
8277
8576
|
key?: react.Key | null | undefined;
|
|
@@ -8585,16 +8884,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8585
8884
|
wrap?: string | undefined | undefined;
|
|
8586
8885
|
color?: string | undefined | undefined;
|
|
8587
8886
|
prefix?: string | undefined | undefined;
|
|
8588
|
-
id?: string | undefined | undefined;
|
|
8589
|
-
name?: string | undefined | undefined;
|
|
8590
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8591
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
8592
8887
|
form?: string | undefined | undefined;
|
|
8593
8888
|
slot?: string | undefined | undefined;
|
|
8594
8889
|
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
8595
8890
|
height?: number;
|
|
8596
8891
|
}) | undefined;
|
|
8597
8892
|
title?: string | undefined | undefined;
|
|
8893
|
+
id?: string | undefined | undefined;
|
|
8894
|
+
name?: string | undefined | undefined;
|
|
8895
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8896
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
8598
8897
|
ref?: react.Ref<HTMLTextAreaElement> | undefined;
|
|
8599
8898
|
key?: react.Key | null | undefined;
|
|
8600
8899
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -8885,20 +9184,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8885
9184
|
cacheMeasurements?: boolean | undefined;
|
|
8886
9185
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
8887
9186
|
disableResize?: boolean | undefined;
|
|
8888
|
-
sizing?: "
|
|
9187
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8889
9188
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8890
9189
|
containerClassName?: string | undefined;
|
|
8891
9190
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8892
|
-
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "
|
|
9191
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "form" | "name" | "defaultValue" | "dir" | "open" | "defaultOpen" | "onOpenChange" | "disabled" | "value" | "onValueChange" | "autoComplete" | "required"> & Pick<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
8893
9192
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
8894
|
-
sizing?: "
|
|
9193
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8895
9194
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8896
9195
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
8897
|
-
variant?: Exclude<class_variance_authority.VariantProps<
|
|
8898
|
-
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
8899
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8900
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
8901
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
9196
|
+
variant?: Exclude<class_variance_authority.VariantProps<typeof overlayTriggerVariants>["variant"], "argo"> | "inline";
|
|
8902
9197
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">, "id" | "variant" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "state" | "placeholder" | "sizing"> & {
|
|
8903
9198
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
8904
9199
|
}, "id" | "name" | "defaultValue" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "value" | "onValueChange" | "items"> & {
|
|
@@ -8910,8 +9205,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8910
9205
|
description?: react.ReactNode;
|
|
8911
9206
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
8912
9207
|
position?: "start" | "end";
|
|
8913
|
-
tooltip?: Props$
|
|
8914
|
-
tooltipPlacement?: Props$
|
|
9208
|
+
tooltip?: Props$1N["tooltip"];
|
|
9209
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
8915
9210
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
8916
9211
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
8917
9212
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -8924,7 +9219,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8924
9219
|
position?: "start" | "end";
|
|
8925
9220
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
8926
9221
|
variant?: "default" | "argo" | null | undefined;
|
|
8927
|
-
size?: "
|
|
9222
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
8928
9223
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
8929
9224
|
readonly OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
8930
9225
|
}, {
|
|
@@ -8939,7 +9234,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8939
9234
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
8940
9235
|
block?: boolean | null | undefined;
|
|
8941
9236
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
8942
|
-
size?: "
|
|
9237
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
8943
9238
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
8944
9239
|
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
8945
9240
|
}, TRenderProps>) => react.FunctionComponent<react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
@@ -8950,14 +9245,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8950
9245
|
translate?: "yes" | "no" | undefined | undefined;
|
|
8951
9246
|
color?: string | undefined | undefined;
|
|
8952
9247
|
prefix?: react.ReactNode;
|
|
8953
|
-
id?: string | undefined | undefined;
|
|
8954
|
-
name?: string | undefined | undefined;
|
|
8955
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8956
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
8957
9248
|
form?: string | undefined | undefined;
|
|
8958
9249
|
slot?: string | undefined | undefined;
|
|
8959
9250
|
style?: react.CSSProperties | undefined;
|
|
8960
9251
|
title?: string | undefined | undefined;
|
|
9252
|
+
id?: string | undefined | undefined;
|
|
9253
|
+
name?: string | undefined | undefined;
|
|
9254
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9255
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
8961
9256
|
pattern?: string | undefined | undefined;
|
|
8962
9257
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
8963
9258
|
key?: react.Key | null | undefined;
|
|
@@ -9258,7 +9553,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9258
9553
|
readOnly?: boolean | undefined | undefined;
|
|
9259
9554
|
required?: boolean | undefined | undefined;
|
|
9260
9555
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
9261
|
-
sizing?: "
|
|
9556
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
9262
9557
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9263
9558
|
rightSuffix?: react.ReactNode;
|
|
9264
9559
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -9273,14 +9568,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9273
9568
|
translate?: "yes" | "no" | undefined | undefined;
|
|
9274
9569
|
color?: string | undefined | undefined;
|
|
9275
9570
|
prefix?: react.ReactNode;
|
|
9276
|
-
id?: string | undefined | undefined;
|
|
9277
|
-
name?: string | undefined | undefined;
|
|
9278
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9279
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
9280
9571
|
form?: string | undefined | undefined;
|
|
9281
9572
|
slot?: string | undefined | undefined;
|
|
9282
9573
|
style?: react.CSSProperties | undefined;
|
|
9283
9574
|
title?: string | undefined | undefined;
|
|
9575
|
+
id?: string | undefined | undefined;
|
|
9576
|
+
name?: string | undefined | undefined;
|
|
9577
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9578
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
9284
9579
|
pattern?: string | undefined | undefined;
|
|
9285
9580
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
9286
9581
|
key?: react.Key | null | undefined;
|
|
@@ -9582,14 +9877,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9582
9877
|
readOnly?: boolean | undefined | undefined;
|
|
9583
9878
|
required?: boolean | undefined | undefined;
|
|
9584
9879
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
9585
|
-
sizing?: "
|
|
9880
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
9586
9881
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9587
9882
|
suffix?: react.ReactNode;
|
|
9588
9883
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9589
9884
|
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9590
9885
|
variant?: "primary" | "secondary" | null | undefined;
|
|
9591
9886
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
9592
|
-
sizing?: "
|
|
9887
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
9593
9888
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9594
9889
|
} & {
|
|
9595
9890
|
content?: string | undefined | undefined;
|
|
@@ -9597,13 +9892,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9597
9892
|
translate?: "yes" | "no" | undefined | undefined;
|
|
9598
9893
|
color?: string | undefined | undefined;
|
|
9599
9894
|
prefix?: string | undefined | undefined;
|
|
9600
|
-
id?: string | undefined | undefined;
|
|
9601
|
-
name?: string | undefined | undefined;
|
|
9602
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9603
9895
|
form?: string | undefined | undefined;
|
|
9604
9896
|
slot?: string | undefined | undefined;
|
|
9605
9897
|
style?: react.CSSProperties | undefined;
|
|
9606
9898
|
title?: string | undefined | undefined;
|
|
9899
|
+
id?: string | undefined | undefined;
|
|
9900
|
+
name?: string | undefined | undefined;
|
|
9901
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9607
9902
|
pattern?: string | undefined | undefined;
|
|
9608
9903
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
9609
9904
|
key?: react.Key | null | undefined;
|
|
@@ -9917,16 +10212,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9917
10212
|
wrap?: string | undefined | undefined;
|
|
9918
10213
|
color?: string | undefined | undefined;
|
|
9919
10214
|
prefix?: string | undefined | undefined;
|
|
9920
|
-
id?: string | undefined | undefined;
|
|
9921
|
-
name?: string | undefined | undefined;
|
|
9922
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9923
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
9924
10215
|
form?: string | undefined | undefined;
|
|
9925
10216
|
slot?: string | undefined | undefined;
|
|
9926
10217
|
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
9927
10218
|
height?: number;
|
|
9928
10219
|
}) | undefined;
|
|
9929
10220
|
title?: string | undefined | undefined;
|
|
10221
|
+
id?: string | undefined | undefined;
|
|
10222
|
+
name?: string | undefined | undefined;
|
|
10223
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
10224
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
9930
10225
|
ref?: react.Ref<HTMLTextAreaElement> | undefined;
|
|
9931
10226
|
key?: react.Key | null | undefined;
|
|
9932
10227
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -10217,20 +10512,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10217
10512
|
cacheMeasurements?: boolean | undefined;
|
|
10218
10513
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
10219
10514
|
disableResize?: boolean | undefined;
|
|
10220
|
-
sizing?: "
|
|
10515
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
10221
10516
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10222
10517
|
containerClassName?: string | undefined;
|
|
10223
10518
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10224
|
-
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "
|
|
10519
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "form" | "name" | "defaultValue" | "dir" | "open" | "defaultOpen" | "onOpenChange" | "disabled" | "value" | "onValueChange" | "autoComplete" | "required"> & Pick<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10225
10520
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
10226
|
-
sizing?: "
|
|
10521
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
10227
10522
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
10228
10523
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
10229
|
-
variant?: Exclude<class_variance_authority.VariantProps<
|
|
10230
|
-
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
10231
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10232
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
10233
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
10524
|
+
variant?: Exclude<class_variance_authority.VariantProps<typeof overlayTriggerVariants>["variant"], "argo"> | "inline";
|
|
10234
10525
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">, "id" | "variant" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "state" | "placeholder" | "sizing"> & {
|
|
10235
10526
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
10236
10527
|
}, "id" | "name" | "defaultValue" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "value" | "onValueChange" | "items"> & {
|
|
@@ -10242,8 +10533,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10242
10533
|
description?: react.ReactNode;
|
|
10243
10534
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10244
10535
|
position?: "start" | "end";
|
|
10245
|
-
tooltip?: Props$
|
|
10246
|
-
tooltipPlacement?: Props$
|
|
10536
|
+
tooltip?: Props$1N["tooltip"];
|
|
10537
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
10247
10538
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10248
10539
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10249
10540
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10256,7 +10547,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10256
10547
|
position?: "start" | "end";
|
|
10257
10548
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10258
10549
|
variant?: "default" | "argo" | null | undefined;
|
|
10259
|
-
size?: "
|
|
10550
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
10260
10551
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10261
10552
|
readonly OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
10262
10553
|
}, {
|
|
@@ -10271,7 +10562,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10271
10562
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
10272
10563
|
block?: boolean | null | undefined;
|
|
10273
10564
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
10274
|
-
size?: "
|
|
10565
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
10275
10566
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
10276
10567
|
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
10277
10568
|
}>;
|
|
@@ -10322,6 +10613,24 @@ declare const useScrollbarPosition: () => {
|
|
|
10322
10613
|
isNone: boolean;
|
|
10323
10614
|
};
|
|
10324
10615
|
|
|
10616
|
+
/**
|
|
10617
|
+
* A callback with a permanently stable identity that always sees the latest
|
|
10618
|
+
* render's values — for any consumer that keys off the handler's identity: a
|
|
10619
|
+
* third-party component that redoes expensive work when it changes, or a
|
|
10620
|
+
* memoized context value.
|
|
10621
|
+
*
|
|
10622
|
+
* React 19.2's `useEffectEvent` does this in one line, but it is scoped to
|
|
10623
|
+
* Effects and explicitly not to be passed to another component, which is the
|
|
10624
|
+
* whole point here.
|
|
10625
|
+
*
|
|
10626
|
+
* The swap is a layout effect rather than a passive one so it lands before the
|
|
10627
|
+
* browser can paint and accept input against the previous render's handler. It
|
|
10628
|
+
* is still an effect, and a child's runs before its parent's — so a consumer
|
|
10629
|
+
* calling the returned function from its own layout effect can still see the
|
|
10630
|
+
* previous render's closure.
|
|
10631
|
+
*/
|
|
10632
|
+
declare const useStableCallback: <Args extends unknown[], Result>(callback: (...args: Args) => Result) => ((...args: Args) => Result);
|
|
10633
|
+
|
|
10325
10634
|
declare const cn: (...classes: ClassValue[]) => string;
|
|
10326
10635
|
|
|
10327
10636
|
declare const copyToClipboard: (text: string) => Promise<void>;
|
|
@@ -10410,4 +10719,4 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
10410
10719
|
/** WCAG level for normal-size text at a given ratio. */
|
|
10411
10720
|
declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
|
|
10412
10721
|
|
|
10413
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$
|
|
10722
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$P as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, type AppShellHeaderSpan, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, ExportMenu, type ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$N as InlineStepDetailProps, InlineStepLabel, type Props$M as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkedText, MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$7 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1o as Props, Question, type QuestionAnswers, QuestionBlock, type Props$F as QuestionBlockProps, type QuestionOption, type Props$G as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavItemRenderProps, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1N as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useWorkbench, wcagLevel, withForm };
|