@rolster/react-components 19.6.9 → 19.6.10
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/cjs/index.cjs +15 -15
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/es/index.mjs +15 -15
- package/dist/es/index.mjs.map +1 -1
- package/dist/esm/components/organisms/Datatable/Datatable.d.ts +7 -7
- package/dist/esm/components/organisms/Datatable/Datatable.js +15 -15
- package/dist/esm/components/organisms/Datatable/Datatable.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -2497,10 +2497,10 @@ function RlsDatatable({ children, footer, header, identifier, rlsTheme, resizabl
|
|
|
2497
2497
|
function RlsDatatableHeader({ children, identifier, rlsTheme }) {
|
|
2498
2498
|
return (jsxRuntimeExports.jsx("tr", { id: identifier, className: "rls-datatable__header", "rls-theme": rlsTheme, children: children }));
|
|
2499
2499
|
}
|
|
2500
|
-
function RlsDatatableTitle({ children, className,
|
|
2500
|
+
function RlsDatatableTitle({ children, className, control, identifier, rlsTheme, truncated }) {
|
|
2501
2501
|
const classNameTitle = require$$0.useMemo(() => {
|
|
2502
|
-
return renderClassStatus('rls-datatable__title', {
|
|
2503
|
-
}, [className,
|
|
2502
|
+
return renderClassStatus('rls-datatable__title', { truncated, control }, className);
|
|
2503
|
+
}, [className, truncated, control]);
|
|
2504
2504
|
return (jsxRuntimeExports.jsx("th", { id: identifier, className: classNameTitle, "rls-theme": rlsTheme, children: children }));
|
|
2505
2505
|
}
|
|
2506
2506
|
function RlsDatatableSubheader({ children, className, identifier, rlsTheme }) {
|
|
@@ -2509,28 +2509,28 @@ function RlsDatatableSubheader({ children, className, identifier, rlsTheme }) {
|
|
|
2509
2509
|
}, [className]);
|
|
2510
2510
|
return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameSubheader, "rls-theme": rlsTheme, children: children }));
|
|
2511
2511
|
}
|
|
2512
|
-
function RlsDatatableRecord({ children, className,
|
|
2512
|
+
function RlsDatatableRecord({ children, className, error, identifier, info, rlsTheme, success, truncated, warning }) {
|
|
2513
2513
|
const classNameRecord = require$$0.useMemo(() => {
|
|
2514
|
-
return renderClassStatus('rls-datatable__record', { error, info,
|
|
2515
|
-
}, [className,
|
|
2514
|
+
return renderClassStatus('rls-datatable__record', { error, info, truncated, success, warning }, className);
|
|
2515
|
+
}, [className, truncated, error, info, success, warning]);
|
|
2516
2516
|
return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameRecord, "rls-theme": rlsTheme, children: children }));
|
|
2517
2517
|
}
|
|
2518
|
-
function RlsDatatableTotals({ children, className,
|
|
2518
|
+
function RlsDatatableTotals({ children, className, error, identifier, info, rlsTheme, success, truncated, warning }) {
|
|
2519
2519
|
const classNameTotals = require$$0.useMemo(() => {
|
|
2520
|
-
return renderClassStatus('rls-datatable__totals', { error, info,
|
|
2521
|
-
}, [className,
|
|
2520
|
+
return renderClassStatus('rls-datatable__totals', { error, info, truncated, success, warning }, className);
|
|
2521
|
+
}, [className, truncated, error, info, success, warning]);
|
|
2522
2522
|
return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameTotals, "rls-theme": rlsTheme, children: children }));
|
|
2523
2523
|
}
|
|
2524
|
-
function RlsDatatableCell({ children, className,
|
|
2524
|
+
function RlsDatatableCell({ children, className, control, identifier, rlsTheme, truncated }) {
|
|
2525
2525
|
const classNameCell = require$$0.useMemo(() => {
|
|
2526
|
-
return renderClassStatus('rls-datatable__cell', { control,
|
|
2527
|
-
}, [className,
|
|
2526
|
+
return renderClassStatus('rls-datatable__cell', { control, truncated }, className);
|
|
2527
|
+
}, [className, truncated, control]);
|
|
2528
2528
|
return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameCell, "rls-theme": rlsTheme, children: children }));
|
|
2529
2529
|
}
|
|
2530
|
-
function RlsDatatableData({ children, className,
|
|
2530
|
+
function RlsDatatableData({ children, className, control, identifier, truncated }) {
|
|
2531
2531
|
const classNameData = require$$0.useMemo(() => {
|
|
2532
|
-
return renderClassStatus('rls-datatable__data', { control,
|
|
2533
|
-
}, [className,
|
|
2532
|
+
return renderClassStatus('rls-datatable__data', { control, truncated }, className);
|
|
2533
|
+
}, [className, truncated, control]);
|
|
2534
2534
|
return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameData, children: children }));
|
|
2535
2535
|
}
|
|
2536
2536
|
function RlsDatatableFloating({ children, className, identifier, invested, rlsTheme }) {
|