Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[charts-pro] Release the pro package in alpha #13859

Merged
merged 21 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions docs/data/charts/getting-started/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<!-- #default-branch-switch -->

<codeblock storageKey="package-manager">
```bash npm
npm install @mui/x-charts
```

```bash yarn
yarn add @mui/x-charts
```

```bash pnpm
pnpm add @mui/x-charts
```

</codeblock>
{{"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:
Expand Down
1 change: 0 additions & 1 deletion docs/src/modules/components/ChartComponentsGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down
13 changes: 13 additions & 0 deletions docs/src/modules/components/ChartsInstallationInstructions.js
Original file line number Diff line number Diff line change
@@ -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 <InstallationInstructions packages={packages} />;
}
3 changes: 1 addition & 2 deletions packages/x-charts-pro/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"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",
Expand Down
9 changes: 9 additions & 0 deletions scripts/releaseChangelog.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ async function main(argv) {
const pickersCommits = [];
const pickersProCommits = [];
const chartsCommits = [];
const chartsProCommits = [];
const treeViewCommits = [];
const coreCommits = [];
const docsCommits = [];
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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__\`
Expand Down
Loading