@mui/x-date-pickers-pro 7.25.0 → 7.26.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,77 @@
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.26.0
7
+
8
+ _Feb 7, 2025_
9
+
10
+ We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - ⚡ Mount and resize performance improvements for the Data Grid
13
+ - 🐞 Bugfixes
14
+
15
+ Special thanks go out to the community contributors who have helped make this release possible:
16
+ @lauri865.
17
+ Following are all team members who have contributed to this release:
18
+ @arminmeh, @noraleonte, @LukasTy, @KenanYusuf, @flaviendelangle.
19
+
20
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
21
+
22
+ ### Data Grid
23
+
24
+ #### `@mui/x-data-grid@7.26.0`
25
+
26
+ - [DataGrid] Avoid `<GridRoot />` double-render pass on mount in SPA mode (#16480) @lauri865
27
+
28
+ #### `@mui/x-data-grid-pro@7.26.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
29
+
30
+ Same changes as in `@mui/x-data-grid@7.26.0`, plus:
31
+
32
+ - [DataGridPro] Fix the return type of `useGridApiContext()` for Pro and Premium packages on React < 19 (#16446) @arminmeh
33
+
34
+ #### `@mui/x-data-grid-premium@7.26.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
35
+
36
+ Same changes as in `@mui/x-data-grid-pro@7.26.0`, plus:
37
+
38
+ - [DataGridPremium] Fix "no rows" overlay not showing with active aggregation (#16468) @KenanYusuf
39
+
40
+ ### Date and Time Pickers
41
+
42
+ #### `@mui/x-date-pickers@7.26.0`
43
+
44
+ Internal changes.
45
+
46
+ #### `@mui/x-date-pickers-pro@7.26.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
47
+
48
+ Same changes as in `@mui/x-date-pickers@7.26.0`, plus:
49
+
50
+ - [DateRangePicker] Fix `currentMonthCalendarPosition` prop behavior on mobile (#16457) @LukasTy
51
+ - [DateRangePicker] Fix vertical alignment for multi input fields (#16490) @noraleonte
52
+
53
+ ### Charts
54
+
55
+ #### `@mui/x-charts@7.26.0`
56
+
57
+ Internal changes.
58
+
59
+ #### `@mui/x-charts-pro@7.26.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
60
+
61
+ Same changes as in `@mui/x-charts@7.26.0`.
62
+
63
+ ### Tree View
64
+
65
+ #### `@mui/x-tree-view@7.26.0`
66
+
67
+ Internal changes.
68
+
69
+ #### `@mui/x-tree-view-pro@7.26.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
70
+
71
+ Same changes as in `@mui/x-tree-view@7.26.0`.
72
+
73
+ ### Core
74
+
75
+ - [core] Fix corepack and pnpm installation in CircleCI (#16452) @flaviendelangle
76
+
6
77
  ## 7.25.0
7
78
 
8
79
  _Jan 31, 2025_
@@ -32,6 +32,8 @@ const MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function MobileDateR
32
32
  viewRenderers,
33
33
  // Force one calendar on mobile to avoid layout issues
34
34
  calendars: 1,
35
+ // force current calendar position, since we only have one calendar
36
+ currentMonthCalendarPosition: 1,
35
37
  views: ['day'],
36
38
  openTo: 'day',
37
39
  slots: _extends({
@@ -103,6 +103,8 @@ const MobileDateTimeRangePicker = /*#__PURE__*/React.forwardRef(function MobileD
103
103
  calendars: 1,
104
104
  // force true to correctly handle `renderTimeViewClock` as a renderer
105
105
  ampmInClock: true,
106
+ // force current calendar position, since we only have one calendar
107
+ currentMonthCalendarPosition: 1,
106
108
  slots: _extends({
107
109
  field: MultiInputDateTimeRangeField
108
110
  }, defaultizedProps.slots),
@@ -33,7 +33,7 @@ const MultiInputDateRangeFieldRoot = styled(/*#__PURE__*/React.forwardRef((props
33
33
  ref: ref,
34
34
  spacing: 2,
35
35
  direction: "row",
36
- alignItems: "center"
36
+ alignItems: "baseline"
37
37
  }, props))), {
38
38
  name: 'MuiMultiInputDateRangeField',
39
39
  slot: 'Root',
@@ -33,7 +33,7 @@ const MultiInputDateTimeRangeFieldRoot = styled(/*#__PURE__*/React.forwardRef((p
33
33
  ref: ref,
34
34
  spacing: 2,
35
35
  direction: "row",
36
- alignItems: "center"
36
+ alignItems: "baseline"
37
37
  }, props))), {
38
38
  name: 'MuiMultiInputDateTimeRangeField',
39
39
  slot: 'Root',
@@ -33,7 +33,7 @@ const MultiInputTimeRangeFieldRoot = styled(/*#__PURE__*/React.forwardRef((props
33
33
  ref: ref,
34
34
  spacing: 2,
35
35
  direction: "row",
36
- alignItems: "center"
36
+ alignItems: "baseline"
37
37
  }, props))), {
38
38
  name: 'MuiMultiInputTimeRangeField',
39
39
  slot: 'Root',
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.25.0
2
+ * @mui/x-date-pickers-pro v7.26.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 = "MTczODI5OTYwMDAwMA==";
3
+ const releaseInfo = "MTczODg4MjgwMDAwMA==";
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
@@ -32,6 +32,8 @@ const MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function MobileDateR
32
32
  viewRenderers,
33
33
  // Force one calendar on mobile to avoid layout issues
34
34
  calendars: 1,
35
+ // force current calendar position, since we only have one calendar
36
+ currentMonthCalendarPosition: 1,
35
37
  views: ['day'],
36
38
  openTo: 'day',
37
39
  slots: _extends({
@@ -103,6 +103,8 @@ const MobileDateTimeRangePicker = /*#__PURE__*/React.forwardRef(function MobileD
103
103
  calendars: 1,
104
104
  // force true to correctly handle `renderTimeViewClock` as a renderer
105
105
  ampmInClock: true,
106
+ // force current calendar position, since we only have one calendar
107
+ currentMonthCalendarPosition: 1,
106
108
  slots: _extends({
107
109
  field: MultiInputDateTimeRangeField
108
110
  }, defaultizedProps.slots),
@@ -33,7 +33,7 @@ const MultiInputDateRangeFieldRoot = styled(/*#__PURE__*/React.forwardRef((props
33
33
  ref: ref,
34
34
  spacing: 2,
35
35
  direction: "row",
36
- alignItems: "center"
36
+ alignItems: "baseline"
37
37
  }, props))), {
38
38
  name: 'MuiMultiInputDateRangeField',
39
39
  slot: 'Root',
@@ -33,7 +33,7 @@ const MultiInputDateTimeRangeFieldRoot = styled(/*#__PURE__*/React.forwardRef((p
33
33
  ref: ref,
34
34
  spacing: 2,
35
35
  direction: "row",
36
- alignItems: "center"
36
+ alignItems: "baseline"
37
37
  }, props))), {
38
38
  name: 'MuiMultiInputDateTimeRangeField',
39
39
  slot: 'Root',
@@ -33,7 +33,7 @@ const MultiInputTimeRangeFieldRoot = styled(/*#__PURE__*/React.forwardRef((props
33
33
  ref: ref,
34
34
  spacing: 2,
35
35
  direction: "row",
36
- alignItems: "center"
36
+ alignItems: "baseline"
37
37
  }, props))), {
38
38
  name: 'MuiMultiInputTimeRangeField',
39
39
  slot: 'Root',
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.25.0
2
+ * @mui/x-date-pickers-pro v7.26.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 = "MTczODI5OTYwMDAwMA==";
3
+ const releaseInfo = "MTczODg4MjgwMDAwMA==";
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
@@ -39,6 +39,8 @@ const MobileDateRangePicker = exports.MobileDateRangePicker = /*#__PURE__*/React
39
39
  viewRenderers,
40
40
  // Force one calendar on mobile to avoid layout issues
41
41
  calendars: 1,
42
+ // force current calendar position, since we only have one calendar
43
+ currentMonthCalendarPosition: 1,
42
44
  views: ['day'],
43
45
  openTo: 'day',
44
46
  slots: (0, _extends2.default)({
@@ -110,6 +110,8 @@ const MobileDateTimeRangePicker = exports.MobileDateTimeRangePicker = /*#__PURE_
110
110
  calendars: 1,
111
111
  // force true to correctly handle `renderTimeViewClock` as a renderer
112
112
  ampmInClock: true,
113
+ // force current calendar position, since we only have one calendar
114
+ currentMonthCalendarPosition: 1,
113
115
  slots: (0, _extends2.default)({
114
116
  field: _MultiInputDateTimeRangeField.MultiInputDateTimeRangeField
115
117
  }, defaultizedProps.slots),
@@ -41,7 +41,7 @@ const MultiInputDateRangeFieldRoot = (0, _styles.styled)(/*#__PURE__*/React.forw
41
41
  ref: ref,
42
42
  spacing: 2,
43
43
  direction: "row",
44
- alignItems: "center"
44
+ alignItems: "baseline"
45
45
  }, props))), {
46
46
  name: 'MuiMultiInputDateRangeField',
47
47
  slot: 'Root',
@@ -41,7 +41,7 @@ const MultiInputDateTimeRangeFieldRoot = (0, _styles.styled)(/*#__PURE__*/React.
41
41
  ref: ref,
42
42
  spacing: 2,
43
43
  direction: "row",
44
- alignItems: "center"
44
+ alignItems: "baseline"
45
45
  }, props))), {
46
46
  name: 'MuiMultiInputDateTimeRangeField',
47
47
  slot: 'Root',
@@ -41,7 +41,7 @@ const MultiInputTimeRangeFieldRoot = (0, _styles.styled)(/*#__PURE__*/React.forw
41
41
  ref: ref,
42
42
  spacing: 2,
43
43
  direction: "row",
44
- alignItems: "center"
44
+ alignItems: "baseline"
45
45
  }, props))), {
46
46
  name: 'MuiMultiInputTimeRangeField',
47
47
  slot: 'Root',
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.25.0
2
+ * @mui/x-date-pickers-pro v7.26.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 = "MTczODI5OTYwMDAwMA==";
9
+ const releaseInfo = "MTczODg4MjgwMDAwMA==";
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.25.0",
3
+ "version": "7.26.0",
4
4
  "description": "The Pro plan edition of the Date and Time Picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -37,9 +37,9 @@
37
37
  "clsx": "^2.1.1",
38
38
  "prop-types": "^15.8.1",
39
39
  "react-transition-group": "^4.4.5",
40
- "@mui/x-date-pickers": "7.25.0",
41
- "@mui/x-internals": "7.25.0",
42
- "@mui/x-license": "7.25.0"
40
+ "@mui/x-date-pickers": "7.26.0",
41
+ "@mui/x-internals": "7.26.0",
42
+ "@mui/x-license": "7.26.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@emotion/react": "^11.9.0",