@hai3/uikit 0.1.0-alpha.2 → 0.1.0-alpha.4

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.
@@ -1,11 +1,13 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as React$1 from 'react';
2
3
  import React__default from 'react';
4
+ import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
3
5
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
4
6
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
7
  import { VariantProps } from 'class-variance-authority';
6
- import { ButtonVariant, ButtonSize, TextDirection, IconButtonSize } from '@hai3/uikit-contracts';
7
- export { ButtonSize, ButtonVariant, IconButtonSize } from '@hai3/uikit-contracts';
8
- import * as react_jsx_runtime from 'react/jsx-runtime';
8
+ import { ButtonVariant, ButtonSize, TextDirection, IconButtonSize, Theme } from '@hai3/uikit-contracts';
9
+ export { ButtonSize, ButtonVariant, IconButtonSize, Theme } from '@hai3/uikit-contracts';
10
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
9
11
  import * as SwitchPrimitives from '@radix-ui/react-switch';
10
12
  import * as SliderPrimitive from '@radix-ui/react-slider';
11
13
  import * as ProgressPrimitive from '@radix-ui/react-progress';
@@ -13,13 +15,22 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
13
15
  import * as PopoverPrimitive from '@radix-ui/react-popover';
14
16
  import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
15
17
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
18
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
19
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
16
20
  import * as SheetPrimitive from '@radix-ui/react-dialog';
21
+ import { Drawer as Drawer$1 } from 'vaul';
22
+ import * as ResizablePrimitive from 'react-resizable-panels';
23
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
24
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
17
25
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
18
26
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
19
27
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
20
28
  import * as SelectPrimitive from '@radix-ui/react-select';
21
29
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
22
30
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
31
+ export { Area, AreaChart, Bar, BarChart, Brush, CartesianGrid, Cell, Legend as ChartLegend, Tooltip as ChartTooltip, ComposedChart, Cross, Curve, Customized, Dot, ErrorBar, Funnel, FunnelChart, Label, LabelList, LegendProps, Line, LineChart, Pie, PieChart, PolarAngleAxis, PolarGrid, PolarRadiusAxis, Polygon, Radar, RadarChart, RadialBar, RadialBarChart, Rectangle, ReferenceArea, ReferenceDot, ReferenceLine, ResponsiveContainer, Sankey, Scatter, ScatterChart, Sector, Text, TooltipProps, Treemap, XAxis, YAxis, ZAxis } from 'recharts';
32
+
33
+ declare function AspectRatio({ ...props }: React$1.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
23
34
 
24
35
  declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
25
36
  declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
@@ -42,6 +53,8 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantPro
42
53
  }
