@moontra/moonui-pro 2.26.9 → 2.26.11

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
@@ -6318,7 +6318,7 @@ var MoonUICommandDialogPro = ({
6318
6318
  }) => {
6319
6319
  return /* @__PURE__ */ jsx(MoonUIDialogPro, { ...props, children: /* @__PURE__ */ jsxs(MoonUIDialogContentPro, { className: "overflow-hidden p-0 shadow-2xl", hideCloseButton: true, children: [
6320
6320
  /* @__PURE__ */ jsx(MoonUIDialogTitlePro, { className: "sr-only", children: "AI Command Menu" }),
6321
- /* @__PURE__ */ jsx(MoonUICommandPro, { ...commandProps, children })
6321
+ /* @__PURE__ */ jsx(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", children })
6322
6322
  ] }) });
6323
6323
  };
6324
6324
  var MoonUICommandInputPro = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
@@ -75734,7 +75734,7 @@ 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) => {
75737
+ sections && sections.length > 0 && sections.map((section) => {
75738
75738
  if (!section || !section.items || section.items.length === 0)
75739
75739
  return null;
75740
75740
  const filteredItems = searchValue ? section.items.filter(
@@ -75764,7 +75764,7 @@ function NavbarInternal({
75764
75764
  },
75765
75765
  item.id
75766
75766
  )) }, section.id);
75767
- }) : null,
75767
+ }),
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.9",
3
+ "version": "2.26.11",
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",