@fluentui/react-component-ref
Advanced tools
Comparing version 0.43.2 to 0.44.0
@@ -8,3 +8,3 @@ import * as React from 'react'; | ||
*/ | ||
declare const handleRef: <N>(ref: React.Ref<N>, node: N) => void; | ||
declare const handleRef: <N>(ref: ((instance: N | null) => void) | React.RefObject<N> | null | undefined, node: N) => void; | ||
export default handleRef; |
@@ -8,3 +8,3 @@ import * as PropTypes from 'prop-types'; | ||
children: PropTypes.Validator<PropTypes.ReactElementLike>; | ||
innerRef: PropTypes.Validator<React.Ref<any>>; | ||
innerRef: PropTypes.Validator<((instance: any) => void) | React.RefObject<any>>; | ||
} | { | ||
@@ -18,3 +18,3 @@ children?: undefined; | ||
componentWillUnmount(): void; | ||
render(): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> & string) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> & number) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> & false) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> & true) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> & React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> & React.ReactNodeArray) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> & React.ReactPortal); | ||
render(): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> & string) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> & number) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> & false) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> & true) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> & React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> & React.ReactNodeArray) | (React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> & React.ReactPortal); | ||
} |
@@ -8,3 +8,3 @@ import * as PropTypes from 'prop-types'; | ||
children: PropTypes.Validator<PropTypes.ReactElementLike>; | ||
innerRef: PropTypes.Validator<React.Ref<any>>; | ||
innerRef: PropTypes.Validator<((instance: any) => void) | React.RefObject<any>>; | ||
} | { | ||
@@ -15,3 +15,3 @@ children?: undefined; | ||
handleRefOverride: (node: HTMLElement) => void; | ||
render(): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>; | ||
render(): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>; | ||
} |
{ | ||
"name": "@fluentui/react-component-ref", | ||
"description": "A set of components and utils to deal with React refs.", | ||
"version": "0.43.2", | ||
"version": "0.44.0", | ||
"author": "Oleksandr Fediashov <olfedias@microsoft.com>", | ||
@@ -13,3 +13,4 @@ "bugs": "https://github.com/microsoft/fluent-ui-react/issues", | ||
"devDependencies": { | ||
"@fluentui/internal-tooling": "^0.43.0", | ||
"@fluentui/internal-tooling": "^0.44.0", | ||
"@types/react-is": "^16.7.1", | ||
"lerna-alias": "^3.0.3-0" | ||
@@ -34,7 +35,10 @@ }, | ||
"scripts": { | ||
"build": "gulp bundle:package:no-umd --package react-component-ref" | ||
"build": "gulp bundle:package:no-umd", | ||
"clean": "gulp bundle:package:clean", | ||
"test": "gulp test", | ||
"test:watch": "gulp test:watch" | ||
}, | ||
"sideEffects": false, | ||
"types": "dist/es/index.d.ts", | ||
"gitHead": "18e4cf074b00298db2d1d63d765c9cf44ba8890d" | ||
"gitHead": "39b6d1fbd11d7444d2808a8ff5d06ca2e997fe3b" | ||
} |
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
9
25608
3
23
522