@mui/x-charts 9.5.0 → 9.6.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 +1 -1
- package/BarChart/BarChart.mjs +1 -1
- package/BarChart/BarElement.js +2 -1
- package/BarChart/BarElement.mjs +2 -1
- package/BarChart/BarLabel/BarLabel.js +1 -1
- package/BarChart/BarLabel/BarLabel.mjs +1 -1
- package/BarChart/BarPlot.js +1 -1
- package/BarChart/BarPlot.mjs +1 -1
- package/CHANGELOG.md +151 -0
- package/ChartsAxis/ChartsAxis.js +1 -1
- package/ChartsAxis/ChartsAxis.mjs +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.js +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.mjs +1 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.js +2 -2
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.mjs +2 -2
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.mts +5 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +5 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.js +12 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.mjs +14 -2
- package/ChartsClipPath/ChartsClipPath.js +1 -1
- package/ChartsClipPath/ChartsClipPath.mjs +1 -1
- package/ChartsContainer/ChartsContainer.js +5 -3
- package/ChartsContainer/ChartsContainer.mjs +5 -3
- package/ChartsDataProvider/ChartsDataProvider.js +5 -1
- package/ChartsDataProvider/ChartsDataProvider.mjs +5 -1
- package/ChartsGrid/ChartsGrid.js +5 -1
- package/ChartsGrid/ChartsGrid.mjs +5 -1
- package/ChartsLayerContainer/ChartsLayerContainer.js +1 -1
- package/ChartsLayerContainer/ChartsLayerContainer.mjs +1 -1
- package/ChartsLocalizationProvider/ChartsLocalizationProvider.js +1 -1
- package/ChartsLocalizationProvider/ChartsLocalizationProvider.mjs +1 -1
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.js +2 -2
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.mjs +2 -2
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.js +9 -1
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.mjs +9 -1
- package/ChartsRadialGrid/ChartsRadialGrid.js +5 -1
- package/ChartsRadialGrid/ChartsRadialGrid.mjs +5 -1
- package/ChartsRadiusAxis/ChartsRadiusAxis.d.mts +8 -2
- package/ChartsRadiusAxis/ChartsRadiusAxis.d.ts +8 -2
- package/ChartsRadiusAxis/ChartsRadiusAxis.js +143 -3
- package/ChartsRadiusAxis/ChartsRadiusAxis.mjs +144 -5
- package/ChartsReferenceLine/ChartsReferenceLine.js +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.mjs +1 -1
- package/ChartsRotationAxis/ChartsRotationAxis.d.mts +8 -2
- package/ChartsRotationAxis/ChartsRotationAxis.d.ts +8 -2
- package/ChartsRotationAxis/ChartsRotationAxis.js +140 -3
- package/ChartsRotationAxis/ChartsRotationAxis.mjs +141 -5
- package/ChartsRotationAxis/index.d.mts +1 -1
- package/ChartsRotationAxis/index.d.ts +1 -1
- package/ChartsSurface/ChartsSurface.js +1 -1
- package/ChartsSurface/ChartsSurface.mjs +1 -1
- package/ChartsSvgLayer/ChartsSvgLayer.js +1 -1
- package/ChartsSvgLayer/ChartsSvgLayer.mjs +1 -1
- package/ChartsText/ChartsText.js +2 -2
- package/ChartsText/ChartsText.mjs +2 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.js +22 -3
- package/ChartsTooltip/ChartsAxisTooltipContent.mjs +22 -3
- package/ChartsTooltip/ChartsItemTooltipContent.js +52 -1
- package/ChartsTooltip/ChartsItemTooltipContent.mjs +52 -1
- package/ChartsTooltip/ChartsTooltip.js +13 -33
- package/ChartsTooltip/ChartsTooltip.mjs +13 -33
- package/ChartsTooltip/ChartsTooltipContainer.js +6 -26
- package/ChartsTooltip/ChartsTooltipContainer.mjs +6 -26
- package/ChartsWrapper/ChartsWrapper.js +1 -1
- package/ChartsWrapper/ChartsWrapper.mjs +1 -1
- package/ChartsXAxis/ChartsSingleXAxisTicks.js +1 -1
- package/ChartsXAxis/ChartsSingleXAxisTicks.mjs +1 -1
- package/ChartsXAxis/ChartsXAxis.js +11 -2
- package/ChartsXAxis/ChartsXAxis.mjs +11 -2
- package/ChartsYAxis/ChartsSingleYAxisTicks.js +1 -1
- package/ChartsYAxis/ChartsSingleYAxisTicks.mjs +1 -1
- package/ChartsYAxis/ChartsYAxis.js +11 -2
- package/ChartsYAxis/ChartsYAxis.mjs +11 -2
- package/ChartsYAxis/ChartsYAxisImpl.js +1 -1
- package/ChartsYAxis/ChartsYAxisImpl.mjs +1 -1
- package/Gauge/Gauge.js +1 -1
- package/Gauge/Gauge.mjs +1 -1
- package/Gauge/GaugeContainer.js +1 -1
- package/Gauge/GaugeContainer.mjs +1 -1
- package/Gauge/GaugeValueArc.js +2 -2
- package/Gauge/GaugeValueArc.mjs +2 -2
- package/Gauge/GaugeValueText.js +1 -1
- package/Gauge/GaugeValueText.mjs +1 -1
- package/LineChart/AnimatedArea.js +3 -3
- package/LineChart/AnimatedArea.mjs +3 -3
- package/LineChart/AnimatedLine.js +1 -1
- package/LineChart/AnimatedLine.mjs +1 -1
- package/LineChart/AreaElement.js +1 -1
- package/LineChart/AreaElement.mjs +1 -1
- package/LineChart/AreaPlot.js +1 -1
- package/LineChart/AreaPlot.mjs +1 -1
- package/LineChart/LineChart.js +1 -1
- package/LineChart/LineChart.mjs +1 -1
- package/LineChart/LineElement.js +4 -2
- package/LineChart/LineElement.mjs +4 -2
- package/LineChart/LineHighlightElement.js +1 -2
- package/LineChart/LineHighlightElement.mjs +1 -2
- package/LineChart/LineHighlightPlot.js +1 -1
- package/LineChart/LineHighlightPlot.mjs +1 -1
- package/LineChart/LinePlot.js +1 -1
- package/LineChart/LinePlot.mjs +1 -1
- package/LineChart/MarkElement.js +3 -2
- package/LineChart/MarkElement.mjs +3 -2
- package/LineChart/MarkPlot.js +2 -1
- package/LineChart/MarkPlot.mjs +2 -1
- package/PieChart/FocusedPieArc.d.mts +5 -1
- package/PieChart/FocusedPieArc.d.ts +5 -1
- package/PieChart/FocusedPieArc.js +22 -1
- package/PieChart/FocusedPieArc.mjs +24 -2
- package/PieChart/PieArc.js +1 -1
- package/PieChart/PieArc.mjs +1 -1
- package/PieChart/PieArcLabel.js +1 -1
- package/PieChart/PieArcLabel.mjs +1 -1
- package/PieChart/PieArcLabelPlot.js +7 -6
- package/PieChart/PieArcLabelPlot.mjs +7 -6
- package/PieChart/PieArcPlot.js +7 -6
- package/PieChart/PieArcPlot.mjs +7 -6
- package/PieChart/PieChart.js +1 -1
- package/PieChart/PieChart.mjs +1 -1
- package/PieChart/PiePlot.js +2 -1
- package/PieChart/PiePlot.mjs +2 -1
- package/RadarChart/RadarAxis/RadarAxis.js +5 -1
- package/RadarChart/RadarAxis/RadarAxis.mjs +5 -1
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +6 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.mjs +6 -2
- package/RadarChart/RadarChart.js +1 -1
- package/RadarChart/RadarChart.mjs +1 -1
- package/RadarChart/RadarGrid/RadarGrid.js +1 -5
- package/RadarChart/RadarGrid/RadarGrid.mjs +1 -5
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +5 -1
- package/ScatterChart/Scatter.js +1 -1
- package/ScatterChart/Scatter.mjs +1 -1
- package/ScatterChart/ScatterChart.js +5 -3
- package/ScatterChart/ScatterChart.mjs +5 -3
- package/ScatterChart/ScatterMarker.js +2 -2
- package/ScatterChart/ScatterMarker.mjs +2 -2
- package/ScatterChart/ScatterPlot.d.mts +8 -1
- package/ScatterChart/ScatterPlot.d.ts +8 -1
- package/ScatterChart/ScatterPlot.js +5 -2
- package/ScatterChart/ScatterPlot.mjs +5 -2
- package/ScatterChart/seriesConfig/getColor.js +6 -15
- package/ScatterChart/seriesConfig/getColor.mjs +6 -15
- package/SparkLineChart/SparkLineChart.js +1 -1
- package/SparkLineChart/SparkLineChart.mjs +1 -1
- package/Toolbar/Toolbar.js +1 -1
- package/Toolbar/Toolbar.mjs +1 -1
- package/Toolbar/ToolbarButton.js +1 -1
- package/Toolbar/ToolbarButton.mjs +1 -1
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/colorScale.d.mts +2 -2
- package/internals/colorScale.d.ts +2 -2
- package/internals/colorScale.js +2 -2
- package/internals/colorScale.mjs +2 -2
- package/internals/index.d.mts +2 -0
- package/internals/index.d.ts +2 -0
- package/internals/index.js +8 -0
- package/internals/index.mjs +2 -0
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +16 -30
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.mjs +17 -31
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.mts +8 -1
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +8 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +7 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +7 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +0 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +0 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +1 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +6 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.mjs +6 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +6 -2
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +6 -2
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.mts +49 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +49 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.js +124 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.mjs +117 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.mts +64 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +64 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.js +5 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.mjs +1 -0
- package/internals/resolveColorProcessor.js +4 -7
- package/internals/resolveColorProcessor.mjs +4 -7
- package/models/axis.d.mts +20 -4
- package/models/axis.d.ts +20 -4
- package/models/colorMapping.d.mts +8 -0
- package/models/colorMapping.d.ts +8 -0
- package/package.json +7 -4
- package/hooks/useIsHydrated.d.mts +0 -4
- package/hooks/useIsHydrated.d.ts +0 -4
- package/hooks/useIsHydrated.js +0 -19
- package/hooks/useIsHydrated.mjs +0 -14
|
@@ -88,7 +88,7 @@ function PieArcLabelPlot(props) {
|
|
|
88
88
|
}, slotProps?.pieArcLabel), item.id ?? item.dataIndex))
|
|
89
89
|
}));
|
|
90
90
|
}
|
|
91
|
-
process.env.NODE_ENV !== "production" ? PieArcLabelPlot.propTypes = {
|
|
91
|
+
process.env.NODE_ENV !== "production" ? PieArcLabelPlot.propTypes /* remove-proptypes */ = {
|
|
92
92
|
// ----------------------------- Warning --------------------------------
|
|
93
93
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
94
94
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -116,10 +116,11 @@ process.env.NODE_ENV !== "production" ? PieArcLabelPlot.propTypes = {
|
|
|
116
116
|
color: PropTypes.string.isRequired,
|
|
117
117
|
endAngle: PropTypes.number.isRequired,
|
|
118
118
|
formattedValue: PropTypes.string.isRequired,
|
|
119
|
+
hidden: PropTypes.bool.isRequired,
|
|
119
120
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
120
121
|
index: PropTypes.number.isRequired,
|
|
121
122
|
label: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
|
|
122
|
-
labelMarkType: PropTypes.oneOfType([PropTypes.oneOf(['circle', 'line', 'square']), PropTypes.func]),
|
|
123
|
+
labelMarkType: PropTypes.oneOfType([PropTypes.oneOf(['circle', 'line', 'line+mark', 'square']), PropTypes.func]),
|
|
123
124
|
padAngle: PropTypes.number.isRequired,
|
|
124
125
|
startAngle: PropTypes.number.isRequired,
|
|
125
126
|
value: PropTypes.number.isRequired
|
|
@@ -149,10 +150,6 @@ process.env.NODE_ENV !== "production" ? PieArcLabelPlot.propTypes = {
|
|
|
149
150
|
outerRadius: PropTypes.number,
|
|
150
151
|
paddingAngle: PropTypes.number
|
|
151
152
|
}),
|
|
152
|
-
/**
|
|
153
|
-
* The id of this series.
|
|
154
|
-
*/
|
|
155
|
-
seriesId: PropTypes.string.isRequired,
|
|
156
153
|
/**
|
|
157
154
|
* The radius between circle center and the beginning of the arc.
|
|
158
155
|
* @default 0
|
|
@@ -167,6 +164,10 @@ process.env.NODE_ENV !== "production" ? PieArcLabelPlot.propTypes = {
|
|
|
167
164
|
* @default 0
|
|
168
165
|
*/
|
|
169
166
|
paddingAngle: PropTypes.number,
|
|
167
|
+
/**
|
|
168
|
+
* The id of this series.
|
|
169
|
+
*/
|
|
170
|
+
seriesId: PropTypes.string.isRequired,
|
|
170
171
|
/**
|
|
171
172
|
* If `true`, animations are skipped.
|
|
172
173
|
* @default false
|
package/PieChart/PieArcPlot.js
CHANGED
|
@@ -77,7 +77,7 @@ function PieArcPlot(props) {
|
|
|
77
77
|
}, slotProps?.pieArc), item.dataIndex))
|
|
78
78
|
}));
|
|
79
79
|
}
|
|
80
|
-
process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes = {
|
|
80
|
+
process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes /* remove-proptypes */ = {
|
|
81
81
|
// ----------------------------- Warning --------------------------------
|
|
82
82
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
83
83
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -96,10 +96,11 @@ process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes = {
|
|
|
96
96
|
color: _propTypes.default.string.isRequired,
|
|
97
97
|
endAngle: _propTypes.default.number.isRequired,
|
|
98
98
|
formattedValue: _propTypes.default.string.isRequired,
|
|
99
|
+
hidden: _propTypes.default.bool.isRequired,
|
|
99
100
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
100
101
|
index: _propTypes.default.number.isRequired,
|
|
101
102
|
label: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.string]),
|
|
102
|
-
labelMarkType: _propTypes.default.oneOfType([_propTypes.default.oneOf(['circle', 'line', 'square']), _propTypes.default.func]),
|
|
103
|
+
labelMarkType: _propTypes.default.oneOfType([_propTypes.default.oneOf(['circle', 'line', 'line+mark', 'square']), _propTypes.default.func]),
|
|
103
104
|
padAngle: _propTypes.default.number.isRequired,
|
|
104
105
|
startAngle: _propTypes.default.number.isRequired,
|
|
105
106
|
value: _propTypes.default.number.isRequired
|
|
@@ -129,10 +130,6 @@ process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes = {
|
|
|
129
130
|
outerRadius: _propTypes.default.number,
|
|
130
131
|
paddingAngle: _propTypes.default.number
|
|
131
132
|
}),
|
|
132
|
-
/**
|
|
133
|
-
* The id of this series.
|
|
134
|
-
*/
|
|
135
|
-
seriesId: _propTypes.default.string.isRequired,
|
|
136
133
|
/**
|
|
137
134
|
* The radius between circle center and the beginning of the arc.
|
|
138
135
|
* @default 0
|
|
@@ -154,6 +151,10 @@ process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes = {
|
|
|
154
151
|
* @default 0
|
|
155
152
|
*/
|
|
156
153
|
paddingAngle: _propTypes.default.number,
|
|
154
|
+
/**
|
|
155
|
+
* The id of this series.
|
|
156
|
+
*/
|
|
157
|
+
seriesId: _propTypes.default.string.isRequired,
|
|
157
158
|
/**
|
|
158
159
|
* If `true`, animations are skipped.
|
|
159
160
|
* @default false
|
package/PieChart/PieArcPlot.mjs
CHANGED
|
@@ -70,7 +70,7 @@ function PieArcPlot(props) {
|
|
|
70
70
|
}, slotProps?.pieArc), item.dataIndex))
|
|
71
71
|
}));
|
|
72
72
|
}
|
|
73
|
-
process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes = {
|
|
73
|
+
process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes /* remove-proptypes */ = {
|
|
74
74
|
// ----------------------------- Warning --------------------------------
|
|
75
75
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
76
76
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -89,10 +89,11 @@ process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes = {
|
|
|
89
89
|
color: PropTypes.string.isRequired,
|
|
90
90
|
endAngle: PropTypes.number.isRequired,
|
|
91
91
|
formattedValue: PropTypes.string.isRequired,
|
|
92
|
+
hidden: PropTypes.bool.isRequired,
|
|
92
93
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
93
94
|
index: PropTypes.number.isRequired,
|
|
94
95
|
label: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
|
|
95
|
-
labelMarkType: PropTypes.oneOfType([PropTypes.oneOf(['circle', 'line', 'square']), PropTypes.func]),
|
|
96
|
+
labelMarkType: PropTypes.oneOfType([PropTypes.oneOf(['circle', 'line', 'line+mark', 'square']), PropTypes.func]),
|
|
96
97
|
padAngle: PropTypes.number.isRequired,
|
|
97
98
|
startAngle: PropTypes.number.isRequired,
|
|
98
99
|
value: PropTypes.number.isRequired
|
|
@@ -122,10 +123,6 @@ process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes = {
|
|
|
122
123
|
outerRadius: PropTypes.number,
|
|
123
124
|
paddingAngle: PropTypes.number
|
|
124
125
|
}),
|
|
125
|
-
/**
|
|
126
|
-
* The id of this series.
|
|
127
|
-
*/
|
|
128
|
-
seriesId: PropTypes.string.isRequired,
|
|
129
126
|
/**
|
|
130
127
|
* The radius between circle center and the beginning of the arc.
|
|
131
128
|
* @default 0
|
|
@@ -147,6 +144,10 @@ process.env.NODE_ENV !== "production" ? PieArcPlot.propTypes = {
|
|
|
147
144
|
* @default 0
|
|
148
145
|
*/
|
|
149
146
|
paddingAngle: PropTypes.number,
|
|
147
|
+
/**
|
|
148
|
+
* The id of this series.
|
|
149
|
+
*/
|
|
150
|
+
seriesId: PropTypes.string.isRequired,
|
|
150
151
|
/**
|
|
151
152
|
* If `true`, animations are skipped.
|
|
152
153
|
* @default false
|
package/PieChart/PieChart.js
CHANGED
|
@@ -109,7 +109,7 @@ const PieChart = exports.PieChart = /*#__PURE__*/React.forwardRef(function PieCh
|
|
|
109
109
|
}));
|
|
110
110
|
});
|
|
111
111
|
if (process.env.NODE_ENV !== "production") PieChart.displayName = "PieChart";
|
|
112
|
-
process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
112
|
+
process.env.NODE_ENV !== "production" ? PieChart.propTypes /* remove-proptypes */ = {
|
|
113
113
|
// ----------------------------- Warning --------------------------------
|
|
114
114
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
115
115
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
package/PieChart/PieChart.mjs
CHANGED
|
@@ -102,7 +102,7 @@ const PieChart = /*#__PURE__*/React.forwardRef(function PieChart(inProps, ref) {
|
|
|
102
102
|
}));
|
|
103
103
|
});
|
|
104
104
|
if (process.env.NODE_ENV !== "production") PieChart.displayName = "PieChart";
|
|
105
|
-
process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
105
|
+
process.env.NODE_ENV !== "production" ? PieChart.propTypes /* remove-proptypes */ = {
|
|
106
106
|
// ----------------------------- Warning --------------------------------
|
|
107
107
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
108
108
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
package/PieChart/PiePlot.js
CHANGED
|
@@ -102,11 +102,12 @@ function PiePlot(props) {
|
|
|
102
102
|
})]
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
|
-
process.env.NODE_ENV !== "production" ? PiePlot.propTypes = {
|
|
105
|
+
process.env.NODE_ENV !== "production" ? PiePlot.propTypes /* remove-proptypes */ = {
|
|
106
106
|
// ----------------------------- Warning --------------------------------
|
|
107
107
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
108
108
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
109
109
|
// ----------------------------------------------------------------------
|
|
110
|
+
className: _propTypes.default.string,
|
|
110
111
|
/**
|
|
111
112
|
* Callback fired when a pie item is clicked.
|
|
112
113
|
* @param {React.MouseEvent<SVGPathElement, MouseEvent>} event The event source of the callback.
|
package/PieChart/PiePlot.mjs
CHANGED
|
@@ -96,11 +96,12 @@ function PiePlot(props) {
|
|
|
96
96
|
})]
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
process.env.NODE_ENV !== "production" ? PiePlot.propTypes = {
|
|
99
|
+
process.env.NODE_ENV !== "production" ? PiePlot.propTypes /* remove-proptypes */ = {
|
|
100
100
|
// ----------------------------- Warning --------------------------------
|
|
101
101
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
102
102
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
103
103
|
// ----------------------------------------------------------------------
|
|
104
|
+
className: PropTypes.string,
|
|
104
105
|
/**
|
|
105
106
|
* Callback fired when a pie item is clicked.
|
|
106
107
|
* @param {React.MouseEvent<SVGPathElement, MouseEvent>} event The event source of the callback.
|
|
@@ -61,7 +61,7 @@ function RadarAxis(props) {
|
|
|
61
61
|
}), formattedValue))]
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
process.env.NODE_ENV !== "production" ? RadarAxis.propTypes = {
|
|
64
|
+
process.env.NODE_ENV !== "production" ? RadarAxis.propTypes /* remove-proptypes */ = {
|
|
65
65
|
// ----------------------------- Warning --------------------------------
|
|
66
66
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
67
67
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -75,6 +75,10 @@ process.env.NODE_ENV !== "production" ? RadarAxis.propTypes = {
|
|
|
75
75
|
* Override or extend the styles applied to the component.
|
|
76
76
|
*/
|
|
77
77
|
classes: _propTypes.default.object,
|
|
78
|
+
/**
|
|
79
|
+
* A CSS class name applied to the root element.
|
|
80
|
+
*/
|
|
81
|
+
className: _propTypes.default.string,
|
|
78
82
|
/**
|
|
79
83
|
* The number of divisions with label.
|
|
80
84
|
* @default 1
|
|
@@ -53,7 +53,7 @@ function RadarAxis(props) {
|
|
|
53
53
|
}), formattedValue))]
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
process.env.NODE_ENV !== "production" ? RadarAxis.propTypes = {
|
|
56
|
+
process.env.NODE_ENV !== "production" ? RadarAxis.propTypes /* remove-proptypes */ = {
|
|
57
57
|
// ----------------------------- Warning --------------------------------
|
|
58
58
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
59
59
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -67,6 +67,10 @@ process.env.NODE_ENV !== "production" ? RadarAxis.propTypes = {
|
|
|
67
67
|
* Override or extend the styles applied to the component.
|
|
68
68
|
*/
|
|
69
69
|
classes: PropTypes.object,
|
|
70
|
+
/**
|
|
71
|
+
* A CSS class name applied to the root element.
|
|
72
|
+
*/
|
|
73
|
+
className: PropTypes.string,
|
|
70
74
|
/**
|
|
71
75
|
* The number of divisions with label.
|
|
72
76
|
* @default 1
|
|
@@ -72,7 +72,7 @@ function RadarAxisHighlight(props) {
|
|
|
72
72
|
})]
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
process.env.NODE_ENV !== "production" ? RadarAxisHighlight.propTypes = {
|
|
75
|
+
process.env.NODE_ENV !== "production" ? RadarAxisHighlight.propTypes /* remove-proptypes */ = {
|
|
76
76
|
// ----------------------------- Warning --------------------------------
|
|
77
77
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
78
78
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -80,5 +80,9 @@ process.env.NODE_ENV !== "production" ? RadarAxisHighlight.propTypes = {
|
|
|
80
80
|
/**
|
|
81
81
|
* Override or extend the styles applied to the component.
|
|
82
82
|
*/
|
|
83
|
-
classes: _propTypes.default.object
|
|
83
|
+
classes: _propTypes.default.object,
|
|
84
|
+
/**
|
|
85
|
+
* A CSS class name applied to the root element.
|
|
86
|
+
*/
|
|
87
|
+
className: _propTypes.default.string
|
|
84
88
|
} : void 0;
|
|
@@ -65,7 +65,7 @@ function RadarAxisHighlight(props) {
|
|
|
65
65
|
})]
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
process.env.NODE_ENV !== "production" ? RadarAxisHighlight.propTypes = {
|
|
68
|
+
process.env.NODE_ENV !== "production" ? RadarAxisHighlight.propTypes /* remove-proptypes */ = {
|
|
69
69
|
// ----------------------------- Warning --------------------------------
|
|
70
70
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
71
71
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -73,6 +73,10 @@ process.env.NODE_ENV !== "production" ? RadarAxisHighlight.propTypes = {
|
|
|
73
73
|
/**
|
|
74
74
|
* Override or extend the styles applied to the component.
|
|
75
75
|
*/
|
|
76
|
-
classes: PropTypes.object
|
|
76
|
+
classes: PropTypes.object,
|
|
77
|
+
/**
|
|
78
|
+
* A CSS class name applied to the root element.
|
|
79
|
+
*/
|
|
80
|
+
className: PropTypes.string
|
|
77
81
|
} : void 0;
|
|
78
82
|
export { RadarAxisHighlight };
|
package/RadarChart/RadarChart.js
CHANGED
|
@@ -62,7 +62,7 @@ const RadarChart = exports.RadarChart = /*#__PURE__*/React.forwardRef(function R
|
|
|
62
62
|
}));
|
|
63
63
|
});
|
|
64
64
|
if (process.env.NODE_ENV !== "production") RadarChart.displayName = "RadarChart";
|
|
65
|
-
process.env.NODE_ENV !== "production" ? RadarChart.propTypes = {
|
|
65
|
+
process.env.NODE_ENV !== "production" ? RadarChart.propTypes /* remove-proptypes */ = {
|
|
66
66
|
// ----------------------------- Warning --------------------------------
|
|
67
67
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
68
68
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -55,7 +55,7 @@ const RadarChart = /*#__PURE__*/React.forwardRef(function RadarChart(inProps, re
|
|
|
55
55
|
}));
|
|
56
56
|
});
|
|
57
57
|
if (process.env.NODE_ENV !== "production") RadarChart.displayName = "RadarChart";
|
|
58
|
-
process.env.NODE_ENV !== "production" ? RadarChart.propTypes = {
|
|
58
|
+
process.env.NODE_ENV !== "production" ? RadarChart.propTypes /* remove-proptypes */ = {
|
|
59
59
|
// ----------------------------- Warning --------------------------------
|
|
60
60
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
61
61
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -67,15 +67,11 @@ function RadarGrid(props) {
|
|
|
67
67
|
})]
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
process.env.NODE_ENV !== "production" ? RadarGrid.propTypes = {
|
|
70
|
+
process.env.NODE_ENV !== "production" ? RadarGrid.propTypes /* remove-proptypes */ = {
|
|
71
71
|
// ----------------------------- Warning --------------------------------
|
|
72
72
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
73
73
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
74
74
|
// ----------------------------------------------------------------------
|
|
75
|
-
/**
|
|
76
|
-
* Override or extend the styles applied to the component.
|
|
77
|
-
*/
|
|
78
|
-
classes: _propTypes.default.object,
|
|
79
75
|
/**
|
|
80
76
|
* The number of divisions in the radar grid.
|
|
81
77
|
* @default 5
|
|
@@ -59,15 +59,11 @@ function RadarGrid(props) {
|
|
|
59
59
|
})]
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
process.env.NODE_ENV !== "production" ? RadarGrid.propTypes = {
|
|
62
|
+
process.env.NODE_ENV !== "production" ? RadarGrid.propTypes /* remove-proptypes */ = {
|
|
63
63
|
// ----------------------------- Warning --------------------------------
|
|
64
64
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
65
65
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
66
66
|
// ----------------------------------------------------------------------
|
|
67
|
-
/**
|
|
68
|
-
* Override or extend the styles applied to the component.
|
|
69
|
-
*/
|
|
70
|
-
classes: PropTypes.object,
|
|
71
67
|
/**
|
|
72
68
|
* The number of divisions in the radar grid.
|
|
73
69
|
* @default 5
|
|
@@ -89,7 +89,7 @@ function RadarSeriesArea(props) {
|
|
|
89
89
|
})
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
|
-
process.env.NODE_ENV !== "production" ? RadarSeriesArea.propTypes = {
|
|
92
|
+
process.env.NODE_ENV !== "production" ? RadarSeriesArea.propTypes /* remove-proptypes */ = {
|
|
93
93
|
// ----------------------------- Warning --------------------------------
|
|
94
94
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
95
95
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -98,6 +98,10 @@ process.env.NODE_ENV !== "production" ? RadarSeriesArea.propTypes = {
|
|
|
98
98
|
* Override or extend the styles applied to the component.
|
|
99
99
|
*/
|
|
100
100
|
classes: _propTypes.default.object,
|
|
101
|
+
/**
|
|
102
|
+
* A CSS class name applied to the root element.
|
|
103
|
+
*/
|
|
104
|
+
className: _propTypes.default.string,
|
|
101
105
|
/**
|
|
102
106
|
* Callback fired when an area is clicked.
|
|
103
107
|
* @param {React.MouseEvent<SVGPathElement, MouseEvent>} event The event source of the callback.
|
|
@@ -80,7 +80,7 @@ function RadarSeriesArea(props) {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
|
-
process.env.NODE_ENV !== "production" ? RadarSeriesArea.propTypes = {
|
|
83
|
+
process.env.NODE_ENV !== "production" ? RadarSeriesArea.propTypes /* remove-proptypes */ = {
|
|
84
84
|
// ----------------------------- Warning --------------------------------
|
|
85
85
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
86
86
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -89,6 +89,10 @@ process.env.NODE_ENV !== "production" ? RadarSeriesArea.propTypes = {
|
|
|
89
89
|
* Override or extend the styles applied to the component.
|
|
90
90
|
*/
|
|
91
91
|
classes: PropTypes.object,
|
|
92
|
+
/**
|
|
93
|
+
* A CSS class name applied to the root element.
|
|
94
|
+
*/
|
|
95
|
+
className: PropTypes.string,
|
|
92
96
|
/**
|
|
93
97
|
* Callback fired when an area is clicked.
|
|
94
98
|
* @param {React.MouseEvent<SVGPathElement, MouseEvent>} event The event source of the callback.
|
|
@@ -85,7 +85,7 @@ function RadarSeriesMarks(props) {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
process.env.NODE_ENV !== "production" ? RadarSeriesMarks.propTypes = {
|
|
88
|
+
process.env.NODE_ENV !== "production" ? RadarSeriesMarks.propTypes /* remove-proptypes */ = {
|
|
89
89
|
// ----------------------------- Warning --------------------------------
|
|
90
90
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
91
91
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -94,6 +94,10 @@ process.env.NODE_ENV !== "production" ? RadarSeriesMarks.propTypes = {
|
|
|
94
94
|
* Override or extend the styles applied to the component.
|
|
95
95
|
*/
|
|
96
96
|
classes: _propTypes.default.object,
|
|
97
|
+
/**
|
|
98
|
+
* A CSS class name applied to the root element.
|
|
99
|
+
*/
|
|
100
|
+
className: _propTypes.default.string,
|
|
97
101
|
/**
|
|
98
102
|
* Callback fired when a mark is clicked.
|
|
99
103
|
* @param {React.MouseEvent<SVGPathElement, MouseEvent>} event The event source of the callback.
|
|
@@ -76,7 +76,7 @@ function RadarSeriesMarks(props) {
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
-
process.env.NODE_ENV !== "production" ? RadarSeriesMarks.propTypes = {
|
|
79
|
+
process.env.NODE_ENV !== "production" ? RadarSeriesMarks.propTypes /* remove-proptypes */ = {
|
|
80
80
|
// ----------------------------- Warning --------------------------------
|
|
81
81
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
82
82
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -85,6 +85,10 @@ process.env.NODE_ENV !== "production" ? RadarSeriesMarks.propTypes = {
|
|
|
85
85
|
* Override or extend the styles applied to the component.
|
|
86
86
|
*/
|
|
87
87
|
classes: PropTypes.object,
|
|
88
|
+
/**
|
|
89
|
+
* A CSS class name applied to the root element.
|
|
90
|
+
*/
|
|
91
|
+
className: PropTypes.string,
|
|
88
92
|
/**
|
|
89
93
|
* Callback fired when a mark is clicked.
|
|
90
94
|
* @param {React.MouseEvent<SVGPathElement, MouseEvent>} event The event source of the callback.
|
|
@@ -77,7 +77,7 @@ function RadarSeriesPlot(props) {
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
process.env.NODE_ENV !== "production" ? RadarSeriesPlot.propTypes = {
|
|
80
|
+
process.env.NODE_ENV !== "production" ? RadarSeriesPlot.propTypes /* remove-proptypes */ = {
|
|
81
81
|
// ----------------------------- Warning --------------------------------
|
|
82
82
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
83
83
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -86,6 +86,10 @@ process.env.NODE_ENV !== "production" ? RadarSeriesPlot.propTypes = {
|
|
|
86
86
|
* Override or extend the styles applied to the component.
|
|
87
87
|
*/
|
|
88
88
|
classes: _propTypes.default.object,
|
|
89
|
+
/**
|
|
90
|
+
* A CSS class name applied to the root element.
|
|
91
|
+
*/
|
|
92
|
+
className: _propTypes.default.string,
|
|
89
93
|
/**
|
|
90
94
|
* Callback fired when an area is clicked.
|
|
91
95
|
* @param {React.MouseEvent<SVGPathElement, MouseEvent>} event The event source of the callback.
|
|
@@ -70,7 +70,7 @@ function RadarSeriesPlot(props) {
|
|
|
70
70
|
})
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
process.env.NODE_ENV !== "production" ? RadarSeriesPlot.propTypes = {
|
|
73
|
+
process.env.NODE_ENV !== "production" ? RadarSeriesPlot.propTypes /* remove-proptypes */ = {
|
|
74
74
|
// ----------------------------- Warning --------------------------------
|
|
75
75
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
76
76
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -79,6 +79,10 @@ process.env.NODE_ENV !== "production" ? RadarSeriesPlot.propTypes = {
|
|
|
79
79
|
* Override or extend the styles applied to the component.
|
|
80
80
|
*/
|
|
81
81
|
classes: PropTypes.object,
|
|
82
|
+
/**
|
|
83
|
+
* A CSS class name applied to the root element.
|
|
84
|
+
*/
|
|
85
|
+
className: PropTypes.string,
|
|
82
86
|
/**
|
|
83
87
|
* Callback fired when an area is clicked.
|
|
84
88
|
* @param {React.MouseEvent<SVGPathElement, MouseEvent>} event The event source of the callback.
|
package/ScatterChart/Scatter.js
CHANGED
|
@@ -104,7 +104,7 @@ function Scatter(props) {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
-
process.env.NODE_ENV !== "production" ? Scatter.propTypes = {
|
|
107
|
+
process.env.NODE_ENV !== "production" ? Scatter.propTypes /* remove-proptypes */ = {
|
|
108
108
|
// ----------------------------- Warning --------------------------------
|
|
109
109
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
110
110
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
package/ScatterChart/Scatter.mjs
CHANGED
|
@@ -100,7 +100,7 @@ function Scatter(props) {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
process.env.NODE_ENV !== "production" ? Scatter.propTypes = {
|
|
103
|
+
process.env.NODE_ENV !== "production" ? Scatter.propTypes /* remove-proptypes */ = {
|
|
104
104
|
// ----------------------------- Warning --------------------------------
|
|
105
105
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
106
106
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -72,7 +72,7 @@ const ScatterChart = exports.ScatterChart = /*#__PURE__*/React.forwardRef(functi
|
|
|
72
72
|
}));
|
|
73
73
|
});
|
|
74
74
|
if (process.env.NODE_ENV !== "production") ScatterChart.displayName = "ScatterChart";
|
|
75
|
-
process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
|
|
75
|
+
process.env.NODE_ENV !== "production" ? ScatterChart.propTypes /* remove-proptypes */ = {
|
|
76
76
|
// ----------------------------- Warning --------------------------------
|
|
77
77
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
78
78
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -394,11 +394,13 @@ process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
|
|
|
394
394
|
color: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired), _propTypes.default.func]).isRequired,
|
|
395
395
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
396
396
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
397
|
-
type: _propTypes.default.oneOf(['continuous']).isRequired
|
|
397
|
+
type: _propTypes.default.oneOf(['continuous']).isRequired,
|
|
398
|
+
unknownColor: _propTypes.default.string
|
|
398
399
|
}), _propTypes.default.shape({
|
|
399
400
|
colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
|
|
400
401
|
thresholds: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]).isRequired).isRequired,
|
|
401
|
-
type: _propTypes.default.oneOf(['piecewise']).isRequired
|
|
402
|
+
type: _propTypes.default.oneOf(['piecewise']).isRequired,
|
|
403
|
+
unknownColor: _propTypes.default.string
|
|
402
404
|
}), _propTypes.default.shape({
|
|
403
405
|
colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
|
|
404
406
|
type: _propTypes.default.oneOf(['ordinal']).isRequired,
|
|
@@ -65,7 +65,7 @@ const ScatterChart = /*#__PURE__*/React.forwardRef(function ScatterChart(inProps
|
|
|
65
65
|
}));
|
|
66
66
|
});
|
|
67
67
|
if (process.env.NODE_ENV !== "production") ScatterChart.displayName = "ScatterChart";
|
|
68
|
-
process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
|
|
68
|
+
process.env.NODE_ENV !== "production" ? ScatterChart.propTypes /* remove-proptypes */ = {
|
|
69
69
|
// ----------------------------- Warning --------------------------------
|
|
70
70
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
71
71
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -387,11 +387,13 @@ process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
|
|
|
387
387
|
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
388
388
|
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
389
389
|
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
390
|
-
type: PropTypes.oneOf(['continuous']).isRequired
|
|
390
|
+
type: PropTypes.oneOf(['continuous']).isRequired,
|
|
391
|
+
unknownColor: PropTypes.string
|
|
391
392
|
}), PropTypes.shape({
|
|
392
393
|
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
393
394
|
thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
|
|
394
|
-
type: PropTypes.oneOf(['piecewise']).isRequired
|
|
395
|
+
type: PropTypes.oneOf(['piecewise']).isRequired,
|
|
396
|
+
unknownColor: PropTypes.string
|
|
395
397
|
}), PropTypes.shape({
|
|
396
398
|
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
397
399
|
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
@@ -32,7 +32,7 @@ function ScatterMarker(props) {
|
|
|
32
32
|
cursor: other.onClick ? 'pointer' : 'unset'
|
|
33
33
|
}, other));
|
|
34
34
|
}
|
|
35
|
-
process.env.NODE_ENV !== "production" ? ScatterMarker.propTypes = {
|
|
35
|
+
process.env.NODE_ENV !== "production" ? ScatterMarker.propTypes /* remove-proptypes */ = {
|
|
36
36
|
// ----------------------------- Warning --------------------------------
|
|
37
37
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
38
38
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -61,7 +61,7 @@ process.env.NODE_ENV !== "production" ? ScatterMarker.propTypes = {
|
|
|
61
61
|
/**
|
|
62
62
|
* The series ID.
|
|
63
63
|
*/
|
|
64
|
-
seriesId: _propTypes.default.
|
|
64
|
+
seriesId: _propTypes.default.string.isRequired,
|
|
65
65
|
/**
|
|
66
66
|
* The size of the marker.
|
|
67
67
|
*/
|
|
@@ -24,7 +24,7 @@ function ScatterMarker(props) {
|
|
|
24
24
|
cursor: other.onClick ? 'pointer' : 'unset'
|
|
25
25
|
}, other));
|
|
26
26
|
}
|
|
27
|
-
process.env.NODE_ENV !== "production" ? ScatterMarker.propTypes = {
|
|
27
|
+
process.env.NODE_ENV !== "production" ? ScatterMarker.propTypes /* remove-proptypes */ = {
|
|
28
28
|
// ----------------------------- Warning --------------------------------
|
|
29
29
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
30
30
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -53,7 +53,7 @@ process.env.NODE_ENV !== "production" ? ScatterMarker.propTypes = {
|
|
|
53
53
|
/**
|
|
54
54
|
* The series ID.
|
|
55
55
|
*/
|
|
56
|
-
seriesId: PropTypes.
|
|
56
|
+
seriesId: PropTypes.string.isRequired,
|
|
57
57
|
/**
|
|
58
58
|
* The size of the marker.
|
|
59
59
|
*/
|
|
@@ -8,8 +8,15 @@ export interface ScatterPlotSlotProps extends ScatterSlotProps {
|
|
|
8
8
|
scatter?: Partial<ScatterProps> & ScatterPropsOverrides;
|
|
9
9
|
}
|
|
10
10
|
export type RendererType = 'svg-single' | 'svg-batch';
|
|
11
|
-
export interface ScatterPlotProps extends Pick<ScatterProps, '
|
|
11
|
+
export interface ScatterPlotProps extends Pick<ScatterProps, 'classes'> {
|
|
12
12
|
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Callback fired when a marker is clicked directly.
|
|
15
|
+
* For closest-point clicks (the `ScatterChart` default), pass `onItemClick` to the chart container instead.
|
|
16
|
+
* @param {MouseEvent} event Mouse event recorded on the `<svg/>` element.
|
|
17
|
+
* @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
|
|
18
|
+
*/
|
|
19
|
+
onItemClick?: ScatterProps['onItemClick'];
|
|
13
20
|
/**
|
|
14
21
|
* Overridable component slots.
|
|
15
22
|
* @default {}
|
|
@@ -8,8 +8,15 @@ export interface ScatterPlotSlotProps extends ScatterSlotProps {
|
|
|
8
8
|
scatter?: Partial<ScatterProps> & ScatterPropsOverrides;
|
|
9
9
|
}
|
|
10
10
|
export type RendererType = 'svg-single' | 'svg-batch';
|
|
11
|
-
export interface ScatterPlotProps extends Pick<ScatterProps, '
|
|
11
|
+
export interface ScatterPlotProps extends Pick<ScatterProps, 'classes'> {
|
|
12
12
|
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Callback fired when a marker is clicked directly.
|
|
15
|
+
* For closest-point clicks (the `ScatterChart` default), pass `onItemClick` to the chart container instead.
|
|
16
|
+
* @param {MouseEvent} event Mouse event recorded on the `<svg/>` element.
|
|
17
|
+
* @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
|
|
18
|
+
*/
|
|
19
|
+
onItemClick?: ScatterProps['onItemClick'];
|
|
13
20
|
/**
|
|
14
21
|
* Overridable component slots.
|
|
15
22
|
* @default {}
|
|
@@ -127,13 +127,16 @@ function ScatterPlot(props) {
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
-
process.env.NODE_ENV !== "production" ? ScatterPlot.propTypes = {
|
|
130
|
+
process.env.NODE_ENV !== "production" ? ScatterPlot.propTypes /* remove-proptypes */ = {
|
|
131
131
|
// ----------------------------- Warning --------------------------------
|
|
132
132
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
133
133
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
134
134
|
// ----------------------------------------------------------------------
|
|
135
|
+
classes: _propTypes.default.object,
|
|
136
|
+
className: _propTypes.default.string,
|
|
135
137
|
/**
|
|
136
|
-
* Callback fired when
|
|
138
|
+
* Callback fired when a marker is clicked directly.
|
|
139
|
+
* For closest-point clicks (the `ScatterChart` default), pass `onItemClick` to the chart container instead.
|
|
137
140
|
* @param {MouseEvent} event Mouse event recorded on the `<svg/>` element.
|
|
138
141
|
* @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
|
|
139
142
|
*/
|
|
@@ -120,13 +120,16 @@ function ScatterPlot(props) {
|
|
|
120
120
|
})
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
|
-
process.env.NODE_ENV !== "production" ? ScatterPlot.propTypes = {
|
|
123
|
+
process.env.NODE_ENV !== "production" ? ScatterPlot.propTypes /* remove-proptypes */ = {
|
|
124
124
|
// ----------------------------- Warning --------------------------------
|
|
125
125
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
126
126
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
127
127
|
// ----------------------------------------------------------------------
|
|
128
|
+
classes: PropTypes.object,
|
|
129
|
+
className: PropTypes.string,
|
|
128
130
|
/**
|
|
129
|
-
* Callback fired when
|
|
131
|
+
* Callback fired when a marker is clicked directly.
|
|
132
|
+
* For closest-point clicks (the `ScatterChart` default), pass `onItemClick` to the chart container instead.
|
|
130
133
|
* @param {MouseEvent} event Mouse event recorded on the `<svg/>` element.
|
|
131
134
|
* @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
|
|
132
135
|
*/
|