@moontra/moonui-pro 2.5.1 → 2.5.3

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
@@ -56570,7 +56570,7 @@ function Sidebar({
56570
56570
  (section) => section.items.filter((item) => pinnedItems.includes(item.id))
56571
56571
  ).map((item) => renderItem(item)) })
56572
56572
  ] }),
56573
- /* @__PURE__ */ jsx(ScrollArea, { className: "flex-1", children: /* @__PURE__ */ jsx("div", { className: "p-4 space-y-6", children: sections.map((section, index) => {
56573
+ /* @__PURE__ */ jsx(ScrollArea, { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsx("div", { className: "p-4 space-y-6", children: sections.map((section, index) => {
56574
56574
  const filteredItems = filterItems(section.items, searchQuery);
56575
56575
  if (filteredItems.length === 0)
56576
56576
  return null;
@@ -56609,7 +56609,7 @@ function Sidebar({
56609
56609
  ] })
56610
56610
  ] });
56611
56611
  const sidebarClasses = cn(
56612
- "flex h-screen flex-col bg-background border-r sticky top-0",
56612
+ "flex h-full flex-col bg-background border-r",
56613
56613
  glassmorphism && "bg-background/80 backdrop-blur-xl border-white/10",
56614
56614
  collapsed && !isMobile && "w-16",
56615
56615
  !collapsed && !isMobile && "w-64",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
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",
@@ -454,7 +454,7 @@ export function Sidebar({
454
454
  )}
455
455
 
456
456
  {/* Main Content */}
457
- <ScrollArea className="flex-1">
457
+ <ScrollArea className="flex-1 overflow-y-auto">
458
458
  <div className="p-4 space-y-6">
459
459
  {sections.map((section, index) => {
460
460
  const filteredItems = filterItems(section.items, searchQuery)
@@ -520,7 +520,7 @@ export function Sidebar({
520
520
  )
521
521
 
522
522
  const sidebarClasses = cn(
523
- "flex h-screen flex-col bg-background border-r sticky top-0",
523
+ "flex h-full flex-col bg-background border-r",
524
524
  glassmorphism && "bg-background/80 backdrop-blur-xl border-white/10",
525
525
  collapsed && !isMobile && "w-16",
526
526
  !collapsed && !isMobile && "w-64",