@abdellatifui/react 3.2.83 → 3.2.85

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 (2) hide show
  1. package/dist/nextgen.js +2 -2
  2. package/package.json +1 -1
package/dist/nextgen.js CHANGED
@@ -28566,11 +28566,11 @@ const ShadcnTabs = forwardRef((props, ref) => {
28566
28566
  ]
28567
28567
  }
28568
28568
  ) }),
28569
- body && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn(
28569
+ body && _tabs?.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn(
28570
28570
  "w-full h-full relative",
28571
28571
  theme === "modern" ? "border border-gray-200/60 rounded-md bg-white/50 backdrop-blur-sm p-4 mt-3 shadow-sm" : "border-solid border border-gray-200 p-1 my-1 rounded bg-[#fafafa]",
28572
28572
  bodyClassName
28573
- ), children: _tabs.map((tab) => {
28573
+ ), children: _tabs?.map?.((tab) => {
28574
28574
  const id2 = useRandomId();
28575
28575
  tab.tabs = _tabs;
28576
28576
  tab.props = props;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.2.83",
4
+ "version": "3.2.85",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [