auxalia-ui-kit 1.6.4 → 1.6.6
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 +9 -9
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +9 -9
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6881,9 +6881,9 @@ var CommonToolbar = ({
|
|
|
6881
6881
|
onFilterCallback
|
|
6882
6882
|
}) => {
|
|
6883
6883
|
const [isFilterOpen, setIsFilterOpen] = (0, import_react9.useState)(false);
|
|
6884
|
-
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", {
|
|
6885
|
-
title && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "
|
|
6886
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "
|
|
6884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { children: [
|
|
6885
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "px-4 pt-3 text-base font-semibold uppercase tracking-wide text-content", children: title }),
|
|
6886
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center justify-between gap-4 border-b border-card-hover 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)(
|
|
@@ -6911,7 +6911,7 @@ var CommonToolbar = ({
|
|
|
6911
6911
|
] }),
|
|
6912
6912
|
toolbarActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex items-center gap-2", children: renderToolbarActions(toolbarActions, numSelected) })
|
|
6913
6913
|
] }),
|
|
6914
|
-
filterFields && filterFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CollapsibleRoot, { open: isFilterOpen, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CollapsibleContent, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "rounded-
|
|
6914
|
+
filterFields && filterFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CollapsibleRoot, { open: isFilterOpen, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CollapsibleContent, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "rounded-sm border border-border p-4", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
6915
6915
|
tableFilter_default,
|
|
6916
6916
|
{
|
|
6917
6917
|
filterFields,
|
|
@@ -7171,7 +7171,7 @@ var ControlledTable = ({
|
|
|
7171
7171
|
}
|
|
7172
7172
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { children: content });
|
|
7173
7173
|
};
|
|
7174
|
-
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { children: [
|
|
7174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "overflow-hidden rounded-sm border border-border", children: [
|
|
7175
7175
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
7176
7176
|
toolbar_default,
|
|
7177
7177
|
{
|
|
@@ -7185,10 +7185,10 @@ var ControlledTable = ({
|
|
|
7185
7185
|
onFilterCallback
|
|
7186
7186
|
}
|
|
7187
7187
|
),
|
|
7188
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "relative overflow-hidden
|
|
7188
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "relative overflow-hidden", 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-
|
|
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",
|
|
@@ -7342,7 +7342,7 @@ var ControlledTable = ({
|
|
|
7342
7342
|
}) })
|
|
7343
7343
|
] }) })
|
|
7344
7344
|
] }),
|
|
7345
|
-
withPagination && count3 > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "
|
|
7345
|
+
withPagination && count3 > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "border-t border-card-hover bg-card px-4 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
7346
7346
|
ControlledPagination_default,
|
|
7347
7347
|
{
|
|
7348
7348
|
currentPage,
|
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?: "
|
|
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" | "
|
|
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" | "
|
|
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?: "
|
|
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?: "
|
|
57
|
-
size?: "
|
|
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" | "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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" | "
|
|
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" | "
|
|
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?: "
|
|
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?: "
|
|
57
|
-
size?: "
|
|
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" | "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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?: "
|
|
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
|
@@ -6783,9 +6783,9 @@ var CommonToolbar = ({
|
|
|
6783
6783
|
onFilterCallback
|
|
6784
6784
|
}) => {
|
|
6785
6785
|
const [isFilterOpen, setIsFilterOpen] = useState15(false);
|
|
6786
|
-
return /* @__PURE__ */ jsxs11("div", {
|
|
6787
|
-
title && /* @__PURE__ */ jsx38("p", { className: "
|
|
6788
|
-
/* @__PURE__ */ jsxs11("div", { className: "
|
|
6786
|
+
return /* @__PURE__ */ jsxs11("div", { children: [
|
|
6787
|
+
title && /* @__PURE__ */ jsx38("p", { className: "px-4 pt-3 text-base font-semibold uppercase tracking-wide text-content", children: title }),
|
|
6788
|
+
/* @__PURE__ */ jsxs11("div", { className: "flex items-center justify-between gap-4 border-b border-card-hover 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(
|
|
@@ -6813,7 +6813,7 @@ var CommonToolbar = ({
|
|
|
6813
6813
|
] }),
|
|
6814
6814
|
toolbarActions.length > 0 && /* @__PURE__ */ jsx38("div", { className: "flex items-center gap-2", children: renderToolbarActions(toolbarActions, numSelected) })
|
|
6815
6815
|
] }),
|
|
6816
|
-
filterFields && filterFields.length > 0 && /* @__PURE__ */ jsx38(CollapsibleRoot, { open: isFilterOpen, children: /* @__PURE__ */ jsx38(CollapsibleContent, { children: /* @__PURE__ */ jsx38("div", { className: "rounded-
|
|
6816
|
+
filterFields && filterFields.length > 0 && /* @__PURE__ */ jsx38(CollapsibleRoot, { open: isFilterOpen, children: /* @__PURE__ */ jsx38(CollapsibleContent, { children: /* @__PURE__ */ jsx38("div", { className: "rounded-sm border border-border p-4", children: /* @__PURE__ */ jsx38(
|
|
6817
6817
|
tableFilter_default,
|
|
6818
6818
|
{
|
|
6819
6819
|
filterFields,
|
|
@@ -7073,7 +7073,7 @@ var ControlledTable = ({
|
|
|
7073
7073
|
}
|
|
7074
7074
|
return /* @__PURE__ */ jsx40("span", { children: content });
|
|
7075
7075
|
};
|
|
7076
|
-
return /* @__PURE__ */ jsxs13("div", { children: [
|
|
7076
|
+
return /* @__PURE__ */ jsxs13("div", { className: "overflow-hidden rounded-sm border border-border", children: [
|
|
7077
7077
|
/* @__PURE__ */ jsx40(
|
|
7078
7078
|
toolbar_default,
|
|
7079
7079
|
{
|
|
@@ -7087,10 +7087,10 @@ var ControlledTable = ({
|
|
|
7087
7087
|
onFilterCallback
|
|
7088
7088
|
}
|
|
7089
7089
|
),
|
|
7090
|
-
/* @__PURE__ */ jsxs13("div", { className: "relative overflow-hidden
|
|
7090
|
+
/* @__PURE__ */ jsxs13("div", { className: "relative overflow-hidden", 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-
|
|
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",
|
|
@@ -7244,7 +7244,7 @@ var ControlledTable = ({
|
|
|
7244
7244
|
}) })
|
|
7245
7245
|
] }) })
|
|
7246
7246
|
] }),
|
|
7247
|
-
withPagination && count3 > 0 && /* @__PURE__ */ jsx40("div", { className: "
|
|
7247
|
+
withPagination && count3 > 0 && /* @__PURE__ */ jsx40("div", { className: "border-t border-card-hover bg-card px-4 py-2", children: /* @__PURE__ */ jsx40(
|
|
7248
7248
|
ControlledPagination_default,
|
|
7249
7249
|
{
|
|
7250
7250
|
currentPage,
|