@algorithm-shift/design-system 1.2.78 → 1.2.79
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29450,7 +29450,7 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode, isBuil
|
|
|
29450
29450
|
align: "start",
|
|
29451
29451
|
sideOffset: 6,
|
|
29452
29452
|
className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
|
|
29453
|
-
children: tab.children.map((item) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
29453
|
+
children: tab.children.map((item, index2) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
29454
29454
|
DropdownMenuItem,
|
|
29455
29455
|
{
|
|
29456
29456
|
asChild: true,
|
|
@@ -29465,7 +29465,7 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode, isBuil
|
|
|
29465
29465
|
}
|
|
29466
29466
|
)
|
|
29467
29467
|
},
|
|
29468
|
-
item.id
|
|
29468
|
+
item.id || index2
|
|
29469
29469
|
))
|
|
29470
29470
|
}
|
|
29471
29471
|
)
|
|
@@ -29500,14 +29500,14 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode, isBuil
|
|
|
29500
29500
|
if (hasChildren) {
|
|
29501
29501
|
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(DropdownMenuSub, { children: [
|
|
29502
29502
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DropdownMenuSubTrigger, { className: "flex items-center justify-between cursor-pointer rounded-sm px-3 py-2 text-[13px] text-foreground hover:text-foreground", children: tab.header }),
|
|
29503
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DropdownMenuSubContent, { className: "bg-white border shadow-lg rounded-md p-1", children: tab.children.map((item) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
29503
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DropdownMenuSubContent, { className: "bg-white border shadow-lg rounded-md p-1", children: tab.children.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
29504
29504
|
DropdownMenuItem,
|
|
29505
29505
|
{
|
|
29506
29506
|
asChild: true,
|
|
29507
29507
|
className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100",
|
|
29508
29508
|
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_link5.default, { href: item.url || "#", onClick: (e) => handleBuilderExit(e, item.url || "#"), children: item.header })
|
|
29509
29509
|
},
|
|
29510
|
-
item.id
|
|
29510
|
+
item.id || index
|
|
29511
29511
|
)) })
|
|
29512
29512
|
] }, i);
|
|
29513
29513
|
}
|