shad-m 1.0.0 → 1.0.3
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/common/interactive/list.d.ts +1 -1
- package/dist/common/interactive/select/variants.d.ts +1 -1
- package/dist/components/alert-dialog.d.ts +2 -2
- package/dist/components/badge.d.ts +3 -3
- package/dist/components/button.d.ts +4 -4
- package/dist/components/chip.d.ts +2 -2
- package/dist/components/command.d.ts +7 -7
- package/dist/components/dialog.d.ts +2 -2
- package/dist/components/input-otp.d.ts +2 -2
- package/dist/components/resizable.d.ts +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/spinner.d.ts +2 -2
- package/dist/components/stepper.d.ts +3 -3
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle.d.ts +2 -2
- package/dist/index.d.ts +63 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +441 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +64 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +34 -2
|
@@ -2,7 +2,7 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const listItemVariants: (props?: ({
|
|
4
4
|
size?: "normal" | "large" | null | undefined;
|
|
5
|
-
version?: "
|
|
5
|
+
version?: "horizontal" | "vertical" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface ListItemProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof listItemVariants> {
|
|
8
8
|
asChild?: boolean;
|
|
@@ -3,7 +3,7 @@ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
|
3
3
|
import { type VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
declare const alertDialogVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "md" | "lg" | "xl" | "sm" | "full" | "2xl" | "3xl" | "4xl" | "5xl" | "auto" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
9
9
|
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -15,7 +15,7 @@ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDial
|
|
|
15
15
|
trackingNameView?: string;
|
|
16
16
|
trackingNameClose?: string;
|
|
17
17
|
} & Omit<TrackingPropsType, "trackingName"> & VariantProps<(props?: ({
|
|
18
|
-
size?: "
|
|
18
|
+
size?: "md" | "lg" | "xl" | "sm" | "full" | "2xl" | "3xl" | "4xl" | "5xl" | "auto" | null | undefined;
|
|
19
19
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
declare const AlertDialogHeader: {
|
|
21
21
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "
|
|
5
|
-
rounded?: "
|
|
6
|
-
size?: "
|
|
4
|
+
variant?: "default" | "destructive" | "success" | "warning" | "primary-success" | "primary-warning" | "primary-info" | "primary-error" | "soft-success" | "soft-warning" | "soft-info" | "soft-error" | "heavy-success" | "heavy-warning" | "heavy-info" | "heavy-error" | "light-success" | "light-warning" | "light-info" | "light-error" | "outline-success" | "outline-warning" | "outline-info" | "outline-error" | "secondary" | "outline" | null | undefined;
|
|
5
|
+
rounded?: "none" | "md" | "lg" | "xl" | "sm" | "full" | null | undefined;
|
|
6
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
9
9
|
}
|
|
@@ -2,9 +2,9 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { TrackingPropsType } from '@/lib/types';
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
|
-
variant?: "link" | "default" | "
|
|
6
|
-
rounded?: "
|
|
7
|
-
size?: "
|
|
5
|
+
variant?: "link" | "default" | "destructive" | "primary-success" | "primary-warning" | "primary-info" | "primary-error" | "soft-success" | "soft-warning" | "soft-info" | "soft-error" | "heavy-success" | "heavy-warning" | "heavy-info" | "heavy-error" | "light-success" | "light-warning" | "light-info" | "light-error" | "outline-success" | "outline-warning" | "outline-info" | "outline-error" | "secondary" | "outline" | "ghost" | "plain" | "plain-error" | "icon" | null | undefined;
|
|
6
|
+
rounded?: "none" | "md" | "lg" | "xl" | "sm" | "full" | null | undefined;
|
|
7
|
+
size?: "default" | "lg" | "sm" | "icon" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
interface TrackingData {
|
|
10
10
|
[key: string]: any;
|
|
@@ -18,7 +18,7 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
18
18
|
}
|
|
19
19
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
20
|
declare const buttonGroupVariants: (props?: ({
|
|
21
|
-
direction?: "
|
|
21
|
+
direction?: "horizontal" | "vertical" | null | undefined;
|
|
22
22
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
23
23
|
interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof buttonGroupVariants> {
|
|
24
24
|
asChild?: boolean;
|
|
@@ -2,8 +2,8 @@ import { TrackingPropsType } from '@/lib/types';
|
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
declare const chipVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
6
|
-
status?: "
|
|
5
|
+
size?: "circle" | "default" | "lg" | "sm" | null | undefined;
|
|
6
|
+
status?: "default" | "destructive" | "active" | "disable" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
interface TrackingData {
|
|
9
9
|
[key: string]: any;
|
|
@@ -6,7 +6,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
6
6
|
ref?: React.Ref<HTMLDivElement>;
|
|
7
7
|
} & {
|
|
8
8
|
asChild?: boolean;
|
|
9
|
-
}, "key" |
|
|
9
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
10
10
|
label?: string;
|
|
11
11
|
shouldFilter?: boolean;
|
|
12
12
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -22,7 +22,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
|
|
|
22
22
|
ref?: React.Ref<HTMLInputElement>;
|
|
23
23
|
} & {
|
|
24
24
|
asChild?: boolean;
|
|
25
|
-
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "
|
|
25
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
26
26
|
value?: string;
|
|
27
27
|
onValueChange?: (search: string) => void;
|
|
28
28
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -32,7 +32,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
|
32
32
|
ref?: React.Ref<HTMLDivElement>;
|
|
33
33
|
} & {
|
|
34
34
|
asChild?: boolean;
|
|
35
|
-
}, "key" |
|
|
35
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
36
36
|
label?: string;
|
|
37
37
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -41,14 +41,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
|
41
41
|
ref?: React.Ref<HTMLDivElement>;
|
|
42
42
|
} & {
|
|
43
43
|
asChild?: boolean;
|
|
44
|
-
}, "key" |
|
|
44
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
45
|
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
46
46
|
children?: React.ReactNode;
|
|
47
47
|
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
48
48
|
ref?: React.Ref<HTMLDivElement>;
|
|
49
49
|
} & {
|
|
50
50
|
asChild?: boolean;
|
|
51
|
-
}, "key" |
|
|
51
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
52
52
|
heading?: React.ReactNode;
|
|
53
53
|
value?: string;
|
|
54
54
|
forceMount?: boolean;
|
|
@@ -57,7 +57,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
|
|
|
57
57
|
ref?: React.Ref<HTMLDivElement>;
|
|
58
58
|
} & {
|
|
59
59
|
asChild?: boolean;
|
|
60
|
-
}, "key" |
|
|
60
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
61
61
|
alwaysRender?: boolean;
|
|
62
62
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
63
63
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -66,7 +66,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
66
66
|
ref?: React.Ref<HTMLDivElement>;
|
|
67
67
|
} & {
|
|
68
68
|
asChild?: boolean;
|
|
69
|
-
}, "key" |
|
|
69
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
70
70
|
disabled?: boolean;
|
|
71
71
|
onSelect?: (value: string) => void;
|
|
72
72
|
value?: string;
|
|
@@ -3,7 +3,7 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { TrackingPropsType } from '@/lib/types';
|
|
5
5
|
declare const dialogVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "md" | "lg" | "xl" | "sm" | "full" | "2xl" | "3xl" | "4xl" | "5xl" | "auto" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
9
9
|
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -16,7 +16,7 @@ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitiv
|
|
|
16
16
|
trackingNameView?: string;
|
|
17
17
|
trackingNameClose?: string;
|
|
18
18
|
} & Omit<TrackingPropsType, "trackingName"> & VariantProps<(props?: ({
|
|
19
|
-
size?: "
|
|
19
|
+
size?: "md" | "lg" | "xl" | "sm" | "full" | "2xl" | "3xl" | "4xl" | "5xl" | "auto" | null | undefined;
|
|
20
20
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
21
21
|
declare const DialogHeader: {
|
|
22
22
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const InputOTP: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
2
|
+
declare const InputOTP: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
3
3
|
value?: string;
|
|
4
4
|
onChange?: (newValue: string) => unknown;
|
|
5
5
|
maxLength: number;
|
|
@@ -12,7 +12,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.Inp
|
|
|
12
12
|
} & {
|
|
13
13
|
render: (props: import("input-otp").RenderProps) => React.ReactNode;
|
|
14
14
|
children?: never;
|
|
15
|
-
} & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
15
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
16
16
|
value?: string;
|
|
17
17
|
onChange?: (newValue: string) => unknown;
|
|
18
18
|
maxLength: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
2
2
|
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<
|
|
3
|
+
declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLParagraphElement | HTMLSelectElement | HTMLAnchorElement | HTMLButtonElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLSpanElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLSlotElement | HTMLScriptElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
4
4
|
className?: string | undefined;
|
|
5
5
|
collapsedSize?: number | undefined;
|
|
6
6
|
collapsible?: boolean | undefined;
|
|
@@ -66,7 +66,7 @@ declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<React.Clas
|
|
|
66
66
|
isActive?: boolean;
|
|
67
67
|
} & VariantProps<(props?: ({
|
|
68
68
|
variant?: "default" | "outline" | null | undefined;
|
|
69
|
-
size?: "
|
|
69
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
70
70
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
71
71
|
declare const SidebarMenuAction: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
72
72
|
asChild?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const spinnerVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
5
|
-
variant?: "
|
|
4
|
+
size?: "md" | "lg" | "sm" | null | undefined;
|
|
5
|
+
variant?: "success" | "warning" | "primary" | "white" | "info" | "error" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
8
8
|
}
|
|
@@ -59,9 +59,9 @@ export declare function defineStepper(...steps: StepperStepType[]): {
|
|
|
59
59
|
className?: string;
|
|
60
60
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
61
61
|
StepperNavigation: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
62
|
-
variant?: "
|
|
63
|
-
spacing?: "
|
|
64
|
-
height?: "
|
|
62
|
+
variant?: "circle" | "horizontal" | "vertical" | null | undefined;
|
|
63
|
+
spacing?: "md" | "lg" | "sm" | null | undefined;
|
|
64
|
+
height?: "full" | "auto" | "dynamic" | null | undefined;
|
|
65
65
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
66
66
|
containerHeight?: string | number;
|
|
67
67
|
dynamicHeight?: boolean;
|
|
@@ -3,11 +3,11 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { ToggleGroup, ToggleGroupItem };
|
|
13
13
|
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -3,11 +3,11 @@ import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
|
3
3
|
import { type VariantProps } from 'class-variance-authority';
|
|
4
4
|
declare const toggleVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { Toggle, toggleVariants };
|
|
13
13
|
//# sourceMappingURL=toggle.d.ts.map
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export * from './components/accordion';
|
|
2
|
+
export * from './components/alert';
|
|
3
|
+
export * from './components/alert-dialog';
|
|
4
|
+
export * from './components/aspect-ratio';
|
|
5
|
+
export * from './components/avatar';
|
|
6
|
+
export * from './components/badge';
|
|
7
|
+
export * from './components/breadcrumb';
|
|
8
|
+
export * from './components/button';
|
|
9
|
+
export * from './components/calendar';
|
|
10
|
+
export * from './components/card';
|
|
11
|
+
export * from './components/carousel';
|
|
12
|
+
export * from './components/chart';
|
|
13
|
+
export * from './components/checkbox';
|
|
14
|
+
export * from './components/chip';
|
|
15
|
+
export * from './components/collapsible';
|
|
16
|
+
export * from './components/command';
|
|
17
|
+
export * from './components/context-menu';
|
|
18
|
+
export * from './components/dialog';
|
|
19
|
+
export * from './components/drawer';
|
|
20
|
+
export * from './components/dropdown-menu';
|
|
21
|
+
export * from './components/form';
|
|
22
|
+
export * from './components/hover-card';
|
|
23
|
+
export * from './components/input';
|
|
24
|
+
export * from './components/input-otp';
|
|
25
|
+
export * from './components/label';
|
|
26
|
+
export * from './components/lottie';
|
|
27
|
+
export * from './components/menubar';
|
|
28
|
+
export * from './components/navigation-menu';
|
|
29
|
+
export * from './components/pagination';
|
|
30
|
+
export * from './components/popover';
|
|
31
|
+
export * from './components/progress';
|
|
32
|
+
export * from './components/radio-group';
|
|
33
|
+
export * from './components/resizable';
|
|
34
|
+
export * from './components/responsive-popover';
|
|
35
|
+
export * from './components/scroll-area';
|
|
36
|
+
export * from './components/separator';
|
|
37
|
+
export * from './components/sheet';
|
|
38
|
+
export * from './components/sidebar';
|
|
39
|
+
export * from './components/skeleton';
|
|
40
|
+
export * from './components/slider';
|
|
41
|
+
export * from './components/sonner';
|
|
42
|
+
export * from './components/spinner';
|
|
43
|
+
export * from './components/stepper';
|
|
44
|
+
export * from './components/switch';
|
|
45
|
+
export * from './components/table';
|
|
46
|
+
export * from './components/tabs';
|
|
47
|
+
export * from './components/textarea';
|
|
48
|
+
export * from './components/toggle';
|
|
49
|
+
export * from './components/toggle-group';
|
|
50
|
+
export * from './components/tooltip';
|
|
51
|
+
export * from './lib/utils';
|
|
52
|
+
export * from './lib/helpers';
|
|
53
|
+
export * from './lib/formatCurrency';
|
|
54
|
+
export * from './lib/types';
|
|
55
|
+
export * from './hooks';
|
|
56
|
+
export * from './theme';
|
|
57
|
+
export * from './providers';
|
|
58
|
+
export * from './icons';
|
|
59
|
+
export * from './assets/Icon';
|
|
60
|
+
export * from './assets/Image';
|
|
61
|
+
export * from './assets/Animation';
|
|
62
|
+
export * from './common/display';
|
|
63
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AAGrC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAG5B,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAGxB,cAAc,aAAa,CAAC;AAG5B,cAAc,SAAS,CAAC;AAGxB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AAGnC,cAAc,kBAAkB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var accordion = require('./components/accordion');
|
|
4
|
+
var alert = require('./components/alert');
|
|
5
|
+
var alertDialog = require('./components/alert-dialog');
|
|
6
|
+
var aspectRatio = require('./components/aspect-ratio');
|
|
7
|
+
var avatar = require('./components/avatar');
|
|
8
|
+
var badge = require('./components/badge');
|
|
9
|
+
var breadcrumb = require('./components/breadcrumb');
|
|
10
|
+
var button = require('./components/button');
|
|
11
|
+
var calendar = require('./components/calendar');
|
|
12
|
+
var card = require('./components/card');
|
|
13
|
+
var carousel = require('./components/carousel');
|
|
14
|
+
var chart = require('./components/chart');
|
|
15
|
+
var checkbox = require('./components/checkbox');
|
|
16
|
+
var chip = require('./components/chip');
|
|
17
|
+
var collapsible = require('./components/collapsible');
|
|
18
|
+
var command = require('./components/command');
|
|
19
|
+
var contextMenu = require('./components/context-menu');
|
|
20
|
+
var dialog = require('./components/dialog');
|
|
21
|
+
var drawer = require('./components/drawer');
|
|
22
|
+
var dropdownMenu = require('./components/dropdown-menu');
|
|
23
|
+
var form = require('./components/form');
|
|
24
|
+
var hoverCard = require('./components/hover-card');
|
|
25
|
+
var input = require('./components/input');
|
|
26
|
+
var inputOtp = require('./components/input-otp');
|
|
27
|
+
var label = require('./components/label');
|
|
28
|
+
var lottie = require('./components/lottie');
|
|
29
|
+
var menubar = require('./components/menubar');
|
|
30
|
+
var navigationMenu = require('./components/navigation-menu');
|
|
31
|
+
var pagination = require('./components/pagination');
|
|
32
|
+
var popover = require('./components/popover');
|
|
33
|
+
var progress = require('./components/progress');
|
|
34
|
+
var radioGroup = require('./components/radio-group');
|
|
35
|
+
var resizable = require('./components/resizable');
|
|
36
|
+
var responsivePopover = require('./components/responsive-popover');
|
|
37
|
+
var scrollArea = require('./components/scroll-area');
|
|
38
|
+
var separator = require('./components/separator');
|
|
39
|
+
var sheet = require('./components/sheet');
|
|
40
|
+
var sidebar = require('./components/sidebar');
|
|
41
|
+
var skeleton = require('./components/skeleton');
|
|
42
|
+
var slider = require('./components/slider');
|
|
43
|
+
var sonner = require('./components/sonner');
|
|
44
|
+
var spinner = require('./components/spinner');
|
|
45
|
+
var stepper = require('./components/stepper');
|
|
46
|
+
var _switch = require('./components/switch');
|
|
47
|
+
var table = require('./components/table');
|
|
48
|
+
var tabs = require('./components/tabs');
|
|
49
|
+
var textarea = require('./components/textarea');
|
|
50
|
+
var toggle = require('./components/toggle');
|
|
51
|
+
var toggleGroup = require('./components/toggle-group');
|
|
52
|
+
var tooltip = require('./components/tooltip');
|
|
53
|
+
var utils = require('./lib/utils');
|
|
54
|
+
var helpers = require('./lib/helpers');
|
|
55
|
+
var formatCurrency = require('./lib/formatCurrency');
|
|
56
|
+
var types = require('./lib/types');
|
|
57
|
+
var hooks = require('./hooks');
|
|
58
|
+
var theme = require('./theme');
|
|
59
|
+
var providers = require('./providers');
|
|
60
|
+
var icons = require('./icons');
|
|
61
|
+
var Icon = require('./assets/Icon');
|
|
62
|
+
var Image = require('./assets/Image');
|
|
63
|
+
var Animation = require('./assets/Animation');
|
|
64
|
+
var display = require('./common/display');
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Object.keys(accordion).forEach(function (k) {
|
|
69
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return accordion[k]; }
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
Object.keys(alert).forEach(function (k) {
|
|
75
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () { return alert[k]; }
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
Object.keys(alertDialog).forEach(function (k) {
|
|
81
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return alertDialog[k]; }
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
Object.keys(aspectRatio).forEach(function (k) {
|
|
87
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function () { return aspectRatio[k]; }
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
Object.keys(avatar).forEach(function (k) {
|
|
93
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return avatar[k]; }
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
Object.keys(badge).forEach(function (k) {
|
|
99
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return badge[k]; }
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
Object.keys(breadcrumb).forEach(function (k) {
|
|
105
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return breadcrumb[k]; }
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
Object.keys(button).forEach(function (k) {
|
|
111
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: function () { return button[k]; }
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
Object.keys(calendar).forEach(function (k) {
|
|
117
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () { return calendar[k]; }
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
Object.keys(card).forEach(function (k) {
|
|
123
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () { return card[k]; }
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
Object.keys(carousel).forEach(function (k) {
|
|
129
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () { return carousel[k]; }
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
Object.keys(chart).forEach(function (k) {
|
|
135
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function () { return chart[k]; }
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
Object.keys(checkbox).forEach(function (k) {
|
|
141
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return checkbox[k]; }
|
|
144
|
+
});
|
|
145
|
+
});
|
|
146
|
+
Object.keys(chip).forEach(function (k) {
|
|
147
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () { return chip[k]; }
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
Object.keys(collapsible).forEach(function (k) {
|
|
153
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () { return collapsible[k]; }
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
Object.keys(command).forEach(function (k) {
|
|
159
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () { return command[k]; }
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
Object.keys(contextMenu).forEach(function (k) {
|
|
165
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return contextMenu[k]; }
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
Object.keys(dialog).forEach(function (k) {
|
|
171
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () { return dialog[k]; }
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
Object.keys(drawer).forEach(function (k) {
|
|
177
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () { return drawer[k]; }
|
|
180
|
+
});
|
|
181
|
+
});
|
|
182
|
+
Object.keys(dropdownMenu).forEach(function (k) {
|
|
183
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function () { return dropdownMenu[k]; }
|
|
186
|
+
});
|
|
187
|
+
});
|
|
188
|
+
Object.keys(form).forEach(function (k) {
|
|
189
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () { return form[k]; }
|
|
192
|
+
});
|
|
193
|
+
});
|
|
194
|
+
Object.keys(hoverCard).forEach(function (k) {
|
|
195
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function () { return hoverCard[k]; }
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
Object.keys(input).forEach(function (k) {
|
|
201
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function () { return input[k]; }
|
|
204
|
+
});
|
|
205
|
+
});
|
|
206
|
+
Object.keys(inputOtp).forEach(function (k) {
|
|
207
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function () { return inputOtp[k]; }
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
Object.keys(label).forEach(function (k) {
|
|
213
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return label[k]; }
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
Object.keys(lottie).forEach(function (k) {
|
|
219
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
get: function () { return lottie[k]; }
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
Object.keys(menubar).forEach(function (k) {
|
|
225
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
get: function () { return menubar[k]; }
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
Object.keys(navigationMenu).forEach(function (k) {
|
|
231
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
232
|
+
enumerable: true,
|
|
233
|
+
get: function () { return navigationMenu[k]; }
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
Object.keys(pagination).forEach(function (k) {
|
|
237
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
238
|
+
enumerable: true,
|
|
239
|
+
get: function () { return pagination[k]; }
|
|
240
|
+
});
|
|
241
|
+
});
|
|
242
|
+
Object.keys(popover).forEach(function (k) {
|
|
243
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
244
|
+
enumerable: true,
|
|
245
|
+
get: function () { return popover[k]; }
|
|
246
|
+
});
|
|
247
|
+
});
|
|
248
|
+
Object.keys(progress).forEach(function (k) {
|
|
249
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
250
|
+
enumerable: true,
|
|
251
|
+
get: function () { return progress[k]; }
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
Object.keys(radioGroup).forEach(function (k) {
|
|
255
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
256
|
+
enumerable: true,
|
|
257
|
+
get: function () { return radioGroup[k]; }
|
|
258
|
+
});
|
|
259
|
+
});
|
|
260
|
+
Object.keys(resizable).forEach(function (k) {
|
|
261
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
262
|
+
enumerable: true,
|
|
263
|
+
get: function () { return resizable[k]; }
|
|
264
|
+
});
|
|
265
|
+
});
|
|
266
|
+
Object.keys(responsivePopover).forEach(function (k) {
|
|
267
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
268
|
+
enumerable: true,
|
|
269
|
+
get: function () { return responsivePopover[k]; }
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
Object.keys(scrollArea).forEach(function (k) {
|
|
273
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
274
|
+
enumerable: true,
|
|
275
|
+
get: function () { return scrollArea[k]; }
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
Object.keys(separator).forEach(function (k) {
|
|
279
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
280
|
+
enumerable: true,
|
|
281
|
+
get: function () { return separator[k]; }
|
|
282
|
+
});
|
|
283
|
+
});
|
|
284
|
+
Object.keys(sheet).forEach(function (k) {
|
|
285
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
286
|
+
enumerable: true,
|
|
287
|
+
get: function () { return sheet[k]; }
|
|
288
|
+
});
|
|
289
|
+
});
|
|
290
|
+
Object.keys(sidebar).forEach(function (k) {
|
|
291
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function () { return sidebar[k]; }
|
|
294
|
+
});
|
|
295
|
+
});
|
|
296
|
+
Object.keys(skeleton).forEach(function (k) {
|
|
297
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
298
|
+
enumerable: true,
|
|
299
|
+
get: function () { return skeleton[k]; }
|
|
300
|
+
});
|
|
301
|
+
});
|
|
302
|
+
Object.keys(slider).forEach(function (k) {
|
|
303
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
304
|
+
enumerable: true,
|
|
305
|
+
get: function () { return slider[k]; }
|
|
306
|
+
});
|
|
307
|
+
});
|
|
308
|
+
Object.keys(sonner).forEach(function (k) {
|
|
309
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
310
|
+
enumerable: true,
|
|
311
|
+
get: function () { return sonner[k]; }
|
|
312
|
+
});
|
|
313
|
+
});
|
|
314
|
+
Object.keys(spinner).forEach(function (k) {
|
|
315
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
316
|
+
enumerable: true,
|
|
317
|
+
get: function () { return spinner[k]; }
|
|
318
|
+
});
|
|
319
|
+
});
|
|
320
|
+
Object.keys(stepper).forEach(function (k) {
|
|
321
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
322
|
+
enumerable: true,
|
|
323
|
+
get: function () { return stepper[k]; }
|
|
324
|
+
});
|
|
325
|
+
});
|
|
326
|
+
Object.keys(_switch).forEach(function (k) {
|
|
327
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
328
|
+
enumerable: true,
|
|
329
|
+
get: function () { return _switch[k]; }
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
Object.keys(table).forEach(function (k) {
|
|
333
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
334
|
+
enumerable: true,
|
|
335
|
+
get: function () { return table[k]; }
|
|
336
|
+
});
|
|
337
|
+
});
|
|
338
|
+
Object.keys(tabs).forEach(function (k) {
|
|
339
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
340
|
+
enumerable: true,
|
|
341
|
+
get: function () { return tabs[k]; }
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
Object.keys(textarea).forEach(function (k) {
|
|
345
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
346
|
+
enumerable: true,
|
|
347
|
+
get: function () { return textarea[k]; }
|
|
348
|
+
});
|
|
349
|
+
});
|
|
350
|
+
Object.keys(toggle).forEach(function (k) {
|
|
351
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
352
|
+
enumerable: true,
|
|
353
|
+
get: function () { return toggle[k]; }
|
|
354
|
+
});
|
|
355
|
+
});
|
|
356
|
+
Object.keys(toggleGroup).forEach(function (k) {
|
|
357
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
358
|
+
enumerable: true,
|
|
359
|
+
get: function () { return toggleGroup[k]; }
|
|
360
|
+
});
|
|
361
|
+
});
|
|
362
|
+
Object.keys(tooltip).forEach(function (k) {
|
|
363
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
364
|
+
enumerable: true,
|
|
365
|
+
get: function () { return tooltip[k]; }
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
Object.keys(utils).forEach(function (k) {
|
|
369
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
370
|
+
enumerable: true,
|
|
371
|
+
get: function () { return utils[k]; }
|
|
372
|
+
});
|
|
373
|
+
});
|
|
374
|
+
Object.keys(helpers).forEach(function (k) {
|
|
375
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
376
|
+
enumerable: true,
|
|
377
|
+
get: function () { return helpers[k]; }
|
|
378
|
+
});
|
|
379
|
+
});
|
|
380
|
+
Object.keys(formatCurrency).forEach(function (k) {
|
|
381
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
382
|
+
enumerable: true,
|
|
383
|
+
get: function () { return formatCurrency[k]; }
|
|
384
|
+
});
|
|
385
|
+
});
|
|
386
|
+
Object.keys(types).forEach(function (k) {
|
|
387
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
388
|
+
enumerable: true,
|
|
389
|
+
get: function () { return types[k]; }
|
|
390
|
+
});
|
|
391
|
+
});
|
|
392
|
+
Object.keys(hooks).forEach(function (k) {
|
|
393
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
394
|
+
enumerable: true,
|
|
395
|
+
get: function () { return hooks[k]; }
|
|
396
|
+
});
|
|
397
|
+
});
|
|
398
|
+
Object.keys(theme).forEach(function (k) {
|
|
399
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
400
|
+
enumerable: true,
|
|
401
|
+
get: function () { return theme[k]; }
|
|
402
|
+
});
|
|
403
|
+
});
|
|
404
|
+
Object.keys(providers).forEach(function (k) {
|
|
405
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
406
|
+
enumerable: true,
|
|
407
|
+
get: function () { return providers[k]; }
|
|
408
|
+
});
|
|
409
|
+
});
|
|
410
|
+
Object.keys(icons).forEach(function (k) {
|
|
411
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
412
|
+
enumerable: true,
|
|
413
|
+
get: function () { return icons[k]; }
|
|
414
|
+
});
|
|
415
|
+
});
|
|
416
|
+
Object.keys(Icon).forEach(function (k) {
|
|
417
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
418
|
+
enumerable: true,
|
|
419
|
+
get: function () { return Icon[k]; }
|
|
420
|
+
});
|
|
421
|
+
});
|
|
422
|
+
Object.keys(Image).forEach(function (k) {
|
|
423
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
424
|
+
enumerable: true,
|
|
425
|
+
get: function () { return Image[k]; }
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
Object.keys(Animation).forEach(function (k) {
|
|
429
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
430
|
+
enumerable: true,
|
|
431
|
+
get: function () { return Animation[k]; }
|
|
432
|
+
});
|
|
433
|
+
});
|
|
434
|
+
Object.keys(display).forEach(function (k) {
|
|
435
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
436
|
+
enumerable: true,
|
|
437
|
+
get: function () { return display[k]; }
|
|
438
|
+
});
|
|
439
|
+
});
|
|
440
|
+
//# sourceMappingURL=index.js.map
|
|
441
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export * from './components/accordion';
|
|
2
|
+
export * from './components/alert';
|
|
3
|
+
export * from './components/alert-dialog';
|
|
4
|
+
export * from './components/aspect-ratio';
|
|
5
|
+
export * from './components/avatar';
|
|
6
|
+
export * from './components/badge';
|
|
7
|
+
export * from './components/breadcrumb';
|
|
8
|
+
export * from './components/button';
|
|
9
|
+
export * from './components/calendar';
|
|
10
|
+
export * from './components/card';
|
|
11
|
+
export * from './components/carousel';
|
|
12
|
+
export * from './components/chart';
|
|
13
|
+
export * from './components/checkbox';
|
|
14
|
+
export * from './components/chip';
|
|
15
|
+
export * from './components/collapsible';
|
|
16
|
+
export * from './components/command';
|
|
17
|
+
export * from './components/context-menu';
|
|
18
|
+
export * from './components/dialog';
|
|
19
|
+
export * from './components/drawer';
|
|
20
|
+
export * from './components/dropdown-menu';
|
|
21
|
+
export * from './components/form';
|
|
22
|
+
export * from './components/hover-card';
|
|
23
|
+
export * from './components/input';
|
|
24
|
+
export * from './components/input-otp';
|
|
25
|
+
export * from './components/label';
|
|
26
|
+
export * from './components/lottie';
|
|
27
|
+
export * from './components/menubar';
|
|
28
|
+
export * from './components/navigation-menu';
|
|
29
|
+
export * from './components/pagination';
|
|
30
|
+
export * from './components/popover';
|
|
31
|
+
export * from './components/progress';
|
|
32
|
+
export * from './components/radio-group';
|
|
33
|
+
export * from './components/resizable';
|
|
34
|
+
export * from './components/responsive-popover';
|
|
35
|
+
export * from './components/scroll-area';
|
|
36
|
+
export * from './components/separator';
|
|
37
|
+
export * from './components/sheet';
|
|
38
|
+
export * from './components/sidebar';
|
|
39
|
+
export * from './components/skeleton';
|
|
40
|
+
export * from './components/slider';
|
|
41
|
+
export * from './components/sonner';
|
|
42
|
+
export * from './components/spinner';
|
|
43
|
+
export * from './components/stepper';
|
|
44
|
+
export * from './components/switch';
|
|
45
|
+
export * from './components/table';
|
|
46
|
+
export * from './components/tabs';
|
|
47
|
+
export * from './components/textarea';
|
|
48
|
+
export * from './components/toggle';
|
|
49
|
+
export * from './components/toggle-group';
|
|
50
|
+
export * from './components/tooltip';
|
|
51
|
+
export * from './lib/utils';
|
|
52
|
+
export * from './lib/helpers';
|
|
53
|
+
export * from './lib/formatCurrency';
|
|
54
|
+
export * from './lib/types';
|
|
55
|
+
export * from './hooks';
|
|
56
|
+
export * from './theme';
|
|
57
|
+
export * from './providers';
|
|
58
|
+
export * from './icons';
|
|
59
|
+
export * from './assets/Icon';
|
|
60
|
+
export * from './assets/Image';
|
|
61
|
+
export * from './assets/Animation';
|
|
62
|
+
export * from './common/display';
|
|
63
|
+
//# sourceMappingURL=index.mjs.map
|
|
64
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shad-m",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "A comprehensive React UI component library built with shadcn/ui, Radix UI primitives, and Tailwind CSS. This package provides a collection of reusable, accessible, and customizable components for modern web applications.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"ui",
|
|
8
|
+
"components",
|
|
9
|
+
"shadcn",
|
|
10
|
+
"radix-ui",
|
|
11
|
+
"tailwind",
|
|
12
|
+
"tailwindcss",
|
|
13
|
+
"design-system",
|
|
14
|
+
"component-library",
|
|
15
|
+
"typescript",
|
|
16
|
+
"accessible",
|
|
17
|
+
"customizable"
|
|
18
|
+
],
|
|
19
|
+
"author": "hoangvu2",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/hoangvu2/shad-m.git"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/hoangvu2/shad-m#readme",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/hoangvu2/shad-m/issues"
|
|
28
|
+
},
|
|
4
29
|
"private": false,
|
|
5
30
|
"main": "./dist/index.js",
|
|
6
31
|
"module": "./dist/index.mjs",
|
|
@@ -15,6 +40,12 @@
|
|
|
15
40
|
"./src/common/interactive/select/**/*.css"
|
|
16
41
|
],
|
|
17
42
|
"exports": {
|
|
43
|
+
".": {
|
|
44
|
+
"types": "./dist/index.d.ts",
|
|
45
|
+
"import": "./dist/index.mjs",
|
|
46
|
+
"require": "./dist/index.js",
|
|
47
|
+
"default": "./dist/index.js"
|
|
48
|
+
},
|
|
18
49
|
"./globals.css": {
|
|
19
50
|
"import": "./dist/globals.css",
|
|
20
51
|
"require": "./dist/globals.css",
|
|
@@ -170,7 +201,8 @@
|
|
|
170
201
|
},
|
|
171
202
|
"peerDependencies": {
|
|
172
203
|
"next": ">=13",
|
|
173
|
-
"react": "^18"
|
|
204
|
+
"react": "^18",
|
|
205
|
+
"tailwindcss": "^3"
|
|
174
206
|
},
|
|
175
207
|
"peerDependenciesMeta": {
|
|
176
208
|
"next": {
|