adminium 1.0.0 → 1.0.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.cjs +404 -1015
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -1
- package/dist/index.d.ts +32 -1
- package/dist/index.js +382 -1012
- package/dist/index.js.map +1 -1
- package/dist/styles/global.css +2820 -0
- package/dist/styles/global.d.cts +2 -0
- package/dist/styles/global.d.ts +2 -0
- package/package.json +12 -22
- package/src/styles/global.css +0 -20
package/dist/index.d.cts
CHANGED
|
@@ -63,6 +63,19 @@ interface ButtonArrowProps extends React$1.SVGProps<SVGSVGElement> {
|
|
|
63
63
|
}
|
|
64
64
|
declare function ButtonArrow({ icon: Icon, className, ...props }: ButtonArrowProps): react_jsx_runtime.JSX.Element;
|
|
65
65
|
|
|
66
|
+
declare const cardVariants: (props?: ({
|
|
67
|
+
variant?: "default" | "accent" | null | undefined;
|
|
68
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69
|
+
declare function Card({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants>): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare function CardHeader({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
71
|
+
declare function CardContent({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function CardTable({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
73
|
+
declare function CardFooter({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
74
|
+
declare function CardHeading({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
75
|
+
declare function CardToolbar({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
76
|
+
declare function CardTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
77
|
+
declare function CardDescription({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
78
|
+
|
|
66
79
|
declare const checkboxVariants: (props?: ({
|
|
67
80
|
size?: "lg" | "md" | "sm" | null | undefined;
|
|
68
81
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -94,6 +107,24 @@ declare const Icons: {
|
|
|
94
107
|
postgresql: (props: IconProps) => react_jsx_runtime.JSX.Element;
|
|
95
108
|
};
|
|
96
109
|
|
|
110
|
+
declare const inputVariants: (props?: ({
|
|
111
|
+
variant?: "lg" | "md" | "sm" | null | undefined;
|
|
112
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
113
|
+
declare const inputAddonVariants: (props?: ({
|
|
114
|
+
variant?: "lg" | "md" | "sm" | null | undefined;
|
|
115
|
+
mode?: "default" | "icon" | null | undefined;
|
|
116
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
117
|
+
declare const inputGroupVariants: (props?: ({} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
118
|
+
declare const inputWrapperVariants: (props?: ({
|
|
119
|
+
variant?: "lg" | "md" | "sm" | null | undefined;
|
|
120
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
121
|
+
declare function Input({ className, type, variant, ...props }: React$1.ComponentProps<"input"> & VariantProps<typeof inputVariants>): react_jsx_runtime.JSX.Element;
|
|
122
|
+
declare function InputAddon({ className, variant, mode, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare function InputWrapper({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputWrapperVariants>): react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
126
|
+
declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
127
|
+
|
|
97
128
|
declare function useIsMobile(): boolean;
|
|
98
129
|
|
|
99
130
|
declare function useCopyToClipboard({ timeout, onCopy, }?: {
|
|
@@ -114,4 +145,4 @@ declare function useMounted(): boolean;
|
|
|
114
145
|
*/
|
|
115
146
|
declare function cn(...inputs: ClassValue[]): string;
|
|
116
147
|
|
|
117
|
-
export { Avatar, AvatarFallback, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Button, ButtonArrow, Checkbox, Icons, avatarStatusVariants, badgeVariants, buttonVariants, cn, useCopyToClipboard, useIsMobile, useMounted };
|
|
148
|
+
export { Avatar, AvatarFallback, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Button, ButtonArrow, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Checkbox, Icons, Input, InputAddon, InputGroup, InputWrapper, Skeleton, avatarStatusVariants, badgeVariants, buttonVariants, cn, inputAddonVariants, inputVariants, useCopyToClipboard, useIsMobile, useMounted };
|
package/dist/index.d.ts
CHANGED
|
@@ -63,6 +63,19 @@ interface ButtonArrowProps extends React$1.SVGProps<SVGSVGElement> {
|
|
|
63
63
|
}
|
|
64
64
|
declare function ButtonArrow({ icon: Icon, className, ...props }: ButtonArrowProps): react_jsx_runtime.JSX.Element;
|
|
65
65
|
|
|
66
|
+
declare const cardVariants: (props?: ({
|
|
67
|
+
variant?: "default" | "accent" | null | undefined;
|
|
68
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69
|
+
declare function Card({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants>): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare function CardHeader({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
71
|
+
declare function CardContent({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function CardTable({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
73
|
+
declare function CardFooter({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
74
|
+
declare function CardHeading({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
75
|
+
declare function CardToolbar({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
76
|
+
declare function CardTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
77
|
+
declare function CardDescription({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
78
|
+
|
|
66
79
|
declare const checkboxVariants: (props?: ({
|
|
67
80
|
size?: "lg" | "md" | "sm" | null | undefined;
|
|
68
81
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -94,6 +107,24 @@ declare const Icons: {
|
|
|
94
107
|
postgresql: (props: IconProps) => react_jsx_runtime.JSX.Element;
|
|
95
108
|
};
|
|
96
109
|
|
|
110
|
+
declare const inputVariants: (props?: ({
|
|
111
|
+
variant?: "lg" | "md" | "sm" | null | undefined;
|
|
112
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
113
|
+
declare const inputAddonVariants: (props?: ({
|
|
114
|
+
variant?: "lg" | "md" | "sm" | null | undefined;
|
|
115
|
+
mode?: "default" | "icon" | null | undefined;
|
|
116
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
117
|
+
declare const inputGroupVariants: (props?: ({} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
118
|
+
declare const inputWrapperVariants: (props?: ({
|
|
119
|
+
variant?: "lg" | "md" | "sm" | null | undefined;
|
|
120
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
121
|
+
declare function Input({ className, type, variant, ...props }: React$1.ComponentProps<"input"> & VariantProps<typeof inputVariants>): react_jsx_runtime.JSX.Element;
|
|
122
|
+
declare function InputAddon({ className, variant, mode, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare function InputWrapper({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputWrapperVariants>): react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
126
|
+
declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
127
|
+
|
|
97
128
|
declare function useIsMobile(): boolean;
|
|
98
129
|
|
|
99
130
|
declare function useCopyToClipboard({ timeout, onCopy, }?: {
|
|
@@ -114,4 +145,4 @@ declare function useMounted(): boolean;
|
|
|
114
145
|
*/
|
|
115
146
|
declare function cn(...inputs: ClassValue[]): string;
|
|
116
147
|
|
|
117
|
-
export { Avatar, AvatarFallback, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Button, ButtonArrow, Checkbox, Icons, avatarStatusVariants, badgeVariants, buttonVariants, cn, useCopyToClipboard, useIsMobile, useMounted };
|
|
148
|
+
export { Avatar, AvatarFallback, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, type BadgeButtonProps, BadgeDot, type BadgeDotProps, type BadgeProps, Button, ButtonArrow, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Checkbox, Icons, Input, InputAddon, InputGroup, InputWrapper, Skeleton, avatarStatusVariants, badgeVariants, buttonVariants, cn, inputAddonVariants, inputVariants, useCopyToClipboard, useIsMobile, useMounted };
|