Skip to content

Commit

Permalink
Merge branch 'master' into time-reference-date
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Jun 29, 2023
2 parents fd3026c + 889af42 commit 45c9249
Show file tree
Hide file tree
Showing 141 changed files with 3,174 additions and 2,110 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
test_browser:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.33.0-focal
- image: mcr.microsoft.com/playwright:v1.35.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
test_e2e:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.33.0-focal
- image: mcr.microsoft.com/playwright:v1.35.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -235,7 +235,7 @@ jobs:
test_e2e_website:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.33.0-focal
- image: mcr.microsoft.com/playwright:v1.35.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -250,7 +250,7 @@ jobs:
test_regressions:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.33.0-focal
- image: mcr.microsoft.com/playwright:v1.35.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -266,7 +266,7 @@ jobs:
test_performance:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.33.0-focal
- image: mcr.microsoft.com/playwright:v1.35.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/4.premium-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ body:
- type: input
id: contact
attributes:
label: Order ID or Support key 💳 (optional)
label: Order ID
description: The order ID of the purchased Premium plan. Community users can [learn more about support](https://mui.com/getting-started/support/) in the documentation.
placeholder: 'e.g. 11111'
validations:
Expand Down
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/5.priority-support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: 'Priority support: SLA ⏰'
description: I'm a Premium plan user and I have the priority support add-on, I can't find a solution to my problem with MUI X.
title: '[question] '
labels: ['status: needs triage', 'support: commercial', 'support: unknown']
body:
- type: markdown
attributes:
value: |
Please provide a searchable summary of the issue in the title above ⬆️.
- type: checkboxes
attributes:
label: Duplicates
description: Please [search the history](https://github.com/mui/mui-x/issues) to see if an issue already exists for the same problem.
options:
- label: I have searched the existing issues
required: true
- type: checkboxes
attributes:
label: Latest version
description: We roll bug fixes, performance enhancements, and other improvements into new releases.
options:
- label: I have tested the latest version
required: true
- type: textarea
attributes:
label: The problem in depth 🔍
- type: textarea
attributes:
label: Your environment 🌎
description: Run `npx @mui/envinfo` and post the results. If you encounter issues with TypeScript please include the used tsconfig.
value: |
<details>
<summary>`npx @mui/envinfo`</summary>
```
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
```
</details>
File renamed without changes.
47 changes: 47 additions & 0 deletions .github/workflows/priority-support-validation-prompt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Priority Support Validation Prompt

on:
issues:
types:
- labeled

permissions: {}

jobs:
comment:
name: Create or update comment
runs-on: ubuntu-latest
permissions:
issues: write

steps:
- name: Find Comment
uses: peter-evans/find-comment@v2 # v2.4.0
id: findComment
with:
issue-number: ${{ github.event.issue.number }}
comment-author: 'github-actions[bot]'
body-includes: You have created a priority support request

- name: Create comment
if: ${{ steps.findComment.outputs.comment-id == '' && contains(github.event.label.name, 'unknown') }}
uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f # v3.0.2
with:
issue-number: ${{ github.event.issue.number }}
body: |
You have created a priority support request ⏰. Please validate your support key using the link below:
https://tools-public.mui.com/prod/pages/jyhs86t?repo=mui-x&issueId=${{ github.event.issue.number }}
Do not share you support key in this issue!
Priority support will only be provided to verified customers. Once you have verified your support key, we will remove the `support: unknown` label and add the `support: priority` label to this issue. Only then the time for the SLA will start counting.
- name: Update comment
if: ${{ steps.findComment.outputs.comment-id != '' && contains(github.event.label.name, 'priority') }}
uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f # v3.0.2
with:
comment-id: ${{ steps.findComment.outputs.comment-id }}
body: |
Thank you for verifying your support key 🔑, your SLA starts now.
edit-mode: replace
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,77 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 6.9.0

_Jun 22, 2023_

We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:

- 🎁 We released a new open-source package: `@mui/x-charts`. This package aims at simplifying the integration of charts into your dashboards. 📊

<img width="512" alt="charts" src="https://github.com/mui/mui-x/assets/3165635/41201d3c-16a4-442d-a230-68356e6b433d">

It already contains [line](https://mui.com/x/react-charts/lines/), [bar](https://mui.com/x/react-charts/bars/), and [scatter](https://mui.com/x/react-charts/scatter/) charts, with basic customization features. Check out the [documentation](https://mui.com/x/react-charts/) to see what it can do, and open issues to get the feature you need implemented.

- 🚀 Introducing UTC and timezone support for pickers.

<img width="774" src="https://github.com/mui/mui-x/assets/3165635/ad95a404-ee67-4aff-b996-ad6cbb322348">

Visit the [documentation](https://mui.com/x/react-date-pickers/timezone/) to learn how to use it.

- 🌍 Improve Brazilian Portuguese (pt-BR) on the data grid
- 🌍 Improve Czech (cs-CZ) locale on the pickers
- 🚅 Performance improvements
- 🐞 Bugfixes
- 📚 Documentation improvements

### `@mui/[email protected]` / `@mui/[email protected]` / `@mui/[email protected]`

#### Changes

- [DataGrid] Filtering performance: use unmemoized selectors by default (#9287) @romgrk
- [DataGrid] Use container dimensions from `getComputedStyle` (#9236) @m4theushw
- [l10n] Improve Brazilian Portuguese (pt-BR) locale (#9404) @julioAz

### `@mui/[email protected]` / `@mui/[email protected]`

#### Changes

- [fields] Ensure `minutesStep` is respected by fields arrows up/down (#9338) @alexfauquette
- [fields] Reset internal state when `referenceValue` changes (#9390) @adrianmxb
- [l10n] Improve Czech (cs-CZ) locale (#9397) @radimkafka
- [pickers] Add proper support for UTC and timezones (#8261) @flaviendelangle
- [pickers] Fix field section selection on `DateTimePicker` (#9342) @LukasTy
- [pickers] Reduce date range calendar vertical border width (#9368) @oliviertassinari
- [pickers] Reset fields internal state when pasting value (#9385) @alexfauquette

### `@mui/[email protected]`

#### Changes

- [charts] Allow to customize colors based on the theme mode (#9006) @alexfauquette
- [charts] Prepare the charts release (#9361) @alexfauquette
- [charts] Various improvements of charts docs (#9341) @alexfauquette

### Docs

- [docs] Add examples of using different time view renderers (#9360) @LukasTy
- [docs] Add recipe for single-click editing (#8365) @m4theushw
- [docs] Fix Base UI references (#9349) @oliviertassinari
- [docs] Fix random screenshot generation (#9364) @cherniavskii
- [docs] Remove random generation from chart doc example (#9343) @flaviendelangle
- [docs] Sync h1 with sidenav link (#9252) @oliviertassinari
- [docs] Use the mui-x Stack Overflow tag (#9352) @oliviertassinari

### Core

- [core] Add PR template and update the contributions guide (#9329) @DanailH
- [core] Bump monorepo (#9420) @LukasTy
- [core] Fix file typo (#9421) @DanailH
- [core] Fix proptypes (#9396) @LukasTy
- [core] Move old release notes in `CHANGELOG.old.md` (#9269) @flaviendelangle
- [core] Add priority support issue template (#8928) @DanailH

## 6.8.0

_Jun 16, 2023_
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ See the [Licensing page](https://mui.com/x/introduction/licensing/) for details.

- [Data Grid](https://mui.com/x/react-data-grid/)
- [Date and Time Pickers](https://mui.com/x/react-date-pickers/getting-started/)
- [Charts](https://mui.com/x/react-charts/)

## Installation

Expand All @@ -30,6 +31,10 @@ Read the Data Grid [Installation instructions](https://mui.com/x/react-data-grid

Read the Date and Time Pickers [Installation instructions](https://mui.com/x/react-date-pickers/getting-started/#installation) in the MUI X docs.

### Charts

Read the Charts [Installation instructions](https://mui.com/x/react-charts/#getting-started) in the MUI X docs.

## MIT vs. commercial licenses

MUI has been building MIT-licensed React components since 2014, and we are committed to the continued advancement of the open-source libraries.
Expand All @@ -54,6 +59,7 @@ MIT licensed packages:

- [`@mui/x-data-grid`](https://www.npmjs.com/package/@mui/x-data-grid)
- [`@mui/x-date-pickers`](https://www.npmjs.com/package/@mui/x-date-pickers)
- [`@mui/x-charts`](https://www.npmjs.com/package/@mui/x-charts)

### Pro Plan

Expand Down
4 changes: 2 additions & 2 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"@emotion/styled": "^11.11.0",
"@material-ui/core": "^5.0.0-beta.5",
"@material-ui/icons": "^5.0.0-beta.5",
"@mui/material": "^5.13.5",
"@mui/material": "^5.13.6",
"@mui/x-data-grid": "^4.0.0",
"ag-grid-community": "^29.3.5",
"ag-grid-react": "^29.3.5",
"css-loader": "^6.8.1",
"html-webpack-plugin": "^5.5.3",
"mui-plus": "^0.0.15",
"playwright": "^1.33.0",
"playwright": "^1.35.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-spring": "^9.2.4",
Expand Down
4 changes: 2 additions & 2 deletions docs/.link-check-errors.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Broken links found by `yarn docs:link-check` that exist:

- https://mui.com/base/api/portal/#props
- https://mui.com/base-ui/react-autocomplete/hooks-api/#use-autocomplete
- https://mui.com/base-ui/react-portal/components-api
- https://mui.com/blog/material-ui-v4-is-out/#premium-themes-store-✨
- https://mui.com/size-snapshot
- https://mui.com/x/react-data-grid/filtering/#quick-filter
- https://mui.com/x/react-data-grid/migration-v4
15 changes: 8 additions & 7 deletions docs/data/charts/funnel/funnel.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ product: charts
title: Charts - Funnel
---

# Charts - Funnel
# Charts - Funnel 🚧

<p class="description">Funnel charts allows to express quantity evolution along a process, such as audience engagement.</p>

> ⚠️ This feature isn't implemented yet. It's coming.
>
> 👍 Upvote [issue #7929](https://github.com/mui/mui-x/issues/7929) if you want to see it land faster.
>
> 💬 To have a solution that meets your needs, leave a comment on the [same issue](https://github.com/mui/mui-x/issues/7929).
> If you already have a use case for this component, or if you are facing a pain-point with your current solution.
:::warning
This feature isn't implemented yet. It's coming.

👍 Upvote [issue #7929](https://github.com/mui/mui-x/issues/7929) if you want to see it land faster.

Don't hesitate to leave a comment on the same issue to influence what gets built. Especially if you already have a use case for this component, or if you are facing a pain point with your current solution.
:::
15 changes: 8 additions & 7 deletions docs/data/charts/gantt/gantt.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ product: charts
title: Charts - Gantt
---

# Charts - Sankey
# Charts - Gantt 🚧

<p class="description">Gantt charts can illustrate a product schedule and the relationships between its various activities.</p>

> ⚠️ This feature isn't implemented yet. It's coming.
>
> 👍 Upvote [issue #8732](https://github.com/mui/mui-x/issues/8732) if you want to see it land faster.
>
> 💬 To have a solution that meets your needs, leave a comment on the [same issue](https://github.com/mui/mui-x/issues/8732).
> If you already have a use case for this component, or if you are facing a pain-point with your current solution.
:::warning
This feature isn't implemented yet. It's coming.

👍 Upvote [issue #8732](https://github.com/mui/mui-x/issues/8732) if you want to see it land faster.

Don't hesitate to leave a comment on the same issue to influence what gets built. Especially if you already have a use case for this component, or if you are facing a pain point with your current solution.
:::
15 changes: 8 additions & 7 deletions docs/data/charts/heat-map/heat-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ product: charts
title: Charts - Heat map
---

# Charts - Heat map
# Charts - Heat map 🚧

<p class="description">Heat map charts allows to highlight correlation between categories.</p>

> ⚠️ This feature isn't implemented yet. It's coming.
>
> 👍 Upvote [issue #7926](https://github.com/mui/mui-x/issues/7926) if you want to see it land faster.
>
> 💬 To have a solution that meets your needs, leave a comment on the [same issue](https://github.com/mui/mui-x/issues/7926).
> If you already have a use case for this component, or if you are facing a pain-point with your current solution.
:::warning
This feature isn't implemented yet. It's coming.

👍 Upvote [issue #7926](https://github.com/mui/mui-x/issues/7926) if you want to see it land faster.

Don't hesitate to leave a comment on the same issue to influence what gets built. Especially if you already have a use case for this component, or if you are facing a pain point with your current solution.
:::
4 changes: 2 additions & 2 deletions docs/data/charts/overview/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ title: Charts - Overview
## Overview

The `@mui-x/chars` is an MIT library to render charts.
The `@mui/x-charts` is an MIT library to render charts.
It relies on D3.js for data manipulation and SVG for rendering.

Like other MUI X components, charts are built to be production-ready components with nice integration into your application for common use cases.
They also provide a high level of customization.

To achieve this goal, the `@mui-x/chars` relies on three levels of customization:
To achieve this goal, the `@mui/x-charts` relies on three levels of customization:
_single components_ with nice default, extensive _configuration props_, and subcomponents for _composition_.

To modify the styling of charts you can rely on all the MUI styling tools, such as the theme override, or the `sx` props.
Expand Down
15 changes: 8 additions & 7 deletions docs/data/charts/pie/pie.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ product: charts
title: Charts - Pie
---

# Charts - Pie
# Charts - Pie 🚧

<p class="description">Pie charts express portions of a whole, using arcs or angles within a circle.</p>

> ⚠️ This feature isn't implemented yet. It's coming.
>
> 👍 Upvote [issue #7884](https://github.com/mui/mui-x/issues/7884) if you want to see it land faster.
>
> 💬 To have a solution that meets your needs, leave a comment on the [same issue](https://github.com/mui/mui-x/issues/7884).
> If you already have a use case for this component, or if you are facing a pain-point with your current solution.
:::warning
This feature isn't implemented yet. It's coming.

👍 Upvote [issue #7884](https://github.com/mui/mui-x/issues/7884) if you want to see it land faster.

Don't hesitate to leave a comment on the same issue to influence what gets built. Especially if you already have a use case for this component, or if you are facing a pain point with your current solution.
:::
15 changes: 8 additions & 7 deletions docs/data/charts/radar/radar.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ product: charts
title: Charts - Radar
---

# Charts - Radar
# Charts - Radar 🚧

<p class="description">Radar allows to compare multivariate data in a 2D chart.</p>

> ⚠️ This feature isn't implemented yet. It's coming.
>
> 👍 Upvote [issue #7925](https://github.com/mui/mui-x/issues/7925) if you want to see it land faster.
>
> 💬 To have a solution that meets your needs, leave a comment on the [same issue](https://github.com/mui/mui-x/issues/7925).
> If you already have a use case for this component, or if you are facing a pain-point with your current solution.
:::warning
This feature isn't implemented yet. It's coming.

👍 Upvote [issue #7925](https://github.com/mui/mui-x/issues/7925) if you want to see it land faster.

Don't hesitate to leave a comment on the same issue to influence what gets built. Especially if you already have a use case for this component, or if you are facing a pain point with your current solution.
:::
Loading

0 comments on commit 45c9249

Please sign in to comment.