@rolster/react-components 18.15.37 → 18.15.40

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/es/index.js CHANGED
@@ -1355,10 +1355,12 @@ if (process.env.NODE_ENV === 'production') {
1355
1355
 
1356
1356
  var jsxRuntimeExports = jsxRuntime.exports;
1357
1357
 
1358
- const baseCls = 'rls-tabular-text';
1358
+ const className = 'rls-tabular-text';
1359
1359
  const pointers = ['.', ','];
1360
1360
  function charClass(char) {
1361
- return pointers.includes(char) ? `${baseCls}__pointer` : `${baseCls}__char`;
1361
+ return pointers.includes(char)
1362
+ ? `${className}__pointer`
1363
+ : `${className}__char`;
1362
1364
  }
1363
1365
  function RlsTabularText({ value }) {
1364
1366
  return (jsxRuntimeExports.jsx("div", { className: "rls-tabular-text", children: value?.split('').map((char, index) => (jsxRuntimeExports.jsx("span", { className: charClass(char), children: char }, index))) }));
@@ -1404,7 +1406,7 @@ function RlsButton({ type, children, disabled, prefixIcon, suffixIcon, rlsTheme,
1404
1406
  }
1405
1407
 
1406
1408
  function RlsButtonAction({ icon, disabled, tooltip, onClick }) {
1407
- return (jsxRuntimeExports.jsxs("button", { className: "rls-button-action", onClick: onClick, disabled: disabled, children: [jsxRuntimeExports.jsx("div", { className: "rls-button-action__content", children: jsxRuntimeExports.jsx(RlsIcon, { value: icon }) }), tooltip && (jsxRuntimeExports.jsx("div", { className: "rls-button-action__tooltip caption-semibold", children: jsxRuntimeExports.jsx("span", { children: tooltip }) }))] }));
1409
+ return (jsxRuntimeExports.jsxs("button", { className: "rls-button-action", onClick: onClick, disabled: disabled, children: [jsxRuntimeExports.jsx("div", { className: "rls-button-action__content", children: jsxRuntimeExports.jsx(RlsIcon, { value: icon }) }), tooltip && (jsxRuntimeExports.jsx("div", { className: "rls-button-action__tooltip rls-overline-medium", children: jsxRuntimeExports.jsx("span", { children: tooltip }) }))] }));
1408
1410
  }
1409
1411
 
1410
1412
  function RlsCheckBox({ checked, disabled, onClick, rlsTheme }) {