auxalia-ui-kit 1.6.5 → 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 +7 -7
- package/dist/index.js +7 -7
- 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,7 +7185,7 @@ 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
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: [
|
|
@@ -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.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,7 +7087,7 @@ 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
7093
|
/* @__PURE__ */ jsx40("thead", { className: "border-b border-card-hover bg-surface text-dim", children: /* @__PURE__ */ jsxs13("tr", { children: [
|
|
@@ -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,
|