@moontra/moonui-pro 2.30.3 → 2.30.4
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.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -86155,19 +86155,19 @@ function ChartWidget2({
|
|
|
86155
86155
|
hoveredIndex !== null && /* @__PURE__ */ jsxs(
|
|
86156
86156
|
motion.div,
|
|
86157
86157
|
{
|
|
86158
|
-
className: "absolute bg-background border rounded-lg px-
|
|
86158
|
+
className: "absolute bg-background border-2 rounded-lg px-4 py-3 text-sm pointer-events-none shadow-xl",
|
|
86159
86159
|
style: {
|
|
86160
|
-
left:
|
|
86161
|
-
|
|
86160
|
+
left: "50%",
|
|
86161
|
+
top: "10%",
|
|
86162
86162
|
transform: "translateX(-50%)",
|
|
86163
|
-
zIndex:
|
|
86163
|
+
zIndex: 100
|
|
86164
86164
|
},
|
|
86165
|
-
initial: { opacity: 0,
|
|
86166
|
-
animate: { opacity: 1,
|
|
86167
|
-
transition: { duration: 0.
|
|
86165
|
+
initial: { opacity: 0, scale: 0.9 },
|
|
86166
|
+
animate: { opacity: 1, scale: 1 },
|
|
86167
|
+
transition: { duration: 0.15 },
|
|
86168
86168
|
children: [
|
|
86169
|
-
/* @__PURE__ */ jsx("div", { className: "font-
|
|
86170
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
86169
|
+
/* @__PURE__ */ jsx("div", { className: "font-semibold text-foreground", children: labels[hoveredIndex] || `Item ${hoveredIndex + 1}` }),
|
|
86170
|
+
/* @__PURE__ */ jsx("div", { className: "text-primary font-bold text-base mt-1", children: formatNumber2(values[hoveredIndex]) })
|
|
86171
86171
|
]
|
|
86172
86172
|
}
|
|
86173
86173
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.30.
|
|
3
|
+
"version": "2.30.4",
|
|
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",
|