@medway-ui/core 1.4.1 → 1.5.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.
@@ -305,6 +305,11 @@
305
305
  --color-input: var(--color-gray-100);
306
306
  --color-ring: var(--color-gray-150);
307
307
 
308
+ /* === Base content colors === */
309
+ --color-content-title: var(--color-primary);
310
+ --color-content-paragraph: var(--color-gray-600);
311
+ --color-content-link: var(--color-secondary-darken-2);
312
+
308
313
  /* === Base surfacecolors === */
309
314
  --color-surface-elevated: var(--color-white);
310
315
  --color-surface-card: var(--color-white);
@@ -516,7 +521,7 @@
516
521
  --text-xxs: 10px;
517
522
  --text-xs: 12px;
518
523
  --text-sm: 14px;
519
- --text-base: 16px;
524
+ --text-md: 16px;
520
525
  --text-lg: 18px;
521
526
  --text-title-xs: 20px;
522
527
  --text-title-sm: 24px;
@@ -579,6 +584,11 @@
579
584
  --color-input: var(--color-gray-600);
580
585
  --color-ring: var(--color-gray-500);
581
586
 
587
+ /* === Base content colors === */
588
+ --color-content-title: var(--color-white);
589
+ --color-content-paragraph: var(--color-gray-150);
590
+ --color-content-link: var(--color-secondary);
591
+
582
592
  /* === Dark surface colors === */
583
593
  --color-surface-elevated: var(--color-gray-800);
584
594
  --color-surface-card: var(--color-gray-850);
