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