@mui/x-date-pickers-pro 6.18.1 → 6.18.3

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +112 -0
  2. package/DateRangeCalendar/DateRangeCalendar.js +1 -0
  3. package/DateRangeCalendar/DateRangeCalendar.types.d.ts +1 -0
  4. package/DateRangePicker/DateRangePicker.js +1 -0
  5. package/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -0
  6. package/MobileDateRangePicker/MobileDateRangePicker.js +1 -0
  7. package/StaticDateRangePicker/StaticDateRangePicker.js +1 -0
  8. package/index.js +1 -1
  9. package/internals/utils/releaseInfo.js +1 -1
  10. package/legacy/DateRangeCalendar/DateRangeCalendar.js +1 -0
  11. package/legacy/DateRangePicker/DateRangePicker.js +1 -0
  12. package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -0
  13. package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +1 -0
  14. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +1 -0
  15. package/legacy/index.js +1 -1
  16. package/legacy/internals/utils/releaseInfo.js +1 -1
  17. package/modern/DateRangeCalendar/DateRangeCalendar.js +1 -0
  18. package/modern/DateRangePicker/DateRangePicker.js +1 -0
  19. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -0
  20. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +1 -0
  21. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +1 -0
  22. package/modern/index.js +1 -1
  23. package/modern/internals/utils/releaseInfo.js +1 -1
  24. package/node/DateRangeCalendar/DateRangeCalendar.js +1 -0
  25. package/node/DateRangePicker/DateRangePicker.js +1 -0
  26. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -0
  27. package/node/MobileDateRangePicker/MobileDateRangePicker.js +1 -0
  28. package/node/StaticDateRangePicker/StaticDateRangePicker.js +1 -0
  29. package/node/index.js +1 -1
  30. package/node/internals/utils/releaseInfo.js +1 -1
  31. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,118 @@
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.3
7
+
8
+ _Dec 4, 2023_
9
+
10
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 📈 Fix a lot of Charts package issues
13
+ - 🌍 Improve Bulgarian (bg-BG) locale on Data Grid
14
+ - 🐞 Bugfixes
15
+ - 📚 Documentation improvements
16
+
17
+ ### Data Grid
18
+
19
+ #### `@mui/x-data-grid@6.18.3`
20
+
21
+ - [DataGrid] Fix cell editing adding a leading "v" on paste (#11166) @prasad5795
22
+ - [DataGrid] Fix handling of event target in portal (#11209) @cherniavskii
23
+ - [DataGrid] Fix `onFilterModelChange` being fired with stale field value (#11244) @gitstart
24
+ - [l10n] Improve Bulgarian (bg-BG) locale (#10856) (#11206) @Kristiqn95
25
+
26
+ #### `@mui/x-data-grid-pro@6.18.3` [![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.3`.
29
+
30
+ #### `@mui/x-data-grid-premium@6.18.3` [![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@6.18.3`, plus:
33
+
34
+ - [DataGridPremium] Fix aggregated column ignoring column definition changes (#11176) @cherniavskii
35
+ - [DataGridPremium] Fix custom filter operators not working on aggregated column (#11201) @cherniavskii
36
+
37
+ ### Date Pickers
38
+
39
+ #### `@mui/x-date-pickers@6.18.3`
40
+
41
+ - [pickers] Correctly format `MultiSectionDigitalClock` number sections (#11297) @LukasTy
42
+ - [pickers] Expand field placeholder methods flexibility by providing `format` parameter (#11254) @LukasTy
43
+
44
+ #### `@mui/x-date-pickers-pro@6.18.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
45
+
46
+ Same changes as in `@mui/x-date-pickers@6.18.3`.
47
+
48
+ ### Charts / `@mui/x-charts@6.18.3`
49
+
50
+ - [charts] Adjusted `defaultizeValueFormatter` util to accept an optional `series.valueFormatter` value (#11213) @michelengelen
51
+ - [charts] Apply `labelStyle` and `tickLabelStyle` props on `<ChartsYAxis />` (#11180) @akamfoad
52
+ - [charts] Fix TS config (#11259) @alexfauquette
53
+ - [charts] Fix error with empty dataset (#11063) @alexfauquette
54
+ - [charts] Fix export strategy (#11235) @alexfauquette
55
+
56
+ ### Docs
57
+
58
+ - [docs] Add LTS section to support page (#11300) @joserodolfofreitas
59
+ - [docs] Add end v6 blogpost to whats new page (#11299) @joserodolfofreitas
60
+ - [docs] Document charts composition (#10710) @alexfauquette
61
+ - [docs] Fix version links (#11167) @LukasTy
62
+ - [docs] Improve Data Grid togglable columns example (#11241) @MBilalShafi
63
+ - [docs] Split charts overview and getting started in distinct pages (#10910) @alexfauquette
64
+
65
+ ## 6.18.2
66
+
67
+ _Nov 23, 2023_
68
+
69
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
70
+
71
+ - 🌍 Improve Arabic (ar-SD), Czech (cs-CZ), and Hebrew (he-IL) locales on Data Grid
72
+ - 🌍 Add Basque (eu) and Macedonian (mk) locales on Pickers
73
+ - 🌍 Improve German (de-DE) and Spanish (es-ES) locales on Pickers
74
+ - 🐞 Bugfixes
75
+ - 📚 Documentation improvements
76
+
77
+ ### Data Grid
78
+
79
+ #### `@mui/x-data-grid@6.18.2`
80
+
81
+ - [l10n] Improve Arabic (ar-SD) locale (#11096) @OmarWebDev
82
+ - [l10n] Improve Czech (cs-CZ) locale (#10968) @luborepka
83
+ - [l10n] Improve Hebrew (he-IL) locale (#11056) @LironKiloma
84
+
85
+ #### `@mui/x-data-grid-pro@6.18.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
86
+
87
+ Same changes as in `@mui/x-data-grid@6.18.2`.
88
+
89
+ #### `@mui/x-data-grid-premium@6.18.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
90
+
91
+ Same changes as in `@mui/x-data-grid-pro@6.18.2`.
92
+
93
+ ### Date Pickers
94
+
95
+ #### `@mui/x-date-pickers@6.18.2`
96
+
97
+ - [l10n] Add Basque (eu) locale and improve Spanish (es-ES) locale (#10985) @lajtomekadimon
98
+ - [l10n] Add Macedonian (mk) locale (#11155) @brsnik
99
+ - [l10n] Improve German (de-DE) locale (#11104) @jho-vema
100
+ - [pickers] Deprecate `defaultCalendarMonth` prop (#11138) @flaviendelangle
101
+ - [pickers] Fix `DateCalendar` crashing when given an invalid value (#11101) @flaviendelangle
102
+
103
+ #### `@mui/x-date-pickers-pro@6.18.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
104
+
105
+ Same changes as in `@mui/x-date-pickers@6.18.2`.
106
+
107
+ ### Charts / `@mui/x-charts@6.18.2`
108
+
109
+ - [charts] Fix `ChartsTooltip` component setup (#11157) @LukasTy
110
+ - [charts] Remove outdated prop-types (#10998) @alexfauquette
111
+
112
+ ### Docs
113
+
114
+ - [docs] Fix incoherent naming of a component in `Custom slots and subcomponents` page (#11003) @lhilgert9
115
+ - [test] Skip flaky e2e test in webkit (#11115) @cherniavskii
116
+ - [test] Wait for images to load (#11109) @cherniavskii
117
+
6
118
  ## 6.18.1
7
119
 
8
120
  _Nov 9, 2023_
@@ -527,6 +527,7 @@ process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
527
527
  dayOfWeekFormatter: PropTypes.func,
528
528
  /**
529
529
  * Default calendar month displayed when `value={[null, null]}`.
530
+ * @deprecated Consider using `referenceDate` instead.
530
531
  */
531
532
  defaultCalendarMonth: PropTypes.any,
532
533
  /**
@@ -32,6 +32,7 @@ export interface ExportedDateRangeCalendarProps<TDate> extends ExportedDayCalend
32
32
  disableAutoMonthSwitching?: boolean;
33
33
  /**
34
34
  * Default calendar month displayed when `value={[null, null]}`.
35
+ * @deprecated Consider using `referenceDate` instead.
35
36
  */
36
37
  defaultCalendarMonth?: TDate;
37
38
  /**
@@ -95,6 +95,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
95
95
  dayOfWeekFormatter: PropTypes.func,
96
96
  /**
97
97
  * Default calendar month displayed when `value={[null, null]}`.
98
+ * @deprecated Consider using `referenceDate` instead.
98
99
  */
99
100
  defaultCalendarMonth: PropTypes.any,
100
101
  /**
@@ -110,6 +110,7 @@ DesktopDateRangePicker.propTypes = {
110
110
  dayOfWeekFormatter: PropTypes.func,
111
111
  /**
112
112
  * Default calendar month displayed when `value={[null, null]}`.
113
+ * @deprecated Consider using `referenceDate` instead.
113
114
  */
114
115
  defaultCalendarMonth: PropTypes.any,
115
116
  /**
@@ -110,6 +110,7 @@ MobileDateRangePicker.propTypes = {
110
110
  dayOfWeekFormatter: PropTypes.func,
111
111
  /**
112
112
  * Default calendar month displayed when `value={[null, null]}`.
113
+ * @deprecated Consider using `referenceDate` instead.
113
114
  */
114
115
  defaultCalendarMonth: PropTypes.any,
115
116
  /**
@@ -96,6 +96,7 @@ StaticDateRangePicker.propTypes = {
96
96
  dayOfWeekFormatter: PropTypes.func,
97
97
  /**
98
98
  * Default calendar month displayed when `value={[null, null]}`.
99
+ * @deprecated Consider using `referenceDate` instead.
99
100
  */
100
101
  defaultCalendarMonth: PropTypes.any,
101
102
  /**
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.18.1
2
+ * @mui/x-date-pickers-pro v6.18.3
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY5OTQ4NDQwMDAwMA==";
3
+ const releaseInfo = "MTcwMTY0MDgwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -550,6 +550,7 @@ process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
550
550
  dayOfWeekFormatter: PropTypes.func,
551
551
  /**
552
552
  * Default calendar month displayed when `value={[null, null]}`.
553
+ * @deprecated Consider using `referenceDate` instead.
553
554
  */
554
555
  defaultCalendarMonth: PropTypes.any,
555
556
  /**
@@ -94,6 +94,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
94
94
  dayOfWeekFormatter: PropTypes.func,
95
95
  /**
96
96
  * Default calendar month displayed when `value={[null, null]}`.
97
+ * @deprecated Consider using `referenceDate` instead.
97
98
  */
98
99
  defaultCalendarMonth: PropTypes.any,
99
100
  /**
@@ -109,6 +109,7 @@ DesktopDateRangePicker.propTypes = {
109
109
  dayOfWeekFormatter: PropTypes.func,
110
110
  /**
111
111
  * Default calendar month displayed when `value={[null, null]}`.
112
+ * @deprecated Consider using `referenceDate` instead.
112
113
  */
113
114
  defaultCalendarMonth: PropTypes.any,
114
115
  /**
@@ -109,6 +109,7 @@ MobileDateRangePicker.propTypes = {
109
109
  dayOfWeekFormatter: PropTypes.func,
110
110
  /**
111
111
  * Default calendar month displayed when `value={[null, null]}`.
112
+ * @deprecated Consider using `referenceDate` instead.
112
113
  */
113
114
  defaultCalendarMonth: PropTypes.any,
114
115
  /**
@@ -95,6 +95,7 @@ StaticDateRangePicker.propTypes = {
95
95
  dayOfWeekFormatter: PropTypes.func,
96
96
  /**
97
97
  * Default calendar month displayed when `value={[null, null]}`.
98
+ * @deprecated Consider using `referenceDate` instead.
98
99
  */
99
100
  defaultCalendarMonth: PropTypes.any,
100
101
  /**
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.18.1
2
+ * @mui/x-date-pickers-pro v6.18.3
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTY5OTQ4NDQwMDAwMA==";
3
+ var releaseInfo = "MTcwMTY0MDgwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -523,6 +523,7 @@ process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
523
523
  dayOfWeekFormatter: PropTypes.func,
524
524
  /**
525
525
  * Default calendar month displayed when `value={[null, null]}`.
526
+ * @deprecated Consider using `referenceDate` instead.
526
527
  */
527
528
  defaultCalendarMonth: PropTypes.any,
528
529
  /**
@@ -95,6 +95,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
95
95
  dayOfWeekFormatter: PropTypes.func,
96
96
  /**
97
97
  * Default calendar month displayed when `value={[null, null]}`.
98
+ * @deprecated Consider using `referenceDate` instead.
98
99
  */
99
100
  defaultCalendarMonth: PropTypes.any,
100
101
  /**
@@ -106,6 +106,7 @@ DesktopDateRangePicker.propTypes = {
106
106
  dayOfWeekFormatter: PropTypes.func,
107
107
  /**
108
108
  * Default calendar month displayed when `value={[null, null]}`.
109
+ * @deprecated Consider using `referenceDate` instead.
109
110
  */
110
111
  defaultCalendarMonth: PropTypes.any,
111
112
  /**
@@ -106,6 +106,7 @@ MobileDateRangePicker.propTypes = {
106
106
  dayOfWeekFormatter: PropTypes.func,
107
107
  /**
108
108
  * Default calendar month displayed when `value={[null, null]}`.
109
+ * @deprecated Consider using `referenceDate` instead.
109
110
  */
110
111
  defaultCalendarMonth: PropTypes.any,
111
112
  /**
@@ -95,6 +95,7 @@ StaticDateRangePicker.propTypes = {
95
95
  dayOfWeekFormatter: PropTypes.func,
96
96
  /**
97
97
  * Default calendar month displayed when `value={[null, null]}`.
98
+ * @deprecated Consider using `referenceDate` instead.
98
99
  */
99
100
  defaultCalendarMonth: PropTypes.any,
100
101
  /**
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.18.1
2
+ * @mui/x-date-pickers-pro v6.18.3
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY5OTQ4NDQwMDAwMA==";
3
+ const releaseInfo = "MTcwMTY0MDgwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -531,6 +531,7 @@ process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
531
531
  dayOfWeekFormatter: _propTypes.default.func,
532
532
  /**
533
533
  * Default calendar month displayed when `value={[null, null]}`.
534
+ * @deprecated Consider using `referenceDate` instead.
534
535
  */
535
536
  defaultCalendarMonth: _propTypes.default.any,
536
537
  /**
@@ -104,6 +104,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
104
104
  dayOfWeekFormatter: _propTypes.default.func,
105
105
  /**
106
106
  * Default calendar month displayed when `value={[null, null]}`.
107
+ * @deprecated Consider using `referenceDate` instead.
107
108
  */
108
109
  defaultCalendarMonth: _propTypes.default.any,
109
110
  /**
@@ -115,6 +115,7 @@ DesktopDateRangePicker.propTypes = {
115
115
  dayOfWeekFormatter: _propTypes.default.func,
116
116
  /**
117
117
  * Default calendar month displayed when `value={[null, null]}`.
118
+ * @deprecated Consider using `referenceDate` instead.
118
119
  */
119
120
  defaultCalendarMonth: _propTypes.default.any,
120
121
  /**
@@ -115,6 +115,7 @@ MobileDateRangePicker.propTypes = {
115
115
  dayOfWeekFormatter: _propTypes.default.func,
116
116
  /**
117
117
  * Default calendar month displayed when `value={[null, null]}`.
118
+ * @deprecated Consider using `referenceDate` instead.
118
119
  */
119
120
  defaultCalendarMonth: _propTypes.default.any,
120
121
  /**
@@ -104,6 +104,7 @@ StaticDateRangePicker.propTypes = {
104
104
  dayOfWeekFormatter: _propTypes.default.func,
105
105
  /**
106
106
  * Default calendar month displayed when `value={[null, null]}`.
107
+ * @deprecated Consider using `referenceDate` instead.
107
108
  */
108
109
  defaultCalendarMonth: _propTypes.default.any,
109
110
  /**
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.18.1
2
+ * @mui/x-date-pickers-pro v6.18.3
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getReleaseInfo = void 0;
7
7
  var _utils = require("@mui/utils");
8
8
  const getReleaseInfo = () => {
9
- const releaseInfo = "MTY5OTQ4NDQwMDAwMA==";
9
+ const releaseInfo = "MTcwMTY0MDgwMDAwMA==";
10
10
  if (process.env.NODE_ENV !== 'production') {
11
11
  // A simple hack to set the value in the test environment (has no build step).
12
12
  // eslint-disable-next-line no-useless-concat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers-pro",
3
- "version": "6.18.1",
3
+ "version": "6.18.3",
4
4
  "description": "The commercial edition of the date picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -33,7 +33,7 @@
33
33
  "@babel/runtime": "^7.23.2",
34
34
  "@mui/base": "^5.0.0-beta.22",
35
35
  "@mui/utils": "^5.14.16",
36
- "@mui/x-date-pickers": "6.18.1",
36
+ "@mui/x-date-pickers": "6.18.3",
37
37
  "@mui/x-license-pro": "6.10.2",
38
38
  "clsx": "^2.0.0",
39
39
  "prop-types": "^15.8.1",