@moontra/moonui-pro 3.3.22 → 3.3.24

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
@@ -79191,14 +79191,18 @@ function NavbarInternal({
79191
79191
  }
79192
79192
  };
79193
79193
  const navClasses = cn(
79194
- "moonui-pro w-full transition-all duration-300 ease-in-out",
79194
+ "moonui-pro transition-all duration-300 ease-in-out",
79195
+ // w-full sadece floating-centered overlay olmadığında
79196
+ !(variant === "floating-centered" && overlayMode) && "w-full",
79195
79197
  // Base variant styles
79196
79198
  variant === "default" && "border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60",
79197
79199
  variant === "floating" && "mx-4 mt-4 rounded-lg border bg-background/95 backdrop-blur shadow-lg",
79198
79200
  variant === "floating-centered" && cn(
79199
79201
  "mx-auto rounded-2xl border border-border/40 bg-background/70 backdrop-blur-xl shadow-lg shadow-black/5 dark:shadow-black/20 px-6",
79200
- // Overlay mode kontrolü - absolute veya margin
79201
- overlayMode ? "absolute top-4 left-1/2 -translate-x-1/2 z-50" : "my-4",
79202
+ // Overlay mode: content üstüne çık (centering + spacing)
79203
+ overlayMode && "left-1/2 -translate-x-1/2 top-4",
79204
+ // Normal mode: content'i it (sadece sticky değilse margin ekle)
79205
+ !overlayMode && !sticky && "my-4",
79202
79206
  // Dynamic max-width based on containerMaxWidth prop
79203
79207
  containerMaxWidth === "3xl" && "max-w-3xl",
79204
79208
  containerMaxWidth === "4xl" && "max-w-4xl",
@@ -79211,9 +79215,11 @@ function NavbarInternal({
79211
79215
  ),
79212
79216
  variant === "minimal" && "bg-background",
79213
79217
  variant === "transparent" && "bg-transparent",
79214
- // Positioning - overlay mode takes precedence over sticky
79215
- overlayMode && "absolute",
79216
- sticky && !overlayMode && "sticky top-0 z-50",
79218
+ // Positioning - sticky ve overlay bağımsız çalışır
79219
+ sticky && "sticky z-50",
79220
+ !sticky && overlayMode && "absolute",
79221
+ sticky && !overlayMode && "top-0",
79222
+ // normal sticky için top-0 (floating-centered zaten top-4 ekler)
79217
79223
  // Scroll states
79218
79224
  scrolled && sticky && variant !== "transparent" && "shadow-sm",
79219
79225
  scrolled && variant === "transparent" && "bg-background/95 backdrop-blur border-b",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "3.3.22",
3
+ "version": "3.3.24",
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",