@mui/x-date-pickers-pro 6.18.1 → 6.18.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +53 -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,59 @@
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.2
7
+
8
+ _Nov 23, 2023_
9
+
10
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🌍 Improve Arabic (ar-SD), Czech (cs-CZ), and Hebrew (he-IL) locales on Data Grid
13
+ - 🌍 Add Basque (eu) and Macedonian (mk) locales on Pickers
14
+ - 🌍 Improve German (de-DE) and Spanish (es-ES) locales on Pickers
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ ### Data Grid
19
+
20
+ #### `@mui/x-data-grid@6.18.2`
21
+
22
+ - [l10n] Improve Arabic (ar-SD) locale (#11096) @OmarWebDev
23
+ - [l10n] Improve Czech (cs-CZ) locale (#10968) @luborepka
24
+ - [l10n] Improve Hebrew (he-IL) locale (#11056) @LironKiloma
25
+
26
+ #### `@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')
27
+
28
+ Same changes as in `@mui/x-data-grid@6.18.2`.
29
+
30
+ #### `@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')
31
+
32
+ Same changes as in `@mui/x-data-grid-pro@6.18.2`.
33
+
34
+ ### Date Pickers
35
+
36
+ #### `@mui/x-date-pickers@6.18.2`
37
+
38
+ - [l10n] Add Basque (eu) locale and improve Spanish (es-ES) locale (#10985) @lajtomekadimon
39
+ - [l10n] Add Macedonian (mk) locale (#11155) @brsnik
40
+ - [l10n] Improve German (de-DE) locale (#11104) @jho-vema
41
+ - [pickers] Deprecate `defaultCalendarMonth` prop (#11138) @flaviendelangle
42
+ - [pickers] Fix `DateCalendar` crashing when given an invalid value (#11101) @flaviendelangle
43
+
44
+ #### `@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')
45
+
46
+ Same changes as in `@mui/x-date-pickers@6.18.2`.
47
+
48
+ ### Charts / `@mui/x-charts@6.18.2`
49
+
50
+ - [charts] Fix `ChartsTooltip` component setup (#11157) @LukasTy
51
+ - [charts] Remove outdated prop-types (#10998) @alexfauquette
52
+
53
+ ### Docs
54
+
55
+ - [docs] Fix incoherent naming of a component in `Custom slots and subcomponents` page (#11003) @lhilgert9
56
+ - [test] Skip flaky e2e test in webkit (#11115) @cherniavskii
57
+ - [test] Wait for images to load (#11109) @cherniavskii
58
+
6
59
  ## 6.18.1
7
60
 
8
61
  _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.2
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 = "MTcwMDY5MDQwMDAwMA==";
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.2
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 = "MTcwMDY5MDQwMDAwMA==";
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.2
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 = "MTcwMDY5MDQwMDAwMA==";
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.2
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 = "MTcwMDY5MDQwMDAwMA==";
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.2",
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.2",
37
37
  "@mui/x-license-pro": "6.10.2",
38
38
  "clsx": "^2.0.0",
39
39
  "prop-types": "^15.8.1",