@rolster/react-components 18.21.10 → 18.21.11

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 CHANGED
@@ -2326,38 +2326,38 @@ function RlsDatatable({ children, datatable, footer, header, identifier, rlsThem
2326
2326
  }, [datatable]);
2327
2327
  return (jsxRuntimeExports.jsxs("div", { className: className, "rls-theme": rlsTheme, children: [toolbar && jsxRuntimeExports.jsx("div", { className: "rls-datatable__toolbar", children: toolbar }), jsxRuntimeExports.jsxs("table", { id: identifier, children: [header && jsxRuntimeExports.jsx("thead", { className: "rls-datatable__head", children: header }), jsxRuntimeExports.jsx("tbody", { ref: datatable?.tableRef, className: "rls-datatable__body", children: children })] }), summary && jsxRuntimeExports.jsx("div", { className: "rls-datatable__summary", children: summary }), footer && jsxRuntimeExports.jsx("div", { className: "rls-datatable__footer", children: footer })] }));
2328
2328
  }
2329
- function RlsDatatableHeader({ children, identifier }) {
2330
- return (jsxRuntimeExports.jsx("tr", { id: identifier, className: "rls-datatable__header", children: children }));
2329
+ function RlsDatatableHeader({ children, identifier, rlsTheme }) {
2330
+ return (jsxRuntimeExports.jsx("tr", { id: identifier, className: "rls-datatable__header", "rls-theme": rlsTheme, children: children }));
2331
2331
  }
2332
- function RlsDatatableTitle({ children, className, control, identifier }) {
2332
+ function RlsDatatableTitle({ children, className, control, identifier, rlsTheme }) {
2333
2333
  const classNameTitle = require$$0.useMemo(() => {
2334
2334
  return renderClassStatus('rls-datatable__title', { control }, className);
2335
2335
  }, [className, control]);
2336
- return (jsxRuntimeExports.jsx("th", { id: identifier, className: classNameTitle, children: children }));
2336
+ return (jsxRuntimeExports.jsx("th", { id: identifier, className: classNameTitle, "rls-theme": rlsTheme, children: children }));
2337
2337
  }
2338
- function RlsDatatableSubheader({ children, className, identifier }) {
2338
+ function RlsDatatableSubheader({ children, className, identifier, rlsTheme }) {
2339
2339
  const classNameSubheader = require$$0.useMemo(() => {
2340
2340
  return renderClassStatus('rls-datatable__subheader', {}, className);
2341
2341
  }, [className]);
2342
- return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameSubheader, children: children }));
2342
+ return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameSubheader, "rls-theme": rlsTheme, children: children }));
2343
2343
  }
2344
- function RlsDatatableRecord({ children, className, error, identifier, info, overflow, successs, warning }) {
2344
+ function RlsDatatableRecord({ children, className, error, identifier, info, overflow, successs, warning, rlsTheme }) {
2345
2345
  const classNameRecord = require$$0.useMemo(() => {
2346
2346
  return renderClassStatus('rls-datatable__record', { error, info, overflow, successs, warning }, className);
2347
2347
  }, [className, error, info, overflow, successs, warning]);
2348
- return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameRecord, children: children }));
2348
+ return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameRecord, "rls-theme": rlsTheme, children: children }));
2349
2349
  }
2350
- function RlsDatatableTotals({ children, className, error, identifier, info, overflow, successs, warning }) {
2350
+ function RlsDatatableTotals({ children, className, error, identifier, info, overflow, successs, warning, rlsTheme }) {
2351
2351
  const classNameTotals = require$$0.useMemo(() => {
2352
2352
  return renderClassStatus('rls-datatable__totals', { error, info, overflow, successs, warning }, className);
2353
2353
  }, [className, error, info, overflow, successs, warning]);
2354
- return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameTotals, children: children }));
2354
+ return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameTotals, "rls-theme": rlsTheme, children: children }));
2355
2355
  }
2356
- function RlsDatatableCell({ children, className, control, identifier, overflow }) {
2356
+ function RlsDatatableCell({ children, className, control, identifier, overflow, rlsTheme }) {
2357
2357
  const classNameCell = require$$0.useMemo(() => {
2358
2358
  return renderClassStatus('rls-datatable__cell', { control, overflow }, className);
2359
2359
  }, [className, control, overflow]);
2360
- return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameCell, children: children }));
2360
+ return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameCell, "rls-theme": rlsTheme, children: children }));
2361
2361
  }
2362
2362
  function RlsDatatableData({ children, className, control, identifier, overflow }) {
2363
2363
  const classNameData = require$$0.useMemo(() => {
@@ -2365,11 +2365,11 @@ function RlsDatatableData({ children, className, control, identifier, overflow }
2365
2365
  }, [className, overflow, control]);
2366
2366
  return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameData, children: children }));
2367
2367
  }
2368
- function RlsDatatableFloating({ children, className, identifier, invested }) {
2368
+ function RlsDatatableFloating({ children, className, identifier, invested, rlsTheme }) {
2369
2369
  const classNameFloating = require$$0.useMemo(() => {
2370
2370
  return renderClassStatus('rls-datatable__floating', { invested }, className);
2371
2371
  }, [className, invested]);
2372
- return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameFloating, children: children }));
2372
+ return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameFloating, "rls-theme": rlsTheme, children: children }));
2373
2373
  }
2374
2374
 
2375
2375
  function createObserver(options) {