@tamagui/focus-scope 2.7.7 → 3.0.0-beta.643.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.
Files changed (69) hide show
  1. package/dist/cjs/FocusScope.cjs +346 -351
  2. package/dist/cjs/FocusScope.native.cjs +37 -0
  3. package/dist/cjs/FocusScope.native.js +21 -27
  4. package/dist/cjs/FocusScope.native.js.map +1 -1
  5. package/dist/cjs/FocusScopeController.cjs +48 -54
  6. package/dist/cjs/FocusScopeController.native.cjs +76 -0
  7. package/dist/cjs/FocusScopeController.native.js +50 -55
  8. package/dist/cjs/FocusScopeController.native.js.map +1 -1
  9. package/dist/cjs/index.cjs +10 -11
  10. package/dist/cjs/index.native.cjs +22 -0
  11. package/dist/cjs/index.native.js +10 -10
  12. package/dist/cjs/index.native.js.map +1 -1
  13. package/dist/cjs/types.cjs +10 -11
  14. package/dist/cjs/types.native.cjs +19 -0
  15. package/dist/cjs/types.native.js +10 -10
  16. package/dist/cjs/types.native.js.map +1 -1
  17. package/dist/esm/FocusScope.mjs +331 -328
  18. package/dist/esm/FocusScope.mjs.map +1 -1
  19. package/dist/esm/FocusScope.native.js +6 -3
  20. package/dist/esm/FocusScope.native.js.map +1 -1
  21. package/dist/esm/FocusScopeController.mjs +29 -27
  22. package/dist/esm/FocusScopeController.mjs.map +1 -1
  23. package/dist/esm/FocusScopeController.native.js +32 -30
  24. package/dist/esm/FocusScopeController.native.js.map +1 -1
  25. package/dist/esm/index.js +3 -3
  26. package/dist/esm/index.mjs +3 -3
  27. package/dist/esm/index.native.js +3 -3
  28. package/dist/esm/types.mjs +0 -2
  29. package/dist/esm/types.native.js +0 -2
  30. package/dist/jsx/FocusScope.mjs +331 -328
  31. package/dist/jsx/FocusScope.mjs.map +1 -1
  32. package/dist/jsx/FocusScope.native.cjs +37 -0
  33. package/dist/jsx/FocusScope.native.js +21 -27
  34. package/dist/jsx/FocusScope.native.js.map +1 -1
  35. package/dist/jsx/FocusScopeController.mjs +29 -27
  36. package/dist/jsx/FocusScopeController.mjs.map +1 -1
  37. package/dist/jsx/FocusScopeController.native.cjs +76 -0
  38. package/dist/jsx/FocusScopeController.native.js +50 -55
  39. package/dist/jsx/FocusScopeController.native.js.map +1 -1
  40. package/dist/jsx/index.js +3 -3
  41. package/dist/jsx/index.mjs +3 -3
  42. package/dist/jsx/index.native.cjs +22 -0
  43. package/dist/jsx/index.native.js +10 -10
  44. package/dist/jsx/index.native.js.map +1 -1
  45. package/dist/jsx/types.mjs +0 -2
  46. package/dist/jsx/types.native.cjs +19 -0
  47. package/dist/jsx/types.native.js +10 -10
  48. package/dist/jsx/types.native.js.map +1 -1
  49. package/package.json +9 -8
  50. package/src/FocusScope.native.tsx +2 -1
  51. package/src/FocusScope.tsx +62 -28
  52. package/src/FocusScopeController.tsx +3 -0
  53. package/src/types.tsx +16 -11
  54. package/types/FocusScope.d.ts +3 -4
  55. package/types/FocusScope.d.ts.map +1 -1
  56. package/types/FocusScope.native.d.ts +1 -2
  57. package/types/FocusScope.native.d.ts.map +1 -1
  58. package/types/FocusScopeController.d.ts +1 -1
  59. package/types/FocusScopeController.d.ts.map +1 -1
  60. package/types/types.d.ts +15 -9
  61. package/types/types.d.ts.map +1 -1
  62. package/dist/esm/index.js.map +0 -1
  63. package/dist/esm/index.mjs.map +0 -1
  64. package/dist/esm/index.native.js.map +0 -1
  65. package/dist/esm/types.mjs.map +0 -1
  66. package/dist/esm/types.native.js.map +0 -1
  67. package/dist/jsx/index.js.map +0 -1
  68. package/dist/jsx/index.mjs.map +0 -1
  69. package/dist/jsx/types.mjs.map +0 -1
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+
4
+ var __create = Object.create;
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __export = (target, all) => {
11
+ for (var name in all) __defProp(target, name, {
12
+ get: all[name],
13
+ enumerable: true
14
+ });
15
+ };
16
+ var __copyProps = (to, from, except, desc) => {
17
+ if (from && typeof from === "object" || typeof from === "function") {
18
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
19
+ get: () => from[key],
20
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
21
+ });
22
+ }
23
+ return to;
24
+ };
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: true
28
+ }) : target, mod));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var FocusScope_native_exports = {};
31
+ __export(FocusScope_native_exports, { FocusScope: () => FocusScope });
32
+ module.exports = __toCommonJS(FocusScope_native_exports);
33
+ var import_compose_refs = require("@tamagui/compose-refs");
34
+ var import_react = __toESM(require("react"), 1);
35
+ var FocusScope = (0, import_compose_refs.createRefComponent)(function(props, _ref) {
36
+ return props.children;
37
+ });
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+
3
4
  var __create = Object.create;
