@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.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-3 py-2 text-xs pointer-events-none shadow-lg",
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: `${10 + hoveredIndex / values.length * 85 + 85 / values.length / 2}%`,
86161
- bottom: `${Math.min(90, 30 + values[hoveredIndex] / maxValue * 60)}%`,
86160
+ left: "50%",
86161
+ top: "10%",
86162
86162
  transform: "translateX(-50%)",
86163
- zIndex: 50
86163
+ zIndex: 100
86164
86164
  },
86165
- initial: { opacity: 0, y: 10 },
86166
- animate: { opacity: 1, y: 0 },
86167
- transition: { duration: 0.2 },
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-medium", children: labels[hoveredIndex] || `Item ${hoveredIndex + 1}` }),
86170
- /* @__PURE__ */ jsx("div", { className: "text-muted-foreground", children: formatNumber2(values[hoveredIndex]) })
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",
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",