@hanzogui/native 3.0.6 → 4.4.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.
- package/dist/cjs/PressBoundary.cjs +92 -0
- package/dist/cjs/PressBoundary.native.js +105 -0
- package/dist/cjs/PressBoundary.native.js.map +1 -0
- package/dist/cjs/burntState.cjs +14 -12
- package/dist/cjs/burntState.native.js +18 -16
- package/dist/cjs/burntState.native.js.map +1 -1
- package/dist/cjs/components.cjs +20 -15
- package/dist/cjs/components.native.js +24 -22
- package/dist/cjs/components.native.js.map +1 -1
- package/dist/cjs/gesture-handler.cjs +36 -0
- package/dist/cjs/gesture-handler.native.js +39 -0
- package/dist/cjs/gesture-handler.native.js.map +1 -0
- package/dist/cjs/gestureState.cjs +116 -23
- package/dist/cjs/gestureState.native.js +127 -38
- package/dist/cjs/gestureState.native.js.map +1 -1
- package/dist/cjs/globalState.cjs +17 -11
- package/dist/cjs/globalState.native.js +17 -11
- package/dist/cjs/globalState.native.js.map +1 -1
- package/dist/cjs/index.cjs +26 -21
- package/dist/cjs/index.native.js +26 -21
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/keyboardControllerState.cjs +14 -12
- package/dist/cjs/keyboardControllerState.native.js +23 -21
- package/dist/cjs/keyboardControllerState.native.js.map +1 -1
- package/dist/cjs/linearGradientState.cjs +14 -12
- package/dist/cjs/linearGradientState.native.js +17 -15
- package/dist/cjs/linearGradientState.native.js.map +1 -1
- package/dist/cjs/nativeMenuContext.cjs +13 -11
- package/dist/cjs/nativeMenuContext.native.js +14 -12
- package/dist/cjs/nativeMenuContext.native.js.map +1 -1
- package/dist/cjs/portalState.cjs +14 -12
- package/dist/cjs/portalState.native.js +17 -15
- package/dist/cjs/portalState.native.js.map +1 -1
- package/dist/cjs/safeAreaState.cjs +38 -30
- package/dist/cjs/safeAreaState.native.js +39 -31
- package/dist/cjs/safeAreaState.native.js.map +1 -1
- package/dist/cjs/setup-burnt.cjs +9 -8
- package/dist/cjs/setup-burnt.native.js +9 -8
- package/dist/cjs/setup-burnt.native.js.map +1 -1
- package/dist/cjs/setup-expo-linear-gradient.cjs +9 -8
- package/dist/cjs/setup-expo-linear-gradient.native.js +9 -8
- package/dist/cjs/setup-expo-linear-gradient.native.js.map +1 -1
- package/dist/cjs/setup-gesture-handler.cjs +58 -18
- package/dist/cjs/setup-gesture-handler.native.js +58 -18
- package/dist/cjs/setup-gesture-handler.native.js.map +1 -1
- package/dist/cjs/setup-keyboard-controller.native.js +20 -17
- package/dist/cjs/setup-safe-area.cjs +28 -1
- package/dist/cjs/setup-safe-area.native.js +19 -13
- package/dist/cjs/setup-safe-area.native.js.map +1 -1
- package/dist/cjs/setup-teleport.cjs +13 -13
- package/dist/cjs/setup-teleport.native.js +13 -13
- package/dist/cjs/setup-teleport.native.js.map +1 -1
- package/dist/cjs/setup-worklets.cjs +11 -8
- package/dist/cjs/setup-worklets.native.js +11 -8
- package/dist/cjs/setup-worklets.native.js.map +1 -1
- package/dist/cjs/setup-zeego.cjs +12 -9
- package/dist/cjs/setup-zeego.native.js +12 -9
- package/dist/cjs/setup-zeego.native.js.map +1 -1
- package/dist/cjs/types.cjs +7 -5
- package/dist/cjs/types.native.js +7 -5
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/workletsState.cjs +14 -12
- package/dist/cjs/workletsState.native.js +20 -18
- package/dist/cjs/workletsState.native.js.map +1 -1
- package/dist/cjs/zeegoState.cjs +14 -12
- package/dist/cjs/zeegoState.native.js +18 -16
- package/dist/cjs/zeegoState.native.js.map +1 -1
- package/dist/esm/PressBoundary.mjs +56 -0
- package/dist/esm/PressBoundary.mjs.map +1 -0
- package/dist/esm/PressBoundary.native.js +66 -0
- package/dist/esm/PressBoundary.native.js.map +1 -0
- package/dist/esm/burntState.mjs +2 -2
- package/dist/esm/burntState.native.js +2 -2
- package/dist/esm/components.mjs +6 -3
- package/dist/esm/components.mjs.map +1 -1
- package/dist/esm/components.native.js +10 -10
- package/dist/esm/components.native.js.map +1 -1
- package/dist/esm/gesture-handler.mjs +6 -0
- package/dist/esm/gesture-handler.mjs.map +1 -0
- package/dist/esm/gesture-handler.native.js +6 -0
- package/dist/esm/gesture-handler.native.js.map +1 -0
- package/dist/esm/gestureState.mjs +102 -13
- package/dist/esm/gestureState.mjs.map +1 -1
- package/dist/esm/gestureState.native.js +108 -23
- package/dist/esm/gestureState.native.js.map +1 -1
- package/dist/esm/globalState.mjs +5 -1
- package/dist/esm/globalState.mjs.map +1 -1
- package/dist/esm/globalState.native.js +5 -1
- package/dist/esm/globalState.native.js.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +2 -1
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/keyboardControllerState.mjs +2 -2
- package/dist/esm/keyboardControllerState.native.js +2 -2
- package/dist/esm/linearGradientState.mjs +2 -2
- package/dist/esm/linearGradientState.native.js +2 -2
- package/dist/esm/nativeMenuContext.mjs +1 -1
- package/dist/esm/nativeMenuContext.mjs.map +1 -1
- package/dist/esm/nativeMenuContext.native.js +1 -1
- package/dist/esm/nativeMenuContext.native.js.map +1 -1
- package/dist/esm/portalState.mjs +2 -2
- package/dist/esm/portalState.native.js +2 -2
- package/dist/esm/safeAreaState.mjs +26 -20
- package/dist/esm/safeAreaState.mjs.map +1 -1
- package/dist/esm/safeAreaState.native.js +26 -20
- package/dist/esm/safeAreaState.native.js.map +1 -1
- package/dist/esm/setup-burnt.mjs +9 -8
- package/dist/esm/setup-burnt.mjs.map +1 -1
- package/dist/esm/setup-burnt.native.js +9 -8
- package/dist/esm/setup-burnt.native.js.map +1 -1
- package/dist/esm/setup-expo-linear-gradient.mjs +9 -8
- package/dist/esm/setup-expo-linear-gradient.mjs.map +1 -1
- package/dist/esm/setup-expo-linear-gradient.native.js +9 -8
- package/dist/esm/setup-expo-linear-gradient.native.js.map +1 -1
- package/dist/esm/setup-gesture-handler.mjs +31 -18
- package/dist/esm/setup-gesture-handler.mjs.map +1 -1
- package/dist/esm/setup-gesture-handler.native.js +31 -18
- package/dist/esm/setup-gesture-handler.native.js.map +1 -1
- package/dist/esm/setup-keyboard-controller.native.js +20 -17
- package/dist/esm/setup-safe-area.mjs +27 -0
- package/dist/esm/setup-safe-area.mjs.map +1 -1
- package/dist/esm/setup-safe-area.native.js +19 -13
- package/dist/esm/setup-safe-area.native.js.map +1 -1
- package/dist/esm/setup-teleport.mjs +13 -13
- package/dist/esm/setup-teleport.mjs.map +1 -1
- package/dist/esm/setup-teleport.native.js +13 -13
- package/dist/esm/setup-teleport.native.js.map +1 -1
- package/dist/esm/setup-worklets.mjs +11 -8
- package/dist/esm/setup-worklets.mjs.map +1 -1
- package/dist/esm/setup-worklets.native.js +11 -8
- package/dist/esm/setup-worklets.native.js.map +1 -1
- package/dist/esm/setup-zeego.mjs +12 -9
- package/dist/esm/setup-zeego.mjs.map +1 -1
- package/dist/esm/setup-zeego.native.js +12 -9
- package/dist/esm/setup-zeego.native.js.map +1 -1
- package/dist/esm/workletsState.mjs +2 -2
- package/dist/esm/workletsState.native.js +2 -2
- package/dist/esm/zeegoState.mjs +2 -2
- package/dist/esm/zeegoState.native.js +2 -2
- package/gesture-handler/index.cjs +1 -0
- package/gesture-handler/index.js +1 -0
- package/gesture-handler/index.native.cjs +1 -0
- package/gesture-handler/index.native.js +1 -0
- package/gesture-handler.cjs +1 -0
- package/package.json +16 -3
- package/src/PressBoundary.tsx +81 -0
- package/src/gesture-handler.ts +17 -0
- package/src/gestureState.ts +137 -6
- package/src/index.ts +13 -2
- package/src/setup-burnt.ts +1 -1
- package/src/setup-gesture-handler.ts +38 -11
- package/src/setup-keyboard-controller.ts +1 -1
- package/src/setup-safe-area.ts +3 -3
- package/src/setup-worklets.ts +1 -1
- package/src/setup-zeego.ts +1 -1
- package/types/PressBoundary.d.ts +14 -0
- package/types/gesture-handler.d.ts +8 -0
- package/types/gestureState.d.ts +4 -0
- package/types/index.d.ts +4 -2
- package/types/setup-gesture-handler.d.ts +8 -1
|
@@ -0,0 +1,92 @@
|
|
|
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;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
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;
|
|
21
|
+
};
|
|
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
|
|
30
|
+
}) : target, mod));
|
|
31
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: true
|
|
33
|
+
}), mod);
|
|
34
|
+
var PressBoundary_exports = {};
|
|
35
|
+
__export(PressBoundary_exports, {
|
|
36
|
+
PressBoundary: () => PressBoundary
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(PressBoundary_exports);
|
|
39
|
+
var import_react = __toESM(require("react"), 1);
|
|
40
|
+
var import_react_native = require("react-native-web");
|
|
41
|
+
var import_gestureState = require("./gestureState.cjs");
|
|
42
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
43
|
+
function composeFirst(ours, theirs) {
|
|
44
|
+
return (...args) => {
|
|
45
|
+
ours(...args);
|
|
46
|
+
theirs?.(...args);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function composeLast(theirs, ours) {
|
|
50
|
+
return (...args) => {
|
|
51
|
+
theirs?.(...args);
|
|
52
|
+
ours(...args);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
const PressBoundary = import_react.default.forwardRef(function PressBoundary2({
|
|
56
|
+
enabled,
|
|
57
|
+
stopPropagation,
|
|
58
|
+
debugName,
|
|
59
|
+
onTouchStart,
|
|
60
|
+
onTouchEnd,
|
|
61
|
+
onTouchCancel,
|
|
62
|
+
onResponderGrant,
|
|
63
|
+
onResponderRelease,
|
|
64
|
+
onResponderTerminate,
|
|
65
|
+
...props
|
|
66
|
+
}, forwardedRef) {
|
|
67
|
+
const tokenRef = import_react.default.useRef(null);
|
|
68
|
+
const isEnabled = enabled ?? stopPropagation ?? true;
|
|
69
|
+
const claim = import_react.default.useCallback(() => {
|
|
70
|
+
if (!isEnabled) return;
|
|
71
|
+
if (tokenRef.current) {
|
|
72
|
+
(0, import_gestureState.releaseExternalPressOwnership)(tokenRef.current, debugName);
|
|
73
|
+
}
|
|
74
|
+
tokenRef.current = (0, import_gestureState.claimExternalPressOwnership)(debugName);
|
|
75
|
+
}, [debugName, isEnabled]);
|
|
76
|
+
const release = import_react.default.useCallback(() => {
|
|
77
|
+
if (!tokenRef.current) return;
|
|
78
|
+
(0, import_gestureState.releaseExternalPressOwnership)(tokenRef.current, debugName);
|
|
79
|
+
tokenRef.current = null;
|
|
80
|
+
}, [debugName]);
|
|
81
|
+
import_react.default.useEffect(() => release, [release]);
|
|
82
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react_native.View, {
|
|
83
|
+
ref: forwardedRef,
|
|
84
|
+
...props,
|
|
85
|
+
onTouchStart: composeFirst(claim, onTouchStart),
|
|
86
|
+
onTouchEnd: composeLast(onTouchEnd, release),
|
|
87
|
+
onTouchCancel: composeLast(onTouchCancel, release),
|
|
88
|
+
onResponderGrant: composeFirst(claim, onResponderGrant),
|
|
89
|
+
onResponderRelease: composeLast(onResponderRelease, release),
|
|
90
|
+
onResponderTerminate: composeLast(onResponderTerminate, release)
|
|
91
|
+
});
|
|
92
|
+
});
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
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;
|
|
23
|
+
};
|
|
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
|
|
32
|
+
}) : target, mod));
|
|
33
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
34
|
+
value: true
|
|
35
|
+
}), mod);
|
|
36
|
+
var PressBoundary_exports = {};
|
|
37
|
+
__export(PressBoundary_exports, {
|
|
38
|
+
PressBoundary: () => PressBoundary
|
|
39
|
+
});
|
|
40
|
+
module.exports = __toCommonJS(PressBoundary_exports);
|
|
41
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
var import_react = __toESM(require("react"), 1);
|
|
43
|
+
var import_react_native = require("react-native");
|
|
44
|
+
var import_gestureState = require("./gestureState.native.js");
|
|
45
|
+
function composeFirst(ours, theirs) {
|
|
46
|
+
return function () {
|
|
47
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
48
|
+
args[_key] = arguments[_key];
|
|
49
|
+
}
|
|
50
|
+
ours(...args);
|
|
51
|
+
theirs === null || theirs === void 0 ? void 0 : theirs(...args);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function composeLast(theirs, ours) {
|
|
55
|
+
return function () {
|
|
56
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
57
|
+
args[_key] = arguments[_key];
|
|
58
|
+
}
|
|
59
|
+
theirs === null || theirs === void 0 ? void 0 : theirs(...args);
|
|
60
|
+
ours(...args);
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
var PressBoundary = /* @__PURE__ */import_react.default.forwardRef(function PressBoundary2(param, forwardedRef) {
|
|
64
|
+
var {
|
|
65
|
+
enabled,
|
|
66
|
+
stopPropagation,
|
|
67
|
+
debugName,
|
|
68
|
+
onTouchStart,
|
|
69
|
+
onTouchEnd,
|
|
70
|
+
onTouchCancel,
|
|
71
|
+
onResponderGrant,
|
|
72
|
+
onResponderRelease,
|
|
73
|
+
onResponderTerminate,
|
|
74
|
+
...props
|
|
75
|
+
} = param;
|
|
76
|
+
var tokenRef = import_react.default.useRef(null);
|
|
77
|
+
var _ref;
|
|
78
|
+
var isEnabled = (_ref = enabled !== null && enabled !== void 0 ? enabled : stopPropagation) !== null && _ref !== void 0 ? _ref : true;
|
|
79
|
+
var claim = import_react.default.useCallback(function () {
|
|
80
|
+
if (!isEnabled) return;
|
|
81
|
+
if (tokenRef.current) {
|
|
82
|
+
(0, import_gestureState.releaseExternalPressOwnership)(tokenRef.current, debugName);
|
|
83
|
+
}
|
|
84
|
+
tokenRef.current = (0, import_gestureState.claimExternalPressOwnership)(debugName);
|
|
85
|
+
}, [debugName, isEnabled]);
|
|
86
|
+
var release = import_react.default.useCallback(function () {
|
|
87
|
+
if (!tokenRef.current) return;
|
|
88
|
+
(0, import_gestureState.releaseExternalPressOwnership)(tokenRef.current, debugName);
|
|
89
|
+
tokenRef.current = null;
|
|
90
|
+
}, [debugName]);
|
|
91
|
+
import_react.default.useEffect(function () {
|
|
92
|
+
return release;
|
|
93
|
+
}, [release]);
|
|
94
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react_native.View, {
|
|
95
|
+
ref: forwardedRef,
|
|
96
|
+
...props,
|
|
97
|
+
onTouchStart: composeFirst(claim, onTouchStart),
|
|
98
|
+
onTouchEnd: composeLast(onTouchEnd, release),
|
|
99
|
+
onTouchCancel: composeLast(onTouchCancel, release),
|
|
100
|
+
onResponderGrant: composeFirst(claim, onResponderGrant),
|
|
101
|
+
onResponderRelease: composeLast(onResponderRelease, release),
|
|
102
|
+
onResponderTerminate: composeLast(onResponderTerminate, release)
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
//# sourceMappingURL=PressBoundary.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","PressBoundary_exports","__export","PressBoundary","module","exports","import_jsx_runtime","require","import_react","__toESM","import_react_native","import_gestureState","composeFirst","ours","theirs","_len","arguments","length","args","Array","_key","composeLast","default","forwardRef","PressBoundary2","param","forwardedRef","enabled","stopPropagation","debugName","onTouchStart","onTouchEnd","onTouchCancel","onResponderGrant","onResponderRelease","onResponderTerminate","props","tokenRef","useRef","_ref","isEnabled","claim","useCallback","current","releaseExternalPressOwnership","claimExternalPressOwnership","release","useEffect","jsx","View","ref"],"sources":["../../src/PressBoundary.tsx"],"sourcesContent":[null],"mappings":"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","ignoreList":[]}
|
package/dist/cjs/burntState.cjs
CHANGED
|
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var burntState_exports = {};
|
|
22
24
|
__export(burntState_exports, {
|
|
@@ -24,8 +26,8 @@ __export(burntState_exports, {
|
|
|
24
26
|
});
|
|
25
27
|
module.exports = __toCommonJS(burntState_exports);
|
|
26
28
|
var import_globalState = require("./globalState.cjs");
|
|
27
|
-
const state = (0, import_globalState.createGlobalState)(
|
|
28
|
-
enabled:
|
|
29
|
+
const state = (0, import_globalState.createGlobalState)(`burnt`, {
|
|
30
|
+
enabled: false,
|
|
29
31
|
toast: null,
|
|
30
32
|
dismissAllAlerts: null
|
|
31
33
|
});
|
|
@@ -5,32 +5,34 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
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, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var burntState_exports = {};
|
|
24
26
|
__export(burntState_exports, {
|
|
25
27
|
getBurnt: () => getBurnt
|
|
26
28
|
});
|
|
27
29
|
module.exports = __toCommonJS(burntState_exports);
|
|
28
|
-
var import_globalState = require("./globalState.native.js")
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
var import_globalState = require("./globalState.native.js");
|
|
31
|
+
var state = (0, import_globalState.createGlobalState)(`burnt`, {
|
|
32
|
+
enabled: false,
|
|
33
|
+
toast: null,
|
|
34
|
+
dismissAllAlerts: null
|
|
35
|
+
});
|
|
34
36
|
function getBurnt() {
|
|
35
37
|
return {
|
|
36
38
|
get isEnabled() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","burntState_exports","__export","getBurnt","module","exports","import_globalState","require","state","createGlobalState","enabled","toast","dismissAllAlerts","isEnabled","get","set","newState"],"sources":["../../src/burntState.ts"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","burntState_exports","__export","getBurnt","module","exports","import_globalState","require","state","createGlobalState","enabled","toast","dismissAllAlerts","isEnabled","get","set","newState"],"sources":["../../src/burntState.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,QAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAkC,CAAAK,kBAAA;AAGlC,IAAAK,kBAAc,GAAAC,OAAA;AAAuC,IACnDC,KAAA,GAAS,IAAAF,kBAAA,CAAAG,iBAAA;EACTC,OAAO;EACPC,KAAA;EACDC,gBAAA;AAQM;AACL,SAAOT,SAAA;EAAA,OACD;IACF,IAAAU,SAAOA,CAAA,EAAM;MACf,OAAAL,KAAA,CAAAM,GAAA,GAAAJ,OAAA;IACA;IACE,IAAAF,KAAOA,CAAA;MACT,OAAAA,KAAA,CAAAM,GAAA;IACA;IACEC,IAAAC,QAAU;MACZR,KAAA,CAAAO,GAAA,CAAAC,QAAA;IACF;EACF","ignoreList":[]}
|
package/dist/cjs/components.cjs
CHANGED
|
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var components_exports = {};
|
|
22
24
|
__export(components_exports, {
|
|
@@ -25,13 +27,14 @@ __export(components_exports, {
|
|
|
25
27
|
NativePortalProvider: () => NativePortalProvider
|
|
26
28
|
});
|
|
27
29
|
module.exports = __toCommonJS(components_exports);
|
|
28
|
-
var import_portalState = require("./portalState.cjs")
|
|
29
|
-
|
|
30
|
+
var import_portalState = require("./portalState.cjs");
|
|
31
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
32
|
function NativePortal({
|
|
31
33
|
hostName = "root",
|
|
32
34
|
children
|
|
33
35
|
}) {
|
|
34
|
-
|
|
36
|
+
const state = (0, import_portalState.getPortal)().state;
|
|
37
|
+
if (state.type !== "teleport") return null;
|
|
35
38
|
const {
|
|
36
39
|
Portal
|
|
37
40
|
} = globalThis.__gui_teleport;
|
|
@@ -43,7 +46,8 @@ function NativePortal({
|
|
|
43
46
|
function NativePortalHost({
|
|
44
47
|
name
|
|
45
48
|
}) {
|
|
46
|
-
|
|
49
|
+
const state = (0, import_portalState.getPortal)().state;
|
|
50
|
+
if (state.type !== "teleport") return null;
|
|
47
51
|
const {
|
|
48
52
|
PortalHost
|
|
49
53
|
} = globalThis.__gui_teleport;
|
|
@@ -54,7 +58,8 @@ function NativePortalHost({
|
|
|
54
58
|
function NativePortalProvider({
|
|
55
59
|
children
|
|
56
60
|
}) {
|
|
57
|
-
|
|
61
|
+
const state = (0, import_portalState.getPortal)().state;
|
|
62
|
+
if (state.type !== "teleport") return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
58
63
|
children
|
|
59
64
|
});
|
|
60
65
|
const {
|
|
@@ -5,20 +5,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
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, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var components_exports = {};
|
|
24
26
|
__export(components_exports, {
|
|
@@ -27,14 +29,14 @@ __export(components_exports, {
|
|
|
27
29
|
NativePortalProvider: () => NativePortalProvider
|
|
28
30
|
});
|
|
29
31
|
module.exports = __toCommonJS(components_exports);
|
|
30
|
-
var import_jsx_runtime = require("react/jsx-runtime")
|
|
31
|
-
|
|
32
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
33
|
+
var import_portalState = require("./portalState.native.js");
|
|
32
34
|
function NativePortal(param) {
|
|
33
35
|
var {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
hostName = "root",
|
|
37
|
+
children
|
|
38
|
+
} = param;
|
|
39
|
+
var state = (0, import_portalState.getPortal)().state;
|
|
38
40
|
if (state.type !== "teleport") return null;
|
|
39
41
|
var {
|
|
40
42
|
Portal
|
|
@@ -46,9 +48,9 @@ function NativePortal(param) {
|
|
|
46
48
|
}
|
|
47
49
|
function NativePortalHost(param) {
|
|
48
50
|
var {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
name
|
|
52
|
+
} = param;
|
|
53
|
+
var state = (0, import_portalState.getPortal)().state;
|
|
52
54
|
if (state.type !== "teleport") return null;
|
|
53
55
|
var {
|
|
54
56
|
PortalHost
|
|
@@ -59,9 +61,9 @@ function NativePortalHost(param) {
|
|
|
59
61
|
}
|
|
60
62
|
function NativePortalProvider(param) {
|
|
61
63
|
var {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
children
|
|
65
|
+
} = param;
|
|
66
|
+
var state = (0, import_portalState.getPortal)().state;
|
|
65
67
|
if (state.type !== "teleport") return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
66
68
|
children
|
|
67
69
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","components_exports","__export","NativePortal","NativePortalHost","NativePortalProvider","module","exports","import_jsx_runtime","require","import_portalState","param","hostName","children","state","getPortal","type","Portal","globalThis","__gui_teleport","jsx","name","PortalHost"],"sources":["../../src/components.tsx"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","components_exports","__export","NativePortal","NativePortalHost","NativePortalProvider","module","exports","import_jsx_runtime","require","import_portalState","param","hostName","children","state","getPortal","type","Portal","globalThis","__gui_teleport","jsx","name","PortalHost"],"sources":["../../src/components.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA,YAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA,gBAAA;EAAAC,oBAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAX,YAA0B,CAAAK,kBAAA;AAqBjB,IAAAO,kBAAA,GAAAC,OAAA;AARF,IAAAC,kBAAsB,GAAAD,OAAA;AAAA,SAC3BN,YAAWA,CAAAQ,KAAA;EACX;IAAAC,QAAA;IAAAC;EAAA,IAAAF,KAAA;EACF,IAAiCG,KAAA,OAAAJ,kBAAA,CAAAK,SAAA,IAAAD,KAAA;EAC/B,IAAAA,KAAM,CAAAE,IAAA,KAAQ;EACd,IAAI;IAAAC;EAAM,IAAAC,UAAS,CAAAC,cAAmB;EAEtC,OAAM,eAAc,IAAAX,kBAAmB,CAAAY,GAAA,EAAAH,MAAA;IACvCL,QAAO;IACTC;EAMO;AACL;AACA,SAAIT,gBAAeA,CAAAO,KAAA,EAAY;EAE/B;IAAMU;EAAE,IAAAV,KAAW;EACnB,IAAAG,KAAO,OAAAJ,kBAAA,CAAAK,SAAA,IAAAD,KAAC;EACV,IAAAA,KAAA,CAAAE,IAAA;EAMO;IAAAM;EAAS,IAAAJ,UAAuB,CAAAC,cAAkD;EACvF,OAAM,eAAQ,IAAAX,kBAAA,CAAAY,GAAU,EAAEE,UAAA;IAC1BD;EAEA;AACA;AACF,SAAAhB,qBAAAM,KAAA","ignoreList":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
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) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var gesture_handler_exports = {};
|
|
24
|
+
__export(gesture_handler_exports, {
|
|
25
|
+
PressBoundary: () => import_PressBoundary.PressBoundary,
|
|
26
|
+
getGestureHandler: () => import_gestureState.getGestureHandler,
|
|
27
|
+
getGestureHandlerConfig: () => import_setup_gesture_handler.getGestureHandlerConfig,
|
|
28
|
+
setupGestureHandler: () => import_setup_gesture_handler.setupGestureHandler,
|
|
29
|
+
unstable_claimExternalPressOwnership: () => import_gestureState2.claimExternalPressOwnership,
|
|
30
|
+
unstable_releaseExternalPressOwnership: () => import_gestureState2.releaseExternalPressOwnership
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(gesture_handler_exports);
|
|
33
|
+
var import_gestureState = require("./gestureState.cjs");
|
|
34
|
+
var import_gestureState2 = require("./gestureState.cjs");
|
|
35
|
+
var import_PressBoundary = require("./PressBoundary.cjs");
|
|
36
|
+
var import_setup_gesture_handler = require("./setup-gesture-handler.cjs");
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
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;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var gesture_handler_exports = {};
|
|
26
|
+
__export(gesture_handler_exports, {
|
|
27
|
+
PressBoundary: () => import_PressBoundary.PressBoundary,
|
|
28
|
+
getGestureHandler: () => import_gestureState.getGestureHandler,
|
|
29
|
+
getGestureHandlerConfig: () => import_setup_gesture_handler.getGestureHandlerConfig,
|
|
30
|
+
setupGestureHandler: () => import_setup_gesture_handler.setupGestureHandler,
|
|
31
|
+
unstable_claimExternalPressOwnership: () => import_gestureState2.claimExternalPressOwnership,
|
|
32
|
+
unstable_releaseExternalPressOwnership: () => import_gestureState2.releaseExternalPressOwnership
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(gesture_handler_exports);
|
|
35
|
+
var import_gestureState = require("./gestureState.native.js");
|
|
36
|
+
var import_gestureState2 = require("./gestureState.native.js");
|
|
37
|
+
var import_PressBoundary = require("./PressBoundary.native.js");
|
|
38
|
+
var import_setup_gesture_handler = require("./setup-gesture-handler.native.js");
|
|
39
|
+
//# sourceMappingURL=gesture-handler.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","gesture_handler_exports","__export","PressBoundary","import_PressBoundary","getGestureHandler","import_gestureState","getGestureHandlerConfig","import_setup_gesture_handler","setupGestureHandler","unstable_claimExternalPressOwnership","import_gestureState2","claimExternalPressOwnership","unstable_releaseExternalPressOwnership","releaseExternalPressOwnership","module","exports","require"],"sources":["../../src/gesture-handler.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,aAAA,EAAAA,CAAA,KAAAC,oBAAA,CAAAD,aAAA;EAAAE,iBAAA,EAAAA,CAAA,KAAAC,mBAAA,CAAAD,iBAAA;EAAAE,uBAAA,EAAAA,CAAA,KAAAC,4BAAA,CAAAD,uBAAA;EAAAE,mBAAA,EAAAA,CAAA,KAAAD,4BAAA,CAAAC,mBAAA;EAAAC,oCAAA,EAAAA,CAAA,KAAAC,oBAAA,CAAAC,2BAAA;EAAAC,sCAAA,EAAAA,CAAA,KAAAF,oBAAA,CAAAG;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAApB,YAAkC,CAAAK,uBAAA;AAMlC,IAAAK,mBAAA,GAAAW,OAGO;AACP,IAAAN,oBAAA,GAA8BM,OAAA;AAE9B,IAAAb,oBAAA,GAAAa,OAAA,CAIO","ignoreList":[]}
|