@charlesgomes/leafcode-shared-lib-react 1.0.90 → 1.0.91
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.js +17 -0
- package/dist/index.mjs +17 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1501,6 +1501,23 @@ function DataTableAdvancedFilterWrapper({
|
|
|
1501
1501
|
"--p-datepicker-prev-next": theme.colors.primary,
|
|
1502
1502
|
"--p-datepicker-button": theme.colors.primary
|
|
1503
1503
|
};
|
|
1504
|
+
(0, import_react17.useEffect)(() => {
|
|
1505
|
+
const root = document.documentElement;
|
|
1506
|
+
root.style.setProperty(
|
|
1507
|
+
"--p-column-filter-add-button-color",
|
|
1508
|
+
theme.colors.primary
|
|
1509
|
+
);
|
|
1510
|
+
root.style.setProperty(
|
|
1511
|
+
"--p-column-filter-buttonbar-bg",
|
|
1512
|
+
theme.colors.primary
|
|
1513
|
+
);
|
|
1514
|
+
root.style.setProperty(
|
|
1515
|
+
"--p-column-filter-buttonbar-bg-hover",
|
|
1516
|
+
theme.colors.primaryHover
|
|
1517
|
+
);
|
|
1518
|
+
root.style.setProperty("--p-dropdown-bg", theme.colors.primary);
|
|
1519
|
+
root.style.setProperty("--p-datepicker", theme.colors.primary);
|
|
1520
|
+
}, [theme]);
|
|
1504
1521
|
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, { children: isClient && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { style: styleVars, children: [
|
|
1505
1522
|
disablePagination && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "disablePagination", children: TableHeaderAndTableActions }),
|
|
1506
1523
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
package/dist/index.mjs
CHANGED
|
@@ -1449,6 +1449,23 @@ function DataTableAdvancedFilterWrapper({
|
|
|
1449
1449
|
"--p-datepicker-prev-next": theme.colors.primary,
|
|
1450
1450
|
"--p-datepicker-button": theme.colors.primary
|
|
1451
1451
|
};
|
|
1452
|
+
useEffect6(() => {
|
|
1453
|
+
const root = document.documentElement;
|
|
1454
|
+
root.style.setProperty(
|
|
1455
|
+
"--p-column-filter-add-button-color",
|
|
1456
|
+
theme.colors.primary
|
|
1457
|
+
);
|
|
1458
|
+
root.style.setProperty(
|
|
1459
|
+
"--p-column-filter-buttonbar-bg",
|
|
1460
|
+
theme.colors.primary
|
|
1461
|
+
);
|
|
1462
|
+
root.style.setProperty(
|
|
1463
|
+
"--p-column-filter-buttonbar-bg-hover",
|
|
1464
|
+
theme.colors.primaryHover
|
|
1465
|
+
);
|
|
1466
|
+
root.style.setProperty("--p-dropdown-bg", theme.colors.primary);
|
|
1467
|
+
root.style.setProperty("--p-datepicker", theme.colors.primary);
|
|
1468
|
+
}, [theme]);
|
|
1452
1469
|
return /* @__PURE__ */ jsx16(Fragment6, { children: isClient && /* @__PURE__ */ jsxs11("div", { style: styleVars, children: [
|
|
1453
1470
|
disablePagination && /* @__PURE__ */ jsx16("div", { className: "disablePagination", children: TableHeaderAndTableActions }),
|
|
1454
1471
|
/* @__PURE__ */ jsxs11(
|