4
5
  var __defProp = Object.defineProperty;
5
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -7,39 +8,32 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
7
8
  var __getProtoOf = Object.getPrototypeOf;
8
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
10
  var __export = (target, all) => {
10
- for (var name in all) __defProp(target, name, {
11
- get: all[name],
12
- enumerable: true
13
- });
11
+ for (var name in all) __defProp(target, name, {
12
+ get: all[name],
13
+ enumerable: true
14
+ });
14
15
  };
15
16
  var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") {
17
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
- get: () => from[key],
19
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
- });
21
- }
22
- return to;
17
+ if (from && typeof from === "object" || typeof from === "function") {
18
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
19
+ get: () => from[key],
20
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
21
+ });
22
+ }
23
+ return to;
23
24
  };
24
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
- // If the importer is in node compatibility mode or this is not an ESM
26
- // file that has been converted to a CommonJS file using a Babel-
27
- // compatible transform (i.e. "__esModule" has not been set), then set
28
- // "default" to the CommonJS "module.exports" for node compatibility.
29
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
- value: mod,
31
- enumerable: true
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: true
32
28
  }) : target, mod));
33
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
34
- value: true
35
- }), mod);
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
30
  var FocusScope_native_exports = {};
37
- __export(FocusScope_native_exports, {
38
- FocusScope: () => FocusScope
39
- });
31
+ __export(FocusScope_native_exports, { FocusScope: () => FocusScope });
40
32
  module.exports = __toCommonJS(FocusScope_native_exports);
33
+ var import_compose_refs = require("@tamagui/compose-refs");
41
34
  var import_react = __toESM(require("react"), 1);
