@moontra/moonui-pro 2.29.0 → 2.30.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.mjs CHANGED
@@ -86101,12 +86101,36 @@ function ChartWidget2({
86101
86101
  animate: { opacity: 1, y: 0 },
86102
86102
  transition: { delay: index2 * 0.05 },
86103
86103
  children: [
86104
- showDataLabels && isHovered && /* @__PURE__ */ jsx(
86104
+ isHovered && /* @__PURE__ */ jsxs(
86105
+ motion.div,
86106
+ {
86107
+ className: "absolute bg-background border rounded-lg px-3 py-2 text-xs pointer-events-none z-20 shadow-lg",
86108
+ style: {
86109
+ bottom: `calc(${percentage}% + 8px)`,
86110
+ left: "50%",
86111
+ transform: "translateX(-50%)"
86112
+ },
86113
+ initial: { opacity: 0, y: 10 },
86114
+ animate: { opacity: 1, y: 0 },
86115
+ transition: { duration: 0.2 },
86116
+ children: [
86117
+ /* @__PURE__ */ jsx("div", { className: "font-medium", children: labels[index2] || `Item ${index2 + 1}` }),
86118
+ /* @__PURE__ */ jsx("div", { className: "text-muted-foreground", children: formatNumber2(value) })
86119
+ ]
86120
+ }
86121
+ ),
86122
+ showDataLabels && /* @__PURE__ */ jsx(
86105
86123
  motion.span,
86106
86124
  {
86107
- className: "absolute text-xs font-medium -top-5",
86125
+ className: "absolute text-xs font-medium text-white mix-blend-difference",
86126
+ style: {
86127
+ bottom: `calc(${percentage}% / 2)`,
86128
+ left: "50%",
86129
+ transform: "translateX(-50%)"
86130
+ },
86108
86131
  initial: { opacity: 0 },
86109
86132
  animate: { opacity: 1 },
86133
+ transition: { delay: index2 * 0.1 + 0.6 },
86110
86134
  children: formatNumber2(value)
86111
86135
  }
86112
86136
  ),
@@ -86114,8 +86138,8 @@ function ChartWidget2({
86114
86138
  motion.div,
86115
86139
  {
86116
86140
  className: cn(
86117
- "w-full rounded-t cursor-pointer",
86118
- isHovered && "opacity-80"
86141
+ "w-full rounded-t cursor-pointer transition-all duration-200",
86142
+ isHovered && "brightness-110 scale-y-105"
86119
86143
  ),
86120
86144
  style: {
86121
86145
  backgroundColor: chartColors[index2 % chartColors.length],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.29.0",
3
+ "version": "2.30.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",