@fluentui-react-native/focus-zone 0.20.0 → 0.21.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 +46 -1
- package/CHANGELOG.md +18 -2
- package/lib/FocusZoneNativeComponent.d.ts +3 -2
- package/lib/FocusZoneNativeComponent.d.ts.map +1 -1
- package/lib/FocusZoneNativeComponent.js.map +1 -1
- package/lib-commonjs/FocusZoneNativeComponent.d.ts +3 -2
- package/lib-commonjs/FocusZoneNativeComponent.d.ts.map +1 -1
- package/lib-commonjs/FocusZoneNativeComponent.js.map +1 -1
- package/package.json +23 -16
- package/src/FocusZoneNativeComponent.ts +6 -2
- package/src/codegenTypes.d.ts +2 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,52 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/focus-zone",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 12 Jun 2025 03:17:17 GMT",
|
|
6
|
+
"version": "0.21.1",
|
|
7
|
+
"tag": "@fluentui-react-native/focus-zone_v0.21.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui-react-native/focus-zone",
|
|
13
|
+
"commit": "24b9abab3370f008afd2dbb304751fc9af6bec4a",
|
|
14
|
+
"comment": "Add support for React Native 0.74"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Wed, 11 Jun 2025 19:34:54 GMT",
|
|
21
|
+
"version": "0.21.0",
|
|
22
|
+
"tag": "@fluentui-react-native/focus-zone_v0.21.0",
|
|
23
|
+
"comments": {
|
|
24
|
+
"none": [
|
|
25
|
+
{
|
|
26
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
27
|
+
"package": "@fluentui-react-native/focus-zone",
|
|
28
|
+
"commit": "2342b87a20e5a584bd2073c8c5a266f0aa48c8bb",
|
|
29
|
+
"comment": "Added missing dev dependencies"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Mon, 10 Mar 2025 18:14:09 GMT",
|
|
36
|
+
"version": "0.21.0",
|
|
37
|
+
"tag": "@fluentui-react-native/focus-zone_v0.21.0",
|
|
38
|
+
"comments": {
|
|
39
|
+
"minor": [
|
|
40
|
+
{
|
|
41
|
+
"author": "patboyd@microsoft.com",
|
|
42
|
+
"package": "@fluentui-react-native/focus-zone",
|
|
43
|
+
"commit": "525b7ad0cf989c4d9a9db2efd70ade0431a48f7b",
|
|
44
|
+
"comment": "Add static typing to the FocusZoneNativeComponent defaultTabbableElement type for fabric usage of the id/nativeID string type"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Fri, 07 Mar 2025 17:23:29 GMT",
|
|
6
51
|
"version": "0.20.0",
|
|
7
52
|
"tag": "@fluentui-react-native/focus-zone_v0.20.0",
|
|
8
53
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
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 Thu, 12 Jun 2025 03:17:17 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.21.1
|
|
8
|
+
|
|
9
|
+
Thu, 12 Jun 2025 03:17:17 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Add support for React Native 0.74 (4123478+tido64@users.noreply.github.com)
|
|
14
|
+
|
|
15
|
+
## 0.21.0
|
|
16
|
+
|
|
17
|
+
Mon, 10 Mar 2025 18:14:09 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- Add static typing to the FocusZoneNativeComponent defaultTabbableElement type for fabric usage of the id/nativeID string type (patboyd@microsoft.com)
|
|
22
|
+
|
|
7
23
|
## 0.20.0
|
|
8
24
|
|
|
9
|
-
Fri, 07 Mar 2025 17:
|
|
25
|
+
Fri, 07 Mar 2025 17:23:29 GMT
|
|
10
26
|
|
|
11
27
|
### Minor changes
|
|
12
28
|
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
* @format
|
|
5
5
|
*/
|
|
6
6
|
import type { HostComponent, ViewProps } from 'react-native';
|
|
7
|
-
import type {
|
|
7
|
+
import type { WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
8
|
+
import type { UnsafeMixed } from './codegenTypes';
|
|
8
9
|
export interface NativeProps extends ViewProps {
|
|
9
10
|
navigateAtEnd?: WithDefault<'NavigateStopAtEnds' | 'NavigateWrap' | 'NavigateContinue', 'NavigateStopAtEnds'>;
|
|
10
|
-
defaultTabbableElement?:
|
|
11
|
+
defaultTabbableElement?: UnsafeMixed;
|
|
11
12
|
focusZoneDirection?: WithDefault<'bidirectional' | 'vertical' | 'horizontal' | 'none', 'bidirectional'>;
|
|
12
13
|
use2DNavigation?: boolean;
|
|
13
14
|
tabKeyNavigation?: WithDefault<'None' | 'NavigateWrap' | 'NavigateStopAtEnds' | 'Normal', 'None'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusZoneNativeComponent.d.ts","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FocusZoneNativeComponent.d.ts","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAG7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAIlD,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,aAAa,CAAC,EAAE,WAAW,CAAC,oBAAoB,GAAG,cAAc,GAAG,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;IAC9G,sBAAsB,CAAC,EAAE,WAAW,CAAC;IACrC,kBAAkB,CAAC,EAAE,WAAW,CAAC,eAAe,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,EAAE,eAAe,CAAC,CAAC;IACxG,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,GAAG,cAAc,GAAG,oBAAoB,GAAG,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;;AAED,wBAAiG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusZoneNativeComponent.js","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;
|
|
1
|
+
{"version":3,"file":"FocusZoneNativeComponent.js","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAgB7F,eAAe,sBAAsB,CAAc,cAAc,CAA+B,CAAC"}
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
* @format
|
|
5
5
|
*/
|
|
6
6
|
import type { HostComponent, ViewProps } from 'react-native';
|
|
7
|
-
import type {
|
|
7
|
+
import type { WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
8
|
+
import type { UnsafeMixed } from './codegenTypes';
|
|
8
9
|
export interface NativeProps extends ViewProps {
|
|
9
10
|
navigateAtEnd?: WithDefault<'NavigateStopAtEnds' | 'NavigateWrap' | 'NavigateContinue', 'NavigateStopAtEnds'>;
|
|
10
|
-
defaultTabbableElement?:
|
|
11
|
+
defaultTabbableElement?: UnsafeMixed;
|
|
11
12
|
focusZoneDirection?: WithDefault<'bidirectional' | 'vertical' | 'horizontal' | 'none', 'bidirectional'>;
|
|
12
13
|
use2DNavigation?: boolean;
|
|
13
14
|
tabKeyNavigation?: WithDefault<'None' | 'NavigateWrap' | 'NavigateStopAtEnds' | 'Normal', 'None'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusZoneNativeComponent.d.ts","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FocusZoneNativeComponent.d.ts","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAG7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAIlD,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,aAAa,CAAC,EAAE,WAAW,CAAC,oBAAoB,GAAG,cAAc,GAAG,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;IAC9G,sBAAsB,CAAC,EAAE,WAAW,CAAC;IACrC,kBAAkB,CAAC,EAAE,WAAW,CAAC,eAAe,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,EAAE,eAAe,CAAC,CAAC;IACxG,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,GAAG,cAAc,GAAG,oBAAoB,GAAG,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;;AAED,wBAAiG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusZoneNativeComponent.js","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAKH,mHAA6F;
|
|
1
|
+
{"version":3,"file":"FocusZoneNativeComponent.js","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAKH,mHAA6F;AAgB7F,kBAAe,IAAA,gCAAsB,EAAc,cAAc,CAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/focus-zone",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.1",
|
|
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,26 +22,28 @@
|
|
|
22
22
|
"directory": "packages/components/FocusZone"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@fluentui-react-native/adapters": "0.13.
|
|
26
|
-
"@fluentui-react-native/interactive-hooks": "0.27.
|
|
27
|
-
"@uifabricshared/foundation-composable": "0.13.
|
|
28
|
-
"@uifabricshared/foundation-settings": "0.15.
|
|
25
|
+
"@fluentui-react-native/adapters": "0.13.1",
|
|
26
|
+
"@fluentui-react-native/interactive-hooks": "0.27.5",
|
|
27
|
+
"@uifabricshared/foundation-composable": "0.13.2",
|
|
28
|
+
"@uifabricshared/foundation-settings": "0.15.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
+
"@babel/core": "^7.20.0",
|
|
31
32
|
"@fluentui-react-native/eslint-config-rules": "0.1.1",
|
|
32
33
|
"@fluentui-react-native/scripts": "0.1.1",
|
|
33
|
-
"@office-iss/react-native-win32": "^0.
|
|
34
|
-
"@react-native/babel-preset": "^0.
|
|
35
|
-
"@react-native/metro-config": "^0.
|
|
34
|
+
"@office-iss/react-native-win32": "^0.74.0",
|
|
35
|
+
"@react-native/babel-preset": "^0.74.0",
|
|
36
|
+
"@react-native/metro-config": "^0.74.0",
|
|
37
|
+
"@types/react": "~18.2.0",
|
|
36
38
|
"react": "18.2.0",
|
|
37
|
-
"react-native": "^0.
|
|
39
|
+
"react-native": "^0.74.0"
|
|
38
40
|
},
|
|
39
41
|
"peerDependencies": {
|
|
40
|
-
"@office-iss/react-native-win32": "^0.
|
|
42
|
+
"@office-iss/react-native-win32": "^0.74.0",
|
|
41
43
|
"react": "18.2.0",
|
|
42
|
-
"react-native": "^0.73.0",
|
|
43
|
-
"react-native-macos": "^0.73.0",
|
|
44
|
-
"react-native-windows": "^0.73.0"
|
|
44
|
+
"react-native": "^0.73.0 || ^0.74.0",
|
|
45
|
+
"react-native-macos": "^0.73.0 || ^0.74.0",
|
|
46
|
+
"react-native-windows": "^0.73.0 || ^0.74.0"
|
|
45
47
|
},
|
|
46
48
|
"author": "",
|
|
47
49
|
"license": "MIT",
|
|
@@ -51,9 +53,14 @@
|
|
|
51
53
|
"presets": [
|
|
52
54
|
"microsoft/react-native"
|
|
53
55
|
],
|
|
54
|
-
"requirements":
|
|
55
|
-
"
|
|
56
|
-
|
|
56
|
+
"requirements": {
|
|
57
|
+
"development": [
|
|
58
|
+
"react-native@0.74"
|
|
59
|
+
],
|
|
60
|
+
"production": [
|
|
61
|
+
"react-native@0.73 || 0.74"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
57
64
|
"capabilities": [
|
|
58
65
|
"core",
|
|
59
66
|
"core-android",
|
|
@@ -6,12 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
import type { HostComponent, ViewProps } from 'react-native';
|
|
8
8
|
|
|
9
|
-
import type {
|
|
9
|
+
import type { WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
10
10
|
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
11
11
|
|
|
12
|
+
import type { UnsafeMixed } from './codegenTypes';
|
|
13
|
+
// Should be:
|
|
14
|
+
// import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
|
|
15
|
+
|
|
12
16
|
export interface NativeProps extends ViewProps {
|
|
13
17
|
navigateAtEnd?: WithDefault<'NavigateStopAtEnds' | 'NavigateWrap' | 'NavigateContinue', 'NavigateStopAtEnds'>;
|
|
14
|
-
defaultTabbableElement?:
|
|
18
|
+
defaultTabbableElement?: UnsafeMixed;
|
|
15
19
|
focusZoneDirection?: WithDefault<'bidirectional' | 'vertical' | 'horizontal' | 'none', 'bidirectional'>;
|
|
16
20
|
use2DNavigation?: boolean;
|
|
17
21
|
tabKeyNavigation?: WithDefault<'None' | 'NavigateWrap' | 'NavigateStopAtEnds' | 'Normal', 'None'>;
|