@fluentui-react-native/focus-zone 0.21.15 → 0.22.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +41 -1
  2. package/lib/FocusZone.d.ts +5 -2
  3. package/lib/FocusZone.js +28 -30
  4. package/lib/FocusZone.js.map +1 -1
  5. package/lib/FocusZone.types.d.ts +74 -70
  6. package/lib/FocusZone.types.js +1 -1
  7. package/lib/FocusZoneNativeComponent.d.ts +10 -10
  8. package/lib/FocusZoneNativeComponent.d.ts.map +1 -1
  9. package/lib/FocusZoneNativeComponent.js +3 -3
  10. package/lib/FocusZoneNativeComponent.js.map +1 -1
  11. package/lib/__tests__/FocusZone.test.d.ts +1 -1
  12. package/lib/__tests__/FocusZone.test.js +134 -75
  13. package/lib/__tests__/FocusZone.test.js.map +1 -1
  14. package/lib/index.d.ts +13 -2
  15. package/lib/index.js +1 -1
  16. package/lib-commonjs/FocusZone.d.ts +5 -2
  17. package/lib-commonjs/FocusZone.js +91 -64
  18. package/lib-commonjs/FocusZone.js.map +1 -1
  19. package/lib-commonjs/FocusZone.types.d.ts +74 -70
  20. package/lib-commonjs/FocusZone.types.js +3 -3
  21. package/lib-commonjs/FocusZoneNativeComponent.d.ts +10 -10
  22. package/lib-commonjs/FocusZoneNativeComponent.d.ts.map +1 -1
  23. package/lib-commonjs/FocusZoneNativeComponent.js +5 -8
  24. package/lib-commonjs/FocusZoneNativeComponent.js.map +1 -1
  25. package/lib-commonjs/__tests__/FocusZone.test.d.ts +1 -1
  26. package/lib-commonjs/__tests__/FocusZone.test.js +194 -103
  27. package/lib-commonjs/__tests__/FocusZone.test.js.map +1 -1
  28. package/lib-commonjs/index.d.ts +13 -2
  29. package/lib-commonjs/index.js +17 -7
  30. package/lib-commonjs/index.js.map +1 -1
  31. package/package.json +62 -62
  32. package/src/FocusZoneNativeComponent.ts +3 -3
  33. package/src/__tests__/FocusZone.test.tsx +60 -48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,EAAE,IAAI,EAC5B,oBAAoB,EAAE,KAAK,EAC3B,kBAAkB,EAAC,UAAU;oBAE7B,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,GAAI,EAC3C,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,GAAI,EAC3C,KAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,GAAI;oBACjC,CACb,CAAC;QAAA,CACH,CAAC,CAAC;QACH,MAAM,CAAC,SAAU,CAAC,MAAM,EAAE,CAAC,CAAC,eAAe,EAAE,CAAC;IAAA,CAC/C,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC"}
package/lib/index.d.ts CHANGED
@@ -1,4 +1,15 @@
1
1
  export { focusZoneName } from './FocusZone.types';
2
- export type { FocusZoneDirection, FocusZoneProps, FocusZoneRenderData, FocusZoneSlotProps, FocusZoneState, FocusZoneTabNavigation, FocusZoneTokens, FocusZoneType, NativeProps, NavigateAtEnd, } from './FocusZone.types';
2
+ export type {
3
+ FocusZoneDirection,
4
+ FocusZoneProps,
5
+ FocusZoneRenderData,
6
+ FocusZoneSlotProps,
7
+ FocusZoneState,
8
+ FocusZoneTabNavigation,
9
+ FocusZoneTokens,
10
+ FocusZoneType,
11
+ NativeProps,
12
+ NavigateAtEnd,
13
+ } from './FocusZone.types';
3
14
  export { FocusZone } from './FocusZone';
4
- //# sourceMappingURL=index.d.ts.map
15
+ //# sourceMappingURL=index.d.ts.map
package/lib/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export { focusZoneName } from './FocusZone.types';
2
2
  export { FocusZone } from './FocusZone';
