@quantumwake/terminal-ux-dashboard-components 0.1.24 → 0.1.25
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 +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -285,6 +285,7 @@ var DEFAULT_CHART_STYLE = {
|
|
|
285
285
|
areaOpacity: 0.15,
|
|
286
286
|
yFromZero: false,
|
|
287
287
|
barLabels: true,
|
|
288
|
+
animate: false,
|
|
288
289
|
seriesColors: []
|
|
289
290
|
};
|
|
290
291
|
var DEFAULT_SERIES_COLORS = [
|
|
@@ -611,6 +612,7 @@ function BarView({ records, groupColumn, valueColumn, aggFn = "count", data: pre
|
|
|
611
612
|
labelSkipWidth: 12,
|
|
612
613
|
labelSkipHeight: 12,
|
|
613
614
|
labelTextColor: { from: "color", modifiers: [["darker", 3]] },
|
|
615
|
+
animate: s.animate,
|
|
614
616
|
theme: buildNivoTheme(style)
|
|
615
617
|
}
|
|
616
618
|
) });
|
|
@@ -649,6 +651,7 @@ function PieView({ records, groupColumn, data: presetData, style }) {
|
|
|
649
651
|
arcLabelsSkipAngle: 10,
|
|
650
652
|
arcLabelsTextColor: { from: "color", modifiers: [["darker", 3]] },
|
|
651
653
|
legends: legend ? [legend] : [],
|
|
654
|
+
animate: s.animate,
|
|
652
655
|
theme: buildNivoTheme(style)
|
|
653
656
|
}
|
|
654
657
|
) });
|
|
@@ -720,6 +723,7 @@ function LineView({ records, xColumn, yColumn, data: presetData, style }) {
|
|
|
720
723
|
axisLeft: makeAxis(style, "y", yColumn, { numeric: true }),
|
|
721
724
|
useMesh: true,
|
|
722
725
|
layers: ["grid", "markers", "axes", "areas", bandsLayer, linesLayer, "crosshair", "slices", "mesh", "legends"],
|
|
726
|
+
animate: s.animate,
|
|
723
727
|
theme: buildNivoTheme(style)
|
|
724
728
|
}
|
|
725
729
|
) });
|
|
@@ -781,6 +785,7 @@ function ScatterView({ records, xColumn, yColumn, data: presetData, style }) {
|
|
|
781
785
|
axisBottom: makeAxis(style, "x", xColumn, { numeric: true }),
|
|
782
786
|
axisLeft: makeAxis(style, "y", yColumn, { numeric: true }),
|
|
783
787
|
useMesh: true,
|
|
788
|
+
animate: s.animate,
|
|
784
789
|
theme: buildNivoTheme(style)
|
|
785
790
|
}
|
|
786
791
|
) });
|
|
@@ -888,6 +893,7 @@ function HeatmapView({
|
|
|
888
893
|
borderColor: "#334155",
|
|
889
894
|
labelTextColor: { from: "color", modifiers: [["darker", 3]] },
|
|
890
895
|
hoverTarget: "cell",
|
|
896
|
+
animate: s.animate,
|
|
891
897
|
theme: buildNivoTheme(style)
|
|
892
898
|
}
|
|
893
899
|
) });
|
|
@@ -1042,6 +1048,7 @@ function HeatmapPlusView({
|
|
|
1042
1048
|
borderColor: "#334155",
|
|
1043
1049
|
labelTextColor: ((cell) => heatLabelColor(tAt(cell.serieId, cell.data.x))),
|
|
1044
1050
|
hoverTarget: "cell",
|
|
1051
|
+
animate: s.animate,
|
|
1045
1052
|
theme: buildNivoTheme(style)
|
|
1046
1053
|
}
|
|
1047
1054
|
) });
|