42
- var FocusScope = /* @__PURE__ */import_react.default.forwardRef(function (props, _ref) {
43
- return props.children;
35
+ var FocusScope = (0, import_compose_refs.createRefComponent)(function(props, _ref) {
36
+ return props.children;
44
37
  });
38
+
45
39
  //# sourceMappingURL=FocusScope.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["FocusScope_native_exports","__export","FocusScope","module","exports","__toCommonJS","import_react","__toESM","require","default","forwardRef","props","_ref","children"],"sources":["../../src/FocusScope.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,yBAAA;AAAAC,QAAA,CAAAD,yBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,yBAAA;AAAA,IAAAM,YAAA,GAAkBC,OAAA,CAAAC,OAAA;AACX,IAAIN,UAAA,GAA2B,eAAAI,YAAA,CAAAG,OAAA,CAAMC,UAAA,CAAW,UAASC,KAAA,EAAOC,IAAA,EAAM;EACzE,OAAOD,KAAA,CAAME,QAAA;AACjB,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"FocusScope.native.js","names":[],"sources":["cjs/FocusScope.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar FocusScope_native_exports = {};\n__export(FocusScope_native_exports, {\n FocusScope: () => FocusScope\n});\nmodule.exports = __toCommonJS(FocusScope_native_exports);\nvar import_compose_refs = require(\"@tamagui/compose-refs\");\nvar import_react = __toESM(require(\"react\"), 1);\nvar FocusScope = (0, import_compose_refs.createRefComponent)(function(props, _ref) {\n return props.children;\n});\n//# sourceMappingURL=FocusScope.native.js.map\n"],"mappings":";;;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,YAAY;AAAK,CAAC,IAAI,QACzG,GACF;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,4BAA4B,CAAC;AACjC,SAAS,2BAA2B,EAClC,kBAAkB,WACpB,CAAC;AACD,OAAO,UAAU,aAAa,yBAAyB;AACvD,IAAI,sBAAsB,QAAQ,uBAAuB;AACzD,IAAI,eAAe,QAAQ,QAAQ,OAAO,GAAG,CAAC;AAC9C,IAAI,cAAc,GAAG,oBAAoB,oBAAoB,SAAS,OAAO,MAAM;CACjF,OAAO,MAAM;AACf,CAAC"}
@@ -1,3 +1,4 @@
1
+
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -5,38 +6,31 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __getProtoOf = Object.getPrototypeOf;
6
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
8
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
12
13
  };
13
14
  var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
21
22
  };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
- // If the importer is in node compatibility mode or this is not an ESM
24
- // file that has been converted to a CommonJS file using a Babel-
25
- // compatible transform (i.e. "__esModule" has not been set), then set
26
- // "default" to the CommonJS "module.exports" for node compatibility.
27
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
28
- value: mod,
29
- enumerable: true
23
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
+ value: mod,
25
+ enumerable: true
30
26
  }) : target, mod));
31
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
32
- value: true
33
- }), mod);
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
34
28
  var FocusScopeController_exports = {};
35
29
  __export(FocusScopeController_exports, {
36
- FocusScopeController: () => FocusScopeControllerComponent,
37
- FocusScopeControllerProvider: () => FocusScopeControllerProvider,
38
- createFocusScopeControllerScope: () => createFocusScopeControllerScope,
39
- useFocusScopeControllerContext: () => useFocusScopeControllerContext
30
+ FocusScopeController: () => FocusScopeControllerComponent,
31
+ FocusScopeControllerProvider: () => FocusScopeControllerProvider,
32
+ createFocusScopeControllerScope: () => createFocusScopeControllerScope,
33
+ useFocusScopeControllerContext: () => useFocusScopeControllerContext
40
34
  });
41
35
  module.exports = __toCommonJS(FocusScopeController_exports);
42
36
  var import_create_context = require("@tamagui/create-context");
@@ -47,32 +41,32 @@ const FOCUS_SCOPE_CONTROLLER_NAME = "FocusScopeController";
47
41
  const [createFocusScopeControllerContext, createFocusScopeControllerScope] = (0, import_create_context.createContextScope)(FOCUS_SCOPE_CONTROLLER_NAME);
48
42
  const [FocusScopeControllerProvider, useFocusScopeControllerContext] = createFocusScopeControllerContext(FOCUS_SCOPE_CONTROLLER_NAME);
