@mui/utils 5.16.8 → 5.16.13
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 +71 -0
- package/getValidReactChildren/getValidReactChildren.d.ts +1 -1
- package/index.js +1 -1
- package/isHostComponent/isHostComponent.d.ts +1 -1
- package/legacy/index.js +1 -1
- package/modern/index.js +1 -1
- package/package.json +2 -2
- package/useLazyRef/useLazyRef.d.ts +1 -1
- package/useSlotProps/useSlotProps.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,76 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v5.16.13
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.16.12..v5.x -->
|
|
6
|
+
|
|
7
|
+
_Dec 24, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 2 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material-nextjs@5.16.13`
|
|
12
|
+
|
|
13
|
+
- Support Next 15.0.0 in v5 (#44853) @DiegoAndai
|
|
14
|
+
|
|
15
|
+
### Docs
|
|
16
|
+
|
|
17
|
+
- [material-ui] Fix crashing of DraggableDialog demo (#44811) @sai6855
|
|
18
|
+
|
|
19
|
+
### Core
|
|
20
|
+
|
|
21
|
+
- Use React 18's JSX runtime for v5.x UMD builds (#44815) @DiegoAndai
|
|
22
|
+
|
|
23
|
+
All contributors of this release in alphabetical order: @DiegoAndai, @sai6855
|
|
24
|
+
|
|
25
|
+
## v5.16.12
|
|
26
|
+
|
|
27
|
+
<!-- generated comparing v5.16.11..v5.x -->
|
|
28
|
+
|
|
29
|
+
_Dec 16, 2024_
|
|
30
|
+
|
|
31
|
+
Material UI v5 is now compatible with React 19 (#44720) @DiegoAndai
|
|
32
|
+
|
|
33
|
+
### Core
|
|
34
|
+
|
|
35
|
+
- Bump react 19 in v5 (#44720) @DiegoAndai
|
|
36
|
+
- Add `latest-v5` tag to v5 releases (#44757) @DiegoAndai
|
|
37
|
+
|
|
38
|
+
All contributors of this release in alphabetical order: @DiegoAndai
|
|
39
|
+
|
|
40
|
+
## 5.16.11
|
|
41
|
+
|
|
42
|
+
<!-- generated comparing v5.16.9..v5.x -->
|
|
43
|
+
|
|
44
|
+
_Dec 11, 2024_
|
|
45
|
+
|
|
46
|
+
A big thanks to the contributor who made this release possible.
|
|
47
|
+
|
|
48
|
+
### Core
|
|
49
|
+
|
|
50
|
+
- Bump pnpm to 9.14.4 in v5 (#44705) @DiegoAndai
|
|
51
|
+
- Fix UMD examples (#44706) @DiegoAndai
|
|
52
|
+
- [typescript] Rescue missing backports v5 (#44712) @DiegoAndai
|
|
53
|
+
|
|
54
|
+
All contributors of this release in alphabetical order: @DiegoAndai
|
|
55
|
+
|
|
56
|
+
## 5.16.9
|
|
57
|
+
|
|
58
|
+
<!-- generated comparing v5.16.8..v5.x -->
|
|
59
|
+
|
|
60
|
+
_Dec 3, 2024_
|
|
61
|
+
|
|
62
|
+
A big thanks to the 2 contributors who made this release possible.
|
|
63
|
+
|
|
64
|
+
### `@mui/material@5.16.9`
|
|
65
|
+
|
|
66
|
+
- [Tabs] Cherry pick `ScrollbarSize` ref being overridden fix (#44595) @DiegoAndai
|
|
67
|
+
|
|
68
|
+
### Core
|
|
69
|
+
|
|
70
|
+
- Ignore browserslist and remove tag latest (#44589) @siriwatknp
|
|
71
|
+
|
|
72
|
+
All contributors of this release in alphabetical order: @DiegoAndai, @siriwatknp
|
|
73
|
+
|
|
3
74
|
## 5.16.8
|
|
4
75
|
|
|
5
76
|
<!-- generated comparing v5.16.7..v5.x -->
|
|
@@ -5,4 +5,4 @@ import * as React from 'react';
|
|
|
5
5
|
*
|
|
6
6
|
* @param children the children
|
|
7
7
|
*/
|
|
8
|
-
export default function getValidReactChildren(children: React.ReactNode): React.ReactElement<unknown
|
|
8
|
+
export default function getValidReactChildren(children: React.ReactNode): React.ReactElement<unknown>[];
|
package/index.js
CHANGED
|
@@ -2,5 +2,5 @@ import * as React from 'react';
|
|
|
2
2
|
/**
|
|
3
3
|
* Determines if a given element is a DOM element name (i.e. not a React component).
|
|
4
4
|
*/
|
|
5
|
-
declare function isHostComponent(element: React.ElementType):
|
|
5
|
+
declare function isHostComponent(element: React.ElementType): element is "symbol" | "object" | "center" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "clipPath" | "filter" | "menuitem" | "mask" | "marker" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "sup" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view";
|
|
6
6
|
export default isHostComponent;
|
package/legacy/index.js
CHANGED
package/modern/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/utils",
|
|
3
|
-
"version": "5.16.
|
|
3
|
+
"version": "5.16.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Utility functions for React components.",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@types/prop-types": "^15.7.12",
|
|
31
31
|
"clsx": "^2.1.1",
|
|
32
32
|
"prop-types": "^15.8.1",
|
|
33
|
-
"react-is": "^
|
|
33
|
+
"react-is": "^19.0.0",
|
|
34
34
|
"@mui/types": "^7.2.15"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
@@ -6,4 +6,4 @@ import * as React from 'react';
|
|
|
6
6
|
* @usage
|
|
7
7
|
* const ref = useLazyRef(sortColumns, columns)
|
|
8
8
|
*/
|
|
9
|
-
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.
|
|
9
|
+
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.RefObject<T>;
|
|
@@ -31,10 +31,10 @@ export type UseSlotPropsResult<ElementType extends React.ElementType, SlotProps,
|
|
|
31
31
|
* @param parameters.getSlotProps - A function that returns the props to be passed to the slot component.
|
|
32
32
|
*/
|
|
33
33
|
declare function useSlotProps<ElementType extends React.ElementType, SlotProps, AdditionalProps, OwnerState>(parameters: UseSlotPropsParameters<ElementType, SlotProps, object, WithCommonProps<Record<string, any>>, AdditionalProps, OwnerState>): import("@mui/types").Simplify<import("@mui/types").Simplify<SlotProps & object & AdditionalProps & {
|
|
34
|
-
className?: string
|
|
35
|
-
style?: React.CSSProperties
|
|
34
|
+
className?: string;
|
|
35
|
+
style?: React.CSSProperties;
|
|
36
36
|
}> & {
|
|
37
|
-
ref: ((instance: any) => void) | null;
|
|
37
|
+
ref: ((instance: any | null) => void) | null;
|
|
38
38
|
} & {
|
|
39
39
|
ownerState: ElementType extends React.ComponentType<any> ? OwnerState : ElementType extends keyof React.JSX.IntrinsicElements ? undefined : OwnerState | undefined;
|
|
40
40
|
}>;
|