@customafk/lunas-ui 0.0.1-c → 0.0.1-e
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/Atoms/index.d.ts +69 -10
- package/dist/Atoms/index.js +2331 -1246
- package/dist/Icons/index.d.ts +10 -2
- package/dist/Icons/index.js +398 -124
- package/dist/Molecules/index.d.ts +5 -5
- package/dist/Molecules/index.js +2035 -1687
- package/dist/Organisms/index.d.ts +3 -3
- package/dist/Organisms/index.js +2193 -1843
- package/dist/{types-BUTht_HJ.d.ts → types-DdUenP1k.d.ts} +1 -1
- package/package.json +4 -1
package/dist/Atoms/index.d.ts
CHANGED
|
@@ -1,17 +1,38 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import * as React from 'react';
|
|
2
|
-
import React__default, { ButtonHTMLAttributes, ReactNode, HTMLAttributes } from 'react';
|
|
3
|
+
import React__default, { ButtonHTMLAttributes, ReactNode, HTMLAttributes, ComponentProps, FC } from 'react';
|
|
4
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
3
5
|
import { VariantProps } from 'class-variance-authority';
|
|
4
6
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
5
7
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
8
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
9
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
9
10
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
11
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
12
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
10
13
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
11
14
|
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
12
15
|
import * as react_hook_form from 'react-hook-form';
|
|
13
16
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
14
17
|
|
|
18
|
+
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
19
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
21
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const AlertDialogHeader: {
|
|
24
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
27
|
+
declare const AlertDialogFooter: {
|
|
28
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
29
|
+
displayName: string;
|
|
30
|
+
};
|
|
31
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
32
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
33
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
34
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
35
|
+
|
|
15
36
|
declare const buttonVariants: (props?: ({
|
|
16
37
|
variant?: "default" | "secondary" | "outline" | "ghost" | "destructive" | "destructive-outline" | "destructive-ghost" | "accept" | "accept-outline" | "normal" | null | undefined;
|
|
17
38
|
size?: "default" | null | undefined;
|
|
@@ -32,6 +53,24 @@ interface IBadgeProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
32
53
|
}
|
|
33
54
|
declare const Badge: React.MemoExoticComponent<React.ForwardRefExoticComponent<IBadgeProps & React.RefAttributes<HTMLDivElement>>>;
|
|
34
55
|
|
|
56
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
57
|
+
separator?: ReactNode;
|
|
58
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
59
|
+
declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
60
|
+
declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
61
|
+
declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
62
|
+
asChild?: boolean;
|
|
63
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
64
|
+
declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
65
|
+
declare const BreadcrumbSeparator: {
|
|
66
|
+
({ children, className, ...props }: ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
67
|
+
displayName: string;
|
|
68
|
+
};
|
|
69
|
+
declare const BreadcrumbEllipsis: {
|
|
70
|
+
({ className, ...props }: ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
71
|
+
displayName: string;
|
|
72
|
+
};
|
|
73
|
+
|
|
35
74
|
declare const Card: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
36
75
|
declare const CardHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
37
76
|
declare const CardTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -65,7 +104,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
65
104
|
ref?: React.Ref<HTMLDivElement>;
|
|
66
105
|
} & {
|
|
67
106
|
asChild?: boolean;
|
|
68
|
-
}, "
|
|
107
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
69
108
|
label?: string;
|
|
70
109
|
shouldFilter?: boolean;
|
|
71
110
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -83,7 +122,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
|
|
|
83
122
|
ref?: React.Ref<HTMLInputElement>;
|
|
84
123
|
} & {
|
|
85
124
|
asChild?: boolean;
|
|
86
|
-
}, "
|
|
125
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "onChange" | "value"> & {
|
|
87
126
|
value?: string;
|
|
88
127
|
onValueChange?: (search: string) => void;
|
|
89
128
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -93,7 +132,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
|
93
132
|
ref?: React.Ref<HTMLDivElement>;
|
|
94
133
|
} & {
|
|
95
134
|
asChild?: boolean;
|
|
96
|
-
}, "
|
|
135
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
97
136
|
label?: string;
|
|
98
137
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
99
138
|
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -102,14 +141,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
|
102
141
|
ref?: React.Ref<HTMLDivElement>;
|
|
103
142
|
} & {
|
|
104
143
|
asChild?: boolean;
|
|
105
|
-
}, "
|
|
144
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
106
145
|
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
107
146
|
children?: React.ReactNode;
|
|
108
147
|
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
109
148
|
ref?: React.Ref<HTMLDivElement>;
|
|
110
149
|
} & {
|
|
111
150
|
asChild?: boolean;
|
|
112
|
-
}, "
|
|
151
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
113
152
|
heading?: React.ReactNode;
|
|
114
153
|
value?: string;
|
|
115
154
|
forceMount?: boolean;
|
|
@@ -118,7 +157,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
|
|
|
118
157
|
ref?: React.Ref<HTMLDivElement>;
|
|
119
158
|
} & {
|
|
120
159
|
asChild?: boolean;
|
|
121
|
-
}, "
|
|
160
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
122
161
|
alwaysRender?: boolean;
|
|
123
162
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
124
163
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -127,7 +166,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
127
166
|
ref?: React.Ref<HTMLDivElement>;
|
|
128
167
|
} & {
|
|
129
168
|
asChild?: boolean;
|
|
130
|
-
}, "
|
|
169
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
131
170
|
disabled?: boolean;
|
|
132
171
|
onSelect?: (value: string) => void;
|
|
133
172
|
value?: string;
|
|
@@ -181,6 +220,12 @@ declare const DropdownMenuShortcut: {
|
|
|
181
220
|
displayName: string;
|
|
182
221
|
};
|
|
183
222
|
|
|
223
|
+
interface IProps$1 {
|
|
224
|
+
initialValue?: number;
|
|
225
|
+
onValueChange?: (value: number) => void;
|
|
226
|
+
}
|
|
227
|
+
declare const QuantityBtn: FC<IProps$1>;
|
|
228
|
+
|
|
184
229
|
interface IProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
185
230
|
readonly fullname: string;
|
|
186
231
|
readonly email: string;
|
|
@@ -189,6 +234,20 @@ interface IProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
|
189
234
|
}
|
|
190
235
|
declare const UserAvatar: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<IProps & React__default.RefAttributes<HTMLDivElement>>>;
|
|
191
236
|
|
|
237
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
238
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
239
|
+
|
|
240
|
+
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
241
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
242
|
+
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
243
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
244
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
245
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
246
|
+
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
247
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
248
|
+
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
249
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
250
|
+
|
|
192
251
|
declare const Toaster: () => react_jsx_runtime.JSX.Element;
|
|
193
252
|
|
|
194
253
|
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
@@ -213,4 +272,4 @@ declare const FormControl: React.ForwardRefExoticComponent<Omit<_radix_ui_react_
|
|
|
213
272
|
declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
214
273
|
declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
215
274
|
|
|
216
|
-
export { Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Label, Toaster, UserAvatar, useFormField };
|
|
275
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Label, QuantityBtn, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Toaster, UserAvatar, useFormField };
|