3
- //# sourceMappingURL=index.js.map
3
+ //# sourceMappingURL=index.js.map
@@ -5,5 +5,8 @@
5
5
  */
6
6
  import * as React from 'react';
7
7
  import type { FocusZoneProps, FocusZoneSlotProps } from './FocusZone.types';
8
- export declare const FocusZone: import("@uifabricshared/foundation-composable").IWithComposable<React.FunctionComponent<FocusZoneProps>, import("@uifabricshared/foundation-composable").IComposable<FocusZoneProps, FocusZoneSlotProps, {}>>;
9
- //# sourceMappingURL=FocusZone.d.ts.map
8
+ export declare const FocusZone: import('@uifabricshared/foundation-composable').IWithComposable<
9
+ React.FunctionComponent<FocusZoneProps>,
10
+ import('@uifabricshared/foundation-composable').IComposable<FocusZoneProps, FocusZoneSlotProps, {}>
11
+ >;
12
+ //# sourceMappingURL=FocusZone.d.ts.map
@@ -1,73 +1,100 @@
1
- "use strict";
1
+ 'use strict';
2
2
  /**
3
3
  * Copyright (c) Microsoft Corporation.
4
4
  * Licensed under the MIT License.
5
5
  * @format
6
6
  */
7
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
- if (k2 === undefined) k2 = k;
9
- var desc = Object.getOwnPropertyDescriptor(m, k);
10
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
- desc = { enumerable: true, get: function() { return m[k]; } };
12
- }
13
- Object.defineProperty(o, k2, desc);
14
- }) : (function(o, m, k, k2) {
15
- if (k2 === undefined) k2 = k;
16
- o[k2] = m[k];
17
- }));
18
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
19
- Object.defineProperty(o, "default", { enumerable: true, value: v });
20
- }) : function(o, v) {
21
- o["default"] = v;
22
- });
23
- var __importStar = (this && this.__importStar) || function (mod) {
24
- if (mod && mod.__esModule) return mod;
25
- var result = {};
26
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
27
- __setModuleDefault(result, mod);
28
- return result;
29
- };
30
- var __importDefault = (this && this.__importDefault) || function (mod) {
31
- return (mod && mod.__esModule) ? mod : { "default": mod };
32
- };
33
- Object.defineProperty(exports, "__esModule", { value: true });
7
+ var __createBinding =
8
+ (this && this.__createBinding) ||
9
+ (Object.create
10
+ ? function (o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ var desc = Object.getOwnPropertyDescriptor(m, k);
13
+ if (!desc || ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)) {
14
+ desc = {
15
+ enumerable: true,
16
+ get: function () {
17
+ return m[k];
18
+ },
19
+ };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }
23
+ : function (o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ o[k2] = m[k];
26
+ });
27
+ var __setModuleDefault =
28
+ (this && this.__setModuleDefault) ||
29
+ (Object.create
30
+ ? function (o, v) {
31
+ Object.defineProperty(o, 'default', { enumerable: true, value: v });
32
+ }
33
+ : function (o, v) {
34
+ o['default'] = v;
35
+ });
36
+ var __importStar =
37
+ (this && this.__importStar) ||
38
+ (function () {
39
+ var ownKeys = function (o) {
40
+ ownKeys =
41
+ Object.getOwnPropertyNames ||
42
+ function (o) {
43
+ var ar = [];
44
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
45
+ return ar;
46
+ };
47
+ return ownKeys(o);
48
+ };
49
+ return function (mod) {
50
+ if (mod && mod.__esModule) return mod;
51
+ var result = {};
52
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== 'default') __createBinding(result, mod, k[i]);
53
+ __setModuleDefault(result, mod);
54
+ return result;
55
+ };
56
+ })();
57
+ var __importDefault =
58
+ (this && this.__importDefault) ||
59
+ function (mod) {
60
+ return mod && mod.__esModule ? mod : { default: mod };
61
+ };
62
+ Object.defineProperty(exports, '__esModule', { value: true });
34
63
  exports.FocusZone = void 0;
