@rolster/react-components 18.21.10 → 18.21.12

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.
Files changed (39) hide show
  1. package/dist/cjs/assets/{index-B4R0Qgg4.css → index-D8hnIXk1.css} +0 -1
  2. package/dist/cjs/index.js +32 -32
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/es/assets/{index-B4R0Qgg4.css → index-D8hnIXk1.css} +0 -1
  5. package/dist/es/index.js +32 -32
  6. package/dist/es/index.js.map +1 -1
  7. package/dist/esm/components/atoms/Breadcrumb/Breadcrumb.css +0 -1
  8. package/dist/esm/components/atoms/Input/Input.d.ts +2 -1
  9. package/dist/esm/components/atoms/Input/Input.js +2 -2
  10. package/dist/esm/components/atoms/Input/Input.js.map +1 -1
  11. package/dist/esm/components/atoms/InputMoney/InputMoney.d.ts +1 -1
  12. package/dist/esm/components/atoms/InputMoney/InputMoney.js +2 -2
  13. package/dist/esm/components/atoms/InputMoney/InputMoney.js.map +1 -1
  14. package/dist/esm/components/atoms/InputNumber/InputNumber.d.ts +1 -1
  15. package/dist/esm/components/atoms/InputNumber/InputNumber.js +2 -2
  16. package/dist/esm/components/atoms/InputNumber/InputNumber.js.map +1 -1
  17. package/dist/esm/components/atoms/InputPassword/InputPassword.d.ts +2 -1
  18. package/dist/esm/components/atoms/InputPassword/InputPassword.js +2 -2
  19. package/dist/esm/components/atoms/InputPassword/InputPassword.js.map +1 -1
  20. package/dist/esm/components/atoms/InputText/InputText.d.ts +1 -1
  21. package/dist/esm/components/atoms/InputText/InputText.js +2 -2
  22. package/dist/esm/components/atoms/InputText/InputText.js.map +1 -1
  23. package/dist/esm/components/molecules/FieldMoney/FieldMoney.d.ts +1 -1
  24. package/dist/esm/components/molecules/FieldMoney/FieldMoney.js +2 -2
  25. package/dist/esm/components/molecules/FieldMoney/FieldMoney.js.map +1 -1
  26. package/dist/esm/components/molecules/FieldNumber/FieldNumber.d.ts +1 -1
  27. package/dist/esm/components/molecules/FieldNumber/FieldNumber.js +2 -2
  28. package/dist/esm/components/molecules/FieldNumber/FieldNumber.js.map +1 -1
  29. package/dist/esm/components/molecules/FieldPassword/FieldPassword.d.ts +2 -1
  30. package/dist/esm/components/molecules/FieldPassword/FieldPassword.js +2 -2
  31. package/dist/esm/components/molecules/FieldPassword/FieldPassword.js.map +1 -1
  32. package/dist/esm/components/molecules/FieldText/FieldText.d.ts +1 -1
  33. package/dist/esm/components/molecules/FieldText/FieldText.js +2 -2
  34. package/dist/esm/components/molecules/FieldText/FieldText.js.map +1 -1
  35. package/dist/esm/components/organisms/Datatable/Datatable.d.ts +7 -7
  36. package/dist/esm/components/organisms/Datatable/Datatable.js +14 -14
  37. package/dist/esm/components/organisms/Datatable/Datatable.js.map +1 -1
  38. package/dist/esm/components/types.d.ts +1 -0
  39. package/package.json +1 -1
@@ -96,7 +96,6 @@
96
96
  display: block;
97
97
  height: inherit;
98
98
  line-height: inherit;
99
- cursor: pointer;
100
99
  font-weight: inherit;
101
100
  color: inherit;
102
101
  font-size: var(--rls-body-font-size);
package/dist/es/index.js CHANGED
@@ -1537,7 +1537,7 @@ function RlsCheckBoxControl({ formControl, disabled, identifier, rlsTheme }) {
1537
1537
  return (jsxRuntimeExports.jsx(RlsCheckBox, { identifier: identifier, checked: !!formControl.value, disabled: disabled, onClick: onClick, rlsTheme: rlsTheme }));
1538
1538
  }
1539
1539
 