49
43
  function FocusScopeController(props) {
50
- const {
51
- __scopeFocusScope,
52
- children,
53
- enabled,
54
- loop,
55
- trapped,
56
- onMountAutoFocus,
57
- onUnmountAutoFocus,
58
- forceUnmount,
59
- focusOnIdle
60
- } = props;
61
- const stableOnMountAutoFocus = (0, import_use_event.useEvent)(onMountAutoFocus);
62
- const stableOnUnmountAutoFocus = (0, import_use_event.useEvent)(onUnmountAutoFocus);
63
- const contextValue = React.useMemo(() => ({
64
- enabled,
65
- loop,
66
- trapped,
67
- onMountAutoFocus: stableOnMountAutoFocus,
68
- onUnmountAutoFocus: stableOnUnmountAutoFocus,
69
- forceUnmount,
70
- focusOnIdle
71
- }), [enabled, loop, trapped, stableOnMountAutoFocus, stableOnUnmountAutoFocus, forceUnmount, focusOnIdle]);
72
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(FocusScopeControllerProvider, {
73
- scope: __scopeFocusScope,
74
- ...contextValue,
75
- children
76
- });
44
+ const { __scopeFocusScope, children, enabled, loop, trapped, noFocus, onMountAutoFocus, onUnmountAutoFocus, forceUnmount, focusOnIdle } = props;
45
+ const stableOnMountAutoFocus = (0, import_use_event.useEvent)(onMountAutoFocus);
46
+ const stableOnUnmountAutoFocus = (0, import_use_event.useEvent)(onUnmountAutoFocus);
47
+ const contextValue = React.useMemo(() => ({
48
+ enabled,
49
+ loop,
50
+ trapped,
51
+ noFocus,
52
+ onMountAutoFocus: stableOnMountAutoFocus,
53
+ onUnmountAutoFocus: stableOnUnmountAutoFocus,
54
+ forceUnmount,
55
+ focusOnIdle
56
+ }), [
57
+ enabled,
58
+ loop,
59
+ trapped,
60
+ noFocus,
61
+ stableOnMountAutoFocus,
62
+ stableOnUnmountAutoFocus,
63
+ forceUnmount,
64
+ focusOnIdle
65
+ ]);
66
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FocusScopeControllerProvider, {
67
+ scope: __scopeFocusScope,
68
+ ...contextValue,
69
+ children
70
+ });
77
71
  }
78
- const FocusScopeControllerComponent = FocusScopeController;
72
+ const FocusScopeControllerComponent = FocusScopeController;
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+
4
+ var __create = Object.create;
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __export = (target, all) => {
11
+ for (var name in all) __defProp(target, name, {
12
+ get: all[name],
13
+ enumerable: true
14
+ });
15
+ };
16
+ var __copyProps = (to, from, except, desc) => {
17
+ if (from && typeof from === "object" || typeof from === "function") {
18
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
19
+ get: () => from[key],
20
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
21
+ });
22
+ }
23
+ return to;
24
+ };
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: true
28
+ }) : target, mod));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var FocusScopeController_exports = {};
31
+ __export(FocusScopeController_exports, {
32
+ FocusScopeController: () => FocusScopeControllerComponent,
33
+ FocusScopeControllerProvider: () => FocusScopeControllerProvider,
34
+ createFocusScopeControllerScope: () => createFocusScopeControllerScope,
35
+ useFocusScopeControllerContext: () => useFocusScopeControllerContext
36
+ });
37
+ module.exports = __toCommonJS(FocusScopeController_exports);
38
+ var import_jsx_runtime = require("react/jsx-runtime");
39
+ var import_create_context = require("@tamagui/create-context");
40
+ var import_use_event = require("@tamagui/use-event");
41
+ var React = __toESM(require("react"), 1);
42
+ var FOCUS_SCOPE_CONTROLLER_NAME = "FocusScopeController";
43
+ var [createFocusScopeControllerContext, createFocusScopeControllerScope] = (0, import_create_context.createContextScope)(FOCUS_SCOPE_CONTROLLER_NAME);
44
+ var [FocusScopeControllerProvider, useFocusScopeControllerContext] = createFocusScopeControllerContext(FOCUS_SCOPE_CONTROLLER_NAME);
45
+ function FocusScopeController(props) {
46
+ var { __scopeFocusScope, children, enabled, loop, trapped, noFocus, onMountAutoFocus, onUnmountAutoFocus, forceUnmount, focusOnIdle } = props;
47
+ var stableOnMountAutoFocus = (0, import_use_event.useEvent)(onMountAutoFocus);
48
+ var stableOnUnmountAutoFocus = (0, import_use_event.useEvent)(onUnmountAutoFocus);
49
+ var contextValue = React.useMemo(function() {
50
+ return {
51
+ enabled,
52
+ loop,
53
+ trapped,
54
+ noFocus,
55
+ onMountAutoFocus: stableOnMountAutoFocus,
56
+ onUnmountAutoFocus: stableOnUnmountAutoFocus,
57
+ forceUnmount,
58
+ focusOnIdle
59
+ };
60
+ }, [
61
+ enabled,
62
+ loop,
63
+ trapped,
64
+ noFocus,
65
+ stableOnMountAutoFocus,
66
+ stableOnUnmountAutoFocus,
67
+ forceUnmount,
68
+ focusOnIdle
69
+ ]);
70
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FocusScopeControllerProvider, {
71
+ scope: __scopeFocusScope,
72
+ ...contextValue,
73
+ children
74
+ });
75
+ }
76
+ var FocusScopeControllerComponent = FocusScopeController;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+
3
4
  var __create = Object.create;
