@fluentui-react-native/focus-zone 0.11.42 → 0.12.0
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 +55 -1
- package/CHANGELOG.md +22 -2
- package/lib/FocusZone.types.d.ts +2 -2
- package/lib/FocusZone.types.d.ts.map +1 -1
- package/lib-commonjs/FocusZone.types.d.ts +2 -2
- package/lib-commonjs/FocusZone.types.d.ts.map +1 -1
- package/package.json +11 -12
- package/src/FocusZone.types.ts +2 -2
- package/src/__tests__/__snapshots__/FocusZone.test.tsx.snap +504 -96
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,61 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/focus-zone",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 05 Jun 2023 19:19:48 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/focus-zone_v0.12.0",
|
|
7
|
+
"version": "0.12.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "sanajmi@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/focus-zone",
|
|
13
|
+
"commit": "8c0f9d27e34913da82c00299c12c399877257325",
|
|
14
|
+
"comment": "Upgrade to React Native 0.71"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/focus-zone",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/component-cache to v1.5.0",
|
|
20
|
+
"commit": "8c0f9d27e34913da82c00299c12c399877257325"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/focus-zone",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.23.0",
|
|
26
|
+
"commit": "8c0f9d27e34913da82c00299c12c399877257325"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/focus-zone",
|
|
31
|
+
"comment": "Bump @uifabricshared/foundation-composable to v0.12.0",
|
|
32
|
+
"commit": "8c0f9d27e34913da82c00299c12c399877257325"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui-react-native/focus-zone",
|
|
37
|
+
"comment": "Bump @uifabricshared/foundation-settings to v0.13.0",
|
|
38
|
+
"commit": "8c0f9d27e34913da82c00299c12c399877257325"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"date": "Tue, 30 May 2023 20:34:15 GMT",
|
|
45
|
+
"tag": "@fluentui-react-native/focus-zone_v0.11.43",
|
|
46
|
+
"version": "0.11.43",
|
|
47
|
+
"comments": {
|
|
48
|
+
"patch": [
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui-react-native/focus-zone",
|
|
52
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.22.31",
|
|
53
|
+
"commit": "09fa3b65fd9d29f4dc4769e1e479fb5a82812979"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"date": "Wed, 03 May 2023 07:08:52 GMT",
|
|
6
60
|
"tag": "@fluentui-react-native/focus-zone_v0.11.42",
|
|
7
61
|
"version": "0.11.42",
|
|
8
62
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/focus-zone
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 05 Jun 2023 19:19:48 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.12.0
|
|
8
|
+
|
|
9
|
+
Mon, 05 Jun 2023 19:19:48 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Upgrade to React Native 0.71 (sanajmi@microsoft.com)
|
|
14
|
+
- Bump @fluentui-react-native/component-cache to v1.5.0
|
|
15
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.23.0
|
|
16
|
+
- Bump @uifabricshared/foundation-composable to v0.12.0
|
|
17
|
+
- Bump @uifabricshared/foundation-settings to v0.13.0
|
|
18
|
+
|
|
19
|
+
## 0.11.43
|
|
20
|
+
|
|
21
|
+
Tue, 30 May 2023 20:34:15 GMT
|
|
22
|
+
|
|
23
|
+
### Patches
|
|
24
|
+
|
|
25
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.22.31
|
|
26
|
+
|
|
7
27
|
## 0.11.42
|
|
8
28
|
|
|
9
|
-
Wed, 03 May 2023 07:
|
|
29
|
+
Wed, 03 May 2023 07:08:52 GMT
|
|
10
30
|
|
|
11
31
|
### Patches
|
|
12
32
|
|
package/lib/FocusZone.types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { IRenderData } from '@uifabricshared/foundation-composable';
|
|
|
4
4
|
export declare const focusZoneName = "FocusZone";
|
|
5
5
|
export interface FocusZoneState {
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type FocusZoneProps = React.PropsWithChildren<{
|
|
8
8
|
/**
|
|
9
9
|
* A RefObject to access the IFocusable interface. Use this to access the public methods and properties of the component.
|
|
10
10
|
*/
|
|
@@ -31,7 +31,7 @@ export interface FocusZoneProps {
|
|
|
31
31
|
* Callback called when “focus” event triggered in FocusZone
|
|
32
32
|
*/
|
|
33
33
|
onFocus?: (e?: any) => void;
|
|
34
|
-
}
|
|
34
|
+
}>;
|
|
35
35
|
export interface NativeProps extends Omit<FocusZoneProps, 'isCircularNavigation'> {
|
|
36
36
|
navigateAtEnd?: NavigateAtEnd;
|
|
37
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusZone.types.d.ts","sourceRoot":"","sources":["../src/FocusZone.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,eAAO,MAAM,aAAa,cAAc,CAAC;AAEzC,MAAM,WAAW,cAAc;CAAG;AAElC,MAAM,
|
|
1
|
+
{"version":3,"file":"FocusZone.types.d.ts","sourceRoot":"","sources":["../src/FocusZone.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,eAAO,MAAM,aAAa,cAAc,CAAC;AAEzC,MAAM,WAAW,cAAc;CAAG;AAElC,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACnD;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IAE3C;;OAEG;IACH,sBAAsB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAE1D;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAGnB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;CAC7B,CAAC,CAAC;AAEH,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,cAAc,EAAE,sBAAsB,CAAC;IAC/E,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED,MAAM,MAAM,kBAAkB,GAC1B,eAAe,CAAC,2BAA2B,GAC3C,UAAU,CAAC,oCAAoC,GAC/C,YAAY,CAAC,uCAAuC,GACpD,MAAM,CAAC,CAAC,yCAAyC;AAErD,MAAM,MAAM,aAAa,GACrB,oBAAoB,GACpB,cAAc,GACd,kBAAkB,CAAC;AAEvB,MAAM,WAAW,eAAe;CAAG;AAEnC,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC;AAElF,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,KAAK,EAAE,cAAc,CAAC;CACvB"}
|
|
@@ -4,7 +4,7 @@ import type { IRenderData } from '@uifabricshared/foundation-composable';
|
|
|
4
4
|
export declare const focusZoneName = "FocusZone";
|
|
5
5
|
export interface FocusZoneState {
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type FocusZoneProps = React.PropsWithChildren<{
|
|
8
8
|
/**
|
|
9
9
|
* A RefObject to access the IFocusable interface. Use this to access the public methods and properties of the component.
|
|
10
10
|
*/
|
|
@@ -31,7 +31,7 @@ export interface FocusZoneProps {
|
|
|
31
31
|
* Callback called when “focus” event triggered in FocusZone
|
|
32
32
|
*/
|
|
33
33
|
onFocus?: (e?: any) => void;
|
|
34
|
-
}
|
|
34
|
+
}>;
|
|
35
35
|
export interface NativeProps extends Omit<FocusZoneProps, 'isCircularNavigation'> {
|
|
36
36
|
navigateAtEnd?: NavigateAtEnd;
|
|
37
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusZone.types.d.ts","sourceRoot":"","sources":["../src/FocusZone.types.ts"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AAM,kBAAkB,GAC1B,eAAe,CAAC,2BAA2B,GAC3C,UAAU,CAAC,oCAAoC,GAC/C,YAAY,CAAC,uCAAuC,GACpD,MAAM,CAAC,CAAC,yCAAyC;AAErD,MAAM,MAAM,aAAa,GACrB,oBAAoB,GACpB,cAAc,GACd,kBAAkB,CAAC;AAEvB,MAAM,WAAW,eAAe;CAAG;AAEnC,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC;AAElF,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,KAAK,EAAE,cAAc,CAAC;CACvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/focus-zone",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "A cross-platform FocusZone component using the Fluent Design System",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -22,22 +22,21 @@
|
|
|
22
22
|
"directory": "packages/components/FocusZone"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@fluentui-react-native/component-cache": "^1.
|
|
26
|
-
"@fluentui-react-native/interactive-hooks": ">=0.
|
|
27
|
-
"@uifabricshared/foundation-composable": ">=0.
|
|
28
|
-
"@uifabricshared/foundation-settings": ">=0.
|
|
25
|
+
"@fluentui-react-native/component-cache": "^1.5.0",
|
|
26
|
+
"@fluentui-react-native/interactive-hooks": ">=0.23.0 <1.0.0",
|
|
27
|
+
"@uifabricshared/foundation-composable": ">=0.12.0 <1.0.0",
|
|
28
|
+
"@uifabricshared/foundation-settings": ">=0.13.0 <1.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
|
32
32
|
"@fluentui-react-native/scripts": "^0.1.1",
|
|
33
|
-
"@office-iss/react-native-win32": "^0.
|
|
34
|
-
"
|
|
35
|
-
"react": "
|
|
36
|
-
"react-native": "^0.68.0"
|
|
33
|
+
"@office-iss/react-native-win32": "^0.71.0",
|
|
34
|
+
"react": "18.2.0",
|
|
35
|
+
"react-native": "^0.71.0"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
39
|
-
"react": "
|
|
40
|
-
"react-native": "^0.
|
|
38
|
+
"react": "18.2.0",
|
|
39
|
+
"react-native": "^0.71.0"
|
|
41
40
|
},
|
|
42
41
|
"author": "",
|
|
43
42
|
"license": "MIT",
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
"microsoft/react-native"
|
|
49
48
|
],
|
|
50
49
|
"requirements": [
|
|
51
|
-
"react-native@0.
|
|
50
|
+
"react-native@0.71"
|
|
52
51
|
],
|
|
53
52
|
"capabilities": [
|
|
54
53
|
"core",
|
package/src/FocusZone.types.ts
CHANGED
|
@@ -7,7 +7,7 @@ export const focusZoneName = 'FocusZone';
|
|
|
7
7
|
|
|
8
8
|
export interface FocusZoneState {}
|
|
9
9
|
|
|
10
|
-
export
|
|
10
|
+
export type FocusZoneProps = React.PropsWithChildren<{
|
|
11
11
|
/**
|
|
12
12
|
* A RefObject to access the IFocusable interface. Use this to access the public methods and properties of the component.
|
|
13
13
|
*/
|
|
@@ -41,7 +41,7 @@ export interface FocusZoneProps {
|
|
|
41
41
|
* Callback called when “focus” event triggered in FocusZone
|
|
42
42
|
*/
|
|
43
43
|
onFocus?: (e?: any) => void;
|
|
44
|
-
}
|
|
44
|
+
}>;
|
|
45
45
|
|
|
46
46
|
export interface NativeProps extends Omit<FocusZoneProps, 'isCircularNavigation'> {
|
|
47
47
|
navigateAtEnd?: NavigateAtEnd;
|