@mui/x-date-pickers 6.19.2 β†’ 6.19.4

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.
@@ -374,7 +374,7 @@ export class AdapterLuxon {
374
374
  return diff.days < 0;
375
375
  };
376
376
  this.isWithinRange = (value, [start, end]) => {
377
- return value.equals(start) || value.equals(end) || this.isAfter(value, start) && this.isBefore(value, end);
377
+ return this.isEqual(value, start) || this.isEqual(value, end) || this.isAfter(value, start) && this.isBefore(value, end);
378
378
  };
379
379
  this.startOfYear = value => {
380
380
  return value.startOf('year');
package/CHANGELOG.md CHANGED
@@ -3,6 +3,111 @@
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
+ ## v6.19.4
7
+
8
+ _Feb 9, 2024_
9
+
10
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🌍 Improve Danish (da-DK) locale on the Data Grid (#11972) @ShahrazH
13
+ - 🐞 Bugfixes
14
+ - πŸ“š Documentation improvements
15
+
16
+ ### Data Grid
17
+
18
+ #### `@mui/x-data-grid@v6.19.4`
19
+
20
+ - [DataGrid] Add support for dialogs in menu actions (#11937) @cherniavskii
21
+ - [DataGrid] Allow passing readonly arrays to `pageSizeOptions` prop (#11992) @pcorpet
22
+ - [DataGrid] Fix row reorder with cell selection (#11878) @PEsteves8
23
+ - [DataGrid] Replace `eval` with `new Function` (#11962) @cherniavskii
24
+ - [l10n] Improve Danish (da-DK) locale (#11972) @ShahrazH
25
+
26
+ #### `@mui/x-data-grid-pro@v6.19.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
27
+
28
+ Same changes as in `@mui/x-data-grid@v6.19.4`.
29
+
30
+ #### `@mui/x-data-grid-premium@v6.19.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
31
+
32
+ Same changes as in `@mui/x-data-grid-pro@v6.19.4`, plus:
33
+
34
+ - [DataGridPremium] Fix autosize grouping cell (#11990) @romgrk
35
+ - [DataGridPremium] Fix error after closing print export (#11889) @cherniavskii
36
+
37
+ ### Date Pickers
38
+
39
+ #### `@mui/x-date-pickers@v6.19.4`
40
+
41
+ - [pickers] Avoid relying on locale in Luxon `isWithinRange` method (#11940) @LukasTy
42
+
43
+ #### `@mui/x-date-pickers-pro@v6.19.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
44
+
45
+ Same changes as in `@mui/x-date-pickers@v6.19.4`.
46
+
47
+ ### Charts / `@mui/x-charts@v6.19.4`
48
+
49
+ - [charts] Add `reverse` property to axes (#11959) @alexfauquette
50
+ - [charts] Allow series ids to be numbers (#11960) @alexfauquette
51
+ - [charts] Fix Proptypes error by supporting string values for axes (#11953) @alexfauquette
52
+
53
+ ### Docs
54
+
55
+ - [docs] Add a note about `AdapterDateFnsV3` on the Getting Started page (#11987) @flaviendelangle
56
+ - [docs] Avoid the use of MUIΒ Core @oliviertassinari
57
+ - [docs] Fix API links (#11930) @alexfauquette
58
+ - [docs] Fix `ChartsTooltip` typo (#11967) @thisisharsh7
59
+ - [docs] Refactor `Localization` documentation sections (#11997) @LukasTy
60
+ - [code] Simplify bug reproduction (#11932) @alexfauquette
61
+
62
+ ## 6.19.3
63
+
64
+ _Feb 1, 2024_
65
+
66
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
67
+
68
+ - 🌍 Improve Hebrew (he-IL) locale (#11831) @danielmishan85
69
+ - 🐞 Bugfixes
70
+ - πŸ“š Documentation improvements
71
+
72
+ ### Data Grid
73
+
74
+ #### `@mui/x-data-grid@6.19.3`
75
+
76
+ - [l10n] Improve Hebrew (he-IL) locale (@danielmishan85) (#11831)
77
+
78
+ #### `@mui/x-data-grid-pro@6.19.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
79
+
80
+ Same changes as in `@mui/x-data-grid@6.19.3`.
81
+
82
+ #### `@mui/x-data-grid-premium@6.19.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
83
+
84
+ Same changes as in `@mui/x-data-grid-pro@6.19.3`.
85
+
86
+ ### Date Pickers
87
+
88
+ #### `@mui/x-date-pickers@6.19.3`
89
+
90
+ - [TimePicker] Add missing toolbar classes descriptions (#11862) @LukasTy
91
+
92
+ #### `@mui/x-date-pickers-pro@6.19.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
93
+
94
+ Same changes as in `@mui/x-date-pickers@6.19.3`.
95
+
96
+ ### Charts / `@mui/x-charts@6.19.3`
97
+
98
+ - [charts] Document how to modify color according to values (#11854) @alexfauquette
99
+
100
+ ### Docs
101
+
102
+ - [docs] Add a general uplift to the whats new page (#11883) @danilo-leal
103
+ - [docs] Fix 404 (#11852) @alexfauquette
104
+ - [docs] Fix <title> generation (#11825) @alexfauquette
105
+ - [docs] Fix docs:api when typo in slots typing (#11861) @alexfauquette
106
+ - [docs] Improve Support page (#11556) @oliviertassinari
107
+ - [docs] Sync support page with core @oliviertassinari
108
+ - [docs] These API don't exist in MUI X v6 @oliviertassinari
109
+ - [docs] Update whats new page with v7 Beta blogpost content (#11886) @joserodolfofreitas
110
+
6
111
  ## 6.19.2
7
112
 
8
113
  _Jan 25, 2024_
@@ -1,11 +1,19 @@
1
1
  export interface TimePickerToolbarClasses {
2
+ /** Styles applied to the root element. */
2
3
  root: string;
4
+ /** Styles applied to the separator element. */
3
5
  separator: string;
6
+ /** Styles applied to the time sections element. */
4
7
  hourMinuteLabel: string;
8
+ /** Styles applied to the time sections element in landscape mode. */
5
9
  hourMinuteLabelLandscape: string;
10
+ /** Styles applied to the time sections element in "rtl" theme mode. */
6
11
  hourMinuteLabelReverse: string;
12
+ /** Styles applied to the meridiem selection element. */
7
13
  ampmSelection: string;
14
+ /** Styles applied to the meridiem selection element in landscape mode. */
8
15
  ampmLandscape: string;
16
+ /** Styles applied to the meridiem label element. */
9
17
  ampmLabel: string;
10
18
  }
11
19
  export type TimePickerToolbarClassKey = keyof TimePickerToolbarClasses;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v6.19.2
2
+ * @mui/x-date-pickers v6.19.4
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -381,7 +381,7 @@ export var AdapterLuxon = /*#__PURE__*/_createClass(function AdapterLuxon() {
381
381
  var _ref3 = _slicedToArray(_ref2, 2),
382
382
  start = _ref3[0],
383
383
  end = _ref3[1];
384
- return value.equals(start) || value.equals(end) || _this.isAfter(value, start) && _this.isBefore(value, end);
384
+ return _this.isEqual(value, start) || _this.isEqual(value, end) || _this.isAfter(value, start) && _this.isBefore(value, end);
385
385
  };
386
386
  this.startOfYear = function (value) {
387
387
  return value.startOf('year');
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v6.19.2
2
+ * @mui/x-date-pickers v6.19.4
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -373,7 +373,7 @@ export class AdapterLuxon {
373
373
  return diff.days < 0;
374
374
  };
375
375
  this.isWithinRange = (value, [start, end]) => {
376
- return value.equals(start) || value.equals(end) || this.isAfter(value, start) && this.isBefore(value, end);
376
+ return this.isEqual(value, start) || this.isEqual(value, end) || this.isAfter(value, start) && this.isBefore(value, end);
377
377
  };
378
378
  this.startOfYear = value => {
379
379
  return value.startOf('year');
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v6.19.2
2
+ * @mui/x-date-pickers v6.19.4
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -381,7 +381,7 @@ class AdapterLuxon {
381
381
  return diff.days < 0;
382
382
  };
383
383
  this.isWithinRange = (value, [start, end]) => {
384
- return value.equals(start) || value.equals(end) || this.isAfter(value, start) && this.isBefore(value, end);
384
+ return this.isEqual(value, start) || this.isEqual(value, end) || this.isAfter(value, start) && this.isBefore(value, end);
385
385
  };
386
386
  this.startOfYear = value => {
387
387
  return value.startOf('year');
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v6.19.2
2
+ * @mui/x-date-pickers v6.19.4
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers",
3
- "version": "6.19.2",
3
+ "version": "6.19.4",
4
4
  "description": "The community edition of the date picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",