@moontra/moonui-pro 3.3.22 → 3.3.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
@@ -79197,8 +79197,10 @@ function NavbarInternal({
79197
79197
  variant === "floating" && "mx-4 mt-4 rounded-lg border bg-background/95 backdrop-blur shadow-lg",
79198
79198
  variant === "floating-centered" && cn(
79199
79199
  "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",
79200
+ // Overlay mode: content üstüne çık (centering + spacing)
79201
+ overlayMode && "left-1/2 -translate-x-1/2 top-4",
79202
+ // Normal mode: content'i it (sadece sticky değilse margin ekle)
79203
+ !overlayMode && !sticky && "my-4",
79202
79204
  // Dynamic max-width based on containerMaxWidth prop
79203
79205
  containerMaxWidth === "3xl" && "max-w-3xl",
79204
79206
  containerMaxWidth === "4xl" && "max-w-4xl",
@@ -79211,9 +79213,11 @@ function NavbarInternal({
79211
79213
  ),
79212
79214
  variant === "minimal" && "bg-background",
79213
79215
  variant === "transparent" && "bg-transparent",
79214
- // Positioning - overlay mode takes precedence over sticky
79215
- overlayMode && "absolute",
79216
- sticky && !overlayMode && "sticky top-0 z-50",
79216
+ // Positioning - sticky ve overlay bağımsız çalışır
79217
+ sticky && "sticky z-50",
79218
+ !sticky && overlayMode && "absolute",
79219
+ sticky && !overlayMode && "top-0",
79220
+ // normal sticky için top-0 (floating-centered zaten top-4 ekler)
79217
79221
  // Scroll states
79218
79222
  scrolled && sticky && variant !== "transparent" && "shadow-sm",
79219
79223
  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.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",