@fluentui-react-native/focus-trap-zone 0.9.54 → 0.9.56
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 +76 -1
- package/CHANGELOG.md +23 -2
- package/lib/FocusTrapZone.d.ts +1 -1
- package/lib/FocusTrapZone.d.ts.map +1 -1
- package/lib/FocusTrapZone.js.map +1 -1
- package/lib/FocusTrapZone.types.d.ts +6 -6
- package/lib/FocusTrapZone.types.d.ts.map +1 -1
- package/lib-commonjs/FocusTrapZone.d.ts +1 -1
- package/lib-commonjs/FocusTrapZone.d.ts.map +1 -1
- package/lib-commonjs/FocusTrapZone.js.map +1 -1
- package/lib-commonjs/FocusTrapZone.types.d.ts +6 -6
- package/lib-commonjs/FocusTrapZone.types.d.ts.map +1 -1
- package/lib-commonjs/__tests__/FocusTrapZone.test.js +5 -1
- package/lib-commonjs/__tests__/FocusTrapZone.test.js.map +1 -1
- package/package.json +20 -14
- package/src/FocusTrapZone.ts +3 -2
- package/src/FocusTrapZone.types.ts +3 -3
- package/src/__tests__/FocusTrapZone.test.tsx +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,82 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/focus-trap-zone",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Wed,
|
|
5
|
+
"date": "Wed, 01 Feb 2023 22:30:10 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/focus-trap-zone_v0.9.56",
|
|
7
|
+
"version": "0.9.56",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
13
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910",
|
|
14
|
+
"comment": "Enable @typescript-eslint/consistent-type-imports"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/adapters to v0.10.1",
|
|
20
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/component-cache to v1.4.3",
|
|
26
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
31
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.22.15",
|
|
32
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
37
|
+
"comment": "Bump @uifabricshared/foundation-composable to v0.11.2",
|
|
38
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
43
|
+
"comment": "Bump @uifabricshared/foundation-settings to v0.12.2",
|
|
44
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Mon, 30 Jan 2023 15:17:31 GMT",
|
|
51
|
+
"tag": "@fluentui-react-native/focus-trap-zone_v0.9.55",
|
|
52
|
+
"version": "0.9.55",
|
|
53
|
+
"comments": {
|
|
54
|
+
"none": [
|
|
55
|
+
{
|
|
56
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
57
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
58
|
+
"commit": "4de4c2b37c835ebd9af015ff767f9dd68452f786",
|
|
59
|
+
"comment": "Migrate to align-deps"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"date": "Mon, 30 Jan 2023 07:12:38 GMT",
|
|
66
|
+
"tag": "@fluentui-react-native/focus-trap-zone_v0.9.55",
|
|
67
|
+
"version": "0.9.55",
|
|
68
|
+
"comments": {
|
|
69
|
+
"patch": [
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@fluentui-react-native/focus-trap-zone",
|
|
73
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.22.14",
|
|
74
|
+
"commit": "f6f403b2efe86a229448a618b043601ceefd9a5f"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"date": "Wed, 25 Jan 2023 21:31:18 GMT",
|
|
6
81
|
"tag": "@fluentui-react-native/focus-trap-zone_v0.9.54",
|
|
7
82
|
"version": "0.9.54",
|
|
8
83
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/focus-trap-zone
|
|
2
2
|
|
|
3
|
-
This log was last generated on Wed,
|
|
3
|
+
This log was last generated on Wed, 01 Feb 2023 22:30:10 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.9.56
|
|
8
|
+
|
|
9
|
+
Wed, 01 Feb 2023 22:30:10 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Enable @typescript-eslint/consistent-type-imports (30809111+acoates-ms@users.noreply.github.com)
|
|
14
|
+
- Bump @fluentui-react-native/adapters to v0.10.1
|
|
15
|
+
- Bump @fluentui-react-native/component-cache to v1.4.3
|
|
16
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.22.15
|
|
17
|
+
- Bump @uifabricshared/foundation-composable to v0.11.2
|
|
18
|
+
- Bump @uifabricshared/foundation-settings to v0.12.2
|
|
19
|
+
|
|
20
|
+
## 0.9.55
|
|
21
|
+
|
|
22
|
+
Mon, 30 Jan 2023 07:12:38 GMT
|
|
23
|
+
|
|
24
|
+
### Patches
|
|
25
|
+
|
|
26
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.22.14
|
|
27
|
+
|
|
7
28
|
## 0.9.54
|
|
8
29
|
|
|
9
|
-
Wed, 25 Jan 2023 21:
|
|
30
|
+
Wed, 25 Jan 2023 21:31:18 GMT
|
|
10
31
|
|
|
11
32
|
### Patches
|
|
12
33
|
|
package/lib/FocusTrapZone.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFocusTrapZoneProps, IFocusTrapZoneSlotProps } from './FocusTrapZone.types';
|
|
1
|
+
import type { IFocusTrapZoneProps, IFocusTrapZoneSlotProps } from './FocusTrapZone.types';
|
|
2
2
|
export declare function filterOutComponentRef(propName: string): boolean;
|
|
3
3
|
export declare const FocusTrapZone: import("@uifabricshared/foundation-composable").IWithComposable<import("react").FunctionComponent<IFocusTrapZoneProps<import("@fluentui-react-native/adapters").IViewProps>>, import("@uifabricshared/foundation-composable").IComposable<IFocusTrapZoneProps<import("@fluentui-react-native/adapters").IViewProps>, IFocusTrapZoneSlotProps<import("@fluentui-react-native/adapters").IViewProps>, object>>;
|
|
4
4
|
//# sourceMappingURL=FocusTrapZone.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.d.ts","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAsB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.d.ts","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAsB,MAAM,uBAAuB,CAAC;AAS9G,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED,eAAO,MAAM,aAAa,8YAUxB,CAAC"}
|
package/lib/FocusTrapZone.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,IAAM,gBAAgB,GAAG,qBAAqB,CAAC,kBAAkB,CAAC,CAAC;AAEnE,MAAM,UAAU,qBAAqB,CAAC,QAAgB;IACpD,OAAO,QAAQ,KAAK,cAAc,CAAC;AACrC,CAAC;AAED,MAAM,CAAC,IAAM,aAAa,GAAG,UAAU,CAAqB;IAC1D,eAAe,EAAE,UAAC,SAA8B,EAAE,UAA2C;QAC3F,IAAM,MAAM,GAAG,mBAAmB,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC3D,OAAO;YACL,SAAS,EAAE,aAAa,CAA0B,UAAU,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,wBAAO,SAAS,KAAE,GAAG,EAAE,MAAM,GAAE,EAAE,CAAC;SAClH,CAAC;IACJ,CAAC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,qBAAqB,EAAE;KACpE;CACF,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IViewProps } from '@fluentui-react-native/adapters';
|
|
3
|
-
import { IFocusable } from '@fluentui-react-native/interactive-hooks';
|
|
4
|
-
export
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { IViewProps } from '@fluentui-react-native/adapters';
|
|
3
|
+
import type { IFocusable } from '@fluentui-react-native/interactive-hooks';
|
|
4
|
+
export type IFocusTrapZoneProps<TBase = IViewProps> = TBase & {
|
|
5
5
|
/**
|
|
6
6
|
* A RefObject to access the IFocusTrapZone interface. Use this to access the public methods and properties of the component.
|
|
7
7
|
*/
|
|
@@ -32,10 +32,10 @@ export declare type IFocusTrapZoneProps<TBase = IViewProps> = TBase & {
|
|
|
32
32
|
*/
|
|
33
33
|
ignoreExternalFocusing?: boolean;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
35
|
+
export type IFocusTrapZoneSlotProps<TBase = IViewProps> = {
|
|
36
36
|
root: React.PropsWithRef<Omit<IFocusTrapZoneProps<TBase>, 'componentRef'>>;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type IFocusTrapZoneType<TBase = IViewProps> = {
|
|
39
39
|
props: IFocusTrapZoneProps<TBase>;
|
|
40
40
|
slotProps: IFocusTrapZoneSlotProps<TBase>;
|
|
41
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.types.d.ts","sourceRoot":"","sources":["../src/FocusTrapZone.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.types.d.ts","sourceRoot":"","sources":["../src/FocusTrapZone.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE3E,MAAM,MAAM,mBAAmB,CAAC,KAAK,GAAG,UAAU,IAAI,KAAK,GAAG;IAC5D;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IAC3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;;OAKG;IACH,kCAAkC,CAAC,EAAE,OAAO,CAAC;IAC7C;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,uBAAuB,CAAC,KAAK,GAAG,UAAU,IAAI;IACxD,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC;CAC5E,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,KAAK,GAAG,UAAU,IAAI;IACnD,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAClC,SAAS,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC;CAC3C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFocusTrapZoneProps, IFocusTrapZoneSlotProps } from './FocusTrapZone.types';
|
|
1
|
+
import type { IFocusTrapZoneProps, IFocusTrapZoneSlotProps } from './FocusTrapZone.types';
|
|
2
2
|
export declare function filterOutComponentRef(propName: string): boolean;
|
|
3
3
|
export declare const FocusTrapZone: import("@uifabricshared/foundation-composable").IWithComposable<import("react").FunctionComponent<IFocusTrapZoneProps<import("@fluentui-react-native/adapters").IViewProps>>, import("@uifabricshared/foundation-composable").IComposable<IFocusTrapZoneProps<import("@fluentui-react-native/adapters").IViewProps>, IFocusTrapZoneSlotProps<import("@fluentui-react-native/adapters").IViewProps>, object>>;
|
|
4
4
|
//# sourceMappingURL=FocusTrapZone.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.d.ts","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAsB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.d.ts","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAsB,MAAM,uBAAuB,CAAC;AAS9G,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED,eAAO,MAAM,aAAa,8YAUxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.js","sourceRoot":"","sources":["../src/FocusTrapZone.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,+EAAmE;AACnE,2EAAoE;AACpE,8EAA+E;AAC/E,0EAA+E;AAE/E,IAAM,gBAAgB,GAAG,IAAA,uCAAqB,EAAC,kBAAkB,CAAC,CAAC;AAEnE,SAAgB,qBAAqB,CAAC,QAAgB;IACpD,OAAO,QAAQ,KAAK,cAAc,CAAC;AACrC,CAAC;AAFD,sDAEC;AAEY,QAAA,aAAa,GAAG,IAAA,kCAAU,EAAqB;IAC1D,eAAe,EAAE,UAAC,SAA8B,EAAE,UAA2C;QAC3F,IAAM,MAAM,GAAG,IAAA,uCAAmB,EAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC3D,OAAO;YACL,SAAS,EAAE,IAAA,mCAAa,EAA0B,UAAU,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,wBAAO,SAAS,KAAE,GAAG,EAAE,MAAM,GAAE,EAAE,CAAC;SAClH,CAAC;IACJ,CAAC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,qBAAqB,EAAE;KACpE;CACF,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IViewProps } from '@fluentui-react-native/adapters';
|
|
3
|
-
import { IFocusable } from '@fluentui-react-native/interactive-hooks';
|
|
4
|
-
export
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { IViewProps } from '@fluentui-react-native/adapters';
|
|
3
|
+
import type { IFocusable } from '@fluentui-react-native/interactive-hooks';
|
|
4
|
+
export type IFocusTrapZoneProps<TBase = IViewProps> = TBase & {
|
|
5
5
|
/**
|
|
6
6
|
* A RefObject to access the IFocusTrapZone interface. Use this to access the public methods and properties of the component.
|
|
7
7
|
*/
|
|
@@ -32,10 +32,10 @@ export declare type IFocusTrapZoneProps<TBase = IViewProps> = TBase & {
|
|
|
32
32
|
*/
|
|
33
33
|
ignoreExternalFocusing?: boolean;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
35
|
+
export type IFocusTrapZoneSlotProps<TBase = IViewProps> = {
|
|
36
36
|
root: React.PropsWithRef<Omit<IFocusTrapZoneProps<TBase>, 'componentRef'>>;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type IFocusTrapZoneType<TBase = IViewProps> = {
|
|
39
39
|
props: IFocusTrapZoneProps<TBase>;
|
|
40
40
|
slotProps: IFocusTrapZoneSlotProps<TBase>;
|
|
41
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.types.d.ts","sourceRoot":"","sources":["../src/FocusTrapZone.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.types.d.ts","sourceRoot":"","sources":["../src/FocusTrapZone.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE3E,MAAM,MAAM,mBAAmB,CAAC,KAAK,GAAG,UAAU,IAAI,KAAK,GAAG;IAC5D;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IAC3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;;OAKG;IACH,kCAAkC,CAAC,EAAE,OAAO,CAAC;IAC7C;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,uBAAuB,CAAC,KAAK,GAAG,UAAU,IAAI;IACxD,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC;CAC5E,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,KAAK,GAAG,UAAU,IAAI;IACnD,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAClC,SAAS,EAAE,uBAAuB,CAAC,KAAK,CAAC,CAAC;CAC3C,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrapZone.test.js","sourceRoot":"","sources":["../../src/__tests__/FocusTrapZone.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FocusTrapZone.test.js","sourceRoot":"","sources":["../../src/__tests__/FocusTrapZone.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAC/B,wBAAmC;AACnC,4DAAgD;AAGhD,EAAE,CAAC,6BAA6B,EAAE;IAChC,IAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,oBAAC,iBAAa,OAAG,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,+BAA+B,EAAE;IAClC,IAAM,GAAG,GAAgC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3D,IAAM,IAAI,GAAG,QAAQ;SAClB,MAAM,CAAC,oBAAC,iBAAa,IAAC,YAAY,EAAE,GAAG,EAAE,iBAAiB,QAAC,QAAQ,QAAC,sBAAsB,QAAC,kCAAkC,SAAG,CAAC;SACjI,MAAM,EAAE,CAAC;IACZ,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/focus-trap-zone",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.56",
|
|
4
4
|
"description": "A cross-platform FocusTrapZone component using the Fluent Design System",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"directory": "packages/components/FocusTrapZone"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@fluentui-react-native/adapters": ">=0.10.
|
|
26
|
-
"@fluentui-react-native/component-cache": "^1.4.
|
|
27
|
-
"@fluentui-react-native/interactive-hooks": ">=0.22.
|
|
28
|
-
"@uifabricshared/foundation-composable": ">=0.11.
|
|
29
|
-
"@uifabricshared/foundation-settings": ">=0.12.
|
|
25
|
+
"@fluentui-react-native/adapters": ">=0.10.1 <1.0.0",
|
|
26
|
+
"@fluentui-react-native/component-cache": "^1.4.3",
|
|
27
|
+
"@fluentui-react-native/interactive-hooks": ">=0.22.15 <1.0.0",
|
|
28
|
+
"@uifabricshared/foundation-composable": ">=0.11.2 <1.0.0",
|
|
29
|
+
"@uifabricshared/foundation-settings": ">=0.12.2 <1.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
|
@@ -43,14 +43,20 @@
|
|
|
43
43
|
"author": "",
|
|
44
44
|
"license": "MIT",
|
|
45
45
|
"rnx-kit": {
|
|
46
|
-
"reactNativeVersion": "^0.68",
|
|
47
|
-
"reactNativeDevVersion": "^0.68",
|
|
48
46
|
"kitType": "library",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
47
|
+
"alignDeps": {
|
|
48
|
+
"presets": [
|
|
49
|
+
"microsoft/react-native"
|
|
50
|
+
],
|
|
51
|
+
"requirements": [
|
|
52
|
+
"react-native@0.68"
|
|
53
|
+
],
|
|
54
|
+
"capabilities": [
|
|
55
|
+
"core",
|
|
56
|
+
"core-android",
|
|
57
|
+
"core-ios",
|
|
58
|
+
"react"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
55
61
|
}
|
|
56
62
|
}
|
package/src/FocusTrapZone.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { IFocusTrapZoneProps, IFocusTrapZoneSlotProps, IFocusTrapZoneType } from './FocusTrapZone.types';
|
|
2
|
-
import { IUseStyling
|
|
1
|
+
import type { IFocusTrapZoneProps, IFocusTrapZoneSlotProps, IFocusTrapZoneType } from './FocusTrapZone.types';
|
|
2
|
+
import type { IUseStyling } from '@uifabricshared/foundation-composable';
|
|
3
|
+
import { composable } from '@uifabricshared/foundation-composable';
|
|
3
4
|
import { mergeSettings } from '@uifabricshared/foundation-settings';
|
|
4
5
|
import { useViewCommandFocus } from '@fluentui-react-native/interactive-hooks';
|
|
5
6
|
import { ensureNativeComponent } from '@fluentui-react-native/component-cache';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IViewProps } from '@fluentui-react-native/adapters';
|
|
3
|
-
import { IFocusable } from '@fluentui-react-native/interactive-hooks';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { IViewProps } from '@fluentui-react-native/adapters';
|
|
3
|
+
import type { IFocusable } from '@fluentui-react-native/interactive-hooks';
|
|
4
4
|
|
|
5
5
|
export type IFocusTrapZoneProps<TBase = IViewProps> = TBase & {
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { FocusTrapZone } from '..';
|
|
3
3
|
import * as renderer from 'react-test-renderer';
|
|
4
|
-
import { IFocusable } from '@fluentui-react-native/interactive-hooks';
|
|
4
|
+
import type { IFocusable } from '@fluentui-react-native/interactive-hooks';
|
|
5
5
|
|
|
6
6
|
it('FocusTrapZone default props', () => {
|
|
7
7
|
const tree = renderer.create(<FocusTrapZone />).toJSON();
|