@parasutcom/fds 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -0
- package/dist/index.d.ts +754 -0
- package/dist/index.js +30943 -0
- package/dist/styles.css +1 -0
- package/package.json +98 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,754 @@
|
|
|
1
|
+
import { AlertDialog as AlertDialog_2 } from '@base-ui/react/alert-dialog';
|
|
2
|
+
import { Avatar as Avatar_2 } from '@base-ui/react/avatar';
|
|
3
|
+
import { Button as Button_2 } from '@base-ui/react/button';
|
|
4
|
+
import { Checkbox as Checkbox_2 } from '@base-ui/react/checkbox';
|
|
5
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
6
|
+
import { ClassValue } from 'clsx';
|
|
7
|
+
import { Collapsible as Collapsible_2 } from '@base-ui/react/collapsible';
|
|
8
|
+
import { Combobox as Combobox_2 } from '@base-ui/react';
|
|
9
|
+
import { Command as Command_2 } from 'cmdk';
|
|
10
|
+
import { DayButton } from 'react-day-picker';
|
|
11
|
+
import { DayPicker } from 'react-day-picker';
|
|
12
|
+
import { Dialog as Dialog_2 } from '@base-ui/react/dialog';
|
|
13
|
+
import { Input as Input_2 } from '@base-ui/react/input';
|
|
14
|
+
import { JSX } from 'react/jsx-runtime';
|
|
15
|
+
import { JSXElementConstructor } from 'react';
|
|
16
|
+
import { Menu } from '@base-ui/react/menu';
|
|
17
|
+
import { OTPInput } from 'input-otp';
|
|
18
|
+
import { Progress as Progress_2 } from '@base-ui/react/progress';
|
|
19
|
+
import { Radio } from '@base-ui/react/radio';
|
|
20
|
+
import { RadioGroup as RadioGroup_2 } from '@base-ui/react/radio-group';
|
|
21
|
+
import * as React_2 from 'react';
|
|
22
|
+
import { ReactElement } from 'react';
|
|
23
|
+
import * as RechartsPrimitive from 'recharts';
|
|
24
|
+
import { Select as Select_2 } from '@base-ui/react/select';
|
|
25
|
+
import { Separator as Separator_2 } from '@base-ui/react/separator';
|
|
26
|
+
import { Switch as Switch_2 } from '@base-ui/react/switch';
|
|
27
|
+
import { Tabs as Tabs_2 } from '@base-ui/react/tabs';
|
|
28
|
+
import { ToasterProps } from 'sonner';
|
|
29
|
+
import { Toggle as Toggle_2 } from '@base-ui/react/toggle';
|
|
30
|
+
import { Tooltip as Tooltip_2 } from '@base-ui/react/tooltip';
|
|
31
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
32
|
+
import { VariantProps } from 'class-variance-authority';
|
|
33
|
+
|
|
34
|
+
export declare function Alert({ className, variant, ...props }: React_2.ComponentProps<'div'> & VariantProps<typeof alertVariants>): JSX.Element;
|
|
35
|
+
|
|
36
|
+
export declare function AlertAction({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
37
|
+
|
|
38
|
+
export declare function AlertDescription({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
39
|
+
|
|
40
|
+
export declare function AlertDialog({ ...props }: AlertDialog_2.Root.Props): JSX.Element;
|
|
41
|
+
|
|
42
|
+
export declare function AlertDialogAction({ className, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
43
|
+
|
|
44
|
+
export declare function AlertDialogCancel({ className, variant, size, ...props }: AlertDialog_2.Close.Props & Pick<React_2.ComponentProps<typeof Button>, 'variant' | 'size'>): JSX.Element;
|
|
45
|
+
|
|
46
|
+
export declare function AlertDialogContent({ className, size, ...props }: AlertDialog_2.Popup.Props & {
|
|
47
|
+
size?: 'default' | 'sm';
|
|
48
|
+
}): JSX.Element;
|
|
49
|
+
|
|
50
|
+
export declare function AlertDialogDescription({ className, ...props }: React_2.ComponentProps<typeof AlertDialog_2.Description>): JSX.Element;
|
|
51
|
+
|
|
52
|
+
export declare function AlertDialogFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
53
|
+
|
|
54
|
+
export declare function AlertDialogHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
55
|
+
|
|
56
|
+
export declare function AlertDialogMedia({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
57
|
+
|
|
58
|
+
export declare function AlertDialogOverlay({ className, ...props }: AlertDialog_2.Backdrop.Props): JSX.Element;
|
|
59
|
+
|
|
60
|
+
export declare function AlertDialogPortal({ ...props }: AlertDialog_2.Portal.Props): JSX.Element;
|
|
61
|
+
|
|
62
|
+
export declare function AlertDialogTitle({ className, ...props }: React_2.ComponentProps<typeof AlertDialog_2.Title>): JSX.Element;
|
|
63
|
+
|
|
64
|
+
export declare function AlertDialogTrigger({ ...props }: AlertDialog_2.Trigger.Props): JSX.Element;
|
|
65
|
+
|
|
66
|
+
export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
67
|
+
|
|
68
|
+
declare const alertVariants: (props?: ({
|
|
69
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
70
|
+
} & ClassProp) | undefined) => string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Autocomplete component with form validation support.
|
|
74
|
+
* Accepts error prop as string or string[] for seamless integration with form libraries.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* // Standalone with controlled state
|
|
78
|
+
* const [city, setCity] = useState(null)
|
|
79
|
+
*
|
|
80
|
+
* <Autocomplete
|
|
81
|
+
* name="city"
|
|
82
|
+
* options={cities}
|
|
83
|
+
* value={city}
|
|
84
|
+
* onValueChange={setCity}
|
|
85
|
+
* description="Select your city"
|
|
86
|
+
* />
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* // With TanStack Form + Zod (in your project)
|
|
90
|
+
* // 1. Define schema in your project:
|
|
91
|
+
* // const citySchema = z.object({ value: z.string(), label: z.string() }).nullable()
|
|
92
|
+
* // .refine(val => val !== null, { message: 'City required' })
|
|
93
|
+
*
|
|
94
|
+
* // 2. Use in form:
|
|
95
|
+
* <form.Field
|
|
96
|
+
* name="city"
|
|
97
|
+
* validators={{
|
|
98
|
+
* onChange: ({ value }) => {
|
|
99
|
+
* const result = citySchema.safeParse(value)
|
|
100
|
+
* return result.success ? undefined : result.error.issues[0]?.message
|
|
101
|
+
* }
|
|
102
|
+
* }}
|
|
103
|
+
* >
|
|
104
|
+
* {(field) => (
|
|
105
|
+
* <Autocomplete
|
|
106
|
+
* name="city"
|
|
107
|
+
* options={cities}
|
|
108
|
+
* value={field.state.value}
|
|
109
|
+
* onValueChange={field.handleChange}
|
|
110
|
+
* onBlur={field.handleBlur}
|
|
111
|
+
* error={field.state.meta.errors}
|
|
112
|
+
* />
|
|
113
|
+
* )}
|
|
114
|
+
* </form.Field>
|
|
115
|
+
*/
|
|
116
|
+
export declare function Autocomplete<T extends AutocompleteOption>({ options, value, defaultValue, onValueChange, description, error, emptyMessage, name, placeholder, disabled, variant, size, ...props }: AutocompleteProps<T>): JSX.Element;
|
|
117
|
+
|
|
118
|
+
export declare interface AutocompleteOption {
|
|
119
|
+
value: string;
|
|
120
|
+
label: string;
|
|
121
|
+
[key: string]: unknown;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export declare interface AutocompleteProps<T extends AutocompleteOption> extends Omit<React_2.ComponentPropsWithoutRef<typeof InputGroupInput>, 'onChange' | 'value' | 'defaultValue' | 'onValueChange'> {
|
|
125
|
+
options: T[];
|
|
126
|
+
value?: T | null;
|
|
127
|
+
defaultValue?: T | null;
|
|
128
|
+
onValueChange?: (option: T | null) => void;
|
|
129
|
+
description?: string;
|
|
130
|
+
error?: string | string[];
|
|
131
|
+
emptyMessage?: string;
|
|
132
|
+
name: string;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export declare function Avatar({ className, size, ...props }: Avatar_2.Root.Props & {
|
|
136
|
+
size?: 'default' | 'sm' | 'lg';
|
|
137
|
+
}): JSX.Element;
|
|
138
|
+
|
|
139
|
+
export declare function AvatarBadge({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
|
|
140
|
+
|
|
141
|
+
export declare function AvatarFallback({ className, ...props }: Avatar_2.Fallback.Props): JSX.Element;
|
|
142
|
+
|
|
143
|
+
export declare function AvatarGroup({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
144
|
+
|
|
145
|
+
export declare function AvatarGroupCount({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
146
|
+
|
|
147
|
+
export declare function AvatarImage({ className, ...props }: Avatar_2.Image.Props): JSX.Element;
|
|
148
|
+
|
|
149
|
+
export declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<'span'> & VariantProps<typeof badgeVariants>): ReactElement<unknown, string | JSXElementConstructor<any>>;
|
|
150
|
+
|
|
151
|
+
export declare const badgeVariants: (props?: ({
|
|
152
|
+
variant?: "default" | "destructive" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
153
|
+
} & ClassProp) | undefined) => string;
|
|
154
|
+
|
|
155
|
+
export declare function Breadcrumb({ className, ...props }: React_2.ComponentProps<'nav'>): JSX.Element;
|
|
156
|
+
|
|
157
|
+
export declare function BreadcrumbEllipsis({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
|
|
158
|
+
|
|
159
|
+
export declare function BreadcrumbItem({ className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
|
|
160
|
+
|
|
161
|
+
export declare function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<'a'>): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
162
|
+
|
|
163
|
+
export declare function BreadcrumbList({ className, ...props }: React_2.ComponentProps<'ol'>): JSX.Element;
|
|
164
|
+
|
|
165
|
+
export declare function BreadcrumbPage({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
|
|
166
|
+
|
|
167
|
+
export declare function BreadcrumbSeparator({ children, className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
|
|
168
|
+
|
|
169
|
+
export declare function Button({ className, variant, size, isIcon, ...props }: Button_2.Props & VariantProps<typeof buttonVariants>): JSX.Element;
|
|
170
|
+
|
|
171
|
+
export declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): JSX.Element;
|
|
172
|
+
|
|
173
|
+
export declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): JSX.Element;
|
|
174
|
+
|
|
175
|
+
export declare function ButtonGroupText({ className, render, ...props }: useRender.ComponentProps<'div'>): ReactElement<unknown, string | JSXElementConstructor<any>>;
|
|
176
|
+
|
|
177
|
+
export declare const buttonGroupVariants: (props?: ({
|
|
178
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
179
|
+
} & ClassProp) | undefined) => string;
|
|
180
|
+
|
|
181
|
+
export declare const buttonVariants: (props?: ({
|
|
182
|
+
variant?: "default" | "destructive" | "link" | "sort" | "outline" | "secondary" | "ghost" | "destructiveOutline" | null | undefined;
|
|
183
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
184
|
+
isIcon?: boolean | null | undefined;
|
|
185
|
+
} & ClassProp) | undefined) => string;
|
|
186
|
+
|
|
187
|
+
export declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React_2.ComponentProps<typeof DayPicker> & {
|
|
188
|
+
buttonVariant?: React_2.ComponentProps<typeof Button>["variant"];
|
|
189
|
+
}): JSX.Element;
|
|
190
|
+
|
|
191
|
+
export declare function CalendarDayButton({ className, day, modifiers, ...props }: React_2.ComponentProps<typeof DayButton>): JSX.Element;
|
|
192
|
+
|
|
193
|
+
export declare function Card({ className, size, ...props }: React_2.ComponentProps<"div"> & {
|
|
194
|
+
size?: "default" | "sm";
|
|
195
|
+
}): JSX.Element;
|
|
196
|
+
|
|
197
|
+
export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
198
|
+
|
|
199
|
+
export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
200
|
+
|
|
201
|
+
export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
202
|
+
|
|
203
|
+
export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
204
|
+
|
|
205
|
+
export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
206
|
+
|
|
207
|
+
export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
208
|
+
|
|
209
|
+
export declare type ChartConfig = {
|
|
210
|
+
[k in string]: {
|
|
211
|
+
label?: React_2.ReactNode;
|
|
212
|
+
icon?: React_2.ComponentType;
|
|
213
|
+
} & ({
|
|
214
|
+
color?: string;
|
|
215
|
+
theme?: never;
|
|
216
|
+
} | {
|
|
217
|
+
color?: never;
|
|
218
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
219
|
+
});
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
export declare function ChartContainer({ id, className, children, config, ...props }: React_2.ComponentProps<"div"> & {
|
|
223
|
+
config: ChartConfig;
|
|
224
|
+
children: React_2.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
225
|
+
}): JSX.Element;
|
|
226
|
+
|
|
227
|
+
export declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
228
|
+
|
|
229
|
+
export declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React_2.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
230
|
+
hideIcon?: boolean;
|
|
231
|
+
nameKey?: string;
|
|
232
|
+
}): JSX.Element | null;
|
|
233
|
+
|
|
234
|
+
export declare const ChartStyle: ({ id, config }: {
|
|
235
|
+
id: string;
|
|
236
|
+
config: ChartConfig;
|
|
237
|
+
}) => JSX.Element | null;
|
|
238
|
+
|
|
239
|
+
export declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
240
|
+
|
|
241
|
+
export declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React_2.ComponentProps<typeof RechartsPrimitive.Tooltip> & React_2.ComponentProps<"div"> & {
|
|
242
|
+
hideLabel?: boolean;
|
|
243
|
+
hideIndicator?: boolean;
|
|
244
|
+
indicator?: "line" | "dot" | "dashed";
|
|
245
|
+
nameKey?: string;
|
|
246
|
+
labelKey?: string;
|
|
247
|
+
}): JSX.Element | null;
|
|
248
|
+
|
|
249
|
+
export declare function Checkbox({ className, ...props }: Checkbox_2.Root.Props): JSX.Element;
|
|
250
|
+
|
|
251
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
252
|
+
|
|
253
|
+
export declare function Collapsible({ ...props }: Collapsible_2.Root.Props): JSX.Element;
|
|
254
|
+
|
|
255
|
+
export declare function CollapsibleContent({ ...props }: Collapsible_2.Panel.Props): JSX.Element;
|
|
256
|
+
|
|
257
|
+
export declare function CollapsibleTrigger({ ...props }: Collapsible_2.Trigger.Props): JSX.Element;
|
|
258
|
+
|
|
259
|
+
export declare const Combobox: typeof Combobox_2.Root;
|
|
260
|
+
|
|
261
|
+
export declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox_2.Chip.Props & {
|
|
262
|
+
showRemove?: boolean;
|
|
263
|
+
}): JSX.Element;
|
|
264
|
+
|
|
265
|
+
export declare function ComboboxChips({ className, ...props }: React_2.ComponentPropsWithRef<typeof Combobox_2.Chips> & Combobox_2.Chips.Props): JSX.Element;
|
|
266
|
+
|
|
267
|
+
export declare function ComboboxChipsInput({ className, ...props }: Combobox_2.Input.Props): JSX.Element;
|
|
268
|
+
|
|
269
|
+
export declare function ComboboxCollection({ ...props }: Combobox_2.Collection.Props): JSX.Element;
|
|
270
|
+
|
|
271
|
+
export declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: Combobox_2.Popup.Props & Pick<Combobox_2.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): JSX.Element;
|
|
272
|
+
|
|
273
|
+
export declare function ComboboxEmpty({ className, ...props }: Combobox_2.Empty.Props): JSX.Element;
|
|
274
|
+
|
|
275
|
+
export declare function ComboboxGroup({ className, ...props }: Combobox_2.Group.Props): JSX.Element;
|
|
276
|
+
|
|
277
|
+
export declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox_2.Input.Props & {
|
|
278
|
+
showTrigger?: boolean;
|
|
279
|
+
showClear?: boolean;
|
|
280
|
+
}): JSX.Element;
|
|
281
|
+
|
|
282
|
+
export declare function ComboboxItem({ className, children, ...props }: Combobox_2.Item.Props): JSX.Element;
|
|
283
|
+
|
|
284
|
+
export declare function ComboboxLabel({ className, ...props }: Combobox_2.GroupLabel.Props): JSX.Element;
|
|
285
|
+
|
|
286
|
+
export declare function ComboboxList({ className, ...props }: Combobox_2.List.Props): JSX.Element;
|
|
287
|
+
|
|
288
|
+
export declare function ComboboxSeparator({ className, ...props }: Combobox_2.Separator.Props): JSX.Element;
|
|
289
|
+
|
|
290
|
+
export declare function ComboboxTrigger({ className, children, ...props }: Combobox_2.Trigger.Props): JSX.Element;
|
|
291
|
+
|
|
292
|
+
export declare function ComboboxValue({ ...props }: Combobox_2.Value.Props): JSX.Element;
|
|
293
|
+
|
|
294
|
+
export declare function Command({ className, ...props }: React_2.ComponentProps<typeof Command_2>): JSX.Element;
|
|
295
|
+
|
|
296
|
+
export declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: Omit<React_2.ComponentProps<typeof Dialog>, "children"> & {
|
|
297
|
+
title?: string;
|
|
298
|
+
description?: string;
|
|
299
|
+
className?: string;
|
|
300
|
+
showCloseButton?: boolean;
|
|
301
|
+
children: React_2.ReactNode;
|
|
302
|
+
}): JSX.Element;
|
|
303
|
+
|
|
304
|
+
export declare function CommandEmpty({ className, ...props }: React_2.ComponentProps<typeof Command_2.Empty>): JSX.Element;
|
|
305
|
+
|
|
306
|
+
export declare function CommandGroup({ className, ...props }: React_2.ComponentProps<typeof Command_2.Group>): JSX.Element;
|
|
307
|
+
|
|
308
|
+
export declare function CommandInput({ className, ...props }: React_2.ComponentProps<typeof Command_2.Input>): JSX.Element;
|
|
309
|
+
|
|
310
|
+
export declare function CommandItem({ className, children, ...props }: React_2.ComponentProps<typeof Command_2.Item>): JSX.Element;
|
|
311
|
+
|
|
312
|
+
export declare function CommandList({ className, ...props }: React_2.ComponentProps<typeof Command_2.List>): JSX.Element;
|
|
313
|
+
|
|
314
|
+
export declare function CommandSeparator({ className, ...props }: React_2.ComponentProps<typeof Command_2.Separator>): JSX.Element;
|
|
315
|
+
|
|
316
|
+
export declare function CommandShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
317
|
+
|
|
318
|
+
export declare function Dialog({ ...props }: Dialog_2.Root.Props): JSX.Element;
|
|
319
|
+
|
|
320
|
+
export declare function DialogClose({ ...props }: Dialog_2.Close.Props): JSX.Element;
|
|
321
|
+
|
|
322
|
+
export declare function DialogContent({ className, children, showCloseButton, ...props }: Dialog_2.Popup.Props & {
|
|
323
|
+
showCloseButton?: boolean;
|
|
324
|
+
}): JSX.Element;
|
|
325
|
+
|
|
326
|
+
export declare function DialogDescription({ className, ...props }: Dialog_2.Description.Props): JSX.Element;
|
|
327
|
+
|
|
328
|
+
export declare function DialogFooter({ className, showCloseButton, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
329
|
+
showCloseButton?: boolean;
|
|
330
|
+
}): JSX.Element;
|
|
331
|
+
|
|
332
|
+
export declare function DialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
333
|
+
|
|
334
|
+
export declare function DialogOverlay({ className, ...props }: Dialog_2.Backdrop.Props): JSX.Element;
|
|
335
|
+
|
|
336
|
+
export declare function DialogPortal({ ...props }: Dialog_2.Portal.Props): JSX.Element;
|
|
337
|
+
|
|
338
|
+
export declare function DialogTitle({ className, ...props }: Dialog_2.Title.Props): JSX.Element;
|
|
339
|
+
|
|
340
|
+
export declare function DialogTrigger({ ...props }: Dialog_2.Trigger.Props): JSX.Element;
|
|
341
|
+
|
|
342
|
+
export declare function DropdownMenu({ ...props }: Menu.Root.Props): JSX.Element;
|
|
343
|
+
|
|
344
|
+
export declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: Menu.CheckboxItem.Props): JSX.Element;
|
|
345
|
+
|
|
346
|
+
export declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: Menu.Popup.Props & Pick<Menu.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): JSX.Element;
|
|
347
|
+
|
|
348
|
+
export declare function DropdownMenuGroup({ ...props }: Menu.Group.Props): JSX.Element;
|
|
349
|
+
|
|
350
|
+
export declare function DropdownMenuItem({ className, inset, variant, ...props }: Menu.Item.Props & {
|
|
351
|
+
inset?: boolean;
|
|
352
|
+
variant?: "default" | "destructive";
|
|
353
|
+
}): JSX.Element;
|
|
354
|
+
|
|
355
|
+
export declare function DropdownMenuLabel({ className, inset, ...props }: Menu.GroupLabel.Props & {
|
|
356
|
+
inset?: boolean;
|
|
357
|
+
}): JSX.Element;
|
|
358
|
+
|
|
359
|
+
export declare function DropdownMenuPortal({ ...props }: Menu.Portal.Props): JSX.Element;
|
|
360
|
+
|
|
361
|
+
export declare function DropdownMenuRadioGroup({ ...props }: Menu.RadioGroup.Props): JSX.Element;
|
|
362
|
+
|
|
363
|
+
export declare function DropdownMenuRadioItem({ className, children, ...props }: Menu.RadioItem.Props): JSX.Element;
|
|
364
|
+
|
|
365
|
+
export declare function DropdownMenuSeparator({ className, ...props }: Menu.Separator.Props): JSX.Element;
|
|
366
|
+
|
|
367
|
+
export declare function DropdownMenuShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
368
|
+
|
|
369
|
+
export declare function DropdownMenuSub({ ...props }: Menu.SubmenuRoot.Props): JSX.Element;
|
|
370
|
+
|
|
371
|
+
export declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: React_2.ComponentProps<typeof DropdownMenuContent>): JSX.Element;
|
|
372
|
+
|
|
373
|
+
export declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: Menu.SubmenuTrigger.Props & {
|
|
374
|
+
inset?: boolean;
|
|
375
|
+
}): JSX.Element;
|
|
376
|
+
|
|
377
|
+
export declare function DropdownMenuTrigger({ ...props }: Menu.Trigger.Props): JSX.Element;
|
|
378
|
+
|
|
379
|
+
export declare function Empty({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
380
|
+
|
|
381
|
+
export declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
382
|
+
|
|
383
|
+
export declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): JSX.Element;
|
|
384
|
+
|
|
385
|
+
export declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
386
|
+
|
|
387
|
+
export declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): JSX.Element;
|
|
388
|
+
|
|
389
|
+
declare const emptyMediaVariants: (props?: ({
|
|
390
|
+
variant?: "default" | "icon" | null | undefined;
|
|
391
|
+
} & ClassProp) | undefined) => string;
|
|
392
|
+
|
|
393
|
+
export declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
394
|
+
|
|
395
|
+
export declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): JSX.Element;
|
|
396
|
+
|
|
397
|
+
export declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
398
|
+
|
|
399
|
+
export declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): JSX.Element;
|
|
400
|
+
|
|
401
|
+
export declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
402
|
+
errors?: Array<{
|
|
403
|
+
message?: string;
|
|
404
|
+
} | undefined>;
|
|
405
|
+
}): JSX.Element | null;
|
|
406
|
+
|
|
407
|
+
export declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
408
|
+
|
|
409
|
+
export declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): JSX.Element;
|
|
410
|
+
|
|
411
|
+
export declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
412
|
+
variant?: "legend" | "label";
|
|
413
|
+
}): JSX.Element;
|
|
414
|
+
|
|
415
|
+
export declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
416
|
+
children?: React.ReactNode;
|
|
417
|
+
}): JSX.Element;
|
|
418
|
+
|
|
419
|
+
export declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): JSX.Element;
|
|
420
|
+
|
|
421
|
+
export declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
422
|
+
|
|
423
|
+
declare const fieldVariants: (props?: ({
|
|
424
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
425
|
+
} & ClassProp) | undefined) => string;
|
|
426
|
+
|
|
427
|
+
export declare function Input({ className, type, variant, size, ...props }: InputProps): JSX.Element;
|
|
428
|
+
|
|
429
|
+
export declare function InputGroup({ className, variant, size, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof inputGroupVariants>): JSX.Element;
|
|
430
|
+
|
|
431
|
+
export declare function InputGroupAddon({ className, align, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): JSX.Element;
|
|
432
|
+
|
|
433
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
434
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
435
|
+
} & ClassProp) | undefined) => string;
|
|
436
|
+
|
|
437
|
+
export declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React_2.ComponentProps<typeof Button>, "size" | "type"> & VariantProps<typeof inputGroupButtonVariants> & {
|
|
438
|
+
type?: "button" | "submit" | "reset";
|
|
439
|
+
}): JSX.Element;
|
|
440
|
+
|
|
441
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
442
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
443
|
+
} & ClassProp) | undefined) => string;
|
|
444
|
+
|
|
445
|
+
export declare function InputGroupInput({ className, ...props }: InputProps): JSX.Element;
|
|
446
|
+
|
|
447
|
+
export declare function InputGroupText({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
448
|
+
|
|
449
|
+
export declare function InputGroupTextarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
|
|
450
|
+
|
|
451
|
+
declare const inputGroupVariants: (props?: ({
|
|
452
|
+
variant?: "default" | "outline" | null | undefined;
|
|
453
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
454
|
+
} & ClassProp) | undefined) => string;
|
|
455
|
+
|
|
456
|
+
export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
|
|
457
|
+
containerClassName?: string;
|
|
458
|
+
}): JSX.Element;
|
|
459
|
+
|
|
460
|
+
export declare function InputOTPGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
461
|
+
|
|
462
|
+
export declare function InputOTPSeparator({ ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
463
|
+
|
|
464
|
+
export declare function InputOTPSlot({ index, className, ...props }: React_2.ComponentProps<"div"> & {
|
|
465
|
+
index: number;
|
|
466
|
+
}): JSX.Element;
|
|
467
|
+
|
|
468
|
+
export declare type InputProps = Omit<Input_2.Props, "size"> & VariantProps<typeof inputVariants>;
|
|
469
|
+
|
|
470
|
+
declare const inputVariants: (props?: ({
|
|
471
|
+
variant?: "default" | "outline" | null | undefined;
|
|
472
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
473
|
+
} & ClassProp) | undefined) => string;
|
|
474
|
+
|
|
475
|
+
export declare function Item({ className, variant, size, render, ...props }: useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
476
|
+
|
|
477
|
+
export declare function ItemActions({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
478
|
+
|
|
479
|
+
export declare function ItemContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
480
|
+
|
|
481
|
+
export declare function ItemDescription({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
|
|
482
|
+
|
|
483
|
+
export declare function ItemFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
484
|
+
|
|
485
|
+
export declare function ItemGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
486
|
+
|
|
487
|
+
export declare function ItemHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
488
|
+
|
|
489
|
+
export declare function ItemMedia({ className, variant, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): JSX.Element;
|
|
490
|
+
|
|
491
|
+
declare const itemMediaVariants: (props?: ({
|
|
492
|
+
variant?: "default" | "image" | "icon" | null | undefined;
|
|
493
|
+
} & ClassProp) | undefined) => string;
|
|
494
|
+
|
|
495
|
+
export declare function ItemSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
496
|
+
|
|
497
|
+
export declare function ItemTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
498
|
+
|
|
499
|
+
declare const itemVariants: (props?: ({
|
|
500
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
501
|
+
size?: "default" | "sm" | "xs" | null | undefined;
|
|
502
|
+
} & ClassProp) | undefined) => string;
|
|
503
|
+
|
|
504
|
+
export declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): JSX.Element;
|
|
505
|
+
|
|
506
|
+
export declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
507
|
+
|
|
508
|
+
export declare function Label({ className, ...props }: React_2.ComponentProps<"label">): JSX.Element;
|
|
509
|
+
|
|
510
|
+
export declare function Pagination({ className, ...props }: React_2.ComponentProps<'nav'>): JSX.Element;
|
|
511
|
+
|
|
512
|
+
export declare function PaginationContent({ className, ...props }: React_2.ComponentProps<'ul'>): JSX.Element;
|
|
513
|
+
|
|
514
|
+
export declare function PaginationEllipsis({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
|
|
515
|
+
|
|
516
|
+
export declare function PaginationItem({ ...props }: React_2.ComponentProps<'li'>): JSX.Element;
|
|
517
|
+
|
|
518
|
+
export declare function PaginationLink({ className, isActive, size, isIcon, ...props }: PaginationLinkProps): JSX.Element;
|
|
519
|
+
|
|
520
|
+
declare type PaginationLinkProps = {
|
|
521
|
+
isActive?: boolean;
|
|
522
|
+
} & Pick<React_2.ComponentProps<typeof Button>, 'size' | 'isIcon'> & React_2.ComponentProps<'a'>;
|
|
523
|
+
|
|
524
|
+
export declare function PaginationNext({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
|
|
525
|
+
|
|
526
|
+
export declare function PaginationPrevious({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
|
|
527
|
+
|
|
528
|
+
export declare function Progress({ className, children, value, ...props }: Progress_2.Root.Props): JSX.Element;
|
|
529
|
+
|
|
530
|
+
export declare function ProgressIndicator({ className, ...props }: Progress_2.Indicator.Props): JSX.Element;
|
|
531
|
+
|
|
532
|
+
export declare function ProgressLabel({ className, ...props }: Progress_2.Label.Props): JSX.Element;
|
|
533
|
+
|
|
534
|
+
export declare function ProgressTrack({ className, ...props }: Progress_2.Track.Props): JSX.Element;
|
|
535
|
+
|
|
536
|
+
export declare function ProgressValue({ className, ...props }: Progress_2.Value.Props): JSX.Element;
|
|
537
|
+
|
|
538
|
+
export declare function RadioGroup({ className, ...props }: RadioGroup_2.Props): JSX.Element;
|
|
539
|
+
|
|
540
|
+
export declare function RadioGroupItem({ className, ...props }: Radio.Root.Props): JSX.Element;
|
|
541
|
+
|
|
542
|
+
export declare const Select: typeof Select_2.Root;
|
|
543
|
+
|
|
544
|
+
export declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: Select_2.Popup.Props & Pick<Select_2.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): JSX.Element;
|
|
545
|
+
|
|
546
|
+
export declare function SelectGroup({ className, ...props }: Select_2.Group.Props): JSX.Element;
|
|
547
|
+
|
|
548
|
+
export declare function SelectItem({ className, children, ...props }: Select_2.Item.Props): JSX.Element;
|
|
549
|
+
|
|
550
|
+
export declare function SelectLabel({ className, ...props }: Select_2.GroupLabel.Props): JSX.Element;
|
|
551
|
+
|
|
552
|
+
export declare function SelectScrollDownButton({ className, ...props }: React_2.ComponentProps<typeof Select_2.ScrollDownArrow>): JSX.Element;
|
|
553
|
+
|
|
554
|
+
export declare function SelectScrollUpButton({ className, ...props }: React_2.ComponentProps<typeof Select_2.ScrollUpArrow>): JSX.Element;
|
|
555
|
+
|
|
556
|
+
export declare function SelectSeparator({ className, ...props }: Select_2.Separator.Props): JSX.Element;
|
|
557
|
+
|
|
558
|
+
export declare function SelectTrigger({ className, size, children, ...props }: Select_2.Trigger.Props & {
|
|
559
|
+
size?: "sm" | "default";
|
|
560
|
+
}): JSX.Element;
|
|
561
|
+
|
|
562
|
+
export declare function SelectValue({ className, ...props }: Select_2.Value.Props): JSX.Element;
|
|
563
|
+
|
|
564
|
+
export declare function Separator({ className, orientation, ...props }: Separator_2.Props): JSX.Element;
|
|
565
|
+
|
|
566
|
+
export declare function Sheet({ ...props }: Dialog_2.Root.Props): JSX.Element;
|
|
567
|
+
|
|
568
|
+
export declare function SheetClose({ ...props }: Dialog_2.Close.Props): JSX.Element;
|
|
569
|
+
|
|
570
|
+
export declare function SheetContent({ className, children, side, showCloseButton, ...props }: Dialog_2.Popup.Props & {
|
|
571
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
572
|
+
showCloseButton?: boolean;
|
|
573
|
+
}): JSX.Element;
|
|
574
|
+
|
|
575
|
+
export declare function SheetDescription({ className, ...props }: Dialog_2.Description.Props): JSX.Element;
|
|
576
|
+
|
|
577
|
+
export declare function SheetFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
578
|
+
|
|
579
|
+
export declare function SheetHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
580
|
+
|
|
581
|
+
export declare function SheetTitle({ className, ...props }: Dialog_2.Title.Props): JSX.Element;
|
|
582
|
+
|
|
583
|
+
export declare function SheetTrigger({ ...props }: Dialog_2.Trigger.Props): JSX.Element;
|
|
584
|
+
|
|
585
|
+
export declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<'div'> & {
|
|
586
|
+
side?: 'left' | 'right';
|
|
587
|
+
variant?: 'sidebar' | 'floating' | 'inset';
|
|
588
|
+
collapsible?: 'offExamples' | 'icon' | 'none';
|
|
589
|
+
}): JSX.Element;
|
|
590
|
+
|
|
591
|
+
export declare function SidebarContent({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
592
|
+
|
|
593
|
+
declare type SidebarContextProps = {
|
|
594
|
+
state: 'expanded' | 'collapsed';
|
|
595
|
+
open: boolean;
|
|
596
|
+
setOpen: (open: boolean) => void;
|
|
597
|
+
openMobile: boolean;
|
|
598
|
+
setOpenMobile: (open: boolean) => void;
|
|
599
|
+
isMobile: boolean;
|
|
600
|
+
toggleSidebar: () => void;
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
export declare function SidebarFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
604
|
+
|
|
605
|
+
export declare function SidebarGroup({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
606
|
+
|
|
607
|
+
export declare function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<'button'> & React_2.ComponentProps<'button'>): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
608
|
+
|
|
609
|
+
export declare function SidebarGroupContent({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
610
|
+
|
|
611
|
+
export declare function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<'div'> & React_2.ComponentProps<'div'>): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
612
|
+
|
|
613
|
+
export declare function SidebarHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
614
|
+
|
|
615
|
+
export declare function SidebarInput({ className, ...props }: React_2.ComponentProps<typeof Input>): JSX.Element;
|
|
616
|
+
|
|
617
|
+
export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<'main'>): JSX.Element;
|
|
618
|
+
|
|
619
|
+
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<'ul'>): JSX.Element;
|
|
620
|
+
|
|
621
|
+
export declare function SidebarMenuAction({ className, render, showOnHover, ...props }: useRender.ComponentProps<'button'> & React_2.ComponentProps<'button'> & {
|
|
622
|
+
showOnHover?: boolean;
|
|
623
|
+
}): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
624
|
+
|
|
625
|
+
export declare function SidebarMenuBadge({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
626
|
+
|
|
627
|
+
export declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: useRender.ComponentProps<'button'> & React_2.ComponentProps<'button'> & {
|
|
628
|
+
isActive?: boolean;
|
|
629
|
+
tooltip?: string | React_2.ComponentProps<typeof TooltipContent>;
|
|
630
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): JSX.Element;
|
|
631
|
+
|
|
632
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
633
|
+
variant?: "default" | "outline" | null | undefined;
|
|
634
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
635
|
+
} & ClassProp) | undefined) => string;
|
|
636
|
+
|
|
637
|
+
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
|
|
638
|
+
|
|
639
|
+
export declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React_2.ComponentProps<'div'> & {
|
|
640
|
+
showIcon?: boolean;
|
|
641
|
+
}): JSX.Element;
|
|
642
|
+
|
|
643
|
+
export declare function SidebarMenuSub({ className, ...props }: React_2.ComponentProps<'ul'>): JSX.Element;
|
|
644
|
+
|
|
645
|
+
export declare function SidebarMenuSubButton({ render, size, isActive, className, ...props }: useRender.ComponentProps<'a'> & React_2.ComponentProps<'a'> & {
|
|
646
|
+
size?: 'sm' | 'md';
|
|
647
|
+
isActive?: boolean;
|
|
648
|
+
}): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
649
|
+
|
|
650
|
+
export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
|
|
651
|
+
|
|
652
|
+
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<'div'> & {
|
|
653
|
+
defaultOpen?: boolean;
|
|
654
|
+
open?: boolean;
|
|
655
|
+
onOpenChange?: (open: boolean) => void;
|
|
656
|
+
}): JSX.Element;
|
|
657
|
+
|
|
658
|
+
export declare function SidebarRail({ className, ...props }: React_2.ComponentProps<'button'>): JSX.Element;
|
|
659
|
+
|
|
660
|
+
export declare function SidebarSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
661
|
+
|
|
662
|
+
export declare function SidebarTrigger({ className, onClick, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
663
|
+
|
|
664
|
+
export declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
665
|
+
|
|
666
|
+
export declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): JSX.Element;
|
|
667
|
+
|
|
668
|
+
export declare function Switch({ className, size, ...props }: Switch_2.Root.Props & {
|
|
669
|
+
size?: "sm" | "default";
|
|
670
|
+
}): JSX.Element;
|
|
671
|
+
|
|
672
|
+
export declare function Table({ className, ...props }: React_2.ComponentProps<"table">): JSX.Element;
|
|
673
|
+
|
|
674
|
+
export declare function TableBody({ className, ...props }: React_2.ComponentProps<"tbody">): JSX.Element;
|
|
675
|
+
|
|
676
|
+
export declare function TableCaption({ className, ...props }: React_2.ComponentProps<"caption">): JSX.Element;
|
|
677
|
+
|
|
678
|
+
export declare function TableCell({ className, ...props }: React_2.ComponentProps<"td">): JSX.Element;
|
|
679
|
+
|
|
680
|
+
export declare function TableFooter({ className, ...props }: React_2.ComponentProps<"tfoot">): JSX.Element;
|
|
681
|
+
|
|
682
|
+
export declare function TableHead({ className, ...props }: React_2.ComponentProps<"th">): JSX.Element;
|
|
683
|
+
|
|
684
|
+
export declare function TableHeader({ className, ...props }: React_2.ComponentProps<"thead">): JSX.Element;
|
|
685
|
+
|
|
686
|
+
export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
|
|
687
|
+
|
|
688
|
+
export declare function Tabs({ className, orientation, ...props }: Tabs_2.Root.Props): JSX.Element;
|
|
689
|
+
|
|
690
|
+
export declare function TabsContent({ className, ...props }: Tabs_2.Panel.Props): JSX.Element;
|
|
691
|
+
|
|
692
|
+
export declare function TabsList({ className, variant, ...props }: Tabs_2.List.Props & VariantProps<typeof tabsListVariants>): JSX.Element;
|
|
693
|
+
|
|
694
|
+
export declare const tabsListVariants: (props?: ({
|
|
695
|
+
variant?: "default" | "line" | null | undefined;
|
|
696
|
+
} & ClassProp) | undefined) => string;
|
|
697
|
+
|
|
698
|
+
export declare function TabsTrigger({ className, ...props }: Tabs_2.Tab.Props): JSX.Element;
|
|
699
|
+
|
|
700
|
+
export declare function TaxIdField({ id, name, value, onChange, onBlur, description, placeholder, error, isLoading, loadingText, autoFocus, }: TaxIdFieldProps): JSX.Element;
|
|
701
|
+
|
|
702
|
+
declare interface TaxIdFieldProps {
|
|
703
|
+
id: string;
|
|
704
|
+
name: string;
|
|
705
|
+
value: string;
|
|
706
|
+
onChange: (value: string) => void;
|
|
707
|
+
onBlur: () => void;
|
|
708
|
+
description: string;
|
|
709
|
+
placeholder: string;
|
|
710
|
+
error?: string;
|
|
711
|
+
isLoading?: boolean;
|
|
712
|
+
loadingText?: string;
|
|
713
|
+
autoFocus?: boolean;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
export declare function Textarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
|
|
717
|
+
|
|
718
|
+
export declare function TextField({ description, error, name, variant, size, type, ...props }: TextFieldProps): JSX.Element;
|
|
719
|
+
|
|
720
|
+
export declare interface TextFieldProps extends React_2.ComponentPropsWithoutRef<typeof InputGroupInput> {
|
|
721
|
+
name: string;
|
|
722
|
+
description?: string;
|
|
723
|
+
error?: string;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
declare const THEMES: {
|
|
727
|
+
readonly light: "";
|
|
728
|
+
readonly dark: ".dark";
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
export declare const Toaster: ({ ...props }: ToasterProps) => JSX.Element;
|
|
732
|
+
|
|
733
|
+
export declare function Toggle({ className, variant, size, ...props }: Toggle_2.Props & VariantProps<typeof toggleVariants>): JSX.Element;
|
|
734
|
+
|
|
735
|
+
export declare const toggleVariants: (props?: ({
|
|
736
|
+
variant?: "default" | "outline" | null | undefined;
|
|
737
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
738
|
+
} & ClassProp) | undefined) => string;
|
|
739
|
+
|
|
740
|
+
export declare function Tooltip({ ...props }: Tooltip_2.Root.Props): JSX.Element;
|
|
741
|
+
|
|
742
|
+
export declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: Tooltip_2.Popup.Props & Pick<Tooltip_2.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): JSX.Element;
|
|
743
|
+
|
|
744
|
+
export declare function TooltipProvider({ delay, ...props }: Tooltip_2.Provider.Props): JSX.Element;
|
|
745
|
+
|
|
746
|
+
export declare function TooltipTrigger({ ...props }: Tooltip_2.Trigger.Props): JSX.Element;
|
|
747
|
+
|
|
748
|
+
export declare function useComboboxAnchor(): React_2.RefObject<HTMLDivElement | null>;
|
|
749
|
+
|
|
750
|
+
export declare function useIsMobile(): boolean;
|
|
751
|
+
|
|
752
|
+
export declare function useSidebar(): SidebarContextProps;
|
|
753
|
+
|
|
754
|
+
export { }
|