1540
- function RlsInput({ children, disabled, formControl, identifier, onValue, placeholder, type, value }) {
1540
+ function RlsInput({ children, disabled, formControl, identifier, onValue, placeholder, readOnly, type, value }) {
1541
1541
  const valueInitial = formControl?.value ?? value ? String(value) : '';
1542
1542
  const [valueInput, setValueInput] = useState(valueInitial);
1543
1543
  const [focused, setFocused] = useState(false);
@@ -1566,28 +1566,28 @@ function RlsInput({ children, disabled, formControl, identifier, onValue, placeh
1566
1566
  focused: formControl?.focused ?? focused
1567
1567
  });
1568
1568
  }, [formControl?.focused, formControl?.disabled, focused, disabled]);
1569
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, children: [jsxRuntimeExports.jsx("input", { ref: formControl?.elementRef, className: "rls-input__component", autoComplete: "off", type: type ?? 'text', placeholder: placeholder, disabled: formControl?.disabled || disabled, onFocus: onFocus, onBlur: onBlur, onChange: onChange, value: valueInput }), jsxRuntimeExports.jsx("span", { className: "rls-input__value", children: children })] }));
1569
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, children: [jsxRuntimeExports.jsx("input", { ref: formControl?.elementRef, className: "rls-input__component", autoComplete: "off", type: type ?? 'text', placeholder: placeholder, disabled: formControl?.disabled || disabled, readOnly: readOnly, onFocus: onFocus, onBlur: onBlur, onChange: onChange, value: valueInput }), jsxRuntimeExports.jsx("span", { className: "rls-input__value", children: children })] }));
1570
1570
  }
1571
1571
 
