@keboola/design 6.4.0 → 6.5.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 +2 -3
- package/COMPONENT-API.md +164 -156
- package/README.md +2 -2
- package/dist/editors.cjs +7 -9
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +7 -9
- package/dist/editors.js.map +1 -1
- package/dist/icons.cjs +1 -0
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.js +1 -0
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +5331 -5477
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +501 -1063
- package/dist/index.d.ts +501 -1063
- package/dist/index.js +5347 -5494
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +228 -241
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +228 -241
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +64 -33
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +64 -33
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +1449 -1501
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +1451 -1503
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +2 -2
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.js.map +1 -1
- package/package.json +8 -7
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ComponentProps,
|
|
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, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
|
|
4
4
|
import * as class_variance_authority from 'class-variance-authority';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -23,7 +23,7 @@ import { Command as Command$1 } from 'cmdk';
|
|
|
23
23
|
export { defaultFilter, useCommandState } from 'cmdk';
|
|
24
24
|
import * as react_textarea_autosize from 'react-textarea-autosize';
|
|
25
25
|
import react_textarea_autosize__default from 'react-textarea-autosize';
|
|
26
|
-
import { Matcher, DateRange as DateRange$1
|
|
26
|
+
import { PropsBase, PropsSingle, PropsRange, Matcher, DateRange as DateRange$1 } from 'react-day-picker';
|
|
27
27
|
import { LabelProps as LabelProps$1 } from '@radix-ui/react-label';
|
|
28
28
|
import * as _radix_ui_react_switch from '@radix-ui/react-switch';
|
|
29
29
|
import { Root as Root$6 } from '@radix-ui/react-switch';
|
|
@@ -74,7 +74,7 @@ declare const argoVariants: (props?: ({
|
|
|
74
74
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
75
75
|
* composed as children — `<Button><Trash2 className="tw-size-4" /> Delete</Button>`.
|
|
76
76
|
*/
|
|
77
|
-
type Props$
|
|
77
|
+
type Props$1R = {
|
|
78
78
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
79
79
|
isLoading?: boolean;
|
|
80
80
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
@@ -93,37 +93,31 @@ type Props$1X = {
|
|
|
93
93
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
94
94
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
95
95
|
*/
|
|
96
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
97
|
-
ref?: Ref<ElementRef<"button">>;
|
|
98
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
96
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$1R) => react_jsx_runtime.JSX.Element;
|
|
99
97
|
|
|
100
98
|
declare const buttonInlineVariants: (props?: ({
|
|
101
99
|
color?: "dark" | "muted" | "link" | "danger" | "custom" | null | undefined;
|
|
102
100
|
variant?: "link" | "custom" | "link-reverse" | null | undefined;
|
|
103
101
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
|
-
type Props$
|
|
102
|
+
type Props$1Q = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
105
103
|
asChild?: boolean;
|
|
106
104
|
};
|
|
107
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
108
|
-
ref?: Ref<ElementRef<"button">>;
|
|
109
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
105
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$1Q) => react_jsx_runtime.JSX.Element;
|
|
110
106
|
|
|
111
107
|
declare const buttonGroupVariant: (props?: ({
|
|
112
108
|
variant?: "inline" | "block" | null | undefined;
|
|
113
109
|
space?: "medium" | "small" | "large" | "extra-small" | "little-small" | "compact" | null | undefined;
|
|
114
110
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
115
|
-
type Props$
|
|
111
|
+
type Props$1P = {
|
|
116
112
|
children: ReactNode;
|
|
117
113
|
className?: string;
|
|
118
114
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
119
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
120
|
-
ref?: Ref<ElementRef<"div">>;
|
|
121
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
115
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$1P) => react_jsx_runtime.JSX.Element;
|
|
122
116
|
|
|
123
117
|
type Variant$8 = ComponentProps<typeof Button>['variant'];
|
|
124
118
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
125
119
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
126
|
-
type Props$
|
|
120
|
+
type Props$1O = {
|
|
127
121
|
actions?: ReactNode;
|
|
128
122
|
isActionsOpen?: boolean;
|
|
129
123
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -132,25 +126,21 @@ type Props$1U = {
|
|
|
132
126
|
variant?: Exclude<Variant$8, 'inline' | 'invisible'>;
|
|
133
127
|
size?: SpitButtonSize;
|
|
134
128
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
135
|
-
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$
|
|
136
|
-
ref
|
|
137
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
138
|
-
Action: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: (_radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
129
|
+
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$1O) => react_jsx_runtime.JSX.Element) & {
|
|
130
|
+
Action: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
139
131
|
asModalTrigger?: boolean;
|
|
140
132
|
icon?: ReactNode;
|
|
141
133
|
isLoading?: boolean;
|
|
142
134
|
iconClassName?: string;
|
|
143
|
-
}) & {
|
|
144
|
-
ref?: Ref<ElementRef<"div">>;
|
|
145
135
|
}) => react_jsx_runtime.JSX.Element;
|
|
146
136
|
Actions: react.ForwardRefExoticComponent<_radix_ui_react_dropdown_menu.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
147
137
|
};
|
|
148
138
|
|
|
149
|
-
type Props$
|
|
139
|
+
type Props$1N = {
|
|
150
140
|
className?: string;
|
|
151
141
|
} & PropsWithChildren;
|
|
152
142
|
declare const MultiActionButtonGroup: {
|
|
153
|
-
({ children, className }: Props$
|
|
143
|
+
({ children, className }: Props$1N): react_jsx_runtime.JSX.Element;
|
|
154
144
|
Button: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, "data-testid": dataTestId, }: {
|
|
155
145
|
disabled?: boolean;
|
|
156
146
|
icon: react.ReactNode;
|
|
@@ -168,36 +158,30 @@ declare const toggleVariants: (props?: ({
|
|
|
168
158
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
169
159
|
iconOnly?: boolean | null | undefined;
|
|
170
160
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
171
|
-
type Props$
|
|
161
|
+
type Props$1M = {
|
|
172
162
|
icon?: ReactNode;
|
|
173
163
|
badge?: ReactNode;
|
|
174
164
|
} & ComponentProps<typeof Root> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly'>;
|
|
175
|
-
declare const Toggle: ({ ref, className, variant, size, children, icon, badge, disabled, ...props }: Props$
|
|
176
|
-
ref?: Ref<ElementRef<"button">>;
|
|
177
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
165
|
+
declare const Toggle: ({ ref, className, variant, size, children, icon, badge, disabled, ...props }: Props$1M) => react_jsx_runtime.JSX.Element;
|
|
178
166
|
|
|
179
167
|
declare const rootVariants: (props?: ({
|
|
180
168
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
181
169
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
182
170
|
type RootProps$8 = ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof rootVariants>;
|
|
183
171
|
type ItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
184
|
-
declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$8 & {
|
|
185
|
-
ref?: Ref<ElementRef<"div">>;
|
|
186
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
172
|
+
declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$8) => react_jsx_runtime.JSX.Element) & {
|
|
187
173
|
/** Individual segment inside a `ToggleGroup`. `value` is required and must be unique within the group. */
|
|
188
|
-
Item: ({ ref, className, ...props }: ItemProps
|
|
189
|
-
ref?: Ref<ElementRef<"button">>;
|
|
190
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
174
|
+
Item: ({ ref, className, ...props }: ItemProps) => react_jsx_runtime.JSX.Element;
|
|
191
175
|
};
|
|
192
176
|
|
|
193
177
|
declare const tooltipVariants: (props?: ({
|
|
194
178
|
variant?: "action" | "explanatory" | null | undefined;
|
|
195
179
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
196
|
-
type Props$
|
|
180
|
+
type Props$1L = {
|
|
197
181
|
keepOpenOnPointerDownOutside?: boolean;
|
|
198
182
|
placement?: ComponentProps<typeof Content>['side'];
|
|
199
183
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
200
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
184
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$1L) => react_jsx_runtime.JSX.Element;
|
|
201
185
|
|
|
202
186
|
type TriggerProps$1 = {
|
|
203
187
|
triggerAsChild?: boolean;
|
|
@@ -206,7 +190,7 @@ type TriggerProps$1 = {
|
|
|
206
190
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
207
191
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
208
192
|
*/
|
|
209
|
-
type Props$
|
|
193
|
+
type Props$1K = {
|
|
210
194
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
211
195
|
keepOpenOnTriggerClick?: boolean;
|
|
212
196
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -217,6 +201,8 @@ type Props$1Q = {
|
|
|
217
201
|
forceHide?: boolean;
|
|
218
202
|
/** Forcibly show the tooltip regardless of hover state. Useful for guided-tour overlays. */
|
|
219
203
|
forceShow?: boolean;
|
|
204
|
+
/** Hover delay before the tooltip opens, in ms. Defaults to the shared 300ms. */
|
|
205
|
+
delayDuration?: number;
|
|
220
206
|
className?: string;
|
|
221
207
|
} & TriggerProps$1 & Pick<ComponentProps<typeof TooltipContent>, 'variant' | 'className'>;
|
|
222
208
|
/** Re-export of Radix `Tooltip.Provider`. Mount once at the app root so tooltips share delay state. */
|
|
@@ -236,7 +222,7 @@ declare const TooltipProvider: react.FC<_radix_ui_react_tooltip.TooltipProviderP
|
|
|
236
222
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
237
223
|
*/
|
|
238
224
|
declare const Tooltip: {
|
|
239
|
-
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, triggerAsChild, }: Props$
|
|
225
|
+
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild, }: Props$1K): react_jsx_runtime.JSX.Element;
|
|
240
226
|
Root: ({ children, delayDuration, ...rest }: _radix_ui_react_tooltip.TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
241
227
|
Content: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: {
|
|
242
228
|
keepOpenOnPointerDownOutside?: boolean;
|
|
@@ -244,37 +230,33 @@ declare const Tooltip: {
|
|
|
244
230
|
} & Omit<_radix_ui_react_tooltip.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "side"> & class_variance_authority.VariantProps<(props?: ({
|
|
245
231
|
variant?: "action" | "explanatory" | null | undefined;
|
|
246
232
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
247
|
-
Trigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }:
|
|
233
|
+
Trigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }: {
|
|
248
234
|
keepOpenOnClick?: boolean;
|
|
249
|
-
} & _radix_ui_react_tooltip.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>)
|
|
250
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
251
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
235
|
+
} & _radix_ui_react_tooltip.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
252
236
|
};
|
|
253
237
|
|
|
254
|
-
type Props$
|
|
255
|
-
tooltip?: Props$
|
|
256
|
-
tooltipPlacement?: Props$
|
|
257
|
-
tooltipVariant?: Props$
|
|
258
|
-
asChild?: Props$
|
|
238
|
+
type Props$1J = {
|
|
239
|
+
tooltip?: Props$1K['tooltip'];
|
|
240
|
+
tooltipPlacement?: Props$1K['placement'];
|
|
241
|
+
tooltipVariant?: Props$1K['variant'];
|
|
242
|
+
asChild?: Props$1K['triggerAsChild'];
|
|
259
243
|
text?: string | (() => string);
|
|
260
244
|
} & ComponentProps<'button'>;
|
|
261
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
262
|
-
ref?: Ref<ElementRef<"button">>;
|
|
263
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
245
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$1J) => react_jsx_runtime.JSX.Element;
|
|
264
246
|
|
|
265
247
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
266
248
|
type ButtonProps$2 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
267
|
-
type Props$
|
|
249
|
+
type Props$1I = ClipboardProps$1 & ButtonProps$2 & {
|
|
268
250
|
icon?: ReactNode;
|
|
269
251
|
};
|
|
270
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
252
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$1I) => react_jsx_runtime.JSX.Element;
|
|
271
253
|
|
|
272
254
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
273
255
|
type ButtonProps$1 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
274
|
-
type Props$
|
|
256
|
+
type Props$1H = {
|
|
275
257
|
hideIcon?: boolean;
|
|
276
258
|
} & ClipboardProps & ButtonProps$1;
|
|
277
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
259
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$1H) => react_jsx_runtime.JSX.Element;
|
|
278
260
|
|
|
279
261
|
/**
|
|
280
262
|
* Compound component for readonly value/command boxes with inline copy.
|
|
@@ -321,13 +303,14 @@ declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVarian
|
|
|
321
303
|
*/
|
|
322
304
|
declare const CopyField: {
|
|
323
305
|
/** Container. Owns the copied `value`, mask state, and copy context. */
|
|
324
|
-
Root: ({ value, mono, onCopy, hiddenByDefault, minLines, maxLines, className, children, }: {
|
|
306
|
+
Root: ({ value, mono, onCopy, hiddenByDefault, minLines, maxLines, hoverHint, className, children, }: {
|
|
325
307
|
value: string;
|
|
326
308
|
mono?: boolean;
|
|
327
309
|
onCopy?: () => void;
|
|
328
310
|
hiddenByDefault?: boolean;
|
|
329
311
|
minLines?: number;
|
|
330
312
|
maxLines?: number;
|
|
313
|
+
hoverHint?: boolean;
|
|
331
314
|
className?: string;
|
|
332
315
|
children: react.ReactNode;
|
|
333
316
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -385,11 +368,11 @@ declare const LABELS$1: {
|
|
|
385
368
|
readonly signup: "Sign up with Microsoft";
|
|
386
369
|
readonly continue: "Continue with Microsoft";
|
|
387
370
|
};
|
|
388
|
-
type Props$
|
|
371
|
+
type Props$1G = ComponentPropsWithRef<'button'> & {
|
|
389
372
|
label?: keyof typeof LABELS$1;
|
|
390
373
|
isLoading?: boolean;
|
|
391
374
|
};
|
|
392
|
-
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
375
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1G) => react_jsx_runtime.JSX.Element;
|
|
393
376
|
|
|
394
377
|
declare const LABELS: {
|
|
395
378
|
readonly signin: "Sign in with Google";
|
|
@@ -402,16 +385,14 @@ declare const variants$3: (props?: ({
|
|
|
402
385
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
403
386
|
size?: "icon" | "default" | null | undefined;
|
|
404
387
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
405
|
-
type Props$
|
|
388
|
+
type Props$1F = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$3> & {
|
|
406
389
|
label?: keyof typeof LABELS;
|
|
407
390
|
isLoading?: boolean;
|
|
408
391
|
};
|
|
409
|
-
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
392
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1F) => react_jsx_runtime.JSX.Element;
|
|
410
393
|
|
|
411
|
-
type Props$
|
|
412
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
413
|
-
ref?: Ref<ElementRef<"a">>;
|
|
414
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
394
|
+
type Props$1E = ComponentProps<'a'>;
|
|
395
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1E) => react_jsx_runtime.JSX.Element;
|
|
415
396
|
|
|
416
397
|
/**
|
|
417
398
|
* AlertModal status variants. Mirrors `Alert`'s set but exposes `danger` (not `error`) since an
|
|
@@ -421,13 +402,13 @@ type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
|
421
402
|
|
|
422
403
|
type ConfirmHandler = (event: MouseEvent$1<HTMLButtonElement>) => void | Promise<unknown>;
|
|
423
404
|
type CancelHandler = (event: MouseEvent$1<HTMLButtonElement>) => void;
|
|
424
|
-
type Props$
|
|
405
|
+
type Props$1D = {
|
|
425
406
|
onConfirm?: ConfirmHandler;
|
|
426
407
|
onCancel?: CancelHandler;
|
|
427
408
|
skipAsyncWait?: boolean;
|
|
428
409
|
} & ComponentProps<typeof Root$1>;
|
|
429
410
|
declare const AlertModal: {
|
|
430
|
-
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
411
|
+
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$1D): react_jsx_runtime.JSX.Element;
|
|
431
412
|
Trigger: ({ ref, onClick, onKeyDown, ...props }: _radix_ui_react_alert_dialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
432
413
|
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, container, className, children, onEscapeKeyDown, ...props }: {
|
|
433
414
|
variant?: AlertModalVariant;
|
|
@@ -439,7 +420,7 @@ declare const AlertModal: {
|
|
|
439
420
|
} & Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "title">) => react_jsx_runtime.JSX.Element;
|
|
440
421
|
};
|
|
441
422
|
|
|
442
|
-
type Props$
|
|
423
|
+
type Props$1C = ComponentProps<typeof Root$2>;
|
|
443
424
|
/**
|
|
444
425
|
* Blocking dialog for confirmations, forms, and detail views. Built on Radix Dialog.
|
|
445
426
|
*
|
|
@@ -455,7 +436,7 @@ type Props$1I = ComponentProps<typeof Root$2>;
|
|
|
455
436
|
* @see RECIPES.md#confirm-dialog — for destructive-confirm dialogs
|
|
456
437
|
*/
|
|
457
438
|
declare const Modal: {
|
|
458
|
-
(props: Props$
|
|
439
|
+
(props: Props$1C): react_jsx_runtime.JSX.Element;
|
|
459
440
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
460
441
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
461
442
|
Content: ({ size, className, children, onEscapeKeyDown, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -480,10 +461,8 @@ declare const Modal: {
|
|
|
480
461
|
actions?: react.ReactNode;
|
|
481
462
|
hideCloseIcon?: boolean;
|
|
482
463
|
} & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
483
|
-
Overlay: ({ ref, className, disableTransition, ...props }:
|
|
464
|
+
Overlay: ({ ref, className, disableTransition, ...props }: _radix_ui_react_dialog.DialogOverlayProps & react.RefAttributes<HTMLDivElement> & {
|
|
484
465
|
disableTransition?: boolean;
|
|
485
|
-
}) & {
|
|
486
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
487
466
|
}) => react_jsx_runtime.JSX.Element;
|
|
488
467
|
};
|
|
489
468
|
|
|
@@ -508,7 +487,7 @@ declare const FullScreenModal: (({ children, className, lockBodyScroll, onEscape
|
|
|
508
487
|
}) => react_jsx_runtime.JSX.Element;
|
|
509
488
|
};
|
|
510
489
|
|
|
511
|
-
type Props$
|
|
490
|
+
type Props$1B = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
512
491
|
title: ReactNode;
|
|
513
492
|
titleClassName?: string;
|
|
514
493
|
titleWrapperClassName?: string;
|
|
@@ -517,16 +496,16 @@ type Props$1H = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
517
496
|
onClose?: () => void;
|
|
518
497
|
showPreviousTitle?: boolean;
|
|
519
498
|
}>;
|
|
520
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
499
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$1B) => react_jsx_runtime.JSX.Element;
|
|
521
500
|
|
|
522
|
-
type Props$
|
|
523
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
501
|
+
type Props$1A = HTMLAttributes<HTMLDivElement>;
|
|
502
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$1A & {
|
|
524
503
|
ref?: Ref<HTMLDivElement>;
|
|
525
504
|
}) => react_jsx_runtime.JSX.Element;
|
|
526
505
|
|
|
527
|
-
type Props$
|
|
506
|
+
type Props$1z = ComponentProps<typeof Root$2>;
|
|
528
507
|
declare const Sheet: {
|
|
529
|
-
(props: Props$
|
|
508
|
+
(props: Props$1z): react_jsx_runtime.JSX.Element;
|
|
530
509
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
531
510
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
532
511
|
Content: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -549,18 +528,16 @@ declare const Sheet: {
|
|
|
549
528
|
Body: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
550
529
|
};
|
|
551
530
|
|
|
552
|
-
type Props$
|
|
531
|
+
type Props$1y = ComponentProps<typeof Root$3>;
|
|
553
532
|
declare const Popover: {
|
|
554
|
-
(props: Props$
|
|
533
|
+
(props: Props$1y): react_jsx_runtime.JSX.Element;
|
|
555
534
|
/**
|
|
556
535
|
* Main Layout
|
|
557
536
|
*/
|
|
558
|
-
Content: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, ...props }:
|
|
537
|
+
Content: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, ...props }: _radix_ui_react_popover.PopoverContentProps & react.RefAttributes<HTMLDivElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
559
538
|
variant?: "default" | "argo" | null | undefined;
|
|
560
539
|
matchTriggerWidth?: boolean | null | undefined;
|
|
561
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">)
|
|
562
|
-
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
563
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
540
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
564
541
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
565
542
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
566
543
|
};
|
|
@@ -573,13 +550,13 @@ type PopconfirmContextType = {
|
|
|
573
550
|
isLoading: boolean;
|
|
574
551
|
};
|
|
575
552
|
|
|
576
|
-
type Props$
|
|
553
|
+
type Props$1x = {
|
|
577
554
|
children: ReactNode;
|
|
578
555
|
skipAsyncWait?: boolean;
|
|
579
556
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
580
557
|
declare const Popconfirm: {
|
|
581
|
-
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
582
|
-
Confirm: ({ ref, onClick, children, asChild, className, ...props }: (
|
|
558
|
+
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$1x): react_jsx_runtime.JSX.Element;
|
|
559
|
+
Confirm: ({ ref, onClick, children, asChild, className, ...props }: ({
|
|
583
560
|
asChild: true;
|
|
584
561
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
585
562
|
asChild?: false;
|
|
@@ -591,12 +568,8 @@ declare const Popconfirm: {
|
|
|
591
568
|
block?: boolean | null | undefined;
|
|
592
569
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
593
570
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
594
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
595
|
-
|
|
596
|
-
}, "children" | "isLoading">)) & {
|
|
597
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
598
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
599
|
-
Cancel: ({ ref, onClick, children, asChild, className, ...props }: (({
|
|
571
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "children" | "isLoading">)) => react_jsx_runtime.JSX.Element;
|
|
572
|
+
Cancel: ({ ref, onClick, children, asChild, className, ...props }: ({
|
|
600
573
|
asChild: true;
|
|
601
574
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
602
575
|
asChild?: false;
|
|
@@ -608,11 +581,7 @@ declare const Popconfirm: {
|
|
|
608
581
|
block?: boolean | null | undefined;
|
|
609
582
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
610
583
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
611
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
612
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
613
|
-
}, "children">)) & {
|
|
614
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
615
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
584
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "children">)) => react_jsx_runtime.JSX.Element;
|
|
616
585
|
Footer: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
617
586
|
Content: ({ className, onInteractOutside, ...props }: {
|
|
618
587
|
content?: string | undefined | undefined;
|
|
@@ -623,7 +592,7 @@ declare const Popconfirm: {
|
|
|
623
592
|
slot?: string | undefined | undefined;
|
|
624
593
|
style?: react.CSSProperties | undefined;
|
|
625
594
|
title?: string | undefined | undefined;
|
|
626
|
-
ref?: react.Ref<
|
|
595
|
+
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
627
596
|
key?: react.Key | null | undefined;
|
|
628
597
|
defaultChecked?: boolean | undefined | undefined;
|
|
629
598
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -931,24 +900,20 @@ declare const Popconfirm: {
|
|
|
931
900
|
Trigger: ({ onClick, ...props }: _radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
932
901
|
};
|
|
933
902
|
|
|
934
|
-
type Props$
|
|
903
|
+
type Props$1w = ComponentProps<typeof Root$4>;
|
|
935
904
|
declare const HoverCard: {
|
|
936
|
-
({ openDelay, closeDelay, ...rest }: Props$
|
|
937
|
-
Content: ({ ref, className, align, sideOffset, children, ...props }:
|
|
938
|
-
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
939
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
905
|
+
({ openDelay, closeDelay, ...rest }: Props$1w): react_jsx_runtime.JSX.Element;
|
|
906
|
+
Content: ({ ref, className, align, sideOffset, children, ...props }: _radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
940
907
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
941
908
|
};
|
|
942
909
|
|
|
943
|
-
type Props$
|
|
910
|
+
type Props$1v = ComponentProps<typeof Root$5>;
|
|
944
911
|
declare const DropdownMenu: {
|
|
945
|
-
({ modal, ...props }: Props$
|
|
912
|
+
({ modal, ...props }: Props$1v): react_jsx_runtime.JSX.Element;
|
|
946
913
|
/**
|
|
947
914
|
* Main Layout
|
|
948
915
|
*/
|
|
949
|
-
Trigger: ({ ref, className, ...props }:
|
|
950
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
951
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
916
|
+
Trigger: ({ ref, className, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
952
917
|
Content: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Omit<_radix_ui_react_dropdown_menu.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>, "asChild" | "forceMount"> & {
|
|
953
918
|
forceMount?: boolean;
|
|
954
919
|
viewPortClassName?: string;
|
|
@@ -966,13 +931,11 @@ declare const DropdownMenu: {
|
|
|
966
931
|
*/
|
|
967
932
|
Separator: ({ className, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
968
933
|
Label: ({ className, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuLabelProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
969
|
-
Item: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }:
|
|
934
|
+
Item: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
970
935
|
asModalTrigger?: boolean;
|
|
971
936
|
icon?: react.ReactNode;
|
|
972
937
|
isLoading?: boolean;
|
|
973
938
|
iconClassName?: string;
|
|
974
|
-
}) & {
|
|
975
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
976
939
|
}) => react_jsx_runtime.JSX.Element;
|
|
977
940
|
CheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
978
941
|
closeOnSelect?: boolean;
|
|
@@ -998,14 +961,14 @@ declare const DropdownMenu: {
|
|
|
998
961
|
}) => react_jsx_runtime.JSX.Element;
|
|
999
962
|
};
|
|
1000
963
|
|
|
1001
|
-
type Props$
|
|
964
|
+
type Props$1u = {
|
|
1002
965
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
1003
966
|
};
|
|
1004
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
967
|
+
declare const CheckIndicator: ({ variant }: Props$1u) => react_jsx_runtime.JSX.Element | null;
|
|
1005
968
|
|
|
1006
|
-
type Props$
|
|
969
|
+
type Props$1t = ComponentProps<typeof Command$1>;
|
|
1007
970
|
declare const Command: {
|
|
1008
|
-
({ className, ...rest }: Props$
|
|
971
|
+
({ className, ...rest }: Props$1t): react_jsx_runtime.JSX.Element;
|
|
1009
972
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1010
973
|
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1011
974
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1014,7 +977,7 @@ declare const Command: {
|
|
|
1014
977
|
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
1015
978
|
alwaysRender?: boolean;
|
|
1016
979
|
} & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1017
|
-
List: ({ ref, className, children, viewPortClassName, ...props }:
|
|
980
|
+
List: ({ ref, className, children, viewPortClassName, ...props }: {
|
|
1018
981
|
children?: React.ReactNode;
|
|
1019
982
|
} & Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1020
983
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1026,11 +989,7 @@ declare const Command: {
|
|
|
1026
989
|
viewPortClassName?: string;
|
|
1027
990
|
scrollBarClassName?: string;
|
|
1028
991
|
orientation?: ComponentProps<react.ForwardRefExoticComponent<ScrollAreaPrimitive.ScrollAreaScrollbarProps & react.RefAttributes<HTMLDivElement>>>["orientation"];
|
|
1029
|
-
}
|
|
1030
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
1031
|
-
}, "viewPortClassName">) & {
|
|
1032
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
1033
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
992
|
+
}, "viewPortClassName">) => react_jsx_runtime.JSX.Element;
|
|
1034
993
|
Group: ({ className, ...props }: {
|
|
1035
994
|
children?: React.ReactNode;
|
|
1036
995
|
} & Omit<Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -1049,335 +1008,25 @@ declare const Command: {
|
|
|
1049
1008
|
} & {
|
|
1050
1009
|
asChild?: boolean;
|
|
1051
1010
|
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1052
|
-
Input: ({ ref, className, ...props }:
|
|
1053
|
-
value?: string | null;
|
|
1054
|
-
defaultValue?: string | null;
|
|
1055
|
-
onValueChange?: (value: string) => void;
|
|
1056
|
-
onValueBlur?: (value: string) => void;
|
|
1057
|
-
type?: "text" | "email" | "password" | "datetime-local" | "date";
|
|
1058
|
-
} & {
|
|
1059
|
-
content?: string | undefined | undefined;
|
|
1060
|
-
size?: number | undefined | undefined;
|
|
1061
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
1062
|
-
prefix?: react.ReactNode;
|
|
1063
|
-
id?: string | undefined | undefined;
|
|
1064
|
-
name?: string | undefined | undefined;
|
|
1065
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1011
|
+
Input: ({ ref, className, ...props }: {
|
|
1066
1012
|
variant?: "primary" | "secondary" | null | undefined;
|
|
1067
|
-
form?: string | undefined | undefined;
|
|
1068
|
-
slot?: string | undefined | undefined;
|
|
1069
|
-
style?: react.CSSProperties | undefined;
|
|
1070
|
-
title?: string | undefined | undefined;
|
|
1071
|
-
pattern?: string | undefined | undefined;
|
|
1072
|
-
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
1073
|
-
key?: react.Key | null | undefined;
|
|
1074
|
-
defaultChecked?: boolean | undefined | undefined;
|
|
1075
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
1076
|
-
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
1077
|
-
accessKey?: string | undefined | undefined;
|
|
1078
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
1079
|
-
autoFocus?: boolean | undefined | undefined;
|
|
1080
|
-
className?: string | undefined | undefined;
|
|
1081
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
1082
|
-
contextMenu?: string | undefined | undefined;
|
|
1083
|
-
dir?: string | undefined | undefined;
|
|
1084
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
1085
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
1086
|
-
hidden?: boolean | undefined | undefined;
|
|
1087
|
-
lang?: string | undefined | undefined;
|
|
1088
|
-
nonce?: string | undefined | undefined;
|
|
1089
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
1090
|
-
tabIndex?: number | undefined | undefined;
|
|
1091
|
-
radioGroup?: string | undefined | undefined;
|
|
1092
|
-
role?: react.AriaRole | undefined;
|
|
1093
|
-
about?: string | undefined | undefined;
|
|
1094
|
-
datatype?: string | undefined | undefined;
|
|
1095
|
-
inlist?: any;
|
|
1096
|
-
property?: string | undefined | undefined;
|
|
1097
|
-
rel?: string | undefined | undefined;
|
|
1098
|
-
resource?: string | undefined | undefined;
|
|
1099
|
-
rev?: string | undefined | undefined;
|
|
1100
|
-
typeof?: string | undefined | undefined;
|
|
1101
|
-
vocab?: string | undefined | undefined;
|
|
1102
|
-
autoCorrect?: string | undefined | undefined;
|
|
1103
|
-
autoSave?: string | undefined | undefined;
|
|
1104
|
-
color?: string | undefined | undefined;
|
|
1105
|
-
itemProp?: string | undefined | undefined;
|
|
1106
|
-
itemScope?: boolean | undefined | undefined;
|
|
1107
|
-
itemType?: string | undefined | undefined;
|
|
1108
|
-
itemID?: string | undefined | undefined;
|
|
1109
|
-
itemRef?: string | undefined | undefined;
|
|
1110
|
-
results?: number | undefined | undefined;
|
|
1111
|
-
security?: string | undefined | undefined;
|
|
1112
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
1113
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
1114
|
-
popoverTarget?: string | undefined | undefined;
|
|
1115
|
-
inert?: boolean | undefined | undefined;
|
|
1116
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
1117
|
-
is?: string | undefined | undefined;
|
|
1118
|
-
exportparts?: string | undefined | undefined;
|
|
1119
|
-
part?: string | undefined | undefined;
|
|
1120
|
-
"aria-activedescendant"?: string | undefined | undefined;
|
|
1121
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
1122
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
1123
|
-
"aria-braillelabel"?: string | undefined | undefined;
|
|
1124
|
-
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
1125
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
1126
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1127
|
-
"aria-colcount"?: number | undefined | undefined;
|
|
1128
|
-
"aria-colindex"?: number | undefined | undefined;
|
|
1129
|
-
"aria-colindextext"?: string | undefined | undefined;
|
|
1130
|
-
"aria-colspan"?: number | undefined | undefined;
|
|
1131
|
-
"aria-controls"?: string | undefined | undefined;
|
|
1132
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
1133
|
-
"aria-describedby"?: string | undefined | undefined;
|
|
1134
|
-
"aria-description"?: string | undefined | undefined;
|
|
1135
|
-
"aria-details"?: string | undefined | undefined;
|
|
1136
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
1137
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
1138
|
-
"aria-errormessage"?: string | undefined | undefined;
|
|
1139
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
1140
|
-
"aria-flowto"?: string | undefined | undefined;
|
|
1141
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
1142
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
1143
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
1144
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
1145
|
-
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
1146
|
-
"aria-label"?: string | undefined | undefined;
|
|
1147
|
-
"aria-labelledby"?: string | undefined | undefined;
|
|
1148
|
-
"aria-level"?: number | undefined | undefined;
|
|
1149
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
1150
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
1151
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
1152
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
1153
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
1154
|
-
"aria-owns"?: string | undefined | undefined;
|
|
1155
|
-
"aria-placeholder"?: string | undefined | undefined;
|
|
1156
|
-
"aria-posinset"?: number | undefined | undefined;
|
|
1157
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1158
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
1159
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
1160
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
1161
|
-
"aria-roledescription"?: string | undefined | undefined;
|
|
1162
|
-
"aria-rowcount"?: number | undefined | undefined;
|
|
1163
|
-
"aria-rowindex"?: number | undefined | undefined;
|
|
1164
|
-
"aria-rowindextext"?: string | undefined | undefined;
|
|
1165
|
-
"aria-rowspan"?: number | undefined | undefined;
|
|
1166
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
1167
|
-
"aria-setsize"?: number | undefined | undefined;
|
|
1168
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
1169
|
-
"aria-valuemax"?: number | undefined | undefined;
|
|
1170
|
-
"aria-valuemin"?: number | undefined | undefined;
|
|
1171
|
-
"aria-valuenow"?: number | undefined | undefined;
|
|
1172
|
-
"aria-valuetext"?: string | undefined | undefined;
|
|
1173
|
-
children?: react.ReactNode;
|
|
1174
|
-
dangerouslySetInnerHTML?: {
|
|
1175
|
-
__html: string | TrustedHTML;
|
|
1176
|
-
} | undefined | undefined;
|
|
1177
|
-
onCopy?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1178
|
-
onCopyCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1179
|
-
onCut?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1180
|
-
onCutCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1181
|
-
onPaste?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1182
|
-
onPasteCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1183
|
-
onCompositionEnd?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1184
|
-
onCompositionEndCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1185
|
-
onCompositionStart?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1186
|
-
onCompositionStartCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1187
|
-
onCompositionUpdate?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1188
|
-
onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1189
|
-
onFocus?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1190
|
-
onFocusCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1191
|
-
onBlur?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1192
|
-
onBlurCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1193
|
-
onChange?: react.ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined;
|
|
1194
|
-
onChangeCapture?: react.ChangeEventHandler<HTMLInputElement, Element> | undefined;
|
|
1195
|
-
onBeforeInput?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1196
|
-
onBeforeInputCapture?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1197
|
-
onInput?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1198
|
-
onInputCapture?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1199
|
-
onReset?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1200
|
-
onResetCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1201
|
-
onSubmit?: react.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
1202
|
-
onSubmitCapture?: react.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
1203
|
-
onInvalid?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1204
|
-
onInvalidCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1205
|
-
onLoad?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1206
|
-
onLoadCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1207
|
-
onError?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1208
|
-
onErrorCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1209
|
-
onKeyDown?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1210
|
-
onKeyDownCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1211
|
-
onKeyPress?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1212
|
-
onKeyPressCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1213
|
-
onKeyUp?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1214
|
-
onKeyUpCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1215
|
-
onAbort?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1216
|
-
onAbortCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1217
|
-
onCanPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1218
|
-
onCanPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1219
|
-
onCanPlayThrough?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1220
|
-
onCanPlayThroughCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1221
|
-
onDurationChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1222
|
-
onDurationChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1223
|
-
onEmptied?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1224
|
-
onEmptiedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1225
|
-
onEncrypted?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1226
|
-
onEncryptedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1227
|
-
onEnded?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1228
|
-
onEndedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1229
|
-
onLoadedData?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1230
|
-
onLoadedDataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1231
|
-
onLoadedMetadata?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1232
|
-
onLoadedMetadataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1233
|
-
onLoadStart?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1234
|
-
onLoadStartCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1235
|
-
onPause?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1236
|
-
onPauseCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1237
|
-
onPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1238
|
-
onPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1239
|
-
onPlaying?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1240
|
-
onPlayingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1241
|
-
onProgress?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1242
|
-
onProgressCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1243
|
-
onRateChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1244
|
-
onRateChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1245
|
-
onSeeked?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1246
|
-
onSeekedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1247
|
-
onSeeking?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1248
|
-
onSeekingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1249
|
-
onStalled?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1250
|
-
onStalledCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1251
|
-
onSuspend?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1252
|
-
onSuspendCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1253
|
-
onTimeUpdate?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1254
|
-
onTimeUpdateCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1255
|
-
onVolumeChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1256
|
-
onVolumeChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1257
|
-
onWaiting?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1258
|
-
onWaitingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1259
|
-
onAuxClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1260
|
-
onAuxClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1261
|
-
onClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1262
|
-
onClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1263
|
-
onContextMenu?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1264
|
-
onContextMenuCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1265
|
-
onDoubleClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1266
|
-
onDoubleClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1267
|
-
onDrag?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1268
|
-
onDragCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1269
|
-
onDragEnd?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1270
|
-
onDragEndCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1271
|
-
onDragEnter?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1272
|
-
onDragEnterCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1273
|
-
onDragExit?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1274
|
-
onDragExitCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1275
|
-
onDragLeave?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1276
|
-
onDragLeaveCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1277
|
-
onDragOver?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1278
|
-
onDragOverCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1279
|
-
onDragStart?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1280
|
-
onDragStartCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1281
|
-
onDrop?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1282
|
-
onDropCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1283
|
-
onMouseDown?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1284
|
-
onMouseDownCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1285
|
-
onMouseEnter?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1286
|
-
onMouseLeave?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1287
|
-
onMouseMove?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1288
|
-
onMouseMoveCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1289
|
-
onMouseOut?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1290
|
-
onMouseOutCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1291
|
-
onMouseOver?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1292
|
-
onMouseOverCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1293
|
-
onMouseUp?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1294
|
-
onMouseUpCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1295
|
-
onSelect?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1296
|
-
onSelectCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1297
|
-
onTouchCancel?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1298
|
-
onTouchCancelCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1299
|
-
onTouchEnd?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1300
|
-
onTouchEndCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1301
|
-
onTouchMove?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1302
|
-
onTouchMoveCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1303
|
-
onTouchStart?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1304
|
-
onTouchStartCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1305
|
-
onPointerDown?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1306
|
-
onPointerDownCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1307
|
-
onPointerMove?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1308
|
-
onPointerMoveCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1309
|
-
onPointerUp?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1310
|
-
onPointerUpCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1311
|
-
onPointerCancel?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1312
|
-
onPointerCancelCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1313
|
-
onPointerEnter?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1314
|
-
onPointerLeave?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1315
|
-
onPointerOver?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1316
|
-
onPointerOverCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1317
|
-
onPointerOut?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1318
|
-
onPointerOutCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1319
|
-
onGotPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1320
|
-
onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1321
|
-
onLostPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1322
|
-
onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1323
|
-
onScroll?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1324
|
-
onScrollCapture?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1325
|
-
onScrollEnd?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1326
|
-
onScrollEndCapture?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1327
|
-
onWheel?: react.WheelEventHandler<HTMLInputElement> | undefined;
|
|
1328
|
-
onWheelCapture?: react.WheelEventHandler<HTMLInputElement> | undefined;
|
|
1329
|
-
onAnimationStart?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1330
|
-
onAnimationStartCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1331
|
-
onAnimationEnd?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1332
|
-
onAnimationEndCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1333
|
-
onAnimationIteration?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1334
|
-
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1335
|
-
onToggle?: react.ToggleEventHandler<HTMLInputElement> | undefined;
|
|
1336
|
-
onBeforeToggle?: react.ToggleEventHandler<HTMLInputElement> | undefined;
|
|
1337
|
-
onTransitionCancel?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1338
|
-
onTransitionCancelCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1339
|
-
onTransitionEnd?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1340
|
-
onTransitionEndCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1341
|
-
onTransitionRun?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1342
|
-
onTransitionRunCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1343
|
-
onTransitionStart?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1344
|
-
onTransitionStartCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1345
|
-
list?: string | undefined | undefined;
|
|
1346
|
-
disabled?: boolean | undefined | undefined;
|
|
1347
|
-
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
1348
|
-
formEncType?: string | undefined | undefined;
|
|
1349
|
-
formMethod?: string | undefined | undefined;
|
|
1350
|
-
formNoValidate?: boolean | undefined | undefined;
|
|
1351
|
-
formTarget?: string | undefined | undefined;
|
|
1352
|
-
height?: number | string | undefined | undefined;
|
|
1353
|
-
max?: number | string | undefined | undefined;
|
|
1354
|
-
min?: number | string | undefined | undefined;
|
|
1355
|
-
width?: number | string | undefined | undefined;
|
|
1356
|
-
checked?: boolean | undefined | undefined;
|
|
1357
|
-
multiple?: boolean | undefined | undefined;
|
|
1358
1013
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1359
|
-
src?: string | undefined | undefined;
|
|
1360
|
-
alt?: string | undefined | undefined;
|
|
1361
|
-
required?: boolean | undefined | undefined;
|
|
1362
|
-
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
1363
|
-
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
1364
|
-
maxLength?: number | undefined | undefined;
|
|
1365
|
-
minLength?: number | undefined | undefined;
|
|
1366
|
-
placeholder?: string | undefined | undefined;
|
|
1367
|
-
readOnly?: boolean | undefined | undefined;
|
|
1368
1014
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1369
1015
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1016
|
+
} & {
|
|
1017
|
+
prefix?: react.ReactNode;
|
|
1370
1018
|
rightSuffix?: react.ReactNode;
|
|
1371
|
-
rightSuffixVariant?: "addon" | "default"
|
|
1019
|
+
rightSuffixVariant?: "addon" | "default";
|
|
1372
1020
|
leftSuffix?: react.ReactNode;
|
|
1373
|
-
allowClear?: boolean
|
|
1374
|
-
onClear?: (
|
|
1375
|
-
testId?: string
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1021
|
+
allowClear?: boolean;
|
|
1022
|
+
onClear?: () => void;
|
|
1023
|
+
testId?: string;
|
|
1024
|
+
value?: string | null;
|
|
1025
|
+
defaultValue?: string | null;
|
|
1026
|
+
onValueChange?: (value: string) => void;
|
|
1027
|
+
onValueBlur?: (value: string) => void;
|
|
1028
|
+
type?: "text" | "email" | "password" | "datetime-local" | "date";
|
|
1029
|
+
} & Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "prefix" | "defaultValue" | "step" | "type" | "value" | "accept">) => react_jsx_runtime.JSX.Element;
|
|
1381
1030
|
Item: ({ className, icon, children, checked, variant, actions, ...props }: {
|
|
1382
1031
|
children?: React.ReactNode;
|
|
1383
1032
|
} & Omit<Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -1401,25 +1050,21 @@ declare const Command: {
|
|
|
1401
1050
|
declare const addonVariants$1: (props?: ({
|
|
1402
1051
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
1403
1052
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1404
|
-
type Props$
|
|
1405
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
1053
|
+
type Props$1s = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1054
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1s) => react_jsx_runtime.JSX.Element;
|
|
1406
1055
|
|
|
1407
1056
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
1408
|
-
type Props$
|
|
1409
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
1410
|
-
ref?: Ref<ElementRef<"button">>;
|
|
1411
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1057
|
+
type Props$1r = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
1058
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$1r) => react_jsx_runtime.JSX.Element;
|
|
1412
1059
|
|
|
1413
|
-
type Props$
|
|
1414
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
1415
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1416
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1060
|
+
type Props$1q = ComponentProps<'input'>;
|
|
1061
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$1q) => react_jsx_runtime.JSX.Element;
|
|
1417
1062
|
|
|
1418
|
-
type Props$
|
|
1419
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
1063
|
+
type Props$1p = ComponentProps<'span'>;
|
|
1064
|
+
declare const InputGroupText: ({ className, ...props }: Props$1p) => react_jsx_runtime.JSX.Element;
|
|
1420
1065
|
|
|
1421
1066
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof react_textarea_autosize__default>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
1422
|
-
type Props$
|
|
1067
|
+
type Props$1o = TextareaNativeProps$1 & {
|
|
1423
1068
|
value?: string | null;
|
|
1424
1069
|
defaultValue?: string | null;
|
|
1425
1070
|
onValueChange?: (value: string) => void;
|
|
@@ -1427,9 +1072,7 @@ type Props$1u = TextareaNativeProps$1 & {
|
|
|
1427
1072
|
maxRows?: number | 'unlimited';
|
|
1428
1073
|
disableResize?: boolean;
|
|
1429
1074
|
};
|
|
1430
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
1431
|
-
ref?: Ref<ElementRef<"textarea">>;
|
|
1432
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1075
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$1o) => react_jsx_runtime.JSX.Element;
|
|
1433
1076
|
|
|
1434
1077
|
declare const inputGroupVariants: (props?: ({
|
|
1435
1078
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -1437,12 +1080,10 @@ declare const inputGroupVariants: (props?: ({
|
|
|
1437
1080
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1438
1081
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1439
1082
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1440
|
-
type Props$
|
|
1083
|
+
type Props$1n = ComponentPropsWithRef<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
1441
1084
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
1442
1085
|
};
|
|
1443
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1444
|
-
ref?: Ref<ElementRef<"div">>;
|
|
1445
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1086
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$1n) => react_jsx_runtime.JSX.Element;
|
|
1446
1087
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
1447
1088
|
Input: typeof InputGroupInput;
|
|
1448
1089
|
Addon: typeof InputGroupAddon;
|
|
@@ -1451,8 +1092,8 @@ declare const InputGroup: typeof InputGroupRoot & {
|
|
|
1451
1092
|
Text: typeof InputGroupText;
|
|
1452
1093
|
};
|
|
1453
1094
|
|
|
1454
|
-
type InputGroupProps$
|
|
1455
|
-
type OwnProps
|
|
1095
|
+
type InputGroupProps$9 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
1096
|
+
type OwnProps = {
|
|
1456
1097
|
prefix?: ReactNode;
|
|
1457
1098
|
rightSuffix?: ReactNode;
|
|
1458
1099
|
rightSuffixVariant?: 'addon' | 'default';
|
|
@@ -1460,56 +1101,6 @@ type OwnProps$1 = {
|
|
|
1460
1101
|
allowClear?: boolean;
|
|
1461
1102
|
onClear?: () => void;
|
|
1462
1103
|
testId?: string;
|
|
1463
|
-
value?: ComponentProps<'input'>['value'] | null;
|
|
1464
|
-
defaultValue?: ComponentProps<'input'>['defaultValue'] | null;
|
|
1465
|
-
};
|
|
1466
|
-
/**
|
|
1467
|
-
* Props for `Input`. Combines `InputGroup` chrome (variant / sizing / state / focusVariant) with
|
|
1468
|
-
* input-specific slots (`prefix`, `leftSuffix`, `rightSuffix`, `allowClear`).
|
|
1469
|
-
*/
|
|
1470
|
-
type Props$1s = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue'>;
|
|
1471
|
-
/**
|
|
1472
|
-
* Low-level text input with `InputGroup` chrome — addons, clear button, sizing, focus variants.
|
|
1473
|
-
*
|
|
1474
|
-
* **When to use:** when you need an input with prefix / suffix slots or a clear button and don't need the
|
|
1475
|
-
* `onValueChange` convenience callback. Rare on its own — most call sites should use `TextInput`.
|
|
1476
|
-
* **When NOT to use:** for plain text fields use `TextInput`; for fields inside a `FormGroup` use
|
|
1477
|
-
* `FormGroup.TextInput`; for search use `SearchInput`; for forms with validation use `useAppForm`.
|
|
1478
|
-
* **Composition:** wrap in `FormGroup` for shared error state, or render directly as a controlled input.
|
|
1479
|
-
*/
|
|
1480
|
-
declare const Input$1: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, value, defaultValue, ...inputProps }: Props$1s & {
|
|
1481
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1482
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1483
|
-
|
|
1484
|
-
type InputProps$1 = ComponentProps<typeof Input$1>;
|
|
1485
|
-
type Props$1r = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
1486
|
-
defaultValue?: Date | null;
|
|
1487
|
-
disabledDays?: Matcher | Matcher[];
|
|
1488
|
-
endMonth?: Date;
|
|
1489
|
-
onValueBlur?: (value: Date | null) => void;
|
|
1490
|
-
onValueChange?: (value: Date | null) => void;
|
|
1491
|
-
startMonth?: Date;
|
|
1492
|
-
value?: Date | null;
|
|
1493
|
-
};
|
|
1494
|
-
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$1r & {
|
|
1495
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1496
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1497
|
-
|
|
1498
|
-
type InputProps = ComponentProps<typeof Input$1>;
|
|
1499
|
-
type Props$1q = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
1500
|
-
defaultValue?: DateRange$1 | null;
|
|
1501
|
-
endMonth?: Date;
|
|
1502
|
-
onValueBlur?: (value: DateRange$1 | null) => void;
|
|
1503
|
-
onValueChange?: (value: DateRange$1 | null) => void;
|
|
1504
|
-
startMonth?: Date;
|
|
1505
|
-
value?: DateRange$1 | null;
|
|
1506
|
-
};
|
|
1507
|
-
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$1q & {
|
|
1508
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1509
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1510
|
-
|
|
1511
|
-
type NativeProps = Omit<ComponentProps<typeof Input$1>, 'type' | 'value' | 'defaultValue' | 'accept' | 'step'>;
|
|
1512
|
-
type OwnProps = {
|
|
1513
1104
|
value?: string | null;
|
|
1514
1105
|
defaultValue?: string | null;
|
|
1515
1106
|
/** Called with the unwrapped string value on every change. For the raw event use `onChange`. */
|
|
@@ -1519,12 +1110,15 @@ type OwnProps = {
|
|
|
1519
1110
|
type?: 'text' | 'email' | 'password' | 'datetime-local' | 'date';
|
|
1520
1111
|
};
|
|
1521
1112
|
/**
|
|
1522
|
-
* Props for `TextInput`.
|
|
1523
|
-
*
|
|
1113
|
+
* Props for `TextInput`. Combines `InputGroup` chrome (variant / sizing / state / focusVariant) with
|
|
1114
|
+
* input-specific slots (`prefix`, `leftSuffix`, `rightSuffix`, `allowClear`) and a string-typed
|
|
1115
|
+
* `value` / `defaultValue` plus convenience `onValueChange` / `onValueBlur` callbacks. `null` /
|
|
1116
|
+
* `undefined` are coerced to empty strings.
|
|
1524
1117
|
*/
|
|
1525
|
-
type Props$
|
|
1118
|
+
type Props$1m = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue' | 'type' | 'accept' | 'step'>;
|
|
1526
1119
|
/**
|
|
1527
|
-
* Standard text input with a string-only API
|
|
1120
|
+
* Standard text input with a string-only API, built on `InputGroup` chrome — addons, clear button,
|
|
1121
|
+
* sizing, focus variants. The default choice for a bare text input.
|
|
1528
1122
|
*
|
|
1529
1123
|
* **When to use:** any plain text / email / password / date-input field outside `useAppForm`. Pair with
|
|
1530
1124
|
* `onValueChange` instead of unwrapping `event.target.value` from `onChange`.
|
|
@@ -1534,42 +1128,34 @@ type Props$1p = OwnProps & NativeProps;
|
|
|
1534
1128
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1535
1129
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1536
1130
|
*/
|
|
1537
|
-
declare const TextInput: ({ ref,
|
|
1538
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1539
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1131
|
+
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$1m) => react_jsx_runtime.JSX.Element;
|
|
1540
1132
|
|
|
1541
|
-
type Props$
|
|
1542
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1543
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1544
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1133
|
+
type Props$1l = ComponentProps<typeof TextInput>;
|
|
1134
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$1l) => react_jsx_runtime.JSX.Element;
|
|
1545
1135
|
|
|
1546
|
-
type Props$
|
|
1136
|
+
type Props$1k = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1547
1137
|
viewPortClassName?: string;
|
|
1548
1138
|
scrollBarClassName?: string;
|
|
1549
1139
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1550
1140
|
};
|
|
1551
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1552
|
-
ref?: Ref<ElementRef<"div">>;
|
|
1553
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1141
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$1k) => react_jsx_runtime.JSX.Element;
|
|
1554
1142
|
|
|
1555
|
-
type Props$
|
|
1556
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1143
|
+
type Props$1j = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1144
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$1j) => react_jsx_runtime.JSX.Element;
|
|
1557
1145
|
|
|
1558
|
-
type Props$
|
|
1559
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1560
|
-
ref?: Ref<ElementRef<"div">>;
|
|
1561
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1146
|
+
type Props$1i = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1147
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$1i) => react_jsx_runtime.JSX.Element;
|
|
1562
1148
|
|
|
1563
|
-
type Props$
|
|
1564
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
1149
|
+
type Props$1h = ComponentProps<typeof Command$1.Group>;
|
|
1150
|
+
declare const CommandGroup: ({ className, ...props }: Props$1h) => react_jsx_runtime.JSX.Element;
|
|
1565
1151
|
|
|
1566
|
-
type Props$
|
|
1152
|
+
type Props$1g = ComponentProps<typeof Command$1.Item> & {
|
|
1567
1153
|
icon?: ReactNode;
|
|
1568
1154
|
checked?: boolean;
|
|
1569
1155
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1570
1156
|
actions?: ReactNode;
|
|
1571
1157
|
};
|
|
1572
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1158
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$1g) => react_jsx_runtime.JSX.Element;
|
|
1573
1159
|
|
|
1574
1160
|
/** Viewport-relative box of the highlighted target. */
|
|
1575
1161
|
type TargetRect = {
|
|
@@ -1589,7 +1175,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1589
1175
|
*/
|
|
1590
1176
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1591
1177
|
|
|
1592
|
-
type Props$
|
|
1178
|
+
type Props$1f = {
|
|
1593
1179
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1594
1180
|
rect: TargetRect | null;
|
|
1595
1181
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1611,7 +1197,7 @@ type Props$1i = {
|
|
|
1611
1197
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1612
1198
|
* "Guided tour (recipe)" story for the composition.
|
|
1613
1199
|
*/
|
|
1614
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1200
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$1f) => react_jsx_runtime.JSX.Element;
|
|
1615
1201
|
|
|
1616
1202
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
1617
1203
|
declare const Calendar: {
|
|
@@ -1655,20 +1241,20 @@ declare const DateRangePicker: {
|
|
|
1655
1241
|
displayName: string;
|
|
1656
1242
|
};
|
|
1657
1243
|
|
|
1658
|
-
type Props$
|
|
1244
|
+
type Props$1e = {
|
|
1659
1245
|
children?: ReactNode;
|
|
1660
1246
|
defaultSelected?: string | null;
|
|
1661
1247
|
selected?: string | null;
|
|
1662
1248
|
onSelect?: (time: string) => void;
|
|
1663
1249
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1664
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$
|
|
1250
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$1e) => react_jsx_runtime.JSX.Element;
|
|
1665
1251
|
|
|
1666
|
-
type Props$
|
|
1252
|
+
type Props$1d = {
|
|
1667
1253
|
id?: string | number;
|
|
1668
1254
|
htmlFor?: string | number;
|
|
1669
1255
|
} & Omit<LabelProps$1, 'id' | 'htmlFor'>;
|
|
1670
1256
|
declare const Label: {
|
|
1671
|
-
({ className, children, id, htmlFor, ...rest }: Props$
|
|
1257
|
+
({ className, children, id, htmlFor, ...rest }: Props$1d): react_jsx_runtime.JSX.Element;
|
|
1672
1258
|
Optional: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1673
1259
|
Required: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1674
1260
|
};
|
|
@@ -1682,21 +1268,19 @@ declare const switchVariants: (props?: ({
|
|
|
1682
1268
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
1683
1269
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1684
1270
|
|
|
1685
|
-
type Props$
|
|
1271
|
+
type Props$1c = {
|
|
1686
1272
|
id?: string | number;
|
|
1687
1273
|
children?: ReactNode;
|
|
1688
1274
|
description?: ReactNode;
|
|
1689
1275
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1690
1276
|
position?: 'start' | 'end';
|
|
1691
1277
|
} & Omit<ComponentProps<typeof Root$6>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
1692
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
1693
|
-
ref?: Ref<ElementRef<"button">>;
|
|
1694
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1278
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$1c) => react_jsx_runtime.JSX.Element;
|
|
1695
1279
|
|
|
1696
1280
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
1697
1281
|
type Orientation = 'vertical' | 'horizontal';
|
|
1698
1282
|
|
|
1699
|
-
type Props$
|
|
1283
|
+
type Props$1b<Value> = {
|
|
1700
1284
|
variant?: Variant$7;
|
|
1701
1285
|
orientation?: Orientation;
|
|
1702
1286
|
onValueChange?: (value: Value) => void;
|
|
@@ -1704,7 +1288,7 @@ type Props$1e<Value> = {
|
|
|
1704
1288
|
defaultValue?: Value | null;
|
|
1705
1289
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1706
1290
|
declare const RadioGroup: {
|
|
1707
|
-
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
1291
|
+
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$1b<Value>): react_jsx_runtime.JSX.Element;
|
|
1708
1292
|
Item: <T extends string = string>({ children, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1709
1293
|
content?: string | undefined | undefined;
|
|
1710
1294
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -2001,34 +1585,30 @@ declare const RadioGroup: {
|
|
|
2001
1585
|
} & {
|
|
2002
1586
|
value: T;
|
|
2003
1587
|
tooltip?: react.ReactNode;
|
|
2004
|
-
tooltipVariant?: Props$
|
|
2005
|
-
tooltipPlacement?: Props$
|
|
1588
|
+
tooltipVariant?: Props$1K["variant"];
|
|
1589
|
+
tooltipPlacement?: Props$1K["placement"];
|
|
2006
1590
|
description?: react.ReactNode;
|
|
2007
1591
|
}) => react_jsx_runtime.JSX.Element;
|
|
2008
1592
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
2009
1593
|
};
|
|
2010
1594
|
|
|
2011
|
-
type Props$
|
|
1595
|
+
type Props$1a = ComponentProps<typeof Thumb> & {
|
|
2012
1596
|
tooltip?: ReactNode;
|
|
2013
1597
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
2014
1598
|
};
|
|
2015
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
2016
|
-
ref?: Ref<ElementRef<typeof Thumb>>;
|
|
2017
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1599
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$1a) => react_jsx_runtime.JSX.Element;
|
|
2018
1600
|
|
|
2019
1601
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
2020
|
-
type Props$
|
|
1602
|
+
type Props$19 = ComponentProps<typeof Root$7> & {
|
|
2021
1603
|
thumbTooltip?: ThumbTooltipFn;
|
|
2022
1604
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
2023
1605
|
rangeClassName?: string;
|
|
2024
1606
|
};
|
|
2025
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
2026
|
-
ref?: Ref<ElementRef<typeof Root$7>>;
|
|
2027
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1607
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$19) => react_jsx_runtime.JSX.Element;
|
|
2028
1608
|
|
|
2029
1609
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent$1<HTMLButtonElement>) => void;
|
|
2030
1610
|
type SearchBlurEventHandler = (value: string, event: FocusEvent$1<HTMLInputElement, Element>) => void;
|
|
2031
|
-
type Props$
|
|
1611
|
+
type Props$18 = {
|
|
2032
1612
|
suffix?: ReactNode;
|
|
2033
1613
|
disableDebounce?: boolean;
|
|
2034
1614
|
debounceDelay?: number;
|
|
@@ -2039,20 +1619,16 @@ type Props$1b = {
|
|
|
2039
1619
|
testId?: string;
|
|
2040
1620
|
onClear?: () => void;
|
|
2041
1621
|
variant?: 'default' | 'ai';
|
|
2042
|
-
} & Omit<
|
|
1622
|
+
} & Omit<ComponentProps<'input'>, 'type' | 'onBlur' | 'onChange' | 'value' | 'defaultValue' | 'prefix' | 'suffix'>;
|
|
2043
1623
|
/**
|
|
2044
1624
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
2045
1625
|
*/
|
|
2046
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
2047
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2048
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1626
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$18) => react_jsx_runtime.JSX.Element;
|
|
2049
1627
|
|
|
2050
|
-
type Props$
|
|
1628
|
+
type Props$17 = {
|
|
2051
1629
|
onSubmit: (value: string) => void;
|
|
2052
1630
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
2053
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
2054
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2055
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1631
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$17) => react_jsx_runtime.JSX.Element;
|
|
2056
1632
|
|
|
2057
1633
|
type SelectRootProps = {
|
|
2058
1634
|
children?: ReactNode;
|
|
@@ -2075,12 +1651,10 @@ declare const variants$2: (props?: ({
|
|
|
2075
1651
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2076
1652
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2077
1653
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2078
|
-
type Props$
|
|
2079
|
-
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'
|
|
1654
|
+
type Props$16 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof variants$2>, 'variant'> & {
|
|
1655
|
+
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'> | 'inline';
|
|
2080
1656
|
} & Pick<ComponentProps<typeof _radix_ui_react_select.Value>, 'placeholder'>;
|
|
2081
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
2082
|
-
ref?: Ref<ElementRef<"button">>;
|
|
2083
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1657
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$16) => react_jsx_runtime.JSX.Element;
|
|
2084
1658
|
|
|
2085
1659
|
type SelectItem = {
|
|
2086
1660
|
value: string;
|
|
@@ -2097,7 +1671,7 @@ type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
|
2097
1671
|
* Props for `Select`. Combines Radix `Select.Root` control props with `Select.Trigger` chrome and the
|
|
2098
1672
|
* convenience `items` shape (flat list, or grouped lists with optional labels).
|
|
2099
1673
|
*/
|
|
2100
|
-
type Props$
|
|
1674
|
+
type Props$15 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className'> & {
|
|
2101
1675
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
2102
1676
|
};
|
|
2103
1677
|
/**
|
|
@@ -2105,16 +1679,15 @@ type Props$18 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange'
|
|
|
2105
1679
|
*
|
|
2106
1680
|
* **When to use:** picking one value from ~10 or fewer options where search adds no value (status,
|
|
2107
1681
|
* region, role). Pass a flat `items` array or grouped arrays with optional labels for headings.
|
|
2108
|
-
* **When NOT to use:** for longer lists with search use `Combobox`; for multi-select use `MultiCombobox
|
|
2109
|
-
* for free-form tag entry use `Tagger`.
|
|
1682
|
+
* **When NOT to use:** for longer lists with search use `Combobox`; for multi-select use `MultiCombobox`.
|
|
2110
1683
|
* **Composition:** wrap in `FormGroup` for label + help text, or use `useAppForm` + `field.SelectField`
|
|
2111
1684
|
* for forms with validation. Use the compound parts (`Select.Root`, `Select.Trigger`, `Select.Content`,
|
|
2112
1685
|
* `Select.Item`) for custom item layouts; the top-level `Select` covers the common cases.
|
|
2113
1686
|
*/
|
|
2114
1687
|
declare const Select: {
|
|
2115
|
-
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$
|
|
1688
|
+
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$15): react_jsx_runtime.JSX.Element;
|
|
2116
1689
|
Root: (props: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
2117
|
-
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }:
|
|
1690
|
+
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: _radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
2118
1691
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
2119
1692
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2120
1693
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
@@ -2123,72 +1696,58 @@ declare const Select: {
|
|
|
2123
1696
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
2124
1697
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2125
1698
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2126
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"
|
|
2127
|
-
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">)
|
|
2128
|
-
|
|
2129
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2130
|
-
Content: ({ ref, className, children, container, position, sideOffset, ...props }: (_radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
1699
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
1700
|
+
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">) => react_jsx_runtime.JSX.Element;
|
|
1701
|
+
Content: ({ ref, className, children, container, position, sideOffset, ...props }: _radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
2131
1702
|
container?: HTMLElement | null;
|
|
2132
|
-
}) & {
|
|
2133
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2134
1703
|
}) => react_jsx_runtime.JSX.Element;
|
|
2135
|
-
Item: ({ ref, className, children, icon, ...props }:
|
|
1704
|
+
Item: ({ ref, className, children, icon, ...props }: _radix_ui_react_select.SelectItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
2136
1705
|
icon?: ReactNode;
|
|
2137
|
-
}) & {
|
|
2138
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2139
1706
|
}) => react_jsx_runtime.JSX.Element;
|
|
2140
1707
|
Group: ({ className, ...props }: _radix_ui_react_select.SelectGroupProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2141
1708
|
Label: ({ className, ...props }: _radix_ui_react_select.SelectLabelProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2142
1709
|
Separator: ({ className, ...props }: _radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2143
1710
|
};
|
|
2144
1711
|
|
|
2145
|
-
type Props$
|
|
1712
|
+
type Props$14 = {
|
|
2146
1713
|
id?: string | number;
|
|
2147
1714
|
description?: ReactNode;
|
|
2148
1715
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
2149
1716
|
position?: 'start' | 'end';
|
|
2150
|
-
tooltip?: Props$
|
|
2151
|
-
tooltipPlacement?: Props$
|
|
1717
|
+
tooltip?: Props$1K['tooltip'];
|
|
1718
|
+
tooltipPlacement?: Props$1K['placement'];
|
|
2152
1719
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
2153
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1720
|
+
declare function Checkbox(prop: Omit<Props$14, 'checked' | 'onCheckedChange'> & {
|
|
2154
1721
|
checked?: boolean;
|
|
2155
1722
|
onCheckedChange?: (checked: boolean) => void;
|
|
2156
1723
|
}): ReactNode;
|
|
2157
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1724
|
+
declare function Checkbox(prop: Omit<Props$14, 'checked' | 'onCheckedChange'> & {
|
|
2158
1725
|
checked?: CheckedState;
|
|
2159
1726
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
2160
1727
|
}): ReactNode;
|
|
2161
1728
|
|
|
2162
1729
|
type Variant$6 = 'check' | 'checkbox';
|
|
2163
|
-
type Props$
|
|
1730
|
+
type Props$13 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
2164
1731
|
className?: string;
|
|
2165
1732
|
variant?: Variant$6;
|
|
2166
1733
|
};
|
|
2167
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
2168
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2169
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1734
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$13) => react_jsx_runtime.JSX.Element;
|
|
2170
1735
|
|
|
2171
|
-
type Props$
|
|
2172
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
2173
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2174
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1736
|
+
type Props$12 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
1737
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$12) => react_jsx_runtime.JSX.Element;
|
|
2175
1738
|
|
|
2176
|
-
type InputGroupProps$
|
|
2177
|
-
type Props$
|
|
1739
|
+
type InputGroupProps$8 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
1740
|
+
type Props$11 = InputGroupProps$8 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
2178
1741
|
className?: string;
|
|
2179
1742
|
};
|
|
2180
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
2181
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2182
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1743
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$11) => react_jsx_runtime.JSX.Element;
|
|
2183
1744
|
|
|
2184
|
-
type Props$
|
|
1745
|
+
type Props$10 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
2185
1746
|
className?: string;
|
|
2186
1747
|
icon?: ReactNode;
|
|
2187
1748
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
2188
1749
|
};
|
|
2189
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
2190
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2191
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1750
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$10) => react_jsx_runtime.JSX.Element;
|
|
2192
1751
|
|
|
2193
1752
|
type Group<Item = unknown> = {
|
|
2194
1753
|
items: readonly Item[];
|
|
@@ -2206,7 +1765,7 @@ type CreatableProps<Value> = {
|
|
|
2206
1765
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
2207
1766
|
queryToCreateValue?: (query: string) => Value;
|
|
2208
1767
|
};
|
|
2209
|
-
type Props
|
|
1768
|
+
type Props$$<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps<Value> & {
|
|
2210
1769
|
items?: readonly (Value | GroupShape)[];
|
|
2211
1770
|
allowClear?: boolean;
|
|
2212
1771
|
empty?: ReactNode;
|
|
@@ -2218,17 +1777,15 @@ type Props$12<Value, GroupShape extends Group<Value> = Group<Value>> = PublicCom
|
|
|
2218
1777
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
2219
1778
|
};
|
|
2220
1779
|
declare const Combobox: {
|
|
2221
|
-
<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
|
|
1780
|
+
<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$$<Value, GroupShape>): react_jsx_runtime.JSX.Element;
|
|
2222
1781
|
Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
|
|
2223
|
-
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }:
|
|
1782
|
+
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: {
|
|
2224
1783
|
variant?: "primary" | "secondary" | null | undefined;
|
|
2225
1784
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2226
1785
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2227
1786
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
2228
1787
|
} & Omit<Omit<_base_ui_react_combobox.ComboboxInputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className" | "render"> & {
|
|
2229
1788
|
className?: string;
|
|
2230
|
-
}) & {
|
|
2231
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2232
1789
|
}) => react_jsx_runtime.JSX.Element;
|
|
2233
1790
|
Input: ({ ref, ...props }: {
|
|
2234
1791
|
content?: string | undefined | undefined;
|
|
@@ -2532,7 +2089,6 @@ declare const Combobox: {
|
|
|
2532
2089
|
multiple?: boolean | undefined | undefined;
|
|
2533
2090
|
src?: string | undefined | undefined;
|
|
2534
2091
|
alt?: string | undefined | undefined;
|
|
2535
|
-
required?: boolean | undefined | undefined;
|
|
2536
2092
|
accept?: string | undefined | undefined;
|
|
2537
2093
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
2538
2094
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -2540,46 +2096,31 @@ declare const Combobox: {
|
|
|
2540
2096
|
minLength?: number | undefined | undefined;
|
|
2541
2097
|
placeholder?: string | undefined | undefined;
|
|
2542
2098
|
readOnly?: boolean | undefined | undefined;
|
|
2543
|
-
|
|
2544
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
2099
|
+
required?: boolean | undefined | undefined;
|
|
2545
2100
|
}) => react_jsx_runtime.JSX.Element;
|
|
2546
|
-
Content: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }:
|
|
2101
|
+
Content: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Omit<Omit<_base_ui_react_combobox.ComboboxPopupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2547
2102
|
className?: string;
|
|
2548
|
-
} & Pick<Omit<_base_ui_react_combobox.ComboboxPositionerProps, "ref"> & react.RefAttributes<HTMLDivElement>, "side" | "sideOffset" | "align" | "alignOffset" | "anchor"> & Pick<Omit<_base_ui_react_combobox.ComboboxPortalProps, "ref"> & react.RefAttributes<HTMLDivElement>, "container">)
|
|
2549
|
-
|
|
2550
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2551
|
-
List: ({ ref, className, ...props }: (Omit<Omit<_base_ui_react_combobox.ComboboxListProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2103
|
+
} & Pick<Omit<_base_ui_react_combobox.ComboboxPositionerProps, "ref"> & react.RefAttributes<HTMLDivElement>, "side" | "sideOffset" | "align" | "alignOffset" | "anchor"> & Pick<Omit<_base_ui_react_combobox.ComboboxPortalProps, "ref"> & react.RefAttributes<HTMLDivElement>, "container">) => react_jsx_runtime.JSX.Element;
|
|
2104
|
+
List: ({ ref, className, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxListProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2552
2105
|
className?: string;
|
|
2553
|
-
}) & {
|
|
2554
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2555
2106
|
}) => react_jsx_runtime.JSX.Element;
|
|
2556
|
-
Item: ({ ref, className, children, icon, indicator: variant, ...props }:
|
|
2107
|
+
Item: ({ ref, className, children, icon, indicator: variant, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2557
2108
|
className?: string;
|
|
2558
2109
|
icon?: ReactNode;
|
|
2559
2110
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>["variant"];
|
|
2560
|
-
}) & {
|
|
2561
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2562
2111
|
}) => react_jsx_runtime.JSX.Element;
|
|
2563
|
-
Empty: ({ ref, className, ...props }:
|
|
2112
|
+
Empty: ({ ref, className, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxEmptyProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2564
2113
|
className?: string;
|
|
2565
|
-
}) & {
|
|
2566
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2567
2114
|
}) => react_jsx_runtime.JSX.Element;
|
|
2568
2115
|
Value: typeof Combobox$1.Value;
|
|
2569
|
-
Separator: ({ ref, className, ...props }:
|
|
2116
|
+
Separator: ({ ref, className, ...props }: Omit<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2570
2117
|
className?: string;
|
|
2571
|
-
}) & {
|
|
2572
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2573
2118
|
}) => react_jsx_runtime.JSX.Element;
|
|
2574
|
-
Group: ({ ref, className, children, ...props }:
|
|
2119
|
+
Group: ({ ref, className, children, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2575
2120
|
className?: string;
|
|
2576
|
-
}) & {
|
|
2577
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2578
2121
|
}) => react_jsx_runtime.JSX.Element;
|
|
2579
|
-
GroupLabel: ({ ref, className, ...props }:
|
|
2122
|
+
GroupLabel: ({ ref, className, ...props }: Omit<_base_ui_react_combobox.ComboboxGroupLabelProps, "className"> & {
|
|
2580
2123
|
className?: string;
|
|
2581
|
-
}) & {
|
|
2582
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2583
2124
|
}) => react_jsx_runtime.JSX.Element;
|
|
2584
2125
|
GroupList: ({ ...props }: _base_ui_react_combobox.ComboboxCollectionProps) => react_jsx_runtime.JSX.Element;
|
|
2585
2126
|
Chips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, variant, }: {
|
|
@@ -2601,7 +2142,7 @@ type Indicator = NonNullable<ComboboxItemProps['indicator']>;
|
|
|
2601
2142
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
2602
2143
|
* the default substring matcher.
|
|
2603
2144
|
*/
|
|
2604
|
-
type Props$
|
|
2145
|
+
type Props$_<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter'> & Pick<ComboboxChipsProps, 'itemToChipLabel' | 'itemToChipColor' | 'maxVisible'> & {
|
|
2605
2146
|
items?: readonly (Value | GroupShape)[];
|
|
2606
2147
|
allowClear?: boolean;
|
|
2607
2148
|
allowSelectAll?: boolean;
|
|
@@ -2617,17 +2158,16 @@ type Props$11<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<Comb
|
|
|
2617
2158
|
*
|
|
2618
2159
|
* **When to use:** picking several items from a searchable enumerated list (filter by tags, assign labels).
|
|
2619
2160
|
* Items render as chips above the input; `maxVisible` collapses excess into a `+N more` chip.
|
|
2620
|
-
* **When NOT to use:** for single selection use `Combobox`; for short enums without search use `Select
|
|
2621
|
-
* for free-form chip entry where the user types arbitrary new values use `Tagger`.
|
|
2161
|
+
* **When NOT to use:** for single selection use `Combobox`; for short enums without search use `Select`.
|
|
2622
2162
|
* **Composition:** wrap in `FormGroup` for label + help text, or use `useAppForm` for form integration.
|
|
2623
2163
|
* Pass `allowSelectAll` for a sticky "Select All" item when the full enum is small.
|
|
2624
2164
|
*
|
|
2625
2165
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
2626
2166
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
2627
2167
|
*/
|
|
2628
|
-
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$
|
|
2168
|
+
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$_<Value, GroupShape>) => react_jsx_runtime.JSX.Element;
|
|
2629
2169
|
|
|
2630
|
-
type InputGroupProps$
|
|
2170
|
+
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
2631
2171
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
2632
2172
|
type TextareaOwnProps = {
|
|
2633
2173
|
value?: string | null;
|
|
@@ -2638,14 +2178,12 @@ type TextareaOwnProps = {
|
|
|
2638
2178
|
disableResize?: boolean;
|
|
2639
2179
|
containerClassName?: string;
|
|
2640
2180
|
};
|
|
2641
|
-
type Props$
|
|
2181
|
+
type Props$Z = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
2642
2182
|
/**
|
|
2643
2183
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
2644
2184
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
2645
2185
|
*/
|
|
2646
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props$
|
|
2647
|
-
ref?: Ref<ElementRef<"textarea">>;
|
|
2648
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2186
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$Z) => react_jsx_runtime.JSX.Element;
|
|
2649
2187
|
|
|
2650
2188
|
type AutoSaveTextareaProps = {
|
|
2651
2189
|
savedValue?: string;
|
|
@@ -2656,18 +2194,16 @@ type AutoSaveTextareaProps = {
|
|
|
2656
2194
|
} & Pick<ComponentProps<typeof Textarea>, 'variant' | 'minRows' | 'maxRows' | 'className' | 'containerClassName' | 'maxLength'>;
|
|
2657
2195
|
declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, grow, ...textareaProps }: AutoSaveTextareaProps) => react_jsx_runtime.JSX.Element;
|
|
2658
2196
|
|
|
2659
|
-
type InputGroupProps$
|
|
2660
|
-
type InputGroupInputProps$
|
|
2661
|
-
type Props
|
|
2197
|
+
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2198
|
+
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2199
|
+
type Props$Y = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
2662
2200
|
value?: string | null;
|
|
2663
2201
|
defaultValue?: string | null;
|
|
2664
2202
|
onValueChange?: (value: string) => void;
|
|
2665
2203
|
onValueBlur?: (value: string) => void;
|
|
2666
2204
|
allowClear?: boolean;
|
|
2667
2205
|
};
|
|
2668
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props
|
|
2669
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2670
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2206
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$Y) => react_jsx_runtime.JSX.Element;
|
|
2671
2207
|
|
|
2672
2208
|
type BrandId = string;
|
|
2673
2209
|
type ResolvedColorScheme = 'light' | 'dark';
|
|
@@ -2702,12 +2238,12 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
2702
2238
|
setScheme: (next: ColorScheme) => void;
|
|
2703
2239
|
};
|
|
2704
2240
|
|
|
2705
|
-
type Props$
|
|
2241
|
+
type Props$X = UseColorSchemeOptions & UseBrandOptions & {
|
|
2706
2242
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
2707
2243
|
brands?: readonly Brand[];
|
|
2708
2244
|
children: ReactNode;
|
|
2709
2245
|
};
|
|
2710
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$
|
|
2246
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$X) => react_jsx_runtime.JSX.Element;
|
|
2711
2247
|
|
|
2712
2248
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
2713
2249
|
themes: Theme[];
|
|
@@ -2731,7 +2267,7 @@ declare const useArgoDesign: () => boolean;
|
|
|
2731
2267
|
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
2732
2268
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
2733
2269
|
|
|
2734
|
-
type Props$
|
|
2270
|
+
type Props$W = {
|
|
2735
2271
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
2736
2272
|
value: ColorScheme;
|
|
2737
2273
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -2756,11 +2292,25 @@ type Props$Z = {
|
|
|
2756
2292
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
2757
2293
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
2758
2294
|
*/
|
|
2759
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
2295
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$W) => react_jsx_runtime.JSX.Element;
|
|
2296
|
+
|
|
2297
|
+
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2298
|
+
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2299
|
+
type Props$V = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
2300
|
+
value?: Date | null;
|
|
2301
|
+
defaultValue?: Date | null;
|
|
2302
|
+
onValueChange?: (value: Date | null) => void;
|
|
2303
|
+
onValueBlur?: (value: Date | null) => void;
|
|
2304
|
+
allowClear?: boolean;
|
|
2305
|
+
disabledDays?: Matcher | Matcher[];
|
|
2306
|
+
endMonth?: Date;
|
|
2307
|
+
startMonth?: Date;
|
|
2308
|
+
};
|
|
2309
|
+
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$V) => react_jsx_runtime.JSX.Element;
|
|
2760
2310
|
|
|
2761
|
-
type InputGroupProps$
|
|
2762
|
-
type InputGroupInputProps$
|
|
2763
|
-
type Props$
|
|
2311
|
+
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2312
|
+
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
2313
|
+
type Props$U = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
2764
2314
|
value?: number | null;
|
|
2765
2315
|
defaultValue?: number | null;
|
|
2766
2316
|
onValueChange?: (value: number | null) => void;
|
|
@@ -2768,38 +2318,52 @@ type Props$Y = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
2768
2318
|
prefix?: ReactNode;
|
|
2769
2319
|
suffix?: ReactNode;
|
|
2770
2320
|
};
|
|
2771
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
2772
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2773
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2321
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$U) => react_jsx_runtime.JSX.Element;
|
|
2774
2322
|
|
|
2775
|
-
type InputGroupProps$
|
|
2776
|
-
type InputGroupInputProps$
|
|
2777
|
-
type Props$
|
|
2323
|
+
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2324
|
+
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
2325
|
+
type Props$T = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
2778
2326
|
value?: string | null;
|
|
2779
2327
|
defaultValue?: string | null;
|
|
2780
2328
|
onValueChange?: (value: string) => void;
|
|
2781
2329
|
onValueBlur?: (value: string) => void;
|
|
2782
2330
|
allowClear?: boolean;
|
|
2783
2331
|
allowPasswordToggle?: boolean;
|
|
2332
|
+
/**
|
|
2333
|
+
* Suffix appended to the reveal button's accessible name, e.g. the field
|
|
2334
|
+
* title. Use it to disambiguate multiple password fields on one form —
|
|
2335
|
+
* "Show password: API token" / "Hide password: API token". Omit for a
|
|
2336
|
+
* single field.
|
|
2337
|
+
*/
|
|
2338
|
+
passwordToggleLabel?: string;
|
|
2784
2339
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
2785
2340
|
defaultPasswordVisibility?: boolean;
|
|
2786
2341
|
};
|
|
2787
|
-
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$
|
|
2788
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2789
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2342
|
+
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$T) => react_jsx_runtime.JSX.Element;
|
|
2790
2343
|
|
|
2791
|
-
type InputGroupProps$
|
|
2792
|
-
type InputGroupInputProps$
|
|
2793
|
-
type Props$
|
|
2344
|
+
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2345
|
+
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2346
|
+
type Props$S = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
2794
2347
|
value?: string | null;
|
|
2795
2348
|
defaultValue?: string | null;
|
|
2796
2349
|
onValueChange?: (value: string | null) => void;
|
|
2797
2350
|
onValueBlur?: (value: string | null) => void;
|
|
2798
2351
|
allowClear?: boolean;
|
|
2799
2352
|
};
|
|
2800
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2801
|
-
|
|
2802
|
-
|
|
2353
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$S) => react_jsx_runtime.JSX.Element;
|
|
2354
|
+
|
|
2355
|
+
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2356
|
+
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2357
|
+
type Props$R = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
2358
|
+
value?: DateRange$1 | null;
|
|
2359
|
+
defaultValue?: DateRange$1 | null;
|
|
2360
|
+
onValueChange?: (value: DateRange$1 | null) => void;
|
|
2361
|
+
onValueBlur?: (value: DateRange$1 | null) => void;
|
|
2362
|
+
allowClear?: boolean;
|
|
2363
|
+
startMonth?: Date;
|
|
2364
|
+
endMonth?: Date;
|
|
2365
|
+
};
|
|
2366
|
+
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$R) => react_jsx_runtime.JSX.Element;
|
|
2803
2367
|
|
|
2804
2368
|
type OtpInputSizing = 'sm' | 'md' | 'lg';
|
|
2805
2369
|
type OtpElementProps = ComponentProps<typeof OTPInput>;
|
|
@@ -2835,7 +2399,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
2835
2399
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
2836
2400
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
2837
2401
|
*/
|
|
2838
|
-
type Props$
|
|
2402
|
+
type Props$Q = InputGroupProps & InputGroupInputProps & {
|
|
2839
2403
|
value?: string | null;
|
|
2840
2404
|
defaultValue?: string | null;
|
|
2841
2405
|
/** 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`. */
|
|
@@ -2858,15 +2422,13 @@ type Props$V = InputGroupProps & InputGroupInputProps & {
|
|
|
2858
2422
|
* free-text filters. `onValueChange` is debounced so callers can wire it directly to fetches without
|
|
2859
2423
|
* `useMemo` plumbing.
|
|
2860
2424
|
* **When NOT to use:** for a plain string input use `TextInput`; for selecting from a known enumerated
|
|
2861
|
-
* list use `Combobox` (which has its own search built in)
|
|
2425
|
+
* list use `Combobox` (which has its own search built in).
|
|
2862
2426
|
* **Composition:** typically rendered in `PageToolbar.Search` next to `MultiCombobox` filter pills. Use
|
|
2863
2427
|
* `allowClear` for the canonical x-to-reset affordance.
|
|
2864
2428
|
*
|
|
2865
2429
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
2866
2430
|
*/
|
|
2867
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
2868
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2869
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2431
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$Q) => react_jsx_runtime.JSX.Element;
|
|
2870
2432
|
|
|
2871
2433
|
type SearchInputWithNavigationProps = {
|
|
2872
2434
|
currentIndex: number | null;
|
|
@@ -2885,118 +2447,12 @@ declare const SearchInputWithNavigation: ({ ref, value, onValueChange, placehold
|
|
|
2885
2447
|
ref?: Ref<HTMLInputElement>;
|
|
2886
2448
|
}) => react_jsx_runtime.JSX.Element;
|
|
2887
2449
|
|
|
2888
|
-
declare const addonVariants: (props?: ({
|
|
2889
|
-
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2890
|
-
variant?: "inline" | "floating" | null | undefined;
|
|
2891
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2892
|
-
type Props$U = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
2893
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$U & {
|
|
2894
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2895
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2896
|
-
|
|
2897
|
-
type Props$T = ComponentProps<'span'> & {
|
|
2898
|
-
asChild?: boolean;
|
|
2899
|
-
};
|
|
2900
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$T & {
|
|
2901
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2902
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2903
|
-
|
|
2904
|
-
declare const badgeRootVariants: (props?: ({
|
|
2905
|
-
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2906
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2907
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2908
|
-
|
|
2909
|
-
type Props$S = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
2910
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$S & {
|
|
2911
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2912
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2913
|
-
|
|
2914
|
-
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
2915
|
-
type BadgeRootProps = ComponentProps<typeof BadgeRoot>;
|
|
2916
|
-
type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
2917
|
-
/**
|
|
2918
|
-
* Props for `Badge`. `color` is a categorical contract (`green` = success, `red` = error, `orange` = warning,
|
|
2919
|
-
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
2920
|
-
* Pass `prefix` / `suffix` for icon-style addons.
|
|
2921
|
-
*/
|
|
2922
|
-
type Props$R = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
2923
|
-
prefix?: ReactNode;
|
|
2924
|
-
prefixVariant?: AddonVariant;
|
|
2925
|
-
suffix?: ReactNode;
|
|
2926
|
-
suffixVariant?: AddonVariant;
|
|
2927
|
-
labelClassName?: string;
|
|
2928
|
-
};
|
|
2929
|
-
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$R & {
|
|
2930
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2931
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
2932
|
-
Root: ({ ref, variant, color, className, children, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2933
|
-
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2934
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2935
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2936
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2937
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2938
|
-
Button: ({ ref, className, type, children, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & {
|
|
2939
|
-
ref?: Ref<ElementRef<"button">>;
|
|
2940
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2941
|
-
Label: ({ ref, className, asChild, ...rest }: (react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
2942
|
-
asChild?: boolean;
|
|
2943
|
-
}) & {
|
|
2944
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2945
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2946
|
-
Addon: ({ ref, align, variant, className, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2947
|
-
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2948
|
-
variant?: "inline" | "floating" | null | undefined;
|
|
2949
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2950
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2951
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2952
|
-
};
|
|
2953
|
-
|
|
2954
|
-
type Color = ComponentProps<typeof Badge>['color'];
|
|
2955
|
-
type TagOption = {
|
|
2956
|
-
name: string;
|
|
2957
|
-
color: Color;
|
|
2958
|
-
disabled?: boolean;
|
|
2959
|
-
};
|
|
2960
|
-
|
|
2961
|
-
type Props$Q = {
|
|
2962
|
-
onCreate?: (search: string) => void;
|
|
2963
|
-
} & Pick<ComponentProps<typeof Command.Item>, 'value'>;
|
|
2964
|
-
declare const TagSelectCreateItem: ({ onCreate, value }: Props$Q) => react_jsx_runtime.JSX.Element;
|
|
2965
|
-
|
|
2966
|
-
type Props$P = {
|
|
2967
|
-
value: string[];
|
|
2968
|
-
onAdd?: (selected: string[]) => void;
|
|
2969
|
-
};
|
|
2970
|
-
declare const TagSelectValue: ({ value, onAdd }: Props$P) => react_jsx_runtime.JSX.Element;
|
|
2971
|
-
|
|
2972
|
-
type Props$O = {
|
|
2973
|
-
options?: TagOption[];
|
|
2974
|
-
} & Pick<ComponentProps<typeof TagSelectValue>, 'onAdd'> & Pick<ComponentProps<typeof TagSelectCreateItem>, 'onCreate'>;
|
|
2975
|
-
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$O) => react_jsx_runtime.JSX.Element;
|
|
2976
|
-
|
|
2977
|
-
type Props$N = {
|
|
2978
|
-
children: ReactNode;
|
|
2979
|
-
} & ComponentProps<typeof TagSelectList>;
|
|
2980
|
-
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
2981
|
-
|
|
2982
|
-
type OnValueChangeHandler = (value: {
|
|
2983
|
-
action: 'add' | 'remove';
|
|
2984
|
-
tags: TagOption[];
|
|
2985
|
-
allTags: TagOption[];
|
|
2986
|
-
}) => void;
|
|
2987
|
-
type Props$M = {
|
|
2988
|
-
value?: TagOption[];
|
|
2989
|
-
onValueChange: OnValueChangeHandler;
|
|
2990
|
-
disabled?: boolean;
|
|
2991
|
-
} & Pick<ComponentProps<typeof TagSelectPopover>, 'options' | 'onCreate'>;
|
|
2992
|
-
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$M) => react_jsx_runtime.JSX.Element | null;
|
|
2993
|
-
|
|
2994
2450
|
/**
|
|
2995
2451
|
* Props for `FileUpload`. The component is uncontrolled with respect to the file
|
|
2996
2452
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
2997
2453
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
2998
2454
|
*/
|
|
2999
|
-
type Props$
|
|
2455
|
+
type Props$P = {
|
|
3000
2456
|
/** MIME / extension filter passed straight to react-dropzone. */
|
|
3001
2457
|
accept?: Accept;
|
|
3002
2458
|
/** Max size per file, in bytes. Oversized files are rejected and surface in `onFilesRejected`. */
|
|
@@ -3015,7 +2471,7 @@ type Props$L = {
|
|
|
3015
2471
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
3016
2472
|
children: ReactNode;
|
|
3017
2473
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'>;
|
|
3018
|
-
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
2474
|
+
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$P) => react_jsx_runtime.JSX.Element) & {
|
|
3019
2475
|
DropZone: ({ children, className, ...rest }: {
|
|
3020
2476
|
children?: ReactNode;
|
|
3021
2477
|
} & Omit<HTMLAttributes<HTMLDivElement>, "children">) => react_jsx_runtime.JSX.Element;
|
|
@@ -3646,13 +3102,13 @@ declare const FormGroup: {
|
|
|
3646
3102
|
multiple?: boolean | undefined | undefined;
|
|
3647
3103
|
src?: string | undefined | undefined;
|
|
3648
3104
|
alt?: string | undefined | undefined;
|
|
3649
|
-
required?: boolean | undefined | undefined;
|
|
3650
3105
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
3651
3106
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
3652
3107
|
maxLength?: number | undefined | undefined;
|
|
3653
3108
|
minLength?: number | undefined | undefined;
|
|
3654
3109
|
placeholder?: string | undefined | undefined;
|
|
3655
3110
|
readOnly?: boolean | undefined | undefined;
|
|
3111
|
+
required?: boolean | undefined | undefined;
|
|
3656
3112
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3657
3113
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3658
3114
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -3662,8 +3118,6 @@ declare const FormGroup: {
|
|
|
3662
3118
|
allowClear?: boolean | undefined;
|
|
3663
3119
|
onClear?: (() => void) | undefined;
|
|
3664
3120
|
testId?: string | undefined;
|
|
3665
|
-
} & {
|
|
3666
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
3667
3121
|
}) => react_jsx_runtime.JSX.Element;
|
|
3668
3122
|
NumberInput: ({ ref, ...props }: {
|
|
3669
3123
|
content?: string | undefined | undefined;
|
|
@@ -3971,7 +3425,6 @@ declare const FormGroup: {
|
|
|
3971
3425
|
multiple?: boolean | undefined | undefined;
|
|
3972
3426
|
src?: string | undefined | undefined;
|
|
3973
3427
|
alt?: string | undefined | undefined;
|
|
3974
|
-
required?: boolean | undefined | undefined;
|
|
3975
3428
|
accept?: string | undefined | undefined;
|
|
3976
3429
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
3977
3430
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -3979,12 +3432,11 @@ declare const FormGroup: {
|
|
|
3979
3432
|
minLength?: number | undefined | undefined;
|
|
3980
3433
|
placeholder?: string | undefined | undefined;
|
|
3981
3434
|
readOnly?: boolean | undefined | undefined;
|
|
3435
|
+
required?: boolean | undefined | undefined;
|
|
3982
3436
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
3983
3437
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3984
3438
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3985
3439
|
suffix?: react.ReactNode;
|
|
3986
|
-
} & {
|
|
3987
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
3988
3440
|
}) => react_jsx_runtime.JSX.Element;
|
|
3989
3441
|
ColorInput: ({ ref, ...props }: {
|
|
3990
3442
|
content?: string | undefined | undefined;
|
|
@@ -4293,7 +3745,6 @@ declare const FormGroup: {
|
|
|
4293
3745
|
multiple?: boolean | undefined | undefined;
|
|
4294
3746
|
src?: string | undefined | undefined;
|
|
4295
3747
|
alt?: string | undefined | undefined;
|
|
4296
|
-
required?: boolean | undefined | undefined;
|
|
4297
3748
|
accept?: string | undefined | undefined;
|
|
4298
3749
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
4299
3750
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -4301,12 +3752,11 @@ declare const FormGroup: {
|
|
|
4301
3752
|
minLength?: number | undefined | undefined;
|
|
4302
3753
|
placeholder?: string | undefined | undefined;
|
|
4303
3754
|
readOnly?: boolean | undefined | undefined;
|
|
3755
|
+
required?: boolean | undefined | undefined;
|
|
4304
3756
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
4305
3757
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
4306
3758
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
4307
3759
|
allowClear?: boolean | undefined;
|
|
4308
|
-
} & {
|
|
4309
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
4310
3760
|
}) => react_jsx_runtime.JSX.Element;
|
|
4311
3761
|
Textarea: (props: {
|
|
4312
3762
|
content?: string | undefined | undefined;
|
|
@@ -4600,12 +4050,12 @@ declare const FormGroup: {
|
|
|
4600
4050
|
value?: string | null | undefined;
|
|
4601
4051
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
4602
4052
|
wrap?: string | undefined | undefined;
|
|
4603
|
-
required?: boolean | undefined | undefined;
|
|
4604
4053
|
autoComplete?: string | undefined | undefined;
|
|
4605
4054
|
maxLength?: number | undefined | undefined;
|
|
4606
4055
|
minLength?: number | undefined | undefined;
|
|
4607
4056
|
placeholder?: string | undefined | undefined;
|
|
4608
4057
|
readOnly?: boolean | undefined | undefined;
|
|
4058
|
+
required?: boolean | undefined | undefined;
|
|
4609
4059
|
cols?: number | undefined | undefined;
|
|
4610
4060
|
dirName?: string | undefined | undefined;
|
|
4611
4061
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -4623,43 +4073,43 @@ declare const FormGroup: {
|
|
|
4623
4073
|
declare const helpVariants: (props?: ({
|
|
4624
4074
|
state?: "warning" | "default" | null | undefined;
|
|
4625
4075
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4626
|
-
type Props$
|
|
4627
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4076
|
+
type Props$O = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4077
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$O) => react_jsx_runtime.JSX.Element | null;
|
|
4628
4078
|
|
|
4629
4079
|
type AnswerItem = {
|
|
4630
4080
|
question: string;
|
|
4631
4081
|
answer?: string;
|
|
4632
4082
|
};
|
|
4633
4083
|
type Variant$5 = 'success' | 'dismissed';
|
|
4634
|
-
type Props$
|
|
4084
|
+
type Props$N = {
|
|
4635
4085
|
items: readonly AnswerItem[];
|
|
4636
4086
|
variant?: Variant$5;
|
|
4637
4087
|
noAnswerLabel?: string;
|
|
4638
4088
|
};
|
|
4639
|
-
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$
|
|
4089
|
+
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
4640
4090
|
|
|
4641
4091
|
type Variant$4 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4642
|
-
type Props$
|
|
4092
|
+
type Props$M = {
|
|
4643
4093
|
isExpanded: boolean;
|
|
4644
4094
|
onToggle: () => void;
|
|
4645
4095
|
label: ReactNode;
|
|
4646
4096
|
variant?: Variant$4;
|
|
4647
4097
|
};
|
|
4648
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$
|
|
4098
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$M) => react_jsx_runtime.JSX.Element;
|
|
4649
4099
|
|
|
4650
|
-
type Props$
|
|
4100
|
+
type Props$L = {
|
|
4651
4101
|
children: ReactNode;
|
|
4652
4102
|
};
|
|
4653
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
4103
|
+
declare const InlineStepDetail: ({ children }: Props$L) => react_jsx_runtime.JSX.Element;
|
|
4654
4104
|
|
|
4655
4105
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4656
|
-
type Props$
|
|
4106
|
+
type Props$K = {
|
|
4657
4107
|
variant: Variant$3;
|
|
4658
4108
|
children: ReactNode;
|
|
4659
4109
|
};
|
|
4660
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
4110
|
+
declare const InlineStepLabel: ({ variant, children }: Props$K) => react_jsx_runtime.JSX.Element;
|
|
4661
4111
|
|
|
4662
|
-
type Props$
|
|
4112
|
+
type Props$J = {
|
|
4663
4113
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4664
4114
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4665
4115
|
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
@@ -4671,9 +4121,9 @@ type Props$F = {
|
|
|
4671
4121
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4672
4122
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4673
4123
|
*/
|
|
4674
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4124
|
+
declare const Markdown: ({ children, className }: Props$J) => react_jsx_runtime.JSX.Element;
|
|
4675
4125
|
|
|
4676
|
-
type Props$
|
|
4126
|
+
type Props$I = {
|
|
4677
4127
|
user?: {
|
|
4678
4128
|
name: string | undefined;
|
|
4679
4129
|
email: string | undefined;
|
|
@@ -4683,17 +4133,15 @@ type Props$E = {
|
|
|
4683
4133
|
size?: number;
|
|
4684
4134
|
variant?: 'circle' | 'rounded';
|
|
4685
4135
|
} & ComponentProps<'span'>;
|
|
4686
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4687
|
-
ref?: Ref<ElementRef<"span">>;
|
|
4688
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4136
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$I) => react_jsx_runtime.JSX.Element;
|
|
4689
4137
|
|
|
4690
|
-
type Props$
|
|
4138
|
+
type Props$H = {
|
|
4691
4139
|
variant: 'user' | 'assistant';
|
|
4692
4140
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4693
4141
|
actions?: ReactNode;
|
|
4694
4142
|
createdAt?: string;
|
|
4695
4143
|
} & PropsWithChildren;
|
|
4696
|
-
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$
|
|
4144
|
+
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$H) => react_jsx_runtime.JSX.Element;
|
|
4697
4145
|
|
|
4698
4146
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
4699
4147
|
type PlanApprovalProps = {
|
|
@@ -4720,12 +4168,14 @@ type PlanApprovalProps = {
|
|
|
4720
4168
|
showMoreLabel?: string;
|
|
4721
4169
|
showLessLabel?: string;
|
|
4722
4170
|
closeLabel?: string;
|
|
4171
|
+
fullScreenLabel?: string;
|
|
4172
|
+
exitFullScreenLabel?: string;
|
|
4723
4173
|
changeRequestPlaceholder?: string;
|
|
4724
4174
|
changeRequestSubmitLabel?: string;
|
|
4725
4175
|
stepCountLabel?: (count: number) => string;
|
|
4726
4176
|
className?: string;
|
|
4727
4177
|
};
|
|
4728
|
-
declare const PlanApproval: ({ status, title, summary, stepCount, planBody, defaultExpanded, isExpanded: isExpandedProp, onExpandToggle, onApprove, onRequestChanges, onClose, isSubmitting, approveTooltip, pendingPillLabel, approvedPillLabel, dismissedPillLabel, changesRequestedPillLabel, approveLabel, requestChangesLabel, cancelLabel, showMoreLabel, showLessLabel, closeLabel, changeRequestPlaceholder, changeRequestSubmitLabel, stepCountLabel, className, }: PlanApprovalProps) => react_jsx_runtime.JSX.Element;
|
|
4178
|
+
declare const PlanApproval: ({ status, title, summary, stepCount, planBody, defaultExpanded, isExpanded: isExpandedProp, onExpandToggle, onApprove, onRequestChanges, onClose, isSubmitting, approveTooltip, pendingPillLabel, approvedPillLabel, dismissedPillLabel, changesRequestedPillLabel, approveLabel, requestChangesLabel, cancelLabel, showMoreLabel, showLessLabel, closeLabel, fullScreenLabel, exitFullScreenLabel, changeRequestPlaceholder, changeRequestSubmitLabel, stepCountLabel, className, }: PlanApprovalProps) => react_jsx_runtime.JSX.Element;
|
|
4729
4179
|
|
|
4730
4180
|
type PlanRewritingIndicatorProps = {
|
|
4731
4181
|
label?: string;
|
|
@@ -4741,17 +4191,15 @@ type PromptCommand = {
|
|
|
4741
4191
|
};
|
|
4742
4192
|
|
|
4743
4193
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4744
|
-
type Props$
|
|
4194
|
+
type Props$G = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
4745
4195
|
status?: SubmitStatus;
|
|
4746
4196
|
};
|
|
4747
|
-
declare const PromptInputSubmit: ({ ref, disabled, status
|
|
4748
|
-
ref?: Ref<ElementRef<"button">>;
|
|
4749
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4197
|
+
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
4750
4198
|
|
|
4751
4199
|
declare const promptInputVariants: (props?: ({
|
|
4752
4200
|
variant?: "inline" | "default" | null | undefined;
|
|
4753
4201
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4754
|
-
type Props$
|
|
4202
|
+
type Props$F = {
|
|
4755
4203
|
onSend?: (value: string) => void;
|
|
4756
4204
|
onAbort?: () => void;
|
|
4757
4205
|
onContinue?: () => void;
|
|
@@ -4765,10 +4213,8 @@ type Props$B = {
|
|
|
4765
4213
|
commands?: PromptCommand[];
|
|
4766
4214
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof react_textarea_autosize__default>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4767
4215
|
declare const PromptInput: {
|
|
4768
|
-
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4769
|
-
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>
|
|
4770
|
-
ref?: react.Ref<ElementRef<"button">>;
|
|
4771
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4216
|
+
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$F): react_jsx_runtime.JSX.Element;
|
|
4217
|
+
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
4772
4218
|
};
|
|
4773
4219
|
|
|
4774
4220
|
type QuestionOption = {
|
|
@@ -4777,7 +4223,7 @@ type QuestionOption = {
|
|
|
4777
4223
|
description?: string;
|
|
4778
4224
|
preview?: string;
|
|
4779
4225
|
};
|
|
4780
|
-
type Props$
|
|
4226
|
+
type Props$E = {
|
|
4781
4227
|
question: string;
|
|
4782
4228
|
header?: string;
|
|
4783
4229
|
options: readonly QuestionOption[];
|
|
@@ -4800,7 +4246,7 @@ type Props$A = {
|
|
|
4800
4246
|
renderPreview?: (content: string) => ReactNode;
|
|
4801
4247
|
className?: string;
|
|
4802
4248
|
};
|
|
4803
|
-
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$
|
|
4249
|
+
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$E) => react_jsx_runtime.JSX.Element;
|
|
4804
4250
|
|
|
4805
4251
|
type QuestionStep = {
|
|
4806
4252
|
question: string;
|
|
@@ -4814,7 +4260,7 @@ type QuestionAnswers = {
|
|
|
4814
4260
|
selections: Record<number, readonly string[]>;
|
|
4815
4261
|
customAnswers: Record<number, string>;
|
|
4816
4262
|
};
|
|
4817
|
-
type Props$
|
|
4263
|
+
type Props$D = {
|
|
4818
4264
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
4819
4265
|
showSkip?: boolean;
|
|
4820
4266
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -4822,16 +4268,16 @@ type Props$z = {
|
|
|
4822
4268
|
renderPreview?: (content: string) => ReactNode;
|
|
4823
4269
|
className?: string;
|
|
4824
4270
|
};
|
|
4825
|
-
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$
|
|
4271
|
+
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$D) => react_jsx_runtime.JSX.Element;
|
|
4826
4272
|
|
|
4827
|
-
type Props$
|
|
4273
|
+
type Props$C = {
|
|
4828
4274
|
label: string;
|
|
4829
4275
|
disabled?: boolean;
|
|
4830
4276
|
onClick: () => void;
|
|
4831
4277
|
icon?: ReactNode;
|
|
4832
4278
|
className?: string;
|
|
4833
4279
|
};
|
|
4834
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4280
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$C) => react_jsx_runtime.JSX.Element;
|
|
4835
4281
|
|
|
4836
4282
|
type ThinkingIndicatorProps = {
|
|
4837
4283
|
label?: string;
|
|
@@ -4890,7 +4336,7 @@ type ToolCallChipProps = {
|
|
|
4890
4336
|
*/
|
|
4891
4337
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className, }: ToolCallChipProps) => react_jsx_runtime.JSX.Element;
|
|
4892
4338
|
|
|
4893
|
-
type Props$
|
|
4339
|
+
type Props$B = {
|
|
4894
4340
|
value: number;
|
|
4895
4341
|
alert?: boolean;
|
|
4896
4342
|
children: ReactNode;
|
|
@@ -4904,32 +4350,28 @@ type Props$x = {
|
|
|
4904
4350
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4905
4351
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4906
4352
|
};
|
|
4907
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$
|
|
4353
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$B) => react_jsx_runtime.JSX.Element;
|
|
4908
4354
|
|
|
4909
|
-
type Props$
|
|
4355
|
+
type Props$A = {
|
|
4910
4356
|
value: number;
|
|
4911
4357
|
size?: number;
|
|
4912
4358
|
strokeWidth?: number;
|
|
4913
4359
|
className?: string;
|
|
4914
4360
|
};
|
|
4915
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4361
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$A) => react_jsx_runtime.JSX.Element;
|
|
4916
4362
|
|
|
4917
|
-
type Props$
|
|
4363
|
+
type Props$z = ComponentProps<typeof Root$9>;
|
|
4918
4364
|
declare const Collapsible: {
|
|
4919
|
-
(props: Props$
|
|
4365
|
+
(props: Props$z): react_jsx_runtime.JSX.Element;
|
|
4920
4366
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
4921
|
-
Content: ({ ref, className, children, ...props }:
|
|
4922
|
-
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
4923
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4367
|
+
Content: ({ ref, className, children, ...props }: _radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
4924
4368
|
};
|
|
4925
4369
|
|
|
4926
4370
|
type Variant$2 = 'info' | 'warning' | 'error' | 'success';
|
|
4927
|
-
type Props$
|
|
4371
|
+
type Props$y = {
|
|
4928
4372
|
variant?: Variant$2;
|
|
4929
4373
|
} & ComponentProps<'div'>;
|
|
4930
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4931
|
-
ref?: Ref<ElementRef<"div">>;
|
|
4932
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4374
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
4933
4375
|
|
|
4934
4376
|
type CommonProps = {
|
|
4935
4377
|
hideIcon?: boolean;
|
|
@@ -4952,7 +4394,7 @@ type DefaultProps = {
|
|
|
4952
4394
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4953
4395
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4954
4396
|
*/
|
|
4955
|
-
type Props$
|
|
4397
|
+
type Props$x = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4956
4398
|
/**
|
|
4957
4399
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4958
4400
|
*
|
|
@@ -4966,13 +4408,13 @@ type Props$t = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4966
4408
|
*
|
|
4967
4409
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4968
4410
|
*/
|
|
4969
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
4411
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$x) => react_jsx_runtime.JSX.Element;
|
|
4970
4412
|
|
|
4971
4413
|
declare const variants$1: (props?: ({
|
|
4972
4414
|
variant?: "success" | "warning" | "info" | "default" | "error" | null | undefined;
|
|
4973
4415
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4974
4416
|
type Variants = VariantProps<typeof variants$1>;
|
|
4975
|
-
type Props$
|
|
4417
|
+
type Props$w = {
|
|
4976
4418
|
id: string | number;
|
|
4977
4419
|
title: ReactNode;
|
|
4978
4420
|
icon?: ReactNode;
|
|
@@ -4981,7 +4423,7 @@ type Props$s = {
|
|
|
4981
4423
|
loading?: boolean;
|
|
4982
4424
|
duration?: number;
|
|
4983
4425
|
} & Variants;
|
|
4984
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$
|
|
4426
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
4985
4427
|
|
|
4986
4428
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
4987
4429
|
type Title = ToastProps['title'] | ((opts: {
|
|
@@ -5002,7 +4444,7 @@ declare const toast: {
|
|
|
5002
4444
|
dismissAll(): string | number;
|
|
5003
4445
|
};
|
|
5004
4446
|
|
|
5005
|
-
type Props$
|
|
4447
|
+
type Props$v = {
|
|
5006
4448
|
enabled?: boolean;
|
|
5007
4449
|
} & Parameters<typeof toast>[0];
|
|
5008
4450
|
/**
|
|
@@ -5015,22 +4457,22 @@ type Props$r = {
|
|
|
5015
4457
|
* Use `toast()` for transient feedback after a user action
|
|
5016
4458
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
5017
4459
|
*/
|
|
5018
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4460
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$v) => void;
|
|
5019
4461
|
|
|
5020
4462
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
5021
4463
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
5022
4464
|
|
|
5023
|
-
type Props$
|
|
4465
|
+
type Props$u = {
|
|
5024
4466
|
children?: ReactNode;
|
|
5025
4467
|
};
|
|
5026
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4468
|
+
declare const EmptySearchContent: ({ children }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
5027
4469
|
|
|
5028
|
-
type Props$
|
|
4470
|
+
type Props$t = {
|
|
5029
4471
|
title: string;
|
|
5030
4472
|
children: ReactNode;
|
|
5031
4473
|
className?: string;
|
|
5032
4474
|
};
|
|
5033
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
4475
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$t) => react_jsx_runtime.JSX.Element;
|
|
5034
4476
|
|
|
5035
4477
|
declare const emptyStateClassnames: (props?: ({
|
|
5036
4478
|
variant?: "compact" | "default" | null | undefined;
|
|
@@ -5170,10 +4612,8 @@ declare const variants: (props?: ({
|
|
|
5170
4612
|
variant?: "success" | "default" | null | undefined;
|
|
5171
4613
|
size?: "sm" | "lg" | null | undefined;
|
|
5172
4614
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5173
|
-
type Props$
|
|
5174
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5175
|
-
ref?: Ref<ElementRef<typeof Root$a>>;
|
|
5176
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4615
|
+
type Props$s = ComponentProps<typeof Root$a> & VariantProps<typeof variants>;
|
|
4616
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$s) => react_jsx_runtime.JSX.Element;
|
|
5177
4617
|
|
|
5178
4618
|
/** @deprecated Use `Collapsible` instead. */
|
|
5179
4619
|
type CollapseProps = {
|
|
@@ -5189,7 +4629,7 @@ type CollapseProps = {
|
|
|
5189
4629
|
/** @deprecated Use `Collapsible` instead. */
|
|
5190
4630
|
declare const Collapse: ({ open, header, className, bodyClassName, children, onClick, animationClassName, hidden, ...rest }: CollapseProps & ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5191
4631
|
|
|
5192
|
-
type Props$
|
|
4632
|
+
type Props$r = {
|
|
5193
4633
|
header: ReactNode;
|
|
5194
4634
|
isDisabled?: boolean;
|
|
5195
4635
|
defaultExpanded?: boolean;
|
|
@@ -5201,16 +4641,16 @@ type Props$n = {
|
|
|
5201
4641
|
variant?: 'default' | 'white';
|
|
5202
4642
|
children: ReactNode;
|
|
5203
4643
|
};
|
|
5204
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$
|
|
4644
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
5205
4645
|
|
|
5206
|
-
type Props$
|
|
4646
|
+
type Props$q = PropsWithChildren<{
|
|
5207
4647
|
defaultExpanded?: boolean;
|
|
5208
4648
|
labelCollapse?: ReactNode;
|
|
5209
4649
|
labelOpen?: ReactNode;
|
|
5210
4650
|
placement?: 'top' | 'bottom';
|
|
5211
4651
|
className?: string;
|
|
5212
4652
|
}>;
|
|
5213
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$
|
|
4653
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
5214
4654
|
|
|
5215
4655
|
type RootProps$4 = ComponentPropsWithoutRef<'div'>;
|
|
5216
4656
|
type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -5237,14 +4677,14 @@ type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
5237
4677
|
* sidebar / top-nav geometry swap from a single composition.
|
|
5238
4678
|
*/
|
|
5239
4679
|
declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 & {
|
|
5240
|
-
ref?: Ref<
|
|
4680
|
+
ref?: Ref<ComponentRef<"div">>;
|
|
5241
4681
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
5242
4682
|
/**
|
|
5243
4683
|
* Top header row. Renders above `Main` in the sidebar shell; renders as the
|
|
5244
4684
|
* top bar (with full-width navigation room) in the top-nav shell.
|
|
5245
4685
|
*/
|
|
5246
4686
|
Header: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5247
|
-
ref?: Ref<
|
|
4687
|
+
ref?: Ref<ComponentRef<"header">>;
|
|
5248
4688
|
}) => react_jsx_runtime.JSX.Element;
|
|
5249
4689
|
/**
|
|
5250
4690
|
* Left navigation rail. Rendered in the sidebar shell; hidden by the
|
|
@@ -5252,7 +4692,7 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
5252
4692
|
* primary navigation into `Header` for top-nav-first compositions.
|
|
5253
4693
|
*/
|
|
5254
4694
|
Sidebar: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5255
|
-
ref?: Ref<
|
|
4695
|
+
ref?: Ref<ComponentRef<"div">>;
|
|
5256
4696
|
}) => react_jsx_runtime.JSX.Element;
|
|
5257
4697
|
/**
|
|
5258
4698
|
* Main content outlet. Applies an opinionated default page gutter (`tw-p-6`)
|
|
@@ -5260,11 +4700,11 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
5260
4700
|
* when the app owns its own gutter.
|
|
5261
4701
|
*/
|
|
5262
4702
|
Main: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5263
|
-
ref?: Ref<
|
|
4703
|
+
ref?: Ref<ComponentRef<"main">>;
|
|
5264
4704
|
}) => react_jsx_runtime.JSX.Element;
|
|
5265
4705
|
/** Optional right rail. Present in both shells. */
|
|
5266
4706
|
Aside: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5267
|
-
ref?: Ref<
|
|
4707
|
+
ref?: Ref<ComponentRef<"aside">>;
|
|
5268
4708
|
}) => react_jsx_runtime.JSX.Element;
|
|
5269
4709
|
};
|
|
5270
4710
|
|
|
@@ -5273,10 +4713,10 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
5273
4713
|
* `narrow` (976px) for forms, `default` (1280px) for most pages, `wide` (1600px) for dense detail views,
|
|
5274
4714
|
* `full` for edge-to-edge layouts.
|
|
5275
4715
|
*/
|
|
5276
|
-
type RootProps$3 =
|
|
4716
|
+
type RootProps$3 = ComponentProps<'div'> & {
|
|
5277
4717
|
maxWidth?: 'default' | 'narrow' | 'wide' | 'full';
|
|
5278
4718
|
};
|
|
5279
|
-
type FooterProps =
|
|
4719
|
+
type FooterProps = ComponentProps<'footer'> & {
|
|
5280
4720
|
sticky?: boolean;
|
|
5281
4721
|
};
|
|
5282
4722
|
/**
|
|
@@ -5296,29 +4736,17 @@ type FooterProps = ComponentPropsWithoutRef<'footer'> & {
|
|
|
5296
4736
|
*
|
|
5297
4737
|
* @see RECIPES.md#list-detail — for the index → detail page pattern
|
|
5298
4738
|
*/
|
|
5299
|
-
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps$3 & {
|
|
5300
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5301
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
4739
|
+
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps$3) => react_jsx_runtime.JSX.Element) & {
|
|
5302
4740
|
/** Detail-pattern breadcrumb row. Usually composed automatically by `PageHeader.Detail` — slot exists for layouts that don't fit either `PageHeader` variant. */
|
|
5303
|
-
Breadcrumbs: ({ ref, className, children, ...props }:
|
|
5304
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5305
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4741
|
+
Breadcrumbs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5306
4742
|
/** Host slot for `PageHeader.Index` / `PageHeader.Detail`, or custom header JSX when neither variant fits. */
|
|
5307
|
-
Header: ({ ref, className, children, ...props }:
|
|
5308
|
-
ref?: Ref<ElementRef<"header">>;
|
|
5309
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4743
|
+
Header: ({ ref, className, children, ...props }: ComponentProps<"header">) => react_jsx_runtime.JSX.Element;
|
|
5310
4744
|
/** Escape hatch for routing-based tab rows. Use `Tabs` / `TabsContent` core components inside, never a raw `<button>`. */
|
|
5311
|
-
Tabs: ({ ref, className, children, ...props }:
|
|
5312
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5313
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4745
|
+
Tabs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5314
4746
|
/** Main content slot. Lists, cards, tables. */
|
|
5315
|
-
Content: ({ ref, className, children, ...props }:
|
|
5316
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5317
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4747
|
+
Content: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5318
4748
|
/** Bottom action bar — form submit + cancel. Pass `sticky` for a footer that pins to the viewport. */
|
|
5319
|
-
Footer: ({ ref, className, sticky, children, ...props }: FooterProps
|
|
5320
|
-
ref?: Ref<ElementRef<"footer">>;
|
|
5321
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4749
|
+
Footer: ({ ref, className, sticky, children, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
5322
4750
|
};
|
|
5323
4751
|
|
|
5324
4752
|
/**
|
|
@@ -5336,7 +4764,7 @@ declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: Ro
|
|
|
5336
4764
|
*/
|
|
5337
4765
|
declare const PageHeader: {
|
|
5338
4766
|
/** Index variant — top-level list / collection pages. No breadcrumbs; `metadata` wins over `description`. */
|
|
5339
|
-
Index: ({ ref, className, title, description, metadata, documentation, action, headerNav, fullWidthDescription, ...props }:
|
|
4767
|
+
Index: ({ ref, className, title, description, metadata, documentation, action, headerNav, fullWidthDescription, ...props }: Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "title"> & {
|
|
5340
4768
|
title: react.ReactNode;
|
|
5341
4769
|
description?: react.ReactNode;
|
|
5342
4770
|
metadata?: react.ReactNode;
|
|
@@ -5344,11 +4772,9 @@ declare const PageHeader: {
|
|
|
5344
4772
|
action?: react.ReactNode;
|
|
5345
4773
|
headerNav?: react.ReactNode;
|
|
5346
4774
|
fullWidthDescription?: boolean;
|
|
5347
|
-
}) & {
|
|
5348
|
-
ref?: react.Ref<react.ElementRef<"header">>;
|
|
5349
4775
|
}) => react_jsx_runtime.JSX.Element;
|
|
5350
4776
|
/** Detail variant — single-entity pages with required breadcrumbs and an overflow-actions slot. Max 2 visible actions. */
|
|
5351
|
-
Detail: ({ ref, className, breadcrumbs, overflowActions, title, titleIcon, badges, description, compact, primaryAction, secondaryAction, headerNav, fullWidthDescription, ...props }:
|
|
4777
|
+
Detail: ({ ref, className, breadcrumbs, overflowActions, title, titleIcon, badges, description, compact, primaryAction, secondaryAction, headerNav, fullWidthDescription, ...props }: Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "title"> & {
|
|
5352
4778
|
breadcrumbs: react.ReactNode;
|
|
5353
4779
|
overflowActions?: react.ReactNode;
|
|
5354
4780
|
title: react.ReactNode;
|
|
@@ -5360,14 +4786,60 @@ declare const PageHeader: {
|
|
|
5360
4786
|
secondaryAction?: react.ReactNode;
|
|
5361
4787
|
headerNav?: react.ReactNode;
|
|
5362
4788
|
fullWidthDescription?: boolean;
|
|
5363
|
-
}) & {
|
|
5364
|
-
ref?: react.Ref<react.ElementRef<"header">>;
|
|
5365
4789
|
}) => react_jsx_runtime.JSX.Element;
|
|
5366
4790
|
};
|
|
5367
4791
|
|
|
5368
|
-
|
|
5369
|
-
|
|
4792
|
+
declare const addonVariants: (props?: ({
|
|
4793
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
4794
|
+
variant?: "inline" | "floating" | null | undefined;
|
|
4795
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4796
|
+
type Props$p = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
4797
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$p) => react_jsx_runtime.JSX.Element;
|
|
4798
|
+
|
|
4799
|
+
type Props$o = ComponentProps<'span'> & {
|
|
4800
|
+
asChild?: boolean;
|
|
4801
|
+
};
|
|
4802
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$o) => react_jsx_runtime.JSX.Element;
|
|
4803
|
+
|
|
4804
|
+
declare const badgeRootVariants: (props?: ({
|
|
4805
|
+
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4806
|
+
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4807
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4808
|
+
|
|
4809
|
+
type Props$n = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
4810
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
4811
|
+
|
|
4812
|
+
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
4813
|
+
type BadgeRootProps = ComponentProps<typeof BadgeRoot>;
|
|
4814
|
+
type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
4815
|
+
/**
|
|
4816
|
+
* Props for `Badge`. `color` is a categorical contract (`green` = success, `red` = error, `orange` = warning,
|
|
4817
|
+
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
4818
|
+
* Pass `prefix` / `suffix` for icon-style addons.
|
|
4819
|
+
*/
|
|
4820
|
+
type Props$m = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
4821
|
+
prefix?: ReactNode;
|
|
4822
|
+
prefixVariant?: AddonVariant;
|
|
4823
|
+
suffix?: ReactNode;
|
|
4824
|
+
suffixVariant?: AddonVariant;
|
|
4825
|
+
labelClassName?: string;
|
|
4826
|
+
};
|
|
4827
|
+
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$m) => react_jsx_runtime.JSX.Element) & {
|
|
4828
|
+
Root: ({ ref, variant, color, className, children, ...rest }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
4829
|
+
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4830
|
+
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4831
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
4832
|
+
Button: ({ ref, className, type, children, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
4833
|
+
Label: ({ ref, className, asChild, ...rest }: react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
4834
|
+
asChild?: boolean;
|
|
4835
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
4836
|
+
Addon: ({ ref, align, variant, className, ...rest }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
4837
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
4838
|
+
variant?: "inline" | "floating" | null | undefined;
|
|
4839
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
5370
4840
|
};
|
|
4841
|
+
|
|
4842
|
+
type DivProps = ComponentProps<'div'>;
|
|
5371
4843
|
type ChipProps = Omit<ComponentPropsWithoutRef<typeof Badge>, 'variant' | 'color' | 'suffix' | 'children'> & {
|
|
5372
4844
|
children: ReactNode;
|
|
5373
4845
|
onRemove: () => void;
|
|
@@ -5426,20 +4898,14 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5426
4898
|
Token: ({ children, popover, onRemove, removeAriaLabel, ...props }: Omit<Omit<Pick<react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
5427
4899
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
5428
4900
|
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
5429
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
5430
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5431
|
-
}, "variant" | "color"> & Omit<react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
4901
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant" | "color"> & Omit<react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
5432
4902
|
asChild?: boolean;
|
|
5433
|
-
} & {
|
|
5434
|
-
ref?: Ref<ElementRef<"span">>;
|
|
5435
4903
|
}, "prefix"> & {
|
|
5436
4904
|
prefix?: ReactNode;
|
|
5437
4905
|
prefixVariant?: "inline" | "floating" | null | undefined;
|
|
5438
4906
|
suffix?: ReactNode;
|
|
5439
4907
|
suffixVariant?: "inline" | "floating" | null | undefined;
|
|
5440
4908
|
labelClassName?: string;
|
|
5441
|
-
} & {
|
|
5442
|
-
ref?: Ref<ElementRef<"span">>;
|
|
5443
4909
|
}, "ref">, "popover" | "variant" | "color" | "children" | "asChild" | "suffix"> & {
|
|
5444
4910
|
children: ReactNode;
|
|
5445
4911
|
popover: ReactNode;
|
|
@@ -5487,12 +4953,11 @@ type Props$k = {
|
|
|
5487
4953
|
declare const Sidebar: {
|
|
5488
4954
|
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$k): react_jsx_runtime.JSX.Element | null;
|
|
5489
4955
|
Header: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5490
|
-
Content: ({ ref, className, children, contentRef
|
|
4956
|
+
Content: ({ ref, className, children, contentRef }: {
|
|
5491
4957
|
className?: string;
|
|
5492
4958
|
children?: ReactNode;
|
|
5493
4959
|
contentRef?: react.ComponentProps<"div">["ref"];
|
|
5494
|
-
|
|
5495
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
4960
|
+
ref?: react.ComponentProps<"div">["ref"];
|
|
5496
4961
|
}) => react_jsx_runtime.JSX.Element;
|
|
5497
4962
|
Footer: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5498
4963
|
Trigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: react.HTMLAttributes<HTMLElement> & {
|
|
@@ -5501,12 +4966,10 @@ declare const Sidebar: {
|
|
|
5501
4966
|
side?: SidebarSide;
|
|
5502
4967
|
hideWhenCollapsed?: boolean;
|
|
5503
4968
|
}) => react_jsx_runtime.JSX.Element;
|
|
5504
|
-
FillTrigger: ({ ref, side, onClick, ...rest }:
|
|
4969
|
+
FillTrigger: ({ ref, side, onClick, ...rest }: react.HTMLAttributes<HTMLElement> & {
|
|
5505
4970
|
children?: React.ReactNode;
|
|
5506
4971
|
} & react.RefAttributes<HTMLElement> & {
|
|
5507
4972
|
side?: SidebarSide;
|
|
5508
|
-
}) & {
|
|
5509
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5510
4973
|
}) => react_jsx_runtime.JSX.Element;
|
|
5511
4974
|
Separator: ({ className, ...props }: {
|
|
5512
4975
|
content?: string | undefined | undefined;
|
|
@@ -5794,17 +5257,13 @@ declare const Sidebar: {
|
|
|
5794
5257
|
onTransitionStartCapture?: TransitionEventHandler<HTMLDivElement> | undefined;
|
|
5795
5258
|
asChild?: boolean | undefined;
|
|
5796
5259
|
}) => react_jsx_runtime.JSX.Element;
|
|
5797
|
-
MenuIcon: ({ ref, className, children, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>
|
|
5798
|
-
ref?: react.Ref<react.ElementRef<"span">>;
|
|
5799
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5260
|
+
MenuIcon: ({ ref, className, children, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
5800
5261
|
Group: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5801
5262
|
GroupLabel: ({ ref, className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
5802
5263
|
ref?: react.Ref<HTMLDivElement>;
|
|
5803
5264
|
}) => react_jsx_runtime.JSX.Element;
|
|
5804
5265
|
GroupContent: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5805
|
-
GroupAction: ({ ref, className, type, children, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>
|
|
5806
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5807
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5266
|
+
GroupAction: ({ ref, className, type, children, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
5808
5267
|
Menu: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element;
|
|
5809
5268
|
MenuItem: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
5810
5269
|
MenuButton: ({ ref, "aria-selected": selected, className, children, asChild, icon, tooltip, ...props }: (react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
@@ -5814,11 +5273,9 @@ declare const Sidebar: {
|
|
|
5814
5273
|
}) & {
|
|
5815
5274
|
ref?: react.Ref<HTMLButtonElement>;
|
|
5816
5275
|
}) => react_jsx_runtime.JSX.Element;
|
|
5817
|
-
MenuAction: ({ ref, className, asChild, showOnHover, children, ...props }:
|
|
5276
|
+
MenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5818
5277
|
asChild?: boolean;
|
|
5819
5278
|
showOnHover?: boolean;
|
|
5820
|
-
}) & {
|
|
5821
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5822
5279
|
}) => react_jsx_runtime.JSX.Element;
|
|
5823
5280
|
SearchInput: ({ ref: forwardedRef, className, ...inputProps }: {
|
|
5824
5281
|
content?: string | undefined | undefined;
|
|
@@ -6124,7 +5581,6 @@ declare const Sidebar: {
|
|
|
6124
5581
|
multiple?: boolean | undefined | undefined;
|
|
6125
5582
|
src?: string | undefined | undefined;
|
|
6126
5583
|
alt?: string | undefined | undefined;
|
|
6127
|
-
required?: boolean | undefined | undefined;
|
|
6128
5584
|
accept?: string | undefined | undefined;
|
|
6129
5585
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
6130
5586
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -6132,26 +5588,21 @@ declare const Sidebar: {
|
|
|
6132
5588
|
minLength?: number | undefined | undefined;
|
|
6133
5589
|
placeholder?: string | undefined | undefined;
|
|
6134
5590
|
readOnly?: boolean | undefined | undefined;
|
|
6135
|
-
|
|
6136
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
5591
|
+
required?: boolean | undefined | undefined;
|
|
6137
5592
|
}) => react_jsx_runtime.JSX.Element;
|
|
6138
5593
|
MenuCard: ({ children, className, icon, title, ...rest }: react.HTMLAttributes<HTMLDivElement> & {
|
|
6139
5594
|
icon: ReactNode;
|
|
6140
5595
|
title: ReactNode;
|
|
6141
5596
|
}) => react_jsx_runtime.JSX.Element;
|
|
6142
|
-
MenuBadge: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>
|
|
6143
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
6144
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5597
|
+
MenuBadge: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6145
5598
|
SubMenu: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange, }: {
|
|
6146
5599
|
children: ReactNode;
|
|
6147
5600
|
icon: ReactNode;
|
|
6148
5601
|
isActive?: boolean;
|
|
6149
5602
|
label: string;
|
|
6150
5603
|
} & Pick<_radix_ui_react_collapsible.CollapsibleProps & react.RefAttributes<HTMLDivElement>, "open" | "defaultOpen" | "onOpenChange">) => react_jsx_runtime.JSX.Element;
|
|
6151
|
-
SubItem: ({ ref, className, asChild, children, disabled, "aria-current": ariaCurrent, ...props }:
|
|
5604
|
+
SubItem: ({ ref, className, asChild, children, disabled, "aria-current": ariaCurrent, ...props }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6152
5605
|
asChild?: boolean;
|
|
6153
|
-
}) & {
|
|
6154
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6155
5606
|
}) => react_jsx_runtime.JSX.Element;
|
|
6156
5607
|
};
|
|
6157
5608
|
|
|
@@ -6266,26 +5717,20 @@ declare const Navbar: {
|
|
|
6266
5717
|
marker?: "none" | "forward-slash" | null | undefined;
|
|
6267
5718
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
6268
5719
|
MenuItem: ({ className, ...rest }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6269
|
-
MenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }:
|
|
5720
|
+
MenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6270
5721
|
icon?: react.ReactNode;
|
|
6271
5722
|
asChild?: boolean;
|
|
6272
5723
|
} & VariantProps<(props?: ({
|
|
6273
5724
|
variant?: "search" | "icon" | "default" | "emphasized" | null | undefined;
|
|
6274
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>)
|
|
6275
|
-
|
|
6276
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6277
|
-
MenuItemAdornment: ({ ref, asChild, className, variant, ...props }: ({
|
|
5725
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
5726
|
+
MenuItemAdornment: ({ ref, asChild, className, variant, ...props }: {
|
|
6278
5727
|
asChild?: boolean;
|
|
6279
5728
|
} & react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
6280
5729
|
variant?: "icon" | "icon-accent" | "icon-emphasized" | "icon-accent-emphasized" | "icon-button" | "shortcut" | null | undefined;
|
|
6281
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>)
|
|
6282
|
-
|
|
6283
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6284
|
-
MenuAvatar: ({ ref, className, type, src, alt, ...rest }: (react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5730
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
5731
|
+
MenuAvatar: ({ ref, className, type, src, alt, ...rest }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6285
5732
|
src?: string;
|
|
6286
5733
|
alt?: string;
|
|
6287
|
-
}) & {
|
|
6288
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6289
5734
|
}) => react_jsx_runtime.JSX.Element;
|
|
6290
5735
|
};
|
|
6291
5736
|
|
|
@@ -6294,18 +5739,12 @@ declare const Breadcrumb: {
|
|
|
6294
5739
|
({ className, ...props }: Props$f): react_jsx_runtime.JSX.Element;
|
|
6295
5740
|
List: ({ className, ...props }: react.DetailedHTMLProps<react.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>) => react_jsx_runtime.JSX.Element;
|
|
6296
5741
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6297
|
-
Link: ({ ref, asChild, className, ...props }:
|
|
5742
|
+
Link: ({ ref, asChild, className, ...props }: react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
6298
5743
|
asChild?: boolean;
|
|
6299
|
-
}) & {
|
|
6300
|
-
ref?: react.Ref<react.ElementRef<"a">>;
|
|
6301
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6302
|
-
Page: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & {
|
|
6303
|
-
ref?: react.Ref<react.ElementRef<"span">>;
|
|
6304
5744
|
}) => react_jsx_runtime.JSX.Element;
|
|
5745
|
+
Page: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6305
5746
|
Separator: ({ children, className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6306
|
-
Ellipsis: ({ ref, className, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>
|
|
6307
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6308
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5747
|
+
Ellipsis: ({ ref, className, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
6309
5748
|
Dropdown: {
|
|
6310
5749
|
({ label, splitTrigger, triggerLabel, open, defaultOpen, onOpenChange, size, filter, shouldFilter, searchValue, onSearchChange, searchPlaceholder, emptyMessage, children, }: {
|
|
6311
5750
|
label: react.ReactNode;
|
|
@@ -6323,13 +5762,11 @@ declare const Breadcrumb: {
|
|
|
6323
5762
|
emptyMessage?: react.ReactNode;
|
|
6324
5763
|
children: react.ReactNode;
|
|
6325
5764
|
}): react_jsx_runtime.JSX.Element;
|
|
6326
|
-
Item: ({ ref, asChild, textValue, active, closeOnSelect, className, children, onClick, ...props }:
|
|
5765
|
+
Item: ({ ref, asChild, textValue, active, closeOnSelect, className, children, onClick, ...props }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6327
5766
|
asChild?: boolean;
|
|
6328
5767
|
textValue?: string;
|
|
6329
5768
|
active?: boolean;
|
|
6330
5769
|
closeOnSelect?: boolean;
|
|
6331
|
-
}) & {
|
|
6332
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6333
5770
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
6334
5771
|
Group: ({ label, textValue, collapsible, defaultExpanded, className, children, }: {
|
|
6335
5772
|
label: react.ReactNode;
|
|
@@ -6425,6 +5862,10 @@ declare const Card: {
|
|
|
6425
5862
|
}) => react_jsx_runtime.JSX.Element;
|
|
6426
5863
|
};
|
|
6427
5864
|
|
|
5865
|
+
type TableSortDirection = 'asc' | 'desc' | false;
|
|
5866
|
+
/** Maps a sort direction to the `aria-sort` value for the enclosing `Table.Head`. */
|
|
5867
|
+
declare const tableAriaSort: (sorted: TableSortDirection) => ComponentProps<"th">["aria-sort"];
|
|
5868
|
+
|
|
6428
5869
|
/**
|
|
6429
5870
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
6430
5871
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
@@ -6456,11 +5897,13 @@ declare const Table: {
|
|
|
6456
5897
|
Body: ({ withBorderSeparator, className, ...props }: {
|
|
6457
5898
|
withBorderSeparator?: boolean;
|
|
6458
5899
|
} & ComponentProps<"tbody">) => react_jsx_runtime.JSX.Element;
|
|
6459
|
-
Row: ({ ref, className, ...props }: ComponentProps<"tr">
|
|
6460
|
-
ref?: react.Ref<react.ElementRef<"tr">>;
|
|
6461
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5900
|
+
Row: ({ ref, className, ...props }: ComponentProps<"tr">) => react_jsx_runtime.JSX.Element;
|
|
6462
5901
|
Cell: ({ className, ...props }: ComponentProps<"td">) => react_jsx_runtime.JSX.Element;
|
|
6463
5902
|
Footer: ({ className, ...props }: ComponentProps<"tfoot">) => react_jsx_runtime.JSX.Element;
|
|
5903
|
+
SortHeader: ({ sorted, children, className, ...props }: {
|
|
5904
|
+
sorted: TableSortDirection;
|
|
5905
|
+
children: react.ReactNode;
|
|
5906
|
+
} & Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children" | "type">) => react_jsx_runtime.JSX.Element;
|
|
6464
5907
|
};
|
|
6465
5908
|
|
|
6466
5909
|
type Props$a = ComponentProps<'ul'> & {
|
|
@@ -6485,12 +5928,10 @@ type Props$9 = {
|
|
|
6485
5928
|
tooltip?: ReactNode;
|
|
6486
5929
|
twoLines?: boolean;
|
|
6487
5930
|
noTooltip?: boolean;
|
|
6488
|
-
tooltipVariant?: Props$
|
|
6489
|
-
tooltipPlacement?: Props$
|
|
6490
|
-
} & Omit<
|
|
6491
|
-
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9
|
|
6492
|
-
ref?: Ref<ElementRef<"span">>;
|
|
6493
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5931
|
+
tooltipVariant?: Props$1K['variant'];
|
|
5932
|
+
tooltipPlacement?: Props$1K['placement'];
|
|
5933
|
+
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
5934
|
+
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
6494
5935
|
|
|
6495
5936
|
type Props$8 = {
|
|
6496
5937
|
source: string;
|
|
@@ -6498,9 +5939,7 @@ type Props$8 = {
|
|
|
6498
5939
|
mark?: string;
|
|
6499
5940
|
isCaseSensitive?: boolean;
|
|
6500
5941
|
} & ComponentProps<'span'>;
|
|
6501
|
-
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$8
|
|
6502
|
-
ref?: Ref<ElementRef<"span">>;
|
|
6503
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5942
|
+
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
6504
5943
|
|
|
6505
5944
|
declare const kbdVariants: (props?: ({
|
|
6506
5945
|
variant?: "primary" | "default" | null | undefined;
|
|
@@ -6509,11 +5948,9 @@ declare const kbdVariants: (props?: ({
|
|
|
6509
5948
|
type Props$7 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
6510
5949
|
declare const Kbd: {
|
|
6511
5950
|
({ children, className, variant, ...rest }: Props$7): react_jsx_runtime.JSX.Element;
|
|
6512
|
-
Group: ({ ref, className, children, separator, ...props }:
|
|
5951
|
+
Group: ({ ref, className, children, separator, ...props }: {
|
|
6513
5952
|
separator?: string;
|
|
6514
|
-
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement>)
|
|
6515
|
-
ref?: react.Ref<react.ElementRef<"kbd">>;
|
|
6516
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5953
|
+
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement>) => react_jsx_runtime.JSX.Element;
|
|
6517
5954
|
Separator: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6518
5955
|
};
|
|
6519
5956
|
|
|
@@ -6529,7 +5966,7 @@ declare const Pagination: {
|
|
|
6529
5966
|
({ className, ...props }: Props$6): react_jsx_runtime.JSX.Element;
|
|
6530
5967
|
Content: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element;
|
|
6531
5968
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6532
|
-
Button: ({ ref, active: isActive, className, children, size, ...props }:
|
|
5969
|
+
Button: ({ ref, active: isActive, className, children, size, ...props }: {
|
|
6533
5970
|
active?: boolean;
|
|
6534
5971
|
} & Omit<{
|
|
6535
5972
|
isLoading?: boolean;
|
|
@@ -6538,11 +5975,7 @@ declare const Pagination: {
|
|
|
6538
5975
|
block?: boolean | null | undefined;
|
|
6539
5976
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6540
5977
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6541
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
6542
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6543
|
-
}, "variant">) & {
|
|
6544
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6545
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5978
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6546
5979
|
Previous: ({ children, ...props }: {
|
|
6547
5980
|
active?: boolean;
|
|
6548
5981
|
} & Omit<{
|
|
@@ -6552,11 +5985,7 @@ declare const Pagination: {
|
|
|
6552
5985
|
block?: boolean | null | undefined;
|
|
6553
5986
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6554
5987
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6555
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
6556
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6557
|
-
}, "variant"> & {
|
|
6558
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6559
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5988
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6560
5989
|
Next: ({ children, className, ...props }: {
|
|
6561
5990
|
active?: boolean;
|
|
6562
5991
|
} & Omit<{
|
|
@@ -6566,11 +5995,7 @@ declare const Pagination: {
|
|
|
6566
5995
|
block?: boolean | null | undefined;
|
|
6567
5996
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6568
5997
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6569
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
6570
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6571
|
-
}, "variant"> & {
|
|
6572
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6573
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5998
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6574
5999
|
Ellipsis: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6575
6000
|
};
|
|
6576
6001
|
|
|
@@ -6785,6 +6210,13 @@ type FieldControlProps = {
|
|
|
6785
6210
|
type RequiredMark = 'required' | 'optional' | 'hidden';
|
|
6786
6211
|
type Props$1 = {
|
|
6787
6212
|
label?: ReactNode;
|
|
6213
|
+
/**
|
|
6214
|
+
* Optional node rendered at the trailing edge of the label row (opposite the label) — e.g. a
|
|
6215
|
+
* "Forgot password?" link beside a Password label. Presentational placement only; it is a sibling
|
|
6216
|
+
* of the `<Label>`, not part of the field's accessible name. Provide an interactive element
|
|
6217
|
+
* (`ButtonInline` / `Link`).
|
|
6218
|
+
*/
|
|
6219
|
+
action?: ReactNode;
|
|
6788
6220
|
required?: boolean;
|
|
6789
6221
|
/**
|
|
6790
6222
|
* Which marker to show beside the label — gated by `required` so it never lies: `'required'`
|
|
@@ -6816,7 +6248,7 @@ type FieldItemProps = Omit<Props$1, 'children'>;
|
|
|
6816
6248
|
* @see RECIPES.md#modal-form — for the canonical form-in-modal composition
|
|
6817
6249
|
*/
|
|
6818
6250
|
declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_react_form.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
6819
|
-
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6251
|
+
readonly TextField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6820
6252
|
content?: string | undefined | undefined;
|
|
6821
6253
|
size?: number | undefined | undefined;
|
|
6822
6254
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -7122,13 +6554,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7122
6554
|
multiple?: boolean | undefined | undefined;
|
|
7123
6555
|
src?: string | undefined | undefined;
|
|
7124
6556
|
alt?: string | undefined | undefined;
|
|
7125
|
-
required?: boolean | undefined | undefined;
|
|
7126
6557
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
7127
6558
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
7128
6559
|
maxLength?: number | undefined | undefined;
|
|
7129
6560
|
minLength?: number | undefined | undefined;
|
|
7130
6561
|
placeholder?: string | undefined | undefined;
|
|
7131
6562
|
readOnly?: boolean | undefined | undefined;
|
|
6563
|
+
required?: boolean | undefined | undefined;
|
|
7132
6564
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
7133
6565
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7134
6566
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -7138,10 +6570,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7138
6570
|
allowClear?: boolean | undefined;
|
|
7139
6571
|
onClear?: (() => void) | undefined;
|
|
7140
6572
|
testId?: string | undefined;
|
|
7141
|
-
} & {
|
|
7142
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7143
6573
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7144
|
-
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6574
|
+
readonly NumberField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7145
6575
|
content?: string | undefined | undefined;
|
|
7146
6576
|
size?: number | undefined | undefined;
|
|
7147
6577
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -7447,7 +6877,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7447
6877
|
multiple?: boolean | undefined | undefined;
|
|
7448
6878
|
src?: string | undefined | undefined;
|
|
7449
6879
|
alt?: string | undefined | undefined;
|
|
7450
|
-
required?: boolean | undefined | undefined;
|
|
7451
6880
|
accept?: string | undefined | undefined;
|
|
7452
6881
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
7453
6882
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -7455,14 +6884,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7455
6884
|
minLength?: number | undefined | undefined;
|
|
7456
6885
|
placeholder?: string | undefined | undefined;
|
|
7457
6886
|
readOnly?: boolean | undefined | undefined;
|
|
6887
|
+
required?: boolean | undefined | undefined;
|
|
7458
6888
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
7459
6889
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7460
6890
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7461
6891
|
suffix?: react.ReactNode;
|
|
7462
|
-
} & {
|
|
7463
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7464
6892
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7465
|
-
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6893
|
+
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7466
6894
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7467
6895
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
7468
6896
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
@@ -7769,13 +7197,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7769
7197
|
multiple?: boolean | undefined | undefined;
|
|
7770
7198
|
src?: string | undefined | undefined;
|
|
7771
7199
|
alt?: string | undefined | undefined;
|
|
7772
|
-
required?: boolean | undefined | undefined;
|
|
7773
7200
|
accept?: string | undefined | undefined;
|
|
7774
7201
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
7775
7202
|
maxLength?: number | undefined | undefined;
|
|
7776
7203
|
minLength?: number | undefined | undefined;
|
|
7777
7204
|
placeholder?: string | undefined | undefined;
|
|
7778
7205
|
readOnly?: boolean | undefined | undefined;
|
|
7206
|
+
required?: boolean | undefined | undefined;
|
|
7779
7207
|
} & {
|
|
7780
7208
|
value?: string | null;
|
|
7781
7209
|
defaultValue?: string | null;
|
|
@@ -7783,12 +7211,11 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7783
7211
|
onValueBlur?: (value: string) => void;
|
|
7784
7212
|
allowClear?: boolean;
|
|
7785
7213
|
allowPasswordToggle?: boolean;
|
|
7214
|
+
passwordToggleLabel?: string;
|
|
7786
7215
|
autoComplete?: "new-password" | "current-password" | "off";
|
|
7787
7216
|
defaultPasswordVisibility?: boolean;
|
|
7788
|
-
} & {
|
|
7789
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7790
7217
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7791
|
-
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7218
|
+
readonly TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7792
7219
|
content?: string | undefined | undefined;
|
|
7793
7220
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7794
7221
|
prefix?: string | undefined | undefined;
|
|
@@ -8080,12 +7507,12 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8080
7507
|
value?: string | null | undefined;
|
|
8081
7508
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
8082
7509
|
wrap?: string | undefined | undefined;
|
|
8083
|
-
required?: boolean | undefined | undefined;
|
|
8084
7510
|
autoComplete?: string | undefined | undefined;
|
|
8085
7511
|
maxLength?: number | undefined | undefined;
|
|
8086
7512
|
minLength?: number | undefined | undefined;
|
|
8087
7513
|
placeholder?: string | undefined | undefined;
|
|
8088
7514
|
readOnly?: boolean | undefined | undefined;
|
|
7515
|
+
required?: boolean | undefined | undefined;
|
|
8089
7516
|
cols?: number | undefined | undefined;
|
|
8090
7517
|
dirName?: string | undefined | undefined;
|
|
8091
7518
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -8098,29 +7525,33 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8098
7525
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8099
7526
|
containerClassName?: string | undefined;
|
|
8100
7527
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8101
|
-
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
7528
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
8102
7529
|
placeholder?: string;
|
|
8103
7530
|
triggerClassName?: string;
|
|
8104
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
7531
|
+
variant?: "primary" | "secondary" | "inline" | null | undefined;
|
|
8105
7532
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8106
7533
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8107
7534
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
8108
7535
|
items: readonly {
|
|
8109
7536
|
value: string;
|
|
8110
7537
|
label: react.ReactNode;
|
|
7538
|
+
disabled?: boolean;
|
|
8111
7539
|
}[];
|
|
8112
7540
|
options?: readonly {
|
|
8113
7541
|
value: string;
|
|
8114
7542
|
label: react.ReactNode;
|
|
7543
|
+
disabled?: boolean;
|
|
8115
7544
|
}[];
|
|
8116
7545
|
} | {
|
|
8117
7546
|
items?: readonly {
|
|
8118
7547
|
value: string;
|
|
8119
7548
|
label: react.ReactNode;
|
|
7549
|
+
disabled?: boolean;
|
|
8120
7550
|
}[];
|
|
8121
7551
|
options: readonly {
|
|
8122
7552
|
value: string;
|
|
8123
7553
|
label: react.ReactNode;
|
|
7554
|
+
disabled?: boolean;
|
|
8124
7555
|
}[];
|
|
8125
7556
|
})) => react_jsx_runtime.JSX.Element;
|
|
8126
7557
|
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
@@ -8128,8 +7559,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8128
7559
|
description?: react.ReactNode;
|
|
8129
7560
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
8130
7561
|
position?: "start" | "end";
|
|
8131
|
-
tooltip?: Props$
|
|
8132
|
-
tooltipPlacement?: Props$
|
|
7562
|
+
tooltip?: Props$1K["tooltip"];
|
|
7563
|
+
tooltipPlacement?: Props$1K["placement"];
|
|
8133
7564
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
8134
7565
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
8135
7566
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -8143,10 +7574,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8143
7574
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
8144
7575
|
variant?: "default" | "argo" | null | undefined;
|
|
8145
7576
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
8146
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">
|
|
8147
|
-
|
|
8148
|
-
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
8149
|
-
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7577
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
7578
|
+
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;
|
|
8150
7579
|
}, {
|
|
8151
7580
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
8152
7581
|
children: react.ReactNode;
|
|
@@ -8160,12 +7589,11 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8160
7589
|
block?: boolean | null | undefined;
|
|
8161
7590
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
8162
7591
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
8163
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
8164
|
-
|
|
8165
|
-
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
7592
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
7593
|
+
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
8166
7594
|
}>;
|
|
8167
7595
|
declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: _tanstack_react_form.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
8168
|
-
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7596
|
+
readonly TextField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8169
7597
|
content?: string | undefined | undefined;
|
|
8170
7598
|
size?: number | undefined | undefined;
|
|
8171
7599
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -8471,13 +7899,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8471
7899
|
multiple?: boolean | undefined | undefined;
|
|
8472
7900
|
src?: string | undefined | undefined;
|
|
8473
7901
|
alt?: string | undefined | undefined;
|
|
8474
|
-
required?: boolean | undefined | undefined;
|
|
8475
7902
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
8476
7903
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
8477
7904
|
maxLength?: number | undefined | undefined;
|
|
8478
7905
|
minLength?: number | undefined | undefined;
|
|
8479
7906
|
placeholder?: string | undefined | undefined;
|
|
8480
7907
|
readOnly?: boolean | undefined | undefined;
|
|
7908
|
+
required?: boolean | undefined | undefined;
|
|
8481
7909
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
8482
7910
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8483
7911
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -8487,10 +7915,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8487
7915
|
allowClear?: boolean | undefined;
|
|
8488
7916
|
onClear?: (() => void) | undefined;
|
|
8489
7917
|
testId?: string | undefined;
|
|
8490
|
-
} & {
|
|
8491
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8492
7918
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
8493
|
-
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7919
|
+
readonly NumberField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8494
7920
|
content?: string | undefined | undefined;
|
|
8495
7921
|
size?: number | undefined | undefined;
|
|
8496
7922
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -8796,7 +8222,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8796
8222
|
multiple?: boolean | undefined | undefined;
|
|
8797
8223
|
src?: string | undefined | undefined;
|
|
8798
8224
|
alt?: string | undefined | undefined;
|
|
8799
|
-
required?: boolean | undefined | undefined;
|
|
8800
8225
|
accept?: string | undefined | undefined;
|
|
8801
8226
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
8802
8227
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -8804,14 +8229,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8804
8229
|
minLength?: number | undefined | undefined;
|
|
8805
8230
|
placeholder?: string | undefined | undefined;
|
|
8806
8231
|
readOnly?: boolean | undefined | undefined;
|
|
8232
|
+
required?: boolean | undefined | undefined;
|
|
8807
8233
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
8808
8234
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8809
8235
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8810
8236
|
suffix?: react.ReactNode;
|
|
8811
|
-
} & {
|
|
8812
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8813
8237
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8814
|
-
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8238
|
+
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8815
8239
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8816
8240
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8817
8241
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
@@ -9118,13 +8542,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9118
8542
|
multiple?: boolean | undefined | undefined;
|
|
9119
8543
|
src?: string | undefined | undefined;
|
|
9120
8544
|
alt?: string | undefined | undefined;
|
|
9121
|
-
required?: boolean | undefined | undefined;
|
|
9122
8545
|
accept?: string | undefined | undefined;
|
|
9123
8546
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
9124
8547
|
maxLength?: number | undefined | undefined;
|
|
9125
8548
|
minLength?: number | undefined | undefined;
|
|
9126
8549
|
placeholder?: string | undefined | undefined;
|
|
9127
8550
|
readOnly?: boolean | undefined | undefined;
|
|
8551
|
+
required?: boolean | undefined | undefined;
|
|
9128
8552
|
} & {
|
|
9129
8553
|
value?: string | null;
|
|
9130
8554
|
defaultValue?: string | null;
|
|
@@ -9132,12 +8556,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9132
8556
|
onValueBlur?: (value: string) => void;
|
|
9133
8557
|
allowClear?: boolean;
|
|
9134
8558
|
allowPasswordToggle?: boolean;
|
|
8559
|
+
passwordToggleLabel?: string;
|
|
9135
8560
|
autoComplete?: "new-password" | "current-password" | "off";
|
|
9136
8561
|
defaultPasswordVisibility?: boolean;
|
|
9137
|
-
} & {
|
|
9138
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9139
8562
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9140
|
-
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8563
|
+
readonly TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9141
8564
|
content?: string | undefined | undefined;
|
|
9142
8565
|
translate?: "yes" | "no" | undefined | undefined;
|
|
9143
8566
|
prefix?: string | undefined | undefined;
|
|
@@ -9429,12 +8852,12 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9429
8852
|
value?: string | null | undefined;
|
|
9430
8853
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
9431
8854
|
wrap?: string | undefined | undefined;
|
|
9432
|
-
required?: boolean | undefined | undefined;
|
|
9433
8855
|
autoComplete?: string | undefined | undefined;
|
|
9434
8856
|
maxLength?: number | undefined | undefined;
|
|
9435
8857
|
minLength?: number | undefined | undefined;
|
|
9436
8858
|
placeholder?: string | undefined | undefined;
|
|
9437
8859
|
readOnly?: boolean | undefined | undefined;
|
|
8860
|
+
required?: boolean | undefined | undefined;
|
|
9438
8861
|
cols?: number | undefined | undefined;
|
|
9439
8862
|
dirName?: string | undefined | undefined;
|
|
9440
8863
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -9447,29 +8870,33 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9447
8870
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9448
8871
|
containerClassName?: string | undefined;
|
|
9449
8872
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9450
|
-
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
8873
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
9451
8874
|
placeholder?: string;
|
|
9452
8875
|
triggerClassName?: string;
|
|
9453
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
8876
|
+
variant?: "primary" | "secondary" | "inline" | null | undefined;
|
|
9454
8877
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
9455
8878
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9456
8879
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
9457
8880
|
items: readonly {
|
|
9458
8881
|
value: string;
|
|
9459
8882
|
label: react.ReactNode;
|
|
8883
|
+
disabled?: boolean;
|
|
9460
8884
|
}[];
|
|
9461
8885
|
options?: readonly {
|
|
9462
8886
|
value: string;
|
|
9463
8887
|
label: react.ReactNode;
|
|
8888
|
+
disabled?: boolean;
|
|
9464
8889
|
}[];
|
|
9465
8890
|
} | {
|
|
9466
8891
|
items?: readonly {
|
|
9467
8892
|
value: string;
|
|
9468
8893
|
label: react.ReactNode;
|
|
8894
|
+
disabled?: boolean;
|
|
9469
8895
|
}[];
|
|
9470
8896
|
options: readonly {
|
|
9471
8897
|
value: string;
|
|
9472
8898
|
label: react.ReactNode;
|
|
8899
|
+
disabled?: boolean;
|
|
9473
8900
|
}[];
|
|
9474
8901
|
})) => react_jsx_runtime.JSX.Element;
|
|
9475
8902
|
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
@@ -9477,8 +8904,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9477
8904
|
description?: react.ReactNode;
|
|
9478
8905
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
9479
8906
|
position?: "start" | "end";
|
|
9480
|
-
tooltip?: Props$
|
|
9481
|
-
tooltipPlacement?: Props$
|
|
8907
|
+
tooltip?: Props$1K["tooltip"];
|
|
8908
|
+
tooltipPlacement?: Props$1K["placement"];
|
|
9482
8909
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
9483
8910
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
9484
8911
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -9492,10 +8919,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9492
8919
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
9493
8920
|
variant?: "default" | "argo" | null | undefined;
|
|
9494
8921
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
9495
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">
|
|
9496
|
-
|
|
9497
|
-
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
9498
|
-
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
8922
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
8923
|
+
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;
|
|
9499
8924
|
}, {
|
|
9500
8925
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
9501
8926
|
children: react.ReactNode;
|
|
@@ -9509,12 +8934,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9509
8934
|
block?: boolean | null | undefined;
|
|
9510
8935
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
9511
8936
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
9512
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
9513
|
-
|
|
9514
|
-
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
8937
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
8938
|
+
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
9515
8939
|
}, TRenderProps>) => react.FunctionComponent<react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
9516
8940
|
form: _tanstack_react_form.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
9517
|
-
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8941
|
+
readonly TextField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9518
8942
|
content?: string | undefined | undefined;
|
|
9519
8943
|
size?: number | undefined | undefined;
|
|
9520
8944
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -9820,13 +9244,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9820
9244
|
multiple?: boolean | undefined | undefined;
|
|
9821
9245
|
src?: string | undefined | undefined;
|
|
9822
9246
|
alt?: string | undefined | undefined;
|
|
9823
|
-
required?: boolean | undefined | undefined;
|
|
9824
9247
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
9825
9248
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
9826
9249
|
maxLength?: number | undefined | undefined;
|
|
9827
9250
|
minLength?: number | undefined | undefined;
|
|
9828
9251
|
placeholder?: string | undefined | undefined;
|
|
9829
9252
|
readOnly?: boolean | undefined | undefined;
|
|
9253
|
+
required?: boolean | undefined | undefined;
|
|
9830
9254
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
9831
9255
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9832
9256
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -9836,10 +9260,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9836
9260
|
allowClear?: boolean | undefined;
|
|
9837
9261
|
onClear?: (() => void) | undefined;
|
|
9838
9262
|
testId?: string | undefined;
|
|
9839
|
-
} & {
|
|
9840
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9841
9263
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
9842
|
-
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9264
|
+
readonly NumberField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9843
9265
|
content?: string | undefined | undefined;
|
|
9844
9266
|
size?: number | undefined | undefined;
|
|
9845
9267
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -10145,7 +9567,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10145
9567
|
multiple?: boolean | undefined | undefined;
|
|
10146
9568
|
src?: string | undefined | undefined;
|
|
10147
9569
|
alt?: string | undefined | undefined;
|
|
10148
|
-
required?: boolean | undefined | undefined;
|
|
10149
9570
|
accept?: string | undefined | undefined;
|
|
10150
9571
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
10151
9572
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -10153,14 +9574,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10153
9574
|
minLength?: number | undefined | undefined;
|
|
10154
9575
|
placeholder?: string | undefined | undefined;
|
|
10155
9576
|
readOnly?: boolean | undefined | undefined;
|
|
9577
|
+
required?: boolean | undefined | undefined;
|
|
10156
9578
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
10157
9579
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10158
9580
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10159
9581
|
suffix?: react.ReactNode;
|
|
10160
|
-
} & {
|
|
10161
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
10162
9582
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10163
|
-
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9583
|
+
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
10164
9584
|
variant?: "primary" | "secondary" | null | undefined;
|
|
10165
9585
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
10166
9586
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
@@ -10467,13 +9887,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10467
9887
|
multiple?: boolean | undefined | undefined;
|
|
10468
9888
|
src?: string | undefined | undefined;
|
|
10469
9889
|
alt?: string | undefined | undefined;
|
|
10470
|
-
required?: boolean | undefined | undefined;
|
|
10471
9890
|
accept?: string | undefined | undefined;
|
|
10472
9891
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
10473
9892
|
maxLength?: number | undefined | undefined;
|
|
10474
9893
|
minLength?: number | undefined | undefined;
|
|
10475
9894
|
placeholder?: string | undefined | undefined;
|
|
10476
9895
|
readOnly?: boolean | undefined | undefined;
|
|
9896
|
+
required?: boolean | undefined | undefined;
|
|
10477
9897
|
} & {
|
|
10478
9898
|
value?: string | null;
|
|
10479
9899
|
defaultValue?: string | null;
|
|
@@ -10481,12 +9901,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10481
9901
|
onValueBlur?: (value: string) => void;
|
|
10482
9902
|
allowClear?: boolean;
|
|
10483
9903
|
allowPasswordToggle?: boolean;
|
|
9904
|
+
passwordToggleLabel?: string;
|
|
10484
9905
|
autoComplete?: "new-password" | "current-password" | "off";
|
|
10485
9906
|
defaultPasswordVisibility?: boolean;
|
|
10486
|
-
} & {
|
|
10487
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
10488
9907
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10489
|
-
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9908
|
+
readonly TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
10490
9909
|
content?: string | undefined | undefined;
|
|
10491
9910
|
translate?: "yes" | "no" | undefined | undefined;
|
|
10492
9911
|
prefix?: string | undefined | undefined;
|
|
@@ -10778,12 +10197,12 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10778
10197
|
value?: string | null | undefined;
|
|
10779
10198
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
10780
10199
|
wrap?: string | undefined | undefined;
|
|
10781
|
-
required?: boolean | undefined | undefined;
|
|
10782
10200
|
autoComplete?: string | undefined | undefined;
|
|
10783
10201
|
maxLength?: number | undefined | undefined;
|
|
10784
10202
|
minLength?: number | undefined | undefined;
|
|
10785
10203
|
placeholder?: string | undefined | undefined;
|
|
10786
10204
|
readOnly?: boolean | undefined | undefined;
|
|
10205
|
+
required?: boolean | undefined | undefined;
|
|
10787
10206
|
cols?: number | undefined | undefined;
|
|
10788
10207
|
dirName?: string | undefined | undefined;
|
|
10789
10208
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -10796,29 +10215,33 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10796
10215
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10797
10216
|
containerClassName?: string | undefined;
|
|
10798
10217
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10799
|
-
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
10218
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
10800
10219
|
placeholder?: string;
|
|
10801
10220
|
triggerClassName?: string;
|
|
10802
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
10221
|
+
variant?: "primary" | "secondary" | "inline" | null | undefined;
|
|
10803
10222
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
10804
10223
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10805
10224
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
10806
10225
|
items: readonly {
|
|
10807
10226
|
value: string;
|
|
10808
10227
|
label: react.ReactNode;
|
|
10228
|
+
disabled?: boolean;
|
|
10809
10229
|
}[];
|
|
10810
10230
|
options?: readonly {
|
|
10811
10231
|
value: string;
|
|
10812
10232
|
label: react.ReactNode;
|
|
10233
|
+
disabled?: boolean;
|
|
10813
10234
|
}[];
|
|
10814
10235
|
} | {
|
|
10815
10236
|
items?: readonly {
|
|
10816
10237
|
value: string;
|
|
10817
10238
|
label: react.ReactNode;
|
|
10239
|
+
disabled?: boolean;
|
|
10818
10240
|
}[];
|
|
10819
10241
|
options: readonly {
|
|
10820
10242
|
value: string;
|
|
10821
10243
|
label: react.ReactNode;
|
|
10244
|
+
disabled?: boolean;
|
|
10822
10245
|
}[];
|
|
10823
10246
|
})) => react_jsx_runtime.JSX.Element;
|
|
10824
10247
|
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
@@ -10826,8 +10249,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10826
10249
|
description?: react.ReactNode;
|
|
10827
10250
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10828
10251
|
position?: "start" | "end";
|
|
10829
|
-
tooltip?: Props$
|
|
10830
|
-
tooltipPlacement?: Props$
|
|
10252
|
+
tooltip?: Props$1K["tooltip"];
|
|
10253
|
+
tooltipPlacement?: Props$1K["placement"];
|
|
10831
10254
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10832
10255
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10833
10256
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10841,10 +10264,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10841
10264
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10842
10265
|
variant?: "default" | "argo" | null | undefined;
|
|
10843
10266
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
10844
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">
|
|
10845
|
-
|
|
10846
|
-
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10847
|
-
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
10267
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10268
|
+
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;
|
|
10848
10269
|
}, {
|
|
10849
10270
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
10850
10271
|
children: react.ReactNode;
|
|
@@ -10858,9 +10279,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10858
10279
|
block?: boolean | null | undefined;
|
|
10859
10280
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
10860
10281
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
10861
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
10862
|
-
|
|
10863
|
-
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
10282
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
10283
|
+
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
10864
10284
|
}>;
|
|
10865
10285
|
}>>;
|
|
10866
10286
|
|
|
@@ -10874,6 +10294,16 @@ type ServerFieldError = {
|
|
|
10874
10294
|
*/
|
|
10875
10295
|
declare const setServerFieldErrors: (form: AnyFormApi, errors: readonly ServerFieldError[]) => void;
|
|
10876
10296
|
|
|
10297
|
+
/**
|
|
10298
|
+
* Set a **form-level** submit error on a TanStack form instance — a failed submission that isn't tied
|
|
10299
|
+
* to a single field (bad credentials, 5xx, network). Stored on `errorMap.onSubmit` and rendered by
|
|
10300
|
+
* `SubmitErrorAlert`. For field-specific server errors use `setServerFieldErrors` instead.
|
|
10301
|
+
*
|
|
10302
|
+
* Note: any error entry makes the form "invalid", so pair this with `canSubmitWhenInvalid: true` on
|
|
10303
|
+
* the form to keep the submit button retryable (a resubmit re-runs the validators and clears it).
|
|
10304
|
+
*/
|
|
10305
|
+
declare const setSubmitError: (form: AnyFormApi, message: string) => void;
|
|
10306
|
+
|
|
10877
10307
|
type UseAutosizeInputOptions = {
|
|
10878
10308
|
value?: string;
|
|
10879
10309
|
placeholder?: string;
|
|
@@ -10918,8 +10348,16 @@ type Props = {
|
|
|
10918
10348
|
html: string;
|
|
10919
10349
|
copyText?: string;
|
|
10920
10350
|
className?: string;
|
|
10351
|
+
/**
|
|
10352
|
+
* Opt in to keeping `<foreignObject>` elements through sanitization. Off by
|
|
10353
|
+
* default — the SVG profile drops `<foreignObject>` so no HTML subtree can
|
|
10354
|
+
* survive. Only enable when the caller pre-flattens each `<foreignObject>` to
|
|
10355
|
+
* bare text (the SVG profile still strips any HTML children even when the
|
|
10356
|
+
* element itself is allowed). `MermaidDiagram` sets this for node/icon labels.
|
|
10357
|
+
*/
|
|
10358
|
+
allowForeignObject?: boolean;
|
|
10921
10359
|
};
|
|
10922
|
-
declare const ZoomableSvg: ({ html, copyText, className }: Props) => react_jsx_runtime.JSX.Element;
|
|
10360
|
+
declare const ZoomableSvg: ({ html, copyText, className, allowForeignObject }: Props) => react_jsx_runtime.JSX.Element;
|
|
10923
10361
|
|
|
10924
10362
|
type ColorSlot = keyof Omit<NonNullable<Brand['theme']['colors']>, 'sidebar' | 'chart'>;
|
|
10925
10363
|
type SidebarSlot = keyof NonNullable<NonNullable<Brand['theme']['colors']>['sidebar']>;
|
|
@@ -10958,4 +10396,4 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
10958
10396
|
/** WCAG level for normal-size text at a given ratio. */
|
|
10959
10397
|
declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
|
|
10960
10398
|
|
|
10961
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$
|
|
10399
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$N as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$L as InlineStepDetailProps, InlineStepLabel, type Props$K as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, 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$1m as Props, Question, type QuestionAnswers, QuestionBlock, type Props$D as QuestionBlockProps, type QuestionOption, type Props$E as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, 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$1K as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, tableAriaSort, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, wcagLevel, withForm };
|