auxalia-ui-kit 1.7.1 → 1.7.2
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 +7 -3
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +7 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -754,7 +754,7 @@ var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) =>
|
|
|
754
754
|
{
|
|
755
755
|
ref,
|
|
756
756
|
className: cn(
|
|
757
|
-
"z-
|
|
757
|
+
"z-[9999] min-w-32 overflow-hidden rounded-lg border border-black/6 dark:border-white/8 bg-popover p-1.5 text-content shadow-xl dark:shadow-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
758
758
|
className
|
|
759
759
|
),
|
|
760
760
|
...props
|
|
@@ -767,7 +767,7 @@ var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...pro
|
|
|
767
767
|
ref,
|
|
768
768
|
sideOffset,
|
|
769
769
|
className: cn(
|
|
770
|
-
"bg-popover z-
|
|
770
|
+
"bg-popover z-[9999] min-w-32 overflow-hidden p-2 text-content rounded-2xl border border-black/6 dark:border-white/8 transition-colors shadow-xl dark:shadow-black/40",
|
|
771
771
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
772
772
|
className
|
|
773
773
|
),
|
|
@@ -779,7 +779,11 @@ var DropdownMenuItem = React8.forwardRef(({ className, inset, variant, ...props
|
|
|
779
779
|
DropdownMenuPrimitive.Item,
|
|
780
780
|
{
|
|
781
781
|
ref,
|
|
782
|
-
className: cn(
|
|
782
|
+
className: cn(
|
|
783
|
+
dropdownMenuItemVariants({ variant }),
|
|
784
|
+
inset && "pl-8",
|
|
785
|
+
className
|
|
786
|
+
),
|
|
783
787
|
...props
|
|
784
788
|
}
|
|
785
789
|
));
|
package/dist/index.d.cts
CHANGED
|
@@ -15,20 +15,20 @@ import { ClassValue } from 'clsx';
|
|
|
15
15
|
import 'tailwindcss';
|
|
16
16
|
|
|
17
17
|
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: {
|
|
18
|
-
variant?: "primary" | "destructive" | "success" | "warning" | "info"
|
|
18
|
+
variant?: "default" | "primary" | "destructive" | "success" | "warning" | "info";
|
|
19
19
|
} & class_variance_authority_types.ClassProp) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
21
21
|
declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
22
22
|
|
|
23
23
|
declare const checkboxVariants: (props?: {
|
|
24
|
-
color?: "primary" | "
|
|
24
|
+
color?: "primary" | "destructive" | "secondary";
|
|
25
25
|
} & class_variance_authority_types.ClassProp) => string;
|
|
26
26
|
interface CheckboxProps extends Omit<React.ComponentPropsWithoutRef<typeof Checkbox$1.Root>, 'color'>, VariantProps<typeof checkboxVariants> {
|
|
27
27
|
}
|
|
28
28
|
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
29
29
|
|
|
30
30
|
declare const radioItemVariants: (props?: {
|
|
31
|
-
color?: "primary" | "
|
|
31
|
+
color?: "primary" | "destructive" | "secondary";
|
|
32
32
|
} & class_variance_authority_types.ClassProp) => string;
|
|
33
33
|
interface RadioGroupItemProps extends Omit<React.ComponentPropsWithoutRef<typeof RadioGroup$1.Item>, 'color'>, VariantProps<typeof radioItemVariants> {
|
|
34
34
|
}
|
|
@@ -45,7 +45,7 @@ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarI
|
|
|
45
45
|
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
46
46
|
|
|
47
47
|
declare const badgeVariants: (props?: {
|
|
48
|
-
variant?: "
|
|
48
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | "secondary" | "accent" | "outline" | "solid";
|
|
49
49
|
} & class_variance_authority_types.ClassProp) => string;
|
|
50
50
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
51
51
|
}
|
|
@@ -53,8 +53,8 @@ declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_
|
|
|
53
53
|
|
|
54
54
|
declare const buttonVariants: (props?: {
|
|
55
55
|
variant?: "default" | "link" | "outline" | "ghost";
|
|
56
|
-
color?: "
|
|
57
|
-
size?: "
|
|
56
|
+
color?: "default" | "primary" | "destructive" | "secondary" | "accent" | "surface";
|
|
57
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
58
58
|
} & class_variance_authority_types.ClassProp) => string;
|
|
59
59
|
interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
|
|
60
60
|
asChild?: boolean;
|
|
@@ -85,7 +85,7 @@ declare function SkeletonAvatar({ className, ...props }: React.HTMLAttributes<HT
|
|
|
85
85
|
declare function SkeletonCard({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
86
86
|
|
|
87
87
|
declare const switchVariants: (props?: {
|
|
88
|
-
color?: "primary" | "
|
|
88
|
+
color?: "primary" | "destructive" | "secondary" | "accent";
|
|
89
89
|
size?: "sm" | "md" | "lg";
|
|
90
90
|
} & class_variance_authority_types.ClassProp) => string;
|
|
91
91
|
interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch$1.Root>, 'color' | 'size'>, VariantProps<typeof switchVariants> {
|
|
@@ -93,7 +93,7 @@ interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch$
|
|
|
93
93
|
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
94
94
|
|
|
95
95
|
declare const dropdownMenuItemVariants: (props?: {
|
|
96
|
-
variant?: "
|
|
96
|
+
variant?: "default" | "primary" | "destructive" | "secondary" | "accent";
|
|
97
97
|
} & class_variance_authority_types.ClassProp) => string;
|
|
98
98
|
type DropdownMenuItemVariantProps = VariantProps<typeof dropdownMenuItemVariants>;
|
|
99
99
|
|
|
@@ -168,7 +168,7 @@ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof Toolti
|
|
|
168
168
|
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
169
169
|
|
|
170
170
|
declare const cardVariants: (props?: {
|
|
171
|
-
variant?: "
|
|
171
|
+
variant?: "default" | "primary" | "success" | "accent" | "outlined" | "elevated";
|
|
172
172
|
} & class_variance_authority_types.ClassProp) => string;
|
|
173
173
|
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
174
174
|
|
|
@@ -184,11 +184,11 @@ type InputProps = Omit<React.ComponentProps<'input'>, 'size'> & InputVariantProp
|
|
|
184
184
|
declare function Input({ size, variant, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
185
185
|
|
|
186
186
|
declare const selectTriggerVariants: (props?: {
|
|
187
|
-
variant?: "
|
|
187
|
+
variant?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
|
|
188
188
|
size?: "sm" | "md" | "lg";
|
|
189
189
|
} & class_variance_authority_types.ClassProp) => string;
|
|
190
190
|
declare const selectItemVariants: (props?: {
|
|
191
|
-
variant?: "
|
|
191
|
+
variant?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
|
|
192
192
|
} & class_variance_authority_types.ClassProp) => string;
|
|
193
193
|
type SelectTriggerVariantProps = VariantProps<typeof selectTriggerVariants>;
|
|
194
194
|
type SelectItemVariantProps = VariantProps<typeof selectItemVariants>;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,20 +15,20 @@ import { ClassValue } from 'clsx';
|
|
|
15
15
|
import 'tailwindcss';
|
|
16
16
|
|
|
17
17
|
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: {
|
|
18
|
-
variant?: "primary" | "destructive" | "success" | "warning" | "info"
|
|
18
|
+
variant?: "default" | "primary" | "destructive" | "success" | "warning" | "info";
|
|
19
19
|
} & class_variance_authority_types.ClassProp) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
21
21
|
declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
22
22
|
|
|
23
23
|
declare const checkboxVariants: (props?: {
|
|
24
|
-
color?: "primary" | "
|
|
24
|
+
color?: "primary" | "destructive" | "secondary";
|
|
25
25
|
} & class_variance_authority_types.ClassProp) => string;
|
|
26
26
|
interface CheckboxProps extends Omit<React.ComponentPropsWithoutRef<typeof Checkbox$1.Root>, 'color'>, VariantProps<typeof checkboxVariants> {
|
|
27
27
|
}
|
|
28
28
|
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
29
29
|
|
|
30
30
|
declare const radioItemVariants: (props?: {
|
|
31
|
-
color?: "primary" | "
|
|
31
|
+
color?: "primary" | "destructive" | "secondary";
|
|
32
32
|
} & class_variance_authority_types.ClassProp) => string;
|
|
33
33
|
interface RadioGroupItemProps extends Omit<React.ComponentPropsWithoutRef<typeof RadioGroup$1.Item>, 'color'>, VariantProps<typeof radioItemVariants> {
|
|
34
34
|
}
|
|
@@ -45,7 +45,7 @@ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarI
|
|
|
45
45
|
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
46
46
|
|
|
47
47
|
declare const badgeVariants: (props?: {
|
|
48
|
-
variant?: "
|
|
48
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | "secondary" | "accent" | "outline" | "solid";
|
|
49
49
|
} & class_variance_authority_types.ClassProp) => string;
|
|
50
50
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
51
51
|
}
|
|
@@ -53,8 +53,8 @@ declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_
|
|
|
53
53
|
|
|
54
54
|
declare const buttonVariants: (props?: {
|
|
55
55
|
variant?: "default" | "link" | "outline" | "ghost";
|
|
56
|
-
color?: "
|
|
57
|
-
size?: "
|
|
56
|
+
color?: "default" | "primary" | "destructive" | "secondary" | "accent" | "surface";
|
|
57
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
58
58
|
} & class_variance_authority_types.ClassProp) => string;
|
|
59
59
|
interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
|
|
60
60
|
asChild?: boolean;
|
|
@@ -85,7 +85,7 @@ declare function SkeletonAvatar({ className, ...props }: React.HTMLAttributes<HT
|
|
|
85
85
|
declare function SkeletonCard({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
86
86
|
|
|
87
87
|
declare const switchVariants: (props?: {
|
|
88
|
-
color?: "primary" | "
|
|
88
|
+
color?: "primary" | "destructive" | "secondary" | "accent";
|
|
89
89
|
size?: "sm" | "md" | "lg";
|
|
90
90
|
} & class_variance_authority_types.ClassProp) => string;
|
|
91
91
|
interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch$1.Root>, 'color' | 'size'>, VariantProps<typeof switchVariants> {
|
|
@@ -93,7 +93,7 @@ interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch$
|
|
|
93
93
|
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
94
94
|
|
|
95
95
|
declare const dropdownMenuItemVariants: (props?: {
|
|
96
|
-
variant?: "
|
|
96
|
+
variant?: "default" | "primary" | "destructive" | "secondary" | "accent";
|
|
97
97
|
} & class_variance_authority_types.ClassProp) => string;
|
|
98
98
|
type DropdownMenuItemVariantProps = VariantProps<typeof dropdownMenuItemVariants>;
|
|
99
99
|
|
|
@@ -168,7 +168,7 @@ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof Toolti
|
|
|
168
168
|
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
169
169
|
|
|
170
170
|
declare const cardVariants: (props?: {
|
|
171
|
-
variant?: "
|
|
171
|
+
variant?: "default" | "primary" | "success" | "accent" | "outlined" | "elevated";
|
|
172
172
|
} & class_variance_authority_types.ClassProp) => string;
|
|
173
173
|
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
174
174
|
|
|
@@ -184,11 +184,11 @@ type InputProps = Omit<React.ComponentProps<'input'>, 'size'> & InputVariantProp
|
|
|
184
184
|
declare function Input({ size, variant, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
185
185
|
|
|
186
186
|
declare const selectTriggerVariants: (props?: {
|
|
187
|
-
variant?: "
|
|
187
|
+
variant?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
|
|
188
188
|
size?: "sm" | "md" | "lg";
|
|
189
189
|
} & class_variance_authority_types.ClassProp) => string;
|
|
190
190
|
declare const selectItemVariants: (props?: {
|
|
191
|
-
variant?: "
|
|
191
|
+
variant?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
|
|
192
192
|
} & class_variance_authority_types.ClassProp) => string;
|
|
193
193
|
type SelectTriggerVariantProps = VariantProps<typeof selectTriggerVariants>;
|
|
194
194
|
type SelectItemVariantProps = VariantProps<typeof selectItemVariants>;
|
package/dist/index.js
CHANGED
|
@@ -629,7 +629,7 @@ var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) =>
|
|
|
629
629
|
{
|
|
630
630
|
ref,
|
|
631
631
|
className: cn(
|
|
632
|
-
"z-
|
|
632
|
+
"z-[9999] min-w-32 overflow-hidden rounded-lg border border-black/6 dark:border-white/8 bg-popover p-1.5 text-content shadow-xl dark:shadow-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
633
633
|
className
|
|
634
634
|
),
|
|
635
635
|
...props
|
|
@@ -642,7 +642,7 @@ var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...pro
|
|
|
642
642
|
ref,
|
|
643
643
|
sideOffset,
|
|
644
644
|
className: cn(
|
|
645
|
-
"bg-popover z-
|
|
645
|
+
"bg-popover z-[9999] min-w-32 overflow-hidden p-2 text-content rounded-2xl border border-black/6 dark:border-white/8 transition-colors shadow-xl dark:shadow-black/40",
|
|
646
646
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
647
647
|
className
|
|
648
648
|
),
|
|
@@ -654,7 +654,11 @@ var DropdownMenuItem = React8.forwardRef(({ className, inset, variant, ...props
|
|
|
654
654
|
DropdownMenuPrimitive.Item,
|
|
655
655
|
{
|
|
656
656
|
ref,
|
|
657
|
-
className: cn(
|
|
657
|
+
className: cn(
|
|
658
|
+
dropdownMenuItemVariants({ variant }),
|
|
659
|
+
inset && "pl-8",
|
|
660
|
+
className
|
|
661
|
+
),
|
|
658
662
|
...props
|
|
659
663
|
}
|
|
660
664
|
));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auxalia-ui-kit",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "Auxalia UI Kit is a React component library built on top of Radix UI and Tailwind CSS, designed to provide a comprehensive set of accessible and customizable UI components for building modern web applications.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": {
|