@ballistix.digital/react-components 0.4.41 → 0.4.43

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/index.js CHANGED
@@ -17097,9 +17097,9 @@ var base$6 = {
17097
17097
  container: 'flex flex-col',
17098
17098
  wrapper: '-my-2 -mx-4 sm:-mx-6 lg:-mx-8',
17099
17099
  content: '',
17100
- styleWrapper: '',
17100
+ styleWrapper: 'overflow-scroll w-screen md:w-auto md:overflow-auto',
17101
17101
  table: {
17102
- container: 'min-w-full divide-y divide-gray-300',
17102
+ container: 'min-w-full divide-y divide-gray-300 ',
17103
17103
  head: {
17104
17104
  container: '',
17105
17105
  row: '',
@@ -17478,7 +17478,10 @@ var Item$1 = function (props) {
17478
17478
  return result;
17479
17479
  };
17480
17480
  var styles = handleGenerateStyle();
17481
- return (jsxRuntime.jsx(LinkComponent, __assign({ href: href, className: toClassName(styles.tab.base, isCurrent ? styles.tab.active : styles.tab.inactive), onClick: onClick }, { children: children })));
17481
+ if (href && LinkComponent) {
17482
+ return (jsxRuntime.jsx(LinkComponent, __assign({ href: href, className: toClassName(styles.tab.base, isCurrent ? styles.tab.active : styles.tab.inactive), onClick: onClick }, { children: children })));
17483
+ }
17484
+ return (jsxRuntime.jsx("div", __assign({ className: toClassName(styles.tab.base, isCurrent ? styles.tab.active : styles.tab.inactive), onClick: onClick }, { children: children })));
17482
17485
  };
17483
17486
  var View$1 = function (props) {
17484
17487
  var children = props.children;