@keboola/design 5.1.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/COMPONENT-API.md +149 -105
- package/dist/editors.cjs +24 -19
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +24 -19
- package/dist/editors.js.map +1 -1
- package/dist/index.cjs +667 -242
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +785 -482
- package/dist/index.d.ts +785 -482
- package/dist/index.js +666 -241
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +80 -42
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +80 -42
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +22 -16
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +22 -16
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +80 -43
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +80 -43
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +3 -3
- package/dist/testing.cjs +5 -0
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.js +5 -0
- package/dist/testing.js.map +1 -1
- package/package.json +5 -5
- package/src/styles.css +9 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ComponentProps, Ref, ElementRef, ReactNode, PropsWithChildren, MouseEvent as MouseEvent$1, HTMLAttributes, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, InputHTMLAttributes, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
|
|
3
|
+
import { ComponentProps, Ref, ElementRef, ReactNode, PropsWithChildren, MouseEvent as MouseEvent$1, HTMLAttributes, RefObject, MouseEventHandler, ComponentPropsWithRef, ChangeEvent, FocusEvent as FocusEvent$1, InputHTMLAttributes, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
|
|
4
4
|
import * as class_variance_authority from 'class-variance-authority';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -24,7 +24,7 @@ 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
26
|
import { Matcher, DateRange as DateRange$1, PropsBase, PropsSingle, PropsRange } from 'react-day-picker';
|
|
27
|
-
import { LabelProps
|
|
27
|
+
import { LabelProps } 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';
|
|
30
30
|
import * as RRadioGroup from '@radix-ui/react-radio-group';
|
|
@@ -38,8 +38,8 @@ import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
|
38
38
|
import * as _base_ui_react_types from '@base-ui/react/types';
|
|
39
39
|
import { Brand } from '@keboola/brand-registry';
|
|
40
40
|
export { Brand, brandSchema, exampleCustomer, keboola, keboolaLegacySidebar, keboolaLegacyTopnav } from '@keboola/brand-registry';
|
|
41
|
-
import { OTPInput
|
|
42
|
-
export { SlotProps as
|
|
41
|
+
import { OTPInput } from 'input-otp';
|
|
42
|
+
export { SlotProps as OtpInputRenderSlotProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from 'input-otp';
|
|
43
43
|
import { Accept, FileRejection } from 'react-dropzone';
|
|
44
44
|
import * as _radix_ui_react_collapsible from '@radix-ui/react-collapsible';
|
|
45
45
|
import { Root as Root$9 } from '@radix-ui/react-collapsible';
|
|
@@ -59,12 +59,12 @@ export { Slot } from '@radix-ui/react-slot';
|
|
|
59
59
|
declare const variants$3: (props?: ({
|
|
60
60
|
block?: boolean | null | undefined;
|
|
61
61
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
62
|
-
size?: "
|
|
62
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
63
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
64
64
|
declare const argoVariants: (props?: ({
|
|
65
65
|
block?: boolean | null | undefined;
|
|
66
66
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
67
|
-
size?: "
|
|
67
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
68
68
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69
69
|
|
|
70
70
|
/**
|
|
@@ -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$1U = {
|
|
78
78
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
79
79
|
isLoading?: boolean;
|
|
80
80
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
@@ -93,7 +93,7 @@ type Props$1S = {
|
|
|
93
93
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
94
94
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
95
95
|
*/
|
|
96
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
96
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$1U & {
|
|
97
97
|
ref?: Ref<ElementRef<"button">>;
|
|
98
98
|
}) => react_jsx_runtime.JSX.Element;
|
|
99
99
|
|
|
@@ -101,29 +101,29 @@ declare const buttonInlineVariants: (props?: ({
|
|
|
101
101
|
color?: "dark" | "muted" | "link" | "danger" | "custom" | null | undefined;
|
|
102
102
|
variant?: "link" | "custom" | "link-reverse" | null | undefined;
|
|
103
103
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
|
-
type Props$
|
|
104
|
+
type Props$1T = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
105
105
|
asChild?: boolean;
|
|
106
106
|
};
|
|
107
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
107
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$1T & {
|
|
108
108
|
ref?: Ref<ElementRef<"button">>;
|
|
109
109
|
}) => react_jsx_runtime.JSX.Element;
|
|
110
110
|
|
|
111
111
|
declare const buttonGroupVariant: (props?: ({
|
|
112
112
|
variant?: "inline" | "block" | null | undefined;
|
|
113
|
-
space?: "
|
|
113
|
+
space?: "medium" | "small" | "large" | "extra-small" | "little-small" | "compact" | null | undefined;
|
|
114
114
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
115
|
-
type Props$
|
|
115
|
+
type Props$1S = {
|
|
116
116
|
children: ReactNode;
|
|
117
117
|
className?: string;
|
|
118
118
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
119
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
119
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$1S & {
|
|
120
120
|
ref?: Ref<ElementRef<"div">>;
|
|
121
121
|
}) => react_jsx_runtime.JSX.Element;
|
|
122
122
|
|
|
123
123
|
type Variant$8 = ComponentProps<typeof Button>['variant'];
|
|
124
124
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
125
125
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
126
|
-
type Props$
|
|
126
|
+
type Props$1R = {
|
|
127
127
|
actions?: ReactNode;
|
|
128
128
|
isActionsOpen?: boolean;
|
|
129
129
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -132,7 +132,7 @@ type Props$1P = {
|
|
|
132
132
|
variant?: Exclude<Variant$8, 'inline' | 'invisible'>;
|
|
133
133
|
size?: SpitButtonSize;
|
|
134
134
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
135
|
-
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$
|
|
135
|
+
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$1R & {
|
|
136
136
|
ref?: Ref<ElementRef<"button">>;
|
|
137
137
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
138
138
|
Action: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: (_radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -146,11 +146,11 @@ declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsO
|
|
|
146
146
|
Actions: react.ForwardRefExoticComponent<_radix_ui_react_dropdown_menu.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
147
147
|
};
|
|
148
148
|
|
|
149
|
-
type Props$
|
|
149
|
+
type Props$1Q = {
|
|
150
150
|
className?: string;
|
|
151
151
|
} & PropsWithChildren;
|
|
152
152
|
declare const MultiActionButtonGroup: {
|
|
153
|
-
({ children, className }: Props$
|
|
153
|
+
({ children, className }: Props$1Q): react_jsx_runtime.JSX.Element;
|
|
154
154
|
Button: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, "data-testid": dataTestId, }: {
|
|
155
155
|
disabled?: boolean;
|
|
156
156
|
icon: react.ReactNode;
|
|
@@ -165,19 +165,19 @@ declare const MultiActionButtonGroup: {
|
|
|
165
165
|
|
|
166
166
|
declare const toggleVariants: (props?: ({
|
|
167
167
|
variant?: "ai" | "ai-vivid" | "ghost" | null | undefined;
|
|
168
|
-
size?: "
|
|
168
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
169
169
|
iconOnly?: boolean | null | undefined;
|
|
170
170
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
171
|
-
type Props$
|
|
171
|
+
type Props$1P = {
|
|
172
172
|
icon?: ReactNode;
|
|
173
173
|
badge?: ReactNode;
|
|
174
174
|
} & ComponentProps<typeof Root> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly'>;
|
|
175
|
-
declare const Toggle: ({ ref, className, variant, size, children, icon, badge, disabled, ...props }: Props$
|
|
175
|
+
declare const Toggle: ({ ref, className, variant, size, children, icon, badge, disabled, ...props }: Props$1P & {
|
|
176
176
|
ref?: Ref<ElementRef<"button">>;
|
|
177
177
|
}) => react_jsx_runtime.JSX.Element;
|
|
178
178
|
|
|
179
179
|
declare const rootVariants: (props?: ({
|
|
180
|
-
size?: "
|
|
180
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
181
181
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
182
182
|
type RootProps$5 = ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof rootVariants>;
|
|
183
183
|
type ItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
@@ -193,11 +193,11 @@ declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$5 & {
|
|
|
193
193
|
declare const tooltipVariants: (props?: ({
|
|
194
194
|
variant?: "action" | "explanatory" | null | undefined;
|
|
195
195
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
196
|
-
type Props$
|
|
196
|
+
type Props$1O = {
|
|
197
197
|
keepOpenOnPointerDownOutside?: boolean;
|
|
198
198
|
placement?: ComponentProps<typeof Content>['side'];
|
|
199
199
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
200
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
200
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$1O) => react_jsx_runtime.JSX.Element;
|
|
201
201
|
|
|
202
202
|
type TriggerProps$1 = {
|
|
203
203
|
triggerAsChild?: boolean;
|
|
@@ -206,7 +206,7 @@ type TriggerProps$1 = {
|
|
|
206
206
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
207
207
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
208
208
|
*/
|
|
209
|
-
type Props$
|
|
209
|
+
type Props$1N = {
|
|
210
210
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
211
211
|
keepOpenOnTriggerClick?: boolean;
|
|
212
212
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -236,7 +236,7 @@ declare const TooltipProvider: react.FC<_radix_ui_react_tooltip.TooltipProviderP
|
|
|
236
236
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
237
237
|
*/
|
|
238
238
|
declare const Tooltip: {
|
|
239
|
-
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, triggerAsChild, }: Props$
|
|
239
|
+
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, triggerAsChild, }: Props$1N): react_jsx_runtime.JSX.Element;
|
|
240
240
|
Root: ({ children, delayDuration, ...rest }: _radix_ui_react_tooltip.TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
241
241
|
Content: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: {
|
|
242
242
|
keepOpenOnPointerDownOutside?: boolean;
|
|
@@ -251,33 +251,136 @@ declare const Tooltip: {
|
|
|
251
251
|
}) => react_jsx_runtime.JSX.Element;
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
-
type Props$
|
|
255
|
-
tooltip?: Props$
|
|
256
|
-
tooltipPlacement?: Props$
|
|
257
|
-
tooltipVariant?: Props$
|
|
258
|
-
asChild?: Props$
|
|
254
|
+
type Props$1M = {
|
|
255
|
+
tooltip?: Props$1N['tooltip'];
|
|
256
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
257
|
+
tooltipVariant?: Props$1N['variant'];
|
|
258
|
+
asChild?: Props$1N['triggerAsChild'];
|
|
259
259
|
text?: string | (() => string);
|
|
260
260
|
} & ComponentProps<'button'>;
|
|
261
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
261
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$1M & {
|
|
262
262
|
ref?: Ref<ElementRef<"button">>;
|
|
263
263
|
}) => react_jsx_runtime.JSX.Element;
|
|
264
264
|
|
|
265
265
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
266
266
|
type ButtonProps$2 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
267
|
-
type Props$
|
|
267
|
+
type Props$1L = ClipboardProps$1 & ButtonProps$2 & {
|
|
268
268
|
icon?: ReactNode;
|
|
269
269
|
};
|
|
270
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
270
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$1L) => react_jsx_runtime.JSX.Element;
|
|
271
271
|
|
|
272
272
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
273
273
|
type ButtonProps$1 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
274
|
-
type Props$
|
|
274
|
+
type Props$1K = {
|
|
275
275
|
hideIcon?: boolean;
|
|
276
276
|
} & ClipboardProps & ButtonProps$1;
|
|
277
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
277
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$1K) => react_jsx_runtime.JSX.Element;
|
|
278
278
|
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
/**
|
|
280
|
+
* Compound component for readonly value/command boxes with inline copy.
|
|
281
|
+
*
|
|
282
|
+
* `CopyField.Root` owns the `value` and copy/mask state; `CopyField.Box` is the clickable
|
|
283
|
+
* copy target. Clicking anywhere in the box copies the real `value` to the
|
|
284
|
+
* clipboard (guarded by text-selection so drag-select does NOT trigger a copy),
|
|
285
|
+
* with a Copy → Check feedback for ~1.5s.
|
|
286
|
+
*
|
|
287
|
+
* Shapes:
|
|
288
|
+
* - **Single-line value row** — default proportional font, value truncates.
|
|
289
|
+
* - **Monospace command box** — `mono` on `CopyField.Root`.
|
|
290
|
+
* - **Multi-line** — `maxLines > 1`; content wraps and scrolls between
|
|
291
|
+
* `minLines` and `maxLines` tall.
|
|
292
|
+
*
|
|
293
|
+
* Masking: wrap sensitive content in `CopyField.Hidden`. Revealable hidden content is
|
|
294
|
+
* toggled by `CopyField.Reveal` (an eye button); copy still copies the real value.
|
|
295
|
+
*
|
|
296
|
+
* @example Monospace command
|
|
297
|
+
* ```tsx
|
|
298
|
+
* <CopyField.Root value={installCommand} mono>
|
|
299
|
+
* <CopyField.Label>Install the Keboola CLI</CopyField.Label>
|
|
300
|
+
* <CopyField.Box>
|
|
301
|
+
* <CopyField.Children>{installCommand}</CopyField.Children>
|
|
302
|
+
* <CopyField.Button />
|
|
303
|
+
* </CopyField.Box>
|
|
304
|
+
* </CopyField.Root>
|
|
305
|
+
* ```
|
|
306
|
+
*
|
|
307
|
+
* @example Masked token with reveal + prefix/suffix
|
|
308
|
+
* ```tsx
|
|
309
|
+
* <CopyField.Root value={dataAppUrl} hiddenByDefault>
|
|
310
|
+
* <CopyField.Label leading={<InfoButton />} trailing={<Switch />}>Data app URL</CopyField.Label>
|
|
311
|
+
* <CopyField.Box>
|
|
312
|
+
* <CopyField.Prefix>https://</CopyField.Prefix>
|
|
313
|
+
* <CopyField.Children><CopyField.Hidden>{slug}</CopyField.Hidden></CopyField.Children>
|
|
314
|
+
* <CopyField.Suffix>.keboola.com</CopyField.Suffix>
|
|
315
|
+
* <CopyField.Reveal />
|
|
316
|
+
* <CopyField.Button />
|
|
317
|
+
* </CopyField.Box>
|
|
318
|
+
* <CopyField.Footer>Click to copy</CopyField.Footer>
|
|
319
|
+
* </CopyField.Root>
|
|
320
|
+
* ```
|
|
321
|
+
*/
|
|
322
|
+
declare const CopyField: {
|
|
323
|
+
/** Container. Owns the copied `value`, mask state, and copy context. */
|
|
324
|
+
Root: ({ value, mono, onCopy, hiddenByDefault, minLines, maxLines, className, children, }: {
|
|
325
|
+
value: string;
|
|
326
|
+
mono?: boolean;
|
|
327
|
+
onCopy?: () => void;
|
|
328
|
+
hiddenByDefault?: boolean;
|
|
329
|
+
minLines?: number;
|
|
330
|
+
maxLines?: number;
|
|
331
|
+
className?: string;
|
|
332
|
+
children: react.ReactNode;
|
|
333
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
334
|
+
/** Visible label above the box, with optional `leading`/`trailing` slots. */
|
|
335
|
+
Label: ({ children, leading, trailing, className }: {
|
|
336
|
+
children: react.ReactNode;
|
|
337
|
+
leading?: react.ReactNode;
|
|
338
|
+
trailing?: react.ReactNode;
|
|
339
|
+
className?: string;
|
|
340
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
341
|
+
/** The clickable copy target row. */
|
|
342
|
+
Box: ({ className, children }: {
|
|
343
|
+
className?: string;
|
|
344
|
+
children: react.ReactNode;
|
|
345
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
346
|
+
/** Muted, non-selectable prefix addon (not copied). */
|
|
347
|
+
Prefix: ({ children, className }: {
|
|
348
|
+
children: react.ReactNode;
|
|
349
|
+
className?: string;
|
|
350
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
351
|
+
/** Displayed value (truncates single-line, wraps multi-line). */
|
|
352
|
+
Children: ({ children, className }: {
|
|
353
|
+
children: react.ReactNode;
|
|
354
|
+
className?: string;
|
|
355
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
356
|
+
/** Muted, non-selectable suffix addon (not copied). */
|
|
357
|
+
Suffix: ({ children, className }: {
|
|
358
|
+
children: react.ReactNode;
|
|
359
|
+
className?: string;
|
|
360
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
361
|
+
/** Masks its children with dots; copy still copies the real value. */
|
|
362
|
+
Hidden: ({ children, revealable, className }: {
|
|
363
|
+
children: react.ReactNode;
|
|
364
|
+
revealable?: boolean;
|
|
365
|
+
className?: string;
|
|
366
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
367
|
+
/** Eye toggle that reveals/masks revealable `CopyField.Hidden` content. */
|
|
368
|
+
Reveal: ({ className }: {
|
|
369
|
+
className?: string;
|
|
370
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
371
|
+
/** Copy affordance icon — shows Copy/Check with feedback. */
|
|
372
|
+
Button: ({ className }: {
|
|
373
|
+
className?: string;
|
|
374
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
375
|
+
/** Small helper text below the box. */
|
|
376
|
+
Footer: ({ children, className }: {
|
|
377
|
+
children: react.ReactNode;
|
|
378
|
+
className?: string;
|
|
379
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
type Props$1J = ComponentProps<'a'>;
|
|
383
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1J & {
|
|
281
384
|
ref?: Ref<ElementRef<"a">>;
|
|
282
385
|
}) => react_jsx_runtime.JSX.Element;
|
|
283
386
|
|
|
@@ -289,13 +392,13 @@ type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
|
289
392
|
|
|
290
393
|
type ConfirmHandler = (event: MouseEvent$1<HTMLButtonElement>) => void | Promise<unknown>;
|
|
291
394
|
type CancelHandler = (event: MouseEvent$1<HTMLButtonElement>) => void;
|
|
292
|
-
type Props$
|
|
395
|
+
type Props$1I = {
|
|
293
396
|
onConfirm?: ConfirmHandler;
|
|
294
397
|
onCancel?: CancelHandler;
|
|
295
398
|
skipAsyncWait?: boolean;
|
|
296
399
|
} & ComponentProps<typeof Root$1>;
|
|
297
400
|
declare const AlertModal: {
|
|
298
|
-
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
401
|
+
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$1I): react_jsx_runtime.JSX.Element;
|
|
299
402
|
Trigger: ({ ref, onClick, onKeyDown, ...props }: _radix_ui_react_alert_dialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
300
403
|
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, container, className, children, onEscapeKeyDown, ...props }: {
|
|
301
404
|
variant?: AlertModalVariant;
|
|
@@ -307,7 +410,7 @@ declare const AlertModal: {
|
|
|
307
410
|
} & Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "title">) => react_jsx_runtime.JSX.Element;
|
|
308
411
|
};
|
|
309
412
|
|
|
310
|
-
type Props$
|
|
413
|
+
type Props$1H = ComponentProps<typeof Root$2>;
|
|
311
414
|
/**
|
|
312
415
|
* Blocking dialog for confirmations, forms, and detail views. Built on Radix Dialog.
|
|
313
416
|
*
|
|
@@ -323,7 +426,7 @@ type Props$1F = ComponentProps<typeof Root$2>;
|
|
|
323
426
|
* @see RECIPES.md#confirm-dialog — for destructive-confirm dialogs
|
|
324
427
|
*/
|
|
325
428
|
declare const Modal: {
|
|
326
|
-
(props: Props$
|
|
429
|
+
(props: Props$1H): react_jsx_runtime.JSX.Element;
|
|
327
430
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
328
431
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
329
432
|
Content: ({ size, className, children, onEscapeKeyDown, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -376,7 +479,7 @@ declare const FullScreenModal: (({ children, className, lockBodyScroll, onEscape
|
|
|
376
479
|
}) => react_jsx_runtime.JSX.Element;
|
|
377
480
|
};
|
|
378
481
|
|
|
379
|
-
type Props$
|
|
482
|
+
type Props$1G = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
380
483
|
title: ReactNode;
|
|
381
484
|
titleClassName?: string;
|
|
382
485
|
titleWrapperClassName?: string;
|
|
@@ -385,16 +488,16 @@ type Props$1E = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
385
488
|
onClose?: () => void;
|
|
386
489
|
showPreviousTitle?: boolean;
|
|
387
490
|
}>;
|
|
388
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
491
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$1G) => react_jsx_runtime.JSX.Element;
|
|
389
492
|
|
|
390
|
-
type Props$
|
|
391
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
493
|
+
type Props$1F = HTMLAttributes<HTMLDivElement>;
|
|
494
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$1F & {
|
|
392
495
|
ref?: Ref<HTMLDivElement>;
|
|
393
496
|
}) => react_jsx_runtime.JSX.Element;
|
|
394
497
|
|
|
395
|
-
type Props$
|
|
498
|
+
type Props$1E = ComponentProps<typeof Root$2>;
|
|
396
499
|
declare const Sheet: {
|
|
397
|
-
(props: Props$
|
|
500
|
+
(props: Props$1E): react_jsx_runtime.JSX.Element;
|
|
398
501
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
399
502
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
400
503
|
Content: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -417,9 +520,9 @@ declare const Sheet: {
|
|
|
417
520
|
Body: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
418
521
|
};
|
|
419
522
|
|
|
420
|
-
type Props$
|
|
523
|
+
type Props$1D = ComponentProps<typeof Root$3>;
|
|
421
524
|
declare const Popover: {
|
|
422
|
-
(props: Props$
|
|
525
|
+
(props: Props$1D): react_jsx_runtime.JSX.Element;
|
|
423
526
|
/**
|
|
424
527
|
* Main Layout
|
|
425
528
|
*/
|
|
@@ -441,12 +544,12 @@ type PopconfirmContextType = {
|
|
|
441
544
|
isLoading: boolean;
|
|
442
545
|
};
|
|
443
546
|
|
|
444
|
-
type Props$
|
|
547
|
+
type Props$1C = {
|
|
445
548
|
children: ReactNode;
|
|
446
549
|
skipAsyncWait?: boolean;
|
|
447
550
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
448
551
|
declare const Popconfirm: {
|
|
449
|
-
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
552
|
+
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$1C): react_jsx_runtime.JSX.Element;
|
|
450
553
|
Confirm: ({ ref, onClick, children, asChild, className, ...props }: (({
|
|
451
554
|
asChild: true;
|
|
452
555
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
@@ -458,7 +561,7 @@ declare const Popconfirm: {
|
|
|
458
561
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
459
562
|
block?: boolean | null | undefined;
|
|
460
563
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
461
|
-
size?: "
|
|
564
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
462
565
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
463
566
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
464
567
|
}, "children" | "isLoading">)) & {
|
|
@@ -475,7 +578,7 @@ declare const Popconfirm: {
|
|
|
475
578
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
476
579
|
block?: boolean | null | undefined;
|
|
477
580
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
478
|
-
size?: "
|
|
581
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
479
582
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
480
583
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
481
584
|
}, "children">)) & {
|
|
@@ -799,18 +902,18 @@ declare const Popconfirm: {
|
|
|
799
902
|
Trigger: ({ onClick, ...props }: _radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
800
903
|
};
|
|
801
904
|
|
|
802
|
-
type Props$
|
|
905
|
+
type Props$1B = ComponentProps<typeof Root$4>;
|
|
803
906
|
declare const HoverCard: {
|
|
804
|
-
({ openDelay, closeDelay, ...rest }: Props$
|
|
907
|
+
({ openDelay, closeDelay, ...rest }: Props$1B): react_jsx_runtime.JSX.Element;
|
|
805
908
|
Content: ({ ref, className, align, sideOffset, children, ...props }: Omit<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
806
909
|
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
807
910
|
}) => react_jsx_runtime.JSX.Element;
|
|
808
911
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
809
912
|
};
|
|
810
913
|
|
|
811
|
-
type Props$
|
|
914
|
+
type Props$1A = ComponentProps<typeof Root$5>;
|
|
812
915
|
declare const DropdownMenu: {
|
|
813
|
-
({ modal, ...props }: Props$
|
|
916
|
+
({ modal, ...props }: Props$1A): react_jsx_runtime.JSX.Element;
|
|
814
917
|
/**
|
|
815
918
|
* Main Layout
|
|
816
919
|
*/
|
|
@@ -866,14 +969,14 @@ declare const DropdownMenu: {
|
|
|
866
969
|
}) => react_jsx_runtime.JSX.Element;
|
|
867
970
|
};
|
|
868
971
|
|
|
869
|
-
type Props$
|
|
972
|
+
type Props$1z = {
|
|
870
973
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
871
974
|
};
|
|
872
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
975
|
+
declare const CheckIndicator: ({ variant }: Props$1z) => react_jsx_runtime.JSX.Element | null;
|
|
873
976
|
|
|
874
|
-
type Props$
|
|
977
|
+
type Props$1y = ComponentProps<typeof Command$1>;
|
|
875
978
|
declare const Command: {
|
|
876
|
-
({ className, ...rest }: Props$
|
|
979
|
+
({ className, ...rest }: Props$1y): react_jsx_runtime.JSX.Element;
|
|
877
980
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
878
981
|
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
879
982
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1233,7 +1336,7 @@ declare const Command: {
|
|
|
1233
1336
|
minLength?: number | undefined | undefined;
|
|
1234
1337
|
placeholder?: string | undefined | undefined;
|
|
1235
1338
|
readOnly?: boolean | undefined | undefined;
|
|
1236
|
-
sizing?: "
|
|
1339
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1237
1340
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1238
1341
|
rightSuffix?: react.ReactNode;
|
|
1239
1342
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -1269,25 +1372,25 @@ declare const Command: {
|
|
|
1269
1372
|
declare const addonVariants$1: (props?: ({
|
|
1270
1373
|
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
1271
1374
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1272
|
-
type Props$
|
|
1273
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
1375
|
+
type Props$1x = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1376
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1x) => react_jsx_runtime.JSX.Element;
|
|
1274
1377
|
|
|
1275
1378
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
1276
|
-
type Props$
|
|
1277
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
1379
|
+
type Props$1w = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
1380
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$1w & {
|
|
1278
1381
|
ref?: Ref<ElementRef<"button">>;
|
|
1279
1382
|
}) => react_jsx_runtime.JSX.Element;
|
|
1280
1383
|
|
|
1281
|
-
type Props$
|
|
1282
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
1384
|
+
type Props$1v = ComponentProps<'input'>;
|
|
1385
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$1v & {
|
|
1283
1386
|
ref?: Ref<ElementRef<"input">>;
|
|
1284
1387
|
}) => react_jsx_runtime.JSX.Element;
|
|
1285
1388
|
|
|
1286
|
-
type Props$
|
|
1287
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
1389
|
+
type Props$1u = ComponentProps<'span'>;
|
|
1390
|
+
declare const InputGroupText: ({ className, ...props }: Props$1u) => react_jsx_runtime.JSX.Element;
|
|
1288
1391
|
|
|
1289
1392
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof react_textarea_autosize__default>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
1290
|
-
type Props$
|
|
1393
|
+
type Props$1t = TextareaNativeProps$1 & {
|
|
1291
1394
|
value?: string | null;
|
|
1292
1395
|
defaultValue?: string | null;
|
|
1293
1396
|
onValueChange?: (value: string) => void;
|
|
@@ -1295,20 +1398,20 @@ type Props$1r = TextareaNativeProps$1 & {
|
|
|
1295
1398
|
maxRows?: number | 'unlimited';
|
|
1296
1399
|
disableResize?: boolean;
|
|
1297
1400
|
};
|
|
1298
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
1401
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$1t & {
|
|
1299
1402
|
ref?: Ref<ElementRef<"textarea">>;
|
|
1300
1403
|
}) => react_jsx_runtime.JSX.Element;
|
|
1301
1404
|
|
|
1302
1405
|
declare const inputGroupVariants: (props?: ({
|
|
1303
1406
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1304
1407
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1305
|
-
sizing?: "
|
|
1408
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1306
1409
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1307
1410
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1308
|
-
type Props$
|
|
1411
|
+
type Props$1s = ComponentProps<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
1309
1412
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
1310
1413
|
};
|
|
1311
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1414
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$1s & {
|
|
1312
1415
|
ref?: Ref<ElementRef<"div">>;
|
|
1313
1416
|
}) => react_jsx_runtime.JSX.Element;
|
|
1314
1417
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
@@ -1335,7 +1438,7 @@ type OwnProps$1 = {
|
|
|
1335
1438
|
* Props for `Input`. Combines `InputGroup` chrome (variant / sizing / state / focusVariant) with
|
|
1336
1439
|
* input-specific slots (`prefix`, `leftSuffix`, `rightSuffix`, `allowClear`).
|
|
1337
1440
|
*/
|
|
1338
|
-
type Props$
|
|
1441
|
+
type Props$1r = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue'>;
|
|
1339
1442
|
/**
|
|
1340
1443
|
* Low-level text input with `InputGroup` chrome — addons, clear button, sizing, focus variants.
|
|
1341
1444
|
*
|
|
@@ -1345,12 +1448,12 @@ type Props$1p = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, '
|
|
|
1345
1448
|
* `FormGroup.TextInput`; for search use `SearchInput`; for forms with validation use `useAppForm`.
|
|
1346
1449
|
* **Composition:** wrap in `FormGroup` for shared error state, or render directly as a controlled input.
|
|
1347
1450
|
*/
|
|
1348
|
-
declare const Input$1: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, value, defaultValue, ...inputProps }: Props$
|
|
1451
|
+
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$1r & {
|
|
1349
1452
|
ref?: Ref<ElementRef<"input">>;
|
|
1350
1453
|
}) => react_jsx_runtime.JSX.Element;
|
|
1351
1454
|
|
|
1352
1455
|
type InputProps$1 = ComponentProps<typeof Input$1>;
|
|
1353
|
-
type Props$
|
|
1456
|
+
type Props$1q = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
1354
1457
|
defaultValue?: Date | null;
|
|
1355
1458
|
disabledDays?: Matcher | Matcher[];
|
|
1356
1459
|
endMonth?: Date;
|
|
@@ -1359,12 +1462,12 @@ type Props$1o = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
|
1359
1462
|
startMonth?: Date;
|
|
1360
1463
|
value?: Date | null;
|
|
1361
1464
|
};
|
|
1362
|
-
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$
|
|
1465
|
+
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$1q & {
|
|
1363
1466
|
ref?: Ref<ElementRef<"input">>;
|
|
1364
1467
|
}) => react_jsx_runtime.JSX.Element;
|
|
1365
1468
|
|
|
1366
1469
|
type InputProps = ComponentProps<typeof Input$1>;
|
|
1367
|
-
type Props$
|
|
1470
|
+
type Props$1p = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
1368
1471
|
defaultValue?: DateRange$1 | null;
|
|
1369
1472
|
endMonth?: Date;
|
|
1370
1473
|
onValueBlur?: (value: DateRange$1 | null) => void;
|
|
@@ -1372,7 +1475,7 @@ type Props$1n = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
|
1372
1475
|
startMonth?: Date;
|
|
1373
1476
|
value?: DateRange$1 | null;
|
|
1374
1477
|
};
|
|
1375
|
-
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$
|
|
1478
|
+
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$1p & {
|
|
1376
1479
|
ref?: Ref<ElementRef<"input">>;
|
|
1377
1480
|
}) => react_jsx_runtime.JSX.Element;
|
|
1378
1481
|
|
|
@@ -1390,7 +1493,7 @@ type OwnProps = {
|
|
|
1390
1493
|
* Props for `TextInput`. Extends `Input` with string-typed `value` / `defaultValue` and convenience
|
|
1391
1494
|
* `onValueChange` / `onValueBlur` callbacks. `null` / `undefined` are coerced to empty strings.
|
|
1392
1495
|
*/
|
|
1393
|
-
type Props$
|
|
1496
|
+
type Props$1o = OwnProps & NativeProps;
|
|
1394
1497
|
/**
|
|
1395
1498
|
* Standard text input with a string-only API. The default choice for a bare text input.
|
|
1396
1499
|
*
|
|
@@ -1402,42 +1505,42 @@ type Props$1m = OwnProps & NativeProps;
|
|
|
1402
1505
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1403
1506
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1404
1507
|
*/
|
|
1405
|
-
declare const TextInput: ({ ref, value, defaultValue, type, variant, onValueChange, onChange, onValueBlur, onBlur, ...props }: Props$
|
|
1508
|
+
declare const TextInput: ({ ref, value, defaultValue, type, variant, onValueChange, onChange, onValueBlur, onBlur, ...props }: Props$1o & {
|
|
1406
1509
|
ref?: Ref<ElementRef<"input">>;
|
|
1407
1510
|
}) => react_jsx_runtime.JSX.Element;
|
|
1408
1511
|
|
|
1409
|
-
type Props$
|
|
1410
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1512
|
+
type Props$1n = ComponentProps<typeof TextInput>;
|
|
1513
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$1n & {
|
|
1411
1514
|
ref?: Ref<ElementRef<"input">>;
|
|
1412
1515
|
}) => react_jsx_runtime.JSX.Element;
|
|
1413
1516
|
|
|
1414
|
-
type Props$
|
|
1517
|
+
type Props$1m = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1415
1518
|
viewPortClassName?: string;
|
|
1416
1519
|
scrollBarClassName?: string;
|
|
1417
1520
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1418
1521
|
};
|
|
1419
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1522
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$1m & {
|
|
1420
1523
|
ref?: Ref<ElementRef<"div">>;
|
|
1421
1524
|
}) => react_jsx_runtime.JSX.Element;
|
|
1422
1525
|
|
|
1423
|
-
type Props$
|
|
1424
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1526
|
+
type Props$1l = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1527
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$1l) => react_jsx_runtime.JSX.Element;
|
|
1425
1528
|
|
|
1426
|
-
type Props$
|
|
1427
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1529
|
+
type Props$1k = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1530
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$1k & {
|
|
1428
1531
|
ref?: Ref<ElementRef<"div">>;
|
|
1429
1532
|
}) => react_jsx_runtime.JSX.Element;
|
|
1430
1533
|
|
|
1431
|
-
type Props$
|
|
1432
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
1534
|
+
type Props$1j = ComponentProps<typeof Command$1.Group>;
|
|
1535
|
+
declare const CommandGroup: ({ className, ...props }: Props$1j) => react_jsx_runtime.JSX.Element;
|
|
1433
1536
|
|
|
1434
|
-
type Props$
|
|
1537
|
+
type Props$1i = ComponentProps<typeof Command$1.Item> & {
|
|
1435
1538
|
icon?: ReactNode;
|
|
1436
1539
|
checked?: boolean;
|
|
1437
1540
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1438
1541
|
actions?: ReactNode;
|
|
1439
1542
|
};
|
|
1440
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1543
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$1i) => react_jsx_runtime.JSX.Element;
|
|
1441
1544
|
|
|
1442
1545
|
/** Viewport-relative box of the highlighted target. */
|
|
1443
1546
|
type TargetRect = {
|
|
@@ -1457,7 +1560,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1457
1560
|
*/
|
|
1458
1561
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1459
1562
|
|
|
1460
|
-
type Props$
|
|
1563
|
+
type Props$1h = {
|
|
1461
1564
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1462
1565
|
rect: TargetRect | null;
|
|
1463
1566
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1479,7 +1582,7 @@ type Props$1f = {
|
|
|
1479
1582
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1480
1583
|
* "Guided tour (recipe)" story for the composition.
|
|
1481
1584
|
*/
|
|
1482
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1585
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$1h) => react_jsx_runtime.JSX.Element;
|
|
1483
1586
|
|
|
1484
1587
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
1485
1588
|
declare const Calendar: {
|
|
@@ -1523,23 +1626,22 @@ declare const DateRangePicker: {
|
|
|
1523
1626
|
displayName: string;
|
|
1524
1627
|
};
|
|
1525
1628
|
|
|
1526
|
-
type Props$
|
|
1629
|
+
type Props$1g = {
|
|
1527
1630
|
children?: ReactNode;
|
|
1528
1631
|
defaultSelected?: string | null;
|
|
1529
1632
|
selected?: string | null;
|
|
1530
1633
|
onSelect?: (time: string) => void;
|
|
1531
1634
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1532
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$
|
|
1635
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$1g) => react_jsx_runtime.JSX.Element;
|
|
1533
1636
|
|
|
1534
|
-
type
|
|
1637
|
+
type Props$1f = {
|
|
1535
1638
|
id?: string | number;
|
|
1536
1639
|
htmlFor?: string | number;
|
|
1537
|
-
} & Omit<LabelProps
|
|
1640
|
+
} & Omit<LabelProps, 'id' | 'htmlFor'>;
|
|
1538
1641
|
declare const Label: {
|
|
1539
|
-
({ className, children, id, htmlFor, ...rest }:
|
|
1540
|
-
Optional: ({ className }:
|
|
1541
|
-
|
|
1542
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1642
|
+
({ className, children, id, htmlFor, ...rest }: Props$1f): react_jsx_runtime.JSX.Element;
|
|
1643
|
+
Optional: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1644
|
+
Required: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1543
1645
|
};
|
|
1544
1646
|
|
|
1545
1647
|
declare const fieldBoxVariants: (props?: ({
|
|
@@ -1548,24 +1650,24 @@ declare const fieldBoxVariants: (props?: ({
|
|
|
1548
1650
|
|
|
1549
1651
|
declare const switchVariants: (props?: ({
|
|
1550
1652
|
variant?: "default" | "argo" | null | undefined;
|
|
1551
|
-
size?: "
|
|
1653
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
1552
1654
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1553
1655
|
|
|
1554
|
-
type Props$
|
|
1656
|
+
type Props$1e = {
|
|
1555
1657
|
id?: string | number;
|
|
1556
1658
|
children?: ReactNode;
|
|
1557
1659
|
description?: ReactNode;
|
|
1558
1660
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1559
1661
|
position?: 'start' | 'end';
|
|
1560
1662
|
} & Omit<ComponentProps<typeof Root$6>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
1561
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
1663
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$1e & {
|
|
1562
1664
|
ref?: Ref<ElementRef<"button">>;
|
|
1563
1665
|
}) => react_jsx_runtime.JSX.Element;
|
|
1564
1666
|
|
|
1565
1667
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
1566
1668
|
type Orientation = 'vertical' | 'horizontal';
|
|
1567
1669
|
|
|
1568
|
-
type Props$
|
|
1670
|
+
type Props$1d<Value> = {
|
|
1569
1671
|
variant?: Variant$7;
|
|
1570
1672
|
orientation?: Orientation;
|
|
1571
1673
|
onValueChange?: (value: Value) => void;
|
|
@@ -1573,7 +1675,7 @@ type Props$1c<Value> = {
|
|
|
1573
1675
|
defaultValue?: Value | null;
|
|
1574
1676
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1575
1677
|
declare const RadioGroup: {
|
|
1576
|
-
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
1678
|
+
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$1d<Value>): react_jsx_runtime.JSX.Element;
|
|
1577
1679
|
Item: <T extends string = string>({ children, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1578
1680
|
content?: string | undefined | undefined;
|
|
1579
1681
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -1870,34 +1972,34 @@ declare const RadioGroup: {
|
|
|
1870
1972
|
} & {
|
|
1871
1973
|
value: T;
|
|
1872
1974
|
tooltip?: react.ReactNode;
|
|
1873
|
-
tooltipVariant?: Props$
|
|
1874
|
-
tooltipPlacement?: Props$
|
|
1975
|
+
tooltipVariant?: Props$1N["variant"];
|
|
1976
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
1875
1977
|
description?: react.ReactNode;
|
|
1876
1978
|
}) => react_jsx_runtime.JSX.Element;
|
|
1877
1979
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
1878
1980
|
};
|
|
1879
1981
|
|
|
1880
|
-
type Props$
|
|
1982
|
+
type Props$1c = ComponentProps<typeof Thumb> & {
|
|
1881
1983
|
tooltip?: ReactNode;
|
|
1882
1984
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
1883
1985
|
};
|
|
1884
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
1986
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$1c & {
|
|
1885
1987
|
ref?: Ref<ElementRef<typeof Thumb>>;
|
|
1886
1988
|
}) => react_jsx_runtime.JSX.Element;
|
|
1887
1989
|
|
|
1888
1990
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
1889
|
-
type Props$
|
|
1991
|
+
type Props$1b = ComponentProps<typeof Root$7> & {
|
|
1890
1992
|
thumbTooltip?: ThumbTooltipFn;
|
|
1891
1993
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
1892
1994
|
rangeClassName?: string;
|
|
1893
1995
|
};
|
|
1894
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
1996
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$1b & {
|
|
1895
1997
|
ref?: Ref<ElementRef<typeof Root$7>>;
|
|
1896
1998
|
}) => react_jsx_runtime.JSX.Element;
|
|
1897
1999
|
|
|
1898
2000
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent$1<HTMLButtonElement>) => void;
|
|
1899
2001
|
type SearchBlurEventHandler = (value: string, event: FocusEvent$1<HTMLInputElement, Element>) => void;
|
|
1900
|
-
type Props$
|
|
2002
|
+
type Props$1a = {
|
|
1901
2003
|
suffix?: ReactNode;
|
|
1902
2004
|
disableDebounce?: boolean;
|
|
1903
2005
|
debounceDelay?: number;
|
|
@@ -1912,14 +2014,14 @@ type Props$19 = {
|
|
|
1912
2014
|
/**
|
|
1913
2015
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
1914
2016
|
*/
|
|
1915
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
2017
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$1a & {
|
|
1916
2018
|
ref?: Ref<ElementRef<"input">>;
|
|
1917
2019
|
}) => react_jsx_runtime.JSX.Element;
|
|
1918
2020
|
|
|
1919
|
-
type Props$
|
|
2021
|
+
type Props$19 = {
|
|
1920
2022
|
onSubmit: (value: string) => void;
|
|
1921
2023
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
1922
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
2024
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$19 & {
|
|
1923
2025
|
ref?: Ref<ElementRef<"input">>;
|
|
1924
2026
|
}) => react_jsx_runtime.JSX.Element;
|
|
1925
2027
|
|
|
@@ -1941,13 +2043,13 @@ type SelectRootProps = {
|
|
|
1941
2043
|
|
|
1942
2044
|
declare const variants$2: (props?: ({
|
|
1943
2045
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1944
|
-
sizing?: "
|
|
2046
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1945
2047
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1946
2048
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1947
|
-
type Props$
|
|
2049
|
+
type Props$18 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof variants$2>, 'variant'> & {
|
|
1948
2050
|
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'>;
|
|
1949
2051
|
} & Pick<ComponentProps<typeof _radix_ui_react_select.Value>, 'placeholder'>;
|
|
1950
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
2052
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$18 & {
|
|
1951
2053
|
ref?: Ref<ElementRef<"button">>;
|
|
1952
2054
|
}) => react_jsx_runtime.JSX.Element;
|
|
1953
2055
|
|
|
@@ -1966,7 +2068,7 @@ type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
|
1966
2068
|
* Props for `Select`. Combines Radix `Select.Root` control props with `Select.Trigger` chrome and the
|
|
1967
2069
|
* convenience `items` shape (flat list, or grouped lists with optional labels).
|
|
1968
2070
|
*/
|
|
1969
|
-
type Props$
|
|
2071
|
+
type Props$17 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className'> & {
|
|
1970
2072
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
1971
2073
|
};
|
|
1972
2074
|
/**
|
|
@@ -1981,16 +2083,16 @@ type Props$16 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange'
|
|
|
1981
2083
|
* `Select.Item`) for custom item layouts; the top-level `Select` covers the common cases.
|
|
1982
2084
|
*/
|
|
1983
2085
|
declare const Select: {
|
|
1984
|
-
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$
|
|
2086
|
+
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$17): react_jsx_runtime.JSX.Element;
|
|
1985
2087
|
Root: (props: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1986
2088
|
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: (_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
1987
2089
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1988
|
-
sizing?: "
|
|
2090
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1989
2091
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1990
2092
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
1991
2093
|
variant?: Exclude<class_variance_authority.VariantProps<(props?: ({
|
|
1992
2094
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1993
|
-
sizing?: "
|
|
2095
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1994
2096
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1995
2097
|
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo">;
|
|
1996
2098
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">) & {
|
|
@@ -2011,51 +2113,51 @@ declare const Select: {
|
|
|
2011
2113
|
Separator: ({ className, ...props }: _radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2012
2114
|
};
|
|
2013
2115
|
|
|
2014
|
-
type Props$
|
|
2116
|
+
type Props$16 = {
|
|
2015
2117
|
id?: string | number;
|
|
2016
2118
|
description?: ReactNode;
|
|
2017
2119
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
2018
2120
|
position?: 'start' | 'end';
|
|
2019
|
-
tooltip?: Props$
|
|
2020
|
-
tooltipPlacement?: Props$
|
|
2121
|
+
tooltip?: Props$1N['tooltip'];
|
|
2122
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
2021
2123
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
2022
|
-
declare function Checkbox(prop: Omit<Props$
|
|
2124
|
+
declare function Checkbox(prop: Omit<Props$16, 'checked' | 'onCheckedChange'> & {
|
|
2023
2125
|
checked?: boolean;
|
|
2024
2126
|
onCheckedChange?: (checked: boolean) => void;
|
|
2025
2127
|
}): ReactNode;
|
|
2026
|
-
declare function Checkbox(prop: Omit<Props$
|
|
2128
|
+
declare function Checkbox(prop: Omit<Props$16, 'checked' | 'onCheckedChange'> & {
|
|
2027
2129
|
checked?: CheckedState;
|
|
2028
2130
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
2029
2131
|
}): ReactNode;
|
|
2030
2132
|
|
|
2031
2133
|
type Variant$6 = 'check' | 'checkbox';
|
|
2032
|
-
type Props$
|
|
2134
|
+
type Props$15 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
2033
2135
|
className?: string;
|
|
2034
2136
|
variant?: Variant$6;
|
|
2035
2137
|
};
|
|
2036
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
2138
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$15 & {
|
|
2037
2139
|
ref?: Ref<ElementRef<"span">>;
|
|
2038
2140
|
}) => react_jsx_runtime.JSX.Element;
|
|
2039
2141
|
|
|
2040
|
-
type Props$
|
|
2041
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
2142
|
+
type Props$14 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
2143
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$14 & {
|
|
2042
2144
|
ref?: Ref<ElementRef<"input">>;
|
|
2043
2145
|
}) => react_jsx_runtime.JSX.Element;
|
|
2044
2146
|
|
|
2045
2147
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
2046
|
-
type Props$
|
|
2148
|
+
type Props$13 = InputGroupProps$6 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
2047
2149
|
className?: string;
|
|
2048
2150
|
};
|
|
2049
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
2151
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$13 & {
|
|
2050
2152
|
ref?: Ref<ElementRef<"div">>;
|
|
2051
2153
|
}) => react_jsx_runtime.JSX.Element;
|
|
2052
2154
|
|
|
2053
|
-
type Props$
|
|
2155
|
+
type Props$12 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
2054
2156
|
className?: string;
|
|
2055
2157
|
icon?: ReactNode;
|
|
2056
2158
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
2057
2159
|
};
|
|
2058
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
2160
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$12 & {
|
|
2059
2161
|
ref?: Ref<ElementRef<"div">>;
|
|
2060
2162
|
}) => react_jsx_runtime.JSX.Element;
|
|
2061
2163
|
|
|
@@ -2075,7 +2177,7 @@ type CreatableProps<Value> = {
|
|
|
2075
2177
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
2076
2178
|
queryToCreateValue?: (query: string) => Value;
|
|
2077
2179
|
};
|
|
2078
|
-
type Props$
|
|
2180
|
+
type Props$11<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps<Value> & {
|
|
2079
2181
|
items?: readonly (Value | GroupShape)[];
|
|
2080
2182
|
allowClear?: boolean;
|
|
2081
2183
|
empty?: ReactNode;
|
|
@@ -2087,12 +2189,12 @@ type Props$10<Value, GroupShape extends Group<Value> = Group<Value>> = PublicCom
|
|
|
2087
2189
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
2088
2190
|
};
|
|
2089
2191
|
declare const Combobox: {
|
|
2090
|
-
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$
|
|
2192
|
+
<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$11<Value, GroupShape>): react_jsx_runtime.JSX.Element;
|
|
2091
2193
|
Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
|
|
2092
2194
|
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: ({
|
|
2093
2195
|
variant?: "primary" | "secondary" | null | undefined;
|
|
2094
2196
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2095
|
-
sizing?: "
|
|
2197
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2096
2198
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
2097
2199
|
} & Omit<Omit<_base_ui_react_combobox.ComboboxInputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className" | "render"> & {
|
|
2098
2200
|
className?: string;
|
|
@@ -2470,7 +2572,7 @@ type Indicator = NonNullable<ComboboxItemProps['indicator']>;
|
|
|
2470
2572
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
2471
2573
|
* the default substring matcher.
|
|
2472
2574
|
*/
|
|
2473
|
-
type Props
|
|
2575
|
+
type Props$10<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter'> & Pick<ComboboxChipsProps, 'itemToChipLabel' | 'itemToChipColor' | 'maxVisible'> & {
|
|
2474
2576
|
items?: readonly (Value | GroupShape)[];
|
|
2475
2577
|
allowClear?: boolean;
|
|
2476
2578
|
allowSelectAll?: boolean;
|
|
@@ -2494,7 +2596,7 @@ type Props$$<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<Combo
|
|
|
2494
2596
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
2495
2597
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
2496
2598
|
*/
|
|
2497
|
-
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props
|
|
2599
|
+
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$10<Value, GroupShape>) => react_jsx_runtime.JSX.Element;
|
|
2498
2600
|
|
|
2499
2601
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
2500
2602
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
@@ -2507,12 +2609,12 @@ type TextareaOwnProps = {
|
|
|
2507
2609
|
disableResize?: boolean;
|
|
2508
2610
|
containerClassName?: string;
|
|
2509
2611
|
};
|
|
2510
|
-
type Props
|
|
2612
|
+
type Props$$ = InputGroupProps$5 & TextareaNativeProps & TextareaOwnProps;
|
|
2511
2613
|
/**
|
|
2512
2614
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
2513
2615
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
2514
2616
|
*/
|
|
2515
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props
|
|
2617
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props$$ & {
|
|
2516
2618
|
ref?: Ref<ElementRef<"textarea">>;
|
|
2517
2619
|
}) => react_jsx_runtime.JSX.Element;
|
|
2518
2620
|
|
|
@@ -2527,14 +2629,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
2527
2629
|
|
|
2528
2630
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2529
2631
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2530
|
-
type Props$
|
|
2632
|
+
type Props$_ = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
2531
2633
|
value?: string | null;
|
|
2532
2634
|
defaultValue?: string | null;
|
|
2533
2635
|
onValueChange?: (value: string) => void;
|
|
2534
2636
|
onValueBlur?: (value: string) => void;
|
|
2535
2637
|
allowClear?: boolean;
|
|
2536
2638
|
};
|
|
2537
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
2639
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$_ & {
|
|
2538
2640
|
ref?: Ref<ElementRef<"input">>;
|
|
2539
2641
|
}) => react_jsx_runtime.JSX.Element;
|
|
2540
2642
|
|
|
@@ -2571,12 +2673,12 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
2571
2673
|
setScheme: (next: ColorScheme) => void;
|
|
2572
2674
|
};
|
|
2573
2675
|
|
|
2574
|
-
type Props$
|
|
2676
|
+
type Props$Z = UseColorSchemeOptions & UseBrandOptions & {
|
|
2575
2677
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
2576
2678
|
brands?: readonly Brand[];
|
|
2577
2679
|
children: ReactNode;
|
|
2578
2680
|
};
|
|
2579
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$
|
|
2681
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$Z) => react_jsx_runtime.JSX.Element;
|
|
2580
2682
|
|
|
2581
2683
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
2582
2684
|
themes: Theme[];
|
|
@@ -2600,7 +2702,7 @@ declare const useArgoDesign: () => boolean;
|
|
|
2600
2702
|
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
2601
2703
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
2602
2704
|
|
|
2603
|
-
type Props$
|
|
2705
|
+
type Props$Y = {
|
|
2604
2706
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
2605
2707
|
value: ColorScheme;
|
|
2606
2708
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -2625,11 +2727,11 @@ type Props$X = {
|
|
|
2625
2727
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
2626
2728
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
2627
2729
|
*/
|
|
2628
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
2730
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$Y) => react_jsx_runtime.JSX.Element;
|
|
2629
2731
|
|
|
2630
2732
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2631
2733
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
2632
|
-
type Props$
|
|
2734
|
+
type Props$X = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
2633
2735
|
value?: number | null;
|
|
2634
2736
|
defaultValue?: number | null;
|
|
2635
2737
|
onValueChange?: (value: number | null) => void;
|
|
@@ -2637,13 +2739,13 @@ type Props$W = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
2637
2739
|
prefix?: ReactNode;
|
|
2638
2740
|
suffix?: ReactNode;
|
|
2639
2741
|
};
|
|
2640
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
2742
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$X & {
|
|
2641
2743
|
ref?: Ref<ElementRef<"input">>;
|
|
2642
2744
|
}) => react_jsx_runtime.JSX.Element;
|
|
2643
2745
|
|
|
2644
2746
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2645
2747
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
2646
|
-
type Props$
|
|
2748
|
+
type Props$W = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
2647
2749
|
value?: string | null;
|
|
2648
2750
|
defaultValue?: string | null;
|
|
2649
2751
|
onValueChange?: (value: string) => void;
|
|
@@ -2653,46 +2755,34 @@ type Props$V = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
|
2653
2755
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
2654
2756
|
defaultPasswordVisibility?: boolean;
|
|
2655
2757
|
};
|
|
2656
|
-
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$
|
|
2758
|
+
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$W & {
|
|
2657
2759
|
ref?: Ref<ElementRef<"input">>;
|
|
2658
2760
|
}) => react_jsx_runtime.JSX.Element;
|
|
2659
2761
|
|
|
2660
2762
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2661
2763
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2662
|
-
type Props$
|
|
2764
|
+
type Props$V = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
2663
2765
|
value?: string | null;
|
|
2664
2766
|
defaultValue?: string | null;
|
|
2665
2767
|
onValueChange?: (value: string | null) => void;
|
|
2666
2768
|
onValueBlur?: (value: string | null) => void;
|
|
2667
2769
|
allowClear?: boolean;
|
|
2668
2770
|
};
|
|
2669
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2771
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$V & {
|
|
2670
2772
|
ref?: Ref<ElementRef<"input">>;
|
|
2671
2773
|
}) => react_jsx_runtime.JSX.Element;
|
|
2672
2774
|
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2677
|
-
type SlotVariants = VariantProps<typeof slotVariants>;
|
|
2678
|
-
|
|
2679
|
-
type Sizing = NonNullable<SlotVariants['sizing']>;
|
|
2680
|
-
type State = NonNullable<SlotVariants['state']>;
|
|
2681
|
-
|
|
2682
|
-
type OtpInputProps = ComponentProps<typeof OTPInput>;
|
|
2683
|
-
type OtpInputChildrenProps = Omit<Extract<OtpInputProps, {
|
|
2775
|
+
type OtpInputSizing = 'sm' | 'md' | 'lg';
|
|
2776
|
+
type OtpElementProps = ComponentProps<typeof OTPInput>;
|
|
2777
|
+
type OtpElementChildrenProps = Omit<Extract<OtpElementProps, {
|
|
2684
2778
|
children: ReactNode;
|
|
2685
2779
|
}>, 'containerClassName'>;
|
|
2686
2780
|
type RootOwnProps = {
|
|
2687
|
-
|
|
2688
|
-
sizing?: Sizing;
|
|
2689
|
-
/** Drives the error ring/border on each slot and `aria-invalid` on the inner input. */
|
|
2690
|
-
state?: State;
|
|
2691
|
-
/** Class for the outer flex container that holds groups + separators. */
|
|
2781
|
+
sizing?: OtpInputSizing;
|
|
2692
2782
|
containerClassName?: string;
|
|
2693
2783
|
};
|
|
2694
|
-
type RootProps$4 =
|
|
2695
|
-
declare const
|
|
2784
|
+
type RootProps$4 = OtpElementChildrenProps & RootOwnProps;
|
|
2785
|
+
declare const OtpInput: (({ ref, sizing, pattern, containerClassName, className, children, "aria-invalid": ariaInvalid, ...rest }: RootProps$4 & {
|
|
2696
2786
|
ref?: Ref<HTMLInputElement>;
|
|
2697
2787
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2698
2788
|
Group: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
@@ -2708,12 +2798,6 @@ declare const InputOtp: (({ ref, sizing, state, pattern, containerClassName, cla
|
|
|
2708
2798
|
}) => react_jsx_runtime.JSX.Element;
|
|
2709
2799
|
};
|
|
2710
2800
|
|
|
2711
|
-
/**
|
|
2712
|
-
* Access the `input-otp` render context (slots, focus, hover) — use this inside a custom
|
|
2713
|
-
* child of `<InputOtp>` to render slots yourself. Throws if called outside `<InputOtp>`.
|
|
2714
|
-
*/
|
|
2715
|
-
declare const useInputOtpContext: () => RenderProps;
|
|
2716
|
-
|
|
2717
2801
|
type InputGroupProps = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2718
2802
|
type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2719
2803
|
/**
|
|
@@ -2722,7 +2806,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
2722
2806
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
2723
2807
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
2724
2808
|
*/
|
|
2725
|
-
type Props$
|
|
2809
|
+
type Props$U = InputGroupProps & InputGroupInputProps & {
|
|
2726
2810
|
value?: string | null;
|
|
2727
2811
|
defaultValue?: string | null;
|
|
2728
2812
|
/** 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`. */
|
|
@@ -2751,7 +2835,7 @@ type Props$T = InputGroupProps & InputGroupInputProps & {
|
|
|
2751
2835
|
*
|
|
2752
2836
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
2753
2837
|
*/
|
|
2754
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
2838
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$U & {
|
|
2755
2839
|
ref?: Ref<ElementRef<"input">>;
|
|
2756
2840
|
}) => react_jsx_runtime.JSX.Element;
|
|
2757
2841
|
|
|
@@ -2776,15 +2860,15 @@ declare const addonVariants: (props?: ({
|
|
|
2776
2860
|
align?: "inline-start" | "inline-end" | null | undefined;
|
|
2777
2861
|
variant?: "inline" | "floating" | null | undefined;
|
|
2778
2862
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2779
|
-
type Props$
|
|
2780
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
2863
|
+
type Props$T = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
2864
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$T & {
|
|
2781
2865
|
ref?: Ref<ElementRef<"div">>;
|
|
2782
2866
|
}) => react_jsx_runtime.JSX.Element;
|
|
2783
2867
|
|
|
2784
|
-
type Props$
|
|
2868
|
+
type Props$S = ComponentProps<'span'> & {
|
|
2785
2869
|
asChild?: boolean;
|
|
2786
2870
|
};
|
|
2787
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
2871
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$S & {
|
|
2788
2872
|
ref?: Ref<ElementRef<"span">>;
|
|
2789
2873
|
}) => react_jsx_runtime.JSX.Element;
|
|
2790
2874
|
|
|
@@ -2793,8 +2877,8 @@ declare const badgeRootVariants: (props?: ({
|
|
|
2793
2877
|
color?: "orange" | "blue" | "red" | "green" | "gray" | "cyan" | "purple" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2794
2878
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2795
2879
|
|
|
2796
|
-
type Props$
|
|
2797
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$
|
|
2880
|
+
type Props$R = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
2881
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$R & {
|
|
2798
2882
|
ref?: Ref<ElementRef<"div">>;
|
|
2799
2883
|
}) => react_jsx_runtime.JSX.Element;
|
|
2800
2884
|
|
|
@@ -2806,14 +2890,14 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
2806
2890
|
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
2807
2891
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
2808
2892
|
*/
|
|
2809
|
-
type Props$
|
|
2893
|
+
type Props$Q = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
2810
2894
|
prefix?: ReactNode;
|
|
2811
2895
|
prefixVariant?: AddonVariant;
|
|
2812
2896
|
suffix?: ReactNode;
|
|
2813
2897
|
suffixVariant?: AddonVariant;
|
|
2814
2898
|
labelClassName?: string;
|
|
2815
2899
|
};
|
|
2816
|
-
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
2900
|
+
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$Q & {
|
|
2817
2901
|
ref?: Ref<ElementRef<"span">>;
|
|
2818
2902
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2819
2903
|
Root: ({ ref, variant, color, className, children, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
@@ -2845,45 +2929,45 @@ type TagOption = {
|
|
|
2845
2929
|
disabled?: boolean;
|
|
2846
2930
|
};
|
|
2847
2931
|
|
|
2848
|
-
type Props$
|
|
2932
|
+
type Props$P = {
|
|
2849
2933
|
onCreate?: (search: string) => void;
|
|
2850
2934
|
} & Pick<ComponentProps<typeof Command.Item>, 'value'>;
|
|
2851
|
-
declare const TagSelectCreateItem: ({ onCreate, value }: Props$
|
|
2935
|
+
declare const TagSelectCreateItem: ({ onCreate, value }: Props$P) => react_jsx_runtime.JSX.Element;
|
|
2852
2936
|
|
|
2853
|
-
type Props$
|
|
2937
|
+
type Props$O = {
|
|
2854
2938
|
value: string[];
|
|
2855
2939
|
onAdd?: (selected: string[]) => void;
|
|
2856
2940
|
};
|
|
2857
|
-
declare const TagSelectValue: ({ value, onAdd }: Props$
|
|
2941
|
+
declare const TagSelectValue: ({ value, onAdd }: Props$O) => react_jsx_runtime.JSX.Element;
|
|
2858
2942
|
|
|
2859
|
-
type Props$
|
|
2943
|
+
type Props$N = {
|
|
2860
2944
|
options?: TagOption[];
|
|
2861
2945
|
} & Pick<ComponentProps<typeof TagSelectValue>, 'onAdd'> & Pick<ComponentProps<typeof TagSelectCreateItem>, 'onCreate'>;
|
|
2862
|
-
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$
|
|
2946
|
+
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
2863
2947
|
|
|
2864
|
-
type Props$
|
|
2948
|
+
type Props$M = {
|
|
2865
2949
|
children: ReactNode;
|
|
2866
2950
|
} & ComponentProps<typeof TagSelectList>;
|
|
2867
|
-
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$
|
|
2951
|
+
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$M) => react_jsx_runtime.JSX.Element;
|
|
2868
2952
|
|
|
2869
2953
|
type OnValueChangeHandler = (value: {
|
|
2870
2954
|
action: 'add' | 'remove';
|
|
2871
2955
|
tags: TagOption[];
|
|
2872
2956
|
allTags: TagOption[];
|
|
2873
2957
|
}) => void;
|
|
2874
|
-
type Props$
|
|
2958
|
+
type Props$L = {
|
|
2875
2959
|
value?: TagOption[];
|
|
2876
2960
|
onValueChange: OnValueChangeHandler;
|
|
2877
2961
|
disabled?: boolean;
|
|
2878
2962
|
} & Pick<ComponentProps<typeof TagSelectPopover>, 'options' | 'onCreate'>;
|
|
2879
|
-
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$
|
|
2963
|
+
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$L) => react_jsx_runtime.JSX.Element | null;
|
|
2880
2964
|
|
|
2881
2965
|
/**
|
|
2882
2966
|
* Props for `FileUpload`. The component is uncontrolled with respect to the file
|
|
2883
2967
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
2884
2968
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
2885
2969
|
*/
|
|
2886
|
-
type Props$
|
|
2970
|
+
type Props$K = {
|
|
2887
2971
|
/** MIME / extension filter passed straight to react-dropzone. */
|
|
2888
2972
|
accept?: Accept;
|
|
2889
2973
|
/** Max size per file, in bytes. Oversized files are rejected and surface in `onFilesRejected`. */
|
|
@@ -2902,7 +2986,7 @@ type Props$J = {
|
|
|
2902
2986
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
2903
2987
|
children: ReactNode;
|
|
2904
2988
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'>;
|
|
2905
|
-
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
2989
|
+
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$K) => react_jsx_runtime.JSX.Element) & {
|
|
2906
2990
|
DropZone: ({ children, className, ...rest }: {
|
|
2907
2991
|
children?: ReactNode;
|
|
2908
2992
|
} & Omit<HTMLAttributes<HTMLDivElement>, "children">) => react_jsx_runtime.JSX.Element;
|
|
@@ -2918,36 +3002,320 @@ type FormGroupContext = {
|
|
|
2918
3002
|
};
|
|
2919
3003
|
|
|
2920
3004
|
/**
|
|
2921
|
-
* Props for `FormGroup`. `state` from `FormGroupContext` ("default" | "error") propagates
|
|
2922
|
-
*
|
|
3005
|
+
* Props for `FormGroup`. `state` from `FormGroupContext` ("default" | "error" | "warning") propagates via
|
|
3006
|
+
* context to nested inputs. `FormGroup.Help` stays advisory (it reacts only to "warning"); validation errors
|
|
3007
|
+
* render through `FormGroup.Error`, not the input `state`.
|
|
2923
3008
|
*/
|
|
2924
|
-
type FormGroupProps =
|
|
2925
|
-
children: ReactNode;
|
|
2926
|
-
className?: string;
|
|
2927
|
-
testId?: string;
|
|
2928
|
-
} & FormGroupContext;
|
|
3009
|
+
type FormGroupProps = ComponentPropsWithRef<'div'> & FormGroupContext;
|
|
2929
3010
|
/**
|
|
2930
3011
|
* Label + input + help-text grouping with shared validation state. Provides the chrome for a single field.
|
|
2931
3012
|
*
|
|
2932
3013
|
* **When to use:** rendering a label + bare input + help/error text outside `useAppForm` (e.g. one-off
|
|
2933
|
-
* filter fields, settings panes).
|
|
2934
|
-
*
|
|
3014
|
+
* filter fields, settings panes). `state="error"` flips `FormGroup.TextInput` chrome without per-component
|
|
3015
|
+
* wiring; the error message itself renders via `FormGroup.Error` (`role="alert"`), while `FormGroup.Help`
|
|
3016
|
+
* stays advisory.
|
|
2935
3017
|
* **When NOT to use:** for a full form with validation and submit state, use `useAppForm` from `blocks/Form` —
|
|
2936
3018
|
* it composes `FormGroup` internally via the typed field connectors.
|
|
2937
3019
|
* **Composition:** nest a `Label`, then one of `FormGroup.TextInput` / `FormGroup.NumberInput` /
|
|
2938
|
-
* `FormGroup.ColorInput` / `FormGroup.Textarea`, optionally followed by `FormGroup.Help
|
|
3020
|
+
* `FormGroup.ColorInput` / `FormGroup.Textarea`, optionally followed by `FormGroup.Help`
|
|
3021
|
+
* (advisory description) or `FormGroup.Error` (validation error, announced via `role="alert"`).
|
|
2939
3022
|
*/
|
|
2940
3023
|
declare const FormGroup: {
|
|
2941
|
-
({ className, children, state,
|
|
3024
|
+
({ className, children, state, ...rest }: FormGroupProps): react_jsx_runtime.JSX.Element;
|
|
2942
3025
|
Help: ({ children, ...rest }: {
|
|
2943
|
-
|
|
2944
|
-
|
|
3026
|
+
content?: string | undefined | undefined;
|
|
3027
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
3028
|
+
prefix?: string | undefined | undefined;
|
|
3029
|
+
id?: string | undefined | undefined;
|
|
3030
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3031
|
+
slot?: string | undefined | undefined;
|
|
3032
|
+
style?: react.CSSProperties | undefined;
|
|
3033
|
+
title?: string | undefined | undefined;
|
|
3034
|
+
ref?: react.Ref<HTMLParagraphElement> | undefined;
|
|
3035
|
+
key?: react.Key | null | undefined;
|
|
3036
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
3037
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
3038
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
3039
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
3040
|
+
accessKey?: string | undefined | undefined;
|
|
3041
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
3042
|
+
autoFocus?: boolean | undefined | undefined;
|
|
3043
|
+
className?: string | undefined | undefined;
|
|
3044
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
3045
|
+
contextMenu?: string | undefined | undefined;
|
|
3046
|
+
dir?: string | undefined | undefined;
|
|
3047
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
3048
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
3049
|
+
hidden?: boolean | undefined | undefined;
|
|
3050
|
+
lang?: string | undefined | undefined;
|
|
3051
|
+
nonce?: string | undefined | undefined;
|
|
3052
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
3053
|
+
tabIndex?: number | undefined | undefined;
|
|
3054
|
+
radioGroup?: string | undefined | undefined;
|
|
3055
|
+
role?: react.AriaRole | undefined;
|
|
3056
|
+
about?: string | undefined | undefined;
|
|
3057
|
+
datatype?: string | undefined | undefined;
|
|
3058
|
+
inlist?: any;
|
|
3059
|
+
property?: string | undefined | undefined;
|
|
3060
|
+
rel?: string | undefined | undefined;
|
|
3061
|
+
resource?: string | undefined | undefined;
|
|
3062
|
+
rev?: string | undefined | undefined;
|
|
3063
|
+
typeof?: string | undefined | undefined;
|
|
3064
|
+
vocab?: string | undefined | undefined;
|
|
3065
|
+
autoCorrect?: string | undefined | undefined;
|
|
3066
|
+
autoSave?: string | undefined | undefined;
|
|
3067
|
+
color?: string | undefined | undefined;
|
|
3068
|
+
itemProp?: string | undefined | undefined;
|
|
3069
|
+
itemScope?: boolean | undefined | undefined;
|
|
3070
|
+
itemType?: string | undefined | undefined;
|
|
3071
|
+
itemID?: string | undefined | undefined;
|
|
3072
|
+
itemRef?: string | undefined | undefined;
|
|
3073
|
+
results?: number | undefined | undefined;
|
|
3074
|
+
security?: string | undefined | undefined;
|
|
3075
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
3076
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
3077
|
+
popoverTarget?: string | undefined | undefined;
|
|
3078
|
+
inert?: boolean | undefined | undefined;
|
|
3079
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
3080
|
+
is?: string | undefined | undefined;
|
|
3081
|
+
exportparts?: string | undefined | undefined;
|
|
3082
|
+
part?: string | undefined | undefined;
|
|
3083
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
3084
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
3085
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
3086
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
3087
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
3088
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
3089
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
3090
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
3091
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
3092
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
3093
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
3094
|
+
"aria-controls"?: string | undefined | undefined;
|
|
3095
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
3096
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
3097
|
+
"aria-description"?: string | undefined | undefined;
|
|
3098
|
+
"aria-details"?: string | undefined | undefined;
|
|
3099
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
3100
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
3101
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
3102
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
3103
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
3104
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
3105
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
3106
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
3107
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
3108
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
3109
|
+
"aria-label"?: string | undefined | undefined;
|
|
3110
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
3111
|
+
"aria-level"?: number | undefined | undefined;
|
|
3112
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
3113
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
3114
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
3115
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
3116
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
3117
|
+
"aria-owns"?: string | undefined | undefined;
|
|
3118
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
3119
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
3120
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
3121
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
3122
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
3123
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
3124
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
3125
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
3126
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
3127
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
3128
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
3129
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
3130
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
3131
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
3132
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
3133
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
3134
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
3135
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
3136
|
+
children?: react.ReactNode;
|
|
3137
|
+
dangerouslySetInnerHTML?: {
|
|
3138
|
+
__html: string | TrustedHTML;
|
|
3139
|
+
} | undefined | undefined;
|
|
3140
|
+
onCopy?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3141
|
+
onCopyCapture?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3142
|
+
onCut?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3143
|
+
onCutCapture?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3144
|
+
onPaste?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3145
|
+
onPasteCapture?: react.ClipboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3146
|
+
onCompositionEnd?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3147
|
+
onCompositionEndCapture?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3148
|
+
onCompositionStart?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3149
|
+
onCompositionStartCapture?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3150
|
+
onCompositionUpdate?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3151
|
+
onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLParagraphElement> | undefined;
|
|
3152
|
+
onFocus?: react.FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
3153
|
+
onFocusCapture?: react.FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
3154
|
+
onBlur?: react.FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
3155
|
+
onBlurCapture?: react.FocusEventHandler<HTMLParagraphElement> | undefined;
|
|
3156
|
+
onChange?: react.ChangeEventHandler<HTMLParagraphElement, Element> | undefined;
|
|
3157
|
+
onChangeCapture?: react.ChangeEventHandler<HTMLParagraphElement, Element> | undefined;
|
|
3158
|
+
onBeforeInput?: react.InputEventHandler<HTMLParagraphElement> | undefined;
|
|
3159
|
+
onBeforeInputCapture?: react.InputEventHandler<HTMLParagraphElement> | undefined;
|
|
3160
|
+
onInput?: react.InputEventHandler<HTMLParagraphElement> | undefined;
|
|
3161
|
+
onInputCapture?: react.InputEventHandler<HTMLParagraphElement> | undefined;
|
|
3162
|
+
onReset?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3163
|
+
onResetCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3164
|
+
onSubmit?: react.SubmitEventHandler<HTMLParagraphElement> | undefined;
|
|
3165
|
+
onSubmitCapture?: react.SubmitEventHandler<HTMLParagraphElement> | undefined;
|
|
3166
|
+
onInvalid?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3167
|
+
onInvalidCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3168
|
+
onLoad?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3169
|
+
onLoadCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3170
|
+
onError?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3171
|
+
onErrorCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3172
|
+
onKeyDown?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3173
|
+
onKeyDownCapture?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3174
|
+
onKeyPress?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3175
|
+
onKeyPressCapture?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3176
|
+
onKeyUp?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3177
|
+
onKeyUpCapture?: react.KeyboardEventHandler<HTMLParagraphElement> | undefined;
|
|
3178
|
+
onAbort?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3179
|
+
onAbortCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3180
|
+
onCanPlay?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3181
|
+
onCanPlayCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3182
|
+
onCanPlayThrough?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3183
|
+
onCanPlayThroughCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3184
|
+
onDurationChange?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3185
|
+
onDurationChangeCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3186
|
+
onEmptied?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3187
|
+
onEmptiedCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3188
|
+
onEncrypted?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3189
|
+
onEncryptedCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3190
|
+
onEnded?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3191
|
+
onEndedCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3192
|
+
onLoadedData?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3193
|
+
onLoadedDataCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3194
|
+
onLoadedMetadata?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3195
|
+
onLoadedMetadataCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3196
|
+
onLoadStart?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3197
|
+
onLoadStartCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3198
|
+
onPause?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3199
|
+
onPauseCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3200
|
+
onPlay?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3201
|
+
onPlayCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3202
|
+
onPlaying?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3203
|
+
onPlayingCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3204
|
+
onProgress?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3205
|
+
onProgressCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3206
|
+
onRateChange?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3207
|
+
onRateChangeCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3208
|
+
onSeeked?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3209
|
+
onSeekedCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3210
|
+
onSeeking?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3211
|
+
onSeekingCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3212
|
+
onStalled?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3213
|
+
onStalledCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3214
|
+
onSuspend?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3215
|
+
onSuspendCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3216
|
+
onTimeUpdate?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3217
|
+
onTimeUpdateCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3218
|
+
onVolumeChange?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3219
|
+
onVolumeChangeCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3220
|
+
onWaiting?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3221
|
+
onWaitingCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3222
|
+
onAuxClick?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3223
|
+
onAuxClickCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3224
|
+
onClick?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3225
|
+
onClickCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3226
|
+
onContextMenu?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3227
|
+
onContextMenuCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3228
|
+
onDoubleClick?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3229
|
+
onDoubleClickCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3230
|
+
onDrag?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3231
|
+
onDragCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3232
|
+
onDragEnd?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3233
|
+
onDragEndCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3234
|
+
onDragEnter?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3235
|
+
onDragEnterCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3236
|
+
onDragExit?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3237
|
+
onDragExitCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3238
|
+
onDragLeave?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3239
|
+
onDragLeaveCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3240
|
+
onDragOver?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3241
|
+
onDragOverCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3242
|
+
onDragStart?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3243
|
+
onDragStartCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3244
|
+
onDrop?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3245
|
+
onDropCapture?: react.DragEventHandler<HTMLParagraphElement> | undefined;
|
|
3246
|
+
onMouseDown?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3247
|
+
onMouseDownCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3248
|
+
onMouseEnter?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3249
|
+
onMouseLeave?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3250
|
+
onMouseMove?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3251
|
+
onMouseMoveCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3252
|
+
onMouseOut?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3253
|
+
onMouseOutCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3254
|
+
onMouseOver?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3255
|
+
onMouseOverCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3256
|
+
onMouseUp?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3257
|
+
onMouseUpCapture?: react.MouseEventHandler<HTMLParagraphElement> | undefined;
|
|
3258
|
+
onSelect?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3259
|
+
onSelectCapture?: react.ReactEventHandler<HTMLParagraphElement> | undefined;
|
|
3260
|
+
onTouchCancel?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3261
|
+
onTouchCancelCapture?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3262
|
+
onTouchEnd?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3263
|
+
onTouchEndCapture?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3264
|
+
onTouchMove?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3265
|
+
onTouchMoveCapture?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3266
|
+
onTouchStart?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3267
|
+
onTouchStartCapture?: react.TouchEventHandler<HTMLParagraphElement> | undefined;
|
|
3268
|
+
onPointerDown?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3269
|
+
onPointerDownCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3270
|
+
onPointerMove?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3271
|
+
onPointerMoveCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3272
|
+
onPointerUp?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3273
|
+
onPointerUpCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3274
|
+
onPointerCancel?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3275
|
+
onPointerCancelCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3276
|
+
onPointerEnter?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3277
|
+
onPointerLeave?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3278
|
+
onPointerOver?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3279
|
+
onPointerOverCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3280
|
+
onPointerOut?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3281
|
+
onPointerOutCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3282
|
+
onGotPointerCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3283
|
+
onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3284
|
+
onLostPointerCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3285
|
+
onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLParagraphElement> | undefined;
|
|
3286
|
+
onScroll?: react.UIEventHandler<HTMLParagraphElement> | undefined;
|
|
3287
|
+
onScrollCapture?: react.UIEventHandler<HTMLParagraphElement> | undefined;
|
|
3288
|
+
onScrollEnd?: react.UIEventHandler<HTMLParagraphElement> | undefined;
|
|
3289
|
+
onScrollEndCapture?: react.UIEventHandler<HTMLParagraphElement> | undefined;
|
|
3290
|
+
onWheel?: react.WheelEventHandler<HTMLParagraphElement> | undefined;
|
|
3291
|
+
onWheelCapture?: react.WheelEventHandler<HTMLParagraphElement> | undefined;
|
|
3292
|
+
onAnimationStart?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3293
|
+
onAnimationStartCapture?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3294
|
+
onAnimationEnd?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3295
|
+
onAnimationEndCapture?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3296
|
+
onAnimationIteration?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3297
|
+
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLParagraphElement> | undefined;
|
|
3298
|
+
onToggle?: react.ToggleEventHandler<HTMLParagraphElement> | undefined;
|
|
3299
|
+
onBeforeToggle?: react.ToggleEventHandler<HTMLParagraphElement> | undefined;
|
|
3300
|
+
onTransitionCancel?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3301
|
+
onTransitionCancelCapture?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3302
|
+
onTransitionEnd?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3303
|
+
onTransitionEndCapture?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3304
|
+
onTransitionRun?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3305
|
+
onTransitionRunCapture?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3306
|
+
onTransitionStart?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
3307
|
+
onTransitionStartCapture?: react.TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
2945
3308
|
}) => react_jsx_runtime.JSX.Element;
|
|
3309
|
+
Error: ({ children, className, errors, ...rest }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & {
|
|
3310
|
+
errors?: readonly (string | {
|
|
3311
|
+
message?: string;
|
|
3312
|
+
} | undefined)[];
|
|
3313
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
2946
3314
|
TextInput: ({ ref, ...props }: {
|
|
2947
3315
|
content?: string | undefined | undefined;
|
|
2948
3316
|
size?: number | undefined | undefined;
|
|
2949
3317
|
translate?: "yes" | "no" | undefined | undefined;
|
|
2950
|
-
prefix?: ReactNode;
|
|
3318
|
+
prefix?: react.ReactNode;
|
|
2951
3319
|
id?: string | undefined | undefined;
|
|
2952
3320
|
name?: string | undefined | undefined;
|
|
2953
3321
|
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
@@ -3059,7 +3427,7 @@ declare const FormGroup: {
|
|
|
3059
3427
|
"aria-valuemin"?: number | undefined | undefined;
|
|
3060
3428
|
"aria-valuenow"?: number | undefined | undefined;
|
|
3061
3429
|
"aria-valuetext"?: string | undefined | undefined;
|
|
3062
|
-
children?: ReactNode;
|
|
3430
|
+
children?: react.ReactNode;
|
|
3063
3431
|
dangerouslySetInnerHTML?: {
|
|
3064
3432
|
__html: string | TrustedHTML;
|
|
3065
3433
|
} | undefined | undefined;
|
|
@@ -3257,11 +3625,11 @@ declare const FormGroup: {
|
|
|
3257
3625
|
placeholder?: string | undefined | undefined;
|
|
3258
3626
|
readOnly?: boolean | undefined | undefined;
|
|
3259
3627
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3260
|
-
sizing?: "
|
|
3628
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3261
3629
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3262
|
-
rightSuffix?: ReactNode;
|
|
3630
|
+
rightSuffix?: react.ReactNode;
|
|
3263
3631
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
3264
|
-
leftSuffix?: ReactNode;
|
|
3632
|
+
leftSuffix?: react.ReactNode;
|
|
3265
3633
|
allowClear?: boolean | undefined;
|
|
3266
3634
|
onClear?: (() => void) | undefined;
|
|
3267
3635
|
testId?: string | undefined;
|
|
@@ -3272,7 +3640,7 @@ declare const FormGroup: {
|
|
|
3272
3640
|
content?: string | undefined | undefined;
|
|
3273
3641
|
size?: number | undefined | undefined;
|
|
3274
3642
|
translate?: "yes" | "no" | undefined | undefined;
|
|
3275
|
-
prefix?: ReactNode;
|
|
3643
|
+
prefix?: react.ReactNode;
|
|
3276
3644
|
id?: string | undefined | undefined;
|
|
3277
3645
|
name?: string | undefined | undefined;
|
|
3278
3646
|
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
@@ -3384,7 +3752,7 @@ declare const FormGroup: {
|
|
|
3384
3752
|
"aria-valuemin"?: number | undefined | undefined;
|
|
3385
3753
|
"aria-valuenow"?: number | undefined | undefined;
|
|
3386
3754
|
"aria-valuetext"?: string | undefined | undefined;
|
|
3387
|
-
children?: ReactNode;
|
|
3755
|
+
children?: react.ReactNode;
|
|
3388
3756
|
dangerouslySetInnerHTML?: {
|
|
3389
3757
|
__html: string | TrustedHTML;
|
|
3390
3758
|
} | undefined | undefined;
|
|
@@ -3583,9 +3951,9 @@ declare const FormGroup: {
|
|
|
3583
3951
|
placeholder?: string | undefined | undefined;
|
|
3584
3952
|
readOnly?: boolean | undefined | undefined;
|
|
3585
3953
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
3586
|
-
sizing?: "
|
|
3954
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3587
3955
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3588
|
-
suffix?: ReactNode;
|
|
3956
|
+
suffix?: react.ReactNode;
|
|
3589
3957
|
} & {
|
|
3590
3958
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
3591
3959
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -3705,7 +4073,7 @@ declare const FormGroup: {
|
|
|
3705
4073
|
"aria-valuemin"?: number | undefined | undefined;
|
|
3706
4074
|
"aria-valuenow"?: number | undefined | undefined;
|
|
3707
4075
|
"aria-valuetext"?: string | undefined | undefined;
|
|
3708
|
-
children?: ReactNode;
|
|
4076
|
+
children?: react.ReactNode;
|
|
3709
4077
|
dangerouslySetInnerHTML?: {
|
|
3710
4078
|
__html: string | TrustedHTML;
|
|
3711
4079
|
} | undefined | undefined;
|
|
@@ -3905,7 +4273,7 @@ declare const FormGroup: {
|
|
|
3905
4273
|
placeholder?: string | undefined | undefined;
|
|
3906
4274
|
readOnly?: boolean | undefined | undefined;
|
|
3907
4275
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3908
|
-
sizing?: "
|
|
4276
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3909
4277
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3910
4278
|
allowClear?: boolean | undefined;
|
|
3911
4279
|
} & {
|
|
@@ -3921,7 +4289,7 @@ declare const FormGroup: {
|
|
|
3921
4289
|
variant?: "primary" | "secondary" | null | undefined;
|
|
3922
4290
|
form?: string | undefined | undefined;
|
|
3923
4291
|
slot?: string | undefined | undefined;
|
|
3924
|
-
style?: (Omit<react.CSSProperties, "
|
|
4292
|
+
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
3925
4293
|
height?: number;
|
|
3926
4294
|
}) | undefined;
|
|
3927
4295
|
title?: string | undefined | undefined;
|
|
@@ -4027,7 +4395,7 @@ declare const FormGroup: {
|
|
|
4027
4395
|
"aria-valuemin"?: number | undefined | undefined;
|
|
4028
4396
|
"aria-valuenow"?: number | undefined | undefined;
|
|
4029
4397
|
"aria-valuetext"?: string | undefined | undefined;
|
|
4030
|
-
children?: ReactNode;
|
|
4398
|
+
children?: react.ReactNode;
|
|
4031
4399
|
dangerouslySetInnerHTML?: {
|
|
4032
4400
|
__html: string | TrustedHTML;
|
|
4033
4401
|
} | undefined | undefined;
|
|
@@ -4217,56 +4585,52 @@ declare const FormGroup: {
|
|
|
4217
4585
|
cacheMeasurements?: boolean | undefined;
|
|
4218
4586
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
4219
4587
|
disableResize?: boolean | undefined;
|
|
4220
|
-
sizing?: "
|
|
4588
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
4221
4589
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
4222
4590
|
containerClassName?: string | undefined;
|
|
4223
4591
|
}) => react_jsx_runtime.JSX.Element;
|
|
4224
4592
|
};
|
|
4225
4593
|
|
|
4226
4594
|
declare const helpVariants: (props?: ({
|
|
4227
|
-
state?: "warning" | "default" |
|
|
4595
|
+
state?: "warning" | "default" | null | undefined;
|
|
4228
4596
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4229
|
-
type Props$
|
|
4230
|
-
|
|
4231
|
-
children?: ReactNode;
|
|
4232
|
-
testId?: string;
|
|
4233
|
-
} & VariantProps<typeof helpVariants>;
|
|
4234
|
-
declare const HelpBlock: ({ children, className, state, testId }: Props$I) => react_jsx_runtime.JSX.Element | null;
|
|
4597
|
+
type Props$J = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4598
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$J) => react_jsx_runtime.JSX.Element | null;
|
|
4235
4599
|
|
|
4236
4600
|
type AnswerItem = {
|
|
4237
4601
|
question: string;
|
|
4238
4602
|
answer?: string;
|
|
4239
4603
|
};
|
|
4240
4604
|
type Variant$5 = 'success' | 'dismissed';
|
|
4241
|
-
type Props$
|
|
4605
|
+
type Props$I = {
|
|
4242
4606
|
items: readonly AnswerItem[];
|
|
4243
4607
|
variant?: Variant$5;
|
|
4244
4608
|
noAnswerLabel?: string;
|
|
4245
4609
|
};
|
|
4246
|
-
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$
|
|
4610
|
+
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$I) => react_jsx_runtime.JSX.Element;
|
|
4247
4611
|
|
|
4248
4612
|
type Variant$4 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4249
|
-
type Props$
|
|
4613
|
+
type Props$H = {
|
|
4250
4614
|
isExpanded: boolean;
|
|
4251
4615
|
onToggle: () => void;
|
|
4252
4616
|
label: ReactNode;
|
|
4253
4617
|
variant?: Variant$4;
|
|
4254
4618
|
};
|
|
4255
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$
|
|
4619
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$H) => react_jsx_runtime.JSX.Element;
|
|
4256
4620
|
|
|
4257
|
-
type Props$
|
|
4621
|
+
type Props$G = {
|
|
4258
4622
|
children: ReactNode;
|
|
4259
4623
|
};
|
|
4260
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
4624
|
+
declare const InlineStepDetail: ({ children }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
4261
4625
|
|
|
4262
4626
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4263
|
-
type Props$
|
|
4627
|
+
type Props$F = {
|
|
4264
4628
|
variant: Variant$3;
|
|
4265
4629
|
children: ReactNode;
|
|
4266
4630
|
};
|
|
4267
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
4631
|
+
declare const InlineStepLabel: ({ variant, children }: Props$F) => react_jsx_runtime.JSX.Element;
|
|
4268
4632
|
|
|
4269
|
-
type Props$
|
|
4633
|
+
type Props$E = {
|
|
4270
4634
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4271
4635
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4272
4636
|
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
@@ -4278,9 +4642,9 @@ type Props$D = {
|
|
|
4278
4642
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4279
4643
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4280
4644
|
*/
|
|
4281
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4645
|
+
declare const Markdown: ({ children, className }: Props$E) => react_jsx_runtime.JSX.Element;
|
|
4282
4646
|
|
|
4283
|
-
type Props$
|
|
4647
|
+
type Props$D = {
|
|
4284
4648
|
user?: {
|
|
4285
4649
|
name: string | undefined;
|
|
4286
4650
|
email: string | undefined;
|
|
@@ -4290,17 +4654,17 @@ type Props$C = {
|
|
|
4290
4654
|
size?: number;
|
|
4291
4655
|
variant?: 'circle' | 'rounded';
|
|
4292
4656
|
} & ComponentProps<'span'>;
|
|
4293
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4657
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$D & {
|
|
4294
4658
|
ref?: Ref<ElementRef<"span">>;
|
|
4295
4659
|
}) => react_jsx_runtime.JSX.Element;
|
|
4296
4660
|
|
|
4297
|
-
type Props$
|
|
4661
|
+
type Props$C = {
|
|
4298
4662
|
variant: 'user' | 'assistant';
|
|
4299
4663
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4300
4664
|
actions?: ReactNode;
|
|
4301
4665
|
createdAt?: string;
|
|
4302
4666
|
} & PropsWithChildren;
|
|
4303
|
-
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$
|
|
4667
|
+
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$C) => react_jsx_runtime.JSX.Element;
|
|
4304
4668
|
|
|
4305
4669
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
4306
4670
|
type PlanApprovalProps = {
|
|
@@ -4348,17 +4712,17 @@ type PromptCommand = {
|
|
|
4348
4712
|
};
|
|
4349
4713
|
|
|
4350
4714
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4351
|
-
type Props$
|
|
4715
|
+
type Props$B = Pick<ComponentProps<typeof Button>, 'disabled'> & {
|
|
4352
4716
|
status?: SubmitStatus;
|
|
4353
4717
|
};
|
|
4354
|
-
declare const PromptInputSubmit: ({ ref, disabled, status, }: Props$
|
|
4718
|
+
declare const PromptInputSubmit: ({ ref, disabled, status, }: Props$B & {
|
|
4355
4719
|
ref?: Ref<ElementRef<"button">>;
|
|
4356
4720
|
}) => react_jsx_runtime.JSX.Element;
|
|
4357
4721
|
|
|
4358
4722
|
declare const promptInputVariants: (props?: ({
|
|
4359
4723
|
variant?: "inline" | "default" | null | undefined;
|
|
4360
4724
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4361
|
-
type Props$
|
|
4725
|
+
type Props$A = {
|
|
4362
4726
|
onSend?: (value: string) => void;
|
|
4363
4727
|
onAbort?: () => void;
|
|
4364
4728
|
onContinue?: () => void;
|
|
@@ -4372,7 +4736,7 @@ type Props$z = {
|
|
|
4372
4736
|
commands?: PromptCommand[];
|
|
4373
4737
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof react_textarea_autosize__default>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4374
4738
|
declare const PromptInput: {
|
|
4375
|
-
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4739
|
+
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$A): react_jsx_runtime.JSX.Element;
|
|
4376
4740
|
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & {
|
|
4377
4741
|
ref?: react.Ref<ElementRef<"button">>;
|
|
4378
4742
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -4384,7 +4748,7 @@ type QuestionOption = {
|
|
|
4384
4748
|
description?: string;
|
|
4385
4749
|
preview?: string;
|
|
4386
4750
|
};
|
|
4387
|
-
type Props$
|
|
4751
|
+
type Props$z = {
|
|
4388
4752
|
question: string;
|
|
4389
4753
|
header?: string;
|
|
4390
4754
|
options: readonly QuestionOption[];
|
|
@@ -4407,7 +4771,7 @@ type Props$y = {
|
|
|
4407
4771
|
renderPreview?: (content: string) => ReactNode;
|
|
4408
4772
|
className?: string;
|
|
4409
4773
|
};
|
|
4410
|
-
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$
|
|
4774
|
+
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$z) => react_jsx_runtime.JSX.Element;
|
|
4411
4775
|
|
|
4412
4776
|
type QuestionStep = {
|
|
4413
4777
|
question: string;
|
|
@@ -4421,7 +4785,7 @@ type QuestionAnswers = {
|
|
|
4421
4785
|
selections: Record<number, readonly string[]>;
|
|
4422
4786
|
customAnswers: Record<number, string>;
|
|
4423
4787
|
};
|
|
4424
|
-
type Props$
|
|
4788
|
+
type Props$y = {
|
|
4425
4789
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
4426
4790
|
showSkip?: boolean;
|
|
4427
4791
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -4429,16 +4793,16 @@ type Props$x = {
|
|
|
4429
4793
|
renderPreview?: (content: string) => ReactNode;
|
|
4430
4794
|
className?: string;
|
|
4431
4795
|
};
|
|
4432
|
-
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$
|
|
4796
|
+
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
4433
4797
|
|
|
4434
|
-
type Props$
|
|
4798
|
+
type Props$x = {
|
|
4435
4799
|
label: string;
|
|
4436
4800
|
disabled?: boolean;
|
|
4437
4801
|
onClick: () => void;
|
|
4438
4802
|
icon?: ReactNode;
|
|
4439
4803
|
className?: string;
|
|
4440
4804
|
};
|
|
4441
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4805
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$x) => react_jsx_runtime.JSX.Element;
|
|
4442
4806
|
|
|
4443
4807
|
type ThinkingIndicatorProps = {
|
|
4444
4808
|
label?: string;
|
|
@@ -4497,7 +4861,7 @@ type ToolCallChipProps = {
|
|
|
4497
4861
|
*/
|
|
4498
4862
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className, }: ToolCallChipProps) => react_jsx_runtime.JSX.Element;
|
|
4499
4863
|
|
|
4500
|
-
type Props$
|
|
4864
|
+
type Props$w = {
|
|
4501
4865
|
value: number;
|
|
4502
4866
|
alert?: boolean;
|
|
4503
4867
|
children: ReactNode;
|
|
@@ -4511,19 +4875,19 @@ type Props$v = {
|
|
|
4511
4875
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4512
4876
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4513
4877
|
};
|
|
4514
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$
|
|
4878
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
4515
4879
|
|
|
4516
|
-
type Props$
|
|
4880
|
+
type Props$v = {
|
|
4517
4881
|
value: number;
|
|
4518
4882
|
size?: number;
|
|
4519
4883
|
strokeWidth?: number;
|
|
4520
4884
|
className?: string;
|
|
4521
4885
|
};
|
|
4522
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4886
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$v) => react_jsx_runtime.JSX.Element;
|
|
4523
4887
|
|
|
4524
|
-
type Props$
|
|
4888
|
+
type Props$u = ComponentProps<typeof Root$9>;
|
|
4525
4889
|
declare const Collapsible: {
|
|
4526
|
-
(props: Props$
|
|
4890
|
+
(props: Props$u): react_jsx_runtime.JSX.Element;
|
|
4527
4891
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
4528
4892
|
Content: ({ ref, className, children, ...props }: Omit<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
4529
4893
|
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
@@ -4531,10 +4895,10 @@ declare const Collapsible: {
|
|
|
4531
4895
|
};
|
|
4532
4896
|
|
|
4533
4897
|
type Variant$2 = 'info' | 'warning' | 'error' | 'success';
|
|
4534
|
-
type Props$
|
|
4898
|
+
type Props$t = {
|
|
4535
4899
|
variant?: Variant$2;
|
|
4536
4900
|
} & ComponentProps<'div'>;
|
|
4537
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4901
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$t & {
|
|
4538
4902
|
ref?: Ref<ElementRef<"div">>;
|
|
4539
4903
|
}) => react_jsx_runtime.JSX.Element;
|
|
4540
4904
|
|
|
@@ -4559,7 +4923,7 @@ type DefaultProps = {
|
|
|
4559
4923
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4560
4924
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4561
4925
|
*/
|
|
4562
|
-
type Props$
|
|
4926
|
+
type Props$s = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4563
4927
|
/**
|
|
4564
4928
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4565
4929
|
*
|
|
@@ -4573,13 +4937,13 @@ type Props$r = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4573
4937
|
*
|
|
4574
4938
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4575
4939
|
*/
|
|
4576
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
4940
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$s) => react_jsx_runtime.JSX.Element;
|
|
4577
4941
|
|
|
4578
4942
|
declare const variants$1: (props?: ({
|
|
4579
4943
|
variant?: "success" | "warning" | "info" | "default" | "error" | null | undefined;
|
|
4580
4944
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4581
4945
|
type Variants = VariantProps<typeof variants$1>;
|
|
4582
|
-
type Props$
|
|
4946
|
+
type Props$r = {
|
|
4583
4947
|
id: string | number;
|
|
4584
4948
|
title: ReactNode;
|
|
4585
4949
|
icon?: ReactNode;
|
|
@@ -4588,7 +4952,7 @@ type Props$q = {
|
|
|
4588
4952
|
loading?: boolean;
|
|
4589
4953
|
duration?: number;
|
|
4590
4954
|
} & Variants;
|
|
4591
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$
|
|
4955
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
4592
4956
|
|
|
4593
4957
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
4594
4958
|
type Title = ToastProps['title'] | ((opts: {
|
|
@@ -4609,7 +4973,7 @@ declare const toast: {
|
|
|
4609
4973
|
dismissAll(): string | number;
|
|
4610
4974
|
};
|
|
4611
4975
|
|
|
4612
|
-
type Props$
|
|
4976
|
+
type Props$q = {
|
|
4613
4977
|
enabled?: boolean;
|
|
4614
4978
|
} & Parameters<typeof toast>[0];
|
|
4615
4979
|
/**
|
|
@@ -4622,22 +4986,22 @@ type Props$p = {
|
|
|
4622
4986
|
* Use `toast()` for transient feedback after a user action
|
|
4623
4987
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
4624
4988
|
*/
|
|
4625
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4989
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$q) => void;
|
|
4626
4990
|
|
|
4627
4991
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
4628
4992
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
4629
4993
|
|
|
4630
|
-
type Props$
|
|
4994
|
+
type Props$p = {
|
|
4631
4995
|
children?: ReactNode;
|
|
4632
4996
|
};
|
|
4633
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4997
|
+
declare const EmptySearchContent: ({ children }: Props$p) => react_jsx_runtime.JSX.Element;
|
|
4634
4998
|
|
|
4635
|
-
type Props$
|
|
4999
|
+
type Props$o = {
|
|
4636
5000
|
title: string;
|
|
4637
5001
|
children: ReactNode;
|
|
4638
5002
|
className?: string;
|
|
4639
5003
|
};
|
|
4640
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
5004
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$o) => react_jsx_runtime.JSX.Element;
|
|
4641
5005
|
|
|
4642
5006
|
declare const emptyStateClassnames: (props?: ({
|
|
4643
5007
|
variant?: "compact" | "default" | null | undefined;
|
|
@@ -4777,8 +5141,8 @@ declare const variants: (props?: ({
|
|
|
4777
5141
|
variant?: "success" | "default" | null | undefined;
|
|
4778
5142
|
size?: "sm" | "lg" | null | undefined;
|
|
4779
5143
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4780
|
-
type Props$
|
|
4781
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5144
|
+
type Props$n = ComponentProps<typeof Root$a> & VariantProps<typeof variants>;
|
|
5145
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$n & {
|
|
4782
5146
|
ref?: Ref<ElementRef<typeof Root$a>>;
|
|
4783
5147
|
}) => react_jsx_runtime.JSX.Element;
|
|
4784
5148
|
|
|
@@ -4796,7 +5160,7 @@ type CollapseProps = {
|
|
|
4796
5160
|
/** @deprecated Use `Collapsible` instead. */
|
|
4797
5161
|
declare const Collapse: ({ open, header, className, bodyClassName, children, onClick, animationClassName, hidden, ...rest }: CollapseProps & ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
4798
5162
|
|
|
4799
|
-
type Props$
|
|
5163
|
+
type Props$m = {
|
|
4800
5164
|
header: ReactNode;
|
|
4801
5165
|
isDisabled?: boolean;
|
|
4802
5166
|
defaultExpanded?: boolean;
|
|
@@ -4808,16 +5172,16 @@ type Props$l = {
|
|
|
4808
5172
|
variant?: 'default' | 'white';
|
|
4809
5173
|
children: ReactNode;
|
|
4810
5174
|
};
|
|
4811
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$
|
|
5175
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$m) => react_jsx_runtime.JSX.Element;
|
|
4812
5176
|
|
|
4813
|
-
type Props$
|
|
5177
|
+
type Props$l = PropsWithChildren<{
|
|
4814
5178
|
defaultExpanded?: boolean;
|
|
4815
5179
|
labelCollapse?: ReactNode;
|
|
4816
5180
|
labelOpen?: ReactNode;
|
|
4817
5181
|
placement?: 'top' | 'bottom';
|
|
4818
5182
|
className?: string;
|
|
4819
5183
|
}>;
|
|
4820
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$
|
|
5184
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$l) => react_jsx_runtime.JSX.Element;
|
|
4821
5185
|
|
|
4822
5186
|
type RootProps$1 = ComponentPropsWithoutRef<'div'>;
|
|
4823
5187
|
type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -5059,7 +5423,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5059
5423
|
Clear: ({ className, children, ...props }: ActionProps) => react_jsx_runtime.JSX.Element;
|
|
5060
5424
|
};
|
|
5061
5425
|
|
|
5062
|
-
type Props$
|
|
5426
|
+
type Props$k = {
|
|
5063
5427
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
5064
5428
|
variant?: 'mark' | 'wordmark';
|
|
5065
5429
|
/** Sets the logo height; aspect ratio is preserved (e.g. `tw-h-7`). */
|
|
@@ -5069,7 +5433,7 @@ type Props$j = {
|
|
|
5069
5433
|
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
5070
5434
|
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
5071
5435
|
*/
|
|
5072
|
-
declare const BrandLogo: ({ variant, className }: Props$
|
|
5436
|
+
declare const BrandLogo: ({ variant, className }: Props$k) => react_jsx_runtime.JSX.Element | null;
|
|
5073
5437
|
|
|
5074
5438
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => react_jsx_runtime.JSX.Element;
|
|
5075
5439
|
|
|
@@ -5081,7 +5445,7 @@ type SidebarState$1 = 'expanded' | 'collapsed';
|
|
|
5081
5445
|
type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
5082
5446
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
5083
5447
|
|
|
5084
|
-
type Props$
|
|
5448
|
+
type Props$j = {
|
|
5085
5449
|
children: ReactNode;
|
|
5086
5450
|
className?: string;
|
|
5087
5451
|
id?: string;
|
|
@@ -5092,7 +5456,7 @@ type Props$i = {
|
|
|
5092
5456
|
resizable?: boolean;
|
|
5093
5457
|
};
|
|
5094
5458
|
declare const Sidebar: {
|
|
5095
|
-
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$
|
|
5459
|
+
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$j): react_jsx_runtime.JSX.Element | null;
|
|
5096
5460
|
Header: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5097
5461
|
Content: ({ ref, className, children, contentRef, }: {
|
|
5098
5462
|
className?: string;
|
|
@@ -5762,7 +6126,7 @@ declare const Sidebar: {
|
|
|
5762
6126
|
}) => react_jsx_runtime.JSX.Element;
|
|
5763
6127
|
};
|
|
5764
6128
|
|
|
5765
|
-
type Props$
|
|
6129
|
+
type Props$i = {
|
|
5766
6130
|
children?: ReactNode;
|
|
5767
6131
|
defaultLeftMode?: SidebarMode;
|
|
5768
6132
|
leftMode?: SidebarMode;
|
|
@@ -5780,7 +6144,7 @@ type Props$h = {
|
|
|
5780
6144
|
onRightWidthChange?: (width: number) => void;
|
|
5781
6145
|
defaultFilledSide?: SidebarSide | null;
|
|
5782
6146
|
};
|
|
5783
|
-
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$
|
|
6147
|
+
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
5784
6148
|
|
|
5785
6149
|
type Input = {
|
|
5786
6150
|
variant: SidebarVariant;
|
|
@@ -5796,12 +6160,12 @@ type EffectiveWidths = {
|
|
|
5796
6160
|
};
|
|
5797
6161
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode, }: Input) => EffectiveWidths;
|
|
5798
6162
|
|
|
5799
|
-
type Props$
|
|
6163
|
+
type Props$h = {
|
|
5800
6164
|
defaultMode?: SidebarMode;
|
|
5801
6165
|
mode?: SidebarMode;
|
|
5802
6166
|
onModeChange?: (state: SidebarMode) => void;
|
|
5803
6167
|
};
|
|
5804
|
-
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$
|
|
6168
|
+
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$h) => {
|
|
5805
6169
|
isHovered: boolean;
|
|
5806
6170
|
toggle: () => void;
|
|
5807
6171
|
setMode: (dispatch: Parameters<react.Dispatch<react.SetStateAction<"expanded" | "collapsed" | "expand-on-hover">>>[0]) => void;
|
|
@@ -5831,7 +6195,7 @@ declare const separatorVariants: (props?: ({
|
|
|
5831
6195
|
size?: "full" | "1/2" | "3/4" | null | undefined;
|
|
5832
6196
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5833
6197
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5834
|
-
type Props$
|
|
6198
|
+
type Props$g = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typeof RSeparator.Root>, 'decorative'> & {
|
|
5835
6199
|
/**
|
|
5836
6200
|
* Optional label rendered centered between two line segments
|
|
5837
6201
|
* (typical "OR" divider). Implies `orientation="horizontal"`.
|
|
@@ -5839,12 +6203,12 @@ type Props$f = VariantProps<typeof separatorVariants> & Omit<ComponentProps<type
|
|
|
5839
6203
|
*/
|
|
5840
6204
|
label?: ReactNode;
|
|
5841
6205
|
};
|
|
5842
|
-
declare const Separator: ({ className, orientation, size, label, ...props }: Props$
|
|
6206
|
+
declare const Separator: ({ className, orientation, size, label, ...props }: Props$g) => react_jsx_runtime.JSX.Element;
|
|
5843
6207
|
|
|
5844
6208
|
declare const navbarClassnames: (props?: ({
|
|
5845
6209
|
bordered?: boolean | null | undefined;
|
|
5846
6210
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5847
|
-
type Props$
|
|
6211
|
+
type Props$f = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
5848
6212
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
5849
6213
|
};
|
|
5850
6214
|
/**
|
|
@@ -5862,7 +6226,7 @@ type Props$e = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
|
5862
6226
|
* @see AppShell — pair with `AppShell.Header`; the sidebar rail uses `Sidebar` instead.
|
|
5863
6227
|
*/
|
|
5864
6228
|
declare const Navbar: {
|
|
5865
|
-
({ className, accent, bordered, ...rest }: Props$
|
|
6229
|
+
({ className, accent, bordered, ...rest }: Props$f): react_jsx_runtime.JSX.Element;
|
|
5866
6230
|
Header: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5867
6231
|
Footer: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5868
6232
|
Content: ({ children, className }: {
|
|
@@ -5896,9 +6260,9 @@ declare const Navbar: {
|
|
|
5896
6260
|
}) => react_jsx_runtime.JSX.Element;
|
|
5897
6261
|
};
|
|
5898
6262
|
|
|
5899
|
-
type Props$
|
|
6263
|
+
type Props$e = ComponentProps<'nav'>;
|
|
5900
6264
|
declare const Breadcrumb: {
|
|
5901
|
-
({ className, ...props }: Props$
|
|
6265
|
+
({ className, ...props }: Props$e): react_jsx_runtime.JSX.Element;
|
|
5902
6266
|
List: ({ className, ...props }: react.DetailedHTMLProps<react.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>) => react_jsx_runtime.JSX.Element;
|
|
5903
6267
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
5904
6268
|
Link: ({ ref, asChild, className, ...props }: (react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
@@ -5921,7 +6285,7 @@ declare const Breadcrumb: {
|
|
|
5921
6285
|
open?: boolean;
|
|
5922
6286
|
defaultOpen?: boolean;
|
|
5923
6287
|
onOpenChange?: (open: boolean) => void;
|
|
5924
|
-
size?: "
|
|
6288
|
+
size?: "medium" | "small" | "large";
|
|
5925
6289
|
filter?: boolean;
|
|
5926
6290
|
shouldFilter?: boolean;
|
|
5927
6291
|
searchValue?: string;
|
|
@@ -5954,7 +6318,7 @@ type Trigger<T extends string> = {
|
|
|
5954
6318
|
title: ReactNode;
|
|
5955
6319
|
onClose?: (value: T) => void;
|
|
5956
6320
|
} & Omit<RadixTabs.TabsTriggerProps, 'title' | 'asChild'>;
|
|
5957
|
-
type Props$
|
|
6321
|
+
type Props$d<T extends string> = {
|
|
5958
6322
|
triggers: readonly Trigger<T>[];
|
|
5959
6323
|
compact?: boolean;
|
|
5960
6324
|
children: ReactNode;
|
|
@@ -5965,7 +6329,7 @@ type Props$c<T extends string> = {
|
|
|
5965
6329
|
triggerClassName?: string;
|
|
5966
6330
|
triggerGroupClassName?: string;
|
|
5967
6331
|
} & Omit<RadixTabs.TabsProps, 'onValueChange'>;
|
|
5968
|
-
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$
|
|
6332
|
+
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$d<T>) => react_jsx_runtime.JSX.Element;
|
|
5969
6333
|
|
|
5970
6334
|
declare const TabsContent: (props: RadixTabs.TabsContentProps) => react_jsx_runtime.JSX.Element;
|
|
5971
6335
|
|
|
@@ -5982,7 +6346,7 @@ declare const stepperVariants: (props?: ({
|
|
|
5982
6346
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5983
6347
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5984
6348
|
|
|
5985
|
-
type Props$
|
|
6349
|
+
type Props$c = {
|
|
5986
6350
|
/** Layout direction. Defaults to `horizontal`. */
|
|
5987
6351
|
orientation?: StepperOrientation;
|
|
5988
6352
|
/**
|
|
@@ -6004,7 +6368,7 @@ type Props$b = {
|
|
|
6004
6368
|
* otherwise the stepper is visual only. Each step's `status` prop drives the indicator + connector colour.
|
|
6005
6369
|
*/
|
|
6006
6370
|
declare const Stepper: {
|
|
6007
|
-
({ orientation, onStepClick, children, className, ...props }: Props$
|
|
6371
|
+
({ orientation, onStepClick, children, className, ...props }: Props$c): react_jsx_runtime.JSX.Element;
|
|
6008
6372
|
Step: ({ status, children, className, ...props }: {
|
|
6009
6373
|
status?: StepStatus;
|
|
6010
6374
|
children: ReactNode;
|
|
@@ -6019,22 +6383,24 @@ declare const Stepper: {
|
|
|
6019
6383
|
|
|
6020
6384
|
declare const cardClassnames: (props?: ({
|
|
6021
6385
|
bordered?: boolean | null | undefined;
|
|
6022
|
-
padding?: "none" | "
|
|
6386
|
+
padding?: "none" | "medium" | "small" | "large" | null | undefined;
|
|
6023
6387
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6024
6388
|
|
|
6025
|
-
type Props$
|
|
6389
|
+
type Props$b = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames>;
|
|
6026
6390
|
declare const Card: {
|
|
6027
|
-
({ children, className, bordered, padding, ...rest }: Props$
|
|
6391
|
+
({ children, className, bordered, padding, ...rest }: Props$b): react_jsx_runtime.JSX.Element;
|
|
6028
6392
|
Header: ({ children, ...rest }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6029
6393
|
Content: ({ children, ...rest }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6030
|
-
Title: ({ children, className, ...rest }: HTMLAttributes<HTMLHeadingElement>
|
|
6394
|
+
Title: ({ children, className, as: Tag, ...rest }: HTMLAttributes<HTMLHeadingElement> & {
|
|
6395
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
6396
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
6031
6397
|
};
|
|
6032
6398
|
|
|
6033
6399
|
/**
|
|
6034
6400
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
6035
6401
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
6036
6402
|
*/
|
|
6037
|
-
type Props$
|
|
6403
|
+
type Props$a = {
|
|
6038
6404
|
borderCollapsed?: boolean;
|
|
6039
6405
|
bordered?: boolean;
|
|
6040
6406
|
containerClassName?: string;
|
|
@@ -6053,7 +6419,7 @@ type Props$9 = {
|
|
|
6053
6419
|
* @see RECIPES.md#list-detail — for a list-table + row-click-to-detail pattern
|
|
6054
6420
|
*/
|
|
6055
6421
|
declare const Table: {
|
|
6056
|
-
({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$
|
|
6422
|
+
({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$a): react_jsx_runtime.JSX.Element;
|
|
6057
6423
|
Header: ({ withShadow, className, ...props }: {
|
|
6058
6424
|
withShadow?: boolean;
|
|
6059
6425
|
} & ComponentProps<"thead">) => react_jsx_runtime.JSX.Element;
|
|
@@ -6068,11 +6434,11 @@ declare const Table: {
|
|
|
6068
6434
|
Footer: ({ className, ...props }: ComponentProps<"tfoot">) => react_jsx_runtime.JSX.Element;
|
|
6069
6435
|
};
|
|
6070
6436
|
|
|
6071
|
-
type Props$
|
|
6437
|
+
type Props$9 = ComponentProps<'ul'> & {
|
|
6072
6438
|
variant?: 'solid' | 'dashed';
|
|
6073
6439
|
};
|
|
6074
6440
|
declare const Timeline: {
|
|
6075
|
-
({ className, variant, ...rest }: Props$
|
|
6441
|
+
({ className, variant, ...rest }: Props$9): react_jsx_runtime.JSX.Element;
|
|
6076
6442
|
Item: ({ className, ...rest }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6077
6443
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6078
6444
|
Connector: ({ className, children, asChild, variant, align, offset, style, ...rest }: {
|
|
@@ -6085,25 +6451,25 @@ declare const Timeline: {
|
|
|
6085
6451
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
6086
6452
|
};
|
|
6087
6453
|
|
|
6088
|
-
type Props$
|
|
6454
|
+
type Props$8 = {
|
|
6089
6455
|
text: ReactNode;
|
|
6090
6456
|
tooltip?: ReactNode;
|
|
6091
6457
|
twoLines?: boolean;
|
|
6092
6458
|
noTooltip?: boolean;
|
|
6093
|
-
tooltipVariant?: Props$
|
|
6094
|
-
tooltipPlacement?: Props$
|
|
6459
|
+
tooltipVariant?: Props$1N['variant'];
|
|
6460
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
6095
6461
|
} & Omit<ComponentPropsWithoutRef<'span'>, 'children'>;
|
|
6096
|
-
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$
|
|
6462
|
+
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$8 & {
|
|
6097
6463
|
ref?: Ref<ElementRef<"span">>;
|
|
6098
6464
|
}) => react_jsx_runtime.JSX.Element;
|
|
6099
6465
|
|
|
6100
|
-
type Props$
|
|
6466
|
+
type Props$7 = {
|
|
6101
6467
|
source: string;
|
|
6102
6468
|
className?: string;
|
|
6103
6469
|
mark?: string;
|
|
6104
6470
|
isCaseSensitive?: boolean;
|
|
6105
6471
|
} & ComponentProps<'span'>;
|
|
6106
|
-
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$
|
|
6472
|
+
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$7 & {
|
|
6107
6473
|
ref?: Ref<ElementRef<"span">>;
|
|
6108
6474
|
}) => react_jsx_runtime.JSX.Element;
|
|
6109
6475
|
|
|
@@ -6111,9 +6477,9 @@ declare const kbdVariants: (props?: ({
|
|
|
6111
6477
|
variant?: "primary" | "default" | null | undefined;
|
|
6112
6478
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6113
6479
|
|
|
6114
|
-
type Props$
|
|
6480
|
+
type Props$6 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
6115
6481
|
declare const Kbd: {
|
|
6116
|
-
({ children, className, variant, ...rest }: Props$
|
|
6482
|
+
({ children, className, variant, ...rest }: Props$6): react_jsx_runtime.JSX.Element;
|
|
6117
6483
|
Group: ({ ref, className, children, separator, ...props }: ({
|
|
6118
6484
|
separator?: string;
|
|
6119
6485
|
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement>) & {
|
|
@@ -6129,9 +6495,9 @@ type KeyRepresentation = {
|
|
|
6129
6495
|
};
|
|
6130
6496
|
declare const keys: Record<KeyName, KeyRepresentation>;
|
|
6131
6497
|
|
|
6132
|
-
type Props$
|
|
6498
|
+
type Props$5 = ComponentProps<'nav'>;
|
|
6133
6499
|
declare const Pagination: {
|
|
6134
|
-
({ className, ...props }: Props$
|
|
6500
|
+
({ className, ...props }: Props$5): react_jsx_runtime.JSX.Element;
|
|
6135
6501
|
Content: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element;
|
|
6136
6502
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6137
6503
|
Button: ({ ref, active: isActive, className, children, size, ...props }: ({
|
|
@@ -6142,7 +6508,7 @@ declare const Pagination: {
|
|
|
6142
6508
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6143
6509
|
block?: boolean | null | undefined;
|
|
6144
6510
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6145
|
-
size?: "
|
|
6511
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6146
6512
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
6147
6513
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6148
6514
|
}, "variant">) & {
|
|
@@ -6156,7 +6522,7 @@ declare const Pagination: {
|
|
|
6156
6522
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6157
6523
|
block?: boolean | null | undefined;
|
|
6158
6524
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6159
|
-
size?: "
|
|
6525
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6160
6526
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
6161
6527
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6162
6528
|
}, "variant"> & {
|
|
@@ -6170,7 +6536,7 @@ declare const Pagination: {
|
|
|
6170
6536
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6171
6537
|
block?: boolean | null | undefined;
|
|
6172
6538
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6173
|
-
size?: "
|
|
6539
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6174
6540
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
6175
6541
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6176
6542
|
}, "variant"> & {
|
|
@@ -6179,7 +6545,7 @@ declare const Pagination: {
|
|
|
6179
6545
|
Ellipsis: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6180
6546
|
};
|
|
6181
6547
|
|
|
6182
|
-
type Props$
|
|
6548
|
+
type Props$4 = {
|
|
6183
6549
|
oldValue: string;
|
|
6184
6550
|
newValue: string;
|
|
6185
6551
|
ignoreWhitespace?: boolean;
|
|
@@ -6189,7 +6555,7 @@ type Props$3 = {
|
|
|
6189
6555
|
rightTitle: ReactNode;
|
|
6190
6556
|
rightTitleGutter?: ReactNode;
|
|
6191
6557
|
};
|
|
6192
|
-
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className, }: Props$
|
|
6558
|
+
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className, }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
6193
6559
|
|
|
6194
6560
|
declare const DiffType: {
|
|
6195
6561
|
readonly DEFAULT: "default";
|
|
@@ -6234,17 +6600,17 @@ type DiffRow = {
|
|
|
6234
6600
|
declare const computeLineInformation: (oldString: string, newString: string, ignoreWhitespace?: boolean) => ComputedLineInformation;
|
|
6235
6601
|
declare const computeDiffRows: (lineInformation: LineInformation[], diffLines: number[], expandedBlocks: number[]) => DiffRow[];
|
|
6236
6602
|
|
|
6237
|
-
type Props$
|
|
6603
|
+
type Props$3 = {
|
|
6238
6604
|
label: string;
|
|
6239
6605
|
sublabel?: string;
|
|
6240
6606
|
};
|
|
6241
|
-
declare const PaneHeader: ({ label, sublabel }: Props$
|
|
6607
|
+
declare const PaneHeader: ({ label, sublabel }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
6242
6608
|
|
|
6243
|
-
type Props$
|
|
6609
|
+
type Props$2 = {
|
|
6244
6610
|
remainingConflicts: number;
|
|
6245
6611
|
remainingSafeChanges: number;
|
|
6246
6612
|
};
|
|
6247
|
-
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$
|
|
6613
|
+
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$2) => react_jsx_runtime.JSX.Element;
|
|
6248
6614
|
|
|
6249
6615
|
declare const useMergeDiff: (baseText: string, leftText: string, rightText: string) => {
|
|
6250
6616
|
mergeValue: string;
|
|
@@ -6268,13 +6634,43 @@ declare const useMergeDiff: (baseText: string, leftText: string, rightText: stri
|
|
|
6268
6634
|
reset: () => void;
|
|
6269
6635
|
};
|
|
6270
6636
|
|
|
6637
|
+
/**
|
|
6638
|
+
* The a11y wiring `FieldItem` derives from the field and hands back to the control — spread it onto
|
|
6639
|
+
* whatever element the field renders. Callers never author these attributes themselves.
|
|
6640
|
+
*/
|
|
6641
|
+
type FieldControlProps = {
|
|
6642
|
+
id: string;
|
|
6643
|
+
name: string;
|
|
6644
|
+
'aria-required'?: true;
|
|
6645
|
+
'aria-invalid'?: true;
|
|
6646
|
+
'aria-describedby'?: string;
|
|
6647
|
+
};
|
|
6648
|
+
/** Which marker sits next to the label. Purely visual — `aria-required` is driven by `required`. */
|
|
6649
|
+
type RequiredMark = 'required' | 'optional' | 'hidden';
|
|
6650
|
+
type Props$1 = {
|
|
6651
|
+
label?: ReactNode;
|
|
6652
|
+
required?: boolean;
|
|
6653
|
+
/**
|
|
6654
|
+
* Which marker to show beside the label — gated by `required` so it never lies: `'required'`
|
|
6655
|
+
* renders `*` only when the field is `required`; `'optional'` renders `(optional)` only when it
|
|
6656
|
+
* is not; `'hidden'` renders neither. Defaults to `'required'`.
|
|
6657
|
+
*/
|
|
6658
|
+
requiredMark?: RequiredMark;
|
|
6659
|
+
help?: ReactNode;
|
|
6660
|
+
tooltip?: ReactNode;
|
|
6661
|
+
className?: string;
|
|
6662
|
+
'aria-describedby'?: string;
|
|
6663
|
+
children: (control: FieldControlProps) => ReactNode;
|
|
6664
|
+
};
|
|
6665
|
+
type FieldItemProps = Omit<Props$1, 'children'>;
|
|
6666
|
+
|
|
6271
6667
|
/**
|
|
6272
6668
|
* Typed form hook + `withForm` binding for the design system.
|
|
6273
6669
|
*
|
|
6274
6670
|
* **When to use:** any form layout that has validation, server-side errors, or a submit state — pages,
|
|
6275
6671
|
* modals, drawers, multi-step wizards. Use `useAppForm({ defaultValues, validators, onSubmit })` at the
|
|
6276
6672
|
* top of the form component, then render the typed `field.TextField` / `field.NumberField` /
|
|
6277
|
-
* `field.PasswordField` / `field.
|
|
6673
|
+
* `field.PasswordField` / `field.TextareaField` / `field.SelectField` / `field.CheckboxField` /
|
|
6278
6674
|
* `field.SwitchField` connectors inside `form.AppForm` → `form.FormBody`. Submit via `form.SubmitButton`.
|
|
6279
6675
|
* **When NOT to use:** for a single uncontrolled `<input>` use `TextInput` directly; for a bare label + input
|
|
6280
6676
|
* pair without validation use `FormGroup` + `FormGroup.TextInput`.
|
|
@@ -6284,12 +6680,7 @@ declare const useMergeDiff: (baseText: string, leftText: string, rightText: stri
|
|
|
6284
6680
|
* @see RECIPES.md#modal-form — for the canonical form-in-modal composition
|
|
6285
6681
|
*/
|
|
6286
6682
|
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, {
|
|
6287
|
-
readonly TextField: ({ label, required, help, className, ...inputProps }: {
|
|
6288
|
-
label?: react.ReactNode;
|
|
6289
|
-
required?: boolean;
|
|
6290
|
-
help?: react.ReactNode;
|
|
6291
|
-
className?: string;
|
|
6292
|
-
} & Omit<{
|
|
6683
|
+
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6293
6684
|
content?: string | undefined | undefined;
|
|
6294
6685
|
size?: number | undefined | undefined;
|
|
6295
6686
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -6603,7 +6994,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6603
6994
|
placeholder?: string | undefined | undefined;
|
|
6604
6995
|
readOnly?: boolean | undefined | undefined;
|
|
6605
6996
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
6606
|
-
sizing?: "
|
|
6997
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
6607
6998
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6608
6999
|
rightSuffix?: react.ReactNode;
|
|
6609
7000
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -6614,12 +7005,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6614
7005
|
} & {
|
|
6615
7006
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
6616
7007
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
6617
|
-
readonly NumberField: ({ label, required, help, className, ...inputProps }: {
|
|
6618
|
-
label?: react.ReactNode;
|
|
6619
|
-
required?: boolean;
|
|
6620
|
-
help?: react.ReactNode;
|
|
6621
|
-
className?: string;
|
|
6622
|
-
} & Omit<{
|
|
7008
|
+
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6623
7009
|
content?: string | undefined | undefined;
|
|
6624
7010
|
size?: number | undefined | undefined;
|
|
6625
7011
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -6934,21 +7320,16 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6934
7320
|
placeholder?: string | undefined | undefined;
|
|
6935
7321
|
readOnly?: boolean | undefined | undefined;
|
|
6936
7322
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
6937
|
-
sizing?: "
|
|
7323
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
6938
7324
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6939
7325
|
suffix?: react.ReactNode;
|
|
6940
7326
|
} & {
|
|
6941
7327
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
6942
7328
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
6943
|
-
readonly PasswordField: ({ label, required, help, className, ...inputProps }: {
|
|
6944
|
-
label?: react.ReactNode;
|
|
6945
|
-
required?: boolean;
|
|
6946
|
-
help?: react.ReactNode;
|
|
6947
|
-
className?: string;
|
|
6948
|
-
} & Omit<{
|
|
7329
|
+
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6949
7330
|
variant?: "primary" | "secondary" | null | undefined;
|
|
6950
7331
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
6951
|
-
sizing?: "
|
|
7332
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
6952
7333
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6953
7334
|
} & {
|
|
6954
7335
|
content?: string | undefined | undefined;
|
|
@@ -7271,12 +7652,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7271
7652
|
} & {
|
|
7272
7653
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7273
7654
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7274
|
-
readonly
|
|
7275
|
-
label?: react.ReactNode;
|
|
7276
|
-
required?: boolean;
|
|
7277
|
-
help?: react.ReactNode;
|
|
7278
|
-
className?: string;
|
|
7279
|
-
} & Omit<{
|
|
7655
|
+
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7280
7656
|
content?: string | undefined | undefined;
|
|
7281
7657
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7282
7658
|
prefix?: string | undefined | undefined;
|
|
@@ -7286,7 +7662,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7286
7662
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7287
7663
|
form?: string | undefined | undefined;
|
|
7288
7664
|
slot?: string | undefined | undefined;
|
|
7289
|
-
style?: (Omit<react.CSSProperties, "
|
|
7665
|
+
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
7290
7666
|
height?: number;
|
|
7291
7667
|
}) | undefined;
|
|
7292
7668
|
title?: string | undefined | undefined;
|
|
@@ -7582,20 +7958,16 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7582
7958
|
cacheMeasurements?: boolean | undefined;
|
|
7583
7959
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
7584
7960
|
disableResize?: boolean | undefined;
|
|
7585
|
-
sizing?: "
|
|
7961
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7586
7962
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7587
7963
|
containerClassName?: string | undefined;
|
|
7588
7964
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7589
|
-
readonly SelectField: ({ label, required, help, className, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: {
|
|
7590
|
-
label?: react.ReactNode;
|
|
7591
|
-
required?: boolean;
|
|
7592
|
-
help?: react.ReactNode;
|
|
7593
|
-
className?: string;
|
|
7965
|
+
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
7594
7966
|
placeholder?: string;
|
|
7595
7967
|
triggerClassName?: string;
|
|
7596
7968
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7597
7969
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
7598
|
-
sizing?: "
|
|
7970
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7599
7971
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
7600
7972
|
items: readonly {
|
|
7601
7973
|
value: string;
|
|
@@ -7615,26 +7987,18 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7615
7987
|
label: react.ReactNode;
|
|
7616
7988
|
}[];
|
|
7617
7989
|
})) => react_jsx_runtime.JSX.Element;
|
|
7618
|
-
readonly CheckboxField: ({
|
|
7619
|
-
label?: react.ReactNode;
|
|
7620
|
-
help?: react.ReactNode;
|
|
7621
|
-
className?: string;
|
|
7622
|
-
} & Omit<Omit<{
|
|
7990
|
+
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
7623
7991
|
id?: string | number;
|
|
7624
7992
|
description?: react.ReactNode;
|
|
7625
7993
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
7626
7994
|
position?: "start" | "end";
|
|
7627
|
-
tooltip?: Props$
|
|
7628
|
-
tooltipPlacement?: Props$
|
|
7995
|
+
tooltip?: Props$1N["tooltip"];
|
|
7996
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
7629
7997
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
7630
7998
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
7631
7999
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
7632
8000
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
7633
|
-
readonly SwitchField: ({
|
|
7634
|
-
label?: react.ReactNode;
|
|
7635
|
-
help?: react.ReactNode;
|
|
7636
|
-
className?: string;
|
|
7637
|
-
} & Omit<{
|
|
8001
|
+
readonly SwitchField: ({ className, children, ...switchProps }: Pick<FieldItemProps, "className"> & Omit<{
|
|
7638
8002
|
id?: string | number;
|
|
7639
8003
|
children?: react.ReactNode;
|
|
7640
8004
|
description?: react.ReactNode;
|
|
@@ -7642,10 +8006,11 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7642
8006
|
position?: "start" | "end";
|
|
7643
8007
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
7644
8008
|
variant?: "default" | "argo" | null | undefined;
|
|
7645
|
-
size?: "
|
|
8009
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
7646
8010
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
7647
8011
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
7648
8012
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
8013
|
+
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$4, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7649
8014
|
}, {
|
|
7650
8015
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
7651
8016
|
children: react.ReactNode;
|
|
@@ -7658,18 +8023,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7658
8023
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
7659
8024
|
block?: boolean | null | undefined;
|
|
7660
8025
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
7661
|
-
size?: "
|
|
8026
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
7662
8027
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
7663
8028
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
7664
8029
|
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
7665
8030
|
}>;
|
|
7666
8031
|
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, {
|
|
7667
|
-
readonly TextField: ({ label, required, help, className, ...inputProps }: {
|
|
7668
|
-
label?: react.ReactNode;
|
|
7669
|
-
required?: boolean;
|
|
7670
|
-
help?: react.ReactNode;
|
|
7671
|
-
className?: string;
|
|
7672
|
-
} & Omit<{
|
|
8032
|
+
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7673
8033
|
content?: string | undefined | undefined;
|
|
7674
8034
|
size?: number | undefined | undefined;
|
|
7675
8035
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -7983,7 +8343,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7983
8343
|
placeholder?: string | undefined | undefined;
|
|
7984
8344
|
readOnly?: boolean | undefined | undefined;
|
|
7985
8345
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
7986
|
-
sizing?: "
|
|
8346
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7987
8347
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7988
8348
|
rightSuffix?: react.ReactNode;
|
|
7989
8349
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -7994,12 +8354,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7994
8354
|
} & {
|
|
7995
8355
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7996
8356
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7997
|
-
readonly NumberField: ({ label, required, help, className, ...inputProps }: {
|
|
7998
|
-
label?: react.ReactNode;
|
|
7999
|
-
required?: boolean;
|
|
8000
|
-
help?: react.ReactNode;
|
|
8001
|
-
className?: string;
|
|
8002
|
-
} & Omit<{
|
|
8357
|
+
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8003
8358
|
content?: string | undefined | undefined;
|
|
8004
8359
|
size?: number | undefined | undefined;
|
|
8005
8360
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -8314,21 +8669,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8314
8669
|
placeholder?: string | undefined | undefined;
|
|
8315
8670
|
readOnly?: boolean | undefined | undefined;
|
|
8316
8671
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
8317
|
-
sizing?: "
|
|
8672
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8318
8673
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8319
8674
|
suffix?: react.ReactNode;
|
|
8320
8675
|
} & {
|
|
8321
8676
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8322
8677
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8323
|
-
readonly PasswordField: ({ label, required, help, className, ...inputProps }: {
|
|
8324
|
-
label?: react.ReactNode;
|
|
8325
|
-
required?: boolean;
|
|
8326
|
-
help?: react.ReactNode;
|
|
8327
|
-
className?: string;
|
|
8328
|
-
} & Omit<{
|
|
8678
|
+
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8329
8679
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8330
8680
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8331
|
-
sizing?: "
|
|
8681
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8332
8682
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8333
8683
|
} & {
|
|
8334
8684
|
content?: string | undefined | undefined;
|
|
@@ -8651,12 +9001,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8651
9001
|
} & {
|
|
8652
9002
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8653
9003
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8654
|
-
readonly
|
|
8655
|
-
label?: react.ReactNode;
|
|
8656
|
-
required?: boolean;
|
|
8657
|
-
help?: react.ReactNode;
|
|
8658
|
-
className?: string;
|
|
8659
|
-
} & Omit<{
|
|
9004
|
+
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8660
9005
|
content?: string | undefined | undefined;
|
|
8661
9006
|
translate?: "yes" | "no" | undefined | undefined;
|
|
8662
9007
|
prefix?: string | undefined | undefined;
|
|
@@ -8666,7 +9011,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8666
9011
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8667
9012
|
form?: string | undefined | undefined;
|
|
8668
9013
|
slot?: string | undefined | undefined;
|
|
8669
|
-
style?: (Omit<react.CSSProperties, "
|
|
9014
|
+
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
8670
9015
|
height?: number;
|
|
8671
9016
|
}) | undefined;
|
|
8672
9017
|
title?: string | undefined | undefined;
|
|
@@ -8962,20 +9307,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8962
9307
|
cacheMeasurements?: boolean | undefined;
|
|
8963
9308
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
8964
9309
|
disableResize?: boolean | undefined;
|
|
8965
|
-
sizing?: "
|
|
9310
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8966
9311
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8967
9312
|
containerClassName?: string | undefined;
|
|
8968
9313
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8969
|
-
readonly SelectField: ({ label, required, help, className, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: {
|
|
8970
|
-
label?: react.ReactNode;
|
|
8971
|
-
required?: boolean;
|
|
8972
|
-
help?: react.ReactNode;
|
|
8973
|
-
className?: string;
|
|
9314
|
+
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
8974
9315
|
placeholder?: string;
|
|
8975
9316
|
triggerClassName?: string;
|
|
8976
9317
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8977
9318
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8978
|
-
sizing?: "
|
|
9319
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8979
9320
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
8980
9321
|
items: readonly {
|
|
8981
9322
|
value: string;
|
|
@@ -8995,26 +9336,18 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8995
9336
|
label: react.ReactNode;
|
|
8996
9337
|
}[];
|
|
8997
9338
|
})) => react_jsx_runtime.JSX.Element;
|
|
8998
|
-
readonly CheckboxField: ({
|
|
8999
|
-
label?: react.ReactNode;
|
|
9000
|
-
help?: react.ReactNode;
|
|
9001
|
-
className?: string;
|
|
9002
|
-
} & Omit<Omit<{
|
|
9339
|
+
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
9003
9340
|
id?: string | number;
|
|
9004
9341
|
description?: react.ReactNode;
|
|
9005
9342
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
9006
9343
|
position?: "start" | "end";
|
|
9007
|
-
tooltip?: Props$
|
|
9008
|
-
tooltipPlacement?: Props$
|
|
9344
|
+
tooltip?: Props$1N["tooltip"];
|
|
9345
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
9009
9346
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
9010
9347
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
9011
9348
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
9012
9349
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
9013
|
-
readonly SwitchField: ({
|
|
9014
|
-
label?: react.ReactNode;
|
|
9015
|
-
help?: react.ReactNode;
|
|
9016
|
-
className?: string;
|
|
9017
|
-
} & Omit<{
|
|
9350
|
+
readonly SwitchField: ({ className, children, ...switchProps }: Pick<FieldItemProps, "className"> & Omit<{
|
|
9018
9351
|
id?: string | number;
|
|
9019
9352
|
children?: react.ReactNode;
|
|
9020
9353
|
description?: react.ReactNode;
|
|
@@ -9022,10 +9355,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9022
9355
|
position?: "start" | "end";
|
|
9023
9356
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
9024
9357
|
variant?: "default" | "argo" | null | undefined;
|
|
9025
|
-
size?: "
|
|
9358
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
9026
9359
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
9027
9360
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
9028
9361
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
9362
|
+
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$4, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
9029
9363
|
}, {
|
|
9030
9364
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
9031
9365
|
children: react.ReactNode;
|
|
@@ -9038,18 +9372,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9038
9372
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
9039
9373
|
block?: boolean | null | undefined;
|
|
9040
9374
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
9041
|
-
size?: "
|
|
9375
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
9042
9376
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
9043
9377
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
9044
9378
|
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
9045
9379
|
}, TRenderProps>) => react.FunctionComponent<react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
9046
9380
|
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, {
|
|
9047
|
-
readonly TextField: ({ label, required, help, className, ...inputProps }: {
|
|
9048
|
-
label?: react.ReactNode;
|
|
9049
|
-
required?: boolean;
|
|
9050
|
-
help?: react.ReactNode;
|
|
9051
|
-
className?: string;
|
|
9052
|
-
} & Omit<{
|
|
9381
|
+
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9053
9382
|
content?: string | undefined | undefined;
|
|
9054
9383
|
size?: number | undefined | undefined;
|
|
9055
9384
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -9363,7 +9692,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9363
9692
|
placeholder?: string | undefined | undefined;
|
|
9364
9693
|
readOnly?: boolean | undefined | undefined;
|
|
9365
9694
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
9366
|
-
sizing?: "
|
|
9695
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9367
9696
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9368
9697
|
rightSuffix?: react.ReactNode;
|
|
9369
9698
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -9374,12 +9703,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9374
9703
|
} & {
|
|
9375
9704
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9376
9705
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
9377
|
-
readonly NumberField: ({ label, required, help, className, ...inputProps }: {
|
|
9378
|
-
label?: react.ReactNode;
|
|
9379
|
-
required?: boolean;
|
|
9380
|
-
help?: react.ReactNode;
|
|
9381
|
-
className?: string;
|
|
9382
|
-
} & Omit<{
|
|
9706
|
+
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9383
9707
|
content?: string | undefined | undefined;
|
|
9384
9708
|
size?: number | undefined | undefined;
|
|
9385
9709
|
translate?: "yes" | "no" | undefined | undefined;
|
|
@@ -9694,21 +10018,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9694
10018
|
placeholder?: string | undefined | undefined;
|
|
9695
10019
|
readOnly?: boolean | undefined | undefined;
|
|
9696
10020
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
9697
|
-
sizing?: "
|
|
10021
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9698
10022
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9699
10023
|
suffix?: react.ReactNode;
|
|
9700
10024
|
} & {
|
|
9701
10025
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9702
10026
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9703
|
-
readonly PasswordField: ({ label, required, help, className, ...inputProps }: {
|
|
9704
|
-
label?: react.ReactNode;
|
|
9705
|
-
required?: boolean;
|
|
9706
|
-
help?: react.ReactNode;
|
|
9707
|
-
className?: string;
|
|
9708
|
-
} & Omit<{
|
|
10027
|
+
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9709
10028
|
variant?: "primary" | "secondary" | null | undefined;
|
|
9710
10029
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
9711
|
-
sizing?: "
|
|
10030
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9712
10031
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9713
10032
|
} & {
|
|
9714
10033
|
content?: string | undefined | undefined;
|
|
@@ -10031,12 +10350,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10031
10350
|
} & {
|
|
10032
10351
|
ref?: react.Ref<react.ElementRef<"input">>;
|
|
10033
10352
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10034
|
-
readonly
|
|
10035
|
-
label?: react.ReactNode;
|
|
10036
|
-
required?: boolean;
|
|
10037
|
-
help?: react.ReactNode;
|
|
10038
|
-
className?: string;
|
|
10039
|
-
} & Omit<{
|
|
10353
|
+
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
10040
10354
|
content?: string | undefined | undefined;
|
|
10041
10355
|
translate?: "yes" | "no" | undefined | undefined;
|
|
10042
10356
|
prefix?: string | undefined | undefined;
|
|
@@ -10046,7 +10360,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10046
10360
|
variant?: "primary" | "secondary" | null | undefined;
|
|
10047
10361
|
form?: string | undefined | undefined;
|
|
10048
10362
|
slot?: string | undefined | undefined;
|
|
10049
|
-
style?: (Omit<react.CSSProperties, "
|
|
10363
|
+
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
10050
10364
|
height?: number;
|
|
10051
10365
|
}) | undefined;
|
|
10052
10366
|
title?: string | undefined | undefined;
|
|
@@ -10342,20 +10656,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10342
10656
|
cacheMeasurements?: boolean | undefined;
|
|
10343
10657
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
10344
10658
|
disableResize?: boolean | undefined;
|
|
10345
|
-
sizing?: "
|
|
10659
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10346
10660
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10347
10661
|
containerClassName?: string | undefined;
|
|
10348
10662
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10349
|
-
readonly SelectField: ({ label, required, help, className, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: {
|
|
10350
|
-
label?: react.ReactNode;
|
|
10351
|
-
required?: boolean;
|
|
10352
|
-
help?: react.ReactNode;
|
|
10353
|
-
className?: string;
|
|
10663
|
+
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, items, options, placeholder, triggerClassName, variant, state, sizing, ...rootProps }: FieldItemProps & {
|
|
10354
10664
|
placeholder?: string;
|
|
10355
10665
|
triggerClassName?: string;
|
|
10356
10666
|
variant?: "primary" | "secondary" | null | undefined;
|
|
10357
10667
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
10358
|
-
sizing?: "
|
|
10668
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10359
10669
|
} & Omit<SelectRootProps, "children" | "value" | "onValueChange"> & ({
|
|
10360
10670
|
items: readonly {
|
|
10361
10671
|
value: string;
|
|
@@ -10375,26 +10685,18 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10375
10685
|
label: react.ReactNode;
|
|
10376
10686
|
}[];
|
|
10377
10687
|
})) => react_jsx_runtime.JSX.Element;
|
|
10378
|
-
readonly CheckboxField: ({
|
|
10379
|
-
label?: react.ReactNode;
|
|
10380
|
-
help?: react.ReactNode;
|
|
10381
|
-
className?: string;
|
|
10382
|
-
} & Omit<Omit<{
|
|
10688
|
+
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
10383
10689
|
id?: string | number;
|
|
10384
10690
|
description?: react.ReactNode;
|
|
10385
10691
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10386
10692
|
position?: "start" | "end";
|
|
10387
|
-
tooltip?: Props$
|
|
10388
|
-
tooltipPlacement?: Props$
|
|
10693
|
+
tooltip?: Props$1N["tooltip"];
|
|
10694
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
10389
10695
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10390
10696
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10391
10697
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
10392
10698
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10393
|
-
readonly SwitchField: ({
|
|
10394
|
-
label?: react.ReactNode;
|
|
10395
|
-
help?: react.ReactNode;
|
|
10396
|
-
className?: string;
|
|
10397
|
-
} & Omit<{
|
|
10699
|
+
readonly SwitchField: ({ className, children, ...switchProps }: Pick<FieldItemProps, "className"> & Omit<{
|
|
10398
10700
|
id?: string | number;
|
|
10399
10701
|
children?: react.ReactNode;
|
|
10400
10702
|
description?: react.ReactNode;
|
|
@@ -10402,10 +10704,11 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10402
10704
|
position?: "start" | "end";
|
|
10403
10705
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10404
10706
|
variant?: "default" | "argo" | null | undefined;
|
|
10405
|
-
size?: "
|
|
10707
|
+
size?: "medium" | "small" | "large" | null | undefined;
|
|
10406
10708
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
10407
10709
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
10408
10710
|
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10711
|
+
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$4, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
10409
10712
|
}, {
|
|
10410
10713
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
10411
10714
|
children: react.ReactNode;
|
|
@@ -10418,7 +10721,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10418
10721
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
10419
10722
|
block?: boolean | null | undefined;
|
|
10420
10723
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
10421
|
-
size?: "
|
|
10724
|
+
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
10422
10725
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
10423
10726
|
ref?: react.Ref<react.ElementRef<"button">>;
|
|
10424
10727
|
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
@@ -10482,4 +10785,4 @@ type Props = {
|
|
|
10482
10785
|
};
|
|
10483
10786
|
declare const ZoomableSvg: ({ html, copyText, className }: Props) => react_jsx_runtime.JSX.Element;
|
|
10484
10787
|
|
|
10485
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$
|
|
10788
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$I as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$3 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$2 as ErrorStateProps, type Variant as ErrorStateVariant, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, HelpBlock, HoverCard, InlineStepDetail, type Props$G as InlineStepDetailProps, InlineStepLabel, type Props$F as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$4 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1o as Props, Question, type QuestionAnswers, QuestionBlock, type Props$y as QuestionBlockProps, type QuestionOption, type Props$z as QuestionProps, type QuestionStep, RadioGroup, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, Tabs, TabsContent, Tagger, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1N as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, cn, computeDiffRows, computeLineInformation, copyToClipboard, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, withForm };
|