adminium 1.0.0

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.
@@ -0,0 +1,117 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import * as React$1 from 'react';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
6
+ import { LucideIcon } from 'lucide-react';
7
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
8
+ import { ClassValue } from 'clsx';
9
+
10
+ declare const avatarStatusVariants: (props?: ({
11
+ variant?: "online" | "offline" | "busy" | "away" | null | undefined;
12
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
13
+ declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime.JSX.Element;
14
+ declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
15
+ declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
16
+ declare function AvatarIndicator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
17
+ declare function AvatarStatus({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof avatarStatusVariants>): react_jsx_runtime.JSX.Element;
18
+
19
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
20
+ asChild?: boolean;
21
+ dotClassName?: string;
22
+ disabled?: boolean;
23
+ }
24
+ interface BadgeButtonProps extends React$1.ButtonHTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeButtonVariants> {
25
+ asChild?: boolean;
26
+ }
27
+ type BadgeDotProps = React$1.HTMLAttributes<HTMLSpanElement>;
28
+ declare const badgeVariants: (props?: ({
29
+ variant?: "primary" | "secondary" | "success" | "warning" | "info" | "outline" | "destructive" | null | undefined;
30
+ appearance?: "default" | "outline" | "light" | "ghost" | null | undefined;
31
+ disabled?: boolean | null | undefined;
32
+ size?: "lg" | "md" | "sm" | "xs" | null | undefined;
33
+ shape?: "circle" | "default" | null | undefined;
34
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
35
+ declare const badgeButtonVariants: (props?: ({
36
+ variant?: "default" | null | undefined;
37
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
38
+ declare function Badge({ className, variant, size, appearance, shape, asChild, disabled, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
39
+ asChild?: boolean;
40
+ }): react_jsx_runtime.JSX.Element;
41
+ declare function BadgeButton({ className, variant, asChild, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof badgeButtonVariants> & {
42
+ asChild?: boolean;
43
+ }): react_jsx_runtime.JSX.Element;
44
+ declare function BadgeDot({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
45
+
46
+ declare const buttonVariants: (props?: ({
47
+ variant?: "primary" | "secondary" | "success" | "outline" | "destructive" | "ghost" | "mono" | "dashed" | "dim" | "foreground" | "inverse" | null | undefined;
48
+ appearance?: "default" | "ghost" | null | undefined;
49
+ underline?: "dashed" | "solid" | null | undefined;
50
+ underlined?: "dashed" | "solid" | null | undefined;
51
+ size?: "lg" | "md" | "sm" | "icon" | null | undefined;
52
+ autoHeight?: boolean | null | undefined;
53
+ shape?: "circle" | "default" | null | undefined;
54
+ mode?: "input" | "link" | "default" | "icon" | null | undefined;
55
+ placeholder?: boolean | null | undefined;
56
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
57
+ declare function Button({ className, selected, variant, shape, appearance, mode, size, autoHeight, underlined, underline, asChild, placeholder, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
58
+ selected?: boolean;
59
+ asChild?: boolean;
60
+ }): react_jsx_runtime.JSX.Element;
61
+ interface ButtonArrowProps extends React$1.SVGProps<SVGSVGElement> {
62
+ icon?: LucideIcon;
63
+ }
64
+ declare function ButtonArrow({ icon: Icon, className, ...props }: ButtonArrowProps): react_jsx_runtime.JSX.Element;
65
+
66
+ declare const checkboxVariants: (props?: ({
67
+ size?: "lg" | "md" | "sm" | null | undefined;
68
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
69
+ declare function Checkbox({ className, size, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root> & VariantProps<typeof checkboxVariants>): react_jsx_runtime.JSX.Element;
70
+
71
+ type IconProps = React.HTMLAttributes<SVGElement>;
72
+ declare const Icons: {
73
+ google: (props: IconProps) => react_jsx_runtime.JSX.Element;
74
+ googleColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
75
+ twitter: (props: IconProps) => react_jsx_runtime.JSX.Element;
76
+ facebook: (props: IconProps) => react_jsx_runtime.JSX.Element;
77
+ facebookColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
78
+ linkedin: (props: IconProps) => react_jsx_runtime.JSX.Element;
79
+ linkedinColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
80
+ github: (props: IconProps) => react_jsx_runtime.JSX.Element;
81
+ radix: (props: IconProps) => react_jsx_runtime.JSX.Element;
82
+ aria: (props: IconProps) => react_jsx_runtime.JSX.Element;
83
+ npm: (props: IconProps) => react_jsx_runtime.JSX.Element;
84
+ yarn: (props: IconProps) => react_jsx_runtime.JSX.Element;
85
+ pnpm: (props: IconProps) => react_jsx_runtime.JSX.Element;
86
+ react: (props: IconProps) => react_jsx_runtime.JSX.Element;
87
+ nextjs: (props: IconProps) => react_jsx_runtime.JSX.Element;
88
+ prisma: (props: IconProps) => react_jsx_runtime.JSX.Element;
89
+ radixUi: (props: IconProps) => react_jsx_runtime.JSX.Element;
90
+ supabaseColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
91
+ tailwind: (props: IconProps) => react_jsx_runtime.JSX.Element;
92
+ apple: (props: IconProps) => react_jsx_runtime.JSX.Element;
93
+ paypal: (props: IconProps) => react_jsx_runtime.JSX.Element;
94
+ postgresql: (props: IconProps) => react_jsx_runtime.JSX.Element;
95
+ };
96
+
97
+ declare function useIsMobile(): boolean;
98
+
99
+ declare function useCopyToClipboard({ timeout, onCopy, }?: {
100
+ timeout?: number;
101
+ onCopy?: () => void;
102
+ }): {
103
+ isCopied: boolean;
104
+ copyToClipboard: (value: string) => void;
105
+ };
106
+
107
+ declare function useMounted(): boolean;
108
+
109
+ /**
110
+ * Merges Tailwind class names, resolving any conflicts.
111
+ *
112
+ * @param inputs - An array of class names to merge.
113
+ * @returns A string of merged and optimized class names.
114
+ */
115
+ declare function cn(...inputs: ClassValue[]): string;
116
+
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 };