Skip to content

Commit 11ecd2e

Browse files
authored
Merge branch 'master' into improve-condition
2 parents 9275b28 + ed018d7 commit 11ecd2e

File tree

156 files changed

+2294
-960
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+2294
-960
lines changed

.circleci/config.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,19 @@ parameters:
2626
type: string
2727
default: ''
2828

29+
default-parameters: &default-parameters
30+
react-version:
31+
description: The version of react to be used
32+
type: string
33+
default: << pipeline.parameters.react-version >>
34+
e2e-base-url:
35+
description: The base url for running end-to-end test
36+
type: string
37+
default: << pipeline.parameters.e2e-base-url >>
38+
2939
default-job: &default-job
3040
parameters:
31-
react-version:
32-
description: The version of react to be used
33-
type: string
34-
default: << pipeline.parameters.react-version >>
35-
e2e-base-url:
36-
description: The base url for running end-to-end test
37-
type: string
38-
default: << pipeline.parameters.e2e-base-url >>
41+
<<: *default-parameters
3942
environment:
4043
# expose it globally otherwise we have to thread it from each job to the install command
4144
BROWSERSTACK_FORCE: << pipeline.parameters.browserstack-force >>
@@ -150,21 +153,46 @@ jobs:
150153
- install_js:
151154
react-version: << parameters.react-version >>
152155
- run:
153-
name: Tests fake browser
154-
command: pnpm test:coverage
155-
- run:
156-
name: Check coverage generated
157-
command: |
158-
if ! [[ -s coverage/lcov.info ]]
159-
then
160-
exit 1
161-
fi
162-
- run:
163-
name: Coverage
164-
command: |
165-
curl -Os https://uploader.codecov.io/latest/linux/codecov
166-
chmod +x codecov
167-
./codecov -t ${CODECOV_TOKEN} -Z -F "$REACT_VERSION-jsdom"
156+
name: Test JSDOM
157+
command: pnpm test:unit:jsdom
158+
159+
test_browser:
160+
<<: *default-job
161+
resource_class: medium+
162+
steps:
163+
- checkout
164+
- install_js:
165+
playwright: true
166+
react-version: << parameters.react-version >>
167+
- when:
168+
condition:
169+
not:
170+
equal: ['stable', << parameters.react-version >>]
171+
steps:
172+
- run:
173+
name: Test Browser
174+
command: pnpm test:unit:browser
175+
- when:
176+
condition:
177+
equal: ['stable', << parameters.react-version >>]
178+
steps:
179+
- run:
180+
name: Test Browser + Coverage
181+
command: pnpm test:unit:browser --coverage
182+
- run:
183+
name: Check coverage generated
184+
command: |
185+
if ! [[ -s coverage/lcov.info ]]
186+
then
187+
exit 1
188+
fi
189+
- run:
190+
name: Coverage
191+
command: |
192+
curl -Os https://uploader.codecov.io/latest/linux/codecov
193+
chmod +x codecov
194+
./codecov -t ${CODECOV_TOKEN} -Z -F "$REACT_VERSION-browser"
195+
168196
test_lint:
169197
<<: *default-job
170198
steps:
@@ -242,21 +270,6 @@ jobs:
242270
else
243271
exit 0
244272
fi
245-
246-
test_browser:
247-
<<: *default-job
248-
steps:
249-
- checkout
250-
- install_js:
251-
playwright: true
252-
react-version: << parameters.react-version >>
253-
- run:
254-
name: Tests real browsers
255-
command: pnpm test:karma
256-
- store_artifacts:
257-
# hardcoded in karma-webpack
258-
path: /tmp/_karma_webpack_
259-
destination: artifact-file
260273
test_types:
261274
<<: *default-job
262275
steps:
@@ -322,41 +335,29 @@ workflows:
322335
jobs:
323336
- checkout:
324337
<<: *default-context
325-
326338
- test_unit:
327339
<<: *default-context
328-
329340
- test_browser:
330341
<<: *default-context
331-
332342
- test_lint:
333343
<<: *default-context
334-
335344
- test_static:
336345
<<: *default-context
337-
338346
- test_types:
339347
<<: *default-context
340-
341348
- test_e2e:
342349
<<: *default-context
343-
344350
- test_regressions:
345351
<<: *default-context
346-
347352
- run_danger:
348353
<<: *default-context
349-
350354
e2e-website:
351355
when:
352356
equal: [e2e-website, << pipeline.parameters.workflow >>]
353357
jobs:
354358
- checkout:
355359
<<: *default-context
356-
- test_e2e_website:
357-
requires:
358-
- checkout
359-
360+
- test_e2e_website
360361
additional-tests:
361362
when:
362363
and:
@@ -382,7 +383,6 @@ workflows:
382383
<<: *default-context
383384
name: test_e2e_additional
384385
react-version: << pipeline.parameters.with-react-version >>
385-
386386
additional-checks:
387387
when:
388388
and:

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ module.exports = {
287287
// Allow any import depth with any internal packages
288288
'!@mui/internal-*/**',
289289

290+
// The scheduler import strategy is not determined yet
291+
'!@mui/x-scheduler/**',
292+
290293
// Exceptions (QUESTION: Keep or remove?)
291294
'!@mui/x-data-grid/internals/demo',
292295
'!@mui/x-date-pickers/internals/demo',

CHANGELOG.md

Lines changed: 109 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,111 @@
55
All notable changes to this project will be documented in this file.
66
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
77

8+
## 8.3.0
9+
10+
_May 8, 2025_
11+
12+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
13+
14+
- 🎨 Added new styling options and shapes for `<FunnelChart />`, including `variant`, `borderRadius`, `pyramid`, and `step-pyramid` curves.
15+
- 📚 Documentation improvements
16+
- 🐞 Bugfixes
17+
18+
Special thanks go out to this community member for a valuable contribution: @ptuukkan.
19+
Team members who have contributed to this release: @alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @rita-codes, @romgrk.
20+
21+
### Data Grid
22+
23+
#### `@mui/[email protected]`
24+
25+
- [DataGrid] Fix cell editing of computed columns with data source (#17684) @ptuukkan
26+
- [DataGrid] Fix lazy loading crash with `isRowSelectable` prop (#17629) @MBilalShafi
27+
- [DataGrid] Fix: use CSS nonce (#17726) @romgrk
28+
- [DataGrid] Ignore `preProcessEditCellProps` for non-editable columns when starting a row update (#17732) @arminmeh
29+
- [DataGrid] Avoid applying row selection propagation on filtered rows (#17739) @MBilalShafi
30+
31+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
32+
33+
Same changes as in `@mui/[email protected]`.
34+
35+
#### `@mui/[email protected]` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
36+
37+
Same changes as in `@mui/[email protected]`.
38+
39+
### Date and Time Pickers
40+
41+
#### `@mui/[email protected]`
42+
43+
- [DateTimePicker] Fix focus behavior on desktop variant (#17719) @LukasTy
44+
- [pickers] Avoid `DigitalClock` stealing focus from a Picker open button on close (#17686) @LukasTy
45+
46+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
47+
48+
Same changes as in `@mui/[email protected]`, plus:
49+
50+
- [DateRangePicker] Fix to reset range position after closing mobile Picker (#17631) @LukasTy
51+
52+
### Charts
53+
54+
- The `<FunnelChart />` series now accepts a `variant='outlined'` prop for a simpler style.
55+
<img width="398" alt="Screenshot 2025-05-06 at 20 36 12" src="https://github.com/user-attachments/assets/00fef14f-9026-421e-a4b6-7e081adce1e8" />
56+
57+
- Add a `borderRadius` property to `<FunnelChart />`. All funnels have `8px` as a default value.
58+
<img width="386" alt="Screenshot 2025-05-06 at 14 00 20" src="https://github.com/user-attachments/assets/4f4cc0e7-01ce-4ed6-a0e1-a387f78def23" />
59+
60+
- Add a `pyramid` curve to `<FunnelChart />`, which allows creation of a pyramid-shaped funnel.
61+
<img width="344" alt="Screenshot 2025-05-06 at 14 32 59" src="https://github.com/user-attachments/assets/0b2896e0-0478-4766-bb1b-258a4977a751" />
62+
63+
- Add a `step-pyramid` curve to `<FunnelChart />`, which creates a stepped-pyramid like shape.
64+
<img width="344" alt="Screenshot 2025-05-06 at 14 33 03" src="https://github.com/user-attachments/assets/894f0ab3-7898-40fe-b0df-560feea4085a" />
65+
66+
#### `@mui/[email protected]`
67+
68+
- [charts] Add charts toolbar with zoom options (#17615) @bernardobelchior
69+
- [charts] Add zoom slider (#17496) @bernardobelchior
70+
- [charts] Cleanup compiler warnings (#17360) @alexfauquette
71+
- [charts] Fix `<PieArcLabel />` not taking `arcLabelRadius` into account (#17655) @bernardobelchior
72+
- [charts] Fix spark line not having clip path (#17501) @bernardobelchior
73+
- [charts] Fix type issue with ESM (#17624) @alexfauquette
74+
- [charts] Improve `<MarkElement />` performance (#17546) @bernardobelchior
75+
- [charts] Rename `materialSlots` internal constant (#17710) @bernardobelchior
76+
- [charts] Update zoom slider design (#17682) @bernardobelchior
77+
- [charts] Fix zoom being documented as available for heatmap (#17657) @bernardobelchior
78+
79+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
80+
81+
Same changes as in `@mui/[email protected]`, plus:
82+
83+
- [charts-pro] Add `pyramid` curve to `<FunnelChart />` (#17665) @JCQuintas
84+
- [charts-pro] Add `variant='outlined'` to `<FunnelChart />` series (#17661) @JCQuintas
85+
- [charts-pro] Add a `borderRadius` property to `<FunnelChart />` (#17660) @JCQuintas
86+
87+
### Tree View
88+
89+
#### `@mui/[email protected]`
90+
91+
- [tree view] Bug fix - Escape does not cancel Drag n Drop (#17735) @rita-codes
92+
- [tree view] Fix keyboard navigation error (#17685) @rita-codes
93+
- [tree view] Continue cleaning the plugin system (#17386) @flaviendelangle
94+
95+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
96+
97+
Same changes as in `@mui/[email protected]`.
98+
99+
### Docs
100+
101+
- [charts] Add population pyramid demo (#17652) @bernardobelchior
102+
- [charts] Fix randomised argos test (#17658) @JCQuintas
103+
- [docs] Make preview messaging consistent in charts @bernardobelchior
104+
105+
### Core
106+
107+
- [code-infra] Avoid `node` types in the built packages (#17533) @LukasTy
108+
- [code-infra] Add `pkg.pr.new` publishing (#17402) @Janpot
109+
- [code-infra] Normalize author package in org @oliviertassinari
110+
- [code-infra] Remove required checkout step (#17729) @JCQuintas
111+
- [docs-infra] Normalize netlify.toml in org @oliviertassinari
112+
8113
## 8.2.0
9114

10115
_May 1, 2025_
@@ -424,8 +529,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
424529
- 📚 Documentation improvements
425530
- 🐞 Bugfixes
426531

427-
Team members who have contributed to this release:
428-
@bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @noraleonte, @romgrk, @alexfauquette.
532+
Team members who have contributed to this release: @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @noraleonte, @romgrk, @alexfauquette.
429533

430534
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
431535

@@ -738,7 +842,7 @@ We'd like to offer a big thanks to the 21 contributors who made this release pos
738842
- 🌍 Improve Chinese (zh-CN), (zh-HK), (zh-TW), Czech (cs-CZ), Korean (ko-KR) and Slovak (sk-Sk) locales on the Data Grid
739843
- 🌍 Improve Chinese (zh-CN), (zh-HK) and (zh-TW) locales on the Pickers
740844

741-
## Breaking changes
845+
### Breaking changes
742846

743847
- ℹ️ The peer dependency on `@mui/material` has been updated to accept only v7.
744848
This has been done to increase the adoption rate of ESM.
@@ -751,7 +855,7 @@ Following are all team members who have contributed to this release:
751855

752856
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
753857

754-
## Alpha release highlights
858+
### Alpha release highlights
755859

756860
Below are the highlights of the alpha releases leading up to this beta release:
757861

@@ -3045,8 +3149,7 @@ We'd like to offer a big thanks to the 4 contributors who made this release poss
30453149

30463150
- 🐞 Bugfixes
30473151

3048-
Team members who have contributed to this release:
3049-
@arminmeh, @cherniavskii, @LukasTy, @michelengelen.
3152+
Team members who have contributed to this release: @arminmeh, @cherniavskii, @LukasTy, @michelengelen.
30503153

30513154
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
30523155

babel.config.js

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const defaultAlias = {
2828
'@mui/x-charts': resolveAliasPath('./packages/x-charts/src'),
2929
'@mui/x-charts-pro': resolveAliasPath('./packages/x-charts-pro/src'),
3030
'@mui/x-charts-vendor': resolveAliasPath('./packages/x-charts-vendor'),
31+
'@mui/x-scheduler': resolveAliasPath('./packages/x-scheduler'),
3132
'@mui/x-tree-view': resolveAliasPath('./packages/x-tree-view/src'),
3233
'@mui/x-tree-view-pro': resolveAliasPath('./packages/x-tree-view-pro/src'),
3334
'@mui/x-internals': resolveAliasPath('./packages/x-internals/src'),
@@ -105,30 +106,6 @@ module.exports = function getBabelConfig(api) {
105106
],
106107
];
107108

108-
if (process.env.NODE_ENV === 'test') {
109-
plugins.push(['@babel/plugin-transform-export-namespace-from']);
110-
// We replace `date-fns` imports with an aliased `date-fns@v2` version installed as `date-fns-v2` for tests.
111-
plugins.push([
112-
'babel-plugin-replace-imports',
113-
{
114-
test: /date-fns/i,
115-
replacer: 'date-fns-v2',
116-
// This option is provided by the `patches/[email protected]` patch
117-
filenameIncludes: 'src/AdapterDateFnsV2/',
118-
},
119-
]);
120-
plugins.push([
121-
'babel-plugin-replace-imports',
122-
{
123-
test: /date-fns-jalali/i,
124-
replacer: 'date-fns-jalali-v2',
125-
// This option is provided by the `patches/[email protected]` patch
126-
filenameIncludes: 'src/AdapterDateFnsJalaliV2/',
127-
},
128-
'replace-date-fns-jalali-imports',
129-
]);
130-
}
131-
132109
if (process.env.NODE_ENV === 'production') {
133110
if (!process.env.TEST_BUILD) {
134111
plugins.push(['babel-plugin-react-remove-properties', { properties: ['data-testid'] }]);

docs/data/charts/export/export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ components: ScatterChartPro, BarChartPro, LineChartPro
88

99
<p class="description">Charts can be printed and exported as PDF.</p>
1010

11-
Export is available on the **Pro**[<span class="plan-pro"></span>](/x/introduction/licensing/#pro-plan 'Pro plan') versions of the charts: `<LineChartPro />`, `<BarChartPro />`, `<ScatterChartPro />`.
11+
Export is available on the Pro version of the charts: `<LineChartPro />`, `<BarChartPro />`, `<ScatterChartPro />`.
1212

1313
## Print/Export as PDF
1414

docs/data/charts/funnel/funnel.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ components: FunnelChart, FunnelPlot
88

99
<p class="description">Funnel charts allow to express quantity evolution along a process, such as audience engagement, population education levels or yields of multiple processes.</p>
1010

11+
:::info
12+
This feature is in preview. It is ready for production use, but its API, visuals and behavior may change in future minor or patch releases.
13+
:::
14+
1115
## Basics
1216

1317
Funnel charts series must contain a `data` property containing an array of objects.

docs/data/charts/radar/radar.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ components: RadarChart, RadarGrid, RadarSeriesArea, RadarSeriesMarks, RadarSerie
88

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

11+
:::info
12+
This feature is in preview. It is ready for production use, but its API, visuals and behavior may change in future minor or patch releases.
13+
:::
14+
1115
## Basics
1216

1317
Radar charts series should contain a `data` property containing an array of values.

0 commit comments

Comments
 (0)