@moontra/moonui-pro 2.26.4 → 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 +9 -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",
|
|
@@ -75167,6 +75168,8 @@ function NavbarInternal({
|
|
|
75167
75168
|
activePath,
|
|
75168
75169
|
onNavigate
|
|
75169
75170
|
}) {
|
|
75171
|
+
console.log("Navbar sections:", sections);
|
|
75172
|
+
console.log("enableCommandAI:", enableCommandAI);
|
|
75170
75173
|
const [isMobile, setIsMobile] = useState(false);
|
|
75171
75174
|
const [isOpen, setIsOpen] = useState(false);
|
|
75172
75175
|
const [isSearchOpen, setIsSearchOpen] = useState(false);
|
|
@@ -75321,7 +75324,7 @@ function NavbarInternal({
|
|
|
75321
75324
|
}
|
|
75322
75325
|
)
|
|
75323
75326
|
] }),
|
|
75324
|
-
/* @__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: [
|
|
75325
75328
|
section.items.map((item) => /* @__PURE__ */ jsx("div", { children: item.items && item.items.length > 0 ? /* @__PURE__ */ jsxs(MoonUIDropdownMenuPro, { children: [
|
|
75326
75329
|
/* @__PURE__ */ jsx(MoonUIDropdownMenuTriggerPro, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
75327
75330
|
MoonUIButtonPro,
|
|
@@ -75427,7 +75430,7 @@ function NavbarInternal({
|
|
|
75427
75430
|
}
|
|
75428
75431
|
)
|
|
75429
75432
|
] }),
|
|
75430
|
-
!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) => {
|
|
75431
75434
|
const hasChildren = item.items && item.items.length > 0;
|
|
75432
75435
|
const isActive2 = item.href === activePath;
|
|
75433
75436
|
if (hasChildren) {
|
|
@@ -75691,6 +75694,10 @@ function NavbarInternal({
|
|
|
75691
75694
|
}
|
|
75692
75695
|
),
|
|
75693
75696
|
/* @__PURE__ */ jsxs(MoonUICommandListPro, { children: [
|
|
75697
|
+
(() => {
|
|
75698
|
+
console.log("CommandList - searchValue:", searchValue, "sections:", sections);
|
|
75699
|
+
return null;
|
|
75700
|
+
})(),
|
|
75694
75701
|
/* @__PURE__ */ jsx(MoonUICommandEmptyPro, { children: enableCommandAI ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center py-6", children: [
|
|
75695
75702
|
/* @__PURE__ */ jsx(Sparkles, { className: "h-8 w-8 text-muted-foreground mb-2" }),
|
|
75696
75703
|
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "No results found" }),
|
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",
|