auxalia-ui-kit 1.5.2 → 1.5.4

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 CHANGED
@@ -6453,7 +6453,10 @@ var SelectScrollUpButton2 = React38.forwardRef(({ className, ...props }, ref) =>
6453
6453
  ScrollUpButton,
6454
6454
  {
6455
6455
  ref,
6456
- className: cn("flex cursor-default items-center justify-center py-1", className),
6456
+ className: cn(
6457
+ "flex cursor-default items-center justify-center py-1",
6458
+ className
6459
+ ),
6457
6460
  ...props,
6458
6461
  children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react4.ChevronUp, { className: "size-4" })
6459
6462
  }
@@ -6463,7 +6466,10 @@ var SelectScrollDownButton2 = React38.forwardRef(({ className, ...props }, ref)
6463
6466
  ScrollDownButton,
6464
6467
  {
6465
6468
  ref,
6466
- className: cn("flex cursor-default items-center justify-center py-1", className),
6469
+ className: cn(
6470
+ "flex cursor-default items-center justify-center py-1",
6471
+ className
6472
+ ),
6467
6473
  ...props,
6468
6474
  children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react4.ChevronDown, { className: "size-4" })
6469
6475
  }
@@ -6479,6 +6485,9 @@ var SelectContent2 = React38.forwardRef(({ className, children, position = "popp
6479
6485
  position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
6480
6486
  className
6481
6487
  ),
6488
+ onWheel: (e) => {
6489
+ e.stopPropagation();
6490
+ },
6482
6491
  position,
6483
6492
  ...props,
6484
6493
  children: [
@@ -6487,7 +6496,8 @@ var SelectContent2 = React38.forwardRef(({ className, children, position = "popp
6487
6496
  Viewport,
6488
6497
  {
6489
6498
  className: cn(
6490
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
6499
+ "p-1",
6500
+ position === "popper" && "max-h-[320px] w-full min-w-[200px]"
6491
6501
  ),
6492
6502
  children
6493
6503
  }
package/dist/index.d.cts CHANGED
@@ -15,7 +15,7 @@ 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" | "default" | "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>>;
@@ -30,7 +30,7 @@ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarI
30
30
  declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
31
31
 
32
32
  declare const badgeVariants: (props?: {
33
- variant?: "secondary" | "accent" | "destructive" | "default" | "success" | "outline" | "solid";
33
+ variant?: "default" | "destructive" | "success" | "secondary" | "accent" | "outline" | "solid";
34
34
  } & class_variance_authority_types.ClassProp) => string;
35
35
  interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
36
36
  }
@@ -38,7 +38,7 @@ declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_
38
38
 
39
39
  declare const buttonVariants: (props?: {
40
40
  variant?: "default" | "link" | "outline" | "ghost";
41
- color?: "primary" | "secondary" | "accent" | "destructive" | "default";
41
+ color?: "default" | "primary" | "destructive" | "secondary" | "accent";
42
42
  size?: "default" | "sm" | "lg" | "icon";
43
43
  } & class_variance_authority_types.ClassProp) => string;
44
44
  interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
@@ -70,7 +70,7 @@ declare function SkeletonAvatar({ className, ...props }: React.HTMLAttributes<HT
70
70
  declare function SkeletonCard({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
71
71
 
72
72
  declare const switchVariants: (props?: {
73
- color?: "primary" | "secondary" | "accent" | "destructive";
73
+ color?: "primary" | "destructive" | "secondary" | "accent";
74
74
  size?: "sm" | "md" | "lg";
75
75
  } & class_variance_authority_types.ClassProp) => string;
76
76
  interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch$1.Root>, 'color' | 'size'>, VariantProps<typeof switchVariants> {
@@ -78,7 +78,7 @@ interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch$
78
78
  declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
79
79
 
80
80
  declare const dropdownMenuItemVariants: (props?: {
81
- variant?: "primary" | "secondary" | "accent" | "destructive" | "default";
81
+ variant?: "default" | "primary" | "destructive" | "secondary" | "accent";
82
82
  } & class_variance_authority_types.ClassProp) => string;
83
83
  type DropdownMenuItemVariantProps = VariantProps<typeof dropdownMenuItemVariants>;
84
84
 
@@ -153,7 +153,7 @@ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof Toolti
153
153
  declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
154
154
 
155
155
  declare const cardVariants: (props?: {
156
- variant?: "primary" | "accent" | "default" | "success" | "outlined" | "elevated";
156
+ variant?: "default" | "primary" | "success" | "accent" | "outlined" | "elevated";
157
157
  } & class_variance_authority_types.ClassProp) => string;
158
158
  type CardVariantProps = VariantProps<typeof cardVariants>;
159
159
 
@@ -169,11 +169,11 @@ type InputProps = Omit<React.ComponentProps<'input'>, 'size'> & InputVariantProp
169
169
  declare function Input({ size, variant, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
170
170
 
171
171
  declare const selectTriggerVariants: (props?: {
172
- variant?: "primary" | "secondary" | "accent" | "destructive" | "default" | "error";
172
+ variant?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
173
173
  size?: "sm" | "md" | "lg";
174
174
  } & class_variance_authority_types.ClassProp) => string;
175
175
  declare const selectItemVariants: (props?: {
176
- variant?: "primary" | "secondary" | "accent" | "destructive" | "default";
176
+ variant?: "default" | "primary" | "destructive" | "secondary" | "accent";
177
177
  } & class_variance_authority_types.ClassProp) => string;
178
178
  type SelectTriggerVariantProps = VariantProps<typeof selectTriggerVariants>;
179
179
  type SelectItemVariantProps = VariantProps<typeof selectItemVariants>;
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ 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" | "default" | "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>>;
@@ -30,7 +30,7 @@ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarI
30
30
  declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<Avatar$1.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
31
31
 
32
32
  declare const badgeVariants: (props?: {
33
- variant?: "secondary" | "accent" | "destructive" | "default" | "success" | "outline" | "solid";
33
+ variant?: "default" | "destructive" | "success" | "secondary" | "accent" | "outline" | "solid";
34
34
  } & class_variance_authority_types.ClassProp) => string;
35
35
  interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
36
36
  }
@@ -38,7 +38,7 @@ declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_
38
38
 
39
39
  declare const buttonVariants: (props?: {
40
40
  variant?: "default" | "link" | "outline" | "ghost";
41
- color?: "primary" | "secondary" | "accent" | "destructive" | "default";
41
+ color?: "default" | "primary" | "destructive" | "secondary" | "accent";
42
42
  size?: "default" | "sm" | "lg" | "icon";
43
43
  } & class_variance_authority_types.ClassProp) => string;
44
44
  interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
@@ -70,7 +70,7 @@ declare function SkeletonAvatar({ className, ...props }: React.HTMLAttributes<HT
70
70
  declare function SkeletonCard({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
71
71
 
72
72
  declare const switchVariants: (props?: {
73
- color?: "primary" | "secondary" | "accent" | "destructive";
73
+ color?: "primary" | "destructive" | "secondary" | "accent";
74
74
  size?: "sm" | "md" | "lg";
75
75
  } & class_variance_authority_types.ClassProp) => string;
76
76
  interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch$1.Root>, 'color' | 'size'>, VariantProps<typeof switchVariants> {
@@ -78,7 +78,7 @@ interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch$
78
78
  declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
79
79
 
80
80
  declare const dropdownMenuItemVariants: (props?: {
81
- variant?: "primary" | "secondary" | "accent" | "destructive" | "default";
81
+ variant?: "default" | "primary" | "destructive" | "secondary" | "accent";
82
82
  } & class_variance_authority_types.ClassProp) => string;
83
83
  type DropdownMenuItemVariantProps = VariantProps<typeof dropdownMenuItemVariants>;
84
84
 
@@ -153,7 +153,7 @@ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof Toolti
153
153
  declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
154
154
 
155
155
  declare const cardVariants: (props?: {
156
- variant?: "primary" | "accent" | "default" | "success" | "outlined" | "elevated";
156
+ variant?: "default" | "primary" | "success" | "accent" | "outlined" | "elevated";
157
157
  } & class_variance_authority_types.ClassProp) => string;
158
158
  type CardVariantProps = VariantProps<typeof cardVariants>;
159
159
 
@@ -169,11 +169,11 @@ type InputProps = Omit<React.ComponentProps<'input'>, 'size'> & InputVariantProp
169
169
  declare function Input({ size, variant, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
170
170
 
171
171
  declare const selectTriggerVariants: (props?: {
172
- variant?: "primary" | "secondary" | "accent" | "destructive" | "default" | "error";
172
+ variant?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
173
173
  size?: "sm" | "md" | "lg";
174
174
  } & class_variance_authority_types.ClassProp) => string;
175
175
  declare const selectItemVariants: (props?: {
176
- variant?: "primary" | "secondary" | "accent" | "destructive" | "default";
176
+ variant?: "default" | "primary" | "destructive" | "secondary" | "accent";
177
177
  } & class_variance_authority_types.ClassProp) => string;
178
178
  type SelectTriggerVariantProps = VariantProps<typeof selectTriggerVariants>;
179
179
  type SelectItemVariantProps = VariantProps<typeof selectItemVariants>;
package/dist/index.js CHANGED
@@ -6337,7 +6337,10 @@ var SelectScrollUpButton2 = React38.forwardRef(({ className, ...props }, ref) =>
6337
6337
  ScrollUpButton,
6338
6338
  {
6339
6339
  ref,
6340
- className: cn("flex cursor-default items-center justify-center py-1", className),
6340
+ className: cn(
6341
+ "flex cursor-default items-center justify-center py-1",
6342
+ className
6343
+ ),
6341
6344
  ...props,
6342
6345
  children: /* @__PURE__ */ jsx29(ChevronUp, { className: "size-4" })
6343
6346
  }
@@ -6347,7 +6350,10 @@ var SelectScrollDownButton2 = React38.forwardRef(({ className, ...props }, ref)
6347
6350
  ScrollDownButton,
6348
6351
  {
6349
6352
  ref,
6350
- className: cn("flex cursor-default items-center justify-center py-1", className),
6353
+ className: cn(
6354
+ "flex cursor-default items-center justify-center py-1",
6355
+ className
6356
+ ),
6351
6357
  ...props,
6352
6358
  children: /* @__PURE__ */ jsx29(ChevronDown, { className: "size-4" })
6353
6359
  }
@@ -6363,6 +6369,9 @@ var SelectContent2 = React38.forwardRef(({ className, children, position = "popp
6363
6369
  position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
6364
6370
  className
6365
6371
  ),
6372
+ onWheel: (e) => {
6373
+ e.stopPropagation();
6374
+ },
6366
6375
  position,
6367
6376
  ...props,
6368
6377
  children: [
@@ -6371,7 +6380,8 @@ var SelectContent2 = React38.forwardRef(({ className, children, position = "popp
6371
6380
  Viewport,
6372
6381
  {
6373
6382
  className: cn(
6374
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
6383
+ "p-1",
6384
+ position === "popper" && "max-h-[320px] w-full min-w-[200px]"
6375
6385
  ),
6376
6386
  children
6377
6387
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auxalia-ui-kit",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "A React component library built with Radix UI and Tailwind CSS, designed to provide accessible and customizable UI components for modern web applications.",
5
5
  "license": "ISC",
6
6
  "author": {