@tamagui/focusable 2.0.0-rc.3 → 2.0.0-rc.31

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/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./registerFocusable";
2
- export * from "./focusableInputHOC";
3
- export * from "./focusable";
1
+ export * from "./registerFocusable.mjs";
2
+ export * from "./focusableInputHOC.mjs";
3
+ export * from "./focusable.mjs";
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": "AAAA,cAAc;AACd,cAAc;AACd,cAAc;",
5
- "names": []
6
- }
1
+ {"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc","ignoreList":[]}
package/dist/jsx/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./registerFocusable";
2
- export * from "./focusableInputHOC";
3
- export * from "./focusable";
1
+ export * from "./registerFocusable.mjs";
2
+ export * from "./focusableInputHOC.mjs";
3
+ export * from "./focusable.mjs";
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": "AAAA,cAAc;AACd,cAAc;AACd,cAAc;",
5
- "names": []
6
- }
1
+ {"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/focusable",
3
- "version": "2.0.0-rc.3",
3
+ "version": "2.0.0-rc.31",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "files": [
@@ -19,15 +19,12 @@
19
19
  "./package.json": "./package.json",
20
20
  ".": {
21
21
  "types": "./types/index.d.ts",
22
- "react-native": {
23
- "module": "./dist/esm/index.native.js",
24
- "import": "./dist/esm/index.native.js",
25
- "require": "./dist/cjs/index.native.js"
26
- },
22
+ "react-native": "./dist/esm/index.native.js",
23
+ "browser": "./dist/esm/index.mjs",
27
24
  "module": "./dist/esm/index.mjs",
28
25
  "import": "./dist/esm/index.mjs",
29
26
  "require": "./dist/cjs/index.cjs",
30
- "default": "./dist/cjs/index.native.js"
27
+ "default": "./dist/esm/index.mjs"
31
28
  }
32
29
  },
33
30
  "publishConfig": {
@@ -40,11 +37,11 @@
40
37
  "clean:build": "tamagui-build clean:build"
41
38
  },
42
39
  "dependencies": {
43
- "@tamagui/compose-refs": "2.0.0-rc.3",
44
- "@tamagui/web": "2.0.0-rc.3"
40
+ "@tamagui/compose-refs": "2.0.0-rc.31",
41
+ "@tamagui/web": "2.0.0-rc.31"
45
42
  },
46
43
  "devDependencies": {
47
- "@tamagui/build": "2.0.0-rc.3",
44
+ "@tamagui/build": "2.0.0-rc.31",
48
45
  "react": ">=19"
49
46
  },
50
47
  "peerDependencies": {
@@ -1,14 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from == "object" || typeof from == "function")
7
- for (let key of __getOwnPropNames(from))
8
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
9
- return to;
10
- };
11
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
12
- var focusable_exports = {};
13
- module.exports = __toCommonJS(focusable_exports);
14
- //# sourceMappingURL=focusable.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/focusable.ts"],
4
- "mappings": ";;;;;;;;;;;AAAA;AAAA;",
5
- "names": []
6
- }
@@ -1,61 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
- // If the importer is in node compatibility mode or this is not an ESM
17
- // file that has been converted to a CommonJS file using a Babel-
18
- // compatible transform (i.e. "__esModule" has not been set), then set
19
- // "default" to the CommonJS "module.exports" for node compatibility.
20
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
- mod
22
- )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
23
- var focusableInputHOC_exports = {};
24
- __export(focusableInputHOC_exports, {
25
- useFocusable: () => useFocusable
26
- });
27
- module.exports = __toCommonJS(focusableInputHOC_exports);
28
- var import_compose_refs = require("@tamagui/compose-refs"), import_web = require("@tamagui/web"), import_react = __toESM(require("react"), 1), import_registerFocusable = require("./registerFocusable");
29
- function useFocusable({
30
- isInput,
31
- props,
32
- ref
33
- }) {
34
- const { id, onChangeText, value, defaultValue } = props, inputValue = import_react.default.useRef(value || defaultValue || ""), unregisterFocusable = import_react.default.useRef(void 0), focusAndSelect = import_react.default.useCallback((input) => {
35
- input.focus(), input.setSelection && typeof inputValue.current == "string" && input.setSelection(0, inputValue.current.length);
36
- }, []), registerFocusableHandler = import_react.default.useCallback(
37
- (input) => {
38
- !id || !input || (unregisterFocusable.current?.(), unregisterFocusable.current = (0, import_registerFocusable.registerFocusable)(id, {
39
- focus: input.focus,
40
- ...isInput && {
41
- focusAndSelect: () => focusAndSelect(input)
42
- }
43
- }));
44
- },
45
- [id, isInput, focusAndSelect]
46
- ), inputRef = import_react.default.useCallback(
47
- (input) => {
48
- input && registerFocusableHandler(input);
49
- },
50
- [registerFocusableHandler]
51
- ), handleChangeText = (0, import_web.useEvent)((value2) => {
52
- inputValue.current = value2, onChangeText?.(value2);
53
- });
54
- return import_react.default.useEffect(() => () => {
55
- unregisterFocusable.current?.();
56
- }, []), {
57
- ref: import_react.default.useMemo(() => (0, import_compose_refs.composeRefs)(ref, inputRef), [ref, inputRef]),
58
- onChangeText: handleChangeText
59
- };
60
- }
61
- //# sourceMappingURL=focusableInputHOC.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/focusableInputHOC.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA4B,kCAC5B,aAAyB,yBAEzB,eAAkB,8BAElB,2BAAkC;AAS3B,SAAS,aAAa;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AACF,GAIG;AACD,QAAM,EAAE,IAAI,cAAc,OAAO,aAAa,IAAI,OAC5C,aAAa,aAAAA,QAAM,OAAO,SAAS,gBAAgB,EAAE,GACrD,sBAAsB,aAAAA,QAAM,OAA+B,MAAS,GAEpE,iBAAiB,aAAAA,QAAM,YAAY,CAAC,UAAe;AACvD,UAAM,MAAM,GACR,MAAM,gBAAgB,OAAO,WAAW,WAAY,YACtD,MAAM,aAAa,GAAG,WAAW,QAAQ,MAAM;AAAA,EAEnD,GAAG,CAAC,CAAC,GAEC,2BAA2B,aAAAA,QAAM;AAAA,IACrC,CAAC,UAAe;AACd,MAAI,CAAC,MAAM,CAAC,UAEZ,oBAAoB,UAAU,GAC9B,oBAAoB,cAAU,4CAAkB,IAAI;AAAA,QAClD,OAAO,MAAM;AAAA,QACb,GAAI,WAAW;AAAA,UACb,gBAAgB,MAAM,eAAe,KAAK;AAAA,QAC5C;AAAA,MACF,CAAC;AAAA,IACH;AAAA,IACA,CAAC,IAAI,SAAS,cAAc;AAAA,EAC9B,GAEM,WAAW,aAAAA,QAAM;AAAA,IACrB,CAAC,UAAe;AACd,MAAI,SACF,yBAAyB,KAAK;AAAA,IAElC;AAAA,IACA,CAAC,wBAAwB;AAAA,EAC3B,GAEM,uBAAmB,qBAAS,CAACC,WAAkB;AACnD,eAAW,UAAUA,QACrB,eAAeA,MAAK;AAAA,EACtB,CAAC;AAED,sBAAAD,QAAM,UAAU,MACP,MAAM;AACX,wBAAoB,UAAU;AAAA,EAChC,GACC,CAAC,CAAC,GAEE;AAAA,IACL,KAAK,aAAAA,QAAM,QAAQ,UAAM,iCAAY,KAAK,QAAQ,GAAG,CAAC,KAAK,QAAQ,CAAC;AAAA,IACpE,cAAc;AAAA,EAChB;AACF;",
5
- "names": ["React", "value"]
6
- }
package/dist/cjs/index.js DELETED
@@ -1,17 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from == "object" || typeof from == "function")
7
- for (let key of __getOwnPropNames(from))
8
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
9
- return to;
10
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
11
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
12
- var index_exports = {};
13
- module.exports = __toCommonJS(index_exports);
14
- __reExport(index_exports, require("./registerFocusable"), module.exports);
15
- __reExport(index_exports, require("./focusableInputHOC"), module.exports);
16
- __reExport(index_exports, require("./focusable"), module.exports);
17
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,gCAAd;AACA,0BAAc,gCADd;AAEA,0BAAc,wBAFd;",
5
- "names": []
6
- }
@@ -1,26 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var registerFocusable_exports = {};
16
- __export(registerFocusable_exports, {
17
- focusFocusable: () => focusFocusable,
18
- registerFocusable: () => registerFocusable,
19
- unregisterFocusable: () => unregisterFocusable
20
- });
21
- module.exports = __toCommonJS(registerFocusable_exports);
22
- const registerFocusable = (id, input) => () => {
23
- }, unregisterFocusable = (id) => {
24
- }, focusFocusable = (id) => {
25
- };
26
- //# sourceMappingURL=registerFocusable.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/registerFocusable.ts"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,oBAAoB,CAAC,IAAY,UAAqB,MAAM;AAEzE,GAEa,sBAAsB,CAAC,OAAe;AAEnD,GAEa,iBAAiB,CAAC,OAAe;AAE9C;",
5
- "names": []
6
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=focusable.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "mappings": "",
5
- "names": []
6
- }
@@ -1,40 +0,0 @@
1
- import { composeRefs } from "@tamagui/compose-refs";
2
- import { useEvent } from "@tamagui/web";
3
- import React from "react";
4
- import { registerFocusable } from "./registerFocusable";
5
- function useFocusable({
6
- isInput,
7
- props,
8
- ref
9
- }) {
10
- const { id, onChangeText, value, defaultValue } = props, inputValue = React.useRef(value || defaultValue || ""), unregisterFocusable = React.useRef(void 0), focusAndSelect = React.useCallback((input) => {
11
- input.focus(), input.setSelection && typeof inputValue.current == "string" && input.setSelection(0, inputValue.current.length);
12
- }, []), registerFocusableHandler = React.useCallback(
13
- (input) => {
14
- !id || !input || (unregisterFocusable.current?.(), unregisterFocusable.current = registerFocusable(id, {
15
- focus: input.focus,
16
- ...isInput && {
17
- focusAndSelect: () => focusAndSelect(input)
18
- }
19
- }));
20
- },
21
- [id, isInput, focusAndSelect]
22
- ), inputRef = React.useCallback(
23
- (input) => {
24
- input && registerFocusableHandler(input);
25
- },
26
- [registerFocusableHandler]
27
- ), handleChangeText = useEvent((value2) => {
28
- inputValue.current = value2, onChangeText?.(value2);
29
- });
30
- return React.useEffect(() => () => {
31
- unregisterFocusable.current?.();
32
- }, []), {
33
- ref: React.useMemo(() => composeRefs(ref, inputRef), [ref, inputRef]),
34
- onChangeText: handleChangeText
35
- };
36
- }
37
- export {
38
- useFocusable
39
- };
40
- //# sourceMappingURL=focusableInputHOC.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/focusableInputHOC.tsx"],
4
- "mappings": "AAAA,SAAS,mBAAmB;AAC5B,SAAS,gBAAgB;AAEzB,OAAO,WAAW;AAElB,SAAS,yBAAyB;AAS3B,SAAS,aAAa;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AACF,GAIG;AACD,QAAM,EAAE,IAAI,cAAc,OAAO,aAAa,IAAI,OAC5C,aAAa,MAAM,OAAO,SAAS,gBAAgB,EAAE,GACrD,sBAAsB,MAAM,OAA+B,MAAS,GAEpE,iBAAiB,MAAM,YAAY,CAAC,UAAe;AACvD,UAAM,MAAM,GACR,MAAM,gBAAgB,OAAO,WAAW,WAAY,YACtD,MAAM,aAAa,GAAG,WAAW,QAAQ,MAAM;AAAA,EAEnD,GAAG,CAAC,CAAC,GAEC,2BAA2B,MAAM;AAAA,IACrC,CAAC,UAAe;AACd,MAAI,CAAC,MAAM,CAAC,UAEZ,oBAAoB,UAAU,GAC9B,oBAAoB,UAAU,kBAAkB,IAAI;AAAA,QAClD,OAAO,MAAM;AAAA,QACb,GAAI,WAAW;AAAA,UACb,gBAAgB,MAAM,eAAe,KAAK;AAAA,QAC5C;AAAA,MACF,CAAC;AAAA,IACH;AAAA,IACA,CAAC,IAAI,SAAS,cAAc;AAAA,EAC9B,GAEM,WAAW,MAAM;AAAA,IACrB,CAAC,UAAe;AACd,MAAI,SACF,yBAAyB,KAAK;AAAA,IAElC;AAAA,IACA,CAAC,wBAAwB;AAAA,EAC3B,GAEM,mBAAmB,SAAS,CAACA,WAAkB;AACnD,eAAW,UAAUA,QACrB,eAAeA,MAAK;AAAA,EACtB,CAAC;AAED,eAAM,UAAU,MACP,MAAM;AACX,wBAAoB,UAAU;AAAA,EAChC,GACC,CAAC,CAAC,GAEE;AAAA,IACL,KAAK,MAAM,QAAQ,MAAM,YAAY,KAAK,QAAQ,GAAG,CAAC,KAAK,QAAQ,CAAC;AAAA,IACpE,cAAc;AAAA,EAChB;AACF;",
5
- "names": ["value"]
6
- }
@@ -1,10 +0,0 @@
1
- const registerFocusable = (id, input) => () => {
2
- }, unregisterFocusable = (id) => {
3
- }, focusFocusable = (id) => {
4
- };
5
- export {
6
- focusFocusable,
7
- registerFocusable,
8
- unregisterFocusable
9
- };
10
- //# sourceMappingURL=registerFocusable.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/registerFocusable.ts"],
4
- "mappings": "AAEO,MAAM,oBAAoB,CAAC,IAAY,UAAqB,MAAM;AAEzE,GAEa,sBAAsB,CAAC,OAAe;AAEnD,GAEa,iBAAiB,CAAC,OAAe;AAE9C;",
5
- "names": []
6
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=focusable.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "mappings": "",
5
- "names": []
6
- }
@@ -1,40 +0,0 @@
1
- import { composeRefs } from "@tamagui/compose-refs";
2
- import { useEvent } from "@tamagui/web";
3
- import React from "react";
4
- import { registerFocusable } from "./registerFocusable";
5
- function useFocusable({
6
- isInput,
7
- props,
8
- ref
9
- }) {
10
- const { id, onChangeText, value, defaultValue } = props, inputValue = React.useRef(value || defaultValue || ""), unregisterFocusable = React.useRef(void 0), focusAndSelect = React.useCallback((input) => {
11
- input.focus(), input.setSelection && typeof inputValue.current == "string" && input.setSelection(0, inputValue.current.length);
12
- }, []), registerFocusableHandler = React.useCallback(
13
- (input) => {
14
- !id || !input || (unregisterFocusable.current?.(), unregisterFocusable.current = registerFocusable(id, {
15
- focus: input.focus,
16
- ...isInput && {
17
- focusAndSelect: () => focusAndSelect(input)
18
- }
19
- }));
20
- },
21
- [id, isInput, focusAndSelect]
22
- ), inputRef = React.useCallback(
23
- (input) => {
24
- input && registerFocusableHandler(input);
25
- },
26
- [registerFocusableHandler]
27
- ), handleChangeText = useEvent((value2) => {
28
- inputValue.current = value2, onChangeText?.(value2);
29
- });
30
- return React.useEffect(() => () => {
31
- unregisterFocusable.current?.();
32
- }, []), {
33
- ref: React.useMemo(() => composeRefs(ref, inputRef), [ref, inputRef]),
34
- onChangeText: handleChangeText
35
- };
36
- }
37
- export {
38
- useFocusable
39
- };
40
- //# sourceMappingURL=focusableInputHOC.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/focusableInputHOC.tsx"],
4
- "mappings": "AAAA,SAAS,mBAAmB;AAC5B,SAAS,gBAAgB;AAEzB,OAAO,WAAW;AAElB,SAAS,yBAAyB;AAS3B,SAAS,aAAa;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AACF,GAIG;AACD,QAAM,EAAE,IAAI,cAAc,OAAO,aAAa,IAAI,OAC5C,aAAa,MAAM,OAAO,SAAS,gBAAgB,EAAE,GACrD,sBAAsB,MAAM,OAA+B,MAAS,GAEpE,iBAAiB,MAAM,YAAY,CAAC,UAAe;AACvD,UAAM,MAAM,GACR,MAAM,gBAAgB,OAAO,WAAW,WAAY,YACtD,MAAM,aAAa,GAAG,WAAW,QAAQ,MAAM;AAAA,EAEnD,GAAG,CAAC,CAAC,GAEC,2BAA2B,MAAM;AAAA,IACrC,CAAC,UAAe;AACd,MAAI,CAAC,MAAM,CAAC,UAEZ,oBAAoB,UAAU,GAC9B,oBAAoB,UAAU,kBAAkB,IAAI;AAAA,QAClD,OAAO,MAAM;AAAA,QACb,GAAI,WAAW;AAAA,UACb,gBAAgB,MAAM,eAAe,KAAK;AAAA,QAC5C;AAAA,MACF,CAAC;AAAA,IACH;AAAA,IACA,CAAC,IAAI,SAAS,cAAc;AAAA,EAC9B,GAEM,WAAW,MAAM;AAAA,IACrB,CAAC,UAAe;AACd,MAAI,SACF,yBAAyB,KAAK;AAAA,IAElC;AAAA,IACA,CAAC,wBAAwB;AAAA,EAC3B,GAEM,mBAAmB,SAAS,CAACA,WAAkB;AACnD,eAAW,UAAUA,QACrB,eAAeA,MAAK;AAAA,EACtB,CAAC;AAED,eAAM,UAAU,MACP,MAAM;AACX,wBAAoB,UAAU;AAAA,EAChC,GACC,CAAC,CAAC,GAEE;AAAA,IACL,KAAK,MAAM,QAAQ,MAAM,YAAY,KAAK,QAAQ,GAAG,CAAC,KAAK,QAAQ,CAAC;AAAA,IACpE,cAAc;AAAA,EAChB;AACF;",
5
- "names": ["value"]
6
- }
@@ -1,10 +0,0 @@
1
- const registerFocusable = (id, input) => () => {
2
- }, unregisterFocusable = (id) => {
3
- }, focusFocusable = (id) => {
4
- };
5
- export {
6
- focusFocusable,
7
- registerFocusable,
8
- unregisterFocusable
9
- };
10
- //# sourceMappingURL=registerFocusable.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/registerFocusable.ts"],
4
- "mappings": "AAEO,MAAM,oBAAoB,CAAC,IAAY,UAAqB,MAAM;AAEzE,GAEa,sBAAsB,CAAC,OAAe;AAEnD,GAEa,iBAAiB,CAAC,OAAe;AAE9C;",
5
- "names": []
6
- }