@rolster/react-components 19.13.0 → 19.14.0

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.mjs CHANGED
@@ -1602,7 +1602,7 @@ function RlsTab({ disabled, onSelect, tab, value }) {
1602
1602
  onSelect(tab.value);
1603
1603
  }
1604
1604
  }, [disabled, tab.disabled, onSelect]);
1605
- return (jsxRuntimeExports.jsx("div", { className: className, onClick: onClick, children: jsxRuntimeExports.jsx("span", { children: tab.label }) }));
1605
+ return (jsxRuntimeExports.jsxs("div", { className: className, onClick: onClick, children: [jsxRuntimeExports.jsx("span", { children: tab.label }), tab.badge && (jsxRuntimeExports.jsx(RlsBadge, { rlsTheme: tab.badge.rlsTheme, contrasted: tab.badge.contrasted, children: tab.badge.label }))] }));
1606
1606
  }
1607
1607
  function RlsTabsComponent({ tabs, formControl, rlsSize, onValue, value, rlsTheme }) {
1608
1608
  const [valueInternal, setValueInternal] = useState();