35
- const React = __importStar(require("react"));
36
- const react_native_1 = require("react-native");
37
- const interactive_hooks_1 = require("@fluentui-react-native/interactive-hooks");
38
- const foundation_composable_1 = require("@uifabricshared/foundation-composable");
39
- const foundation_settings_1 = require("@uifabricshared/foundation-settings");
40
- const FocusZoneNativeComponent_1 = __importDefault(require("./FocusZoneNativeComponent"));
64
+ const React = __importStar(require('react'));
65
+ const react_native_1 = require('react-native');
66
+ const interactive_hooks_1 = require('@fluentui-react-native/interactive-hooks');
67
+ const foundation_composable_1 = require('@uifabricshared/foundation-composable');
68
+ const foundation_settings_1 = require('@uifabricshared/foundation-settings');
69
+ const FocusZoneNativeComponent_1 = __importDefault(require('./FocusZoneNativeComponent'));
41
70
  const filterOutComponentRef = (propName) => propName !== 'componentRef';
42
71
  exports.FocusZone = (0, foundation_composable_1.composable)({
43
- usePrepareProps: (userProps, useStyling) => {
44
- const { componentRef, defaultTabbableElement, isCircularNavigation, ...rest } = userProps;
45
- const ftzRef = (0, interactive_hooks_1.useViewCommandFocus)(componentRef);
46
- const [targetFirstFocus, setTargetFirstFocus] = React.useState(undefined);
47
- React.useLayoutEffect(() => {
48
- if (typeof defaultTabbableElement === 'string') {
49
- setTargetFirstFocus(defaultTabbableElement);
50
- }
51
- else if (defaultTabbableElement?.current) {
52
- setTargetFirstFocus((0, react_native_1.findNodeHandle)(defaultTabbableElement.current));
53
- }
54
- else {
55
- setTargetFirstFocus(undefined);
56
- }
57
- }, [defaultTabbableElement]);
58
- return {
59
- slotProps: (0, foundation_settings_1.mergeSettings)(useStyling(userProps), {
60
- root: {
61
- navigateAtEnd: isCircularNavigation ? 'NavigateWrap' : 'NavigateStopAtEnds',
62
- ...rest,
63
- defaultTabbableElement: targetFirstFocus,
64
- ref: ftzRef,
65
- },
66
- }),
67
- };
68
- },
69
- slots: {
70
- root: { slotType: FocusZoneNativeComponent_1.default, filter: filterOutComponentRef },
71
- },
72
+ usePrepareProps: (userProps, useStyling) => {
73
+ const { componentRef, defaultTabbableElement, isCircularNavigation, ...rest } = userProps;
74
+ const ftzRef = (0, interactive_hooks_1.useViewCommandFocus)(componentRef);
75
+ const [targetFirstFocus, setTargetFirstFocus] = React.useState(undefined);
76
+ React.useLayoutEffect(() => {
77
+ if (typeof defaultTabbableElement === 'string') {
78
+ setTargetFirstFocus(defaultTabbableElement);
79
+ } else if (defaultTabbableElement?.current) {
80
+ setTargetFirstFocus((0, react_native_1.findNodeHandle)(defaultTabbableElement.current));
81
+ } else {
82
+ setTargetFirstFocus(undefined);
83
+ }
84
+ }, [defaultTabbableElement]);
85
+ return {
86
+ slotProps: (0, foundation_settings_1.mergeSettings)(useStyling(userProps), {
87
+ root: {
88
+ navigateAtEnd: isCircularNavigation ? 'NavigateWrap' : 'NavigateStopAtEnds', // let rest override
89
+ ...rest,
90
+ defaultTabbableElement: targetFirstFocus,
91
+ ref: ftzRef,
92
+ },
93
+ }),
94
+ };
95
+ },
96
+ slots: {
97
+ root: { slotType: FocusZoneNativeComponent_1.default, filter: filterOutComponentRef },
98
+ },
72
99
  });
