@moontra/moonui-pro 2.17.0 → 2.17.2

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
@@ -11487,7 +11487,7 @@ var CalendarPro = t.forwardRef(({
11487
11487
  categories = defaultCategories,
11488
11488
  views = defaultViews,
11489
11489
  defaultView,
11490
- height = "100%",
11490
+ height = "100vh",
11491
11491
  className,
11492
11492
  sidebarCollapsed: controlledSidebarCollapsed,
11493
11493
  onSidebarToggle,
@@ -12049,15 +12049,15 @@ END:VCALENDAR`;
12049
12049
  ] }, day.toISOString());
12050
12050
  }) }) });
12051
12051
  };
12052
- return /* @__PURE__ */ jsx(MoonUITooltipProviderPro, { children: /* @__PURE__ */ jsxs("div", { className: cn("flex h-full bg-background", className), style: { height }, children: [
12052
+ return /* @__PURE__ */ jsx(MoonUITooltipProviderPro, { children: /* @__PURE__ */ jsxs("div", { className: cn("flex h-full w-full bg-background", className), style: { height }, children: [
12053
12053
  /* @__PURE__ */ jsxs(
12054
12054
  motion.div,
12055
12055
  {
12056
12056
  className: cn(
12057
- "border-r bg-muted/30 flex flex-col",
12058
- sidebarCollapsed ? "w-16" : "w-80"
12057
+ "border-r bg-muted/30 flex flex-col flex-shrink-0",
12058
+ sidebarCollapsed ? "w-16" : "w-64"
12059
12059
  ),
12060
- animate: { width: sidebarCollapsed ? 64 : 320 },
12060
+ animate: { width: sidebarCollapsed ? 64 : 256 },
12061
12061
  transition: { type: "spring", stiffness: 300, damping: 30 },
12062
12062
  children: [
12063
12063
  !sidebarCollapsed && /* @__PURE__ */ jsx("div", { className: "p-4", children: /* @__PURE__ */ jsx(
@@ -12156,7 +12156,7 @@ END:VCALENDAR`;
12156
12156
  ]
12157
12157
  }
12158
12158
  ),
12159
- /* @__PURE__ */ jsxs("div", { className: "flex-1 flex flex-col overflow-hidden", children: [
12159
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 flex flex-col overflow-hidden min-w-0", children: [
12160
12160
  /* @__PURE__ */ jsxs("div", { className: "border-b p-4 flex items-center justify-between", children: [
12161
12161
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
12162
12162
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.17.0",
3
+ "version": "2.17.2",
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",
@@ -410,7 +410,7 @@ export const CalendarPro = React.forwardRef<HTMLDivElement, CalendarProProps>(({
410
410
  categories = defaultCategories,
411
411
  views = defaultViews,
412
412
  defaultView,
413
- height = '100%',
413
+ height = '100vh',
414
414
  className,
415
415
  sidebarCollapsed: controlledSidebarCollapsed,
416
416
  onSidebarToggle,
@@ -1141,14 +1141,14 @@ END:VCALENDAR`
1141
1141
 
1142
1142
  return (
1143
1143
  <TooltipProvider>
1144
- <div className={cn("flex h-full bg-background", className)} style={{ height }}>
1144
+ <div className={cn("flex h-full w-full bg-background", className)} style={{ height }}>
1145
1145
  {/* Sidebar */}
1146
1146
  <motion.div
1147
1147
  className={cn(
1148
- "border-r bg-muted/30 flex flex-col",
1149
- sidebarCollapsed ? "w-16" : "w-80"
1148
+ "border-r bg-muted/30 flex flex-col flex-shrink-0",
1149
+ sidebarCollapsed ? "w-16" : "w-64"
1150
1150
  )}
1151
- animate={{ width: sidebarCollapsed ? 64 : 320 }}
1151
+ animate={{ width: sidebarCollapsed ? 64 : 256 }}
1152
1152
  transition={{ type: "spring", stiffness: 300, damping: 30 }}
1153
1153
  >
1154
1154
  {/* Mini Calendar */}
@@ -1255,7 +1255,7 @@ END:VCALENDAR`
1255
1255
  </motion.div>
1256
1256
 
1257
1257
  {/* Main Content */}
1258
- <div className="flex-1 flex flex-col overflow-hidden">
1258
+ <div className="flex-1 flex flex-col overflow-hidden min-w-0">
1259
1259
  {/* Header */}
1260
1260
  <div className="border-b p-4 flex items-center justify-between">
1261
1261
  <div className="flex items-center gap-4">