@oliasoft-open-source/react-ui-library 4.15.7 → 4.15.8
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.d.ts +1 -0
- package/dist/index.js +18 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -55416,7 +55416,8 @@ const Footer = ({
|
|
|
55416
55416
|
colSpan,
|
|
55417
55417
|
pagination,
|
|
55418
55418
|
actions: actions2,
|
|
55419
|
-
content: content2
|
|
55419
|
+
content: content2,
|
|
55420
|
+
testId
|
|
55420
55421
|
}) => {
|
|
55421
55422
|
const hasActions2 = actions2 && actions2.length;
|
|
55422
55423
|
const hasContent = content2 != null;
|
|
@@ -55430,13 +55431,20 @@ const Footer = ({
|
|
|
55430
55431
|
return false;
|
|
55431
55432
|
};
|
|
55432
55433
|
const showFooter = hasActions2 || hasContent || hasPagination();
|
|
55433
|
-
return showFooter ? /* @__PURE__ */ jsxs(
|
|
55434
|
-
|
|
55435
|
-
|
|
55436
|
-
|
|
55437
|
-
|
|
55438
|
-
|
|
55439
|
-
|
|
55434
|
+
return showFooter ? /* @__PURE__ */ jsxs(
|
|
55435
|
+
"div",
|
|
55436
|
+
{
|
|
55437
|
+
className: styles$9.footer,
|
|
55438
|
+
"data-testid": `${testId ?? "pagination"}-footer`,
|
|
55439
|
+
children: [
|
|
55440
|
+
hasContent ? /* @__PURE__ */ jsx("div", { className: styles$9.section, children: /* @__PURE__ */ jsx("div", { children: content2 }) }) : null,
|
|
55441
|
+
hasActions2 || hasPagination() ? /* @__PURE__ */ jsxs("div", { className: styles$9.section, children: [
|
|
55442
|
+
hasPagination() ? /* @__PURE__ */ jsx(Pagination, { pagination }) : /* @__PURE__ */ jsx("div", {}),
|
|
55443
|
+
hasActions2 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Actions, { actions: actions2 }) })
|
|
55444
|
+
] }) : null
|
|
55445
|
+
]
|
|
55446
|
+
}
|
|
55447
|
+
) : null;
|
|
55440
55448
|
};
|
|
55441
55449
|
const getMaxCellCount = (rows) => {
|
|
55442
55450
|
const count2 = Math.max(
|
|
@@ -56508,7 +56516,8 @@ const Table = (props) => {
|
|
|
56508
56516
|
{
|
|
56509
56517
|
pagination: footer2.pagination,
|
|
56510
56518
|
actions: footer2.actions,
|
|
56511
|
-
content: footer2.content
|
|
56519
|
+
content: footer2.content,
|
|
56520
|
+
testId
|
|
56512
56521
|
}
|
|
56513
56522
|
)
|
|
56514
56523
|
] }) : /* @__PURE__ */ jsxs("div", { className: wrapperClass, style: wrapperStyles, children: [
|