@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.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __defProps = Object.defineProperties;
3
4
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
@@ -127,7 +128,8 @@ var LineChart = ({
127
128
  stroke: color,
128
129
  strokeWidth: 2,
129
130
  dot: { fill: color, r: 4 },
130
- activeDot: { r: 6 }
131
+ activeDot: { r: 6 },
132
+ isAnimationActive: false
131
133
  },
132
134
  line.dataKey
133
135
  );
@@ -177,7 +179,8 @@ var BarChart = ({
177
179
  name: (_b = bar.label) != null ? _b : bar.dataKey,
178
180
  fill: color,
179
181
  stackId: bar.stackId,
180
- radius: bar.stackId && !isLast ? [0, 0, 0, 0] : [4, 4, 0, 0]
182
+ radius: bar.stackId && !isLast ? [0, 0, 0, 0] : [4, 4, 0, 0],
183
+ isAnimationActive: false
181
184
  },
182
185
  bar.dataKey
183
186
  );
@@ -230,7 +233,8 @@ var AreaChart = ({
230
233
  fill: color,
231
234
  fillOpacity: opacity,
232
235
  strokeWidth: 2,
233
- stackId: area.stackId
236
+ stackId: area.stackId,
237
+ isAnimationActive: false
234
238
  },
235
239
  area.dataKey
236
240
  );
@@ -278,7 +282,8 @@ var PieChart = ({
278
282
  innerRadius,
279
283
  dataKey: "value",
280
284
  label: label ? ({ name, percent }) => `${name} ${((percent != null ? percent : 0) * 100).toFixed(0)}%` : void 0,
281
- labelLine: label
285
+ labelLine: label,
286
+ isAnimationActive: false
282
287
  }
283
288
  ),
284
289
  /* @__PURE__ */ jsx5(Tooltip4, { contentStyle: tooltipStyle }),