73
- //# sourceMappingURL=FocusZone.js.map
100
+ //# sourceMappingURL=FocusZone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FocusZone.js","sourceRoot":"","sources":["../src/FocusZone.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,6CAA+B;AAC/B,+CAA8C;AAE9C,gFAA+E;AAE/E,iFAAmE;AACnE,6EAAoE;AAGpE,0FAAsD;AAEtD,MAAM,qBAAqB,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,cAAc,CAAC;AAE3D,QAAA,SAAS,GAAG,IAAA,kCAAU,EAAgB;IACjD,eAAe,EAAE,CAAC,SAAyB,EAAE,UAAsC,EAAE,EAAE;QACrF,MAAM,EAAE,YAAY,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,GAAG,IAAI,EAAE,GAAG,SAAS,CAAC;QAE1F,MAAM,MAAM,GAAG,IAAA,uCAAmB,EAAC,YAAY,CAAC,CAAC;QAEjD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAkB,SAAS,CAAC,CAAC;QAC3F,KAAK,CAAC,eAAe,CAAC,GAAG,EAAE;YACzB,IAAI,OAAO,sBAAsB,KAAK,QAAQ,EAAE;gBAC9C,mBAAmB,CAAC,sB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YAAY,CAAC,CAAC;QAEjD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAkB,SAAS,CAAC,CAAC;QAC3F,KAAK,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC;YAC1B,IAAI,OAAO,sBAAsB,KAAK,QAAQ,EAAE,CAAC;gBAC/C,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;YAC9C,CAAC;iBAAM,IAAI,sBAAsB,EAAE,OAAO,EAAE,CAAC;gBAC3C,mBAAmB,CAAC,IAAA,6BAAc,EAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC,CAAC;YACtE,CAAC;iBAAM,CAAC;gBACN,mBAAmB,CAAC,SAAS,CAAC,CAAC;YACjC,CAAC;QAAA,CACF,EAAE,CAAC,sBAAsB,CAAC,CAAC,CAAC;QAE7B,OAAO;YACL,SAAS,EAAE,IAAA,mCAAa,EAAqB,UAAU,CAAC,SAAS,CAAC,EAAE;gBAClE,IAAI,EAAE;oBACJ,aAAa,EAAE,oBAAoB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,oBAAoB,EAAE,oBAAoB;oBACjG,GAAG,IAAI;oBACP,sBAAsB,EAAE,gBAAgB;oBACxC,GAAG,EAAE,MAAM;iBACZ;aACF,CAAC;SACH,CAAC;IAAA,CACH;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,QAAQ,EAAE,kCAAY,EAAE,MAAM,EAAE,qBAAqB,EAAE;KAChE;CACF,CAAC,CAAC"}
@@ -2,91 +2,95 @@ import type * as React from 'react';
2
2
  import type { IViewProps } from '@fluentui-react-native/adapters';
3
3
  import type { IFocusable } from '@fluentui-react-native/interactive-hooks';
4
4
  import type { IRenderData } from '@uifabricshared/foundation-composable';
5
- export declare const focusZoneName = "FocusZone";
5
+ export declare const focusZoneName = 'FocusZone';
6
6
  type EmptyInterface = {};
7
7
  export type FocusZoneState = EmptyInterface;
