@mui/x-internals 7.14.0 → 7.16.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
@@ -1,8 +1,174 @@
1
- # Change Log
1
+ # Changelog
2
2
 
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.16.0
7
+
8
+ _Sep 5, 2024_
9
+
10
+ We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🎨 Update the design of Data Grid column headers (#14293)
13
+ - 🧠 Add the `slots` concept introduction documentation page (#13881)
14
+ - 🌍 Improve Chinese (zh-CN) and Dutch (nl-NL) locales on the Data Grid
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
19
+
20
+ ### Data Grid
21
+
22
+ #### `@mui/x-data-grid@7.16.0`
23
+
24
+ - [DataGrid] Add key prop to `GridFilterInputMultipleValue` (#14302) @sai6855
25
+ - [DataGrid] Allow to control the indeterminate checkbox behavior (#14247) @MBilalShafi
26
+ - [DataGrid] Column header design updates (#14293) @KenanYusuf
27
+ - [DataGrid] Fix error on simultaneous `columns` and `columnGroupingModel` update (#14368) @cherniavskii
28
+ - [DataGrid] Fix first row flickering with `autoHeight` prop enabled (#14235) @KenanYusuf
29
+ - [DataGrid] Remove cell min-width / max-width styles (#14448) @oliviertassinari
30
+ - [DataGrid] Restore reselect behavior (#14410) @romgrk
31
+ - [l10n] Improve Chinese (zh-CN) locale (#14394) @lawvs
32
+ - [l10n] Improve Dutch (nl-NL) locale (#14398) @Janpot
33
+
34
+ #### `@mui/x-data-grid-pro@7.16.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
35
+
36
+ Same changes as in `@mui/x-data-grid@7.16.0`, plus:
37
+
38
+ - [DataGridPro] Fix duplicate top border in header filters (#14375) @MBilalShafi
39
+
40
+ #### `@mui/x-data-grid-premium@7.16.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
41
+
42
+ Same changes as in `@mui/x-data-grid-pro@7.16.0`.
43
+
44
+ ### Date and Time Pickers
45
+
46
+ #### `@mui/x-date-pickers@7.16.0`
47
+
48
+ - [pickers] Improve `onError` JSDoc (#14492) @flaviendelangle
49
+ - [pickers] Keep the calendar header and content in sync when switching locale (#14125) @flaviendelangle
50
+ - [pickers] Move multi input range field validation tests to the describe test file (#14501) @flaviendelangle
51
+
52
+ #### `@mui/x-date-pickers-pro@7.16.0` [![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-date-pickers@7.16.0`.
55
+
56
+ ### Charts
57
+
58
+ #### `@mui/x-charts@7.16.0`
59
+
60
+ - [charts] Fix JSDoc typos (#14497) @alexfauquette
61
+ - [charts] Fix `LineChart` not properly animating when hydrating (#14355) @JCQuintas
62
+ - [charts] Fix theme augmentation (#14372) @alexfauquette
63
+ - [charts] Pass all props to legend (#14392) @JCQuintas
64
+ - [charts] Use `.mjs` extension for ESM build (#14387) @alexfauquette
65
+ - [charts] Update `package.json` for vendor package (#14465) @alexfauquette
66
+
67
+ #### `@mui/x-charts-pro@7.0.0-beta.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
68
+
69
+ Same changes as in `@mui/x-charts@7.16.0`, plus:
70
+
71
+ - [charts-pro] Fix props and automated documentation on `BarChartPro` and `LineChartPro` (#14391) @JCQuintas
72
+
73
+ ### Tree View
74
+
75
+ #### `@mui/x-tree-view@7.16.0`
76
+
77
+ - [TreeView] Clean label editing code (#14264) @flaviendelangle
78
+
79
+ ### `@mui/x-codemod@7.16.0`
80
+
81
+ - [codemod] Fix `experimentalFeatures` codemod for typescript parser (#14150) @MBilalShafi
82
+
83
+ ### Docs
84
+
85
+ - [docs] Add RTL documentation for the pickers (#13855) @flaviendelangle
86
+ - [docs] Add the `slots` concept introduction page (#13881) @flaviendelangle
87
+ - [docs] Remove TypeScript v3 outdated version mentions (#14443) @k-rajat19
88
+ - [docs] Remove notion of seats (#14351) @oliviertassinari
89
+ - [docs] Use real world data for `PieChart` examples (#14297) @JCQuintas
90
+
91
+ ### Core
92
+
93
+ - [core] Fix changelog spelling @oliviertassinari
94
+ - [core] Fix failing tests on the pickers (#14457) @flaviendelangle
95
+ - [core] Reset permissions for codspeed GitHub Action (#14420) @oliviertassinari
96
+ - [code-infra] Add babel runtime version check (#14483) @Janpot
97
+ - [code-infra] Fully resolve imports in ESM target (#14234) @Janpot
98
+ - [code-infra] Update runners from node 18 to 20 (#14466) @JCQuintas
99
+ - [infra] Added `secrets: inherit` to workflow call (#14454) @michelengelen
100
+ - [infra] Switch "add closing message" to reusable workflow (#14499) @michelengelen
101
+ - [infra] Switch "issue triage workflow" to reusable workflows (#14390) @michelengelen
102
+
103
+ ## 7.15.0
104
+
105
+ _Aug 29, 2024_
106
+
107
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
108
+
109
+ - 💫 Support Material UI v6 (`@mui/material@6`) peer dependency (#14142) @cherniavskii
110
+
111
+ You can now use MUI X components with either v5 or v6 of `@mui/material` package 🎉
112
+
113
+ - 🐞 Bugfixes
114
+
115
+ ### Data Grid
116
+
117
+ #### `@mui/x-data-grid-pro@7.15.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
118
+
119
+ - [DataGridPro] Export `GridRowReorderCell` component (#14079) @genepaul
120
+
121
+ #### `@mui/x-data-grid-premium@7.15.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
122
+
123
+ Same changes as in `@mui/x-data-grid-pro@7.15.0`.
124
+
125
+ ### Date and Time Pickers
126
+
127
+ #### `@mui/x-date-pickers@7.15.0`
128
+
129
+ - [pickers] Add `onTouchStart` handler for `TimeClock` (#14305) @arthurbalduini
130
+
131
+ #### `@mui/x-date-pickers-pro@7.15.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
132
+
133
+ Same changes as in `@mui/x-date-pickers@7.15.0`, plus:
134
+
135
+ - [DateTimeRangePicker] Fix date format resolving from views on 24hr locales (#14341) @arthurbalduini
136
+
137
+ ### Charts
138
+
139
+ #### `@mui/x-charts@7.15.0`
140
+
141
+ - [charts] Add missing `themeAugmentation` in pro plan (#14313) @lhilgert9
142
+ - [charts] Fix `LineChart` transition stopping before completion (#14366) @JCQuintas
143
+ - [charts] Fix tooltip with horizontal layout (#14337) @alexfauquette
144
+ - [charts] Keep axis root classe usage explicit (#14378) @alexfauquette
145
+
146
+ #### `@mui/x-charts-pro@7.0.0-alpha.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
147
+
148
+ Same changes as in `@mui/x-charts@7.15.0`, plus:
149
+
150
+ - [charts pro] Avoid relative reference to `@mui/x-charts` package (#14335) @LukasTy
151
+
152
+ ### Docs
153
+
154
+ - [docs] Fix sentence case `h2` @oliviertassinari
155
+ - [docs] Clarify contribution guide references @oliviertassinari
156
+ - [docs] Fix Stack Overflow issue canned response @oliviertassinari
157
+ - [docs] Fix outdated link to support page @oliviertassinari
158
+ - [docs] Fix use of Material UI @oliviertassinari
159
+ - [docs] Update deprecated props in docs (#14295) @JCQuintas
160
+
161
+ ### Core
162
+
163
+ - [core] Allow only v5.x for `MUI Core` renovate group (#14382) @LukasTy
164
+ - [core] Avoid visual regression when using `@mui/material@6` (#14357) @cherniavskii
165
+ - [core] Remove renovate rule targeting only `next` releases of `@mui/docs` (#14364) @LukasTy
166
+ - [core] Support `@mui/material@6` peer dependency (#14142) @cherniavskii
167
+ - [core] Use `useRtl` instead of `useTheme` to access direction (#14359) @LukasTy
168
+ - [code-infra] Typecheck nested folders in playground (#14352) @JCQuintas
169
+ - [infra] Fix Issue cleanup action @oliviertassinari
170
+ - [license] Prepare renaming of argument names @oliviertassinari
171
+
6
172
  ## 7.14.0
7
173
 
8
174
  _Aug 23, 2024_
@@ -1 +1 @@
1
- export { EventManager } from './EventManager';
1
+ export { EventManager } from "./EventManager.js";
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { fastObjectShallowCompare } from '../fastObjectShallowCompare';
2
+ import { fastObjectShallowCompare } from "../fastObjectShallowCompare/index.js";
3
3
  export function fastMemo(component) {
4
4
  return /*#__PURE__*/React.memo(component, fastObjectShallowCompare);
5
5
  }
package/fastMemo/index.js CHANGED
@@ -1 +1 @@
1
- export { fastMemo } from './fastMemo';
1
+ export { fastMemo } from "./fastMemo.js";
@@ -1 +1 @@
1
- export { fastObjectShallowCompare } from './fastObjectShallowCompare';
1
+ export { fastObjectShallowCompare } from "./fastObjectShallowCompare.js";
@@ -1 +1 @@
1
- export { EventManager } from './EventManager';
1
+ export { EventManager } from "./EventManager.js";
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { fastObjectShallowCompare } from '../fastObjectShallowCompare';
2
+ import { fastObjectShallowCompare } from "../fastObjectShallowCompare/index.js";
3
3
  export function fastMemo(component) {
4
4
  return /*#__PURE__*/React.memo(component, fastObjectShallowCompare);
5
5
  }
@@ -1 +1 @@
1
- export { fastMemo } from './fastMemo';
1
+ export { fastMemo } from "./fastMemo.js";
@@ -1 +1 @@
1
- export { fastObjectShallowCompare } from './fastObjectShallowCompare';
1
+ export { fastObjectShallowCompare } from "./fastObjectShallowCompare.js";
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1 @@
1
- export { throttle } from './throttle';
1
+ export { throttle } from "./throttle.js";
@@ -1 +1 @@
1
- export { useResizeObserver } from './useResizeObserver';
1
+ export { useResizeObserver } from "./useResizeObserver.js";
@@ -1,13 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.fastMemo = fastMemo;
7
8
  var React = _interopRequireWildcard(require("react"));
8
9
  var _fastObjectShallowCompare = require("../fastObjectShallowCompare");
9
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
10
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
10
  function fastMemo(component) {
12
11
  return /*#__PURE__*/React.memo(component, _fastObjectShallowCompare.fastObjectShallowCompare);
13
12
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -1,13 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.useResizeObserver = useResizeObserver;
7
8
  var React = _interopRequireWildcard(require("react"));
8
9
  var _utils = require("@mui/utils");
9
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
10
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
10
  const isDevEnvironment = process.env.NODE_ENV === 'development';
12
11
  const noop = () => {};
13
12
  function useResizeObserver(ref, fn, enabled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-internals",
3
- "version": "7.14.0",
3
+ "version": "7.16.0",
4
4
  "description": "Utility functions for the MUI X packages (internal use only).",
5
5
  "author": "MUI Team",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "directory": "packages/x-internals"
32
32
  },
33
33
  "dependencies": {
34
- "@babel/runtime": "^7.25.0",
34
+ "@babel/runtime": "^7.25.6",
35
35
  "@mui/utils": "^5.16.6"
36
36
  },
37
37
  "peerDependencies": {
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export type PropsFromSlot<Slot extends React.JSXElementConstructor<any> | React.ElementType | null | undefined> = NonNullable<Slot> extends React.ElementType<infer P> ? P : React.ComponentProps<NonNullable<Slot>>;
package/slots/index.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "main": "../node/slots/index.js",
5
+ "types": "./index.d.ts"
6
+ }
package/throttle/index.js CHANGED
@@ -1 +1 @@
1
- export { throttle } from './throttle';
1
+ export { throttle } from "./throttle.js";
@@ -1 +1 @@
1
- export { useResizeObserver } from './useResizeObserver';
1
+ export { useResizeObserver } from "./useResizeObserver.js";