@moontra/moonui-pro 2.26.5 → 2.26.6
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.d.ts +1 -0
- package/dist/index.global.js +50 -50
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -75150,6 +75150,7 @@ function NavbarInternal({
|
|
|
75150
75150
|
glassmorphism = false,
|
|
75151
75151
|
animatedBackground = false,
|
|
75152
75152
|
keyboardShortcuts = true,
|
|
75153
|
+
hideNavItems = false,
|
|
75153
75154
|
mobileBreakpoint = 768,
|
|
75154
75155
|
customStyles,
|
|
75155
75156
|
variant = "default",
|
|
@@ -75323,7 +75324,7 @@ function NavbarInternal({
|
|
|
75323
75324
|
}
|
|
75324
75325
|
)
|
|
75325
75326
|
] }),
|
|
75326
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto p-4", children: sections.map((section) => /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
75327
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto p-4", children: !hideNavItems && sections.map((section) => /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
75327
75328
|
section.items.map((item) => /* @__PURE__ */ jsx("div", { children: item.items && item.items.length > 0 ? /* @__PURE__ */ jsxs(MoonUIDropdownMenuPro, { children: [
|
|
75328
75329
|
/* @__PURE__ */ jsx(MoonUIDropdownMenuTriggerPro, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
75329
75330
|
MoonUIButtonPro,
|
|
@@ -75429,7 +75430,7 @@ function NavbarInternal({
|
|
|
75429
75430
|
}
|
|
75430
75431
|
)
|
|
75431
75432
|
] }),
|
|
75432
|
-
!isMobile && /* @__PURE__ */ jsx(NavigationMenu2, { className: "hidden md:flex", children: /* @__PURE__ */ jsx(NavigationMenuList2, { children: sections.map((section) => /* @__PURE__ */ jsx(t__default.Fragment, { children: section.items.map((item) => {
|
|
75433
|
+
!isMobile && !hideNavItems && /* @__PURE__ */ jsx(NavigationMenu2, { className: "hidden md:flex", children: /* @__PURE__ */ jsx(NavigationMenuList2, { children: sections.map((section) => /* @__PURE__ */ jsx(t__default.Fragment, { children: section.items.map((item) => {
|
|
75433
75434
|
const hasChildren = item.items && item.items.length > 0;
|
|
75434
75435
|
const isActive2 = item.href === activePath;
|
|
75435
75436
|
if (hasChildren) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.26.
|
|
3
|
+
"version": "2.26.6",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|