@mui/x-tree-view 7.3.1 → 7.4.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,142 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 7.4.0
7
+
8
+ _May 10, 2024_
9
+
10
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - ✨ Add optional `id` attribute on shortcut items of the Date and Time Pickers
13
+ - 🎁 Add support for `date-fns-jalali` v3 in the Date and Time Pickers
14
+ - 🚀 Support rounded corners on `BarChart`
15
+ - 🌍 Add accessibility page to TreeView docs
16
+ - 🐞 Bugfixes
17
+ - 📚 Documentation improvements
18
+
19
+ ### Data Grid
20
+
21
+ #### `@mui/x-data-grid@7.4.0`
22
+
23
+ - [DataGrid] Fix error when focus moves from column header to `svg` element (#13028) @oukunan
24
+ - [DataGrid] Fix error on column groups change (#12965) @romgrk
25
+
26
+ #### `@mui/x-data-grid-pro@7.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
27
+
28
+ Same changes as in `@mui/x-data-grid@7.4.0`.
29
+
30
+ #### `@mui/x-data-grid-premium@7.4.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
31
+
32
+ Same changes as in `@mui/x-data-grid-pro@7.4.0`.
33
+
34
+ ### Date and Time Pickers
35
+
36
+ #### `@mui/x-date-pickers@7.4.0`
37
+
38
+ - [fields] Fix regression preventing form submit on "Enter" click (#13065) @LukasTy
39
+ - [pickers] Add `AdapterDateFnsJalaliV3` adapter (#12891) @smmoosavi
40
+ - [pickers] Add optional `id` attribute on shortcut items (#12976) @noraleonte
41
+
42
+ #### `@mui/x-date-pickers-pro@7.4.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
43
+
44
+ Same changes as in `@mui/x-date-pickers@7.4.0`.
45
+
46
+ ### Charts
47
+
48
+ #### `@mui/x-charts@7.4.0`
49
+
50
+ - [charts] Add `ChartsGrid` to `themeAugmentation` (#13026) @noraleonte
51
+ - [charts] Support rounded corners on `BarChart` (#12834) @JCQuintas
52
+
53
+ ### Tree View
54
+
55
+ #### `@mui/x-tree-view@7.4.0`
56
+
57
+ - [TreeView] Fix props propagation and theme entry in `TreeItem2` (#12889) @flaviendelangle
58
+
59
+ ### Docs
60
+
61
+ - [docs] Add accessibility page to TreeView docs (#12845) @noraleonte
62
+ - [docs] Fix Charts styling typos (#13061) @oliviertassinari
63
+ - [docs] Fix legal link to EULA free trial (#13013) @oliviertassinari
64
+ - [docs] Update interface name in pinned columns docs (#13070) @cherniavskii
65
+
66
+ ### Core
67
+
68
+ - [core] Improve release process docs (#12977) @JCQuintas
69
+ - [core] Prepare React 19 (#12991) @oliviertassinari
70
+ - [docs-infra] Fix Netlify PR preview path (#12993) @oliviertassinari
71
+ - [infra] Automation: Add release PR reviewers (#12982) @michelengelen
72
+
73
+ ## 7.3.2
74
+
75
+ _May 2, 2024_
76
+
77
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
78
+
79
+ - 🎁 Add "no data" and "loading" states to charts, allowing users to create [custom visualizations for each state](https://mui.com/x/react-charts/styling/#overlay)
80
+ - 🌍 Improve Hebrew (he-IL) and Hungarian (hu-HU) locales on the Date and Time Pickers
81
+ - 🌍 Improve Danish (da-DK) and Slovak (sk-SK) locales on the Data Grid
82
+ - 📝 Fix a [typo](https://github.com/mui/mui-x/pull/12941/files/4bf4bffbc2799a01a96bc7458a17318cf41c1722#diff-26c31cc69d6f51110f89e339578ef9b3d4a3551f79077fff73f7babb81c5099f) in the auto-generated Charts gradient `id` attribute.
83
+ It should not affect you, but if you were relying on the gradient `id` attribute, please update your usage.
84
+ - 🐞 Bugfixes
85
+ - 📚 Documentation improvements
86
+
87
+ ### Data Grid
88
+
89
+ #### `@mui/x-data-grid@7.3.2`
90
+
91
+ - [DataGrid] Allow to change reset text in the columns management panel (#12972) @MBilalShafi
92
+ - [DataGrid] Derive `formattedValue` from the edit value when passing to `renderEditCell` (#12870) @cherniavskii
93
+ - [DataGrid] Fix rows not being recomputed on `props.rowCount` change (#12833) @MBilalShafi
94
+ - [l10n] Improve Danish (da-DK) locale (#12844) @fosterbuster
95
+ - [l10n] Improve Slovak (sk-SK) locale (#12949) @stefikp
96
+
97
+ #### `@mui/x-data-grid-pro@7.3.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
98
+
99
+ Same changes as in `@mui/x-data-grid@7.3.2`.
100
+
101
+ #### `@mui/x-data-grid-premium@7.3.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
102
+
103
+ Same changes as in `@mui/x-data-grid-pro@7.3.2`, plus:
104
+
105
+ - [DataGridPremium] Fix print export not working with row grouping (#12957) @MBilalShafi
106
+
107
+ ### Date and Time Pickers
108
+
109
+ #### `@mui/x-date-pickers@7.3.2`
110
+
111
+ - [l10n] Improve Hebrew (he-IL) locale (#12910) @michaelNXT1
112
+ - [l10n] Improve Hungarian (hu-HU) locale (#12930) @noherczeg
113
+ - [pickers] Fix typo on the `viewRenderers` prop description (#12915) @flaviendelangle
114
+ - [pickers] Improve TypeScript performance in `PickersDay` (#12920) @flaviendelangle
115
+
116
+ #### `@mui/x-date-pickers-pro@7.3.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
117
+
118
+ Same changes as in `@mui/x-date-pickers@7.3.2`.
119
+
120
+ ### Charts
121
+
122
+ #### `@mui/x-charts@7.3.2`
123
+
124
+ - [charts] Add an overlay for "no data" or "loading" states (#12817) @alexfauquette
125
+ - [charts] Fix typos in documentation, translations and errors (#12941) @JCQuintas
126
+ - [charts] Fix `prop.slots` and `prop.slotProps` not passed to `<ChartsTooltip />` (#12939) @JCQuintas
127
+
128
+ ### Docs
129
+
130
+ - [docs] Improve Data Grid migration guide (#12969) @MBilalShafi
131
+ - [docs] Polish references to the plans (#12922) @oliviertassinari
132
+
133
+ ### Core
134
+
135
+ - [core] Fix dependencies (#12951) @LukasTy
136
+ - [core] Remove inconsistent blank lines (#12966) @oliviertassinari
137
+ - [code-infra] Bump node image used by CI in docker (#12961) @LukasTy
138
+ - [docs-infra] Remove no longer needed `next.config` settings (#12861) @oliviertassinari
139
+ - [docs-infra] Use the `@mui/docs/HighlightedCode` (#12848) @alexfauquette
140
+ - [test] Restore `t` command (#12948) @LukasTy
141
+
6
142
  ## 7.3.1
7
143
 
8
144
  _Apr 26, 2024_
@@ -305,7 +441,7 @@ Same changes as in `@mui/x-date-pickers@7.1.1`, plus:
305
441
 
306
442
  - [TreeView] Add JSDoc to all `publicAPI` methods (#12649) @flaviendelangle
307
443
  - [TreeView] Create `RichTreeViewPro` component (not released yet) (#12610) @flaviendelangle
308
- - [TreeView] Create pro package (not released yet) (#12240) @flaviendelangle
444
+ - [TreeView] Create Pro package (not released yet) (#12240) @flaviendelangle
309
445
  - [TreeView] Fix typo in errors (#12623) @alissa-tung
310
446
  - [TreeView] New API method: `setItemExpansion` (#12595) @flaviendelangle
311
447
 
@@ -2517,7 +2653,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.3`.
2517
2653
  - [core] Make `@mui/system` a direct dependency (#11128) @LukasTy
2518
2654
  - [core] Remove blank lines, coding style @oliviertassinari
2519
2655
  - [core] Remove outdated `ENABLE_AD` env variable (#11181) @oliviertassinari
2520
- - [github] Do not add `plan: Pro` and `plan: Premium` labels on pro / premium issue templates (#10183) @flaviendelangle
2656
+ - [github] Do not add `plan: Pro` and `plan: Premium` labels on Pro / Premium issue templates (#10183) @flaviendelangle
2521
2657
 
2522
2658
  ## 7.0.0-alpha.2
2523
2659
 
@@ -3440,10 +3576,10 @@ Same changes as in `@mui/x-date-pickers@6.19.5`.
3440
3576
  - [docs] Fix the Treemap illustration (#12189) @danilo-leal
3441
3577
  - [docs] Fix typo for `AdapterDateFnsV3` (#12037) @flaviendelangle
3442
3578
  - [docs] Improve performance on Charts entry point @oliviertassinari
3443
- - [docs] Move Heatmap to pro (#12170) @alexfauquette
3579
+ - [docs] Move Heatmap to Pro (#12170) @alexfauquette
3444
3580
  - [docs] Remove Charts installation next tag call-out (#12133) @LukasTy
3445
3581
  - [docs] Removed `focused` prop from demo (#12126) @michelengelen
3446
- - [docs] Add missing Heatmap pro icon @oliviertassinari
3582
+ - [docs] Add missing Heatmap Pro icon @oliviertassinari
3447
3583
  - [docs] Add more illustrations to the Overview page (#12041) @danilo-leal
3448
3584
  - [docs] Avoid use of shorthand (#12009) @oliviertassinari
3449
3585
 
@@ -6170,7 +6306,7 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
6170
6306
  - [docs] Create examples of pickers with custom fields (#8034) @flaviendelangle
6171
6307
  - [docs] Fix 301 redirections @oliviertassinari
6172
6308
  - [docs] Fix link to React's docs @oliviertassinari
6173
- - [docs] Fix pro license links to point to the same page (#8303) @LukasTy
6309
+ - [docs] Fix Pro license links to point to the same page (#8303) @LukasTy
6174
6310
  - [docs] Give an incentive to upgrade (#8269) @oliviertassinari
6175
6311
  - [docs] Improve contrast on data grid navigation (#8239) @oliviertassinari
6176
6312
  - [docs] Update shortcuts page to use slotProps (#8288) @dcorb
@@ -121,7 +121,7 @@ export const TreeItem2IconContainer = styled('div', {
121
121
  }
122
122
  });
123
123
  export const TreeItem2GroupTransition = styled(Collapse, {
124
- name: 'MuiTreeItem2GroupTransition',
124
+ name: 'MuiTreeItem2',
125
125
  slot: 'GroupTransition',
126
126
  overridesResolver: (props, styles) => styles.groupTransition
127
127
  })({
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v7.3.1
2
+ * @mui/x-tree-view v7.4.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -121,7 +121,7 @@ export const TreeItem2IconContainer = styled('div', {
121
121
  }
122
122
  });
123
123
  export const TreeItem2GroupTransition = styled(Collapse, {
124
- name: 'MuiTreeItem2GroupTransition',
124
+ name: 'MuiTreeItem2',
125
125
  slot: 'GroupTransition',
126
126
  overridesResolver: (props, styles) => styles.groupTransition
127
127
  })({
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v7.3.1
2
+ * @mui/x-tree-view v7.4.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -105,7 +105,7 @@ export const useTreeItem2 = parameters => {
105
105
  });
106
106
  };
107
107
  const getContentProps = (externalProps = {}) => {
108
- const externalEventHandlers = _extends({}, extractEventHandlers(parameters), extractEventHandlers(externalProps));
108
+ const externalEventHandlers = extractEventHandlers(externalProps);
109
109
  return _extends({}, externalEventHandlers, externalProps, {
110
110
  ref: contentRef,
111
111
  onClick: createContentHandleClick(externalEventHandlers),
@@ -120,11 +120,11 @@ export const useTreeItem2 = parameters => {
120
120
  }, externalProps);
121
121
  };
122
122
  const getIconContainerProps = (externalProps = {}) => {
123
- const externalEventHandlers = _extends({}, extractEventHandlers(parameters), extractEventHandlers(externalProps));
123
+ const externalEventHandlers = extractEventHandlers(externalProps);
124
124
  return _extends({}, externalEventHandlers, externalProps);
125
125
  };
126
126
  const getGroupTransitionProps = (externalProps = {}) => {
127
- const externalEventHandlers = _extends({}, extractEventHandlers(parameters), extractEventHandlers(externalProps));
127
+ const externalEventHandlers = extractEventHandlers(externalProps);
128
128
  return _extends({}, externalEventHandlers, {
129
129
  unmountOnExit: true,
130
130
  component: 'ul',
@@ -130,7 +130,7 @@ const TreeItem2IconContainer = exports.TreeItem2IconContainer = (0, _styles.styl
130
130
  }
131
131
  });
132
132
  const TreeItem2GroupTransition = exports.TreeItem2GroupTransition = (0, _styles.styled)(_Collapse.default, {
133
- name: 'MuiTreeItem2GroupTransition',
133
+ name: 'MuiTreeItem2',
134
134
  slot: 'GroupTransition',
135
135
  overridesResolver: (props, styles) => styles.groupTransition
136
136
  })({
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-tree-view v7.3.1
2
+ * @mui/x-tree-view v7.4.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -112,7 +112,7 @@ const useTreeItem2 = parameters => {
112
112
  });
113
113
  };
114
114
  const getContentProps = (externalProps = {}) => {
115
- const externalEventHandlers = (0, _extends2.default)({}, (0, _utils.extractEventHandlers)(parameters), (0, _utils.extractEventHandlers)(externalProps));
115
+ const externalEventHandlers = (0, _utils.extractEventHandlers)(externalProps);
116
116
  return (0, _extends2.default)({}, externalEventHandlers, externalProps, {
117
117
  ref: contentRef,
118
118
  onClick: createContentHandleClick(externalEventHandlers),
@@ -127,11 +127,11 @@ const useTreeItem2 = parameters => {
127
127
  }, externalProps);
128
128
  };
129
129
  const getIconContainerProps = (externalProps = {}) => {
130
- const externalEventHandlers = (0, _extends2.default)({}, (0, _utils.extractEventHandlers)(parameters), (0, _utils.extractEventHandlers)(externalProps));
130
+ const externalEventHandlers = (0, _utils.extractEventHandlers)(externalProps);
131
131
  return (0, _extends2.default)({}, externalEventHandlers, externalProps);
132
132
  };
133
133
  const getGroupTransitionProps = (externalProps = {}) => {
134
- const externalEventHandlers = (0, _extends2.default)({}, (0, _utils.extractEventHandlers)(parameters), (0, _utils.extractEventHandlers)(externalProps));
134
+ const externalEventHandlers = (0, _utils.extractEventHandlers)(externalProps);
135
135
  return (0, _extends2.default)({}, externalEventHandlers, {
136
136
  unmountOnExit: true,
137
137
  component: 'ul',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-tree-view",
3
- "version": "7.3.1",
3
+ "version": "7.4.0",
4
4
  "description": "The community edition of the Tree View components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -38,7 +38,7 @@
38
38
  "@mui/system": "^5.15.14",
39
39
  "@mui/utils": "^5.15.14",
40
40
  "@types/react-transition-group": "^4.4.10",
41
- "clsx": "^2.1.0",
41
+ "clsx": "^2.1.1",
42
42
  "prop-types": "^15.8.1",
43
43
  "react-transition-group": "^4.4.5"
44
44
  },
@@ -105,7 +105,7 @@ export const useTreeItem2 = parameters => {
105
105
  });
106
106
  };
107
107
  const getContentProps = (externalProps = {}) => {
108
- const externalEventHandlers = _extends({}, extractEventHandlers(parameters), extractEventHandlers(externalProps));
108
+ const externalEventHandlers = extractEventHandlers(externalProps);
109
109
  return _extends({}, externalEventHandlers, externalProps, {
110
110
  ref: contentRef,
111
111
  onClick: createContentHandleClick(externalEventHandlers),
@@ -120,11 +120,11 @@ export const useTreeItem2 = parameters => {
120
120
  }, externalProps);
121
121
  };
122
122
  const getIconContainerProps = (externalProps = {}) => {
123
- const externalEventHandlers = _extends({}, extractEventHandlers(parameters), extractEventHandlers(externalProps));
123
+ const externalEventHandlers = extractEventHandlers(externalProps);
124
124
  return _extends({}, externalEventHandlers, externalProps);
125
125
  };
126
126
  const getGroupTransitionProps = (externalProps = {}) => {
127
- const externalEventHandlers = _extends({}, extractEventHandlers(parameters), extractEventHandlers(externalProps));
127
+ const externalEventHandlers = extractEventHandlers(externalProps);
128
128
  return _extends({}, externalEventHandlers, {
129
129
  unmountOnExit: true,
130
130
  component: 'ul',