@moontra/moonui-pro 2.26.8 → 2.26.9

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.mjs CHANGED
@@ -75734,8 +75734,8 @@ function NavbarInternal({
75734
75734
  /* @__PURE__ */ jsx("kbd", { className: "ml-auto text-xs", children: "\u2318T" })
75735
75735
  ] })
75736
75736
  ] }),
75737
- sections && sections.length > 0 && sections.map((section) => {
75738
- if (!section.items || section.items.length === 0)
75737
+ sections && sections.length > 0 ? sections.map((section) => {
75738
+ if (!section || !section.items || section.items.length === 0)
75739
75739
  return null;
75740
75740
  const filteredItems = searchValue ? section.items.filter(
75741
75741
  (item) => item.title.toLowerCase().includes(searchValue.toLowerCase()) || item.description?.toLowerCase().includes(searchValue.toLowerCase())
@@ -75764,7 +75764,7 @@ function NavbarInternal({
75764
75764
  },
75765
75765
  item.id
75766
75766
  )) }, section.id);
75767
- }),
75767
+ }) : null,
75768
75768
  enableCommandAI && userMenu?.items && /* @__PURE__ */ jsx(MoonUICommandGroupPro, { heading: "Account", children: userMenu.items.map((item) => /* @__PURE__ */ jsx(
75769
75769
  MoonUICommandItemPro,
75770
75770
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.26.8",
3
+ "version": "2.26.9",
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",