8
8
  export type FocusZoneProps = IViewProps & {
9
- /**
10
- * A RefObject to access the IFocusable interface. Use this to access the public methods and properties of the component.
11
- */
12
- componentRef?: React.RefObject<IFocusable>;
13
- /**
14
- * Optionally defines the initial tabbable element inside the FocusZone
15
- */
16
- defaultTabbableElement?: React.RefObject<React.Component> | string;
17
- /**
18
- ** Defines which arrows to react to
19
- */
20
- focusZoneDirection?: FocusZoneDirection;
21
- /**
22
- ** If set, the FocusZone will not be tabbable and keyboard navigation will be disabled
23
- */
24
- disabled?: boolean;
25
- isCircularNavigation?: boolean;
26
- /**
9
+ /**
10
+ * A RefObject to access the IFocusable interface. Use this to access the public methods and properties of the component.
11
+ */
12
+ componentRef?: React.RefObject<IFocusable>;
13
+ /**
14
+ * Optionally defines the initial tabbable element inside the FocusZone
15
+ */
16
+ defaultTabbableElement?: React.RefObject<React.Component> | string;
17
+ /**
18
+ ** Defines which arrows to react to
19
+ */
20
+ focusZoneDirection?: FocusZoneDirection;
21
+ /**
22
+ ** If set, the FocusZone will not be tabbable and keyboard navigation will be disabled
23
+ */
24
+ disabled?: boolean;
25
+ isCircularNavigation?: boolean;
26
+ /**
27
27
  *Allows for 2D navigation. This navigation strategy takes into account the position of elements
28
28
  on screen, and navigates in the direction the user selects to the nearest element.
29
29
  */
30
- use2DNavigation?: boolean;
31
- /**
32
- * By default, pressing Tab within a FocusZone moves focus out of the FocusZone.
33
- * This prop allows you to change that behavior.
34
- *
35
- * "None" : Default
36
- * "NavigateWrap" : Tab allowed within FZ with circular navigation behavior
37
- * "NavigateStopAtEnds" : Tab allowed within FZ and stops at ends
38
- * "Normal" : Tab allowed within FZ, and focus is not trapped. Tabbing at the last element bring you out of the FZ.
39
- *
40
- * Recommended Usage - Moving focus OUT of the FocusZone - Custom Key Handlers
41
- * Example: Subscribe to key events. On the pressing of "Escape", move focus out of the FocusZone.
42
- *
43
- * Recommended Usage - Moving focus INTO the FocusZone
44
- * Let's take a CardList, for example. If a user is navigating through elements of the List, we don't want
45
- * focus to land within the FocusZone on initial focus. If it does, it will trap focus within the FocusZone and
46
- * ruin the user's workflow.
47
- * Instead, once focus lands on the parent of the FocusZone, implement a custom key handler that will enable
48
- * the FocusZone.
49
- */
50
- tabKeyNavigation?: FocusZoneTabNavigation;
51
- /**
52
- * Callback called when “focus” event triggered in FocusZone
53
- */
54
- onFocus?: (e?: any) => void;
55
- /**
56
- * @platform macos
57
- * By default, the Apple KeyView loop is calculated based on the UI tree hierarchy, accessibility properties,
58
- * custom element overrides of navigation order, and positions in layout.
59
- *
60
- * Normally this produces the appropriate accessible experience for users, but occasionally we may need to
61
- * clarify the intended order of navigation. The navigationOrderInRenderOrder prop will have the FocusZone
62
- * establish the navigation order of its children according to their order in the UI tree
63
- * (i.e. as returned by accessibilityChildren).
64
- *
65
- * Note that to participate in the KeyView loop calculation, the FocusZone itself must be part of the
66
- * accessibility tree (i.e. 'accessible') with an appropriate role, e.g. 'group'.
67
- *
68
- * Extra note: This property is unlikely to perform well if changed from its initial value due to finer details
69
- * of the MacOS KeyView loop mechanics.
70
- */
71
- navigationOrderInRenderOrder?: boolean;
30
+ use2DNavigation?: boolean;
31
+ /**
32
+ * By default, pressing Tab within a FocusZone moves focus out of the FocusZone.
33
+ * This prop allows you to change that behavior.
34
+ *
35
+ * "None" : Default
36
+ * "NavigateWrap" : Tab allowed within FZ with circular navigation behavior
37
+ * "NavigateStopAtEnds" : Tab allowed within FZ and stops at ends
38
+ * "Normal" : Tab allowed within FZ, and focus is not trapped. Tabbing at the last element bring you out of the FZ.
39
+ *
40
+ * Recommended Usage - Moving focus OUT of the FocusZone - Custom Key Handlers
41
+ * Example: Subscribe to key events. On the pressing of "Escape", move focus out of the FocusZone.
42
+ *
43
+ * Recommended Usage - Moving focus INTO the FocusZone
44
+ * Let's take a CardList, for example. If a user is navigating through elements of the List, we don't want
45
+ * focus to land within the FocusZone on initial focus. If it does, it will trap focus within the FocusZone and
46
+ * ruin the user's workflow.
47
+ * Instead, once focus lands on the parent of the FocusZone, implement a custom key handler that will enable
48
+ * the FocusZone.
49
+ */
50
+ tabKeyNavigation?: FocusZoneTabNavigation;
51
+ /**
52
+ * Callback called when “focus” event triggered in FocusZone
53
+ */
54
+ onFocus?: (e?: any) => void;
55
+ /**
56
+ * @platform macos
57
+ * By default, the Apple KeyView loop is calculated based on the UI tree hierarchy, accessibility properties,
58
+ * custom element overrides of navigation order, and positions in layout.
59
+ *
60
+ * Normally this produces the appropriate accessible experience for users, but occasionally we may need to
61
+ * clarify the intended order of navigation. The navigationOrderInRenderOrder prop will have the FocusZone
62
+ * establish the navigation order of its children according to their order in the UI tree
63
+ * (i.e. as returned by accessibilityChildren).
64
+ *
65
+ * Note that to participate in the KeyView loop calculation, the FocusZone itself must be part of the
66
+ * accessibility tree (i.e. 'accessible') with an appropriate role, e.g. 'group'.
67
+ *
68
+ * Extra note: This property is unlikely to perform well if changed from its initial value due to finer details
69
+ * of the MacOS KeyView loop mechanics.
70
+ */
71
+ navigationOrderInRenderOrder?: boolean;
72
72
  };
