@customafk/lunas-ui 0.0.0-w → 0.0.0-y
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 +100 -1
- package/dist/Atoms/index.js +686 -424
- package/dist/Icons/index.d.ts +4 -2
- package/dist/Icons/index.js +117 -87
- package/dist/Layout/index.js +1 -1
- package/dist/Molecules/index.d.ts +15 -4
- package/dist/Molecules/index.js +852 -527
- package/dist/Organisms/index.d.ts +8 -1
- package/dist/Organisms/index.js +907 -562
- package/dist/tailwindTheme.js +1 -1
- package/package.json +3 -1
package/dist/Atoms/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import React__default, { ButtonHTMLAttributes, ReactNode, HTMLAttributes } from
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
7
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
6
8
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
7
9
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
8
10
|
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
@@ -34,6 +36,103 @@ declare const CardDescription: React__default.ForwardRefExoticComponent<React__d
|
|
|
34
36
|
declare const CardContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
35
37
|
declare const CardFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
36
38
|
|
|
39
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
42
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
43
|
+
} & {
|
|
44
|
+
asChild?: boolean;
|
|
45
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
46
|
+
label?: string;
|
|
47
|
+
shouldFilter?: boolean;
|
|
48
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
49
|
+
defaultValue?: string;
|
|
50
|
+
value?: string;
|
|
51
|
+
onValueChange?: (value: string) => void;
|
|
52
|
+
loop?: boolean;
|
|
53
|
+
disablePointerSelection?: boolean;
|
|
54
|
+
vimBindings?: boolean;
|
|
55
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
interface CommandDialogProps extends DialogProps {
|
|
57
|
+
}
|
|
58
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
59
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
60
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
61
|
+
} & {
|
|
62
|
+
asChild?: boolean;
|
|
63
|
+
}, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
|
|
64
|
+
value?: string;
|
|
65
|
+
onValueChange?: (search: string) => void;
|
|
66
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
67
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
68
|
+
children?: React.ReactNode;
|
|
69
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
70
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
71
|
+
} & {
|
|
72
|
+
asChild?: boolean;
|
|
73
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
74
|
+
label?: string;
|
|
75
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
77
|
+
children?: React.ReactNode;
|
|
78
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
79
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
80
|
+
} & {
|
|
81
|
+
asChild?: boolean;
|
|
82
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
83
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
84
|
+
children?: React.ReactNode;
|
|
85
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
86
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
87
|
+
} & {
|
|
88
|
+
asChild?: boolean;
|
|
89
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
90
|
+
heading?: React.ReactNode;
|
|
91
|
+
value?: string;
|
|
92
|
+
forceMount?: boolean;
|
|
93
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
94
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
95
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
96
|
+
} & {
|
|
97
|
+
asChild?: boolean;
|
|
98
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
99
|
+
alwaysRender?: boolean;
|
|
100
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
101
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
102
|
+
children?: React.ReactNode;
|
|
103
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
104
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
105
|
+
} & {
|
|
106
|
+
asChild?: boolean;
|
|
107
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
|
|
108
|
+
disabled?: boolean;
|
|
109
|
+
onSelect?: (value: string) => void;
|
|
110
|
+
value?: string;
|
|
111
|
+
keywords?: string[];
|
|
112
|
+
forceMount?: boolean;
|
|
113
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
114
|
+
declare const CommandShortcut: {
|
|
115
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
116
|
+
displayName: string;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
120
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
121
|
+
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
122
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
123
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
124
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
125
|
+
declare const DialogHeader: {
|
|
126
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
127
|
+
displayName: string;
|
|
128
|
+
};
|
|
129
|
+
declare const DialogFooter: {
|
|
130
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
131
|
+
displayName: string;
|
|
132
|
+
};
|
|
133
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
134
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
135
|
+
|
|
37
136
|
declare const DropdownMenu: React__default.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
38
137
|
declare const DropdownMenuGroup: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
39
138
|
declare const DropdownMenuPortal: React__default.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
@@ -91,4 +190,4 @@ declare const FormControl: React.ForwardRefExoticComponent<Omit<_radix_ui_react_
|
|
|
91
190
|
declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
92
191
|
declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
93
192
|
|
|
94
|
-
export { Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, 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 };
|
|
193
|
+
export { Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, 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 };
|