@mui/x-charts 7.0.0-alpha.1 → 7.0.0-alpha.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.
Files changed (73) hide show
  1. package/BarChart/index.d.ts +2 -2
  2. package/BarChart/index.js +21 -13
  3. package/CHANGELOG.md +366 -188
  4. package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +1 -1
  5. package/ChartsTooltip/ChartsAxisTooltipContent.js +8 -4
  6. package/ChartsTooltip/ChartsItemTooltipContent.d.ts +1 -1
  7. package/ChartsTooltip/ChartsItemTooltipContent.js +8 -4
  8. package/ChartsTooltip/ChartsTooltip.d.ts +1 -1
  9. package/ChartsTooltip/ChartsTooltip.js +13 -5
  10. package/ChartsTooltip/ChartsTooltipTable.js +3 -3
  11. package/ChartsTooltip/chartsTooltipClasses.d.ts +21 -0
  12. package/ChartsTooltip/chartsTooltipClasses.js +12 -0
  13. package/ChartsTooltip/index.d.ts +1 -0
  14. package/ChartsTooltip/index.js +11 -0
  15. package/ChartsTooltip/utils.d.ts +1 -1
  16. package/ChartsTooltip/utils.js +2 -2
  17. package/LineChart/index.d.ts +5 -5
  18. package/LineChart/index.js +50 -41
  19. package/PieChart/index.d.ts +2 -2
  20. package/PieChart/index.js +20 -18
  21. package/ScatterChart/index.d.ts +3 -3
  22. package/ScatterChart/index.js +31 -19
  23. package/SparkLineChart/index.d.ts +1 -1
  24. package/SparkLineChart/index.js +11 -7
  25. package/esm/BarChart/index.js +2 -2
  26. package/esm/ChartsTooltip/ChartsAxisTooltipContent.js +8 -4
  27. package/esm/ChartsTooltip/ChartsItemTooltipContent.js +8 -4
  28. package/esm/ChartsTooltip/ChartsTooltip.js +15 -7
  29. package/esm/ChartsTooltip/ChartsTooltipTable.js +3 -3
  30. package/esm/ChartsTooltip/chartsTooltipClasses.js +5 -0
  31. package/esm/ChartsTooltip/index.js +2 -1
  32. package/esm/ChartsTooltip/utils.js +1 -1
  33. package/esm/LineChart/index.js +5 -5
  34. package/esm/PieChart/index.js +2 -2
  35. package/esm/ScatterChart/index.js +3 -3
  36. package/esm/SparkLineChart/index.js +1 -1
  37. package/index.js +1 -1
  38. package/legacy/BarChart/index.js +2 -2
  39. package/legacy/ChartsReferenceLine/common.js +3 -4
  40. package/legacy/ChartsTooltip/ChartsAxisTooltipContent.js +8 -4
  41. package/legacy/ChartsTooltip/ChartsItemTooltipContent.js +8 -4
  42. package/legacy/ChartsTooltip/ChartsTooltip.js +20 -12
  43. package/legacy/ChartsTooltip/ChartsTooltipTable.js +7 -8
  44. package/legacy/ChartsTooltip/chartsTooltipClasses.js +5 -0
  45. package/legacy/ChartsTooltip/index.js +2 -1
  46. package/legacy/ChartsTooltip/utils.js +1 -1
  47. package/legacy/LineChart/index.js +5 -5
  48. package/legacy/PieChart/index.js +2 -2
  49. package/legacy/ScatterChart/index.js +3 -3
  50. package/legacy/SparkLineChart/index.js +1 -1
  51. package/legacy/index.js +1 -1
  52. package/legacy/internals/components/AxisSharedComponents.js +5 -6
  53. package/modern/BarChart/index.js +2 -2
  54. package/modern/ChartsTooltip/ChartsAxisTooltipContent.js +8 -4
  55. package/modern/ChartsTooltip/ChartsItemTooltipContent.js +8 -4
  56. package/modern/ChartsTooltip/ChartsTooltip.js +15 -7
  57. package/modern/ChartsTooltip/ChartsTooltipTable.js +3 -3
  58. package/modern/ChartsTooltip/chartsTooltipClasses.js +5 -0
  59. package/modern/ChartsTooltip/index.js +2 -1
  60. package/modern/ChartsTooltip/utils.js +1 -1
  61. package/modern/LineChart/index.js +5 -5
  62. package/modern/PieChart/index.js +2 -2
  63. package/modern/ScatterChart/index.js +3 -3
  64. package/modern/SparkLineChart/index.js +1 -1
  65. package/modern/index.js +1 -1
  66. package/package.json +4 -3
  67. package/themeAugmentation/components.d.ts +1 -0
  68. package/themeAugmentation/overrides.d.ts +2 -0
  69. package/ChartsTooltip/tooltipClasses.d.ts +0 -13
  70. package/ChartsTooltip/tooltipClasses.js +0 -12
  71. package/esm/ChartsTooltip/tooltipClasses.js +0 -5
  72. package/legacy/ChartsTooltip/tooltipClasses.js +0 -5
  73. package/modern/ChartsTooltip/tooltipClasses.js +0 -5
@@ -1,2 +1,2 @@
1
- export { BarPlot } from './BarPlot';
2
- export { BarChart } from './BarChart';
1
+ export * from './BarPlot';
2
+ export * from './BarChart';
package/BarChart/index.js CHANGED
@@ -3,17 +3,25 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "BarChart", {
7
- enumerable: true,
8
- get: function () {
9
- return _BarChart.BarChart;
10
- }
11
- });
12
- Object.defineProperty(exports, "BarPlot", {
13
- enumerable: true,
14
- get: function () {
15
- return _BarPlot.BarPlot;
16
- }
17
- });
18
6
  var _BarPlot = require("./BarPlot");
19
- var _BarChart = require("./BarChart");
7
+ Object.keys(_BarPlot).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _BarPlot[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _BarPlot[key];
14
+ }
15
+ });
16
+ });
17
+ var _BarChart = require("./BarChart");
18
+ Object.keys(_BarChart).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _BarChart[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _BarChart[key];
25
+ }
26
+ });
27
+ });