@mui/x-date-pickers-pro 5.0.6 → 5.0.7

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,31 @@
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
+ ## 5.17.10
7
+
8
+ _Nov 4, 2022_
9
+
10
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🌍 Add Ukrainian (uk-UA) locale to pickers (#6661) @Dufran
13
+
14
+ ### `@mui/x-data-grid@v5.17.10` / `@mui/x-data-grid-pro@v5.17.10` / `@mui/x-data-grid-premium@v5.17.10`
15
+
16
+ #### Changes
17
+
18
+ - [DataGrid] Remove `React.memo` from `GridCellCheckboxRenderer` (#6688) @mattcorner
19
+
20
+ ### `@mui/x-date-pickers@v5.0.7` / `@mui/x-date-pickers-pro@v5.0.7`
21
+
22
+ #### Changes
23
+
24
+ - [DateRangePicker] Fix input focused style and mobile behaviour (#6645) (#6714) @LukasTy
25
+ - [pickers] Add Ukrainian (uk-UA) locale on the date picker (#6661) @Dufran
26
+
27
+ ### Docs
28
+
29
+ - [docs] Mark data grid column group available (#6659) @alexfauquette
30
+
6
31
  ## 5.17.9
7
32
 
8
33
  _Oct 28, 2022_
@@ -34,6 +34,7 @@ export interface DateRangePickerInputProps<TInputDate, TDate> extends ExportedDa
34
34
  validationError: DateRangeValidationError;
35
35
  rawValue: DateRange<TInputDate>;
36
36
  classes?: Partial<DateRangePickerInputClasses>;
37
+ mobile?: boolean;
37
38
  }
38
39
  declare type DatePickerInputComponent = <TInputDate, TDate>(props: DateRangePickerInputProps<TInputDate, TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
39
40
  /**
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
- const _excluded = ["currentlySelectingRangeEnd", "disableOpenPicker", "endText", "onBlur", "onChange", "open", "openPicker", "rawValue", "rawValue", "readOnly", "renderInput", "setCurrentlySelectingRangeEnd", "startText", "TextFieldProps", "validationError", "className"];
3
+ const _excluded = ["currentlySelectingRangeEnd", "disableOpenPicker", "endText", "onBlur", "onChange", "open", "openPicker", "rawValue", "rawValue", "readOnly", "renderInput", "setCurrentlySelectingRangeEnd", "startText", "TextFieldProps", "validationError", "className", "mobile"];
4
4
  import * as React from 'react';
5
5
  import clsx from 'clsx';
6
6
  import { styled, useThemeProps } from '@mui/material/styles';
@@ -58,7 +58,8 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
58
58
  startText,
59
59
  TextFieldProps,
60
60
  validationError: [startValidationError, endValidationError],
61
- className
61
+ className,
62
+ mobile
62
63
  } = props,
63
64
  other = _objectWithoutPropertiesLoose(props, _excluded);
64
65
 
@@ -93,7 +94,9 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
93
94
  lazyHandleChangeCallback([utils.date(start), date], inputString);
94
95
  };
95
96
 
96
- const openRangeStartSelection = () => {
97
+ const openRangeStartSelection = event => {
98
+ event.stopPropagation();
99
+
97
100
  if (setCurrentlySelectingRangeEnd) {
98
101
  setCurrentlySelectingRangeEnd('start');
99
102
  }
@@ -103,7 +106,9 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
103
106
  }
104
107
  };
105
108
 
106
- const openRangeEndSelection = () => {
109
+ const openRangeEndSelection = event => {
110
+ event.stopPropagation();
111
+
107
112
  if (setCurrentlySelectingRangeEnd) {
108
113
  setCurrentlySelectingRangeEnd('end');
109
114
  }
@@ -133,12 +138,15 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
133
138
  validationError: startValidationError !== null,
134
139
  TextFieldProps: _extends({}, TextFieldProps, {
135
140
  ref: startRef,
136
- focused: open && currentlySelectingRangeEnd === 'start'
141
+ focused: open ? currentlySelectingRangeEnd === 'start' : undefined
142
+ }, !readOnly && !other.disabled && {
143
+ onClick: openRangeStartSelection
137
144
  }),
138
145
  inputProps: {
139
146
  onClick: openRangeStartSelection,
140
147
  onKeyDown: onSpaceOrEnter(openRangeStartSelection),
141
- onFocus: focusOnRangeStart
148
+ onFocus: focusOnRangeStart,
149
+ readOnly: mobile
142
150
  }
143
151
  }));
144
152
  const endInputProps = useMaskedInput(_extends({}, other, {
@@ -149,12 +157,15 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
149
157
  validationError: endValidationError !== null,
150
158
  TextFieldProps: _extends({}, TextFieldProps, {
151
159
  ref: endRef,
152
- focused: open && currentlySelectingRangeEnd === 'end'
160
+ focused: open ? currentlySelectingRangeEnd === 'end' : undefined
161
+ }, !readOnly && !other.disabled && {
162
+ onClick: openRangeEndSelection
153
163
  }),
154
164
  inputProps: {
155
165
  onClick: openRangeEndSelection,
156
166
  onKeyDown: onSpaceOrEnter(openRangeEndSelection),
157
- onFocus: focusOnRangeEnd
167
+ onFocus: focusOnRangeEnd,
168
+ readOnly: mobile
158
169
  }
159
170
  }));
160
171
  return /*#__PURE__*/_jsx(DateRangePickerInputRoot, {
@@ -56,7 +56,8 @@ export const MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function Mobi
56
56
  currentlySelectingRangeEnd,
57
57
  setCurrentlySelectingRangeEnd,
58
58
  validationError,
59
- ref
59
+ ref,
60
+ mobile: true
60
61
  });
61
62
 
62
63
  return /*#__PURE__*/_jsx(MobileWrapper, _extends({}, other, wrapperProps, {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.6
1
+ /** @license MUI v5.0.7
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY2NjkyNjAwMDAwMA==";
3
+ const releaseInfo = "MTY2NzUxNjQwMDAwMA==";
4
4
 
5
5
  if (process.env.NODE_ENV !== 'production') {
6
6
  // A simple hack to set the value in the test environment (has no build step).
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
4
4
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
5
- var _excluded = ["currentlySelectingRangeEnd", "disableOpenPicker", "endText", "onBlur", "onChange", "open", "openPicker", "rawValue", "rawValue", "readOnly", "renderInput", "setCurrentlySelectingRangeEnd", "startText", "TextFieldProps", "validationError", "className"];
5
+ var _excluded = ["currentlySelectingRangeEnd", "disableOpenPicker", "endText", "onBlur", "onChange", "open", "openPicker", "rawValue", "rawValue", "readOnly", "renderInput", "setCurrentlySelectingRangeEnd", "startText", "TextFieldProps", "validationError", "className", "mobile"];
6
6
  import * as React from 'react';
7
7
  import clsx from 'clsx';
8
8
  import { styled, useThemeProps } from '@mui/material/styles';
@@ -65,6 +65,7 @@ export var DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRan
65
65
  startValidationError = _props$validationErro[0],
66
66
  endValidationError = _props$validationErro[1],
67
67
  className = props.className,
68
+ mobile = props.mobile,
68
69
  other = _objectWithoutProperties(props, _excluded);
69
70
 
70
71
  var utils = useUtils();
@@ -106,7 +107,9 @@ export var DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRan
106
107
  lazyHandleChangeCallback([utils.date(start), date], inputString);
107
108
  };
108
109
 
109
- var openRangeStartSelection = function openRangeStartSelection() {
110
+ var openRangeStartSelection = function openRangeStartSelection(event) {
111
+ event.stopPropagation();
112
+
110
113
  if (setCurrentlySelectingRangeEnd) {
111
114
  setCurrentlySelectingRangeEnd('start');
112
115
  }
@@ -116,7 +119,9 @@ export var DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRan
116
119
  }
117
120
  };
118
121
 
119
- var openRangeEndSelection = function openRangeEndSelection() {
122
+ var openRangeEndSelection = function openRangeEndSelection(event) {
123
+ event.stopPropagation();
124
+
120
125
  if (setCurrentlySelectingRangeEnd) {
121
126
  setCurrentlySelectingRangeEnd('end');
122
127
  }
@@ -146,12 +151,15 @@ export var DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRan
146
151
  validationError: startValidationError !== null,
147
152
  TextFieldProps: _extends({}, TextFieldProps, {
148
153
  ref: startRef,
149
- focused: open && currentlySelectingRangeEnd === 'start'
154
+ focused: open ? currentlySelectingRangeEnd === 'start' : undefined
155
+ }, !readOnly && !other.disabled && {
156
+ onClick: openRangeStartSelection
150
157
  }),
151
158
  inputProps: {
152
159
  onClick: openRangeStartSelection,
153
160
  onKeyDown: onSpaceOrEnter(openRangeStartSelection),
154
- onFocus: focusOnRangeStart
161
+ onFocus: focusOnRangeStart,
162
+ readOnly: mobile
155
163
  }
156
164
  }));
157
165
  var endInputProps = useMaskedInput(_extends({}, other, {
@@ -162,12 +170,15 @@ export var DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRan
162
170
  validationError: endValidationError !== null,
163
171
  TextFieldProps: _extends({}, TextFieldProps, {
164
172
  ref: endRef,
165
- focused: open && currentlySelectingRangeEnd === 'end'
173
+ focused: open ? currentlySelectingRangeEnd === 'end' : undefined
174
+ }, !readOnly && !other.disabled && {
175
+ onClick: openRangeEndSelection
166
176
  }),
167
177
  inputProps: {
168
178
  onClick: openRangeEndSelection,
169
179
  onKeyDown: onSpaceOrEnter(openRangeEndSelection),
170
- onFocus: focusOnRangeEnd
180
+ onFocus: focusOnRangeEnd,
181
+ readOnly: mobile
171
182
  }
172
183
  }));
173
184
  return /*#__PURE__*/_jsx(DateRangePickerInputRoot, {
@@ -58,7 +58,8 @@ export var MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function Mobile
58
58
  currentlySelectingRangeEnd: currentlySelectingRangeEnd,
59
59
  setCurrentlySelectingRangeEnd: setCurrentlySelectingRangeEnd,
60
60
  validationError: validationError,
61
- ref: ref
61
+ ref: ref,
62
+ mobile: true
62
63
  });
63
64
 
64
65
  return /*#__PURE__*/_jsx(MobileWrapper, _extends({}, other, wrapperProps, {
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.6
1
+ /** @license MUI v5.0.7
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTY2NjkyNjAwMDAwMA==";
3
+ var releaseInfo = "MTY2NzUxNjQwMDAwMA==";
4
4
 
5
5
  if (process.env.NODE_ENV !== 'production') {
6
6
  // A simple hack to set the value in the test environment (has no build step).
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
- const _excluded = ["currentlySelectingRangeEnd", "disableOpenPicker", "endText", "onBlur", "onChange", "open", "openPicker", "rawValue", "rawValue", "readOnly", "renderInput", "setCurrentlySelectingRangeEnd", "startText", "TextFieldProps", "validationError", "className"];
3
+ const _excluded = ["currentlySelectingRangeEnd", "disableOpenPicker", "endText", "onBlur", "onChange", "open", "openPicker", "rawValue", "rawValue", "readOnly", "renderInput", "setCurrentlySelectingRangeEnd", "startText", "TextFieldProps", "validationError", "className", "mobile"];
4
4
  import * as React from 'react';
5
5
  import clsx from 'clsx';
6
6
  import { styled, useThemeProps } from '@mui/material/styles';
@@ -58,7 +58,8 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
58
58
  startText,
59
59
  TextFieldProps,
60
60
  validationError: [startValidationError, endValidationError],
61
- className
61
+ className,
62
+ mobile
62
63
  } = props,
63
64
  other = _objectWithoutPropertiesLoose(props, _excluded);
64
65
 
@@ -89,7 +90,9 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
89
90
  lazyHandleChangeCallback([utils.date(start), date], inputString);
90
91
  };
91
92
 
92
- const openRangeStartSelection = () => {
93
+ const openRangeStartSelection = event => {
94
+ event.stopPropagation();
95
+
93
96
  if (setCurrentlySelectingRangeEnd) {
94
97
  setCurrentlySelectingRangeEnd('start');
95
98
  }
@@ -99,7 +102,9 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
99
102
  }
100
103
  };
101
104
 
102
- const openRangeEndSelection = () => {
105
+ const openRangeEndSelection = event => {
106
+ event.stopPropagation();
107
+
103
108
  if (setCurrentlySelectingRangeEnd) {
104
109
  setCurrentlySelectingRangeEnd('end');
105
110
  }
@@ -129,12 +134,15 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
129
134
  validationError: startValidationError !== null,
130
135
  TextFieldProps: _extends({}, TextFieldProps, {
131
136
  ref: startRef,
132
- focused: open && currentlySelectingRangeEnd === 'start'
137
+ focused: open ? currentlySelectingRangeEnd === 'start' : undefined
138
+ }, !readOnly && !other.disabled && {
139
+ onClick: openRangeStartSelection
133
140
  }),
134
141
  inputProps: {
135
142
  onClick: openRangeStartSelection,
136
143
  onKeyDown: onSpaceOrEnter(openRangeStartSelection),
137
- onFocus: focusOnRangeStart
144
+ onFocus: focusOnRangeStart,
145
+ readOnly: mobile
138
146
  }
139
147
  }));
140
148
  const endInputProps = useMaskedInput(_extends({}, other, {
@@ -145,12 +153,15 @@ export const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateR
145
153
  validationError: endValidationError !== null,
146
154
  TextFieldProps: _extends({}, TextFieldProps, {
147
155
  ref: endRef,
148
- focused: open && currentlySelectingRangeEnd === 'end'
156
+ focused: open ? currentlySelectingRangeEnd === 'end' : undefined
157
+ }, !readOnly && !other.disabled && {
158
+ onClick: openRangeEndSelection
149
159
  }),
150
160
  inputProps: {
151
161
  onClick: openRangeEndSelection,
152
162
  onKeyDown: onSpaceOrEnter(openRangeEndSelection),
153
- onFocus: focusOnRangeEnd
163
+ onFocus: focusOnRangeEnd,
164
+ readOnly: mobile
154
165
  }
155
166
  }));
156
167
  return /*#__PURE__*/_jsx(DateRangePickerInputRoot, {
@@ -56,7 +56,8 @@ export const MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function Mobi
56
56
  currentlySelectingRangeEnd,
57
57
  setCurrentlySelectingRangeEnd,
58
58
  validationError,
59
- ref
59
+ ref,
60
+ mobile: true
60
61
  });
61
62
 
62
63
  return /*#__PURE__*/_jsx(MobileWrapper, _extends({}, other, wrapperProps, {
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.6
1
+ /** @license MUI v5.0.7
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY2NjkyNjAwMDAwMA==";
3
+ const releaseInfo = "MTY2NzUxNjQwMDAwMA==";
4
4
 
5
5
  if (process.env.NODE_ENV !== 'production') {
6
6
  // A simple hack to set the value in the test environment (has no build step).
@@ -25,7 +25,7 @@ var _dateRangePickerInputClasses = require("./dateRangePickerInputClasses");
25
25
 
26
26
  var _jsxRuntime = require("react/jsx-runtime");
27
27
 
28
- const _excluded = ["currentlySelectingRangeEnd", "disableOpenPicker", "endText", "onBlur", "onChange", "open", "openPicker", "rawValue", "rawValue", "readOnly", "renderInput", "setCurrentlySelectingRangeEnd", "startText", "TextFieldProps", "validationError", "className"];
28
+ const _excluded = ["currentlySelectingRangeEnd", "disableOpenPicker", "endText", "onBlur", "onChange", "open", "openPicker", "rawValue", "rawValue", "readOnly", "renderInput", "setCurrentlySelectingRangeEnd", "startText", "TextFieldProps", "validationError", "className", "mobile"];
29
29
 
30
30
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
31
 
@@ -79,7 +79,8 @@ const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRangePic
79
79
  startText,
80
80
  TextFieldProps,
81
81
  validationError: [startValidationError, endValidationError],
82
- className
82
+ className,
83
+ mobile
83
84
  } = props,
84
85
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
85
86
  const utils = (0, _internals.useUtils)();
@@ -113,7 +114,9 @@ const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRangePic
113
114
  lazyHandleChangeCallback([utils.date(start), date], inputString);
114
115
  };
115
116
 
116
- const openRangeStartSelection = () => {
117
+ const openRangeStartSelection = event => {
118
+ event.stopPropagation();
119
+
117
120
  if (setCurrentlySelectingRangeEnd) {
118
121
  setCurrentlySelectingRangeEnd('start');
119
122
  }
@@ -123,7 +126,9 @@ const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRangePic
123
126
  }
124
127
  };
125
128
 
126
- const openRangeEndSelection = () => {
129
+ const openRangeEndSelection = event => {
130
+ event.stopPropagation();
131
+
127
132
  if (setCurrentlySelectingRangeEnd) {
128
133
  setCurrentlySelectingRangeEnd('end');
129
134
  }
@@ -153,12 +158,15 @@ const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRangePic
153
158
  validationError: startValidationError !== null,
154
159
  TextFieldProps: (0, _extends2.default)({}, TextFieldProps, {
155
160
  ref: startRef,
156
- focused: open && currentlySelectingRangeEnd === 'start'
161
+ focused: open ? currentlySelectingRangeEnd === 'start' : undefined
162
+ }, !readOnly && !other.disabled && {
163
+ onClick: openRangeStartSelection
157
164
  }),
158
165
  inputProps: {
159
166
  onClick: openRangeStartSelection,
160
167
  onKeyDown: (0, _internals.onSpaceOrEnter)(openRangeStartSelection),
161
- onFocus: focusOnRangeStart
168
+ onFocus: focusOnRangeStart,
169
+ readOnly: mobile
162
170
  }
163
171
  }));
164
172
  const endInputProps = (0, _internals.useMaskedInput)((0, _extends2.default)({}, other, {
@@ -169,12 +177,15 @@ const DateRangePickerInput = /*#__PURE__*/React.forwardRef(function DateRangePic
169
177
  validationError: endValidationError !== null,
170
178
  TextFieldProps: (0, _extends2.default)({}, TextFieldProps, {
171
179
  ref: endRef,
172
- focused: open && currentlySelectingRangeEnd === 'end'
180
+ focused: open ? currentlySelectingRangeEnd === 'end' : undefined
181
+ }, !readOnly && !other.disabled && {
182
+ onClick: openRangeEndSelection
173
183
  }),
174
184
  inputProps: {
175
185
  onClick: openRangeEndSelection,
176
186
  onKeyDown: (0, _internals.onSpaceOrEnter)(openRangeEndSelection),
177
- onFocus: focusOnRangeEnd
187
+ onFocus: focusOnRangeEnd,
188
+ readOnly: mobile
178
189
  }
179
190
  }));
180
191
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(DateRangePickerInputRoot, {
@@ -77,7 +77,8 @@ const MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function MobileDateR
77
77
  currentlySelectingRangeEnd,
78
78
  setCurrentlySelectingRangeEnd,
79
79
  validationError,
80
- ref
80
+ ref,
81
+ mobile: true
81
82
  });
82
83
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_internals.MobileWrapper, (0, _extends2.default)({}, other, wrapperProps, {
83
84
  DateInputProps: DateInputProps,
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.6
1
+ /** @license MUI v5.0.7
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -8,7 +8,7 @@ exports.getReleaseInfo = void 0;
8
8
  var _utils = require("@mui/utils");
9
9
 
10
10
  const getReleaseInfo = () => {
11
- const releaseInfo = "MTY2NjkyNjAwMDAwMA==";
11
+ const releaseInfo = "MTY2NzUxNjQwMDAwMA==";
12
12
 
13
13
  if (process.env.NODE_ENV !== 'production') {
14
14
  // A simple hack to set the value in the test environment (has no build step).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers-pro",
3
- "version": "5.0.6",
3
+ "version": "5.0.7",
4
4
  "description": "The commercial edition of the date picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -36,7 +36,7 @@
36
36
  "@date-io/luxon": "^2.15.0",
37
37
  "@date-io/moment": "^2.15.0",
38
38
  "@mui/utils": "^5.10.3",
39
- "@mui/x-date-pickers": "5.0.6",
39
+ "@mui/x-date-pickers": "5.0.7",
40
40
  "@mui/x-license-pro": "5.17.0",
41
41
  "clsx": "^1.2.1",
42
42
  "prop-types": "^15.7.2",