73
73
  export interface NativeProps extends Omit<FocusZoneProps, 'isCircularNavigation'> {
74
- navigateAtEnd?: NavigateAtEnd;
75
- tabKeyNavigation?: FocusZoneTabNavigation;
74
+ navigateAtEnd?: NavigateAtEnd;
75
+ tabKeyNavigation?: FocusZoneTabNavigation;
76
76
  }
77
- export type FocusZoneDirection = 'bidirectional' /** React to all arrows. */ | 'vertical' /** Only react to up/down arrows. */ | 'horizontal' /** Only react to left/right arrows. */ | 'none'; /** Doesn't respond to any arrow keys. */
77
+ export type FocusZoneDirection =
78
+ | 'bidirectional' /** React to all arrows. */
79
+ | 'vertical' /** Only react to up/down arrows. */
80
+ | 'horizontal' /** Only react to left/right arrows. */
81
+ | 'none'; /** Doesn't respond to any arrow keys. */
78
82
  export type NavigateAtEnd = 'NavigateStopAtEnds' | 'NavigateWrap' | 'NavigateContinue';
79
83
  export type FocusZoneTabNavigation = 'None' | 'NavigateWrap' | 'NavigateStopAtEnds' | 'Normal';
80
84
  export type FocusZoneTokens = EmptyInterface;
81
85
  export interface FocusZoneSlotProps {
82
- root: NativeProps;
86
+ root: NativeProps;
83
87
  }
84
88
  export type FocusZoneRenderData = IRenderData<FocusZoneSlotProps, FocusZoneState>;
85
89
  export interface FocusZoneType {
86
- props: FocusZoneProps;
87
- tokens: FocusZoneTokens;
88
- slotProps: FocusZoneSlotProps;
89
- state: FocusZoneState;
90
+ props: FocusZoneProps;
91
+ tokens: FocusZoneTokens;
92
+ slotProps: FocusZoneSlotProps;
93
+ state: FocusZoneState;
90
94
  }
91
95
  export {};