4
5
  var __defProp = Object.defineProperty;
5
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -7,38 +8,31 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
7
8
  var __getProtoOf = Object.getPrototypeOf;
8
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
10
  var __export = (target, all) => {
10
- for (var name in all) __defProp(target, name, {
11
- get: all[name],
12
- enumerable: true
13
- });
11
+ for (var name in all) __defProp(target, name, {
12
+ get: all[name],
13
+ enumerable: true
14
+ });
14
15
  };
15
16
  var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") {
17
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
- get: () => from[key],
19
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
- });
21
- }
22
- return to;
17
+ if (from && typeof from === "object" || typeof from === "function") {
18
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
19
+ get: () => from[key],
20
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
21
+ });
22
+ }
23
+ return to;
23
24
  };
24
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
- // If the importer is in node compatibility mode or this is not an ESM
26
- // file that has been converted to a CommonJS file using a Babel-
27
- // compatible transform (i.e. "__esModule" has not been set), then set
28
- // "default" to the CommonJS "module.exports" for node compatibility.
29
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
- value: mod,
31
- enumerable: true
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: true
32
28
  }) : target, mod));
33
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
34
- value: true
35
- }), mod);
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
30
  var FocusScopeController_exports = {};
37
31
  __export(FocusScopeController_exports, {
38
- FocusScopeController: () => FocusScopeControllerComponent,
39
- FocusScopeControllerProvider: () => FocusScopeControllerProvider,
40
- createFocusScopeControllerScope: () => createFocusScopeControllerScope,
41
- useFocusScopeControllerContext: () => useFocusScopeControllerContext
32
+ FocusScopeController: () => FocusScopeControllerComponent,
33
+ FocusScopeControllerProvider: () => FocusScopeControllerProvider,
34
+ createFocusScopeControllerScope: () => createFocusScopeControllerScope,
35
+ useFocusScopeControllerContext: () => useFocusScopeControllerContext
42
36
  });
43
37
  module.exports = __toCommonJS(FocusScopeController_exports);
44
38
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -49,35 +43,36 @@ var FOCUS_SCOPE_CONTROLLER_NAME = "FocusScopeController";
49
43
  var [createFocusScopeControllerContext, createFocusScopeControllerScope] = (0, import_create_context.createContextScope)(FOCUS_SCOPE_CONTROLLER_NAME);
50
44
  var [FocusScopeControllerProvider, useFocusScopeControllerContext] = createFocusScopeControllerContext(FOCUS_SCOPE_CONTROLLER_NAME);
