@mui/x-charts 8.13.1 → 8.14.0
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/BarChart/BarChart.js +44 -36
- package/CHANGELOG.md +109 -1
- package/ChartContainer/ChartContainer.js +68 -56
- package/ChartsTooltip/ChartsTooltipContainer.js +2 -0
- package/ChartsXAxis/useAxisTicksProps.d.ts +197 -355
- package/ChartsYAxis/useAxisTicksProps.d.ts +197 -355
- package/LineChart/LineChart.js +44 -36
- package/PieChart/PieArc.d.ts +18 -4
- package/PieChart/PieArc.js +11 -5
- package/PieChart/PieArcPlot.js +3 -1
- package/ScatterChart/ScatterChart.js +44 -36
- package/SparkLineChart/SparkLineChart.js +44 -36
- package/esm/BarChart/BarChart.js +44 -36
- package/esm/ChartContainer/ChartContainer.js +68 -56
- package/esm/ChartsTooltip/ChartsTooltipContainer.js +2 -0
- package/esm/ChartsXAxis/useAxisTicksProps.d.ts +197 -355
- package/esm/ChartsYAxis/useAxisTicksProps.d.ts +197 -355
- package/esm/LineChart/LineChart.js +44 -36
- package/esm/PieChart/PieArc.d.ts +18 -4
- package/esm/PieChart/PieArc.js +11 -5
- package/esm/PieChart/PieArcPlot.js +3 -1
- package/esm/ScatterChart/ScatterChart.js +44 -36
- package/esm/SparkLineChart/SparkLineChart.js +44 -36
- package/esm/hooks/animation/useAnimate.js +5 -3
- package/esm/hooks/useScale.d.ts +5 -1
- package/esm/index.js +1 -1
- package/esm/internals/animation/useAnimateInternal.d.ts +1 -1
- package/esm/internals/animation/useAnimateInternal.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +8 -8
- package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +4 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +9 -11
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -28
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -5
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +3 -24
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +20 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +77 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +4 -65
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.js +7 -104
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +31 -39
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +166 -6
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +158 -47
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +10 -3
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -2
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +6 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +5 -1
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +9 -1
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +10 -1
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +2 -1
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +2 -2
- package/esm/internals/scaleGuards.d.ts +12 -6
- package/esm/internals/symlogScale.js +5 -0
- package/esm/locales/enUS.js +4 -4
- package/esm/locales/ptBR.js +97 -99
- package/esm/models/axis.d.ts +39 -17
- package/esm/models/axis.js +3 -0
- package/hooks/animation/useAnimate.js +4 -3
- package/hooks/useScale.d.ts +5 -1
- package/index.js +1 -1
- package/internals/animation/useAnimateInternal.d.ts +1 -1
- package/internals/animation/useAnimateInternal.js +1 -1
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +7 -7
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +4 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +9 -11
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -28
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +3 -25
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +20 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +84 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +4 -65
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.js +8 -108
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +29 -37
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +166 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +158 -47
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +10 -3
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +6 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +5 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +9 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +11 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +2 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +1 -1
- package/internals/scaleGuards.d.ts +12 -6
- package/internals/symlogScale.js +5 -0
- package/locales/enUS.js +4 -4
- package/locales/ptBR.js +97 -99
- package/models/axis.d.ts +39 -17
- package/models/axis.js +4 -0
- package/package.json +6 -6
package/BarChart/BarChart.js
CHANGED
|
@@ -282,8 +282,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
282
282
|
ignoreTooltip: _propTypes.default.bool,
|
|
283
283
|
label: _propTypes.default.string,
|
|
284
284
|
labelStyle: _propTypes.default.object,
|
|
285
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
286
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
287
285
|
offset: _propTypes.default.number,
|
|
288
286
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
289
287
|
reverse: _propTypes.default.bool,
|
|
@@ -336,8 +334,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
336
334
|
ignoreTooltip: _propTypes.default.bool,
|
|
337
335
|
label: _propTypes.default.string,
|
|
338
336
|
labelStyle: _propTypes.default.object,
|
|
339
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
340
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
341
337
|
offset: _propTypes.default.number,
|
|
342
338
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
343
339
|
reverse: _propTypes.default.bool,
|
|
@@ -380,8 +376,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
380
376
|
ignoreTooltip: _propTypes.default.bool,
|
|
381
377
|
label: _propTypes.default.string,
|
|
382
378
|
labelStyle: _propTypes.default.object,
|
|
383
|
-
max: _propTypes.default.
|
|
384
|
-
min: _propTypes.default.
|
|
379
|
+
max: _propTypes.default.number,
|
|
380
|
+
min: _propTypes.default.number,
|
|
385
381
|
offset: _propTypes.default.number,
|
|
386
382
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
387
383
|
reverse: _propTypes.default.bool,
|
|
@@ -425,8 +421,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
425
421
|
ignoreTooltip: _propTypes.default.bool,
|
|
426
422
|
label: _propTypes.default.string,
|
|
427
423
|
labelStyle: _propTypes.default.object,
|
|
428
|
-
max: _propTypes.default.
|
|
429
|
-
min: _propTypes.default.
|
|
424
|
+
max: _propTypes.default.number,
|
|
425
|
+
min: _propTypes.default.number,
|
|
430
426
|
offset: _propTypes.default.number,
|
|
431
427
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
432
428
|
reverse: _propTypes.default.bool,
|
|
@@ -469,8 +465,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
469
465
|
ignoreTooltip: _propTypes.default.bool,
|
|
470
466
|
label: _propTypes.default.string,
|
|
471
467
|
labelStyle: _propTypes.default.object,
|
|
472
|
-
max: _propTypes.default.
|
|
473
|
-
min: _propTypes.default.
|
|
468
|
+
max: _propTypes.default.number,
|
|
469
|
+
min: _propTypes.default.number,
|
|
474
470
|
offset: _propTypes.default.number,
|
|
475
471
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
476
472
|
reverse: _propTypes.default.bool,
|
|
@@ -513,8 +509,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
513
509
|
ignoreTooltip: _propTypes.default.bool,
|
|
514
510
|
label: _propTypes.default.string,
|
|
515
511
|
labelStyle: _propTypes.default.object,
|
|
516
|
-
max: _propTypes.default.
|
|
517
|
-
min: _propTypes.default.
|
|
512
|
+
max: _propTypes.default.number,
|
|
513
|
+
min: _propTypes.default.number,
|
|
518
514
|
offset: _propTypes.default.number,
|
|
519
515
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
520
516
|
reverse: _propTypes.default.bool,
|
|
@@ -557,8 +553,12 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
557
553
|
ignoreTooltip: _propTypes.default.bool,
|
|
558
554
|
label: _propTypes.default.string,
|
|
559
555
|
labelStyle: _propTypes.default.object,
|
|
560
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
561
|
-
|
|
556
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
557
|
+
valueOf: _propTypes.default.func.isRequired
|
|
558
|
+
})]),
|
|
559
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
560
|
+
valueOf: _propTypes.default.func.isRequired
|
|
561
|
+
})]),
|
|
562
562
|
offset: _propTypes.default.number,
|
|
563
563
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
564
564
|
reverse: _propTypes.default.bool,
|
|
@@ -601,8 +601,12 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
601
601
|
ignoreTooltip: _propTypes.default.bool,
|
|
602
602
|
label: _propTypes.default.string,
|
|
603
603
|
labelStyle: _propTypes.default.object,
|
|
604
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
605
|
-
|
|
604
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
605
|
+
valueOf: _propTypes.default.func.isRequired
|
|
606
|
+
})]),
|
|
607
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
608
|
+
valueOf: _propTypes.default.func.isRequired
|
|
609
|
+
})]),
|
|
606
610
|
offset: _propTypes.default.number,
|
|
607
611
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
608
612
|
reverse: _propTypes.default.bool,
|
|
@@ -645,8 +649,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
645
649
|
ignoreTooltip: _propTypes.default.bool,
|
|
646
650
|
label: _propTypes.default.string,
|
|
647
651
|
labelStyle: _propTypes.default.object,
|
|
648
|
-
max: _propTypes.default.
|
|
649
|
-
min: _propTypes.default.
|
|
652
|
+
max: _propTypes.default.number,
|
|
653
|
+
min: _propTypes.default.number,
|
|
650
654
|
offset: _propTypes.default.number,
|
|
651
655
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
652
656
|
reverse: _propTypes.default.bool,
|
|
@@ -706,8 +710,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
706
710
|
ignoreTooltip: _propTypes.default.bool,
|
|
707
711
|
label: _propTypes.default.string,
|
|
708
712
|
labelStyle: _propTypes.default.object,
|
|
709
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
710
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
711
713
|
offset: _propTypes.default.number,
|
|
712
714
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
713
715
|
reverse: _propTypes.default.bool,
|
|
@@ -759,8 +761,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
759
761
|
ignoreTooltip: _propTypes.default.bool,
|
|
760
762
|
label: _propTypes.default.string,
|
|
761
763
|
labelStyle: _propTypes.default.object,
|
|
762
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
763
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
764
764
|
offset: _propTypes.default.number,
|
|
765
765
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
766
766
|
reverse: _propTypes.default.bool,
|
|
@@ -802,8 +802,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
802
802
|
ignoreTooltip: _propTypes.default.bool,
|
|
803
803
|
label: _propTypes.default.string,
|
|
804
804
|
labelStyle: _propTypes.default.object,
|
|
805
|
-
max: _propTypes.default.
|
|
806
|
-
min: _propTypes.default.
|
|
805
|
+
max: _propTypes.default.number,
|
|
806
|
+
min: _propTypes.default.number,
|
|
807
807
|
offset: _propTypes.default.number,
|
|
808
808
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
809
809
|
reverse: _propTypes.default.bool,
|
|
@@ -846,8 +846,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
846
846
|
ignoreTooltip: _propTypes.default.bool,
|
|
847
847
|
label: _propTypes.default.string,
|
|
848
848
|
labelStyle: _propTypes.default.object,
|
|
849
|
-
max: _propTypes.default.
|
|
850
|
-
min: _propTypes.default.
|
|
849
|
+
max: _propTypes.default.number,
|
|
850
|
+
min: _propTypes.default.number,
|
|
851
851
|
offset: _propTypes.default.number,
|
|
852
852
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
853
853
|
reverse: _propTypes.default.bool,
|
|
@@ -889,8 +889,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
889
889
|
ignoreTooltip: _propTypes.default.bool,
|
|
890
890
|
label: _propTypes.default.string,
|
|
891
891
|
labelStyle: _propTypes.default.object,
|
|
892
|
-
max: _propTypes.default.
|
|
893
|
-
min: _propTypes.default.
|
|
892
|
+
max: _propTypes.default.number,
|
|
893
|
+
min: _propTypes.default.number,
|
|
894
894
|
offset: _propTypes.default.number,
|
|
895
895
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
896
896
|
reverse: _propTypes.default.bool,
|
|
@@ -932,8 +932,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
932
932
|
ignoreTooltip: _propTypes.default.bool,
|
|
933
933
|
label: _propTypes.default.string,
|
|
934
934
|
labelStyle: _propTypes.default.object,
|
|
935
|
-
max: _propTypes.default.
|
|
936
|
-
min: _propTypes.default.
|
|
935
|
+
max: _propTypes.default.number,
|
|
936
|
+
min: _propTypes.default.number,
|
|
937
937
|
offset: _propTypes.default.number,
|
|
938
938
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
939
939
|
reverse: _propTypes.default.bool,
|
|
@@ -975,8 +975,12 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
975
975
|
ignoreTooltip: _propTypes.default.bool,
|
|
976
976
|
label: _propTypes.default.string,
|
|
977
977
|
labelStyle: _propTypes.default.object,
|
|
978
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
979
|
-
|
|
978
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
979
|
+
valueOf: _propTypes.default.func.isRequired
|
|
980
|
+
})]),
|
|
981
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
982
|
+
valueOf: _propTypes.default.func.isRequired
|
|
983
|
+
})]),
|
|
980
984
|
offset: _propTypes.default.number,
|
|
981
985
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
982
986
|
reverse: _propTypes.default.bool,
|
|
@@ -1018,8 +1022,12 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
1018
1022
|
ignoreTooltip: _propTypes.default.bool,
|
|
1019
1023
|
label: _propTypes.default.string,
|
|
1020
1024
|
labelStyle: _propTypes.default.object,
|
|
1021
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
1022
|
-
|
|
1025
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1026
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1027
|
+
})]),
|
|
1028
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1029
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1030
|
+
})]),
|
|
1023
1031
|
offset: _propTypes.default.number,
|
|
1024
1032
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1025
1033
|
reverse: _propTypes.default.bool,
|
|
@@ -1061,8 +1069,8 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
1061
1069
|
ignoreTooltip: _propTypes.default.bool,
|
|
1062
1070
|
label: _propTypes.default.string,
|
|
1063
1071
|
labelStyle: _propTypes.default.object,
|
|
1064
|
-
max: _propTypes.default.
|
|
1065
|
-
min: _propTypes.default.
|
|
1072
|
+
max: _propTypes.default.number,
|
|
1073
|
+
min: _propTypes.default.number,
|
|
1066
1074
|
offset: _propTypes.default.number,
|
|
1067
1075
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1068
1076
|
reverse: _propTypes.default.bool,
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,114 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.14.0
|
|
9
|
+
|
|
10
|
+
_Oct 9, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 📊 The [Chart zoom now supports the `pressAndDrag` gesture](https://mui.com/x/react-charts/zoom-and-pan/#zoom-interactions-configuration). Pan by pressing and dragging.
|
|
15
|
+
- 🔄 [Server-side pivoting](https://mui.com/x/react-data-grid/server-side-data/pivoting/) support for the Data Grid
|
|
16
|
+
- 🐞 Bugfixes
|
|
17
|
+
- 📚 Documentation improvements
|
|
18
|
+
|
|
19
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
20
|
+
@djpremier, @Utkarsh-0304
|
|
21
|
+
|
|
22
|
+
The following are all team members who have contributed to this release:
|
|
23
|
+
@alexfauquette, @bernardobelchior, @flaviendelangle, @hasdfa, @Janpot, @JCQuintas, @prakhargupta1, @rita-codes, @noraleonte, @brijeshb42, @arminmeh, @michelengelen
|
|
24
|
+
|
|
25
|
+
### Data Grid
|
|
26
|
+
|
|
27
|
+
#### `@mui/x-data-grid@8.14.0`
|
|
28
|
+
|
|
29
|
+
- [l10n] Improve Brazilian Portuguese (pt-BR) locale (#19658) @djpremier
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid-pro@8.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
32
|
+
|
|
33
|
+
Same changes as in `@mui/x-data-grid@8.14.0`.
|
|
34
|
+
|
|
35
|
+
#### `@mui/x-data-grid-premium@8.14.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
36
|
+
|
|
37
|
+
Same changes as in `@mui/x-data-grid-pro@8.14.0`, plus:
|
|
38
|
+
|
|
39
|
+
- [DataGridPremium] Server-side pivoting (#19575) @arminmeh
|
|
40
|
+
|
|
41
|
+
### Date and Time Pickers
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers@8.14.0`
|
|
44
|
+
|
|
45
|
+
- [pickers] Fixed the extra element for the disabled date picker (#19387) @Utkarsh-0304
|
|
46
|
+
- [pickers] Fix input `autoCapitalize` value for Firefox compatibility (#19285) @michelengelen
|
|
47
|
+
- [l10n] Improve Brazilian Portuguese (pt-BR) locale (#19658) @djpremier
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-date-pickers-pro@8.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
50
|
+
|
|
51
|
+
Same changes as in `@mui/x-date-pickers@8.14.0`.
|
|
52
|
+
|
|
53
|
+
### Charts
|
|
54
|
+
|
|
55
|
+
#### `@mui/x-charts@8.14.0`
|
|
56
|
+
|
|
57
|
+
- [charts] Add `pressAndDrag` pan gesture (#19779) @JCQuintas
|
|
58
|
+
- [charts] Allow `minPointers` and `maxPointers` to be configured by pointer type (#19794) @JCQuintas
|
|
59
|
+
- [charts] Correct scale domain types (#19844) @bernardobelchior
|
|
60
|
+
- [charts] Fix tooltip position when scrolling (#19857) @alexfauquette
|
|
61
|
+
- [charts] Link item highlight with keyboard navigation (#19768) @alexfauquette
|
|
62
|
+
- [charts] Refactor domain/scale selectors (#19832) @bernardobelchior
|
|
63
|
+
- [charts] Remove min/max from ordinal configuration (#19789) @alexfauquette
|
|
64
|
+
- [charts] Simplify axes filters selectors (#19833) @bernardobelchior
|
|
65
|
+
- [l10n] Improve Brazilian Portuguese (pt-BR) locale (#19658) @djpremier
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts-pro@8.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
68
|
+
|
|
69
|
+
Same changes as in `@mui/x-charts@8.14.0`.
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-charts-premium@8.14.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-charts-pro@8.14.0`.
|
|
74
|
+
|
|
75
|
+
### Tree View
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-tree-view@8.14.0`
|
|
78
|
+
|
|
79
|
+
- [tree view] Fix Tree View tooltip anchoring on overview page (#19806) @noraleonte
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-tree-view-pro@8.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
82
|
+
|
|
83
|
+
Same changes as in `@mui/x-tree-view@8.14.0`.
|
|
84
|
+
|
|
85
|
+
### Codemod
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-codemod@8.14.0`
|
|
88
|
+
|
|
89
|
+
Internal changes.
|
|
90
|
+
|
|
91
|
+
### Docs
|
|
92
|
+
|
|
93
|
+
- [docs] Add overview section for pie chart (#19672) @prakhargupta1
|
|
94
|
+
- [docs] Fix demo title knob keys (#19843) @JCQuintas
|
|
95
|
+
- [docs] Hide UI elements of unsupported features in the data source demos (#19849) @arminmeh
|
|
96
|
+
|
|
97
|
+
### Core
|
|
98
|
+
|
|
99
|
+
- [code-infra] Cleanup unused dependencies (#19788) @brijeshb42
|
|
100
|
+
- [code-infra] Fix pnpm-lock issue (#19861) @JCQuintas
|
|
101
|
+
- [code-infra] Improve publishing docs (#19404) @Janpot
|
|
102
|
+
- [code-infra] Remove tsconfig `baseUrl` (#19837) @Janpot
|
|
103
|
+
- [code-infra] Support custom npm dist tags during release (#19803) @Janpot
|
|
104
|
+
- [code-infra] Wait longer for print dialog (#19795) @JCQuintas
|
|
105
|
+
- [code-infra] Replace `lodash` with `es-toolkit` (#19853) @bernardobelchior
|
|
106
|
+
- [code-infra] Update release script PR checklist (#19785) @bernardobelchior
|
|
107
|
+
- [code-infra] Remove remaining usages of `lodash` (#19864) @bernardobelchior
|
|
108
|
+
- [docs-infra] Add `title` knob (#19792) @JCQuintas
|
|
109
|
+
- [docs-infra] Fix missing key in title knob (#19804) @JCQuintas
|
|
110
|
+
|
|
111
|
+
### Miscellaneous
|
|
112
|
+
|
|
113
|
+
- [x-telemetry] Fix transpile issues (#19761) @hasdfa
|
|
114
|
+
- [x-telemetry] Fix ref to deleted file (#19842) @JCQuintas
|
|
115
|
+
|
|
8
116
|
## 8.13.1
|
|
9
117
|
|
|
10
118
|
_Oct 1, 2025_
|
|
@@ -222,7 +330,7 @@ We'd like to extend a big thank you to the 15 contributors who made this release
|
|
|
222
330
|
|
|
223
331
|

|
|
224
332
|
|
|
225
|
-
|
|
333
|
+
👉 [🎥 Watch the full video](https://github.com/user-attachments/assets/28f1848e-dc85-4077-8756-a3e88afd4e54)
|
|
226
334
|
|
|
227
335
|
- ⌨️ Charts keyboard navigation
|
|
228
336
|
- ⚡️ Charts: Add new `renderer="svg-batch"` prop to Scatter charts that provides improved performance for large datasets
|
|
@@ -187,9 +187,9 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
187
187
|
ignoreTooltip: _propTypes.default.bool,
|
|
188
188
|
label: _propTypes.default.string,
|
|
189
189
|
labelStyle: _propTypes.default.object,
|
|
190
|
-
max: _propTypes.default.
|
|
190
|
+
max: _propTypes.default.number,
|
|
191
191
|
maxRadius: _propTypes.default.number,
|
|
192
|
-
min: _propTypes.default.
|
|
192
|
+
min: _propTypes.default.number,
|
|
193
193
|
minRadius: _propTypes.default.number,
|
|
194
194
|
offset: _propTypes.default.number,
|
|
195
195
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
@@ -251,8 +251,6 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
251
251
|
label: _propTypes.default.string,
|
|
252
252
|
labelGap: _propTypes.default.number,
|
|
253
253
|
labelStyle: _propTypes.default.object,
|
|
254
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
255
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
256
254
|
offset: _propTypes.default.number,
|
|
257
255
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
258
256
|
reverse: _propTypes.default.bool,
|
|
@@ -306,8 +304,6 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
306
304
|
label: _propTypes.default.string,
|
|
307
305
|
labelGap: _propTypes.default.number,
|
|
308
306
|
labelStyle: _propTypes.default.object,
|
|
309
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
310
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
311
307
|
offset: _propTypes.default.number,
|
|
312
308
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
313
309
|
reverse: _propTypes.default.bool,
|
|
@@ -351,8 +347,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
351
347
|
label: _propTypes.default.string,
|
|
352
348
|
labelGap: _propTypes.default.number,
|
|
353
349
|
labelStyle: _propTypes.default.object,
|
|
354
|
-
max: _propTypes.default.
|
|
355
|
-
min: _propTypes.default.
|
|
350
|
+
max: _propTypes.default.number,
|
|
351
|
+
min: _propTypes.default.number,
|
|
356
352
|
offset: _propTypes.default.number,
|
|
357
353
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
358
354
|
reverse: _propTypes.default.bool,
|
|
@@ -397,8 +393,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
397
393
|
label: _propTypes.default.string,
|
|
398
394
|
labelGap: _propTypes.default.number,
|
|
399
395
|
labelStyle: _propTypes.default.object,
|
|
400
|
-
max: _propTypes.default.
|
|
401
|
-
min: _propTypes.default.
|
|
396
|
+
max: _propTypes.default.number,
|
|
397
|
+
min: _propTypes.default.number,
|
|
402
398
|
offset: _propTypes.default.number,
|
|
403
399
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
404
400
|
reverse: _propTypes.default.bool,
|
|
@@ -442,8 +438,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
442
438
|
label: _propTypes.default.string,
|
|
443
439
|
labelGap: _propTypes.default.number,
|
|
444
440
|
labelStyle: _propTypes.default.object,
|
|
445
|
-
max: _propTypes.default.
|
|
446
|
-
min: _propTypes.default.
|
|
441
|
+
max: _propTypes.default.number,
|
|
442
|
+
min: _propTypes.default.number,
|
|
447
443
|
offset: _propTypes.default.number,
|
|
448
444
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
449
445
|
reverse: _propTypes.default.bool,
|
|
@@ -487,8 +483,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
487
483
|
label: _propTypes.default.string,
|
|
488
484
|
labelGap: _propTypes.default.number,
|
|
489
485
|
labelStyle: _propTypes.default.object,
|
|
490
|
-
max: _propTypes.default.
|
|
491
|
-
min: _propTypes.default.
|
|
486
|
+
max: _propTypes.default.number,
|
|
487
|
+
min: _propTypes.default.number,
|
|
492
488
|
offset: _propTypes.default.number,
|
|
493
489
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
494
490
|
reverse: _propTypes.default.bool,
|
|
@@ -532,8 +528,12 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
532
528
|
label: _propTypes.default.string,
|
|
533
529
|
labelGap: _propTypes.default.number,
|
|
534
530
|
labelStyle: _propTypes.default.object,
|
|
535
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
536
|
-
|
|
531
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
532
|
+
valueOf: _propTypes.default.func.isRequired
|
|
533
|
+
})]),
|
|
534
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
535
|
+
valueOf: _propTypes.default.func.isRequired
|
|
536
|
+
})]),
|
|
537
537
|
offset: _propTypes.default.number,
|
|
538
538
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
539
539
|
reverse: _propTypes.default.bool,
|
|
@@ -577,8 +577,12 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
577
577
|
label: _propTypes.default.string,
|
|
578
578
|
labelGap: _propTypes.default.number,
|
|
579
579
|
labelStyle: _propTypes.default.object,
|
|
580
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
581
|
-
|
|
580
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
581
|
+
valueOf: _propTypes.default.func.isRequired
|
|
582
|
+
})]),
|
|
583
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
584
|
+
valueOf: _propTypes.default.func.isRequired
|
|
585
|
+
})]),
|
|
582
586
|
offset: _propTypes.default.number,
|
|
583
587
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
584
588
|
reverse: _propTypes.default.bool,
|
|
@@ -622,8 +626,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
622
626
|
label: _propTypes.default.string,
|
|
623
627
|
labelGap: _propTypes.default.number,
|
|
624
628
|
labelStyle: _propTypes.default.object,
|
|
625
|
-
max: _propTypes.default.
|
|
626
|
-
min: _propTypes.default.
|
|
629
|
+
max: _propTypes.default.number,
|
|
630
|
+
min: _propTypes.default.number,
|
|
627
631
|
offset: _propTypes.default.number,
|
|
628
632
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
629
633
|
reverse: _propTypes.default.bool,
|
|
@@ -716,8 +720,6 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
716
720
|
ignoreTooltip: _propTypes.default.bool,
|
|
717
721
|
label: _propTypes.default.string,
|
|
718
722
|
labelStyle: _propTypes.default.object,
|
|
719
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
720
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
721
723
|
offset: _propTypes.default.number,
|
|
722
724
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
723
725
|
reverse: _propTypes.default.bool,
|
|
@@ -770,8 +772,6 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
770
772
|
ignoreTooltip: _propTypes.default.bool,
|
|
771
773
|
label: _propTypes.default.string,
|
|
772
774
|
labelStyle: _propTypes.default.object,
|
|
773
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
774
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
775
775
|
offset: _propTypes.default.number,
|
|
776
776
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
777
777
|
reverse: _propTypes.default.bool,
|
|
@@ -814,8 +814,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
814
814
|
ignoreTooltip: _propTypes.default.bool,
|
|
815
815
|
label: _propTypes.default.string,
|
|
816
816
|
labelStyle: _propTypes.default.object,
|
|
817
|
-
max: _propTypes.default.
|
|
818
|
-
min: _propTypes.default.
|
|
817
|
+
max: _propTypes.default.number,
|
|
818
|
+
min: _propTypes.default.number,
|
|
819
819
|
offset: _propTypes.default.number,
|
|
820
820
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
821
821
|
reverse: _propTypes.default.bool,
|
|
@@ -859,8 +859,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
859
859
|
ignoreTooltip: _propTypes.default.bool,
|
|
860
860
|
label: _propTypes.default.string,
|
|
861
861
|
labelStyle: _propTypes.default.object,
|
|
862
|
-
max: _propTypes.default.
|
|
863
|
-
min: _propTypes.default.
|
|
862
|
+
max: _propTypes.default.number,
|
|
863
|
+
min: _propTypes.default.number,
|
|
864
864
|
offset: _propTypes.default.number,
|
|
865
865
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
866
866
|
reverse: _propTypes.default.bool,
|
|
@@ -903,8 +903,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
903
903
|
ignoreTooltip: _propTypes.default.bool,
|
|
904
904
|
label: _propTypes.default.string,
|
|
905
905
|
labelStyle: _propTypes.default.object,
|
|
906
|
-
max: _propTypes.default.
|
|
907
|
-
min: _propTypes.default.
|
|
906
|
+
max: _propTypes.default.number,
|
|
907
|
+
min: _propTypes.default.number,
|
|
908
908
|
offset: _propTypes.default.number,
|
|
909
909
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
910
910
|
reverse: _propTypes.default.bool,
|
|
@@ -947,8 +947,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
947
947
|
ignoreTooltip: _propTypes.default.bool,
|
|
948
948
|
label: _propTypes.default.string,
|
|
949
949
|
labelStyle: _propTypes.default.object,
|
|
950
|
-
max: _propTypes.default.
|
|
951
|
-
min: _propTypes.default.
|
|
950
|
+
max: _propTypes.default.number,
|
|
951
|
+
min: _propTypes.default.number,
|
|
952
952
|
offset: _propTypes.default.number,
|
|
953
953
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
954
954
|
reverse: _propTypes.default.bool,
|
|
@@ -991,8 +991,12 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
991
991
|
ignoreTooltip: _propTypes.default.bool,
|
|
992
992
|
label: _propTypes.default.string,
|
|
993
993
|
labelStyle: _propTypes.default.object,
|
|
994
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
995
|
-
|
|
994
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
995
|
+
valueOf: _propTypes.default.func.isRequired
|
|
996
|
+
})]),
|
|
997
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
998
|
+
valueOf: _propTypes.default.func.isRequired
|
|
999
|
+
})]),
|
|
996
1000
|
offset: _propTypes.default.number,
|
|
997
1001
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
998
1002
|
reverse: _propTypes.default.bool,
|
|
@@ -1035,8 +1039,12 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1035
1039
|
ignoreTooltip: _propTypes.default.bool,
|
|
1036
1040
|
label: _propTypes.default.string,
|
|
1037
1041
|
labelStyle: _propTypes.default.object,
|
|
1038
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
1039
|
-
|
|
1042
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1043
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1044
|
+
})]),
|
|
1045
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1046
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1047
|
+
})]),
|
|
1040
1048
|
offset: _propTypes.default.number,
|
|
1041
1049
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
1042
1050
|
reverse: _propTypes.default.bool,
|
|
@@ -1079,8 +1087,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1079
1087
|
ignoreTooltip: _propTypes.default.bool,
|
|
1080
1088
|
label: _propTypes.default.string,
|
|
1081
1089
|
labelStyle: _propTypes.default.object,
|
|
1082
|
-
max: _propTypes.default.
|
|
1083
|
-
min: _propTypes.default.
|
|
1090
|
+
max: _propTypes.default.number,
|
|
1091
|
+
min: _propTypes.default.number,
|
|
1084
1092
|
offset: _propTypes.default.number,
|
|
1085
1093
|
position: _propTypes.default.oneOf(['bottom', 'none', 'top']),
|
|
1086
1094
|
reverse: _propTypes.default.bool,
|
|
@@ -1140,8 +1148,6 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1140
1148
|
ignoreTooltip: _propTypes.default.bool,
|
|
1141
1149
|
label: _propTypes.default.string,
|
|
1142
1150
|
labelStyle: _propTypes.default.object,
|
|
1143
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
1144
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
1145
1151
|
offset: _propTypes.default.number,
|
|
1146
1152
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1147
1153
|
reverse: _propTypes.default.bool,
|
|
@@ -1193,8 +1199,6 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1193
1199
|
ignoreTooltip: _propTypes.default.bool,
|
|
1194
1200
|
label: _propTypes.default.string,
|
|
1195
1201
|
labelStyle: _propTypes.default.object,
|
|
1196
|
-
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
1197
|
-
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
1198
1202
|
offset: _propTypes.default.number,
|
|
1199
1203
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1200
1204
|
reverse: _propTypes.default.bool,
|
|
@@ -1236,8 +1240,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1236
1240
|
ignoreTooltip: _propTypes.default.bool,
|
|
1237
1241
|
label: _propTypes.default.string,
|
|
1238
1242
|
labelStyle: _propTypes.default.object,
|
|
1239
|
-
max: _propTypes.default.
|
|
1240
|
-
min: _propTypes.default.
|
|
1243
|
+
max: _propTypes.default.number,
|
|
1244
|
+
min: _propTypes.default.number,
|
|
1241
1245
|
offset: _propTypes.default.number,
|
|
1242
1246
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1243
1247
|
reverse: _propTypes.default.bool,
|
|
@@ -1280,8 +1284,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1280
1284
|
ignoreTooltip: _propTypes.default.bool,
|
|
1281
1285
|
label: _propTypes.default.string,
|
|
1282
1286
|
labelStyle: _propTypes.default.object,
|
|
1283
|
-
max: _propTypes.default.
|
|
1284
|
-
min: _propTypes.default.
|
|
1287
|
+
max: _propTypes.default.number,
|
|
1288
|
+
min: _propTypes.default.number,
|
|
1285
1289
|
offset: _propTypes.default.number,
|
|
1286
1290
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1287
1291
|
reverse: _propTypes.default.bool,
|
|
@@ -1323,8 +1327,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1323
1327
|
ignoreTooltip: _propTypes.default.bool,
|
|
1324
1328
|
label: _propTypes.default.string,
|
|
1325
1329
|
labelStyle: _propTypes.default.object,
|
|
1326
|
-
max: _propTypes.default.
|
|
1327
|
-
min: _propTypes.default.
|
|
1330
|
+
max: _propTypes.default.number,
|
|
1331
|
+
min: _propTypes.default.number,
|
|
1328
1332
|
offset: _propTypes.default.number,
|
|
1329
1333
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1330
1334
|
reverse: _propTypes.default.bool,
|
|
@@ -1366,8 +1370,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1366
1370
|
ignoreTooltip: _propTypes.default.bool,
|
|
1367
1371
|
label: _propTypes.default.string,
|
|
1368
1372
|
labelStyle: _propTypes.default.object,
|
|
1369
|
-
max: _propTypes.default.
|
|
1370
|
-
min: _propTypes.default.
|
|
1373
|
+
max: _propTypes.default.number,
|
|
1374
|
+
min: _propTypes.default.number,
|
|
1371
1375
|
offset: _propTypes.default.number,
|
|
1372
1376
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1373
1377
|
reverse: _propTypes.default.bool,
|
|
@@ -1409,8 +1413,12 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1409
1413
|
ignoreTooltip: _propTypes.default.bool,
|
|
1410
1414
|
label: _propTypes.default.string,
|
|
1411
1415
|
labelStyle: _propTypes.default.object,
|
|
1412
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
1413
|
-
|
|
1416
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1417
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1418
|
+
})]),
|
|
1419
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1420
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1421
|
+
})]),
|
|
1414
1422
|
offset: _propTypes.default.number,
|
|
1415
1423
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1416
1424
|
reverse: _propTypes.default.bool,
|
|
@@ -1452,8 +1460,12 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1452
1460
|
ignoreTooltip: _propTypes.default.bool,
|
|
1453
1461
|
label: _propTypes.default.string,
|
|
1454
1462
|
labelStyle: _propTypes.default.object,
|
|
1455
|
-
max: _propTypes.default.oneOfType([_propTypes.default.
|
|
1456
|
-
|
|
1463
|
+
max: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1464
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1465
|
+
})]),
|
|
1466
|
+
min: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
|
|
1467
|
+
valueOf: _propTypes.default.func.isRequired
|
|
1468
|
+
})]),
|
|
1457
1469
|
offset: _propTypes.default.number,
|
|
1458
1470
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1459
1471
|
reverse: _propTypes.default.bool,
|
|
@@ -1495,8 +1507,8 @@ process.env.NODE_ENV !== "production" ? ChartContainer.propTypes = {
|
|
|
1495
1507
|
ignoreTooltip: _propTypes.default.bool,
|
|
1496
1508
|
label: _propTypes.default.string,
|
|
1497
1509
|
labelStyle: _propTypes.default.object,
|
|
1498
|
-
max: _propTypes.default.
|
|
1499
|
-
min: _propTypes.default.
|
|
1510
|
+
max: _propTypes.default.number,
|
|
1511
|
+
min: _propTypes.default.number,
|
|
1500
1512
|
offset: _propTypes.default.number,
|
|
1501
1513
|
position: _propTypes.default.oneOf(['left', 'none', 'right']),
|
|
1502
1514
|
reverse: _propTypes.default.bool,
|
|
@@ -87,9 +87,11 @@ function ChartsTooltipContainer(inProps) {
|
|
|
87
87
|
};
|
|
88
88
|
element.addEventListener('pointerdown', handlePointerEvent);
|
|
89
89
|
element.addEventListener('pointermove', handlePointerEvent);
|
|
90
|
+
element.addEventListener('pointerenter', handlePointerEvent);
|
|
90
91
|
return () => {
|
|
91
92
|
element.removeEventListener('pointerdown', handlePointerEvent);
|
|
92
93
|
element.removeEventListener('pointermove', handlePointerEvent);
|
|
94
|
+
element.removeEventListener('pointerenter', handlePointerEvent);
|
|
93
95
|
update.clear();
|
|
94
96
|
};
|
|
95
97
|
}, [svgRef, positionRef]);
|