@mui/x-date-pickers 7.22.0 → 7.22.2

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,132 @@
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.22.2
7
+
8
+ _Nov 8, 2024_
9
+
10
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 👨🏽‍💻 API enhancements
13
+ - 🐞 Bugfixes
14
+
15
+ Special thanks go out to the community contributors who have helped make this release possible:
16
+ @clins1994, @GuillaumeMeheut, @k-rajat19.
17
+ Following are all team members who have contributed to this release:
18
+ @LukasTy, @MBilalShafi, @KenanYusuf, @arminmeh.
19
+
20
+ ### Upcoming alpha
21
+
22
+ Keep an eye out for the MUI⠀X `v8.0.0-aplha.0` release soon. It will follow a weekly release schedule as always until it is stable.
23
+
24
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
25
+
26
+ ### Data Grid
27
+
28
+ #### `@mui/x-data-grid@7.22.2`
29
+
30
+ - [DataGrid] Fix `null` reference error in `GridVirtualScrollbar` (#15289) @MBilalShafi
31
+ - [DataGrid] Fix filtering with `boolean` column type (#15257) @k-rajat19
32
+ - [DataGrid] Improve row selection propagation trigger (#15274) @MBilalShafi
33
+ - [DataGrid] Preprocess edit cell props on backspace/delete (#15223) @KenanYusuf
34
+ - [DataGrid] Add a recipe to persist column width and order (#15309) @MBilalShafi
35
+
36
+ #### `@mui/x-data-grid-pro@7.22.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
37
+
38
+ Same changes as in `@mui/x-data-grid@7.22.2`, plus:
39
+
40
+ - [DataGridPro] Apply default properties if they are not passed in a reorder column (#15320) @k-rajat19
41
+ - [DataGridPro] Toggle row expansion with `Enter` key in Tree data (#15313) @k-rajat19
42
+
43
+ #### `@mui/x-data-grid-premium@7.22.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
44
+
45
+ Same changes as in `@mui/x-data-grid-pro@7.22.2`, plus:
46
+
47
+ - [DataGridPremium] Fix incorrect rows selection count when selection propagation is enabled with row grouping (#15222) @arminmeh
48
+
49
+ ### Date and Time Pickers
50
+
51
+ #### `@mui/x-date-pickers@7.22.2`
52
+
53
+ - [pickers] Add support for `moment-hijri@3.0.0` (#15248) @LukasTy
54
+
55
+ #### `@mui/x-date-pickers-pro@7.22.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
56
+
57
+ Same changes as in `@mui/x-date-pickers@7.22.2`.
58
+
59
+ ### Charts
60
+
61
+ #### `@mui/x-charts@7.22.2`
62
+
63
+ - [charts] Allow `SeriesValueFormatter` to return `null` value (#15295) @clins1994
64
+ - [charts] Allow configuring the `domainLimit` for each axis. (#15325) @GuillaumeMeheut
65
+
66
+ #### `@mui/x-charts-pro@7.0.0-beta.7` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
67
+
68
+ Same changes as in `@mui/x-charts@7.22.2`.
69
+
70
+ ## 7.22.1
71
+
72
+ _Nov 1, 2024_
73
+
74
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
75
+
76
+ - 🐞 Bugfixes
77
+ - 📚 Documentation improvements
78
+ - 🌍 Improve Polish (pl-PL) locale on the Date Pickers
79
+
80
+ Special thanks go out to the community contributors who have helped make this release possible:
81
+ @wojtkolos, @dpak-maurya, @k-rajat19.
82
+ Following are all team members who have contributed to this release:
83
+ @LukasTy, @arminmeh, @MBilalShafi, @KenanYusuf, @flaviendelangle.
84
+
85
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
86
+
87
+ ### Data Grid
88
+
89
+ #### `@mui/x-data-grid@7.22.1`
90
+
91
+ - [DataGrid] Fix right column group header border (#15152) @KenanYusuf
92
+ - [DataGrid] Fix scroll jump when holding down arrow keys (#15167) @arminmeh
93
+ - [DataGrid] Move `rowGroupingModelChange` handler to respective hook (#15127) @MBilalShafi
94
+ - [DataGrid] Prevent error when deleting the last row (#15153) @dpak-maurya
95
+ - [DataGrid] Fix overlay height in autoHeight mode (#15205) @cherniavskii
96
+
97
+ #### `@mui/x-data-grid-pro@7.22.1` [![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.22.1`, plus:
100
+
101
+ - [DataGridPro] Add list view tests (#15166) @KenanYusuf
102
+
103
+ #### `@mui/x-data-grid-premium@7.22.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
104
+
105
+ - [DataGridPremium] Keep focus on the grouping cell on space bar press #15155 @k-rajat19
106
+
107
+ ### Date and Time Pickers
108
+
109
+ #### `@mui/x-date-pickers@7.22.1`
110
+
111
+ - [l10n] Improve Polish (pl-PL) locale (#15177) @wojtkolos
112
+
113
+ #### `@mui/x-date-pickers-pro@7.22.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
114
+
115
+ Same changes as in `@mui/x-date-pickers@7.22.1`.
116
+
117
+ ### Tree View
118
+
119
+ #### `@mui/x-tree-view@7.22.1`
120
+
121
+ - [TreeView] Export `TreeItem2DragAndDropOverlay` and `TreeItem2LabelInput` from the root of each package (#15208) @flaviendelangle
122
+ - [TreeView] Fix drag and drop color usage (#15149) @LukasTy
123
+
124
+ #### `@mui/x-tree-view-pro@7.22.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
125
+
126
+ Same changes as in `@mui/x-tree-view@7.22.1`.
127
+
128
+ ### Docs
129
+
130
+ - [docs] Add section explaining how to keep the selection while filtering in Data grid docs (#15199) @arminmeh
131
+
6
132
  ## 7.22.0
7
133
 
8
134
  _Oct 25, 2024_
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v7.22.0
2
+ * @mui/x-date-pickers v7.22.2
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/locales/plPL.js CHANGED
@@ -16,11 +16,10 @@ const plPLPickers = {
16
16
  // DateRange labels
17
17
  start: 'Początek',
18
18
  end: 'Koniec',
19
- // startDate: 'Start date',
20
- // startTime: 'Start time',
21
- // endDate: 'End date',
22
- // endTime: 'End time',
23
-
19
+ startDate: 'Data rozpoczęcia',
20
+ startTime: 'Czas rozpoczęcia',
21
+ endDate: 'Data zakończenia',
22
+ endTime: 'Czas zakończenia',
24
23
  // Action bar
25
24
  cancelButtonLabel: 'Anuluj',
26
25
  clearButtonLabel: 'Wyczyść',
@@ -46,12 +45,10 @@ const plPLPickers = {
46
45
  // Open picker labels
47
46
  openDatePickerDialogue: (value, utils, formattedDate) => value != null && utils.isValid(value) ? `Wybierz datę, obecnie wybrana data to ${formattedDate ?? utils.format(value, 'fullDate')}` : 'Wybierz datę',
48
47
  openTimePickerDialogue: (value, utils, formattedTime) => formattedTime || value !== null && utils.isValid(value) ? `Wybierz czas, obecnie wybrany czas to ${formattedTime ?? utils.format(value, 'fullTime')}` : 'Wybierz czas',
49
- // fieldClearLabel: 'Clear',
50
-
48
+ fieldClearLabel: 'Wyczyść',
51
49
  // Table labels
52
50
  timeTableLabel: 'wybierz czas',
53
- dateTableLabel: 'wybierz datę'
54
-
51
+ dateTableLabel: 'wybierz datę',
55
52
  // Field section placeholders
56
53
  // fieldYearPlaceholder: params => 'Y'.repeat(params.digitAmount),
57
54
  // fieldMonthPlaceholder: params => params.contentType === 'letter' ? 'MMMM' : 'MM',
@@ -63,13 +60,13 @@ const plPLPickers = {
63
60
  // fieldMeridiemPlaceholder: () => 'aa',
64
61
 
65
62
  // View names
66
- // year: 'Year',
67
- // month: 'Month',
68
- // day: 'Day',
69
- // weekDay: 'Week day',
70
- // hours: 'Hours',
71
- // minutes: 'Minutes',
72
- // seconds: 'Seconds',
63
+ year: 'Rok',
64
+ month: 'Miesiąc',
65
+ day: 'Dzień',
66
+ weekDay: 'Dzień tygodnia',
67
+ hours: 'Godzin',
68
+ minutes: 'Minut',
69
+ seconds: 'Sekund'
73
70
  // meridiem: 'Meridiem',
74
71
 
75
72
  // Common
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v7.22.0
2
+ * @mui/x-date-pickers v7.22.2
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -16,11 +16,10 @@ const plPLPickers = {
16
16
  // DateRange labels
17
17
  start: 'Początek',
18
18
  end: 'Koniec',
19
- // startDate: 'Start date',
20
- // startTime: 'Start time',
21
- // endDate: 'End date',
22
- // endTime: 'End time',
23
-
19
+ startDate: 'Data rozpoczęcia',
20
+ startTime: 'Czas rozpoczęcia',
21
+ endDate: 'Data zakończenia',
22
+ endTime: 'Czas zakończenia',
24
23
  // Action bar
25
24
  cancelButtonLabel: 'Anuluj',
26
25
  clearButtonLabel: 'Wyczyść',
@@ -46,12 +45,10 @@ const plPLPickers = {
46
45
  // Open picker labels
47
46
  openDatePickerDialogue: (value, utils, formattedDate) => value != null && utils.isValid(value) ? `Wybierz datę, obecnie wybrana data to ${formattedDate ?? utils.format(value, 'fullDate')}` : 'Wybierz datę',
48
47
  openTimePickerDialogue: (value, utils, formattedTime) => formattedTime || value !== null && utils.isValid(value) ? `Wybierz czas, obecnie wybrany czas to ${formattedTime ?? utils.format(value, 'fullTime')}` : 'Wybierz czas',
49
- // fieldClearLabel: 'Clear',
50
-
48
+ fieldClearLabel: 'Wyczyść',
51
49
  // Table labels
52
50
  timeTableLabel: 'wybierz czas',
53
- dateTableLabel: 'wybierz datę'
54
-
51
+ dateTableLabel: 'wybierz datę',
55
52
  // Field section placeholders
56
53
  // fieldYearPlaceholder: params => 'Y'.repeat(params.digitAmount),
57
54
  // fieldMonthPlaceholder: params => params.contentType === 'letter' ? 'MMMM' : 'MM',
@@ -63,13 +60,13 @@ const plPLPickers = {
63
60
  // fieldMeridiemPlaceholder: () => 'aa',
64
61
 
65
62
  // View names
66
- // year: 'Year',
67
- // month: 'Month',
68
- // day: 'Day',
69
- // weekDay: 'Week day',
70
- // hours: 'Hours',
71
- // minutes: 'Minutes',
72
- // seconds: 'Seconds',
63
+ year: 'Rok',
64
+ month: 'Miesiąc',
65
+ day: 'Dzień',
66
+ weekDay: 'Dzień tygodnia',
67
+ hours: 'Godzin',
68
+ minutes: 'Minut',
69
+ seconds: 'Sekund'
73
70
  // meridiem: 'Meridiem',
74
71
 
75
72
  // Common
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v7.22.0
2
+ * @mui/x-date-pickers v7.22.2
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -22,11 +22,10 @@ const plPLPickers = {
22
22
  // DateRange labels
23
23
  start: 'Początek',
24
24
  end: 'Koniec',
25
- // startDate: 'Start date',
26
- // startTime: 'Start time',
27
- // endDate: 'End date',
28
- // endTime: 'End time',
29
-
25
+ startDate: 'Data rozpoczęcia',
26
+ startTime: 'Czas rozpoczęcia',
27
+ endDate: 'Data zakończenia',
28
+ endTime: 'Czas zakończenia',
30
29
  // Action bar
31
30
  cancelButtonLabel: 'Anuluj',
32
31
  clearButtonLabel: 'Wyczyść',
@@ -52,12 +51,10 @@ const plPLPickers = {
52
51
  // Open picker labels
53
52
  openDatePickerDialogue: (value, utils, formattedDate) => value != null && utils.isValid(value) ? `Wybierz datę, obecnie wybrana data to ${formattedDate ?? utils.format(value, 'fullDate')}` : 'Wybierz datę',
54
53
  openTimePickerDialogue: (value, utils, formattedTime) => formattedTime || value !== null && utils.isValid(value) ? `Wybierz czas, obecnie wybrany czas to ${formattedTime ?? utils.format(value, 'fullTime')}` : 'Wybierz czas',
55
- // fieldClearLabel: 'Clear',
56
-
54
+ fieldClearLabel: 'Wyczyść',
57
55
  // Table labels
58
56
  timeTableLabel: 'wybierz czas',
59
- dateTableLabel: 'wybierz datę'
60
-
57
+ dateTableLabel: 'wybierz datę',
61
58
  // Field section placeholders
62
59
  // fieldYearPlaceholder: params => 'Y'.repeat(params.digitAmount),
63
60
  // fieldMonthPlaceholder: params => params.contentType === 'letter' ? 'MMMM' : 'MM',
@@ -69,13 +66,13 @@ const plPLPickers = {
69
66
  // fieldMeridiemPlaceholder: () => 'aa',
70
67
 
71
68
  // View names
72
- // year: 'Year',
73
- // month: 'Month',
74
- // day: 'Day',
75
- // weekDay: 'Week day',
76
- // hours: 'Hours',
77
- // minutes: 'Minutes',
78
- // seconds: 'Seconds',
69
+ year: 'Rok',
70
+ month: 'Miesiąc',
71
+ day: 'Dzień',
72
+ weekDay: 'Dzień tygodnia',
73
+ hours: 'Godzin',
74
+ minutes: 'Minut',
75
+ seconds: 'Sekund'
79
76
  // meridiem: 'Meridiem',
80
77
 
81
78
  // Common
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers",
3
- "version": "7.22.0",
3
+ "version": "7.22.2",
4
4
  "description": "The community edition of the Date and Time Picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -53,7 +53,7 @@
53
53
  "dayjs": "^1.10.7",
54
54
  "luxon": "^3.0.2",
55
55
  "moment": "^2.29.4",
56
- "moment-hijri": "^2.1.2",
56
+ "moment-hijri": "^2.1.2 || ^3.0.0",
57
57
  "moment-jalaali": "^0.7.4 || ^0.8.0 || ^0.9.0 || ^0.10.0",
58
58
  "react": "^17.0.0 || ^18.0.0",
59
59
  "react-dom": "^17.0.0 || ^18.0.0"