@mui/x-date-pickers-pro 6.6.0 → 6.7.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 +72 -0
- package/DateRangePickerDay/DateRangePickerDay.d.ts +2 -2
- package/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/index.js +1 -1
- package/internal/utils/releaseInfo.js +1 -1
- package/legacy/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/legacy/index.js +1 -1
- package/legacy/internal/utils/releaseInfo.js +1 -1
- package/modern/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/modern/index.js +1 -1
- package/modern/internal/utils/releaseInfo.js +1 -1
- package/node/DateRangePickerDay/DateRangePickerDay.js +2 -2
- 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,78 @@
|
|
|
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.7.0
|
|
7
|
+
|
|
8
|
+
_Jun 9, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 Improve the default `format` prop value on the pickers.
|
|
13
|
+
|
|
14
|
+
Here are a few examples:
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
<TimePicker views={['hours', 'minutes', 'seconds']} ampm />
|
|
18
|
+
// Format before v6.7.0: `hh:mm aa`
|
|
19
|
+
// Format after v6.7.0: `hh:mm:ss aa`
|
|
20
|
+
|
|
21
|
+
<DatePicker views={['year']} />
|
|
22
|
+
// Format before v6.7.0: `MM/DD/YYYY`
|
|
23
|
+
// Format after v6.7.0: `YYYY`
|
|
24
|
+
|
|
25
|
+
<DateTimePicker views={['day', 'hours', 'minutes']} ampm />
|
|
26
|
+
// Format before v6.7.0: `MM/DD/YYYY hh:mm aa`
|
|
27
|
+
// Format after v6.7.0: `DD hh:mm aa`
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- 🌍 Add Romanian (ro-RO) locale on the pickers
|
|
31
|
+
- 🌍 Improve German (de-DE) locale on the pickers
|
|
32
|
+
- 🌍 Improve Czech (cs-CZ), German (de-DE) and Turkish (tr-TR) locales on the data grid
|
|
33
|
+
- 🚀 Performance improvements
|
|
34
|
+
- 🐞 Bugfixes
|
|
35
|
+
- 📚 Documentation improvements
|
|
36
|
+
|
|
37
|
+
### `@mui/x-data-grid@v6.7.0` / `@mui/x-data-grid-pro@v6.7.0` / `@mui/x-data-grid-premium@v6.7.0`
|
|
38
|
+
|
|
39
|
+
#### Changes
|
|
40
|
+
|
|
41
|
+
- [DataGrid] Allow overflowing grid root element (#9179) @cherniavskii
|
|
42
|
+
- [DataGrid] Fix module augmentation error when using `@mui/lab` (#9235) @cherniavskii
|
|
43
|
+
- [DataGrid] Fix row with ids matching `Object` prototype (#9265) @romgrk
|
|
44
|
+
- [DataGrid] Fix `sortModel` and `filterModel` resetting when columns change (#9239) @alexgonch
|
|
45
|
+
- [DataGrid] Improve grouping performance for large datasets (#9200) @romgrk
|
|
46
|
+
- [DataGrid] Increase threshold to trigger memory leak warning (#9263) @m4theushw
|
|
47
|
+
- [DataGrid] Update data grid migration guide to include updated type (#9272) @MBilalShafi
|
|
48
|
+
- [DataGridPro] Improve header filter menu visuals (#9181) @MBilalShafi
|
|
49
|
+
- [DataGridPremium] Remove last line break on clipboard paste (#9163) @cherniavskii
|
|
50
|
+
- [l10n] Improve Czech (cs-CZ) locale (#9266) @MartinSkarpa
|
|
51
|
+
- [l10n] Improve German (de-DE) locale (#9259) @ximex
|
|
52
|
+
- [l10n] Improve Turkish (tr-TR) locale (#9237) @MCErtan
|
|
53
|
+
|
|
54
|
+
### `@mui/x-date-pickers@v6.7.0` / `@mui/x-date-pickers-pro@v6.7.0`
|
|
55
|
+
|
|
56
|
+
#### Changes
|
|
57
|
+
|
|
58
|
+
- [l10n] Add Romanian (ro-RO) locale (#9257) @ximex
|
|
59
|
+
- [l10n] Improve German (de-DE) locale (#9258) @ximex
|
|
60
|
+
- [pickers] Apply dynamic default format depending on views for all desktop and mobile pickers (#9126) @flaviendelangle
|
|
61
|
+
- [pickers] Update `DateRangePickerDay` props JSDoc (#9191) @stevus
|
|
62
|
+
|
|
63
|
+
### Docs
|
|
64
|
+
|
|
65
|
+
- [docs] Fix missing props on the `GridFilterPanel` API page (#9180) @cherniavskii
|
|
66
|
+
- [docs] Fix overview page typo (#9230) @LukasTy
|
|
67
|
+
- [docs] Fix version redirect (#9273) @alexfauquette
|
|
68
|
+
|
|
69
|
+
### Core
|
|
70
|
+
|
|
71
|
+
- [core] Temporarily remove the Argos upload on the regression testing (#9267) @flaviendelangle
|
|
72
|
+
- [charts] Add clip-path to avoid charts overflow (#9012) @alexfauquette
|
|
73
|
+
- [charts] Add style customization on bar (#8935) @alexfauquette
|
|
74
|
+
- [charts] Enforce axis `min`/`max` over the `nice()` method (#9189) @alexfauquette
|
|
75
|
+
- [charts] Improve axis label and ticks label alignements (#9190) @alexfauquette
|
|
76
|
+
- [charts] Simplify the switch between responsive and fix dimensions (#9151) @alexfauquette
|
|
77
|
+
|
|
6
78
|
## 6.6.0
|
|
7
79
|
|
|
8
80
|
_Jun 1, 2023_
|
|
@@ -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
|
/**
|
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 = "MTY4NjI2MTYwMDAwMA==";
|
|
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
|
/**
|
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 = "MTY4NjI2MTYwMDAwMA==";
|
|
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
|
/**
|
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 = "MTY4NjI2MTYwMDAwMA==";
|
|
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
|
/**
|
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 = "MTY4NjI2MTYwMDAwMA==";
|
|
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.7.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.7.0",
|
|
36
36
|
"@mui/x-license-pro": "6.6.0",
|
|
37
37
|
"clsx": "^1.2.1",
|
|
38
38
|
"prop-types": "^15.8.1",
|