@moontra/moonui-pro 2.30.7 → 2.30.8
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 +8 -12
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -86215,7 +86215,7 @@ function ChartWidget2({
|
|
|
86215
86215
|
{
|
|
86216
86216
|
className: "w-full h-full",
|
|
86217
86217
|
viewBox: "0 0 100 100",
|
|
86218
|
-
preserveAspectRatio: "
|
|
86218
|
+
preserveAspectRatio: "none",
|
|
86219
86219
|
children: [
|
|
86220
86220
|
/* @__PURE__ */ jsxs("defs", { children: [
|
|
86221
86221
|
/* @__PURE__ */ jsxs("linearGradient", { id: "chartLineGradient", x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [
|
|
@@ -86250,15 +86250,12 @@ function ChartWidget2({
|
|
|
86250
86250
|
d: pathData,
|
|
86251
86251
|
fill: "none",
|
|
86252
86252
|
stroke: "url(#chartLineGradient)",
|
|
86253
|
-
strokeWidth: "
|
|
86253
|
+
strokeWidth: "0.8",
|
|
86254
86254
|
strokeLinecap: "round",
|
|
86255
86255
|
strokeLinejoin: "round",
|
|
86256
86256
|
initial: { pathLength: 0 },
|
|
86257
86257
|
animate: { pathLength: 1 },
|
|
86258
|
-
transition: { duration: animate5 ? 1 : 0 }
|
|
86259
|
-
style: {
|
|
86260
|
-
vectorEffect: "non-scaling-stroke"
|
|
86261
|
-
}
|
|
86258
|
+
transition: { duration: animate5 ? 1 : 0 }
|
|
86262
86259
|
}
|
|
86263
86260
|
),
|
|
86264
86261
|
type === "area" && /* @__PURE__ */ jsx(
|
|
@@ -86276,22 +86273,21 @@ function ChartWidget2({
|
|
|
86276
86273
|
{
|
|
86277
86274
|
cx: point.x,
|
|
86278
86275
|
cy: point.y,
|
|
86279
|
-
r: "
|
|
86276
|
+
r: "0.8",
|
|
86280
86277
|
fill: chartColors[0],
|
|
86281
86278
|
stroke: "white",
|
|
86282
|
-
strokeWidth: "
|
|
86279
|
+
strokeWidth: "0.3",
|
|
86283
86280
|
initial: { r: 0, opacity: 0 },
|
|
86284
86281
|
animate: {
|
|
86285
|
-
r: hoveredIndex === index2 ? 2
|
|
86282
|
+
r: hoveredIndex === index2 ? 1.2 : 0.8,
|
|
86286
86283
|
opacity: 1,
|
|
86287
|
-
strokeWidth: hoveredIndex === index2 ?
|
|
86284
|
+
strokeWidth: hoveredIndex === index2 ? 0.5 : 0.3
|
|
86288
86285
|
},
|
|
86289
86286
|
onMouseEnter: () => setHoveredIndex(index2),
|
|
86290
86287
|
onMouseLeave: () => setHoveredIndex(null),
|
|
86291
86288
|
className: "cursor-pointer",
|
|
86292
86289
|
style: {
|
|
86293
|
-
shapeRendering: "geometricPrecision"
|
|
86294
|
-
vectorEffect: "non-scaling-stroke"
|
|
86290
|
+
shapeRendering: "geometricPrecision"
|
|
86295
86291
|
},
|
|
86296
86292
|
onClick: () => onDataPointClick?.(point),
|
|
86297
86293
|
transition: { duration: 0.2 }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.30.
|
|
3
|
+
"version": "2.30.8",
|
|
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",
|