@moontra/moonui-pro 2.27.7 → 2.28.0
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.d.ts +5 -1
- package/dist/index.global.js +60 -60
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +12 -8
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -2717,7 +2717,9 @@ var moonUIBadgeVariantsPro = cva(
|
|
|
2717
2717
|
"inline-flex items-center gap-1.5",
|
|
2718
2718
|
"font-medium transition-colors duration-200",
|
|
2719
2719
|
"border focus:outline-none",
|
|
2720
|
-
"focus-visible:ring-2 focus-visible:ring-offset-1"
|
|
2720
|
+
"focus-visible:ring-2 focus-visible:ring-offset-1",
|
|
2721
|
+
// Auto spacing between badges
|
|
2722
|
+
"mr-2 mb-2 last:mr-0"
|
|
2721
2723
|
],
|
|
2722
2724
|
{
|
|
2723
2725
|
variants: {
|
|
@@ -2809,6 +2811,7 @@ function MoonUIBadgePro({
|
|
|
2809
2811
|
onRemove,
|
|
2810
2812
|
leftIcon,
|
|
2811
2813
|
rightIcon,
|
|
2814
|
+
noAutoSpacing,
|
|
2812
2815
|
children,
|
|
2813
2816
|
...props
|
|
2814
2817
|
}) {
|
|
@@ -2829,7 +2832,12 @@ function MoonUIBadgePro({
|
|
|
2829
2832
|
return /* @__PURE__ */ jsxs(
|
|
2830
2833
|
"div",
|
|
2831
2834
|
{
|
|
2832
|
-
className: cn(
|
|
2835
|
+
className: cn(
|
|
2836
|
+
moonUIBadgeVariantsPro({ variant, size: size4, radius }),
|
|
2837
|
+
// Remove auto-spacing if noAutoSpacing is true
|
|
2838
|
+
noAutoSpacing && "mr-0 mb-0",
|
|
2839
|
+
className
|
|
2840
|
+
),
|
|
2833
2841
|
"data-removable": removable ? "" : void 0,
|
|
2834
2842
|
...props,
|
|
2835
2843
|
children: [
|
|
@@ -75770,6 +75778,7 @@ function NavbarInternal({
|
|
|
75770
75778
|
hideOnScroll = false,
|
|
75771
75779
|
showScrollProgress = false,
|
|
75772
75780
|
maxWidth = "2xl",
|
|
75781
|
+
fullWidth = false,
|
|
75773
75782
|
enableNProgress = true,
|
|
75774
75783
|
className,
|
|
75775
75784
|
activePath,
|
|
@@ -76050,12 +76059,7 @@ function NavbarInternal({
|
|
|
76050
76059
|
className: cn(
|
|
76051
76060
|
"flex items-center",
|
|
76052
76061
|
getHeight(),
|
|
76053
|
-
maxWidth === "sm" && "container max-w-screen-sm"
|
|
76054
|
-
maxWidth === "md" && "container max-w-screen-md",
|
|
76055
|
-
maxWidth === "lg" && "container max-w-screen-lg",
|
|
76056
|
-
maxWidth === "xl" && "container max-w-screen-xl",
|
|
76057
|
-
maxWidth === "2xl" && "container max-w-screen-2xl",
|
|
76058
|
-
maxWidth === "full" && "w-full px-4 sm:px-6 lg:px-8"
|
|
76062
|
+
fullWidth ? "w-full px-4 sm:px-6 lg:px-8" : maxWidth === "sm" && "container max-w-screen-sm" || maxWidth === "md" && "container max-w-screen-md" || maxWidth === "lg" && "container max-w-screen-lg" || maxWidth === "xl" && "container max-w-screen-xl" || maxWidth === "2xl" && "container max-w-screen-2xl" || maxWidth === "full" && "w-full px-4 sm:px-6 lg:px-8"
|
|
76059
76063
|
),
|
|
76060
76064
|
children: [
|
|
76061
76065
|
branding && /* @__PURE__ */ jsxs(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.0",
|
|
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",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"react-dom": ">=18.0.0 || ^19.0.0"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@moontra/moonui": "^2.3.
|
|
85
|
-
"@moontra/moonui-pro": "^2.27.
|
|
84
|
+
"@moontra/moonui": "^2.3.8",
|
|
85
|
+
"@moontra/moonui-pro": "^2.27.9",
|
|
86
86
|
"@radix-ui/react-accordion": "^1.2.11",
|
|
87
87
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
88
88
|
"@radix-ui/react-checkbox": "^1.3.2",
|