@moontra/moonui 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +91 -14
- package/dist/index.d.ts +91 -14
- package/dist/index.js +1714 -369
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1546 -371
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/components/ui/alert.tsx +123 -93
- package/src/components/ui/avatar.tsx +2 -0
- package/src/components/ui/badge.tsx +19 -17
- package/src/components/ui/breadcrumb.tsx +2 -0
- package/src/components/ui/button.stories.tsx +4 -2
- package/src/components/ui/button.tsx +39 -33
- package/src/components/ui/calendar.tsx +1 -1
- package/src/components/ui/card-input.tsx +231 -0
- package/src/components/ui/card.stories.tsx +2 -0
- package/src/components/ui/card.tsx +2 -0
- package/src/components/ui/data-table.stories.tsx +4 -2
- package/src/components/ui/data-table.tsx +7 -7
- package/src/components/ui/date-picker.stories.tsx +2 -0
- package/src/components/ui/date-picker.tsx +18 -9
- package/src/components/ui/draggable-list.tsx +2 -0
- package/src/components/ui/index.ts +357 -44
- package/src/components/ui/input.stories.tsx +2 -0
- package/src/components/ui/input.tsx +2 -0
- package/src/components/ui/locked-component.tsx +222 -0
- package/src/components/ui/pagination.tsx +2 -0
- package/src/components/ui/phone-input.tsx +172 -0
- package/src/components/ui/popover-pro.tsx +424 -0
- package/src/components/ui/rich-text-editor/index.tsx +2 -1
- package/src/components/ui/scroll-area.tsx +48 -0
- package/src/components/ui/select.tsx +5 -1
- package/src/components/ui/separator.tsx +2 -2
- package/src/components/ui/swipeable-card.tsx +2 -0
- package/src/components/ui/table.tsx +2 -0
- package/src/components/ui/tabs.tsx +2 -0
- package/src/components/ui/tags-input.tsx +130 -0
- package/src/components/ui/textarea.tsx +2 -0
- package/src/components/ui/toast.tsx +2 -0
- package/src/index.tsx +4 -46
- package/src/lib/performance-profiler.ts +79 -0
- package/src/styles/index.css +315 -2
- package/src/use-performance-optimizer.ts +26 -26
- package/src/use-scroll-animation.ts +5 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ClassValue } from 'clsx';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import React__default from 'react';
|
|
4
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
@@ -15,6 +14,7 @@ export { ColumnDef } from '@tanstack/react-table';
|
|
|
15
14
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
16
15
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
17
16
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
17
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
18
18
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
19
19
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
20
20
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
@@ -22,11 +22,10 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
22
22
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
23
23
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
24
24
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
25
|
+
import { ClassValue } from 'clsx';
|
|
25
26
|
export { Palette, Pipette } from 'lucide-react';
|
|
26
27
|
export { format } from 'date-fns';
|
|
27
28
|
|
|
28
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
29
|
-
|
|
30
29
|
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
31
30
|
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
32
31
|
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -177,7 +176,7 @@ declare const BreadcrumbPage: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
177
176
|
declare const buttonVariants: (props?: {
|
|
178
177
|
variant?: "link" | "primary" | "success" | "ghost" | "outline" | "secondary" | "destructive" | "gradient" | "glow" | "soft" | "glass" | "neon";
|
|
179
178
|
size?: "sm" | "lg" | "md" | "icon" | "xs" | "xl" | "icon-sm" | "icon-lg";
|
|
180
|
-
rounded?: "none" | "default" | "full";
|
|
179
|
+
rounded?: "none" | "default" | "sm" | "lg" | "full";
|
|
181
180
|
fullWidth?: boolean;
|
|
182
181
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
183
182
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -218,6 +217,30 @@ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttribu
|
|
|
218
217
|
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
219
218
|
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
220
219
|
|
|
220
|
+
interface CardNumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
221
|
+
value?: string;
|
|
222
|
+
onChange?: (value: string, cardType: string) => void;
|
|
223
|
+
showIcon?: boolean;
|
|
224
|
+
}
|
|
225
|
+
declare const CardNumberInput: React.ForwardRefExoticComponent<CardNumberInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
226
|
+
interface CardExpiryInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
227
|
+
value?: string;
|
|
228
|
+
onChange?: (value: string) => void;
|
|
229
|
+
}
|
|
230
|
+
declare const CardExpiryInput: React.ForwardRefExoticComponent<CardExpiryInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
231
|
+
interface CardCVCInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
232
|
+
value?: string;
|
|
233
|
+
onChange?: (value: string) => void;
|
|
234
|
+
cardType?: string;
|
|
235
|
+
}
|
|
236
|
+
declare const CardCVCInput: React.ForwardRefExoticComponent<CardCVCInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
237
|
+
interface CardZipInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
238
|
+
value?: string;
|
|
239
|
+
onChange?: (value: string) => void;
|
|
240
|
+
format?: "US" | "CA" | "UK" | "other";
|
|
241
|
+
}
|
|
242
|
+
declare const CardZipInput: React.ForwardRefExoticComponent<CardZipInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
243
|
+
|
|
221
244
|
/**
|
|
222
245
|
* Checkbox Bileşeni
|
|
223
246
|
*
|
|
@@ -464,7 +487,7 @@ declare const commandVariants: (props?: {
|
|
|
464
487
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
465
488
|
interface CommandProps extends React.ComponentProps<typeof Command$1>, VariantProps<typeof commandVariants> {
|
|
466
489
|
}
|
|
467
|
-
declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<
|
|
490
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
468
491
|
interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
469
492
|
commandClassName?: string;
|
|
470
493
|
children?: React.ReactNode;
|
|
@@ -472,22 +495,22 @@ interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
|
472
495
|
declare const CommandDialog: ({ children, commandClassName, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
473
496
|
interface CommandInputProps extends React.ComponentProps<typeof Command$1.Input> {
|
|
474
497
|
}
|
|
475
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<
|
|
498
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
476
499
|
interface CommandListProps extends React.ComponentProps<typeof Command$1.List> {
|
|
477
500
|
}
|
|
478
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<
|
|
501
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
479
502
|
interface CommandEmptyProps extends React.ComponentProps<typeof Command$1.Empty> {
|
|
480
503
|
}
|
|
481
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<
|
|
504
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
482
505
|
interface CommandGroupProps extends React.ComponentProps<typeof Command$1.Group> {
|
|
483
506
|
}
|
|
484
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<
|
|
507
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
485
508
|
interface CommandSeparatorProps extends React.ComponentProps<typeof Command$1.Separator> {
|
|
486
509
|
}
|
|
487
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<
|
|
510
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
488
511
|
interface CommandItemProps extends React.ComponentProps<typeof Command$1.Item> {
|
|
489
512
|
}
|
|
490
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<
|
|
513
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
491
514
|
declare const CommandShortcut: {
|
|
492
515
|
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
493
516
|
displayName: string;
|
|
@@ -882,6 +905,29 @@ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttri
|
|
|
882
905
|
|
|
883
906
|
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
884
907
|
|
|
908
|
+
interface LockedComponentProps {
|
|
909
|
+
children: React__default.ReactNode;
|
|
910
|
+
componentName: string;
|
|
911
|
+
className?: string;
|
|
912
|
+
showPreview?: boolean;
|
|
913
|
+
previewDuration?: number;
|
|
914
|
+
}
|
|
915
|
+
declare function LockedComponent({ children, componentName, className, showPreview, previewDuration }: LockedComponentProps): react_jsx_runtime.JSX.Element;
|
|
916
|
+
interface ProComponentWrapperProps {
|
|
917
|
+
children: React__default.ReactNode;
|
|
918
|
+
componentId: string;
|
|
919
|
+
componentName?: string;
|
|
920
|
+
className?: string;
|
|
921
|
+
fallback?: React__default.ReactNode;
|
|
922
|
+
}
|
|
923
|
+
declare function ProComponentWrapper({ children, componentId, componentName, className, fallback }: ProComponentWrapperProps): react_jsx_runtime.JSX.Element;
|
|
924
|
+
declare function ProBadge({ className }: {
|
|
925
|
+
className?: string;
|
|
926
|
+
}): react_jsx_runtime.JSX.Element;
|
|
927
|
+
declare function FreeBadge({ className }: {
|
|
928
|
+
className?: string;
|
|
929
|
+
}): react_jsx_runtime.JSX.Element;
|
|
930
|
+
|
|
885
931
|
interface MoonLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
886
932
|
variant?: "default" | "monochrome" | "gradient";
|
|
887
933
|
showText?: boolean;
|
|
@@ -916,6 +962,22 @@ declare const PaginationEllipsis: {
|
|
|
916
962
|
displayName: string;
|
|
917
963
|
};
|
|
918
964
|
|
|
965
|
+
declare const countryCodes: {
|
|
966
|
+
code: string;
|
|
967
|
+
country: string;
|
|
968
|
+
flag: string;
|
|
969
|
+
name: string;
|
|
970
|
+
}[];
|
|
971
|
+
interface PhoneInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
972
|
+
value?: string;
|
|
973
|
+
onChange?: (value: string, countryCode: string) => void;
|
|
974
|
+
defaultCountry?: string;
|
|
975
|
+
showIcon?: boolean;
|
|
976
|
+
showCountrySelect?: boolean;
|
|
977
|
+
countries?: typeof countryCodes;
|
|
978
|
+
}
|
|
979
|
+
declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
980
|
+
|
|
919
981
|
/**
|
|
920
982
|
* Popover Bileşeni
|
|
921
983
|
*
|
|
@@ -1114,6 +1176,9 @@ interface RichTextEditorProps {
|
|
|
1114
1176
|
}
|
|
1115
1177
|
declare function RichTextEditor({ value, onChange, placeholder, className, disabled }: RichTextEditorProps): react_jsx_runtime.JSX.Element;
|
|
1116
1178
|
|
|
1179
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1180
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1181
|
+
|
|
1117
1182
|
/**
|
|
1118
1183
|
* Premium Select Component
|
|
1119
1184
|
*
|
|
@@ -1172,7 +1237,7 @@ declare const separatorVariants: (props?: {
|
|
|
1172
1237
|
variant?: "default" | "dashed" | "dotted" | "gradient";
|
|
1173
1238
|
size?: "sm" | "lg" | "md";
|
|
1174
1239
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1175
|
-
interface SeparatorProps extends React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, VariantProps<typeof separatorVariants> {
|
|
1240
|
+
interface SeparatorProps extends Omit<React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, keyof VariantProps<typeof separatorVariants>>, VariantProps<typeof separatorVariants> {
|
|
1176
1241
|
}
|
|
1177
1242
|
declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
1178
1243
|
|
|
@@ -1490,6 +1555,16 @@ interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof TabsPri
|
|
|
1490
1555
|
}
|
|
1491
1556
|
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
1492
1557
|
|
|
1558
|
+
interface TagsInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange"> {
|
|
1559
|
+
value: string[];
|
|
1560
|
+
onChange: (tags: string[]) => void;
|
|
1561
|
+
maxTags?: number;
|
|
1562
|
+
variant?: "primary" | "secondary" | "destructive" | "outline";
|
|
1563
|
+
allowDuplicates?: boolean;
|
|
1564
|
+
delimiter?: string;
|
|
1565
|
+
}
|
|
1566
|
+
declare const TagsInput: React.ForwardRefExoticComponent<TagsInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1567
|
+
|
|
1493
1568
|
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1494
1569
|
variant?: "default" | "outline" | "ghost" | "underline";
|
|
1495
1570
|
size?: "sm" | "md" | "lg";
|
|
@@ -1545,7 +1620,7 @@ declare const toggleVariants: (props?: {
|
|
|
1545
1620
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1546
1621
|
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
1547
1622
|
}
|
|
1548
|
-
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<
|
|
1623
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1549
1624
|
|
|
1550
1625
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1551
1626
|
declare const tooltipVariants: (props?: {
|
|
@@ -1576,4 +1651,6 @@ interface SimpleTooltipProps {
|
|
|
1576
1651
|
}
|
|
1577
1652
|
declare const SimpleTooltip: React.ForwardRefExoticComponent<SimpleTooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
1578
1653
|
|
|
1579
|
-
|
|
1654
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
1655
|
+
|
|
1656
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertProps, AlertTitle, AspectRatio, AspectRatioProps, Avatar, AvatarFallback, AvatarGroup, AvatarImage, AvatarProps, Badge, BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonProps, Card, CardCVCInput, CardCVCInputProps, CardContent, CardDescription, CardExpiryInput, CardExpiryInputProps, CardFooter, CardHeader, CardNumberInput, CardNumberInputProps, CardProps, CardTitle, CardZipInput, CardZipInputProps, Checkbox, CheckboxGroup, CheckboxLabel, CheckboxProps, CheckboxWithLabel, Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleTrigger, CollapsibleTriggerProps, ColorPicker, ColorPickerProps, ColumnDefinition, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DataTable, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, DateTimePicker, DateTimePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogForm, DialogHeader, DialogTitle, DialogTrigger, DraggableList, DraggableListProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FileUpload, FileUploadProps, FreeBadge, GestureDrawer, GestureDrawerProps, GitHubStarButton, GitHubStars, GradientPicker, GradientPickerProps, Input, InputProps, Label, LockedComponent, MonthPicker, MonthPickerProps, MoonLogo, MoonLogoAnimated, MoonLogoIcon, Accordion as MoonUIAccordion, AccordionContent as MoonUIAccordionContent, AccordionItem as MoonUIAccordionItem, AccordionTrigger as MoonUIAccordionTrigger, Alert as MoonUIAlert, AlertDescription as MoonUIAlertDescription, AlertTitle as MoonUIAlertTitle, AspectRatio as MoonUIAspectRatio, Avatar as MoonUIAvatar, AvatarFallback as MoonUIAvatarFallback, AvatarGroup as MoonUIAvatarGroup, AvatarImage as MoonUIAvatarImage, Badge as MoonUIBadge, Breadcrumb as MoonUIBreadcrumb, BreadcrumbEllipsis as MoonUIBreadcrumbEllipsis, BreadcrumbItem as MoonUIBreadcrumbItem, BreadcrumbLink as MoonUIBreadcrumbLink, BreadcrumbList as MoonUIBreadcrumbList, BreadcrumbPage as MoonUIBreadcrumbPage, BreadcrumbSeparator as MoonUIBreadcrumbSeparator, Button as MoonUIButton, Card as MoonUICard, CardCVCInput as MoonUICardCVCInput, CardContent as MoonUICardContent, CardDescription as MoonUICardDescription, CardExpiryInput as MoonUICardExpiryInput, CardFooter as MoonUICardFooter, CardHeader as MoonUICardHeader, CardNumberInput as MoonUICardNumberInput, CardTitle as MoonUICardTitle, CardZipInput as MoonUICardZipInput, Checkbox as MoonUICheckbox, CheckboxGroup as MoonUICheckboxGroup, CheckboxLabel as MoonUICheckboxLabel, CheckboxWithLabel as MoonUICheckboxWithLabel, Collapsible as MoonUICollapsible, CollapsibleContent as MoonUICollapsibleContent, CollapsibleTrigger as MoonUICollapsibleTrigger, ColorPicker as MoonUIColorPicker, Command as MoonUICommand, CommandDialog as MoonUICommandDialog, CommandEmpty as MoonUICommandEmpty, CommandGroup as MoonUICommandGroup, CommandInput as MoonUICommandInput, CommandItem as MoonUICommandItem, CommandList as MoonUICommandList, CommandSeparator as MoonUICommandSeparator, CommandShortcut as MoonUICommandShortcut, DataTable as MoonUIDataTable, DatePicker as MoonUIDatePicker, DateRangePicker as MoonUIDateRangePicker, DateTimePicker as MoonUIDateTimePicker, Dialog as MoonUIDialog, DialogClose as MoonUIDialogClose, DialogContent as MoonUIDialogContent, DialogDescription as MoonUIDialogDescription, DialogFooter as MoonUIDialogFooter, DialogHeader as MoonUIDialogHeader, DialogTitle as MoonUIDialogTitle, DialogTrigger as MoonUIDialogTrigger, DraggableList as MoonUIDraggableList, DropdownMenu as MoonUIDropdownMenu, DropdownMenuCheckboxItem as MoonUIDropdownMenuCheckboxItem, DropdownMenuContent as MoonUIDropdownMenuContent, DropdownMenuGroup as MoonUIDropdownMenuGroup, DropdownMenuItem as MoonUIDropdownMenuItem, DropdownMenuLabel as MoonUIDropdownMenuLabel, DropdownMenuPortal as MoonUIDropdownMenuPortal, DropdownMenuRadioGroup as MoonUIDropdownMenuRadioGroup, DropdownMenuRadioItem as MoonUIDropdownMenuRadioItem, DropdownMenuSeparator as MoonUIDropdownMenuSeparator, DropdownMenuShortcut as MoonUIDropdownMenuShortcut, DropdownMenuSub as MoonUIDropdownMenuSub, DropdownMenuSubContent as MoonUIDropdownMenuSubContent, DropdownMenuSubTrigger as MoonUIDropdownMenuSubTrigger, DropdownMenuTrigger as MoonUIDropdownMenuTrigger, FileUpload as MoonUIFileUpload, FreeBadge as MoonUIFreeBadge, GestureDrawer as MoonUIGestureDrawer, GitHubStars as MoonUIGitHubStars, GradientPicker as MoonUIGradientPicker, Input as MoonUIInput, Label as MoonUILabel, LockedComponent as MoonUILockedComponent, MonthPicker as MoonUIMonthPicker, MoonLogo as MoonUIMoonLogo, Pagination as MoonUIPagination, PaginationContent as MoonUIPaginationContent, PaginationEllipsis as MoonUIPaginationEllipsis, PaginationItem as MoonUIPaginationItem, PaginationLink as MoonUIPaginationLink, PaginationNext as MoonUIPaginationNext, PaginationPrevious as MoonUIPaginationPrevious, PhoneInput as MoonUIPhoneInput, Popover as MoonUIPopover, PopoverContent as MoonUIPopoverContent, PopoverTrigger as MoonUIPopoverTrigger, ProBadge as MoonUIProBadge, ProComponentWrapper as MoonUIProComponentWrapper, Progress as MoonUIProgress, RadioGroup as MoonUIRadioGroup, RadioGroupItem as MoonUIRadioGroupItem, RadioItemWithLabel as MoonUIRadioItemWithLabel, RadioLabel as MoonUIRadioLabel, RichTextEditor as MoonUIRichTextEditor, ScrollArea as MoonUIScrollArea, ScrollBar as MoonUIScrollBar, Select as MoonUISelect, SelectContent as MoonUISelectContent, SelectGroup as MoonUISelectGroup, SelectItem as MoonUISelectItem, SelectLabel as MoonUISelectLabel, SelectScrollDownButton as MoonUISelectScrollDownButton, SelectScrollUpButton as MoonUISelectScrollUpButton, SelectSeparator as MoonUISelectSeparator, SelectTrigger as MoonUISelectTrigger, SelectValue as MoonUISelectValue, Separator as MoonUISeparator, SimpleColorPicker as MoonUISimpleColorPicker, SimpleEditor as MoonUISimpleEditor, Skeleton as MoonUISkeleton, SkeletonAvatar as MoonUISkeletonAvatar, SkeletonCard as MoonUISkeletonCard, SkeletonText as MoonUISkeletonText, Slider as MoonUISlider, SwipeableCard as MoonUISwipeableCard, Switch as MoonUISwitch, Table as MoonUITable, TableBody as MoonUITableBody, TableCaption as MoonUITableCaption, TableCell as MoonUITableCell, TableFooter as MoonUITableFooter, TableHead as MoonUITableHead, TableHeader as MoonUITableHeader, TableRow as MoonUITableRow, Tabs as MoonUITabs, TabsContent as MoonUITabsContent, TabsList as MoonUITabsList, TabsTrigger as MoonUITabsTrigger, TagsInput as MoonUITagsInput, Textarea as MoonUITextarea, Toast as MoonUIToast, ToastAction as MoonUIToastAction, ToastClose as MoonUIToastClose, ToastDescription as MoonUIToastDescription, ToastProvider as MoonUIToastProvider, ToastTitle as MoonUIToastTitle, ToastViewport as MoonUIToastViewport, Toaster as MoonUIToaster, Toggle as MoonUIToggle, Tooltip as MoonUITooltip, TooltipContent as MoonUITooltipContent, TooltipProvider as MoonUITooltipProvider, TooltipTrigger as MoonUITooltipTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PhoneInput, PhoneInputProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverFooter, PopoverHeader, PopoverSeparator, PopoverTrigger, ProBadge, ProComponentWrapper, Progress, ProgressProps, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps, RadioItemWithLabel, RadioLabel, RichTextEditor, RichTextEditorProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorProps, SimpleColorPicker, SimpleColorPickerProps, SimpleEditor, SimpleEditorProps, SimpleTooltip, SimpleTooltipProps, Skeleton, SkeletonAvatar, SkeletonAvatarProps, SkeletonCard, SkeletonCardProps, SkeletonProps, SkeletonText, SkeletonTextProps, Slider, SortDirection, SwipeableCard, SwipeableCardProps, Switch, SwitchProps, SwitchSize, SwitchVariant, Table, TableBody, TableBodyProps, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagsInput, TagsInputProps, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleProps, Tooltip, TooltipArrow, TooltipContent, TooltipContentProps, TooltipProvider, TooltipTrigger, aspectRatioVariants, badgeVariants, buttonVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, createFilterableColumn, createSortableHeader, badgeVariants as moonUIBadgeVariants, buttonVariants as moonUIButtonVariants, skeletonVariants as moonUISkeletonVariants, toggleVariants as moonUIToggleVariants, popoverContentVariants, progressVariants, separatorVariants, skeletonVariants, toast, toggleVariants, tooltipVariants, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ClassValue } from 'clsx';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import React__default from 'react';
|
|
4
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
@@ -15,6 +14,7 @@ export { ColumnDef } from '@tanstack/react-table';
|
|
|
15
14
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
16
15
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
17
16
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
17
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
18
18
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
19
19
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
20
20
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
@@ -22,11 +22,10 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
22
22
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
23
23
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
24
24
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
25
|
+
import { ClassValue } from 'clsx';
|
|
25
26
|
export { Palette, Pipette } from 'lucide-react';
|
|
26
27
|
export { format } from 'date-fns';
|
|
27
28
|
|
|
28
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
29
|
-
|
|
30
29
|
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
31
30
|
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
32
31
|
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -177,7 +176,7 @@ declare const BreadcrumbPage: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
177
176
|
declare const buttonVariants: (props?: {
|
|
178
177
|
variant?: "link" | "primary" | "success" | "ghost" | "outline" | "secondary" | "destructive" | "gradient" | "glow" | "soft" | "glass" | "neon";
|
|
179
178
|
size?: "sm" | "lg" | "md" | "icon" | "xs" | "xl" | "icon-sm" | "icon-lg";
|
|
180
|
-
rounded?: "none" | "default" | "full";
|
|
179
|
+
rounded?: "none" | "default" | "sm" | "lg" | "full";
|
|
181
180
|
fullWidth?: boolean;
|
|
182
181
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
183
182
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -218,6 +217,30 @@ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttribu
|
|
|
218
217
|
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
219
218
|
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
220
219
|
|
|
220
|
+
interface CardNumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
221
|
+
value?: string;
|
|
222
|
+
onChange?: (value: string, cardType: string) => void;
|
|
223
|
+
showIcon?: boolean;
|
|
224
|
+
}
|
|
225
|
+
declare const CardNumberInput: React.ForwardRefExoticComponent<CardNumberInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
226
|
+
interface CardExpiryInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
227
|
+
value?: string;
|
|
228
|
+
onChange?: (value: string) => void;
|
|
229
|
+
}
|
|
230
|
+
declare const CardExpiryInput: React.ForwardRefExoticComponent<CardExpiryInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
231
|
+
interface CardCVCInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
232
|
+
value?: string;
|
|
233
|
+
onChange?: (value: string) => void;
|
|
234
|
+
cardType?: string;
|
|
235
|
+
}
|
|
236
|
+
declare const CardCVCInput: React.ForwardRefExoticComponent<CardCVCInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
237
|
+
interface CardZipInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
238
|
+
value?: string;
|
|
239
|
+
onChange?: (value: string) => void;
|
|
240
|
+
format?: "US" | "CA" | "UK" | "other";
|
|
241
|
+
}
|
|
242
|
+
declare const CardZipInput: React.ForwardRefExoticComponent<CardZipInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
243
|
+
|
|
221
244
|
/**
|
|
222
245
|
* Checkbox Bileşeni
|
|
223
246
|
*
|
|
@@ -464,7 +487,7 @@ declare const commandVariants: (props?: {
|
|
|
464
487
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
465
488
|
interface CommandProps extends React.ComponentProps<typeof Command$1>, VariantProps<typeof commandVariants> {
|
|
466
489
|
}
|
|
467
|
-
declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<
|
|
490
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
468
491
|
interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
469
492
|
commandClassName?: string;
|
|
470
493
|
children?: React.ReactNode;
|
|
@@ -472,22 +495,22 @@ interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
|
472
495
|
declare const CommandDialog: ({ children, commandClassName, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
473
496
|
interface CommandInputProps extends React.ComponentProps<typeof Command$1.Input> {
|
|
474
497
|
}
|
|
475
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<
|
|
498
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
476
499
|
interface CommandListProps extends React.ComponentProps<typeof Command$1.List> {
|
|
477
500
|
}
|
|
478
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<
|
|
501
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
479
502
|
interface CommandEmptyProps extends React.ComponentProps<typeof Command$1.Empty> {
|
|
480
503
|
}
|
|
481
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<
|
|
504
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
482
505
|
interface CommandGroupProps extends React.ComponentProps<typeof Command$1.Group> {
|
|
483
506
|
}
|
|
484
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<
|
|
507
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
485
508
|
interface CommandSeparatorProps extends React.ComponentProps<typeof Command$1.Separator> {
|
|
486
509
|
}
|
|
487
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<
|
|
510
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
488
511
|
interface CommandItemProps extends React.ComponentProps<typeof Command$1.Item> {
|
|
489
512
|
}
|
|
490
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<
|
|
513
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
491
514
|
declare const CommandShortcut: {
|
|
492
515
|
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
493
516
|
displayName: string;
|
|
@@ -882,6 +905,29 @@ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttri
|
|
|
882
905
|
|
|
883
906
|
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
884
907
|
|
|
908
|
+
interface LockedComponentProps {
|
|
909
|
+
children: React__default.ReactNode;
|
|
910
|
+
componentName: string;
|
|
911
|
+
className?: string;
|
|
912
|
+
showPreview?: boolean;
|
|
913
|
+
previewDuration?: number;
|
|
914
|
+
}
|
|
915
|
+
declare function LockedComponent({ children, componentName, className, showPreview, previewDuration }: LockedComponentProps): react_jsx_runtime.JSX.Element;
|
|
916
|
+
interface ProComponentWrapperProps {
|
|
917
|
+
children: React__default.ReactNode;
|
|
918
|
+
componentId: string;
|
|
919
|
+
componentName?: string;
|
|
920
|
+
className?: string;
|
|
921
|
+
fallback?: React__default.ReactNode;
|
|
922
|
+
}
|
|
923
|
+
declare function ProComponentWrapper({ children, componentId, componentName, className, fallback }: ProComponentWrapperProps): react_jsx_runtime.JSX.Element;
|
|
924
|
+
declare function ProBadge({ className }: {
|
|
925
|
+
className?: string;
|
|
926
|
+
}): react_jsx_runtime.JSX.Element;
|
|
927
|
+
declare function FreeBadge({ className }: {
|
|
928
|
+
className?: string;
|
|
929
|
+
}): react_jsx_runtime.JSX.Element;
|
|
930
|
+
|
|
885
931
|
interface MoonLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
886
932
|
variant?: "default" | "monochrome" | "gradient";
|
|
887
933
|
showText?: boolean;
|
|
@@ -916,6 +962,22 @@ declare const PaginationEllipsis: {
|
|
|
916
962
|
displayName: string;
|
|
917
963
|
};
|
|
918
964
|
|
|
965
|
+
declare const countryCodes: {
|
|
966
|
+
code: string;
|
|
967
|
+
country: string;
|
|
968
|
+
flag: string;
|
|
969
|
+
name: string;
|
|
970
|
+
}[];
|
|
971
|
+
interface PhoneInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
|
|
972
|
+
value?: string;
|
|
973
|
+
onChange?: (value: string, countryCode: string) => void;
|
|
974
|
+
defaultCountry?: string;
|
|
975
|
+
showIcon?: boolean;
|
|
976
|
+
showCountrySelect?: boolean;
|
|
977
|
+
countries?: typeof countryCodes;
|
|
978
|
+
}
|
|
979
|
+
declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
980
|
+
|
|
919
981
|
/**
|
|
920
982
|
* Popover Bileşeni
|
|
921
983
|
*
|
|
@@ -1114,6 +1176,9 @@ interface RichTextEditorProps {
|
|
|
1114
1176
|
}
|
|
1115
1177
|
declare function RichTextEditor({ value, onChange, placeholder, className, disabled }: RichTextEditorProps): react_jsx_runtime.JSX.Element;
|
|
1116
1178
|
|
|
1179
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1180
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1181
|
+
|
|
1117
1182
|
/**
|
|
1118
1183
|
* Premium Select Component
|
|
1119
1184
|
*
|
|
@@ -1172,7 +1237,7 @@ declare const separatorVariants: (props?: {
|
|
|
1172
1237
|
variant?: "default" | "dashed" | "dotted" | "gradient";
|
|
1173
1238
|
size?: "sm" | "lg" | "md";
|
|
1174
1239
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1175
|
-
interface SeparatorProps extends React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, VariantProps<typeof separatorVariants> {
|
|
1240
|
+
interface SeparatorProps extends Omit<React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, keyof VariantProps<typeof separatorVariants>>, VariantProps<typeof separatorVariants> {
|
|
1176
1241
|
}
|
|
1177
1242
|
declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
1178
1243
|
|
|
@@ -1490,6 +1555,16 @@ interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof TabsPri
|
|
|
1490
1555
|
}
|
|
1491
1556
|
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
1492
1557
|
|
|
1558
|
+
interface TagsInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange"> {
|
|
1559
|
+
value: string[];
|
|
1560
|
+
onChange: (tags: string[]) => void;
|
|
1561
|
+
maxTags?: number;
|
|
1562
|
+
variant?: "primary" | "secondary" | "destructive" | "outline";
|
|
1563
|
+
allowDuplicates?: boolean;
|
|
1564
|
+
delimiter?: string;
|
|
1565
|
+
}
|
|
1566
|
+
declare const TagsInput: React.ForwardRefExoticComponent<TagsInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1567
|
+
|
|
1493
1568
|
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1494
1569
|
variant?: "default" | "outline" | "ghost" | "underline";
|
|
1495
1570
|
size?: "sm" | "md" | "lg";
|
|
@@ -1545,7 +1620,7 @@ declare const toggleVariants: (props?: {
|
|
|
1545
1620
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1546
1621
|
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
1547
1622
|
}
|
|
1548
|
-
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<
|
|
1623
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1549
1624
|
|
|
1550
1625
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1551
1626
|
declare const tooltipVariants: (props?: {
|
|
@@ -1576,4 +1651,6 @@ interface SimpleTooltipProps {
|
|
|
1576
1651
|
}
|
|
1577
1652
|
declare const SimpleTooltip: React.ForwardRefExoticComponent<SimpleTooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
1578
1653
|
|
|
1579
|
-
|
|
1654
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
1655
|
+
|
|
1656
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertProps, AlertTitle, AspectRatio, AspectRatioProps, Avatar, AvatarFallback, AvatarGroup, AvatarImage, AvatarProps, Badge, BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonProps, Card, CardCVCInput, CardCVCInputProps, CardContent, CardDescription, CardExpiryInput, CardExpiryInputProps, CardFooter, CardHeader, CardNumberInput, CardNumberInputProps, CardProps, CardTitle, CardZipInput, CardZipInputProps, Checkbox, CheckboxGroup, CheckboxLabel, CheckboxProps, CheckboxWithLabel, Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleTrigger, CollapsibleTriggerProps, ColorPicker, ColorPickerProps, ColumnDefinition, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DataTable, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, DateTimePicker, DateTimePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogForm, DialogHeader, DialogTitle, DialogTrigger, DraggableList, DraggableListProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FileUpload, FileUploadProps, FreeBadge, GestureDrawer, GestureDrawerProps, GitHubStarButton, GitHubStars, GradientPicker, GradientPickerProps, Input, InputProps, Label, LockedComponent, MonthPicker, MonthPickerProps, MoonLogo, MoonLogoAnimated, MoonLogoIcon, Accordion as MoonUIAccordion, AccordionContent as MoonUIAccordionContent, AccordionItem as MoonUIAccordionItem, AccordionTrigger as MoonUIAccordionTrigger, Alert as MoonUIAlert, AlertDescription as MoonUIAlertDescription, AlertTitle as MoonUIAlertTitle, AspectRatio as MoonUIAspectRatio, Avatar as MoonUIAvatar, AvatarFallback as MoonUIAvatarFallback, AvatarGroup as MoonUIAvatarGroup, AvatarImage as MoonUIAvatarImage, Badge as MoonUIBadge, Breadcrumb as MoonUIBreadcrumb, BreadcrumbEllipsis as MoonUIBreadcrumbEllipsis, BreadcrumbItem as MoonUIBreadcrumbItem, BreadcrumbLink as MoonUIBreadcrumbLink, BreadcrumbList as MoonUIBreadcrumbList, BreadcrumbPage as MoonUIBreadcrumbPage, BreadcrumbSeparator as MoonUIBreadcrumbSeparator, Button as MoonUIButton, Card as MoonUICard, CardCVCInput as MoonUICardCVCInput, CardContent as MoonUICardContent, CardDescription as MoonUICardDescription, CardExpiryInput as MoonUICardExpiryInput, CardFooter as MoonUICardFooter, CardHeader as MoonUICardHeader, CardNumberInput as MoonUICardNumberInput, CardTitle as MoonUICardTitle, CardZipInput as MoonUICardZipInput, Checkbox as MoonUICheckbox, CheckboxGroup as MoonUICheckboxGroup, CheckboxLabel as MoonUICheckboxLabel, CheckboxWithLabel as MoonUICheckboxWithLabel, Collapsible as MoonUICollapsible, CollapsibleContent as MoonUICollapsibleContent, CollapsibleTrigger as MoonUICollapsibleTrigger, ColorPicker as MoonUIColorPicker, Command as MoonUICommand, CommandDialog as MoonUICommandDialog, CommandEmpty as MoonUICommandEmpty, CommandGroup as MoonUICommandGroup, CommandInput as MoonUICommandInput, CommandItem as MoonUICommandItem, CommandList as MoonUICommandList, CommandSeparator as MoonUICommandSeparator, CommandShortcut as MoonUICommandShortcut, DataTable as MoonUIDataTable, DatePicker as MoonUIDatePicker, DateRangePicker as MoonUIDateRangePicker, DateTimePicker as MoonUIDateTimePicker, Dialog as MoonUIDialog, DialogClose as MoonUIDialogClose, DialogContent as MoonUIDialogContent, DialogDescription as MoonUIDialogDescription, DialogFooter as MoonUIDialogFooter, DialogHeader as MoonUIDialogHeader, DialogTitle as MoonUIDialogTitle, DialogTrigger as MoonUIDialogTrigger, DraggableList as MoonUIDraggableList, DropdownMenu as MoonUIDropdownMenu, DropdownMenuCheckboxItem as MoonUIDropdownMenuCheckboxItem, DropdownMenuContent as MoonUIDropdownMenuContent, DropdownMenuGroup as MoonUIDropdownMenuGroup, DropdownMenuItem as MoonUIDropdownMenuItem, DropdownMenuLabel as MoonUIDropdownMenuLabel, DropdownMenuPortal as MoonUIDropdownMenuPortal, DropdownMenuRadioGroup as MoonUIDropdownMenuRadioGroup, DropdownMenuRadioItem as MoonUIDropdownMenuRadioItem, DropdownMenuSeparator as MoonUIDropdownMenuSeparator, DropdownMenuShortcut as MoonUIDropdownMenuShortcut, DropdownMenuSub as MoonUIDropdownMenuSub, DropdownMenuSubContent as MoonUIDropdownMenuSubContent, DropdownMenuSubTrigger as MoonUIDropdownMenuSubTrigger, DropdownMenuTrigger as MoonUIDropdownMenuTrigger, FileUpload as MoonUIFileUpload, FreeBadge as MoonUIFreeBadge, GestureDrawer as MoonUIGestureDrawer, GitHubStars as MoonUIGitHubStars, GradientPicker as MoonUIGradientPicker, Input as MoonUIInput, Label as MoonUILabel, LockedComponent as MoonUILockedComponent, MonthPicker as MoonUIMonthPicker, MoonLogo as MoonUIMoonLogo, Pagination as MoonUIPagination, PaginationContent as MoonUIPaginationContent, PaginationEllipsis as MoonUIPaginationEllipsis, PaginationItem as MoonUIPaginationItem, PaginationLink as MoonUIPaginationLink, PaginationNext as MoonUIPaginationNext, PaginationPrevious as MoonUIPaginationPrevious, PhoneInput as MoonUIPhoneInput, Popover as MoonUIPopover, PopoverContent as MoonUIPopoverContent, PopoverTrigger as MoonUIPopoverTrigger, ProBadge as MoonUIProBadge, ProComponentWrapper as MoonUIProComponentWrapper, Progress as MoonUIProgress, RadioGroup as MoonUIRadioGroup, RadioGroupItem as MoonUIRadioGroupItem, RadioItemWithLabel as MoonUIRadioItemWithLabel, RadioLabel as MoonUIRadioLabel, RichTextEditor as MoonUIRichTextEditor, ScrollArea as MoonUIScrollArea, ScrollBar as MoonUIScrollBar, Select as MoonUISelect, SelectContent as MoonUISelectContent, SelectGroup as MoonUISelectGroup, SelectItem as MoonUISelectItem, SelectLabel as MoonUISelectLabel, SelectScrollDownButton as MoonUISelectScrollDownButton, SelectScrollUpButton as MoonUISelectScrollUpButton, SelectSeparator as MoonUISelectSeparator, SelectTrigger as MoonUISelectTrigger, SelectValue as MoonUISelectValue, Separator as MoonUISeparator, SimpleColorPicker as MoonUISimpleColorPicker, SimpleEditor as MoonUISimpleEditor, Skeleton as MoonUISkeleton, SkeletonAvatar as MoonUISkeletonAvatar, SkeletonCard as MoonUISkeletonCard, SkeletonText as MoonUISkeletonText, Slider as MoonUISlider, SwipeableCard as MoonUISwipeableCard, Switch as MoonUISwitch, Table as MoonUITable, TableBody as MoonUITableBody, TableCaption as MoonUITableCaption, TableCell as MoonUITableCell, TableFooter as MoonUITableFooter, TableHead as MoonUITableHead, TableHeader as MoonUITableHeader, TableRow as MoonUITableRow, Tabs as MoonUITabs, TabsContent as MoonUITabsContent, TabsList as MoonUITabsList, TabsTrigger as MoonUITabsTrigger, TagsInput as MoonUITagsInput, Textarea as MoonUITextarea, Toast as MoonUIToast, ToastAction as MoonUIToastAction, ToastClose as MoonUIToastClose, ToastDescription as MoonUIToastDescription, ToastProvider as MoonUIToastProvider, ToastTitle as MoonUIToastTitle, ToastViewport as MoonUIToastViewport, Toaster as MoonUIToaster, Toggle as MoonUIToggle, Tooltip as MoonUITooltip, TooltipContent as MoonUITooltipContent, TooltipProvider as MoonUITooltipProvider, TooltipTrigger as MoonUITooltipTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PhoneInput, PhoneInputProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverFooter, PopoverHeader, PopoverSeparator, PopoverTrigger, ProBadge, ProComponentWrapper, Progress, ProgressProps, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps, RadioItemWithLabel, RadioLabel, RichTextEditor, RichTextEditorProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorProps, SimpleColorPicker, SimpleColorPickerProps, SimpleEditor, SimpleEditorProps, SimpleTooltip, SimpleTooltipProps, Skeleton, SkeletonAvatar, SkeletonAvatarProps, SkeletonCard, SkeletonCardProps, SkeletonProps, SkeletonText, SkeletonTextProps, Slider, SortDirection, SwipeableCard, SwipeableCardProps, Switch, SwitchProps, SwitchSize, SwitchVariant, Table, TableBody, TableBodyProps, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagsInput, TagsInputProps, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleProps, Tooltip, TooltipArrow, TooltipContent, TooltipContentProps, TooltipProvider, TooltipTrigger, aspectRatioVariants, badgeVariants, buttonVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, createFilterableColumn, createSortableHeader, badgeVariants as moonUIBadgeVariants, buttonVariants as moonUIButtonVariants, skeletonVariants as moonUISkeletonVariants, toggleVariants as moonUIToggleVariants, popoverContentVariants, progressVariants, separatorVariants, skeletonVariants, toast, toggleVariants, tooltipVariants, useToast };
|