@fluentui/react-utilities
Advanced tools
Comparing version 9.0.0-alpha.34 to 9.0.0-alpha.35
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Thu, 22 Jul 2021 07:32:58 GMT", | ||
"date": "Fri, 23 Jul 2021 07:34:43 GMT", | ||
"tag": "@fluentui/react-utilities_v9.0.0-alpha.35", | ||
"version": "9.0.0-alpha.35", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Improve type safety of the onlyChild function", | ||
"author": "behowell@microsoft.com", | ||
"commit": "d38109a7fd40e187aca862046219cf9a7ca66131", | ||
"package": "@fluentui/react-utilities" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 22 Jul 2021 07:36:55 GMT", | ||
"tag": "@fluentui/react-utilities_v9.0.0-alpha.34", | ||
@@ -8,0 +23,0 @@ "version": "9.0.0-alpha.34", |
# Change Log - @fluentui/react-utilities | ||
This log was last generated on Thu, 22 Jul 2021 07:32:58 GMT and should not be manually modified. | ||
This log was last generated on Fri, 23 Jul 2021 07:34:43 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v9.0.0-alpha.35) | ||
Fri, 23 Jul 2021 07:34:43 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-alpha.34..@fluentui/react-utilities_v9.0.0-alpha.35) | ||
### Changes | ||
- Improve type safety of the onlyChild function ([PR #18610](https://github.com/microsoft/fluentui/pull/18610) by behowell@microsoft.com) | ||
## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v9.0.0-alpha.34) | ||
Thu, 22 Jul 2021 07:32:58 GMT | ||
Thu, 22 Jul 2021 07:36:55 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-alpha.33..@fluentui/react-utilities_v9.0.0-alpha.34) | ||
@@ -11,0 +20,0 @@ |
@@ -324,3 +324,3 @@ import * as React_2 from 'react'; | ||
*/ | ||
export declare const onlyChild: (child: React_2.ReactNode) => React_2.ReactElement; | ||
export declare const onlyChild: <P>(child: string | number | boolean | {} | React_2.ReactNodeArray | React_2.ReactPortal | React_2.ReactElement<P, string | ((props: any) => React_2.ReactElement<any, string | any | (new (props: any) => React_2.Component<any, any, any>)> | null) | (new (props: any) => React_2.Component<any, any, any>)> | null | undefined) => React_2.ReactElement<P, string | ((props: any) => React_2.ReactElement<any, string | any | (new (props: any) => React_2.Component<any, any, any>)> | null) | (new (props: any) => React_2.Component<any, any, any>)>; | ||
@@ -327,0 +327,0 @@ export declare const optionProperties: Record<string, number>; |
@@ -201,3 +201,3 @@ ## API Report File for "@fluentui/react-utilities" | ||
// @public | ||
export const onlyChild: (child: React_2.ReactNode) => React_2.ReactElement; | ||
export const onlyChild: <P>(child: string | number | boolean | {} | React_2.ReactNodeArray | React_2.ReactPortal | React_2.ReactElement<P, string | ((props: any) => React_2.ReactElement<any, string | any | (new (props: any) => React_2.Component<any, any, any>)> | null) | (new (props: any) => React_2.Component<any, any, any>)> | null | undefined) => React_2.ReactElement<P, string | ((props: any) => React_2.ReactElement<any, string | any | (new (props: any) => React_2.Component<any, any, any>)> | null) | (new (props: any) => React_2.Component<any, any, any>)>; | ||
@@ -204,0 +204,0 @@ // @public (undocumented) |
@@ -5,2 +5,2 @@ import * as React from 'react'; | ||
*/ | ||
export declare const onlyChild: (child: React.ReactNode) => React.ReactElement; | ||
export declare const onlyChild: <P>(child: string | number | boolean | {} | React.ReactNodeArray | React.ReactPortal | React.ReactElement<P, 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>)> | null | undefined) => React.ReactElement<P, 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>)>; |
@@ -5,2 +5,2 @@ import * as React from 'react'; | ||
*/ | ||
export declare const onlyChild: (child: React.ReactNode) => React.ReactElement; | ||
export declare const onlyChild: <P>(child: string | number | boolean | {} | React.ReactNodeArray | React.ReactPortal | React.ReactElement<P, 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>)> | null | undefined) => React.ReactElement<P, 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>)>; |
@@ -5,2 +5,2 @@ import * as React from 'react'; | ||
*/ | ||
export declare const onlyChild: (child: React.ReactNode) => React.ReactElement; | ||
export declare const onlyChild: <P>(child: string | number | boolean | {} | React.ReactNodeArray | React.ReactPortal | React.ReactElement<P, 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>)> | null | undefined) => React.ReactElement<P, 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-utilities", | ||
"version": "9.0.0-alpha.34", | ||
"version": "9.0.0-alpha.35", | ||
"description": "A set of general React-specific utilities.", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1717815
11260