@keboola/design 6.3.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 +32 -10
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +32 -10
- package/dist/editors.js.map +1 -1
- package/dist/icons.cjs +25 -0
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.d.cts +3 -1
- package/dist/icons.d.ts +3 -1
- package/dist/icons.js +25 -1
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +6086 -6126
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +511 -1061
- package/dist/index.d.ts +511 -1061
- package/dist/index.js +6101 -6143
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +268 -243
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +268 -243
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +89 -34
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +89 -34
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +1478 -1494
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +1479 -1495
- 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 +10 -9
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$1W = {
|
|
|
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$1T = {
|
|
|
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$1P = {
|
|
|
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;
|
|
@@ -379,6 +362,18 @@ declare const CopyField: {
|
|
|
379
362
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
380
363
|
};
|
|
381
364
|
|
|
365
|
+
/** The same Microsoft mark supports these call-to-action wordings. */
|
|
366
|
+
declare const LABELS$1: {
|
|
367
|
+
readonly signin: "Sign in with Microsoft";
|
|
368
|
+
readonly signup: "Sign up with Microsoft";
|
|
369
|
+
readonly continue: "Continue with Microsoft";
|
|
370
|
+
};
|
|
371
|
+
type Props$1G = ComponentPropsWithRef<'button'> & {
|
|
372
|
+
label?: keyof typeof LABELS$1;
|
|
373
|
+
isLoading?: boolean;
|
|
374
|
+
};
|
|
375
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1G) => react_jsx_runtime.JSX.Element;
|
|
376
|
+
|
|
382
377
|
declare const LABELS: {
|
|
383
378
|
readonly signin: "Sign in with Google";
|
|
384
379
|
readonly signup: "Sign up with Google";
|
|
@@ -390,16 +385,14 @@ declare const variants$3: (props?: ({
|
|
|
390
385
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
391
386
|
size?: "icon" | "default" | null | undefined;
|
|
392
387
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
393
|
-
type Props$
|
|
388
|
+
type Props$1F = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$3> & {
|
|
394
389
|
label?: keyof typeof LABELS;
|
|
395
390
|
isLoading?: boolean;
|
|
396
391
|
};
|
|
397
|
-
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;
|
|
398
393
|
|
|
399
|
-
type Props$
|
|
400
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
401
|
-
ref?: Ref<ElementRef<"a">>;
|
|
402
|
-
}) => 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;
|
|
403
396
|
|
|
404
397
|
/**
|
|
405
398
|
* AlertModal status variants. Mirrors `Alert`'s set but exposes `danger` (not `error`) since an
|
|
@@ -409,13 +402,13 @@ type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
|
409
402
|
|
|
410
403
|
type ConfirmHandler = (event: MouseEvent$1<HTMLButtonElement>) => void | Promise<unknown>;
|
|
411
404
|
type CancelHandler = (event: MouseEvent$1<HTMLButtonElement>) => void;
|
|
412
|
-
type Props$
|
|
405
|
+
type Props$1D = {
|
|
413
406
|
onConfirm?: ConfirmHandler;
|
|
414
407
|
onCancel?: CancelHandler;
|
|
415
408
|
skipAsyncWait?: boolean;
|
|
416
409
|
} & ComponentProps<typeof Root$1>;
|
|
417
410
|
declare const AlertModal: {
|
|
418
|
-
({ 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;
|
|
419
412
|
Trigger: ({ ref, onClick, onKeyDown, ...props }: _radix_ui_react_alert_dialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
420
413
|
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, container, className, children, onEscapeKeyDown, ...props }: {
|
|
421
414
|
variant?: AlertModalVariant;
|
|
@@ -427,7 +420,7 @@ declare const AlertModal: {
|
|
|
427
420
|
} & Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "title">) => react_jsx_runtime.JSX.Element;
|
|
428
421
|
};
|
|
429
422
|
|
|
430
|
-
type Props$
|
|
423
|
+
type Props$1C = ComponentProps<typeof Root$2>;
|
|
431
424
|
/**
|
|
432
425
|
* Blocking dialog for confirmations, forms, and detail views. Built on Radix Dialog.
|
|
433
426
|
*
|
|
@@ -443,7 +436,7 @@ type Props$1I = ComponentProps<typeof Root$2>;
|
|
|
443
436
|
* @see RECIPES.md#confirm-dialog — for destructive-confirm dialogs
|
|
444
437
|
*/
|
|
445
438
|
declare const Modal: {
|
|
446
|
-
(props: Props$
|
|
439
|
+
(props: Props$1C): react_jsx_runtime.JSX.Element;
|
|
447
440
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
448
441
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
449
442
|
Content: ({ size, className, children, onEscapeKeyDown, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -468,10 +461,8 @@ declare const Modal: {
|
|
|
468
461
|
actions?: react.ReactNode;
|
|
469
462
|
hideCloseIcon?: boolean;
|
|
470
463
|
} & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
471
|
-
Overlay: ({ ref, className, disableTransition, ...props }:
|
|
464
|
+
Overlay: ({ ref, className, disableTransition, ...props }: _radix_ui_react_dialog.DialogOverlayProps & react.RefAttributes<HTMLDivElement> & {
|
|
472
465
|
disableTransition?: boolean;
|
|
473
|
-
}) & {
|
|
474
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
475
466
|
}) => react_jsx_runtime.JSX.Element;
|
|
476
467
|
};
|
|
477
468
|
|
|
@@ -496,7 +487,7 @@ declare const FullScreenModal: (({ children, className, lockBodyScroll, onEscape
|
|
|
496
487
|
}) => react_jsx_runtime.JSX.Element;
|
|
497
488
|
};
|
|
498
489
|
|
|
499
|
-
type Props$
|
|
490
|
+
type Props$1B = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
500
491
|
title: ReactNode;
|
|
501
492
|
titleClassName?: string;
|
|
502
493
|
titleWrapperClassName?: string;
|
|
@@ -505,16 +496,16 @@ type Props$1H = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
505
496
|
onClose?: () => void;
|
|
506
497
|
showPreviousTitle?: boolean;
|
|
507
498
|
}>;
|
|
508
|
-
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;
|
|
509
500
|
|
|
510
|
-
type Props$
|
|
511
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
501
|
+
type Props$1A = HTMLAttributes<HTMLDivElement>;
|
|
502
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$1A & {
|
|
512
503
|
ref?: Ref<HTMLDivElement>;
|
|
513
504
|
}) => react_jsx_runtime.JSX.Element;
|
|
514
505
|
|
|
515
|
-
type Props$
|
|
506
|
+
type Props$1z = ComponentProps<typeof Root$2>;
|
|
516
507
|
declare const Sheet: {
|
|
517
|
-
(props: Props$
|
|
508
|
+
(props: Props$1z): react_jsx_runtime.JSX.Element;
|
|
518
509
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
519
510
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
520
511
|
Content: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -537,18 +528,16 @@ declare const Sheet: {
|
|
|
537
528
|
Body: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
538
529
|
};
|
|
539
530
|
|
|
540
|
-
type Props$
|
|
531
|
+
type Props$1y = ComponentProps<typeof Root$3>;
|
|
541
532
|
declare const Popover: {
|
|
542
|
-
(props: Props$
|
|
533
|
+
(props: Props$1y): react_jsx_runtime.JSX.Element;
|
|
543
534
|
/**
|
|
544
535
|
* Main Layout
|
|
545
536
|
*/
|
|
546
|
-
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?: ({
|
|
547
538
|
variant?: "default" | "argo" | null | undefined;
|
|
548
539
|
matchTriggerWidth?: boolean | null | undefined;
|
|
549
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">)
|
|
550
|
-
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
551
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
540
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
552
541
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
553
542
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
554
543
|
};
|
|
@@ -561,13 +550,13 @@ type PopconfirmContextType = {
|
|
|
561
550
|
isLoading: boolean;
|
|
562
551
|
};
|
|
563
552
|
|
|
564
|
-
type Props$
|
|
553
|
+
type Props$1x = {
|
|
565
554
|
children: ReactNode;
|
|
566
555
|
skipAsyncWait?: boolean;
|
|
567
556
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
568
557
|
declare const Popconfirm: {
|
|
569
|
-
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
570
|
-
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 }: ({
|
|
571
560
|
asChild: true;
|
|
572
561
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
573
562
|
asChild?: false;
|
|
@@ -579,12 +568,8 @@ declare const Popconfirm: {
|
|
|
579
568
|
block?: boolean | null | undefined;
|
|
580
569
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
581
570
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
582
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
583
|
-
|
|
584
|
-
}, "children" | "isLoading">)) & {
|
|
585
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
586
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
587
|
-
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 }: ({
|
|
588
573
|
asChild: true;
|
|
589
574
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
590
575
|
asChild?: false;
|
|
@@ -596,11 +581,7 @@ declare const Popconfirm: {
|
|
|
596
581
|
block?: boolean | null | undefined;
|
|
597
582
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
598
583
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
599
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
600
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
601
|
-
}, "children">)) & {
|
|
602
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
603
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
584
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "children">)) => react_jsx_runtime.JSX.Element;
|
|
604
585
|
Footer: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
605
586
|
Content: ({ className, onInteractOutside, ...props }: {
|
|
606
587
|
content?: string | undefined | undefined;
|
|
@@ -611,7 +592,7 @@ declare const Popconfirm: {
|
|
|
611
592
|
slot?: string | undefined | undefined;
|
|
612
593
|
style?: react.CSSProperties | undefined;
|
|
613
594
|
title?: string | undefined | undefined;
|
|
614
|
-
ref?: react.Ref<
|
|
595
|
+
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
615
596
|
key?: react.Key | null | undefined;
|
|
616
597
|
defaultChecked?: boolean | undefined | undefined;
|
|
617
598
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -919,24 +900,20 @@ declare const Popconfirm: {
|
|
|
919
900
|
Trigger: ({ onClick, ...props }: _radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
920
901
|
};
|
|
921
902
|
|
|
922
|
-
type Props$
|
|
903
|
+
type Props$1w = ComponentProps<typeof Root$4>;
|
|
923
904
|
declare const HoverCard: {
|
|
924
|
-
({ openDelay, closeDelay, ...rest }: Props$
|
|
925
|
-
Content: ({ ref, className, align, sideOffset, children, ...props }:
|
|
926
|
-
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
927
|
-
}) => 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;
|
|
928
907
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
929
908
|
};
|
|
930
909
|
|
|
931
|
-
type Props$
|
|
910
|
+
type Props$1v = ComponentProps<typeof Root$5>;
|
|
932
911
|
declare const DropdownMenu: {
|
|
933
|
-
({ modal, ...props }: Props$
|
|
912
|
+
({ modal, ...props }: Props$1v): react_jsx_runtime.JSX.Element;
|
|
934
913
|
/**
|
|
935
914
|
* Main Layout
|
|
936
915
|
*/
|
|
937
|
-
Trigger: ({ ref, className, ...props }:
|
|
938
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
939
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
916
|
+
Trigger: ({ ref, className, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
940
917
|
Content: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Omit<_radix_ui_react_dropdown_menu.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>, "asChild" | "forceMount"> & {
|
|
941
918
|
forceMount?: boolean;
|
|
942
919
|
viewPortClassName?: string;
|
|
@@ -954,13 +931,11 @@ declare const DropdownMenu: {
|
|
|
954
931
|
*/
|
|
955
932
|
Separator: ({ className, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
956
933
|
Label: ({ className, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuLabelProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
957
|
-
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> & {
|
|
958
935
|
asModalTrigger?: boolean;
|
|
959
936
|
icon?: react.ReactNode;
|
|
960
937
|
isLoading?: boolean;
|
|
961
938
|
iconClassName?: string;
|
|
962
|
-
}) & {
|
|
963
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
964
939
|
}) => react_jsx_runtime.JSX.Element;
|
|
965
940
|
CheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
966
941
|
closeOnSelect?: boolean;
|
|
@@ -986,14 +961,14 @@ declare const DropdownMenu: {
|
|
|
986
961
|
}) => react_jsx_runtime.JSX.Element;
|
|
987
962
|
};
|
|
988
963
|
|
|
989
|
-
type Props$
|
|
964
|
+
type Props$1u = {
|
|
990
965
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
991
966
|
};
|
|
992
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
967
|
+
declare const CheckIndicator: ({ variant }: Props$1u) => react_jsx_runtime.JSX.Element | null;
|
|
993
968
|
|
|
994
|
-
type Props$
|
|
969
|
+
type Props$1t = ComponentProps<typeof Command$1>;
|
|
995
970
|
declare const Command: {
|
|
996
|
-
({ className, ...rest }: Props$
|
|
971
|
+
({ className, ...rest }: Props$1t): react_jsx_runtime.JSX.Element;
|
|
997
972
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
998
973
|
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
999
974
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1002,7 +977,7 @@ declare const Command: {
|
|
|
1002
977
|
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
1003
978
|
alwaysRender?: boolean;
|
|
1004
979
|
} & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1005
|
-
List: ({ ref, className, children, viewPortClassName, ...props }:
|
|
980
|
+
List: ({ ref, className, children, viewPortClassName, ...props }: {
|
|
1006
981
|
children?: React.ReactNode;
|
|
1007
982
|
} & Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1008
983
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1014,11 +989,7 @@ declare const Command: {
|
|
|
1014
989
|
viewPortClassName?: string;
|
|
1015
990
|
scrollBarClassName?: string;
|
|
1016
991
|
orientation?: ComponentProps<react.ForwardRefExoticComponent<ScrollAreaPrimitive.ScrollAreaScrollbarProps & react.RefAttributes<HTMLDivElement>>>["orientation"];
|
|
1017
|
-
}
|
|
1018
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
1019
|
-
}, "viewPortClassName">) & {
|
|
1020
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
1021
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
992
|
+
}, "viewPortClassName">) => react_jsx_runtime.JSX.Element;
|
|
1022
993
|
Group: ({ className, ...props }: {
|
|
1023
994
|
children?: React.ReactNode;
|
|
1024
995
|
} & Omit<Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -1037,335 +1008,25 @@ declare const Command: {
|
|
|
1037
1008
|
} & {
|
|
1038
1009
|
asChild?: boolean;
|
|
1039
1010
|
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1040
|
-
Input: ({ ref, className, ...props }:
|
|
1041
|
-
value?: string | null;
|
|
1042
|
-
defaultValue?: string | null;
|
|
1043
|
-
onValueChange?: (value: string) => void;
|
|
1044
|
-
onValueBlur?: (value: string) => void;
|
|
1045
|
-
type?: "text" | "email" | "password" | "datetime-local" | "date";
|
|
1046
|
-
} & {
|
|
1047
|
-
content?: string | undefined | undefined;
|
|
1048
|
-
size?: number | undefined | undefined;
|
|
1049
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
1050
|
-
prefix?: react.ReactNode;
|
|
1051
|
-
id?: string | undefined | undefined;
|
|
1052
|
-
name?: string | undefined | undefined;
|
|
1053
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1011
|
+
Input: ({ ref, className, ...props }: {
|
|
1054
1012
|
variant?: "primary" | "secondary" | null | undefined;
|
|
1055
|
-
form?: string | undefined | undefined;
|
|
1056
|
-
slot?: string | undefined | undefined;
|
|
1057
|
-
style?: react.CSSProperties | undefined;
|
|
1058
|
-
title?: string | undefined | undefined;
|
|
1059
|
-
pattern?: string | undefined | undefined;
|
|
1060
|
-
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
1061
|
-
key?: react.Key | null | undefined;
|
|
1062
|
-
defaultChecked?: boolean | undefined | undefined;
|
|
1063
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
1064
|
-
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
1065
|
-
accessKey?: string | undefined | undefined;
|
|
1066
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
1067
|
-
autoFocus?: boolean | undefined | undefined;
|
|
1068
|
-
className?: string | undefined | undefined;
|
|
1069
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
1070
|
-
contextMenu?: string | undefined | undefined;
|
|
1071
|
-
dir?: string | undefined | undefined;
|
|
1072
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
1073
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
1074
|
-
hidden?: boolean | undefined | undefined;
|
|
1075
|
-
lang?: string | undefined | undefined;
|
|
1076
|
-
nonce?: string | undefined | undefined;
|
|
1077
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
1078
|
-
tabIndex?: number | undefined | undefined;
|
|
1079
|
-
radioGroup?: string | undefined | undefined;
|
|
1080
|
-
role?: react.AriaRole | undefined;
|
|
1081
|
-
about?: string | undefined | undefined;
|
|
1082
|
-
datatype?: string | undefined | undefined;
|
|
1083
|
-
inlist?: any;
|
|
1084
|
-
property?: string | undefined | undefined;
|
|
1085
|
-
rel?: string | undefined | undefined;
|
|
1086
|
-
resource?: string | undefined | undefined;
|
|
1087
|
-
rev?: string | undefined | undefined;
|
|
1088
|
-
typeof?: string | undefined | undefined;
|
|
1089
|
-
vocab?: string | undefined | undefined;
|
|
1090
|
-
autoCorrect?: string | undefined | undefined;
|
|
1091
|
-
autoSave?: string | undefined | undefined;
|
|
1092
|
-
color?: string | undefined | undefined;
|
|
1093
|
-
itemProp?: string | undefined | undefined;
|
|
1094
|
-
itemScope?: boolean | undefined | undefined;
|
|
1095
|
-
itemType?: string | undefined | undefined;
|
|
1096
|
-
itemID?: string | undefined | undefined;
|
|
1097
|
-
itemRef?: string | undefined | undefined;
|
|
1098
|
-
results?: number | undefined | undefined;
|
|
1099
|
-
security?: string | undefined | undefined;
|
|
1100
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
1101
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
1102
|
-
popoverTarget?: string | undefined | undefined;
|
|
1103
|
-
inert?: boolean | undefined | undefined;
|
|
1104
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
1105
|
-
is?: string | undefined | undefined;
|
|
1106
|
-
exportparts?: string | undefined | undefined;
|
|
1107
|
-
part?: string | undefined | undefined;
|
|
1108
|
-
"aria-activedescendant"?: string | undefined | undefined;
|
|
1109
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
1110
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
1111
|
-
"aria-braillelabel"?: string | undefined | undefined;
|
|
1112
|
-
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
1113
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
1114
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1115
|
-
"aria-colcount"?: number | undefined | undefined;
|
|
1116
|
-
"aria-colindex"?: number | undefined | undefined;
|
|
1117
|
-
"aria-colindextext"?: string | undefined | undefined;
|
|
1118
|
-
"aria-colspan"?: number | undefined | undefined;
|
|
1119
|
-
"aria-controls"?: string | undefined | undefined;
|
|
1120
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
1121
|
-
"aria-describedby"?: string | undefined | undefined;
|
|
1122
|
-
"aria-description"?: string | undefined | undefined;
|
|
1123
|
-
"aria-details"?: string | undefined | undefined;
|
|
1124
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
1125
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
1126
|
-
"aria-errormessage"?: string | undefined | undefined;
|
|
1127
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
1128
|
-
"aria-flowto"?: string | undefined | undefined;
|
|
1129
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
1130
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
1131
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
1132
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
1133
|
-
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
1134
|
-
"aria-label"?: string | undefined | undefined;
|
|
1135
|
-
"aria-labelledby"?: string | undefined | undefined;
|
|
1136
|
-
"aria-level"?: number | undefined | undefined;
|
|
1137
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
1138
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
1139
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
1140
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
1141
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
1142
|
-
"aria-owns"?: string | undefined | undefined;
|
|
1143
|
-
"aria-placeholder"?: string | undefined | undefined;
|
|
1144
|
-
"aria-posinset"?: number | undefined | undefined;
|
|
1145
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1146
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
1147
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
1148
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
1149
|
-
"aria-roledescription"?: string | undefined | undefined;
|
|
1150
|
-
"aria-rowcount"?: number | undefined | undefined;
|
|
1151
|
-
"aria-rowindex"?: number | undefined | undefined;
|
|
1152
|
-
"aria-rowindextext"?: string | undefined | undefined;
|
|
1153
|
-
"aria-rowspan"?: number | undefined | undefined;
|
|
1154
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
1155
|
-
"aria-setsize"?: number | undefined | undefined;
|
|
1156
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
1157
|
-
"aria-valuemax"?: number | undefined | undefined;
|
|
1158
|
-
"aria-valuemin"?: number | undefined | undefined;
|
|
1159
|
-
"aria-valuenow"?: number | undefined | undefined;
|
|
1160
|
-
"aria-valuetext"?: string | undefined | undefined;
|
|
1161
|
-
children?: react.ReactNode;
|
|
1162
|
-
dangerouslySetInnerHTML?: {
|
|
1163
|
-
__html: string | TrustedHTML;
|
|
1164
|
-
} | undefined | undefined;
|
|
1165
|
-
onCopy?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1166
|
-
onCopyCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1167
|
-
onCut?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1168
|
-
onCutCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1169
|
-
onPaste?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1170
|
-
onPasteCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1171
|
-
onCompositionEnd?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1172
|
-
onCompositionEndCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1173
|
-
onCompositionStart?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1174
|
-
onCompositionStartCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1175
|
-
onCompositionUpdate?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1176
|
-
onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1177
|
-
onFocus?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1178
|
-
onFocusCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1179
|
-
onBlur?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1180
|
-
onBlurCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1181
|
-
onChange?: react.ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined;
|
|
1182
|
-
onChangeCapture?: react.ChangeEventHandler<HTMLInputElement, Element> | undefined;
|
|
1183
|
-
onBeforeInput?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1184
|
-
onBeforeInputCapture?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1185
|
-
onInput?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1186
|
-
onInputCapture?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1187
|
-
onReset?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1188
|
-
onResetCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1189
|
-
onSubmit?: react.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
1190
|
-
onSubmitCapture?: react.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
1191
|
-
onInvalid?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1192
|
-
onInvalidCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1193
|
-
onLoad?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1194
|
-
onLoadCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1195
|
-
onError?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1196
|
-
onErrorCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1197
|
-
onKeyDown?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1198
|
-
onKeyDownCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1199
|
-
onKeyPress?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1200
|
-
onKeyPressCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1201
|
-
onKeyUp?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1202
|
-
onKeyUpCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1203
|
-
onAbort?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1204
|
-
onAbortCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1205
|
-
onCanPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1206
|
-
onCanPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1207
|
-
onCanPlayThrough?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1208
|
-
onCanPlayThroughCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1209
|
-
onDurationChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1210
|
-
onDurationChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1211
|
-
onEmptied?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1212
|
-
onEmptiedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1213
|
-
onEncrypted?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1214
|
-
onEncryptedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1215
|
-
onEnded?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1216
|
-
onEndedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1217
|
-
onLoadedData?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1218
|
-
onLoadedDataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1219
|
-
onLoadedMetadata?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1220
|
-
onLoadedMetadataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1221
|
-
onLoadStart?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1222
|
-
onLoadStartCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1223
|
-
onPause?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1224
|
-
onPauseCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1225
|
-
onPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1226
|
-
onPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1227
|
-
onPlaying?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1228
|
-
onPlayingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1229
|
-
onProgress?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1230
|
-
onProgressCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1231
|
-
onRateChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1232
|
-
onRateChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1233
|
-
onSeeked?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1234
|
-
onSeekedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1235
|
-
onSeeking?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1236
|
-
onSeekingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1237
|
-
onStalled?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1238
|
-
onStalledCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1239
|
-
onSuspend?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1240
|
-
onSuspendCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1241
|
-
onTimeUpdate?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1242
|
-
onTimeUpdateCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1243
|
-
onVolumeChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1244
|
-
onVolumeChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1245
|
-
onWaiting?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1246
|
-
onWaitingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1247
|
-
onAuxClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1248
|
-
onAuxClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1249
|
-
onClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1250
|
-
onClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1251
|
-
onContextMenu?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1252
|
-
onContextMenuCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1253
|
-
onDoubleClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1254
|
-
onDoubleClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1255
|
-
onDrag?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1256
|
-
onDragCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1257
|
-
onDragEnd?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1258
|
-
onDragEndCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1259
|
-
onDragEnter?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1260
|
-
onDragEnterCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1261
|
-
onDragExit?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1262
|
-
onDragExitCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1263
|
-
onDragLeave?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1264
|
-
onDragLeaveCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1265
|
-
onDragOver?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1266
|
-
onDragOverCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1267
|
-
onDragStart?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1268
|
-
onDragStartCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1269
|
-
onDrop?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1270
|
-
onDropCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1271
|
-
onMouseDown?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1272
|
-
onMouseDownCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1273
|
-
onMouseEnter?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1274
|
-
onMouseLeave?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1275
|
-
onMouseMove?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1276
|
-
onMouseMoveCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1277
|
-
onMouseOut?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1278
|
-
onMouseOutCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1279
|
-
onMouseOver?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1280
|
-
onMouseOverCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1281
|
-
onMouseUp?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1282
|
-
onMouseUpCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1283
|
-
onSelect?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1284
|
-
onSelectCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1285
|
-
onTouchCancel?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1286
|
-
onTouchCancelCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1287
|
-
onTouchEnd?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1288
|
-
onTouchEndCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1289
|
-
onTouchMove?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1290
|
-
onTouchMoveCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1291
|
-
onTouchStart?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1292
|
-
onTouchStartCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1293
|
-
onPointerDown?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1294
|
-
onPointerDownCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1295
|
-
onPointerMove?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1296
|
-
onPointerMoveCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1297
|
-
onPointerUp?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1298
|
-
onPointerUpCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1299
|
-
onPointerCancel?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1300
|
-
onPointerCancelCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1301
|
-
onPointerEnter?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1302
|
-
onPointerLeave?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1303
|
-
onPointerOver?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1304
|
-
onPointerOverCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1305
|
-
onPointerOut?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1306
|
-
onPointerOutCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1307
|
-
onGotPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1308
|
-
onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1309
|
-
onLostPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1310
|
-
onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1311
|
-
onScroll?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1312
|
-
onScrollCapture?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1313
|
-
onScrollEnd?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1314
|
-
onScrollEndCapture?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1315
|
-
onWheel?: react.WheelEventHandler<HTMLInputElement> | undefined;
|
|
1316
|
-
onWheelCapture?: react.WheelEventHandler<HTMLInputElement> | undefined;
|
|
1317
|
-
onAnimationStart?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1318
|
-
onAnimationStartCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1319
|
-
onAnimationEnd?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1320
|
-
onAnimationEndCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1321
|
-
onAnimationIteration?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1322
|
-
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1323
|
-
onToggle?: react.ToggleEventHandler<HTMLInputElement> | undefined;
|
|
1324
|
-
onBeforeToggle?: react.ToggleEventHandler<HTMLInputElement> | undefined;
|
|
1325
|
-
onTransitionCancel?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1326
|
-
onTransitionCancelCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1327
|
-
onTransitionEnd?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1328
|
-
onTransitionEndCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1329
|
-
onTransitionRun?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1330
|
-
onTransitionRunCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1331
|
-
onTransitionStart?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1332
|
-
onTransitionStartCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1333
|
-
list?: string | undefined | undefined;
|
|
1334
|
-
disabled?: boolean | undefined | undefined;
|
|
1335
|
-
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
1336
|
-
formEncType?: string | undefined | undefined;
|
|
1337
|
-
formMethod?: string | undefined | undefined;
|
|
1338
|
-
formNoValidate?: boolean | undefined | undefined;
|
|
1339
|
-
formTarget?: string | undefined | undefined;
|
|
1340
|
-
height?: number | string | undefined | undefined;
|
|
1341
|
-
max?: number | string | undefined | undefined;
|
|
1342
|
-
min?: number | string | undefined | undefined;
|
|
1343
|
-
width?: number | string | undefined | undefined;
|
|
1344
|
-
checked?: boolean | undefined | undefined;
|
|
1345
|
-
multiple?: boolean | undefined | undefined;
|
|
1346
1013
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1347
|
-
src?: string | undefined | undefined;
|
|
1348
|
-
alt?: string | undefined | undefined;
|
|
1349
|
-
required?: boolean | undefined | undefined;
|
|
1350
|
-
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
1351
|
-
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
1352
|
-
maxLength?: number | undefined | undefined;
|
|
1353
|
-
minLength?: number | undefined | undefined;
|
|
1354
|
-
placeholder?: string | undefined | undefined;
|
|
1355
|
-
readOnly?: boolean | undefined | undefined;
|
|
1356
1014
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1357
1015
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1016
|
+
} & {
|
|
1017
|
+
prefix?: react.ReactNode;
|
|
1358
1018
|
rightSuffix?: react.ReactNode;
|
|
1359
|
-
rightSuffixVariant?: "addon" | "default"
|
|
1019
|
+
rightSuffixVariant?: "addon" | "default";
|
|
1360
1020
|
leftSuffix?: react.ReactNode;
|
|
1361
|
-
allowClear?: boolean
|
|
1362
|
-
onClear?: (
|
|
1363
|
-
testId?: string
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
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;
|
|
1369
1030
|
Item: ({ className, icon, children, checked, variant, actions, ...props }: {
|
|
1370
1031
|
children?: React.ReactNode;
|
|
1371
1032
|
} & Omit<Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -1389,25 +1050,21 @@ declare const Command: {
|
|
|
1389
1050
|
declare const addonVariants$1: (props?: ({
|
|
1390
1051
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
1391
1052
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1392
|
-
type Props$
|
|
1393
|
-
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;
|
|
1394
1055
|
|
|
1395
1056
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
1396
|
-
type Props$
|
|
1397
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
1398
|
-
ref?: Ref<ElementRef<"button">>;
|
|
1399
|
-
}) => 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;
|
|
1400
1059
|
|
|
1401
|
-
type Props$
|
|
1402
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
1403
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1404
|
-
}) => 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;
|
|
1405
1062
|
|
|
1406
|
-
type Props$
|
|
1407
|
-
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;
|
|
1408
1065
|
|
|
1409
1066
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof react_textarea_autosize__default>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
1410
|
-
type Props$
|
|
1067
|
+
type Props$1o = TextareaNativeProps$1 & {
|
|
1411
1068
|
value?: string | null;
|
|
1412
1069
|
defaultValue?: string | null;
|
|
1413
1070
|
onValueChange?: (value: string) => void;
|
|
@@ -1415,9 +1072,7 @@ type Props$1u = TextareaNativeProps$1 & {
|
|
|
1415
1072
|
maxRows?: number | 'unlimited';
|
|
1416
1073
|
disableResize?: boolean;
|
|
1417
1074
|
};
|
|
1418
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
1419
|
-
ref?: Ref<ElementRef<"textarea">>;
|
|
1420
|
-
}) => 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;
|
|
1421
1076
|
|
|
1422
1077
|
declare const inputGroupVariants: (props?: ({
|
|
1423
1078
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -1425,12 +1080,10 @@ declare const inputGroupVariants: (props?: ({
|
|
|
1425
1080
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1426
1081
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1427
1082
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1428
|
-
type Props$
|
|
1083
|
+
type Props$1n = ComponentPropsWithRef<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
1429
1084
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
1430
1085
|
};
|
|
1431
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1432
|
-
ref?: Ref<ElementRef<"div">>;
|
|
1433
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1086
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$1n) => react_jsx_runtime.JSX.Element;
|
|
1434
1087
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
1435
1088
|
Input: typeof InputGroupInput;
|
|
1436
1089
|
Addon: typeof InputGroupAddon;
|
|
@@ -1439,8 +1092,8 @@ declare const InputGroup: typeof InputGroupRoot & {
|
|
|
1439
1092
|
Text: typeof InputGroupText;
|
|
1440
1093
|
};
|
|
1441
1094
|
|
|
1442
|
-
type InputGroupProps$
|
|
1443
|
-
type OwnProps
|
|
1095
|
+
type InputGroupProps$9 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
1096
|
+
type OwnProps = {
|
|
1444
1097
|
prefix?: ReactNode;
|
|
1445
1098
|
rightSuffix?: ReactNode;
|
|
1446
1099
|
rightSuffixVariant?: 'addon' | 'default';
|
|
@@ -1448,56 +1101,6 @@ type OwnProps$1 = {
|
|
|
1448
1101
|
allowClear?: boolean;
|
|
1449
1102
|
onClear?: () => void;
|
|
1450
1103
|
testId?: string;
|
|
1451
|
-
value?: ComponentProps<'input'>['value'] | null;
|
|
1452
|
-
defaultValue?: ComponentProps<'input'>['defaultValue'] | null;
|
|
1453
|
-
};
|
|
1454
|
-
/**
|
|
1455
|
-
* Props for `Input`. Combines `InputGroup` chrome (variant / sizing / state / focusVariant) with
|
|
1456
|
-
* input-specific slots (`prefix`, `leftSuffix`, `rightSuffix`, `allowClear`).
|
|
1457
|
-
*/
|
|
1458
|
-
type Props$1s = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue'>;
|
|
1459
|
-
/**
|
|
1460
|
-
* Low-level text input with `InputGroup` chrome — addons, clear button, sizing, focus variants.
|
|
1461
|
-
*
|
|
1462
|
-
* **When to use:** when you need an input with prefix / suffix slots or a clear button and don't need the
|
|
1463
|
-
* `onValueChange` convenience callback. Rare on its own — most call sites should use `TextInput`.
|
|
1464
|
-
* **When NOT to use:** for plain text fields use `TextInput`; for fields inside a `FormGroup` use
|
|
1465
|
-
* `FormGroup.TextInput`; for search use `SearchInput`; for forms with validation use `useAppForm`.
|
|
1466
|
-
* **Composition:** wrap in `FormGroup` for shared error state, or render directly as a controlled input.
|
|
1467
|
-
*/
|
|
1468
|
-
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 & {
|
|
1469
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1470
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1471
|
-
|
|
1472
|
-
type InputProps$1 = ComponentProps<typeof Input$1>;
|
|
1473
|
-
type Props$1r = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
1474
|
-
defaultValue?: Date | null;
|
|
1475
|
-
disabledDays?: Matcher | Matcher[];
|
|
1476
|
-
endMonth?: Date;
|
|
1477
|
-
onValueBlur?: (value: Date | null) => void;
|
|
1478
|
-
onValueChange?: (value: Date | null) => void;
|
|
1479
|
-
startMonth?: Date;
|
|
1480
|
-
value?: Date | null;
|
|
1481
|
-
};
|
|
1482
|
-
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$1r & {
|
|
1483
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1484
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1485
|
-
|
|
1486
|
-
type InputProps = ComponentProps<typeof Input$1>;
|
|
1487
|
-
type Props$1q = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
1488
|
-
defaultValue?: DateRange$1 | null;
|
|
1489
|
-
endMonth?: Date;
|
|
1490
|
-
onValueBlur?: (value: DateRange$1 | null) => void;
|
|
1491
|
-
onValueChange?: (value: DateRange$1 | null) => void;
|
|
1492
|
-
startMonth?: Date;
|
|
1493
|
-
value?: DateRange$1 | null;
|
|
1494
|
-
};
|
|
1495
|
-
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$1q & {
|
|
1496
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1497
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1498
|
-
|
|
1499
|
-
type NativeProps = Omit<ComponentProps<typeof Input$1>, 'type' | 'value' | 'defaultValue' | 'accept' | 'step'>;
|
|
1500
|
-
type OwnProps = {
|
|
1501
1104
|
value?: string | null;
|
|
1502
1105
|
defaultValue?: string | null;
|
|
1503
1106
|
/** Called with the unwrapped string value on every change. For the raw event use `onChange`. */
|
|
@@ -1507,12 +1110,15 @@ type OwnProps = {
|
|
|
1507
1110
|
type?: 'text' | 'email' | 'password' | 'datetime-local' | 'date';
|
|
1508
1111
|
};
|
|
1509
1112
|
/**
|
|
1510
|
-
* Props for `TextInput`.
|
|
1511
|
-
*
|
|
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.
|
|
1512
1117
|
*/
|
|
1513
|
-
type Props$
|
|
1118
|
+
type Props$1m = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue' | 'type' | 'accept' | 'step'>;
|
|
1514
1119
|
/**
|
|
1515
|
-
* 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.
|
|
1516
1122
|
*
|
|
1517
1123
|
* **When to use:** any plain text / email / password / date-input field outside `useAppForm`. Pair with
|
|
1518
1124
|
* `onValueChange` instead of unwrapping `event.target.value` from `onChange`.
|
|
@@ -1522,42 +1128,34 @@ type Props$1p = OwnProps & NativeProps;
|
|
|
1522
1128
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1523
1129
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1524
1130
|
*/
|
|
1525
|
-
declare const TextInput: ({ ref,
|
|
1526
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1527
|
-
}) => 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;
|
|
1528
1132
|
|
|
1529
|
-
type Props$
|
|
1530
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1531
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1532
|
-
}) => 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;
|
|
1533
1135
|
|
|
1534
|
-
type Props$
|
|
1136
|
+
type Props$1k = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1535
1137
|
viewPortClassName?: string;
|
|
1536
1138
|
scrollBarClassName?: string;
|
|
1537
1139
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1538
1140
|
};
|
|
1539
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1540
|
-
ref?: Ref<ElementRef<"div">>;
|
|
1541
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1141
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$1k) => react_jsx_runtime.JSX.Element;
|
|
1542
1142
|
|
|
1543
|
-
type Props$
|
|
1544
|
-
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;
|
|
1545
1145
|
|
|
1546
|
-
type Props$
|
|
1547
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1548
|
-
ref?: Ref<ElementRef<"div">>;
|
|
1549
|
-
}) => 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;
|
|
1550
1148
|
|
|
1551
|
-
type Props$
|
|
1552
|
-
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;
|
|
1553
1151
|
|
|
1554
|
-
type Props$
|
|
1152
|
+
type Props$1g = ComponentProps<typeof Command$1.Item> & {
|
|
1555
1153
|
icon?: ReactNode;
|
|
1556
1154
|
checked?: boolean;
|
|
1557
1155
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1558
1156
|
actions?: ReactNode;
|
|
1559
1157
|
};
|
|
1560
|
-
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;
|
|
1561
1159
|
|
|
1562
1160
|
/** Viewport-relative box of the highlighted target. */
|
|
1563
1161
|
type TargetRect = {
|
|
@@ -1577,7 +1175,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1577
1175
|
*/
|
|
1578
1176
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1579
1177
|
|
|
1580
|
-
type Props$
|
|
1178
|
+
type Props$1f = {
|
|
1581
1179
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1582
1180
|
rect: TargetRect | null;
|
|
1583
1181
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1599,7 +1197,7 @@ type Props$1i = {
|
|
|
1599
1197
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1600
1198
|
* "Guided tour (recipe)" story for the composition.
|
|
1601
1199
|
*/
|
|
1602
|
-
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;
|
|
1603
1201
|
|
|
1604
1202
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
1605
1203
|
declare const Calendar: {
|
|
@@ -1643,20 +1241,20 @@ declare const DateRangePicker: {
|
|
|
1643
1241
|
displayName: string;
|
|
1644
1242
|
};
|
|
1645
1243
|
|
|
1646
|
-
type Props$
|
|
1244
|
+
type Props$1e = {
|
|
1647
1245
|
children?: ReactNode;
|
|
1648
1246
|
defaultSelected?: string | null;
|
|
1649
1247
|
selected?: string | null;
|
|
1650
1248
|
onSelect?: (time: string) => void;
|
|
1651
1249
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1652
|
-
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;
|
|
1653
1251
|
|
|
1654
|
-
type Props$
|
|
1252
|
+
type Props$1d = {
|
|
1655
1253
|
id?: string | number;
|
|
1656
1254
|
htmlFor?: string | number;
|
|
1657
1255
|
} & Omit<LabelProps$1, 'id' | 'htmlFor'>;
|
|
1658
1256
|
declare const Label: {
|
|
1659
|
-
({ className, children, id, htmlFor, ...rest }: Props$
|
|
1257
|
+
({ className, children, id, htmlFor, ...rest }: Props$1d): react_jsx_runtime.JSX.Element;
|
|
1660
1258
|
Optional: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1661
1259
|
Required: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1662
1260
|
};
|
|
@@ -1670,21 +1268,19 @@ declare const switchVariants: (props?: ({
|
|
|
1670
1268
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
1671
1269
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1672
1270
|
|
|
1673
|
-
type Props$
|
|
1271
|
+
type Props$1c = {
|
|
1674
1272
|
id?: string | number;
|
|
1675
1273
|
children?: ReactNode;
|
|
1676
1274
|
description?: ReactNode;
|
|
1677
1275
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1678
1276
|
position?: 'start' | 'end';
|
|
1679
1277
|
} & Omit<ComponentProps<typeof Root$6>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
1680
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
1681
|
-
ref?: Ref<ElementRef<"button">>;
|
|
1682
|
-
}) => 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;
|
|
1683
1279
|
|
|
1684
1280
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
1685
1281
|
type Orientation = 'vertical' | 'horizontal';
|
|
1686
1282
|
|
|
1687
|
-
type Props$
|
|
1283
|
+
type Props$1b<Value> = {
|
|
1688
1284
|
variant?: Variant$7;
|
|
1689
1285
|
orientation?: Orientation;
|
|
1690
1286
|
onValueChange?: (value: Value) => void;
|
|
@@ -1692,7 +1288,7 @@ type Props$1e<Value> = {
|
|
|
1692
1288
|
defaultValue?: Value | null;
|
|
1693
1289
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1694
1290
|
declare const RadioGroup: {
|
|
1695
|
-
<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;
|
|
1696
1292
|
Item: <T extends string = string>({ children, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1697
1293
|
content?: string | undefined | undefined;
|
|
1698
1294
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -1989,34 +1585,30 @@ declare const RadioGroup: {
|
|
|
1989
1585
|
} & {
|
|
1990
1586
|
value: T;
|
|
1991
1587
|
tooltip?: react.ReactNode;
|
|
1992
|
-
tooltipVariant?: Props$
|
|
1993
|
-
tooltipPlacement?: Props$
|
|
1588
|
+
tooltipVariant?: Props$1K["variant"];
|
|
1589
|
+
tooltipPlacement?: Props$1K["placement"];
|
|
1994
1590
|
description?: react.ReactNode;
|
|
1995
1591
|
}) => react_jsx_runtime.JSX.Element;
|
|
1996
1592
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
1997
1593
|
};
|
|
1998
1594
|
|
|
1999
|
-
type Props$
|
|
1595
|
+
type Props$1a = ComponentProps<typeof Thumb> & {
|
|
2000
1596
|
tooltip?: ReactNode;
|
|
2001
1597
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
2002
1598
|
};
|
|
2003
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
2004
|
-
ref?: Ref<ElementRef<typeof Thumb>>;
|
|
2005
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1599
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$1a) => react_jsx_runtime.JSX.Element;
|
|
2006
1600
|
|
|
2007
1601
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
2008
|
-
type Props$
|
|
1602
|
+
type Props$19 = ComponentProps<typeof Root$7> & {
|
|
2009
1603
|
thumbTooltip?: ThumbTooltipFn;
|
|
2010
1604
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
2011
1605
|
rangeClassName?: string;
|
|
2012
1606
|
};
|
|
2013
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
2014
|
-
ref?: Ref<ElementRef<typeof Root$7>>;
|
|
2015
|
-
}) => 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;
|
|
2016
1608
|
|
|
2017
1609
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent$1<HTMLButtonElement>) => void;
|
|
2018
1610
|
type SearchBlurEventHandler = (value: string, event: FocusEvent$1<HTMLInputElement, Element>) => void;
|
|
2019
|
-
type Props$
|
|
1611
|
+
type Props$18 = {
|
|
2020
1612
|
suffix?: ReactNode;
|
|
2021
1613
|
disableDebounce?: boolean;
|
|
2022
1614
|
debounceDelay?: number;
|
|
@@ -2027,20 +1619,16 @@ type Props$1b = {
|
|
|
2027
1619
|
testId?: string;
|
|
2028
1620
|
onClear?: () => void;
|
|
2029
1621
|
variant?: 'default' | 'ai';
|
|
2030
|
-
} & Omit<
|
|
1622
|
+
} & Omit<ComponentProps<'input'>, 'type' | 'onBlur' | 'onChange' | 'value' | 'defaultValue' | 'prefix' | 'suffix'>;
|
|
2031
1623
|
/**
|
|
2032
1624
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
2033
1625
|
*/
|
|
2034
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
2035
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2036
|
-
}) => 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;
|
|
2037
1627
|
|
|
2038
|
-
type Props$
|
|
1628
|
+
type Props$17 = {
|
|
2039
1629
|
onSubmit: (value: string) => void;
|
|
2040
1630
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
2041
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
2042
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2043
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1631
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$17) => react_jsx_runtime.JSX.Element;
|
|
2044
1632
|
|
|
2045
1633
|
type SelectRootProps = {
|
|
2046
1634
|
children?: ReactNode;
|
|
@@ -2063,12 +1651,10 @@ declare const variants$2: (props?: ({
|
|
|
2063
1651
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2064
1652
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2065
1653
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2066
|
-
type Props$
|
|
2067
|
-
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';
|
|
2068
1656
|
} & Pick<ComponentProps<typeof _radix_ui_react_select.Value>, 'placeholder'>;
|
|
2069
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
2070
|
-
ref?: Ref<ElementRef<"button">>;
|
|
2071
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1657
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$16) => react_jsx_runtime.JSX.Element;
|
|
2072
1658
|
|
|
2073
1659
|
type SelectItem = {
|
|
2074
1660
|
value: string;
|
|
@@ -2085,7 +1671,7 @@ type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
|
2085
1671
|
* Props for `Select`. Combines Radix `Select.Root` control props with `Select.Trigger` chrome and the
|
|
2086
1672
|
* convenience `items` shape (flat list, or grouped lists with optional labels).
|
|
2087
1673
|
*/
|
|
2088
|
-
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'> & {
|
|
2089
1675
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
2090
1676
|
};
|
|
2091
1677
|
/**
|
|
@@ -2093,16 +1679,15 @@ type Props$18 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange'
|
|
|
2093
1679
|
*
|
|
2094
1680
|
* **When to use:** picking one value from ~10 or fewer options where search adds no value (status,
|
|
2095
1681
|
* region, role). Pass a flat `items` array or grouped arrays with optional labels for headings.
|
|
2096
|
-
* **When NOT to use:** for longer lists with search use `Combobox`; for multi-select use `MultiCombobox
|
|
2097
|
-
* for free-form tag entry use `Tagger`.
|
|
1682
|
+
* **When NOT to use:** for longer lists with search use `Combobox`; for multi-select use `MultiCombobox`.
|
|
2098
1683
|
* **Composition:** wrap in `FormGroup` for label + help text, or use `useAppForm` + `field.SelectField`
|
|
2099
1684
|
* for forms with validation. Use the compound parts (`Select.Root`, `Select.Trigger`, `Select.Content`,
|
|
2100
1685
|
* `Select.Item`) for custom item layouts; the top-level `Select` covers the common cases.
|
|
2101
1686
|
*/
|
|
2102
1687
|
declare const Select: {
|
|
2103
|
-
({ 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;
|
|
2104
1689
|
Root: (props: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
2105
|
-
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?: ({
|
|
2106
1691
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
2107
1692
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2108
1693
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
@@ -2111,72 +1696,58 @@ declare const Select: {
|
|
|
2111
1696
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
2112
1697
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2113
1698
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2114
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"
|
|
2115
|
-
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">)
|
|
2116
|
-
|
|
2117
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2118
|
-
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> & {
|
|
2119
1702
|
container?: HTMLElement | null;
|
|
2120
|
-
}) & {
|
|
2121
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2122
1703
|
}) => react_jsx_runtime.JSX.Element;
|
|
2123
|
-
Item: ({ ref, className, children, icon, ...props }:
|
|
1704
|
+
Item: ({ ref, className, children, icon, ...props }: _radix_ui_react_select.SelectItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
2124
1705
|
icon?: ReactNode;
|
|
2125
|
-
}) & {
|
|
2126
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2127
1706
|
}) => react_jsx_runtime.JSX.Element;
|
|
2128
1707
|
Group: ({ className, ...props }: _radix_ui_react_select.SelectGroupProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2129
1708
|
Label: ({ className, ...props }: _radix_ui_react_select.SelectLabelProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2130
1709
|
Separator: ({ className, ...props }: _radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2131
1710
|
};
|
|
2132
1711
|
|
|
2133
|
-
type Props$
|
|
1712
|
+
type Props$14 = {
|
|
2134
1713
|
id?: string | number;
|
|
2135
1714
|
description?: ReactNode;
|
|
2136
1715
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
2137
1716
|
position?: 'start' | 'end';
|
|
2138
|
-
tooltip?: Props$
|
|
2139
|
-
tooltipPlacement?: Props$
|
|
1717
|
+
tooltip?: Props$1K['tooltip'];
|
|
1718
|
+
tooltipPlacement?: Props$1K['placement'];
|
|
2140
1719
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
2141
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1720
|
+
declare function Checkbox(prop: Omit<Props$14, 'checked' | 'onCheckedChange'> & {
|
|
2142
1721
|
checked?: boolean;
|
|
2143
1722
|
onCheckedChange?: (checked: boolean) => void;
|
|
2144
1723
|
}): ReactNode;
|
|
2145
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1724
|
+
declare function Checkbox(prop: Omit<Props$14, 'checked' | 'onCheckedChange'> & {
|
|
2146
1725
|
checked?: CheckedState;
|
|
2147
1726
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
2148
1727
|
}): ReactNode;
|
|
2149
1728
|
|
|
2150
1729
|
type Variant$6 = 'check' | 'checkbox';
|
|
2151
|
-
type Props$
|
|
1730
|
+
type Props$13 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
2152
1731
|
className?: string;
|
|
2153
1732
|
variant?: Variant$6;
|
|
2154
1733
|
};
|
|
2155
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
2156
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2157
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1734
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$13) => react_jsx_runtime.JSX.Element;
|
|
2158
1735
|
|
|
2159
|
-
type Props$
|
|
2160
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
2161
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2162
|
-
}) => 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;
|
|
2163
1738
|
|
|
2164
|
-
type InputGroupProps$
|
|
2165
|
-
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'> & {
|
|
2166
1741
|
className?: string;
|
|
2167
1742
|
};
|
|
2168
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
2169
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2170
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1743
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$11) => react_jsx_runtime.JSX.Element;
|
|
2171
1744
|
|
|
2172
|
-
type Props$
|
|
1745
|
+
type Props$10 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
2173
1746
|
className?: string;
|
|
2174
1747
|
icon?: ReactNode;
|
|
2175
1748
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
2176
1749
|
};
|
|
2177
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
2178
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2179
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1750
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$10) => react_jsx_runtime.JSX.Element;
|
|
2180
1751
|
|
|
2181
1752
|
type Group<Item = unknown> = {
|
|
2182
1753
|
items: readonly Item[];
|
|
@@ -2194,7 +1765,7 @@ type CreatableProps<Value> = {
|
|
|
2194
1765
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
2195
1766
|
queryToCreateValue?: (query: string) => Value;
|
|
2196
1767
|
};
|
|
2197
|
-
type Props
|
|
1768
|
+
type Props$$<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps<Value> & {
|
|
2198
1769
|
items?: readonly (Value | GroupShape)[];
|
|
2199
1770
|
allowClear?: boolean;
|
|
2200
1771
|
empty?: ReactNode;
|
|
@@ -2206,17 +1777,15 @@ type Props$12<Value, GroupShape extends Group<Value> = Group<Value>> = PublicCom
|
|
|
2206
1777
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
2207
1778
|
};
|
|
2208
1779
|
declare const Combobox: {
|
|
2209
|
-
<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;
|
|
2210
1781
|
Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
|
|
2211
|
-
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }:
|
|
1782
|
+
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: {
|
|
2212
1783
|
variant?: "primary" | "secondary" | null | undefined;
|
|
2213
1784
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2214
1785
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2215
1786
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
2216
1787
|
} & Omit<Omit<_base_ui_react_combobox.ComboboxInputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className" | "render"> & {
|
|
2217
1788
|
className?: string;
|
|
2218
|
-
}) & {
|
|
2219
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2220
1789
|
}) => react_jsx_runtime.JSX.Element;
|
|
2221
1790
|
Input: ({ ref, ...props }: {
|
|
2222
1791
|
content?: string | undefined | undefined;
|
|
@@ -2520,7 +2089,6 @@ declare const Combobox: {
|
|
|
2520
2089
|
multiple?: boolean | undefined | undefined;
|
|
2521
2090
|
src?: string | undefined | undefined;
|
|
2522
2091
|
alt?: string | undefined | undefined;
|
|
2523
|
-
required?: boolean | undefined | undefined;
|
|
2524
2092
|
accept?: string | undefined | undefined;
|
|
2525
2093
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
2526
2094
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -2528,46 +2096,31 @@ declare const Combobox: {
|
|
|
2528
2096
|
minLength?: number | undefined | undefined;
|
|
2529
2097
|
placeholder?: string | undefined | undefined;
|
|
2530
2098
|
readOnly?: boolean | undefined | undefined;
|
|
2531
|
-
|
|
2532
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
2099
|
+
required?: boolean | undefined | undefined;
|
|
2533
2100
|
}) => react_jsx_runtime.JSX.Element;
|
|
2534
|
-
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"> & {
|
|
2535
2102
|
className?: string;
|
|
2536
|
-
} & 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">)
|
|
2537
|
-
|
|
2538
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2539
|
-
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"> & {
|
|
2540
2105
|
className?: string;
|
|
2541
|
-
}) & {
|
|
2542
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2543
2106
|
}) => react_jsx_runtime.JSX.Element;
|
|
2544
|
-
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"> & {
|
|
2545
2108
|
className?: string;
|
|
2546
2109
|
icon?: ReactNode;
|
|
2547
2110
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>["variant"];
|
|
2548
|
-
}) & {
|
|
2549
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2550
2111
|
}) => react_jsx_runtime.JSX.Element;
|
|
2551
|
-
Empty: ({ ref, className, ...props }:
|
|
2112
|
+
Empty: ({ ref, className, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxEmptyProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2552
2113
|
className?: string;
|
|
2553
|
-
}) & {
|
|
2554
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2555
2114
|
}) => react_jsx_runtime.JSX.Element;
|
|
2556
2115
|
Value: typeof Combobox$1.Value;
|
|
2557
|
-
Separator: ({ ref, className, ...props }:
|
|
2116
|
+
Separator: ({ ref, className, ...props }: Omit<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2558
2117
|
className?: string;
|
|
2559
|
-
}) & {
|
|
2560
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2561
2118
|
}) => react_jsx_runtime.JSX.Element;
|
|
2562
|
-
Group: ({ ref, className, children, ...props }:
|
|
2119
|
+
Group: ({ ref, className, children, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2563
2120
|
className?: string;
|
|
2564
|
-
}) & {
|
|
2565
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2566
2121
|
}) => react_jsx_runtime.JSX.Element;
|
|
2567
|
-
GroupLabel: ({ ref, className, ...props }:
|
|
2122
|
+
GroupLabel: ({ ref, className, ...props }: Omit<_base_ui_react_combobox.ComboboxGroupLabelProps, "className"> & {
|
|
2568
2123
|
className?: string;
|
|
2569
|
-
}) & {
|
|
2570
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2571
2124
|
}) => react_jsx_runtime.JSX.Element;
|
|
2572
2125
|
GroupList: ({ ...props }: _base_ui_react_combobox.ComboboxCollectionProps) => react_jsx_runtime.JSX.Element;
|
|
2573
2126
|
Chips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, variant, }: {
|
|
@@ -2589,7 +2142,7 @@ type Indicator = NonNullable<ComboboxItemProps['indicator']>;
|
|
|
2589
2142
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
2590
2143
|
* the default substring matcher.
|
|
2591
2144
|
*/
|
|
2592
|
-
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'> & {
|
|
2593
2146
|
items?: readonly (Value | GroupShape)[];
|
|
2594
2147
|
allowClear?: boolean;
|
|
2595
2148
|
allowSelectAll?: boolean;
|
|
@@ -2605,17 +2158,16 @@ type Props$11<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<Comb
|
|
|
2605
2158
|
*
|
|
2606
2159
|
* **When to use:** picking several items from a searchable enumerated list (filter by tags, assign labels).
|
|
2607
2160
|
* Items render as chips above the input; `maxVisible` collapses excess into a `+N more` chip.
|
|
2608
|
-
* **When NOT to use:** for single selection use `Combobox`; for short enums without search use `Select
|
|
2609
|
-
* 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`.
|
|
2610
2162
|
* **Composition:** wrap in `FormGroup` for label + help text, or use `useAppForm` for form integration.
|
|
2611
2163
|
* Pass `allowSelectAll` for a sticky "Select All" item when the full enum is small.
|
|
2612
2164
|
*
|
|
2613
2165
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
2614
2166
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
2615
2167
|
*/
|
|
2616
|
-
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;
|
|
2617
2169
|
|
|
2618
|
-
type InputGroupProps$
|
|
2170
|
+
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
2619
2171
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
2620
2172
|
type TextareaOwnProps = {
|
|
2621
2173
|
value?: string | null;
|
|
@@ -2626,14 +2178,12 @@ type TextareaOwnProps = {
|
|
|
2626
2178
|
disableResize?: boolean;
|
|
2627
2179
|
containerClassName?: string;
|
|
2628
2180
|
};
|
|
2629
|
-
type Props$
|
|
2181
|
+
type Props$Z = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
2630
2182
|
/**
|
|
2631
2183
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
2632
2184
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
2633
2185
|
*/
|
|
2634
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props$
|
|
2635
|
-
ref?: Ref<ElementRef<"textarea">>;
|
|
2636
|
-
}) => 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;
|
|
2637
2187
|
|
|
2638
2188
|
type AutoSaveTextareaProps = {
|
|
2639
2189
|
savedValue?: string;
|
|
@@ -2644,18 +2194,16 @@ type AutoSaveTextareaProps = {
|
|
|
2644
2194
|
} & Pick<ComponentProps<typeof Textarea>, 'variant' | 'minRows' | 'maxRows' | 'className' | 'containerClassName' | 'maxLength'>;
|
|
2645
2195
|
declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, grow, ...textareaProps }: AutoSaveTextareaProps) => react_jsx_runtime.JSX.Element;
|
|
2646
2196
|
|
|
2647
|
-
type InputGroupProps$
|
|
2648
|
-
type InputGroupInputProps$
|
|
2649
|
-
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 & {
|
|
2650
2200
|
value?: string | null;
|
|
2651
2201
|
defaultValue?: string | null;
|
|
2652
2202
|
onValueChange?: (value: string) => void;
|
|
2653
2203
|
onValueBlur?: (value: string) => void;
|
|
2654
2204
|
allowClear?: boolean;
|
|
2655
2205
|
};
|
|
2656
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props
|
|
2657
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2658
|
-
}) => 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;
|
|
2659
2207
|
|
|
2660
2208
|
type BrandId = string;
|
|
2661
2209
|
type ResolvedColorScheme = 'light' | 'dark';
|
|
@@ -2690,12 +2238,12 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
2690
2238
|
setScheme: (next: ColorScheme) => void;
|
|
2691
2239
|
};
|
|
2692
2240
|
|
|
2693
|
-
type Props$
|
|
2241
|
+
type Props$X = UseColorSchemeOptions & UseBrandOptions & {
|
|
2694
2242
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
2695
2243
|
brands?: readonly Brand[];
|
|
2696
2244
|
children: ReactNode;
|
|
2697
2245
|
};
|
|
2698
|
-
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;
|
|
2699
2247
|
|
|
2700
2248
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
2701
2249
|
themes: Theme[];
|
|
@@ -2719,7 +2267,7 @@ declare const useArgoDesign: () => boolean;
|
|
|
2719
2267
|
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
2720
2268
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
2721
2269
|
|
|
2722
|
-
type Props$
|
|
2270
|
+
type Props$W = {
|
|
2723
2271
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
2724
2272
|
value: ColorScheme;
|
|
2725
2273
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -2744,11 +2292,25 @@ type Props$Z = {
|
|
|
2744
2292
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
2745
2293
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
2746
2294
|
*/
|
|
2747
|
-
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;
|
|
2748
2310
|
|
|
2749
|
-
type InputGroupProps$
|
|
2750
|
-
type InputGroupInputProps$
|
|
2751
|
-
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 & {
|
|
2752
2314
|
value?: number | null;
|
|
2753
2315
|
defaultValue?: number | null;
|
|
2754
2316
|
onValueChange?: (value: number | null) => void;
|
|
@@ -2756,38 +2318,52 @@ type Props$Y = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
2756
2318
|
prefix?: ReactNode;
|
|
2757
2319
|
suffix?: ReactNode;
|
|
2758
2320
|
};
|
|
2759
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
2760
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2761
|
-
}) => 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;
|
|
2762
2322
|
|
|
2763
|
-
type InputGroupProps$
|
|
2764
|
-
type InputGroupInputProps$
|
|
2765
|
-
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 & {
|
|
2766
2326
|
value?: string | null;
|
|
2767
2327
|
defaultValue?: string | null;
|
|
2768
2328
|
onValueChange?: (value: string) => void;
|
|
2769
2329
|
onValueBlur?: (value: string) => void;
|
|
2770
2330
|
allowClear?: boolean;
|
|
2771
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;
|
|
2772
2339
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
2773
2340
|
defaultPasswordVisibility?: boolean;
|
|
2774
2341
|
};
|
|
2775
|
-
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$
|
|
2776
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2777
|
-
}) => 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;
|
|
2778
2343
|
|
|
2779
|
-
type InputGroupProps$
|
|
2780
|
-
type InputGroupInputProps$
|
|
2781
|
-
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 & {
|
|
2782
2347
|
value?: string | null;
|
|
2783
2348
|
defaultValue?: string | null;
|
|
2784
2349
|
onValueChange?: (value: string | null) => void;
|
|
2785
2350
|
onValueBlur?: (value: string | null) => void;
|
|
2786
2351
|
allowClear?: boolean;
|
|
2787
2352
|
};
|
|
2788
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2789
|
-
|
|
2790
|
-
|
|
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;
|
|
2791
2367
|
|
|
2792
2368
|
type OtpInputSizing = 'sm' | 'md' | 'lg';
|
|
2793
2369
|
type OtpElementProps = ComponentProps<typeof OTPInput>;
|
|
@@ -2823,7 +2399,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
2823
2399
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
2824
2400
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
2825
2401
|
*/
|
|
2826
|
-
type Props$
|
|
2402
|
+
type Props$Q = InputGroupProps & InputGroupInputProps & {
|
|
2827
2403
|
value?: string | null;
|
|
2828
2404
|
defaultValue?: string | null;
|
|
2829
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`. */
|
|
@@ -2846,15 +2422,13 @@ type Props$V = InputGroupProps & InputGroupInputProps & {
|
|
|
2846
2422
|
* free-text filters. `onValueChange` is debounced so callers can wire it directly to fetches without
|
|
2847
2423
|
* `useMemo` plumbing.
|
|
2848
2424
|
* **When NOT to use:** for a plain string input use `TextInput`; for selecting from a known enumerated
|
|
2849
|
-
* list use `Combobox` (which has its own search built in)
|
|
2425
|
+
* list use `Combobox` (which has its own search built in).
|
|
2850
2426
|
* **Composition:** typically rendered in `PageToolbar.Search` next to `MultiCombobox` filter pills. Use
|
|
2851
2427
|
* `allowClear` for the canonical x-to-reset affordance.
|
|
2852
2428
|
*
|
|
2853
2429
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
2854
2430
|
*/
|
|
2855
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
2856
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2857
|
-
}) => 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;
|
|
2858
2432
|
|
|
2859
2433
|
type SearchInputWithNavigationProps = {
|
|
2860
2434
|
currentIndex: number | null;
|
|
@@ -2873,118 +2447,12 @@ declare const SearchInputWithNavigation: ({ ref, value, onValueChange, placehold
|
|
|
2873
2447
|
ref?: Ref<HTMLInputElement>;
|
|
2874
2448
|
}) => react_jsx_runtime.JSX.Element;
|
|
2875
2449
|
|
|
2876
|
-
declare const addonVariants: (props?: ({
|
|
2877
|
-
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2878
|
-
variant?: "inline" | "floating" | null | undefined;
|
|
2879
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2880
|
-
type Props$U = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
2881
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$U & {
|
|
2882
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2883
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2884
|
-
|
|
2885
|
-
type Props$T = ComponentProps<'span'> & {
|
|
2886
|
-
asChild?: boolean;
|
|
2887
|
-
};
|
|
2888
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$T & {
|
|
2889
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2890
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2891
|
-
|
|
2892
|
-
declare const badgeRootVariants: (props?: ({
|
|
2893
|
-
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2894
|
-
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;
|
|
2895
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2896
|
-
|
|
2897
|
-
type Props$S = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
2898
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$S & {
|
|
2899
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2900
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2901
|
-
|
|
2902
|
-
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
2903
|
-
type BadgeRootProps = ComponentProps<typeof BadgeRoot>;
|
|
2904
|
-
type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
2905
|
-
/**
|
|
2906
|
-
* Props for `Badge`. `color` is a categorical contract (`green` = success, `red` = error, `orange` = warning,
|
|
2907
|
-
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
2908
|
-
* Pass `prefix` / `suffix` for icon-style addons.
|
|
2909
|
-
*/
|
|
2910
|
-
type Props$R = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
2911
|
-
prefix?: ReactNode;
|
|
2912
|
-
prefixVariant?: AddonVariant;
|
|
2913
|
-
suffix?: ReactNode;
|
|
2914
|
-
suffixVariant?: AddonVariant;
|
|
2915
|
-
labelClassName?: string;
|
|
2916
|
-
};
|
|
2917
|
-
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$R & {
|
|
2918
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2919
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
2920
|
-
Root: ({ ref, variant, color, className, children, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2921
|
-
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2922
|
-
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;
|
|
2923
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2924
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2925
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2926
|
-
Button: ({ ref, className, type, children, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & {
|
|
2927
|
-
ref?: Ref<ElementRef<"button">>;
|
|
2928
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2929
|
-
Label: ({ ref, className, asChild, ...rest }: (react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
2930
|
-
asChild?: boolean;
|
|
2931
|
-
}) & {
|
|
2932
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2933
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2934
|
-
Addon: ({ ref, align, variant, className, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2935
|
-
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2936
|
-
variant?: "inline" | "floating" | null | undefined;
|
|
2937
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2938
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2939
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2940
|
-
};
|
|
2941
|
-
|
|
2942
|
-
type Color = ComponentProps<typeof Badge>['color'];
|
|
2943
|
-
type TagOption = {
|
|
2944
|
-
name: string;
|
|
2945
|
-
color: Color;
|
|
2946
|
-
disabled?: boolean;
|
|
2947
|
-
};
|
|
2948
|
-
|
|
2949
|
-
type Props$Q = {
|
|
2950
|
-
onCreate?: (search: string) => void;
|
|
2951
|
-
} & Pick<ComponentProps<typeof Command.Item>, 'value'>;
|
|
2952
|
-
declare const TagSelectCreateItem: ({ onCreate, value }: Props$Q) => react_jsx_runtime.JSX.Element;
|
|
2953
|
-
|
|
2954
|
-
type Props$P = {
|
|
2955
|
-
value: string[];
|
|
2956
|
-
onAdd?: (selected: string[]) => void;
|
|
2957
|
-
};
|
|
2958
|
-
declare const TagSelectValue: ({ value, onAdd }: Props$P) => react_jsx_runtime.JSX.Element;
|
|
2959
|
-
|
|
2960
|
-
type Props$O = {
|
|
2961
|
-
options?: TagOption[];
|
|
2962
|
-
} & Pick<ComponentProps<typeof TagSelectValue>, 'onAdd'> & Pick<ComponentProps<typeof TagSelectCreateItem>, 'onCreate'>;
|
|
2963
|
-
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$O) => react_jsx_runtime.JSX.Element;
|
|
2964
|
-
|
|
2965
|
-
type Props$N = {
|
|
2966
|
-
children: ReactNode;
|
|
2967
|
-
} & ComponentProps<typeof TagSelectList>;
|
|
2968
|
-
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
2969
|
-
|
|
2970
|
-
type OnValueChangeHandler = (value: {
|
|
2971
|
-
action: 'add' | 'remove';
|
|
2972
|
-
tags: TagOption[];
|
|
2973
|
-
allTags: TagOption[];
|
|
2974
|
-
}) => void;
|
|
2975
|
-
type Props$M = {
|
|
2976
|
-
value?: TagOption[];
|
|
2977
|
-
onValueChange: OnValueChangeHandler;
|
|
2978
|
-
disabled?: boolean;
|
|
2979
|
-
} & Pick<ComponentProps<typeof TagSelectPopover>, 'options' | 'onCreate'>;
|
|
2980
|
-
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$M) => react_jsx_runtime.JSX.Element | null;
|
|
2981
|
-
|
|
2982
2450
|
/**
|
|
2983
2451
|
* Props for `FileUpload`. The component is uncontrolled with respect to the file
|
|
2984
2452
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
2985
2453
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
2986
2454
|
*/
|
|
2987
|
-
type Props$
|
|
2455
|
+
type Props$P = {
|
|
2988
2456
|
/** MIME / extension filter passed straight to react-dropzone. */
|
|
2989
2457
|
accept?: Accept;
|
|
2990
2458
|
/** Max size per file, in bytes. Oversized files are rejected and surface in `onFilesRejected`. */
|
|
@@ -3003,7 +2471,7 @@ type Props$L = {
|
|
|
3003
2471
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
3004
2472
|
children: ReactNode;
|
|
3005
2473
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'>;
|
|
3006
|
-
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) & {
|
|
3007
2475
|
DropZone: ({ children, className, ...rest }: {
|
|
3008
2476
|
children?: ReactNode;
|
|
3009
2477
|
} & Omit<HTMLAttributes<HTMLDivElement>, "children">) => react_jsx_runtime.JSX.Element;
|
|
@@ -3634,13 +3102,13 @@ declare const FormGroup: {
|
|
|
3634
3102
|
multiple?: boolean | undefined | undefined;
|
|
3635
3103
|
src?: string | undefined | undefined;
|
|
3636
3104
|
alt?: string | undefined | undefined;
|
|
3637
|
-
required?: boolean | undefined | undefined;
|
|
3638
3105
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
3639
3106
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
3640
3107
|
maxLength?: number | undefined | undefined;
|
|
3641
3108
|
minLength?: number | undefined | undefined;
|
|
3642
3109
|
placeholder?: string | undefined | undefined;
|
|
3643
3110
|
readOnly?: boolean | undefined | undefined;
|
|
3111
|
+
required?: boolean | undefined | undefined;
|
|
3644
3112
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3645
3113
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3646
3114
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -3650,8 +3118,6 @@ declare const FormGroup: {
|
|
|
3650
3118
|
allowClear?: boolean | undefined;
|
|
3651
3119
|
onClear?: (() => void) | undefined;
|
|
3652
3120
|
testId?: string | undefined;
|
|
3653
|
-
} & {
|
|
3654
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
3655
3121
|
}) => react_jsx_runtime.JSX.Element;
|
|
3656
3122
|
NumberInput: ({ ref, ...props }: {
|
|
3657
3123
|
content?: string | undefined | undefined;
|
|
@@ -3959,7 +3425,6 @@ declare const FormGroup: {
|
|
|
3959
3425
|
multiple?: boolean | undefined | undefined;
|
|
3960
3426
|
src?: string | undefined | undefined;
|
|
3961
3427
|
alt?: string | undefined | undefined;
|
|
3962
|
-
required?: boolean | undefined | undefined;
|
|
3963
3428
|
accept?: string | undefined | undefined;
|
|
3964
3429
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
3965
3430
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -3967,12 +3432,11 @@ declare const FormGroup: {
|
|
|
3967
3432
|
minLength?: number | undefined | undefined;
|
|
3968
3433
|
placeholder?: string | undefined | undefined;
|
|
3969
3434
|
readOnly?: boolean | undefined | undefined;
|
|
3435
|
+
required?: boolean | undefined | undefined;
|
|
3970
3436
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
3971
3437
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3972
3438
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3973
3439
|
suffix?: react.ReactNode;
|
|
3974
|
-
} & {
|
|
3975
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
3976
3440
|
}) => react_jsx_runtime.JSX.Element;
|
|
3977
3441
|
ColorInput: ({ ref, ...props }: {
|
|
3978
3442
|
content?: string | undefined | undefined;
|
|
@@ -4281,7 +3745,6 @@ declare const FormGroup: {
|
|
|
4281
3745
|
multiple?: boolean | undefined | undefined;
|
|
4282
3746
|
src?: string | undefined | undefined;
|
|
4283
3747
|
alt?: string | undefined | undefined;
|
|
4284
|
-
required?: boolean | undefined | undefined;
|
|
4285
3748
|
accept?: string | undefined | undefined;
|
|
4286
3749
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
4287
3750
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -4289,12 +3752,11 @@ declare const FormGroup: {
|
|
|
4289
3752
|
minLength?: number | undefined | undefined;
|
|
4290
3753
|
placeholder?: string | undefined | undefined;
|
|
4291
3754
|
readOnly?: boolean | undefined | undefined;
|
|
3755
|
+
required?: boolean | undefined | undefined;
|
|
4292
3756
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
4293
3757
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
4294
3758
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
4295
3759
|
allowClear?: boolean | undefined;
|
|
4296
|
-
} & {
|
|
4297
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
4298
3760
|
}) => react_jsx_runtime.JSX.Element;
|
|
4299
3761
|
Textarea: (props: {
|
|
4300
3762
|
content?: string | undefined | undefined;
|
|
@@ -4588,12 +4050,12 @@ declare const FormGroup: {
|
|
|
4588
4050
|
value?: string | null | undefined;
|
|
4589
4051
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
4590
4052
|
wrap?: string | undefined | undefined;
|
|
4591
|
-
required?: boolean | undefined | undefined;
|
|
4592
4053
|
autoComplete?: string | undefined | undefined;
|
|
4593
4054
|
maxLength?: number | undefined | undefined;
|
|
4594
4055
|
minLength?: number | undefined | undefined;
|
|
4595
4056
|
placeholder?: string | undefined | undefined;
|
|
4596
4057
|
readOnly?: boolean | undefined | undefined;
|
|
4058
|
+
required?: boolean | undefined | undefined;
|
|
4597
4059
|
cols?: number | undefined | undefined;
|
|
4598
4060
|
dirName?: string | undefined | undefined;
|
|
4599
4061
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -4611,43 +4073,43 @@ declare const FormGroup: {
|
|
|
4611
4073
|
declare const helpVariants: (props?: ({
|
|
4612
4074
|
state?: "warning" | "default" | null | undefined;
|
|
4613
4075
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4614
|
-
type Props$
|
|
4615
|
-
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;
|
|
4616
4078
|
|
|
4617
4079
|
type AnswerItem = {
|
|
4618
4080
|
question: string;
|
|
4619
4081
|
answer?: string;
|
|
4620
4082
|
};
|
|
4621
4083
|
type Variant$5 = 'success' | 'dismissed';
|
|
4622
|
-
type Props$
|
|
4084
|
+
type Props$N = {
|
|
4623
4085
|
items: readonly AnswerItem[];
|
|
4624
4086
|
variant?: Variant$5;
|
|
4625
4087
|
noAnswerLabel?: string;
|
|
4626
4088
|
};
|
|
4627
|
-
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$
|
|
4089
|
+
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
4628
4090
|
|
|
4629
4091
|
type Variant$4 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4630
|
-
type Props$
|
|
4092
|
+
type Props$M = {
|
|
4631
4093
|
isExpanded: boolean;
|
|
4632
4094
|
onToggle: () => void;
|
|
4633
4095
|
label: ReactNode;
|
|
4634
4096
|
variant?: Variant$4;
|
|
4635
4097
|
};
|
|
4636
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$
|
|
4098
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$M) => react_jsx_runtime.JSX.Element;
|
|
4637
4099
|
|
|
4638
|
-
type Props$
|
|
4100
|
+
type Props$L = {
|
|
4639
4101
|
children: ReactNode;
|
|
4640
4102
|
};
|
|
4641
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
4103
|
+
declare const InlineStepDetail: ({ children }: Props$L) => react_jsx_runtime.JSX.Element;
|
|
4642
4104
|
|
|
4643
4105
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4644
|
-
type Props$
|
|
4106
|
+
type Props$K = {
|
|
4645
4107
|
variant: Variant$3;
|
|
4646
4108
|
children: ReactNode;
|
|
4647
4109
|
};
|
|
4648
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
4110
|
+
declare const InlineStepLabel: ({ variant, children }: Props$K) => react_jsx_runtime.JSX.Element;
|
|
4649
4111
|
|
|
4650
|
-
type Props$
|
|
4112
|
+
type Props$J = {
|
|
4651
4113
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4652
4114
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4653
4115
|
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
@@ -4659,9 +4121,9 @@ type Props$F = {
|
|
|
4659
4121
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4660
4122
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4661
4123
|
*/
|
|
4662
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4124
|
+
declare const Markdown: ({ children, className }: Props$J) => react_jsx_runtime.JSX.Element;
|
|
4663
4125
|
|
|
4664
|
-
type Props$
|
|
4126
|
+
type Props$I = {
|
|
4665
4127
|
user?: {
|
|
4666
4128
|
name: string | undefined;
|
|
4667
4129
|
email: string | undefined;
|
|
@@ -4671,17 +4133,15 @@ type Props$E = {
|
|
|
4671
4133
|
size?: number;
|
|
4672
4134
|
variant?: 'circle' | 'rounded';
|
|
4673
4135
|
} & ComponentProps<'span'>;
|
|
4674
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4675
|
-
ref?: Ref<ElementRef<"span">>;
|
|
4676
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4136
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$I) => react_jsx_runtime.JSX.Element;
|
|
4677
4137
|
|
|
4678
|
-
type Props$
|
|
4138
|
+
type Props$H = {
|
|
4679
4139
|
variant: 'user' | 'assistant';
|
|
4680
4140
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4681
4141
|
actions?: ReactNode;
|
|
4682
4142
|
createdAt?: string;
|
|
4683
4143
|
} & PropsWithChildren;
|
|
4684
|
-
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;
|
|
4685
4145
|
|
|
4686
4146
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
4687
4147
|
type PlanApprovalProps = {
|
|
@@ -4708,12 +4168,14 @@ type PlanApprovalProps = {
|
|
|
4708
4168
|
showMoreLabel?: string;
|
|
4709
4169
|
showLessLabel?: string;
|
|
4710
4170
|
closeLabel?: string;
|
|
4171
|
+
fullScreenLabel?: string;
|
|
4172
|
+
exitFullScreenLabel?: string;
|
|
4711
4173
|
changeRequestPlaceholder?: string;
|
|
4712
4174
|
changeRequestSubmitLabel?: string;
|
|
4713
4175
|
stepCountLabel?: (count: number) => string;
|
|
4714
4176
|
className?: string;
|
|
4715
4177
|
};
|
|
4716
|
-
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;
|
|
4717
4179
|
|
|
4718
4180
|
type PlanRewritingIndicatorProps = {
|
|
4719
4181
|
label?: string;
|
|
@@ -4729,17 +4191,15 @@ type PromptCommand = {
|
|
|
4729
4191
|
};
|
|
4730
4192
|
|
|
4731
4193
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4732
|
-
type Props$
|
|
4194
|
+
type Props$G = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
4733
4195
|
status?: SubmitStatus;
|
|
4734
4196
|
};
|
|
4735
|
-
declare const PromptInputSubmit: ({ ref, disabled, status
|
|
4736
|
-
ref?: Ref<ElementRef<"button">>;
|
|
4737
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4197
|
+
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
4738
4198
|
|
|
4739
4199
|
declare const promptInputVariants: (props?: ({
|
|
4740
4200
|
variant?: "inline" | "default" | null | undefined;
|
|
4741
4201
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4742
|
-
type Props$
|
|
4202
|
+
type Props$F = {
|
|
4743
4203
|
onSend?: (value: string) => void;
|
|
4744
4204
|
onAbort?: () => void;
|
|
4745
4205
|
onContinue?: () => void;
|
|
@@ -4753,10 +4213,8 @@ type Props$B = {
|
|
|
4753
4213
|
commands?: PromptCommand[];
|
|
4754
4214
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof react_textarea_autosize__default>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4755
4215
|
declare const PromptInput: {
|
|
4756
|
-
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4757
|
-
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>
|
|
4758
|
-
ref?: react.Ref<ElementRef<"button">>;
|
|
4759
|
-
}) => 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;
|
|
4760
4218
|
};
|
|
4761
4219
|
|
|
4762
4220
|
type QuestionOption = {
|
|
@@ -4765,7 +4223,7 @@ type QuestionOption = {
|
|
|
4765
4223
|
description?: string;
|
|
4766
4224
|
preview?: string;
|
|
4767
4225
|
};
|
|
4768
|
-
type Props$
|
|
4226
|
+
type Props$E = {
|
|
4769
4227
|
question: string;
|
|
4770
4228
|
header?: string;
|
|
4771
4229
|
options: readonly QuestionOption[];
|
|
@@ -4788,7 +4246,7 @@ type Props$A = {
|
|
|
4788
4246
|
renderPreview?: (content: string) => ReactNode;
|
|
4789
4247
|
className?: string;
|
|
4790
4248
|
};
|
|
4791
|
-
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;
|
|
4792
4250
|
|
|
4793
4251
|
type QuestionStep = {
|
|
4794
4252
|
question: string;
|
|
@@ -4802,7 +4260,7 @@ type QuestionAnswers = {
|
|
|
4802
4260
|
selections: Record<number, readonly string[]>;
|
|
4803
4261
|
customAnswers: Record<number, string>;
|
|
4804
4262
|
};
|
|
4805
|
-
type Props$
|
|
4263
|
+
type Props$D = {
|
|
4806
4264
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
4807
4265
|
showSkip?: boolean;
|
|
4808
4266
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -4810,16 +4268,16 @@ type Props$z = {
|
|
|
4810
4268
|
renderPreview?: (content: string) => ReactNode;
|
|
4811
4269
|
className?: string;
|
|
4812
4270
|
};
|
|
4813
|
-
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;
|
|
4814
4272
|
|
|
4815
|
-
type Props$
|
|
4273
|
+
type Props$C = {
|
|
4816
4274
|
label: string;
|
|
4817
4275
|
disabled?: boolean;
|
|
4818
4276
|
onClick: () => void;
|
|
4819
4277
|
icon?: ReactNode;
|
|
4820
4278
|
className?: string;
|
|
4821
4279
|
};
|
|
4822
|
-
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;
|
|
4823
4281
|
|
|
4824
4282
|
type ThinkingIndicatorProps = {
|
|
4825
4283
|
label?: string;
|
|
@@ -4878,7 +4336,7 @@ type ToolCallChipProps = {
|
|
|
4878
4336
|
*/
|
|
4879
4337
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className, }: ToolCallChipProps) => react_jsx_runtime.JSX.Element;
|
|
4880
4338
|
|
|
4881
|
-
type Props$
|
|
4339
|
+
type Props$B = {
|
|
4882
4340
|
value: number;
|
|
4883
4341
|
alert?: boolean;
|
|
4884
4342
|
children: ReactNode;
|
|
@@ -4892,32 +4350,28 @@ type Props$x = {
|
|
|
4892
4350
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4893
4351
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4894
4352
|
};
|
|
4895
|
-
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;
|
|
4896
4354
|
|
|
4897
|
-
type Props$
|
|
4355
|
+
type Props$A = {
|
|
4898
4356
|
value: number;
|
|
4899
4357
|
size?: number;
|
|
4900
4358
|
strokeWidth?: number;
|
|
4901
4359
|
className?: string;
|
|
4902
4360
|
};
|
|
4903
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4361
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$A) => react_jsx_runtime.JSX.Element;
|
|
4904
4362
|
|
|
4905
|
-
type Props$
|
|
4363
|
+
type Props$z = ComponentProps<typeof Root$9>;
|
|
4906
4364
|
declare const Collapsible: {
|
|
4907
|
-
(props: Props$
|
|
4365
|
+
(props: Props$z): react_jsx_runtime.JSX.Element;
|
|
4908
4366
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
4909
|
-
Content: ({ ref, className, children, ...props }:
|
|
4910
|
-
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
4911
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4367
|
+
Content: ({ ref, className, children, ...props }: _radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
4912
4368
|
};
|
|
4913
4369
|
|
|
4914
4370
|
type Variant$2 = 'info' | 'warning' | 'error' | 'success';
|
|
4915
|
-
type Props$
|
|
4371
|
+
type Props$y = {
|
|
4916
4372
|
variant?: Variant$2;
|
|
4917
4373
|
} & ComponentProps<'div'>;
|
|
4918
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4919
|
-
ref?: Ref<ElementRef<"div">>;
|
|
4920
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4374
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
4921
4375
|
|
|
4922
4376
|
type CommonProps = {
|
|
4923
4377
|
hideIcon?: boolean;
|
|
@@ -4940,7 +4394,7 @@ type DefaultProps = {
|
|
|
4940
4394
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4941
4395
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4942
4396
|
*/
|
|
4943
|
-
type Props$
|
|
4397
|
+
type Props$x = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4944
4398
|
/**
|
|
4945
4399
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4946
4400
|
*
|
|
@@ -4954,13 +4408,13 @@ type Props$t = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4954
4408
|
*
|
|
4955
4409
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4956
4410
|
*/
|
|
4957
|
-
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;
|
|
4958
4412
|
|
|
4959
4413
|
declare const variants$1: (props?: ({
|
|
4960
4414
|
variant?: "success" | "warning" | "info" | "default" | "error" | null | undefined;
|
|
4961
4415
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4962
4416
|
type Variants = VariantProps<typeof variants$1>;
|
|
4963
|
-
type Props$
|
|
4417
|
+
type Props$w = {
|
|
4964
4418
|
id: string | number;
|
|
4965
4419
|
title: ReactNode;
|
|
4966
4420
|
icon?: ReactNode;
|
|
@@ -4969,7 +4423,7 @@ type Props$s = {
|
|
|
4969
4423
|
loading?: boolean;
|
|
4970
4424
|
duration?: number;
|
|
4971
4425
|
} & Variants;
|
|
4972
|
-
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;
|
|
4973
4427
|
|
|
4974
4428
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
4975
4429
|
type Title = ToastProps['title'] | ((opts: {
|
|
@@ -4990,7 +4444,7 @@ declare const toast: {
|
|
|
4990
4444
|
dismissAll(): string | number;
|
|
4991
4445
|
};
|
|
4992
4446
|
|
|
4993
|
-
type Props$
|
|
4447
|
+
type Props$v = {
|
|
4994
4448
|
enabled?: boolean;
|
|
4995
4449
|
} & Parameters<typeof toast>[0];
|
|
4996
4450
|
/**
|
|
@@ -5003,22 +4457,22 @@ type Props$r = {
|
|
|
5003
4457
|
* Use `toast()` for transient feedback after a user action
|
|
5004
4458
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
5005
4459
|
*/
|
|
5006
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4460
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$v) => void;
|
|
5007
4461
|
|
|
5008
4462
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
5009
4463
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
5010
4464
|
|
|
5011
|
-
type Props$
|
|
4465
|
+
type Props$u = {
|
|
5012
4466
|
children?: ReactNode;
|
|
5013
4467
|
};
|
|
5014
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4468
|
+
declare const EmptySearchContent: ({ children }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
5015
4469
|
|
|
5016
|
-
type Props$
|
|
4470
|
+
type Props$t = {
|
|
5017
4471
|
title: string;
|
|
5018
4472
|
children: ReactNode;
|
|
5019
4473
|
className?: string;
|
|
5020
4474
|
};
|
|
5021
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
4475
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$t) => react_jsx_runtime.JSX.Element;
|
|
5022
4476
|
|
|
5023
4477
|
declare const emptyStateClassnames: (props?: ({
|
|
5024
4478
|
variant?: "compact" | "default" | null | undefined;
|
|
@@ -5158,10 +4612,8 @@ declare const variants: (props?: ({
|
|
|
5158
4612
|
variant?: "success" | "default" | null | undefined;
|
|
5159
4613
|
size?: "sm" | "lg" | null | undefined;
|
|
5160
4614
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5161
|
-
type Props$
|
|
5162
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5163
|
-
ref?: Ref<ElementRef<typeof Root$a>>;
|
|
5164
|
-
}) => 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;
|
|
5165
4617
|
|
|
5166
4618
|
/** @deprecated Use `Collapsible` instead. */
|
|
5167
4619
|
type CollapseProps = {
|
|
@@ -5177,7 +4629,7 @@ type CollapseProps = {
|
|
|
5177
4629
|
/** @deprecated Use `Collapsible` instead. */
|
|
5178
4630
|
declare const Collapse: ({ open, header, className, bodyClassName, children, onClick, animationClassName, hidden, ...rest }: CollapseProps & ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5179
4631
|
|
|
5180
|
-
type Props$
|
|
4632
|
+
type Props$r = {
|
|
5181
4633
|
header: ReactNode;
|
|
5182
4634
|
isDisabled?: boolean;
|
|
5183
4635
|
defaultExpanded?: boolean;
|
|
@@ -5189,16 +4641,16 @@ type Props$n = {
|
|
|
5189
4641
|
variant?: 'default' | 'white';
|
|
5190
4642
|
children: ReactNode;
|
|
5191
4643
|
};
|
|
5192
|
-
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;
|
|
5193
4645
|
|
|
5194
|
-
type Props$
|
|
4646
|
+
type Props$q = PropsWithChildren<{
|
|
5195
4647
|
defaultExpanded?: boolean;
|
|
5196
4648
|
labelCollapse?: ReactNode;
|
|
5197
4649
|
labelOpen?: ReactNode;
|
|
5198
4650
|
placement?: 'top' | 'bottom';
|
|
5199
4651
|
className?: string;
|
|
5200
4652
|
}>;
|
|
5201
|
-
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;
|
|
5202
4654
|
|
|
5203
4655
|
type RootProps$4 = ComponentPropsWithoutRef<'div'>;
|
|
5204
4656
|
type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -5225,14 +4677,14 @@ type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
5225
4677
|
* sidebar / top-nav geometry swap from a single composition.
|
|
5226
4678
|
*/
|
|
5227
4679
|
declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 & {
|
|
5228
|
-
ref?: Ref<
|
|
4680
|
+
ref?: Ref<ComponentRef<"div">>;
|
|
5229
4681
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
5230
4682
|
/**
|
|
5231
4683
|
* Top header row. Renders above `Main` in the sidebar shell; renders as the
|
|
5232
4684
|
* top bar (with full-width navigation room) in the top-nav shell.
|
|
5233
4685
|
*/
|
|
5234
4686
|
Header: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5235
|
-
ref?: Ref<
|
|
4687
|
+
ref?: Ref<ComponentRef<"header">>;
|
|
5236
4688
|
}) => react_jsx_runtime.JSX.Element;
|
|
5237
4689
|
/**
|
|
5238
4690
|
* Left navigation rail. Rendered in the sidebar shell; hidden by the
|
|
@@ -5240,7 +4692,7 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
5240
4692
|
* primary navigation into `Header` for top-nav-first compositions.
|
|
5241
4693
|
*/
|
|
5242
4694
|
Sidebar: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5243
|
-
ref?: Ref<
|
|
4695
|
+
ref?: Ref<ComponentRef<"div">>;
|
|
5244
4696
|
}) => react_jsx_runtime.JSX.Element;
|
|
5245
4697
|
/**
|
|
5246
4698
|
* Main content outlet. Applies an opinionated default page gutter (`tw-p-6`)
|
|
@@ -5248,11 +4700,11 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
5248
4700
|
* when the app owns its own gutter.
|
|
5249
4701
|
*/
|
|
5250
4702
|
Main: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5251
|
-
ref?: Ref<
|
|
4703
|
+
ref?: Ref<ComponentRef<"main">>;
|
|
5252
4704
|
}) => react_jsx_runtime.JSX.Element;
|
|
5253
4705
|
/** Optional right rail. Present in both shells. */
|
|
5254
4706
|
Aside: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5255
|
-
ref?: Ref<
|
|
4707
|
+
ref?: Ref<ComponentRef<"aside">>;
|
|
5256
4708
|
}) => react_jsx_runtime.JSX.Element;
|
|
5257
4709
|
};
|
|
5258
4710
|
|
|
@@ -5261,10 +4713,10 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
5261
4713
|
* `narrow` (976px) for forms, `default` (1280px) for most pages, `wide` (1600px) for dense detail views,
|
|
5262
4714
|
* `full` for edge-to-edge layouts.
|
|
5263
4715
|
*/
|
|
5264
|
-
type RootProps$3 =
|
|
4716
|
+
type RootProps$3 = ComponentProps<'div'> & {
|
|
5265
4717
|
maxWidth?: 'default' | 'narrow' | 'wide' | 'full';
|
|
5266
4718
|
};
|
|
5267
|
-
type FooterProps =
|
|
4719
|
+
type FooterProps = ComponentProps<'footer'> & {
|
|
5268
4720
|
sticky?: boolean;
|
|
5269
4721
|
};
|
|
5270
4722
|
/**
|
|
@@ -5284,29 +4736,17 @@ type FooterProps = ComponentPropsWithoutRef<'footer'> & {
|
|
|
5284
4736
|
*
|
|
5285
4737
|
* @see RECIPES.md#list-detail — for the index → detail page pattern
|
|
5286
4738
|
*/
|
|
5287
|
-
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps$3 & {
|
|
5288
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5289
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
4739
|
+
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps$3) => react_jsx_runtime.JSX.Element) & {
|
|
5290
4740
|
/** Detail-pattern breadcrumb row. Usually composed automatically by `PageHeader.Detail` — slot exists for layouts that don't fit either `PageHeader` variant. */
|
|
5291
|
-
Breadcrumbs: ({ ref, className, children, ...props }:
|
|
5292
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5293
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4741
|
+
Breadcrumbs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5294
4742
|
/** Host slot for `PageHeader.Index` / `PageHeader.Detail`, or custom header JSX when neither variant fits. */
|
|
5295
|
-
Header: ({ ref, className, children, ...props }:
|
|
5296
|
-
ref?: Ref<ElementRef<"header">>;
|
|
5297
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4743
|
+
Header: ({ ref, className, children, ...props }: ComponentProps<"header">) => react_jsx_runtime.JSX.Element;
|
|
5298
4744
|
/** Escape hatch for routing-based tab rows. Use `Tabs` / `TabsContent` core components inside, never a raw `<button>`. */
|
|
5299
|
-
Tabs: ({ ref, className, children, ...props }:
|
|
5300
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5301
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4745
|
+
Tabs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5302
4746
|
/** Main content slot. Lists, cards, tables. */
|
|
5303
|
-
Content: ({ ref, className, children, ...props }:
|
|
5304
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5305
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4747
|
+
Content: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5306
4748
|
/** Bottom action bar — form submit + cancel. Pass `sticky` for a footer that pins to the viewport. */
|
|
5307
|
-
Footer: ({ ref, className, sticky, children, ...props }: FooterProps
|
|
5308
|
-
ref?: Ref<ElementRef<"footer">>;
|
|
5309
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4749
|
+
Footer: ({ ref, className, sticky, children, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
5310
4750
|
};
|
|
5311
4751
|
|
|
5312
4752
|
/**
|
|
@@ -5324,7 +4764,7 @@ declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: Ro
|
|
|
5324
4764
|
*/
|
|
5325
4765
|
declare const PageHeader: {
|
|
5326
4766
|
/** Index variant — top-level list / collection pages. No breadcrumbs; `metadata` wins over `description`. */
|
|
5327
|
-
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"> & {
|
|
5328
4768
|
title: react.ReactNode;
|
|
5329
4769
|
description?: react.ReactNode;
|
|
5330
4770
|
metadata?: react.ReactNode;
|
|
@@ -5332,11 +4772,9 @@ declare const PageHeader: {
|
|
|
5332
4772
|
action?: react.ReactNode;
|
|
5333
4773
|
headerNav?: react.ReactNode;
|
|
5334
4774
|
fullWidthDescription?: boolean;
|
|
5335
|
-
}) & {
|
|
5336
|
-
ref?: react.Ref<react.ElementRef<"header">>;
|
|
5337
4775
|
}) => react_jsx_runtime.JSX.Element;
|
|
5338
4776
|
/** Detail variant — single-entity pages with required breadcrumbs and an overflow-actions slot. Max 2 visible actions. */
|
|
5339
|
-
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"> & {
|
|
5340
4778
|
breadcrumbs: react.ReactNode;
|
|
5341
4779
|
overflowActions?: react.ReactNode;
|
|
5342
4780
|
title: react.ReactNode;
|
|
@@ -5348,14 +4786,60 @@ declare const PageHeader: {
|
|
|
5348
4786
|
secondaryAction?: react.ReactNode;
|
|
5349
4787
|
headerNav?: react.ReactNode;
|
|
5350
4788
|
fullWidthDescription?: boolean;
|
|
5351
|
-
}) & {
|
|
5352
|
-
ref?: react.Ref<react.ElementRef<"header">>;
|
|
5353
4789
|
}) => react_jsx_runtime.JSX.Element;
|
|
5354
4790
|
};
|
|
5355
4791
|
|
|
5356
|
-
|
|
5357
|
-
|
|
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;
|
|
5358
4840
|
};
|
|
4841
|
+
|
|
4842
|
+
type DivProps = ComponentProps<'div'>;
|
|
5359
4843
|
type ChipProps = Omit<ComponentPropsWithoutRef<typeof Badge>, 'variant' | 'color' | 'suffix' | 'children'> & {
|
|
5360
4844
|
children: ReactNode;
|
|
5361
4845
|
onRemove: () => void;
|
|
@@ -5414,20 +4898,14 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5414
4898
|
Token: ({ children, popover, onRemove, removeAriaLabel, ...props }: Omit<Omit<Pick<react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
5415
4899
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
5416
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;
|
|
5417
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
5418
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5419
|
-
}, "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> & {
|
|
5420
4902
|
asChild?: boolean;
|
|
5421
|
-
} & {
|
|
5422
|
-
ref?: Ref<ElementRef<"span">>;
|
|
5423
4903
|
}, "prefix"> & {
|
|
5424
4904
|
prefix?: ReactNode;
|
|
5425
4905
|
prefixVariant?: "inline" | "floating" | null | undefined;
|
|
5426
4906
|
suffix?: ReactNode;
|
|
5427
4907
|
suffixVariant?: "inline" | "floating" | null | undefined;
|
|
5428
4908
|
labelClassName?: string;
|
|
5429
|
-
} & {
|
|
5430
|
-
ref?: Ref<ElementRef<"span">>;
|
|
5431
4909
|
}, "ref">, "popover" | "variant" | "color" | "children" | "asChild" | "suffix"> & {
|
|
5432
4910
|
children: ReactNode;
|
|
5433
4911
|
popover: ReactNode;
|
|
@@ -5475,12 +4953,11 @@ type Props$k = {
|
|
|
5475
4953
|
declare const Sidebar: {
|
|
5476
4954
|
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$k): react_jsx_runtime.JSX.Element | null;
|
|
5477
4955
|
Header: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5478
|
-
Content: ({ ref, className, children, contentRef
|
|
4956
|
+
Content: ({ ref, className, children, contentRef }: {
|
|
5479
4957
|
className?: string;
|
|
5480
4958
|
children?: ReactNode;
|
|
5481
4959
|
contentRef?: react.ComponentProps<"div">["ref"];
|
|
5482
|
-
|
|
5483
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
4960
|
+
ref?: react.ComponentProps<"div">["ref"];
|
|
5484
4961
|
}) => react_jsx_runtime.JSX.Element;
|
|
5485
4962
|
Footer: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5486
4963
|
Trigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: react.HTMLAttributes<HTMLElement> & {
|
|
@@ -5489,12 +4966,10 @@ declare const Sidebar: {
|
|
|
5489
4966
|
side?: SidebarSide;
|
|
5490
4967
|
hideWhenCollapsed?: boolean;
|
|
5491
4968
|
}) => react_jsx_runtime.JSX.Element;
|
|
5492
|
-
FillTrigger: ({ ref, side, onClick, ...rest }:
|
|
4969
|
+
FillTrigger: ({ ref, side, onClick, ...rest }: react.HTMLAttributes<HTMLElement> & {
|
|
5493
4970
|
children?: React.ReactNode;
|
|
5494
4971
|
} & react.RefAttributes<HTMLElement> & {
|
|
5495
4972
|
side?: SidebarSide;
|
|
5496
|
-
}) & {
|
|
5497
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5498
4973
|
}) => react_jsx_runtime.JSX.Element;
|
|
5499
4974
|
Separator: ({ className, ...props }: {
|
|
5500
4975
|
content?: string | undefined | undefined;
|
|
@@ -5782,17 +5257,13 @@ declare const Sidebar: {
|
|
|
5782
5257
|
onTransitionStartCapture?: TransitionEventHandler<HTMLDivElement> | undefined;
|
|
5783
5258
|
asChild?: boolean | undefined;
|
|
5784
5259
|
}) => react_jsx_runtime.JSX.Element;
|
|
5785
|
-
MenuIcon: ({ ref, className, children, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>
|
|
5786
|
-
ref?: react.Ref<react.ElementRef<"span">>;
|
|
5787
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5260
|
+
MenuIcon: ({ ref, className, children, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
5788
5261
|
Group: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5789
5262
|
GroupLabel: ({ ref, className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
5790
5263
|
ref?: react.Ref<HTMLDivElement>;
|
|
5791
5264
|
}) => react_jsx_runtime.JSX.Element;
|
|
5792
5265
|
GroupContent: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5793
|
-
GroupAction: ({ ref, className, type, children, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>
|
|
5794
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5795
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5266
|
+
GroupAction: ({ ref, className, type, children, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
5796
5267
|
Menu: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element;
|
|
5797
5268
|
MenuItem: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
5798
5269
|
MenuButton: ({ ref, "aria-selected": selected, className, children, asChild, icon, tooltip, ...props }: (react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
@@ -5802,11 +5273,9 @@ declare const Sidebar: {
|
|
|
5802
5273
|
}) & {
|
|
5803
5274
|
ref?: react.Ref<HTMLButtonElement>;
|
|
5804
5275
|
}) => react_jsx_runtime.JSX.Element;
|
|
5805
|
-
MenuAction: ({ ref, className, asChild, showOnHover, children, ...props }:
|
|
5276
|
+
MenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5806
5277
|
asChild?: boolean;
|
|
5807
5278
|
showOnHover?: boolean;
|
|
5808
|
-
}) & {
|
|
5809
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5810
5279
|
}) => react_jsx_runtime.JSX.Element;
|
|
5811
5280
|
SearchInput: ({ ref: forwardedRef, className, ...inputProps }: {
|
|
5812
5281
|
content?: string | undefined | undefined;
|
|
@@ -6112,7 +5581,6 @@ declare const Sidebar: {
|
|
|
6112
5581
|
multiple?: boolean | undefined | undefined;
|
|
6113
5582
|
src?: string | undefined | undefined;
|
|
6114
5583
|
alt?: string | undefined | undefined;
|
|
6115
|
-
required?: boolean | undefined | undefined;
|
|
6116
5584
|
accept?: string | undefined | undefined;
|
|
6117
5585
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
6118
5586
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -6120,26 +5588,21 @@ declare const Sidebar: {
|
|
|
6120
5588
|
minLength?: number | undefined | undefined;
|
|
6121
5589
|
placeholder?: string | undefined | undefined;
|
|
6122
5590
|
readOnly?: boolean | undefined | undefined;
|
|
6123
|
-
|
|
6124
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
5591
|
+
required?: boolean | undefined | undefined;
|
|
6125
5592
|
}) => react_jsx_runtime.JSX.Element;
|
|
6126
5593
|
MenuCard: ({ children, className, icon, title, ...rest }: react.HTMLAttributes<HTMLDivElement> & {
|
|
6127
5594
|
icon: ReactNode;
|
|
6128
5595
|
title: ReactNode;
|
|
6129
5596
|
}) => react_jsx_runtime.JSX.Element;
|
|
6130
|
-
MenuBadge: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>
|
|
6131
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
6132
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5597
|
+
MenuBadge: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6133
5598
|
SubMenu: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange, }: {
|
|
6134
5599
|
children: ReactNode;
|
|
6135
5600
|
icon: ReactNode;
|
|
6136
5601
|
isActive?: boolean;
|
|
6137
5602
|
label: string;
|
|
6138
5603
|
} & Pick<_radix_ui_react_collapsible.CollapsibleProps & react.RefAttributes<HTMLDivElement>, "open" | "defaultOpen" | "onOpenChange">) => react_jsx_runtime.JSX.Element;
|
|
6139
|
-
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> & {
|
|
6140
5605
|
asChild?: boolean;
|
|
6141
|
-
}) & {
|
|
6142
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6143
5606
|
}) => react_jsx_runtime.JSX.Element;
|
|
6144
5607
|
};
|
|
6145
5608
|
|
|
@@ -6254,26 +5717,20 @@ declare const Navbar: {
|
|
|
6254
5717
|
marker?: "none" | "forward-slash" | null | undefined;
|
|
6255
5718
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
6256
5719
|
MenuItem: ({ className, ...rest }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6257
|
-
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> & {
|
|
6258
5721
|
icon?: react.ReactNode;
|
|
6259
5722
|
asChild?: boolean;
|
|
6260
5723
|
} & VariantProps<(props?: ({
|
|
6261
5724
|
variant?: "search" | "icon" | "default" | "emphasized" | null | undefined;
|
|
6262
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>)
|
|
6263
|
-
|
|
6264
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6265
|
-
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 }: {
|
|
6266
5727
|
asChild?: boolean;
|
|
6267
5728
|
} & react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
6268
5729
|
variant?: "icon" | "icon-accent" | "icon-emphasized" | "icon-accent-emphasized" | "icon-button" | "shortcut" | null | undefined;
|
|
6269
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>)
|
|
6270
|
-
|
|
6271
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6272
|
-
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> & {
|
|
6273
5732
|
src?: string;
|
|
6274
5733
|
alt?: string;
|
|
6275
|
-
}) & {
|
|
6276
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6277
5734
|
}) => react_jsx_runtime.JSX.Element;
|
|
6278
5735
|
};
|
|
6279
5736
|
|
|
@@ -6282,18 +5739,12 @@ declare const Breadcrumb: {
|
|
|
6282
5739
|
({ className, ...props }: Props$f): react_jsx_runtime.JSX.Element;
|
|
6283
5740
|
List: ({ className, ...props }: react.DetailedHTMLProps<react.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>) => react_jsx_runtime.JSX.Element;
|
|
6284
5741
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6285
|
-
Link: ({ ref, asChild, className, ...props }:
|
|
5742
|
+
Link: ({ ref, asChild, className, ...props }: react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
6286
5743
|
asChild?: boolean;
|
|
6287
|
-
}) & {
|
|
6288
|
-
ref?: react.Ref<react.ElementRef<"a">>;
|
|
6289
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6290
|
-
Page: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & {
|
|
6291
|
-
ref?: react.Ref<react.ElementRef<"span">>;
|
|
6292
5744
|
}) => react_jsx_runtime.JSX.Element;
|
|
5745
|
+
Page: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6293
5746
|
Separator: ({ children, className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6294
|
-
Ellipsis: ({ ref, className, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>
|
|
6295
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6296
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5747
|
+
Ellipsis: ({ ref, className, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
6297
5748
|
Dropdown: {
|
|
6298
5749
|
({ label, splitTrigger, triggerLabel, open, defaultOpen, onOpenChange, size, filter, shouldFilter, searchValue, onSearchChange, searchPlaceholder, emptyMessage, children, }: {
|
|
6299
5750
|
label: react.ReactNode;
|
|
@@ -6311,13 +5762,11 @@ declare const Breadcrumb: {
|
|
|
6311
5762
|
emptyMessage?: react.ReactNode;
|
|
6312
5763
|
children: react.ReactNode;
|
|
6313
5764
|
}): react_jsx_runtime.JSX.Element;
|
|
6314
|
-
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> & {
|
|
6315
5766
|
asChild?: boolean;
|
|
6316
5767
|
textValue?: string;
|
|
6317
5768
|
active?: boolean;
|
|
6318
5769
|
closeOnSelect?: boolean;
|
|
6319
|
-
}) & {
|
|
6320
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6321
5770
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
6322
5771
|
Group: ({ label, textValue, collapsible, defaultExpanded, className, children, }: {
|
|
6323
5772
|
label: react.ReactNode;
|
|
@@ -6413,6 +5862,10 @@ declare const Card: {
|
|
|
6413
5862
|
}) => react_jsx_runtime.JSX.Element;
|
|
6414
5863
|
};
|
|
6415
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
|
+
|
|
6416
5869
|
/**
|
|
6417
5870
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
6418
5871
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
@@ -6444,11 +5897,13 @@ declare const Table: {
|
|
|
6444
5897
|
Body: ({ withBorderSeparator, className, ...props }: {
|
|
6445
5898
|
withBorderSeparator?: boolean;
|
|
6446
5899
|
} & ComponentProps<"tbody">) => react_jsx_runtime.JSX.Element;
|
|
6447
|
-
Row: ({ ref, className, ...props }: ComponentProps<"tr">
|
|
6448
|
-
ref?: react.Ref<react.ElementRef<"tr">>;
|
|
6449
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5900
|
+
Row: ({ ref, className, ...props }: ComponentProps<"tr">) => react_jsx_runtime.JSX.Element;
|
|
6450
5901
|
Cell: ({ className, ...props }: ComponentProps<"td">) => react_jsx_runtime.JSX.Element;
|
|
6451
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;
|
|
6452
5907
|
};
|
|
6453
5908
|
|
|
6454
5909
|
type Props$a = ComponentProps<'ul'> & {
|
|
@@ -6473,12 +5928,10 @@ type Props$9 = {
|
|
|
6473
5928
|
tooltip?: ReactNode;
|
|
6474
5929
|
twoLines?: boolean;
|
|
6475
5930
|
noTooltip?: boolean;
|
|
6476
|
-
tooltipVariant?: Props$
|
|
6477
|
-
tooltipPlacement?: Props$
|
|
6478
|
-
} & Omit<
|
|
6479
|
-
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9
|
|
6480
|
-
ref?: Ref<ElementRef<"span">>;
|
|
6481
|
-
}) => 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;
|
|
6482
5935
|
|
|
6483
5936
|
type Props$8 = {
|
|
6484
5937
|
source: string;
|
|
@@ -6486,9 +5939,7 @@ type Props$8 = {
|
|
|
6486
5939
|
mark?: string;
|
|
6487
5940
|
isCaseSensitive?: boolean;
|
|
6488
5941
|
} & ComponentProps<'span'>;
|
|
6489
|
-
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$8
|
|
6490
|
-
ref?: Ref<ElementRef<"span">>;
|
|
6491
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5942
|
+
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
6492
5943
|
|
|
6493
5944
|
declare const kbdVariants: (props?: ({
|
|
6494
5945
|
variant?: "primary" | "default" | null | undefined;
|
|
@@ -6497,11 +5948,9 @@ declare const kbdVariants: (props?: ({
|
|
|
6497
5948
|
type Props$7 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
6498
5949
|
declare const Kbd: {
|
|
6499
5950
|
({ children, className, variant, ...rest }: Props$7): react_jsx_runtime.JSX.Element;
|
|
6500
|
-
Group: ({ ref, className, children, separator, ...props }:
|
|
5951
|
+
Group: ({ ref, className, children, separator, ...props }: {
|
|
6501
5952
|
separator?: string;
|
|
6502
|
-
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement>)
|
|
6503
|
-
ref?: react.Ref<react.ElementRef<"kbd">>;
|
|
6504
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5953
|
+
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement>) => react_jsx_runtime.JSX.Element;
|
|
6505
5954
|
Separator: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6506
5955
|
};
|
|
6507
5956
|
|
|
@@ -6517,7 +5966,7 @@ declare const Pagination: {
|
|
|
6517
5966
|
({ className, ...props }: Props$6): react_jsx_runtime.JSX.Element;
|
|
6518
5967
|
Content: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element;
|
|
6519
5968
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6520
|
-
Button: ({ ref, active: isActive, className, children, size, ...props }:
|
|
5969
|
+
Button: ({ ref, active: isActive, className, children, size, ...props }: {
|
|
6521
5970
|
active?: boolean;
|
|
6522
5971
|
} & Omit<{
|
|
6523
5972
|
isLoading?: boolean;
|
|
@@ -6526,11 +5975,7 @@ declare const Pagination: {
|
|
|
6526
5975
|
block?: boolean | null | undefined;
|
|
6527
5976
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6528
5977
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6529
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
6530
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6531
|
-
}, "variant">) & {
|
|
6532
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6533
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5978
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6534
5979
|
Previous: ({ children, ...props }: {
|
|
6535
5980
|
active?: boolean;
|
|
6536
5981
|
} & Omit<{
|
|
@@ -6540,11 +5985,7 @@ declare const Pagination: {
|
|
|
6540
5985
|
block?: boolean | null | undefined;
|
|
6541
5986
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6542
5987
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6543
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
6544
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6545
|
-
}, "variant"> & {
|
|
6546
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6547
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5988
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6548
5989
|
Next: ({ children, className, ...props }: {
|
|
6549
5990
|
active?: boolean;
|
|
6550
5991
|
} & Omit<{
|
|
@@ -6554,11 +5995,7 @@ declare const Pagination: {
|
|
|
6554
5995
|
block?: boolean | null | undefined;
|
|
6555
5996
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6556
5997
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6557
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
6558
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6559
|
-
}, "variant"> & {
|
|
6560
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6561
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5998
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6562
5999
|
Ellipsis: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6563
6000
|
};
|
|
6564
6001
|
|
|
@@ -6773,6 +6210,13 @@ type FieldControlProps = {
|
|
|
6773
6210
|
type RequiredMark = 'required' | 'optional' | 'hidden';
|
|
6774
6211
|
type Props$1 = {
|
|
6775
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;
|
|
6776
6220
|
required?: boolean;
|
|
6777
6221
|
/**
|
|
6778
6222
|
* Which marker to show beside the label — gated by `required` so it never lies: `'required'`
|
|
@@ -6804,7 +6248,7 @@ type FieldItemProps = Omit<Props$1, 'children'>;
|
|
|
6804
6248
|
* @see RECIPES.md#modal-form — for the canonical form-in-modal composition
|
|
6805
6249
|
*/
|
|
6806
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, {
|
|
6807
|
-
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<{
|
|
6808
6252
|
content?: string | undefined | undefined;
|
|
6809
6253
|
size?: number | undefined | undefined;
|
|
6810
6254
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -7110,13 +6554,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7110
6554
|
multiple?: boolean | undefined | undefined;
|
|
7111
6555
|
src?: string | undefined | undefined;
|
|
7112
6556
|
alt?: string | undefined | undefined;
|
|
7113
|
-
required?: boolean | undefined | undefined;
|
|
7114
6557
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
7115
6558
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
7116
6559
|
maxLength?: number | undefined | undefined;
|
|
7117
6560
|
minLength?: number | undefined | undefined;
|
|
7118
6561
|
placeholder?: string | undefined | undefined;
|
|
7119
6562
|
readOnly?: boolean | undefined | undefined;
|
|
6563
|
+
required?: boolean | undefined | undefined;
|
|
7120
6564
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
7121
6565
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7122
6566
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -7126,10 +6570,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7126
6570
|
allowClear?: boolean | undefined;
|
|
7127
6571
|
onClear?: (() => void) | undefined;
|
|
7128
6572
|
testId?: string | undefined;
|
|
7129
|
-
} & {
|
|
7130
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7131
6573
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7132
|
-
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<{
|
|
7133
6575
|
content?: string | undefined | undefined;
|
|
7134
6576
|
size?: number | undefined | undefined;
|
|
7135
6577
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -7435,7 +6877,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7435
6877
|
multiple?: boolean | undefined | undefined;
|
|
7436
6878
|
src?: string | undefined | undefined;
|
|
7437
6879
|
alt?: string | undefined | undefined;
|
|
7438
|
-
required?: boolean | undefined | undefined;
|
|
7439
6880
|
accept?: string | undefined | undefined;
|
|
7440
6881
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
7441
6882
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -7443,14 +6884,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7443
6884
|
minLength?: number | undefined | undefined;
|
|
7444
6885
|
placeholder?: string | undefined | undefined;
|
|
7445
6886
|
readOnly?: boolean | undefined | undefined;
|
|
6887
|
+
required?: boolean | undefined | undefined;
|
|
7446
6888
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
7447
6889
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7448
6890
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7449
6891
|
suffix?: react.ReactNode;
|
|
7450
|
-
} & {
|
|
7451
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7452
6892
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7453
|
-
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<{
|
|
7454
6894
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7455
6895
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
7456
6896
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
@@ -7757,13 +7197,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7757
7197
|
multiple?: boolean | undefined | undefined;
|
|
7758
7198
|
src?: string | undefined | undefined;
|
|
7759
7199
|
alt?: string | undefined | undefined;
|
|
7760
|
-
required?: boolean | undefined | undefined;
|
|
7761
7200
|
accept?: string | undefined | undefined;
|
|
7762
7201
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
7763
7202
|
maxLength?: number | undefined | undefined;
|
|
7764
7203
|
minLength?: number | undefined | undefined;
|
|
7765
7204
|
placeholder?: string | undefined | undefined;
|
|
7766
7205
|
readOnly?: boolean | undefined | undefined;
|
|
7206
|
+
required?: boolean | undefined | undefined;
|
|
7767
7207
|
} & {
|
|
7768
7208
|
value?: string | null;
|
|
7769
7209
|
defaultValue?: string | null;
|
|
@@ -7771,12 +7211,11 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7771
7211
|
onValueBlur?: (value: string) => void;
|
|
7772
7212
|
allowClear?: boolean;
|
|
7773
7213
|
allowPasswordToggle?: boolean;
|
|
7214
|
+
passwordToggleLabel?: string;
|
|
7774
7215
|
autoComplete?: "new-password" | "current-password" | "off";
|
|
7775
7216
|
defaultPasswordVisibility?: boolean;
|
|
7776
|
-
} & {
|
|
7777
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7778
7217
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7779
|
-
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<{
|
|
7780
7219
|
content?: string | undefined | undefined;
|
|
7781
7220
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7782
7221
|
prefix?: string | undefined | undefined;
|
|
@@ -8068,12 +7507,12 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8068
7507
|
value?: string | null | undefined;
|
|
8069
7508
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
8070
7509
|
wrap?: string | undefined | undefined;
|
|
8071
|
-
required?: boolean | undefined | undefined;
|
|
8072
7510
|
autoComplete?: string | undefined | undefined;
|
|
8073
7511
|
maxLength?: number | undefined | undefined;
|
|
8074
7512
|
minLength?: number | undefined | undefined;
|
|
8075
7513
|
placeholder?: string | undefined | undefined;
|
|
8076
7514
|
readOnly?: boolean | undefined | undefined;
|
|
7515
|
+
required?: boolean | undefined | undefined;
|
|
8077
7516
|
cols?: number | undefined | undefined;
|
|
8078
7517
|
dirName?: string | undefined | undefined;
|
|
8079
7518
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -8086,29 +7525,33 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8086
7525
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8087
7526
|
containerClassName?: string | undefined;
|
|
8088
7527
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8089
|
-
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 & {
|
|
8090
7529
|
placeholder?: string;
|
|
8091
7530
|
triggerClassName?: string;
|
|
8092
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
7531
|
+
variant?: "primary" | "secondary" | "inline" | null | undefined;
|
|
8093
7532
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8094
7533
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8095
7534
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
8096
7535
|
items: readonly {
|
|
8097
7536
|
value: string;
|
|
8098
7537
|
label: react.ReactNode;
|
|
7538
|
+
disabled?: boolean;
|
|
8099
7539
|
}[];
|
|
8100
7540
|
options?: readonly {
|
|
8101
7541
|
value: string;
|
|
8102
7542
|
label: react.ReactNode;
|
|
7543
|
+
disabled?: boolean;
|
|
8103
7544
|
}[];
|
|
8104
7545
|
} | {
|
|
8105
7546
|
items?: readonly {
|
|
8106
7547
|
value: string;
|
|
8107
7548
|
label: react.ReactNode;
|
|
7549
|
+
disabled?: boolean;
|
|
8108
7550
|
}[];
|
|
8109
7551
|
options: readonly {
|
|
8110
7552
|
value: string;
|
|
8111
7553
|
label: react.ReactNode;
|
|
7554
|
+
disabled?: boolean;
|
|
8112
7555
|
}[];
|
|
8113
7556
|
})) => react_jsx_runtime.JSX.Element;
|
|
8114
7557
|
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
@@ -8116,8 +7559,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8116
7559
|
description?: react.ReactNode;
|
|
8117
7560
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
8118
7561
|
position?: "start" | "end";
|
|
8119
|
-
tooltip?: Props$
|
|
8120
|
-
tooltipPlacement?: Props$
|
|
7562
|
+
tooltip?: Props$1K["tooltip"];
|
|
7563
|
+
tooltipPlacement?: Props$1K["placement"];
|
|
8121
7564
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
8122
7565
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
8123
7566
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -8131,10 +7574,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8131
7574
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
8132
7575
|
variant?: "default" | "argo" | null | undefined;
|
|
8133
7576
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
8134
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">
|
|
8135
|
-
|
|
8136
|
-
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
8137
|
-
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;
|
|
8138
7579
|
}, {
|
|
8139
7580
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
8140
7581
|
children: react.ReactNode;
|
|
@@ -8148,12 +7589,11 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8148
7589
|
block?: boolean | null | undefined;
|
|
8149
7590
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
8150
7591
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
8151
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
8152
|
-
|
|
8153
|
-
}, "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;
|
|
8154
7594
|
}>;
|
|
8155
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, {
|
|
8156
|
-
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<{
|
|
8157
7597
|
content?: string | undefined | undefined;
|
|
8158
7598
|
size?: number | undefined | undefined;
|
|
8159
7599
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -8459,13 +7899,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8459
7899
|
multiple?: boolean | undefined | undefined;
|
|
8460
7900
|
src?: string | undefined | undefined;
|
|
8461
7901
|
alt?: string | undefined | undefined;
|
|
8462
|
-
required?: boolean | undefined | undefined;
|
|
8463
7902
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
8464
7903
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
8465
7904
|
maxLength?: number | undefined | undefined;
|
|
8466
7905
|
minLength?: number | undefined | undefined;
|
|
8467
7906
|
placeholder?: string | undefined | undefined;
|
|
8468
7907
|
readOnly?: boolean | undefined | undefined;
|
|
7908
|
+
required?: boolean | undefined | undefined;
|
|
8469
7909
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
8470
7910
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8471
7911
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -8475,10 +7915,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8475
7915
|
allowClear?: boolean | undefined;
|
|
8476
7916
|
onClear?: (() => void) | undefined;
|
|
8477
7917
|
testId?: string | undefined;
|
|
8478
|
-
} & {
|
|
8479
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8480
7918
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
8481
|
-
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<{
|
|
8482
7920
|
content?: string | undefined | undefined;
|
|
8483
7921
|
size?: number | undefined | undefined;
|
|
8484
7922
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -8784,7 +8222,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8784
8222
|
multiple?: boolean | undefined | undefined;
|
|
8785
8223
|
src?: string | undefined | undefined;
|
|
8786
8224
|
alt?: string | undefined | undefined;
|
|
8787
|
-
required?: boolean | undefined | undefined;
|
|
8788
8225
|
accept?: string | undefined | undefined;
|
|
8789
8226
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
8790
8227
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -8792,14 +8229,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8792
8229
|
minLength?: number | undefined | undefined;
|
|
8793
8230
|
placeholder?: string | undefined | undefined;
|
|
8794
8231
|
readOnly?: boolean | undefined | undefined;
|
|
8232
|
+
required?: boolean | undefined | undefined;
|
|
8795
8233
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
8796
8234
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8797
8235
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8798
8236
|
suffix?: react.ReactNode;
|
|
8799
|
-
} & {
|
|
8800
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8801
8237
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8802
|
-
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<{
|
|
8803
8239
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8804
8240
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8805
8241
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
@@ -9106,13 +8542,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9106
8542
|
multiple?: boolean | undefined | undefined;
|
|
9107
8543
|
src?: string | undefined | undefined;
|
|
9108
8544
|
alt?: string | undefined | undefined;
|
|
9109
|
-
required?: boolean | undefined | undefined;
|
|
9110
8545
|
accept?: string | undefined | undefined;
|
|
9111
8546
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
9112
8547
|
maxLength?: number | undefined | undefined;
|
|
9113
8548
|
minLength?: number | undefined | undefined;
|
|
9114
8549
|
placeholder?: string | undefined | undefined;
|
|
9115
8550
|
readOnly?: boolean | undefined | undefined;
|
|
8551
|
+
required?: boolean | undefined | undefined;
|
|
9116
8552
|
} & {
|
|
9117
8553
|
value?: string | null;
|
|
9118
8554
|
defaultValue?: string | null;
|
|
@@ -9120,12 +8556,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9120
8556
|
onValueBlur?: (value: string) => void;
|
|
9121
8557
|
allowClear?: boolean;
|
|
9122
8558
|
allowPasswordToggle?: boolean;
|
|
8559
|
+
passwordToggleLabel?: string;
|
|
9123
8560
|
autoComplete?: "new-password" | "current-password" | "off";
|
|
9124
8561
|
defaultPasswordVisibility?: boolean;
|
|
9125
|
-
} & {
|
|
9126
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9127
8562
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9128
|
-
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<{
|
|
9129
8564
|
content?: string | undefined | undefined;
|
|
9130
8565
|
translate?: "yes" | "no" | undefined | undefined;
|
|
9131
8566
|
prefix?: string | undefined | undefined;
|
|
@@ -9417,12 +8852,12 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9417
8852
|
value?: string | null | undefined;
|
|
9418
8853
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
9419
8854
|
wrap?: string | undefined | undefined;
|
|
9420
|
-
required?: boolean | undefined | undefined;
|
|
9421
8855
|
autoComplete?: string | undefined | undefined;
|
|
9422
8856
|
maxLength?: number | undefined | undefined;
|
|
9423
8857
|
minLength?: number | undefined | undefined;
|
|
9424
8858
|
placeholder?: string | undefined | undefined;
|
|
9425
8859
|
readOnly?: boolean | undefined | undefined;
|
|
8860
|
+
required?: boolean | undefined | undefined;
|
|
9426
8861
|
cols?: number | undefined | undefined;
|
|
9427
8862
|
dirName?: string | undefined | undefined;
|
|
9428
8863
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -9435,29 +8870,33 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9435
8870
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9436
8871
|
containerClassName?: string | undefined;
|
|
9437
8872
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9438
|
-
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 & {
|
|
9439
8874
|
placeholder?: string;
|
|
9440
8875
|
triggerClassName?: string;
|
|
9441
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
8876
|
+
variant?: "primary" | "secondary" | "inline" | null | undefined;
|
|
9442
8877
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
9443
8878
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9444
8879
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
9445
8880
|
items: readonly {
|
|
9446
8881
|
value: string;
|
|
9447
8882
|
label: react.ReactNode;
|
|
8883
|
+
disabled?: boolean;
|
|
9448
8884
|
}[];
|
|
9449
8885
|
options?: readonly {
|
|
9450
8886
|
value: string;
|
|
9451
8887
|
label: react.ReactNode;
|
|
8888
|
+
disabled?: boolean;
|
|
9452
8889
|
}[];
|
|
9453
8890
|
} | {
|
|
9454
8891
|
items?: readonly {
|
|
9455
8892
|
value: string;
|
|
9456
8893
|
label: react.ReactNode;
|
|
8894
|
+
disabled?: boolean;
|
|
9457
8895
|
}[];
|
|
9458
8896
|
options: readonly {
|
|
9459
8897
|
value: string;
|
|
9460
8898
|
label: react.ReactNode;
|
|
8899
|
+
disabled?: boolean;
|
|
9461
8900
|
}[];
|
|
9462
8901
|
})) => react_jsx_runtime.JSX.Element;
|
|
9463
8902
|
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
@@ -9465,8 +8904,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9465
8904
|
description?: react.ReactNode;
|
|
9466
8905
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
9467
8906
|
position?: "start" | "end";
|
|
9468
|
-
tooltip?: Props$
|
|
9469
|
-
tooltipPlacement?: Props$
|
|
8907
|
+
tooltip?: Props$1K["tooltip"];
|
|
8908
|
+
tooltipPlacement?: Props$1K["placement"];
|
|
9470
8909
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
9471
8910
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
9472
8911
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -9480,10 +8919,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9480
8919
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
9481
8920
|
variant?: "default" | "argo" | null | undefined;
|
|
9482
8921
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
9483
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">
|
|
9484
|
-
|
|
9485
|
-
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
9486
|
-
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;
|
|
9487
8924
|
}, {
|
|
9488
8925
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
9489
8926
|
children: react.ReactNode;
|
|
@@ -9497,12 +8934,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9497
8934
|
block?: boolean | null | undefined;
|
|
9498
8935
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
9499
8936
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
9500
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
9501
|
-
|
|
9502
|
-
}, "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;
|
|
9503
8939
|
}, TRenderProps>) => react.FunctionComponent<react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
9504
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, {
|
|
9505
|
-
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<{
|
|
9506
8942
|
content?: string | undefined | undefined;
|
|
9507
8943
|
size?: number | undefined | undefined;
|
|
9508
8944
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -9808,13 +9244,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9808
9244
|
multiple?: boolean | undefined | undefined;
|
|
9809
9245
|
src?: string | undefined | undefined;
|
|
9810
9246
|
alt?: string | undefined | undefined;
|
|
9811
|
-
required?: boolean | undefined | undefined;
|
|
9812
9247
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
9813
9248
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
9814
9249
|
maxLength?: number | undefined | undefined;
|
|
9815
9250
|
minLength?: number | undefined | undefined;
|
|
9816
9251
|
placeholder?: string | undefined | undefined;
|
|
9817
9252
|
readOnly?: boolean | undefined | undefined;
|
|
9253
|
+
required?: boolean | undefined | undefined;
|
|
9818
9254
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
9819
9255
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9820
9256
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -9824,10 +9260,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9824
9260
|
allowClear?: boolean | undefined;
|
|
9825
9261
|
onClear?: (() => void) | undefined;
|
|
9826
9262
|
testId?: string | undefined;
|
|
9827
|
-
} & {
|
|
9828
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9829
9263
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
9830
|
-
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<{
|
|
9831
9265
|
content?: string | undefined | undefined;
|
|
9832
9266
|
size?: number | undefined | undefined;
|
|
9833
9267
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -10133,7 +9567,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10133
9567
|
multiple?: boolean | undefined | undefined;
|
|
10134
9568
|
src?: string | undefined | undefined;
|
|
10135
9569
|
alt?: string | undefined | undefined;
|
|
10136
|
-
required?: boolean | undefined | undefined;
|
|
10137
9570
|
accept?: string | undefined | undefined;
|
|
10138
9571
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
10139
9572
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -10141,14 +9574,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10141
9574
|
minLength?: number | undefined | undefined;
|
|
10142
9575
|
placeholder?: string | undefined | undefined;
|
|
10143
9576
|
readOnly?: boolean | undefined | undefined;
|
|
9577
|
+
required?: boolean | undefined | undefined;
|
|
10144
9578
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
10145
9579
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10146
9580
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10147
9581
|
suffix?: react.ReactNode;
|
|
10148
|
-
} & {
|
|
10149
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
10150
9582
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10151
|
-
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<{
|
|
10152
9584
|
variant?: "primary" | "secondary" | null | undefined;
|
|
10153
9585
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
10154
9586
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
@@ -10455,13 +9887,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10455
9887
|
multiple?: boolean | undefined | undefined;
|
|
10456
9888
|
src?: string | undefined | undefined;
|
|
10457
9889
|
alt?: string | undefined | undefined;
|
|
10458
|
-
required?: boolean | undefined | undefined;
|
|
10459
9890
|
accept?: string | undefined | undefined;
|
|
10460
9891
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
10461
9892
|
maxLength?: number | undefined | undefined;
|
|
10462
9893
|
minLength?: number | undefined | undefined;
|
|
10463
9894
|
placeholder?: string | undefined | undefined;
|
|
10464
9895
|
readOnly?: boolean | undefined | undefined;
|
|
9896
|
+
required?: boolean | undefined | undefined;
|
|
10465
9897
|
} & {
|
|
10466
9898
|
value?: string | null;
|
|
10467
9899
|
defaultValue?: string | null;
|
|
@@ -10469,12 +9901,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10469
9901
|
onValueBlur?: (value: string) => void;
|
|
10470
9902
|
allowClear?: boolean;
|
|
10471
9903
|
allowPasswordToggle?: boolean;
|
|
9904
|
+
passwordToggleLabel?: string;
|
|
10472
9905
|
autoComplete?: "new-password" | "current-password" | "off";
|
|
10473
9906
|
defaultPasswordVisibility?: boolean;
|
|
10474
|
-
} & {
|
|
10475
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
10476
9907
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10477
|
-
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<{
|
|
10478
9909
|
content?: string | undefined | undefined;
|
|
10479
9910
|
translate?: "yes" | "no" | undefined | undefined;
|
|
10480
9911
|
prefix?: string | undefined | undefined;
|
|
@@ -10766,12 +10197,12 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10766
10197
|
value?: string | null | undefined;
|
|
10767
10198
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
10768
10199
|
wrap?: string | undefined | undefined;
|
|
10769
|
-
required?: boolean | undefined | undefined;
|
|
10770
10200
|
autoComplete?: string | undefined | undefined;
|
|
10771
10201
|
maxLength?: number | undefined | undefined;
|
|
10772
10202
|
minLength?: number | undefined | undefined;
|
|
10773
10203
|
placeholder?: string | undefined | undefined;
|
|
10774
10204
|
readOnly?: boolean | undefined | undefined;
|
|
10205
|
+
required?: boolean | undefined | undefined;
|
|
10775
10206
|
cols?: number | undefined | undefined;
|
|
10776
10207
|
dirName?: string | undefined | undefined;
|
|
10777
10208
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -10784,29 +10215,33 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10784
10215
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10785
10216
|
containerClassName?: string | undefined;
|
|
10786
10217
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10787
|
-
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 & {
|
|
10788
10219
|
placeholder?: string;
|
|
10789
10220
|
triggerClassName?: string;
|
|
10790
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
10221
|
+
variant?: "primary" | "secondary" | "inline" | null | undefined;
|
|
10791
10222
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
10792
10223
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10793
10224
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
10794
10225
|
items: readonly {
|
|
10795
10226
|
value: string;
|
|
10796
10227
|
label: react.ReactNode;
|
|
10228
|
+
disabled?: boolean;
|
|
10797
10229
|
}[];
|
|
10798
10230
|
options?: readonly {
|
|
10799
10231
|
value: string;
|
|
10800
10232
|
label: react.ReactNode;
|
|
10233
|
+
disabled?: boolean;
|
|
10801
10234
|
}[];
|
|
10802
10235
|
} | {
|
|
10803
10236
|
items?: readonly {
|
|
10804
10237
|
value: string;
|
|
10805
10238
|
label: react.ReactNode;
|
|
10239
|
+
disabled?: boolean;
|
|
10806
10240
|
}[];
|
|
10807
10241
|
options: readonly {
|
|
10808
10242
|
value: string;
|
|
10809
10243
|
label: react.ReactNode;
|
|
10244
|
+
disabled?: boolean;
|
|
10810
10245
|
}[];
|
|
10811
10246
|
})) => react_jsx_runtime.JSX.Element;
|
|
10812
10247
|
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
@@ -10814,8 +10249,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10814
10249
|
description?: react.ReactNode;
|
|
10815
10250
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10816
10251
|
position?: "start" | "end";
|
|
10817
|
-
tooltip?: Props$
|
|
10818
|
-
tooltipPlacement?: Props$
|
|
10252
|
+
tooltip?: Props$1K["tooltip"];
|
|
10253
|
+
tooltipPlacement?: Props$1K["placement"];
|
|
10819
10254
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10820
10255
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10821
10256
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10829,10 +10264,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10829
10264
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10830
10265
|
variant?: "default" | "argo" | null | undefined;
|
|
10831
10266
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
10832
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">
|
|
10833
|
-
|
|
10834
|
-
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10835
|
-
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;
|
|
10836
10269
|
}, {
|
|
10837
10270
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
10838
10271
|
children: react.ReactNode;
|
|
@@ -10846,9 +10279,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10846
10279
|
block?: boolean | null | undefined;
|
|
10847
10280
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
10848
10281
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
10849
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
10850
|
-
|
|
10851
|
-
}, "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;
|
|
10852
10284
|
}>;
|
|
10853
10285
|
}>>;
|
|
10854
10286
|
|
|
@@ -10862,6 +10294,16 @@ type ServerFieldError = {
|
|
|
10862
10294
|
*/
|
|
10863
10295
|
declare const setServerFieldErrors: (form: AnyFormApi, errors: readonly ServerFieldError[]) => void;
|
|
10864
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
|
+
|
|
10865
10307
|
type UseAutosizeInputOptions = {
|
|
10866
10308
|
value?: string;
|
|
10867
10309
|
placeholder?: string;
|
|
@@ -10906,8 +10348,16 @@ type Props = {
|
|
|
10906
10348
|
html: string;
|
|
10907
10349
|
copyText?: string;
|
|
10908
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;
|
|
10909
10359
|
};
|
|
10910
|
-
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;
|
|
10911
10361
|
|
|
10912
10362
|
type ColorSlot = keyof Omit<NonNullable<Brand['theme']['colors']>, 'sidebar' | 'chart'>;
|
|
10913
10363
|
type SidebarSlot = keyof NonNullable<NonNullable<Brand['theme']['colors']>['sidebar']>;
|
|
@@ -10946,4 +10396,4 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
10946
10396
|
/** WCAG level for normal-size text at a given ratio. */
|
|
10947
10397
|
declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
|
|
10948
10398
|
|
|
10949
|
-
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 };
|