92
- //# sourceMappingURL=FocusZone.types.d.ts.map
96
+ //# sourceMappingURL=FocusZone.types.d.ts.map
@@ -1,5 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.focusZoneName = void 0;
4
4
  exports.focusZoneName = 'FocusZone';
5
- //# sourceMappingURL=FocusZone.types.js.map
5
+ //# sourceMappingURL=FocusZone.types.js.map
@@ -3,18 +3,18 @@
3
3
  * Licensed under the MIT License.
4
4
  * @format
5
5
  */
6
- import type { HostComponent, ViewProps } from 'react-native';
6
+ import type { ViewProps } from 'react-native';
7
7
  import type { WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
8
8
  import type { UnsafeMixed } from './codegenTypes';
9
9
  export interface NativeProps extends ViewProps {
10
- navigateAtEnd?: WithDefault<'NavigateStopAtEnds' | 'NavigateWrap' | 'NavigateContinue', 'NavigateStopAtEnds'>;
11
- defaultTabbableElement?: UnsafeMixed;
12
- focusZoneDirection?: WithDefault<'bidirectional' | 'vertical' | 'horizontal' | 'none', 'bidirectional'>;
13
- use2DNavigation?: boolean;
14
- tabKeyNavigation?: WithDefault<'None' | 'NavigateWrap' | 'NavigateStopAtEnds' | 'Normal', 'None'>;
15
- disabled?: boolean;
16
- isTabNavigation?: boolean;
10
+ navigateAtEnd?: WithDefault<'NavigateStopAtEnds' | 'NavigateWrap' | 'NavigateContinue', 'NavigateStopAtEnds'>;
11
+ defaultTabbableElement?: UnsafeMixed;
12
+ focusZoneDirection?: WithDefault<'bidirectional' | 'vertical' | 'horizontal' | 'none', 'bidirectional'>;
13
+ use2DNavigation?: boolean;
14
+ tabKeyNavigation?: WithDefault<'None' | 'NavigateWrap' | 'NavigateStopAtEnds' | 'Normal', 'None'>;
15
+ disabled?: boolean;
16
+ isTabNavigation?: boolean;
17
17
  }
18
- declare const _default: HostComponent<NativeProps>;
18
+ declare const _default: import('react-native').HostComponent<NativeProps>;
19
19
  export default _default;
20
- //# sourceMappingURL=FocusZoneNativeComponent.d.ts.map
20
+ //# sourceMappingURL=FocusZoneNativeComponent.d.ts.map
@@ -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,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
+ {"version":3,"file":"FocusZoneNativeComponent.d.ts","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,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,wBAAmE"}
@@ -1,13 +1,10 @@
1
- "use strict";
1
+ 'use strict';
2
2
  /**
3
3
  * Copyright (c) Microsoft Corporation.
4
4
  * Licensed under the MIT License.
5
5
  * @format
6
6
  */
7
- var __importDefault = (this && this.__importDefault) || function (mod) {
8
- return (mod && mod.__esModule) ? mod : { "default": mod };
9
- };
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- const codegenNativeComponent_1 = __importDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
12
- exports.default = (0, codegenNativeComponent_1.default)('RCTFocusZone');
13
- //# sourceMappingURL=FocusZoneNativeComponent.js.map
7
+ Object.defineProperty(exports, '__esModule', { value: true });
8
+ const react_native_1 = require('react-native');
9
+ exports.default = (0, react_native_1.requireNativeComponent)('RCTFocusZone');
10
+ //# sourceMappingURL=FocusZoneNativeComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FocusZoneNativeComponent.js","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAKH,qHAA6F;AAgB7F,kBAAe,IAAA,gCAAsB,EAAc,cAAc,CAA+B,CAAC"}
1
+ {"version":3,"file":"FocusZoneNativeComponent.js","sourceRoot":"","sources":["../src/FocusZoneNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAKH,+CAAsD;kBAgBvC,IAAA,qCAAsB,EAAc,cAAc,CAAC"}
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=FocusZone.test.d.ts.map
2
+ //# sourceMappingURL=FocusZone.test.d.ts.map