1572
- function RlsInputMoney({ decimals, disabled, formControl, identifier, onValue, placeholder, symbol, value }) {
1572
+ function RlsInputMoney({ decimals, disabled, formControl, identifier, onValue, placeholder, readOnly, symbol, value }) {
1573
1573
  const [valueInput, setValueInput] = useState(formControl?.value ?? value ?? 0);
1574
1574
  const onValueInput = useCallback((value) => {
1575
1575
  !formControl && setValueInput(value);
1576
1576
  onValue && onValue(value);
1577
1577
  }, [formControl, onValue]);
1578
- return (jsxRuntimeExports.jsx("div", { id: identifier, className: "rls-input-money", children: jsxRuntimeExports.jsx(RlsInput, { formControl: formControl, type: "number", value: valueInput, disabled: disabled, placeholder: placeholder, onValue: onValueInput, children: jsxRuntimeExports.jsx(RlsAmount, { value: formControl?.value ?? valueInput, symbol: symbol, decimals: decimals }) }) }));
1578
+ return (jsxRuntimeExports.jsx("div", { id: identifier, className: "rls-input-money", children: jsxRuntimeExports.jsx(RlsInput, { formControl: formControl, type: "number", value: valueInput, disabled: disabled, readOnly: readOnly, placeholder: placeholder, onValue: onValueInput, children: jsxRuntimeExports.jsx(RlsAmount, { value: formControl?.value ?? valueInput, symbol: symbol, decimals: decimals }) }) }));
1579
1579
  }
1580
1580
 
1581
- function RlsInputNumber({ disabled, formControl, identifier, onValue, placeholder, value }) {
1581
+ function RlsInputNumber({ disabled, formControl, identifier, onValue, placeholder, readOnly, value }) {
1582
1582
  const [valueInput, setValueInput] = useState(formControl?.value ?? value ?? 0);
1583
1583
  const onValueInput = useCallback((value) => {
1584
1584
  !formControl && setValueInput(value);
1585
1585
  onValue && onValue(value);
1586
1586
  }, [formControl, onValue]);
1587
- return (jsxRuntimeExports.jsx("div", { id: identifier, className: "rls-input-number", children: jsxRuntimeExports.jsx(RlsInput, { formControl: formControl, type: "number", value: valueInput, disabled: disabled, placeholder: placeholder, onValue: onValueInput, children: formControl?.value ?? valueInput }) }));
1587
+ return (jsxRuntimeExports.jsx("div", { id: identifier, className: "rls-input-number", children: jsxRuntimeExports.jsx(RlsInput, { formControl: formControl, type: "number", value: valueInput, disabled: disabled, readOnly: readOnly, placeholder: placeholder, onValue: onValueInput, children: formControl?.value ?? valueInput }) }));
1588
1588
  }
1589
1589
 
1590
- function RlsInputPassword({ disabled, formControl, identifier, onValue, placeholder, type }) {
1590
+ function RlsInputPassword({ disabled, formControl, identifier, onValue, placeholder, readOnly, type }) {
1591
1591
  const [focused, setFocused] = useState(false);
1592
1592
  const onChange = useCallback((event) => {
1593
1593
  formControl?.setValue(event.target.value);
@@ -1607,7 +1607,7 @@ function RlsInputPassword({ disabled, formControl, identifier, onValue, placehol
1607
1607
  focused: formControl?.focused ?? focused
1608
1608
  });
1609
1609
  }, [formControl?.focused, formControl?.disabled, focused, disabled]);
1610
- return (jsxRuntimeExports.jsx("div", { id: identifier, className: className, children: jsxRuntimeExports.jsx("input", { className: "rls-input-password__component", autoComplete: "off", type: type ?? 'password', placeholder: placeholder, disabled: disabled, onFocus: onFocus, onBlur: onBlur, onChange: onChange }) }));
1610
+ return (jsxRuntimeExports.jsx("div", { id: identifier, className: className, children: jsxRuntimeExports.jsx("input", { className: "rls-input-password__component", autoComplete: "off", type: type ?? 'password', placeholder: placeholder, disabled: disabled, readOnly: readOnly, onFocus: onFocus, onBlur: onBlur, onChange: onChange }) }));
1611
1611
  }
1612
1612
 
1613
1613
  function RlsInputSearch({ formControl, identifier, onSearch, placeholder }) {
@@ -1618,13 +1618,13 @@ function RlsInputSearch({ formControl, identifier, onSearch, placeholder }) {
1618
1618
  return (jsxRuntimeExports.jsxs("div", { id: identifier, className: "rls-input-search", children: [jsxRuntimeExports.jsx(RlsInput, { formControl: formControl, placeholder: placeholder, onValue: onValue, children: formControl?.value ?? value }), onSearch && jsxRuntimeExports.jsx(RlsButtonAction, { icon: "search", onClick: onSearch })] }));
1619
1619
  }
1620
1620
 
1621
- function RlsInputText({ disabled, formControl, identifier, onValue, placeholder, value }) {
1621
+ function RlsInputText({ disabled, formControl, identifier, onValue, placeholder, readOnly, value }) {
1622
1622
  const [valueInput, setValueInput] = useState(formControl?.value ?? value ?? '');
1623
1623
  const onValueInput = useCallback((value) => {
1624
1624
  !formControl && setValueInput(value);
1625
1625
  onValue && onValue(value);
1626
1626
  }, [formControl, onValue]);
1627
- return (jsxRuntimeExports.jsx("div", { id: identifier, className: "rls-input-text", children: jsxRuntimeExports.jsx(RlsInput, { formControl: formControl, type: "text", value: valueInput, disabled: disabled, placeholder: placeholder, onValue: onValueInput, children: formControl?.value ?? valueInput }) }));
1627
+ return (jsxRuntimeExports.jsx("div", { id: identifier, className: "rls-input-text", children: jsxRuntimeExports.jsx(RlsInput, { formControl: formControl, type: "text", value: valueInput, disabled: disabled, readOnly: readOnly, placeholder: placeholder, onValue: onValueInput, children: formControl?.value ?? valueInput }) }));
1628
1628
  }
1629
1629
 
1630
1630
  function RlsLabel({ children, rlsTheme }) {
@@ -1751,7 +1751,7 @@ function RlsMessageFormError({ className, formControl }) {
1751
1751
  return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: formControl?.wrong && (jsxRuntimeExports.jsx("div", { className: className, children: jsxRuntimeExports.jsx(RlsMessageIcon, { icon: "alert-triangle", rlsTheme: "danger", children: msgError }) })) }));
1752
1752
  }
1753
1753
 
1754
- function RlsFieldMoney({ children, decimals, disabled, formControl, identifier, msgErrorDisabled, onValue, placeholder, symbol, rlsTheme, value }) {
1754
+ function RlsFieldMoney({ children, decimals, disabled, formControl, identifier, msgErrorDisabled, onValue, placeholder, readOnly, rlsTheme, symbol, value }) {
1755
1755
  const className = useMemo(() => {
1756
1756
  const _disabled = formControl?.disabled || disabled;
1757
1757
  return renderClassStatus('rls-field-box', {
@@ -1765,10 +1765,10 @@ function RlsFieldMoney({ children, decimals, disabled, formControl, identifier,
1765
1765
  formControl?.disabled,
1766
1766
  disabled
1767
1767
  ]);
1768
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputMoney, { formControl: formControl, value: value, disabled: disabled, placeholder: placeholder, symbol: symbol, decimals: decimals, onValue: onValue }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1768
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputMoney, { formControl: formControl, value: value, disabled: disabled, readOnly: readOnly, placeholder: placeholder, symbol: symbol, decimals: decimals, onValue: onValue }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1769
1769
  }
1770
1770
 
1771
- function RlsFieldNumber({ children, disabled, formControl, identifier, msgErrorDisabled, onValue, placeholder, rlsTheme, value }) {
1771
+ function RlsFieldNumber({ children, disabled, formControl, identifier, msgErrorDisabled, onValue, placeholder, readOnly, rlsTheme, value }) {
1772
1772
  const className = useMemo(() => {
1773
1773
  const _disabled = formControl?.disabled || disabled;
1774
1774
  return renderClassStatus('rls-field-box', {
@@ -1782,10 +1782,10 @@ function RlsFieldNumber({ children, disabled, formControl, identifier, msgErrorD
1782
1782
  formControl?.disabled,
1783
1783
  disabled
1784
1784
  ]);
1785
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputNumber, { formControl: formControl, value: value, disabled: disabled, placeholder: placeholder, onValue: onValue }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1785
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputNumber, { formControl: formControl, value: value, disabled: disabled, readOnly: readOnly, placeholder: placeholder, onValue: onValue }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1786
1786
  }
1787
1787
 
1788
- function RlsFieldPassword({ children, disabled, formControl, identifier, msgErrorDisabled, placeholder, rlsTheme }) {
1788
+ function RlsFieldPassword({ children, disabled, formControl, identifier, msgErrorDisabled, placeholder, readOnly, rlsTheme }) {
1789
1789
  const [password, setPassword] = useState(true);
1790
1790
  const onToggleInput = useCallback(() => {
1791
1791
  setPassword((password) => !password);
@@ -1803,10 +1803,10 @@ function RlsFieldPassword({ children, disabled, formControl, identifier, msgErro
1803
1803
  formControl?.disabled,
1804
1804
  disabled
1805
1805
  ]);
1806
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx(RlsInputPassword, { formControl: formControl, disabled: disabled, placeholder: placeholder, type: password ? 'password' : 'text' }), jsxRuntimeExports.jsx(RlsButtonAction, { icon: password ? 'eye' : 'eye-off', onClick: onToggleInput })] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1806
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsxs("div", { className: "rls-field-box__body", children: [jsxRuntimeExports.jsx(RlsInputPassword, { formControl: formControl, disabled: disabled, readOnly: readOnly, placeholder: placeholder, type: password ? 'password' : 'text' }), jsxRuntimeExports.jsx(RlsButtonAction, { icon: password ? 'eye' : 'eye-off', onClick: onToggleInput })] }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1807
1807
  }
1808
1808
 
1809
- function RlsFieldText({ children, disabled, formControl, identifier, msgErrorDisabled, onValue, placeholder, rlsTheme, value }) {
1809
+ function RlsFieldText({ children, disabled, formControl, identifier, msgErrorDisabled, onValue, placeholder, readOnly, rlsTheme, value }) {
1810
1810
  const className = useMemo(() => {
1811
1811
  const _disabled = formControl?.disabled || disabled;
1812
1812
  return renderClassStatus('rls-field-box', {
@@ -1820,7 +1820,7 @@ function RlsFieldText({ children, disabled, formControl, identifier, msgErrorDis
1820
1820
  formControl?.disabled,
1821
1821
  disabled
1822
1822
  ]);
1823
- return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputText, { formControl: formControl, value: value, disabled: disabled, placeholder: placeholder, onValue: onValue }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1823
+ return (jsxRuntimeExports.jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && jsxRuntimeExports.jsx("label", { className: "rls-field-box__label", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-field-box__component", children: jsxRuntimeExports.jsx("div", { className: "rls-field-box__body", children: jsxRuntimeExports.jsx(RlsInputText, { formControl: formControl, value: value, disabled: disabled, readOnly: readOnly, placeholder: placeholder, onValue: onValue }) }) }), !msgErrorDisabled && (jsxRuntimeExports.jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
1824
1824
  }
1825
1825
 
1826
1826
  function RlsLabelCheckBox({ children, disabled, extended, identifier, formControl, rlsTheme }) {
@@ -2324,38 +2324,38 @@ function RlsDatatable({ children, datatable, footer, header, identifier, rlsThem
2324
2324
  }, [datatable]);
2325
2325
  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 })] }));
2326
2326
  }
2327
- function RlsDatatableHeader({ children, identifier }) {
2328
- return (jsxRuntimeExports.jsx("tr", { id: identifier, className: "rls-datatable__header", children: children }));
2327
+ function RlsDatatableHeader({ children, identifier, rlsTheme }) {
2328
+ return (jsxRuntimeExports.jsx("tr", { id: identifier, className: "rls-datatable__header", "rls-theme": rlsTheme, children: children }));
2329
2329
  }
2330
- function RlsDatatableTitle({ children, className, control, identifier }) {
2330
+ function RlsDatatableTitle({ children, className, control, identifier, rlsTheme }) {
2331
2331
  const classNameTitle = useMemo(() => {
2332
2332
  return renderClassStatus('rls-datatable__title', { control }, className);
2333
2333
  }, [className, control]);
2334
- return (jsxRuntimeExports.jsx("th", { id: identifier, className: classNameTitle, children: children }));
2334
+ return (jsxRuntimeExports.jsx("th", { id: identifier, className: classNameTitle, "rls-theme": rlsTheme, children: children }));
2335
2335
  }
2336
- function RlsDatatableSubheader({ children, className, identifier }) {
2336
+ function RlsDatatableSubheader({ children, className, identifier, rlsTheme }) {
2337
2337
  const classNameSubheader = useMemo(() => {
2338
2338
  return renderClassStatus('rls-datatable__subheader', {}, className);
2339
2339
  }, [className]);
2340
- return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameSubheader, children: children }));
2340
+ return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameSubheader, "rls-theme": rlsTheme, children: children }));
2341
2341
  }
2342
- function RlsDatatableRecord({ children, className, error, identifier, info, overflow, successs, warning }) {
2342
+ function RlsDatatableRecord({ children, className, error, identifier, info, overflow, successs, warning, rlsTheme }) {
2343
2343
  const classNameRecord = useMemo(() => {
2344
2344
  return renderClassStatus('rls-datatable__record', { error, info, overflow, successs, warning }, className);
2345
2345
  }, [className, error, info, overflow, successs, warning]);
2346
- return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameRecord, children: children }));
2346
+ return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameRecord, "rls-theme": rlsTheme, children: children }));
2347
2347
  }
2348
- function RlsDatatableTotals({ children, className, error, identifier, info, overflow, successs, warning }) {
2348
+ function RlsDatatableTotals({ children, className, error, identifier, info, overflow, successs, warning, rlsTheme }) {
2349
2349
  const classNameTotals = useMemo(() => {
2350
2350
  return renderClassStatus('rls-datatable__totals', { error, info, overflow, successs, warning }, className);
2351
2351
  }, [className, error, info, overflow, successs, warning]);
2352
- return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameTotals, children: children }));
2352
+ return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameTotals, "rls-theme": rlsTheme, children: children }));
2353
2353
  }
2354
- function RlsDatatableCell({ children, className, control, identifier, overflow }) {
2354
+ function RlsDatatableCell({ children, className, control, identifier, overflow, rlsTheme }) {
2355
2355
  const classNameCell = useMemo(() => {
2356
2356
  return renderClassStatus('rls-datatable__cell', { control, overflow }, className);
2357
2357
  }, [className, control, overflow]);
2358
- return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameCell, children: children }));
2358
+ return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameCell, "rls-theme": rlsTheme, children: children }));
2359
2359
  }
2360
2360
  function RlsDatatableData({ children, className, control, identifier, overflow }) {
2361
2361
  const classNameData = useMemo(() => {
@@ -2363,11 +2363,11 @@ function RlsDatatableData({ children, className, control, identifier, overflow }
2363
2363
  }, [className, overflow, control]);
2364
2364
  return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameData, children: children }));
2365
2365
  }
2366
- function RlsDatatableFloating({ children, className, identifier, invested }) {
2366
+ function RlsDatatableFloating({ children, className, identifier, invested, rlsTheme }) {
2367
2367
  const classNameFloating = useMemo(() => {
2368
2368
  return renderClassStatus('rls-datatable__floating', { invested }, className);
2369
2369
  }, [className, invested]);
2370
- return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameFloating, children: children }));
2370
+ return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameFloating, "rls-theme": rlsTheme, children: children }));
2371
2371
  }
2372
2372
 
2373
2373
  function createObserver(options) {