@moontra/moonui-pro 3.4.31 → 3.4.32
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 +1 -1
- package/dist/cdn/index.global.js.map +1 -1
- package/dist/index.mjs +19 -32
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -79592,7 +79592,6 @@ function NavbarInternal({
|
|
|
79592
79592
|
}
|
|
79593
79593
|
},
|
|
79594
79594
|
className: "flex items-center gap-2",
|
|
79595
|
-
suppressHydrationWarning: true,
|
|
79596
79595
|
children: [
|
|
79597
79596
|
/* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: /* @__PURE__ */ jsx(
|
|
79598
79597
|
motion.div,
|
|
@@ -79613,7 +79612,6 @@ function NavbarInternal({
|
|
|
79613
79612
|
duration: 0.2,
|
|
79614
79613
|
ease: "easeInOut"
|
|
79615
79614
|
},
|
|
79616
|
-
suppressHydrationWarning: true,
|
|
79617
79615
|
children: getActiveLogo()
|
|
79618
79616
|
},
|
|
79619
79617
|
`logo-${framerScroll.isScrolled ? "scrolled" : "default"}-${isDarkMode ? "dark" : "light"}`
|
|
@@ -79803,8 +79801,7 @@ function NavbarInternal({
|
|
|
79803
79801
|
onThemeChange?.(newTheme);
|
|
79804
79802
|
},
|
|
79805
79803
|
className: "relative overflow-hidden",
|
|
79806
|
-
|
|
79807
|
-
children: /* @__PURE__ */ jsx("div", { suppressHydrationWarning: true, children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: currentTheme === "dark" ? /* @__PURE__ */ jsx(
|
|
79804
|
+
children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: currentTheme === "dark" ? /* @__PURE__ */ jsx(
|
|
79808
79805
|
motion.div,
|
|
79809
79806
|
{
|
|
79810
79807
|
initial: {
|
|
@@ -79822,12 +79819,10 @@ function NavbarInternal({
|
|
|
79822
79819
|
transition: {
|
|
79823
79820
|
duration: 0.2
|
|
79824
79821
|
},
|
|
79825
|
-
suppressHydrationWarning: true,
|
|
79826
79822
|
children: /* @__PURE__ */ jsx(
|
|
79827
79823
|
Moon,
|
|
79828
79824
|
{
|
|
79829
|
-
className: getSizeClasses().iconSize
|
|
79830
|
-
suppressHydrationWarning: true
|
|
79825
|
+
className: getSizeClasses().iconSize
|
|
79831
79826
|
}
|
|
79832
79827
|
)
|
|
79833
79828
|
},
|
|
@@ -79853,32 +79848,29 @@ function NavbarInternal({
|
|
|
79853
79848
|
transition: {
|
|
79854
79849
|
duration: 0.2
|
|
79855
79850
|
},
|
|
79856
|
-
suppressHydrationWarning: true,
|
|
79857
79851
|
children: /* @__PURE__ */ jsx(
|
|
79858
79852
|
Sun,
|
|
79859
79853
|
{
|
|
79860
|
-
className: getSizeClasses().iconSize
|
|
79861
|
-
suppressHydrationWarning: true
|
|
79854
|
+
className: getSizeClasses().iconSize
|
|
79862
79855
|
}
|
|
79863
79856
|
)
|
|
79864
79857
|
},
|
|
79865
79858
|
"sun"
|
|
79866
|
-
) })
|
|
79859
|
+
) })
|
|
79867
79860
|
}
|
|
79868
79861
|
)
|
|
79869
79862
|
}
|
|
79870
79863
|
) : /* @__PURE__ */ jsxs(MoonUIDropdownMenuPro, { children: [
|
|
79871
|
-
/* @__PURE__ */ jsx(MoonUIDropdownMenuTriggerPro, { asChild: true, children: /* @__PURE__ */
|
|
79864
|
+
/* @__PURE__ */ jsx(MoonUIDropdownMenuTriggerPro, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
79872
79865
|
MoonUIButtonPro,
|
|
79873
79866
|
{
|
|
79874
79867
|
variant: "ghost",
|
|
79875
79868
|
size: "icon",
|
|
79876
|
-
|
|
79877
|
-
|
|
79878
|
-
currentTheme === "
|
|
79879
|
-
currentTheme === "
|
|
79880
|
-
|
|
79881
|
-
] })
|
|
79869
|
+
children: [
|
|
79870
|
+
currentTheme === "light" && /* @__PURE__ */ jsx(Sun, { className: "h-5 w-5" }),
|
|
79871
|
+
currentTheme === "dark" && /* @__PURE__ */ jsx(Moon, { className: "h-5 w-5" }),
|
|
79872
|
+
currentTheme === "system" && /* @__PURE__ */ jsx(Monitor, { className: "h-5 w-5" })
|
|
79873
|
+
]
|
|
79882
79874
|
}
|
|
79883
79875
|
) }),
|
|
79884
79876
|
/* @__PURE__ */ jsxs(MoonUIDropdownMenuContentPro, { align: "end", children: [
|
|
@@ -80369,8 +80361,7 @@ function NavbarInternal({
|
|
|
80369
80361
|
onThemeChange?.(newTheme);
|
|
80370
80362
|
},
|
|
80371
80363
|
className: "relative overflow-hidden",
|
|
80372
|
-
|
|
80373
|
-
children: /* @__PURE__ */ jsx("div", { suppressHydrationWarning: true, children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: currentTheme === "dark" ? /* @__PURE__ */ jsx(
|
|
80364
|
+
children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: currentTheme === "dark" ? /* @__PURE__ */ jsx(
|
|
80374
80365
|
motion.div,
|
|
80375
80366
|
{
|
|
80376
80367
|
initial: {
|
|
@@ -80388,12 +80379,10 @@ function NavbarInternal({
|
|
|
80388
80379
|
transition: {
|
|
80389
80380
|
duration: 0.2
|
|
80390
80381
|
},
|
|
80391
|
-
suppressHydrationWarning: true,
|
|
80392
80382
|
children: /* @__PURE__ */ jsx(
|
|
80393
80383
|
Moon,
|
|
80394
80384
|
{
|
|
80395
|
-
className: getSizeClasses().iconSize
|
|
80396
|
-
suppressHydrationWarning: true
|
|
80385
|
+
className: getSizeClasses().iconSize
|
|
80397
80386
|
}
|
|
80398
80387
|
)
|
|
80399
80388
|
},
|
|
@@ -80419,26 +80408,24 @@ function NavbarInternal({
|
|
|
80419
80408
|
transition: {
|
|
80420
80409
|
duration: 0.2
|
|
80421
80410
|
},
|
|
80422
|
-
suppressHydrationWarning: true,
|
|
80423
80411
|
children: /* @__PURE__ */ jsx(
|
|
80424
80412
|
Sun,
|
|
80425
80413
|
{
|
|
80426
|
-
className: getSizeClasses().iconSize
|
|
80427
|
-
suppressHydrationWarning: true
|
|
80414
|
+
className: getSizeClasses().iconSize
|
|
80428
80415
|
}
|
|
80429
80416
|
)
|
|
80430
80417
|
},
|
|
80431
80418
|
"sun"
|
|
80432
|
-
) })
|
|
80419
|
+
) })
|
|
80433
80420
|
}
|
|
80434
80421
|
)
|
|
80435
80422
|
}
|
|
80436
80423
|
) : /* @__PURE__ */ jsxs(MoonUIDropdownMenuPro, { children: [
|
|
80437
|
-
/* @__PURE__ */ jsx(MoonUIDropdownMenuTriggerPro, { asChild: true, children: /* @__PURE__ */
|
|
80438
|
-
currentTheme === "light" && /* @__PURE__ */ jsx(Sun, { className: "h-5 w-5"
|
|
80439
|
-
currentTheme === "dark" && /* @__PURE__ */ jsx(Moon, { className: "h-5 w-5"
|
|
80440
|
-
currentTheme === "system" && /* @__PURE__ */ jsx(Monitor, { className: "h-5 w-5"
|
|
80441
|
-
] }) })
|
|
80424
|
+
/* @__PURE__ */ jsx(MoonUIDropdownMenuTriggerPro, { asChild: true, children: /* @__PURE__ */ jsxs(MoonUIButtonPro, { variant: "ghost", size: "icon", children: [
|
|
80425
|
+
currentTheme === "light" && /* @__PURE__ */ jsx(Sun, { className: "h-5 w-5" }),
|
|
80426
|
+
currentTheme === "dark" && /* @__PURE__ */ jsx(Moon, { className: "h-5 w-5" }),
|
|
80427
|
+
currentTheme === "system" && /* @__PURE__ */ jsx(Monitor, { className: "h-5 w-5" })
|
|
80428
|
+
] }) }),
|
|
80442
80429
|
/* @__PURE__ */ jsxs(MoonUIDropdownMenuContentPro, { align: "end", children: [
|
|
80443
80430
|
/* @__PURE__ */ jsxs(
|
|
80444
80431
|
MoonUIDropdownMenuItemPro,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.32",
|
|
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",
|