@mui/x-date-pickers 6.18.0 → 6.18.1

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,64 @@
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
+ ## 6.18.1
7
+
8
+ _Nov 9, 2023_
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
+ - ✨ Fix aggregation label not showing when `renderHeader` is used (#10961) @cherniavskii
13
+ - 📘 Server side data source [early documentation](https://mui.com/x/react-data-grid/server-side-data/) published
14
+ - 📈 `<ChartsReferenceLine />` component is now available
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ ### Data Grid
19
+
20
+ #### `@mui/x-data-grid@6.18.1`
21
+
22
+ - [DataGrid] Fix cell value type in quick filtering v7 (#10884) @cherniavskii
23
+ - [DataGrid] Fix keyboard navigation for actions cell with disabled buttons (#10947) @michelengelen
24
+ - [DataGrid] Fix `undefined` slot values (#10934) @romgrk
25
+
26
+ #### `@mui/x-data-grid-pro@6.18.1` [![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@6.18.1`, plus:
29
+
30
+ - [DataGridPro] Add data source interface and basic documentation (#10543) @MBilalShafi
31
+
32
+ #### `@mui/x-data-grid-premium@6.18.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
33
+
34
+ Same changes as in `@mui/x-data-grid-pro@6.18.1`, plus:
35
+
36
+ - [DataGridPremium] Render aggregation label when `renderHeader` is used (#10961) @cherniavskii
37
+
38
+ ### Date Pickers
39
+
40
+ #### `@mui/x-date-pickers@6.18.1`
41
+
42
+ - [fields] Fix multi input date time field section selection (#10915) @noraleonte
43
+ - [pickers] Always use up-to-date `defaultView` (#10889) @LukasTy
44
+
45
+ #### `@mui/x-date-pickers-pro@6.18.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
46
+
47
+ Same changes as in `@mui/x-date-pickers@6.18.1`.
48
+
49
+ ### Charts / `@mui/x-charts@6.18.1`
50
+
51
+ - [charts] Add `<ChartsReferenceLine />` component (#10597) @wascou
52
+ - [charts] Improve properties JSDoc (#10931) @alexfauquette
53
+
54
+ ### Docs
55
+
56
+ - [docs] Fix charts docs as stable (#10888) @alexfauquette
57
+ - [docs] Document how to hide the legend (#10954) @alexfauquette
58
+
59
+ ### Core
60
+
61
+ - [core] Adds new alpha version to version select on the docs (#10944) @michelengelen
62
+ - [core] Fix GitHub title tag consistency @oliviertassinari
63
+
6
64
  ## 6.18.0
7
65
 
8
66
  _Nov 3, 2023_
@@ -357,7 +415,7 @@ Same changes as in `@mui/x-date-pickers@6.16.1`, plus:
357
415
 
358
416
  - [core] Fix casing consistency with legal and marketing content @oliviertassinari
359
417
  - [core] Revert the link in the priority support ticket description (#10517) @michelengelen
360
- - [CHANGELOG] Polish image @oliviertassinari
418
+ - [changelog] Polish image @oliviertassinari
361
419
 
362
420
  ## 6.16.0
363
421
 
@@ -1149,7 +1207,7 @@ Same changes as in `@mui/x-date-pickers@6.10.1`.
1149
1207
  ### Core
1150
1208
 
1151
1209
  - [core] Add `validate` command (#9714) @romgrk
1152
- - [CHANGELOG] Update generator to new format @oliviertassinari
1210
+ - [changelog] Update generator to new format @oliviertassinari
1153
1211
 
1154
1212
  ## 6.10.0
1155
1213
 
@@ -1207,7 +1265,7 @@ Same changes as in `@mui/x-date-pickers@6.10.0`.
1207
1265
 
1208
1266
  - [core] Disambiguate eslint plugin name @oliviertassinari
1209
1267
  - [core] Update priority support issue template and prompt (#9574) @DanailH
1210
- - [CHANGELOG] Clarify each plan (#9446) @oliviertassinari
1268
+ - [changelog] Clarify each plan (#9446) @oliviertassinari
1211
1269
  - [license] Fix error terminology (#9614) @oliviertassinari
1212
1270
 
1213
1271
  ## 6.9.2
@@ -1356,8 +1414,8 @@ Same changes as in `@mui/x-date-pickers@6.9.1`.
1356
1414
  - [core] Fix priority support prompt action (#9472) @DanailH
1357
1415
  - [core] Update `uses` for priority support action (#9480) @DanailH
1358
1416
  - [core] Bumb update monorepo (#9476) @alexfauquette
1359
- - [CHANGELOG] Fix media quality (#9439) @oliviertassinari
1360
- - [CHANGELOG] Remove height img attribute @oliviertassinari
1417
+ - [changelog] Fix media quality (#9439) @oliviertassinari
1418
+ - [changelog] Remove height img attribute @oliviertassinari
1361
1419
  - [test] Skip flaky row pinning tests in JSDOM (#9511) @cherniavskii
1362
1420
 
1363
1421
  ## 6.9.0
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v6.18.0
2
+ * @mui/x-date-pickers v6.18.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -106,7 +106,8 @@ export function useViews({
106
106
  setFocusedView: handleFocusedViewChange,
107
107
  nextView,
108
108
  previousView,
109
- defaultView: defaultView.current,
109
+ // Always return up to date default view instead of the initial one (i.e. defaultView.current)
110
+ defaultView: views.includes(openTo) ? openTo : views[0],
110
111
  goToNextView,
111
112
  setValueAndGoToNextView,
112
113
  setValueAndGoToView
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v6.18.0
2
+ * @mui/x-date-pickers v6.18.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -116,7 +116,8 @@ export function useViews(_ref) {
116
116
  setFocusedView: handleFocusedViewChange,
117
117
  nextView: nextView,
118
118
  previousView: previousView,
119
- defaultView: defaultView.current,
119
+ // Always return up to date default view instead of the initial one (i.e. defaultView.current)
120
+ defaultView: views.includes(openTo) ? openTo : views[0],
120
121
  goToNextView: goToNextView,
121
122
  setValueAndGoToNextView: setValueAndGoToNextView,
122
123
  setValueAndGoToView: setValueAndGoToView
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v6.18.0
2
+ * @mui/x-date-pickers v6.18.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -105,7 +105,8 @@ export function useViews({
105
105
  setFocusedView: handleFocusedViewChange,
106
106
  nextView,
107
107
  previousView,
108
- defaultView: defaultView.current,
108
+ // Always return up to date default view instead of the initial one (i.e. defaultView.current)
109
+ defaultView: views.includes(openTo) ? openTo : views[0],
109
110
  goToNextView,
110
111
  setValueAndGoToNextView,
111
112
  setValueAndGoToView
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v6.18.0
2
+ * @mui/x-date-pickers v6.18.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -114,7 +114,8 @@ function useViews({
114
114
  setFocusedView: handleFocusedViewChange,
115
115
  nextView,
116
116
  previousView,
117
- defaultView: defaultView.current,
117
+ // Always return up to date default view instead of the initial one (i.e. defaultView.current)
118
+ defaultView: views.includes(openTo) ? openTo : views[0],
118
119
  goToNextView,
119
120
  setValueAndGoToNextView,
120
121
  setValueAndGoToView
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers",
3
- "version": "6.18.0",
3
+ "version": "6.18.1",
4
4
  "description": "The community edition of the date picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",