@mui/x-date-pickers-pro 6.18.7 → 6.19.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.
@@ -0,0 +1 @@
1
+ export { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
@@ -0,0 +1 @@
1
+ export { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "main": "../node/AdapterDateFnsV3/index.js",
5
+ "types": "./index.d.ts"
6
+ }
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
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.19.0
7
+
8
+ _Jan 11, 2024_
9
+
10
+ We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - ⏰ Support date-fns v3 (#11659) @LukasTy
13
+ Pickers support both v2 and v3 of date-fns. For v3 use `AdapterDateFnsV3`.
14
+ ```js
15
+ // with date-fns v2.x
16
+ import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
17
+ import de from 'date-fns/locale/de';
18
+ ```
19
+ ```js
20
+ // with date-fns v3.x
21
+ import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
22
+ import { de } from 'date-fns/locale/de';
23
+ ```
24
+
25
+ ### Date Pickers
26
+
27
+ #### `@mui/x-date-pickers@6.19.0`
28
+
29
+ - [pickers] Add date-fns@3.x adapter (#11659) @LukasTy
30
+ - [pickers] Fix clearable behavior blocking focus return to `OpenPickerButton` (#11643) @noraleonte
31
+ - [l10n] Add missing Danish (da-DK) locale export (#11641) @etlos
32
+
33
+ #### `@mui/x-date-pickers-pro@6.19.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
34
+
35
+ Same changes as in `@mui/x-date-pickers@6.19.0`.
36
+
37
+ ### Docs
38
+
39
+ - [docs] Add missing component @oliviertassinari
40
+ - [docs] Fix parsing of `x-date-pickers-pro` demo adapter imports (#11637) @LukasTy
41
+ - [docs] Push up the MUI X brand (#11533) @oliviertassinari
42
+ - [docs] Improve Server-side data grid docs (#11589) @oliviertassinari
43
+ - [docs] Add demo to the charts overview page (#11586) @danilo-leal
44
+ - [docs] Fix 404 links in the docs @oliviertassinari
45
+ - [docs] Improve landing page (#11570) @oliviertassinari
46
+ - [docs] Give a general revision to the docs (#11249) @danilo-leal
47
+
6
48
  ## 6.18.7
7
49
 
8
50
  _Jan 5, 2024_
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.18.7
2
+ * @mui/x-date-pickers-pro v6.19.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcwNDQwOTIwMDAwMA==";
3
+ const releaseInfo = "MTcwNDkyNzYwMDAwMA==";
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
@@ -0,0 +1 @@
1
+ export { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.18.7
2
+ * @mui/x-date-pickers-pro v6.19.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTcwNDQwOTIwMDAwMA==";
3
+ var releaseInfo = "MTcwNDkyNzYwMDAwMA==";
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
@@ -0,0 +1 @@
1
+ export { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.18.7
2
+ * @mui/x-date-pickers-pro v6.19.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcwNDQwOTIwMDAwMA==";
3
+ const releaseInfo = "MTcwNDkyNzYwMDAwMA==";
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
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "AdapterDateFns", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _AdapterDateFnsV.AdapterDateFns;
10
+ }
11
+ });
12
+ var _AdapterDateFnsV = require("@mui/x-date-pickers/AdapterDateFnsV3");
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.18.7
2
+ * @mui/x-date-pickers-pro v6.19.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -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 = "MTcwNDQwOTIwMDAwMA==";
9
+ const releaseInfo = "MTcwNDkyNzYwMDAwMA==";
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.18.7",
3
+ "version": "6.19.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",
@@ -33,7 +33,7 @@
33
33
  "@babel/runtime": "^7.23.2",
34
34
  "@mui/base": "^5.0.0-beta.22",
35
35
  "@mui/utils": "^5.14.16",
36
- "@mui/x-date-pickers": "6.18.7",
36
+ "@mui/x-date-pickers": "6.19.0",
37
37
  "@mui/x-license-pro": "6.10.2",
38
38
  "clsx": "^2.0.0",
39
39
  "prop-types": "^15.8.1",
@@ -44,7 +44,7 @@
44
44
  "@emotion/styled": "^11.8.1",
45
45
  "@mui/material": "^5.8.6",
46
46
  "@mui/system": "^5.8.0",
47
- "date-fns": "^2.25.0",
47
+ "date-fns": "^2.25.0 || ^3.2.0",
48
48
  "date-fns-jalali": "^2.13.0-0",
49
49
  "dayjs": "^1.10.7",
50
50
  "luxon": "^3.0.2",