@nerds-with-charisma/revit-ui 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.
@@ -0,0 +1,646 @@
1
+ import * as react from 'react';
2
+ import { ButtonHTMLAttributes, InputHTMLAttributes, HTMLAttributes, ComponentProps, TextareaHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes, ReactNode } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import * as SelectPrimitive from '@radix-ui/react-select';
6
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
7
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
8
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
9
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
10
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
11
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
13
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
14
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
15
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
16
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
17
+ import * as SliderPrimitive from '@radix-ui/react-slider';
18
+ import * as react_hook_form from 'react-hook-form';
19
+ import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
20
+ import { Slot } from '@radix-ui/react-slot';
21
+ import { Toaster as Toaster$1 } from 'sonner';
22
+ export { toast } from 'sonner';
23
+ import { Command as Command$1 } from 'cmdk';
24
+ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
25
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
26
+ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
27
+ import * as ProgressPrimitive from '@radix-ui/react-progress';
28
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
29
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
30
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
31
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
32
+ import { DayPickerProps } from 'react-day-picker';
33
+ import { ResponsiveContainer } from 'recharts';
34
+ export { Tooltip as ChartTooltip } from 'recharts';
35
+ import useEmblaCarousel from 'embla-carousel-react';
36
+ import * as vaul from 'vaul';
37
+ import { Drawer as Drawer$1 } from 'vaul';
38
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
39
+ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
40
+ import { Separator as Separator$1, Panel, Group } from 'react-resizable-panels';
41
+ import { OTPInput } from 'input-otp';
42
+ import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
43
+ import { ClassValue } from 'clsx';
44
+ import { R as RevitThemeTokens } from './tokens.revit-DzLYq4SO.js';
45
+ export { a as RevitColorTokens, r as revitTokens } from './tokens.revit-DzLYq4SO.js';
46
+
47
+ declare const buttonVariants: (props?: ({
48
+ variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "destructive" | null | undefined;
49
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
50
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
51
+ type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {
52
+ asChild?: boolean;
53
+ };
54
+ declare const Button: ({ className, variant, size, asChild, ...props }: ButtonProps) => react.JSX.Element;
55
+
56
+ declare const inputVariants: (props?: ({
57
+ variant?: "default" | "pill" | "filled" | null | undefined;
58
+ size?: "default" | "sm" | "md" | null | undefined;
59
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
60
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> & VariantProps<typeof inputVariants>;
61
+ declare const Input: ({ className, type, variant, size, ...props }: InputProps) => react.JSX.Element;
62
+
63
+ declare const cardVariants: (props?: ({
64
+ variant?: "default" | "outline" | "elevated" | "frost" | null | undefined;
65
+ size?: "default" | "sm" | "lg" | null | undefined;
66
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
67
+ type CardProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants>;
68
+ declare const Card: ({ className, variant, size, ...props }: CardProps) => react.JSX.Element;
69
+
70
+ type CardHeaderProps = HTMLAttributes<HTMLDivElement>;
71
+ declare const CardHeader: ({ className, ...props }: CardHeaderProps) => react.JSX.Element;
72
+
73
+ type CardTitleProps = HTMLAttributes<HTMLHeadingElement>;
74
+ declare const CardTitle: ({ className, ...props }: CardTitleProps) => react.JSX.Element;
75
+
76
+ type CardDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
77
+ declare const CardDescription: ({ className, ...props }: CardDescriptionProps) => react.JSX.Element;
78
+
79
+ type CardContentProps = HTMLAttributes<HTMLDivElement>;
80
+ declare const CardContent: ({ className, ...props }: CardContentProps) => react.JSX.Element;
81
+
82
+ type CardFooterProps = HTMLAttributes<HTMLDivElement>;
83
+ declare const CardFooter: ({ className, ...props }: CardFooterProps) => react.JSX.Element;
84
+
85
+ declare const Select: react.FC<SelectPrimitive.SelectProps>;
86
+
87
+ declare const SelectGroup: react.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & react.RefAttributes<HTMLDivElement>>;
88
+
89
+ declare const SelectValue: react.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & react.RefAttributes<HTMLSpanElement>>;
90
+
91
+ declare const selectTriggerVariants: (props?: ({
92
+ variant?: "default" | "pill" | "filled" | null | undefined;
93
+ size?: "default" | "sm" | "md" | null | undefined;
94
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
95
+ type SelectTriggerProps = ComponentProps<typeof SelectPrimitive.Trigger> & VariantProps<typeof selectTriggerVariants>;
96
+ declare const SelectTrigger: ({ className, variant, size, children, ...props }: SelectTriggerProps) => react.JSX.Element;
97
+
98
+ type SelectContentProps = ComponentProps<typeof SelectPrimitive.Content>;
99
+ declare const SelectContent: ({ className, children, position, ...props }: SelectContentProps) => react.JSX.Element;
100
+
101
+ type SelectItemProps = ComponentProps<typeof SelectPrimitive.Item>;
102
+ declare const SelectItem: ({ className, children, ...props }: SelectItemProps) => react.JSX.Element;
103
+
104
+ type SelectLabelProps = ComponentProps<typeof SelectPrimitive.Label>;
105
+ declare const SelectLabel: ({ className, ...props }: SelectLabelProps) => react.JSX.Element;
106
+
107
+ type SelectSeparatorProps = ComponentProps<typeof SelectPrimitive.Separator>;
108
+ declare const SelectSeparator: ({ className, ...props }: SelectSeparatorProps) => react.JSX.Element;
109
+
110
+ declare const Dialog: react.FC<DialogPrimitive.DialogProps>;
111
+
112
+ declare const DialogTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
113
+
114
+ type DialogContentProps = ComponentProps<typeof DialogPrimitive.Content>;
115
+ declare const DialogContent: ({ className, children, ...props }: DialogContentProps) => react.JSX.Element;
116
+
117
+ type DialogHeaderProps = HTMLAttributes<HTMLDivElement>;
118
+ declare const DialogHeader: ({ className, ...props }: DialogHeaderProps) => react.JSX.Element;
119
+
120
+ type DialogFooterProps = HTMLAttributes<HTMLDivElement>;
121
+ declare const DialogFooter: ({ className, ...props }: DialogFooterProps) => react.JSX.Element;
122
+
123
+ type DialogTitleProps = ComponentProps<typeof DialogPrimitive.Title>;
124
+ declare const DialogTitle: ({ className, ...props }: DialogTitleProps) => react.JSX.Element;
125
+
126
+ type DialogDescriptionProps = ComponentProps<typeof DialogPrimitive.Description>;
127
+ declare const DialogDescription: ({ className, ...props }: DialogDescriptionProps) => react.JSX.Element;
128
+
129
+ declare const DialogClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
130
+
131
+ declare const labelVariants: (props?: ({
132
+ variant?: "default" | "eyebrow" | null | undefined;
133
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
134
+ type LabelProps = ComponentProps<'label'> & VariantProps<typeof labelVariants>;
135
+ declare const Label: ({ className, variant, ...props }: LabelProps) => react.JSX.Element;
136
+
137
+ declare const textareaVariants: (props?: ({
138
+ variant?: "default" | "filled" | null | undefined;
139
+ size?: "default" | "sm" | null | undefined;
140
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
141
+ type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & VariantProps<typeof textareaVariants>;
142
+ declare const Textarea: ({ className, variant, size, ...props }: TextareaProps) => react.JSX.Element;
143
+
144
+ type CheckboxProps = ComponentProps<typeof CheckboxPrimitive.Root>;
145
+ declare const Checkbox: ({ className, ...props }: CheckboxProps) => react.JSX.Element;
146
+
147
+ declare const badgeVariants: (props?: ({
148
+ variant?: "default" | "secondary" | "outline" | "destructive" | "tag" | null | undefined;
149
+ size?: "default" | "sm" | null | undefined;
150
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
151
+ type BadgeProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
152
+ declare const Badge: ({ className, variant, size, ...props }: BadgeProps) => react.JSX.Element;
153
+
154
+ type SwitchProps = ComponentProps<typeof SwitchPrimitive.Root>;
155
+ declare const Switch: ({ className, ...props }: SwitchProps) => react.JSX.Element;
156
+
157
+ type RadioGroupProps = ComponentProps<typeof RadioGroupPrimitive.Root>;
158
+ declare const RadioGroup: ({ className, ...props }: RadioGroupProps) => react.JSX.Element;
159
+
160
+ type RadioGroupItemProps = ComponentProps<typeof RadioGroupPrimitive.Item>;
161
+ declare const RadioGroupItem: ({ className, ...props }: RadioGroupItemProps) => react.JSX.Element;
162
+
163
+ declare const Tabs: react.ForwardRefExoticComponent<TabsPrimitive.TabsProps & react.RefAttributes<HTMLDivElement>>;
164
+
165
+ type TabsListProps = ComponentProps<typeof TabsPrimitive.List>;
166
+ declare const TabsList: ({ className, ...props }: TabsListProps) => react.JSX.Element;
167
+
168
+ type TabsTriggerProps = ComponentProps<typeof TabsPrimitive.Trigger>;
169
+ declare const TabsTrigger: ({ className, ...props }: TabsTriggerProps) => react.JSX.Element;
170
+
171
+ type TabsContentProps = ComponentProps<typeof TabsPrimitive.Content>;
172
+ declare const TabsContent: ({ className, ...props }: TabsContentProps) => react.JSX.Element;
173
+
174
+ type TooltipProviderProps = ComponentProps<typeof TooltipPrimitive.Provider>;
175
+ declare const TooltipProvider: ({ delayDuration, ...props }: TooltipProviderProps) => react.JSX.Element;
176
+
177
+ declare const Tooltip: react.FC<TooltipPrimitive.TooltipProps>;
178
+
179
+ declare const TooltipTrigger: react.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>>;
180
+
181
+ type TooltipContentProps = ComponentProps<typeof TooltipPrimitive.Content>;
182
+ declare const TooltipContent: ({ className, sideOffset, ...props }: TooltipContentProps) => react.JSX.Element;
183
+
184
+ type SeparatorProps = ComponentProps<typeof SeparatorPrimitive.Root>;
185
+ declare const Separator: ({ className, orientation, decorative, ...props }: SeparatorProps) => react.JSX.Element;
186
+
187
+ declare const Accordion: react.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & react.RefAttributes<HTMLDivElement>>;
188
+
189
+ type AccordionItemProps = ComponentProps<typeof AccordionPrimitive.Item>;
190
+ declare const AccordionItem: ({ className, ...props }: AccordionItemProps) => react.JSX.Element;
191
+
192
+ type AccordionTriggerProps = ComponentProps<typeof AccordionPrimitive.Trigger>;
193
+ declare const AccordionTrigger: ({ className, children, ...props }: AccordionTriggerProps) => react.JSX.Element;
194
+
195
+ type AccordionContentProps = ComponentProps<typeof AccordionPrimitive.Content>;
196
+ declare const AccordionContent: ({ className, children, ...props }: AccordionContentProps) => react.JSX.Element;
197
+
198
+ declare const alertVariants: (props?: ({
199
+ variant?: "default" | "destructive" | "warning" | null | undefined;
200
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
201
+ type AlertProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>;
202
+ declare const Alert: ({ className, variant, ...props }: AlertProps) => react.JSX.Element;
203
+
204
+ type AlertTitleProps = HTMLAttributes<HTMLHeadingElement>;
205
+ declare const AlertTitle: ({ className, ...props }: AlertTitleProps) => react.JSX.Element;
206
+
207
+ type AlertDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
208
+ declare const AlertDescription: ({ className, ...props }: AlertDescriptionProps) => react.JSX.Element;
209
+
210
+ type AvatarProps = ComponentProps<typeof AvatarPrimitive.Root>;
211
+ declare const Avatar: ({ className, ...props }: AvatarProps) => react.JSX.Element;
212
+
213
+ type AvatarImageProps = ComponentProps<typeof AvatarPrimitive.Image>;
214
+ declare const AvatarImage: ({ className, ...props }: AvatarImageProps) => react.JSX.Element;
215
+
216
+ type AvatarFallbackProps = ComponentProps<typeof AvatarPrimitive.Fallback>;
217
+ declare const AvatarFallback: ({ className, ...props }: AvatarFallbackProps) => react.JSX.Element;
218
+
219
+ declare const DropdownMenu: react.FC<DropdownMenuPrimitive.DropdownMenuProps>;
220
+
221
+ declare const DropdownMenuTrigger: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
222
+
223
+ type DropdownMenuContentProps = ComponentProps<typeof DropdownMenuPrimitive.Content>;
224
+ declare const DropdownMenuContent: ({ className, sideOffset, ...props }: DropdownMenuContentProps) => react.JSX.Element;
225
+
226
+ type DropdownMenuItemProps = ComponentProps<typeof DropdownMenuPrimitive.Item>;
227
+ declare const DropdownMenuItem: ({ className, ...props }: DropdownMenuItemProps) => react.JSX.Element;
228
+
229
+ type DropdownMenuLabelProps = ComponentProps<typeof DropdownMenuPrimitive.Label>;
230
+ declare const DropdownMenuLabel: ({ className, ...props }: DropdownMenuLabelProps) => react.JSX.Element;
231
+
232
+ type DropdownMenuSeparatorProps = ComponentProps<typeof DropdownMenuPrimitive.Separator>;
233
+ declare const DropdownMenuSeparator: ({ className, ...props }: DropdownMenuSeparatorProps) => react.JSX.Element;
234
+
235
+ declare const Popover: react.FC<PopoverPrimitive.PopoverProps>;
236
+
237
+ declare const PopoverTrigger: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
238
+
239
+ type PopoverContentProps = ComponentProps<typeof PopoverPrimitive.Content>;
240
+ declare const PopoverContent: ({ className, align, sideOffset, ...props }: PopoverContentProps) => react.JSX.Element;
241
+
242
+ declare const Sheet: react.FC<DialogPrimitive.DialogProps>;
243
+
244
+ declare const SheetTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
245
+
246
+ declare const sheetContentVariants: (props?: ({
247
+ side?: "right" | "left" | "top" | "bottom" | null | undefined;
248
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
249
+ type SheetContentProps = ComponentProps<typeof DialogPrimitive.Content> & VariantProps<typeof sheetContentVariants>;
250
+ declare const SheetContent: ({ className, children, side, ...props }: SheetContentProps) => react.JSX.Element;
251
+
252
+ type SheetHeaderProps = HTMLAttributes<HTMLDivElement>;
253
+ declare const SheetHeader: ({ className, ...props }: SheetHeaderProps) => react.JSX.Element;
254
+
255
+ type SheetTitleProps = ComponentProps<typeof DialogPrimitive.Title>;
256
+ declare const SheetTitle: ({ className, ...props }: SheetTitleProps) => react.JSX.Element;
257
+
258
+ type SheetDescriptionProps = ComponentProps<typeof DialogPrimitive.Description>;
259
+ declare const SheetDescription: ({ className, ...props }: SheetDescriptionProps) => react.JSX.Element;
260
+
261
+ type SkeletonProps = HTMLAttributes<HTMLDivElement>;
262
+ declare const Skeleton: ({ className, ...props }: SkeletonProps) => react.JSX.Element;
263
+
264
+ type SliderProps = ComponentProps<typeof SliderPrimitive.Root>;
265
+ declare const Slider: ({ className, ...props }: SliderProps) => react.JSX.Element;
266
+
267
+ type TableProps = HTMLAttributes<HTMLTableElement>;
268
+ declare const Table: ({ className, ...props }: TableProps) => react.JSX.Element;
269
+
270
+ type TableHeaderProps = HTMLAttributes<HTMLTableSectionElement>;
271
+ declare const TableHeader: ({ className, ...props }: TableHeaderProps) => react.JSX.Element;
272
+
273
+ type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
274
+ declare const TableBody: ({ className, ...props }: TableBodyProps) => react.JSX.Element;
275
+
276
+ type TableFooterProps = HTMLAttributes<HTMLTableSectionElement>;
277
+ declare const TableFooter: ({ className, ...props }: TableFooterProps) => react.JSX.Element;
278
+
279
+ type TableRowProps = HTMLAttributes<HTMLTableRowElement>;
280
+ declare const TableRow: ({ className, ...props }: TableRowProps) => react.JSX.Element;
281
+
282
+ type TableHeadProps = ThHTMLAttributes<HTMLTableCellElement>;
283
+ declare const TableHead: ({ className, ...props }: TableHeadProps) => react.JSX.Element;
284
+
285
+ type TableCellProps = TdHTMLAttributes<HTMLTableCellElement>;
286
+ declare const TableCell: ({ className, ...props }: TableCellProps) => react.JSX.Element;
287
+
288
+ type TableCaptionProps = HTMLAttributes<HTMLTableCaptionElement>;
289
+ declare const TableCaption: ({ className, ...props }: TableCaptionProps) => react.JSX.Element;
290
+
291
+ type PaginationProps = ComponentProps<'nav'>;
292
+ declare const Pagination: ({ className, ...props }: PaginationProps) => react.JSX.Element;
293
+
294
+ type PaginationContentProps = ComponentProps<'ul'>;
295
+ declare const PaginationContent: ({ className, ...props }: PaginationContentProps) => react.JSX.Element;
296
+
297
+ type PaginationItemProps = ComponentProps<'li'>;
298
+ declare const PaginationItem: (props: PaginationItemProps) => react.JSX.Element;
299
+
300
+ type PaginationLinkProps = ComponentProps<'a'> & {
301
+ isActive?: boolean;
302
+ };
303
+ declare const PaginationLink: ({ className, isActive, ...props }: PaginationLinkProps) => react.JSX.Element;
304
+
305
+ type PaginationPreviousProps = ComponentProps<typeof PaginationLink>;
306
+ declare const PaginationPrevious: ({ className, ...props }: PaginationPreviousProps) => react.JSX.Element;
307
+
308
+ type PaginationNextProps = ComponentProps<typeof PaginationLink>;
309
+ declare const PaginationNext: ({ className, ...props }: PaginationNextProps) => react.JSX.Element;
310
+
311
+ type PaginationEllipsisProps = ComponentProps<'span'>;
312
+ declare const PaginationEllipsis: ({ className, ...props }: PaginationEllipsisProps) => react.JSX.Element;
313
+
314
+ type BreadcrumbProps = ComponentProps<'nav'>;
315
+ declare const Breadcrumb: ({ ...props }: BreadcrumbProps) => react.JSX.Element;
316
+
317
+ type BreadcrumbListProps = ComponentProps<'ol'>;
318
+ declare const BreadcrumbList: ({ className, ...props }: BreadcrumbListProps) => react.JSX.Element;
319
+
320
+ type BreadcrumbItemProps = ComponentProps<'li'>;
321
+ declare const BreadcrumbItem: ({ className, ...props }: BreadcrumbItemProps) => react.JSX.Element;
322
+
323
+ type BreadcrumbLinkProps = ComponentProps<'a'> & {
324
+ asChild?: boolean;
325
+ };
326
+ declare const BreadcrumbLink: ({ asChild, className, ...props }: BreadcrumbLinkProps) => react.JSX.Element;
327
+
328
+ type BreadcrumbPageProps = ComponentProps<'span'>;
329
+ declare const BreadcrumbPage: ({ className, ...props }: BreadcrumbPageProps) => react.JSX.Element;
330
+
331
+ type BreadcrumbSeparatorProps = ComponentProps<'li'>;
332
+ declare const BreadcrumbSeparator: ({ children, className, ...props }: BreadcrumbSeparatorProps) => react.JSX.Element;
333
+
334
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getErrors, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, resetDefaultValues, handleSubmit, unregister, control, register, setFocus, subscribe, }: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
335
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react.JSX.Element;
336
+ declare const useFormField: () => {
337
+ invalid: boolean;
338
+ isDirty: boolean;
339
+ isTouched: boolean;
340
+ isValidating: boolean;
341
+ error?: react_hook_form.FieldError | undefined;
342
+ id: string;
343
+ name: string;
344
+ formItemId: string;
345
+ formDescriptionId: string;
346
+ formMessageId: string;
347
+ };
348
+
349
+ type FormItemProps = HTMLAttributes<HTMLDivElement>;
350
+ declare const FormItem: ({ className, ...props }: FormItemProps) => react.JSX.Element;
351
+
352
+ type FormLabelProps = ComponentProps<typeof Label>;
353
+ declare const FormLabel: ({ className, ...props }: FormLabelProps) => react.JSX.Element;
354
+
355
+ type FormControlProps = ComponentProps<typeof Slot>;
356
+ declare const FormControl: ({ ...props }: FormControlProps) => react.JSX.Element;
357
+
358
+ type FormDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
359
+ declare const FormDescription: ({ className, ...props }: FormDescriptionProps) => react.JSX.Element;
360
+
361
+ type FormMessageProps = HTMLAttributes<HTMLParagraphElement>;
362
+ declare const FormMessage: ({ className, children, ...props }: FormMessageProps) => react.JSX.Element | null;
363
+
364
+ type ToasterProps = ComponentProps<typeof Toaster$1>;
365
+ declare const Toaster: ({ ...props }: ToasterProps) => react.JSX.Element;
366
+
367
+ type CommandProps = ComponentProps<typeof Command$1>;
368
+ declare const Command: ({ className, ...props }: CommandProps) => react.JSX.Element;
369
+
370
+ type CommandInputProps = ComponentProps<typeof Command$1.Input>;
371
+ declare const CommandInput: ({ className, ...props }: CommandInputProps) => react.JSX.Element;
372
+
373
+ type CommandListProps = ComponentProps<typeof Command$1.List>;
374
+ declare const CommandList: ({ className, ...props }: CommandListProps) => react.JSX.Element;
375
+
376
+ type CommandEmptyProps = ComponentProps<typeof Command$1.Empty>;
377
+ declare const CommandEmpty: ({ className, ...props }: CommandEmptyProps) => react.JSX.Element;
378
+
379
+ type CommandGroupProps = ComponentProps<typeof Command$1.Group>;
380
+ declare const CommandGroup: ({ className, ...props }: CommandGroupProps) => react.JSX.Element;
381
+
382
+ type CommandItemProps = ComponentProps<typeof Command$1.Item>;
383
+ declare const CommandItem: ({ className, ...props }: CommandItemProps) => react.JSX.Element;
384
+
385
+ type ComboboxOption = {
386
+ value: string;
387
+ label: string;
388
+ };
389
+ type ComboboxProps = {
390
+ options: ComboboxOption[];
391
+ value?: string;
392
+ onValueChange?: (value: string) => void;
393
+ placeholder?: string;
394
+ emptyText?: string;
395
+ className?: string;
396
+ };
397
+ declare const Combobox: ({ options, value, onValueChange, placeholder, emptyText, className, }: ComboboxProps) => react.JSX.Element;
398
+
399
+ declare const ContextMenu: react.FC<ContextMenuPrimitive.ContextMenuProps>;
400
+
401
+ declare const ContextMenuTrigger: react.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & react.RefAttributes<HTMLSpanElement>>;
402
+
403
+ type ContextMenuContentProps = ComponentProps<typeof ContextMenuPrimitive.Content>;
404
+ declare const ContextMenuContent: ({ className, ...props }: ContextMenuContentProps) => react.JSX.Element;
405
+
406
+ type ContextMenuItemProps = ComponentProps<typeof ContextMenuPrimitive.Item>;
407
+ declare const ContextMenuItem: ({ className, ...props }: ContextMenuItemProps) => react.JSX.Element;
408
+
409
+ declare const AlertDialog: react.FC<AlertDialogPrimitive.AlertDialogProps>;
410
+
411
+ declare const AlertDialogTrigger: react.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
412
+
413
+ type AlertDialogContentProps = ComponentProps<typeof AlertDialogPrimitive.Content>;
414
+ declare const AlertDialogContent: ({ className, ...props }: AlertDialogContentProps) => react.JSX.Element;
415
+
416
+ type AlertDialogHeaderProps = HTMLAttributes<HTMLDivElement>;
417
+ declare const AlertDialogHeader: ({ className, ...props }: AlertDialogHeaderProps) => react.JSX.Element;
418
+
419
+ type AlertDialogFooterProps = HTMLAttributes<HTMLDivElement>;
420
+ declare const AlertDialogFooter: ({ className, ...props }: AlertDialogFooterProps) => react.JSX.Element;
421
+
422
+ type AlertDialogTitleProps = ComponentProps<typeof AlertDialogPrimitive.Title>;
423
+ declare const AlertDialogTitle: ({ className, ...props }: AlertDialogTitleProps) => react.JSX.Element;
424
+
425
+ type AlertDialogDescriptionProps = ComponentProps<typeof AlertDialogPrimitive.Description>;
426
+ declare const AlertDialogDescription: ({ className, ...props }: AlertDialogDescriptionProps) => react.JSX.Element;
427
+
428
+ type AlertDialogActionProps = ComponentProps<typeof AlertDialogPrimitive.Action>;
429
+ declare const AlertDialogAction: ({ className, ...props }: AlertDialogActionProps) => react.JSX.Element;
430
+
431
+ type AlertDialogCancelProps = ComponentProps<typeof AlertDialogPrimitive.Cancel>;
432
+ declare const AlertDialogCancel: ({ className, ...props }: AlertDialogCancelProps) => react.JSX.Element;
433
+
434
+ declare const HoverCard: react.FC<HoverCardPrimitive.HoverCardProps>;
435
+
436
+ declare const HoverCardTrigger: react.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
437
+
438
+ type HoverCardContentProps = ComponentProps<typeof HoverCardPrimitive.Content>;
439
+ declare const HoverCardContent: ({ className, align, sideOffset, ...props }: HoverCardContentProps) => react.JSX.Element;
440
+
441
+ type ProgressProps = ComponentProps<typeof ProgressPrimitive.Root>;
442
+ declare const Progress: ({ className, value, ...props }: ProgressProps) => react.JSX.Element;
443
+
444
+ declare const toggleVariants: (props?: ({
445
+ variant?: "default" | "outline" | null | undefined;
446
+ size?: "default" | "sm" | "lg" | null | undefined;
447
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
448
+ type ToggleProps = ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>;
449
+ declare const Toggle: ({ className, variant, size, ...props }: ToggleProps) => react.JSX.Element;
450
+
451
+ type ToggleGroupProps = ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>;
452
+ declare const ToggleGroup: ({ className, variant, size, children, ...props }: ToggleGroupProps) => react.JSX.Element;
453
+
454
+ type ToggleGroupItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>;
455
+ declare const ToggleGroupItem: ({ className, children, ...props }: ToggleGroupItemProps) => react.JSX.Element;
456
+
457
+ type ScrollAreaProps = ComponentProps<typeof ScrollAreaPrimitive.Root>;
458
+ declare const ScrollArea: ({ className, children, ...props }: ScrollAreaProps) => react.JSX.Element;
459
+ type ScrollBarProps = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
460
+ declare const ScrollBar: ({ className, orientation, ...props }: ScrollBarProps) => react.JSX.Element;
461
+
462
+ declare const Collapsible: react.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & react.RefAttributes<HTMLDivElement>>;
463
+
464
+ declare const CollapsibleTrigger: react.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
465
+
466
+ type CollapsibleContentProps = ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>;
467
+ declare const CollapsibleContent: ({ className, ...props }: CollapsibleContentProps) => react.JSX.Element;
468
+
469
+ type CalendarProps = DayPickerProps;
470
+ declare const Calendar: ({ className, ...props }: CalendarProps) => react.JSX.Element;
471
+
472
+ type DatePickerProps = {
473
+ value?: Date;
474
+ onValueChange?: (date: Date | undefined) => void;
475
+ placeholder?: string;
476
+ className?: string;
477
+ };
478
+ declare const DatePicker: ({ value, onValueChange, placeholder, className, }: DatePickerProps) => react.JSX.Element;
479
+
480
+ type ChartContainerProps = ComponentProps<'div'> & {
481
+ children: ComponentProps<typeof ResponsiveContainer>['children'];
482
+ };
483
+ declare const ChartContainer: ({ className, children, ...props }: ChartContainerProps) => react.JSX.Element;
484
+
485
+ type CarouselOptions = Parameters<typeof useEmblaCarousel>[0];
486
+ type CarouselProps = ComponentProps<'div'> & {
487
+ opts?: CarouselOptions;
488
+ };
489
+ declare const Carousel: ({ className, opts, children, ...props }: CarouselProps) => react.JSX.Element;
490
+ declare const CarouselContent: ({ className, ...props }: ComponentProps<"div">) => react.JSX.Element;
491
+ declare const CarouselItem: ({ className, ...props }: ComponentProps<"div">) => react.JSX.Element;
492
+ declare const CarouselPrevious: ({ className, ...props }: ComponentProps<typeof Button>) => react.JSX.Element;
493
+ declare const CarouselNext: ({ className, ...props }: ComponentProps<typeof Button>) => react.JSX.Element;
494
+
495
+ declare const Drawer: typeof vaul.Root;
496
+ declare const DrawerTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
497
+ type DrawerContentProps = ComponentProps<typeof Drawer$1.Content>;
498
+ declare const DrawerContent: ({ className, children, ...props }: DrawerContentProps) => react.JSX.Element;
499
+ declare const DrawerTitle: ({ className, ...props }: ComponentProps<typeof Drawer$1.Title>) => react.JSX.Element;
500
+ declare const DrawerDescription: ({ className, ...props }: ComponentProps<typeof Drawer$1.Description>) => react.JSX.Element;
501
+
502
+ declare const Menubar: ({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Root>) => react.JSX.Element;
503
+ declare const MenubarMenu: typeof MenubarPrimitive.Menu;
504
+ declare const MenubarTrigger: ({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Trigger>) => react.JSX.Element;
505
+ declare const MenubarContent: ({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Content>) => react.JSX.Element;
506
+ declare const MenubarItem: ({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Item>) => react.JSX.Element;
507
+ declare const MenubarSeparator: ({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Separator>) => react.JSX.Element;
508
+
509
+ declare const NavigationMenu: ({ className, children, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Root>) => react.JSX.Element;
510
+ declare const NavigationMenuList: ({ className, ...props }: ComponentProps<typeof NavigationMenuPrimitive.List>) => react.JSX.Element;
511
+ declare const NavigationMenuItem: typeof NavigationMenuPrimitive.Item;
512
+ declare const NavigationMenuTrigger: ({ className, children, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Trigger>) => react.JSX.Element;
513
+ declare const NavigationMenuContent: ({ className, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Content>) => react.JSX.Element;
514
+ declare const NavigationMenuLink: typeof NavigationMenuPrimitive.Link;
515
+
516
+ type ResizablePanelGroupProps = ComponentProps<typeof Group>;
517
+ declare const ResizablePanelGroup: ({ className, ...props }: ResizablePanelGroupProps) => react.JSX.Element;
518
+ declare const ResizablePanel: typeof Panel;
519
+ type ResizableHandleProps = ComponentProps<typeof Separator$1>;
520
+ declare const ResizableHandle: ({ className, ...props }: ResizableHandleProps) => react.JSX.Element;
521
+
522
+ type SidebarContextValue = {
523
+ isOpen: boolean;
524
+ isOpenSetter: (open: boolean) => void;
525
+ };
526
+ declare const useSidebar: () => SidebarContextValue;
527
+ type SidebarProviderProps = ComponentProps<'div'> & {
528
+ defaultOpen?: boolean;
529
+ };
530
+ declare const SidebarProvider: ({ defaultOpen, className, style, children, ...props }: SidebarProviderProps) => react.JSX.Element;
531
+ declare const Sidebar: ({ className, children, ...props }: ComponentProps<"aside">) => react.JSX.Element;
532
+ declare const SidebarInset: ({ className, ...props }: ComponentProps<"main">) => react.JSX.Element;
533
+ declare const SidebarTrigger: ({ className, ...props }: ComponentProps<typeof Button>) => react.JSX.Element;
534
+ declare const SidebarHeader: ({ className, ...props }: ComponentProps<"div">) => react.JSX.Element;
535
+ declare const SidebarContent: ({ className, ...props }: ComponentProps<"div">) => react.JSX.Element;
536
+ declare const SidebarFooter: ({ className, ...props }: ComponentProps<"div">) => react.JSX.Element;
537
+ declare const SidebarMenu: ({ className, ...props }: ComponentProps<"ul">) => react.JSX.Element;
538
+ declare const SidebarMenuItem: ({ className, ...props }: ComponentProps<"li">) => react.JSX.Element;
539
+ declare const SidebarMenuButton: ({ className, ...props }: ComponentProps<"button">) => react.JSX.Element;
540
+
541
+ type InputOTPProps = ComponentProps<typeof OTPInput>;
542
+ declare const InputOTP: ({ className, containerClassName, ...props }: InputOTPProps) => react.JSX.Element;
543
+ declare const InputOTPGroup: ({ className, ...props }: ComponentProps<"div">) => react.JSX.Element;
544
+ declare const InputOTPSlot: ({ index, className, ...props }: ComponentProps<"div"> & {
545
+ index: number;
546
+ }) => react.JSX.Element;
547
+
548
+ declare const AspectRatio: react.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & react.RefAttributes<HTMLDivElement>>;
549
+
550
+ /**
551
+ * Surface recipes — frost, glass, brand gradients. Prefer helpers over copying CSS.
552
+ */
553
+ declare const surfaces: {
554
+ readonly frostPanel: "revit-frost-panel rounded-lg";
555
+ readonly frostNav: "revit-frost-nav rounded-pill";
556
+ readonly frostTile: "revit-frost-tile overflow-hidden rounded-[20px]";
557
+ readonly frostFab: "revit-frost-fab rounded-pill";
558
+ readonly brandGradient: "revit-brand-gradient";
559
+ readonly scrimHero: "revit-image-scrim-hero";
560
+ readonly scrimDetail: "revit-image-scrim-detail";
561
+ readonly scrimFooter: "revit-image-scrim-footer";
562
+ };
563
+
564
+ type FrostPanelProps = HTMLAttributes<HTMLDivElement>;
565
+ declare const FrostPanel: ({ className, ...props }: FrostPanelProps) => react.JSX.Element;
566
+
567
+ type FrostNavProps = HTMLAttributes<HTMLElement> & {
568
+ isOnLight?: boolean;
569
+ };
570
+ declare const FrostNav: ({ className, isOnLight, ...props }: FrostNavProps) => react.JSX.Element;
571
+
572
+ type FrostTileProps = HTMLAttributes<HTMLDivElement>;
573
+ declare const FrostTile: ({ className, ...props }: FrostTileProps) => react.JSX.Element;
574
+
575
+ type FrostFabProps = HTMLAttributes<HTMLDivElement>;
576
+ declare const FrostFab: ({ className, ...props }: FrostFabProps) => react.JSX.Element;
577
+
578
+ type BrandGradientProps = HTMLAttributes<HTMLDivElement>;
579
+ declare const BrandGradient: ({ className, ...props }: BrandGradientProps) => react.JSX.Element;
580
+
581
+ declare const imageScrimVariants: (props?: ({
582
+ variant?: "footer" | "hero" | "detail" | null | undefined;
583
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
584
+ type ImageScrimProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof imageScrimVariants>;
585
+ declare const ImageScrim: ({ className, variant, ...props }: ImageScrimProps) => react.JSX.Element;
586
+
587
+ type SearchBarProps = {
588
+ className?: string;
589
+ placeholder?: string;
590
+ value?: string;
591
+ defaultValue?: string;
592
+ onValueChange?: (value: string) => void;
593
+ onSearch?: (value: string) => void;
594
+ submitLabel?: ReactNode;
595
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onSubmit'>;
596
+ declare const SearchBar: ({ className, placeholder, value, defaultValue, onValueChange, onSearch, submitLabel, ...props }: SearchBarProps) => react.JSX.Element;
597
+
598
+ type ConfirmDialogProps = {
599
+ trigger: ReactNode;
600
+ title: string;
601
+ description?: string;
602
+ confirmLabel?: string;
603
+ cancelLabel?: string;
604
+ onConfirm?: () => void;
605
+ };
606
+ declare const ConfirmDialog: ({ trigger, title, description, confirmLabel, cancelLabel, onConfirm, }: ConfirmDialogProps) => react.JSX.Element;
607
+
608
+ type CommandDialogProps = ComponentProps<typeof Dialog> & {
609
+ children: ComponentProps<typeof Command>['children'];
610
+ contentClassName?: string;
611
+ };
612
+ declare const CommandDialog: ({ children, contentClassName, ...props }: CommandDialogProps) => react.JSX.Element;
613
+
614
+ type PaginationBarProps = {
615
+ page: number;
616
+ pageCount: number;
617
+ onPageChange?: (page: number) => void;
618
+ className?: string;
619
+ } & Omit<ComponentProps<typeof Pagination>, 'children'>;
620
+ declare const PaginationBar: ({ page, pageCount, onPageChange, className, ...props }: PaginationBarProps) => react.JSX.Element;
621
+
622
+ declare const cn: (...inputs: ClassValue[]) => string;
623
+
624
+ type RevitUIProviderProps = {
625
+ tokens?: RevitThemeTokens;
626
+ children: ReactNode;
627
+ };
628
+ declare const RevitUIProvider: ({ tokens, children }: RevitUIProviderProps) => react.JSX.Element;
629
+
630
+ /**
631
+ * Flatten RevitThemeTokens into CSS custom properties.
632
+ *
633
+ * @example
634
+ * tokensToCssVars(revitTokens)
635
+ * // { '--revit-color-primary': '#FFE500', ... }
636
+ */
637
+
638
+ declare const tokensToCssVars: (tokens: RevitThemeTokens) => {
639
+ light: {
640
+ [x: string]: string;
641
+ };
642
+ dark: Record<string, string>;
643
+ };
644
+ declare const tokensToStylesheet: (tokens: RevitThemeTokens) => string;
645
+
646
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BrandGradient, Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, ConfirmDialog, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuTrigger, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerContent, DrawerDescription, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FrostFab, FrostNav, FrostPanel, FrostTile, HoverCard, HoverCardContent, HoverCardTrigger, ImageScrim, Input, InputOTP, InputOTPGroup, InputOTPSlot, type InputProps, Label, type LabelProps, Menubar, MenubarContent, MenubarItem, MenubarMenu, MenubarSeparator, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, PaginationBar, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RevitThemeTokens, RevitUIProvider, ScrollArea, ScrollBar, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarProvider, SidebarTrigger, Skeleton, Slider, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, badgeVariants, buttonVariants, cardVariants, cn, inputVariants, labelVariants, selectTriggerVariants, surfaces, textareaVariants, toggleVariants, tokensToCssVars, tokensToStylesheet, useFormField, useSidebar };