auxalia-ui-kit 1.6.3 → 1.6.5

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
@@ -6883,7 +6883,7 @@ var CommonToolbar = ({
6883
6883
  const [isFilterOpen, setIsFilterOpen] = (0, import_react9.useState)(false);
6884
6884
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "mb-4", children: [
6885
6885
  title && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "mb-3 text-base font-semibold uppercase tracking-wide text-content", children: title }),
6886
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "mb-3 flex items-center justify-between gap-4 px-4 py-2", children: [
6886
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "mb-3 flex items-center justify-between gap-4 rounded-lg bg-card px-4 py-2", children: [
6887
6887
  /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center gap-3", children: [
6888
6888
  filterFields && filterFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center gap-2", children: [
6889
6889
  /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
@@ -7188,7 +7188,7 @@ var ControlledTable = ({
7188
7188
  /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "relative overflow-hidden rounded-lg border border-border", children: [
7189
7189
  loading && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "absolute inset-0 z-10 flex items-center justify-center bg-card/60", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent" }) }),
7190
7190
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("table", { className: "w-full text-base", children: [
7191
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("thead", { className: "border-b bg-surface text-dim", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("tr", { children: [
7191
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("thead", { className: "border-b border-card-hover bg-surface text-dim", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("tr", { children: [
7192
7192
  isSelectable && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("th", { className: "w-10 px-3 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
7193
7193
  import_radix_ui8.Checkbox.Root,
7194
7194
  {
@@ -7243,7 +7243,7 @@ var ControlledTable = ({
7243
7243
  "tr",
7244
7244
  {
7245
7245
  onClick: () => onRowClick?.(record),
7246
- className: `border-b last:border-b-0 transition-colors ${onRowClick ? "cursor-pointer" : ""} ${isSelected ? "bg-primary/5" : "hover:bg-surface-hover"}`,
7246
+ className: `border-b border-card-hover bg-card last:border-b-0 transition-colors ${onRowClick ? "cursor-pointer" : ""} ${isSelected ? "bg-primary/5" : "hover:bg-card-hover"}`,
7247
7247
  children: [
7248
7248
  isSelectable && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
7249
7249
  "td",
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?: "default" | "primary" | "destructive" | "success" | "warning" | "info";
18
+ variant?: "primary" | "destructive" | "success" | "warning" | "info" | "default";
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" | "destructive" | "secondary";
24
+ color?: "primary" | "secondary" | "destructive";
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" | "destructive" | "secondary";
31
+ color?: "primary" | "secondary" | "destructive";
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?: "default" | "destructive" | "success" | "warning" | "info" | "secondary" | "accent" | "outline" | "solid";
48
+ variant?: "secondary" | "accent" | "destructive" | "success" | "warning" | "info" | "default" | "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?: "default" | "primary" | "destructive" | "secondary" | "accent" | "surface";
57
- size?: "default" | "sm" | "lg" | "icon";
56
+ color?: "primary" | "secondary" | "accent" | "surface" | "destructive" | "default";
57
+ size?: "sm" | "lg" | "default" | "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" | "destructive" | "secondary" | "accent";
88
+ color?: "primary" | "secondary" | "accent" | "destructive";
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?: "default" | "primary" | "destructive" | "secondary" | "accent";
96
+ variant?: "primary" | "secondary" | "accent" | "destructive" | "default";
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?: "default" | "primary" | "success" | "accent" | "outlined" | "elevated";
171
+ variant?: "primary" | "accent" | "success" | "default" | "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?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
187
+ variant?: "primary" | "secondary" | "accent" | "destructive" | "default" | "error";
188
188
  size?: "sm" | "md" | "lg";
189
189
  } & class_variance_authority_types.ClassProp) => string;
190
190
  declare const selectItemVariants: (props?: {
191
- variant?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
191
+ variant?: "primary" | "secondary" | "accent" | "destructive" | "default" | "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?: "default" | "primary" | "destructive" | "success" | "warning" | "info";
18
+ variant?: "primary" | "destructive" | "success" | "warning" | "info" | "default";
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" | "destructive" | "secondary";
24
+ color?: "primary" | "secondary" | "destructive";
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" | "destructive" | "secondary";
31
+ color?: "primary" | "secondary" | "destructive";
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?: "default" | "destructive" | "success" | "warning" | "info" | "secondary" | "accent" | "outline" | "solid";
48
+ variant?: "secondary" | "accent" | "destructive" | "success" | "warning" | "info" | "default" | "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?: "default" | "primary" | "destructive" | "secondary" | "accent" | "surface";
57
- size?: "default" | "sm" | "lg" | "icon";
56
+ color?: "primary" | "secondary" | "accent" | "surface" | "destructive" | "default";
57
+ size?: "sm" | "lg" | "default" | "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" | "destructive" | "secondary" | "accent";
88
+ color?: "primary" | "secondary" | "accent" | "destructive";
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?: "default" | "primary" | "destructive" | "secondary" | "accent";
96
+ variant?: "primary" | "secondary" | "accent" | "destructive" | "default";
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?: "default" | "primary" | "success" | "accent" | "outlined" | "elevated";
171
+ variant?: "primary" | "accent" | "success" | "default" | "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?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
187
+ variant?: "primary" | "secondary" | "accent" | "destructive" | "default" | "error";
188
188
  size?: "sm" | "md" | "lg";
189
189
  } & class_variance_authority_types.ClassProp) => string;
190
190
  declare const selectItemVariants: (props?: {
191
- variant?: "default" | "primary" | "destructive" | "secondary" | "accent" | "error";
191
+ variant?: "primary" | "secondary" | "accent" | "destructive" | "default" | "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
@@ -6785,7 +6785,7 @@ var CommonToolbar = ({
6785
6785
  const [isFilterOpen, setIsFilterOpen] = useState15(false);
6786
6786
  return /* @__PURE__ */ jsxs11("div", { className: "mb-4", children: [
6787
6787
  title && /* @__PURE__ */ jsx38("p", { className: "mb-3 text-base font-semibold uppercase tracking-wide text-content", children: title }),
6788
- /* @__PURE__ */ jsxs11("div", { className: "mb-3 flex items-center justify-between gap-4 px-4 py-2", children: [
6788
+ /* @__PURE__ */ jsxs11("div", { className: "mb-3 flex items-center justify-between gap-4 rounded-lg bg-card px-4 py-2", children: [
6789
6789
  /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-3", children: [
6790
6790
  filterFields && filterFields.length > 0 && /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2", children: [
6791
6791
  /* @__PURE__ */ jsxs11(
@@ -7090,7 +7090,7 @@ var ControlledTable = ({
7090
7090
  /* @__PURE__ */ jsxs13("div", { className: "relative overflow-hidden rounded-lg border border-border", children: [
7091
7091
  loading && /* @__PURE__ */ jsx40("div", { className: "absolute inset-0 z-10 flex items-center justify-center bg-card/60", children: /* @__PURE__ */ jsx40("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent" }) }),
7092
7092
  /* @__PURE__ */ jsx40("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs13("table", { className: "w-full text-base", children: [
7093
- /* @__PURE__ */ jsx40("thead", { className: "border-b bg-surface text-dim", children: /* @__PURE__ */ jsxs13("tr", { children: [
7093
+ /* @__PURE__ */ jsx40("thead", { className: "border-b border-card-hover bg-surface text-dim", children: /* @__PURE__ */ jsxs13("tr", { children: [
7094
7094
  isSelectable && /* @__PURE__ */ jsx40("th", { className: "w-10 px-3 py-3", children: /* @__PURE__ */ jsx40(
7095
7095
  Checkbox2.Root,
7096
7096
  {
@@ -7145,7 +7145,7 @@ var ControlledTable = ({
7145
7145
  "tr",
7146
7146
  {
7147
7147
  onClick: () => onRowClick?.(record),
7148
- className: `border-b last:border-b-0 transition-colors ${onRowClick ? "cursor-pointer" : ""} ${isSelected ? "bg-primary/5" : "hover:bg-surface-hover"}`,
7148
+ className: `border-b border-card-hover bg-card last:border-b-0 transition-colors ${onRowClick ? "cursor-pointer" : ""} ${isSelected ? "bg-primary/5" : "hover:bg-card-hover"}`,
7149
7149
  children: [
7150
7150
  isSelectable && /* @__PURE__ */ jsx40(
7151
7151
  "td",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auxalia-ui-kit",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
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": {