@efiche/design 0.2.3 → 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 CHANGED
@@ -181,7 +181,8 @@ var LineChart = ({
181
181
  stroke: color,
182
182
  strokeWidth: 2,
183
183
  dot: { fill: color, r: 4 },
184
- activeDot: { r: 6 }
184
+ activeDot: { r: 6 },
185
+ isAnimationActive: false
185
186
  },
186
187
  line.dataKey
187
188
  );
@@ -222,7 +223,8 @@ var BarChart = ({
222
223
  name: (_b = bar.label) != null ? _b : bar.dataKey,
223
224
  fill: color,
224
225
  stackId: bar.stackId,
225
- 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
226
228
  },
227
229
  bar.dataKey
228
230
  );
@@ -266,7 +268,8 @@ var AreaChart = ({
266
268
  fill: color,
267
269
  fillOpacity: opacity,
268
270
  strokeWidth: 2,
269
- stackId: area.stackId
271
+ stackId: area.stackId,
272
+ isAnimationActive: false
270
273
  },
271
274
  area.dataKey
272
275
  );
@@ -308,7 +311,8 @@ var PieChart = ({
308
311
  innerRadius,
309
312
  dataKey: "value",
310
313
  label: label ? ({ name, percent }) => `${name} ${((percent != null ? percent : 0) * 100).toFixed(0)}%` : void 0,
311
- labelLine: label
314
+ labelLine: label,
315
+ isAnimationActive: false
312
316
  }
313
317
  ),
314
318
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_recharts4.Tooltip, { contentStyle: tooltipStyle }),