@efiche/design 0.2.2 → 0.2.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.cjs +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
"use strict";
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __defProps = Object.defineProperties;
|
|
@@ -180,7 +181,8 @@ var LineChart = ({
|
|
|
180
181
|
stroke: color,
|
|
181
182
|
strokeWidth: 2,
|
|
182
183
|
dot: { fill: color, r: 4 },
|
|
183
|
-
activeDot: { r: 6 }
|
|
184
|
+
activeDot: { r: 6 },
|
|
185
|
+
isAnimationActive: false
|
|
184
186
|
},
|
|
185
187
|
line.dataKey
|
|
186
188
|
);
|
|
@@ -221,7 +223,8 @@ var BarChart = ({
|
|
|
221
223
|
name: (_b = bar.label) != null ? _b : bar.dataKey,
|
|
222
224
|
fill: color,
|
|
223
225
|
stackId: bar.stackId,
|
|
224
|
-
radius: bar.stackId && !isLast ? [0, 0, 0, 0] : [4, 4, 0, 0]
|
|
226
|
+
radius: bar.stackId && !isLast ? [0, 0, 0, 0] : [4, 4, 0, 0],
|
|
227
|
+
isAnimationActive: false
|
|
225
228
|
},
|
|
226
229
|
bar.dataKey
|
|
227
230
|
);
|
|
@@ -265,7 +268,8 @@ var AreaChart = ({
|
|
|
265
268
|
fill: color,
|
|
266
269
|
fillOpacity: opacity,
|
|
267
270
|
strokeWidth: 2,
|
|
268
|
-
stackId: area.stackId
|
|
271
|
+
stackId: area.stackId,
|
|
272
|
+
isAnimationActive: false
|
|
269
273
|
},
|
|
270
274
|
area.dataKey
|
|
271
275
|
);
|
|
@@ -307,7 +311,8 @@ var PieChart = ({
|
|
|
307
311
|
innerRadius,
|
|
308
312
|
dataKey: "value",
|
|
309
313
|
label: label ? ({ name, percent }) => `${name} ${((percent != null ? percent : 0) * 100).toFixed(0)}%` : void 0,
|
|
310
|
-
labelLine: label
|
|
314
|
+
labelLine: label,
|
|
315
|
+
isAnimationActive: false
|
|
311
316
|
}
|
|
312
317
|
),
|
|
313
318
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_recharts4.Tooltip, { contentStyle: tooltipStyle }),
|