@mui/x-internals 7.15.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,105 @@
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
+
6
103
  ## 7.15.0
7
104
 
8
105
  _Aug 29, 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.15.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.4",
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";