@saasflare/ui 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -30
- package/dist/{button-B2DR7obe.d.mts → button-DUQJ0X7e.d.mts} +0 -23
- package/dist/{button-B2DR7obe.d.ts → button-DUQJ0X7e.d.ts} +0 -23
- package/dist/chunk-7UGPCRZ6.mjs +130 -0
- package/dist/chunk-CWW36RYE.js +59 -0
- package/dist/chunk-JOVJRQO3.js +0 -1
- package/dist/{chunk-TU6BBAA7.js → chunk-OYH6LQWR.js} +33 -65
- package/dist/{chunk-OT4ZNLTB.mjs → chunk-QWLQV6FS.mjs} +2 -24
- package/dist/chunk-S26666D6.mjs +0 -1
- package/dist/chunk-VQQ6MF5I.js +161 -0
- package/dist/chunk-W53NTFPB.mjs +28 -0
- package/dist/dialog-CwyBJeNl.d.mts +22 -0
- package/dist/dialog-CwyBJeNl.d.ts +22 -0
- package/dist/entries/calendar.d.mts +13 -0
- package/dist/entries/calendar.d.ts +13 -0
- package/dist/entries/calendar.js +211 -0
- package/dist/entries/calendar.mjs +188 -0
- package/dist/entries/carousel.d.mts +1 -1
- package/dist/entries/carousel.d.ts +1 -1
- package/dist/entries/carousel.js +4 -3
- package/dist/entries/carousel.mjs +2 -1
- package/dist/entries/command.d.mts +21 -0
- package/dist/entries/command.d.ts +21 -0
- package/dist/entries/command.js +172 -0
- package/dist/entries/command.mjs +162 -0
- package/dist/entries/drawer.d.mts +16 -0
- package/dist/entries/drawer.d.ts +16 -0
- package/dist/entries/drawer.js +124 -0
- package/dist/entries/drawer.mjs +113 -0
- package/dist/entries/input-otp.d.mts +14 -0
- package/dist/entries/input-otp.d.ts +14 -0
- package/dist/entries/input-otp.js +89 -0
- package/dist/entries/input-otp.mjs +64 -0
- package/dist/entries/resizable.d.mts +10 -0
- package/dist/entries/resizable.d.ts +10 -0
- package/dist/entries/resizable.js +69 -0
- package/dist/entries/resizable.mjs +45 -0
- package/dist/index.d.mts +12 -103
- package/dist/index.d.ts +12 -103
- package/dist/index.js +1265 -832
- package/dist/index.mjs +1172 -740
- package/package.json +36 -12
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
-
import { P as Palette, S as Surface, R as RadiusProp, a as StyleVariant, b as Radius, I as Intent, B as Button, c as SaasflareComponentProps } from './button-
|
|
3
|
-
export { d as ButtonProps, C as CustomPalette, e as PALETTES, f as PaletteId, g as RADII, h as ResolvedSaasflareProps, i as STYLES, j as buttonVariants, u as useSaasflareProps } from './button-
|
|
2
|
+
import { P as Palette, S as Surface, R as RadiusProp, a as StyleVariant, b as Radius, I as Intent, B as Button, c as SaasflareComponentProps } from './button-DUQJ0X7e.mjs';
|
|
3
|
+
export { d as ButtonProps, C as CustomPalette, e as PALETTES, f as PaletteId, g as RADII, h as ResolvedSaasflareProps, i as STYLES, j as buttonVariants, u as useSaasflareProps } from './button-DUQJ0X7e.mjs';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import { ReactNode, JSX } from 'react';
|
|
7
|
-
|
|
7
|
+
export { D as Dialog, a as DialogClose, b as DialogContent, c as DialogDescription, d as DialogFooter, e as DialogHeader, f as DialogOverlay, g as DialogPortal, h as DialogTitle, i as DialogTrigger } from './dialog-CwyBJeNl.mjs';
|
|
8
8
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
9
9
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
10
10
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -18,7 +18,7 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
|
18
18
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
19
19
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
20
20
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
21
|
-
import
|
|
21
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
22
22
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
23
23
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
24
24
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
@@ -26,21 +26,18 @@ import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
|
26
26
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
27
27
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
28
28
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
29
|
-
import { DayPicker, DayButton } from 'react-day-picker';
|
|
30
29
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
31
30
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
32
31
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
33
32
|
import { ToasterProps } from 'sonner';
|
|
34
33
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
35
34
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
36
|
-
import { Command
|
|
35
|
+
import { Command } from 'cmdk';
|
|
37
36
|
import * as Direction from '@radix-ui/react-direction';
|
|
38
37
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
39
38
|
import * as react_hook_form from 'react-hook-form';
|
|
40
39
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
41
40
|
import * as Slot from '@radix-ui/react-slot';
|
|
42
|
-
import { OTPInput } from 'input-otp';
|
|
43
|
-
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
44
41
|
|
|
45
42
|
/**
|
|
46
43
|
* @fileoverview Core utility functions for the Saasflare design system.
|
|
@@ -64,19 +61,6 @@ import * as ResizablePrimitive from 'react-resizable-panels';
|
|
|
64
61
|
*/
|
|
65
62
|
declare function cn(...inputs: ClassValue[]): string;
|
|
66
63
|
|
|
67
|
-
/**
|
|
68
|
-
* @fileoverview Hook to detect mobile viewport via media query.
|
|
69
|
-
* @module packages/core/hooks/use-mobile
|
|
70
|
-
* @layer core
|
|
71
|
-
*
|
|
72
|
-
* Uses `matchMedia` to reactively track whether the viewport width
|
|
73
|
-
* is below the mobile breakpoint (768px).
|
|
74
|
-
*
|
|
75
|
-
* @example
|
|
76
|
-
* const isMobile = useIsMobile();
|
|
77
|
-
* if (isMobile) return <MobileNav />;
|
|
78
|
-
* return <DesktopNav />;
|
|
79
|
-
*/
|
|
80
64
|
/**
|
|
81
65
|
* Returns `true` when the viewport width is below 768px.
|
|
82
66
|
*
|
|
@@ -88,19 +72,6 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
88
72
|
*/
|
|
89
73
|
declare function useIsMobile(): boolean;
|
|
90
74
|
|
|
91
|
-
/**
|
|
92
|
-
* @fileoverview Hook to detect user's reduced-motion preference.
|
|
93
|
-
* @module packages/core/hooks/use-reduced-motion
|
|
94
|
-
* @layer core
|
|
95
|
-
*
|
|
96
|
-
* Returns `true` when the user has enabled "Reduce motion" in their OS settings.
|
|
97
|
-
* Use this to disable Framer Motion scale/translate/spring animations while
|
|
98
|
-
* keeping CSS-token-driven transitions (which already zero out via motion.css).
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
101
|
-
* const reduced = useReducedMotion();
|
|
102
|
-
* <motion.div whileHover={reduced ? undefined : { scale: 1.02 }} />
|
|
103
|
-
*/
|
|
104
75
|
/**
|
|
105
76
|
* Detects the user's prefers-reduced-motion media query.
|
|
106
77
|
*
|
|
@@ -639,23 +610,6 @@ declare function CardContent({ className, ...props }: React$1.ComponentProps<"di
|
|
|
639
610
|
*/
|
|
640
611
|
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
641
612
|
|
|
642
|
-
declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
643
|
-
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
644
|
-
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
645
|
-
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
646
|
-
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
647
|
-
/**
|
|
648
|
-
* Dialog content panel with spring entry animation.
|
|
649
|
-
*
|
|
650
|
-
* @component
|
|
651
|
-
* @layer core
|
|
652
|
-
*/
|
|
653
|
-
declare function DialogContent({ className, children, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
654
|
-
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
655
|
-
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
656
|
-
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
657
|
-
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
658
|
-
|
|
659
613
|
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
660
614
|
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
661
615
|
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -812,17 +766,6 @@ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }
|
|
|
812
766
|
}): react_jsx_runtime.JSX.Element;
|
|
813
767
|
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
814
768
|
|
|
815
|
-
declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
816
|
-
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
817
|
-
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
818
|
-
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
|
|
819
|
-
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
820
|
-
declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
|
|
821
|
-
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
822
|
-
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
823
|
-
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
824
|
-
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
825
|
-
|
|
826
769
|
declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
827
770
|
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
828
771
|
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
@@ -988,11 +931,6 @@ declare function ToggleGroup({ className, variant, size, spacing, children, ...p
|
|
|
988
931
|
}): react_jsx_runtime.JSX.Element;
|
|
989
932
|
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
990
933
|
|
|
991
|
-
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
992
|
-
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
993
|
-
}): react_jsx_runtime.JSX.Element;
|
|
994
|
-
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
995
|
-
|
|
996
934
|
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
997
935
|
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
998
936
|
|
|
@@ -1033,29 +971,15 @@ declare function ButtonGroupSeparator({ className, orientation, ...props }: Reac
|
|
|
1033
971
|
declare const Combobox: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
1034
972
|
declare const ComboboxTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1035
973
|
declare function ComboboxContent({ className, align, sideOffset, children, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1036
|
-
declare function ComboboxInput({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1037
|
-
declare function ComboboxList({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1038
|
-
declare function ComboboxItem({ className, children, selected, ...props }: React$1.ComponentProps<typeof Command
|
|
974
|
+
declare function ComboboxInput({ className, ...props }: React$1.ComponentProps<typeof Command.Input>): react_jsx_runtime.JSX.Element;
|
|
975
|
+
declare function ComboboxList({ className, ...props }: React$1.ComponentProps<typeof Command.List>): react_jsx_runtime.JSX.Element;
|
|
976
|
+
declare function ComboboxItem({ className, children, selected, ...props }: React$1.ComponentProps<typeof Command.Item> & {
|
|
1039
977
|
/** Show a leading check indicator. Lets consumers render selection state without a separate Indicator slot. */
|
|
1040
978
|
selected?: boolean;
|
|
1041
979
|
}): react_jsx_runtime.JSX.Element;
|
|
1042
|
-
declare function ComboboxGroup({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1043
|
-
declare function ComboboxEmpty({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1044
|
-
declare function ComboboxSeparator({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1045
|
-
|
|
1046
|
-
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
1047
|
-
declare function CommandDialog({ title, description, children, className, ...props }: React$1.ComponentProps<typeof Dialog> & {
|
|
1048
|
-
title?: string;
|
|
1049
|
-
description?: string;
|
|
1050
|
-
className?: string;
|
|
1051
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1052
|
-
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
1053
|
-
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
1054
|
-
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
1055
|
-
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
1056
|
-
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
1057
|
-
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
1058
|
-
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
980
|
+
declare function ComboboxGroup({ className, ...props }: React$1.ComponentProps<typeof Command.Group>): react_jsx_runtime.JSX.Element;
|
|
981
|
+
declare function ComboboxEmpty({ className, ...props }: React$1.ComponentProps<typeof Command.Empty>): react_jsx_runtime.JSX.Element;
|
|
982
|
+
declare function ComboboxSeparator({ className, ...props }: React$1.ComponentProps<typeof Command.Separator>): react_jsx_runtime.JSX.Element;
|
|
1059
983
|
|
|
1060
984
|
declare function DirectionProvider({ dir, direction, children, }: React$1.ComponentProps<typeof Direction.DirectionProvider> & {
|
|
1061
985
|
direction?: React$1.ComponentProps<typeof Direction.DirectionProvider>["dir"];
|
|
@@ -1176,15 +1100,6 @@ declare function InputGroupText({ className, ...props }: React$1.ComponentProps<
|
|
|
1176
1100
|
declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
1177
1101
|
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
1178
1102
|
|
|
1179
|
-
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
1180
|
-
containerClassName?: string;
|
|
1181
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1182
|
-
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1183
|
-
declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
1184
|
-
index: number;
|
|
1185
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1186
|
-
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1187
|
-
|
|
1188
1103
|
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1189
1104
|
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
1190
1105
|
declare const itemVariants: (props?: ({
|
|
@@ -1226,12 +1141,6 @@ declare function PaginationPrevious({ className, ...props }: React$1.ComponentPr
|
|
|
1226
1141
|
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
1227
1142
|
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1228
1143
|
|
|
1229
|
-
declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): react_jsx_runtime.JSX.Element;
|
|
1230
|
-
declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): react_jsx_runtime.JSX.Element;
|
|
1231
|
-
declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
1232
|
-
withHandle?: boolean;
|
|
1233
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1234
|
-
|
|
1235
1144
|
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
1236
1145
|
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
1237
1146
|
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
@@ -1728,4 +1637,4 @@ interface UserAvatarProps {
|
|
|
1728
1637
|
*/
|
|
1729
1638
|
declare function UserAvatar({ src, name, initials, size, className }: UserAvatarProps): react_jsx_runtime.JSX.Element;
|
|
1730
1639
|
|
|
1731
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AnimatedTooltip, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText,
|
|
1640
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AnimatedTooltip, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxList, ComboboxSeparator, ComboboxTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataToolbar, DataToolbarActions, DataToolbarFilters, DataToolbarSearch, type Density, DirectionProvider, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Intent, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, type Measurement, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricCard, type MetricCardProps, type MetricTrend, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHeader, type PageHeaderProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationRangeItem, Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PricingCard, type PricingCardProps, Progress, RadioGroup, RadioGroupItem, Radius, RadiusProp, SaasflareComponentProps, SaasflareProvider, type SaasflareProviderProps, SaasflareScript, type SaasflareScriptProps, SaasflareShell, type SaasflareShellProps, ScrollArea, ScrollBar, ScrollToTopButton, SearchField, type SearchFieldProps, SectionCard, type SectionCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SettingsSection, type SettingsSectionProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type Size, Skeleton, Slider, SmoothScrollProvider, type SmoothScrollProviderProps, Spinner, StyleVariant, Surface, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeModeToggle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, type TooltipItem, TooltipProvider, TooltipTrigger, TopLoadingBar, type TopLoadingBarProps, TypewriterText, type UseDisclosureOptions, type UseDisclosureReturn, type UseMeasureReturn, type UsePaginationOptions, type UsePaginationReturn, UserAvatar, type UserAvatarProps, badgeVariants, buttonGroupVariants, cn, fadeIn, navigationMenuTriggerStyle, noMotion, scaleIn, slideDown, slideUp, spring, springBouncy, springGentle, springStiff, toggleVariants, useAnimation, useDirection, useDisclosure, useFormField, useIsMobile, useMeasure, usePagination, useReducedMotion, useSaasflareTheme, useSidebar };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
-
import { P as Palette, S as Surface, R as RadiusProp, a as StyleVariant, b as Radius, I as Intent, B as Button, c as SaasflareComponentProps } from './button-
|
|
3
|
-
export { d as ButtonProps, C as CustomPalette, e as PALETTES, f as PaletteId, g as RADII, h as ResolvedSaasflareProps, i as STYLES, j as buttonVariants, u as useSaasflareProps } from './button-
|
|
2
|
+
import { P as Palette, S as Surface, R as RadiusProp, a as StyleVariant, b as Radius, I as Intent, B as Button, c as SaasflareComponentProps } from './button-DUQJ0X7e.js';
|
|
3
|
+
export { d as ButtonProps, C as CustomPalette, e as PALETTES, f as PaletteId, g as RADII, h as ResolvedSaasflareProps, i as STYLES, j as buttonVariants, u as useSaasflareProps } from './button-DUQJ0X7e.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import { ReactNode, JSX } from 'react';
|
|
7
|
-
|
|
7
|
+
export { D as Dialog, a as DialogClose, b as DialogContent, c as DialogDescription, d as DialogFooter, e as DialogHeader, f as DialogOverlay, g as DialogPortal, h as DialogTitle, i as DialogTrigger } from './dialog-CwyBJeNl.js';
|
|
8
8
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
9
9
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
10
10
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -18,7 +18,7 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
|
18
18
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
19
19
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
20
20
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
21
|
-
import
|
|
21
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
22
22
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
23
23
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
24
24
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
@@ -26,21 +26,18 @@ import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
|
26
26
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
27
27
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
28
28
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
29
|
-
import { DayPicker, DayButton } from 'react-day-picker';
|
|
30
29
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
31
30
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
32
31
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
33
32
|
import { ToasterProps } from 'sonner';
|
|
34
33
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
35
34
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
36
|
-
import { Command
|
|
35
|
+
import { Command } from 'cmdk';
|
|
37
36
|
import * as Direction from '@radix-ui/react-direction';
|
|
38
37
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
39
38
|
import * as react_hook_form from 'react-hook-form';
|
|
40
39
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
41
40
|
import * as Slot from '@radix-ui/react-slot';
|
|
42
|
-
import { OTPInput } from 'input-otp';
|
|
43
|
-
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
44
41
|
|
|
45
42
|
/**
|
|
46
43
|
* @fileoverview Core utility functions for the Saasflare design system.
|
|
@@ -64,19 +61,6 @@ import * as ResizablePrimitive from 'react-resizable-panels';
|
|
|
64
61
|
*/
|
|
65
62
|
declare function cn(...inputs: ClassValue[]): string;
|
|
66
63
|
|
|
67
|
-
/**
|
|
68
|
-
* @fileoverview Hook to detect mobile viewport via media query.
|
|
69
|
-
* @module packages/core/hooks/use-mobile
|
|
70
|
-
* @layer core
|
|
71
|
-
*
|
|
72
|
-
* Uses `matchMedia` to reactively track whether the viewport width
|
|
73
|
-
* is below the mobile breakpoint (768px).
|
|
74
|
-
*
|
|
75
|
-
* @example
|
|
76
|
-
* const isMobile = useIsMobile();
|
|
77
|
-
* if (isMobile) return <MobileNav />;
|
|
78
|
-
* return <DesktopNav />;
|
|
79
|
-
*/
|
|
80
64
|
/**
|
|
81
65
|
* Returns `true` when the viewport width is below 768px.
|
|
82
66
|
*
|
|
@@ -88,19 +72,6 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
88
72
|
*/
|
|
89
73
|
declare function useIsMobile(): boolean;
|
|
90
74
|
|
|
91
|
-
/**
|
|
92
|
-
* @fileoverview Hook to detect user's reduced-motion preference.
|
|
93
|
-
* @module packages/core/hooks/use-reduced-motion
|
|
94
|
-
* @layer core
|
|
95
|
-
*
|
|
96
|
-
* Returns `true` when the user has enabled "Reduce motion" in their OS settings.
|
|
97
|
-
* Use this to disable Framer Motion scale/translate/spring animations while
|
|
98
|
-
* keeping CSS-token-driven transitions (which already zero out via motion.css).
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
101
|
-
* const reduced = useReducedMotion();
|
|
102
|
-
* <motion.div whileHover={reduced ? undefined : { scale: 1.02 }} />
|
|
103
|
-
*/
|
|
104
75
|
/**
|
|
105
76
|
* Detects the user's prefers-reduced-motion media query.
|
|
106
77
|
*
|
|
@@ -639,23 +610,6 @@ declare function CardContent({ className, ...props }: React$1.ComponentProps<"di
|
|
|
639
610
|
*/
|
|
640
611
|
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
641
612
|
|
|
642
|
-
declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
643
|
-
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
644
|
-
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
645
|
-
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
646
|
-
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
647
|
-
/**
|
|
648
|
-
* Dialog content panel with spring entry animation.
|
|
649
|
-
*
|
|
650
|
-
* @component
|
|
651
|
-
* @layer core
|
|
652
|
-
*/
|
|
653
|
-
declare function DialogContent({ className, children, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
654
|
-
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
655
|
-
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
656
|
-
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
657
|
-
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
658
|
-
|
|
659
613
|
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
660
614
|
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
661
615
|
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -812,17 +766,6 @@ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }
|
|
|
812
766
|
}): react_jsx_runtime.JSX.Element;
|
|
813
767
|
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
814
768
|
|
|
815
|
-
declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
816
|
-
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
817
|
-
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
818
|
-
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
|
|
819
|
-
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
820
|
-
declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
|
|
821
|
-
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
822
|
-
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
823
|
-
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
824
|
-
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
825
|
-
|
|
826
769
|
declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
827
770
|
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
828
771
|
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
@@ -988,11 +931,6 @@ declare function ToggleGroup({ className, variant, size, spacing, children, ...p
|
|
|
988
931
|
}): react_jsx_runtime.JSX.Element;
|
|
989
932
|
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
990
933
|
|
|
991
|
-
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
992
|
-
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
993
|
-
}): react_jsx_runtime.JSX.Element;
|
|
994
|
-
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
995
|
-
|
|
996
934
|
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
997
935
|
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
998
936
|
|
|
@@ -1033,29 +971,15 @@ declare function ButtonGroupSeparator({ className, orientation, ...props }: Reac
|
|
|
1033
971
|
declare const Combobox: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
1034
972
|
declare const ComboboxTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1035
973
|
declare function ComboboxContent({ className, align, sideOffset, children, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1036
|
-
declare function ComboboxInput({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1037
|
-
declare function ComboboxList({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1038
|
-
declare function ComboboxItem({ className, children, selected, ...props }: React$1.ComponentProps<typeof Command
|
|
974
|
+
declare function ComboboxInput({ className, ...props }: React$1.ComponentProps<typeof Command.Input>): react_jsx_runtime.JSX.Element;
|
|
975
|
+
declare function ComboboxList({ className, ...props }: React$1.ComponentProps<typeof Command.List>): react_jsx_runtime.JSX.Element;
|
|
976
|
+
declare function ComboboxItem({ className, children, selected, ...props }: React$1.ComponentProps<typeof Command.Item> & {
|
|
1039
977
|
/** Show a leading check indicator. Lets consumers render selection state without a separate Indicator slot. */
|
|
1040
978
|
selected?: boolean;
|
|
1041
979
|
}): react_jsx_runtime.JSX.Element;
|
|
1042
|
-
declare function ComboboxGroup({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1043
|
-
declare function ComboboxEmpty({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1044
|
-
declare function ComboboxSeparator({ className, ...props }: React$1.ComponentProps<typeof Command
|
|
1045
|
-
|
|
1046
|
-
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
1047
|
-
declare function CommandDialog({ title, description, children, className, ...props }: React$1.ComponentProps<typeof Dialog> & {
|
|
1048
|
-
title?: string;
|
|
1049
|
-
description?: string;
|
|
1050
|
-
className?: string;
|
|
1051
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1052
|
-
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
1053
|
-
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
1054
|
-
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
1055
|
-
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
1056
|
-
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
1057
|
-
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
1058
|
-
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
980
|
+
declare function ComboboxGroup({ className, ...props }: React$1.ComponentProps<typeof Command.Group>): react_jsx_runtime.JSX.Element;
|
|
981
|
+
declare function ComboboxEmpty({ className, ...props }: React$1.ComponentProps<typeof Command.Empty>): react_jsx_runtime.JSX.Element;
|
|
982
|
+
declare function ComboboxSeparator({ className, ...props }: React$1.ComponentProps<typeof Command.Separator>): react_jsx_runtime.JSX.Element;
|
|
1059
983
|
|
|
1060
984
|
declare function DirectionProvider({ dir, direction, children, }: React$1.ComponentProps<typeof Direction.DirectionProvider> & {
|
|
1061
985
|
direction?: React$1.ComponentProps<typeof Direction.DirectionProvider>["dir"];
|
|
@@ -1176,15 +1100,6 @@ declare function InputGroupText({ className, ...props }: React$1.ComponentProps<
|
|
|
1176
1100
|
declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
1177
1101
|
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
1178
1102
|
|
|
1179
|
-
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
1180
|
-
containerClassName?: string;
|
|
1181
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1182
|
-
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1183
|
-
declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
1184
|
-
index: number;
|
|
1185
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1186
|
-
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1187
|
-
|
|
1188
1103
|
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1189
1104
|
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
1190
1105
|
declare const itemVariants: (props?: ({
|
|
@@ -1226,12 +1141,6 @@ declare function PaginationPrevious({ className, ...props }: React$1.ComponentPr
|
|
|
1226
1141
|
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
1227
1142
|
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1228
1143
|
|
|
1229
|
-
declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): react_jsx_runtime.JSX.Element;
|
|
1230
|
-
declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): react_jsx_runtime.JSX.Element;
|
|
1231
|
-
declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
1232
|
-
withHandle?: boolean;
|
|
1233
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1234
|
-
|
|
1235
1144
|
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
1236
1145
|
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
1237
1146
|
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
@@ -1728,4 +1637,4 @@ interface UserAvatarProps {
|
|
|
1728
1637
|
*/
|
|
1729
1638
|
declare function UserAvatar({ src, name, initials, size, className }: UserAvatarProps): react_jsx_runtime.JSX.Element;
|
|
1730
1639
|
|
|
1731
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AnimatedTooltip, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText,
|
|
1640
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AnimatedTooltip, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxList, ComboboxSeparator, ComboboxTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataToolbar, DataToolbarActions, DataToolbarFilters, DataToolbarSearch, type Density, DirectionProvider, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Intent, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, type Measurement, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricCard, type MetricCardProps, type MetricTrend, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHeader, type PageHeaderProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationRangeItem, Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PricingCard, type PricingCardProps, Progress, RadioGroup, RadioGroupItem, Radius, RadiusProp, SaasflareComponentProps, SaasflareProvider, type SaasflareProviderProps, SaasflareScript, type SaasflareScriptProps, SaasflareShell, type SaasflareShellProps, ScrollArea, ScrollBar, ScrollToTopButton, SearchField, type SearchFieldProps, SectionCard, type SectionCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SettingsSection, type SettingsSectionProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type Size, Skeleton, Slider, SmoothScrollProvider, type SmoothScrollProviderProps, Spinner, StyleVariant, Surface, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeModeToggle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, type TooltipItem, TooltipProvider, TooltipTrigger, TopLoadingBar, type TopLoadingBarProps, TypewriterText, type UseDisclosureOptions, type UseDisclosureReturn, type UseMeasureReturn, type UsePaginationOptions, type UsePaginationReturn, UserAvatar, type UserAvatarProps, badgeVariants, buttonGroupVariants, cn, fadeIn, navigationMenuTriggerStyle, noMotion, scaleIn, slideDown, slideUp, spring, springBouncy, springGentle, springStiff, toggleVariants, useAnimation, useDirection, useDisclosure, useFormField, useIsMobile, useMeasure, usePagination, useReducedMotion, useSaasflareTheme, useSidebar };
|