@@ -9,6 +9,11 @@ export const colors = {
9
9
  ring: "var(--color-ring)",
10
10
  input: "var(--color-input)",
11
11
  border: "var(--color-border)",
12
+ content: {
13
+ title: "var(--color-content-title)",
14
+ paragraph: "var(--color-content-paragraph)",
15
+ link: "var(--color-content-link)",
16
+ },
12
17
  surface: {
13
18
  elevated: "var(--color-surface-elevated)",
14
19
  card: "var(--color-surface-card)",
@@ -492,7 +497,7 @@ export const fontSize = {
492
497
  xxs: "var(--text-xxs)",
493
498
  xs: "var(--text-xs)",
494
499
  sm: "var(--text-sm)",
495
- base: "var(--text-base)",
500
+ md: "var(--text-md)",
496
501
  lg: "var(--text-lg)",
497
502
  xl: "var(--text-xl)",
498
503
  "title-xs": "var(--text-title-xs)",
@@ -578,6 +583,22 @@ export const boxShadow = {
578
583
  };
579
584
 
580
585
  export const keyframes = {
586
+ "accordion-down": {
587
+ from: {
588
+ height: "0",
589
+ },
590
+ to: {
591
+ height: "var(--radix-accordion-content-height)",
592
+ },
593
+ },
594
+ "accordion-up": {
595
+ from: {
596
+ height: "var(--radix-accordion-content-height)",
597
+ },
598
+ to: {
599
+ height: "0",
600
+ },
601
+ },
581
602
  "collapsible-down": {
582
603
  from: {
583
604
  height: "0",
@@ -594,9 +615,29 @@ export const keyframes = {
594
615
  height: "0",
595
616
  },
596
617
  },
618
+ "fade-in": {
619
+ from: {
620
+ opacity: "0",
621
+ },
622
+ to: {
623
+ opacity: "1",
624
+ },
625
+ },
626
+ "fade-out": {
627
+ from: {
628
+ opacity: "1",
629
+ },
630
+ to: {
631
+ opacity: "0",
632
+ },
633
+ },
597
634
  };
598
635
 
599
636
  export const animation = {
637
+ "accordion-down": "accordion-down 0.2s ease-out",
638
+ "accordion-up": "accordion-up 0.2s ease-out",
600
639
  "collapsible-down": "collapsible-down 0.2s ease-out",
601
640
  "collapsible-up": "collapsible-up 0.2s ease-out",
641
+ "fade-in": "fade-in 0.2s ease-out",
642
+ "fade-out": "fade-out 0.2s ease-out",
602
643
  };
package/dist/index.d.mts CHANGED
@@ -2,8 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
- import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
6
- import { Avatar as Avatar$1, Collapsible as Collapsible$1, DropdownMenu as DropdownMenu$1, ScrollArea as ScrollArea$1, Tabs, Separator as Separator$1, Dialog, Tooltip as Tooltip$1 } from 'radix-ui';
5
+ import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Collapsible as Collapsible$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, ScrollArea as ScrollArea$1, Tabs, Separator as Separator$1, Tooltip as Tooltip$1 } from 'radix-ui';
7
6
 
8
7
  interface AlertProps extends React.ComponentProps<"div"> {
9
8
  variant?: "regular" | "emphasis" | "success" | "warning" | "error";
@@ -26,17 +25,17 @@ interface AlertButtonProps extends React.ComponentProps<"button">, VariantProps<
26
25
  }
27
26
  declare function AlertButton({ className, variant, ...props }: AlertButtonProps): react_jsx_runtime.JSX.Element;
28
27
 
29
- declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
30
- declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
31
- declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
32
- declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
33
- declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
28
+ declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime.JSX.Element;
29
+ declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime.JSX.Element;
30
+ declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime.JSX.Element;
31
+ declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime.JSX.Element;
32
+ declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime.JSX.Element;
34
33
  declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
35
34
  declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
36
- declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
37
- declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
38
- declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
39
- declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
35
+ declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
36
+ declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
37
+ declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime.JSX.Element;
38
+ declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime.JSX.Element;
40
39
 
41
40
  declare const avatarVariants: (props?: ({
42
41
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
@@ -75,16 +74,38 @@ declare const buttonVariants: (props?: ({
75
74
  } & class_variance_authority_types.ClassProp) | undefined) => string;
76
75
  declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
77
76
 
78
- interface CollapsibleProps extends React.ComponentProps<typeof Collapsible$1.Root> {
79
- animated?: boolean;
80
- }
81
- declare function Collapsible({ animated, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
82
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
77
+ type AnimationType = "accordion" | "fade";
83
78
  interface CollapsibleContentProps extends React.ComponentProps<typeof Collapsible$1.Content> {
84
79
  className?: string;
85
80
  }
81
+ interface CollapsibleProps extends React.ComponentProps<typeof Collapsible$1.Root> {
82
+ animation?: AnimationType;
83
+ }
84
+ declare function Collapsible({ animation, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
85
+ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
86
86
  declare function CollapsibleContent({ className, ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
87
87
 
88
+ declare function Dialog({ ...props }: React.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
89
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
90
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
91
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
92
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
93
+ declare function DialogContainer({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof Dialog$1.Content> & {
94
+ showCloseButton?: boolean;
95
+ }): react_jsx_runtime.JSX.Element;
96
+ declare function DialogContent({ className, children, }: {
97
+ className?: string;
98
+ children: React.ReactNode;
99
+ }): react_jsx_runtime.JSX.Element;
100
+ declare function DialogHeader({ className, separator, ...props }: React.ComponentProps<"div"> & {
101
+ separator?: boolean;
102
+ }): react_jsx_runtime.JSX.Element;
103
+ declare function DialogFooter({ className, separator, ...props }: React.ComponentProps<"div"> & {
104
+ separator?: boolean;
105
+ }): react_jsx_runtime.JSX.Element;
106
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
107
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
108
+
88
109
  declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
89
110
  declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
90
111
  declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
@@ -182,9 +203,11 @@ declare function SegmentControlContent({ className, ...props }: React.ComponentP
182
203
 
183
204
  declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
184
205
 
185
- declare function Sheet({ ...props }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime.JSX.Element;
206
+ declare function Sheet({ ...props }: React.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
186
207
 
208
+ declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
187
209
  declare function Tooltip({ ...props }: React.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
210
+ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
188
211
  declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
189
212
 
190
213
  type SidebarContextProps = {
@@ -346,4 +369,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
346
369
 
347
370
  declare function useIsMobile(): boolean;
348
371
 
349
- export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Collapsible, CollapsibleContent, CollapsibleTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Loading, Logo, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, SegmentControlTrigger, Separator, Sheet, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switcher, SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, badgeVariants, buttonVariants, tagVariants, useIsMobile, useSidebar };
372
+ export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Loading, Logo, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, SegmentControlTrigger, Separator, Sheet, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switcher, SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tagVariants, useIsMobile, useSidebar };
package/dist/index.d.ts CHANGED
@@ -2,8 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
- import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
6
- import { Avatar as Avatar$1, Collapsible as Collapsible$1, DropdownMenu as DropdownMenu$1, ScrollArea as ScrollArea$1, Tabs, Separator as Separator$1, Dialog, Tooltip as Tooltip$1 } from 'radix-ui';
5
+ import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Collapsible as Collapsible$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, ScrollArea as ScrollArea$1, Tabs, Separator as Separator$1, Tooltip as Tooltip$1 } from 'radix-ui';
7
6
 
8
7
  interface AlertProps extends React.ComponentProps<"div"> {
9
8
  variant?: "regular" | "emphasis" | "success" | "warning" | "error";
@@ -26,17 +25,17 @@ interface AlertButtonProps extends React.ComponentProps<"button">, VariantProps<
26
25
  }
27
26
  declare function AlertButton({ className, variant, ...props }: AlertButtonProps): react_jsx_runtime.JSX.Element;
28
27
 
29
- declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
30
- declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
31
- declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
32
- declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
33
- declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
28
+ declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime.JSX.Element;
29
+ declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime.JSX.Element;
30
+ declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime.JSX.Element;
31
+ declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime.JSX.Element;
32
+ declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime.JSX.Element;
34
33
  declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
35
34
  declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
36
- declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
37
- declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
38
- declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
39
- declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
35
+ declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
36
+ declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
37
+ declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime.JSX.Element;
38
+ declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime.JSX.Element;
40
39
 
41
40
  declare const avatarVariants: (props?: ({
42
41
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
@@ -75,16 +74,38 @@ declare const buttonVariants: (props?: ({
75
74
  } & class_variance_authority_types.ClassProp) | undefined) => string;
76
75
  declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
77
76
 
78
- interface CollapsibleProps extends React.ComponentProps<typeof Collapsible$1.Root> {
79
- animated?: boolean;
80
- }
81
- declare function Collapsible({ animated, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
82
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
77
+ type AnimationType = "accordion" | "fade";
83
78
  interface CollapsibleContentProps extends React.ComponentProps<typeof Collapsible$1.Content> {
84
79
  className?: string;
85
80
  }
81
+ interface CollapsibleProps extends React.ComponentProps<typeof Collapsible$1.Root> {
82
+ animation?: AnimationType;
83
+ }
84
+ declare function Collapsible({ animation, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
85
+ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
86
86
  declare function CollapsibleContent({ className, ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
87
87
 
88
+ declare function Dialog({ ...props }: React.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
89
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
90
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
91
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
92
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
93
+ declare function DialogContainer({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof Dialog$1.Content> & {
94
+ showCloseButton?: boolean;
95
+ }): react_jsx_runtime.JSX.Element;
96
+ declare function DialogContent({ className, children, }: {
97
+ className?: string;
98
+ children: React.ReactNode;
99
+ }): react_jsx_runtime.JSX.Element;
100
+ declare function DialogHeader({ className, separator, ...props }: React.ComponentProps<"div"> & {
101
+ separator?: boolean;
102
+ }): react_jsx_runtime.JSX.Element;
103
+ declare function DialogFooter({ className, separator, ...props }: React.ComponentProps<"div"> & {
104
+ separator?: boolean;
105
+ }): react_jsx_runtime.JSX.Element;
106
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
107
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
108
+
88
109
  declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
89
110
  declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
90
111
  declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
@@ -182,9 +203,11 @@ declare function SegmentControlContent({ className, ...props }: React.ComponentP
182
203
 
183
204
  declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
184
205
 
185
- declare function Sheet({ ...props }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime.JSX.Element;
206
+ declare function Sheet({ ...props }: React.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
186
207
 
208
+ declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
187
209
  declare function Tooltip({ ...props }: React.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
210
+ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
188
211
  declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
189
212
 
190
213
  type SidebarContextProps = {
@@ -346,4 +369,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
346
369
 
347
370
  declare function useIsMobile(): boolean;
348
371
 
349
- export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Collapsible, CollapsibleContent, CollapsibleTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Loading, Logo, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, SegmentControlTrigger, Separator, Sheet, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switcher, SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, badgeVariants, buttonVariants, tagVariants, useIsMobile, useSidebar };
372
+ export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Loading, Logo, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, SegmentControlTrigger, Separator, Sheet, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switcher, SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tagVariants, useIsMobile, useSidebar };