51
45
  function FocusScopeController(props) {
52
- var {
53
- __scopeFocusScope,
54
- children,
55
- enabled,
56
- loop,
57
- trapped,
58
- onMountAutoFocus,
59
- onUnmountAutoFocus,
60
- forceUnmount,
61
- focusOnIdle
62
- } = props;
63
- var stableOnMountAutoFocus = (0, import_use_event.useEvent)(onMountAutoFocus);
64
- var stableOnUnmountAutoFocus = (0, import_use_event.useEvent)(onUnmountAutoFocus);
65
- var contextValue = React.useMemo(function () {
66
- return {
67
- enabled,
68
- loop,
69
- trapped,
70
- onMountAutoFocus: stableOnMountAutoFocus,
71
- onUnmountAutoFocus: stableOnUnmountAutoFocus,
72
- forceUnmount,
73
- focusOnIdle
74
- };
75
- }, [enabled, loop, trapped, stableOnMountAutoFocus, stableOnUnmountAutoFocus, forceUnmount, focusOnIdle]);
76
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(FocusScopeControllerProvider, {
77
- scope: __scopeFocusScope,
78
- ...contextValue,
79
- children
80
- });
46
+ var { __scopeFocusScope, children, enabled, loop, trapped, noFocus, onMountAutoFocus, onUnmountAutoFocus, forceUnmount, focusOnIdle } = props;
47
+ var stableOnMountAutoFocus = (0, import_use_event.useEvent)(onMountAutoFocus);
48
+ var stableOnUnmountAutoFocus = (0, import_use_event.useEvent)(onUnmountAutoFocus);
49
+ var contextValue = React.useMemo(function() {
50
+ return {
51
+ enabled,
52
+ loop,
53
+ trapped,
54
+ noFocus,
55
+ onMountAutoFocus: stableOnMountAutoFocus,
56
+ onUnmountAutoFocus: stableOnUnmountAutoFocus,
57
+ forceUnmount,
58
+ focusOnIdle
59
+ };
60
+ }, [
61
+ enabled,
62
+ loop,
63
+ trapped,
64
+ noFocus,
65
+ stableOnMountAutoFocus,
66
+ stableOnUnmountAutoFocus,
67
+ forceUnmount,
68
+ focusOnIdle
69
+ ]);
70
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FocusScopeControllerProvider, {
71
+ scope: __scopeFocusScope,
72
+ ...contextValue,
73
+ children
74
+ });
81
75
  }
82
76
  var FocusScopeControllerComponent = FocusScopeController;
77
+
83
78
  //# sourceMappingURL=FocusScopeController.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","FocusScopeController_exports","__export","FocusScopeController","FocusScopeControllerComponent","FocusScopeControllerProvider","createFocusScopeControllerScope","useFocusScopeControllerContext","module","exports","import_jsx_runtime","require","import_create_context","import_use_event","React","__toESM","FOCUS_SCOPE_CONTROLLER_NAME","createFocusScopeControllerContext","createContextScope","props","__scopeFocusScope","children","enabled","loop","trapped","onMountAutoFocus","onUnmountAutoFocus","forceUnmount","focusOnIdle","stableOnMountAutoFocus","useEvent","stableOnUnmountAutoFocus","contextValue","useMemo","jsx","scope"],"sources":["../../src/FocusScopeController.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,4BAAA;AAAAC,QAAA,CAAAD,4BAAA;EAAAE,oBAAA,EAAAA,CAAA,KAAAC,6BAAA;EAAAC,4BAAA,EAAAA,CAAA,KAAAA,4BAAA;EAAAC,+BAAA,EAAAA,CAAA,KAAAA,+BAAA;EAAAC,8BAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAb,YAAmC,CAAAK,4BAAA;AACnC,IAAAS,kBAAA,GAAyBC,OAAA;AACzB,IAAAC,qBAAuB,GAAAD,OAAA;AA8DnB,IAAAE,gBAAA,GAAAF,OAAA;AA1DJ,IAAAG,KAAM,GAAAC,OAAA,CAAAJ,OAAA,SAA8B;AAEpC,IAAAK,2BAAO,yBAAmC;AAK1C,KAAAC,iCAAqC,EAAAX,+BACnC,QAAAM,qBAAA,CAAAM,kBAAA,EAAAF,2BAAA;AAAA,IACE,CAAAX,4BAAA,EAAAE,8BAAA,IAAAU,iCAAA,CAAAD,2BAAA;AACF,SAAAb,qBAAAgB,KAAA;EAUF;IAAAC,iBAAS;IAAAC,QAAqB;IAA+CC,OAAA;IAAAC,IAAA;IAAAC,OAAA;IAAAC,gBAAA;IAAAC,kBAAA;IAAAC,YAAA;IAAAC;EAAA,IAAAT,KAAA;EAC3E,IAAAU,sBAAM,OAAAhB,gBAAA,CAAAiB,QAAA,EAAAL,gBAAA;EAAA,IACJM,wBAAA,OAAAlB,gBAAA,CAAAiB,QAAA,EAAAJ,kBAAA;EAAA,IACAM,YAAA,GAAAlB,KAAA,CAAAmB,OAAA;IACA;MACAX,OAAA;MACAC,IAAA;MACAC,OAAA;MACAC,gBAAA,EAAAI,sBAAA;MACAH,kBAAA,EAAAK,wBAAA;MACAJ,YAAA;MACEC;IAEJ;EACA,IAEAN,OAAM,EACJC,IAAA,EAAOC,OACL,EAAAK,sBACA,EAAAE,wBACA,EAAAJ,YACA,EAAkBC,WAClB,CAAoB;EACpB,OACA,mBAAAlB,kBAAA,CAAAwB,GAAA,EAAA7B,4BAAA;IACF8B,KAAA,EAAAf,iBAAA;IACA,GAAAY,YAAA;IAAAX;EACE;AACA;AACA,IAAAjB,6BACA,GAAAD,oBAAA","ignoreList":[]}
