@mui/x-date-pickers-pro 6.17.0 → 6.18.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 CHANGED
@@ -3,6 +3,67 @@
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.18.0
7
+
8
+ _Nov 3, 2023_
9
+
10
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🎁 The Charts package is now officially stable!
13
+ - 🥧 Pie charts are now animated.
14
+ - 📈 Line charts now support partial data, and can interpolate missing data.
15
+
16
+ <img width="380" alt="line charts with partial data" src="https://github.com/mui/mui-x/assets/45398769/385ecf77-19b2-4a03-8aef-5d547db1d9ad">
17
+
18
+ - ✨ Allow to ignore [diacritics](https://en.wikipedia.org/wiki/Diacritic) when filtering
19
+ - 📚 Documentation improvements
20
+
21
+ ### Data Grid
22
+
23
+ #### `@mui/x-data-grid@6.18.0`
24
+
25
+ - [DataGrid] Allow to ignore [diacritics](https://en.wikipedia.org/wiki/Diacritic) when filtering (#10569) @cherniavskii
26
+ - [DataGrid] Fix a typo in `gridFilterApi` (#10786) @vu-dao-93
27
+ - [DataGrid] Fix `undefined` row id (#10670) @romgrk
28
+ - [DataGrid] Make column autosizing work with dynamic row height (#10693) @cherniavskii
29
+ - [l10n] Allow to customize sorting label per column (#10839) @JerryWu1234
30
+
31
+ #### `@mui/x-data-grid-pro@6.18.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
32
+
33
+ Same changes as in `@mui/x-data-grid@6.18.0`.
34
+
35
+ #### `@mui/x-data-grid-premium@6.18.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
36
+
37
+ Same changes as in `@mui/x-data-grid-pro@6.18.0`.
38
+
39
+ ### Date Pickers
40
+
41
+ #### `@mui/x-date-pickers@6.18.0`
42
+
43
+ - [pickers] Add reference links to calendar components (#10644) @michelengelen
44
+
45
+ #### `@mui/x-date-pickers-pro@6.18.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
46
+
47
+ Same changes as in `@mui/x-date-pickers@6.18.0`.
48
+
49
+ ### Charts / `@mui/x-charts@6.18.0`
50
+
51
+ - [charts] Add animation on pie chart (#10782) @alexfauquette
52
+ - [charts] Add reference links to shared/misc chart components (#10660) @michelengelen
53
+ - [charts] Allows to connect nulls (#10803) @alexfauquette
54
+ - [charts] Fix axis highlight in dark mode (#10820) @LukasTy
55
+
56
+ ### Docs
57
+
58
+ - [docs] Add a data grid recipe for autosizing columns after fetching row-data (#10822) @michelengelen
59
+ - [docs] Add a data grid recipe showing how to remove cell outline on `focus` (#10843) @michelengelen
60
+ - [docs] Add demo about how to use charts margin (#10886) @alexfauquette
61
+ - [docs] Improve custom field input demos readability (#10559) @LukasTy
62
+
63
+ ### Core
64
+
65
+ - [core] Generate `slot` API descriptions based on `slots` or `components` (#10879) @LukasTy
66
+
6
67
  ## 6.17.0
7
68
 
8
69
  _Oct 27, 2023_
@@ -3,5 +3,15 @@ import { DateRangeCalendarProps } from './DateRangeCalendar.types';
3
3
  type DateRangeCalendarComponent = (<TDate>(props: DateRangeCalendarProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
4
4
  propTypes?: any;
5
5
  };
6
+ /**
7
+ * Demos:
8
+ *
9
+ * - [DateRangePicker](https://mui.com/x/react-date-pickers/date-range-picker/)
10
+ * - [DateRangeCalendar](https://mui.com/x/react-date-pickers/date-range-calendar/)
11
+ *
12
+ * API:
13
+ *
14
+ * - [DateRangeCalendar API](https://mui.com/x/api/date-pickers/date-range-calendar/)
15
+ */
6
16
  declare const DateRangeCalendar: DateRangeCalendarComponent;
7
17
  export { DateRangeCalendar };
@@ -109,6 +109,16 @@ const useUtilityClasses = ownerState => {
109
109
  };
110
110
  return composeClasses(slots, getDateRangeCalendarUtilityClass, classes);
111
111
  };
112
+ /**
113
+ * Demos:
114
+ *
115
+ * - [DateRangePicker](https://mui.com/x/react-date-pickers/date-range-picker/)
116
+ * - [DateRangeCalendar](https://mui.com/x/react-date-pickers/date-range-calendar/)
117
+ *
118
+ * API:
119
+ *
120
+ * - [DateRangeCalendar API](https://mui.com/x/api/date-pickers/date-range-calendar/)
121
+ */
112
122
  const DateRangeCalendar = /*#__PURE__*/React.forwardRef(function DateRangeCalendar(inProps, ref) {
113
123
  const props = useDateRangeCalendarDefaultizedProps(inProps, 'MuiDateRangeCalendar');
114
124
  const shouldHavePreview = useMediaQuery(DEFAULT_DESKTOP_MODE_MEDIA_QUERY, {
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.17.0
2
+ * @mui/x-date-pickers-pro v6.18.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 = "MTY5ODM1NzYwMDAwMA==";
3
+ const releaseInfo = "MTY5ODk2NjAwMDAwMA==";
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
@@ -113,6 +113,16 @@ var useUtilityClasses = function useUtilityClasses(ownerState) {
113
113
  };
114
114
  return composeClasses(slots, getDateRangeCalendarUtilityClass, classes);
115
115
  };
116
+ /**
117
+ * Demos:
118
+ *
119
+ * - [DateRangePicker](https://mui.com/x/react-date-pickers/date-range-picker/)
120
+ * - [DateRangeCalendar](https://mui.com/x/react-date-pickers/date-range-calendar/)
121
+ *
122
+ * API:
123
+ *
124
+ * - [DateRangeCalendar API](https://mui.com/x/api/date-pickers/date-range-calendar/)
125
+ */
116
126
  var DateRangeCalendar = /*#__PURE__*/React.forwardRef(function DateRangeCalendar(inProps, ref) {
117
127
  var props = useDateRangeCalendarDefaultizedProps(inProps, 'MuiDateRangeCalendar');
118
128
  var shouldHavePreview = useMediaQuery(DEFAULT_DESKTOP_MODE_MEDIA_QUERY, {
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.17.0
2
+ * @mui/x-date-pickers-pro v6.18.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 = "MTY5ODM1NzYwMDAwMA==";
3
+ var releaseInfo = "MTY5ODk2NjAwMDAwMA==";
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
@@ -108,6 +108,16 @@ const useUtilityClasses = ownerState => {
108
108
  };
109
109
  return composeClasses(slots, getDateRangeCalendarUtilityClass, classes);
110
110
  };
111
+ /**
112
+ * Demos:
113
+ *
114
+ * - [DateRangePicker](https://mui.com/x/react-date-pickers/date-range-picker/)
115
+ * - [DateRangeCalendar](https://mui.com/x/react-date-pickers/date-range-calendar/)
116
+ *
117
+ * API:
118
+ *
119
+ * - [DateRangeCalendar API](https://mui.com/x/api/date-pickers/date-range-calendar/)
120
+ */
111
121
  const DateRangeCalendar = /*#__PURE__*/React.forwardRef(function DateRangeCalendar(inProps, ref) {
112
122
  const props = useDateRangeCalendarDefaultizedProps(inProps, 'MuiDateRangeCalendar');
113
123
  const shouldHavePreview = useMediaQuery(DEFAULT_DESKTOP_MODE_MEDIA_QUERY, {
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.17.0
2
+ * @mui/x-date-pickers-pro v6.18.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 = "MTY5ODM1NzYwMDAwMA==";
3
+ const releaseInfo = "MTY5ODk2NjAwMDAwMA==";
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
@@ -116,6 +116,16 @@ const useUtilityClasses = ownerState => {
116
116
  };
117
117
  return (0, _utils2.unstable_composeClasses)(slots, _dateRangeCalendarClasses.getDateRangeCalendarUtilityClass, classes);
118
118
  };
119
+ /**
120
+ * Demos:
121
+ *
122
+ * - [DateRangePicker](https://mui.com/x/react-date-pickers/date-range-picker/)
123
+ * - [DateRangeCalendar](https://mui.com/x/react-date-pickers/date-range-calendar/)
124
+ *
125
+ * API:
126
+ *
127
+ * - [DateRangeCalendar API](https://mui.com/x/api/date-pickers/date-range-calendar/)
128
+ */
119
129
  const DateRangeCalendar = exports.DateRangeCalendar = /*#__PURE__*/React.forwardRef(function DateRangeCalendar(inProps, ref) {
120
130
  const props = useDateRangeCalendarDefaultizedProps(inProps, 'MuiDateRangeCalendar');
121
131
  const shouldHavePreview = (0, _useMediaQuery.default)(_internals.DEFAULT_DESKTOP_MODE_MEDIA_QUERY, {
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v6.17.0
2
+ * @mui/x-date-pickers-pro v6.18.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 = "MTY5ODM1NzYwMDAwMA==";
9
+ const releaseInfo = "MTY5ODk2NjAwMDAwMA==";
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.17.0",
3
+ "version": "6.18.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",
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.23.2",
34
- "@mui/base": "^5.0.0-beta.20",
35
- "@mui/utils": "^5.14.14",
36
- "@mui/x-date-pickers": "6.17.0",
34
+ "@mui/base": "^5.0.0-beta.22",
35
+ "@mui/utils": "^5.14.16",
36
+ "@mui/x-date-pickers": "6.18.0",
37
37
  "@mui/x-license-pro": "6.10.2",
38
38
  "clsx": "^2.0.0",
39
39
  "prop-types": "^15.8.1",