auxalia-ui-kit 1.6.6 → 1.6.7

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
@@ -7273,7 +7273,7 @@ var ControlledTable = ({
7273
7273
  fields.map((field) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
7274
7274
  "td",
7275
7275
  {
7276
- className: `px-3 py-3 text-base font-normal ${field.textAlign === "center" ? "text-center" : field.textAlign === "right" ? "text-right" : "text-left"}`,
7276
+ className: `px-3 py-3 text-base font-normal text-content ${field.textAlign === "center" ? "text-center" : field.textAlign === "right" ? "text-right" : "text-left"}`,
7277
7277
  style: { width: field.width },
7278
7278
  children: renderCell(field, record)
7279
7279
  },
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" | "default";
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" | "secondary" | "destructive";
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" | "secondary" | "destructive";
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?: "secondary" | "accent" | "destructive" | "success" | "warning" | "info" | "default" | "outline" | "solid";
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?: "primary" | "secondary" | "accent" | "surface" | "destructive" | "default";
57
- size?: "sm" | "lg" | "default" | "icon";
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" | "secondary" | "accent" | "destructive";
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?: "primary" | "secondary" | "accent" | "destructive" | "default";
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?: "primary" | "accent" | "success" | "default" | "outlined" | "elevated";
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?: "primary" | "secondary" | "accent" | "destructive" | "default" | "error";
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?: "primary" | "secondary" | "accent" | "destructive" | "default" | "error";
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" | "default";
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" | "secondary" | "destructive";
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" | "secondary" | "destructive";
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?: "secondary" | "accent" | "destructive" | "success" | "warning" | "info" | "default" | "outline" | "solid";
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?: "primary" | "secondary" | "accent" | "surface" | "destructive" | "default";
57
- size?: "sm" | "lg" | "default" | "icon";
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" | "secondary" | "accent" | "destructive";
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?: "primary" | "secondary" | "accent" | "destructive" | "default";
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?: "primary" | "accent" | "success" | "default" | "outlined" | "elevated";
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?: "primary" | "secondary" | "accent" | "destructive" | "default" | "error";
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?: "primary" | "secondary" | "accent" | "destructive" | "default" | "error";
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
@@ -7175,7 +7175,7 @@ var ControlledTable = ({
7175
7175
  fields.map((field) => /* @__PURE__ */ jsx40(
7176
7176
  "td",
7177
7177
  {
7178
- className: `px-3 py-3 text-base font-normal ${field.textAlign === "center" ? "text-center" : field.textAlign === "right" ? "text-right" : "text-left"}`,
7178
+ className: `px-3 py-3 text-base font-normal text-content ${field.textAlign === "center" ? "text-center" : field.textAlign === "right" ? "text-right" : "text-left"}`,
7179
7179
  style: { width: field.width },
7180
7180
  children: renderCell(field, record)
7181
7181
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auxalia-ui-kit",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "description": "feat: Add new 'surface' color variant with default, outline, ghost, and link styles to the Button component.",
5
5
  "license": "ISC",
6
6
  "author": {