@mui/x-date-pickers-pro 5.0.2 → 5.0.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.
- package/CHANGELOG.md +35 -1
- package/DateRangePicker/DateRangePicker.js +3 -3
- package/DateRangePicker/shared.d.ts +2 -2
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +3 -3
- package/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
- package/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
- package/index.js +1 -1
- package/internal/utils/releaseInfo.js +1 -1
- package/legacy/DateRangePicker/DateRangePicker.js +3 -3
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +3 -3
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
- package/legacy/index.js +1 -1
- package/legacy/internal/utils/releaseInfo.js +1 -1
- package/modern/DateRangePicker/DateRangePicker.js +3 -3
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +3 -3
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
- package/modern/index.js +1 -1
- package/modern/internal/utils/releaseInfo.js +1 -1
- package/node/DateRangePicker/DateRangePicker.js +3 -3
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +3 -3
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
- package/node/index.js +1 -1
- package/node/internal/utils/releaseInfo.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,40 @@
|
|
|
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
|
+
## v5.17.4
|
|
7
|
+
|
|
8
|
+
_Sep 22, 2022_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Add Finnish (fi-FI) locale to the pickers (#6230) @PetroSilenius
|
|
13
|
+
- 🌍 Add Persian (fa-IR) locale to the pickers (#6181) @fakhamatia
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
|
|
16
|
+
### `@mui/x-data-grid@v5.17.4` / `@mui/x-data-grid-pro@v5.17.4` / `@mui/x-data-grid-premium@v5.17.4`
|
|
17
|
+
|
|
18
|
+
#### Changes
|
|
19
|
+
|
|
20
|
+
- [DataGrid] Do not publish `cellFocusOut` event if the row was removed (#6251) @cherniavskii
|
|
21
|
+
- [DataGrid] Improve Polish (pl-PL) locale on the data grid (#6245) @grzegorz-bach
|
|
22
|
+
|
|
23
|
+
### `@mui/x-date-pickers@v5.0.3` / `@mui/x-date-pickers-pro@v5.0.3`
|
|
24
|
+
|
|
25
|
+
#### Changes
|
|
26
|
+
|
|
27
|
+
- [pickers] Add Finnish (fi-FI) locale to pickers (#6219) (#6230) @PetroSilenius
|
|
28
|
+
- [pickers] Add Persian (fa-IR) locale to the pickers (#6181) @fakhamatia
|
|
29
|
+
- [pickers] Fix usage with Typescript 4.8 (#6229) @flaviendelangle
|
|
30
|
+
- [YearPicker] Scroll to the current year even with `autoFocus=false` (#6224) @alexfauquette
|
|
31
|
+
|
|
32
|
+
### Docs
|
|
33
|
+
|
|
34
|
+
- [docs] Fix 301 link (#6239) @oliviertassinari
|
|
35
|
+
|
|
36
|
+
### Core
|
|
37
|
+
|
|
38
|
+
- [core] Use the official repository for `@mui/monorepo` instead of a fork (#6189) @oliviertassinari
|
|
39
|
+
|
|
6
40
|
## 5.17.3
|
|
7
41
|
|
|
8
42
|
_Sep 16, 2022_
|
|
@@ -101,7 +135,7 @@ We'd like to offer a big thanks to the 3 contributors who made this release poss
|
|
|
101
135
|
|
|
102
136
|
_Sep 2, 2022_
|
|
103
137
|
|
|
104
|
-
🎉 We are excited to finally introduce a stable release (v5.0.0) for the `@mui/x-date-pickers` and
|
|
138
|
+
🎉 We are excited to finally introduce a stable release (v5.0.0) for the `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` packages!
|
|
105
139
|
|
|
106
140
|
If you are still using picker components from the `lab`, take a look at the [migration guide](https://mui.com/x/react-date-pickers/migration-lab/).
|
|
107
141
|
|
|
@@ -170,7 +170,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
170
170
|
/**
|
|
171
171
|
* Text for end input label and toolbar placeholder.
|
|
172
172
|
* @default 'End'
|
|
173
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
173
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
174
174
|
*/
|
|
175
175
|
endText: PropTypes.node,
|
|
176
176
|
|
|
@@ -188,7 +188,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
188
188
|
* Get aria-label text for switching between views button.
|
|
189
189
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
190
190
|
* @returns {string} The label of the view.
|
|
191
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
191
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
192
192
|
*/
|
|
193
193
|
getViewSwitchingButtonText: PropTypes.func,
|
|
194
194
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -422,7 +422,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
422
422
|
/**
|
|
423
423
|
* Text for start input label and toolbar placeholder.
|
|
424
424
|
* @default 'Start'
|
|
425
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
425
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
426
426
|
*/
|
|
427
427
|
startText: PropTypes.node,
|
|
428
428
|
|
|
@@ -8,7 +8,7 @@ export interface BaseDateRangePickerProps<TInputDate, TDate> extends Omit<BasePi
|
|
|
8
8
|
/**
|
|
9
9
|
* Text for end input label and toolbar placeholder.
|
|
10
10
|
* @default 'End'
|
|
11
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
11
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
12
12
|
*/
|
|
13
13
|
endText?: React.ReactNode;
|
|
14
14
|
/**
|
|
@@ -26,7 +26,7 @@ export interface BaseDateRangePickerProps<TInputDate, TDate> extends Omit<BasePi
|
|
|
26
26
|
/**
|
|
27
27
|
* Text for start input label and toolbar placeholder.
|
|
28
28
|
* @default 'Start'
|
|
29
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
29
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
30
30
|
*/
|
|
31
31
|
startText?: React.ReactNode;
|
|
32
32
|
}
|
|
@@ -173,7 +173,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
173
173
|
/**
|
|
174
174
|
* Text for end input label and toolbar placeholder.
|
|
175
175
|
* @default 'End'
|
|
176
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
176
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
177
177
|
*/
|
|
178
178
|
endText: PropTypes.node,
|
|
179
179
|
|
|
@@ -191,7 +191,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
191
191
|
* Get aria-label text for switching between views button.
|
|
192
192
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
193
193
|
* @returns {string} The label of the view.
|
|
194
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
194
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
195
195
|
*/
|
|
196
196
|
getViewSwitchingButtonText: PropTypes.func,
|
|
197
197
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -425,7 +425,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
425
425
|
/**
|
|
426
426
|
* Text for start input label and toolbar placeholder.
|
|
427
427
|
* @default 'Start'
|
|
428
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
428
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
429
429
|
*/
|
|
430
430
|
startText: PropTypes.node,
|
|
431
431
|
|
|
@@ -181,7 +181,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
181
181
|
/**
|
|
182
182
|
* Text for end input label and toolbar placeholder.
|
|
183
183
|
* @default 'End'
|
|
184
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
184
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
185
185
|
*/
|
|
186
186
|
endText: PropTypes.node,
|
|
187
187
|
|
|
@@ -199,7 +199,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
199
199
|
* Get aria-label text for switching between views button.
|
|
200
200
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
201
201
|
* @returns {string} The label of the view.
|
|
202
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
202
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
203
203
|
*/
|
|
204
204
|
getViewSwitchingButtonText: PropTypes.func,
|
|
205
205
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -423,7 +423,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
423
423
|
/**
|
|
424
424
|
* Text for start input label and toolbar placeholder.
|
|
425
425
|
* @default 'Start'
|
|
426
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
426
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
427
427
|
*/
|
|
428
428
|
startText: PropTypes.node,
|
|
429
429
|
|
|
@@ -172,7 +172,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
172
172
|
/**
|
|
173
173
|
* Text for end input label and toolbar placeholder.
|
|
174
174
|
* @default 'End'
|
|
175
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
175
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
176
176
|
*/
|
|
177
177
|
endText: PropTypes.node,
|
|
178
178
|
|
|
@@ -190,7 +190,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
190
190
|
* Get aria-label text for switching between views button.
|
|
191
191
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
192
192
|
* @returns {string} The label of the view.
|
|
193
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
193
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
194
194
|
*/
|
|
195
195
|
getViewSwitchingButtonText: PropTypes.func,
|
|
196
196
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -397,7 +397,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
397
397
|
/**
|
|
398
398
|
* Text for start input label and toolbar placeholder.
|
|
399
399
|
* @default 'Start'
|
|
400
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
400
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
401
401
|
*/
|
|
402
402
|
startText: PropTypes.node,
|
|
403
403
|
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY2Mzg4NDAwMDAwMA==";
|
|
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).
|
|
@@ -169,7 +169,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
169
169
|
/**
|
|
170
170
|
* Text for end input label and toolbar placeholder.
|
|
171
171
|
* @default 'End'
|
|
172
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
172
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
173
173
|
*/
|
|
174
174
|
endText: PropTypes.node,
|
|
175
175
|
|
|
@@ -187,7 +187,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
187
187
|
* Get aria-label text for switching between views button.
|
|
188
188
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
189
189
|
* @returns {string} The label of the view.
|
|
190
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
190
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
191
191
|
*/
|
|
192
192
|
getViewSwitchingButtonText: PropTypes.func,
|
|
193
193
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -421,7 +421,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
421
421
|
/**
|
|
422
422
|
* Text for start input label and toolbar placeholder.
|
|
423
423
|
* @default 'Start'
|
|
424
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
424
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
425
425
|
*/
|
|
426
426
|
startText: PropTypes.node,
|
|
427
427
|
|
|
@@ -179,7 +179,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
179
179
|
/**
|
|
180
180
|
* Text for end input label and toolbar placeholder.
|
|
181
181
|
* @default 'End'
|
|
182
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
182
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
183
183
|
*/
|
|
184
184
|
endText: PropTypes.node,
|
|
185
185
|
|
|
@@ -197,7 +197,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
197
197
|
* Get aria-label text for switching between views button.
|
|
198
198
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
199
199
|
* @returns {string} The label of the view.
|
|
200
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
200
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
201
201
|
*/
|
|
202
202
|
getViewSwitchingButtonText: PropTypes.func,
|
|
203
203
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -431,7 +431,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
431
431
|
/**
|
|
432
432
|
* Text for start input label and toolbar placeholder.
|
|
433
433
|
* @default 'Start'
|
|
434
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
434
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
435
435
|
*/
|
|
436
436
|
startText: PropTypes.node,
|
|
437
437
|
|
|
@@ -183,7 +183,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
183
183
|
/**
|
|
184
184
|
* Text for end input label and toolbar placeholder.
|
|
185
185
|
* @default 'End'
|
|
186
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
186
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
187
187
|
*/
|
|
188
188
|
endText: PropTypes.node,
|
|
189
189
|
|
|
@@ -201,7 +201,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
201
201
|
* Get aria-label text for switching between views button.
|
|
202
202
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
203
203
|
* @returns {string} The label of the view.
|
|
204
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
204
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
205
205
|
*/
|
|
206
206
|
getViewSwitchingButtonText: PropTypes.func,
|
|
207
207
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -425,7 +425,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
425
425
|
/**
|
|
426
426
|
* Text for start input label and toolbar placeholder.
|
|
427
427
|
* @default 'Start'
|
|
428
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
428
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
429
429
|
*/
|
|
430
430
|
startText: PropTypes.node,
|
|
431
431
|
|
|
@@ -179,7 +179,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
179
179
|
/**
|
|
180
180
|
* Text for end input label and toolbar placeholder.
|
|
181
181
|
* @default 'End'
|
|
182
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
182
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
183
183
|
*/
|
|
184
184
|
endText: PropTypes.node,
|
|
185
185
|
|
|
@@ -197,7 +197,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
197
197
|
* Get aria-label text for switching between views button.
|
|
198
198
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
199
199
|
* @returns {string} The label of the view.
|
|
200
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
200
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
201
201
|
*/
|
|
202
202
|
getViewSwitchingButtonText: PropTypes.func,
|
|
203
203
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -404,7 +404,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
404
404
|
/**
|
|
405
405
|
* Text for start input label and toolbar placeholder.
|
|
406
406
|
* @default 'Start'
|
|
407
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
407
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
408
408
|
*/
|
|
409
409
|
startText: PropTypes.node,
|
|
410
410
|
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export var getReleaseInfo = function getReleaseInfo() {
|
|
3
|
-
var releaseInfo = "
|
|
3
|
+
var releaseInfo = "MTY2Mzg4NDAwMDAwMA==";
|
|
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).
|
|
@@ -170,7 +170,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
170
170
|
/**
|
|
171
171
|
* Text for end input label and toolbar placeholder.
|
|
172
172
|
* @default 'End'
|
|
173
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
173
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
174
174
|
*/
|
|
175
175
|
endText: PropTypes.node,
|
|
176
176
|
|
|
@@ -188,7 +188,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
188
188
|
* Get aria-label text for switching between views button.
|
|
189
189
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
190
190
|
* @returns {string} The label of the view.
|
|
191
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
191
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
192
192
|
*/
|
|
193
193
|
getViewSwitchingButtonText: PropTypes.func,
|
|
194
194
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -422,7 +422,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
422
422
|
/**
|
|
423
423
|
* Text for start input label and toolbar placeholder.
|
|
424
424
|
* @default 'Start'
|
|
425
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
425
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
426
426
|
*/
|
|
427
427
|
startText: PropTypes.node,
|
|
428
428
|
|
|
@@ -173,7 +173,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
173
173
|
/**
|
|
174
174
|
* Text for end input label and toolbar placeholder.
|
|
175
175
|
* @default 'End'
|
|
176
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
176
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
177
177
|
*/
|
|
178
178
|
endText: PropTypes.node,
|
|
179
179
|
|
|
@@ -191,7 +191,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
191
191
|
* Get aria-label text for switching between views button.
|
|
192
192
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
193
193
|
* @returns {string} The label of the view.
|
|
194
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
194
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
195
195
|
*/
|
|
196
196
|
getViewSwitchingButtonText: PropTypes.func,
|
|
197
197
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -425,7 +425,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
425
425
|
/**
|
|
426
426
|
* Text for start input label and toolbar placeholder.
|
|
427
427
|
* @default 'Start'
|
|
428
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
428
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
429
429
|
*/
|
|
430
430
|
startText: PropTypes.node,
|
|
431
431
|
|
|
@@ -181,7 +181,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
181
181
|
/**
|
|
182
182
|
* Text for end input label and toolbar placeholder.
|
|
183
183
|
* @default 'End'
|
|
184
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
184
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
185
185
|
*/
|
|
186
186
|
endText: PropTypes.node,
|
|
187
187
|
|
|
@@ -199,7 +199,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
199
199
|
* Get aria-label text for switching between views button.
|
|
200
200
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
201
201
|
* @returns {string} The label of the view.
|
|
202
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
202
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
203
203
|
*/
|
|
204
204
|
getViewSwitchingButtonText: PropTypes.func,
|
|
205
205
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -423,7 +423,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
423
423
|
/**
|
|
424
424
|
* Text for start input label and toolbar placeholder.
|
|
425
425
|
* @default 'Start'
|
|
426
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
426
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
427
427
|
*/
|
|
428
428
|
startText: PropTypes.node,
|
|
429
429
|
|
|
@@ -172,7 +172,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
172
172
|
/**
|
|
173
173
|
* Text for end input label and toolbar placeholder.
|
|
174
174
|
* @default 'End'
|
|
175
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
175
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
176
176
|
*/
|
|
177
177
|
endText: PropTypes.node,
|
|
178
178
|
|
|
@@ -190,7 +190,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
190
190
|
* Get aria-label text for switching between views button.
|
|
191
191
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
192
192
|
* @returns {string} The label of the view.
|
|
193
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
193
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
194
194
|
*/
|
|
195
195
|
getViewSwitchingButtonText: PropTypes.func,
|
|
196
196
|
ignoreInvalidInputs: PropTypes.bool,
|
|
@@ -397,7 +397,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
397
397
|
/**
|
|
398
398
|
* Text for start input label and toolbar placeholder.
|
|
399
399
|
* @default 'Start'
|
|
400
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
400
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
401
401
|
*/
|
|
402
402
|
startText: PropTypes.node,
|
|
403
403
|
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY2Mzg4NDAwMDAwMA==";
|
|
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).
|
|
@@ -194,7 +194,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
194
194
|
/**
|
|
195
195
|
* Text for end input label and toolbar placeholder.
|
|
196
196
|
* @default 'End'
|
|
197
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
197
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
198
198
|
*/
|
|
199
199
|
endText: _propTypes.default.node,
|
|
200
200
|
|
|
@@ -212,7 +212,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
212
212
|
* Get aria-label text for switching between views button.
|
|
213
213
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
214
214
|
* @returns {string} The label of the view.
|
|
215
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
215
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
216
216
|
*/
|
|
217
217
|
getViewSwitchingButtonText: _propTypes.default.func,
|
|
218
218
|
ignoreInvalidInputs: _propTypes.default.bool,
|
|
@@ -446,7 +446,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
446
446
|
/**
|
|
447
447
|
* Text for start input label and toolbar placeholder.
|
|
448
448
|
* @default 'Start'
|
|
449
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
449
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
450
450
|
*/
|
|
451
451
|
startText: _propTypes.default.node,
|
|
452
452
|
|
|
@@ -197,7 +197,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
197
197
|
/**
|
|
198
198
|
* Text for end input label and toolbar placeholder.
|
|
199
199
|
* @default 'End'
|
|
200
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
200
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
201
201
|
*/
|
|
202
202
|
endText: _propTypes.default.node,
|
|
203
203
|
|
|
@@ -215,7 +215,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
215
215
|
* Get aria-label text for switching between views button.
|
|
216
216
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
217
217
|
* @returns {string} The label of the view.
|
|
218
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
218
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
219
219
|
*/
|
|
220
220
|
getViewSwitchingButtonText: _propTypes.default.func,
|
|
221
221
|
ignoreInvalidInputs: _propTypes.default.bool,
|
|
@@ -449,7 +449,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes = {
|
|
|
449
449
|
/**
|
|
450
450
|
* Text for start input label and toolbar placeholder.
|
|
451
451
|
* @default 'Start'
|
|
452
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
452
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
453
453
|
*/
|
|
454
454
|
startText: _propTypes.default.node,
|
|
455
455
|
|
|
@@ -202,7 +202,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
202
202
|
/**
|
|
203
203
|
* Text for end input label and toolbar placeholder.
|
|
204
204
|
* @default 'End'
|
|
205
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
205
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
206
206
|
*/
|
|
207
207
|
endText: _propTypes.default.node,
|
|
208
208
|
|
|
@@ -220,7 +220,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
220
220
|
* Get aria-label text for switching between views button.
|
|
221
221
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
222
222
|
* @returns {string} The label of the view.
|
|
223
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
223
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
224
224
|
*/
|
|
225
225
|
getViewSwitchingButtonText: _propTypes.default.func,
|
|
226
226
|
ignoreInvalidInputs: _propTypes.default.bool,
|
|
@@ -444,7 +444,7 @@ process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes = {
|
|
|
444
444
|
/**
|
|
445
445
|
* Text for start input label and toolbar placeholder.
|
|
446
446
|
* @default 'Start'
|
|
447
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
447
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
448
448
|
*/
|
|
449
449
|
startText: _propTypes.default.node,
|
|
450
450
|
|
|
@@ -195,7 +195,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
195
195
|
/**
|
|
196
196
|
* Text for end input label and toolbar placeholder.
|
|
197
197
|
* @default 'End'
|
|
198
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
198
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
199
199
|
*/
|
|
200
200
|
endText: _propTypes.default.node,
|
|
201
201
|
|
|
@@ -213,7 +213,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
213
213
|
* Get aria-label text for switching between views button.
|
|
214
214
|
* @param {CalendarPickerView} currentView The view from which we want to get the button text.
|
|
215
215
|
* @returns {string} The label of the view.
|
|
216
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
216
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
217
217
|
*/
|
|
218
218
|
getViewSwitchingButtonText: _propTypes.default.func,
|
|
219
219
|
ignoreInvalidInputs: _propTypes.default.bool,
|
|
@@ -420,7 +420,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes = {
|
|
|
420
420
|
/**
|
|
421
421
|
* Text for start input label and toolbar placeholder.
|
|
422
422
|
* @default 'Start'
|
|
423
|
-
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization
|
|
423
|
+
* @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
|
|
424
424
|
*/
|
|
425
425
|
startText: _propTypes.default.node,
|
|
426
426
|
|
package/node/index.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.getReleaseInfo = void 0;
|
|
|
8
8
|
var _utils = require("@mui/utils");
|
|
9
9
|
|
|
10
10
|
const getReleaseInfo = () => {
|
|
11
|
-
const releaseInfo = "
|
|
11
|
+
const releaseInfo = "MTY2Mzg4NDAwMDAwMA==";
|
|
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.
|
|
3
|
+
"version": "5.0.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",
|
|
@@ -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.
|
|
39
|
+
"@mui/x-date-pickers": "5.0.3",
|
|
40
40
|
"@mui/x-license-pro": "5.17.0",
|
|
41
41
|
"clsx": "^1.2.1",
|
|
42
42
|
"prop-types": "^15.7.2",
|