@mui/x-charts-pro 9.0.0-alpha.4 → 9.0.0-beta.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/BarChartPro/BarChartPro.js +19 -28
- package/BarChartPro/BarChartPro.mjs +19 -28
- package/CHANGELOG.md +107 -1
- package/ChartsDataProviderPro/ChartsDataProviderPro.js +2 -2
- package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +2 -2
- package/FunnelChart/FunnelChart.js +8 -8
- package/FunnelChart/FunnelChart.mjs +8 -8
- package/FunnelChart/FunnelPlot.d.mts +4 -0
- package/FunnelChart/FunnelPlot.d.ts +4 -0
- package/FunnelChart/FunnelPlot.js +4 -2
- package/FunnelChart/FunnelPlot.mjs +4 -2
- package/FunnelChart/categoryAxis.types.d.mts +2 -1
- package/FunnelChart/categoryAxis.types.d.ts +2 -1
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.mts +2 -1
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +2 -1
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.js +14 -5
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.mjs +15 -6
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.js +6 -4
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.mjs +7 -5
- package/FunnelChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/FunnelChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/FunnelChart/seriesConfig/descriptionGetter.js +26 -0
- package/FunnelChart/seriesConfig/descriptionGetter.mjs +20 -0
- package/FunnelChart/seriesConfig/index.js +2 -0
- package/FunnelChart/seriesConfig/index.mjs +2 -0
- package/Heatmap/Heatmap.js +2 -2
- package/Heatmap/Heatmap.mjs +2 -2
- package/Heatmap/Heatmap.types.d.mts +4 -0
- package/Heatmap/Heatmap.types.d.ts +4 -0
- package/Heatmap/HeatmapItem.js +2 -16
- package/Heatmap/HeatmapItem.mjs +2 -16
- package/Heatmap/HeatmapPlot.js +4 -0
- package/Heatmap/HeatmapPlot.mjs +4 -0
- package/Heatmap/HeatmapSVGPlot.js +35 -42
- package/Heatmap/HeatmapSVGPlot.mjs +36 -44
- package/Heatmap/seriesConfig/descriptionGetter.d.mts +3 -0
- package/Heatmap/seriesConfig/descriptionGetter.d.ts +3 -0
- package/Heatmap/seriesConfig/descriptionGetter.js +39 -0
- package/Heatmap/seriesConfig/descriptionGetter.mjs +33 -0
- package/Heatmap/seriesConfig/index.js +2 -0
- package/Heatmap/seriesConfig/index.mjs +2 -0
- package/LineChartPro/LineChartPro.js +21 -19
- package/LineChartPro/LineChartPro.mjs +21 -19
- package/SankeyChart/SankeyPlot.d.mts +4 -0
- package/SankeyChart/SankeyPlot.d.ts +4 -0
- package/SankeyChart/SankeyPlot.js +3 -1
- package/SankeyChart/SankeyPlot.mjs +3 -1
- package/SankeyChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/SankeyChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/SankeyChart/seriesConfig/descriptionGetter.js +48 -0
- package/SankeyChart/seriesConfig/descriptionGetter.mjs +42 -0
- package/SankeyChart/seriesConfig/index.js +2 -0
- package/SankeyChart/seriesConfig/index.mjs +2 -0
- package/ScatterChartPro/ScatterChartPro.js +18 -18
- package/ScatterChartPro/ScatterChartPro.mjs +18 -18
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +129 -129
- package/typeOverloads/modules.d.mts +17 -1
- package/typeOverloads/modules.d.ts +17 -1
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.d.mts +0 -2
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.d.ts +0 -2
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.js +0 -18
- package/Heatmap/shouldRegisterPointerInteractionsGlobally.mjs +0 -13
|
@@ -120,15 +120,6 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
120
120
|
x: _propTypes.default.oneOf(['band', 'line', 'none']),
|
|
121
121
|
y: _propTypes.default.oneOf(['band', 'line', 'none'])
|
|
122
122
|
}),
|
|
123
|
-
/**
|
|
124
|
-
* @deprecated Use `barLabel` in the chart series instead.
|
|
125
|
-
* If provided, the function will be used to format the label of the bar.
|
|
126
|
-
* It can be set to 'value' to display the current value.
|
|
127
|
-
* @param {BarItem} item The item to format.
|
|
128
|
-
* @param {BarLabelContext} context data about the bar.
|
|
129
|
-
* @returns {string} The formatted label.
|
|
130
|
-
*/
|
|
131
|
-
barLabel: _propTypes.default.oneOfType([_propTypes.default.oneOf(['value']), _propTypes.default.func]),
|
|
132
123
|
/**
|
|
133
124
|
* Defines the border radius of the bar element.
|
|
134
125
|
*/
|
|
@@ -333,7 +324,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
333
324
|
onHighlightedAxisChange: _propTypes.default.func,
|
|
334
325
|
/**
|
|
335
326
|
* Callback fired when a bar item is clicked.
|
|
336
|
-
* @param {
|
|
327
|
+
* @param {MouseEvent} event The event source of the callback.
|
|
337
328
|
* @param {BarItemIdentifier} barItemIdentifier The bar item identifier.
|
|
338
329
|
*/
|
|
339
330
|
onItemClick: _propTypes.default.func,
|
|
@@ -458,7 +449,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
458
449
|
tickLabelStyle: _propTypes.default.object,
|
|
459
450
|
tickSize: _propTypes.default.number
|
|
460
451
|
})),
|
|
461
|
-
height: _propTypes.default.number,
|
|
452
|
+
height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
462
453
|
hideTooltip: _propTypes.default.bool,
|
|
463
454
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
464
455
|
ignoreTooltip: _propTypes.default.bool,
|
|
@@ -532,7 +523,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
532
523
|
tickLabelStyle: _propTypes.default.object,
|
|
533
524
|
tickSize: _propTypes.default.number
|
|
534
525
|
})),
|
|
535
|
-
height: _propTypes.default.number,
|
|
526
|
+
height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
536
527
|
hideTooltip: _propTypes.default.bool,
|
|
537
528
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
538
529
|
ignoreTooltip: _propTypes.default.bool,
|
|
@@ -596,7 +587,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
596
587
|
disableLine: _propTypes.default.bool,
|
|
597
588
|
disableTicks: _propTypes.default.bool,
|
|
598
589
|
domainLimit: _propTypes.default.oneOfType([_propTypes.default.oneOf(['nice', 'strict']), _propTypes.default.func]),
|
|
599
|
-
height: _propTypes.default.number,
|
|
590
|
+
height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
600
591
|
hideTooltip: _propTypes.default.bool,
|
|
601
592
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
602
593
|
ignoreTooltip: _propTypes.default.bool,
|
|
@@ -658,7 +649,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
658
649
|
disableLine: _propTypes.default.bool,
|
|
659
650
|
disableTicks: _propTypes.default.bool,
|
|
660
651
|
domainLimit: _propTypes.default.oneOfType([_propTypes.default.oneOf(['nice', 'strict']), _propTypes.default.func]),
|
|
661
|
-
height: _propTypes.default.number,
|
|
652
|
+
height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
662
653
|
hideTooltip: _propTypes.default.bool,
|
|
663
654
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
664
655
|
ignoreTooltip: _propTypes.default.bool,
|
|
@@ -719,7 +710,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
719
710
|
disableLine: _propTypes.default.bool,
|
|
720
711
|
disableTicks: _propTypes.default.bool,
|
|
721
712
|
domainLimit: _propTypes.default.oneOfType([_propTypes.default.oneOf(['nice', 'strict']), _propTypes.default.func]),
|
|
722
|
-
height: _propTypes.default.number,
|
|
713
|
+
height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
723
714
|
hideTooltip: _propTypes.default.bool,
|
|
724
715
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
725
716
|
ignoreTooltip: _propTypes.default.bool,
|
|
@@ -780,7 +771,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
780
771
|
disableLine: _propTypes.default.bool,
|
|
781
772
|
disableTicks: _propTypes.default.bool,
|
|
782
773
|
domainLimit: _propTypes.default.oneOfType([_propTypes.default.oneOf(['nice', 'strict']), _propTypes.default.func]),
|
|
783
|
-
height: _propTypes.default.number,
|
|
774
|
+
height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
784
775
|
hideTooltip: _propTypes.default.bool,
|
|
785
776
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
786
777
|
ignoreTooltip: _propTypes.default.bool,
|
|
@@ -841,7 +832,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
841
832
|
disableLine: _propTypes.default.bool,
|
|
842
833
|
disableTicks: _propTypes.default.bool,
|
|
843
834
|
domainLimit: _propTypes.default.oneOfType([_propTypes.default.oneOf(['nice', 'strict']), _propTypes.default.func]),
|
|
844
|
-
height: _propTypes.default.number,
|
|
835
|
+
height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
845
836
|
hideTooltip: _propTypes.default.bool,
|
|
846
837
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
847
838
|
ignoreTooltip: _propTypes.default.bool,
|
|
@@ -906,7 +897,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
906
897
|
disableLine: _propTypes.default.bool,
|
|
907
898
|
disableTicks: _propTypes.default.bool,
|
|
908
899
|
domainLimit: _propTypes.default.oneOfType([_propTypes.default.oneOf(['nice', 'strict']), _propTypes.default.func]),
|
|
909
|
-
height: _propTypes.default.number,
|
|
900
|
+
height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
910
901
|
hideTooltip: _propTypes.default.bool,
|
|
911
902
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
912
903
|
ignoreTooltip: _propTypes.default.bool,
|
|
@@ -971,7 +962,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
971
962
|
disableLine: _propTypes.default.bool,
|
|
972
963
|
disableTicks: _propTypes.default.bool,
|
|
973
964
|
domainLimit: _propTypes.default.oneOfType([_propTypes.default.oneOf(['nice', 'strict']), _propTypes.default.func]),
|
|
974
|
-
height: _propTypes.default.number,
|
|
965
|
+
height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
975
966
|
hideTooltip: _propTypes.default.bool,
|
|
976
967
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
977
968
|
ignoreTooltip: _propTypes.default.bool,
|
|
@@ -1078,7 +1069,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1078
1069
|
tickSize: _propTypes.default.number,
|
|
1079
1070
|
tickSpacing: _propTypes.default.number,
|
|
1080
1071
|
valueFormatter: _propTypes.default.func,
|
|
1081
|
-
width: _propTypes.default.number,
|
|
1072
|
+
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
1082
1073
|
zoom: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1083
1074
|
filterMode: _propTypes.default.oneOf(['discard', 'keep']),
|
|
1084
1075
|
maxEnd: _propTypes.default.number,
|
|
@@ -1151,7 +1142,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1151
1142
|
tickSize: _propTypes.default.number,
|
|
1152
1143
|
tickSpacing: _propTypes.default.number,
|
|
1153
1144
|
valueFormatter: _propTypes.default.func,
|
|
1154
|
-
width: _propTypes.default.number,
|
|
1145
|
+
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
1155
1146
|
zoom: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1156
1147
|
filterMode: _propTypes.default.oneOf(['discard', 'keep']),
|
|
1157
1148
|
maxEnd: _propTypes.default.number,
|
|
@@ -1211,7 +1202,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1211
1202
|
tickSize: _propTypes.default.number,
|
|
1212
1203
|
tickSpacing: _propTypes.default.number,
|
|
1213
1204
|
valueFormatter: _propTypes.default.func,
|
|
1214
|
-
width: _propTypes.default.number,
|
|
1205
|
+
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
1215
1206
|
zoom: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1216
1207
|
filterMode: _propTypes.default.oneOf(['discard', 'keep']),
|
|
1217
1208
|
maxEnd: _propTypes.default.number,
|
|
@@ -1272,7 +1263,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1272
1263
|
tickSize: _propTypes.default.number,
|
|
1273
1264
|
tickSpacing: _propTypes.default.number,
|
|
1274
1265
|
valueFormatter: _propTypes.default.func,
|
|
1275
|
-
width: _propTypes.default.number,
|
|
1266
|
+
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
1276
1267
|
zoom: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1277
1268
|
filterMode: _propTypes.default.oneOf(['discard', 'keep']),
|
|
1278
1269
|
maxEnd: _propTypes.default.number,
|
|
@@ -1332,7 +1323,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1332
1323
|
tickSize: _propTypes.default.number,
|
|
1333
1324
|
tickSpacing: _propTypes.default.number,
|
|
1334
1325
|
valueFormatter: _propTypes.default.func,
|
|
1335
|
-
width: _propTypes.default.number,
|
|
1326
|
+
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
1336
1327
|
zoom: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1337
1328
|
filterMode: _propTypes.default.oneOf(['discard', 'keep']),
|
|
1338
1329
|
maxEnd: _propTypes.default.number,
|
|
@@ -1392,7 +1383,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1392
1383
|
tickSize: _propTypes.default.number,
|
|
1393
1384
|
tickSpacing: _propTypes.default.number,
|
|
1394
1385
|
valueFormatter: _propTypes.default.func,
|
|
1395
|
-
width: _propTypes.default.number,
|
|
1386
|
+
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
1396
1387
|
zoom: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1397
1388
|
filterMode: _propTypes.default.oneOf(['discard', 'keep']),
|
|
1398
1389
|
maxEnd: _propTypes.default.number,
|
|
@@ -1456,7 +1447,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1456
1447
|
tickSize: _propTypes.default.number,
|
|
1457
1448
|
tickSpacing: _propTypes.default.number,
|
|
1458
1449
|
valueFormatter: _propTypes.default.func,
|
|
1459
|
-
width: _propTypes.default.number,
|
|
1450
|
+
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
1460
1451
|
zoom: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1461
1452
|
filterMode: _propTypes.default.oneOf(['discard', 'keep']),
|
|
1462
1453
|
maxEnd: _propTypes.default.number,
|
|
@@ -1520,7 +1511,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1520
1511
|
tickSize: _propTypes.default.number,
|
|
1521
1512
|
tickSpacing: _propTypes.default.number,
|
|
1522
1513
|
valueFormatter: _propTypes.default.func,
|
|
1523
|
-
width: _propTypes.default.number,
|
|
1514
|
+
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
1524
1515
|
zoom: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1525
1516
|
filterMode: _propTypes.default.oneOf(['discard', 'keep']),
|
|
1526
1517
|
maxEnd: _propTypes.default.number,
|
|
@@ -1580,7 +1571,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1580
1571
|
tickSize: _propTypes.default.number,
|
|
1581
1572
|
tickSpacing: _propTypes.default.number,
|
|
1582
1573
|
valueFormatter: _propTypes.default.func,
|
|
1583
|
-
width: _propTypes.default.number,
|
|
1574
|
+
width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
1584
1575
|
zoom: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1585
1576
|
filterMode: _propTypes.default.oneOf(['discard', 'keep']),
|
|
1586
1577
|
maxEnd: _propTypes.default.number,
|
|
@@ -113,15 +113,6 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
113
113
|
x: PropTypes.oneOf(['band', 'line', 'none']),
|
|
114
114
|
y: PropTypes.oneOf(['band', 'line', 'none'])
|
|
115
115
|
}),
|
|
116
|
-
/**
|
|
117
|
-
* @deprecated Use `barLabel` in the chart series instead.
|
|
118
|
-
* If provided, the function will be used to format the label of the bar.
|
|
119
|
-
* It can be set to 'value' to display the current value.
|
|
120
|
-
* @param {BarItem} item The item to format.
|
|
121
|
-
* @param {BarLabelContext} context data about the bar.
|
|
122
|
-
* @returns {string} The formatted label.
|
|
123
|
-
*/
|
|
124
|
-
barLabel: PropTypes.oneOfType([PropTypes.oneOf(['value']), PropTypes.func]),
|
|
125
116
|
/**
|
|
126
117
|
* Defines the border radius of the bar element.
|
|
127
118
|
*/
|
|
@@ -326,7 +317,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
326
317
|
onHighlightedAxisChange: PropTypes.func,
|
|
327
318
|
/**
|
|
328
319
|
* Callback fired when a bar item is clicked.
|
|
329
|
-
* @param {
|
|
320
|
+
* @param {MouseEvent} event The event source of the callback.
|
|
330
321
|
* @param {BarItemIdentifier} barItemIdentifier The bar item identifier.
|
|
331
322
|
*/
|
|
332
323
|
onItemClick: PropTypes.func,
|
|
@@ -451,7 +442,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
451
442
|
tickLabelStyle: PropTypes.object,
|
|
452
443
|
tickSize: PropTypes.number
|
|
453
444
|
})),
|
|
454
|
-
height: PropTypes.number,
|
|
445
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
455
446
|
hideTooltip: PropTypes.bool,
|
|
456
447
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
457
448
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -525,7 +516,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
525
516
|
tickLabelStyle: PropTypes.object,
|
|
526
517
|
tickSize: PropTypes.number
|
|
527
518
|
})),
|
|
528
|
-
height: PropTypes.number,
|
|
519
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
529
520
|
hideTooltip: PropTypes.bool,
|
|
530
521
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
531
522
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -589,7 +580,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
589
580
|
disableLine: PropTypes.bool,
|
|
590
581
|
disableTicks: PropTypes.bool,
|
|
591
582
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
592
|
-
height: PropTypes.number,
|
|
583
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
593
584
|
hideTooltip: PropTypes.bool,
|
|
594
585
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
595
586
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -651,7 +642,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
651
642
|
disableLine: PropTypes.bool,
|
|
652
643
|
disableTicks: PropTypes.bool,
|
|
653
644
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
654
|
-
height: PropTypes.number,
|
|
645
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
655
646
|
hideTooltip: PropTypes.bool,
|
|
656
647
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
657
648
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -712,7 +703,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
712
703
|
disableLine: PropTypes.bool,
|
|
713
704
|
disableTicks: PropTypes.bool,
|
|
714
705
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
715
|
-
height: PropTypes.number,
|
|
706
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
716
707
|
hideTooltip: PropTypes.bool,
|
|
717
708
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
718
709
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -773,7 +764,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
773
764
|
disableLine: PropTypes.bool,
|
|
774
765
|
disableTicks: PropTypes.bool,
|
|
775
766
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
776
|
-
height: PropTypes.number,
|
|
767
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
777
768
|
hideTooltip: PropTypes.bool,
|
|
778
769
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
779
770
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -834,7 +825,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
834
825
|
disableLine: PropTypes.bool,
|
|
835
826
|
disableTicks: PropTypes.bool,
|
|
836
827
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
837
|
-
height: PropTypes.number,
|
|
828
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
838
829
|
hideTooltip: PropTypes.bool,
|
|
839
830
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
840
831
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -899,7 +890,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
899
890
|
disableLine: PropTypes.bool,
|
|
900
891
|
disableTicks: PropTypes.bool,
|
|
901
892
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
902
|
-
height: PropTypes.number,
|
|
893
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
903
894
|
hideTooltip: PropTypes.bool,
|
|
904
895
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
905
896
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -964,7 +955,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
964
955
|
disableLine: PropTypes.bool,
|
|
965
956
|
disableTicks: PropTypes.bool,
|
|
966
957
|
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
967
|
-
height: PropTypes.number,
|
|
958
|
+
height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
968
959
|
hideTooltip: PropTypes.bool,
|
|
969
960
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
970
961
|
ignoreTooltip: PropTypes.bool,
|
|
@@ -1071,7 +1062,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1071
1062
|
tickSize: PropTypes.number,
|
|
1072
1063
|
tickSpacing: PropTypes.number,
|
|
1073
1064
|
valueFormatter: PropTypes.func,
|
|
1074
|
-
width: PropTypes.number,
|
|
1065
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1075
1066
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1076
1067
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1077
1068
|
maxEnd: PropTypes.number,
|
|
@@ -1144,7 +1135,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1144
1135
|
tickSize: PropTypes.number,
|
|
1145
1136
|
tickSpacing: PropTypes.number,
|
|
1146
1137
|
valueFormatter: PropTypes.func,
|
|
1147
|
-
width: PropTypes.number,
|
|
1138
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1148
1139
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1149
1140
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1150
1141
|
maxEnd: PropTypes.number,
|
|
@@ -1204,7 +1195,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1204
1195
|
tickSize: PropTypes.number,
|
|
1205
1196
|
tickSpacing: PropTypes.number,
|
|
1206
1197
|
valueFormatter: PropTypes.func,
|
|
1207
|
-
width: PropTypes.number,
|
|
1198
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1208
1199
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1209
1200
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1210
1201
|
maxEnd: PropTypes.number,
|
|
@@ -1265,7 +1256,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1265
1256
|
tickSize: PropTypes.number,
|
|
1266
1257
|
tickSpacing: PropTypes.number,
|
|
1267
1258
|
valueFormatter: PropTypes.func,
|
|
1268
|
-
width: PropTypes.number,
|
|
1259
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1269
1260
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1270
1261
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1271
1262
|
maxEnd: PropTypes.number,
|
|
@@ -1325,7 +1316,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1325
1316
|
tickSize: PropTypes.number,
|
|
1326
1317
|
tickSpacing: PropTypes.number,
|
|
1327
1318
|
valueFormatter: PropTypes.func,
|
|
1328
|
-
width: PropTypes.number,
|
|
1319
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1329
1320
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1330
1321
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1331
1322
|
maxEnd: PropTypes.number,
|
|
@@ -1385,7 +1376,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1385
1376
|
tickSize: PropTypes.number,
|
|
1386
1377
|
tickSpacing: PropTypes.number,
|
|
1387
1378
|
valueFormatter: PropTypes.func,
|
|
1388
|
-
width: PropTypes.number,
|
|
1379
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1389
1380
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1390
1381
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1391
1382
|
maxEnd: PropTypes.number,
|
|
@@ -1449,7 +1440,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1449
1440
|
tickSize: PropTypes.number,
|
|
1450
1441
|
tickSpacing: PropTypes.number,
|
|
1451
1442
|
valueFormatter: PropTypes.func,
|
|
1452
|
-
width: PropTypes.number,
|
|
1443
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1453
1444
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1454
1445
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1455
1446
|
maxEnd: PropTypes.number,
|
|
@@ -1513,7 +1504,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1513
1504
|
tickSize: PropTypes.number,
|
|
1514
1505
|
tickSpacing: PropTypes.number,
|
|
1515
1506
|
valueFormatter: PropTypes.func,
|
|
1516
|
-
width: PropTypes.number,
|
|
1507
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1517
1508
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1518
1509
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1519
1510
|
maxEnd: PropTypes.number,
|
|
@@ -1573,7 +1564,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
1573
1564
|
tickSize: PropTypes.number,
|
|
1574
1565
|
tickSpacing: PropTypes.number,
|
|
1575
1566
|
valueFormatter: PropTypes.func,
|
|
1576
|
-
width: PropTypes.number,
|
|
1567
|
+
width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
1577
1568
|
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
1578
1569
|
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
1579
1570
|
maxEnd: PropTypes.number,
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,111 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-beta.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v9.0.0-alpha.4..master -->
|
|
6
|
+
|
|
7
|
+
_Mar 27, 2026_
|
|
8
|
+
|
|
9
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🔊 New Charts voiceover component for improved screen reader support
|
|
12
|
+
- ⌨️ Charts keyboard navigation improvements: axis tooltip now shows when navigating with the keyboard
|
|
13
|
+
- 📊 Charts axes now can be set to automatically resize to fit their content
|
|
14
|
+
- 📝 New `rowCheckbox` slot in Data Grid for easier checkbox column customization
|
|
15
|
+
- ⚡️ `fetchRows()` API in Data Grid Pro now defaults `start` and `end` based on scroll position with lazy loading
|
|
16
|
+
- 🐞 Bugfixes and internal improvements
|
|
17
|
+
|
|
18
|
+
The following team members contributed to this release:
|
|
19
|
+
@aemartos, @alexfauquette, @arminmeh, @cherniavskii, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes
|
|
20
|
+
|
|
21
|
+
### Data Grid
|
|
22
|
+
|
|
23
|
+
#### `@mui/x-data-grid@9.0.0-beta.0`
|
|
24
|
+
|
|
25
|
+
- [DataGrid] Add `rowCheckbox` slot for easier customization (#21797) @michelengelen
|
|
26
|
+
- [DataGrid] Prevent repeated `hasScrollbar` state updates (#21820) @arminmeh
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
29
|
+
|
|
30
|
+
Same changes as in `@mui/x-data-grid@9.0.0-beta.0`, plus:
|
|
31
|
+
|
|
32
|
+
- [DataGridPro] `fetchRows()` API's default `start` and `end` params based on scroll position with lazy loading (#21742) @arminmeh
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-premium@9.0.0-beta.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-beta.0`.
|
|
37
|
+
|
|
38
|
+
### Date and Time Pickers
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers@9.0.0-beta.0`
|
|
41
|
+
|
|
42
|
+
Internal changes.
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-date-pickers-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
45
|
+
|
|
46
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-beta.0`.
|
|
47
|
+
|
|
48
|
+
### Charts
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts@9.0.0-beta.0`
|
|
51
|
+
|
|
52
|
+
- [charts] Add `className` prop to Pro chart plot components (#21793) @JCQuintas
|
|
53
|
+
- [charts] Add experimental position-based pointer interaction for line series (#21809) @JCQuintas
|
|
54
|
+
- [charts] Add l10n to the bar accessibility (#21815) @alexfauquette
|
|
55
|
+
- [charts] Add localization for the basic charts (#21822) @alexfauquette
|
|
56
|
+
- [charts] Add voiceover component (#21344) @alexfauquette
|
|
57
|
+
- [charts] Allow axes to automatically resize to content (#21087) @JCQuintas
|
|
58
|
+
- [charts] Document multiple use-cases for references (#21768) @alexfauquette
|
|
59
|
+
- [charts] Remove compatibility layer for React vs native events (#21780) @JCQuintas
|
|
60
|
+
- [charts] Remove deprecated `barLabel` props (#21783) @alexfauquette
|
|
61
|
+
- [charts] Show axis tooltip when navigating with keyboard (#21689) @Copilot
|
|
62
|
+
|
|
63
|
+
#### `@mui/x-charts-pro@9.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
64
|
+
|
|
65
|
+
Same changes as in `@mui/x-charts@9.0.0-beta.0`.
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts-premium@9.0.0-beta.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
68
|
+
|
|
69
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-beta.0`.
|
|
70
|
+
|
|
71
|
+
### Tree View
|
|
72
|
+
|
|
73
|
+
#### `@mui/x-tree-view@9.0.0-alpha.4`
|
|
74
|
+
|
|
75
|
+
Internal changes.
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
78
|
+
|
|
79
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.4`.
|
|
80
|
+
|
|
81
|
+
### Codemod
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-codemod@9.0.0-alpha.4`
|
|
84
|
+
|
|
85
|
+
Internal changes.
|
|
86
|
+
|
|
87
|
+
### Docs
|
|
88
|
+
|
|
89
|
+
- [docs] Document how to customize voiceover announcement (#21833) @alexfauquette
|
|
90
|
+
- [docs] Remove Discord mention from docs (#21855) @mapache-salvaje
|
|
91
|
+
- [docs] Remove stabilized experimental feature from demo (#21869) @JCQuintas
|
|
92
|
+
- [docs] Update telemetry guide to reflect pseudonymous data collection and license compliance (#21812) @aemartos
|
|
93
|
+
- [docs] Revise the Sparkline doc (#21614) @mapache-salvaje
|
|
94
|
+
- [docs] Revise the Gauge doc (#21673) @mapache-salvaje
|
|
95
|
+
- [docs] Revise the Heatmap doc (#21676) @mapache-salvaje
|
|
96
|
+
|
|
97
|
+
### Core
|
|
98
|
+
|
|
99
|
+
- [code-infra] Remove unused deps and unify es-toolkit via catalog (#21840) @Janpot
|
|
100
|
+
- [code-infra] Update @mui/internal-bundle-size-checker to canary.68 (#21836) @Janpot
|
|
101
|
+
- [code-infra] Update next (#21837) @Janpot
|
|
102
|
+
- [internal] Remove headless data grid packages (#21843) @cherniavskii
|
|
103
|
+
|
|
104
|
+
### Miscellaneous
|
|
105
|
+
|
|
106
|
+
- Add @romgrk to CODEOWNERS for `x-virtualizer` and `x-internals` (#21819) @Copilot
|
|
107
|
+
- [x-license] add 2022 plan version (#21814) @aemartos
|
|
108
|
+
|
|
3
109
|
## 9.0.0-alpha.4
|
|
4
110
|
|
|
5
111
|
_Mar 19, 2026_
|
|
@@ -59,7 +165,7 @@ Same changes as in `@mui/x-date-pickers@9.0.0-alpha.4`.
|
|
|
59
165
|
- [charts] Remove deprecated `useMouseTracker()` (#21787) @alexfauquette
|
|
60
166
|
- [charts] Remove deprecated classes (#21775) @alexfauquette
|
|
61
167
|
- [charts] Remove deprecated props from PieArcLabel animation (#21789) @alexfauquette
|
|
62
|
-
- [charts] Remove get
|
|
168
|
+
- [charts] Remove get\*UtilityClass from public exports (#21769) @JCQuintas
|
|
63
169
|
- [charts] Remove the deprecated `disableHover` property (#21785) @alexfauquette
|
|
64
170
|
- [charts] Remove the deprecated `message` prop (#21784) @alexfauquette
|
|
65
171
|
- [charts] Remove deprecated props about voronoi (#21796) @alexfauquette
|
|
@@ -18,8 +18,8 @@ var _useChartsDataProviderProProps = require("./useChartsDataProviderProProps");
|
|
|
18
18
|
var _ChartsWatermark = require("../internals/ChartsWatermark");
|
|
19
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
20
|
const packageInfo = {
|
|
21
|
-
releaseDate: "
|
|
22
|
-
version: "9.0.0-
|
|
21
|
+
releaseDate: "MTc3NDU2OTYwMDAwMA==",
|
|
22
|
+
version: "9.0.0-beta.0",
|
|
23
23
|
name: 'x-charts-pro'
|
|
24
24
|
};
|
|
25
25
|
const defaultSeriesConfigPro = exports.defaultSeriesConfigPro = _internals.defaultSeriesConfig;
|
|
@@ -11,8 +11,8 @@ import { useChartsDataProviderProProps } from "./useChartsDataProviderProProps.m
|
|
|
11
11
|
import { ChartsWatermark } from "../internals/ChartsWatermark.mjs";
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
const packageInfo = {
|
|
14
|
-
releaseDate: "
|
|
15
|
-
version: "9.0.0-
|
|
14
|
+
releaseDate: "MTc3NDU2OTYwMDAwMA==",
|
|
15
|
+
version: "9.0.0-beta.0",
|
|
16
16
|
name: 'x-charts-pro'
|
|
17
17
|
};
|
|
18
18
|
export const defaultSeriesConfigPro = defaultSeriesConfig;
|
|
@@ -97,7 +97,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
97
97
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
98
98
|
position: _propTypes.default.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
99
99
|
scaleType: _propTypes.default.oneOf(['band']),
|
|
100
|
-
size: _propTypes.default.number,
|
|
100
|
+
size: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
101
101
|
tickLabelStyle: _propTypes.default.object,
|
|
102
102
|
tickSize: _propTypes.default.number
|
|
103
103
|
}), _propTypes.default.shape({
|
|
@@ -107,7 +107,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
107
107
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
108
108
|
position: _propTypes.default.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
109
109
|
scaleType: _propTypes.default.oneOf(['log']),
|
|
110
|
-
size: _propTypes.default.number,
|
|
110
|
+
size: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
111
111
|
tickLabelStyle: _propTypes.default.object,
|
|
112
112
|
tickSize: _propTypes.default.number
|
|
113
113
|
}), _propTypes.default.shape({
|
|
@@ -117,7 +117,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
117
117
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
118
118
|
position: _propTypes.default.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
119
119
|
scaleType: _propTypes.default.oneOf(['symlog']),
|
|
120
|
-
size: _propTypes.default.number,
|
|
120
|
+
size: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
121
121
|
tickLabelStyle: _propTypes.default.object,
|
|
122
122
|
tickSize: _propTypes.default.number
|
|
123
123
|
}), _propTypes.default.shape({
|
|
@@ -127,7 +127,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
127
127
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
128
128
|
position: _propTypes.default.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
129
129
|
scaleType: _propTypes.default.oneOf(['pow']),
|
|
130
|
-
size: _propTypes.default.number,
|
|
130
|
+
size: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
131
131
|
tickLabelStyle: _propTypes.default.object,
|
|
132
132
|
tickSize: _propTypes.default.number
|
|
133
133
|
}), _propTypes.default.shape({
|
|
@@ -137,7 +137,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
137
137
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
138
138
|
position: _propTypes.default.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
139
139
|
scaleType: _propTypes.default.oneOf(['sqrt']),
|
|
140
|
-
size: _propTypes.default.number,
|
|
140
|
+
size: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
141
141
|
tickLabelStyle: _propTypes.default.object,
|
|
142
142
|
tickSize: _propTypes.default.number
|
|
143
143
|
}), _propTypes.default.shape({
|
|
@@ -147,7 +147,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
147
147
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
148
148
|
position: _propTypes.default.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
149
149
|
scaleType: _propTypes.default.oneOf(['time']),
|
|
150
|
-
size: _propTypes.default.number,
|
|
150
|
+
size: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
151
151
|
tickLabelStyle: _propTypes.default.object,
|
|
152
152
|
tickSize: _propTypes.default.number
|
|
153
153
|
}), _propTypes.default.shape({
|
|
@@ -157,7 +157,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
157
157
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
158
158
|
position: _propTypes.default.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
159
159
|
scaleType: _propTypes.default.oneOf(['utc']),
|
|
160
|
-
size: _propTypes.default.number,
|
|
160
|
+
size: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
161
161
|
tickLabelStyle: _propTypes.default.object,
|
|
162
162
|
tickSize: _propTypes.default.number
|
|
163
163
|
}), _propTypes.default.shape({
|
|
@@ -167,7 +167,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
167
167
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
168
168
|
position: _propTypes.default.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
169
169
|
scaleType: _propTypes.default.oneOf(['linear']),
|
|
170
|
-
size: _propTypes.default.number,
|
|
170
|
+
size: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
|
|
171
171
|
tickLabelStyle: _propTypes.default.object,
|
|
172
172
|
tickSize: _propTypes.default.number
|
|
173
173
|
})]),
|
|
@@ -90,7 +90,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
90
90
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
91
91
|
position: PropTypes.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
92
92
|
scaleType: PropTypes.oneOf(['band']),
|
|
93
|
-
size: PropTypes.number,
|
|
93
|
+
size: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
94
94
|
tickLabelStyle: PropTypes.object,
|
|
95
95
|
tickSize: PropTypes.number
|
|
96
96
|
}), PropTypes.shape({
|
|
@@ -100,7 +100,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
100
100
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
101
101
|
position: PropTypes.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
102
102
|
scaleType: PropTypes.oneOf(['log']),
|
|
103
|
-
size: PropTypes.number,
|
|
103
|
+
size: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
104
104
|
tickLabelStyle: PropTypes.object,
|
|
105
105
|
tickSize: PropTypes.number
|
|
106
106
|
}), PropTypes.shape({
|
|
@@ -110,7 +110,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
110
110
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
111
111
|
position: PropTypes.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
112
112
|
scaleType: PropTypes.oneOf(['symlog']),
|
|
113
|
-
size: PropTypes.number,
|
|
113
|
+
size: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
114
114
|
tickLabelStyle: PropTypes.object,
|
|
115
115
|
tickSize: PropTypes.number
|
|
116
116
|
}), PropTypes.shape({
|
|
@@ -120,7 +120,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
120
120
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
121
121
|
position: PropTypes.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
122
122
|
scaleType: PropTypes.oneOf(['pow']),
|
|
123
|
-
size: PropTypes.number,
|
|
123
|
+
size: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
124
124
|
tickLabelStyle: PropTypes.object,
|
|
125
125
|
tickSize: PropTypes.number
|
|
126
126
|
}), PropTypes.shape({
|
|
@@ -130,7 +130,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
130
130
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
131
131
|
position: PropTypes.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
132
132
|
scaleType: PropTypes.oneOf(['sqrt']),
|
|
133
|
-
size: PropTypes.number,
|
|
133
|
+
size: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
134
134
|
tickLabelStyle: PropTypes.object,
|
|
135
135
|
tickSize: PropTypes.number
|
|
136
136
|
}), PropTypes.shape({
|
|
@@ -140,7 +140,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
140
140
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
141
141
|
position: PropTypes.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
142
142
|
scaleType: PropTypes.oneOf(['time']),
|
|
143
|
-
size: PropTypes.number,
|
|
143
|
+
size: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
144
144
|
tickLabelStyle: PropTypes.object,
|
|
145
145
|
tickSize: PropTypes.number
|
|
146
146
|
}), PropTypes.shape({
|
|
@@ -150,7 +150,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
150
150
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
151
151
|
position: PropTypes.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
152
152
|
scaleType: PropTypes.oneOf(['utc']),
|
|
153
|
-
size: PropTypes.number,
|
|
153
|
+
size: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
154
154
|
tickLabelStyle: PropTypes.object,
|
|
155
155
|
tickSize: PropTypes.number
|
|
156
156
|
}), PropTypes.shape({
|
|
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? FunnelChart.propTypes = {
|
|
|
160
160
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
161
161
|
position: PropTypes.oneOf(['bottom', 'left', 'none', 'right', 'top']),
|
|
162
162
|
scaleType: PropTypes.oneOf(['linear']),
|
|
163
|
-
size: PropTypes.number,
|
|
163
|
+
size: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
|
|
164
164
|
tickLabelStyle: PropTypes.object,
|
|
165
165
|
tickSize: PropTypes.number
|
|
166
166
|
})]),
|