@mui/x-date-pickers-pro 7.0.0-alpha.3 → 7.0.0-alpha.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,89 @@
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
+ ## 7.0.0-alpha.4
7
+
8
+ _Dec 8, 2023_
9
+
10
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🚀 The scatter charts now use voronoi to trigger items
13
+
14
+ Users needed to hover the item to highlight the scatter item or show the tooltip.
15
+ Now they can interact with data by triggering the closest element. See the [docs page](https://next.mui.com/x/react-charts/scatter/#interaction) for more info.
16
+
17
+ - 📚 Add [Pickers FAQ page](https://next.mui.com/x/react-date-pickers/faq/)
18
+ - 🎉 The Data Grid Header filters feature is now stable
19
+ - 🌍 Improve Danish (da-DK) locale on Data Grid
20
+ - 🐞 Bugfixes
21
+
22
+ ### Data Grid
23
+
24
+ #### Breaking changes
25
+
26
+ - The header filters feature is now stable. `unstable_` prefix is removed from prop `headerFilters` and related exports.
27
+ See [migration docs](https://next.mui.com/x/migration/migration-data-grid-v6/#filtering) for more details.
28
+
29
+ - The `GridColDef['type']` has been narrowed down to only accept the built-in column types.
30
+ TypeScript users need to use the `GridColDef` interface when defining columns:
31
+
32
+ ```tsx
33
+ // 🛑 `type` is inferred as `string` and is too wide
34
+ const columns = [{ type: 'number', field: 'id' }];
35
+ <DataGrid columns={columns} />;
36
+
37
+ // ✅ `type` is `'number'`
38
+ const columns: GridColDef[] = [{ type: 'number', field: 'id' }];
39
+ <DataGrid columns={columns} />;
40
+
41
+ // ✅ Alternalively, `as const` can be used to narrow down the type
42
+ const columns = [{ type: 'number' as const, field: 'id' }];
43
+ <DataGrid columns={columns} />;
44
+ ```
45
+
46
+ #### `@mui/x-data-grid@7.0.0-alpha.4`
47
+
48
+ - [DataGrid] Added a guard for reorder cells (#11159) @michelengelen
49
+ - [DataGrid] Narrow down `GridColDef['type']` (#11270) @cherniavskii
50
+ - [l10n] Improve Danish (da-DK) locale (#11304) @goibon
51
+
52
+ #### `@mui/x-data-grid-pro@7.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
53
+
54
+ Same changes as in `@mui/x-data-grid@7.0.0-alpha.4`, plus:
55
+
56
+ - [DataGridPro] Make header filters feature stable (#11243) @MBilalShafi
57
+
58
+ #### `@mui/x-data-grid-premium@7.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
59
+
60
+ Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.4`.
61
+
62
+ ### Date Pickers
63
+
64
+ #### `@mui/x-date-pickers@7.0.0-alpha.4`
65
+
66
+ - [fields] Rework `PickersTextField` (#11258) @flaviendelangle
67
+ - [pickers] Fix `MultiSectionDigitalClock` issues (#11305) @LukasTy
68
+ - [pickers] Fix views height consistency (#11337) @LukasTy
69
+
70
+ #### `@mui/x-date-pickers-pro@7.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
71
+
72
+ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.4`.
73
+
74
+ ### Charts / `@mui/x-charts@7.0.0-alpha.4`
75
+
76
+ - [charts] Remove animation on sparkline (#11311) @oliviertassinari
77
+ - [charts] Use voronoi cells to trigger interaction with scatter items (#10981) @alexfauquette
78
+ - [charts] Add `@mui/utils` as a dependency (#11351) @michelengelen
79
+
80
+ ### Docs
81
+
82
+ - [docs] Add FAQ page (#11271) @noraleonte
83
+ - [docs] Add a doc section on how to override the start of the week with each adapter (#11223) @flaviendelangle
84
+ - [docs] Added params to `onPaginationModelChange` docs (#10191) @JFBenzs
85
+ - [docs] Fix typo (#11324) @cadam11
86
+ - [docs] Improve `DemoContainer` styling coverage (#11315) @LukasTy
87
+ - [docs] General revision of the Charts docs (#11249) @danilo-leal
88
+
6
89
  ## 7.0.0-alpha.3
7
90
 
8
91
  _Dec 4, 2023_
@@ -866,6 +949,46 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
866
949
  - [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
867
950
  - [license] Correctly throw errors (#10924) @oliviertassinari
868
951
 
952
+ ## 6.18.4
953
+
954
+ _Dec 8, 2023_
955
+
956
+ We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
957
+
958
+ - 📚 Add [Pickers FAQ page](https://mui.com/x/react-date-pickers/faq/)
959
+ - 🌍 Improve Danish (da-DK) locale on Data Grid
960
+ - 🐞 Bugfixes
961
+
962
+ ### Data Grid
963
+
964
+ #### `@mui/x-data-grid@6.18.4`
965
+
966
+ - [DataGrid] Fix cell slot style override (#11215) @oliviertassinari
967
+ - [l10n] Improve Danish (da-DK) locale (#11346) @goibon
968
+
969
+ #### `@mui/x-data-grid-pro@6.18.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
970
+
971
+ Same changes as in `@mui/x-data-grid@6.18.4`.
972
+
973
+ #### `@mui/x-data-grid-premium@6.18.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
974
+
975
+ Same changes as in `@mui/x-data-grid-pro@6.18.4`.
976
+
977
+ ### Date Pickers
978
+
979
+ #### `@mui/x-date-pickers@6.18.4`
980
+
981
+ - [pickers] Fix `MultiSectionDigitalClock` issues (#11308) @LukasTy
982
+
983
+ #### `@mui/x-date-pickers-pro@6.18.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
984
+
985
+ Same changes as in `@mui/x-date-pickers@6.18.4`.
986
+
987
+ ### Docs
988
+
989
+ - [docs] Fix typo (#11323) @cadam11
990
+ - [docs] Add FAQ page (#11347) @noraleonte
991
+
869
992
  ## 6.18.3
870
993
 
871
994
  _Dec 4, 2023_
@@ -44,7 +44,7 @@ const DateRangeCalendarMonthContainer = styled('div', {
44
44
  }
45
45
  }));
46
46
  const DateRangeCalendarArrowSwitcher = styled(PickersArrowSwitcher)({
47
- padding: '16px 16px 8px 16px',
47
+ padding: '12px 16px 4px 16px',
48
48
  display: 'flex',
49
49
  alignItems: 'center',
50
50
  justifyContent: 'space-between'
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.0.0-alpha.3
2
+ * @mui/x-date-pickers-pro v7.0.0-alpha.4
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 = "MTcwMTY0MDgwMDAwMA==";
3
+ const releaseInfo = "MTcwMTk5MDAwMDAwMA==";
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
@@ -51,7 +51,7 @@ var DateRangeCalendarMonthContainer = styled('div', {
51
51
  };
52
52
  });
53
53
  var DateRangeCalendarArrowSwitcher = styled(PickersArrowSwitcher)({
54
- padding: '16px 16px 8px 16px',
54
+ padding: '12px 16px 4px 16px',
55
55
  display: 'flex',
56
56
  alignItems: 'center',
57
57
  justifyContent: 'space-between'
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.0.0-alpha.3
2
+ * @mui/x-date-pickers-pro v7.0.0-alpha.4
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 = "MTcwMTY0MDgwMDAwMA==";
3
+ var releaseInfo = "MTcwMTk5MDAwMDAwMA==";
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
@@ -44,7 +44,7 @@ const DateRangeCalendarMonthContainer = styled('div', {
44
44
  }
45
45
  }));
46
46
  const DateRangeCalendarArrowSwitcher = styled(PickersArrowSwitcher)({
47
- padding: '16px 16px 8px 16px',
47
+ padding: '12px 16px 4px 16px',
48
48
  display: 'flex',
49
49
  alignItems: 'center',
50
50
  justifyContent: 'space-between'
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.0.0-alpha.3
2
+ * @mui/x-date-pickers-pro v7.0.0-alpha.4
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 = "MTcwMTY0MDgwMDAwMA==";
3
+ const releaseInfo = "MTcwMTk5MDAwMDAwMA==";
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
@@ -52,7 +52,7 @@ const DateRangeCalendarMonthContainer = (0, _styles.styled)('div', {
52
52
  }
53
53
  }));
54
54
  const DateRangeCalendarArrowSwitcher = (0, _styles.styled)(_internals.PickersArrowSwitcher)({
55
- padding: '16px 16px 8px 16px',
55
+ padding: '12px 16px 4px 16px',
56
56
  display: 'flex',
57
57
  alignItems: 'center',
58
58
  justifyContent: 'space-between'
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.0.0-alpha.3
2
+ * @mui/x-date-pickers-pro v7.0.0-alpha.4
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 = "MTcwMTY0MDgwMDAwMA==";
9
+ const releaseInfo = "MTcwMTk5MDAwMDAwMA==";
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": "7.0.0-alpha.3",
3
+ "version": "7.0.0-alpha.4",
4
4
  "description": "The commercial edition of the date picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -31,11 +31,11 @@
31
31
  "directory": "packages/x-date-pickers-pro"
32
32
  },
33
33
  "dependencies": {
34
- "@babel/runtime": "^7.23.4",
35
- "@mui/base": "^5.0.0-beta.24",
36
- "@mui/system": "^5.14.18",
37
- "@mui/utils": "^5.14.18",
38
- "@mui/x-date-pickers": "7.0.0-alpha.3",
34
+ "@babel/runtime": "^7.23.5",
35
+ "@mui/base": "^5.0.0-beta.26",
36
+ "@mui/system": "^5.14.20",
37
+ "@mui/utils": "^5.14.20",
38
+ "@mui/x-date-pickers": "7.0.0-alpha.4",
39
39
  "@mui/x-license-pro": "7.0.0-alpha.1",
40
40
  "clsx": "^2.0.0",
41
41
  "prop-types": "^15.8.1",