@mui/x-date-pickers-pro 6.6.0 → 6.8.0
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 +147 -13
- package/DateRangePickerDay/DateRangePickerDay.d.ts +2 -2
- package/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
- package/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
- package/index.js +1 -1
- package/internal/utils/releaseInfo.js +1 -1
- package/legacy/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/legacy/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
- package/legacy/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
- package/legacy/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
- package/legacy/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
- package/legacy/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
- package/legacy/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/internal/utils/releaseInfo.js +1 -1
- package/modern/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/modern/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
- package/modern/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
- package/modern/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
- package/modern/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
- package/modern/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
- package/modern/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
- package/modern/index.js +1 -1
- package/modern/internal/utils/releaseInfo.js +1 -1
- package/node/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/node/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
- package/node/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
- package/node/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
- package/node/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
- package/node/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
- package/node/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
- 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,140 @@
|
|
|
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.8.0
|
|
7
|
+
|
|
8
|
+
_Jun 16, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Add Greek (el-GR) locale on Pickers and improve on Data Grid
|
|
13
|
+
- 🚅 Performance improvements
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
- 📚 Documentation improvements
|
|
16
|
+
|
|
17
|
+
### `@mui/x-data-grid@6.8.0` / `@mui/x-data-grid-pro@6.8.0` / `@mui/x-data-grid-premium@6.8.0`
|
|
18
|
+
|
|
19
|
+
#### Changes
|
|
20
|
+
|
|
21
|
+
- [DataGrid] Add missing styles to `overridesResolver` (#9248) @mrmuhammadali
|
|
22
|
+
- [DataGrid] Keep column header menu icon always visible on touch devices (#9076) @cherniavskii
|
|
23
|
+
- [DataGrid] Correct the type for single digit edited number value (#9282) @MBilalShafi
|
|
24
|
+
- [DataGrid] Correct the type for single digit edited number for row edit (#9348) @MBilalShafi
|
|
25
|
+
- [DataGrid] Filtering performance: cache values (#9284) @romgrk
|
|
26
|
+
- [DataGrid] Fix tabbing between `actions` cells in edit mode (#9321) @md250721
|
|
27
|
+
- [DataGrid] Make autocompletion work for `GridColDef['type']` (#9320) @cherniavskii
|
|
28
|
+
- [DataGrid] Polish shortcut logic (#9220) @oliviertassinari
|
|
29
|
+
- [DataGrid] Row reordering fix for different row heights (#7006) @yaredtsy
|
|
30
|
+
- [DataGrid] Scroll performance improvements (#9037) @romgrk
|
|
31
|
+
- [l10n] Improve Greek (el-GR) locale (#9292) @clytras
|
|
32
|
+
|
|
33
|
+
### `@mui/x-date-pickers@6.8.0` / `@mui/x-date-pickers-pro@6.8.0`
|
|
34
|
+
|
|
35
|
+
#### Changes
|
|
36
|
+
|
|
37
|
+
- [l10n] Add Greek (el-GR) locale (#9293) @clytras
|
|
38
|
+
- [pickers] Add a `referenceDate` prop on `DateCalendar`, `MonthCalendar` and `YearCalendar` (#9260) @flaviendelangle
|
|
39
|
+
- [pickers] Close the calendar when a shortcut is selected (#9080) @flaviendelangle
|
|
40
|
+
- [pickers] Fix disabling for digital clock (#9300) @alexfauquette
|
|
41
|
+
|
|
42
|
+
### Docs
|
|
43
|
+
|
|
44
|
+
- [docs] Add header filters to the popular features demo (#9069) @MBilalShafi
|
|
45
|
+
- [docs] Fix `Date Calendar` dynamic data demo (#9290) @benzler
|
|
46
|
+
- [docs] Fix Data Grid header filter link (#9225) @oliviertassinari
|
|
47
|
+
- [docs] Fix missing docs version warning (#9221) @oliviertassinari
|
|
48
|
+
- [docs] Improve Chart overview (#9333) @oliviertassinari
|
|
49
|
+
- [docs] Improve Next.js license installation guide (#8975) @oliviertassinari
|
|
50
|
+
- [docs] Link pagination documentation to the migration guide (#9296) @MBilalShafi
|
|
51
|
+
- [docs] One step toward components -> slots (#9251) @oliviertassinari
|
|
52
|
+
- [docs] Improve and reorganize sections on editing page (#8431) @joserodolfofreitas
|
|
53
|
+
- [docs] Add clipboard paste to popular features demo (#9029) @cherniavskii
|
|
54
|
+
|
|
55
|
+
### Core
|
|
56
|
+
|
|
57
|
+
- [core] Polish event name (#9336) @oliviertassinari
|
|
58
|
+
- [core] Re-enable `Argos` CI step (#9301) @LukasTy
|
|
59
|
+
- [core] Upgrade Node.js to v18 on CircleCI, CodeSandbox and Netlify (#9319) @ZeeshanTamboli
|
|
60
|
+
- [core] Upgrade Node.js v18 for l10n GitHub CI (#9355) @ZeeshanTamboli
|
|
61
|
+
- [charts] Add demonstration pages based on Recharts demo (#9175) @alexfauquette
|
|
62
|
+
- [charts] Add legend (#9024) @alexfauquette
|
|
63
|
+
- [charts] Complete the docs to introduce charts (#9153) @alexfauquette
|
|
64
|
+
- [charts] Manage elements highlights (#9242) @alexfauquette
|
|
65
|
+
- [charts] Prefix subcomponents with `Charts` (#9314) @alexfauquette
|
|
66
|
+
- [license] Improve annual license expiration message (#9135) @oliviertassinari
|
|
67
|
+
|
|
68
|
+
## 6.7.0
|
|
69
|
+
|
|
70
|
+
_Jun 9, 2023_
|
|
71
|
+
|
|
72
|
+
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
73
|
+
|
|
74
|
+
- 🎁 Improve the default `format` prop value on the pickers.
|
|
75
|
+
|
|
76
|
+
Here are a few examples:
|
|
77
|
+
|
|
78
|
+
```tsx
|
|
79
|
+
<TimePicker views={['hours', 'minutes', 'seconds']} ampm />
|
|
80
|
+
// Format before v6.7.0: `hh:mm aa`
|
|
81
|
+
// Format after v6.7.0: `hh:mm:ss aa`
|
|
82
|
+
|
|
83
|
+
<DatePicker views={['year']} />
|
|
84
|
+
// Format before v6.7.0: `MM/DD/YYYY`
|
|
85
|
+
// Format after v6.7.0: `YYYY`
|
|
86
|
+
|
|
87
|
+
<DateTimePicker views={['day', 'hours', 'minutes']} ampm />
|
|
88
|
+
// Format before v6.7.0: `MM/DD/YYYY hh:mm aa`
|
|
89
|
+
// Format after v6.7.0: `DD hh:mm aa`
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
- 🌍 Add Romanian (ro-RO) locale on the pickers
|
|
93
|
+
- 🌍 Improve German (de-DE) locale on the pickers
|
|
94
|
+
- 🌍 Improve Czech (cs-CZ), German (de-DE) and Turkish (tr-TR) locales on the data grid
|
|
95
|
+
- 🚀 Performance improvements
|
|
96
|
+
- 🐞 Bugfixes
|
|
97
|
+
- 📚 Documentation improvements
|
|
98
|
+
|
|
99
|
+
### `@mui/x-data-grid@v6.7.0` / `@mui/x-data-grid-pro@v6.7.0` / `@mui/x-data-grid-premium@v6.7.0`
|
|
100
|
+
|
|
101
|
+
#### Changes
|
|
102
|
+
|
|
103
|
+
- [DataGrid] Allow overflowing grid root element (#9179) @cherniavskii
|
|
104
|
+
- [DataGrid] Fix module augmentation error when using `@mui/lab` (#9235) @cherniavskii
|
|
105
|
+
- [DataGrid] Fix row with ids matching `Object` prototype (#9265) @romgrk
|
|
106
|
+
- [DataGrid] Fix `sortModel` and `filterModel` resetting when columns change (#9239) @alexgonch
|
|
107
|
+
- [DataGrid] Improve grouping performance for large datasets (#9200) @romgrk
|
|
108
|
+
- [DataGrid] Increase threshold to trigger memory leak warning (#9263) @m4theushw
|
|
109
|
+
- [DataGrid] Update data grid migration guide to include updated type (#9272) @MBilalShafi
|
|
110
|
+
- [DataGridPro] Improve header filter menu visuals (#9181) @MBilalShafi
|
|
111
|
+
- [DataGridPremium] Remove last line break on clipboard paste (#9163) @cherniavskii
|
|
112
|
+
- [l10n] Improve Czech (cs-CZ) locale (#9266) @MartinSkarpa
|
|
113
|
+
- [l10n] Improve German (de-DE) locale (#9259) @ximex
|
|
114
|
+
- [l10n] Improve Turkish (tr-TR) locale (#9237) @MCErtan
|
|
115
|
+
|
|
116
|
+
### `@mui/x-date-pickers@v6.7.0` / `@mui/x-date-pickers-pro@v6.7.0`
|
|
117
|
+
|
|
118
|
+
#### Changes
|
|
119
|
+
|
|
120
|
+
- [l10n] Add Romanian (ro-RO) locale (#9257) @ximex
|
|
121
|
+
- [l10n] Improve German (de-DE) locale (#9258) @ximex
|
|
122
|
+
- [pickers] Apply dynamic default format depending on views for all desktop and mobile pickers (#9126) @flaviendelangle
|
|
123
|
+
- [pickers] Update `DateRangePickerDay` props JSDoc (#9191) @stevus
|
|
124
|
+
|
|
125
|
+
### Docs
|
|
126
|
+
|
|
127
|
+
- [docs] Fix missing props on the `GridFilterPanel` API page (#9180) @cherniavskii
|
|
128
|
+
- [docs] Fix overview page typo (#9230) @LukasTy
|
|
129
|
+
- [docs] Fix version redirect (#9273) @alexfauquette
|
|
130
|
+
|
|
131
|
+
### Core
|
|
132
|
+
|
|
133
|
+
- [core] Temporarily remove the Argos upload on the regression testing (#9267) @flaviendelangle
|
|
134
|
+
- [charts] Add clip-path to avoid charts overflow (#9012) @alexfauquette
|
|
135
|
+
- [charts] Add style customization on bar (#8935) @alexfauquette
|
|
136
|
+
- [charts] Enforce axis `min`/`max` over the `nice()` method (#9189) @alexfauquette
|
|
137
|
+
- [charts] Improve axis label and ticks label alignements (#9190) @alexfauquette
|
|
138
|
+
- [charts] Simplify the switch between responsive and fix dimensions (#9151) @alexfauquette
|
|
139
|
+
|
|
6
140
|
## 6.6.0
|
|
7
141
|
|
|
8
142
|
_Jun 1, 2023_
|
|
@@ -11,7 +145,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
|
|
|
11
145
|
|
|
12
146
|
- 🚀 New date time picking UI on [`DesktopDateTimePicker`](https://mui.com/x/react-date-pickers/date-time-picker/)
|
|
13
147
|
|
|
14
|
-
<img src="https://
|
|
148
|
+
<img src="https://github.com/mui/mui-x/assets/3165635/4e1fe9f9-03eb-4f23-99dd-80212b21fb23" width="840" height="506" />
|
|
15
149
|
|
|
16
150
|
- 🚀 Performance improvements
|
|
17
151
|
- 🐞 Bugfixes
|
|
@@ -79,7 +213,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
|
|
|
79
213
|
- [charts] Manage series stacking (#8888) @alexfauquette
|
|
80
214
|
- [license] List side effects in the license package (#9092) @cherniavskii
|
|
81
215
|
|
|
82
|
-
##
|
|
216
|
+
## 6.5.0
|
|
83
217
|
|
|
84
218
|
_May 19, 2023_
|
|
85
219
|
|
|
@@ -87,9 +221,9 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
87
221
|
|
|
88
222
|
- 💫 Introduce filtering on column headers for `DataGridPro` and `DataGridPremium`:
|
|
89
223
|
|
|
90
|
-
https://github.com/mui/mui-x/
|
|
224
|
+
<img src="https://github.com/mui/mui-x/releases/download/v6.5.0/recording.gif" width="840" height="506" />
|
|
91
225
|
|
|
92
|
-
See [the documentation](https://mui.com/x/react-data-grid/filtering
|
|
226
|
+
See [the documentation](https://mui.com/x/react-data-grid/filtering/header-filters/) for more information
|
|
93
227
|
|
|
94
228
|
- 🌍 Improve Hebrew (he-IL) and Czech (cs-CZ) locales
|
|
95
229
|
- 📝 Support for editing on pinned rows
|
|
@@ -135,7 +269,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
135
269
|
- [DataGrid] Memoize root props for better performance (#8942) @romgrk
|
|
136
270
|
- [test] Skip flaky unit tests in JSDOM (#8994) @cherniavskii
|
|
137
271
|
|
|
138
|
-
##
|
|
272
|
+
## 6.4.0
|
|
139
273
|
|
|
140
274
|
_May 12, 2023_
|
|
141
275
|
|
|
@@ -4168,7 +4302,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
4168
4302
|
- [docs] Revise and split up "Overview" page into "Introduction" (#4692) @samuelsycamore
|
|
4169
4303
|
- [docs] Use `useKeepGroupedColumnsHiddren` from the grid package on remaining demo (#5382) @flaviendelangle
|
|
4170
4304
|
|
|
4171
|
-
##
|
|
4305
|
+
## 5.12.3
|
|
4172
4306
|
|
|
4173
4307
|
_Jun 23, 2022_
|
|
4174
4308
|
|
|
@@ -4219,7 +4353,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
|
|
|
4219
4353
|
- [test] Throw if date adapter is not found (#5289) @cherniavskii
|
|
4220
4354
|
- [test] Use mock for `ResizeObserver` (#5215) @m4theushw
|
|
4221
4355
|
|
|
4222
|
-
##
|
|
4356
|
+
## 5.12.2
|
|
4223
4357
|
|
|
4224
4358
|
_Jun 16, 2022_
|
|
4225
4359
|
|
|
@@ -4262,7 +4396,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
|
|
|
4262
4396
|
- [core] Fix `GridColTypeDef` usage in demo (#5197) @cherniavskii
|
|
4263
4397
|
- [test] Add `waitFor` before asserting height (#5203) @m4theushw
|
|
4264
4398
|
|
|
4265
|
-
##
|
|
4399
|
+
## 5.12.1
|
|
4266
4400
|
|
|
4267
4401
|
_Jun 9, 2022_
|
|
4268
4402
|
|
|
@@ -4319,7 +4453,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
4319
4453
|
- [test] Fix dynamic row height test failing on Chrome (#5147) @m4theushw
|
|
4320
4454
|
- [test] Remove delay on server demo for regression tests (#5131) @alexfauquette
|
|
4321
4455
|
|
|
4322
|
-
##
|
|
4456
|
+
## 5.12.0
|
|
4323
4457
|
|
|
4324
4458
|
_May 31, 2022_
|
|
4325
4459
|
|
|
@@ -4400,7 +4534,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
|
|
|
4400
4534
|
- [test] Skip Safari and Firefox on broken tests (#4994) @alexfauquette
|
|
4401
4535
|
- [test] Make argos screenshots stable (#5061) @m4theushw
|
|
4402
4536
|
|
|
4403
|
-
##
|
|
4537
|
+
## 5.11.1
|
|
4404
4538
|
|
|
4405
4539
|
_May 20, 2022_
|
|
4406
4540
|
|
|
@@ -4492,7 +4626,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
|
|
|
4492
4626
|
- [core] Simplify rows cache management (#4933) @flaviendelangle
|
|
4493
4627
|
- [core] Use internal icons for quick filter (#4912) @alexfauquette
|
|
4494
4628
|
|
|
4495
|
-
##
|
|
4629
|
+
## 5.11.0
|
|
4496
4630
|
|
|
4497
4631
|
_May 13, 2022_
|
|
4498
4632
|
|
|
@@ -4636,7 +4770,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
|
|
|
4636
4770
|
- [test] Reset cleanup tracking on Karma tests (#4679) @m4theushw
|
|
4637
4771
|
- [test] Restore `sinon` sandbox after each `karma` test (#4689) @m4theushw
|
|
4638
4772
|
|
|
4639
|
-
##
|
|
4773
|
+
## 5.10.0
|
|
4640
4774
|
|
|
4641
4775
|
_Apr 25, 2022_
|
|
4642
4776
|
|
|
@@ -4672,7 +4806,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
|
|
|
4672
4806
|
- [core] Fix the README of the X packages (#4590) @flaviendelangle
|
|
4673
4807
|
- [test] Fix test to not depend on screen resolution (#4587) @m4theushw
|
|
4674
4808
|
|
|
4675
|
-
##
|
|
4809
|
+
## 5.9.0
|
|
4676
4810
|
|
|
4677
4811
|
_Apr 14, 2022_
|
|
4678
4812
|
|
|
@@ -19,11 +19,11 @@ export interface DateRangePickerDayProps<TDate> extends Omit<PickersDayProps<TDa
|
|
|
19
19
|
*/
|
|
20
20
|
isPreviewing: boolean;
|
|
21
21
|
/**
|
|
22
|
-
* Set to `true` if the `day` is the
|
|
22
|
+
* Set to `true` if the `day` is the end of a previewing date range.
|
|
23
23
|
*/
|
|
24
24
|
isEndOfPreviewing: boolean;
|
|
25
25
|
/**
|
|
26
|
-
* Set to `true` if the `day` is the
|
|
26
|
+
* Set to `true` if the `day` is the start of a previewing date range.
|
|
27
27
|
*/
|
|
28
28
|
isStartOfPreviewing: boolean;
|
|
29
29
|
/**
|
|
@@ -290,7 +290,7 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
|
|
|
290
290
|
*/
|
|
291
291
|
isEndOfHighlighting: PropTypes.bool.isRequired,
|
|
292
292
|
/**
|
|
293
|
-
* Set to `true` if the `day` is the
|
|
293
|
+
* Set to `true` if the `day` is the end of a previewing date range.
|
|
294
294
|
*/
|
|
295
295
|
isEndOfPreviewing: PropTypes.bool.isRequired,
|
|
296
296
|
/**
|
|
@@ -316,7 +316,7 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
|
|
|
316
316
|
*/
|
|
317
317
|
isStartOfHighlighting: PropTypes.bool.isRequired,
|
|
318
318
|
/**
|
|
319
|
-
* Set to `true` if the `day` is the
|
|
319
|
+
* Set to `true` if the `day` is the start of a previewing date range.
|
|
320
320
|
*/
|
|
321
321
|
isStartOfPreviewing: PropTypes.bool.isRequired,
|
|
322
322
|
/**
|
|
@@ -240,7 +240,7 @@ process.env.NODE_ENV !== "production" ? MultiInputDateRangeField.propTypes = {
|
|
|
240
240
|
*/
|
|
241
241
|
readOnly: PropTypes.bool,
|
|
242
242
|
/**
|
|
243
|
-
* The date used to generate a part of the
|
|
243
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
244
244
|
* For example, on time fields it will be used to determine the date to set.
|
|
245
245
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
246
246
|
*/
|
|
@@ -273,7 +273,7 @@ process.env.NODE_ENV !== "production" ? MultiInputDateTimeRangeField.propTypes =
|
|
|
273
273
|
*/
|
|
274
274
|
readOnly: PropTypes.bool,
|
|
275
275
|
/**
|
|
276
|
-
* The date used to generate a part of the
|
|
276
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
277
277
|
* For example, on time fields it will be used to determine the date to set.
|
|
278
278
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
279
279
|
*/
|
|
@@ -257,7 +257,7 @@ process.env.NODE_ENV !== "production" ? MultiInputTimeRangeField.propTypes = {
|
|
|
257
257
|
*/
|
|
258
258
|
readOnly: PropTypes.bool,
|
|
259
259
|
/**
|
|
260
|
-
* The date used to generate a part of the
|
|
260
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
261
261
|
* For example, on time fields it will be used to determine the date to set.
|
|
262
262
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
263
263
|
*/
|
|
@@ -231,7 +231,7 @@ process.env.NODE_ENV !== "production" ? SingleInputDateRangeField.propTypes = {
|
|
|
231
231
|
*/
|
|
232
232
|
readOnly: PropTypes.bool,
|
|
233
233
|
/**
|
|
234
|
-
* The date used to generate a part of the
|
|
234
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
235
235
|
* For example, on time fields it will be used to determine the date to set.
|
|
236
236
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
237
237
|
*/
|
|
@@ -264,7 +264,7 @@ process.env.NODE_ENV !== "production" ? SingleInputDateTimeRangeField.propTypes
|
|
|
264
264
|
*/
|
|
265
265
|
readOnly: PropTypes.bool,
|
|
266
266
|
/**
|
|
267
|
-
* The date used to generate a part of the
|
|
267
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
268
268
|
* For example, on time fields it will be used to determine the date to set.
|
|
269
269
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
270
270
|
*/
|
|
@@ -248,7 +248,7 @@ process.env.NODE_ENV !== "production" ? SingleInputTimeRangeField.propTypes = {
|
|
|
248
248
|
*/
|
|
249
249
|
readOnly: PropTypes.bool,
|
|
250
250
|
/**
|
|
251
|
-
* The date used to generate a part of the
|
|
251
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
252
252
|
* For example, on time fields it will be used to determine the date to set.
|
|
253
253
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
254
254
|
*/
|
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 = "MTY4Njg2MjgwMDAwMA==";
|
|
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
|
|
@@ -268,7 +268,7 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
|
|
|
268
268
|
*/
|
|
269
269
|
isEndOfHighlighting: PropTypes.bool.isRequired,
|
|
270
270
|
/**
|
|
271
|
-
* Set to `true` if the `day` is the
|
|
271
|
+
* Set to `true` if the `day` is the end of a previewing date range.
|
|
272
272
|
*/
|
|
273
273
|
isEndOfPreviewing: PropTypes.bool.isRequired,
|
|
274
274
|
/**
|
|
@@ -294,7 +294,7 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
|
|
|
294
294
|
*/
|
|
295
295
|
isStartOfHighlighting: PropTypes.bool.isRequired,
|
|
296
296
|
/**
|
|
297
|
-
* Set to `true` if the `day` is the
|
|
297
|
+
* Set to `true` if the `day` is the start of a previewing date range.
|
|
298
298
|
*/
|
|
299
299
|
isStartOfPreviewing: PropTypes.bool.isRequired,
|
|
300
300
|
/**
|
|
@@ -239,7 +239,7 @@ process.env.NODE_ENV !== "production" ? MultiInputDateRangeField.propTypes = {
|
|
|
239
239
|
*/
|
|
240
240
|
readOnly: PropTypes.bool,
|
|
241
241
|
/**
|
|
242
|
-
* The date used to generate a part of the
|
|
242
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
243
243
|
* For example, on time fields it will be used to determine the date to set.
|
|
244
244
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
245
245
|
*/
|
|
@@ -272,7 +272,7 @@ process.env.NODE_ENV !== "production" ? MultiInputDateTimeRangeField.propTypes =
|
|
|
272
272
|
*/
|
|
273
273
|
readOnly: PropTypes.bool,
|
|
274
274
|
/**
|
|
275
|
-
* The date used to generate a part of the
|
|
275
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
276
276
|
* For example, on time fields it will be used to determine the date to set.
|
|
277
277
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
278
278
|
*/
|
|
@@ -256,7 +256,7 @@ process.env.NODE_ENV !== "production" ? MultiInputTimeRangeField.propTypes = {
|
|
|
256
256
|
*/
|
|
257
257
|
readOnly: PropTypes.bool,
|
|
258
258
|
/**
|
|
259
|
-
* The date used to generate a part of the
|
|
259
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
260
260
|
* For example, on time fields it will be used to determine the date to set.
|
|
261
261
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
262
262
|
*/
|
|
@@ -225,7 +225,7 @@ process.env.NODE_ENV !== "production" ? SingleInputDateRangeField.propTypes = {
|
|
|
225
225
|
*/
|
|
226
226
|
readOnly: PropTypes.bool,
|
|
227
227
|
/**
|
|
228
|
-
* The date used to generate a part of the
|
|
228
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
229
229
|
* For example, on time fields it will be used to determine the date to set.
|
|
230
230
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
231
231
|
*/
|
|
@@ -258,7 +258,7 @@ process.env.NODE_ENV !== "production" ? SingleInputDateTimeRangeField.propTypes
|
|
|
258
258
|
*/
|
|
259
259
|
readOnly: PropTypes.bool,
|
|
260
260
|
/**
|
|
261
|
-
* The date used to generate a part of the
|
|
261
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
262
262
|
* For example, on time fields it will be used to determine the date to set.
|
|
263
263
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
264
264
|
*/
|
|
@@ -242,7 +242,7 @@ process.env.NODE_ENV !== "production" ? SingleInputTimeRangeField.propTypes = {
|
|
|
242
242
|
*/
|
|
243
243
|
readOnly: PropTypes.bool,
|
|
244
244
|
/**
|
|
245
|
-
* The date used to generate a part of the
|
|
245
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
246
246
|
* For example, on time fields it will be used to determine the date to set.
|
|
247
247
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
248
248
|
*/
|
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 = "MTY4Njg2MjgwMDAwMA==";
|
|
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
|
|
@@ -290,7 +290,7 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
|
|
|
290
290
|
*/
|
|
291
291
|
isEndOfHighlighting: PropTypes.bool.isRequired,
|
|
292
292
|
/**
|
|
293
|
-
* Set to `true` if the `day` is the
|
|
293
|
+
* Set to `true` if the `day` is the end of a previewing date range.
|
|
294
294
|
*/
|
|
295
295
|
isEndOfPreviewing: PropTypes.bool.isRequired,
|
|
296
296
|
/**
|
|
@@ -316,7 +316,7 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
|
|
|
316
316
|
*/
|
|
317
317
|
isStartOfHighlighting: PropTypes.bool.isRequired,
|
|
318
318
|
/**
|
|
319
|
-
* Set to `true` if the `day` is the
|
|
319
|
+
* Set to `true` if the `day` is the start of a previewing date range.
|
|
320
320
|
*/
|
|
321
321
|
isStartOfPreviewing: PropTypes.bool.isRequired,
|
|
322
322
|
/**
|
|
@@ -236,7 +236,7 @@ process.env.NODE_ENV !== "production" ? MultiInputDateRangeField.propTypes = {
|
|
|
236
236
|
*/
|
|
237
237
|
readOnly: PropTypes.bool,
|
|
238
238
|
/**
|
|
239
|
-
* The date used to generate a part of the
|
|
239
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
240
240
|
* For example, on time fields it will be used to determine the date to set.
|
|
241
241
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
242
242
|
*/
|
|
@@ -269,7 +269,7 @@ process.env.NODE_ENV !== "production" ? MultiInputDateTimeRangeField.propTypes =
|
|
|
269
269
|
*/
|
|
270
270
|
readOnly: PropTypes.bool,
|
|
271
271
|
/**
|
|
272
|
-
* The date used to generate a part of the
|
|
272
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
273
273
|
* For example, on time fields it will be used to determine the date to set.
|
|
274
274
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
275
275
|
*/
|
|
@@ -253,7 +253,7 @@ process.env.NODE_ENV !== "production" ? MultiInputTimeRangeField.propTypes = {
|
|
|
253
253
|
*/
|
|
254
254
|
readOnly: PropTypes.bool,
|
|
255
255
|
/**
|
|
256
|
-
* The date used to generate a part of the
|
|
256
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
257
257
|
* For example, on time fields it will be used to determine the date to set.
|
|
258
258
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
259
259
|
*/
|
|
@@ -230,7 +230,7 @@ process.env.NODE_ENV !== "production" ? SingleInputDateRangeField.propTypes = {
|
|
|
230
230
|
*/
|
|
231
231
|
readOnly: PropTypes.bool,
|
|
232
232
|
/**
|
|
233
|
-
* The date used to generate a part of the
|
|
233
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
234
234
|
* For example, on time fields it will be used to determine the date to set.
|
|
235
235
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
236
236
|
*/
|
|
@@ -263,7 +263,7 @@ process.env.NODE_ENV !== "production" ? SingleInputDateTimeRangeField.propTypes
|
|
|
263
263
|
*/
|
|
264
264
|
readOnly: PropTypes.bool,
|
|
265
265
|
/**
|
|
266
|
-
* The date used to generate a part of the
|
|
266
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
267
267
|
* For example, on time fields it will be used to determine the date to set.
|
|
268
268
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
269
269
|
*/
|
|
@@ -247,7 +247,7 @@ process.env.NODE_ENV !== "production" ? SingleInputTimeRangeField.propTypes = {
|
|
|
247
247
|
*/
|
|
248
248
|
readOnly: PropTypes.bool,
|
|
249
249
|
/**
|
|
250
|
-
* The date used to generate a part of the
|
|
250
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
251
251
|
* For example, on time fields it will be used to determine the date to set.
|
|
252
252
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
253
253
|
*/
|
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 = "MTY4Njg2MjgwMDAwMA==";
|
|
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
|
|
@@ -299,7 +299,7 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
|
|
|
299
299
|
*/
|
|
300
300
|
isEndOfHighlighting: _propTypes.default.bool.isRequired,
|
|
301
301
|
/**
|
|
302
|
-
* Set to `true` if the `day` is the
|
|
302
|
+
* Set to `true` if the `day` is the end of a previewing date range.
|
|
303
303
|
*/
|
|
304
304
|
isEndOfPreviewing: _propTypes.default.bool.isRequired,
|
|
305
305
|
/**
|
|
@@ -325,7 +325,7 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
|
|
|
325
325
|
*/
|
|
326
326
|
isStartOfHighlighting: _propTypes.default.bool.isRequired,
|
|
327
327
|
/**
|
|
328
|
-
* Set to `true` if the `day` is the
|
|
328
|
+
* Set to `true` if the `day` is the start of a previewing date range.
|
|
329
329
|
*/
|
|
330
330
|
isStartOfPreviewing: _propTypes.default.bool.isRequired,
|
|
331
331
|
/**
|
|
@@ -245,7 +245,7 @@ process.env.NODE_ENV !== "production" ? MultiInputDateRangeField.propTypes = {
|
|
|
245
245
|
*/
|
|
246
246
|
readOnly: _propTypes.default.bool,
|
|
247
247
|
/**
|
|
248
|
-
* The date used to generate a part of the
|
|
248
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
249
249
|
* For example, on time fields it will be used to determine the date to set.
|
|
250
250
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
251
251
|
*/
|
|
@@ -278,7 +278,7 @@ process.env.NODE_ENV !== "production" ? MultiInputDateTimeRangeField.propTypes =
|
|
|
278
278
|
*/
|
|
279
279
|
readOnly: _propTypes.default.bool,
|
|
280
280
|
/**
|
|
281
|
-
* The date used to generate a part of the
|
|
281
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
282
282
|
* For example, on time fields it will be used to determine the date to set.
|
|
283
283
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
284
284
|
*/
|
|
@@ -262,7 +262,7 @@ process.env.NODE_ENV !== "production" ? MultiInputTimeRangeField.propTypes = {
|
|
|
262
262
|
*/
|
|
263
263
|
readOnly: _propTypes.default.bool,
|
|
264
264
|
/**
|
|
265
|
-
* The date used to generate a part of the
|
|
265
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
266
266
|
* For example, on time fields it will be used to determine the date to set.
|
|
267
267
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
268
268
|
*/
|
|
@@ -240,7 +240,7 @@ process.env.NODE_ENV !== "production" ? SingleInputDateRangeField.propTypes = {
|
|
|
240
240
|
*/
|
|
241
241
|
readOnly: _propTypes.default.bool,
|
|
242
242
|
/**
|
|
243
|
-
* The date used to generate a part of the
|
|
243
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
244
244
|
* For example, on time fields it will be used to determine the date to set.
|
|
245
245
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
246
246
|
*/
|
|
@@ -273,7 +273,7 @@ process.env.NODE_ENV !== "production" ? SingleInputDateTimeRangeField.propTypes
|
|
|
273
273
|
*/
|
|
274
274
|
readOnly: _propTypes.default.bool,
|
|
275
275
|
/**
|
|
276
|
-
* The date used to generate a part of the
|
|
276
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
277
277
|
* For example, on time fields it will be used to determine the date to set.
|
|
278
278
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
279
279
|
*/
|
|
@@ -257,7 +257,7 @@ process.env.NODE_ENV !== "production" ? SingleInputTimeRangeField.propTypes = {
|
|
|
257
257
|
*/
|
|
258
258
|
readOnly: _propTypes.default.bool,
|
|
259
259
|
/**
|
|
260
|
-
* The date used to generate a part of the
|
|
260
|
+
* The date used to generate a part of the new value that is not present in the format when both `value` and `defaultValue` are empty.
|
|
261
261
|
* For example, on time fields it will be used to determine the date to set.
|
|
262
262
|
* @default The closest valid date using the validation props, except callbacks such as `shouldDisableDate`. Value is rounded to the most granular section used.
|
|
263
263
|
*/
|
package/node/index.js
CHANGED
|
@@ -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 = "
|
|
9
|
+
const releaseInfo = "MTY4Njg2MjgwMDAwMA==";
|
|
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.
|
|
3
|
+
"version": "6.8.0",
|
|
4
4
|
"description": "The commercial edition of the date picker components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.21.0",
|
|
34
34
|
"@mui/utils": "^5.13.1",
|
|
35
|
-
"@mui/x-date-pickers": "6.
|
|
35
|
+
"@mui/x-date-pickers": "6.8.0",
|
|
36
36
|
"@mui/x-license-pro": "6.6.0",
|
|
37
37
|
"clsx": "^1.2.1",
|
|
38
38
|
"prop-types": "^15.8.1",
|