@keboola/design 6.4.0 → 8.0.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 +9 -10
- package/COMPONENT-API.md +162 -160
- package/README.md +3 -3
- package/dist/charts.cjs +22 -22
- package/dist/charts.cjs.map +1 -1
- package/dist/charts.d.cts +5 -5
- package/dist/charts.d.ts +5 -5
- package/dist/charts.js +22 -22
- package/dist/charts.js.map +1 -1
- package/dist/editors.cjs +594 -438
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.d.cts +8 -4
- package/dist/editors.d.ts +8 -4
- package/dist/editors.js +595 -422
- package/dist/editors.js.map +1 -1
- package/dist/icons.cjs +23818 -45
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.d.cts +12 -3
- package/dist/icons.d.ts +12 -3
- package/dist/icons.js +298 -40
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +11519 -11718
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +679 -1227
- package/dist/index.d.ts +679 -1227
- package/dist/index.js +10315 -10516
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +1015 -1134
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +1016 -1134
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +366 -452
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.d.cts +5 -1
- package/dist/mermaid.d.ts +5 -1
- package/dist/mermaid.js +368 -435
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +2540 -2419
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +2541 -2419
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +2 -5
- package/dist/testing.cjs +86 -82
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.js +86 -82
- package/dist/testing.js.map +1 -1
- package/package.json +30 -22
- package/src/styles.css +125 -105
- package/src/theme.css +264 -0
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,
|
|
3
|
+
import { ComponentProps, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, ComponentRef, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
|
|
4
4
|
import * as class_variance_authority from 'class-variance-authority';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -23,7 +23,7 @@ import { Command as Command$1 } from 'cmdk';
|
|
|
23
23
|
export { defaultFilter, useCommandState } from 'cmdk';
|
|
24
24
|
import * as react_textarea_autosize from 'react-textarea-autosize';
|
|
25
25
|
import react_textarea_autosize__default from 'react-textarea-autosize';
|
|
26
|
-
import { Matcher, DateRange as DateRange$1
|
|
26
|
+
import { PropsBase, PropsSingle, PropsRange, Matcher, DateRange as DateRange$1 } from 'react-day-picker';
|
|
27
27
|
import { LabelProps as LabelProps$1 } from '@radix-ui/react-label';
|
|
28
28
|
import * as _radix_ui_react_switch from '@radix-ui/react-switch';
|
|
29
29
|
import { Root as Root$6 } from '@radix-ui/react-switch';
|
|
@@ -72,9 +72,9 @@ declare const argoVariants: (props?: ({
|
|
|
72
72
|
*
|
|
73
73
|
* Pass `variant` for primary/secondary/danger/outline/invisible looks, `size`
|
|
74
74
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
75
|
-
* composed as children — `<Button><Trash2 className="tw
|
|
75
|
+
* composed as children — `<Button><Trash2 className="tw:size-4" /> Delete</Button>`.
|
|
76
76
|
*/
|
|
77
|
-
type Props$
|
|
77
|
+
type Props$1S = {
|
|
78
78
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
79
79
|
isLoading?: boolean;
|
|
80
80
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
@@ -93,37 +93,31 @@ type Props$1X = {
|
|
|
93
93
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
94
94
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
95
95
|
*/
|
|
96
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
97
|
-
ref?: Ref<ElementRef<"button">>;
|
|
98
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
96
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$1S) => react_jsx_runtime.JSX.Element;
|
|
99
97
|
|
|
100
98
|
declare const buttonInlineVariants: (props?: ({
|
|
101
99
|
color?: "dark" | "muted" | "link" | "danger" | "custom" | null | undefined;
|
|
102
100
|
variant?: "link" | "custom" | "link-reverse" | null | undefined;
|
|
103
101
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
|
-
type Props$
|
|
102
|
+
type Props$1R = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
105
103
|
asChild?: boolean;
|
|
106
104
|
};
|
|
107
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
108
|
-
ref?: Ref<ElementRef<"button">>;
|
|
109
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
105
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$1R) => react_jsx_runtime.JSX.Element;
|
|
110
106
|
|
|
111
107
|
declare const buttonGroupVariant: (props?: ({
|
|
112
108
|
variant?: "inline" | "block" | null | undefined;
|
|
113
109
|
space?: "medium" | "small" | "large" | "extra-small" | "little-small" | "compact" | null | undefined;
|
|
114
110
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
115
|
-
type Props$
|
|
111
|
+
type Props$1Q = {
|
|
116
112
|
children: ReactNode;
|
|
117
113
|
className?: string;
|
|
118
114
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
119
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
120
|
-
ref?: Ref<ElementRef<"div">>;
|
|
121
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
115
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$1Q) => react_jsx_runtime.JSX.Element;
|
|
122
116
|
|
|
123
117
|
type Variant$8 = ComponentProps<typeof Button>['variant'];
|
|
124
118
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
125
119
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
126
|
-
type Props$
|
|
120
|
+
type Props$1P = {
|
|
127
121
|
actions?: ReactNode;
|
|
128
122
|
isActionsOpen?: boolean;
|
|
129
123
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -132,25 +126,21 @@ type Props$1U = {
|
|
|
132
126
|
variant?: Exclude<Variant$8, 'inline' | 'invisible'>;
|
|
133
127
|
size?: SpitButtonSize;
|
|
134
128
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
135
|
-
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$
|
|
136
|
-
ref
|
|
137
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
138
|
-
Action: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: (_radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
129
|
+
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$1P) => react_jsx_runtime.JSX.Element) & {
|
|
130
|
+
Action: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
139
131
|
asModalTrigger?: boolean;
|
|
140
132
|
icon?: ReactNode;
|
|
141
133
|
isLoading?: boolean;
|
|
142
134
|
iconClassName?: string;
|
|
143
|
-
}) & {
|
|
144
|
-
ref?: Ref<ElementRef<"div">>;
|
|
145
135
|
}) => react_jsx_runtime.JSX.Element;
|
|
146
136
|
Actions: react.ForwardRefExoticComponent<_radix_ui_react_dropdown_menu.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
147
137
|
};
|
|
148
138
|
|
|
149
|
-
type Props$
|
|
139
|
+
type Props$1O = {
|
|
150
140
|
className?: string;
|
|
151
141
|
} & PropsWithChildren;
|
|
152
142
|
declare const MultiActionButtonGroup: {
|
|
153
|
-
({ children, className }: Props$
|
|
143
|
+
({ children, className }: Props$1O): react_jsx_runtime.JSX.Element;
|
|
154
144
|
Button: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, "data-testid": dataTestId, }: {
|
|
155
145
|
disabled?: boolean;
|
|
156
146
|
icon: react.ReactNode;
|
|
@@ -166,38 +156,34 @@ declare const MultiActionButtonGroup: {
|
|
|
166
156
|
declare const toggleVariants: (props?: ({
|
|
167
157
|
variant?: "ai" | "ai-vivid" | "ghost" | null | undefined;
|
|
168
158
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
159
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
169
160
|
iconOnly?: boolean | null | undefined;
|
|
170
161
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
171
|
-
type Props$
|
|
162
|
+
type Props$1N = {
|
|
172
163
|
icon?: ReactNode;
|
|
173
164
|
badge?: ReactNode;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
165
|
+
orientation?: 'horizontal' | 'vertical';
|
|
166
|
+
} & ComponentProps<typeof Root> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly' | 'orientation'>;
|
|
167
|
+
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$1N) => react_jsx_runtime.JSX.Element;
|
|
178
168
|
|
|
179
169
|
declare const rootVariants: (props?: ({
|
|
180
170
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
181
171
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
182
172
|
type RootProps$8 = ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof rootVariants>;
|
|
183
173
|
type ItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
184
|
-
declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$8 & {
|
|
185
|
-
ref?: Ref<ElementRef<"div">>;
|
|
186
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
174
|
+
declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$8) => react_jsx_runtime.JSX.Element) & {
|
|
187
175
|
/** Individual segment inside a `ToggleGroup`. `value` is required and must be unique within the group. */
|
|
188
|
-
Item: ({ ref, className, ...props }: ItemProps
|
|
189
|
-
ref?: Ref<ElementRef<"button">>;
|
|
190
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
176
|
+
Item: ({ ref, className, ...props }: ItemProps) => react_jsx_runtime.JSX.Element;
|
|
191
177
|
};
|
|
192
178
|
|
|
193
179
|
declare const tooltipVariants: (props?: ({
|
|
194
180
|
variant?: "action" | "explanatory" | null | undefined;
|
|
195
181
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
196
|
-
type Props$
|
|
182
|
+
type Props$1M = {
|
|
197
183
|
keepOpenOnPointerDownOutside?: boolean;
|
|
198
184
|
placement?: ComponentProps<typeof Content>['side'];
|
|
199
185
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
200
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
186
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$1M) => react_jsx_runtime.JSX.Element;
|
|
201
187
|
|
|
202
188
|
type TriggerProps$1 = {
|
|
203
189
|
triggerAsChild?: boolean;
|
|
@@ -206,7 +192,7 @@ type TriggerProps$1 = {
|
|
|
206
192
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
207
193
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
208
194
|
*/
|
|
209
|
-
type Props$
|
|
195
|
+
type Props$1L = {
|
|
210
196
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
211
197
|
keepOpenOnTriggerClick?: boolean;
|
|
212
198
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -217,6 +203,8 @@ type Props$1Q = {
|
|
|
217
203
|
forceHide?: boolean;
|
|
218
204
|
/** Forcibly show the tooltip regardless of hover state. Useful for guided-tour overlays. */
|
|
219
205
|
forceShow?: boolean;
|
|
206
|
+
/** Hover delay before the tooltip opens, in ms. Defaults to the shared 300ms. */
|
|
207
|
+
delayDuration?: number;
|
|
220
208
|
className?: string;
|
|
221
209
|
} & TriggerProps$1 & Pick<ComponentProps<typeof TooltipContent>, 'variant' | 'className'>;
|
|
222
210
|
/** Re-export of Radix `Tooltip.Provider`. Mount once at the app root so tooltips share delay state. */
|
|
@@ -236,7 +224,7 @@ declare const TooltipProvider: react.FC<_radix_ui_react_tooltip.TooltipProviderP
|
|
|
236
224
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
237
225
|
*/
|
|
238
226
|
declare const Tooltip: {
|
|
239
|
-
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, triggerAsChild, }: Props$
|
|
227
|
+
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild, }: Props$1L): react_jsx_runtime.JSX.Element;
|
|
240
228
|
Root: ({ children, delayDuration, ...rest }: _radix_ui_react_tooltip.TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
241
229
|
Content: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: {
|
|
242
230
|
keepOpenOnPointerDownOutside?: boolean;
|
|
@@ -244,37 +232,61 @@ declare const Tooltip: {
|
|
|
244
232
|
} & Omit<_radix_ui_react_tooltip.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "side"> & class_variance_authority.VariantProps<(props?: ({
|
|
245
233
|
variant?: "action" | "explanatory" | null | undefined;
|
|
246
234
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
247
|
-
Trigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }:
|
|
235
|
+
Trigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }: {
|
|
248
236
|
keepOpenOnClick?: boolean;
|
|
249
|
-
} & _radix_ui_react_tooltip.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>)
|
|
250
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
251
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
237
|
+
} & _radix_ui_react_tooltip.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
252
238
|
};
|
|
253
239
|
|
|
254
|
-
type Props$
|
|
255
|
-
tooltip?: Props$
|
|
256
|
-
tooltipPlacement?: Props$
|
|
257
|
-
tooltipVariant?: Props$
|
|
258
|
-
asChild?: Props$
|
|
240
|
+
type Props$1K = {
|
|
241
|
+
tooltip?: Props$1L['tooltip'];
|
|
242
|
+
tooltipPlacement?: Props$1L['placement'];
|
|
243
|
+
tooltipVariant?: Props$1L['variant'];
|
|
244
|
+
asChild?: Props$1L['triggerAsChild'];
|
|
259
245
|
text?: string | (() => string);
|
|
260
246
|
} & ComponentProps<'button'>;
|
|
261
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
262
|
-
ref?: Ref<ElementRef<"button">>;
|
|
263
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
247
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$1K) => react_jsx_runtime.JSX.Element;
|
|
264
248
|
|
|
265
249
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
266
250
|
type ButtonProps$2 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
267
|
-
type Props$
|
|
251
|
+
type Props$1J = ClipboardProps$1 & ButtonProps$2 & {
|
|
268
252
|
icon?: ReactNode;
|
|
269
253
|
};
|
|
270
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
254
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$1J) => react_jsx_runtime.JSX.Element;
|
|
271
255
|
|
|
272
256
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
273
257
|
type ButtonProps$1 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
274
|
-
type Props$
|
|
258
|
+
type Props$1I = {
|
|
275
259
|
hideIcon?: boolean;
|
|
276
260
|
} & ClipboardProps & ButtonProps$1;
|
|
277
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
261
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$1I) => react_jsx_runtime.JSX.Element;
|
|
262
|
+
|
|
263
|
+
type ExportMenuItem = {
|
|
264
|
+
/** Menu label, e.g. "Download as CSV". */
|
|
265
|
+
label: string;
|
|
266
|
+
onSelect: () => void;
|
|
267
|
+
};
|
|
268
|
+
type Props$1H = {
|
|
269
|
+
items: ExportMenuItem[];
|
|
270
|
+
/** Accessible name + tooltip for the trigger, e.g. "Export table". */
|
|
271
|
+
label: string;
|
|
272
|
+
size?: 'icon-xs' | 'icon-sm';
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Download-icon trigger with a menu of export formats.
|
|
276
|
+
*
|
|
277
|
+
* Lives in the root barrel rather than inside `ZoomableSvg` on purpose: that
|
|
278
|
+
* component ships in the lazy `@keboola/design/mermaid` chunk, and importing
|
|
279
|
+
* Radix's menu there costs ~2.7 kB brotlied against a tight budget. Callers that
|
|
280
|
+
* are already paying for the barrel inject this instead.
|
|
281
|
+
*
|
|
282
|
+
* Renders argo chrome unconditionally. `ArgoDesignContext` is scoped per bundle
|
|
283
|
+
* entry, so a consumer whose neighbouring toolbar buttons come from a lazy
|
|
284
|
+
* subpath (`ZoomableSvg` via `@keboola/design/mermaid`, which sees the argo
|
|
285
|
+
* default) would otherwise place a legacy-styled trigger beside argo-styled
|
|
286
|
+
* siblings — different border, background and icon colour from the same
|
|
287
|
+
* `variant="outline"`.
|
|
288
|
+
*/
|
|
289
|
+
declare const ExportMenu: ({ items, label, size }: Props$1H) => react_jsx_runtime.JSX.Element;
|
|
278
290
|
|
|
279
291
|
/**
|
|
280
292
|
* Compound component for readonly value/command boxes with inline copy.
|
|
@@ -321,13 +333,14 @@ declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVarian
|
|
|
321
333
|
*/
|
|
322
334
|
declare const CopyField: {
|
|
323
335
|
/** Container. Owns the copied `value`, mask state, and copy context. */
|
|
324
|
-
Root: ({ value, mono, onCopy, hiddenByDefault, minLines, maxLines, className, children, }: {
|
|
336
|
+
Root: ({ value, mono, onCopy, hiddenByDefault, minLines, maxLines, hoverHint, className, children, }: {
|
|
325
337
|
value: string;
|
|
326
338
|
mono?: boolean;
|
|
327
339
|
onCopy?: () => void;
|
|
328
340
|
hiddenByDefault?: boolean;
|
|
329
341
|
minLines?: number;
|
|
330
342
|
maxLines?: number;
|
|
343
|
+
hoverHint?: boolean;
|
|
331
344
|
className?: string;
|
|
332
345
|
children: react.ReactNode;
|
|
333
346
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -385,11 +398,11 @@ declare const LABELS$1: {
|
|
|
385
398
|
readonly signup: "Sign up with Microsoft";
|
|
386
399
|
readonly continue: "Continue with Microsoft";
|
|
387
400
|
};
|
|
388
|
-
type Props$
|
|
401
|
+
type Props$1G = ComponentPropsWithRef<'button'> & {
|
|
389
402
|
label?: keyof typeof LABELS$1;
|
|
390
403
|
isLoading?: boolean;
|
|
391
404
|
};
|
|
392
|
-
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
405
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1G) => react_jsx_runtime.JSX.Element;
|
|
393
406
|
|
|
394
407
|
declare const LABELS: {
|
|
395
408
|
readonly signin: "Sign in with Google";
|
|
@@ -402,16 +415,14 @@ declare const variants$3: (props?: ({
|
|
|
402
415
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
403
416
|
size?: "icon" | "default" | null | undefined;
|
|
404
417
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
405
|
-
type Props$
|
|
418
|
+
type Props$1F = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$3> & {
|
|
406
419
|
label?: keyof typeof LABELS;
|
|
407
420
|
isLoading?: boolean;
|
|
408
421
|
};
|
|
409
|
-
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
422
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1F) => react_jsx_runtime.JSX.Element;
|
|
410
423
|
|
|
411
|
-
type Props$
|
|
412
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
413
|
-
ref?: Ref<ElementRef<"a">>;
|
|
414
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
424
|
+
type Props$1E = ComponentProps<'a'>;
|
|
425
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1E) => react_jsx_runtime.JSX.Element;
|
|
415
426
|
|
|
416
427
|
/**
|
|
417
428
|
* AlertModal status variants. Mirrors `Alert`'s set but exposes `danger` (not `error`) since an
|
|
@@ -421,13 +432,13 @@ type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
|
421
432
|
|
|
422
433
|
type ConfirmHandler = (event: MouseEvent$1<HTMLButtonElement>) => void | Promise<unknown>;
|
|
423
434
|
type CancelHandler = (event: MouseEvent$1<HTMLButtonElement>) => void;
|
|
424
|
-
type Props$
|
|
435
|
+
type Props$1D = {
|
|
425
436
|
onConfirm?: ConfirmHandler;
|
|
426
437
|
onCancel?: CancelHandler;
|
|
427
438
|
skipAsyncWait?: boolean;
|
|
428
439
|
} & ComponentProps<typeof Root$1>;
|
|
429
440
|
declare const AlertModal: {
|
|
430
|
-
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
441
|
+
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$1D): react_jsx_runtime.JSX.Element;
|
|
431
442
|
Trigger: ({ ref, onClick, onKeyDown, ...props }: _radix_ui_react_alert_dialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
432
443
|
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, container, className, children, onEscapeKeyDown, ...props }: {
|
|
433
444
|
variant?: AlertModalVariant;
|
|
@@ -439,7 +450,7 @@ declare const AlertModal: {
|
|
|
439
450
|
} & Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "title">) => react_jsx_runtime.JSX.Element;
|
|
440
451
|
};
|
|
441
452
|
|
|
442
|
-
type Props$
|
|
453
|
+
type Props$1C = ComponentProps<typeof Root$2>;
|
|
443
454
|
/**
|
|
444
455
|
* Blocking dialog for confirmations, forms, and detail views. Built on Radix Dialog.
|
|
445
456
|
*
|
|
@@ -455,7 +466,7 @@ type Props$1I = ComponentProps<typeof Root$2>;
|
|
|
455
466
|
* @see RECIPES.md#confirm-dialog — for destructive-confirm dialogs
|
|
456
467
|
*/
|
|
457
468
|
declare const Modal: {
|
|
458
|
-
(props: Props$
|
|
469
|
+
(props: Props$1C): react_jsx_runtime.JSX.Element;
|
|
459
470
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
460
471
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
461
472
|
Content: ({ size, className, children, onEscapeKeyDown, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -480,10 +491,8 @@ declare const Modal: {
|
|
|
480
491
|
actions?: react.ReactNode;
|
|
481
492
|
hideCloseIcon?: boolean;
|
|
482
493
|
} & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
483
|
-
Overlay: ({ ref, className, disableTransition, ...props }:
|
|
494
|
+
Overlay: ({ ref, className, disableTransition, ...props }: _radix_ui_react_dialog.DialogOverlayProps & react.RefAttributes<HTMLDivElement> & {
|
|
484
495
|
disableTransition?: boolean;
|
|
485
|
-
}) & {
|
|
486
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
487
496
|
}) => react_jsx_runtime.JSX.Element;
|
|
488
497
|
};
|
|
489
498
|
|
|
@@ -508,7 +517,7 @@ declare const FullScreenModal: (({ children, className, lockBodyScroll, onEscape
|
|
|
508
517
|
}) => react_jsx_runtime.JSX.Element;
|
|
509
518
|
};
|
|
510
519
|
|
|
511
|
-
type Props$
|
|
520
|
+
type Props$1B = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
512
521
|
title: ReactNode;
|
|
513
522
|
titleClassName?: string;
|
|
514
523
|
titleWrapperClassName?: string;
|
|
@@ -517,16 +526,16 @@ type Props$1H = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
517
526
|
onClose?: () => void;
|
|
518
527
|
showPreviousTitle?: boolean;
|
|
519
528
|
}>;
|
|
520
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
529
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$1B) => react_jsx_runtime.JSX.Element;
|
|
521
530
|
|
|
522
|
-
type Props$
|
|
523
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
531
|
+
type Props$1A = HTMLAttributes<HTMLDivElement>;
|
|
532
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$1A & {
|
|
524
533
|
ref?: Ref<HTMLDivElement>;
|
|
525
534
|
}) => react_jsx_runtime.JSX.Element;
|
|
526
535
|
|
|
527
|
-
type Props$
|
|
536
|
+
type Props$1z = ComponentProps<typeof Root$2>;
|
|
528
537
|
declare const Sheet: {
|
|
529
|
-
(props: Props$
|
|
538
|
+
(props: Props$1z): react_jsx_runtime.JSX.Element;
|
|
530
539
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
531
540
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
532
541
|
Content: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -549,18 +558,16 @@ declare const Sheet: {
|
|
|
549
558
|
Body: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
550
559
|
};
|
|
551
560
|
|
|
552
|
-
type Props$
|
|
561
|
+
type Props$1y = ComponentProps<typeof Root$3>;
|
|
553
562
|
declare const Popover: {
|
|
554
|
-
(props: Props$
|
|
563
|
+
(props: Props$1y): react_jsx_runtime.JSX.Element;
|
|
555
564
|
/**
|
|
556
565
|
* Main Layout
|
|
557
566
|
*/
|
|
558
|
-
Content: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, ...props }:
|
|
567
|
+
Content: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, ...props }: _radix_ui_react_popover.PopoverContentProps & react.RefAttributes<HTMLDivElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
559
568
|
variant?: "default" | "argo" | null | undefined;
|
|
560
569
|
matchTriggerWidth?: boolean | null | undefined;
|
|
561
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">)
|
|
562
|
-
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
563
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
570
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
564
571
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
565
572
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
566
573
|
};
|
|
@@ -573,13 +580,13 @@ type PopconfirmContextType = {
|
|
|
573
580
|
isLoading: boolean;
|
|
574
581
|
};
|
|
575
582
|
|
|
576
|
-
type Props$
|
|
583
|
+
type Props$1x = {
|
|
577
584
|
children: ReactNode;
|
|
578
585
|
skipAsyncWait?: boolean;
|
|
579
586
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
580
587
|
declare const Popconfirm: {
|
|
581
|
-
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
582
|
-
Confirm: ({ ref, onClick, children, asChild, className, ...props }: (
|
|
588
|
+
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$1x): react_jsx_runtime.JSX.Element;
|
|
589
|
+
Confirm: ({ ref, onClick, children, asChild, className, ...props }: ({
|
|
583
590
|
asChild: true;
|
|
584
591
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
585
592
|
asChild?: false;
|
|
@@ -591,12 +598,8 @@ declare const Popconfirm: {
|
|
|
591
598
|
block?: boolean | null | undefined;
|
|
592
599
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
593
600
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
594
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
595
|
-
|
|
596
|
-
}, "children" | "isLoading">)) & {
|
|
597
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
598
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
599
|
-
Cancel: ({ ref, onClick, children, asChild, className, ...props }: (({
|
|
601
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "children" | "isLoading">)) => react_jsx_runtime.JSX.Element;
|
|
602
|
+
Cancel: ({ ref, onClick, children, asChild, className, ...props }: ({
|
|
600
603
|
asChild: true;
|
|
601
604
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
602
605
|
asChild?: false;
|
|
@@ -608,22 +611,19 @@ declare const Popconfirm: {
|
|
|
608
611
|
block?: boolean | null | undefined;
|
|
609
612
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
610
613
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
611
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
612
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
613
|
-
}, "children">)) & {
|
|
614
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
615
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
614
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "children">)) => react_jsx_runtime.JSX.Element;
|
|
616
615
|
Footer: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
617
616
|
Content: ({ className, onInteractOutside, ...props }: {
|
|
618
617
|
content?: string | undefined | undefined;
|
|
619
618
|
translate?: "yes" | "no" | undefined | undefined;
|
|
619
|
+
color?: string | undefined | undefined;
|
|
620
620
|
prefix?: string | undefined | undefined;
|
|
621
621
|
id?: string | undefined | undefined;
|
|
622
622
|
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
623
623
|
slot?: string | undefined | undefined;
|
|
624
624
|
style?: react.CSSProperties | undefined;
|
|
625
625
|
title?: string | undefined | undefined;
|
|
626
|
-
ref?: react.Ref<
|
|
626
|
+
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
627
627
|
key?: react.Key | null | undefined;
|
|
628
628
|
defaultChecked?: boolean | undefined | undefined;
|
|
629
629
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -656,7 +656,6 @@ declare const Popconfirm: {
|
|
|
656
656
|
vocab?: string | undefined | undefined;
|
|
657
657
|
autoCorrect?: string | undefined | undefined;
|
|
658
658
|
autoSave?: string | undefined | undefined;
|
|
659
|
-
color?: string | undefined | undefined;
|
|
660
659
|
itemProp?: string | undefined | undefined;
|
|
661
660
|
itemScope?: boolean | undefined | undefined;
|
|
662
661
|
itemType?: string | undefined | undefined;
|
|
@@ -931,24 +930,20 @@ declare const Popconfirm: {
|
|
|
931
930
|
Trigger: ({ onClick, ...props }: _radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
932
931
|
};
|
|
933
932
|
|
|
934
|
-
type Props$
|
|
933
|
+
type Props$1w = ComponentProps<typeof Root$4>;
|
|
935
934
|
declare const HoverCard: {
|
|
936
|
-
({ openDelay, closeDelay, ...rest }: Props$
|
|
937
|
-
Content: ({ ref, className, align, sideOffset, children, ...props }:
|
|
938
|
-
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
939
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
935
|
+
({ openDelay, closeDelay, ...rest }: Props$1w): react_jsx_runtime.JSX.Element;
|
|
936
|
+
Content: ({ ref, className, align, sideOffset, children, ...props }: _radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
940
937
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
941
938
|
};
|
|
942
939
|
|
|
943
|
-
type Props$
|
|
940
|
+
type Props$1v = ComponentProps<typeof Root$5>;
|
|
944
941
|
declare const DropdownMenu: {
|
|
945
|
-
({ modal, ...props }: Props$
|
|
942
|
+
({ modal, ...props }: Props$1v): react_jsx_runtime.JSX.Element;
|
|
946
943
|
/**
|
|
947
944
|
* Main Layout
|
|
948
945
|
*/
|
|
949
|
-
Trigger: ({ ref, className, ...props }:
|
|
950
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
951
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
946
|
+
Trigger: ({ ref, className, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
952
947
|
Content: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Omit<_radix_ui_react_dropdown_menu.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>, "asChild" | "forceMount"> & {
|
|
953
948
|
forceMount?: boolean;
|
|
954
949
|
viewPortClassName?: string;
|
|
@@ -966,13 +961,11 @@ declare const DropdownMenu: {
|
|
|
966
961
|
*/
|
|
967
962
|
Separator: ({ className, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
968
963
|
Label: ({ className, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuLabelProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
969
|
-
Item: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }:
|
|
964
|
+
Item: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
970
965
|
asModalTrigger?: boolean;
|
|
971
966
|
icon?: react.ReactNode;
|
|
972
967
|
isLoading?: boolean;
|
|
973
968
|
iconClassName?: string;
|
|
974
|
-
}) & {
|
|
975
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
976
969
|
}) => react_jsx_runtime.JSX.Element;
|
|
977
970
|
CheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
978
971
|
closeOnSelect?: boolean;
|
|
@@ -981,403 +974,89 @@ declare const DropdownMenu: {
|
|
|
981
974
|
isLoading?: boolean;
|
|
982
975
|
}) => react_jsx_runtime.JSX.Element;
|
|
983
976
|
RadioGroup: <Value extends string = string>({ value, defaultValue, onValueChange, ...props }: Omit<_radix_ui_react_dropdown_menu.DropdownMenuRadioGroupProps & react.RefAttributes<HTMLDivElement>, "defaultValue" | "value" | "onValueChange"> & {
|
|
984
|
-
value?: Value | undefined;
|
|
985
|
-
defaultValue?: Value | undefined;
|
|
986
|
-
onValueChange?: ((value: Value) => void) | undefined;
|
|
987
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
988
|
-
RadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuRadioItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
989
|
-
closeOnSelect?: boolean;
|
|
990
|
-
indicatorAlign?: "start" | "end";
|
|
991
|
-
indicator?: "radio" | "check" | "none";
|
|
992
|
-
icon?: react.ReactNode;
|
|
993
|
-
iconClassName?: string;
|
|
994
|
-
isLoading?: boolean;
|
|
995
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
996
|
-
ItemDescription: ({ className, children, hideOnHover, ...props }: react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
997
|
-
hideOnHover?: boolean;
|
|
998
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
999
|
-
};
|
|
1000
|
-
|
|
1001
|
-
type Props$
|
|
1002
|
-
variant?: 'checkbox' | 'radio' | 'default';
|
|
1003
|
-
};
|
|
1004
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
1005
|
-
|
|
1006
|
-
type Props$
|
|
1007
|
-
declare const Command: {
|
|
1008
|
-
({ className, ...rest }: Props$
|
|
1009
|
-
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1010
|
-
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1011
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
1012
|
-
} & {
|
|
1013
|
-
asChild?: boolean;
|
|
1014
|
-
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
1015
|
-
alwaysRender?: boolean;
|
|
1016
|
-
} & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1017
|
-
List: ({ ref, className, children, viewPortClassName, ...props }:
|
|
1018
|
-
children?: React.ReactNode;
|
|
1019
|
-
} & Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1020
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
1021
|
-
} & {
|
|
1022
|
-
asChild?: boolean;
|
|
1023
|
-
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
1024
|
-
label?: string;
|
|
1025
|
-
} & react.RefAttributes<HTMLDivElement> & Pick<ScrollAreaPrimitive.ScrollAreaProps & react.RefAttributes<HTMLDivElement> & {
|
|
1026
|
-
viewPortClassName?: string;
|
|
1027
|
-
scrollBarClassName?: string;
|
|
1028
|
-
orientation?: ComponentProps<react.ForwardRefExoticComponent<ScrollAreaPrimitive.ScrollAreaScrollbarProps & react.RefAttributes<HTMLDivElement>>>["orientation"];
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
asChild?: boolean;
|
|
1051
|
-
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1052
|
-
Input: ({ ref, className, ...props }: ({
|
|
1053
|
-
value?: string | null;
|
|
1054
|
-
defaultValue?: string | null;
|
|
1055
|
-
onValueChange?: (value: string) => void;
|
|
1056
|
-
onValueBlur?: (value: string) => void;
|
|
1057
|
-
type?: "text" | "email" | "password" | "datetime-local" | "date";
|
|
1058
|
-
} & {
|
|
1059
|
-
content?: string | undefined | undefined;
|
|
1060
|
-
size?: number | undefined | undefined;
|
|
1061
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
1062
|
-
prefix?: react.ReactNode;
|
|
1063
|
-
id?: string | undefined | undefined;
|
|
1064
|
-
name?: string | undefined | undefined;
|
|
1065
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1066
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
1067
|
-
form?: string | undefined | undefined;
|
|
1068
|
-
slot?: string | undefined | undefined;
|
|
1069
|
-
style?: react.CSSProperties | undefined;
|
|
1070
|
-
title?: string | undefined | undefined;
|
|
1071
|
-
pattern?: string | undefined | undefined;
|
|
1072
|
-
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
1073
|
-
key?: react.Key | null | undefined;
|
|
1074
|
-
defaultChecked?: boolean | undefined | undefined;
|
|
1075
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
1076
|
-
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
1077
|
-
accessKey?: string | undefined | undefined;
|
|
1078
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
1079
|
-
autoFocus?: boolean | undefined | undefined;
|
|
1080
|
-
className?: string | undefined | undefined;
|
|
1081
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
1082
|
-
contextMenu?: string | undefined | undefined;
|
|
1083
|
-
dir?: string | undefined | undefined;
|
|
1084
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
1085
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
1086
|
-
hidden?: boolean | undefined | undefined;
|
|
1087
|
-
lang?: string | undefined | undefined;
|
|
1088
|
-
nonce?: string | undefined | undefined;
|
|
1089
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
1090
|
-
tabIndex?: number | undefined | undefined;
|
|
1091
|
-
radioGroup?: string | undefined | undefined;
|
|
1092
|
-
role?: react.AriaRole | undefined;
|
|
1093
|
-
about?: string | undefined | undefined;
|
|
1094
|
-
datatype?: string | undefined | undefined;
|
|
1095
|
-
inlist?: any;
|
|
1096
|
-
property?: string | undefined | undefined;
|
|
1097
|
-
rel?: string | undefined | undefined;
|
|
1098
|
-
resource?: string | undefined | undefined;
|
|
1099
|
-
rev?: string | undefined | undefined;
|
|
1100
|
-
typeof?: string | undefined | undefined;
|
|
1101
|
-
vocab?: string | undefined | undefined;
|
|
1102
|
-
autoCorrect?: string | undefined | undefined;
|
|
1103
|
-
autoSave?: string | undefined | undefined;
|
|
1104
|
-
color?: string | undefined | undefined;
|
|
1105
|
-
itemProp?: string | undefined | undefined;
|
|
1106
|
-
itemScope?: boolean | undefined | undefined;
|
|
1107
|
-
itemType?: string | undefined | undefined;
|
|
1108
|
-
itemID?: string | undefined | undefined;
|
|
1109
|
-
itemRef?: string | undefined | undefined;
|
|
1110
|
-
results?: number | undefined | undefined;
|
|
1111
|
-
security?: string | undefined | undefined;
|
|
1112
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
1113
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
1114
|
-
popoverTarget?: string | undefined | undefined;
|
|
1115
|
-
inert?: boolean | undefined | undefined;
|
|
1116
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
1117
|
-
is?: string | undefined | undefined;
|
|
1118
|
-
exportparts?: string | undefined | undefined;
|
|
1119
|
-
part?: string | undefined | undefined;
|
|
1120
|
-
"aria-activedescendant"?: string | undefined | undefined;
|
|
1121
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
1122
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
1123
|
-
"aria-braillelabel"?: string | undefined | undefined;
|
|
1124
|
-
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
1125
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
1126
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1127
|
-
"aria-colcount"?: number | undefined | undefined;
|
|
1128
|
-
"aria-colindex"?: number | undefined | undefined;
|
|
1129
|
-
"aria-colindextext"?: string | undefined | undefined;
|
|
1130
|
-
"aria-colspan"?: number | undefined | undefined;
|
|
1131
|
-
"aria-controls"?: string | undefined | undefined;
|
|
1132
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
1133
|
-
"aria-describedby"?: string | undefined | undefined;
|
|
1134
|
-
"aria-description"?: string | undefined | undefined;
|
|
1135
|
-
"aria-details"?: string | undefined | undefined;
|
|
1136
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
1137
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
1138
|
-
"aria-errormessage"?: string | undefined | undefined;
|
|
1139
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
1140
|
-
"aria-flowto"?: string | undefined | undefined;
|
|
1141
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
1142
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
1143
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
1144
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
1145
|
-
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
1146
|
-
"aria-label"?: string | undefined | undefined;
|
|
1147
|
-
"aria-labelledby"?: string | undefined | undefined;
|
|
1148
|
-
"aria-level"?: number | undefined | undefined;
|
|
1149
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
1150
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
1151
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
1152
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
1153
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
1154
|
-
"aria-owns"?: string | undefined | undefined;
|
|
1155
|
-
"aria-placeholder"?: string | undefined | undefined;
|
|
1156
|
-
"aria-posinset"?: number | undefined | undefined;
|
|
1157
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1158
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
1159
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
1160
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
1161
|
-
"aria-roledescription"?: string | undefined | undefined;
|
|
1162
|
-
"aria-rowcount"?: number | undefined | undefined;
|
|
1163
|
-
"aria-rowindex"?: number | undefined | undefined;
|
|
1164
|
-
"aria-rowindextext"?: string | undefined | undefined;
|
|
1165
|
-
"aria-rowspan"?: number | undefined | undefined;
|
|
1166
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
1167
|
-
"aria-setsize"?: number | undefined | undefined;
|
|
1168
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
1169
|
-
"aria-valuemax"?: number | undefined | undefined;
|
|
1170
|
-
"aria-valuemin"?: number | undefined | undefined;
|
|
1171
|
-
"aria-valuenow"?: number | undefined | undefined;
|
|
1172
|
-
"aria-valuetext"?: string | undefined | undefined;
|
|
1173
|
-
children?: react.ReactNode;
|
|
1174
|
-
dangerouslySetInnerHTML?: {
|
|
1175
|
-
__html: string | TrustedHTML;
|
|
1176
|
-
} | undefined | undefined;
|
|
1177
|
-
onCopy?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1178
|
-
onCopyCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1179
|
-
onCut?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1180
|
-
onCutCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1181
|
-
onPaste?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1182
|
-
onPasteCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
1183
|
-
onCompositionEnd?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1184
|
-
onCompositionEndCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1185
|
-
onCompositionStart?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1186
|
-
onCompositionStartCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1187
|
-
onCompositionUpdate?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1188
|
-
onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
1189
|
-
onFocus?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1190
|
-
onFocusCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1191
|
-
onBlur?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1192
|
-
onBlurCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
1193
|
-
onChange?: react.ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined;
|
|
1194
|
-
onChangeCapture?: react.ChangeEventHandler<HTMLInputElement, Element> | undefined;
|
|
1195
|
-
onBeforeInput?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1196
|
-
onBeforeInputCapture?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1197
|
-
onInput?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1198
|
-
onInputCapture?: react.InputEventHandler<HTMLInputElement> | undefined;
|
|
1199
|
-
onReset?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1200
|
-
onResetCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1201
|
-
onSubmit?: react.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
1202
|
-
onSubmitCapture?: react.SubmitEventHandler<HTMLInputElement> | undefined;
|
|
1203
|
-
onInvalid?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1204
|
-
onInvalidCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1205
|
-
onLoad?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1206
|
-
onLoadCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1207
|
-
onError?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1208
|
-
onErrorCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1209
|
-
onKeyDown?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1210
|
-
onKeyDownCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1211
|
-
onKeyPress?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1212
|
-
onKeyPressCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1213
|
-
onKeyUp?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1214
|
-
onKeyUpCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
1215
|
-
onAbort?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1216
|
-
onAbortCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1217
|
-
onCanPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1218
|
-
onCanPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1219
|
-
onCanPlayThrough?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1220
|
-
onCanPlayThroughCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1221
|
-
onDurationChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1222
|
-
onDurationChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1223
|
-
onEmptied?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1224
|
-
onEmptiedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1225
|
-
onEncrypted?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1226
|
-
onEncryptedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1227
|
-
onEnded?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1228
|
-
onEndedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1229
|
-
onLoadedData?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1230
|
-
onLoadedDataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1231
|
-
onLoadedMetadata?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1232
|
-
onLoadedMetadataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1233
|
-
onLoadStart?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1234
|
-
onLoadStartCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1235
|
-
onPause?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1236
|
-
onPauseCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1237
|
-
onPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1238
|
-
onPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1239
|
-
onPlaying?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1240
|
-
onPlayingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1241
|
-
onProgress?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1242
|
-
onProgressCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1243
|
-
onRateChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1244
|
-
onRateChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1245
|
-
onSeeked?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1246
|
-
onSeekedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1247
|
-
onSeeking?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1248
|
-
onSeekingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1249
|
-
onStalled?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1250
|
-
onStalledCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1251
|
-
onSuspend?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1252
|
-
onSuspendCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1253
|
-
onTimeUpdate?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1254
|
-
onTimeUpdateCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1255
|
-
onVolumeChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1256
|
-
onVolumeChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1257
|
-
onWaiting?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1258
|
-
onWaitingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1259
|
-
onAuxClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1260
|
-
onAuxClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1261
|
-
onClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1262
|
-
onClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1263
|
-
onContextMenu?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1264
|
-
onContextMenuCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1265
|
-
onDoubleClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1266
|
-
onDoubleClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1267
|
-
onDrag?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1268
|
-
onDragCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1269
|
-
onDragEnd?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1270
|
-
onDragEndCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1271
|
-
onDragEnter?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1272
|
-
onDragEnterCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1273
|
-
onDragExit?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1274
|
-
onDragExitCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1275
|
-
onDragLeave?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1276
|
-
onDragLeaveCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1277
|
-
onDragOver?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1278
|
-
onDragOverCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1279
|
-
onDragStart?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1280
|
-
onDragStartCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1281
|
-
onDrop?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1282
|
-
onDropCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
1283
|
-
onMouseDown?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1284
|
-
onMouseDownCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1285
|
-
onMouseEnter?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1286
|
-
onMouseLeave?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1287
|
-
onMouseMove?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1288
|
-
onMouseMoveCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1289
|
-
onMouseOut?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1290
|
-
onMouseOutCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1291
|
-
onMouseOver?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1292
|
-
onMouseOverCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1293
|
-
onMouseUp?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1294
|
-
onMouseUpCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
1295
|
-
onSelect?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1296
|
-
onSelectCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
1297
|
-
onTouchCancel?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1298
|
-
onTouchCancelCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1299
|
-
onTouchEnd?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1300
|
-
onTouchEndCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1301
|
-
onTouchMove?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1302
|
-
onTouchMoveCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1303
|
-
onTouchStart?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1304
|
-
onTouchStartCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
1305
|
-
onPointerDown?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1306
|
-
onPointerDownCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1307
|
-
onPointerMove?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1308
|
-
onPointerMoveCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1309
|
-
onPointerUp?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1310
|
-
onPointerUpCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1311
|
-
onPointerCancel?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1312
|
-
onPointerCancelCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1313
|
-
onPointerEnter?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1314
|
-
onPointerLeave?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1315
|
-
onPointerOver?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1316
|
-
onPointerOverCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1317
|
-
onPointerOut?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1318
|
-
onPointerOutCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1319
|
-
onGotPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1320
|
-
onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1321
|
-
onLostPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1322
|
-
onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
1323
|
-
onScroll?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1324
|
-
onScrollCapture?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1325
|
-
onScrollEnd?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1326
|
-
onScrollEndCapture?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
1327
|
-
onWheel?: react.WheelEventHandler<HTMLInputElement> | undefined;
|
|
1328
|
-
onWheelCapture?: react.WheelEventHandler<HTMLInputElement> | undefined;
|
|
1329
|
-
onAnimationStart?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1330
|
-
onAnimationStartCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1331
|
-
onAnimationEnd?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1332
|
-
onAnimationEndCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1333
|
-
onAnimationIteration?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1334
|
-
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
1335
|
-
onToggle?: react.ToggleEventHandler<HTMLInputElement> | undefined;
|
|
1336
|
-
onBeforeToggle?: react.ToggleEventHandler<HTMLInputElement> | undefined;
|
|
1337
|
-
onTransitionCancel?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1338
|
-
onTransitionCancelCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1339
|
-
onTransitionEnd?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1340
|
-
onTransitionEndCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1341
|
-
onTransitionRun?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1342
|
-
onTransitionRunCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1343
|
-
onTransitionStart?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1344
|
-
onTransitionStartCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
1345
|
-
list?: string | undefined | undefined;
|
|
1346
|
-
disabled?: boolean | undefined | undefined;
|
|
1347
|
-
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
1348
|
-
formEncType?: string | undefined | undefined;
|
|
1349
|
-
formMethod?: string | undefined | undefined;
|
|
1350
|
-
formNoValidate?: boolean | undefined | undefined;
|
|
1351
|
-
formTarget?: string | undefined | undefined;
|
|
1352
|
-
height?: number | string | undefined | undefined;
|
|
1353
|
-
max?: number | string | undefined | undefined;
|
|
1354
|
-
min?: number | string | undefined | undefined;
|
|
1355
|
-
width?: number | string | undefined | undefined;
|
|
1356
|
-
checked?: boolean | undefined | undefined;
|
|
1357
|
-
multiple?: boolean | undefined | undefined;
|
|
977
|
+
value?: Value | undefined;
|
|
978
|
+
defaultValue?: Value | undefined;
|
|
979
|
+
onValueChange?: ((value: Value) => void) | undefined;
|
|
980
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
981
|
+
RadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuRadioItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
982
|
+
closeOnSelect?: boolean;
|
|
983
|
+
indicatorAlign?: "start" | "end";
|
|
984
|
+
indicator?: "radio" | "check" | "none";
|
|
985
|
+
icon?: react.ReactNode;
|
|
986
|
+
iconClassName?: string;
|
|
987
|
+
isLoading?: boolean;
|
|
988
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
989
|
+
ItemDescription: ({ className, children, hideOnHover, ...props }: react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
990
|
+
hideOnHover?: boolean;
|
|
991
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
type Props$1u = {
|
|
995
|
+
variant?: 'checkbox' | 'radio' | 'default';
|
|
996
|
+
};
|
|
997
|
+
declare const CheckIndicator: ({ variant }: Props$1u) => react_jsx_runtime.JSX.Element | null;
|
|
998
|
+
|
|
999
|
+
type Props$1t = ComponentProps<typeof Command$1>;
|
|
1000
|
+
declare const Command: {
|
|
1001
|
+
({ className, ...rest }: Props$1t): react_jsx_runtime.JSX.Element;
|
|
1002
|
+
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1003
|
+
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1004
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1005
|
+
} & {
|
|
1006
|
+
asChild?: boolean;
|
|
1007
|
+
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
1008
|
+
alwaysRender?: boolean;
|
|
1009
|
+
} & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1010
|
+
List: ({ ref, className, children, viewPortClassName, ...props }: {
|
|
1011
|
+
children?: React.ReactNode;
|
|
1012
|
+
} & Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1013
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1014
|
+
} & {
|
|
1015
|
+
asChild?: boolean;
|
|
1016
|
+
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
1017
|
+
label?: string;
|
|
1018
|
+
} & react.RefAttributes<HTMLDivElement> & Pick<ScrollAreaPrimitive.ScrollAreaProps & react.RefAttributes<HTMLDivElement> & {
|
|
1019
|
+
viewPortClassName?: string;
|
|
1020
|
+
scrollBarClassName?: string;
|
|
1021
|
+
orientation?: ComponentProps<react.ForwardRefExoticComponent<ScrollAreaPrimitive.ScrollAreaScrollbarProps & react.RefAttributes<HTMLDivElement>>>["orientation"];
|
|
1022
|
+
}, "viewPortClassName">) => react_jsx_runtime.JSX.Element;
|
|
1023
|
+
Group: ({ className, ...props }: {
|
|
1024
|
+
children?: React.ReactNode;
|
|
1025
|
+
} & Omit<Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1026
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1027
|
+
} & {
|
|
1028
|
+
asChild?: boolean;
|
|
1029
|
+
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
|
1030
|
+
heading?: React.ReactNode;
|
|
1031
|
+
value?: string;
|
|
1032
|
+
forceMount?: boolean;
|
|
1033
|
+
} & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1034
|
+
Empty: ({ ...props }: {
|
|
1035
|
+
children?: React.ReactNode;
|
|
1036
|
+
} & Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1037
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1038
|
+
} & {
|
|
1039
|
+
asChild?: boolean;
|
|
1040
|
+
}, "key" | keyof react.HTMLAttributes<HTMLDivElement> | "asChild"> & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1041
|
+
Input: ({ ref, className, ...props }: {
|
|
1042
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
1358
1043
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1359
|
-
src?: string | undefined | undefined;
|
|
1360
|
-
alt?: string | undefined | undefined;
|
|
1361
|
-
required?: boolean | undefined | undefined;
|
|
1362
|
-
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
1363
|
-
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
1364
|
-
maxLength?: number | undefined | undefined;
|
|
1365
|
-
minLength?: number | undefined | undefined;
|
|
1366
|
-
placeholder?: string | undefined | undefined;
|
|
1367
|
-
readOnly?: boolean | undefined | undefined;
|
|
1368
1044
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1369
1045
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1046
|
+
} & {
|
|
1047
|
+
prefix?: react.ReactNode;
|
|
1370
1048
|
rightSuffix?: react.ReactNode;
|
|
1371
|
-
rightSuffixVariant?: "addon" | "default"
|
|
1049
|
+
rightSuffixVariant?: "addon" | "default";
|
|
1372
1050
|
leftSuffix?: react.ReactNode;
|
|
1373
|
-
allowClear?: boolean
|
|
1374
|
-
onClear?: (
|
|
1375
|
-
testId?: string
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1051
|
+
allowClear?: boolean;
|
|
1052
|
+
onClear?: () => void;
|
|
1053
|
+
testId?: string;
|
|
1054
|
+
value?: string | null;
|
|
1055
|
+
defaultValue?: string | null;
|
|
1056
|
+
onValueChange?: (value: string) => void;
|
|
1057
|
+
onValueBlur?: (value: string) => void;
|
|
1058
|
+
type?: "text" | "email" | "password" | "datetime-local" | "date";
|
|
1059
|
+
} & Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "prefix" | "defaultValue" | "step" | "type" | "value" | "accept">) => react_jsx_runtime.JSX.Element;
|
|
1381
1060
|
Item: ({ className, icon, children, checked, variant, actions, ...props }: {
|
|
1382
1061
|
children?: React.ReactNode;
|
|
1383
1062
|
} & Omit<Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -1401,25 +1080,21 @@ declare const Command: {
|
|
|
1401
1080
|
declare const addonVariants$1: (props?: ({
|
|
1402
1081
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
1403
1082
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1404
|
-
type Props$
|
|
1405
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
1083
|
+
type Props$1s = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1084
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1s) => react_jsx_runtime.JSX.Element;
|
|
1406
1085
|
|
|
1407
1086
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
1408
|
-
type Props$
|
|
1409
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
1410
|
-
ref?: Ref<ElementRef<"button">>;
|
|
1411
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1087
|
+
type Props$1r = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
1088
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$1r) => react_jsx_runtime.JSX.Element;
|
|
1412
1089
|
|
|
1413
|
-
type Props$
|
|
1414
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
1415
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1416
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1090
|
+
type Props$1q = ComponentProps<'input'>;
|
|
1091
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$1q) => react_jsx_runtime.JSX.Element;
|
|
1417
1092
|
|
|
1418
|
-
type Props$
|
|
1419
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
1093
|
+
type Props$1p = ComponentProps<'span'>;
|
|
1094
|
+
declare const InputGroupText: ({ className, ...props }: Props$1p) => react_jsx_runtime.JSX.Element;
|
|
1420
1095
|
|
|
1421
1096
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof react_textarea_autosize__default>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
1422
|
-
type Props$
|
|
1097
|
+
type Props$1o = TextareaNativeProps$1 & {
|
|
1423
1098
|
value?: string | null;
|
|
1424
1099
|
defaultValue?: string | null;
|
|
1425
1100
|
onValueChange?: (value: string) => void;
|
|
@@ -1427,9 +1102,7 @@ type Props$1u = TextareaNativeProps$1 & {
|
|
|
1427
1102
|
maxRows?: number | 'unlimited';
|
|
1428
1103
|
disableResize?: boolean;
|
|
1429
1104
|
};
|
|
1430
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
1431
|
-
ref?: Ref<ElementRef<"textarea">>;
|
|
1432
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1105
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$1o) => react_jsx_runtime.JSX.Element;
|
|
1433
1106
|
|
|
1434
1107
|
declare const inputGroupVariants: (props?: ({
|
|
1435
1108
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -1437,12 +1110,10 @@ declare const inputGroupVariants: (props?: ({
|
|
|
1437
1110
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1438
1111
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1439
1112
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1440
|
-
type Props$
|
|
1113
|
+
type Props$1n = ComponentPropsWithRef<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
1441
1114
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
1442
1115
|
};
|
|
1443
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1444
|
-
ref?: Ref<ElementRef<"div">>;
|
|
1445
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1116
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$1n) => react_jsx_runtime.JSX.Element;
|
|
1446
1117
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
1447
1118
|
Input: typeof InputGroupInput;
|
|
1448
1119
|
Addon: typeof InputGroupAddon;
|
|
@@ -1451,8 +1122,8 @@ declare const InputGroup: typeof InputGroupRoot & {
|
|
|
1451
1122
|
Text: typeof InputGroupText;
|
|
1452
1123
|
};
|
|
1453
1124
|
|
|
1454
|
-
type InputGroupProps$
|
|
1455
|
-
type OwnProps
|
|
1125
|
+
type InputGroupProps$9 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
1126
|
+
type OwnProps = {
|
|
1456
1127
|
prefix?: ReactNode;
|
|
1457
1128
|
rightSuffix?: ReactNode;
|
|
1458
1129
|
rightSuffixVariant?: 'addon' | 'default';
|
|
@@ -1460,56 +1131,6 @@ type OwnProps$1 = {
|
|
|
1460
1131
|
allowClear?: boolean;
|
|
1461
1132
|
onClear?: () => void;
|
|
1462
1133
|
testId?: string;
|
|
1463
|
-
value?: ComponentProps<'input'>['value'] | null;
|
|
1464
|
-
defaultValue?: ComponentProps<'input'>['defaultValue'] | null;
|
|
1465
|
-
};
|
|
1466
|
-
/**
|
|
1467
|
-
* Props for `Input`. Combines `InputGroup` chrome (variant / sizing / state / focusVariant) with
|
|
1468
|
-
* input-specific slots (`prefix`, `leftSuffix`, `rightSuffix`, `allowClear`).
|
|
1469
|
-
*/
|
|
1470
|
-
type Props$1s = InputGroupProps$7 & OwnProps$1 & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue'>;
|
|
1471
|
-
/**
|
|
1472
|
-
* Low-level text input with `InputGroup` chrome — addons, clear button, sizing, focus variants.
|
|
1473
|
-
*
|
|
1474
|
-
* **When to use:** when you need an input with prefix / suffix slots or a clear button and don't need the
|
|
1475
|
-
* `onValueChange` convenience callback. Rare on its own — most call sites should use `TextInput`.
|
|
1476
|
-
* **When NOT to use:** for plain text fields use `TextInput`; for fields inside a `FormGroup` use
|
|
1477
|
-
* `FormGroup.TextInput`; for search use `SearchInput`; for forms with validation use `useAppForm`.
|
|
1478
|
-
* **Composition:** wrap in `FormGroup` for shared error state, or render directly as a controlled input.
|
|
1479
|
-
*/
|
|
1480
|
-
declare const Input$1: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, value, defaultValue, ...inputProps }: Props$1s & {
|
|
1481
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1482
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1483
|
-
|
|
1484
|
-
type InputProps$1 = ComponentProps<typeof Input$1>;
|
|
1485
|
-
type Props$1r = Omit<InputProps$1, 'type' | 'value' | 'defaultValue'> & {
|
|
1486
|
-
defaultValue?: Date | null;
|
|
1487
|
-
disabledDays?: Matcher | Matcher[];
|
|
1488
|
-
endMonth?: Date;
|
|
1489
|
-
onValueBlur?: (value: Date | null) => void;
|
|
1490
|
-
onValueChange?: (value: Date | null) => void;
|
|
1491
|
-
startMonth?: Date;
|
|
1492
|
-
value?: Date | null;
|
|
1493
|
-
};
|
|
1494
|
-
declare const DateInput: ({ ref, defaultValue, disabled, disabledDays, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, variant, ...props }: Props$1r & {
|
|
1495
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1496
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1497
|
-
|
|
1498
|
-
type InputProps = ComponentProps<typeof Input$1>;
|
|
1499
|
-
type Props$1q = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
1500
|
-
defaultValue?: DateRange$1 | null;
|
|
1501
|
-
endMonth?: Date;
|
|
1502
|
-
onValueBlur?: (value: DateRange$1 | null) => void;
|
|
1503
|
-
onValueChange?: (value: DateRange$1 | null) => void;
|
|
1504
|
-
startMonth?: Date;
|
|
1505
|
-
value?: DateRange$1 | null;
|
|
1506
|
-
};
|
|
1507
|
-
declare const DateRangeInput: ({ ref, defaultValue, disabled, endMonth, onBlur, onChange, onValueBlur, onValueChange, placeholder, readOnly, startMonth, value, ...props }: Props$1q & {
|
|
1508
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1509
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1510
|
-
|
|
1511
|
-
type NativeProps = Omit<ComponentProps<typeof Input$1>, 'type' | 'value' | 'defaultValue' | 'accept' | 'step'>;
|
|
1512
|
-
type OwnProps = {
|
|
1513
1134
|
value?: string | null;
|
|
1514
1135
|
defaultValue?: string | null;
|
|
1515
1136
|
/** Called with the unwrapped string value on every change. For the raw event use `onChange`. */
|
|
@@ -1519,12 +1140,15 @@ type OwnProps = {
|
|
|
1519
1140
|
type?: 'text' | 'email' | 'password' | 'datetime-local' | 'date';
|
|
1520
1141
|
};
|
|
1521
1142
|
/**
|
|
1522
|
-
* Props for `TextInput`.
|
|
1523
|
-
*
|
|
1143
|
+
* Props for `TextInput`. Combines `InputGroup` chrome (variant / sizing / state / focusVariant) with
|
|
1144
|
+
* input-specific slots (`prefix`, `leftSuffix`, `rightSuffix`, `allowClear`) and a string-typed
|
|
1145
|
+
* `value` / `defaultValue` plus convenience `onValueChange` / `onValueBlur` callbacks. `null` /
|
|
1146
|
+
* `undefined` are coerced to empty strings.
|
|
1524
1147
|
*/
|
|
1525
|
-
type Props$
|
|
1148
|
+
type Props$1m = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue' | 'type' | 'accept' | 'step'>;
|
|
1526
1149
|
/**
|
|
1527
|
-
* Standard text input with a string-only API
|
|
1150
|
+
* Standard text input with a string-only API, built on `InputGroup` chrome — addons, clear button,
|
|
1151
|
+
* sizing, focus variants. The default choice for a bare text input.
|
|
1528
1152
|
*
|
|
1529
1153
|
* **When to use:** any plain text / email / password / date-input field outside `useAppForm`. Pair with
|
|
1530
1154
|
* `onValueChange` instead of unwrapping `event.target.value` from `onChange`.
|
|
@@ -1534,42 +1158,34 @@ type Props$1p = OwnProps & NativeProps;
|
|
|
1534
1158
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1535
1159
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1536
1160
|
*/
|
|
1537
|
-
declare const TextInput: ({ ref,
|
|
1538
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1539
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1161
|
+
declare const TextInput: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, onValueChange, onValueBlur, value: valueProp, defaultValue, ...inputProps }: Props$1m) => react_jsx_runtime.JSX.Element;
|
|
1540
1162
|
|
|
1541
|
-
type Props$
|
|
1542
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1543
|
-
ref?: Ref<ElementRef<"input">>;
|
|
1544
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1163
|
+
type Props$1l = ComponentProps<typeof TextInput>;
|
|
1164
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$1l) => react_jsx_runtime.JSX.Element;
|
|
1545
1165
|
|
|
1546
|
-
type Props$
|
|
1166
|
+
type Props$1k = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1547
1167
|
viewPortClassName?: string;
|
|
1548
1168
|
scrollBarClassName?: string;
|
|
1549
1169
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1550
1170
|
};
|
|
1551
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1552
|
-
ref?: Ref<ElementRef<"div">>;
|
|
1553
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1171
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$1k) => react_jsx_runtime.JSX.Element;
|
|
1554
1172
|
|
|
1555
|
-
type Props$
|
|
1556
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1173
|
+
type Props$1j = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1174
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$1j) => react_jsx_runtime.JSX.Element;
|
|
1557
1175
|
|
|
1558
|
-
type Props$
|
|
1559
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1560
|
-
ref?: Ref<ElementRef<"div">>;
|
|
1561
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1176
|
+
type Props$1i = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1177
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$1i) => react_jsx_runtime.JSX.Element;
|
|
1562
1178
|
|
|
1563
|
-
type Props$
|
|
1564
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
1179
|
+
type Props$1h = ComponentProps<typeof Command$1.Group>;
|
|
1180
|
+
declare const CommandGroup: ({ className, ...props }: Props$1h) => react_jsx_runtime.JSX.Element;
|
|
1565
1181
|
|
|
1566
|
-
type Props$
|
|
1182
|
+
type Props$1g = ComponentProps<typeof Command$1.Item> & {
|
|
1567
1183
|
icon?: ReactNode;
|
|
1568
1184
|
checked?: boolean;
|
|
1569
1185
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1570
1186
|
actions?: ReactNode;
|
|
1571
1187
|
};
|
|
1572
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1188
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$1g) => react_jsx_runtime.JSX.Element;
|
|
1573
1189
|
|
|
1574
1190
|
/** Viewport-relative box of the highlighted target. */
|
|
1575
1191
|
type TargetRect = {
|
|
@@ -1589,7 +1205,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1589
1205
|
*/
|
|
1590
1206
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1591
1207
|
|
|
1592
|
-
type Props$
|
|
1208
|
+
type Props$1f = {
|
|
1593
1209
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1594
1210
|
rect: TargetRect | null;
|
|
1595
1211
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1611,7 +1227,7 @@ type Props$1i = {
|
|
|
1611
1227
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1612
1228
|
* "Guided tour (recipe)" story for the composition.
|
|
1613
1229
|
*/
|
|
1614
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1230
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$1f) => react_jsx_runtime.JSX.Element;
|
|
1615
1231
|
|
|
1616
1232
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
1617
1233
|
declare const Calendar: {
|
|
@@ -1655,20 +1271,20 @@ declare const DateRangePicker: {
|
|
|
1655
1271
|
displayName: string;
|
|
1656
1272
|
};
|
|
1657
1273
|
|
|
1658
|
-
type Props$
|
|
1274
|
+
type Props$1e = {
|
|
1659
1275
|
children?: ReactNode;
|
|
1660
1276
|
defaultSelected?: string | null;
|
|
1661
1277
|
selected?: string | null;
|
|
1662
1278
|
onSelect?: (time: string) => void;
|
|
1663
1279
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1664
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$
|
|
1280
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$1e) => react_jsx_runtime.JSX.Element;
|
|
1665
1281
|
|
|
1666
|
-
type Props$
|
|
1282
|
+
type Props$1d = {
|
|
1667
1283
|
id?: string | number;
|
|
1668
1284
|
htmlFor?: string | number;
|
|
1669
1285
|
} & Omit<LabelProps$1, 'id' | 'htmlFor'>;
|
|
1670
1286
|
declare const Label: {
|
|
1671
|
-
({ className, children, id, htmlFor, ...rest }: Props$
|
|
1287
|
+
({ className, children, id, htmlFor, ...rest }: Props$1d): react_jsx_runtime.JSX.Element;
|
|
1672
1288
|
Optional: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1673
1289
|
Required: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1674
1290
|
};
|
|
@@ -1682,21 +1298,19 @@ declare const switchVariants: (props?: ({
|
|
|
1682
1298
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
1683
1299
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1684
1300
|
|
|
1685
|
-
type Props$
|
|
1301
|
+
type Props$1c = {
|
|
1686
1302
|
id?: string | number;
|
|
1687
1303
|
children?: ReactNode;
|
|
1688
1304
|
description?: ReactNode;
|
|
1689
1305
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1690
1306
|
position?: 'start' | 'end';
|
|
1691
1307
|
} & Omit<ComponentProps<typeof Root$6>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
1692
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
1693
|
-
ref?: Ref<ElementRef<"button">>;
|
|
1694
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1308
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$1c) => react_jsx_runtime.JSX.Element;
|
|
1695
1309
|
|
|
1696
1310
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
1697
1311
|
type Orientation = 'vertical' | 'horizontal';
|
|
1698
1312
|
|
|
1699
|
-
type Props$
|
|
1313
|
+
type Props$1b<Value> = {
|
|
1700
1314
|
variant?: Variant$7;
|
|
1701
1315
|
orientation?: Orientation;
|
|
1702
1316
|
onValueChange?: (value: Value) => void;
|
|
@@ -1704,10 +1318,11 @@ type Props$1e<Value> = {
|
|
|
1704
1318
|
defaultValue?: Value | null;
|
|
1705
1319
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1706
1320
|
declare const RadioGroup: {
|
|
1707
|
-
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
1321
|
+
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$1b<Value>): react_jsx_runtime.JSX.Element;
|
|
1708
1322
|
Item: <T extends string = string>({ children, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1709
1323
|
content?: string | undefined | undefined;
|
|
1710
1324
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1325
|
+
color?: string | undefined | undefined;
|
|
1711
1326
|
prefix?: string | undefined | undefined;
|
|
1712
1327
|
id?: string | undefined | undefined;
|
|
1713
1328
|
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
@@ -1748,7 +1363,6 @@ declare const RadioGroup: {
|
|
|
1748
1363
|
vocab?: string | undefined | undefined;
|
|
1749
1364
|
autoCorrect?: string | undefined | undefined;
|
|
1750
1365
|
autoSave?: string | undefined | undefined;
|
|
1751
|
-
color?: string | undefined | undefined;
|
|
1752
1366
|
itemProp?: string | undefined | undefined;
|
|
1753
1367
|
itemScope?: boolean | undefined | undefined;
|
|
1754
1368
|
itemType?: string | undefined | undefined;
|
|
@@ -2001,34 +1615,30 @@ declare const RadioGroup: {
|
|
|
2001
1615
|
} & {
|
|
2002
1616
|
value: T;
|
|
2003
1617
|
tooltip?: react.ReactNode;
|
|
2004
|
-
tooltipVariant?: Props$
|
|
2005
|
-
tooltipPlacement?: Props$
|
|
1618
|
+
tooltipVariant?: Props$1L["variant"];
|
|
1619
|
+
tooltipPlacement?: Props$1L["placement"];
|
|
2006
1620
|
description?: react.ReactNode;
|
|
2007
1621
|
}) => react_jsx_runtime.JSX.Element;
|
|
2008
1622
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
2009
1623
|
};
|
|
2010
1624
|
|
|
2011
|
-
type Props$
|
|
1625
|
+
type Props$1a = ComponentProps<typeof Thumb> & {
|
|
2012
1626
|
tooltip?: ReactNode;
|
|
2013
1627
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
2014
1628
|
};
|
|
2015
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
2016
|
-
ref?: Ref<ElementRef<typeof Thumb>>;
|
|
2017
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1629
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$1a) => react_jsx_runtime.JSX.Element;
|
|
2018
1630
|
|
|
2019
1631
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
2020
|
-
type Props$
|
|
1632
|
+
type Props$19 = ComponentProps<typeof Root$7> & {
|
|
2021
1633
|
thumbTooltip?: ThumbTooltipFn;
|
|
2022
1634
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
2023
1635
|
rangeClassName?: string;
|
|
2024
1636
|
};
|
|
2025
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
2026
|
-
ref?: Ref<ElementRef<typeof Root$7>>;
|
|
2027
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1637
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$19) => react_jsx_runtime.JSX.Element;
|
|
2028
1638
|
|
|
2029
1639
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent$1<HTMLButtonElement>) => void;
|
|
2030
1640
|
type SearchBlurEventHandler = (value: string, event: FocusEvent$1<HTMLInputElement, Element>) => void;
|
|
2031
|
-
type Props$
|
|
1641
|
+
type Props$18 = {
|
|
2032
1642
|
suffix?: ReactNode;
|
|
2033
1643
|
disableDebounce?: boolean;
|
|
2034
1644
|
debounceDelay?: number;
|
|
@@ -2039,20 +1649,16 @@ type Props$1b = {
|
|
|
2039
1649
|
testId?: string;
|
|
2040
1650
|
onClear?: () => void;
|
|
2041
1651
|
variant?: 'default' | 'ai';
|
|
2042
|
-
} & Omit<
|
|
1652
|
+
} & Omit<ComponentProps<'input'>, 'type' | 'onBlur' | 'onChange' | 'value' | 'defaultValue' | 'prefix' | 'suffix'>;
|
|
2043
1653
|
/**
|
|
2044
1654
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
2045
1655
|
*/
|
|
2046
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
2047
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2048
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1656
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$18) => react_jsx_runtime.JSX.Element;
|
|
2049
1657
|
|
|
2050
|
-
type Props$
|
|
1658
|
+
type Props$17 = {
|
|
2051
1659
|
onSubmit: (value: string) => void;
|
|
2052
1660
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
2053
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
2054
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2055
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1661
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$17) => react_jsx_runtime.JSX.Element;
|
|
2056
1662
|
|
|
2057
1663
|
type SelectRootProps = {
|
|
2058
1664
|
children?: ReactNode;
|
|
@@ -2075,12 +1681,10 @@ declare const variants$2: (props?: ({
|
|
|
2075
1681
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2076
1682
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2077
1683
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2078
|
-
type Props$
|
|
2079
|
-
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'
|
|
1684
|
+
type Props$16 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof variants$2>, 'variant'> & {
|
|
1685
|
+
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'> | 'inline';
|
|
2080
1686
|
} & Pick<ComponentProps<typeof _radix_ui_react_select.Value>, 'placeholder'>;
|
|
2081
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
2082
|
-
ref?: Ref<ElementRef<"button">>;
|
|
2083
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1687
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$16) => react_jsx_runtime.JSX.Element;
|
|
2084
1688
|
|
|
2085
1689
|
type SelectItem = {
|
|
2086
1690
|
value: string;
|
|
@@ -2093,11 +1697,7 @@ type SelectItemGroup = {
|
|
|
2093
1697
|
items: readonly SelectItem[];
|
|
2094
1698
|
};
|
|
2095
1699
|
type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
2096
|
-
|
|
2097
|
-
* Props for `Select`. Combines Radix `Select.Root` control props with `Select.Trigger` chrome and the
|
|
2098
|
-
* convenience `items` shape (flat list, or grouped lists with optional labels).
|
|
2099
|
-
*/
|
|
2100
|
-
type Props$18 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className'> & {
|
|
1700
|
+
type Props$15 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange' | 'dir' | 'autoComplete' | 'form'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required'> & {
|
|
2101
1701
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
2102
1702
|
};
|
|
2103
1703
|
/**
|
|
@@ -2105,16 +1705,15 @@ type Props$18 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange'
|
|
|
2105
1705
|
*
|
|
2106
1706
|
* **When to use:** picking one value from ~10 or fewer options where search adds no value (status,
|
|
2107
1707
|
* region, role). Pass a flat `items` array or grouped arrays with optional labels for headings.
|
|
2108
|
-
* **When NOT to use:** for longer lists with search use `Combobox`; for multi-select use `MultiCombobox
|
|
2109
|
-
* for free-form tag entry use `Tagger`.
|
|
1708
|
+
* **When NOT to use:** for longer lists with search use `Combobox`; for multi-select use `MultiCombobox`.
|
|
2110
1709
|
* **Composition:** wrap in `FormGroup` for label + help text, or use `useAppForm` + `field.SelectField`
|
|
2111
1710
|
* for forms with validation. Use the compound parts (`Select.Root`, `Select.Trigger`, `Select.Content`,
|
|
2112
1711
|
* `Select.Item`) for custom item layouts; the top-level `Select` covers the common cases.
|
|
2113
1712
|
*/
|
|
2114
1713
|
declare const Select: {
|
|
2115
|
-
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, variant, state, sizing, placeholder, id, className, items, }: Props$
|
|
1714
|
+
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, dir, autoComplete, form, variant, state, sizing, placeholder, id, className, onBlur, "aria-describedby": ariaDescribedBy, "aria-invalid": ariaInvalid, "aria-required": ariaRequired, items, }: Props$15): react_jsx_runtime.JSX.Element;
|
|
2116
1715
|
Root: (props: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
2117
|
-
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }:
|
|
1716
|
+
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: _radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
2118
1717
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
2119
1718
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2120
1719
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
@@ -2123,72 +1722,58 @@ declare const Select: {
|
|
|
2123
1722
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
2124
1723
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2125
1724
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2126
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"
|
|
2127
|
-
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">)
|
|
2128
|
-
|
|
2129
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2130
|
-
Content: ({ ref, className, children, container, position, sideOffset, ...props }: (_radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
1725
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
1726
|
+
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">) => react_jsx_runtime.JSX.Element;
|
|
1727
|
+
Content: ({ ref, className, children, container, position, sideOffset, ...props }: _radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
2131
1728
|
container?: HTMLElement | null;
|
|
2132
|
-
}) & {
|
|
2133
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2134
1729
|
}) => react_jsx_runtime.JSX.Element;
|
|
2135
|
-
Item: ({ ref, className, children, icon, ...props }:
|
|
1730
|
+
Item: ({ ref, className, children, icon, ...props }: _radix_ui_react_select.SelectItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
2136
1731
|
icon?: ReactNode;
|
|
2137
|
-
}) & {
|
|
2138
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2139
1732
|
}) => react_jsx_runtime.JSX.Element;
|
|
2140
1733
|
Group: ({ className, ...props }: _radix_ui_react_select.SelectGroupProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2141
1734
|
Label: ({ className, ...props }: _radix_ui_react_select.SelectLabelProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2142
1735
|
Separator: ({ className, ...props }: _radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
2143
1736
|
};
|
|
2144
1737
|
|
|
2145
|
-
type Props$
|
|
1738
|
+
type Props$14 = {
|
|
2146
1739
|
id?: string | number;
|
|
2147
1740
|
description?: ReactNode;
|
|
2148
1741
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
2149
1742
|
position?: 'start' | 'end';
|
|
2150
|
-
tooltip?: Props$
|
|
2151
|
-
tooltipPlacement?: Props$
|
|
1743
|
+
tooltip?: Props$1L['tooltip'];
|
|
1744
|
+
tooltipPlacement?: Props$1L['placement'];
|
|
2152
1745
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
2153
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1746
|
+
declare function Checkbox(prop: Omit<Props$14, 'checked' | 'onCheckedChange'> & {
|
|
2154
1747
|
checked?: boolean;
|
|
2155
1748
|
onCheckedChange?: (checked: boolean) => void;
|
|
2156
1749
|
}): ReactNode;
|
|
2157
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1750
|
+
declare function Checkbox(prop: Omit<Props$14, 'checked' | 'onCheckedChange'> & {
|
|
2158
1751
|
checked?: CheckedState;
|
|
2159
1752
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
2160
1753
|
}): ReactNode;
|
|
2161
1754
|
|
|
2162
1755
|
type Variant$6 = 'check' | 'checkbox';
|
|
2163
|
-
type Props$
|
|
1756
|
+
type Props$13 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
2164
1757
|
className?: string;
|
|
2165
1758
|
variant?: Variant$6;
|
|
2166
1759
|
};
|
|
2167
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
2168
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2169
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1760
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$13) => react_jsx_runtime.JSX.Element;
|
|
2170
1761
|
|
|
2171
|
-
type Props$
|
|
2172
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
2173
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2174
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1762
|
+
type Props$12 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
1763
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$12) => react_jsx_runtime.JSX.Element;
|
|
2175
1764
|
|
|
2176
|
-
type InputGroupProps$
|
|
2177
|
-
type Props$
|
|
1765
|
+
type InputGroupProps$8 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
1766
|
+
type Props$11 = InputGroupProps$8 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
2178
1767
|
className?: string;
|
|
2179
1768
|
};
|
|
2180
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
2181
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2182
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1769
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$11) => react_jsx_runtime.JSX.Element;
|
|
2183
1770
|
|
|
2184
|
-
type Props$
|
|
1771
|
+
type Props$10 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
2185
1772
|
className?: string;
|
|
2186
1773
|
icon?: ReactNode;
|
|
2187
1774
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
2188
1775
|
};
|
|
2189
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
2190
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2191
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1776
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$10) => react_jsx_runtime.JSX.Element;
|
|
2192
1777
|
|
|
2193
1778
|
type Group<Item = unknown> = {
|
|
2194
1779
|
items: readonly Item[];
|
|
@@ -2201,12 +1786,12 @@ type ComboboxItemProps$1 = ComponentProps<typeof ComboboxItem>;
|
|
|
2201
1786
|
type Indicator$1 = NonNullable<ComboboxItemProps$1['indicator']>;
|
|
2202
1787
|
type PublicComboboxInputProps = Pick<ComboboxInputProps$1, 'placeholder' | 'id'> & Pick<ComboboxInputGroupProps$1, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'>;
|
|
2203
1788
|
type PublicComboboxProps<Value> = Pick<ComboboxProps$1<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter' | 'onOpenChangeComplete' | 'isItemEqualToValue'>;
|
|
2204
|
-
type CreatableProps<Value> = {
|
|
1789
|
+
type CreatableProps$1<Value> = {
|
|
2205
1790
|
allowCreate?: boolean;
|
|
2206
1791
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
2207
1792
|
queryToCreateValue?: (query: string) => Value;
|
|
2208
1793
|
};
|
|
2209
|
-
type Props
|
|
1794
|
+
type Props$$<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps$1<Value> & {
|
|
2210
1795
|
items?: readonly (Value | GroupShape)[];
|
|
2211
1796
|
allowClear?: boolean;
|
|
2212
1797
|
empty?: ReactNode;
|
|
@@ -2218,17 +1803,15 @@ type Props$12<Value, GroupShape extends Group<Value> = Group<Value>> = PublicCom
|
|
|
2218
1803
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
2219
1804
|
};
|
|
2220
1805
|
declare const Combobox: {
|
|
2221
|
-
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props
|
|
1806
|
+
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$$<Value, GroupShape>): react_jsx_runtime.JSX.Element;
|
|
2222
1807
|
Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
|
|
2223
|
-
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }:
|
|
1808
|
+
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: {
|
|
2224
1809
|
variant?: "primary" | "secondary" | null | undefined;
|
|
2225
1810
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
2226
1811
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
2227
1812
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
2228
1813
|
} & Omit<Omit<_base_ui_react_combobox.ComboboxInputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className" | "render"> & {
|
|
2229
1814
|
className?: string;
|
|
2230
|
-
}) & {
|
|
2231
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2232
1815
|
}) => react_jsx_runtime.JSX.Element;
|
|
2233
1816
|
Input: ({ ref, ...props }: {
|
|
2234
1817
|
content?: string | undefined | undefined;
|
|
@@ -2532,7 +2115,6 @@ declare const Combobox: {
|
|
|
2532
2115
|
multiple?: boolean | undefined | undefined;
|
|
2533
2116
|
src?: string | undefined | undefined;
|
|
2534
2117
|
alt?: string | undefined | undefined;
|
|
2535
|
-
required?: boolean | undefined | undefined;
|
|
2536
2118
|
accept?: string | undefined | undefined;
|
|
2537
2119
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
2538
2120
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -2540,46 +2122,31 @@ declare const Combobox: {
|
|
|
2540
2122
|
minLength?: number | undefined | undefined;
|
|
2541
2123
|
placeholder?: string | undefined | undefined;
|
|
2542
2124
|
readOnly?: boolean | undefined | undefined;
|
|
2543
|
-
|
|
2544
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
2125
|
+
required?: boolean | undefined | undefined;
|
|
2545
2126
|
}) => react_jsx_runtime.JSX.Element;
|
|
2546
|
-
Content: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }:
|
|
2127
|
+
Content: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Omit<Omit<_base_ui_react_combobox.ComboboxPopupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2547
2128
|
className?: string;
|
|
2548
|
-
} & Pick<Omit<_base_ui_react_combobox.ComboboxPositionerProps, "ref"> & react.RefAttributes<HTMLDivElement>, "side" | "sideOffset" | "align" | "alignOffset" | "anchor"> & Pick<Omit<_base_ui_react_combobox.ComboboxPortalProps, "ref"> & react.RefAttributes<HTMLDivElement>, "container">)
|
|
2549
|
-
|
|
2550
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2551
|
-
List: ({ ref, className, ...props }: (Omit<Omit<_base_ui_react_combobox.ComboboxListProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2129
|
+
} & Pick<Omit<_base_ui_react_combobox.ComboboxPositionerProps, "ref"> & react.RefAttributes<HTMLDivElement>, "side" | "sideOffset" | "align" | "alignOffset" | "anchor"> & Pick<Omit<_base_ui_react_combobox.ComboboxPortalProps, "ref"> & react.RefAttributes<HTMLDivElement>, "container">) => react_jsx_runtime.JSX.Element;
|
|
2130
|
+
List: ({ ref, className, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxListProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2552
2131
|
className?: string;
|
|
2553
|
-
}) & {
|
|
2554
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2555
2132
|
}) => react_jsx_runtime.JSX.Element;
|
|
2556
|
-
Item: ({ ref, className, children, icon, indicator: variant, ...props }:
|
|
2133
|
+
Item: ({ ref, className, children, icon, indicator: variant, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2557
2134
|
className?: string;
|
|
2558
2135
|
icon?: ReactNode;
|
|
2559
2136
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>["variant"];
|
|
2560
|
-
}) & {
|
|
2561
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2562
2137
|
}) => react_jsx_runtime.JSX.Element;
|
|
2563
|
-
Empty: ({ ref, className, ...props }:
|
|
2138
|
+
Empty: ({ ref, className, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxEmptyProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2564
2139
|
className?: string;
|
|
2565
|
-
}) & {
|
|
2566
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2567
2140
|
}) => react_jsx_runtime.JSX.Element;
|
|
2568
2141
|
Value: typeof Combobox$1.Value;
|
|
2569
|
-
Separator: ({ ref, className, ...props }:
|
|
2142
|
+
Separator: ({ ref, className, ...props }: Omit<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2570
2143
|
className?: string;
|
|
2571
|
-
}) & {
|
|
2572
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2573
2144
|
}) => react_jsx_runtime.JSX.Element;
|
|
2574
|
-
Group: ({ ref, className, children, ...props }:
|
|
2145
|
+
Group: ({ ref, className, children, ...props }: Omit<Omit<_base_ui_react_combobox.ComboboxGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className"> & {
|
|
2575
2146
|
className?: string;
|
|
2576
|
-
}) & {
|
|
2577
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2578
2147
|
}) => react_jsx_runtime.JSX.Element;
|
|
2579
|
-
GroupLabel: ({ ref, className, ...props }:
|
|
2148
|
+
GroupLabel: ({ ref, className, ...props }: Omit<_base_ui_react_combobox.ComboboxGroupLabelProps, "className"> & {
|
|
2580
2149
|
className?: string;
|
|
2581
|
-
}) & {
|
|
2582
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
2583
2150
|
}) => react_jsx_runtime.JSX.Element;
|
|
2584
2151
|
GroupList: ({ ...props }: _base_ui_react_combobox.ComboboxCollectionProps) => react_jsx_runtime.JSX.Element;
|
|
2585
2152
|
Chips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, variant, }: {
|
|
@@ -2596,12 +2163,17 @@ type ComboboxInputGroupProps = ComponentProps<typeof Combobox.InputGroup>;
|
|
|
2596
2163
|
type ComboboxItemProps = ComponentProps<typeof Combobox.Item>;
|
|
2597
2164
|
type ComboboxChipsProps = ComponentProps<typeof Combobox.Chips>;
|
|
2598
2165
|
type Indicator = NonNullable<ComboboxItemProps['indicator']>;
|
|
2166
|
+
type CreatableProps<Value> = {
|
|
2167
|
+
allowCreate?: boolean;
|
|
2168
|
+
queryToCreateLabel?: (query: string) => ReactNode;
|
|
2169
|
+
queryToCreateValue?: (query: string) => Value;
|
|
2170
|
+
};
|
|
2599
2171
|
/**
|
|
2600
2172
|
* Props for `MultiCombobox`. Generic over `Value` (the item shape) and `GroupShape` (optional group wrapper).
|
|
2601
2173
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
2602
|
-
* the default substring matcher.
|
|
2174
|
+
* the default substring matcher. Pass `allowCreate` to let the user add free-form values not in `items`.
|
|
2603
2175
|
*/
|
|
2604
|
-
type Props$
|
|
2176
|
+
type Props$_<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter'> & Pick<ComboboxChipsProps, 'itemToChipLabel' | 'itemToChipColor' | 'maxVisible'> & CreatableProps<Value> & {
|
|
2605
2177
|
items?: readonly (Value | GroupShape)[];
|
|
2606
2178
|
allowClear?: boolean;
|
|
2607
2179
|
allowSelectAll?: boolean;
|
|
@@ -2617,17 +2189,17 @@ type Props$11<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<Comb
|
|
|
2617
2189
|
*
|
|
2618
2190
|
* **When to use:** picking several items from a searchable enumerated list (filter by tags, assign labels).
|
|
2619
2191
|
* Items render as chips above the input; `maxVisible` collapses excess into a `+N more` chip.
|
|
2620
|
-
* **When NOT to use:** for single selection use `Combobox`; for short enums without search use `Select
|
|
2621
|
-
* for free-form chip entry where the user types arbitrary new values use `Tagger`.
|
|
2192
|
+
* **When NOT to use:** for single selection use `Combobox`; for short enums without search use `Select`.
|
|
2622
2193
|
* **Composition:** wrap in `FormGroup` for label + help text, or use `useAppForm` for form integration.
|
|
2623
|
-
* Pass `allowSelectAll` for a sticky "Select All" item when the full enum is small.
|
|
2194
|
+
* Pass `allowSelectAll` for a sticky "Select All" item when the full enum is small. Pass `allowCreate`
|
|
2195
|
+
* to let the user add free-form values that are not in `items` (e.g. entering column names by hand).
|
|
2624
2196
|
*
|
|
2625
2197
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
2626
2198
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
2627
2199
|
*/
|
|
2628
|
-
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$
|
|
2200
|
+
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$_<Value, GroupShape>) => react_jsx_runtime.JSX.Element;
|
|
2629
2201
|
|
|
2630
|
-
type InputGroupProps$
|
|
2202
|
+
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
2631
2203
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
2632
2204
|
type TextareaOwnProps = {
|
|
2633
2205
|
value?: string | null;
|
|
@@ -2638,14 +2210,12 @@ type TextareaOwnProps = {
|
|
|
2638
2210
|
disableResize?: boolean;
|
|
2639
2211
|
containerClassName?: string;
|
|
2640
2212
|
};
|
|
2641
|
-
type Props$
|
|
2213
|
+
type Props$Z = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
2642
2214
|
/**
|
|
2643
2215
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
2644
2216
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
2645
2217
|
*/
|
|
2646
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, ...rest }: Props$
|
|
2647
|
-
ref?: Ref<ElementRef<"textarea">>;
|
|
2648
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2218
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$Z) => react_jsx_runtime.JSX.Element;
|
|
2649
2219
|
|
|
2650
2220
|
type AutoSaveTextareaProps = {
|
|
2651
2221
|
savedValue?: string;
|
|
@@ -2656,18 +2226,16 @@ type AutoSaveTextareaProps = {
|
|
|
2656
2226
|
} & Pick<ComponentProps<typeof Textarea>, 'variant' | 'minRows' | 'maxRows' | 'className' | 'containerClassName' | 'maxLength'>;
|
|
2657
2227
|
declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, grow, ...textareaProps }: AutoSaveTextareaProps) => react_jsx_runtime.JSX.Element;
|
|
2658
2228
|
|
|
2659
|
-
type InputGroupProps$
|
|
2660
|
-
type InputGroupInputProps$
|
|
2661
|
-
type Props
|
|
2229
|
+
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2230
|
+
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2231
|
+
type Props$Y = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
2662
2232
|
value?: string | null;
|
|
2663
2233
|
defaultValue?: string | null;
|
|
2664
2234
|
onValueChange?: (value: string) => void;
|
|
2665
2235
|
onValueBlur?: (value: string) => void;
|
|
2666
2236
|
allowClear?: boolean;
|
|
2667
2237
|
};
|
|
2668
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props
|
|
2669
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2670
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2238
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$Y) => react_jsx_runtime.JSX.Element;
|
|
2671
2239
|
|
|
2672
2240
|
type BrandId = string;
|
|
2673
2241
|
type ResolvedColorScheme = 'light' | 'dark';
|
|
@@ -2702,12 +2270,12 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
2702
2270
|
setScheme: (next: ColorScheme) => void;
|
|
2703
2271
|
};
|
|
2704
2272
|
|
|
2705
|
-
type Props$
|
|
2273
|
+
type Props$X = UseColorSchemeOptions & UseBrandOptions & {
|
|
2706
2274
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
2707
2275
|
brands?: readonly Brand[];
|
|
2708
2276
|
children: ReactNode;
|
|
2709
2277
|
};
|
|
2710
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$
|
|
2278
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$X) => react_jsx_runtime.JSX.Element;
|
|
2711
2279
|
|
|
2712
2280
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
2713
2281
|
themes: Theme[];
|
|
@@ -2731,7 +2299,7 @@ declare const useArgoDesign: () => boolean;
|
|
|
2731
2299
|
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
2732
2300
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
2733
2301
|
|
|
2734
|
-
type Props$
|
|
2302
|
+
type Props$W = {
|
|
2735
2303
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
2736
2304
|
value: ColorScheme;
|
|
2737
2305
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -2756,11 +2324,25 @@ type Props$Z = {
|
|
|
2756
2324
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
2757
2325
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
2758
2326
|
*/
|
|
2759
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
2327
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$W) => react_jsx_runtime.JSX.Element;
|
|
2760
2328
|
|
|
2761
|
-
type InputGroupProps$
|
|
2762
|
-
type InputGroupInputProps$
|
|
2763
|
-
type Props$
|
|
2329
|
+
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2330
|
+
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2331
|
+
type Props$V = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
2332
|
+
value?: Date | null;
|
|
2333
|
+
defaultValue?: Date | null;
|
|
2334
|
+
onValueChange?: (value: Date | null) => void;
|
|
2335
|
+
onValueBlur?: (value: Date | null) => void;
|
|
2336
|
+
allowClear?: boolean;
|
|
2337
|
+
disabledDays?: Matcher | Matcher[];
|
|
2338
|
+
endMonth?: Date;
|
|
2339
|
+
startMonth?: Date;
|
|
2340
|
+
};
|
|
2341
|
+
declare const DateInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$V) => react_jsx_runtime.JSX.Element;
|
|
2342
|
+
|
|
2343
|
+
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2344
|
+
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
2345
|
+
type Props$U = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
2764
2346
|
value?: number | null;
|
|
2765
2347
|
defaultValue?: number | null;
|
|
2766
2348
|
onValueChange?: (value: number | null) => void;
|
|
@@ -2768,38 +2350,52 @@ type Props$Y = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
2768
2350
|
prefix?: ReactNode;
|
|
2769
2351
|
suffix?: ReactNode;
|
|
2770
2352
|
};
|
|
2771
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
2772
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2773
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2353
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$U) => react_jsx_runtime.JSX.Element;
|
|
2774
2354
|
|
|
2775
|
-
type InputGroupProps$
|
|
2776
|
-
type InputGroupInputProps$
|
|
2777
|
-
type Props$
|
|
2355
|
+
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2356
|
+
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
2357
|
+
type Props$T = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
2778
2358
|
value?: string | null;
|
|
2779
2359
|
defaultValue?: string | null;
|
|
2780
2360
|
onValueChange?: (value: string) => void;
|
|
2781
2361
|
onValueBlur?: (value: string) => void;
|
|
2782
2362
|
allowClear?: boolean;
|
|
2783
2363
|
allowPasswordToggle?: boolean;
|
|
2364
|
+
/**
|
|
2365
|
+
* Suffix appended to the reveal button's accessible name, e.g. the field
|
|
2366
|
+
* title. Use it to disambiguate multiple password fields on one form —
|
|
2367
|
+
* "Show password: API token" / "Hide password: API token". Omit for a
|
|
2368
|
+
* single field.
|
|
2369
|
+
*/
|
|
2370
|
+
passwordToggleLabel?: string;
|
|
2784
2371
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
2785
2372
|
defaultPasswordVisibility?: boolean;
|
|
2786
2373
|
};
|
|
2787
|
-
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$
|
|
2788
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2789
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2374
|
+
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$T) => react_jsx_runtime.JSX.Element;
|
|
2790
2375
|
|
|
2791
|
-
type InputGroupProps$
|
|
2792
|
-
type InputGroupInputProps$
|
|
2793
|
-
type Props$
|
|
2376
|
+
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2377
|
+
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2378
|
+
type Props$S = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
2794
2379
|
value?: string | null;
|
|
2795
2380
|
defaultValue?: string | null;
|
|
2796
2381
|
onValueChange?: (value: string | null) => void;
|
|
2797
2382
|
onValueBlur?: (value: string | null) => void;
|
|
2798
2383
|
allowClear?: boolean;
|
|
2799
2384
|
};
|
|
2800
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2801
|
-
|
|
2802
|
-
|
|
2385
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$S) => react_jsx_runtime.JSX.Element;
|
|
2386
|
+
|
|
2387
|
+
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2388
|
+
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2389
|
+
type Props$R = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
2390
|
+
value?: DateRange$1 | null;
|
|
2391
|
+
defaultValue?: DateRange$1 | null;
|
|
2392
|
+
onValueChange?: (value: DateRange$1 | null) => void;
|
|
2393
|
+
onValueBlur?: (value: DateRange$1 | null) => void;
|
|
2394
|
+
allowClear?: boolean;
|
|
2395
|
+
startMonth?: Date;
|
|
2396
|
+
endMonth?: Date;
|
|
2397
|
+
};
|
|
2398
|
+
declare const DateRangeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$R) => react_jsx_runtime.JSX.Element;
|
|
2803
2399
|
|
|
2804
2400
|
type OtpInputSizing = 'sm' | 'md' | 'lg';
|
|
2805
2401
|
type OtpElementProps = ComponentProps<typeof OTPInput>;
|
|
@@ -2835,7 +2431,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
2835
2431
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
2836
2432
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
2837
2433
|
*/
|
|
2838
|
-
type Props$
|
|
2434
|
+
type Props$Q = InputGroupProps & InputGroupInputProps & {
|
|
2839
2435
|
value?: string | null;
|
|
2840
2436
|
defaultValue?: string | null;
|
|
2841
2437
|
/** Called with the latest string value after the debounce window (default 300ms). Fires synchronously on clear and when `disableDebounce` is set. For sync echo of every keystroke use `onChange`. */
|
|
@@ -2858,15 +2454,13 @@ type Props$V = InputGroupProps & InputGroupInputProps & {
|
|
|
2858
2454
|
* free-text filters. `onValueChange` is debounced so callers can wire it directly to fetches without
|
|
2859
2455
|
* `useMemo` plumbing.
|
|
2860
2456
|
* **When NOT to use:** for a plain string input use `TextInput`; for selecting from a known enumerated
|
|
2861
|
-
* list use `Combobox` (which has its own search built in)
|
|
2457
|
+
* list use `Combobox` (which has its own search built in).
|
|
2862
2458
|
* **Composition:** typically rendered in `PageToolbar.Search` next to `MultiCombobox` filter pills. Use
|
|
2863
2459
|
* `allowClear` for the canonical x-to-reset affordance.
|
|
2864
2460
|
*
|
|
2865
2461
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
2866
2462
|
*/
|
|
2867
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
2868
|
-
ref?: Ref<ElementRef<"input">>;
|
|
2869
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2463
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$Q) => react_jsx_runtime.JSX.Element;
|
|
2870
2464
|
|
|
2871
2465
|
type SearchInputWithNavigationProps = {
|
|
2872
2466
|
currentIndex: number | null;
|
|
@@ -2885,118 +2479,12 @@ declare const SearchInputWithNavigation: ({ ref, value, onValueChange, placehold
|
|
|
2885
2479
|
ref?: Ref<HTMLInputElement>;
|
|
2886
2480
|
}) => react_jsx_runtime.JSX.Element;
|
|
2887
2481
|
|
|
2888
|
-
declare const addonVariants: (props?: ({
|
|
2889
|
-
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2890
|
-
variant?: "inline" | "floating" | null | undefined;
|
|
2891
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2892
|
-
type Props$U = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
2893
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$U & {
|
|
2894
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2895
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2896
|
-
|
|
2897
|
-
type Props$T = ComponentProps<'span'> & {
|
|
2898
|
-
asChild?: boolean;
|
|
2899
|
-
};
|
|
2900
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$T & {
|
|
2901
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2902
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2903
|
-
|
|
2904
|
-
declare const badgeRootVariants: (props?: ({
|
|
2905
|
-
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2906
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2907
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2908
|
-
|
|
2909
|
-
type Props$S = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
2910
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$S & {
|
|
2911
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2912
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2913
|
-
|
|
2914
|
-
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
2915
|
-
type BadgeRootProps = ComponentProps<typeof BadgeRoot>;
|
|
2916
|
-
type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
2917
|
-
/**
|
|
2918
|
-
* Props for `Badge`. `color` is a categorical contract (`green` = success, `red` = error, `orange` = warning,
|
|
2919
|
-
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
2920
|
-
* Pass `prefix` / `suffix` for icon-style addons.
|
|
2921
|
-
*/
|
|
2922
|
-
type Props$R = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
2923
|
-
prefix?: ReactNode;
|
|
2924
|
-
prefixVariant?: AddonVariant;
|
|
2925
|
-
suffix?: ReactNode;
|
|
2926
|
-
suffixVariant?: AddonVariant;
|
|
2927
|
-
labelClassName?: string;
|
|
2928
|
-
};
|
|
2929
|
-
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$R & {
|
|
2930
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2931
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
2932
|
-
Root: ({ ref, variant, color, className, children, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2933
|
-
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2934
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2935
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2936
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2937
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2938
|
-
Button: ({ ref, className, type, children, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & {
|
|
2939
|
-
ref?: Ref<ElementRef<"button">>;
|
|
2940
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2941
|
-
Label: ({ ref, className, asChild, ...rest }: (react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
2942
|
-
asChild?: boolean;
|
|
2943
|
-
}) & {
|
|
2944
|
-
ref?: Ref<ElementRef<"span">>;
|
|
2945
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2946
|
-
Addon: ({ ref, align, variant, className, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2947
|
-
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2948
|
-
variant?: "inline" | "floating" | null | undefined;
|
|
2949
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2950
|
-
ref?: Ref<ElementRef<"div">>;
|
|
2951
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2952
|
-
};
|
|
2953
|
-
|
|
2954
|
-
type Color = ComponentProps<typeof Badge>['color'];
|
|
2955
|
-
type TagOption = {
|
|
2956
|
-
name: string;
|
|
2957
|
-
color: Color;
|
|
2958
|
-
disabled?: boolean;
|
|
2959
|
-
};
|
|
2960
|
-
|
|
2961
|
-
type Props$Q = {
|
|
2962
|
-
onCreate?: (search: string) => void;
|
|
2963
|
-
} & Pick<ComponentProps<typeof Command.Item>, 'value'>;
|
|
2964
|
-
declare const TagSelectCreateItem: ({ onCreate, value }: Props$Q) => react_jsx_runtime.JSX.Element;
|
|
2965
|
-
|
|
2966
|
-
type Props$P = {
|
|
2967
|
-
value: string[];
|
|
2968
|
-
onAdd?: (selected: string[]) => void;
|
|
2969
|
-
};
|
|
2970
|
-
declare const TagSelectValue: ({ value, onAdd }: Props$P) => react_jsx_runtime.JSX.Element;
|
|
2971
|
-
|
|
2972
|
-
type Props$O = {
|
|
2973
|
-
options?: TagOption[];
|
|
2974
|
-
} & Pick<ComponentProps<typeof TagSelectValue>, 'onAdd'> & Pick<ComponentProps<typeof TagSelectCreateItem>, 'onCreate'>;
|
|
2975
|
-
declare const TagSelectList: ({ options, onAdd, onCreate }: Props$O) => react_jsx_runtime.JSX.Element;
|
|
2976
|
-
|
|
2977
|
-
type Props$N = {
|
|
2978
|
-
children: ReactNode;
|
|
2979
|
-
} & ComponentProps<typeof TagSelectList>;
|
|
2980
|
-
declare const TagSelectPopover: ({ children, onAdd, options, onCreate }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
2981
|
-
|
|
2982
|
-
type OnValueChangeHandler = (value: {
|
|
2983
|
-
action: 'add' | 'remove';
|
|
2984
|
-
tags: TagOption[];
|
|
2985
|
-
allTags: TagOption[];
|
|
2986
|
-
}) => void;
|
|
2987
|
-
type Props$M = {
|
|
2988
|
-
value?: TagOption[];
|
|
2989
|
-
onValueChange: OnValueChangeHandler;
|
|
2990
|
-
disabled?: boolean;
|
|
2991
|
-
} & Pick<ComponentProps<typeof TagSelectPopover>, 'options' | 'onCreate'>;
|
|
2992
|
-
declare const Tagger: ({ options, value, onCreate, onValueChange, disabled, }: Props$M) => react_jsx_runtime.JSX.Element | null;
|
|
2993
|
-
|
|
2994
2482
|
/**
|
|
2995
2483
|
* Props for `FileUpload`. The component is uncontrolled with respect to the file
|
|
2996
2484
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
2997
2485
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
2998
2486
|
*/
|
|
2999
|
-
type Props$
|
|
2487
|
+
type Props$P = {
|
|
3000
2488
|
/** MIME / extension filter passed straight to react-dropzone. */
|
|
3001
2489
|
accept?: Accept;
|
|
3002
2490
|
/** Max size per file, in bytes. Oversized files are rejected and surface in `onFilesRejected`. */
|
|
@@ -3015,7 +2503,7 @@ type Props$L = {
|
|
|
3015
2503
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
3016
2504
|
children: ReactNode;
|
|
3017
2505
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'>;
|
|
3018
|
-
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
2506
|
+
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$P) => react_jsx_runtime.JSX.Element) & {
|
|
3019
2507
|
DropZone: ({ children, className, ...rest }: {
|
|
3020
2508
|
children?: ReactNode;
|
|
3021
2509
|
} & Omit<HTMLAttributes<HTMLDivElement>, "children">) => react_jsx_runtime.JSX.Element;
|
|
@@ -3054,6 +2542,7 @@ declare const FormGroup: {
|
|
|
3054
2542
|
Help: ({ children, ...rest }: {
|
|
3055
2543
|
content?: string | undefined | undefined;
|
|
3056
2544
|
translate?: "yes" | "no" | undefined | undefined;
|
|
2545
|
+
color?: string | undefined | undefined;
|
|
3057
2546
|
prefix?: string | undefined | undefined;
|
|
3058
2547
|
id?: string | undefined | undefined;
|
|
3059
2548
|
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
@@ -3093,7 +2582,6 @@ declare const FormGroup: {
|
|
|
3093
2582
|
vocab?: string | undefined | undefined;
|
|
3094
2583
|
autoCorrect?: string | undefined | undefined;
|
|
3095
2584
|
autoSave?: string | undefined | undefined;
|
|
3096
|
-
color?: string | undefined | undefined;
|
|
3097
2585
|
itemProp?: string | undefined | undefined;
|
|
3098
2586
|
itemScope?: boolean | undefined | undefined;
|
|
3099
2587
|
itemType?: string | undefined | undefined;
|
|
@@ -3344,6 +2832,7 @@ declare const FormGroup: {
|
|
|
3344
2832
|
content?: string | undefined | undefined;
|
|
3345
2833
|
size?: number | undefined | undefined;
|
|
3346
2834
|
translate?: "yes" | "no" | undefined | undefined;
|
|
2835
|
+
color?: string | undefined | undefined;
|
|
3347
2836
|
prefix?: react.ReactNode;
|
|
3348
2837
|
id?: string | undefined | undefined;
|
|
3349
2838
|
name?: string | undefined | undefined;
|
|
@@ -3387,7 +2876,6 @@ declare const FormGroup: {
|
|
|
3387
2876
|
vocab?: string | undefined | undefined;
|
|
3388
2877
|
autoCorrect?: string | undefined | undefined;
|
|
3389
2878
|
autoSave?: string | undefined | undefined;
|
|
3390
|
-
color?: string | undefined | undefined;
|
|
3391
2879
|
itemProp?: string | undefined | undefined;
|
|
3392
2880
|
itemScope?: boolean | undefined | undefined;
|
|
3393
2881
|
itemType?: string | undefined | undefined;
|
|
@@ -3646,13 +3134,13 @@ declare const FormGroup: {
|
|
|
3646
3134
|
multiple?: boolean | undefined | undefined;
|
|
3647
3135
|
src?: string | undefined | undefined;
|
|
3648
3136
|
alt?: string | undefined | undefined;
|
|
3649
|
-
required?: boolean | undefined | undefined;
|
|
3650
3137
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
3651
3138
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
3652
3139
|
maxLength?: number | undefined | undefined;
|
|
3653
3140
|
minLength?: number | undefined | undefined;
|
|
3654
3141
|
placeholder?: string | undefined | undefined;
|
|
3655
3142
|
readOnly?: boolean | undefined | undefined;
|
|
3143
|
+
required?: boolean | undefined | undefined;
|
|
3656
3144
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3657
3145
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3658
3146
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -3662,13 +3150,12 @@ declare const FormGroup: {
|
|
|
3662
3150
|
allowClear?: boolean | undefined;
|
|
3663
3151
|
onClear?: (() => void) | undefined;
|
|
3664
3152
|
testId?: string | undefined;
|
|
3665
|
-
} & {
|
|
3666
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
3667
3153
|
}) => react_jsx_runtime.JSX.Element;
|
|
3668
3154
|
NumberInput: ({ ref, ...props }: {
|
|
3669
3155
|
content?: string | undefined | undefined;
|
|
3670
3156
|
size?: number | undefined | undefined;
|
|
3671
3157
|
translate?: "yes" | "no" | undefined | undefined;
|
|
3158
|
+
color?: string | undefined | undefined;
|
|
3672
3159
|
prefix?: react.ReactNode;
|
|
3673
3160
|
id?: string | undefined | undefined;
|
|
3674
3161
|
name?: string | undefined | undefined;
|
|
@@ -3712,7 +3199,6 @@ declare const FormGroup: {
|
|
|
3712
3199
|
vocab?: string | undefined | undefined;
|
|
3713
3200
|
autoCorrect?: string | undefined | undefined;
|
|
3714
3201
|
autoSave?: string | undefined | undefined;
|
|
3715
|
-
color?: string | undefined | undefined;
|
|
3716
3202
|
itemProp?: string | undefined | undefined;
|
|
3717
3203
|
itemScope?: boolean | undefined | undefined;
|
|
3718
3204
|
itemType?: string | undefined | undefined;
|
|
@@ -3971,7 +3457,6 @@ declare const FormGroup: {
|
|
|
3971
3457
|
multiple?: boolean | undefined | undefined;
|
|
3972
3458
|
src?: string | undefined | undefined;
|
|
3973
3459
|
alt?: string | undefined | undefined;
|
|
3974
|
-
required?: boolean | undefined | undefined;
|
|
3975
3460
|
accept?: string | undefined | undefined;
|
|
3976
3461
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
3977
3462
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -3979,17 +3464,17 @@ declare const FormGroup: {
|
|
|
3979
3464
|
minLength?: number | undefined | undefined;
|
|
3980
3465
|
placeholder?: string | undefined | undefined;
|
|
3981
3466
|
readOnly?: boolean | undefined | undefined;
|
|
3467
|
+
required?: boolean | undefined | undefined;
|
|
3982
3468
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
3983
3469
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
3984
3470
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3985
3471
|
suffix?: react.ReactNode;
|
|
3986
|
-
} & {
|
|
3987
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
3988
3472
|
}) => react_jsx_runtime.JSX.Element;
|
|
3989
3473
|
ColorInput: ({ ref, ...props }: {
|
|
3990
3474
|
content?: string | undefined | undefined;
|
|
3991
3475
|
size?: number | undefined | undefined;
|
|
3992
3476
|
translate?: "yes" | "no" | undefined | undefined;
|
|
3477
|
+
color?: string | undefined | undefined;
|
|
3993
3478
|
prefix?: string | undefined | undefined;
|
|
3994
3479
|
id?: string | undefined | undefined;
|
|
3995
3480
|
name?: string | undefined | undefined;
|
|
@@ -4033,7 +3518,6 @@ declare const FormGroup: {
|
|
|
4033
3518
|
vocab?: string | undefined | undefined;
|
|
4034
3519
|
autoCorrect?: string | undefined | undefined;
|
|
4035
3520
|
autoSave?: string | undefined | undefined;
|
|
4036
|
-
color?: string | undefined | undefined;
|
|
4037
3521
|
itemProp?: string | undefined | undefined;
|
|
4038
3522
|
itemScope?: boolean | undefined | undefined;
|
|
4039
3523
|
itemType?: string | undefined | undefined;
|
|
@@ -4293,7 +3777,6 @@ declare const FormGroup: {
|
|
|
4293
3777
|
multiple?: boolean | undefined | undefined;
|
|
4294
3778
|
src?: string | undefined | undefined;
|
|
4295
3779
|
alt?: string | undefined | undefined;
|
|
4296
|
-
required?: boolean | undefined | undefined;
|
|
4297
3780
|
accept?: string | undefined | undefined;
|
|
4298
3781
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
4299
3782
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -4301,16 +3784,17 @@ declare const FormGroup: {
|
|
|
4301
3784
|
minLength?: number | undefined | undefined;
|
|
4302
3785
|
placeholder?: string | undefined | undefined;
|
|
4303
3786
|
readOnly?: boolean | undefined | undefined;
|
|
3787
|
+
required?: boolean | undefined | undefined;
|
|
4304
3788
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
4305
3789
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
4306
3790
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
4307
3791
|
allowClear?: boolean | undefined;
|
|
4308
|
-
} & {
|
|
4309
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
4310
3792
|
}) => react_jsx_runtime.JSX.Element;
|
|
4311
3793
|
Textarea: (props: {
|
|
4312
3794
|
content?: string | undefined | undefined;
|
|
4313
3795
|
translate?: "yes" | "no" | undefined | undefined;
|
|
3796
|
+
wrap?: string | undefined | undefined;
|
|
3797
|
+
color?: string | undefined | undefined;
|
|
4314
3798
|
prefix?: string | undefined | undefined;
|
|
4315
3799
|
id?: string | undefined | undefined;
|
|
4316
3800
|
name?: string | undefined | undefined;
|
|
@@ -4355,7 +3839,6 @@ declare const FormGroup: {
|
|
|
4355
3839
|
vocab?: string | undefined | undefined;
|
|
4356
3840
|
autoCorrect?: string | undefined | undefined;
|
|
4357
3841
|
autoSave?: string | undefined | undefined;
|
|
4358
|
-
color?: string | undefined | undefined;
|
|
4359
3842
|
itemProp?: string | undefined | undefined;
|
|
4360
3843
|
itemScope?: boolean | undefined | undefined;
|
|
4361
3844
|
itemType?: string | undefined | undefined;
|
|
@@ -4599,13 +4082,12 @@ declare const FormGroup: {
|
|
|
4599
4082
|
disabled?: boolean | undefined | undefined;
|
|
4600
4083
|
value?: string | null | undefined;
|
|
4601
4084
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
4602
|
-
wrap?: string | undefined | undefined;
|
|
4603
|
-
required?: boolean | undefined | undefined;
|
|
4604
4085
|
autoComplete?: string | undefined | undefined;
|
|
4605
4086
|
maxLength?: number | undefined | undefined;
|
|
4606
4087
|
minLength?: number | undefined | undefined;
|
|
4607
4088
|
placeholder?: string | undefined | undefined;
|
|
4608
4089
|
readOnly?: boolean | undefined | undefined;
|
|
4090
|
+
required?: boolean | undefined | undefined;
|
|
4609
4091
|
cols?: number | undefined | undefined;
|
|
4610
4092
|
dirName?: string | undefined | undefined;
|
|
4611
4093
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -4623,43 +4105,43 @@ declare const FormGroup: {
|
|
|
4623
4105
|
declare const helpVariants: (props?: ({
|
|
4624
4106
|
state?: "warning" | "default" | null | undefined;
|
|
4625
4107
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4626
|
-
type Props$
|
|
4627
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4108
|
+
type Props$O = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4109
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$O) => react_jsx_runtime.JSX.Element | null;
|
|
4628
4110
|
|
|
4629
4111
|
type AnswerItem = {
|
|
4630
4112
|
question: string;
|
|
4631
4113
|
answer?: string;
|
|
4632
4114
|
};
|
|
4633
4115
|
type Variant$5 = 'success' | 'dismissed';
|
|
4634
|
-
type Props$
|
|
4116
|
+
type Props$N = {
|
|
4635
4117
|
items: readonly AnswerItem[];
|
|
4636
4118
|
variant?: Variant$5;
|
|
4637
4119
|
noAnswerLabel?: string;
|
|
4638
4120
|
};
|
|
4639
|
-
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$
|
|
4121
|
+
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
4640
4122
|
|
|
4641
4123
|
type Variant$4 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4642
|
-
type Props$
|
|
4124
|
+
type Props$M = {
|
|
4643
4125
|
isExpanded: boolean;
|
|
4644
4126
|
onToggle: () => void;
|
|
4645
4127
|
label: ReactNode;
|
|
4646
4128
|
variant?: Variant$4;
|
|
4647
4129
|
};
|
|
4648
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$
|
|
4130
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$M) => react_jsx_runtime.JSX.Element;
|
|
4649
4131
|
|
|
4650
|
-
type Props$
|
|
4132
|
+
type Props$L = {
|
|
4651
4133
|
children: ReactNode;
|
|
4652
4134
|
};
|
|
4653
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
4135
|
+
declare const InlineStepDetail: ({ children }: Props$L) => react_jsx_runtime.JSX.Element;
|
|
4654
4136
|
|
|
4655
4137
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4656
|
-
type Props$
|
|
4138
|
+
type Props$K = {
|
|
4657
4139
|
variant: Variant$3;
|
|
4658
4140
|
children: ReactNode;
|
|
4659
4141
|
};
|
|
4660
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
4142
|
+
declare const InlineStepLabel: ({ variant, children }: Props$K) => react_jsx_runtime.JSX.Element;
|
|
4661
4143
|
|
|
4662
|
-
type Props$
|
|
4144
|
+
type Props$J = {
|
|
4663
4145
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4664
4146
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4665
4147
|
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
@@ -4671,9 +4153,9 @@ type Props$F = {
|
|
|
4671
4153
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4672
4154
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4673
4155
|
*/
|
|
4674
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4156
|
+
declare const Markdown: ({ children, className }: Props$J) => react_jsx_runtime.JSX.Element;
|
|
4675
4157
|
|
|
4676
|
-
type Props$
|
|
4158
|
+
type Props$I = {
|
|
4677
4159
|
user?: {
|
|
4678
4160
|
name: string | undefined;
|
|
4679
4161
|
email: string | undefined;
|
|
@@ -4683,17 +4165,15 @@ type Props$E = {
|
|
|
4683
4165
|
size?: number;
|
|
4684
4166
|
variant?: 'circle' | 'rounded';
|
|
4685
4167
|
} & ComponentProps<'span'>;
|
|
4686
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4687
|
-
ref?: Ref<ElementRef<"span">>;
|
|
4688
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4168
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$I) => react_jsx_runtime.JSX.Element;
|
|
4689
4169
|
|
|
4690
|
-
type Props$
|
|
4170
|
+
type Props$H = {
|
|
4691
4171
|
variant: 'user' | 'assistant';
|
|
4692
4172
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4693
4173
|
actions?: ReactNode;
|
|
4694
4174
|
createdAt?: string;
|
|
4695
4175
|
} & PropsWithChildren;
|
|
4696
|
-
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$
|
|
4176
|
+
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$H) => react_jsx_runtime.JSX.Element;
|
|
4697
4177
|
|
|
4698
4178
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
4699
4179
|
type PlanApprovalProps = {
|
|
@@ -4720,12 +4200,14 @@ type PlanApprovalProps = {
|
|
|
4720
4200
|
showMoreLabel?: string;
|
|
4721
4201
|
showLessLabel?: string;
|
|
4722
4202
|
closeLabel?: string;
|
|
4203
|
+
fullScreenLabel?: string;
|
|
4204
|
+
exitFullScreenLabel?: string;
|
|
4723
4205
|
changeRequestPlaceholder?: string;
|
|
4724
4206
|
changeRequestSubmitLabel?: string;
|
|
4725
4207
|
stepCountLabel?: (count: number) => string;
|
|
4726
4208
|
className?: string;
|
|
4727
4209
|
};
|
|
4728
|
-
declare const PlanApproval: ({ status, title, summary, stepCount, planBody, defaultExpanded, isExpanded: isExpandedProp, onExpandToggle, onApprove, onRequestChanges, onClose, isSubmitting, approveTooltip, pendingPillLabel, approvedPillLabel, dismissedPillLabel, changesRequestedPillLabel, approveLabel, requestChangesLabel, cancelLabel, showMoreLabel, showLessLabel, closeLabel, changeRequestPlaceholder, changeRequestSubmitLabel, stepCountLabel, className, }: PlanApprovalProps) => react_jsx_runtime.JSX.Element;
|
|
4210
|
+
declare const PlanApproval: ({ status, title, summary, stepCount, planBody, defaultExpanded, isExpanded: isExpandedProp, onExpandToggle, onApprove, onRequestChanges, onClose, isSubmitting, approveTooltip, pendingPillLabel, approvedPillLabel, dismissedPillLabel, changesRequestedPillLabel, approveLabel, requestChangesLabel, cancelLabel, showMoreLabel, showLessLabel, closeLabel, fullScreenLabel, exitFullScreenLabel, changeRequestPlaceholder, changeRequestSubmitLabel, stepCountLabel, className, }: PlanApprovalProps) => react_jsx_runtime.JSX.Element;
|
|
4729
4211
|
|
|
4730
4212
|
type PlanRewritingIndicatorProps = {
|
|
4731
4213
|
label?: string;
|
|
@@ -4741,17 +4223,15 @@ type PromptCommand = {
|
|
|
4741
4223
|
};
|
|
4742
4224
|
|
|
4743
4225
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4744
|
-
type Props$
|
|
4226
|
+
type Props$G = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
4745
4227
|
status?: SubmitStatus;
|
|
4746
4228
|
};
|
|
4747
|
-
declare const PromptInputSubmit: ({ ref, disabled, status
|
|
4748
|
-
ref?: Ref<ElementRef<"button">>;
|
|
4749
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4229
|
+
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
4750
4230
|
|
|
4751
4231
|
declare const promptInputVariants: (props?: ({
|
|
4752
4232
|
variant?: "inline" | "default" | null | undefined;
|
|
4753
4233
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4754
|
-
type Props$
|
|
4234
|
+
type Props$F = {
|
|
4755
4235
|
onSend?: (value: string) => void;
|
|
4756
4236
|
onAbort?: () => void;
|
|
4757
4237
|
onContinue?: () => void;
|
|
@@ -4765,10 +4245,8 @@ type Props$B = {
|
|
|
4765
4245
|
commands?: PromptCommand[];
|
|
4766
4246
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof react_textarea_autosize__default>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4767
4247
|
declare const PromptInput: {
|
|
4768
|
-
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4769
|
-
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>
|
|
4770
|
-
ref?: react.Ref<ElementRef<"button">>;
|
|
4771
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4248
|
+
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$F): react_jsx_runtime.JSX.Element;
|
|
4249
|
+
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
4772
4250
|
};
|
|
4773
4251
|
|
|
4774
4252
|
type QuestionOption = {
|
|
@@ -4777,7 +4255,7 @@ type QuestionOption = {
|
|
|
4777
4255
|
description?: string;
|
|
4778
4256
|
preview?: string;
|
|
4779
4257
|
};
|
|
4780
|
-
type Props$
|
|
4258
|
+
type Props$E = {
|
|
4781
4259
|
question: string;
|
|
4782
4260
|
header?: string;
|
|
4783
4261
|
options: readonly QuestionOption[];
|
|
@@ -4800,7 +4278,7 @@ type Props$A = {
|
|
|
4800
4278
|
renderPreview?: (content: string) => ReactNode;
|
|
4801
4279
|
className?: string;
|
|
4802
4280
|
};
|
|
4803
|
-
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$
|
|
4281
|
+
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$E) => react_jsx_runtime.JSX.Element;
|
|
4804
4282
|
|
|
4805
4283
|
type QuestionStep = {
|
|
4806
4284
|
question: string;
|
|
@@ -4814,7 +4292,7 @@ type QuestionAnswers = {
|
|
|
4814
4292
|
selections: Record<number, readonly string[]>;
|
|
4815
4293
|
customAnswers: Record<number, string>;
|
|
4816
4294
|
};
|
|
4817
|
-
type Props$
|
|
4295
|
+
type Props$D = {
|
|
4818
4296
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
4819
4297
|
showSkip?: boolean;
|
|
4820
4298
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -4822,16 +4300,16 @@ type Props$z = {
|
|
|
4822
4300
|
renderPreview?: (content: string) => ReactNode;
|
|
4823
4301
|
className?: string;
|
|
4824
4302
|
};
|
|
4825
|
-
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$
|
|
4303
|
+
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$D) => react_jsx_runtime.JSX.Element;
|
|
4826
4304
|
|
|
4827
|
-
type Props$
|
|
4305
|
+
type Props$C = {
|
|
4828
4306
|
label: string;
|
|
4829
4307
|
disabled?: boolean;
|
|
4830
4308
|
onClick: () => void;
|
|
4831
4309
|
icon?: ReactNode;
|
|
4832
4310
|
className?: string;
|
|
4833
4311
|
};
|
|
4834
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4312
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$C) => react_jsx_runtime.JSX.Element;
|
|
4835
4313
|
|
|
4836
4314
|
type ThinkingIndicatorProps = {
|
|
4837
4315
|
label?: string;
|
|
@@ -4890,7 +4368,7 @@ type ToolCallChipProps = {
|
|
|
4890
4368
|
*/
|
|
4891
4369
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className, }: ToolCallChipProps) => react_jsx_runtime.JSX.Element;
|
|
4892
4370
|
|
|
4893
|
-
type Props$
|
|
4371
|
+
type Props$B = {
|
|
4894
4372
|
value: number;
|
|
4895
4373
|
alert?: boolean;
|
|
4896
4374
|
children: ReactNode;
|
|
@@ -4904,32 +4382,28 @@ type Props$x = {
|
|
|
4904
4382
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4905
4383
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4906
4384
|
};
|
|
4907
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$
|
|
4385
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$B) => react_jsx_runtime.JSX.Element;
|
|
4908
4386
|
|
|
4909
|
-
type Props$
|
|
4387
|
+
type Props$A = {
|
|
4910
4388
|
value: number;
|
|
4911
4389
|
size?: number;
|
|
4912
4390
|
strokeWidth?: number;
|
|
4913
4391
|
className?: string;
|
|
4914
4392
|
};
|
|
4915
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4393
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$A) => react_jsx_runtime.JSX.Element;
|
|
4916
4394
|
|
|
4917
|
-
type Props$
|
|
4395
|
+
type Props$z = ComponentProps<typeof Root$9>;
|
|
4918
4396
|
declare const Collapsible: {
|
|
4919
|
-
(props: Props$
|
|
4397
|
+
(props: Props$z): react_jsx_runtime.JSX.Element;
|
|
4920
4398
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
4921
|
-
Content: ({ ref, className, children, ...props }:
|
|
4922
|
-
ref?: react.Ref<react.ElementRef<react.ForwardRefExoticComponent<_radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>>>>;
|
|
4923
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4399
|
+
Content: ({ ref, className, children, ...props }: _radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
4924
4400
|
};
|
|
4925
4401
|
|
|
4926
4402
|
type Variant$2 = 'info' | 'warning' | 'error' | 'success';
|
|
4927
|
-
type Props$
|
|
4403
|
+
type Props$y = {
|
|
4928
4404
|
variant?: Variant$2;
|
|
4929
4405
|
} & ComponentProps<'div'>;
|
|
4930
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4931
|
-
ref?: Ref<ElementRef<"div">>;
|
|
4932
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4406
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
4933
4407
|
|
|
4934
4408
|
type CommonProps = {
|
|
4935
4409
|
hideIcon?: boolean;
|
|
@@ -4952,7 +4426,7 @@ type DefaultProps = {
|
|
|
4952
4426
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4953
4427
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4954
4428
|
*/
|
|
4955
|
-
type Props$
|
|
4429
|
+
type Props$x = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4956
4430
|
/**
|
|
4957
4431
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4958
4432
|
*
|
|
@@ -4966,13 +4440,13 @@ type Props$t = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4966
4440
|
*
|
|
4967
4441
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4968
4442
|
*/
|
|
4969
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
4443
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$x) => react_jsx_runtime.JSX.Element;
|
|
4970
4444
|
|
|
4971
4445
|
declare const variants$1: (props?: ({
|
|
4972
4446
|
variant?: "success" | "warning" | "info" | "default" | "error" | null | undefined;
|
|
4973
4447
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4974
4448
|
type Variants = VariantProps<typeof variants$1>;
|
|
4975
|
-
type Props$
|
|
4449
|
+
type Props$w = {
|
|
4976
4450
|
id: string | number;
|
|
4977
4451
|
title: ReactNode;
|
|
4978
4452
|
icon?: ReactNode;
|
|
@@ -4981,7 +4455,7 @@ type Props$s = {
|
|
|
4981
4455
|
loading?: boolean;
|
|
4982
4456
|
duration?: number;
|
|
4983
4457
|
} & Variants;
|
|
4984
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$
|
|
4458
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
4985
4459
|
|
|
4986
4460
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
4987
4461
|
type Title = ToastProps['title'] | ((opts: {
|
|
@@ -5002,7 +4476,7 @@ declare const toast: {
|
|
|
5002
4476
|
dismissAll(): string | number;
|
|
5003
4477
|
};
|
|
5004
4478
|
|
|
5005
|
-
type Props$
|
|
4479
|
+
type Props$v = {
|
|
5006
4480
|
enabled?: boolean;
|
|
5007
4481
|
} & Parameters<typeof toast>[0];
|
|
5008
4482
|
/**
|
|
@@ -5015,22 +4489,22 @@ type Props$r = {
|
|
|
5015
4489
|
* Use `toast()` for transient feedback after a user action
|
|
5016
4490
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
5017
4491
|
*/
|
|
5018
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4492
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$v) => void;
|
|
5019
4493
|
|
|
5020
4494
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
5021
4495
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
5022
4496
|
|
|
5023
|
-
type Props$
|
|
4497
|
+
type Props$u = {
|
|
5024
4498
|
children?: ReactNode;
|
|
5025
4499
|
};
|
|
5026
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4500
|
+
declare const EmptySearchContent: ({ children }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
5027
4501
|
|
|
5028
|
-
type Props$
|
|
4502
|
+
type Props$t = {
|
|
5029
4503
|
title: string;
|
|
5030
4504
|
children: ReactNode;
|
|
5031
4505
|
className?: string;
|
|
5032
4506
|
};
|
|
5033
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
4507
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$t) => react_jsx_runtime.JSX.Element;
|
|
5034
4508
|
|
|
5035
4509
|
declare const emptyStateClassnames: (props?: ({
|
|
5036
4510
|
variant?: "compact" | "default" | null | undefined;
|
|
@@ -5170,10 +4644,8 @@ declare const variants: (props?: ({
|
|
|
5170
4644
|
variant?: "success" | "default" | null | undefined;
|
|
5171
4645
|
size?: "sm" | "lg" | null | undefined;
|
|
5172
4646
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5173
|
-
type Props$
|
|
5174
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5175
|
-
ref?: Ref<ElementRef<typeof Root$a>>;
|
|
5176
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4647
|
+
type Props$s = ComponentProps<typeof Root$a> & VariantProps<typeof variants>;
|
|
4648
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$s) => react_jsx_runtime.JSX.Element;
|
|
5177
4649
|
|
|
5178
4650
|
/** @deprecated Use `Collapsible` instead. */
|
|
5179
4651
|
type CollapseProps = {
|
|
@@ -5189,7 +4661,7 @@ type CollapseProps = {
|
|
|
5189
4661
|
/** @deprecated Use `Collapsible` instead. */
|
|
5190
4662
|
declare const Collapse: ({ open, header, className, bodyClassName, children, onClick, animationClassName, hidden, ...rest }: CollapseProps & ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5191
4663
|
|
|
5192
|
-
type Props$
|
|
4664
|
+
type Props$r = {
|
|
5193
4665
|
header: ReactNode;
|
|
5194
4666
|
isDisabled?: boolean;
|
|
5195
4667
|
defaultExpanded?: boolean;
|
|
@@ -5201,16 +4673,16 @@ type Props$n = {
|
|
|
5201
4673
|
variant?: 'default' | 'white';
|
|
5202
4674
|
children: ReactNode;
|
|
5203
4675
|
};
|
|
5204
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$
|
|
4676
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
5205
4677
|
|
|
5206
|
-
type Props$
|
|
4678
|
+
type Props$q = PropsWithChildren<{
|
|
5207
4679
|
defaultExpanded?: boolean;
|
|
5208
4680
|
labelCollapse?: ReactNode;
|
|
5209
4681
|
labelOpen?: ReactNode;
|
|
5210
4682
|
placement?: 'top' | 'bottom';
|
|
5211
4683
|
className?: string;
|
|
5212
4684
|
}>;
|
|
5213
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$
|
|
4685
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
5214
4686
|
|
|
5215
4687
|
type RootProps$4 = ComponentPropsWithoutRef<'div'>;
|
|
5216
4688
|
type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -5237,14 +4709,14 @@ type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
5237
4709
|
* sidebar / top-nav geometry swap from a single composition.
|
|
5238
4710
|
*/
|
|
5239
4711
|
declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 & {
|
|
5240
|
-
ref?: Ref<
|
|
4712
|
+
ref?: Ref<ComponentRef<"div">>;
|
|
5241
4713
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
5242
4714
|
/**
|
|
5243
4715
|
* Top header row. Renders above `Main` in the sidebar shell; renders as the
|
|
5244
4716
|
* top bar (with full-width navigation room) in the top-nav shell.
|
|
5245
4717
|
*/
|
|
5246
4718
|
Header: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5247
|
-
ref?: Ref<
|
|
4719
|
+
ref?: Ref<ComponentRef<"header">>;
|
|
5248
4720
|
}) => react_jsx_runtime.JSX.Element;
|
|
5249
4721
|
/**
|
|
5250
4722
|
* Left navigation rail. Rendered in the sidebar shell; hidden by the
|
|
@@ -5252,19 +4724,19 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
5252
4724
|
* primary navigation into `Header` for top-nav-first compositions.
|
|
5253
4725
|
*/
|
|
5254
4726
|
Sidebar: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5255
|
-
ref?: Ref<
|
|
4727
|
+
ref?: Ref<ComponentRef<"div">>;
|
|
5256
4728
|
}) => react_jsx_runtime.JSX.Element;
|
|
5257
4729
|
/**
|
|
5258
|
-
* Main content outlet. Applies an opinionated default page gutter (`tw
|
|
5259
|
-
* so content looks right out of the box; override the padding (e.g. `tw
|
|
4730
|
+
* Main content outlet. Applies an opinionated default page gutter (`tw:p-6`)
|
|
4731
|
+
* so content looks right out of the box; override the padding (e.g. `tw:p-0`)
|
|
5260
4732
|
* when the app owns its own gutter.
|
|
5261
4733
|
*/
|
|
5262
4734
|
Main: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5263
|
-
ref?: Ref<
|
|
4735
|
+
ref?: Ref<ComponentRef<"main">>;
|
|
5264
4736
|
}) => react_jsx_runtime.JSX.Element;
|
|
5265
4737
|
/** Optional right rail. Present in both shells. */
|
|
5266
4738
|
Aside: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5267
|
-
ref?: Ref<
|
|
4739
|
+
ref?: Ref<ComponentRef<"aside">>;
|
|
5268
4740
|
}) => react_jsx_runtime.JSX.Element;
|
|
5269
4741
|
};
|
|
5270
4742
|
|
|
@@ -5273,10 +4745,10 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
5273
4745
|
* `narrow` (976px) for forms, `default` (1280px) for most pages, `wide` (1600px) for dense detail views,
|
|
5274
4746
|
* `full` for edge-to-edge layouts.
|
|
5275
4747
|
*/
|
|
5276
|
-
type RootProps$3 =
|
|
4748
|
+
type RootProps$3 = ComponentProps<'div'> & {
|
|
5277
4749
|
maxWidth?: 'default' | 'narrow' | 'wide' | 'full';
|
|
5278
4750
|
};
|
|
5279
|
-
type FooterProps =
|
|
4751
|
+
type FooterProps = ComponentProps<'footer'> & {
|
|
5280
4752
|
sticky?: boolean;
|
|
5281
4753
|
};
|
|
5282
4754
|
/**
|
|
@@ -5285,7 +4757,7 @@ type FooterProps = ComponentPropsWithoutRef<'footer'> & {
|
|
|
5285
4757
|
* frame (sidebar / navbar) is owned by the shell, not by `PageLayout` — so the `Root` adds no
|
|
5286
4758
|
* outer page padding of its own (`PageLayout.Footer` keeps its own action-bar padding).
|
|
5287
4759
|
*
|
|
5288
|
-
* **When to use:** every new kbc-ui page. Do not roll your own `<div className="tw
|
|
4760
|
+
* **When to use:** every new kbc-ui page. Do not roll your own `<div className="tw:flex tw:flex-col">`
|
|
5289
4761
|
* chrome. Host `PageHeader.Index` / `PageHeader.Detail` inside `PageLayout.Header` for the structured
|
|
5290
4762
|
* page-header patterns.
|
|
5291
4763
|
* **When NOT to use:** the left-rail `Sidebar` lives in the app shell outside `PageLayout`. For embedded
|
|
@@ -5296,29 +4768,17 @@ type FooterProps = ComponentPropsWithoutRef<'footer'> & {
|
|
|
5296
4768
|
*
|
|
5297
4769
|
* @see RECIPES.md#list-detail — for the index → detail page pattern
|
|
5298
4770
|
*/
|
|
5299
|
-
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps$3 & {
|
|
5300
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5301
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
4771
|
+
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps$3) => react_jsx_runtime.JSX.Element) & {
|
|
5302
4772
|
/** Detail-pattern breadcrumb row. Usually composed automatically by `PageHeader.Detail` — slot exists for layouts that don't fit either `PageHeader` variant. */
|
|
5303
|
-
Breadcrumbs: ({ ref, className, children, ...props }:
|
|
5304
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5305
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4773
|
+
Breadcrumbs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5306
4774
|
/** Host slot for `PageHeader.Index` / `PageHeader.Detail`, or custom header JSX when neither variant fits. */
|
|
5307
|
-
Header: ({ ref, className, children, ...props }:
|
|
5308
|
-
ref?: Ref<ElementRef<"header">>;
|
|
5309
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4775
|
+
Header: ({ ref, className, children, ...props }: ComponentProps<"header">) => react_jsx_runtime.JSX.Element;
|
|
5310
4776
|
/** Escape hatch for routing-based tab rows. Use `Tabs` / `TabsContent` core components inside, never a raw `<button>`. */
|
|
5311
|
-
Tabs: ({ ref, className, children, ...props }:
|
|
5312
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5313
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4777
|
+
Tabs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5314
4778
|
/** Main content slot. Lists, cards, tables. */
|
|
5315
|
-
Content: ({ ref, className, children, ...props }:
|
|
5316
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5317
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4779
|
+
Content: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
5318
4780
|
/** Bottom action bar — form submit + cancel. Pass `sticky` for a footer that pins to the viewport. */
|
|
5319
|
-
Footer: ({ ref, className, sticky, children, ...props }: FooterProps
|
|
5320
|
-
ref?: Ref<ElementRef<"footer">>;
|
|
5321
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4781
|
+
Footer: ({ ref, className, sticky, children, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
5322
4782
|
};
|
|
5323
4783
|
|
|
5324
4784
|
/**
|
|
@@ -5336,7 +4796,7 @@ declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: Ro
|
|
|
5336
4796
|
*/
|
|
5337
4797
|
declare const PageHeader: {
|
|
5338
4798
|
/** Index variant — top-level list / collection pages. No breadcrumbs; `metadata` wins over `description`. */
|
|
5339
|
-
Index: ({ ref, className, title, description, metadata, documentation, action, headerNav, fullWidthDescription, ...props }:
|
|
4799
|
+
Index: ({ ref, className, title, description, metadata, documentation, action, headerNav, fullWidthDescription, ...props }: Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "title"> & {
|
|
5340
4800
|
title: react.ReactNode;
|
|
5341
4801
|
description?: react.ReactNode;
|
|
5342
4802
|
metadata?: react.ReactNode;
|
|
@@ -5344,11 +4804,9 @@ declare const PageHeader: {
|
|
|
5344
4804
|
action?: react.ReactNode;
|
|
5345
4805
|
headerNav?: react.ReactNode;
|
|
5346
4806
|
fullWidthDescription?: boolean;
|
|
5347
|
-
}) & {
|
|
5348
|
-
ref?: react.Ref<react.ElementRef<"header">>;
|
|
5349
4807
|
}) => react_jsx_runtime.JSX.Element;
|
|
5350
4808
|
/** Detail variant — single-entity pages with required breadcrumbs and an overflow-actions slot. Max 2 visible actions. */
|
|
5351
|
-
Detail: ({ ref, className, breadcrumbs, overflowActions, title, titleIcon, badges, description, compact, primaryAction, secondaryAction, headerNav, fullWidthDescription, ...props }:
|
|
4809
|
+
Detail: ({ ref, className, breadcrumbs, overflowActions, title, titleIcon, badges, description, compact, primaryAction, secondaryAction, headerNav, fullWidthDescription, ...props }: Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "title"> & {
|
|
5352
4810
|
breadcrumbs: react.ReactNode;
|
|
5353
4811
|
overflowActions?: react.ReactNode;
|
|
5354
4812
|
title: react.ReactNode;
|
|
@@ -5360,14 +4818,60 @@ declare const PageHeader: {
|
|
|
5360
4818
|
secondaryAction?: react.ReactNode;
|
|
5361
4819
|
headerNav?: react.ReactNode;
|
|
5362
4820
|
fullWidthDescription?: boolean;
|
|
5363
|
-
}) & {
|
|
5364
|
-
ref?: react.Ref<react.ElementRef<"header">>;
|
|
5365
4821
|
}) => react_jsx_runtime.JSX.Element;
|
|
5366
4822
|
};
|
|
5367
4823
|
|
|
5368
|
-
|
|
5369
|
-
|
|
4824
|
+
declare const addonVariants: (props?: ({
|
|
4825
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
4826
|
+
variant?: "inline" | "floating" | null | undefined;
|
|
4827
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4828
|
+
type Props$p = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
4829
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$p) => react_jsx_runtime.JSX.Element;
|
|
4830
|
+
|
|
4831
|
+
type Props$o = ComponentProps<'span'> & {
|
|
4832
|
+
asChild?: boolean;
|
|
4833
|
+
};
|
|
4834
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$o) => react_jsx_runtime.JSX.Element;
|
|
4835
|
+
|
|
4836
|
+
declare const badgeRootVariants: (props?: ({
|
|
4837
|
+
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4838
|
+
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4839
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4840
|
+
|
|
4841
|
+
type Props$n = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
4842
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
4843
|
+
|
|
4844
|
+
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
4845
|
+
type BadgeRootProps = ComponentProps<typeof BadgeRoot>;
|
|
4846
|
+
type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
4847
|
+
/**
|
|
4848
|
+
* Props for `Badge`. `color` is a categorical contract (`green` = success, `red` = error, `orange` = warning,
|
|
4849
|
+
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
4850
|
+
* Pass `prefix` / `suffix` for icon-style addons.
|
|
4851
|
+
*/
|
|
4852
|
+
type Props$m = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
4853
|
+
prefix?: ReactNode;
|
|
4854
|
+
prefixVariant?: AddonVariant;
|
|
4855
|
+
suffix?: ReactNode;
|
|
4856
|
+
suffixVariant?: AddonVariant;
|
|
4857
|
+
labelClassName?: string;
|
|
4858
|
+
};
|
|
4859
|
+
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$m) => react_jsx_runtime.JSX.Element) & {
|
|
4860
|
+
Root: ({ ref, variant, color, className, children, ...rest }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
4861
|
+
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4862
|
+
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4863
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
4864
|
+
Button: ({ ref, className, type, children, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
4865
|
+
Label: ({ ref, className, asChild, ...rest }: react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
4866
|
+
asChild?: boolean;
|
|
4867
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
4868
|
+
Addon: ({ ref, align, variant, className, ...rest }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
4869
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
4870
|
+
variant?: "inline" | "floating" | null | undefined;
|
|
4871
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
5370
4872
|
};
|
|
4873
|
+
|
|
4874
|
+
type DivProps = ComponentProps<'div'>;
|
|
5371
4875
|
type ChipProps = Omit<ComponentPropsWithoutRef<typeof Badge>, 'variant' | 'color' | 'suffix' | 'children'> & {
|
|
5372
4876
|
children: ReactNode;
|
|
5373
4877
|
onRemove: () => void;
|
|
@@ -5426,21 +4930,15 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5426
4930
|
Token: ({ children, popover, onRemove, removeAriaLabel, ...props }: Omit<Omit<Pick<react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
5427
4931
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
5428
4932
|
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
5429
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
5430
|
-
ref?: Ref<ElementRef<"div">>;
|
|
5431
|
-
}, "variant" | "color"> & Omit<react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
4933
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "color" | "variant"> & Omit<react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
5432
4934
|
asChild?: boolean;
|
|
5433
|
-
} & {
|
|
5434
|
-
ref?: Ref<ElementRef<"span">>;
|
|
5435
4935
|
}, "prefix"> & {
|
|
5436
4936
|
prefix?: ReactNode;
|
|
5437
4937
|
prefixVariant?: "inline" | "floating" | null | undefined;
|
|
5438
4938
|
suffix?: ReactNode;
|
|
5439
4939
|
suffixVariant?: "inline" | "floating" | null | undefined;
|
|
5440
4940
|
labelClassName?: string;
|
|
5441
|
-
} & {
|
|
5442
|
-
ref?: Ref<ElementRef<"span">>;
|
|
5443
|
-
}, "ref">, "popover" | "variant" | "color" | "children" | "asChild" | "suffix"> & {
|
|
4941
|
+
}, "ref">, "color" | "popover" | "variant" | "children" | "asChild" | "suffix"> & {
|
|
5444
4942
|
children: ReactNode;
|
|
5445
4943
|
popover: ReactNode;
|
|
5446
4944
|
onRemove: () => void;
|
|
@@ -5455,7 +4953,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5455
4953
|
type Props$l = {
|
|
5456
4954
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
5457
4955
|
variant?: 'mark' | 'wordmark';
|
|
5458
|
-
/** Sets the logo height; aspect ratio is preserved (e.g. `tw
|
|
4956
|
+
/** Sets the logo height; aspect ratio is preserved (e.g. `tw:h-7`). */
|
|
5459
4957
|
className?: string;
|
|
5460
4958
|
};
|
|
5461
4959
|
/**
|
|
@@ -5487,12 +4985,11 @@ type Props$k = {
|
|
|
5487
4985
|
declare const Sidebar: {
|
|
5488
4986
|
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$k): react_jsx_runtime.JSX.Element | null;
|
|
5489
4987
|
Header: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5490
|
-
Content: ({ ref, className, children, contentRef
|
|
4988
|
+
Content: ({ ref, className, children, contentRef }: {
|
|
5491
4989
|
className?: string;
|
|
5492
4990
|
children?: ReactNode;
|
|
5493
4991
|
contentRef?: react.ComponentProps<"div">["ref"];
|
|
5494
|
-
|
|
5495
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
4992
|
+
ref?: react.ComponentProps<"div">["ref"];
|
|
5496
4993
|
}) => react_jsx_runtime.JSX.Element;
|
|
5497
4994
|
Footer: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5498
4995
|
Trigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: react.HTMLAttributes<HTMLElement> & {
|
|
@@ -5501,16 +4998,15 @@ declare const Sidebar: {
|
|
|
5501
4998
|
side?: SidebarSide;
|
|
5502
4999
|
hideWhenCollapsed?: boolean;
|
|
5503
5000
|
}) => react_jsx_runtime.JSX.Element;
|
|
5504
|
-
FillTrigger: ({ ref, side, onClick, ...rest }:
|
|
5001
|
+
FillTrigger: ({ ref, side, onClick, ...rest }: react.HTMLAttributes<HTMLElement> & {
|
|
5505
5002
|
children?: React.ReactNode;
|
|
5506
5003
|
} & react.RefAttributes<HTMLElement> & {
|
|
5507
5004
|
side?: SidebarSide;
|
|
5508
|
-
}) & {
|
|
5509
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5510
5005
|
}) => react_jsx_runtime.JSX.Element;
|
|
5511
5006
|
Separator: ({ className, ...props }: {
|
|
5512
5007
|
content?: string | undefined | undefined;
|
|
5513
5008
|
translate?: "yes" | "no" | undefined | undefined;
|
|
5009
|
+
color?: string | undefined | undefined;
|
|
5514
5010
|
prefix?: string | undefined | undefined;
|
|
5515
5011
|
id?: string | undefined | undefined;
|
|
5516
5012
|
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
@@ -5551,7 +5047,6 @@ declare const Sidebar: {
|
|
|
5551
5047
|
vocab?: string | undefined | undefined;
|
|
5552
5048
|
autoCorrect?: string | undefined | undefined;
|
|
5553
5049
|
autoSave?: string | undefined | undefined;
|
|
5554
|
-
color?: string | undefined | undefined;
|
|
5555
5050
|
itemProp?: string | undefined | undefined;
|
|
5556
5051
|
itemScope?: boolean | undefined | undefined;
|
|
5557
5052
|
itemType?: string | undefined | undefined;
|
|
@@ -5794,17 +5289,13 @@ declare const Sidebar: {
|
|
|
5794
5289
|
onTransitionStartCapture?: TransitionEventHandler<HTMLDivElement> | undefined;
|
|
5795
5290
|
asChild?: boolean | undefined;
|
|
5796
5291
|
}) => react_jsx_runtime.JSX.Element;
|
|
5797
|
-
MenuIcon: ({ ref, className, children, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>
|
|
5798
|
-
ref?: react.Ref<react.ElementRef<"span">>;
|
|
5799
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5292
|
+
MenuIcon: ({ ref, className, children, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
5800
5293
|
Group: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5801
5294
|
GroupLabel: ({ ref, className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
5802
5295
|
ref?: react.Ref<HTMLDivElement>;
|
|
5803
5296
|
}) => react_jsx_runtime.JSX.Element;
|
|
5804
5297
|
GroupContent: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5805
|
-
GroupAction: ({ ref, className, type, children, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>
|
|
5806
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5807
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5298
|
+
GroupAction: ({ ref, className, type, children, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
5808
5299
|
Menu: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element;
|
|
5809
5300
|
MenuItem: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
5810
5301
|
MenuButton: ({ ref, "aria-selected": selected, className, children, asChild, icon, tooltip, ...props }: (react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
@@ -5814,16 +5305,15 @@ declare const Sidebar: {
|
|
|
5814
5305
|
}) & {
|
|
5815
5306
|
ref?: react.Ref<HTMLButtonElement>;
|
|
5816
5307
|
}) => react_jsx_runtime.JSX.Element;
|
|
5817
|
-
MenuAction: ({ ref, className, asChild, showOnHover, children, ...props }:
|
|
5308
|
+
MenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5818
5309
|
asChild?: boolean;
|
|
5819
5310
|
showOnHover?: boolean;
|
|
5820
|
-
}) & {
|
|
5821
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
5822
5311
|
}) => react_jsx_runtime.JSX.Element;
|
|
5823
5312
|
SearchInput: ({ ref: forwardedRef, className, ...inputProps }: {
|
|
5824
5313
|
content?: string | undefined | undefined;
|
|
5825
5314
|
size?: number | undefined | undefined;
|
|
5826
5315
|
translate?: "yes" | "no" | undefined | undefined;
|
|
5316
|
+
color?: string | undefined | undefined;
|
|
5827
5317
|
id?: string | undefined | undefined;
|
|
5828
5318
|
name?: string | undefined | undefined;
|
|
5829
5319
|
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
@@ -5865,7 +5355,6 @@ declare const Sidebar: {
|
|
|
5865
5355
|
vocab?: string | undefined | undefined;
|
|
5866
5356
|
autoCorrect?: string | undefined | undefined;
|
|
5867
5357
|
autoSave?: string | undefined | undefined;
|
|
5868
|
-
color?: string | undefined | undefined;
|
|
5869
5358
|
itemProp?: string | undefined | undefined;
|
|
5870
5359
|
itemScope?: boolean | undefined | undefined;
|
|
5871
5360
|
itemType?: string | undefined | undefined;
|
|
@@ -6124,7 +5613,6 @@ declare const Sidebar: {
|
|
|
6124
5613
|
multiple?: boolean | undefined | undefined;
|
|
6125
5614
|
src?: string | undefined | undefined;
|
|
6126
5615
|
alt?: string | undefined | undefined;
|
|
6127
|
-
required?: boolean | undefined | undefined;
|
|
6128
5616
|
accept?: string | undefined | undefined;
|
|
6129
5617
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
6130
5618
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -6132,26 +5620,21 @@ declare const Sidebar: {
|
|
|
6132
5620
|
minLength?: number | undefined | undefined;
|
|
6133
5621
|
placeholder?: string | undefined | undefined;
|
|
6134
5622
|
readOnly?: boolean | undefined | undefined;
|
|
6135
|
-
|
|
6136
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
5623
|
+
required?: boolean | undefined | undefined;
|
|
6137
5624
|
}) => react_jsx_runtime.JSX.Element;
|
|
6138
5625
|
MenuCard: ({ children, className, icon, title, ...rest }: react.HTMLAttributes<HTMLDivElement> & {
|
|
6139
5626
|
icon: ReactNode;
|
|
6140
5627
|
title: ReactNode;
|
|
6141
5628
|
}) => react_jsx_runtime.JSX.Element;
|
|
6142
|
-
MenuBadge: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>
|
|
6143
|
-
ref?: react.Ref<react.ElementRef<"div">>;
|
|
6144
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5629
|
+
MenuBadge: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6145
5630
|
SubMenu: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange, }: {
|
|
6146
5631
|
children: ReactNode;
|
|
6147
5632
|
icon: ReactNode;
|
|
6148
5633
|
isActive?: boolean;
|
|
6149
5634
|
label: string;
|
|
6150
5635
|
} & Pick<_radix_ui_react_collapsible.CollapsibleProps & react.RefAttributes<HTMLDivElement>, "open" | "defaultOpen" | "onOpenChange">) => react_jsx_runtime.JSX.Element;
|
|
6151
|
-
SubItem: ({ ref, className, asChild, children, disabled, "aria-current": ariaCurrent, ...props }:
|
|
5636
|
+
SubItem: ({ ref, className, asChild, children, disabled, "aria-current": ariaCurrent, ...props }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6152
5637
|
asChild?: boolean;
|
|
6153
|
-
}) & {
|
|
6154
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6155
5638
|
}) => react_jsx_runtime.JSX.Element;
|
|
6156
5639
|
};
|
|
6157
5640
|
|
|
@@ -6266,26 +5749,20 @@ declare const Navbar: {
|
|
|
6266
5749
|
marker?: "none" | "forward-slash" | null | undefined;
|
|
6267
5750
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
6268
5751
|
MenuItem: ({ className, ...rest }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6269
|
-
MenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }:
|
|
5752
|
+
MenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6270
5753
|
icon?: react.ReactNode;
|
|
6271
5754
|
asChild?: boolean;
|
|
6272
5755
|
} & VariantProps<(props?: ({
|
|
6273
5756
|
variant?: "search" | "icon" | "default" | "emphasized" | null | undefined;
|
|
6274
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>)
|
|
6275
|
-
|
|
6276
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6277
|
-
MenuItemAdornment: ({ ref, asChild, className, variant, ...props }: ({
|
|
5757
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
5758
|
+
MenuItemAdornment: ({ ref, asChild, className, variant, ...props }: {
|
|
6278
5759
|
asChild?: boolean;
|
|
6279
5760
|
} & react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
6280
5761
|
variant?: "icon" | "icon-accent" | "icon-emphasized" | "icon-accent-emphasized" | "icon-button" | "shortcut" | null | undefined;
|
|
6281
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>)
|
|
6282
|
-
|
|
6283
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6284
|
-
MenuAvatar: ({ ref, className, type, src, alt, ...rest }: (react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5762
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
5763
|
+
MenuAvatar: ({ ref, className, type, src, alt, ...rest }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6285
5764
|
src?: string;
|
|
6286
5765
|
alt?: string;
|
|
6287
|
-
}) & {
|
|
6288
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6289
5766
|
}) => react_jsx_runtime.JSX.Element;
|
|
6290
5767
|
};
|
|
6291
5768
|
|
|
@@ -6294,18 +5771,12 @@ declare const Breadcrumb: {
|
|
|
6294
5771
|
({ className, ...props }: Props$f): react_jsx_runtime.JSX.Element;
|
|
6295
5772
|
List: ({ className, ...props }: react.DetailedHTMLProps<react.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>) => react_jsx_runtime.JSX.Element;
|
|
6296
5773
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6297
|
-
Link: ({ ref, asChild, className, ...props }:
|
|
5774
|
+
Link: ({ ref, asChild, className, ...props }: react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
6298
5775
|
asChild?: boolean;
|
|
6299
|
-
}) & {
|
|
6300
|
-
ref?: react.Ref<react.ElementRef<"a">>;
|
|
6301
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6302
|
-
Page: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & {
|
|
6303
|
-
ref?: react.Ref<react.ElementRef<"span">>;
|
|
6304
5776
|
}) => react_jsx_runtime.JSX.Element;
|
|
5777
|
+
Page: ({ ref, className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6305
5778
|
Separator: ({ children, className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6306
|
-
Ellipsis: ({ ref, className, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>
|
|
6307
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6308
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5779
|
+
Ellipsis: ({ ref, className, ...props }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
6309
5780
|
Dropdown: {
|
|
6310
5781
|
({ label, splitTrigger, triggerLabel, open, defaultOpen, onOpenChange, size, filter, shouldFilter, searchValue, onSearchChange, searchPlaceholder, emptyMessage, children, }: {
|
|
6311
5782
|
label: react.ReactNode;
|
|
@@ -6323,13 +5794,11 @@ declare const Breadcrumb: {
|
|
|
6323
5794
|
emptyMessage?: react.ReactNode;
|
|
6324
5795
|
children: react.ReactNode;
|
|
6325
5796
|
}): react_jsx_runtime.JSX.Element;
|
|
6326
|
-
Item: ({ ref, asChild, textValue, active, closeOnSelect, className, children, onClick, ...props }:
|
|
5797
|
+
Item: ({ ref, asChild, textValue, active, closeOnSelect, className, children, onClick, ...props }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6327
5798
|
asChild?: boolean;
|
|
6328
5799
|
textValue?: string;
|
|
6329
5800
|
active?: boolean;
|
|
6330
5801
|
closeOnSelect?: boolean;
|
|
6331
|
-
}) & {
|
|
6332
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6333
5802
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
6334
5803
|
Group: ({ label, textValue, collapsible, defaultExpanded, className, children, }: {
|
|
6335
5804
|
label: react.ReactNode;
|
|
@@ -6425,6 +5894,10 @@ declare const Card: {
|
|
|
6425
5894
|
}) => react_jsx_runtime.JSX.Element;
|
|
6426
5895
|
};
|
|
6427
5896
|
|
|
5897
|
+
type TableSortDirection = 'asc' | 'desc' | false;
|
|
5898
|
+
/** Maps a sort direction to the `aria-sort` value for the enclosing `Table.Head`. */
|
|
5899
|
+
declare const tableAriaSort: (sorted: TableSortDirection) => ComponentProps<"th">["aria-sort"];
|
|
5900
|
+
|
|
6428
5901
|
/**
|
|
6429
5902
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
6430
5903
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
@@ -6456,11 +5929,13 @@ declare const Table: {
|
|
|
6456
5929
|
Body: ({ withBorderSeparator, className, ...props }: {
|
|
6457
5930
|
withBorderSeparator?: boolean;
|
|
6458
5931
|
} & ComponentProps<"tbody">) => react_jsx_runtime.JSX.Element;
|
|
6459
|
-
Row: ({ ref, className, ...props }: ComponentProps<"tr">
|
|
6460
|
-
ref?: react.Ref<react.ElementRef<"tr">>;
|
|
6461
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5932
|
+
Row: ({ ref, className, ...props }: ComponentProps<"tr">) => react_jsx_runtime.JSX.Element;
|
|
6462
5933
|
Cell: ({ className, ...props }: ComponentProps<"td">) => react_jsx_runtime.JSX.Element;
|
|
6463
5934
|
Footer: ({ className, ...props }: ComponentProps<"tfoot">) => react_jsx_runtime.JSX.Element;
|
|
5935
|
+
SortHeader: ({ sorted, children, className, ...props }: {
|
|
5936
|
+
sorted: TableSortDirection;
|
|
5937
|
+
children: react.ReactNode;
|
|
5938
|
+
} & Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children" | "type">) => react_jsx_runtime.JSX.Element;
|
|
6464
5939
|
};
|
|
6465
5940
|
|
|
6466
5941
|
type Props$a = ComponentProps<'ul'> & {
|
|
@@ -6485,12 +5960,10 @@ type Props$9 = {
|
|
|
6485
5960
|
tooltip?: ReactNode;
|
|
6486
5961
|
twoLines?: boolean;
|
|
6487
5962
|
noTooltip?: boolean;
|
|
6488
|
-
tooltipVariant?: Props$
|
|
6489
|
-
tooltipPlacement?: Props$
|
|
6490
|
-
} & Omit<
|
|
6491
|
-
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9
|
|
6492
|
-
ref?: Ref<ElementRef<"span">>;
|
|
6493
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5963
|
+
tooltipVariant?: Props$1L['variant'];
|
|
5964
|
+
tooltipPlacement?: Props$1L['placement'];
|
|
5965
|
+
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
5966
|
+
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
6494
5967
|
|
|
6495
5968
|
type Props$8 = {
|
|
6496
5969
|
source: string;
|
|
@@ -6498,9 +5971,7 @@ type Props$8 = {
|
|
|
6498
5971
|
mark?: string;
|
|
6499
5972
|
isCaseSensitive?: boolean;
|
|
6500
5973
|
} & ComponentProps<'span'>;
|
|
6501
|
-
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$8
|
|
6502
|
-
ref?: Ref<ElementRef<"span">>;
|
|
6503
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5974
|
+
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
6504
5975
|
|
|
6505
5976
|
declare const kbdVariants: (props?: ({
|
|
6506
5977
|
variant?: "primary" | "default" | null | undefined;
|
|
@@ -6509,11 +5980,9 @@ declare const kbdVariants: (props?: ({
|
|
|
6509
5980
|
type Props$7 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
6510
5981
|
declare const Kbd: {
|
|
6511
5982
|
({ children, className, variant, ...rest }: Props$7): react_jsx_runtime.JSX.Element;
|
|
6512
|
-
Group: ({ ref, className, children, separator, ...props }:
|
|
5983
|
+
Group: ({ ref, className, children, separator, ...props }: {
|
|
6513
5984
|
separator?: string;
|
|
6514
|
-
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement>)
|
|
6515
|
-
ref?: react.Ref<react.ElementRef<"kbd">>;
|
|
6516
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
5985
|
+
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement>) => react_jsx_runtime.JSX.Element;
|
|
6517
5986
|
Separator: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6518
5987
|
};
|
|
6519
5988
|
|
|
@@ -6529,7 +5998,7 @@ declare const Pagination: {
|
|
|
6529
5998
|
({ className, ...props }: Props$6): react_jsx_runtime.JSX.Element;
|
|
6530
5999
|
Content: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element;
|
|
6531
6000
|
Item: ({ className, ...props }: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element;
|
|
6532
|
-
Button: ({ ref, active: isActive, className, children, size, ...props }:
|
|
6001
|
+
Button: ({ ref, active: isActive, className, children, size, ...props }: {
|
|
6533
6002
|
active?: boolean;
|
|
6534
6003
|
} & Omit<{
|
|
6535
6004
|
isLoading?: boolean;
|
|
@@ -6538,11 +6007,7 @@ declare const Pagination: {
|
|
|
6538
6007
|
block?: boolean | null | undefined;
|
|
6539
6008
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6540
6009
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6541
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
6542
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6543
|
-
}, "variant">) & {
|
|
6544
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6545
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6010
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6546
6011
|
Previous: ({ children, ...props }: {
|
|
6547
6012
|
active?: boolean;
|
|
6548
6013
|
} & Omit<{
|
|
@@ -6552,11 +6017,7 @@ declare const Pagination: {
|
|
|
6552
6017
|
block?: boolean | null | undefined;
|
|
6553
6018
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6554
6019
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6555
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
6556
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6557
|
-
}, "variant"> & {
|
|
6558
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6559
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6020
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6560
6021
|
Next: ({ children, className, ...props }: {
|
|
6561
6022
|
active?: boolean;
|
|
6562
6023
|
} & Omit<{
|
|
@@ -6566,11 +6027,7 @@ declare const Pagination: {
|
|
|
6566
6027
|
block?: boolean | null | undefined;
|
|
6567
6028
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6568
6029
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6569
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
6570
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6571
|
-
}, "variant"> & {
|
|
6572
|
-
ref?: react.Ref<react.ElementRef<"button">>;
|
|
6573
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
6030
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6574
6031
|
Ellipsis: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6575
6032
|
};
|
|
6576
6033
|
|
|
@@ -6785,6 +6242,13 @@ type FieldControlProps = {
|
|
|
6785
6242
|
type RequiredMark = 'required' | 'optional' | 'hidden';
|
|
6786
6243
|
type Props$1 = {
|
|
6787
6244
|
label?: ReactNode;
|
|
6245
|
+
/**
|
|
6246
|
+
* Optional node rendered at the trailing edge of the label row (opposite the label) — e.g. a
|
|
6247
|
+
* "Forgot password?" link beside a Password label. Presentational placement only; it is a sibling
|
|
6248
|
+
* of the `<Label>`, not part of the field's accessible name. Provide an interactive element
|
|
6249
|
+
* (`ButtonInline` / `Link`).
|
|
6250
|
+
*/
|
|
6251
|
+
action?: ReactNode;
|
|
6788
6252
|
required?: boolean;
|
|
6789
6253
|
/**
|
|
6790
6254
|
* Which marker to show beside the label — gated by `required` so it never lies: `'required'`
|
|
@@ -6816,10 +6280,11 @@ type FieldItemProps = Omit<Props$1, 'children'>;
|
|
|
6816
6280
|
* @see RECIPES.md#modal-form — for the canonical form-in-modal composition
|
|
6817
6281
|
*/
|
|
6818
6282
|
declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_react_form.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
6819
|
-
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6283
|
+
readonly TextField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6820
6284
|
content?: string | undefined | undefined;
|
|
6821
6285
|
size?: number | undefined | undefined;
|
|
6822
6286
|
translate?: "yes" | "no" | undefined | undefined;
|
|
6287
|
+
color?: string | undefined | undefined;
|
|
6823
6288
|
prefix?: react.ReactNode;
|
|
6824
6289
|
id?: string | undefined | undefined;
|
|
6825
6290
|
name?: string | undefined | undefined;
|
|
@@ -6863,7 +6328,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6863
6328
|
vocab?: string | undefined | undefined;
|
|
6864
6329
|
autoCorrect?: string | undefined | undefined;
|
|
6865
6330
|
autoSave?: string | undefined | undefined;
|
|
6866
|
-
color?: string | undefined | undefined;
|
|
6867
6331
|
itemProp?: string | undefined | undefined;
|
|
6868
6332
|
itemScope?: boolean | undefined | undefined;
|
|
6869
6333
|
itemType?: string | undefined | undefined;
|
|
@@ -7122,13 +6586,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7122
6586
|
multiple?: boolean | undefined | undefined;
|
|
7123
6587
|
src?: string | undefined | undefined;
|
|
7124
6588
|
alt?: string | undefined | undefined;
|
|
7125
|
-
required?: boolean | undefined | undefined;
|
|
7126
6589
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
7127
6590
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
7128
6591
|
maxLength?: number | undefined | undefined;
|
|
7129
6592
|
minLength?: number | undefined | undefined;
|
|
7130
6593
|
placeholder?: string | undefined | undefined;
|
|
7131
6594
|
readOnly?: boolean | undefined | undefined;
|
|
6595
|
+
required?: boolean | undefined | undefined;
|
|
7132
6596
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
7133
6597
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7134
6598
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -7138,13 +6602,12 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7138
6602
|
allowClear?: boolean | undefined;
|
|
7139
6603
|
onClear?: (() => void) | undefined;
|
|
7140
6604
|
testId?: string | undefined;
|
|
7141
|
-
} & {
|
|
7142
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7143
6605
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7144
|
-
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6606
|
+
readonly NumberField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7145
6607
|
content?: string | undefined | undefined;
|
|
7146
6608
|
size?: number | undefined | undefined;
|
|
7147
6609
|
translate?: "yes" | "no" | undefined | undefined;
|
|
6610
|
+
color?: string | undefined | undefined;
|
|
7148
6611
|
prefix?: react.ReactNode;
|
|
7149
6612
|
id?: string | undefined | undefined;
|
|
7150
6613
|
name?: string | undefined | undefined;
|
|
@@ -7188,7 +6651,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7188
6651
|
vocab?: string | undefined | undefined;
|
|
7189
6652
|
autoCorrect?: string | undefined | undefined;
|
|
7190
6653
|
autoSave?: string | undefined | undefined;
|
|
7191
|
-
color?: string | undefined | undefined;
|
|
7192
6654
|
itemProp?: string | undefined | undefined;
|
|
7193
6655
|
itemScope?: boolean | undefined | undefined;
|
|
7194
6656
|
itemType?: string | undefined | undefined;
|
|
@@ -7447,7 +6909,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7447
6909
|
multiple?: boolean | undefined | undefined;
|
|
7448
6910
|
src?: string | undefined | undefined;
|
|
7449
6911
|
alt?: string | undefined | undefined;
|
|
7450
|
-
required?: boolean | undefined | undefined;
|
|
7451
6912
|
accept?: string | undefined | undefined;
|
|
7452
6913
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
7453
6914
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -7455,14 +6916,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7455
6916
|
minLength?: number | undefined | undefined;
|
|
7456
6917
|
placeholder?: string | undefined | undefined;
|
|
7457
6918
|
readOnly?: boolean | undefined | undefined;
|
|
6919
|
+
required?: boolean | undefined | undefined;
|
|
7458
6920
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
7459
6921
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7460
6922
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7461
6923
|
suffix?: react.ReactNode;
|
|
7462
|
-
} & {
|
|
7463
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7464
6924
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7465
|
-
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6925
|
+
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7466
6926
|
variant?: "primary" | "secondary" | null | undefined;
|
|
7467
6927
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
7468
6928
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
@@ -7471,6 +6931,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7471
6931
|
content?: string | undefined | undefined;
|
|
7472
6932
|
size?: number | undefined | undefined;
|
|
7473
6933
|
translate?: "yes" | "no" | undefined | undefined;
|
|
6934
|
+
color?: string | undefined | undefined;
|
|
7474
6935
|
prefix?: string | undefined | undefined;
|
|
7475
6936
|
id?: string | undefined | undefined;
|
|
7476
6937
|
name?: string | undefined | undefined;
|
|
@@ -7512,7 +6973,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7512
6973
|
vocab?: string | undefined | undefined;
|
|
7513
6974
|
autoCorrect?: string | undefined | undefined;
|
|
7514
6975
|
autoSave?: string | undefined | undefined;
|
|
7515
|
-
color?: string | undefined | undefined;
|
|
7516
6976
|
itemProp?: string | undefined | undefined;
|
|
7517
6977
|
itemScope?: boolean | undefined | undefined;
|
|
7518
6978
|
itemType?: string | undefined | undefined;
|
|
@@ -7769,13 +7229,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7769
7229
|
multiple?: boolean | undefined | undefined;
|
|
7770
7230
|
src?: string | undefined | undefined;
|
|
7771
7231
|
alt?: string | undefined | undefined;
|
|
7772
|
-
required?: boolean | undefined | undefined;
|
|
7773
7232
|
accept?: string | undefined | undefined;
|
|
7774
7233
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
7775
7234
|
maxLength?: number | undefined | undefined;
|
|
7776
7235
|
minLength?: number | undefined | undefined;
|
|
7777
7236
|
placeholder?: string | undefined | undefined;
|
|
7778
7237
|
readOnly?: boolean | undefined | undefined;
|
|
7238
|
+
required?: boolean | undefined | undefined;
|
|
7779
7239
|
} & {
|
|
7780
7240
|
value?: string | null;
|
|
7781
7241
|
defaultValue?: string | null;
|
|
@@ -7783,14 +7243,15 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7783
7243
|
onValueBlur?: (value: string) => void;
|
|
7784
7244
|
allowClear?: boolean;
|
|
7785
7245
|
allowPasswordToggle?: boolean;
|
|
7246
|
+
passwordToggleLabel?: string;
|
|
7786
7247
|
autoComplete?: "new-password" | "current-password" | "off";
|
|
7787
7248
|
defaultPasswordVisibility?: boolean;
|
|
7788
|
-
} & {
|
|
7789
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
7790
7249
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7791
|
-
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7250
|
+
readonly TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7792
7251
|
content?: string | undefined | undefined;
|
|
7793
7252
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7253
|
+
wrap?: string | undefined | undefined;
|
|
7254
|
+
color?: string | undefined | undefined;
|
|
7794
7255
|
prefix?: string | undefined | undefined;
|
|
7795
7256
|
id?: string | undefined | undefined;
|
|
7796
7257
|
name?: string | undefined | undefined;
|
|
@@ -7835,7 +7296,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7835
7296
|
vocab?: string | undefined | undefined;
|
|
7836
7297
|
autoCorrect?: string | undefined | undefined;
|
|
7837
7298
|
autoSave?: string | undefined | undefined;
|
|
7838
|
-
color?: string | undefined | undefined;
|
|
7839
7299
|
itemProp?: string | undefined | undefined;
|
|
7840
7300
|
itemScope?: boolean | undefined | undefined;
|
|
7841
7301
|
itemType?: string | undefined | undefined;
|
|
@@ -8079,13 +7539,12 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8079
7539
|
disabled?: boolean | undefined | undefined;
|
|
8080
7540
|
value?: string | null | undefined;
|
|
8081
7541
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
8082
|
-
wrap?: string | undefined | undefined;
|
|
8083
|
-
required?: boolean | undefined | undefined;
|
|
8084
7542
|
autoComplete?: string | undefined | undefined;
|
|
8085
7543
|
maxLength?: number | undefined | undefined;
|
|
8086
7544
|
minLength?: number | undefined | undefined;
|
|
8087
7545
|
placeholder?: string | undefined | undefined;
|
|
8088
7546
|
readOnly?: boolean | undefined | undefined;
|
|
7547
|
+
required?: boolean | undefined | undefined;
|
|
8089
7548
|
cols?: number | undefined | undefined;
|
|
8090
7549
|
dirName?: string | undefined | undefined;
|
|
8091
7550
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -8098,38 +7557,29 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8098
7557
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8099
7558
|
containerClassName?: string | undefined;
|
|
8100
7559
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8101
|
-
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy,
|
|
8102
|
-
|
|
8103
|
-
triggerClassName?: string;
|
|
8104
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
8105
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
7560
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "name" | "form" | "defaultValue" | "dir" | "open" | "defaultOpen" | "onOpenChange" | "disabled" | "value" | "onValueChange" | "autoComplete" | "required"> & Pick<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
7561
|
+
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
8106
7562
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
|
|
8110
|
-
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
} | {
|
|
8117
|
-
items
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
}[];
|
|
8121
|
-
options: readonly {
|
|
8122
|
-
value: string;
|
|
8123
|
-
label: react.ReactNode;
|
|
8124
|
-
}[];
|
|
8125
|
-
})) => react_jsx_runtime.JSX.Element;
|
|
7563
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
7564
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
7565
|
+
variant?: Exclude<class_variance_authority.VariantProps<(props?: ({
|
|
7566
|
+
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
7567
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7568
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
7569
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
7570
|
+
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">, "id" | "variant" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "state" | "placeholder" | "sizing"> & {
|
|
7571
|
+
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
7572
|
+
}, "id" | "name" | "defaultValue" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "value" | "onValueChange" | "items"> & {
|
|
7573
|
+
items: readonly (SelectItem | SelectItemGroup)[];
|
|
7574
|
+
triggerClassName?: string;
|
|
7575
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
8126
7576
|
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
8127
7577
|
id?: string | number;
|
|
8128
7578
|
description?: react.ReactNode;
|
|
8129
7579
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
8130
7580
|
position?: "start" | "end";
|
|
8131
|
-
tooltip?: Props$
|
|
8132
|
-
tooltipPlacement?: Props$
|
|
7581
|
+
tooltip?: Props$1L["tooltip"];
|
|
7582
|
+
tooltipPlacement?: Props$1L["placement"];
|
|
8133
7583
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
8134
7584
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
8135
7585
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -8143,10 +7593,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8143
7593
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
8144
7594
|
variant?: "default" | "argo" | null | undefined;
|
|
8145
7595
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
8146
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">
|
|
8147
|
-
|
|
8148
|
-
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
8149
|
-
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7596
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
7597
|
+
readonly OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
8150
7598
|
}, {
|
|
8151
7599
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
8152
7600
|
children: react.ReactNode;
|
|
@@ -8160,15 +7608,15 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8160
7608
|
block?: boolean | null | undefined;
|
|
8161
7609
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
8162
7610
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
8163
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
8164
|
-
|
|
8165
|
-
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
7611
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
7612
|
+
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
8166
7613
|
}>;
|
|
8167
7614
|
declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: _tanstack_react_form.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
8168
|
-
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7615
|
+
readonly TextField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8169
7616
|
content?: string | undefined | undefined;
|
|
8170
7617
|
size?: number | undefined | undefined;
|
|
8171
7618
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7619
|
+
color?: string | undefined | undefined;
|
|
8172
7620
|
prefix?: react.ReactNode;
|
|
8173
7621
|
id?: string | undefined | undefined;
|
|
8174
7622
|
name?: string | undefined | undefined;
|
|
@@ -8212,7 +7660,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8212
7660
|
vocab?: string | undefined | undefined;
|
|
8213
7661
|
autoCorrect?: string | undefined | undefined;
|
|
8214
7662
|
autoSave?: string | undefined | undefined;
|
|
8215
|
-
color?: string | undefined | undefined;
|
|
8216
7663
|
itemProp?: string | undefined | undefined;
|
|
8217
7664
|
itemScope?: boolean | undefined | undefined;
|
|
8218
7665
|
itemType?: string | undefined | undefined;
|
|
@@ -8471,13 +7918,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8471
7918
|
multiple?: boolean | undefined | undefined;
|
|
8472
7919
|
src?: string | undefined | undefined;
|
|
8473
7920
|
alt?: string | undefined | undefined;
|
|
8474
|
-
required?: boolean | undefined | undefined;
|
|
8475
7921
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
8476
7922
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
8477
7923
|
maxLength?: number | undefined | undefined;
|
|
8478
7924
|
minLength?: number | undefined | undefined;
|
|
8479
7925
|
placeholder?: string | undefined | undefined;
|
|
8480
7926
|
readOnly?: boolean | undefined | undefined;
|
|
7927
|
+
required?: boolean | undefined | undefined;
|
|
8481
7928
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
8482
7929
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8483
7930
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -8487,13 +7934,12 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8487
7934
|
allowClear?: boolean | undefined;
|
|
8488
7935
|
onClear?: (() => void) | undefined;
|
|
8489
7936
|
testId?: string | undefined;
|
|
8490
|
-
} & {
|
|
8491
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8492
7937
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
8493
|
-
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
7938
|
+
readonly NumberField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8494
7939
|
content?: string | undefined | undefined;
|
|
8495
7940
|
size?: number | undefined | undefined;
|
|
8496
7941
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7942
|
+
color?: string | undefined | undefined;
|
|
8497
7943
|
prefix?: react.ReactNode;
|
|
8498
7944
|
id?: string | undefined | undefined;
|
|
8499
7945
|
name?: string | undefined | undefined;
|
|
@@ -8537,7 +7983,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8537
7983
|
vocab?: string | undefined | undefined;
|
|
8538
7984
|
autoCorrect?: string | undefined | undefined;
|
|
8539
7985
|
autoSave?: string | undefined | undefined;
|
|
8540
|
-
color?: string | undefined | undefined;
|
|
8541
7986
|
itemProp?: string | undefined | undefined;
|
|
8542
7987
|
itemScope?: boolean | undefined | undefined;
|
|
8543
7988
|
itemType?: string | undefined | undefined;
|
|
@@ -8796,7 +8241,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8796
8241
|
multiple?: boolean | undefined | undefined;
|
|
8797
8242
|
src?: string | undefined | undefined;
|
|
8798
8243
|
alt?: string | undefined | undefined;
|
|
8799
|
-
required?: boolean | undefined | undefined;
|
|
8800
8244
|
accept?: string | undefined | undefined;
|
|
8801
8245
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
8802
8246
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -8804,14 +8248,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8804
8248
|
minLength?: number | undefined | undefined;
|
|
8805
8249
|
placeholder?: string | undefined | undefined;
|
|
8806
8250
|
readOnly?: boolean | undefined | undefined;
|
|
8251
|
+
required?: boolean | undefined | undefined;
|
|
8807
8252
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
8808
8253
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8809
8254
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8810
8255
|
suffix?: react.ReactNode;
|
|
8811
|
-
} & {
|
|
8812
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
8813
8256
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8814
|
-
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8257
|
+
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8815
8258
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8816
8259
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8817
8260
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
@@ -8820,6 +8263,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8820
8263
|
content?: string | undefined | undefined;
|
|
8821
8264
|
size?: number | undefined | undefined;
|
|
8822
8265
|
translate?: "yes" | "no" | undefined | undefined;
|
|
8266
|
+
color?: string | undefined | undefined;
|
|
8823
8267
|
prefix?: string | undefined | undefined;
|
|
8824
8268
|
id?: string | undefined | undefined;
|
|
8825
8269
|
name?: string | undefined | undefined;
|
|
@@ -8861,7 +8305,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8861
8305
|
vocab?: string | undefined | undefined;
|
|
8862
8306
|
autoCorrect?: string | undefined | undefined;
|
|
8863
8307
|
autoSave?: string | undefined | undefined;
|
|
8864
|
-
color?: string | undefined | undefined;
|
|
8865
8308
|
itemProp?: string | undefined | undefined;
|
|
8866
8309
|
itemScope?: boolean | undefined | undefined;
|
|
8867
8310
|
itemType?: string | undefined | undefined;
|
|
@@ -9118,13 +8561,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9118
8561
|
multiple?: boolean | undefined | undefined;
|
|
9119
8562
|
src?: string | undefined | undefined;
|
|
9120
8563
|
alt?: string | undefined | undefined;
|
|
9121
|
-
required?: boolean | undefined | undefined;
|
|
9122
8564
|
accept?: string | undefined | undefined;
|
|
9123
8565
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
9124
8566
|
maxLength?: number | undefined | undefined;
|
|
9125
8567
|
minLength?: number | undefined | undefined;
|
|
9126
8568
|
placeholder?: string | undefined | undefined;
|
|
9127
8569
|
readOnly?: boolean | undefined | undefined;
|
|
8570
|
+
required?: boolean | undefined | undefined;
|
|
9128
8571
|
} & {
|
|
9129
8572
|
value?: string | null;
|
|
9130
8573
|
defaultValue?: string | null;
|
|
@@ -9132,14 +8575,15 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9132
8575
|
onValueBlur?: (value: string) => void;
|
|
9133
8576
|
allowClear?: boolean;
|
|
9134
8577
|
allowPasswordToggle?: boolean;
|
|
8578
|
+
passwordToggleLabel?: string;
|
|
9135
8579
|
autoComplete?: "new-password" | "current-password" | "off";
|
|
9136
8580
|
defaultPasswordVisibility?: boolean;
|
|
9137
|
-
} & {
|
|
9138
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9139
8581
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9140
|
-
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8582
|
+
readonly TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9141
8583
|
content?: string | undefined | undefined;
|
|
9142
8584
|
translate?: "yes" | "no" | undefined | undefined;
|
|
8585
|
+
wrap?: string | undefined | undefined;
|
|
8586
|
+
color?: string | undefined | undefined;
|
|
9143
8587
|
prefix?: string | undefined | undefined;
|
|
9144
8588
|
id?: string | undefined | undefined;
|
|
9145
8589
|
name?: string | undefined | undefined;
|
|
@@ -9184,7 +8628,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9184
8628
|
vocab?: string | undefined | undefined;
|
|
9185
8629
|
autoCorrect?: string | undefined | undefined;
|
|
9186
8630
|
autoSave?: string | undefined | undefined;
|
|
9187
|
-
color?: string | undefined | undefined;
|
|
9188
8631
|
itemProp?: string | undefined | undefined;
|
|
9189
8632
|
itemScope?: boolean | undefined | undefined;
|
|
9190
8633
|
itemType?: string | undefined | undefined;
|
|
@@ -9428,13 +8871,12 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9428
8871
|
disabled?: boolean | undefined | undefined;
|
|
9429
8872
|
value?: string | null | undefined;
|
|
9430
8873
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
9431
|
-
wrap?: string | undefined | undefined;
|
|
9432
|
-
required?: boolean | undefined | undefined;
|
|
9433
8874
|
autoComplete?: string | undefined | undefined;
|
|
9434
8875
|
maxLength?: number | undefined | undefined;
|
|
9435
8876
|
minLength?: number | undefined | undefined;
|
|
9436
8877
|
placeholder?: string | undefined | undefined;
|
|
9437
8878
|
readOnly?: boolean | undefined | undefined;
|
|
8879
|
+
required?: boolean | undefined | undefined;
|
|
9438
8880
|
cols?: number | undefined | undefined;
|
|
9439
8881
|
dirName?: string | undefined | undefined;
|
|
9440
8882
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -9447,38 +8889,29 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9447
8889
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9448
8890
|
containerClassName?: string | undefined;
|
|
9449
8891
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9450
|
-
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy,
|
|
9451
|
-
|
|
9452
|
-
triggerClassName?: string;
|
|
9453
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
9454
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
8892
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "name" | "form" | "defaultValue" | "dir" | "open" | "defaultOpen" | "onOpenChange" | "disabled" | "value" | "onValueChange" | "autoComplete" | "required"> & Pick<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
8893
|
+
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
9455
8894
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
} | {
|
|
9466
|
-
items
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
}[];
|
|
9470
|
-
options: readonly {
|
|
9471
|
-
value: string;
|
|
9472
|
-
label: react.ReactNode;
|
|
9473
|
-
}[];
|
|
9474
|
-
})) => react_jsx_runtime.JSX.Element;
|
|
8895
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
8896
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
8897
|
+
variant?: Exclude<class_variance_authority.VariantProps<(props?: ({
|
|
8898
|
+
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
8899
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8900
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
8901
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
8902
|
+
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">, "id" | "variant" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "state" | "placeholder" | "sizing"> & {
|
|
8903
|
+
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
8904
|
+
}, "id" | "name" | "defaultValue" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "value" | "onValueChange" | "items"> & {
|
|
8905
|
+
items: readonly (SelectItem | SelectItemGroup)[];
|
|
8906
|
+
triggerClassName?: string;
|
|
8907
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
9475
8908
|
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
9476
8909
|
id?: string | number;
|
|
9477
8910
|
description?: react.ReactNode;
|
|
9478
8911
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
9479
8912
|
position?: "start" | "end";
|
|
9480
|
-
tooltip?: Props$
|
|
9481
|
-
tooltipPlacement?: Props$
|
|
8913
|
+
tooltip?: Props$1L["tooltip"];
|
|
8914
|
+
tooltipPlacement?: Props$1L["placement"];
|
|
9482
8915
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
9483
8916
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
9484
8917
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -9492,10 +8925,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9492
8925
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
9493
8926
|
variant?: "default" | "argo" | null | undefined;
|
|
9494
8927
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
9495
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">
|
|
9496
|
-
|
|
9497
|
-
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
9498
|
-
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
8928
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
8929
|
+
readonly OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
9499
8930
|
}, {
|
|
9500
8931
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
9501
8932
|
children: react.ReactNode;
|
|
@@ -9509,15 +8940,15 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9509
8940
|
block?: boolean | null | undefined;
|
|
9510
8941
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
9511
8942
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
9512
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
9513
|
-
|
|
9514
|
-
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
8943
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
8944
|
+
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
9515
8945
|
}, TRenderProps>) => react.FunctionComponent<react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
9516
8946
|
form: _tanstack_react_form.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_react_form.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_react_form.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
9517
|
-
readonly TextField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8947
|
+
readonly TextField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9518
8948
|
content?: string | undefined | undefined;
|
|
9519
8949
|
size?: number | undefined | undefined;
|
|
9520
8950
|
translate?: "yes" | "no" | undefined | undefined;
|
|
8951
|
+
color?: string | undefined | undefined;
|
|
9521
8952
|
prefix?: react.ReactNode;
|
|
9522
8953
|
id?: string | undefined | undefined;
|
|
9523
8954
|
name?: string | undefined | undefined;
|
|
@@ -9561,7 +8992,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9561
8992
|
vocab?: string | undefined | undefined;
|
|
9562
8993
|
autoCorrect?: string | undefined | undefined;
|
|
9563
8994
|
autoSave?: string | undefined | undefined;
|
|
9564
|
-
color?: string | undefined | undefined;
|
|
9565
8995
|
itemProp?: string | undefined | undefined;
|
|
9566
8996
|
itemScope?: boolean | undefined | undefined;
|
|
9567
8997
|
itemType?: string | undefined | undefined;
|
|
@@ -9820,13 +9250,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9820
9250
|
multiple?: boolean | undefined | undefined;
|
|
9821
9251
|
src?: string | undefined | undefined;
|
|
9822
9252
|
alt?: string | undefined | undefined;
|
|
9823
|
-
required?: boolean | undefined | undefined;
|
|
9824
9253
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
9825
9254
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
9826
9255
|
maxLength?: number | undefined | undefined;
|
|
9827
9256
|
minLength?: number | undefined | undefined;
|
|
9828
9257
|
placeholder?: string | undefined | undefined;
|
|
9829
9258
|
readOnly?: boolean | undefined | undefined;
|
|
9259
|
+
required?: boolean | undefined | undefined;
|
|
9830
9260
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
9831
9261
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
9832
9262
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
@@ -9836,13 +9266,12 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9836
9266
|
allowClear?: boolean | undefined;
|
|
9837
9267
|
onClear?: (() => void) | undefined;
|
|
9838
9268
|
testId?: string | undefined;
|
|
9839
|
-
} & {
|
|
9840
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
9841
9269
|
}, "id" | "name" | "onBlur" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
9842
|
-
readonly NumberField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9270
|
+
readonly NumberField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9843
9271
|
content?: string | undefined | undefined;
|
|
9844
9272
|
size?: number | undefined | undefined;
|
|
9845
9273
|
translate?: "yes" | "no" | undefined | undefined;
|
|
9274
|
+
color?: string | undefined | undefined;
|
|
9846
9275
|
prefix?: react.ReactNode;
|
|
9847
9276
|
id?: string | undefined | undefined;
|
|
9848
9277
|
name?: string | undefined | undefined;
|
|
@@ -9886,7 +9315,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9886
9315
|
vocab?: string | undefined | undefined;
|
|
9887
9316
|
autoCorrect?: string | undefined | undefined;
|
|
9888
9317
|
autoSave?: string | undefined | undefined;
|
|
9889
|
-
color?: string | undefined | undefined;
|
|
9890
9318
|
itemProp?: string | undefined | undefined;
|
|
9891
9319
|
itemScope?: boolean | undefined | undefined;
|
|
9892
9320
|
itemType?: string | undefined | undefined;
|
|
@@ -10145,7 +9573,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10145
9573
|
multiple?: boolean | undefined | undefined;
|
|
10146
9574
|
src?: string | undefined | undefined;
|
|
10147
9575
|
alt?: string | undefined | undefined;
|
|
10148
|
-
required?: boolean | undefined | undefined;
|
|
10149
9576
|
accept?: string | undefined | undefined;
|
|
10150
9577
|
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
10151
9578
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
@@ -10153,14 +9580,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10153
9580
|
minLength?: number | undefined | undefined;
|
|
10154
9581
|
placeholder?: string | undefined | undefined;
|
|
10155
9582
|
readOnly?: boolean | undefined | undefined;
|
|
9583
|
+
required?: boolean | undefined | undefined;
|
|
10156
9584
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
10157
9585
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10158
9586
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10159
9587
|
suffix?: react.ReactNode;
|
|
10160
|
-
} & {
|
|
10161
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
10162
9588
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10163
|
-
readonly PasswordField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9589
|
+
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
10164
9590
|
variant?: "primary" | "secondary" | null | undefined;
|
|
10165
9591
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
10166
9592
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
@@ -10169,6 +9595,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10169
9595
|
content?: string | undefined | undefined;
|
|
10170
9596
|
size?: number | undefined | undefined;
|
|
10171
9597
|
translate?: "yes" | "no" | undefined | undefined;
|
|
9598
|
+
color?: string | undefined | undefined;
|
|
10172
9599
|
prefix?: string | undefined | undefined;
|
|
10173
9600
|
id?: string | undefined | undefined;
|
|
10174
9601
|
name?: string | undefined | undefined;
|
|
@@ -10210,7 +9637,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10210
9637
|
vocab?: string | undefined | undefined;
|
|
10211
9638
|
autoCorrect?: string | undefined | undefined;
|
|
10212
9639
|
autoSave?: string | undefined | undefined;
|
|
10213
|
-
color?: string | undefined | undefined;
|
|
10214
9640
|
itemProp?: string | undefined | undefined;
|
|
10215
9641
|
itemScope?: boolean | undefined | undefined;
|
|
10216
9642
|
itemType?: string | undefined | undefined;
|
|
@@ -10467,13 +9893,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10467
9893
|
multiple?: boolean | undefined | undefined;
|
|
10468
9894
|
src?: string | undefined | undefined;
|
|
10469
9895
|
alt?: string | undefined | undefined;
|
|
10470
|
-
required?: boolean | undefined | undefined;
|
|
10471
9896
|
accept?: string | undefined | undefined;
|
|
10472
9897
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
10473
9898
|
maxLength?: number | undefined | undefined;
|
|
10474
9899
|
minLength?: number | undefined | undefined;
|
|
10475
9900
|
placeholder?: string | undefined | undefined;
|
|
10476
9901
|
readOnly?: boolean | undefined | undefined;
|
|
9902
|
+
required?: boolean | undefined | undefined;
|
|
10477
9903
|
} & {
|
|
10478
9904
|
value?: string | null;
|
|
10479
9905
|
defaultValue?: string | null;
|
|
@@ -10481,14 +9907,15 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10481
9907
|
onValueBlur?: (value: string) => void;
|
|
10482
9908
|
allowClear?: boolean;
|
|
10483
9909
|
allowPasswordToggle?: boolean;
|
|
9910
|
+
passwordToggleLabel?: string;
|
|
10484
9911
|
autoComplete?: "new-password" | "current-password" | "off";
|
|
10485
9912
|
defaultPasswordVisibility?: boolean;
|
|
10486
|
-
} & {
|
|
10487
|
-
ref?: react.Ref<react.ElementRef<"input">>;
|
|
10488
9913
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10489
|
-
readonly TextareaField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9914
|
+
readonly TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
10490
9915
|
content?: string | undefined | undefined;
|
|
10491
9916
|
translate?: "yes" | "no" | undefined | undefined;
|
|
9917
|
+
wrap?: string | undefined | undefined;
|
|
9918
|
+
color?: string | undefined | undefined;
|
|
10492
9919
|
prefix?: string | undefined | undefined;
|
|
10493
9920
|
id?: string | undefined | undefined;
|
|
10494
9921
|
name?: string | undefined | undefined;
|
|
@@ -10533,7 +9960,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10533
9960
|
vocab?: string | undefined | undefined;
|
|
10534
9961
|
autoCorrect?: string | undefined | undefined;
|
|
10535
9962
|
autoSave?: string | undefined | undefined;
|
|
10536
|
-
color?: string | undefined | undefined;
|
|
10537
9963
|
itemProp?: string | undefined | undefined;
|
|
10538
9964
|
itemScope?: boolean | undefined | undefined;
|
|
10539
9965
|
itemType?: string | undefined | undefined;
|
|
@@ -10777,13 +10203,12 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10777
10203
|
disabled?: boolean | undefined | undefined;
|
|
10778
10204
|
value?: string | null | undefined;
|
|
10779
10205
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
10780
|
-
wrap?: string | undefined | undefined;
|
|
10781
|
-
required?: boolean | undefined | undefined;
|
|
10782
10206
|
autoComplete?: string | undefined | undefined;
|
|
10783
10207
|
maxLength?: number | undefined | undefined;
|
|
10784
10208
|
minLength?: number | undefined | undefined;
|
|
10785
10209
|
placeholder?: string | undefined | undefined;
|
|
10786
10210
|
readOnly?: boolean | undefined | undefined;
|
|
10211
|
+
required?: boolean | undefined | undefined;
|
|
10787
10212
|
cols?: number | undefined | undefined;
|
|
10788
10213
|
dirName?: string | undefined | undefined;
|
|
10789
10214
|
maxRows?: number | "unlimited" | undefined;
|
|
@@ -10796,38 +10221,29 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10796
10221
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10797
10222
|
containerClassName?: string | undefined;
|
|
10798
10223
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10799
|
-
readonly SelectField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy,
|
|
10800
|
-
|
|
10801
|
-
triggerClassName?: string;
|
|
10802
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
10803
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
10224
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "name" | "form" | "defaultValue" | "dir" | "open" | "defaultOpen" | "onOpenChange" | "disabled" | "value" | "onValueChange" | "autoComplete" | "required"> & Pick<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10225
|
+
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
10804
10226
|
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10805
|
-
|
|
10806
|
-
|
|
10807
|
-
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
} | {
|
|
10815
|
-
items
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
}[];
|
|
10819
|
-
options: readonly {
|
|
10820
|
-
value: string;
|
|
10821
|
-
label: react.ReactNode;
|
|
10822
|
-
}[];
|
|
10823
|
-
})) => react_jsx_runtime.JSX.Element;
|
|
10227
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
10228
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
10229
|
+
variant?: Exclude<class_variance_authority.VariantProps<(props?: ({
|
|
10230
|
+
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
10231
|
+
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10232
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
10233
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
10234
|
+
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">, "id" | "variant" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "state" | "placeholder" | "sizing"> & {
|
|
10235
|
+
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
10236
|
+
}, "id" | "name" | "defaultValue" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "value" | "onValueChange" | "items"> & {
|
|
10237
|
+
items: readonly (SelectItem | SelectItemGroup)[];
|
|
10238
|
+
triggerClassName?: string;
|
|
10239
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
10824
10240
|
readonly CheckboxField: ({ className, children, ...checkboxProps }: Pick<FieldItemProps, "className"> & Omit<Omit<{
|
|
10825
10241
|
id?: string | number;
|
|
10826
10242
|
description?: react.ReactNode;
|
|
10827
10243
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10828
10244
|
position?: "start" | "end";
|
|
10829
|
-
tooltip?: Props$
|
|
10830
|
-
tooltipPlacement?: Props$
|
|
10245
|
+
tooltip?: Props$1L["tooltip"];
|
|
10246
|
+
tooltipPlacement?: Props$1L["placement"];
|
|
10831
10247
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10832
10248
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10833
10249
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10841,10 +10257,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10841
10257
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10842
10258
|
variant?: "default" | "argo" | null | undefined;
|
|
10843
10259
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
10844
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">
|
|
10845
|
-
|
|
10846
|
-
}, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10847
|
-
readonly OtpInputField: ({ label, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
10260
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10261
|
+
readonly OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
10848
10262
|
}, {
|
|
10849
10263
|
readonly FormBody: ({ children, className, ...formProps }: {
|
|
10850
10264
|
children: react.ReactNode;
|
|
@@ -10858,9 +10272,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10858
10272
|
block?: boolean | null | undefined;
|
|
10859
10273
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
10860
10274
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
10861
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>
|
|
10862
|
-
|
|
10863
|
-
}, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
10275
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
10276
|
+
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
10864
10277
|
}>;
|
|
10865
10278
|
}>>;
|
|
10866
10279
|
|
|
@@ -10874,6 +10287,16 @@ type ServerFieldError = {
|
|
|
10874
10287
|
*/
|
|
10875
10288
|
declare const setServerFieldErrors: (form: AnyFormApi, errors: readonly ServerFieldError[]) => void;
|
|
10876
10289
|
|
|
10290
|
+
/**
|
|
10291
|
+
* Set a **form-level** submit error on a TanStack form instance — a failed submission that isn't tied
|
|
10292
|
+
* to a single field (bad credentials, 5xx, network). Stored on `errorMap.onSubmit` and rendered by
|
|
10293
|
+
* `SubmitErrorAlert`. For field-specific server errors use `setServerFieldErrors` instead.
|
|
10294
|
+
*
|
|
10295
|
+
* Note: any error entry makes the form "invalid", so pair this with `canSubmitWhenInvalid: true` on
|
|
10296
|
+
* the form to keep the submit button retryable (a resubmit re-runs the validators and clears it).
|
|
10297
|
+
*/
|
|
10298
|
+
declare const setSubmitError: (form: AnyFormApi, message: string) => void;
|
|
10299
|
+
|
|
10877
10300
|
type UseAutosizeInputOptions = {
|
|
10878
10301
|
value?: string;
|
|
10879
10302
|
placeholder?: string;
|
|
@@ -10918,8 +10341,37 @@ type Props = {
|
|
|
10918
10341
|
html: string;
|
|
10919
10342
|
copyText?: string;
|
|
10920
10343
|
className?: string;
|
|
10344
|
+
/**
|
|
10345
|
+
* Opt in to keeping `<foreignObject>` elements through sanitization. Off by
|
|
10346
|
+
* default — the SVG profile drops `<foreignObject>` so no HTML subtree can
|
|
10347
|
+
* survive. Only enable when the caller pre-flattens each `<foreignObject>` to
|
|
10348
|
+
* bare text (the SVG profile still strips any HTML children even when the
|
|
10349
|
+
* element itself is allowed). `MermaidDiagram` sets this for node/icon labels.
|
|
10350
|
+
*/
|
|
10351
|
+
allowForeignObject?: boolean;
|
|
10352
|
+
/**
|
|
10353
|
+
* Extra toolbar controls, rendered between the copy and fullscreen buttons.
|
|
10354
|
+
*
|
|
10355
|
+
* Injected rather than built in, so export behaviour — filenames,
|
|
10356
|
+
* rasterization, error reporting — stays with the consumer and this component
|
|
10357
|
+
* keeps shipping in the lazy `@keboola/design/mermaid` chunk with no download
|
|
10358
|
+
* dependencies of its own. Pass `ExportMenu` here. Receives the sanitized
|
|
10359
|
+
* SVG so an exporter writes exactly what is on screen.
|
|
10360
|
+
*/
|
|
10361
|
+
renderActions?: (safeSvg: string) => ReactNode;
|
|
10921
10362
|
};
|
|
10922
|
-
declare const ZoomableSvg: ({ html, copyText, className }: Props) => react_jsx_runtime.JSX.Element;
|
|
10363
|
+
declare const ZoomableSvg: ({ html, copyText, className, allowForeignObject, renderActions, }: Props) => react_jsx_runtime.JSX.Element;
|
|
10364
|
+
|
|
10365
|
+
declare const toSvgFileContent: (svg: string) => string;
|
|
10366
|
+
/**
|
|
10367
|
+
* Rasterize SVG markup to a PNG blob at 2x for legible text.
|
|
10368
|
+
*
|
|
10369
|
+
* The SVG is loaded as a data URL rather than a blob URL: an <img> loading SVG
|
|
10370
|
+
* is treated as a foreign resource, so a blob URL would taint the canvas and
|
|
10371
|
+
* make toBlob throw a SecurityError. A background is painted first because a
|
|
10372
|
+
* transparent PNG reads as unusable when pasted into a slide deck.
|
|
10373
|
+
*/
|
|
10374
|
+
declare const svgToPngBlob: (svg: string, background?: string) => Promise<Blob>;
|
|
10923
10375
|
|
|
10924
10376
|
type ColorSlot = keyof Omit<NonNullable<Brand['theme']['colors']>, 'sidebar' | 'chart'>;
|
|
10925
10377
|
type SidebarSlot = keyof NonNullable<NonNullable<Brand['theme']['colors']>['sidebar']>;
|
|
@@ -10958,4 +10410,4 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
10958
10410
|
/** WCAG level for normal-size text at a given ratio. */
|
|
10959
10411
|
declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
|
|
10960
10412
|
|
|
10961
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$
|
|
10413
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$N as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, ExportMenu, type ExportMenuItem, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$L as InlineStepDetailProps, InlineStepLabel, type Props$K as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$7 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1m as Props, Question, type QuestionAnswers, QuestionBlock, type Props$D as QuestionBlockProps, type QuestionOption, type Props$E as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1L as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, wcagLevel, withForm };
|