auxalia-ui-kit 1.7.1 → 1.7.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/index.cjs +23 -11
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +23 -11
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -727,7 +727,15 @@ var dropdownMenuItemVariants = (0, import_class_variance_authority8.cva)(
|
|
|
727
727
|
// src/components/DropdownMenu/index.tsx
|
|
728
728
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
729
729
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
730
|
-
var DropdownMenuTrigger =
|
|
730
|
+
var DropdownMenuTrigger = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
731
|
+
DropdownMenuPrimitive.Trigger,
|
|
732
|
+
{
|
|
733
|
+
ref,
|
|
734
|
+
className: cn("focus:outline-none focus:ring-0", className),
|
|
735
|
+
...props
|
|
736
|
+
}
|
|
737
|
+
));
|
|
738
|
+
DropdownMenuTrigger.displayName = DropdownMenuPrimitive.Trigger.displayName;
|
|
731
739
|
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
732
740
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
733
741
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
@@ -754,7 +762,7 @@ var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) =>
|
|
|
754
762
|
{
|
|
755
763
|
ref,
|
|
756
764
|
className: cn(
|
|
757
|
-
"z-
|
|
765
|
+
"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
766
|
className
|
|
759
767
|
),
|
|
760
768
|
...props
|
|
@@ -767,7 +775,7 @@ var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...pro
|
|
|
767
775
|
ref,
|
|
768
776
|
sideOffset,
|
|
769
777
|
className: cn(
|
|
770
|
-
"bg-popover z-
|
|
778
|
+
"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
779
|
"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
780
|
className
|
|
773
781
|
),
|
|
@@ -779,7 +787,11 @@ var DropdownMenuItem = React8.forwardRef(({ className, inset, variant, ...props
|
|
|
779
787
|
DropdownMenuPrimitive.Item,
|
|
780
788
|
{
|
|
781
789
|
ref,
|
|
782
|
-
className: cn(
|
|
790
|
+
className: cn(
|
|
791
|
+
dropdownMenuItemVariants({ variant }),
|
|
792
|
+
inset && "pl-8",
|
|
793
|
+
className
|
|
794
|
+
),
|
|
783
795
|
...props
|
|
784
796
|
}
|
|
785
797
|
));
|
|
@@ -6444,16 +6456,16 @@ var import_lucide_react5 = require("lucide-react");
|
|
|
6444
6456
|
// src/components/Select/select.styles.ts
|
|
6445
6457
|
var import_class_variance_authority12 = require("class-variance-authority");
|
|
6446
6458
|
var selectTriggerVariants = (0, import_class_variance_authority12.cva)(
|
|
6447
|
-
"flex w-full items-center justify-between gap-2 rounded-md border transition-colors bg-card text-content focus:outline-none focus:ring-
|
|
6459
|
+
"flex w-full items-center justify-between gap-2 rounded-md border transition-colors bg-card text-content focus:outline-none focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted [&>span]:truncate",
|
|
6448
6460
|
{
|
|
6449
6461
|
variants: {
|
|
6450
6462
|
variant: {
|
|
6451
|
-
default: "border-border hover:border-border-input
|
|
6452
|
-
primary: "border-primary/30 hover:border-primary/50
|
|
6453
|
-
secondary: "border-secondary/30 hover:border-secondary/50
|
|
6454
|
-
accent: "border-accent/30 hover:border-accent/50
|
|
6455
|
-
destructive: "border-destructive/40 hover:border-destructive/60
|
|
6456
|
-
error: "border-destructive hover:border-destructive
|
|
6463
|
+
default: "border-border hover:border-border-input",
|
|
6464
|
+
primary: "border-primary/30 hover:border-primary/50",
|
|
6465
|
+
secondary: "border-secondary/30 hover:border-secondary/50",
|
|
6466
|
+
accent: "border-accent/30 hover:border-accent/50",
|
|
6467
|
+
destructive: "border-destructive/40 hover:border-destructive/60",
|
|
6468
|
+
error: "border-destructive hover:border-destructive"
|
|
6457
6469
|
},
|
|
6458
6470
|
size: {
|
|
6459
6471
|
sm: "h-8 px-3 text-sm",
|
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,12 +93,12 @@ 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
|
|
|
100
100
|
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
101
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
101
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
102
102
|
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
103
103
|
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
104
104
|
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
@@ -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,12 +93,12 @@ 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
|
|
|
100
100
|
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
101
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
101
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
102
102
|
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
103
103
|
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
104
104
|
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
@@ -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
|
@@ -602,7 +602,15 @@ var dropdownMenuItemVariants = cva8(
|
|
|
602
602
|
// src/components/DropdownMenu/index.tsx
|
|
603
603
|
import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
604
604
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
605
|
-
var DropdownMenuTrigger =
|
|
605
|
+
var DropdownMenuTrigger = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
|
|
606
|
+
DropdownMenuPrimitive.Trigger,
|
|
607
|
+
{
|
|
608
|
+
ref,
|
|
609
|
+
className: cn("focus:outline-none focus:ring-0", className),
|
|
610
|
+
...props
|
|
611
|
+
}
|
|
612
|
+
));
|
|
613
|
+
DropdownMenuTrigger.displayName = DropdownMenuPrimitive.Trigger.displayName;
|
|
606
614
|
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
607
615
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
608
616
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
@@ -629,7 +637,7 @@ var DropdownMenuSubContent = React8.forwardRef(({ className, ...props }, ref) =>
|
|
|
629
637
|
{
|
|
630
638
|
ref,
|
|
631
639
|
className: cn(
|
|
632
|
-
"z-
|
|
640
|
+
"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
641
|
className
|
|
634
642
|
),
|
|
635
643
|
...props
|
|
@@ -642,7 +650,7 @@ var DropdownMenuContent = React8.forwardRef(({ className, sideOffset = 4, ...pro
|
|
|
642
650
|
ref,
|
|
643
651
|
sideOffset,
|
|
644
652
|
className: cn(
|
|
645
|
-
"bg-popover z-
|
|
653
|
+
"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
654
|
"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
655
|
className
|
|
648
656
|
),
|
|
@@ -654,7 +662,11 @@ var DropdownMenuItem = React8.forwardRef(({ className, inset, variant, ...props
|
|
|
654
662
|
DropdownMenuPrimitive.Item,
|
|
655
663
|
{
|
|
656
664
|
ref,
|
|
657
|
-
className: cn(
|
|
665
|
+
className: cn(
|
|
666
|
+
dropdownMenuItemVariants({ variant }),
|
|
667
|
+
inset && "pl-8",
|
|
668
|
+
className
|
|
669
|
+
),
|
|
658
670
|
...props
|
|
659
671
|
}
|
|
660
672
|
));
|
|
@@ -6323,16 +6335,16 @@ import { Check as Check3, ChevronDown, ChevronUp } from "lucide-react";
|
|
|
6323
6335
|
// src/components/Select/select.styles.ts
|
|
6324
6336
|
import { cva as cva12 } from "class-variance-authority";
|
|
6325
6337
|
var selectTriggerVariants = cva12(
|
|
6326
|
-
"flex w-full items-center justify-between gap-2 rounded-md border transition-colors bg-card text-content focus:outline-none focus:ring-
|
|
6338
|
+
"flex w-full items-center justify-between gap-2 rounded-md border transition-colors bg-card text-content focus:outline-none focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted [&>span]:truncate",
|
|
6327
6339
|
{
|
|
6328
6340
|
variants: {
|
|
6329
6341
|
variant: {
|
|
6330
|
-
default: "border-border hover:border-border-input
|
|
6331
|
-
primary: "border-primary/30 hover:border-primary/50
|
|
6332
|
-
secondary: "border-secondary/30 hover:border-secondary/50
|
|
6333
|
-
accent: "border-accent/30 hover:border-accent/50
|
|
6334
|
-
destructive: "border-destructive/40 hover:border-destructive/60
|
|
6335
|
-
error: "border-destructive hover:border-destructive
|
|
6342
|
+
default: "border-border hover:border-border-input",
|
|
6343
|
+
primary: "border-primary/30 hover:border-primary/50",
|
|
6344
|
+
secondary: "border-secondary/30 hover:border-secondary/50",
|
|
6345
|
+
accent: "border-accent/30 hover:border-accent/50",
|
|
6346
|
+
destructive: "border-destructive/40 hover:border-destructive/60",
|
|
6347
|
+
error: "border-destructive hover:border-destructive"
|
|
6336
6348
|
},
|
|
6337
6349
|
size: {
|
|
6338
6350
|
sm: "h-8 px-3 text-sm",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auxalia-ui-kit",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
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": {
|