@mui/utils
Advanced tools
Comparing version 5.16.8 to 5.16.12
@@ -8,2 +8,2 @@ import * as React from 'react'; | ||
*/ | ||
export default function getValidReactChildren(children: React.ReactNode): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>[]; | ||
export default function getValidReactChildren(children: React.ReactNode): React.ReactElement<unknown>[]; |
/** | ||
* @mui/utils v5.16.8 | ||
* @mui/utils v5.16.12 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
@@ -5,3 +5,3 @@ import * as React from 'react'; | ||
*/ | ||
declare function isHostComponent(element: React.ElementType): boolean; | ||
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"; | ||
export default isHostComponent; |
/** | ||
* @mui/utils v5.16.8 | ||
* @mui/utils v5.16.12 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
/** | ||
* @mui/utils v5.16.8 | ||
* @mui/utils v5.16.12 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
{ | ||
"name": "@mui/utils", | ||
"version": "5.16.8", | ||
"version": "5.16.12", | ||
"private": false, | ||
@@ -33,3 +33,3 @@ "author": "MUI Team", | ||
"prop-types": "^15.8.1", | ||
"react-is": "^18.3.1", | ||
"react-is": "^19.0.0", | ||
"@mui/types": "^7.2.15" | ||
@@ -36,0 +36,0 @@ }, |
@@ -9,2 +9,2 @@ import * as React from 'react'; | ||
*/ | ||
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.MutableRefObject<T>; | ||
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.RefObject<T>; |
@@ -34,6 +34,6 @@ import * as React from 'react'; | ||
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 & { | ||
className?: string | undefined; | ||
style?: React.CSSProperties | undefined; | ||
className?: string; | ||
style?: React.CSSProperties; | ||
}> & { | ||
ref: ((instance: any) => void) | null; | ||
ref: ((instance: any | null) => void) | null; | ||
} & { | ||
@@ -40,0 +40,0 @@ ownerState: ElementType extends React.ComponentType<any> ? OwnerState : ElementType extends keyof React.JSX.IntrinsicElements ? undefined : OwnerState | undefined; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1101446
7034
6
9
+ Addedreact-is@19.0.0(transitive)
- Removedreact-is@18.3.1(transitive)
Updatedreact-is@^19.0.0