@rolster/react-components 18.21.40 → 18.21.41
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.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.js +6 -6
- package/dist/es/index.js.map +1 -1
- package/dist/esm/components/organisms/Datatable/Datatable.d.ts +3 -3
- package/dist/esm/components/organisms/Datatable/Datatable.js +6 -6
- package/dist/esm/components/organisms/Datatable/Datatable.js.map +1 -1
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
|
@@ -2387,16 +2387,16 @@ function RlsDatatableSubheader({ children, className, identifier, rlsTheme }) {
|
|
|
2387
2387
|
}, [className]);
|
|
2388
2388
|
return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameSubheader, "rls-theme": rlsTheme, children: children }));
|
|
2389
2389
|
}
|
|
2390
|
-
function RlsDatatableRecord({ children, className, error, identifier, info, overflow,
|
|
2390
|
+
function RlsDatatableRecord({ children, className, error, identifier, info, overflow, success, warning, rlsTheme }) {
|
|
2391
2391
|
const classNameRecord = useMemo(() => {
|
|
2392
|
-
return renderClassStatus('rls-datatable__record', { error, info, overflow,
|
|
2393
|
-
}, [className, error, info, overflow,
|
|
2392
|
+
return renderClassStatus('rls-datatable__record', { error, info, overflow, success, warning }, className);
|
|
2393
|
+
}, [className, error, info, overflow, success, warning]);
|
|
2394
2394
|
return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameRecord, "rls-theme": rlsTheme, children: children }));
|
|
2395
2395
|
}
|
|
2396
|
-
function RlsDatatableTotals({ children, className, error, identifier, info, overflow,
|
|
2396
|
+
function RlsDatatableTotals({ children, className, error, identifier, info, overflow, success, warning, rlsTheme }) {
|
|
2397
2397
|
const classNameTotals = useMemo(() => {
|
|
2398
|
-
return renderClassStatus('rls-datatable__totals', { error, info, overflow,
|
|
2399
|
-
}, [className, error, info, overflow,
|
|
2398
|
+
return renderClassStatus('rls-datatable__totals', { error, info, overflow, success, warning }, className);
|
|
2399
|
+
}, [className, error, info, overflow, success, warning]);
|
|
2400
2400
|
return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameTotals, "rls-theme": rlsTheme, children: children }));
|
|
2401
2401
|
}
|
|
2402
2402
|
function RlsDatatableCell({ children, className, control, identifier, overflow, rlsTheme }) {
|