@mui/x-charts-pro 8.10.0 → 8.10.2
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 +4 -0
- package/CHANGELOG.md +182 -0
- package/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/FunnelChart/curves/bump.js +10 -11
- package/FunnelChart/curves/linear.js +16 -17
- package/FunnelChart/curves/pyramid.js +15 -16
- package/FunnelChart/curves/step-pyramid.js +15 -16
- package/FunnelChart/curves/step.js +7 -8
- package/Heatmap/Heatmap.js +2 -0
- package/LineChartPro/LineChartPro.js +4 -0
- package/ScatterChartPro/ScatterChartPro.js +4 -0
- package/esm/BarChartPro/BarChartPro.js +4 -0
- package/esm/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/esm/FunnelChart/curves/bump.js +10 -11
- package/esm/FunnelChart/curves/linear.js +16 -17
- package/esm/FunnelChart/curves/pyramid.js +15 -16
- package/esm/FunnelChart/curves/step-pyramid.js +15 -16
- package/esm/FunnelChart/curves/step.js +7 -8
- package/esm/Heatmap/Heatmap.js +2 -0
- package/esm/LineChartPro/LineChartPro.js +4 -0
- package/esm/ScatterChartPro/ScatterChartPro.js +4 -0
- package/esm/index.js +1 -1
- package/esm/internals/plugins/allPlugins.d.ts +2 -2
- package/index.js +1 -1
- package/internals/plugins/allPlugins.d.ts +2 -2
- package/package.json +18 -19
|
@@ -312,6 +312,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
312
312
|
fill: _propTypes.default.string,
|
|
313
313
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
314
314
|
getValue: _propTypes.default.func.isRequired,
|
|
315
|
+
tickLabelStyle: _propTypes.default.object,
|
|
315
316
|
tickSize: _propTypes.default.number
|
|
316
317
|
})),
|
|
317
318
|
height: _propTypes.default.number,
|
|
@@ -382,6 +383,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
382
383
|
fill: _propTypes.default.string,
|
|
383
384
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
384
385
|
getValue: _propTypes.default.func.isRequired,
|
|
386
|
+
tickLabelStyle: _propTypes.default.object,
|
|
385
387
|
tickSize: _propTypes.default.number
|
|
386
388
|
})),
|
|
387
389
|
height: _propTypes.default.number,
|
|
@@ -888,6 +890,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
888
890
|
fill: _propTypes.default.string,
|
|
889
891
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
890
892
|
getValue: _propTypes.default.func.isRequired,
|
|
893
|
+
tickLabelStyle: _propTypes.default.object,
|
|
891
894
|
tickSize: _propTypes.default.number
|
|
892
895
|
})),
|
|
893
896
|
hideTooltip: _propTypes.default.bool,
|
|
@@ -957,6 +960,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
957
960
|
fill: _propTypes.default.string,
|
|
958
961
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
959
962
|
getValue: _propTypes.default.func.isRequired,
|
|
963
|
+
tickLabelStyle: _propTypes.default.object,
|
|
960
964
|
tickSize: _propTypes.default.number
|
|
961
965
|
})),
|
|
962
966
|
hideTooltip: _propTypes.default.bool,
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,188 @@
|
|
|
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.10.2
|
|
9
|
+
|
|
10
|
+
_Aug 20, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🌎 Improve Finnish (fi-FI) locale on the Data Grid
|
|
15
|
+
|
|
16
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
17
|
+
@lauri-heinonen-2025-04, @Methuselah96, @sai6855, @wilcoschoneveld
|
|
18
|
+
|
|
19
|
+
The following are all team members who have contributed to this release:
|
|
20
|
+
@alexfauquette, @cherniavskii, @flaviendelangle, @Janpot, @oliviertassinari, @rita-codes
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid@8.10.2`
|
|
25
|
+
|
|
26
|
+
- [DataGrid] Fix display for `<GridEditSingleSelect />` when `density='compact'` (#19249) @sai6855
|
|
27
|
+
- [DataGrid] Fix column header sortable classname when using `disableColumnSorting` (#19222) @wilcoschoneveld
|
|
28
|
+
- [l10n] Improve finnish (fi-FI) locale (#19163) @lauri-heinonen-2025-04
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-pro@8.10.2` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid@8.10.2`, plus:
|
|
33
|
+
|
|
34
|
+
- [DataGridPro] Fix quick filter not working in List View mode (#19254) @cherniavskii
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-data-grid-premium@8.10.2` [](https://mui.com/r/x-premium-svg-link "Premium plan")
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-data-grid-pro@8.10.2`.
|
|
39
|
+
|
|
40
|
+
### Date and Time Pickers
|
|
41
|
+
|
|
42
|
+
#### `@mui/x-date-pickers@8.10.2`
|
|
43
|
+
|
|
44
|
+
Internal changes.
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-date-pickers-pro@8.10.2` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
47
|
+
|
|
48
|
+
Same changes as in `@mui/x-date-pickers@8.10.2`.
|
|
49
|
+
|
|
50
|
+
### Charts
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-charts@8.10.2`
|
|
53
|
+
|
|
54
|
+
Internal changes.
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-charts-pro@8.10.2` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
57
|
+
|
|
58
|
+
Same changes as in `@mui/x-charts@8.10.2`.
|
|
59
|
+
|
|
60
|
+
### Tree View
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-tree-view@8.10.2`
|
|
63
|
+
|
|
64
|
+
- [tree view] Add `aria-hidden` to the Tree Item Checkbox (#19246) @flaviendelangle
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-tree-view-pro@8.10.2` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
67
|
+
|
|
68
|
+
Same changes as in `@mui/x-tree-view@8.10.2`.
|
|
69
|
+
|
|
70
|
+
### Codemod
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-codemod@8.10.2`
|
|
73
|
+
|
|
74
|
+
Internal changes.
|
|
75
|
+
|
|
76
|
+
### Docs
|
|
77
|
+
|
|
78
|
+
- [docs] Fix links to the pyramid chart (#19250) @alexfauquette
|
|
79
|
+
|
|
80
|
+
### Core
|
|
81
|
+
|
|
82
|
+
- [internal] Avoid script for CI only @oliviertassinari
|
|
83
|
+
- [internal] Fix `renovate.json` @oliviertassinari
|
|
84
|
+
- [internal] Polish renovate config @oliviertassinari
|
|
85
|
+
- [internal] Rename core to internal (#19203) @oliviertassinari
|
|
86
|
+
- [internal] Update link to GitHub labels @oliviertassinari
|
|
87
|
+
|
|
88
|
+
### Miscellaneous
|
|
89
|
+
|
|
90
|
+
- [code-infra] Prepare for incoming `execa` update (#19229) @Janpot
|
|
91
|
+
- [virtualizer] Fix type import (#19192) @Methuselah96
|
|
92
|
+
- [virtualizer] Improve type export (#19192) @Methuselah96
|
|
93
|
+
|
|
94
|
+
## 8.10.1
|
|
95
|
+
|
|
96
|
+
_Aug 15, 2025_
|
|
97
|
+
|
|
98
|
+
We'd like to extend a big thank you to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
99
|
+
|
|
100
|
+
- 📊 Y-axes can now be grouped by category when using `band` and `point` scales.
|
|
101
|
+
- 📚 Documentation improvements
|
|
102
|
+
|
|
103
|
+
The following are all team members who have contributed to this release:
|
|
104
|
+
@alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @mnajdova, @oliviertassinari, @prakhargupta1, @romgrk
|
|
105
|
+
|
|
106
|
+
### Data Grid
|
|
107
|
+
|
|
108
|
+
#### `@mui/x-data-grid@8.10.1`
|
|
109
|
+
|
|
110
|
+
- [DataGrid] Fix scroll jumping (#19156) @romgrk
|
|
111
|
+
- [DataGrid] Fix scroll restoration (#19182) @romgrk
|
|
112
|
+
- [DataGrid] Fix "no row with id" error (#19193) @romgrk
|
|
113
|
+
|
|
114
|
+
#### `@mui/x-data-grid-pro@8.10.1` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
115
|
+
|
|
116
|
+
Same changes as in `@mui/x-data-grid@8.10.1`.
|
|
117
|
+
|
|
118
|
+
#### `@mui/x-data-grid-premium@8.10.1` [](https://mui.com/r/x-premium-svg-link "Premium plan")
|
|
119
|
+
|
|
120
|
+
Same changes as in `@mui/x-data-grid-pro@8.10.1`.
|
|
121
|
+
|
|
122
|
+
### Date and Time Pickers
|
|
123
|
+
|
|
124
|
+
#### `@mui/x-date-pickers@8.10.0`
|
|
125
|
+
|
|
126
|
+
Internal changes.
|
|
127
|
+
|
|
128
|
+
#### `@mui/x-date-pickers-pro@8.10.0` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
129
|
+
|
|
130
|
+
Same changes as in `@mui/x-date-pickers@8.10.0`.
|
|
131
|
+
|
|
132
|
+
### Charts
|
|
133
|
+
|
|
134
|
+
- Axes can now be grouped by category when using `band` and `point` scales
|
|
135
|
+
|
|
136
|
+
<img width="643" height="455" alt="Bar chart with y-axis grouped per categories" src="https://github.com/user-attachments/assets/59044afe-bcc5-4152-8bf1-225db0635025" />
|
|
137
|
+
|
|
138
|
+
#### `@mui/x-charts@8.10.1`
|
|
139
|
+
|
|
140
|
+
- [charts] Allow y-axis to be grouped (#19081) @JCQuintas
|
|
141
|
+
- [charts] Fix default axis highlight for axes without data attribute (#18985) @alexfauquette
|
|
142
|
+
- [charts] Fix tooltip mark unexpected wrapping in mobile (#19122) @bernardobelchior
|
|
143
|
+
- [charts] Prevent overflow on charts tooltip (#19123) @bernardobelchior
|
|
144
|
+
|
|
145
|
+
#### `@mui/x-charts-pro@8.10.1` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
146
|
+
|
|
147
|
+
Same changes as in `@mui/x-charts@8.10.1`.
|
|
148
|
+
|
|
149
|
+
### Tree View
|
|
150
|
+
|
|
151
|
+
#### `@mui/x-tree-view@8.10.1`
|
|
152
|
+
|
|
153
|
+
Internal changes.
|
|
154
|
+
|
|
155
|
+
#### `@mui/x-tree-view-pro@8.10.1` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
156
|
+
|
|
157
|
+
Same changes as in `@mui/x-tree-view@8.10.1`.
|
|
158
|
+
|
|
159
|
+
### Codemod
|
|
160
|
+
|
|
161
|
+
#### `@mui/x-codemod@8.10.1`
|
|
162
|
+
|
|
163
|
+
Internal changes.
|
|
164
|
+
|
|
165
|
+
### Docs
|
|
166
|
+
|
|
167
|
+
- [docs] Add all planned charts on the overview page (#19077) @prakhargupta1
|
|
168
|
+
- [docs] Add future charts components link in the sidebar (#19140) @prakhargupta1
|
|
169
|
+
- [docs] Fix Heatmap docs duplicate text (#19138) @JCQuintas
|
|
170
|
+
- [docs] Remove preview from Toolbar & Funnel (#19131) @mnajdova
|
|
171
|
+
- [docs] Reproduce npm sparkline (#19089) @alexfauquette
|
|
172
|
+
|
|
173
|
+
### Core
|
|
174
|
+
|
|
175
|
+
- [core] Fix licensing model name (#19025) @oliviertassinari
|
|
176
|
+
- [core] Fix usage of `:catalog` for `@babel/runtime` (#19028) @oliviertassinari
|
|
177
|
+
- [core] Refactor virtualizer API (#18995) @romgrk
|
|
178
|
+
|
|
179
|
+
### Miscellaneous
|
|
180
|
+
|
|
181
|
+
- [code-infra] Remove namespaces (#19071) @Janpot
|
|
182
|
+
- [code-infra] Fix `fs-extra` removal from `formattedTSDemos` script (#19132) @bernardobelchior
|
|
183
|
+
- [code-infra] Remove unused code and dependency (#19139) @bernardobelchior
|
|
184
|
+
- [code-infra] Replace `fs-extra` with `node:fs` where possible (#19127) @bernardobelchior
|
|
185
|
+
- [internal] Edit, keep `lockFileMaintenance` simple @oliviertassinari
|
|
186
|
+
- [internal] Fix writing style action name @oliviertassinari
|
|
187
|
+
- [internal] Make it clear that `lockFileMaintenance` is enabled @oliviertassinari
|
|
188
|
+
- [support-infra] Remove default issue label (#19104) @oliviertassinari
|
|
189
|
+
|
|
8
190
|
## 8.10.0
|
|
9
191
|
|
|
10
192
|
_Aug 8, 2025_
|
|
@@ -18,7 +18,7 @@ var _material = require("../internals/material");
|
|
|
18
18
|
var _allPlugins = require("../internals/plugins/allPlugins");
|
|
19
19
|
var _useChartDataProviderProProps = require("./useChartDataProviderProProps");
|
|
20
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
-
const releaseInfo = "
|
|
21
|
+
const releaseInfo = "MTc1NTY0MDgwMDAwMA==";
|
|
22
22
|
const packageIdentifier = 'x-charts-pro';
|
|
23
23
|
/**
|
|
24
24
|
* Orchestrates the data providers for the chart components and hooks.
|
|
@@ -15,23 +15,22 @@ exports.Bump = void 0;
|
|
|
15
15
|
* https://github.com/d3/d3-shape/blob/a82254af78f08799c71d7ab25df557c4872a3c51/src/curve/bump.js
|
|
16
16
|
*/
|
|
17
17
|
class Bump {
|
|
18
|
+
isHorizontal = false;
|
|
19
|
+
min = {
|
|
20
|
+
x: 0,
|
|
21
|
+
y: 0
|
|
22
|
+
};
|
|
23
|
+
max = {
|
|
24
|
+
x: 0,
|
|
25
|
+
y: 0
|
|
26
|
+
};
|
|
27
|
+
points = [];
|
|
18
28
|
constructor(context, {
|
|
19
29
|
isHorizontal,
|
|
20
30
|
min,
|
|
21
31
|
max,
|
|
22
32
|
isIncreasing
|
|
23
33
|
}) {
|
|
24
|
-
this.context = void 0;
|
|
25
|
-
this.isHorizontal = false;
|
|
26
|
-
this.min = {
|
|
27
|
-
x: 0,
|
|
28
|
-
y: 0
|
|
29
|
-
};
|
|
30
|
-
this.max = {
|
|
31
|
-
x: 0,
|
|
32
|
-
y: 0
|
|
33
|
-
};
|
|
34
|
-
this.points = [];
|
|
35
34
|
this.context = context;
|
|
36
35
|
this.isHorizontal = isHorizontal ?? false;
|
|
37
36
|
this.min = min ?? {
|
|
@@ -17,6 +17,22 @@ var _utils = require("./utils");
|
|
|
17
17
|
* https://github.com/d3/d3-shape/blob/a82254af78f08799c71d7ab25df557c4872a3c51/src/curve/linear.js
|
|
18
18
|
*/
|
|
19
19
|
class Linear {
|
|
20
|
+
position = 0;
|
|
21
|
+
sections = 0;
|
|
22
|
+
isHorizontal = false;
|
|
23
|
+
isIncreasing = false;
|
|
24
|
+
gap = 0;
|
|
25
|
+
borderRadius = 0;
|
|
26
|
+
min = {
|
|
27
|
+
x: 0,
|
|
28
|
+
y: 0
|
|
29
|
+
};
|
|
30
|
+
max = {
|
|
31
|
+
x: 0,
|
|
32
|
+
y: 0
|
|
33
|
+
};
|
|
34
|
+
points = [];
|
|
35
|
+
pointShape = 'square';
|
|
20
36
|
constructor(context, {
|
|
21
37
|
isHorizontal,
|
|
22
38
|
gap,
|
|
@@ -28,23 +44,6 @@ class Linear {
|
|
|
28
44
|
isIncreasing,
|
|
29
45
|
pointShape
|
|
30
46
|
}) {
|
|
31
|
-
this.context = void 0;
|
|
32
|
-
this.position = 0;
|
|
33
|
-
this.sections = 0;
|
|
34
|
-
this.isHorizontal = false;
|
|
35
|
-
this.isIncreasing = false;
|
|
36
|
-
this.gap = 0;
|
|
37
|
-
this.borderRadius = 0;
|
|
38
|
-
this.min = {
|
|
39
|
-
x: 0,
|
|
40
|
-
y: 0
|
|
41
|
-
};
|
|
42
|
-
this.max = {
|
|
43
|
-
x: 0,
|
|
44
|
-
y: 0
|
|
45
|
-
};
|
|
46
|
-
this.points = [];
|
|
47
|
-
this.pointShape = 'square';
|
|
48
47
|
this.context = context;
|
|
49
48
|
this.isHorizontal = isHorizontal ?? false;
|
|
50
49
|
this.gap = gap ?? 0;
|
|
@@ -15,6 +15,21 @@ var _utils = require("./utils");
|
|
|
15
15
|
* with the option to add a gap between sections while also properly handling the border radius.
|
|
16
16
|
*/
|
|
17
17
|
class Pyramid {
|
|
18
|
+
position = 0;
|
|
19
|
+
sections = 0;
|
|
20
|
+
isHorizontal = false;
|
|
21
|
+
isIncreasing = false;
|
|
22
|
+
gap = 0;
|
|
23
|
+
borderRadius = 0;
|
|
24
|
+
min = {
|
|
25
|
+
x: 0,
|
|
26
|
+
y: 0
|
|
27
|
+
};
|
|
28
|
+
max = {
|
|
29
|
+
x: 0,
|
|
30
|
+
y: 0
|
|
31
|
+
};
|
|
32
|
+
points = [];
|
|
18
33
|
constructor(context, {
|
|
19
34
|
isHorizontal,
|
|
20
35
|
gap,
|
|
@@ -25,22 +40,6 @@ class Pyramid {
|
|
|
25
40
|
max,
|
|
26
41
|
isIncreasing
|
|
27
42
|
}) {
|
|
28
|
-
this.context = void 0;
|
|
29
|
-
this.position = 0;
|
|
30
|
-
this.sections = 0;
|
|
31
|
-
this.isHorizontal = false;
|
|
32
|
-
this.isIncreasing = false;
|
|
33
|
-
this.gap = 0;
|
|
34
|
-
this.borderRadius = 0;
|
|
35
|
-
this.min = {
|
|
36
|
-
x: 0,
|
|
37
|
-
y: 0
|
|
38
|
-
};
|
|
39
|
-
this.max = {
|
|
40
|
-
x: 0,
|
|
41
|
-
y: 0
|
|
42
|
-
};
|
|
43
|
-
this.points = [];
|
|
44
43
|
this.context = context;
|
|
45
44
|
this.isHorizontal = isHorizontal ?? false;
|
|
46
45
|
this.gap = (gap ?? 0) / 2;
|
|
@@ -14,6 +14,21 @@ var _utils = require("./utils");
|
|
|
14
14
|
* It has the option to add a gap between sections while also properly handling the border radius.
|
|
15
15
|
*/
|
|
16
16
|
class StepPyramid {
|
|
17
|
+
position = 0;
|
|
18
|
+
sections = 0;
|
|
19
|
+
isHorizontal = false;
|
|
20
|
+
isIncreasing = false;
|
|
21
|
+
gap = 0;
|
|
22
|
+
borderRadius = 0;
|
|
23
|
+
min = {
|
|
24
|
+
x: 0,
|
|
25
|
+
y: 0
|
|
26
|
+
};
|
|
27
|
+
max = {
|
|
28
|
+
x: 0,
|
|
29
|
+
y: 0
|
|
30
|
+
};
|
|
31
|
+
points = [];
|
|
17
32
|
constructor(context, {
|
|
18
33
|
isHorizontal,
|
|
19
34
|
gap,
|
|
@@ -24,22 +39,6 @@ class StepPyramid {
|
|
|
24
39
|
max,
|
|
25
40
|
isIncreasing
|
|
26
41
|
}) {
|
|
27
|
-
this.context = void 0;
|
|
28
|
-
this.position = 0;
|
|
29
|
-
this.sections = 0;
|
|
30
|
-
this.isHorizontal = false;
|
|
31
|
-
this.isIncreasing = false;
|
|
32
|
-
this.gap = 0;
|
|
33
|
-
this.borderRadius = 0;
|
|
34
|
-
this.min = {
|
|
35
|
-
x: 0,
|
|
36
|
-
y: 0
|
|
37
|
-
};
|
|
38
|
-
this.max = {
|
|
39
|
-
x: 0,
|
|
40
|
-
y: 0
|
|
41
|
-
};
|
|
42
|
-
this.points = [];
|
|
43
42
|
this.context = context;
|
|
44
43
|
this.isHorizontal = isHorizontal ?? false;
|
|
45
44
|
this.gap = gap ?? 0;
|
|
@@ -19,6 +19,13 @@ var _utils = require("./utils");
|
|
|
19
19
|
* https://github.com/d3/d3-shape/blob/a82254af78f08799c71d7ab25df557c4872a3c51/src/curve/step.js
|
|
20
20
|
*/
|
|
21
21
|
class Step {
|
|
22
|
+
isHorizontal = false;
|
|
23
|
+
isIncreasing = false;
|
|
24
|
+
gap = 0;
|
|
25
|
+
borderRadius = 0;
|
|
26
|
+
position = 0;
|
|
27
|
+
sections = 0;
|
|
28
|
+
points = [];
|
|
22
29
|
constructor(context, {
|
|
23
30
|
isHorizontal,
|
|
24
31
|
gap,
|
|
@@ -27,14 +34,6 @@ class Step {
|
|
|
27
34
|
isIncreasing,
|
|
28
35
|
sections
|
|
29
36
|
}) {
|
|
30
|
-
this.context = void 0;
|
|
31
|
-
this.isHorizontal = false;
|
|
32
|
-
this.isIncreasing = false;
|
|
33
|
-
this.gap = 0;
|
|
34
|
-
this.borderRadius = 0;
|
|
35
|
-
this.position = 0;
|
|
36
|
-
this.sections = 0;
|
|
37
|
-
this.points = [];
|
|
38
37
|
this.context = context;
|
|
39
38
|
this.isHorizontal = isHorizontal ?? false;
|
|
40
39
|
this.gap = gap ?? 0;
|
package/Heatmap/Heatmap.js
CHANGED
|
@@ -314,6 +314,7 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
|
|
|
314
314
|
fill: _propTypes.default.string,
|
|
315
315
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
316
316
|
getValue: _propTypes.default.func.isRequired,
|
|
317
|
+
tickLabelStyle: _propTypes.default.object,
|
|
317
318
|
tickSize: _propTypes.default.number
|
|
318
319
|
})),
|
|
319
320
|
height: _propTypes.default.number,
|
|
@@ -377,6 +378,7 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
|
|
|
377
378
|
fill: _propTypes.default.string,
|
|
378
379
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
379
380
|
getValue: _propTypes.default.func.isRequired,
|
|
381
|
+
tickLabelStyle: _propTypes.default.object,
|
|
380
382
|
tickSize: _propTypes.default.number
|
|
381
383
|
})),
|
|
382
384
|
hideTooltip: _propTypes.default.bool,
|
|
@@ -315,6 +315,7 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
315
315
|
fill: _propTypes.default.string,
|
|
316
316
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
317
317
|
getValue: _propTypes.default.func.isRequired,
|
|
318
|
+
tickLabelStyle: _propTypes.default.object,
|
|
318
319
|
tickSize: _propTypes.default.number
|
|
319
320
|
})),
|
|
320
321
|
height: _propTypes.default.number,
|
|
@@ -385,6 +386,7 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
385
386
|
fill: _propTypes.default.string,
|
|
386
387
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
387
388
|
getValue: _propTypes.default.func.isRequired,
|
|
389
|
+
tickLabelStyle: _propTypes.default.object,
|
|
388
390
|
tickSize: _propTypes.default.number
|
|
389
391
|
})),
|
|
390
392
|
height: _propTypes.default.number,
|
|
@@ -891,6 +893,7 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
891
893
|
fill: _propTypes.default.string,
|
|
892
894
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
893
895
|
getValue: _propTypes.default.func.isRequired,
|
|
896
|
+
tickLabelStyle: _propTypes.default.object,
|
|
894
897
|
tickSize: _propTypes.default.number
|
|
895
898
|
})),
|
|
896
899
|
hideTooltip: _propTypes.default.bool,
|
|
@@ -960,6 +963,7 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
960
963
|
fill: _propTypes.default.string,
|
|
961
964
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
962
965
|
getValue: _propTypes.default.func.isRequired,
|
|
966
|
+
tickLabelStyle: _propTypes.default.object,
|
|
963
967
|
tickSize: _propTypes.default.number
|
|
964
968
|
})),
|
|
965
969
|
hideTooltip: _propTypes.default.bool,
|
|
@@ -287,6 +287,7 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
287
287
|
fill: _propTypes.default.string,
|
|
288
288
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
289
289
|
getValue: _propTypes.default.func.isRequired,
|
|
290
|
+
tickLabelStyle: _propTypes.default.object,
|
|
290
291
|
tickSize: _propTypes.default.number
|
|
291
292
|
})),
|
|
292
293
|
height: _propTypes.default.number,
|
|
@@ -357,6 +358,7 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
357
358
|
fill: _propTypes.default.string,
|
|
358
359
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
359
360
|
getValue: _propTypes.default.func.isRequired,
|
|
361
|
+
tickLabelStyle: _propTypes.default.object,
|
|
360
362
|
tickSize: _propTypes.default.number
|
|
361
363
|
})),
|
|
362
364
|
height: _propTypes.default.number,
|
|
@@ -863,6 +865,7 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
863
865
|
fill: _propTypes.default.string,
|
|
864
866
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
865
867
|
getValue: _propTypes.default.func.isRequired,
|
|
868
|
+
tickLabelStyle: _propTypes.default.object,
|
|
866
869
|
tickSize: _propTypes.default.number
|
|
867
870
|
})),
|
|
868
871
|
hideTooltip: _propTypes.default.bool,
|
|
@@ -932,6 +935,7 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
932
935
|
fill: _propTypes.default.string,
|
|
933
936
|
groups: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
934
937
|
getValue: _propTypes.default.func.isRequired,
|
|
938
|
+
tickLabelStyle: _propTypes.default.object,
|
|
935
939
|
tickSize: _propTypes.default.number
|
|
936
940
|
})),
|
|
937
941
|
hideTooltip: _propTypes.default.bool,
|
|
@@ -305,6 +305,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
305
305
|
fill: PropTypes.string,
|
|
306
306
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
307
307
|
getValue: PropTypes.func.isRequired,
|
|
308
|
+
tickLabelStyle: PropTypes.object,
|
|
308
309
|
tickSize: PropTypes.number
|
|
309
310
|
})),
|
|
310
311
|
height: PropTypes.number,
|
|
@@ -375,6 +376,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
375
376
|
fill: PropTypes.string,
|
|
376
377
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
377
378
|
getValue: PropTypes.func.isRequired,
|
|
379
|
+
tickLabelStyle: PropTypes.object,
|
|
378
380
|
tickSize: PropTypes.number
|
|
379
381
|
})),
|
|
380
382
|
height: PropTypes.number,
|
|
@@ -881,6 +883,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
881
883
|
fill: PropTypes.string,
|
|
882
884
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
883
885
|
getValue: PropTypes.func.isRequired,
|
|
886
|
+
tickLabelStyle: PropTypes.object,
|
|
884
887
|
tickSize: PropTypes.number
|
|
885
888
|
})),
|
|
886
889
|
hideTooltip: PropTypes.bool,
|
|
@@ -950,6 +953,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
950
953
|
fill: PropTypes.string,
|
|
951
954
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
952
955
|
getValue: PropTypes.func.isRequired,
|
|
956
|
+
tickLabelStyle: PropTypes.object,
|
|
953
957
|
tickSize: PropTypes.number
|
|
954
958
|
})),
|
|
955
959
|
hideTooltip: PropTypes.bool,
|
|
@@ -11,7 +11,7 @@ import { defaultSlotsMaterial } from "../internals/material/index.js";
|
|
|
11
11
|
import { DEFAULT_PLUGINS } from "../internals/plugins/allPlugins.js";
|
|
12
12
|
import { useChartDataProviderProProps } from "./useChartDataProviderProProps.js";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
const releaseInfo = "
|
|
14
|
+
const releaseInfo = "MTc1NTY0MDgwMDAwMA==";
|
|
15
15
|
const packageIdentifier = 'x-charts-pro';
|
|
16
16
|
/**
|
|
17
17
|
* Orchestrates the data providers for the chart components and hooks.
|
|
@@ -9,23 +9,22 @@
|
|
|
9
9
|
* https://github.com/d3/d3-shape/blob/a82254af78f08799c71d7ab25df557c4872a3c51/src/curve/bump.js
|
|
10
10
|
*/
|
|
11
11
|
export class Bump {
|
|
12
|
+
isHorizontal = false;
|
|
13
|
+
min = {
|
|
14
|
+
x: 0,
|
|
15
|
+
y: 0
|
|
16
|
+
};
|
|
17
|
+
max = {
|
|
18
|
+
x: 0,
|
|
19
|
+
y: 0
|
|
20
|
+
};
|
|
21
|
+
points = [];
|
|
12
22
|
constructor(context, {
|
|
13
23
|
isHorizontal,
|
|
14
24
|
min,
|
|
15
25
|
max,
|
|
16
26
|
isIncreasing
|
|
17
27
|
}) {
|
|
18
|
-
this.context = void 0;
|
|
19
|
-
this.isHorizontal = false;
|
|
20
|
-
this.min = {
|
|
21
|
-
x: 0,
|
|
22
|
-
y: 0
|
|
23
|
-
};
|
|
24
|
-
this.max = {
|
|
25
|
-
x: 0,
|
|
26
|
-
y: 0
|
|
27
|
-
};
|
|
28
|
-
this.points = [];
|
|
29
28
|
this.context = context;
|
|
30
29
|
this.isHorizontal = isHorizontal ?? false;
|
|
31
30
|
this.min = min ?? {
|
|
@@ -12,6 +12,22 @@ import { lerpX, lerpY } from "./utils.js";
|
|
|
12
12
|
* https://github.com/d3/d3-shape/blob/a82254af78f08799c71d7ab25df557c4872a3c51/src/curve/linear.js
|
|
13
13
|
*/
|
|
14
14
|
export class Linear {
|
|
15
|
+
position = 0;
|
|
16
|
+
sections = 0;
|
|
17
|
+
isHorizontal = false;
|
|
18
|
+
isIncreasing = false;
|
|
19
|
+
gap = 0;
|
|
20
|
+
borderRadius = 0;
|
|
21
|
+
min = {
|
|
22
|
+
x: 0,
|
|
23
|
+
y: 0
|
|
24
|
+
};
|
|
25
|
+
max = {
|
|
26
|
+
x: 0,
|
|
27
|
+
y: 0
|
|
28
|
+
};
|
|
29
|
+
points = [];
|
|
30
|
+
pointShape = 'square';
|
|
15
31
|
constructor(context, {
|
|
16
32
|
isHorizontal,
|
|
17
33
|
gap,
|
|
@@ -23,23 +39,6 @@ export class Linear {
|
|
|
23
39
|
isIncreasing,
|
|
24
40
|
pointShape
|
|
25
41
|
}) {
|
|
26
|
-
this.context = void 0;
|
|
27
|
-
this.position = 0;
|
|
28
|
-
this.sections = 0;
|
|
29
|
-
this.isHorizontal = false;
|
|
30
|
-
this.isIncreasing = false;
|
|
31
|
-
this.gap = 0;
|
|
32
|
-
this.borderRadius = 0;
|
|
33
|
-
this.min = {
|
|
34
|
-
x: 0,
|
|
35
|
-
y: 0
|
|
36
|
-
};
|
|
37
|
-
this.max = {
|
|
38
|
-
x: 0,
|
|
39
|
-
y: 0
|
|
40
|
-
};
|
|
41
|
-
this.points = [];
|
|
42
|
-
this.pointShape = 'square';
|
|
43
42
|
this.context = context;
|
|
44
43
|
this.isHorizontal = isHorizontal ?? false;
|
|
45
44
|
this.gap = gap ?? 0;
|
|
@@ -10,6 +10,21 @@ import { lerpX, lerpY } from "./utils.js";
|
|
|
10
10
|
* with the option to add a gap between sections while also properly handling the border radius.
|
|
11
11
|
*/
|
|
12
12
|
export class Pyramid {
|
|
13
|
+
position = 0;
|
|
14
|
+
sections = 0;
|
|
15
|
+
isHorizontal = false;
|
|
16
|
+
isIncreasing = false;
|
|
17
|
+
gap = 0;
|
|
18
|
+
borderRadius = 0;
|
|
19
|
+
min = {
|
|
20
|
+
x: 0,
|
|
21
|
+
y: 0
|
|
22
|
+
};
|
|
23
|
+
max = {
|
|
24
|
+
x: 0,
|
|
25
|
+
y: 0
|
|
26
|
+
};
|
|
27
|
+
points = [];
|
|
13
28
|
constructor(context, {
|
|
14
29
|
isHorizontal,
|
|
15
30
|
gap,
|
|
@@ -20,22 +35,6 @@ export class Pyramid {
|
|
|
20
35
|
max,
|
|
21
36
|
isIncreasing
|
|
22
37
|
}) {
|
|
23
|
-
this.context = void 0;
|
|
24
|
-
this.position = 0;
|
|
25
|
-
this.sections = 0;
|
|
26
|
-
this.isHorizontal = false;
|
|
27
|
-
this.isIncreasing = false;
|
|
28
|
-
this.gap = 0;
|
|
29
|
-
this.borderRadius = 0;
|
|
30
|
-
this.min = {
|
|
31
|
-
x: 0,
|
|
32
|
-
y: 0
|
|
33
|
-
};
|
|
34
|
-
this.max = {
|
|
35
|
-
x: 0,
|
|
36
|
-
y: 0
|
|
37
|
-
};
|
|
38
|
-
this.points = [];
|
|
39
38
|
this.context = context;
|
|
40
39
|
this.isHorizontal = isHorizontal ?? false;
|
|
41
40
|
this.gap = (gap ?? 0) / 2;
|
|
@@ -9,6 +9,21 @@ import { lerpX, lerpY } from "./utils.js";
|
|
|
9
9
|
* It has the option to add a gap between sections while also properly handling the border radius.
|
|
10
10
|
*/
|
|
11
11
|
export class StepPyramid {
|
|
12
|
+
position = 0;
|
|
13
|
+
sections = 0;
|
|
14
|
+
isHorizontal = false;
|
|
15
|
+
isIncreasing = false;
|
|
16
|
+
gap = 0;
|
|
17
|
+
borderRadius = 0;
|
|
18
|
+
min = {
|
|
19
|
+
x: 0,
|
|
20
|
+
y: 0
|
|
21
|
+
};
|
|
22
|
+
max = {
|
|
23
|
+
x: 0,
|
|
24
|
+
y: 0
|
|
25
|
+
};
|
|
26
|
+
points = [];
|
|
12
27
|
constructor(context, {
|
|
13
28
|
isHorizontal,
|
|
14
29
|
gap,
|
|
@@ -19,22 +34,6 @@ export class StepPyramid {
|
|
|
19
34
|
max,
|
|
20
35
|
isIncreasing
|
|
21
36
|
}) {
|
|
22
|
-
this.context = void 0;
|
|
23
|
-
this.position = 0;
|
|
24
|
-
this.sections = 0;
|
|
25
|
-
this.isHorizontal = false;
|
|
26
|
-
this.isIncreasing = false;
|
|
27
|
-
this.gap = 0;
|
|
28
|
-
this.borderRadius = 0;
|
|
29
|
-
this.min = {
|
|
30
|
-
x: 0,
|
|
31
|
-
y: 0
|
|
32
|
-
};
|
|
33
|
-
this.max = {
|
|
34
|
-
x: 0,
|
|
35
|
-
y: 0
|
|
36
|
-
};
|
|
37
|
-
this.points = [];
|
|
38
37
|
this.context = context;
|
|
39
38
|
this.isHorizontal = isHorizontal ?? false;
|
|
40
39
|
this.gap = gap ?? 0;
|
|
@@ -14,6 +14,13 @@ import { max, min } from "./utils.js";
|
|
|
14
14
|
* https://github.com/d3/d3-shape/blob/a82254af78f08799c71d7ab25df557c4872a3c51/src/curve/step.js
|
|
15
15
|
*/
|
|
16
16
|
export class Step {
|
|
17
|
+
isHorizontal = false;
|
|
18
|
+
isIncreasing = false;
|
|
19
|
+
gap = 0;
|
|
20
|
+
borderRadius = 0;
|
|
21
|
+
position = 0;
|
|
22
|
+
sections = 0;
|
|
23
|
+
points = [];
|
|
17
24
|
constructor(context, {
|
|
18
25
|
isHorizontal,
|
|
19
26
|
gap,
|
|
@@ -22,14 +29,6 @@ export class Step {
|
|
|
22
29
|
isIncreasing,
|
|
23
30
|
sections
|
|
24
31
|
}) {
|
|
25
|
-
this.context = void 0;
|
|
26
|
-
this.isHorizontal = false;
|
|
27
|
-
this.isIncreasing = false;
|
|
28
|
-
this.gap = 0;
|
|
29
|
-
this.borderRadius = 0;
|
|
30
|
-
this.position = 0;
|
|
31
|
-
this.sections = 0;
|
|
32
|
-
this.points = [];
|
|
33
32
|
this.context = context;
|
|
34
33
|
this.isHorizontal = isHorizontal ?? false;
|
|
35
34
|
this.gap = gap ?? 0;
|
package/esm/Heatmap/Heatmap.js
CHANGED
|
@@ -307,6 +307,7 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
|
|
|
307
307
|
fill: PropTypes.string,
|
|
308
308
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
309
309
|
getValue: PropTypes.func.isRequired,
|
|
310
|
+
tickLabelStyle: PropTypes.object,
|
|
310
311
|
tickSize: PropTypes.number
|
|
311
312
|
})),
|
|
312
313
|
height: PropTypes.number,
|
|
@@ -370,6 +371,7 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
|
|
|
370
371
|
fill: PropTypes.string,
|
|
371
372
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
372
373
|
getValue: PropTypes.func.isRequired,
|
|
374
|
+
tickLabelStyle: PropTypes.object,
|
|
373
375
|
tickSize: PropTypes.number
|
|
374
376
|
})),
|
|
375
377
|
hideTooltip: PropTypes.bool,
|
|
@@ -308,6 +308,7 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
308
308
|
fill: PropTypes.string,
|
|
309
309
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
310
310
|
getValue: PropTypes.func.isRequired,
|
|
311
|
+
tickLabelStyle: PropTypes.object,
|
|
311
312
|
tickSize: PropTypes.number
|
|
312
313
|
})),
|
|
313
314
|
height: PropTypes.number,
|
|
@@ -378,6 +379,7 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
378
379
|
fill: PropTypes.string,
|
|
379
380
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
380
381
|
getValue: PropTypes.func.isRequired,
|
|
382
|
+
tickLabelStyle: PropTypes.object,
|
|
381
383
|
tickSize: PropTypes.number
|
|
382
384
|
})),
|
|
383
385
|
height: PropTypes.number,
|
|
@@ -884,6 +886,7 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
884
886
|
fill: PropTypes.string,
|
|
885
887
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
886
888
|
getValue: PropTypes.func.isRequired,
|
|
889
|
+
tickLabelStyle: PropTypes.object,
|
|
887
890
|
tickSize: PropTypes.number
|
|
888
891
|
})),
|
|
889
892
|
hideTooltip: PropTypes.bool,
|
|
@@ -953,6 +956,7 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
953
956
|
fill: PropTypes.string,
|
|
954
957
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
955
958
|
getValue: PropTypes.func.isRequired,
|
|
959
|
+
tickLabelStyle: PropTypes.object,
|
|
956
960
|
tickSize: PropTypes.number
|
|
957
961
|
})),
|
|
958
962
|
hideTooltip: PropTypes.bool,
|
|
@@ -280,6 +280,7 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
280
280
|
fill: PropTypes.string,
|
|
281
281
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
282
282
|
getValue: PropTypes.func.isRequired,
|
|
283
|
+
tickLabelStyle: PropTypes.object,
|
|
283
284
|
tickSize: PropTypes.number
|
|
284
285
|
})),
|
|
285
286
|
height: PropTypes.number,
|
|
@@ -350,6 +351,7 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
350
351
|
fill: PropTypes.string,
|
|
351
352
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
352
353
|
getValue: PropTypes.func.isRequired,
|
|
354
|
+
tickLabelStyle: PropTypes.object,
|
|
353
355
|
tickSize: PropTypes.number
|
|
354
356
|
})),
|
|
355
357
|
height: PropTypes.number,
|
|
@@ -856,6 +858,7 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
856
858
|
fill: PropTypes.string,
|
|
857
859
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
858
860
|
getValue: PropTypes.func.isRequired,
|
|
861
|
+
tickLabelStyle: PropTypes.object,
|
|
859
862
|
tickSize: PropTypes.number
|
|
860
863
|
})),
|
|
861
864
|
hideTooltip: PropTypes.bool,
|
|
@@ -925,6 +928,7 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
925
928
|
fill: PropTypes.string,
|
|
926
929
|
groups: PropTypes.arrayOf(PropTypes.shape({
|
|
927
930
|
getValue: PropTypes.func.isRequired,
|
|
931
|
+
tickLabelStyle: PropTypes.object,
|
|
928
932
|
tickSize: PropTypes.number
|
|
929
933
|
})),
|
|
930
934
|
hideTooltip: PropTypes.bool,
|
package/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { UseChartProExportSignature } from "./useChartProExport/index.js";
|
|
|
3
3
|
import { UseChartProZoomSignature } from "./useChartProZoom/index.js";
|
|
4
4
|
export type AllPluginSignatures<TSeries extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartCartesianAxisSignature<TSeries>, UseChartPolarAxisSignature<TSeries>, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProZoomSignature, UseChartProExportSignature];
|
|
5
5
|
export type AllPluginsType<TSeries extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<AllPluginSignatures<TSeries>>;
|
|
6
|
-
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<
|
|
6
|
+
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature>)[];
|
|
7
7
|
export type DefaultPluginSignatures<TSeries extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartCartesianAxisSignature<TSeries>, UseChartPolarAxisSignature<TSeries>, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProZoomSignature, UseChartProExportSignature];
|
|
8
8
|
export type DefaultPluginsType<TSeries extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<DefaultPluginSignatures<TSeries>>;
|
|
9
|
-
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<
|
|
9
|
+
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature>)[];
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { UseChartProExportSignature } from "./useChartProExport/index.js";
|
|
|
3
3
|
import { UseChartProZoomSignature } from "./useChartProZoom/index.js";
|
|
4
4
|
export type AllPluginSignatures<TSeries extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartCartesianAxisSignature<TSeries>, UseChartPolarAxisSignature<TSeries>, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProZoomSignature, UseChartProExportSignature];
|
|
5
5
|
export type AllPluginsType<TSeries extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<AllPluginSignatures<TSeries>>;
|
|
6
|
-
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<
|
|
6
|
+
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature>)[];
|
|
7
7
|
export type DefaultPluginSignatures<TSeries extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartCartesianAxisSignature<TSeries>, UseChartPolarAxisSignature<TSeries>, UseChartInteractionSignature, UseChartHighlightSignature, UseChartProZoomSignature, UseChartProExportSignature];
|
|
8
8
|
export type DefaultPluginsType<TSeries extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<DefaultPluginSignatures<TSeries>>;
|
|
9
|
-
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<
|
|
9
|
+
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature>)[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts-pro",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.2",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Pro plan edition of the MUI X Charts components.",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7.28.2",
|
|
32
|
-
"@mui/utils": "^7.
|
|
32
|
+
"@mui/utils": "^7.3.1",
|
|
33
33
|
"clsx": "^2.1.1",
|
|
34
34
|
"prop-types": "^15.8.1",
|
|
35
|
+
"@mui/x-internals": "8.10.2",
|
|
36
|
+
"@mui/x-license": "8.10.2",
|
|
37
|
+
"@mui/x-internal-gestures": "0.2.4",
|
|
35
38
|
"@mui/x-charts-vendor": "8.6.0",
|
|
36
|
-
"@mui/x-charts": "8.10.
|
|
37
|
-
"@mui/x-internal-gestures": "0.2.3",
|
|
38
|
-
"@mui/x-internals": "8.10.0",
|
|
39
|
-
"@mui/x-license": "8.10.0"
|
|
39
|
+
"@mui/x-charts": "8.10.2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@emotion/react": "^11.9.0",
|
|
@@ -60,31 +60,30 @@
|
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=14.0.0"
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"type": "commonjs",
|
|
64
|
+
"types": "./index.d.ts",
|
|
64
65
|
"exports": {
|
|
65
66
|
"./package.json": "./package.json",
|
|
66
67
|
".": {
|
|
67
|
-
"require": {
|
|
68
|
-
"types": "./index.d.ts",
|
|
69
|
-
"default": "./index.js"
|
|
70
|
-
},
|
|
71
68
|
"import": {
|
|
72
69
|
"types": "./esm/index.d.ts",
|
|
73
70
|
"default": "./esm/index.js"
|
|
71
|
+
},
|
|
72
|
+
"require": {
|
|
73
|
+
"types": "./index.d.ts",
|
|
74
|
+
"default": "./index.js"
|
|
74
75
|
}
|
|
75
76
|
},
|
|
76
77
|
"./*": {
|
|
77
|
-
"require": {
|
|
78
|
-
"types": "./*/index.d.ts",
|
|
79
|
-
"default": "./*/index.js"
|
|
80
|
-
},
|
|
81
78
|
"import": {
|
|
82
79
|
"types": "./esm/*/index.d.ts",
|
|
83
80
|
"default": "./esm/*/index.js"
|
|
81
|
+
},
|
|
82
|
+
"require": {
|
|
83
|
+
"types": "./*/index.d.ts",
|
|
84
|
+
"default": "./*/index.js"
|
|
84
85
|
}
|
|
85
86
|
},
|
|
86
|
-
"./esm": null
|
|
87
|
-
|
|
88
|
-
},
|
|
89
|
-
"types": "./index.d.ts"
|
|
87
|
+
"./esm": null
|
|
88
|
+
}
|
|
90
89
|
}
|