@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/es/index.mjs
CHANGED
|
@@ -2495,10 +2495,10 @@ function RlsDatatable({ children, footer, header, identifier, rlsTheme, resizabl
|
|
|
2495
2495
|
function RlsDatatableHeader({ children, identifier, rlsTheme }) {
|
|
2496
2496
|
return (jsxRuntimeExports.jsx("tr", { id: identifier, className: "rls-datatable__header", "rls-theme": rlsTheme, children: children }));
|
|
2497
2497
|
}
|
|
2498
|
-
function RlsDatatableTitle({ children, className,
|
|
2498
|
+
function RlsDatatableTitle({ children, className, control, identifier, rlsTheme, truncated }) {
|
|
2499
2499
|
const classNameTitle = useMemo(() => {
|
|
2500
|
-
return renderClassStatus('rls-datatable__title', {
|
|
2501
|
-
}, [className,
|
|
2500
|
+
return renderClassStatus('rls-datatable__title', { truncated, control }, className);
|
|
2501
|
+
}, [className, truncated, control]);
|
|
2502
2502
|
return (jsxRuntimeExports.jsx("th", { id: identifier, className: classNameTitle, "rls-theme": rlsTheme, children: children }));
|
|
2503
2503
|
}
|
|
2504
2504
|
function RlsDatatableSubheader({ children, className, identifier, rlsTheme }) {
|
|
@@ -2507,28 +2507,28 @@ function RlsDatatableSubheader({ children, className, identifier, rlsTheme }) {
|
|
|
2507
2507
|
}, [className]);
|
|
2508
2508
|
return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameSubheader, "rls-theme": rlsTheme, children: children }));
|
|
2509
2509
|
}
|
|
2510
|
-
function RlsDatatableRecord({ children, className,
|
|
2510
|
+
function RlsDatatableRecord({ children, className, error, identifier, info, rlsTheme, success, truncated, warning }) {
|
|
2511
2511
|
const classNameRecord = useMemo(() => {
|
|
2512
|
-
return renderClassStatus('rls-datatable__record', { error, info,
|
|
2513
|
-
}, [className,
|
|
2512
|
+
return renderClassStatus('rls-datatable__record', { error, info, truncated, success, warning }, className);
|
|
2513
|
+
}, [className, truncated, error, info, success, warning]);
|
|
2514
2514
|
return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameRecord, "rls-theme": rlsTheme, children: children }));
|
|
2515
2515
|
}
|
|
2516
|
-
function RlsDatatableTotals({ children, className,
|
|
2516
|
+
function RlsDatatableTotals({ children, className, error, identifier, info, rlsTheme, success, truncated, warning }) {
|
|
2517
2517
|
const classNameTotals = useMemo(() => {
|
|
2518
|
-
return renderClassStatus('rls-datatable__totals', { error, info,
|
|
2519
|
-
}, [className,
|
|
2518
|
+
return renderClassStatus('rls-datatable__totals', { error, info, truncated, success, warning }, className);
|
|
2519
|
+
}, [className, truncated, error, info, success, warning]);
|
|
2520
2520
|
return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameTotals, "rls-theme": rlsTheme, children: children }));
|
|
2521
2521
|
}
|
|
2522
|
-
function RlsDatatableCell({ children, className,
|
|
2522
|
+
function RlsDatatableCell({ children, className, control, identifier, rlsTheme, truncated }) {
|
|
2523
2523
|
const classNameCell = useMemo(() => {
|
|
2524
|
-
return renderClassStatus('rls-datatable__cell', { control,
|
|
2525
|
-
}, [className,
|
|
2524
|
+
return renderClassStatus('rls-datatable__cell', { control, truncated }, className);
|
|
2525
|
+
}, [className, truncated, control]);
|
|
2526
2526
|
return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameCell, "rls-theme": rlsTheme, children: children }));
|
|
2527
2527
|
}
|
|
2528
|
-
function RlsDatatableData({ children, className,
|
|
2528
|
+
function RlsDatatableData({ children, className, control, identifier, truncated }) {
|
|
2529
2529
|
const classNameData = useMemo(() => {
|
|
2530
|
-
return renderClassStatus('rls-datatable__data', { control,
|
|
2531
|
-
}, [className,
|
|
2530
|
+
return renderClassStatus('rls-datatable__data', { control, truncated }, className);
|
|
2531
|
+
}, [className, truncated, control]);
|
|
2532
2532
|
return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameData, children: children }));
|
|
2533
2533
|
}
|
|
2534
2534
|
function RlsDatatableFloating({ children, className, identifier, invested, rlsTheme }) {
|