@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/cdn/index.global.js +59 -59
- package/dist/cdn/index.global.js.map +1 -1
- package/dist/index.mjs +12 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -79191,14 +79191,18 @@ function NavbarInternal({
|
|
|
79191
79191
|
}
|
|
79192
79192
|
};
|
|
79193
79193
|
const navClasses = cn(
|
|
79194
|
-
"moonui-pro
|
|
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
|
|
79201
|
-
overlayMode
|
|
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 -
|
|
79215
|
-
|
|
79216
|
-
sticky &&
|
|
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.
|
|
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",
|