@material-ui/utils
Advanced tools
Comparing version 5.0.0-beta.4 to 5.0.0-beta.5
import PropTypes from 'prop-types'; | ||
export default function chainPropTypes<A, B>(propType1: PropTypes.Validator<A>, propType2: PropTypes.Validator<B>): PropTypes.Validator<A & B>; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ export declare function isPlainObject(item: unknown): item is Record<keyof any, unknown>; |
import PropTypes from 'prop-types'; | ||
declare const elementAcceptingRef: PropTypes.Requireable<unknown>; | ||
export default elementAcceptingRef; |
import PropTypes from 'prop-types'; | ||
declare const _default: PropTypes.Validator<PropTypes.ReactComponentLike | null | undefined>; | ||
export default _default; |
import { ValidationMap } from 'prop-types'; | ||
export default function exactProp<T>(propTypes: ValidationMap<T>): ValidationMap<T>; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
export default function getScrollbarSize(doc: Document): number; |
export default function HTMLElementType(props: { | ||
[key: string]: unknown; | ||
}, propName: string, componentName: string, location: string, propFullName: string): Error | null; |
@@ -0,0 +0,0 @@ export { default as chainPropTypes } from './chainPropTypes'; |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-beta.4 | ||
/** @license Material-UI v5.0.0-beta.5 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -0,0 +0,0 @@ export function getTypeByValue(value: any): any; |
export default function isMuiElement(element: any, muiNames: readonly string[]): boolean; |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-beta.4 | ||
/** @license Material-UI v5.0.0-beta.5 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-beta.4 | ||
/** @license Material-UI v5.0.0-beta.5 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
export default function ownerDocument(node: Node | null | undefined): Document; |
export default function ownerWindow(node: Node | undefined): Window; |
{ | ||
"name": "@material-ui/utils", | ||
"version": "5.0.0-beta.4", | ||
"version": "5.0.0-beta.5", | ||
"private": false, | ||
@@ -25,10 +25,10 @@ "author": "Material-UI Team", | ||
"peerDependencies": { | ||
"react": "^17.0.0" | ||
"react": "^17.0.2" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.14.8", | ||
"@types/prop-types": "^15.7.3", | ||
"@types/prop-types": "^15.7.4", | ||
"@types/react-is": "^16.7.1 || ^17.0.0", | ||
"prop-types": "^15.7.2", | ||
"react-is": "^17.0.0" | ||
"react-is": "^17.0.2" | ||
}, | ||
@@ -35,0 +35,0 @@ "sideEffects": false, |
declare const _default: any; | ||
export default _default; |
import PropTypes from 'prop-types'; | ||
declare const refType: PropTypes.Requireable<object>; | ||
export default refType; |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
@@ -0,0 +0,0 @@ /** |
export {}; |
import * as React from 'react'; | ||
export default function useForkRef<Instance>(refA: React.Ref<Instance> | null | undefined, refB: React.Ref<Instance> | null | undefined): React.Ref<Instance> | null; |
export default function useId(idOverride?: string): string | undefined; |
declare const usePreviousProps: (value: object) => object; | ||
export default usePreviousProps; |
declare const visuallyHidden: import('react').CSSProperties; | ||
export default visuallyHidden; |
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
424768
Updated@types/prop-types@^15.7.4
Updatedreact-is@^17.0.2