1
+ {"version":3,"file":"FocusScopeController.native.js","names":[],"sources":["cjs/FocusScopeController.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar FocusScopeController_exports = {};\n__export(FocusScopeController_exports, {\n FocusScopeController: () => FocusScopeControllerComponent,\n FocusScopeControllerProvider: () => FocusScopeControllerProvider,\n createFocusScopeControllerScope: () => createFocusScopeControllerScope,\n useFocusScopeControllerContext: () => useFocusScopeControllerContext\n});\nmodule.exports = __toCommonJS(FocusScopeController_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_create_context = require(\"@tamagui/create-context\");\nvar import_use_event = require(\"@tamagui/use-event\");\nvar React = __toESM(require(\"react\"), 1);\nvar FOCUS_SCOPE_CONTROLLER_NAME = \"FocusScopeController\";\nvar [createFocusScopeControllerContext, createFocusScopeControllerScope] = (0, import_create_context.createContextScope)(FOCUS_SCOPE_CONTROLLER_NAME);\nvar [FocusScopeControllerProvider, useFocusScopeControllerContext] = createFocusScopeControllerContext(FOCUS_SCOPE_CONTROLLER_NAME);\nfunction FocusScopeController(props) {\n var { __scopeFocusScope, children, enabled, loop, trapped, noFocus, onMountAutoFocus, onUnmountAutoFocus, forceUnmount, focusOnIdle } = props;\n var stableOnMountAutoFocus = (0, import_use_event.useEvent)(onMountAutoFocus);\n var stableOnUnmountAutoFocus = (0, import_use_event.useEvent)(onUnmountAutoFocus);\n var contextValue = React.useMemo(function() {\n return {\n enabled,\n loop,\n trapped,\n noFocus,\n onMountAutoFocus: stableOnMountAutoFocus,\n onUnmountAutoFocus: stableOnUnmountAutoFocus,\n forceUnmount,\n focusOnIdle\n };\n }, [\n enabled,\n loop,\n trapped,\n noFocus,\n stableOnMountAutoFocus,\n stableOnUnmountAutoFocus,\n forceUnmount,\n focusOnIdle\n ]);\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FocusScopeControllerProvider, {\n scope: __scopeFocusScope,\n ...contextValue,\n children\n });\n}\nvar FocusScopeControllerComponent = FocusScopeController;\n//# sourceMappingURL=FocusScopeController.js.map\n"],"mappings":";;;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,YAAY;AAAK,CAAC,IAAI,QACzG,GACF;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,+BAA+B,CAAC;AACpC,SAAS,8BAA8B;CACrC,4BAA4B;CAC5B,oCAAoC;CACpC,uCAAuC;CACvC,sCAAsC;AACxC,CAAC;AACD,OAAO,UAAU,aAAa,4BAA4B;AAC1D,IAAI,qBAAqB,QAAQ,mBAAmB;AACpD,IAAI,wBAAwB,QAAQ,yBAAyB;AAC7D,IAAI,mBAAmB,QAAQ,oBAAoB;AACnD,IAAI,QAAQ,QAAQ,QAAQ,OAAO,GAAG,CAAC;AACvC,IAAI,8BAA8B;AAClC,IAAI,CAAC,mCAAmC,oCAAoC,GAAG,sBAAsB,oBAAoB,2BAA2B;AACpJ,IAAI,CAAC,8BAA8B,kCAAkC,kCAAkC,2BAA2B;AAClI,SAAS,qBAAqB,OAAO;CACnC,IAAI,EAAE,mBAAmB,UAAU,SAAS,MAAM,SAAS,SAAS,kBAAkB,oBAAoB,cAAc,gBAAgB;CACxI,IAAI,0BAA0B,GAAG,iBAAiB,UAAU,gBAAgB;CAC5E,IAAI,4BAA4B,GAAG,iBAAiB,UAAU,kBAAkB;CAChF,IAAI,eAAe,MAAM,QAAQ,WAAW;EAC1C,OAAO;GACL;GACA;GACA;GACA;GACA,kBAAkB;GAClB,oBAAoB;GACpB;GACA;EACF;CACF,GAAG;EACD;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;CACD,OAAuB,iBAAC,GAAG,mBAAmB,KAAK,8BAA8B;EAC/E,OAAO;EACP,GAAG;EACH;CACF,CAAC;AACH;AACA,IAAI,gCAAgC"}
@@ -1,21 +1,20 @@
1
+
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
8
- get: () => from[key],
9
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
10
- });
11
- }
12
- return to;
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
9
+ get: () => from[key],
10
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
+ });
12
+ }
13
+ return to;
13
14
  };
