@fluentui/react-utilities
Advanced tools
Comparing version 9.0.0-alpha.22 to 9.0.0-alpha.23
@@ -5,3 +5,38 @@ { | ||
{ | ||
"date": "Wed, 19 May 2021 07:30:20 GMT", | ||
"date": "Thu, 20 May 2021 07:34:56 GMT", | ||
"tag": "@fluentui/react-utilities_v9.0.0-alpha.23", | ||
"version": "9.0.0-alpha.23", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "ComponentState: fix shadowing and doc syntax for type params", | ||
"author": "elcraig@microsoft.com", | ||
"commit": "630b71c415cd40ed0e36773eab99d62cd02a30fb", | ||
"package": "@fluentui/react-utilities" | ||
} | ||
], | ||
"patch": [ | ||
{ | ||
"comment": "Bump @fluentui/eslint-plugin to v1.3.0", | ||
"author": "elcraig@microsoft.com", | ||
"commit": "630b71c415cd40ed0e36773eab99d62cd02a30fb", | ||
"package": "@fluentui/react-utilities" | ||
}, | ||
{ | ||
"comment": "Bump @fluentui/keyboard-key to v0.3.1", | ||
"author": "elcraig@microsoft.com", | ||
"commit": "630b71c415cd40ed0e36773eab99d62cd02a30fb", | ||
"package": "@fluentui/react-utilities" | ||
}, | ||
{ | ||
"comment": "Bump @fluentui/scripts to v1.0.0", | ||
"author": "elcraig@microsoft.com", | ||
"commit": "630b71c415cd40ed0e36773eab99d62cd02a30fb", | ||
"package": "@fluentui/react-utilities" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Wed, 19 May 2021 07:34:20 GMT", | ||
"tag": "@fluentui/react-utilities_v9.0.0-alpha.22", | ||
@@ -8,0 +43,0 @@ "version": "9.0.0-alpha.22", |
# Change Log - @fluentui/react-utilities | ||
This log was last generated on Wed, 19 May 2021 07:30:20 GMT and should not be manually modified. | ||
This log was last generated on Thu, 20 May 2021 07:34:56 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v9.0.0-alpha.23) | ||
Thu, 20 May 2021 07:34:56 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-alpha.22..@fluentui/react-utilities_v9.0.0-alpha.23) | ||
### Patches | ||
- Bump @fluentui/eslint-plugin to v1.3.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com) | ||
- Bump @fluentui/keyboard-key to v0.3.1 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com) | ||
- Bump @fluentui/scripts to v1.0.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com) | ||
### Changes | ||
- ComponentState: fix shadowing and doc syntax for type params ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com) | ||
## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v9.0.0-alpha.22) | ||
Wed, 19 May 2021 07:30:20 GMT | ||
Wed, 19 May 2021 07:34:20 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-alpha.21..@fluentui/react-utilities_v9.0.0-alpha.22) | ||
@@ -11,0 +26,0 @@ |
@@ -70,8 +70,8 @@ import * as React_2 from 'react'; | ||
* | ||
* @param Props - The component's Props type | ||
* @param RefType - The type of the state.ref property; e.g. `React.Ref<HTMLElement>` | ||
* @param ShorthandProps - The keys of Props that correspond to ShorthandProps | ||
* @param DefaultedProps - The keys of Props that will always have a default value provided | ||
* @template Props - The component's Props type | ||
* @template RefType - The type of the state.ref property; e.g. `React.Ref<HTMLElement>` | ||
* @template ShorthandPropNames - The keys of Props that correspond to ShorthandProps | ||
* @template DefaultedPropNames - The keys of Props that will always have a default value provided | ||
*/ | ||
export declare type ComponentState<RefType, Props, ShorthandProps extends keyof Props = never, DefaultedProps extends keyof ResolvedShorthandProps<Props, ShorthandProps> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandProps>, DefaultedProps> & { | ||
export declare type ComponentState<RefType, Props, ShorthandPropNames extends keyof Props = never, DefaultedPropNames extends keyof ResolvedShorthandProps<Props, ShorthandPropNames> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandPropNames>, DefaultedPropNames> & { | ||
as?: React_2.ElementType; | ||
@@ -78,0 +78,0 @@ ref: RefType; |
@@ -56,3 +56,3 @@ ## API Report File for "@fluentui/react-utilities" | ||
// @public | ||
export type ComponentState<RefType, Props, ShorthandProps extends keyof Props = never, DefaultedProps extends keyof ResolvedShorthandProps<Props, ShorthandProps> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandProps>, DefaultedProps> & { | ||
export type ComponentState<RefType, Props, ShorthandPropNames extends keyof Props = never, DefaultedPropNames extends keyof ResolvedShorthandProps<Props, ShorthandPropNames> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandPropNames>, DefaultedPropNames> & { | ||
as?: React_2.ElementType; | ||
@@ -59,0 +59,0 @@ ref: RefType; |
@@ -47,10 +47,10 @@ import * as React from 'react'; | ||
* | ||
* @param Props - The component's Props type | ||
* @param RefType - The type of the state.ref property; e.g. `React.Ref<HTMLElement>` | ||
* @param ShorthandProps - The keys of Props that correspond to ShorthandProps | ||
* @param DefaultedProps - The keys of Props that will always have a default value provided | ||
* @template Props - The component's Props type | ||
* @template RefType - The type of the state.ref property; e.g. `React.Ref<HTMLElement>` | ||
* @template ShorthandPropNames - The keys of Props that correspond to ShorthandProps | ||
* @template DefaultedPropNames - The keys of Props that will always have a default value provided | ||
*/ | ||
export declare type ComponentState<RefType, Props, ShorthandProps extends keyof Props = never, DefaultedProps extends keyof ResolvedShorthandProps<Props, ShorthandProps> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandProps>, DefaultedProps> & { | ||
export declare type ComponentState<RefType, Props, ShorthandPropNames extends keyof Props = never, DefaultedPropNames extends keyof ResolvedShorthandProps<Props, ShorthandPropNames> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandPropNames>, DefaultedPropNames> & { | ||
as?: React.ElementType; | ||
ref: RefType; | ||
}; |
@@ -50,3 +50,2 @@ define(["require", "exports", "react", "./canUseDOM"], function (require, exports, React, canUseDOM_1) { | ||
setIsSSR(false); | ||
// eslint-disable-next-line react-hooks/exhaustive-deps | ||
}, []); | ||
@@ -53,0 +52,0 @@ } |
@@ -47,10 +47,10 @@ import * as React from 'react'; | ||
* | ||
* @param Props - The component's Props type | ||
* @param RefType - The type of the state.ref property; e.g. `React.Ref<HTMLElement>` | ||
* @param ShorthandProps - The keys of Props that correspond to ShorthandProps | ||
* @param DefaultedProps - The keys of Props that will always have a default value provided | ||
* @template Props - The component's Props type | ||
* @template RefType - The type of the state.ref property; e.g. `React.Ref<HTMLElement>` | ||
* @template ShorthandPropNames - The keys of Props that correspond to ShorthandProps | ||
* @template DefaultedPropNames - The keys of Props that will always have a default value provided | ||
*/ | ||
export declare type ComponentState<RefType, Props, ShorthandProps extends keyof Props = never, DefaultedProps extends keyof ResolvedShorthandProps<Props, ShorthandProps> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandProps>, DefaultedProps> & { | ||
export declare type ComponentState<RefType, Props, ShorthandPropNames extends keyof Props = never, DefaultedPropNames extends keyof ResolvedShorthandProps<Props, ShorthandPropNames> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandPropNames>, DefaultedPropNames> & { | ||
as?: React.ElementType; | ||
ref: RefType; | ||
}; |
@@ -78,3 +78,3 @@ "use strict"; | ||
React.useLayoutEffect(function () { | ||
setIsSSR(false); // eslint-disable-next-line react-hooks/exhaustive-deps | ||
setIsSSR(false); | ||
}, []); | ||
@@ -81,0 +81,0 @@ } |
@@ -47,10 +47,10 @@ import * as React from 'react'; | ||
* | ||
* @param Props - The component's Props type | ||
* @param RefType - The type of the state.ref property; e.g. `React.Ref<HTMLElement>` | ||
* @param ShorthandProps - The keys of Props that correspond to ShorthandProps | ||
* @param DefaultedProps - The keys of Props that will always have a default value provided | ||
* @template Props - The component's Props type | ||
* @template RefType - The type of the state.ref property; e.g. `React.Ref<HTMLElement>` | ||
* @template ShorthandPropNames - The keys of Props that correspond to ShorthandProps | ||
* @template DefaultedPropNames - The keys of Props that will always have a default value provided | ||
*/ | ||
export declare type ComponentState<RefType, Props, ShorthandProps extends keyof Props = never, DefaultedProps extends keyof ResolvedShorthandProps<Props, ShorthandProps> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandProps>, DefaultedProps> & { | ||
export declare type ComponentState<RefType, Props, ShorthandPropNames extends keyof Props = never, DefaultedPropNames extends keyof ResolvedShorthandProps<Props, ShorthandPropNames> = never> = RequiredProps<ResolvedShorthandProps<Props, ShorthandPropNames>, DefaultedPropNames> & { | ||
as?: React.ElementType; | ||
ref: RefType; | ||
}; |
@@ -65,3 +65,3 @@ import * as React from 'react'; | ||
React.useLayoutEffect(function () { | ||
setIsSSR(false); // eslint-disable-next-line react-hooks/exhaustive-deps | ||
setIsSSR(false); | ||
}, []); | ||
@@ -68,0 +68,0 @@ } |
{ | ||
"name": "@fluentui/react-utilities", | ||
"version": "9.0.0-alpha.22", | ||
"version": "9.0.0-alpha.23", | ||
"description": "A set of general React-specific utilities.", | ||
@@ -25,3 +25,3 @@ "main": "lib-commonjs/index.js", | ||
"devDependencies": { | ||
"@fluentui/eslint-plugin": "^1.2.0", | ||
"@fluentui/eslint-plugin": "^1.3.0", | ||
"@fluentui/scripts": "^1.0.0", | ||
@@ -38,3 +38,3 @@ "@types/enzyme": "3.10.3", | ||
"dependencies": { | ||
"@fluentui/keyboard-key": "^0.3.0", | ||
"@fluentui/keyboard-key": "^0.3.1", | ||
"tslib": "^2.1.0" | ||
@@ -41,0 +41,0 @@ }, |
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
617103
7157