@moontra/moonui-pro 3.4.22 → 3.4.23

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
@@ -79321,70 +79321,73 @@ function NavbarInternal({
79321
79321
  }) });
79322
79322
  const MobileMenu = () => /* @__PURE__ */ jsxs(Sheet, { open: isOpen, onOpenChange: setIsOpen, children: [
79323
79323
  /* @__PURE__ */ jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsx(MoonUIButtonPro, { variant: "ghost", size: "icon", className: "lg:hidden", children: /* @__PURE__ */ jsx(Menu, { className: "h-5 w-5" }) }) }),
79324
- /* @__PURE__ */ jsx(SheetContent, { side: mobileMenuPosition, className: "w-80 p-0", children: /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col", children: [
79325
- /* @__PURE__ */ jsx("div", { className: "flex items-center p-4 border-b", children: branding && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
79326
- getActiveLogo(),
79327
- branding.title && /* @__PURE__ */ jsx("span", { className: "font-semibold text-lg", children: branding.title })
79328
- ] }) }),
79329
- /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto p-4", children: !hideNavItems && sections.map((section) => /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
79330
- section.items.map((item) => /* @__PURE__ */ jsx("div", { children: item.items && item.items.length > 0 ? /* @__PURE__ */ jsxs(MoonUIDropdownMenuPro, { children: [
79331
- /* @__PURE__ */ jsx(
79332
- MoonUIDropdownMenuTriggerPro,
79333
- {
79334
- asChild: true,
79335
- children: /* @__PURE__ */ jsxs(
79336
- MoonUIButtonPro,
79337
- {
79338
- variant: "ghost",
79339
- className: "w-full justify-between",
79340
- disabled: item.disabled,
79341
- children: [
79342
- /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2", children: [
79343
- item.icon && /* @__PURE__ */ jsx("span", { children: item.icon }),
79344
- item.title
79345
- ] }),
79346
- /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
79347
- ]
79348
- }
79349
- )
79350
- }
79351
- ),
79352
- /* @__PURE__ */ jsx(
79353
- MoonUIDropdownMenuContentPro,
79324
+ /* @__PURE__ */ jsxs(SheetContent, { side: mobileMenuPosition, className: "w-80 p-0", children: [
79325
+ /* @__PURE__ */ jsx(SheetTitle, { className: "sr-only", children: "Navigation Menu" }),
79326
+ /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col", children: [
79327
+ /* @__PURE__ */ jsx("div", { className: "flex items-center p-4 border-b", children: branding && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
79328
+ getActiveLogo(),
79329
+ branding.title && /* @__PURE__ */ jsx("span", { className: "font-semibold text-lg", children: branding.title })
79330
+ ] }) }),
79331
+ /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto p-4", children: !hideNavItems && sections.map((section) => /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
79332
+ section.items.map((item) => /* @__PURE__ */ jsx("div", { children: item.items && item.items.length > 0 ? /* @__PURE__ */ jsxs(MoonUIDropdownMenuPro, { children: [
79333
+ /* @__PURE__ */ jsx(
79334
+ MoonUIDropdownMenuTriggerPro,
79335
+ {
79336
+ asChild: true,
79337
+ children: /* @__PURE__ */ jsxs(
79338
+ MoonUIButtonPro,
79339
+ {
79340
+ variant: "ghost",
79341
+ className: "w-full justify-between",
79342
+ disabled: item.disabled,
79343
+ children: [
79344
+ /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2", children: [
79345
+ item.icon && /* @__PURE__ */ jsx("span", { children: item.icon }),
79346
+ item.title
79347
+ ] }),
79348
+ /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
79349
+ ]
79350
+ }
79351
+ )
79352
+ }
79353
+ ),
79354
+ /* @__PURE__ */ jsx(
79355
+ MoonUIDropdownMenuContentPro,
79356
+ {
79357
+ align: "start",
79358
+ className: "w-56",
79359
+ children: item.items && renderDropdownMenu(
79360
+ item.items
79361
+ )
79362
+ }
79363
+ )
79364
+ ] }) : /* @__PURE__ */ jsxs(
79365
+ MoonUIButtonPro,
79354
79366
  {
79355
- align: "start",
79356
- className: "w-56",
79357
- children: item.items && renderDropdownMenu(
79358
- item.items
79359
- )
79367
+ variant: "ghost",
79368
+ className: "w-full justify-start",
79369
+ disabled: item.disabled,
79370
+ onClick: () => handleItemClick(item),
79371
+ children: [
79372
+ /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2", children: [
79373
+ item.icon && /* @__PURE__ */ jsx("span", { children: item.icon }),
79374
+ item.title
79375
+ ] }),
79376
+ item.badge && /* @__PURE__ */ jsx(
79377
+ MoonUIBadgePro,
79378
+ {
79379
+ variant: item.badgeVariant || "secondary",
79380
+ className: "ml-auto",
79381
+ children: item.badge
79382
+ }
79383
+ )
79384
+ ]
79360
79385
  }
79361
- )
79362
- ] }) : /* @__PURE__ */ jsxs(
79363
- MoonUIButtonPro,
79364
- {
79365
- variant: "ghost",
79366
- className: "w-full justify-start",
79367
- disabled: item.disabled,
79368
- onClick: () => handleItemClick(item),
79369
- children: [
79370
- /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2", children: [
79371
- item.icon && /* @__PURE__ */ jsx("span", { children: item.icon }),
79372
- item.title
79373
- ] }),
79374
- item.badge && /* @__PURE__ */ jsx(
79375
- MoonUIBadgePro,
79376
- {
79377
- variant: item.badgeVariant || "secondary",
79378
- className: "ml-auto",
79379
- children: item.badge
79380
- }
79381
- )
79382
- ]
79383
- }
79384
- ) }, item.id)),
79385
- /* @__PURE__ */ jsx(MoonUISeparatorPro, { className: "my-2" })
79386
- ] }, section.id)) })
79387
- ] }) })
79386
+ ) }, item.id)),
79387
+ /* @__PURE__ */ jsx(MoonUISeparatorPro, { className: "my-2" })
79388
+ ] }, section.id)) })
79389
+ ] })
79390
+ ] })
79388
79391
  ] });
79389
79392
  const getHeight = (scrolled2 = false) => {
79390
79393
  switch (size4) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "3.4.22",
3
+ "version": "3.4.23",
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",