@mui/x-date-pickers 6.19.3 โ†’ 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,62 @@
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
+
6
62
  ## 6.19.3
7
63
 
8
64
  _Feb 1, 2024_
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v6.19.3
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.3
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.3
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.3
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.3",
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",