43
54
  declare function Badge({ className, variant, asChild, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
44
55
 
56
+ declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
57
+
45
58
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
46
59
 
47
60
  interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
@@ -144,13 +157,65 @@ declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMe
144
157
  declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
145
158
  declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
146
159
 
160
+ declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
161
+ declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
162
+ declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
163
+ declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
164
+ asChild?: boolean;
165
+ }): react_jsx_runtime.JSX.Element;
166
+ declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
167
+ declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
168
+ declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
169
+
170
+ declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element;
171
+ declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
172
+ declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
173
+ declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
174
+ declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
175
+ declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
176
+ declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element;
177
+ declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
178
+ inset?: boolean;
179
+ variant?: "default" | "destructive";
180
+ }): react_jsx_runtime.JSX.Element;
181
+ declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
182
+ declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
183
+ declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
184
+ inset?: boolean;
185
+ }): react_jsx_runtime.JSX.Element;
186
+ declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element;
187
+ declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
188
+ declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
189
+ declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
190
+ inset?: boolean;
191
+ }): react_jsx_runtime.JSX.Element;
192
+ declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
193
+
194
+ declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
195
+ declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
196
+ declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
197
+ type PaginationLinkProps = {
198
+ isActive?: boolean;
199
+ size?: ButtonSize;
200
+ asChild?: boolean;
201
+ } & React$1.ComponentProps<"a">;
202
+ declare function PaginationLink({ className, isActive, size, asChild, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
203
+ declare function PaginationPrevious({ className, children, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
204
+ declare function PaginationNext({ className, children, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
205
+ declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
206
+
207
+ declare function Tabs({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
208
+ declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
209
+ declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
210
+ declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
211
+
147
212
  declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
148
213
  declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
149
214
  declare const SheetClose: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
150
215
  declare const SheetPortal: React$1.FC<SheetPrimitive.DialogPortalProps>;
151
216
  declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
152
217
  declare const sheetVariants: (props?: ({
153
- side?: "top" | "right" | "bottom" | "left" | null | undefined;
218
+ side?: "left" | "right" | "top" | "bottom" | null | undefined;
154
219
  } & class_variance_authority_types.ClassProp) | undefined) => string;
155
220
  interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
156
221
  }
@@ -183,6 +248,28 @@ declare const DialogFooter: {
183
248
  declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
184
249
  declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
185
250
 
251
+ declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
252
+ declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
253
+ declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
254
+ declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
255
+ declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
256
+ declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
257
+ declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
258
+ declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
259
+ declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
260
+ declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
261
+
262
+ declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
263
+ declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
264
+ declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
265
+ withHandle?: boolean;
266
+ }): react_jsx_runtime.JSX.Element;
267
+
268
+ declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
269
+ declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
270
+
271
+ declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
272
+
186
273
  declare const Accordion: React$1.ForwardRefExoticComponent<(Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & React$1.RefAttributes<HTMLDivElement>>;
187
274
  declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
188
275
  declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -208,6 +295,40 @@ declare const Collapsible: React$1.ForwardRefExoticComponent<Omit<CollapsiblePri
208
295
  declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
209
296
  declare const CollapsibleContent: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
210
297
 
298
+ interface ChartContainerProps {
299
+ className?: string;
300
+ children: React$1.ReactNode;
301
+ width?: string | number;
302
+ height?: string | number;
303
+ minWidth?: string | number;
304
+ minHeight?: string | number;
305
+ maxHeight?: string | number;
306
+ debounce?: number;
307
+ aspect?: number;
308
+ }
309
+ declare function ChartContainer({ className, children, width, height, }: ChartContainerProps): react_jsx_runtime.JSX.Element;
310
+ interface TooltipPayloadItem {
311
+ color?: string;
312
+ name?: string;
313
+ value?: string | number;
314
+ }
315
+ interface LegendPayloadItem {
316
+ color?: string;
317
+ value?: string;
318
+ }
319
+ interface ChartTooltipContentProps {
320
+ className?: string;
321
+ label?: string;
322
+ payload?: TooltipPayloadItem[];
323
+ active?: boolean;
324
+ }
325
+ declare function ChartTooltipContent({ className, label, payload, active, }: ChartTooltipContentProps): react_jsx_runtime.JSX.Element | null;
326
+ interface ChartLegendContentProps {
327
+ className?: string;
328
+ payload?: LegendPayloadItem[];
329
+ }
330
+ declare function ChartLegendContent({ className, payload, }: ChartLegendContentProps): react_jsx_runtime.JSX.Element | null;
331
+
211
332
  declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
212
333
  declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
213
334
  declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
@@ -228,21 +349,21 @@ declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuP
228
349
  declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
229
350
  declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
230
351
  declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
231
- inset?: boolean;
352
+ inset?: boolean | undefined;
232
353
  } & React$1.RefAttributes<HTMLDivElement>>;
233
354
  declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
234
- container?: HTMLElement | null;
355
+ container?: HTMLElement | null | undefined;
235
356
  } & React$1.RefAttributes<HTMLDivElement>>;
236
357
  declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
237
- container?: HTMLElement | null;
358
+ container?: HTMLElement | null | undefined;
238
359
  } & React$1.RefAttributes<HTMLDivElement>>;
239
360
  declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
240
- inset?: boolean;
361
+ inset?: boolean | undefined;
241
362
  } & React$1.RefAttributes<HTMLDivElement>>;
242
363
  declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
243
364
  declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
244
365
  declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
245
- inset?: boolean;
366
+ inset?: boolean | undefined;
246
367
  } & React$1.RefAttributes<HTMLDivElement>>;
247
368
  declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
248
369
  declare const DropdownMenuShortcut: {
@@ -298,15 +419,15 @@ interface DropdownButtonProps extends React__default.ButtonHTMLAttributes<HTMLBu
298
419
  declare const DropdownButton: React__default.ForwardRefExoticComponent<DropdownButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
299
420
 
300
421
  declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLElement> & React$1.HTMLAttributes<HTMLElement> & {
301
- collapsed?: boolean;
422
+ collapsed?: boolean | undefined;
302
423
  }, "ref"> & React$1.RefAttributes<HTMLElement>>;
303
424
  declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
304
425
  declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
305
426
  declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
306
427
  declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
307
- asChild?: boolean;
308
- isActive?: boolean;
309
- tooltip?: string;
428
+ asChild?: boolean | undefined;
429
+ isActive?: boolean | undefined;
430
+ tooltip?: string | undefined;
310
431
  } & VariantProps<(props?: ({
311
432
  variant?: "default" | "outline" | null | undefined;
312
433
  size?: "default" | "sm" | "lg" | null | undefined;
@@ -445,120 +566,6 @@ declare const CloseIcon: React__default.FC<{
445
566
  className?: string;
446
567
  }>;
447
568
 
448
- /**
449
- * Theme type definitions for HAI3
450
- */
451
- interface Theme {
452
- name: string;
453
- colors: {
454
- primary: string;
455
- secondary: string;
456
- accent: string;
457
- background: string;
458
- foreground: string;
459
- muted: string;
460
- border: string;
461
- error: string;
462
- warning: string;
463
- success: string;
464
- info: string;
465
- mainMenu: {
466
- DEFAULT: string;
467
- foreground: string;
468
- hover: string;
469
- selected: string;
470
- border: string;
471
- };
472
- chat: {
473
- leftMenu: {
474
- DEFAULT: string;
475
- foreground: string;
476
- hover: string;
477
- selected: string;
478
- border: string;
479
- };
480
- message: {
481
- user: {
482
- background: string;
483
- foreground: string;
484
- };
485
- assistant: {
486
- background: string;
487
- foreground: string;
488
- };
489
- };
490
- input: {
491
- background: string;
492
- foreground: string;
493
- border: string;
494
- };
495
- codeBlock: {
496
- background: string;
497
- foreground: string;
498
- border: string;
499
- headerBackground: string;
500
- };
501
- };
502
- };
503
- spacing: {
504
- xs: string;
505
- sm: string;
506
- md: string;
507
- lg: string;
508
- xl: string;
509
- '2xl': string;
510
- '3xl': string;
511
- };
512
- typography: {
513
- fontFamily: {
514
- sans: string[];
515
- mono: string[];
516
- };
517
- fontSize: {
518
- xs: string;
519
- sm: string;
520
- base: string;
521
- lg: string;
522
- xl: string;
523
- '2xl': string;
524
- '3xl': string;
525
- '4xl': string;
526
- '5xl': string;
527
- };
528
- fontWeight: {
529
- normal: string;
530
- medium: string;
531
- semibold: string;
532
- bold: string;
533
- };
534
- lineHeight: {
535
- tight: string;
536
- normal: string;
537
- relaxed: string;
538
- };
539
- };
540
- borderRadius: {
541
- none: string;
542
- sm: string;
543
- md: string;
544
- lg: string;
545
- xl: string;
546
- full: string;
547
- };
548
- shadows: {
549
- sm: string;
550
- md: string;
551
- lg: string;
552
- xl: string;
553
- };
554
- transitions: {
555
- fast: string;
556
- base: string;
557
- slow: string;
558
- slower: string;
559
- };
560
- }
561
-
562
569
  /**
563
570
  * Theme application utility
564
571
  * Generates CSS variables from theme objects dynamically
@@ -574,4 +581,4 @@ interface Theme {
574
581
  */
575
582
  declare const applyTheme: (theme: Theme, themeName?: string) => void;
576
583
 
577
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Button, type ButtonProps, CLOSE_ICON_ID, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChatInput, type ChatInputProps, type ChatThread, CloseIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Header, type HeaderProps, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, Input, MENU_ICON_ID, MenuIcon, MessageBubble, type MessageBubbleProps, MessageType, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarHeader, type SidebarHeaderProps, SidebarMenu, SidebarMenuButton, SidebarMenuIcon, SidebarMenuItem, SidebarMenuLabel, Skeleton, Slider, SliderRange, SliderThumb, SliderTrack, Spinner, type SpinnerProps, Switch, Textarea, type Theme, ThreadList, type ThreadListProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserInfo, type UserInfoProps, applyTheme, badgeVariants };
584
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CLOSE_ICON_ID, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegendContent, ChartTooltipContent, ChatInput, type ChatInputProps, type ChatThread, Checkbox, CloseIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Header, type HeaderProps, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, Input, MENU_ICON_ID, MenuIcon, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageBubble, type MessageBubbleProps, MessageType, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarHeader, type SidebarHeaderProps, SidebarMenu, SidebarMenuButton, SidebarMenuIcon, SidebarMenuItem, SidebarMenuLabel, Skeleton, Slider, SliderRange, SliderThumb, SliderTrack, Spinner, type SpinnerProps, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThreadList, type ThreadListProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserInfo, type UserInfoProps, applyTheme, badgeVariants };