14
15
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
- value: true
17
- }), mod);
16
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
17
  var index_exports = {};
19
18
  module.exports = __toCommonJS(index_exports);
20
19
  __reExport(index_exports, require("./FocusScope.cjs"), module.exports);
21
- __reExport(index_exports, require("./FocusScopeController.cjs"), module.exports);
20
+ __reExport(index_exports, require("./FocusScopeController.cjs"), module.exports);
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
11
+ get: () => from[key],
12
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
13
+ });
14
+ }
15
+ return to;
16
+ };
17
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var index_exports = {};
20
+ module.exports = __toCommonJS(index_exports);
21
+ __reExport(index_exports, require("./FocusScope.native.js"), module.exports);
22
+ __reExport(index_exports, require("./FocusScopeController.native.js"), module.exports);
@@ -1,24 +1,24 @@
1
1
  "use strict";
2
2
 
3
+
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
8
  var __copyProps = (to, from, except, desc) => {
8
- if (from && typeof from === "object" || typeof from === "function") {
9
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
10
- get: () => from[key],
11
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
12
- });
13
- }
14
- return to;
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
11
+ get: () => from[key],
12
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
13
+ });
14
+ }
15
+ return to;
15
16
  };
16
17
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
17
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
18
- value: true
19
- }), mod);
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
19
  var index_exports = {};
21
20
  module.exports = __toCommonJS(index_exports);
22
21
  __reExport(index_exports, require("./FocusScope.native.js"), module.exports);
23
22
  __reExport(index_exports, require("./FocusScopeController.native.js"), module.exports);
23
+
24
24
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports","__reExport","require"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA;AACdG,UAAA,CAAAH,aAAA,EAAcI,OAAA,4BAAAH,MAAA,CAAAC,OADd","ignoreList":[]}
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./FocusScope\"), module.exports);\n__reExport(index_exports, require(\"./FocusScopeController\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,wBAAc,GAAG,OAAO,OAAO;AACjE,WAAW,eAAe,QAAQ,kCAAwB,GAAG,OAAO,OAAO"}
@@ -1,18 +1,17 @@
1
+
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
8
- get: () => from[key],
9
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
10
- });
11
- }
12
- return to;
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
9
+ get: () => from[key],
10
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
+ });
12
+ }
13
+ return to;
13
14
  };
14
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
15
- value: true
16
- }), mod);
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
17
16
  var types_exports = {};
18
- module.exports = __toCommonJS(types_exports);
17
+ module.exports = __toCommonJS(types_exports);
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
11
+ get: () => from[key],
12
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
13
+ });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var types_exports = {};
19
+ module.exports = __toCommonJS(types_exports);