@fluentui/react-aria 0.0.0-nightly8dfa71215620220118.1 → 0.0.0-nightly940de09b9520220131.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +23 -23
- package/CHANGELOG.md +9 -10
- package/dist/react-aria.d.ts +5 -5
- package/lib/hooks/useARIAButton.d.ts +3 -3
- package/lib/hooks/useARIAButton.js.map +1 -1
- package/lib/utils/mergeARIADisabled.d.ts +2 -2
- package/lib-commonjs/hooks/useARIAButton.d.ts +3 -3
- package/lib-commonjs/hooks/useARIAButton.js.map +1 -1
- package/lib-commonjs/utils/mergeARIADisabled.d.ts +2 -2
- package/package.json +4 -7
package/CHANGELOG.json
CHANGED
|
@@ -2,55 +2,55 @@
|
|
|
2
2
|
"name": "@fluentui/react-aria",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"tag": "@fluentui/react-aria_v0.0.0-
|
|
7
|
-
"version": "0.0.0-
|
|
5
|
+
"date": "Mon, 31 Jan 2022 04:15:56 GMT",
|
|
6
|
+
"tag": "@fluentui/react-aria_v0.0.0-nightly940de09b9520220131.1",
|
|
7
|
+
"version": "0.0.0-nightly940de09b9520220131.1",
|
|
8
8
|
"comments": {
|
|
9
9
|
"prerelease": [
|
|
10
10
|
{
|
|
11
11
|
"author": "email not defined",
|
|
12
12
|
"package": "@fluentui/react-aria",
|
|
13
|
-
"commit": "
|
|
13
|
+
"commit": "7343cc2ca2eaca5e933abf6a8b8b57f910107cc4",
|
|
14
14
|
"comment": "Release nightly v9"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"author": "
|
|
18
|
-
"package": "@fluentui/react-aria",
|
|
19
|
-
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
|
20
|
-
"comment": "Remove component's shorthandProps array"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"author": "beachball",
|
|
17
|
+
"author": "olfedias@microsoft.com",
|
|
24
18
|
"package": "@fluentui/react-aria",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
19
|
+
"commit": "f4eafee2c3b8d85b3a267d6b155f0f5585a435fd",
|
|
20
|
+
"comment": "remove Griffel packages"
|
|
27
21
|
},
|
|
28
22
|
{
|
|
29
|
-
"author": "
|
|
23
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
|
30
24
|
"package": "@fluentui/react-aria",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
25
|
+
"commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
|
|
26
|
+
"comment": "Updating based on changes to composition types."
|
|
33
27
|
},
|
|
34
28
|
{
|
|
35
|
-
"author": "
|
|
29
|
+
"author": "behowell@microsoft.com",
|
|
36
30
|
"package": "@fluentui/react-aria",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
31
|
+
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
|
32
|
+
"comment": "Remove component's shorthandProps array"
|
|
39
33
|
},
|
|
40
34
|
{
|
|
41
35
|
"author": "beachball",
|
|
42
36
|
"package": "@fluentui/react-aria",
|
|
43
|
-
"comment": "Bump @fluentui/
|
|
44
|
-
"commit": "
|
|
37
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly940de09b9520220131.1",
|
|
38
|
+
"commit": "7343cc2ca2eaca5e933abf6a8b8b57f910107cc4"
|
|
45
39
|
},
|
|
46
40
|
{
|
|
47
41
|
"author": "beachball",
|
|
48
42
|
"package": "@fluentui/react-aria",
|
|
49
|
-
"comment": "Bump @fluentui/
|
|
50
|
-
"commit": "
|
|
43
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly940de09b9520220131.1",
|
|
44
|
+
"commit": "7343cc2ca2eaca5e933abf6a8b8b57f910107cc4"
|
|
51
45
|
}
|
|
52
46
|
],
|
|
53
47
|
"none": [
|
|
48
|
+
{
|
|
49
|
+
"author": "olfedias@microsoft.com",
|
|
50
|
+
"package": "@fluentui/react-aria",
|
|
51
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
|
52
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
|
53
|
+
},
|
|
54
54
|
{
|
|
55
55
|
"author": "martinhochel@microsoft.com",
|
|
56
56
|
"package": "@fluentui/react-aria",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-aria
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 31 Jan 2022 04:15:56 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [0.0.0-
|
|
7
|
+
## [0.0.0-nightly940de09b9520220131.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v0.0.0-nightly940de09b9520220131.1)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.4..@fluentui/react-aria_v0.0.0-
|
|
9
|
+
Mon, 31 Jan 2022 04:15:56 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-beta.4..@fluentui/react-aria_v0.0.0-nightly940de09b9520220131.1)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/7343cc2ca2eaca5e933abf6a8b8b57f910107cc4) by email not defined)
|
|
15
|
+
- remove Griffel packages ([PR #21440](https://github.com/microsoft/fluentui/pull/21440) by olfedias@microsoft.com)
|
|
16
|
+
- Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
|
|
15
17
|
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
|
|
16
|
-
- Bump @fluentui/keyboard-keys to v0.0.0-
|
|
17
|
-
- Bump @fluentui/react-
|
|
18
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly8dfa71215620220118.1 ([commit](https://github.com/microsoft/fluentui/commit/88cddfc0c80b8e37df557740279661f628c46698) by beachball)
|
|
19
|
-
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly8dfa71215620220118.1 ([commit](https://github.com/microsoft/fluentui/commit/88cddfc0c80b8e37df557740279661f628c46698) by beachball)
|
|
20
|
-
- Bump @fluentui/babel-make-styles to v0.0.0-nightly8dfa71215620220118.1 ([commit](https://github.com/microsoft/fluentui/commit/88cddfc0c80b8e37df557740279661f628c46698) by beachball)
|
|
18
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightly940de09b9520220131.1 ([commit](https://github.com/microsoft/fluentui/commit/7343cc2ca2eaca5e933abf6a8b8b57f910107cc4) by beachball)
|
|
19
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly940de09b9520220131.1 ([commit](https://github.com/microsoft/fluentui/commit/7343cc2ca2eaca5e933abf6a8b8b57f910107cc4) by beachball)
|
|
21
20
|
|
|
22
21
|
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-beta.4)
|
|
23
22
|
|
package/dist/react-aria.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { ObjectShorthandProps } from '@fluentui/react-utilities';
|
|
1
|
+
import type { IntrinsicSlotProps } from '@fluentui/react-utilities';
|
|
3
2
|
import * as React_2 from 'react';
|
|
4
3
|
import type { ResolveShorthandOptions } from '@fluentui/react-utilities';
|
|
5
4
|
import type { ShorthandProps } from '@fluentui/react-utilities';
|
|
5
|
+
import { SlotProps } from '@fluentui/react-utilities';
|
|
6
6
|
|
|
7
|
-
export declare type
|
|
7
|
+
export declare type ARIAButtonSlotProps = IntrinsicSlotProps<'button', 'a'> & {
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
disabledFocusable?: boolean;
|
|
10
10
|
};
|
|
@@ -12,7 +12,7 @@ export declare type ARIAButtonShorthandProps = IntrinsicShorthandProps<'button',
|
|
|
12
12
|
/**
|
|
13
13
|
* Merges disabled declaration with `aria-disabled`
|
|
14
14
|
*/
|
|
15
|
-
export declare function mergeARIADisabled(shorthand:
|
|
15
|
+
export declare function mergeARIADisabled(shorthand: SlotProps<{
|
|
16
16
|
'aria-disabled'?: string | boolean;
|
|
17
17
|
children?: React_2.ReactNode;
|
|
18
18
|
disabled?: boolean;
|
|
@@ -23,6 +23,6 @@ export declare function mergeARIADisabled(shorthand: ObjectShorthandProps<{
|
|
|
23
23
|
* for multiple scenarios of shorthand properties. Ensuring 1st rule of ARIA for cases
|
|
24
24
|
* where no attribute addition is required.
|
|
25
25
|
*/
|
|
26
|
-
export declare function useARIAButton<Required extends boolean = false>(shorthand: ShorthandProps<
|
|
26
|
+
export declare function useARIAButton<Required extends boolean = false>(shorthand: ShorthandProps<ARIAButtonSlotProps>, options?: ResolveShorthandOptions<ARIAButtonSlotProps, Required>): Required extends false ? ARIAButtonSlotProps | undefined : ARIAButtonSlotProps;
|
|
27
27
|
|
|
28
28
|
export { }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare type
|
|
1
|
+
import type { IntrinsicSlotProps, ResolveShorthandOptions, ShorthandProps } from '@fluentui/react-utilities';
|
|
2
|
+
export declare type ARIAButtonSlotProps = IntrinsicSlotProps<'button', 'a'> & {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
disabledFocusable?: boolean;
|
|
5
5
|
};
|
|
@@ -8,4 +8,4 @@ export declare type ARIAButtonShorthandProps = IntrinsicShorthandProps<'button',
|
|
|
8
8
|
* for multiple scenarios of shorthand properties. Ensuring 1st rule of ARIA for cases
|
|
9
9
|
* where no attribute addition is required.
|
|
10
10
|
*/
|
|
11
|
-
export declare function useARIAButton<Required extends boolean = false>(shorthand: ShorthandProps<
|
|
11
|
+
export declare function useARIAButton<Required extends boolean = false>(shorthand: ShorthandProps<ARIAButtonSlotProps>, options?: ResolveShorthandOptions<ARIAButtonSlotProps, Required>): Required extends false ? ARIAButtonSlotProps | undefined : ARIAButtonSlotProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/hooks/useARIAButton.ts"],"names":[],"mappings":"AAAA,SAAS,KAAT,EAAgB,KAAhB,QAA6B,yBAA7B;AACA,SAAS,gBAAT,EAA2B,gBAA3B,QAAmD,2BAAnD;AAQA;;;;AAIG;;AACH,OAAM,SAAU,aAAV,CACJ,SADI,EAEJ,OAFI,
|
|
1
|
+
{"version":3,"sources":["../../src/hooks/useARIAButton.ts"],"names":[],"mappings":"AAAA,SAAS,KAAT,EAAgB,KAAhB,QAA6B,yBAA7B;AACA,SAAS,gBAAT,EAA2B,gBAA3B,QAAmD,2BAAnD;AAQA;;;;AAIG;;AACH,OAAM,SAAU,aAAV,CACJ,SADI,EAEJ,OAFI,EAE4D;;;AAEhE,QAAM,cAAc,GAAG,gBAAgB,CAAC,SAAD,EAAY,OAAZ,CAAvC;AAEA,QAAM;AAAE,IAAA,QAAF;AAAY,IAAA,iBAAZ;AAA+B,IAAA,OAA/B;AAAwC,IAAA,SAAxC;AAAmD,IAAA,OAAnD;AAA4D,IAAA;AAA5D,MAA0E,cAAc,IAC5F,EADF;AAGA,QAAM,cAAc,GAAmC,gBAAgB,CAAC,EAAE,IAAG;AAC3E,QAAI,QAAQ,IAAI,iBAAhB,EAAmC;AACjC,MAAA,EAAE,CAAC,cAAH;AACA,MAAA,EAAE,CAAC,eAAH;AACD,KAHD,MAGO;AACL,MAAA,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAG,EAAH,CAAP;AACD;AACF,GAPsE,CAAvE;AASA,QAAM,gBAAgB,GAAqC,gBAAgB,CAA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ui/react-utilities';
|
|
3
3
|
/**
|
|
4
4
|
* Merges disabled declaration with `aria-disabled`
|
|
5
5
|
*/
|
|
6
|
-
export declare function mergeARIADisabled(shorthand:
|
|
6
|
+
export declare function mergeARIADisabled(shorthand: SlotProps<{
|
|
7
7
|
'aria-disabled'?: string | boolean;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare type
|
|
1
|
+
import type { IntrinsicSlotProps, ResolveShorthandOptions, ShorthandProps } from '@fluentui/react-utilities';
|
|
2
|
+
export declare type ARIAButtonSlotProps = IntrinsicSlotProps<'button', 'a'> & {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
disabledFocusable?: boolean;
|
|
5
5
|
};
|
|
@@ -8,4 +8,4 @@ export declare type ARIAButtonShorthandProps = IntrinsicShorthandProps<'button',
|
|
|
8
8
|
* for multiple scenarios of shorthand properties. Ensuring 1st rule of ARIA for cases
|
|
9
9
|
* where no attribute addition is required.
|
|
10
10
|
*/
|
|
11
|
-
export declare function useARIAButton<Required extends boolean = false>(shorthand: ShorthandProps<
|
|
11
|
+
export declare function useARIAButton<Required extends boolean = false>(shorthand: ShorthandProps<ARIAButtonSlotProps>, options?: ResolveShorthandOptions<ARIAButtonSlotProps, Required>): Required extends false ? ARIAButtonSlotProps | undefined : ARIAButtonSlotProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/hooks/useARIAButton.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAQA;;;;AAIG;;;AACH,SAAgB,aAAhB,CACE,SADF,EAEE,OAFF,
|
|
1
|
+
{"version":3,"sources":["../../src/hooks/useARIAButton.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,eAAA,gBAAA,OAAA,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ACD;AACF,KAVD,CAYA;AAZA,SAaK;AACH,aAAO,cAAc,CAAC,QAAtB;AACA,MAAA,cAAc,CAAC,eAAD,CAAd,GAAkC,QAAQ,IAAI,iBAA9C;AACC,MAAA,cAA0C,CAAC,IAA3C,GAAkD,QAAQ,GACvD,SADuD,GAEtD,cAA0C,CAAC,IAF/C;AAGD,MAAA,cAAc,CAAC,OAAf,GAAyB,cAAzB;AACA,MAAA,cAAc,CAAC,SAAf,GAA2B,gBAA3B;AACA,MAAA,cAAc,CAAC,OAAf,GAAyB,cAAzB;AACA,MAAA,cAAc,CAAC,IAAf,GAAsB,CAAA,EAAA,GAAA,cAAc,CAAC,IAAf,MAAmB,IAAnB,IAAmB,EAAA,KAAA,KAAA,CAAnB,GAAmB,EAAnB,GAAuB,QAA7C;AACA,MAAA,cAAc,CAAC,QAAf,GAA0B,QAAQ,IAAI,CAAC,iBAAb,GAAiC,SAAjC,GAA6C,QAAQ,KAAA,IAAR,IAAA,QAAQ,KAAA,KAAA,CAAR,GAAA,QAAA,GAAY,CAAnF;AACD,KA1BiB,CA4BlB;;;AACA,WAAO,cAAc,CAAC,iBAAtB;AACD;;AAED,SAAO,cAAP;AACD;;AAnGD,OAAA,CAAA,aAAA,GAAA,aAAA","sourceRoot":""}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { SlotProps } from '@fluentui/react-utilities';
|
|
3
3
|
/**
|
|
4
4
|
* Merges disabled declaration with `aria-disabled`
|
|
5
5
|
*/
|
|
6
|
-
export declare function mergeARIADisabled(shorthand:
|
|
6
|
+
export declare function mergeARIADisabled(shorthand: SlotProps<{
|
|
7
7
|
'aria-disabled'?: string | boolean;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
disabled?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-aria",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-nightly940de09b9520220131.1",
|
|
4
4
|
"description": "React helper to ensure ARIA",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@fluentui/eslint-plugin": "*",
|
|
29
|
-
"@fluentui/jest-serializer-make-styles": "0.0.0-nightly8dfa71215620220118.1",
|
|
30
29
|
"@fluentui/react-conformance": "*",
|
|
31
30
|
"@fluentui/scripts": "^1.0.0",
|
|
32
31
|
"@types/enzyme": "3.10.3",
|
|
@@ -38,13 +37,11 @@
|
|
|
38
37
|
"enzyme-adapter-react-16": "^1.15.0",
|
|
39
38
|
"react": "16.8.6",
|
|
40
39
|
"react-dom": "16.8.6",
|
|
41
|
-
"react-test-renderer": "^16.3.0"
|
|
42
|
-
"@fluentui/babel-make-styles": "0.0.0-nightly8dfa71215620220118.1"
|
|
40
|
+
"react-test-renderer": "^16.3.0"
|
|
43
41
|
},
|
|
44
42
|
"dependencies": {
|
|
45
|
-
"@fluentui/keyboard-keys": "0.0.0-
|
|
46
|
-
"@fluentui/react-
|
|
47
|
-
"@fluentui/react-utilities": "0.0.0-nightly8dfa71215620220118.1",
|
|
43
|
+
"@fluentui/keyboard-keys": "0.0.0-nightly940de09b9520220131.1",
|
|
44
|
+
"@fluentui/react-utilities": "0.0.0-nightly940de09b9520220131.1",
|
|
48
45
|
"tslib": "^2.1.0"
|
|
49
46
|
},
|
|
50
47
|
"peerDependencies": {
|