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