@use-stall/ui 0.0.1
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/README.md +5 -0
- package/dist/index.d.mts +770 -0
- package/dist/index.d.ts +770 -0
- package/dist/index.js +3744 -0
- package/dist/index.mjs +3525 -0
- package/dist/styles.css +3 -0
- package/dist/styles.d.mts +2 -0
- package/dist/styles.d.ts +2 -0
- package/package.json +81 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,770 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import { AlertDialog as AlertDialog$1 } from '@base-ui-components/react/alert-dialog';
|
|
6
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
7
|
+
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
8
|
+
import { useRender } from '@base-ui-components/react/use-render';
|
|
9
|
+
import { VariantProps } from 'class-variance-authority';
|
|
10
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
11
|
+
import { Combobox as Combobox$2 } from '@base-ui/react/combobox';
|
|
12
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
13
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
14
|
+
import { Dialog as Dialog$1 } from '@base-ui-components/react/dialog';
|
|
15
|
+
import * as vaul from 'vaul';
|
|
16
|
+
import { Drawer as Drawer$1 } from 'vaul';
|
|
17
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
18
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
19
|
+
import { VariantProps as VariantProps$1 } from 'tailwind-variants';
|
|
20
|
+
export { ClassValue, VariantProps } from 'tailwind-variants';
|
|
21
|
+
import * as _base_ui_components_react_field from '@base-ui-components/react/field';
|
|
22
|
+
import { Field as Field$1 } from '@base-ui-components/react/field';
|
|
23
|
+
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
24
|
+
import * as react_hook_form from 'react-hook-form';
|
|
25
|
+
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
26
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
27
|
+
import * as input_otp from 'input-otp';
|
|
28
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
29
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
30
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
31
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
32
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
33
|
+
import { Switch as Switch$1 } from '@base-ui-components/react/switch';
|
|
34
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
35
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
36
|
+
import { ClassValue } from 'clsx';
|
|
37
|
+
|
|
38
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
41
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
|
|
43
|
+
declare function AlertDialog(props: AlertDialog$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
44
|
+
declare function AlertDialogTrigger(props: AlertDialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
45
|
+
declare function AlertDialogPortal(props: AlertDialog$1.Portal.Props): react_jsx_runtime.JSX.Element;
|
|
46
|
+
declare function AlertDialogBackdrop({ className, ...props }: AlertDialog$1.Backdrop.Props): react_jsx_runtime.JSX.Element;
|
|
47
|
+
declare function AlertDialogPopup({ className, ...props }: AlertDialog$1.Popup.Props): react_jsx_runtime.JSX.Element;
|
|
48
|
+
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
49
|
+
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
50
|
+
declare function AlertDialogTitle({ className, ...props }: AlertDialog$1.Title.Props): react_jsx_runtime.JSX.Element;
|
|
51
|
+
declare function AlertDialogDescription({ className, ...props }: AlertDialog$1.Description.Props): react_jsx_runtime.JSX.Element;
|
|
52
|
+
declare function AlertDialogClose(props: AlertDialog$1.Close.Props): react_jsx_runtime.JSX.Element;
|
|
53
|
+
|
|
54
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
55
|
+
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
56
|
+
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
57
|
+
|
|
58
|
+
declare const badgeVariants: (props?: ({
|
|
59
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
60
|
+
variant?: "default" | "destructive" | "error" | "info" | "outline" | "secondary" | "success" | "warning" | null | undefined;
|
|
61
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
62
|
+
interface BadgeProps extends useRender.ComponentProps<"span"> {
|
|
63
|
+
variant?: VariantProps<typeof badgeVariants>["variant"];
|
|
64
|
+
size?: VariantProps<typeof badgeVariants>["size"];
|
|
65
|
+
}
|
|
66
|
+
declare function Badge({ className, variant, size, render, ...props }: BadgeProps): React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
|
|
67
|
+
|
|
68
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
69
|
+
separator?: React$1.ReactNode;
|
|
70
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
71
|
+
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
72
|
+
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
73
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
74
|
+
asChild?: boolean;
|
|
75
|
+
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
76
|
+
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
77
|
+
declare const BreadcrumbSeparator: {
|
|
78
|
+
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
79
|
+
displayName: string;
|
|
80
|
+
};
|
|
81
|
+
declare const BreadcrumbEllipsis: {
|
|
82
|
+
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
83
|
+
displayName: string;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
declare const buttonVariants: (props?: ({
|
|
87
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "destructive-outline" | "ghost" | null | undefined;
|
|
88
|
+
size?: "default" | "icon" | "lg" | "sm" | "xs" | "xl" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-xl" | null | undefined;
|
|
89
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
90
|
+
interface ButtonProps extends useRender.ComponentProps<"button"> {
|
|
91
|
+
variant?: VariantProps<typeof buttonVariants>["variant"];
|
|
92
|
+
size?: VariantProps<typeof buttonVariants>["size"];
|
|
93
|
+
}
|
|
94
|
+
declare function Button({ className, variant, size, render, ...props }: ButtonProps): React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
|
|
95
|
+
|
|
96
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
97
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
98
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
99
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
100
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
101
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
102
|
+
|
|
103
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
104
|
+
|
|
105
|
+
declare function Combobox$1<ItemValue, Multiple extends boolean | undefined = false>(props: Combobox$2.Root.Props<ItemValue, Multiple>): react_jsx_runtime.JSX.Element;
|
|
106
|
+
declare function ComboboxInput({ className, showTrigger, showClear, startAddon, size, ...props }: Omit<Combobox$2.Input.Props, "size"> & {
|
|
107
|
+
showTrigger?: boolean;
|
|
108
|
+
showClear?: boolean;
|
|
109
|
+
startAddon?: React$1.ReactNode;
|
|
110
|
+
size?: "sm" | "default" | "lg" | number;
|
|
111
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
112
|
+
}): react_jsx_runtime.JSX.Element;
|
|
113
|
+
declare function ComboboxTrigger({ className, ...props }: Combobox$2.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
114
|
+
declare function ComboboxPopup({ className, children, sideOffset, ...props }: Combobox$2.Popup.Props & {
|
|
115
|
+
sideOffset?: number;
|
|
116
|
+
}): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function ComboboxItem({ className, children, ...props }: Combobox$2.Item.Props): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function ComboboxSeparator({ className, ...props }: Combobox$2.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
119
|
+
declare function ComboboxGroup({ className, ...props }: Combobox$2.Group.Props): react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare function ComboboxGroupLabel({ className, ...props }: Combobox$2.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare function ComboboxEmpty({ className, ...props }: Combobox$2.Empty.Props): react_jsx_runtime.JSX.Element;
|
|
122
|
+
declare function ComboboxRow({ className, ...props }: Combobox$2.Row.Props): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function ComboboxValue({ ...props }: Combobox$2.Value.Props): react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare function ComboboxList({ className, ...props }: Combobox$2.List.Props): react_jsx_runtime.JSX.Element;
|
|
125
|
+
declare function ComboboxClear({ className, ...props }: Combobox$2.Clear.Props): react_jsx_runtime.JSX.Element;
|
|
126
|
+
declare function ComboboxStatus({ className, ...props }: Combobox$2.Status.Props): react_jsx_runtime.JSX.Element;
|
|
127
|
+
declare function ComboboxCollection(props: Combobox$2.Collection.Props): react_jsx_runtime.JSX.Element;
|
|
128
|
+
declare function ComboboxChips({ className, children, startAddon, ...props }: Combobox$2.Chips.Props & {
|
|
129
|
+
startAddon?: React$1.ReactNode;
|
|
130
|
+
}): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function ComboboxChip({ children, ...props }: Combobox$2.Chip.Props): react_jsx_runtime.JSX.Element;
|
|
132
|
+
declare const useComboboxFilter: typeof Combobox$2.useFilter;
|
|
133
|
+
|
|
134
|
+
type OptionType = {
|
|
135
|
+
label: string;
|
|
136
|
+
value: string;
|
|
137
|
+
item?: any;
|
|
138
|
+
};
|
|
139
|
+
type Props$2 = {
|
|
140
|
+
placeholder?: string;
|
|
141
|
+
value: string;
|
|
142
|
+
onChange: (value: string, item?: any) => void;
|
|
143
|
+
className?: string;
|
|
144
|
+
nestedClassName?: string;
|
|
145
|
+
required?: boolean;
|
|
146
|
+
modal?: boolean;
|
|
147
|
+
trigger?: React$1.ReactNode;
|
|
148
|
+
align?: "start" | "end" | "center";
|
|
149
|
+
hideSearch?: boolean;
|
|
150
|
+
disabled?: boolean;
|
|
151
|
+
hidePrimitive?: boolean;
|
|
152
|
+
} & {
|
|
153
|
+
options?: OptionType[];
|
|
154
|
+
data_source?: OptionType[];
|
|
155
|
+
};
|
|
156
|
+
declare function Combobox({ modal, ...props }: Props$2): react_jsx_runtime.JSX.Element;
|
|
157
|
+
|
|
158
|
+
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
159
|
+
children?: React$1.ReactNode;
|
|
160
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
161
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
162
|
+
} & {
|
|
163
|
+
asChild?: boolean;
|
|
164
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
165
|
+
label?: string;
|
|
166
|
+
shouldFilter?: boolean;
|
|
167
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
168
|
+
defaultValue?: string;
|
|
169
|
+
value?: string;
|
|
170
|
+
onValueChange?: (value: string) => void;
|
|
171
|
+
loop?: boolean;
|
|
172
|
+
disablePointerSelection?: boolean;
|
|
173
|
+
vimBindings?: boolean;
|
|
174
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
175
|
+
interface CommandDialogProps extends DialogProps {
|
|
176
|
+
}
|
|
177
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
178
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
179
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
180
|
+
} & {
|
|
181
|
+
asChild?: boolean;
|
|
182
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
183
|
+
value?: string;
|
|
184
|
+
onValueChange?: (search: string) => void;
|
|
185
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & {
|
|
186
|
+
searchContainerClassName?: string;
|
|
187
|
+
icon?: React$1.ReactNode;
|
|
188
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
189
|
+
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
190
|
+
children?: React$1.ReactNode;
|
|
191
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
192
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
193
|
+
} & {
|
|
194
|
+
asChild?: boolean;
|
|
195
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
196
|
+
label?: string;
|
|
197
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
198
|
+
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
199
|
+
children?: React$1.ReactNode;
|
|
200
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
201
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
202
|
+
} & {
|
|
203
|
+
asChild?: boolean;
|
|
204
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
205
|
+
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
206
|
+
children?: React$1.ReactNode;
|
|
207
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
208
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
209
|
+
} & {
|
|
210
|
+
asChild?: boolean;
|
|
211
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
212
|
+
heading?: React$1.ReactNode;
|
|
213
|
+
value?: string;
|
|
214
|
+
forceMount?: boolean;
|
|
215
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
216
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
217
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
218
|
+
} & {
|
|
219
|
+
asChild?: boolean;
|
|
220
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
221
|
+
alwaysRender?: boolean;
|
|
222
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
223
|
+
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
224
|
+
children?: React$1.ReactNode;
|
|
225
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
226
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
227
|
+
} & {
|
|
228
|
+
asChild?: boolean;
|
|
229
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
230
|
+
disabled?: boolean;
|
|
231
|
+
onSelect?: (value: string) => void;
|
|
232
|
+
value?: string;
|
|
233
|
+
keywords?: string[];
|
|
234
|
+
forceMount?: boolean;
|
|
235
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
236
|
+
declare const CommandShortcut: {
|
|
237
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
238
|
+
displayName: string;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
type Props$1 = {
|
|
242
|
+
trigger?: React__default.ReactNode;
|
|
243
|
+
confirmAction: () => void;
|
|
244
|
+
};
|
|
245
|
+
declare const ConfirmDialog: React__default.MemoExoticComponent<({ trigger, confirmAction }: Props$1) => react_jsx_runtime.JSX.Element>;
|
|
246
|
+
|
|
247
|
+
interface CopyButtonProps {
|
|
248
|
+
isCopied: boolean;
|
|
249
|
+
copyFunction: () => void;
|
|
250
|
+
clearFunction: () => void;
|
|
251
|
+
className?: string;
|
|
252
|
+
icon_size?: number;
|
|
253
|
+
}
|
|
254
|
+
declare const CopyButton: ({ isCopied, copyFunction, clearFunction, className, icon_size, }: CopyButtonProps) => react_jsx_runtime.JSX.Element;
|
|
255
|
+
|
|
256
|
+
type Props = {
|
|
257
|
+
placeholder?: string;
|
|
258
|
+
value: string;
|
|
259
|
+
onChange: (value: string) => void;
|
|
260
|
+
value_key?: "name" | "alpha2" | "value";
|
|
261
|
+
className?: string;
|
|
262
|
+
nestedClassName?: string;
|
|
263
|
+
required?: boolean;
|
|
264
|
+
modal?: boolean;
|
|
265
|
+
trigger?: React$1.ReactNode;
|
|
266
|
+
align?: "start" | "end" | "center";
|
|
267
|
+
hideSearch?: boolean;
|
|
268
|
+
disabled?: boolean;
|
|
269
|
+
hidePrimitive?: boolean;
|
|
270
|
+
};
|
|
271
|
+
declare function CountryPicker({ modal, value_key, ...props }: Props): react_jsx_runtime.JSX.Element;
|
|
272
|
+
|
|
273
|
+
declare const Dialog: typeof Dialog$1.Root;
|
|
274
|
+
declare function DialogTrigger(props: Dialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
275
|
+
declare function DialogPortal(props: Dialog$1.Portal.Props): react_jsx_runtime.JSX.Element;
|
|
276
|
+
declare function DialogClose(props: Dialog$1.Close.Props): react_jsx_runtime.JSX.Element;
|
|
277
|
+
declare function DialogBackdrop({ className, ...props }: Dialog$1.Backdrop.Props): react_jsx_runtime.JSX.Element;
|
|
278
|
+
declare function DialogPopup({ className, children, showCloseButton, ...props }: Dialog$1.Popup.Props & {
|
|
279
|
+
showCloseButton?: boolean;
|
|
280
|
+
}): react_jsx_runtime.JSX.Element;
|
|
281
|
+
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
282
|
+
declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
283
|
+
declare function DialogTitle({ className, ...props }: Dialog$1.Title.Props): react_jsx_runtime.JSX.Element;
|
|
284
|
+
declare function DialogDescription({ className, ...props }: Dialog$1.Description.Props): react_jsx_runtime.JSX.Element;
|
|
285
|
+
|
|
286
|
+
declare const Drawer: {
|
|
287
|
+
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
288
|
+
displayName: string;
|
|
289
|
+
};
|
|
290
|
+
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
291
|
+
declare const DrawerPortal: typeof vaul.Portal;
|
|
292
|
+
declare const DrawerClose: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
293
|
+
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
294
|
+
declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
295
|
+
declare const DrawerHeader: {
|
|
296
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
297
|
+
displayName: string;
|
|
298
|
+
};
|
|
299
|
+
declare const DrawerFooter: {
|
|
300
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
301
|
+
displayName: string;
|
|
302
|
+
};
|
|
303
|
+
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
304
|
+
declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
305
|
+
|
|
306
|
+
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
307
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
308
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
309
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
310
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
311
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
312
|
+
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
313
|
+
inset?: boolean;
|
|
314
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
315
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
316
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
317
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
318
|
+
inset?: boolean;
|
|
319
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
320
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
321
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
322
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
323
|
+
inset?: boolean;
|
|
324
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
325
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
326
|
+
declare const DropdownMenuShortcut: {
|
|
327
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
328
|
+
displayName: string;
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
type AsProp<T extends React.ElementType> = {
|
|
332
|
+
as?: T;
|
|
333
|
+
};
|
|
334
|
+
type PropsToOmit<T extends React.ElementType, P> = keyof (AsProp<T> & P);
|
|
335
|
+
type PolymorphicComponentProp<T extends React.ElementType, Props = {}> = React.PropsWithChildren<Props & AsProp<T>> & Omit<React.ComponentPropsWithoutRef<T>, PropsToOmit<T, Props>>;
|
|
336
|
+
type PolymorphicRef<T extends React.ElementType> = React.ComponentPropsWithRef<T>['ref'];
|
|
337
|
+
type PolymorphicComponentPropWithRef<T extends React.ElementType, Props = {}> = PolymorphicComponentProp<T, Props> & {
|
|
338
|
+
ref?: PolymorphicRef<T>;
|
|
339
|
+
};
|
|
340
|
+
type PolymorphicComponentPropsWithRef<T extends React.ElementType, P = {}> = PolymorphicComponentPropWithRef<T, P>;
|
|
341
|
+
type PolymorphicComponentProps<T extends React.ElementType, P = {}> = PolymorphicComponentProp<T, P>;
|
|
342
|
+
type PolymorphicComponent<P> = {
|
|
343
|
+
<T extends React.ElementType>(props: PolymorphicComponentPropsWithRef<T, P>): React.ReactNode;
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
declare const tv: tailwind_variants.TV;
|
|
347
|
+
|
|
348
|
+
declare const fancyButtonVariants: tailwind_variants.TVReturnType<{
|
|
349
|
+
variant: {
|
|
350
|
+
neutral: {
|
|
351
|
+
root: string;
|
|
352
|
+
};
|
|
353
|
+
primary: {
|
|
354
|
+
root: string;
|
|
355
|
+
};
|
|
356
|
+
destructive: {
|
|
357
|
+
root: string;
|
|
358
|
+
};
|
|
359
|
+
basic: {
|
|
360
|
+
root: string[];
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
size: {
|
|
364
|
+
medium: {
|
|
365
|
+
root: string;
|
|
366
|
+
icon: string;
|
|
367
|
+
};
|
|
368
|
+
small: {
|
|
369
|
+
root: string;
|
|
370
|
+
icon: string;
|
|
371
|
+
};
|
|
372
|
+
xsmall: {
|
|
373
|
+
root: string;
|
|
374
|
+
icon: string;
|
|
375
|
+
};
|
|
376
|
+
icon: {
|
|
377
|
+
root: string;
|
|
378
|
+
icon: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
}, {
|
|
382
|
+
root: string[];
|
|
383
|
+
icon: string;
|
|
384
|
+
}, undefined, {
|
|
385
|
+
variant: {
|
|
386
|
+
neutral: {
|
|
387
|
+
root: string;
|
|
388
|
+
};
|
|
389
|
+
primary: {
|
|
390
|
+
root: string;
|
|
391
|
+
};
|
|
392
|
+
destructive: {
|
|
393
|
+
root: string;
|
|
394
|
+
};
|
|
395
|
+
basic: {
|
|
396
|
+
root: string[];
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
size: {
|
|
400
|
+
medium: {
|
|
401
|
+
root: string;
|
|
402
|
+
icon: string;
|
|
403
|
+
};
|
|
404
|
+
small: {
|
|
405
|
+
root: string;
|
|
406
|
+
icon: string;
|
|
407
|
+
};
|
|
408
|
+
xsmall: {
|
|
409
|
+
root: string;
|
|
410
|
+
icon: string;
|
|
411
|
+
};
|
|
412
|
+
icon: {
|
|
413
|
+
root: string;
|
|
414
|
+
icon: string;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
}, {
|
|
418
|
+
root: string[];
|
|
419
|
+
icon: string;
|
|
420
|
+
}, tailwind_variants.TVReturnType<{
|
|
421
|
+
variant: {
|
|
422
|
+
neutral: {
|
|
423
|
+
root: string;
|
|
424
|
+
};
|
|
425
|
+
primary: {
|
|
426
|
+
root: string;
|
|
427
|
+
};
|
|
428
|
+
destructive: {
|
|
429
|
+
root: string;
|
|
430
|
+
};
|
|
431
|
+
basic: {
|
|
432
|
+
root: string[];
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
size: {
|
|
436
|
+
medium: {
|
|
437
|
+
root: string;
|
|
438
|
+
icon: string;
|
|
439
|
+
};
|
|
440
|
+
small: {
|
|
441
|
+
root: string;
|
|
442
|
+
icon: string;
|
|
443
|
+
};
|
|
444
|
+
xsmall: {
|
|
445
|
+
root: string;
|
|
446
|
+
icon: string;
|
|
447
|
+
};
|
|
448
|
+
icon: {
|
|
449
|
+
root: string;
|
|
450
|
+
icon: string;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
}, {
|
|
454
|
+
root: string[];
|
|
455
|
+
icon: string;
|
|
456
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
457
|
+
type ButtonSharedProps = VariantProps$1<typeof fancyButtonVariants>;
|
|
458
|
+
declare const ButtonRoot: React$1.ForwardRefExoticComponent<VariantProps$1<tailwind_variants.TVReturnType<{
|
|
459
|
+
variant: {
|
|
460
|
+
neutral: {
|
|
461
|
+
root: string;
|
|
462
|
+
};
|
|
463
|
+
primary: {
|
|
464
|
+
root: string;
|
|
465
|
+
};
|
|
466
|
+
destructive: {
|
|
467
|
+
root: string;
|
|
468
|
+
};
|
|
469
|
+
basic: {
|
|
470
|
+
root: string[];
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
size: {
|
|
474
|
+
medium: {
|
|
475
|
+
root: string;
|
|
476
|
+
icon: string;
|
|
477
|
+
};
|
|
478
|
+
small: {
|
|
479
|
+
root: string;
|
|
480
|
+
icon: string;
|
|
481
|
+
};
|
|
482
|
+
xsmall: {
|
|
483
|
+
root: string;
|
|
484
|
+
icon: string;
|
|
485
|
+
};
|
|
486
|
+
icon: {
|
|
487
|
+
root: string;
|
|
488
|
+
icon: string;
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
}, {
|
|
492
|
+
root: string[];
|
|
493
|
+
icon: string;
|
|
494
|
+
}, undefined, {
|
|
495
|
+
variant: {
|
|
496
|
+
neutral: {
|
|
497
|
+
root: string;
|
|
498
|
+
};
|
|
499
|
+
primary: {
|
|
500
|
+
root: string;
|
|
501
|
+
};
|
|
502
|
+
destructive: {
|
|
503
|
+
root: string;
|
|
504
|
+
};
|
|
505
|
+
basic: {
|
|
506
|
+
root: string[];
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
size: {
|
|
510
|
+
medium: {
|
|
511
|
+
root: string;
|
|
512
|
+
icon: string;
|
|
513
|
+
};
|
|
514
|
+
small: {
|
|
515
|
+
root: string;
|
|
516
|
+
icon: string;
|
|
517
|
+
};
|
|
518
|
+
xsmall: {
|
|
519
|
+
root: string;
|
|
520
|
+
icon: string;
|
|
521
|
+
};
|
|
522
|
+
icon: {
|
|
523
|
+
root: string;
|
|
524
|
+
icon: string;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
}, {
|
|
528
|
+
root: string[];
|
|
529
|
+
icon: string;
|
|
530
|
+
}, tailwind_variants.TVReturnType<{
|
|
531
|
+
variant: {
|
|
532
|
+
neutral: {
|
|
533
|
+
root: string;
|
|
534
|
+
};
|
|
535
|
+
primary: {
|
|
536
|
+
root: string;
|
|
537
|
+
};
|
|
538
|
+
destructive: {
|
|
539
|
+
root: string;
|
|
540
|
+
};
|
|
541
|
+
basic: {
|
|
542
|
+
root: string[];
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
size: {
|
|
546
|
+
medium: {
|
|
547
|
+
root: string;
|
|
548
|
+
icon: string;
|
|
549
|
+
};
|
|
550
|
+
small: {
|
|
551
|
+
root: string;
|
|
552
|
+
icon: string;
|
|
553
|
+
};
|
|
554
|
+
xsmall: {
|
|
555
|
+
root: string;
|
|
556
|
+
icon: string;
|
|
557
|
+
};
|
|
558
|
+
icon: {
|
|
559
|
+
root: string;
|
|
560
|
+
icon: string;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
}, {
|
|
564
|
+
root: string[];
|
|
565
|
+
icon: string;
|
|
566
|
+
}, undefined, unknown, unknown, undefined>>> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
567
|
+
asChild?: boolean;
|
|
568
|
+
loading?: boolean;
|
|
569
|
+
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
570
|
+
declare function ButtonIcon<T extends React$1.ElementType>({ className, variant, size, as, ...rest }: PolymorphicComponentProps<T, ButtonSharedProps>): react_jsx_runtime.JSX.Element;
|
|
571
|
+
declare namespace ButtonIcon {
|
|
572
|
+
var displayName: string;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
declare function Field({ className, ...props }: Field$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
576
|
+
declare function FieldLabel({ className, ...props }: Field$1.Label.Props): react_jsx_runtime.JSX.Element;
|
|
577
|
+
declare function FieldDescription({ className, ...props }: Field$1.Description.Props): react_jsx_runtime.JSX.Element;
|
|
578
|
+
declare function FieldError({ className, ...props }: Field$1.Error.Props): react_jsx_runtime.JSX.Element;
|
|
579
|
+
declare const FieldControl: React$1.ForwardRefExoticComponent<_base_ui_components_react_field.FieldControlProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
580
|
+
declare const FieldValidity: React$1.FC<_base_ui_components_react_field.FieldValidityProps>;
|
|
581
|
+
|
|
582
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
583
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
584
|
+
declare const useFormField: () => {
|
|
585
|
+
invalid: boolean;
|
|
586
|
+
isDirty: boolean;
|
|
587
|
+
isTouched: boolean;
|
|
588
|
+
isValidating: boolean;
|
|
589
|
+
error?: react_hook_form.FieldError;
|
|
590
|
+
id: string;
|
|
591
|
+
name: string;
|
|
592
|
+
formItemId: string;
|
|
593
|
+
formDescriptionId: string;
|
|
594
|
+
formMessageId: string;
|
|
595
|
+
};
|
|
596
|
+
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
597
|
+
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
598
|
+
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
599
|
+
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
600
|
+
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
601
|
+
|
|
602
|
+
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
603
|
+
value?: string;
|
|
604
|
+
onChange?: (newValue: string) => unknown;
|
|
605
|
+
maxLength: number;
|
|
606
|
+
textAlign?: "left" | "center" | "right";
|
|
607
|
+
onComplete?: (...args: any[]) => unknown;
|
|
608
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
609
|
+
pasteTransformer?: (pasted: string) => string;
|
|
610
|
+
containerClassName?: string;
|
|
611
|
+
noScriptCSSFallback?: string | null;
|
|
612
|
+
} & {
|
|
613
|
+
render: (props: input_otp.RenderProps) => React$1.ReactNode;
|
|
614
|
+
children?: never;
|
|
615
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
616
|
+
value?: string;
|
|
617
|
+
onChange?: (newValue: string) => unknown;
|
|
618
|
+
maxLength: number;
|
|
619
|
+
textAlign?: "left" | "center" | "right";
|
|
620
|
+
onComplete?: (...args: any[]) => unknown;
|
|
621
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
622
|
+
pasteTransformer?: (pasted: string) => string;
|
|
623
|
+
containerClassName?: string;
|
|
624
|
+
noScriptCSSFallback?: string | null;
|
|
625
|
+
} & {
|
|
626
|
+
render?: never;
|
|
627
|
+
children: React$1.ReactNode;
|
|
628
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref">) & React$1.RefAttributes<HTMLInputElement>>;
|
|
629
|
+
declare const InputOTPGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
630
|
+
declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
631
|
+
index: number;
|
|
632
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
633
|
+
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
634
|
+
|
|
635
|
+
interface InputProps$1 extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
636
|
+
removeFocusIndicator?: boolean;
|
|
637
|
+
}
|
|
638
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps$1 & React$1.RefAttributes<HTMLInputElement>>;
|
|
639
|
+
|
|
640
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
641
|
+
|
|
642
|
+
type Options = {
|
|
643
|
+
value: string;
|
|
644
|
+
label: string;
|
|
645
|
+
};
|
|
646
|
+
interface MultiSelectProps {
|
|
647
|
+
options?: Options[];
|
|
648
|
+
value?: string[];
|
|
649
|
+
defaultValue?: string[];
|
|
650
|
+
onValueChange?: (value: string[]) => void;
|
|
651
|
+
className?: string;
|
|
652
|
+
searchInputClassName?: string;
|
|
653
|
+
placeholder?: string;
|
|
654
|
+
required?: boolean;
|
|
655
|
+
animation?: number;
|
|
656
|
+
maxCount?: number;
|
|
657
|
+
variant?: string;
|
|
658
|
+
id?: string;
|
|
659
|
+
}
|
|
660
|
+
declare const MultiSelect: {
|
|
661
|
+
({ options, value, onValueChange, className, searchInputClassName, placeholder, maxCount, required, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
|
|
662
|
+
displayName: string;
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
interface InputProps extends React__default.InputHTMLAttributes<HTMLInputElement> {
|
|
666
|
+
showStrength?: boolean;
|
|
667
|
+
onSubmit?: (event: React__default.FormEvent) => void;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
671
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
672
|
+
interface PopoverProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
673
|
+
hidePrimitive?: boolean;
|
|
674
|
+
}
|
|
675
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & PopoverProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
676
|
+
|
|
677
|
+
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
678
|
+
|
|
679
|
+
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
680
|
+
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
681
|
+
|
|
682
|
+
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
683
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
684
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
685
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
686
|
+
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
687
|
+
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
688
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
689
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
690
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
691
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
692
|
+
|
|
693
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
694
|
+
|
|
695
|
+
declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
696
|
+
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
697
|
+
declare const SheetClose: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
698
|
+
declare const SheetPortal: React$1.FC<SheetPrimitive.DialogPortalProps>;
|
|
699
|
+
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
700
|
+
declare const sheetVariants: (props?: ({
|
|
701
|
+
side?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
702
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
703
|
+
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
704
|
+
}
|
|
705
|
+
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
706
|
+
declare const SheetHeader: {
|
|
707
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
708
|
+
displayName: string;
|
|
709
|
+
};
|
|
710
|
+
declare const SheetFooter: {
|
|
711
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
712
|
+
displayName: string;
|
|
713
|
+
};
|
|
714
|
+
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
715
|
+
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
716
|
+
|
|
717
|
+
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
718
|
+
|
|
719
|
+
declare const statusIndicatorVariants: (props?: ({
|
|
720
|
+
variant?: "active" | "neutral" | "degraded" | "critical" | null | undefined;
|
|
721
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
722
|
+
interface StatusIndicatorProps extends useRender.ComponentProps<"span"> {
|
|
723
|
+
variant?: VariantProps<typeof statusIndicatorVariants>["variant"];
|
|
724
|
+
animated?: boolean;
|
|
725
|
+
}
|
|
726
|
+
declare function StatusIndicator({ className, variant, animated, render, ...props }: StatusIndicatorProps): React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
|
|
727
|
+
|
|
728
|
+
declare function Switch({ className, ...props }: Switch$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
729
|
+
|
|
730
|
+
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
731
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
732
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
733
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
734
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
735
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
736
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
737
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
738
|
+
|
|
739
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
740
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
741
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
742
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
743
|
+
|
|
744
|
+
interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
745
|
+
}
|
|
746
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
747
|
+
|
|
748
|
+
interface TimelineProps extends React$1.ComponentPropsWithoutRef<"ol"> {
|
|
749
|
+
orientation?: "horizontal" | "vertical";
|
|
750
|
+
}
|
|
751
|
+
declare const Timeline: React$1.ForwardRefExoticComponent<TimelineProps & React$1.RefAttributes<HTMLOListElement>>;
|
|
752
|
+
declare const TimelineItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
753
|
+
declare const TimelineSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
754
|
+
interface TimelineDotProps extends React$1.ComponentPropsWithoutRef<"div"> {
|
|
755
|
+
variant?: "default" | "outline-solid";
|
|
756
|
+
}
|
|
757
|
+
declare const TimelineDot: React$1.ForwardRefExoticComponent<TimelineDotProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
758
|
+
declare const TimelineConnector: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
759
|
+
declare const TimelineContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
760
|
+
declare const TimelineTitle: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
761
|
+
declare const TimelineDescription: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
762
|
+
|
|
763
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
764
|
+
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
765
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
766
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
767
|
+
|
|
768
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
769
|
+
|
|
770
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type InputProps$1 as BaseInputProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, Combobox$1 as ComboboxMulti, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, CopyButton, CountryPicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ButtonRoot as FancyButton, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, ButtonIcon as Icon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MultiSelect, type InputProps as PasswordInputProps, type PolymorphicComponent, type PolymorphicComponentProps, type PolymorphicComponentPropsWithRef, type PolymorphicRef, Popover, PopoverContent, PopoverTrigger, Progress, ButtonRoot as Root, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineProps, TimelineSeparator, TimelineTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, statusIndicatorVariants, tv, useComboboxFilter, useFormField };
|