diff --git a/docs/data/charts-component-api-pages.ts b/docs/data/charts-component-api-pages.ts
index 4619cc2c0ffa6..aaaa09657dbea 100644
--- a/docs/data/charts-component-api-pages.ts
+++ b/docs/data/charts-component-api-pages.ts
@@ -133,11 +133,6 @@ const apiPages: MuiPage[] = [
title: 'Heatmap',
plan: 'pro',
},
- {
- pathname: '/x/api/charts/heatmap-item',
- title: 'HeatmapItem',
- plan: 'pro',
- },
{
pathname: '/x/api/charts/heatmap-plot',
title: 'HeatmapPlot',
diff --git a/docs/data/charts/getting-started/getting-started.md b/docs/data/charts/getting-started/getting-started.md
index 3404ac1465d7a..fbd74b8ecb3d7 100644
--- a/docs/data/charts/getting-started/getting-started.md
+++ b/docs/data/charts/getting-started/getting-started.md
@@ -10,24 +10,11 @@ packageName: '@mui/x-charts'
## Installation
-Run one of the following commands to add the MUIÂ X Charts to your project:
+Using your favorite package manager, install `@mui/x-charts-pro` for the commercial version, or `@mui/x-charts` for the free community version.
-
-```bash npm
-npm install @mui/x-charts
-```
-
-```bash pnpm
-pnpm add @mui/x-charts
-```
-
-```bash yarn
-yarn add @mui/x-charts
-```
-
-
+{{"component": "modules/components/ChartsInstallationInstructions.js"}}
The Charts package has a peer dependency on `@mui/material`.
If you are not already using it in your project, you can install it with:
diff --git a/docs/data/charts/heatmap/BasicHeatmap.js b/docs/data/charts/heatmap/BasicHeatmap.js
index c8f6bb82978ed..38f200e412b9b 100644
--- a/docs/data/charts/heatmap/BasicHeatmap.js
+++ b/docs/data/charts/heatmap/BasicHeatmap.js
@@ -1,6 +1,5 @@
import * as React from 'react';
import Box from '@mui/material/Box';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap } from '@mui/x-charts-pro/Heatmap';
import { data } from './dumbData';
diff --git a/docs/data/charts/heatmap/BasicHeatmap.tsx b/docs/data/charts/heatmap/BasicHeatmap.tsx
index c8f6bb82978ed..38f200e412b9b 100644
--- a/docs/data/charts/heatmap/BasicHeatmap.tsx
+++ b/docs/data/charts/heatmap/BasicHeatmap.tsx
@@ -1,6 +1,5 @@
import * as React from 'react';
import Box from '@mui/material/Box';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap } from '@mui/x-charts-pro/Heatmap';
import { data } from './dumbData';
diff --git a/docs/data/charts/heatmap/ColorConfig.js b/docs/data/charts/heatmap/ColorConfig.js
index 55a8402f9a850..b20e75a7a1181 100644
--- a/docs/data/charts/heatmap/ColorConfig.js
+++ b/docs/data/charts/heatmap/ColorConfig.js
@@ -1,6 +1,5 @@
import * as React from 'react';
import { interpolateBlues } from 'd3-scale-chromatic';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap } from '@mui/x-charts-pro/Heatmap';
const dataset = [
diff --git a/docs/data/charts/heatmap/ColorConfig.tsx b/docs/data/charts/heatmap/ColorConfig.tsx
index abcbca1cd00a9..ee09304de139d 100644
--- a/docs/data/charts/heatmap/ColorConfig.tsx
+++ b/docs/data/charts/heatmap/ColorConfig.tsx
@@ -1,6 +1,5 @@
import * as React from 'react';
import { interpolateBlues } from 'd3-scale-chromatic';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap } from '@mui/x-charts-pro/Heatmap';
import { HeatmapValueType } from '@mui/x-charts-pro/models';
diff --git a/docs/data/charts/heatmap/CustomItem.js b/docs/data/charts/heatmap/CustomItem.js
index 71f0cabfce04e..62233cd7feb1b 100644
--- a/docs/data/charts/heatmap/CustomItem.js
+++ b/docs/data/charts/heatmap/CustomItem.js
@@ -1,6 +1,5 @@
import * as React from 'react';
import Box from '@mui/material/Box';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap } from '@mui/x-charts-pro/Heatmap';
import { data } from './dumbData';
diff --git a/docs/data/charts/heatmap/CustomItem.tsx b/docs/data/charts/heatmap/CustomItem.tsx
index 9dd103db3c4f1..dd0dbff5ef823 100644
--- a/docs/data/charts/heatmap/CustomItem.tsx
+++ b/docs/data/charts/heatmap/CustomItem.tsx
@@ -1,6 +1,5 @@
import * as React from 'react';
import Box from '@mui/material/Box';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap } from '@mui/x-charts-pro/Heatmap';
import { data } from './dumbData';
diff --git a/docs/data/charts/heatmap/HighlightClasses.js b/docs/data/charts/heatmap/HighlightClasses.js
index e55c6b195f5b8..d8dfef304f661 100644
--- a/docs/data/charts/heatmap/HighlightClasses.js
+++ b/docs/data/charts/heatmap/HighlightClasses.js
@@ -1,6 +1,5 @@
import * as React from 'react';
import Box from '@mui/material/Box';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap, heatmapClasses } from '@mui/x-charts-pro/Heatmap';
import { data } from './dumbData';
diff --git a/docs/data/charts/heatmap/HighlightClasses.tsx b/docs/data/charts/heatmap/HighlightClasses.tsx
index e55c6b195f5b8..d8dfef304f661 100644
--- a/docs/data/charts/heatmap/HighlightClasses.tsx
+++ b/docs/data/charts/heatmap/HighlightClasses.tsx
@@ -1,6 +1,5 @@
import * as React from 'react';
import Box from '@mui/material/Box';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap, heatmapClasses } from '@mui/x-charts-pro/Heatmap';
import { data } from './dumbData';
diff --git a/docs/data/charts/heatmap/HighlightHeatmap.js b/docs/data/charts/heatmap/HighlightHeatmap.js
index abdbd1b89f480..d122adfd2b0aa 100644
--- a/docs/data/charts/heatmap/HighlightHeatmap.js
+++ b/docs/data/charts/heatmap/HighlightHeatmap.js
@@ -1,6 +1,5 @@
import * as React from 'react';
import Box from '@mui/material/Box';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap } from '@mui/x-charts-pro/Heatmap';
import { data } from './dumbData';
diff --git a/docs/data/charts/heatmap/HighlightHeatmap.tsx b/docs/data/charts/heatmap/HighlightHeatmap.tsx
index abdbd1b89f480..d122adfd2b0aa 100644
--- a/docs/data/charts/heatmap/HighlightHeatmap.tsx
+++ b/docs/data/charts/heatmap/HighlightHeatmap.tsx
@@ -1,6 +1,5 @@
import * as React from 'react';
import Box from '@mui/material/Box';
-import '@mui/x-charts-pro/typeOverloads';
import { Heatmap } from '@mui/x-charts-pro/Heatmap';
import { data } from './dumbData';
diff --git a/docs/data/charts/heatmap/heatmap.md b/docs/data/charts/heatmap/heatmap.md
index b334ca1df7d71..f33f20a988aab 100644
--- a/docs/data/charts/heatmap/heatmap.md
+++ b/docs/data/charts/heatmap/heatmap.md
@@ -1,20 +1,13 @@
---
title: React Heatmap chart
productId: x-charts
-components: Heatmap, HeatmapPlot, HeatmapItem, DefaultHeatmapTooltip
+components: Heatmap, HeatmapPlot, DefaultHeatmapTooltip
---
-# Charts - Heatmap [](/x/introduction/licensing/#pro-plan 'Pro plan') 🚧
+# Charts - Heatmap [](/x/introduction/licensing/#pro-plan 'Pro plan')
Heatmap charts visually represents data with color variations to highlight patterns and trends across two dimensions.
-:::warning
-The Heatmap Chart component is part of the pro package which is **not yet** released.
-
-You can test demos.
-Don't hesitate to open issues to give feedback.
-:::
-
## Basics
The Heatmap requires two axes with `data` properties.
diff --git a/docs/data/charts/zoom-and-pan/zoom-and-pan.md b/docs/data/charts/zoom-and-pan/zoom-and-pan.md
index 389b055de0999..4c2c5082cc153 100644
--- a/docs/data/charts/zoom-and-pan/zoom-and-pan.md
+++ b/docs/data/charts/zoom-and-pan/zoom-and-pan.md
@@ -4,17 +4,10 @@ productId: x-charts
components: ScatterChartPro, BarChartPro, LineChartPro
---
-# Zoom & Pan [](/x/introduction/licensing/#pro-plan 'Pro plan') 🚧
+# Zoom & Pan [](/x/introduction/licensing/#pro-plan 'Pro plan')
Enables zooming and panning on specific charts or axis.
-:::warning
-The zoom feature is part of the pro package which is **not yet** released.
-
-You can test demos.
-Don't hesitate to open issues to give feedback.
-:::
-
Zooming is possible on the **Pro**[](/x/introduction/licensing/#pro-plan 'Pro plan') versions of the charts: ``, ``, ``.
## Basic usage
diff --git a/docs/data/introduction/licensing/licensing.md b/docs/data/introduction/licensing/licensing.md
index fccbdc8442846..14142fdb118cc 100644
--- a/docs/data/introduction/licensing/licensing.md
+++ b/docs/data/introduction/licensing/licensing.md
@@ -44,6 +44,7 @@ These are the Pro npm packages:
- [`@mui/x-data-grid-pro`](https://www.npmjs.com/package/@mui/x-data-grid-pro)
- [`@mui/x-date-pickers-pro`](https://www.npmjs.com/package/@mui/x-date-pickers-pro)
- [`@mui/x-tree-view-pro`](https://www.npmjs.com/package/@mui/x-tree-view-pro)
+- [`@mui/x-charts-pro`](https://www.npmjs.com/package/@mui/x-charts-pro)
### Premium plan
diff --git a/docs/data/pages.ts b/docs/data/pages.ts
index ae5de4cf9b6b3..62ed986c8ca8c 100644
--- a/docs/data/pages.ts
+++ b/docs/data/pages.ts
@@ -428,7 +428,7 @@ const pages: MuiPage[] = [
pathname: '/x/react-charts/heatmap',
title: 'Heatmap',
plan: 'pro',
- planned: true,
+ unstable: true,
},
{
pathname: '/x/react-charts/common-features',
@@ -446,7 +446,7 @@ const pages: MuiPage[] = [
pathname: '/x/react-charts/zoom-and-pan',
title: 'Zoom & Pan',
plan: 'pro',
- planned: true,
+ unstable: true,
},
],
},
diff --git a/docs/pages/x/api/charts/bar-chart-pro.json b/docs/pages/x/api/charts/bar-chart-pro.json
index 56b7b863b87c9..141bd308bd168 100644
--- a/docs/pages/x/api/charts/bar-chart-pro.json
+++ b/docs/pages/x/api/charts/bar-chart-pro.json
@@ -118,6 +118,6 @@
"muiName": "MuiBarChartPro",
"filename": "/packages/x-charts-pro/src/BarChartPro/BarChartPro.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/pages/x/api/charts/default-heatmap-tooltip.json b/docs/pages/x/api/charts/default-heatmap-tooltip.json
index fc5ce2bb3c837..caa6575ad64ce 100644
--- a/docs/pages/x/api/charts/default-heatmap-tooltip.json
+++ b/docs/pages/x/api/charts/default-heatmap-tooltip.json
@@ -81,6 +81,6 @@
"muiName": "MuiDefaultHeatmapTooltip",
"filename": "/packages/x-charts-pro/src/Heatmap/DefaultHeatmapTooltip.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/pages/x/api/charts/heatmap-item.js b/docs/pages/x/api/charts/heatmap-item.js
deleted file mode 100644
index 208c470c11395..0000000000000
--- a/docs/pages/x/api/charts/heatmap-item.js
+++ /dev/null
@@ -1,23 +0,0 @@
-import * as React from 'react';
-import ApiPage from 'docs/src/modules/components/ApiPage';
-import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
-import jsonPageContent from './heatmap-item.json';
-
-export default function Page(props) {
- const { descriptions, pageContent } = props;
- return ;
-}
-
-Page.getInitialProps = () => {
- const req = require.context(
- 'docsx/translations/api-docs/charts/heatmap-item',
- false,
- /\.\/heatmap-item.*.json$/,
- );
- const descriptions = mapApiPageTranslations(req);
-
- return {
- descriptions,
- pageContent: jsonPageContent,
- };
-};
diff --git a/docs/pages/x/api/charts/heatmap-item.json b/docs/pages/x/api/charts/heatmap-item.json
deleted file mode 100644
index e05b59240c973..0000000000000
--- a/docs/pages/x/api/charts/heatmap-item.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "props": {
- "slotProps": { "type": { "name": "object" }, "default": "{}" },
- "slots": {
- "type": { "name": "object" },
- "default": "{}",
- "additionalInfo": { "slotsApi": true }
- }
- },
- "name": "HeatmapItem",
- "imports": [
- "import { HeatmapItem } from '@mui/x-charts-pro/Heatmap';",
- "import { HeatmapItem } from '@mui/x-charts-pro';"
- ],
- "slots": [
- {
- "name": "cell",
- "description": "The component that renders the heatmap cell.",
- "default": "HeatmapCell",
- "class": null
- }
- ],
- "classes": [],
- "muiName": "MuiHeatmapItem",
- "filename": "/packages/x-charts-pro/src/Heatmap/HeatmapItem.tsx",
- "inheritance": null,
- "demos": "",
- "cssComponent": false
-}
diff --git a/docs/pages/x/api/charts/heatmap-plot.json b/docs/pages/x/api/charts/heatmap-plot.json
index 63eddc26e7d7a..e4f2afd00d550 100644
--- a/docs/pages/x/api/charts/heatmap-plot.json
+++ b/docs/pages/x/api/charts/heatmap-plot.json
@@ -16,6 +16,6 @@
"muiName": "MuiHeatmapPlot",
"filename": "/packages/x-charts-pro/src/Heatmap/HeatmapPlot.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/pages/x/api/charts/heatmap.json b/docs/pages/x/api/charts/heatmap.json
index fb2e2656976a8..a80558e101165 100644
--- a/docs/pages/x/api/charts/heatmap.json
+++ b/docs/pages/x/api/charts/heatmap.json
@@ -95,63 +95,13 @@
"import { Heatmap } from '@mui/x-charts-pro/Heatmap';",
"import { Heatmap } from '@mui/x-charts-pro';"
],
- "slots": [
- {
- "name": "axisLabel",
- "description": "Custom component for axis label.",
- "default": "ChartsText",
- "class": null
- },
- {
- "name": "axisLine",
- "description": "Custom component for the axis main line.",
- "default": "'line'",
- "class": null
- },
- {
- "name": "axisTick",
- "description": "Custom component for the axis tick.",
- "default": "'line'",
- "class": null
- },
- {
- "name": "axisTickLabel",
- "description": "Custom component for tick label.",
- "default": "ChartsText",
- "class": null
- },
- {
- "name": "cell",
- "description": "The component that renders the heatmap cell.",
- "default": "HeatmapCell",
- "class": "MuiHeatmap-cell"
- },
- {
- "name": "itemContent",
- "description": "Custom component for displaying tooltip content when triggered by item event.",
- "default": "DefaultChartsItemTooltipContent",
- "class": null
- },
- {
- "name": "loadingOverlay",
- "description": "Overlay component rendered when the chart is in a loading state.",
- "default": "ChartsLoadingOverlay",
- "class": null
- },
+ "classes": [
{
- "name": "noDataOverlay",
- "description": "Overlay component rendered when the chart has no data to display.",
- "default": "ChartsNoDataOverlay",
- "class": null
+ "key": "cell",
+ "className": "MuiHeatmap-cell",
+ "description": "Styles applied to the heatmap cells.",
+ "isGlobal": false
},
- {
- "name": "popper",
- "description": "Custom component for the tooltip popper.",
- "default": "ChartsTooltipRoot",
- "class": null
- }
- ],
- "classes": [
{
"key": "faded",
"className": "MuiHeatmap-faded",
@@ -168,6 +118,6 @@
"muiName": "MuiHeatmap",
"filename": "/packages/x-charts-pro/src/Heatmap/Heatmap.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/pages/x/api/charts/line-chart-pro.json b/docs/pages/x/api/charts/line-chart-pro.json
index 112114368dc47..6b2c4e32e0460 100644
--- a/docs/pages/x/api/charts/line-chart-pro.json
+++ b/docs/pages/x/api/charts/line-chart-pro.json
@@ -111,6 +111,6 @@
"muiName": "MuiLineChartPro",
"filename": "/packages/x-charts-pro/src/LineChartPro/LineChartPro.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/pages/x/api/charts/scatter-chart-pro.json b/docs/pages/x/api/charts/scatter-chart-pro.json
index 17da9ca377a69..f1b2cc769bf90 100644
--- a/docs/pages/x/api/charts/scatter-chart-pro.json
+++ b/docs/pages/x/api/charts/scatter-chart-pro.json
@@ -127,6 +127,6 @@
"muiName": "MuiScatterChartPro",
"filename": "/packages/x-charts-pro/src/ScatterChartPro/ScatterChartPro.tsx",
"inheritance": null,
- "demos": "",
+ "demos": "",
"cssComponent": false
}
diff --git a/docs/pages/x/react-charts/heatmap.js b/docs/pages/x/react-charts/heatmap.js
index 64f12f23f6eaa..0afdda688028f 100644
--- a/docs/pages/x/react-charts/heatmap.js
+++ b/docs/pages/x/react-charts/heatmap.js
@@ -3,5 +3,5 @@ import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import * as pageProps from 'docsx/data/charts/heatmap/heatmap.md?muiMarkdown';
export default function Page() {
- return ;
+ return ;
}
diff --git a/docs/pages/x/react-charts/zoom-and-pan.js b/docs/pages/x/react-charts/zoom-and-pan.js
index 4a2393ba8b38e..f66861bb5a5d4 100644
--- a/docs/pages/x/react-charts/zoom-and-pan.js
+++ b/docs/pages/x/react-charts/zoom-and-pan.js
@@ -3,5 +3,5 @@ import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import * as pageProps from 'docsx/data/charts/zoom-and-pan/zoom-and-pan.md?muiMarkdown';
export default function Page() {
- return ;
+ return ;
}
diff --git a/docs/src/modules/components/ChartComponentsGrid.js b/docs/src/modules/components/ChartComponentsGrid.js
index 8752ad0ec1fc0..21fed83ce16d1 100644
--- a/docs/src/modules/components/ChartComponentsGrid.js
+++ b/docs/src/modules/components/ChartComponentsGrid.js
@@ -65,7 +65,6 @@ function getComponents() {
srcLight: '/static/x/component-illustrations/heatmap-light.png',
srcDark: '/static/x/component-illustrations/heatmap-dark.png',
href: '/x/react-charts/heatmap/',
- planned: true,
pro: true,
},
{
diff --git a/docs/src/modules/components/ChartsInstallationInstructions.js b/docs/src/modules/components/ChartsInstallationInstructions.js
new file mode 100644
index 0000000000000..b11fd2a211354
--- /dev/null
+++ b/docs/src/modules/components/ChartsInstallationInstructions.js
@@ -0,0 +1,13 @@
+import * as React from 'react';
+import InstallationInstructions from './InstallationInstructions';
+
+// #default-branch-switch
+
+const packages = {
+ Community: '@mui/x-charts',
+ Pro: '@mui/x-charts-pro',
+};
+
+export default function DataGridInstallationInstructions() {
+ return ;
+}
diff --git a/docs/translations/api-docs/charts/heatmap-item/heatmap-item.json b/docs/translations/api-docs/charts/heatmap-item/heatmap-item.json
deleted file mode 100644
index e14233d823404..0000000000000
--- a/docs/translations/api-docs/charts/heatmap-item/heatmap-item.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "componentDescription": "",
- "propDescriptions": {
- "slotProps": { "description": "The props used for each component slot." },
- "slots": { "description": "Overridable component slots." }
- },
- "classDescriptions": {},
- "slotDescriptions": { "cell": "The component that renders the heatmap cell." }
-}
diff --git a/docs/translations/api-docs/charts/heatmap/heatmap.json b/docs/translations/api-docs/charts/heatmap/heatmap.json
index f5ad8fd40997a..8db3fec541fc5 100644
--- a/docs/translations/api-docs/charts/heatmap/heatmap.json
+++ b/docs/translations/api-docs/charts/heatmap/heatmap.json
@@ -62,6 +62,7 @@
"zAxis": { "description": "The configuration of the z-axes." }
},
"classDescriptions": {
+ "cell": { "description": "Styles applied to {{nodeName}}.", "nodeName": "the heatmap cells" },
"faded": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the cell element",
@@ -72,16 +73,5 @@
"nodeName": "the cell element",
"conditions": "highlighted"
}
- },
- "slotDescriptions": {
- "axisLabel": "Custom component for axis label.",
- "axisLine": "Custom component for the axis main line.",
- "axisTick": "Custom component for the axis tick.",
- "axisTickLabel": "Custom component for tick label.",
- "cell": "The component that renders the heatmap cell.",
- "itemContent": "Custom component for displaying tooltip content when triggered by item event.",
- "loadingOverlay": "Overlay component rendered when the chart is in a loading state.",
- "noDataOverlay": "Overlay component rendered when the chart has no data to display.",
- "popper": "Custom component for the tooltip popper."
}
}
diff --git a/package.json b/package.json
index ad0c4abefdf59..8d00c1f5be0df 100644
--- a/package.json
+++ b/package.json
@@ -55,7 +55,7 @@
"typescript": "lerna run --no-bail --parallel typescript",
"typescript:ci": "lerna run --concurrency 3 --no-bail --no-sort typescript",
"use-react-version": "node scripts/useReactVersion.mjs",
- "build:codesandbox": "pnpm release:build",
+ "build:codesandbox": "lerna run --concurrency 3 --no-private --scope \"@mui/*\" build",
"install:codesandbox": "pnpm install --no-frozen-lockfile",
"release:changelog": "node scripts/releaseChangelog.mjs",
"release:version": "lerna version --exact --no-changelog --no-push --no-git-tag-version --no-private",
diff --git a/packages/x-charts-pro/package.json b/packages/x-charts-pro/package.json
index 6f81dc767fdc9..28536720a38f9 100644
--- a/packages/x-charts-pro/package.json
+++ b/packages/x-charts-pro/package.json
@@ -1,10 +1,9 @@
{
"name": "@mui/x-charts-pro",
- "version": "7.7.0",
- "private": true,
+ "version": "7.0.0-alpha.0",
"description": "The Pro plan edition of the Charts components (MUI X).",
"author": "MUI Team",
- "main": "./src/index.ts",
+ "main": "src/index.ts",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/mui/mui-x/issues"
@@ -73,18 +72,6 @@
"csstype": "^3.1.3",
"rimraf": "^5.0.9"
},
- "exports": {
- ".": {
- "types": "./index.d.ts",
- "import": "./esm/index.js",
- "default": "./esm/index.js"
- },
- "./*": {
- "types": "./*/index.d.ts",
- "import": "./esm/*/index.js",
- "default": "./esm/*/index.js"
- }
- },
"engines": {
"node": ">=14.0.0"
}
diff --git a/packages/x-charts-pro/src/Heatmap/HeatmapItem.tsx b/packages/x-charts-pro/src/Heatmap/HeatmapItem.tsx
index 5b36445c5aa96..c1e035685b8f7 100644
--- a/packages/x-charts-pro/src/Heatmap/HeatmapItem.tsx
+++ b/packages/x-charts-pro/src/Heatmap/HeatmapItem.tsx
@@ -70,6 +70,9 @@ const useUtilityClasses = (ownerState: HeatmapItemOwnerState) => {
return composeClasses(slots, getHeatmapUtilityClass, classes);
};
+/**
+ * @ignore - internal component.
+ */
function HeatmapItem(props: HeatmapItemProps) {
const { seriesId, dataIndex, color, value, slotProps = {}, slots = {}, ...other } = props;
diff --git a/packages/x-charts-pro/src/Heatmap/index.ts b/packages/x-charts-pro/src/Heatmap/index.ts
index ee97c0d75d3c2..ceba96993d01f 100644
--- a/packages/x-charts-pro/src/Heatmap/index.ts
+++ b/packages/x-charts-pro/src/Heatmap/index.ts
@@ -1,5 +1,6 @@
-export * from './Heatmap';
-export * from './HeatmapPlot';
-export * from './HeatmapItem';
+import type {} from '../typeOverloads';
+
+export { Heatmap } from './Heatmap';
+export { HeatmapPlot } from './HeatmapPlot';
export * from './DefaultHeatmapTooltip';
export * from './heatmapClasses';
diff --git a/packages/x-charts/package.json b/packages/x-charts/package.json
index 7ee9390fb6d0b..c6e011cbc4f23 100644
--- a/packages/x-charts/package.json
+++ b/packages/x-charts/package.json
@@ -3,7 +3,7 @@
"version": "7.12.0",
"description": "The community edition of the Charts components (MUI X).",
"author": "MUI Team",
- "main": "./src/index.js",
+ "main": "src/index.js",
"license": "MIT",
"bugs": {
"url": "https://github.com/mui/mui-x/issues"
diff --git a/scripts/releaseChangelog.mjs b/scripts/releaseChangelog.mjs
index 7c2867817cc91..18cf5e6de2536 100644
--- a/scripts/releaseChangelog.mjs
+++ b/scripts/releaseChangelog.mjs
@@ -157,6 +157,7 @@ async function main(argv) {
const pickersCommits = [];
const pickersProCommits = [];
const chartsCommits = [];
+ const chartsProCommits = [];
const treeViewCommits = [];
const coreCommits = [];
const docsCommits = [];
@@ -189,6 +190,9 @@ async function main(argv) {
case 'DateTimeRangePicker':
pickersProCommits.push(commitItem);
break;
+ case 'charts-pro':
+ chartsProCommits.push(commitItem);
+ break;
case 'charts':
chartsCommits.push(commitItem);
break;
@@ -312,6 +316,11 @@ ${logChangelogSection(pickersProCommits)}
${logChangelogSection(chartsCommits)}
+#### \`@mui/x-date-charts-pro@__VERSION-ALPHA__\` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
+
+Same changes as in \`@mui/x-charts@__VERSION__\`${chartsProCommits.length > 0 ? ', plus:\n' : '.'}
+${logChangelogSection(chartsProCommits)}
+
### Tree View
#### \`@mui/x-tree-view@__VERSION__\`
diff --git a/scripts/x-charts-pro.exports.json b/scripts/x-charts-pro.exports.json
index e77f1a8c981a2..b4aba91475fb0 100644
--- a/scripts/x-charts-pro.exports.json
+++ b/scripts/x-charts-pro.exports.json
@@ -174,16 +174,7 @@
{ "name": "heatmapClasses", "kind": "Variable" },
{ "name": "HeatmapClasses", "kind": "Interface" },
{ "name": "HeatmapClassKey", "kind": "TypeAlias" },
- { "name": "HeatmapItem", "kind": "Function" },
- { "name": "HeatmapItemOwnerState", "kind": "Interface" },
- { "name": "HeatmapItemProps", "kind": "Interface" },
- { "name": "HeatmapItemSlotProps", "kind": "Interface" },
- { "name": "HeatmapItemSlots", "kind": "Interface" },
{ "name": "HeatmapPlot", "kind": "Function" },
- { "name": "HeatmapPlotProps", "kind": "Interface" },
- { "name": "HeatmapProps", "kind": "Interface" },
- { "name": "HeatmapSlotProps", "kind": "Interface" },
- { "name": "HeatmapSlots", "kind": "Interface" },
{ "name": "HighlightedContext", "kind": "Variable" },
{ "name": "HighlightedProvider", "kind": "Function" },
{ "name": "HighlightedProviderProps", "kind": "TypeAlias" },