@datawire-ai/busyfile-design-library 1.29.0 → 1.29.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.
@@ -0,0 +1,525 @@
1
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
+ import { ClassProp } from 'class-variance-authority/types';
4
+ import { ClassValue } from 'clsx';
5
+ import { ComponentProps } from 'react';
6
+ import { DateRange } from 'react-day-picker';
7
+ import { default as default_2 } from 'react';
8
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
9
+ import { HTMLAttributes } from 'react';
10
+ import { JSX } from 'react/jsx-runtime';
11
+ import { PropsWithChildren } from 'react';
12
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
13
+ import * as React_2 from 'react';
14
+ import { ReactNode } from 'react';
15
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
16
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
17
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
18
+ import { TooltipContent as TooltipContent_2 } from '@radix-ui/react-tooltip';
19
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
20
+ import { VariantProps } from 'class-variance-authority';
21
+
22
+ export declare function Avatar(props: AvatarProps): JSX.Element;
23
+
24
+ export declare function AvatarFallback({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Fallback>): JSX.Element;
25
+
26
+ export declare function AvatarImage({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Image>): JSX.Element;
27
+
28
+ declare type AvatarProps = PictureAvatarProps | InitialsAvatarProps | PlaceholderAvatarProps;
29
+
30
+ declare type AvatarSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
31
+
32
+ declare type AvatarStatus = 'Neutral' | 'Online' | 'Busy' | 'Away' | 'Offline';
33
+
34
+ export declare const Badge: React_2.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
35
+
36
+ export declare interface BadgeProps extends React_2.ComponentProps<'span'>, BadgeVariants {
37
+ asChild?: boolean;
38
+ }
39
+
40
+ declare type BadgeVariants = VariantProps<typeof badgeVariants>;
41
+
42
+ declare const badgeVariants: (props?: ({
43
+ variant?: "primary" | "neutral" | "warning" | "success" | "error" | "secondary" | null | undefined;
44
+ type?: "outline" | "filled" | null | undefined;
45
+ size?: "md" | null | undefined;
46
+ } & ClassProp) | undefined) => string;
47
+
48
+ declare interface BaseAvatarProps extends React_2.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> {
49
+ status?: AvatarStatus;
50
+ notification?: NotificationProps;
51
+ CTAIndicator?: boolean;
52
+ progress?: boolean;
53
+ className?: string;
54
+ }
55
+
56
+ export declare const BaseInput: ({ className, type, ...props }: React_2.ComponentProps<"input">) => JSX.Element;
57
+
58
+ declare interface BaseProgressIndicatorProps extends React.HTMLAttributes<HTMLDivElement> {
59
+ value?: number;
60
+ color?: string;
61
+ }
62
+
63
+ export declare function Breadcrumb({ ...props }: React_2.ComponentProps<'nav'>): JSX.Element;
64
+
65
+ export declare function BreadcrumbEllipsis({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
66
+
67
+ export declare function BreadcrumbItem({ className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
68
+
69
+ export declare function BreadcrumbLink({ asChild, className, ...props }: React_2.ComponentProps<'a'> & {
70
+ asChild?: boolean;
71
+ }): JSX.Element;
72
+
73
+ export declare function BreadcrumbList({ className, ...props }: React_2.ComponentProps<'ol'>): JSX.Element;
74
+
75
+ export declare function BreadcrumbPage({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
76
+
77
+ export declare function BreadcrumbSeparator({ children, className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
78
+
79
+ export declare function Button({ className, variant, size, asChild, children, ...props }: ButtonProps): JSX.Element;
80
+
81
+ declare interface ButtonProps extends ComponentProps<'button'>, ButtonVariantProps {
82
+ asChild?: boolean;
83
+ }
84
+
85
+ declare type ButtonVariantProps = VariantProps<typeof buttonVariants>;
86
+
87
+ declare const buttonVariants: (props?: ({
88
+ variant?: "default" | "primary" | "outline" | null | undefined;
89
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
90
+ } & ClassProp) | undefined) => string;
91
+
92
+ export declare function Card({ className, variant, asChild, children, ...props }: CardProps): JSX.Element;
93
+
94
+ declare interface CardProps extends HTMLAttributes<HTMLDivElement>, CardVariantProps {
95
+ asChild?: boolean;
96
+ }
97
+
98
+ declare type CardVariantProps = VariantProps<typeof cardVariants>;
99
+
100
+ declare const cardVariants: (props?: ({
101
+ variant?: "widget-1" | "widget-2" | null | undefined;
102
+ } & ClassProp) | undefined) => string;
103
+
104
+ export declare const Checkbox: {
105
+ ({ className, ...props }: default_2.ComponentProps<typeof CheckboxPrimitive.Root>): JSX.Element;
106
+ displayName: string;
107
+ };
108
+
109
+ declare interface CircularProgressIndicatorProps extends BaseProgressIndicatorProps {
110
+ variant: 'circular';
111
+ size?: number;
112
+ thickness?: number;
113
+ }
114
+
115
+ export declare function cn(...inputs: ClassValue[]): string;
116
+
117
+ export declare function DatePicker(props: DatePickerProps): JSX.Element;
118
+
119
+ declare type DatePickerProps = SingleDatePickerProps | RangeDatePickerProps;
120
+
121
+ export declare function Dialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
122
+
123
+ export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>): JSX.Element;
124
+
125
+ export declare function DialogContent({ className, children, showCloseButton, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
126
+ showCloseButton?: boolean;
127
+ }): JSX.Element;
128
+
129
+ export declare function DialogDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): JSX.Element;
130
+
131
+ export declare function DialogFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
132
+
133
+ export declare function DialogHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
134
+
135
+ export declare function DialogOverlay({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Overlay>): JSX.Element;
136
+
137
+ export declare function DialogPortal({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Portal>): JSX.Element;
138
+
139
+ export declare function DialogTitle({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Title>): JSX.Element;
140
+
141
+ export declare function DialogTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element;
142
+
143
+ export declare function Divider({ className, orientation, decorative, size, ...props }: DividerProps): JSX.Element;
144
+
145
+ export declare interface DividerProps extends React_2.ComponentProps<typeof SeparatorPrimitive.Root> {
146
+ size?: 1 | 2 | 3 | 4;
147
+ }
148
+
149
+ declare interface InitialsAvatarProps extends BaseAvatarProps {
150
+ type: 'initials';
151
+ initials: string;
152
+ src?: never;
153
+ size?: AvatarSize;
154
+ }
155
+
156
+ export declare const Input: ({ size, status, startSlot, endSlot, className, disabled, ...props }: InputProps) => JSX.Element;
157
+
158
+ export declare const InputLabel: ({ children, className, ...props }: InputLabelProps) => JSX.Element | null;
159
+
160
+ declare interface InputLabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
161
+ children: React.ReactNode;
162
+ }
163
+
164
+ declare interface InputProps extends Omit<React.ComponentProps<'input'>, 'size'>, InputVariantProps {
165
+ startSlot?: React.ReactNode;
166
+ endSlot?: React.ReactNode;
167
+ className?: string;
168
+ }
169
+
170
+ declare type InputVariantProps = VariantProps<typeof inputVariants>;
171
+
172
+ declare const inputVariants: (props?: ({
173
+ size?: "small" | "medium" | null | undefined;
174
+ status?: "default" | "disabled" | "error" | null | undefined;
175
+ } & ClassProp) | undefined) => string;
176
+
177
+ declare interface InputWithLabelProps extends Omit<React_2.InputHTMLAttributes<HTMLInputElement>, 'size'> {
178
+ label?: string;
179
+ helperText?: string;
180
+ errorText?: string;
181
+ startSlot?: React_2.ReactNode;
182
+ endSlot?: React_2.ReactNode;
183
+ status?: 'default' | 'error' | 'disabled';
184
+ size?: 'small' | 'medium';
185
+ }
186
+
187
+ declare interface LinearProgressIndicatorProps extends BaseProgressIndicatorProps {
188
+ variant: 'linear';
189
+ }
190
+
191
+ export declare const MultiSelect: ({ options, placeholder, disabled, error, helperText, value: controlledValue, onChange, }: MultiSelectProps) => JSX.Element;
192
+
193
+ declare type MultiSelectProps = {
194
+ multiple: true;
195
+ options: Options;
196
+ placeholder?: string;
197
+ disabled?: boolean;
198
+ error?: string;
199
+ helperText?: string;
200
+ value?: string[];
201
+ onChange?: (value: string[]) => void;
202
+ };
203
+
204
+ export declare function Navigation({ className, children, ...props }: NavigationProps): JSX.Element;
205
+
206
+ export declare function NavigationEnd({ children, className, }: {
207
+ children?: React.ReactNode;
208
+ className?: string;
209
+ }): JSX.Element;
210
+
211
+ declare interface NavigationProps extends PropsWithChildren, NavigationVariantProps, Omit<HTMLAttributes<HTMLElement>, 'children'> {
212
+ className?: string;
213
+ }
214
+
215
+ export declare function NavigationStart({ children, className, isCollapsed, onToggleCollapse, logo, logoAlt, }: NavigationStartProps): JSX.Element;
216
+
217
+ declare interface NavigationStartProps extends PropsWithChildren {
218
+ isCollapsed: boolean;
219
+ onToggleCollapse: () => void;
220
+ logo: string;
221
+ logoAlt: string;
222
+ className?: string;
223
+ }
224
+
225
+ declare type NavigationVariantProps = VariantProps<typeof navigationVariants>;
226
+
227
+ declare const navigationVariants: (props?: ClassProp | undefined) => string;
228
+
229
+ declare interface NotificationBodyProps extends PropsWithChildren {
230
+ className?: string;
231
+ }
232
+
233
+ declare function NotificationCard({ children, iconClassName, heading, description, timestamp, className, read, }: NotificationCardProps): JSX.Element;
234
+
235
+ declare interface NotificationCardProps extends PropsWithChildren {
236
+ iconClassName?: string;
237
+ heading: string;
238
+ description: string;
239
+ timestamp: string;
240
+ className?: string;
241
+ read?: boolean;
242
+ }
243
+
244
+ export declare const NotificationContent: {
245
+ Root: typeof NotificationContentRoot;
246
+ Header: typeof NotificationHeader;
247
+ Body: typeof NotificationsBody;
248
+ Card: typeof NotificationCard;
249
+ };
250
+
251
+ export declare function NotificationContentRoot({ children }: PropsWithChildren): JSX.Element;
252
+
253
+ declare function NotificationHeader({ children }: PropsWithChildren): JSX.Element;
254
+
255
+ declare interface NotificationProps {
256
+ value: number;
257
+ priority: 'low' | 'mid' | 'high';
258
+ }
259
+
260
+ declare function NotificationsBody({ children, className }: NotificationBodyProps): JSX.Element;
261
+
262
+ declare type Option_2 = {
263
+ kind: 'option';
264
+ label: string;
265
+ value: string;
266
+ disabled?: boolean;
267
+ };
268
+
269
+ declare type OptionGroup = {
270
+ kind: 'group';
271
+ label: string;
272
+ options: Option_2[];
273
+ };
274
+
275
+ declare type Options = Option_2[] | OptionGroup[];
276
+
277
+ export declare function Page404({ className, title, description, backButtonText, href, }: Page404Props): JSX.Element;
278
+
279
+ declare interface Page404Props {
280
+ className?: string;
281
+ title?: string;
282
+ description?: string;
283
+ backButtonText?: string;
284
+ href?: string;
285
+ }
286
+
287
+ export declare const PasswordInput: ({ showForgot, onValidityChange, customValidator, ...props }: PasswordInputProps) => JSX.Element;
288
+
289
+ declare interface PasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
290
+ showForgot?: boolean;
291
+ onValidityChange?: (isValid: boolean, requirements: Requirement[]) => void;
292
+ customValidator?: (value: string) => Requirement[];
293
+ }
294
+
295
+ declare interface PictureAvatarProps extends BaseAvatarProps {
296
+ type: 'picture';
297
+ src?: string;
298
+ size: AvatarSize;
299
+ initials?: never;
300
+ }
301
+
302
+ export declare const Placeholder: ({ variant, width, height, iconSize, className, ...props }: PlaceholderProps) => JSX.Element;
303
+
304
+ declare interface PlaceholderAvatarProps extends BaseAvatarProps {
305
+ type: 'placeholder';
306
+ src?: never;
307
+ initials?: never;
308
+ size?: AvatarSize;
309
+ }
310
+
311
+ declare interface PlaceholderProps extends React.HTMLAttributes<HTMLDivElement> {
312
+ variant?: PlaceholderVariant;
313
+ width?: number | string;
314
+ height?: number | string;
315
+ iconSize?: number;
316
+ }
317
+
318
+ declare type PlaceholderVariant = 'image' | 'video' | 'pieChart' | 'icon';
319
+
320
+ export declare const ProgressIndicator: React_2.ForwardRefExoticComponent<ProgressIndicatorProps & React_2.RefAttributes<HTMLDivElement>>;
321
+
322
+ declare type ProgressIndicatorProps = LinearProgressIndicatorProps | CircularProgressIndicatorProps;
323
+
324
+ export declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
325
+
326
+ export declare const RadioGroupItem: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & {
327
+ children?: React_2.ReactNode;
328
+ } & React_2.RefAttributes<HTMLButtonElement>>;
329
+
330
+ declare interface RangeDatePickerProps {
331
+ mode: 'range';
332
+ date: DateRange | undefined;
333
+ setDate: (date: DateRange | undefined) => void;
334
+ }
335
+
336
+ declare interface Requirement {
337
+ label: string;
338
+ isValid: boolean;
339
+ }
340
+
341
+ export declare const SearchInput: (props: InputWithLabelProps) => JSX.Element;
342
+
343
+ export declare function SelectOption(props: SelectProps): JSX.Element;
344
+
345
+ declare type SelectProps = SingleSelectProps | MultiSelectProps;
346
+
347
+ export declare const Sidebar: ({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<"div"> & {
348
+ side?: "left" | "right";
349
+ variant?: "sidebar" | "floating" | "inset";
350
+ collapsible?: "offcanvas" | "icon" | "none";
351
+ }) => JSX.Element;
352
+
353
+ export declare const SidebarContent: ({ className, ...props }: React_2.ComponentProps<"div">) => JSX.Element;
354
+
355
+ declare type SidebarContextProps = {
356
+ state: 'expanded' | 'collapsed';
357
+ open: boolean;
358
+ setOpen: (open: boolean) => void;
359
+ openMobile: boolean;
360
+ setOpenMobile: (open: boolean) => void;
361
+ isMobile: boolean;
362
+ toggleSidebar: () => void;
363
+ };
364
+
365
+ export declare const SidebarFooter: ({ className, ...props }: React_2.ComponentProps<"div">) => JSX.Element;
366
+
367
+ export declare const SidebarGroup: ({ className, ...props }: React_2.ComponentProps<"div">) => JSX.Element;
368
+
369
+ export declare const SidebarGroupAction: ({ className, asChild, ...props }: React_2.ComponentProps<"button"> & {
370
+ asChild?: boolean;
371
+ }) => JSX.Element;
372
+
373
+ export declare const SidebarGroupContent: ({ className, ...props }: React_2.ComponentProps<"div">) => JSX.Element;
374
+
375
+ export declare const SidebarGroupLabel: ({ className, asChild, ...props }: React_2.ComponentProps<"div"> & {
376
+ asChild?: boolean;
377
+ }) => JSX.Element;
378
+
379
+ export declare const SidebarHeader: ({ className, ...props }: React_2.ComponentProps<"div">) => JSX.Element;
380
+
381
+ export declare const SidebarInset: ({ className, ...props }: React_2.ComponentProps<"main">) => JSX.Element;
382
+
383
+ export declare const SidebarMenu: ({ className, ...props }: React_2.ComponentProps<"ul">) => JSX.Element;
384
+
385
+ export declare const SidebarMenuAction: ({ className, asChild, showOnHover, ...props }: React_2.ComponentProps<"button"> & {
386
+ asChild?: boolean;
387
+ showOnHover?: boolean;
388
+ }) => JSX.Element;
389
+
390
+ export declare const SidebarMenuBadge: ({ className, ...props }: React_2.ComponentProps<"div">) => JSX.Element;
391
+
392
+ export declare const SidebarMenuButton: ({ asChild, isActive, variant, size, tooltip, className, ...props }: React_2.ComponentProps<"button"> & {
393
+ asChild?: boolean;
394
+ isActive?: boolean;
395
+ tooltip?: string | React_2.ComponentProps<typeof TooltipContent_2>;
396
+ } & VariantProps<typeof sidebarMenuButtonVariants>) => JSX.Element;
397
+
398
+ declare const sidebarMenuButtonVariants: (props?: ({
399
+ variant?: "default" | "outline" | null | undefined;
400
+ size?: "default" | "sm" | "lg" | null | undefined;
401
+ } & ClassProp) | undefined) => string;
402
+
403
+ export declare const SidebarMenuItem: ({ className, ...props }: React_2.ComponentProps<"li">) => JSX.Element;
404
+
405
+ export declare const SidebarMenuSkeleton: ({ className, showIcon, ...props }: React_2.ComponentProps<"div"> & {
406
+ showIcon?: boolean;
407
+ }) => JSX.Element;
408
+
409
+ export declare const SidebarMenuSub: ({ className, ...props }: React_2.ComponentProps<"ul">) => JSX.Element;
410
+
411
+ export declare const SidebarMenuSubButton: ({ asChild, size, isActive, className, ...props }: React_2.ComponentProps<"a"> & {
412
+ asChild?: boolean;
413
+ size?: "sm" | "md";
414
+ isActive?: boolean;
415
+ }) => JSX.Element;
416
+
417
+ export declare const SidebarMenuSubItem: ({ className, ...props }: React_2.ComponentProps<"li">) => JSX.Element;
418
+
419
+ export declare const SidebarProvider: ({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<"div"> & {
420
+ defaultOpen?: boolean;
421
+ open?: boolean;
422
+ onOpenChange?: (open: boolean) => void;
423
+ }) => JSX.Element;
424
+
425
+ export declare const SidebarRail: ({ className, ...props }: React_2.ComponentProps<"button">) => JSX.Element;
426
+
427
+ export declare const SidebarSeparator: ({ className, ...props }: React_2.ComponentProps<typeof Divider>) => JSX.Element;
428
+
429
+ export declare const SidebarTrigger: ({ className, onClick, ...props }: React_2.ComponentProps<typeof Button>) => JSX.Element;
430
+
431
+ declare interface SingleDatePickerProps {
432
+ mode: 'single';
433
+ date: Date | undefined;
434
+ setDate: (date: Date | undefined) => void;
435
+ }
436
+
437
+ export declare const SingleSelect: ({ options, placeholder, disabled, error, helperText, value: controlledValue, onChange, }: SingleSelectProps) => JSX.Element;
438
+
439
+ declare type SingleSelectProps = {
440
+ multiple?: false;
441
+ options: Options;
442
+ placeholder?: string;
443
+ disabled?: boolean;
444
+ error?: string;
445
+ helperText?: string;
446
+ value?: string;
447
+ onChange?: (value: string) => void;
448
+ };
449
+
450
+ export declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): JSX.Element;
451
+
452
+ export declare function Table({ className, ...props }: React_2.ComponentProps<'table'>): JSX.Element;
453
+
454
+ export declare function TableBody({ className, ...props }: React_2.ComponentProps<'tbody'>): JSX.Element;
455
+
456
+ export declare function TableCaption({ className, ...props }: React_2.ComponentProps<'caption'>): JSX.Element;
457
+
458
+ export declare function TableCell({ className, ...props }: React_2.ComponentProps<'td'>): JSX.Element;
459
+
460
+ export declare function TableFooter({ className, ...props }: React_2.ComponentProps<'tfoot'>): JSX.Element;
461
+
462
+ export declare function TableHead({ className, ...props }: React_2.ComponentProps<'th'>): JSX.Element;
463
+
464
+ export declare function TableHeader({ className, ...props }: React_2.ComponentProps<'thead'>): JSX.Element;
465
+
466
+ export declare function TableRow({ className, ...props }: React_2.ComponentProps<'tr'>): JSX.Element;
467
+
468
+ export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Root>): JSX.Element;
469
+
470
+ export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Content>): JSX.Element;
471
+
472
+ export declare function TabsList({ className, variant, ...props }: TabsListProps): JSX.Element;
473
+
474
+ declare interface TabsListProps extends React_2.ComponentProps<typeof TabsPrimitive.TabsList> {
475
+ variant?: TabsListVariants['variant'];
476
+ }
477
+
478
+ declare type TabsListVariants = VariantProps<typeof tabsListVariants>;
479
+
480
+ declare const tabsListVariants: (props?: ({
481
+ variant?: "none" | "badge" | null | undefined;
482
+ } & ClassProp) | undefined) => string;
483
+
484
+ export declare function TabsTrigger({ className, variant, ...props }: TabsTriggerProps): JSX.Element;
485
+
486
+ declare interface TabsTriggerProps extends React_2.ComponentProps<typeof TabsPrimitive.Trigger> {
487
+ variant?: TabsTriggerVariants['variant'];
488
+ }
489
+
490
+ declare type TabsTriggerVariants = VariantProps<typeof tabsTriggerVariants>;
491
+
492
+ declare const tabsTriggerVariants: (props?: ({
493
+ variant?: "badge" | "underline" | null | undefined;
494
+ } & ClassProp) | undefined) => string;
495
+
496
+ export declare function Timeline({ items, variant, className, }: TimelineProps): JSX.Element;
497
+
498
+ declare interface TimelineItem {
499
+ id: string;
500
+ title?: string;
501
+ description?: string;
502
+ content?: ReactNode;
503
+ icon?: ReactNode;
504
+ notVisited?: boolean;
505
+ }
506
+
507
+ declare interface TimelineProps {
508
+ items: TimelineItem[];
509
+ variant?: 'filled' | 'outlined' | 'icon';
510
+ className?: string;
511
+ }
512
+
513
+ export declare function Toggle({ className, ...props }: React_2.ComponentProps<typeof SwitchPrimitive.Root>): JSX.Element;
514
+
515
+ export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;
516
+
517
+ export declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Content>): JSX.Element;
518
+
519
+ export declare function TooltipProvider({ delayDuration, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Provider>): JSX.Element;
520
+
521
+ export declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Trigger>): JSX.Element;
522
+
523
+ export declare function useSidebar(): SidebarContextProps;
524
+
525
+ export { }
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@datawire-ai/busyfile-design-library",
3
- "version": "1.29.0",
3
+ "version": "1.29.1",
4
4
  "description": "Design system for busyfile",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "main": "dist/index.umd.cjs",
8
8
  "module": "dist/index.js",
9
- "types": "dist/index.d.ts",
9
+ "types": "dist/types/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
12
  "import": "./dist/index.js",
13
13
  "require": "./dist/index.umd.cjs",
14
- "types": "./dist/index.d.ts"
14
+ "types": "./dist/types/index.d.ts"
15
15
  },
16
16
  "./theme.css": "./dist/theme.css"
17
17
  },
@@ -94,6 +94,7 @@
94
94
  "typescript": "^5",
95
95
  "typescript-eslint": "^8.45.0",
96
96
  "vite": "^5.4.10",
97
+ "vite-plugin-dts": "^4.5.4",
97
98
  "vite-plugin-static-copy": "^3.1.3",
98
99
  "vitest": "^3.2.4"
99
100
  },