@fluentui/react-aria
Advanced tools
Comparing version 9.0.0-alpha.24 to 9.0.0-alpha.25
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Tue, 31 Aug 2021 07:34:22 GMT", | ||
"date": "Wed, 01 Sep 2021 07:37:53 GMT", | ||
"tag": "@fluentui/react-aria_v9.0.0-alpha.25", | ||
"version": "9.0.0-alpha.25", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Updates react-aria to use root as slot", | ||
"author": "bsunderhus@microsoft.com", | ||
"commit": "40254a1b07bd51affd276e51af0b1d517714b45c", | ||
"package": "@fluentui/react-aria" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 31 Aug 2021 07:37:47 GMT", | ||
"tag": "@fluentui/react-aria_v9.0.0-alpha.24", | ||
@@ -8,0 +23,0 @@ "version": "9.0.0-alpha.24", |
# Change Log - @fluentui/react-aria | ||
This log was last generated on Tue, 31 Aug 2021 07:34:22 GMT and should not be manually modified. | ||
This log was last generated on Wed, 01 Sep 2021 07:37:53 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.25) | ||
Wed, 01 Sep 2021 07:37:53 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.24..@fluentui/react-aria_v9.0.0-alpha.25) | ||
### Changes | ||
- Updates react-aria to use root as slot ([PR #19483](https://github.com/microsoft/fluentui/pull/19483) by bsunderhus@microsoft.com) | ||
## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.24) | ||
Tue, 31 Aug 2021 07:34:22 GMT | ||
Tue, 31 Aug 2021 07:37:47 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.23..@fluentui/react-aria_v9.0.0-alpha.24) | ||
@@ -11,0 +20,0 @@ |
import type { ObjectShorthandProps } from '@fluentui/react-utilities'; | ||
import * as React_2 from 'react'; | ||
import type { ResolveShorthandOptions } from '@fluentui/react-utilities'; | ||
import type { ShorthandProps } from '@fluentui/react-utilities'; | ||
export declare type ARIAButtonAsAnchorProps = React_2.AnchorHTMLAttributes<HTMLAnchorElement> & { | ||
as: 'a'; | ||
}; | ||
export declare type ARIAButtonShorthandProps = ObjectShorthandProps<JSX.IntrinsicElements['button'], HTMLButtonElement, 'button'> | ObjectShorthandProps<JSX.IntrinsicElements['div'], HTMLDivElement, 'div'> | ObjectShorthandProps<JSX.IntrinsicElements['span'], HTMLSpanElement, 'span'> | ObjectShorthandProps<JSX.IntrinsicElements['a'], HTMLAnchorElement, 'a'>; | ||
export declare type ARIAButtonAsButtonProps = React_2.ButtonHTMLAttributes<HTMLButtonElement> & { | ||
as?: 'button'; | ||
}; | ||
export declare type ARIAButtonAsElementProps = React_2.HTMLAttributes<HTMLElement> & { | ||
as: 'div' | 'span'; | ||
}; | ||
export declare type ARIAButtonProps = ARIAButtonAsButtonProps | ARIAButtonAsElementProps | ARIAButtonAsAnchorProps; | ||
/** | ||
@@ -25,4 +12,4 @@ * button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec | ||
*/ | ||
export declare function useARIAButton<Required extends boolean = false>(value: ShorthandProps<ARIAButtonProps>, options?: ResolveShorthandOptions<ARIAButtonProps, Required>): Required extends false ? ObjectShorthandProps<ARIAButtonProps> | undefined : ObjectShorthandProps<ARIAButtonProps>; | ||
export declare function useARIAButton<Required extends boolean = false>(value: ShorthandProps<ARIAButtonShorthandProps>, options?: ResolveShorthandOptions<ARIAButtonShorthandProps, Required>): Required extends false ? ARIAButtonShorthandProps | undefined : ARIAButtonShorthandProps; | ||
export { } |
@@ -1,13 +0,3 @@ | ||
import * as React from 'react'; | ||
import type { ObjectShorthandProps, ResolveShorthandOptions, ShorthandProps } from '@fluentui/react-utilities'; | ||
export declare type ARIAButtonAsButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & { | ||
as?: 'button'; | ||
}; | ||
export declare type ARIAButtonAsElementProps = React.HTMLAttributes<HTMLElement> & { | ||
as: 'div' | 'span'; | ||
}; | ||
export declare type ARIAButtonAsAnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & { | ||
as: 'a'; | ||
}; | ||
export declare type ARIAButtonProps = ARIAButtonAsButtonProps | ARIAButtonAsElementProps | ARIAButtonAsAnchorProps; | ||
export declare type ARIAButtonShorthandProps = ObjectShorthandProps<JSX.IntrinsicElements['button'], HTMLButtonElement, 'button'> | ObjectShorthandProps<JSX.IntrinsicElements['div'], HTMLDivElement, 'div'> | ObjectShorthandProps<JSX.IntrinsicElements['span'], HTMLSpanElement, 'span'> | ObjectShorthandProps<JSX.IntrinsicElements['a'], HTMLAnchorElement, 'a'>; | ||
/** | ||
@@ -18,2 +8,2 @@ * button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec | ||
*/ | ||
export declare function useARIAButton<Required extends boolean = false>(value: ShorthandProps<ARIAButtonProps>, options?: ResolveShorthandOptions<ARIAButtonProps, Required>): Required extends false ? ObjectShorthandProps<ARIAButtonProps> | undefined : ObjectShorthandProps<ARIAButtonProps>; | ||
export declare function useARIAButton<Required extends boolean = false>(value: ShorthandProps<ARIAButtonShorthandProps>, options?: ResolveShorthandOptions<ARIAButtonShorthandProps, Required>): Required extends false ? ARIAButtonShorthandProps | undefined : ARIAButtonShorthandProps; |
@@ -1,13 +0,3 @@ | ||
import * as React from 'react'; | ||
import type { ObjectShorthandProps, ResolveShorthandOptions, ShorthandProps } from '@fluentui/react-utilities'; | ||
export declare type ARIAButtonAsButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & { | ||
as?: 'button'; | ||
}; | ||
export declare type ARIAButtonAsElementProps = React.HTMLAttributes<HTMLElement> & { | ||
as: 'div' | 'span'; | ||
}; | ||
export declare type ARIAButtonAsAnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & { | ||
as: 'a'; | ||
}; | ||
export declare type ARIAButtonProps = ARIAButtonAsButtonProps | ARIAButtonAsElementProps | ARIAButtonAsAnchorProps; | ||
export declare type ARIAButtonShorthandProps = ObjectShorthandProps<JSX.IntrinsicElements['button'], HTMLButtonElement, 'button'> | ObjectShorthandProps<JSX.IntrinsicElements['div'], HTMLDivElement, 'div'> | ObjectShorthandProps<JSX.IntrinsicElements['span'], HTMLSpanElement, 'span'> | ObjectShorthandProps<JSX.IntrinsicElements['a'], HTMLAnchorElement, 'a'>; | ||
/** | ||
@@ -18,2 +8,2 @@ * button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec | ||
*/ | ||
export declare function useARIAButton<Required extends boolean = false>(value: ShorthandProps<ARIAButtonProps>, options?: ResolveShorthandOptions<ARIAButtonProps, Required>): Required extends false ? ObjectShorthandProps<ARIAButtonProps> | undefined : ObjectShorthandProps<ARIAButtonProps>; | ||
export declare function useARIAButton<Required extends boolean = false>(value: ShorthandProps<ARIAButtonShorthandProps>, options?: ResolveShorthandOptions<ARIAButtonShorthandProps, Required>): Required extends false ? ARIAButtonShorthandProps | undefined : ARIAButtonShorthandProps; |
@@ -1,13 +0,3 @@ | ||
import * as React from 'react'; | ||
import type { ObjectShorthandProps, ResolveShorthandOptions, ShorthandProps } from '@fluentui/react-utilities'; | ||
export declare type ARIAButtonAsButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & { | ||
as?: 'button'; | ||
}; | ||
export declare type ARIAButtonAsElementProps = React.HTMLAttributes<HTMLElement> & { | ||
as: 'div' | 'span'; | ||
}; | ||
export declare type ARIAButtonAsAnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & { | ||
as: 'a'; | ||
}; | ||
export declare type ARIAButtonProps = ARIAButtonAsButtonProps | ARIAButtonAsElementProps | ARIAButtonAsAnchorProps; | ||
export declare type ARIAButtonShorthandProps = ObjectShorthandProps<JSX.IntrinsicElements['button'], HTMLButtonElement, 'button'> | ObjectShorthandProps<JSX.IntrinsicElements['div'], HTMLDivElement, 'div'> | ObjectShorthandProps<JSX.IntrinsicElements['span'], HTMLSpanElement, 'span'> | ObjectShorthandProps<JSX.IntrinsicElements['a'], HTMLAnchorElement, 'a'>; | ||
/** | ||
@@ -18,2 +8,2 @@ * button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec | ||
*/ | ||
export declare function useARIAButton<Required extends boolean = false>(value: ShorthandProps<ARIAButtonProps>, options?: ResolveShorthandOptions<ARIAButtonProps, Required>): Required extends false ? ObjectShorthandProps<ARIAButtonProps> | undefined : ObjectShorthandProps<ARIAButtonProps>; | ||
export declare function useARIAButton<Required extends boolean = false>(value: ShorthandProps<ARIAButtonShorthandProps>, options?: ResolveShorthandOptions<ARIAButtonShorthandProps, Required>): Required extends false ? ARIAButtonShorthandProps | undefined : ARIAButtonShorthandProps; |
{ | ||
"name": "@fluentui/react-aria", | ||
"version": "9.0.0-alpha.24", | ||
"version": "9.0.0-alpha.25", | ||
"description": "React helper to ensure ARIA", | ||
@@ -28,3 +28,3 @@ "main": "lib-commonjs/index.js", | ||
"@fluentui/eslint-plugin": "^1.4.1", | ||
"@fluentui/jest-serializer-make-styles": "^9.0.0-alpha.35", | ||
"@fluentui/jest-serializer-make-styles": "^9.0.0-alpha.36", | ||
"@fluentui/react-conformance": "^0.4.4", | ||
@@ -45,4 +45,4 @@ "@fluentui/scripts": "^1.0.0", | ||
"@fluentui/keyboard-keys": "^9.0.0-alpha.3", | ||
"@fluentui/react-make-styles": "^9.0.0-alpha.60", | ||
"@fluentui/react-utilities": "^9.0.0-alpha.42", | ||
"@fluentui/react-make-styles": "^9.0.0-alpha.61", | ||
"@fluentui/react-utilities": "^9.0.0-alpha.43", | ||
"tslib": "^2.1.0" | ||
@@ -49,0 +49,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
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
74644
958