@tamagui/core 1.61.2 → 1.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/cjs/getBaseViews.js +5 -9
  2. package/dist/cjs/getBaseViews.js.map +1 -1
  3. package/dist/cjs/getBaseViews.native.js +5 -8
  4. package/dist/cjs/getBaseViews.native.js.map +1 -1
  5. package/dist/cjs/helpers/getBoundingClientRect.js +7 -13
  6. package/dist/cjs/helpers/getBoundingClientRect.js.map +1 -1
  7. package/dist/cjs/helpers/getBoundingClientRect.native.js +29 -0
  8. package/dist/cjs/helpers/getBoundingClientRect.native.js.map +6 -0
  9. package/dist/cjs/helpers/getRect.js +5 -9
  10. package/dist/cjs/helpers/getRect.js.map +1 -1
  11. package/dist/cjs/helpers/getRect.native.js +33 -0
  12. package/dist/cjs/helpers/getRect.native.js.map +6 -0
  13. package/dist/cjs/hooks/useElementLayout.js +30 -46
  14. package/dist/cjs/hooks/useElementLayout.js.map +1 -1
  15. package/dist/cjs/hooks/useElementLayout.native.js +64 -0
  16. package/dist/cjs/hooks/useElementLayout.native.js.map +6 -0
  17. package/dist/cjs/hooks/usePlatformMethods.js +9 -21
  18. package/dist/cjs/hooks/usePlatformMethods.js.map +1 -1
  19. package/dist/cjs/hooks/usePlatformMethods.native.js +37 -0
  20. package/dist/cjs/hooks/usePlatformMethods.native.js.map +6 -0
  21. package/dist/cjs/index.js +11 -60
  22. package/dist/cjs/index.js.map +1 -1
  23. package/dist/cjs/index.native.js +106 -0
  24. package/dist/cjs/index.native.js.map +6 -0
  25. package/dist/cjs/inject-styles.js +7 -15
  26. package/dist/cjs/inject-styles.js.map +1 -1
  27. package/dist/cjs/inject-styles.native.js +33 -0
  28. package/dist/cjs/inject-styles.native.js.map +6 -0
  29. package/dist/cjs/native.js +20 -0
  30. package/dist/cjs/native.js.map +6 -0
  31. package/dist/cjs/reactNativeTypes.js +3 -6
  32. package/dist/cjs/reactNativeTypes.js.map +1 -1
  33. package/dist/cjs/reactNativeTypes.native.js +15 -0
  34. package/dist/cjs/reactNativeTypes.native.js.map +6 -0
  35. package/dist/cjs/vendor/Pressability.js +6 -11
  36. package/dist/cjs/vendor/Pressability.js.map +1 -1
  37. package/dist/cjs/vendor/Pressability.native.js +6 -10
  38. package/dist/cjs/vendor/Pressability.native.js.map +1 -1
  39. package/dist/esm/helpers/getBoundingClientRect.js +2 -4
  40. package/dist/esm/helpers/getBoundingClientRect.js.map +1 -1
  41. package/dist/esm/hooks/useElementLayout.js +24 -34
  42. package/dist/esm/hooks/useElementLayout.js.map +1 -1
  43. package/dist/esm/hooks/usePlatformMethods.js +3 -9
  44. package/dist/esm/hooks/usePlatformMethods.js.map +1 -1
  45. package/dist/esm/index.js +5 -45
  46. package/dist/esm/index.js.map +1 -1
  47. package/dist/esm/inject-styles.js +2 -6
  48. package/dist/esm/inject-styles.js.map +1 -1
  49. package/dist/esm/vendor/Pressability.js +1 -2
  50. package/dist/esm/vendor/Pressability.js.map +1 -1
  51. package/dist/native.js +6559 -0
  52. package/dist/native.js.map +6 -0
  53. package/package.json +14 -6
  54. package/src/native.ts +1 -0
  55. package/types/native.d.ts +2 -0
  56. package/types/native.d.ts.map +1 -0
  57. package/dist/esm/getBaseViews.native.js +0 -11
  58. package/dist/esm/getBaseViews.native.js.map +0 -6
  59. package/dist/esm/vendor/Pressability.native.js +0 -7
  60. package/dist/esm/vendor/Pressability.native.js.map +0 -6
package/dist/cjs/index.js CHANGED
@@ -1,38 +1,27 @@
1
- "use strict";
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
5
  var __export = (target, all) => {
7
6
  for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
12
10
  for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
12
  return to;
17
- };
18
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
13
+ }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
20
15
  var src_exports = {};
21
16
  __export(src_exports, {
22
17
  Stack: () => Stack,
23
18
  Text: () => Text
24
19
  });
25
20
  module.exports = __toCommonJS(src_exports);
26
- var import_react_native_use_responder_events = require("@tamagui/react-native-use-responder-events");
27
- var import_web = require("@tamagui/web");
28
- var import_getBaseViews = require("./getBaseViews");
29
- var import_useElementLayout = require("./hooks/useElementLayout");
30
- var import_usePlatformMethods = require("./hooks/usePlatformMethods");
31
- var import_Pressability = require("./vendor/Pressability");
21
+ var import_react_native_use_responder_events = require("@tamagui/react-native-use-responder-events"), import_web = require("@tamagui/web"), import_getBaseViews = require("./getBaseViews"), import_useElementLayout = require("./hooks/useElementLayout"), import_usePlatformMethods = require("./hooks/usePlatformMethods"), import_Pressability = require("./vendor/Pressability");
32
22
  __reExport(src_exports, require("@tamagui/web"), module.exports);
33
23
  __reExport(src_exports, require("./reactNativeTypes"), module.exports);
34
- const Stack = import_web.Stack;
35
- const Text = import_web.Text;
24
+ const Stack = import_web.Stack, Text = import_web.Text;
36
25
  (0, import_web.setupHooks)({
37
26
  getBaseViews: import_getBaseViews.getBaseViews,
38
27
  usePropsTransform(elementType, propsIn, hostRef) {
@@ -64,9 +53,7 @@ const Text = import_web.Text;
64
53
  hrefAttrs,
65
54
  ...viewProps
66
55
  } = propsIn;
67
- (0, import_usePlatformMethods.usePlatformMethods)(hostRef);
68
- (0, import_useElementLayout.useElementLayout)(hostRef, onLayout);
69
- (0, import_react_native_use_responder_events.useResponderEvents)(hostRef, {
56
+ if ((0, import_usePlatformMethods.usePlatformMethods)(hostRef), (0, import_useElementLayout.useElementLayout)(hostRef, onLayout), (0, import_react_native_use_responder_events.useResponderEvents)(hostRef, {
70
57
  onMoveShouldSetResponder,
71
58
  onMoveShouldSetResponderCapture,
72
59
  onResponderEnd,
@@ -83,51 +70,15 @@ const Text = import_web.Text;
83
70
  onSelectionChangeShouldSetResponderCapture,
84
71
  onStartShouldSetResponder,
85
72
  onStartShouldSetResponderCapture
86
- });
87
- if (viewProps.href !== void 0 && hrefAttrs !== void 0) {
73
+ }), viewProps.href !== void 0 && hrefAttrs !== void 0) {
88
74
  const { download, rel, target } = hrefAttrs;
89
- if (download != null) {
90
- viewProps.download = download;
91
- }
92
- if (rel != null) {
93
- viewProps.rel = rel;
94
- }
95
- if (typeof target === "string") {
96
- viewProps.target = target.charAt(0) !== "_" ? `_${target}` : target;
97
- }
75
+ download != null && (viewProps.download = download), rel != null && (viewProps.rel = rel), typeof target == "string" && (viewProps.target = target.charAt(0) !== "_" ? `_${target}` : target);
98
76
  }
99
77
  return viewProps;
100
78
  },
101
79
  useEvents(viewProps, events, { pseudos }, setStateShallow) {
102
- if (process.env.TAMAGUI_TARGET === "native") {
103
- const attachFocus = !!(pseudos == null ? void 0 : pseudos.focusStyle);
104
- if (attachFocus) {
105
- viewProps.onFocus = (0, import_web.composeEventHandlers)(viewProps.onFocus, () => {
106
- setStateShallow({ focus: true });
107
- });
108
- viewProps.onBlur = (0, import_web.composeEventHandlers)(viewProps.onBlur, () => {
109
- setStateShallow({ focus: false });
110
- });
111
- }
112
- if (events && viewProps.hitSlop) {
113
- events.hitSlop = viewProps.hitSlop;
114
- }
115
- const pressability = (0, import_Pressability.usePressability)(events || null);
116
- if (events) {
117
- if (events.onPress) {
118
- for (const key in pressability) {
119
- const og = viewProps[key];
120
- const val = pressability[key];
121
- viewProps[key] = og && !dontComposePressabilityKeys[key] ? (0, import_web.composeEventHandlers)(og, val) : val;
122
- }
123
- }
124
- }
125
- }
126
80
  }
127
81
  });
128
- const dontComposePressabilityKeys = {
129
- onClick: true
130
- };
131
82
  // Annotate the CommonJS export names for ESM import in node:
132
83
  0 && (module.exports = {
133
84
  Stack,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+CAAmC;AAUnC,iBAKO;AAGP,0BAA6B;AAC7B,8BAAiC;AACjC,gCAAmC;AAEnC,0BAAgC;AAGhC,wBAAc,yBAzBd;AA4BA,wBAAc,+BA5Bd;AAgCO,MAAM,QAAQ,WAAAA;AAMd,MAAM,OAAO,WAAAC;AAAA,IAQpB,uBAAW;AAAA,EACT;AAAA,EAEA,kBAAkB,aAAa,SAAS,SAAS;AAE/C,UAAM;AAAA;AAAA,MAEJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MAGA;AAAA,MACA;AAAA;AAAA,MAGA;AAAA,MACA;AAAA,MAEA;AAAA,MACA;AAAA,MAEA,GAAG;AAAA,IACL,IAAI;AAEJ,sDAAmB,OAA6B;AAChD,kDAAiB,SAA+B,QAAe;AAC/D,qEAAmB,SAAS;AAAA,MAC1B;A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AA,IAEjE;AAEA,WAAO;AAAA,EACT;AAAA,EAEA,UAAU,WAAW,QAAQ,EAAE,QAAQ,GAAG,iBAAiB;AAAA,EAiC3D;AACF,CAAC;",
5
5
  "names": ["WebStack", "WebText"]
6
6
  }
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __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
+ }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var src_exports = {};
17
+ __export(src_exports, {
18
+ Stack: () => Stack,
19
+ Text: () => Text
20
+ });
21
+ module.exports = __toCommonJS(src_exports);
22
+ var import_react_native_use_responder_events = require("@tamagui/react-native-use-responder-events"), import_web = require("@tamagui/web"), import_getBaseViews = require("./getBaseViews"), import_useElementLayout = require("./hooks/useElementLayout"), import_usePlatformMethods = require("./hooks/usePlatformMethods"), import_Pressability = require("./vendor/Pressability");
23
+ __reExport(src_exports, require("@tamagui/web"), module.exports);
24
+ __reExport(src_exports, require("./reactNativeTypes"), module.exports);
25
+ const Stack = import_web.Stack, Text = import_web.Text;
26
+ (0, import_web.setupHooks)({
27
+ getBaseViews: import_getBaseViews.getBaseViews,
28
+ usePropsTransform(elementType, propsIn, hostRef) {
29
+ const {
30
+ // event props
31
+ onMoveShouldSetResponder,
32
+ onMoveShouldSetResponderCapture,
33
+ onResponderEnd,
34
+ onResponderGrant,
35
+ onResponderMove,
36
+ onResponderReject,
37
+ onResponderRelease,
38
+ onResponderStart,
39
+ onResponderTerminate,
40
+ onResponderTerminationRequest,
41
+ onScrollShouldSetResponder,
42
+ onScrollShouldSetResponderCapture,
43
+ onSelectionChangeShouldSetResponder,
44
+ onSelectionChangeShouldSetResponderCapture,
45
+ onStartShouldSetResponder,
46
+ onStartShouldSetResponderCapture,
47
+ // android
48
+ collapsable,
49
+ focusable,
50
+ // deprecated,
51
+ accessible,
52
+ accessibilityDisabled,
53
+ onLayout,
54
+ hrefAttrs,
55
+ ...viewProps
56
+ } = propsIn;
57
+ if ((0, import_usePlatformMethods.usePlatformMethods)(hostRef), (0, import_useElementLayout.useElementLayout)(hostRef, onLayout), (0, import_react_native_use_responder_events.useResponderEvents)(hostRef, {
58
+ onMoveShouldSetResponder,
59
+ onMoveShouldSetResponderCapture,
60
+ onResponderEnd,
61
+ onResponderGrant,
62
+ onResponderMove,
63
+ onResponderReject,
64
+ onResponderRelease,
65
+ onResponderStart,
66
+ onResponderTerminate,
67
+ onResponderTerminationRequest,
68
+ onScrollShouldSetResponder,
69
+ onScrollShouldSetResponderCapture,
70
+ onSelectionChangeShouldSetResponder,
71
+ onSelectionChangeShouldSetResponderCapture,
72
+ onStartShouldSetResponder,
73
+ onStartShouldSetResponderCapture
74
+ }), viewProps.href !== void 0 && hrefAttrs !== void 0) {
75
+ const { download, rel, target } = hrefAttrs;
76
+ download != null && (viewProps.download = download), rel != null && (viewProps.rel = rel), typeof target == "string" && (viewProps.target = target.charAt(0) !== "_" ? `_${target}` : target);
77
+ }
78
+ return viewProps;
79
+ },
80
+ useEvents(viewProps, events, { pseudos }, setStateShallow) {
81
+ {
82
+ !!pseudos?.focusStyle && (viewProps.onFocus = (0, import_web.composeEventHandlers)(viewProps.onFocus, () => {
83
+ setStateShallow({ focus: !0 });
84
+ }), viewProps.onBlur = (0, import_web.composeEventHandlers)(viewProps.onBlur, () => {
85
+ setStateShallow({ focus: !1 });
86
+ })), events && viewProps.hitSlop && (events.hitSlop = viewProps.hitSlop);
87
+ const pressability = (0, import_Pressability.usePressability)(events || null);
88
+ if (events && events.onPress)
89
+ for (const key in pressability) {
90
+ const og = viewProps[key], val = pressability[key];
91
+ viewProps[key] = og && !dontComposePressabilityKeys[key] ? (0, import_web.composeEventHandlers)(og, val) : val;
92
+ }
93
+ }
94
+ }
95
+ });
96
+ const dontComposePressabilityKeys = {
97
+ onClick: !0
98
+ };
99
+ // Annotate the CommonJS export names for ESM import in node:
100
+ 0 && (module.exports = {
101
+ Stack,
102
+ Text,
103
+ ...require("@tamagui/web"),
104
+ ...require("./reactNativeTypes")
105
+ });
106
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+CAAmC,uDAUnC,aAKO,yBAGP,sBAA6B,2BAC7B,0BAAiC,qCACjC,4BAAmC,uCAEnC,sBAAgC;AAGhC,wBAAc,yBAzBd;AA4BA,wBAAc,+BA5Bd;AAgCO,MAAM,QAAQ,WAAAA,OAMR,OAAO,WAAAC;AAAA,IAQpB,uBAAW;AAAA,EACT;AAAA,EAEA,kBAAkB,aAAa,SAAS,SAAS;AAE/C,UAAM;AAAA;AAAA,MAEJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MAGA;AAAA,MACA;AAAA;AAAA,MAGA;AAAA,MACA;AAAA,MAEA;AAAA,MACA;AAAA,MAEA,GAAG;AAAA,IACL,IAAI;AAyBJ,YAvBA,8CAAmB,OAA6B,OAChD,0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  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
5
  var __export = (target, all) => {
7
6
  for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
12
10
  for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
12
  return to;
17
13
  };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
19
15
  var inject_styles_exports = {};
20
16
  __export(inject_styles_exports, {
21
17
  injectStyles: () => injectStyles
22
18
  });
23
19
  module.exports = __toCommonJS(inject_styles_exports);
24
- const stylesheets = {};
25
- const injectStyles = ({ filePath, css }) => {
20
+ const stylesheets = {}, injectStyles = ({ filePath, css }) => {
26
21
  let stylesheet = stylesheets[filePath];
27
22
  if (!stylesheet) {
28
23
  const styleEl = document.createElement("style");
29
- styleEl.setAttribute("data-file", filePath);
30
- styleEl.setAttribute("type", "text/css");
31
- stylesheet = stylesheets[filePath] = styleEl;
32
- document.head.appendChild(styleEl);
24
+ styleEl.setAttribute("data-file", filePath), styleEl.setAttribute("type", "text/css"), stylesheet = stylesheets[filePath] = styleEl, document.head.appendChild(styleEl);
33
25
  }
34
26
  stylesheet.innerHTML = css;
35
27
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/inject-styles.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,MAAM,cAA2C,CAAC;AAO3C,MAAM,eAAe,CAAC,EAAE,UAAU,IAAI,MAA2B;AACtE,MAAI,aAAa,YAAY,QAAQ;AACrC,MAAI,CAAC,YAAY;AACf,UAAM,UAAU,SAAS,cAAc,OAAO;AAC9C,YAAQ,aAAa,aAAa,QAAQ;AAC1C,YAAQ,aAAa,QAAQ,UAAU;AACvC,iBAAa,YAAY,QAAQ,IAAI;AACrC,aAAS,KAAK,YAAY,OAAO;AAAA,EACnC;AACA,aAAW,YAAY;AACzB;",
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,MAAM,cAA2C,CAAC,GAOrC,eAAe,CAAC,EAAE,UAAU,IAAI,MAA2B;AACtE,MAAI,aAAa,YAAY,QAAQ;AACrC,MAAI,CAAC,YAAY;AACf,UAAM,UAAU,SAAS,cAAc,OAAO;AAC9C,YAAQ,aAAa,aAAa,QAAQ,GAC1C,QAAQ,aAAa,QAAQ,UAAU,GACvC,aAAa,YAAY,QAAQ,IAAI,SACrC,SAAS,KAAK,YAAY,OAAO;AAAA,EACnC;AACA,aAAW,YAAY;AACzB;",
5
5
  "names": []
6
6
  }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var inject_styles_exports = {};
17
+ __export(inject_styles_exports, {
18
+ injectStyles: () => injectStyles
19
+ });
20
+ module.exports = __toCommonJS(inject_styles_exports);
21
+ const stylesheets = {}, injectStyles = ({ filePath, css }) => {
22
+ let stylesheet = stylesheets[filePath];
23
+ if (!stylesheet) {
24
+ const styleEl = document.createElement("style");
25
+ styleEl.setAttribute("data-file", filePath), styleEl.setAttribute("type", "text/css"), stylesheet = stylesheets[filePath] = styleEl, document.head.appendChild(styleEl);
26
+ }
27
+ stylesheet.innerHTML = css;
28
+ };
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ injectStyles
32
+ });
33
+ //# sourceMappingURL=inject-styles.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/inject-styles.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,MAAM,cAA2C,CAAC,GAOrC,eAAe,CAAC,EAAE,UAAU,IAAI,MAA2B;AACtE,MAAI,aAAa,YAAY,QAAQ;AACrC,MAAI,CAAC,YAAY;AACf,UAAM,UAAU,SAAS,cAAc,OAAO;AAC9C,YAAQ,aAAa,aAAa,QAAQ,GAC1C,QAAQ,aAAa,QAAQ,UAAU,GACvC,aAAa,YAAY,QAAQ,IAAI,SACrC,SAAS,KAAK,YAAY,OAAO;AAAA,EACnC;AACA,aAAW,YAAY;AACzB;",
5
+ "names": []
6
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from == "object" || typeof from == "function")
8
+ for (let key of __getOwnPropNames(from))
9
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ return to;
11
+ }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
12
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
13
+ var native_exports = {};
14
+ module.exports = __toCommonJS(native_exports);
15
+ __reExport(native_exports, require("./index"), module.exports);
16
+ // Annotate the CommonJS export names for ESM import in node:
17
+ 0 && (module.exports = {
18
+ ...require("./index")
19
+ });
20
+ //# sourceMappingURL=native.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/native.ts"],
4
+ "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,2BAAc,oBAAd;",
5
+ "names": []
6
+ }
@@ -1,17 +1,14 @@
1
- "use strict";
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
5
  var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
6
+ if (from && typeof from == "object" || typeof from == "function")
8
7
  for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
8
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
9
  return to;
13
10
  };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
11
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
12
  var reactNativeTypes_exports = {};
16
13
  module.exports = __toCommonJS(reactNativeTypes_exports);
17
14
  //# sourceMappingURL=reactNativeTypes.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/reactNativeTypes.ts"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
4
+ "mappings": ";;;;;;;;;;;AAAA;AAAA;",
5
5
  "names": []
6
6
  }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from == "object" || typeof from == "function")
8
+ for (let key of __getOwnPropNames(from))
9
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ return to;
11
+ };
12
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
13
+ var reactNativeTypes_exports = {};
14
+ module.exports = __toCommonJS(reactNativeTypes_exports);
15
+ //# sourceMappingURL=reactNativeTypes.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/reactNativeTypes.ts"],
4
+ "mappings": ";;;;;;;;;;;;AAAA;AAAA;",
5
+ "names": []
6
+ }
@@ -1,29 +1,24 @@
1
- "use strict";
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
5
  var __export = (target, all) => {
7
6
  for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
12
10
  for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
12
  return to;
17
13
  };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
19
15
  var Pressability_exports = {};
20
16
  __export(Pressability_exports, {
21
17
  Pressability: () => Pressability,
22
18
  usePressability: () => usePressability
23
19
  });
24
20
  module.exports = __toCommonJS(Pressability_exports);
25
- const Pressability = {};
26
- const usePressability = {};
21
+ const Pressability = {}, usePressability = {};
27
22
  // Annotate the CommonJS export names for ESM import in node:
28
23
  0 && (module.exports = {
29
24
  Pressability,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/vendor/Pressability.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eAAe,CAAC;AACtB,MAAM,kBAAkB,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eAAe,CAAC,GAChB,kBAAkB,CAAC;",
5
5
  "names": []
6
6
  }
@@ -5,25 +5,21 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
6
  var __export = (target, all) => {
7
7
  for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
12
11
  for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
13
  return to;
17
14
  };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
19
16
  var Pressability_native_exports = {};
20
17
  __export(Pressability_native_exports, {
21
18
  Pressability: () => Pressability,
22
19
  usePressability: () => usePressability
23
20
  });
24
21
  module.exports = __toCommonJS(Pressability_native_exports);
25
- const Pressability = require("react-native/Libraries/Pressability/Pressability").default;
26
- const usePressability = require("react-native/Libraries/Pressability/usePressability").default;
22
+ const Pressability = require("react-native/Libraries/Pressability/Pressability").default, usePressability = require("react-native/Libraries/Pressability/usePressability").default;
27
23
  // Annotate the CommonJS export names for ESM import in node:
28
24
  0 && (module.exports = {
29
25
  Pressability,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/vendor/Pressability.native.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eACX,QAAQ,kDAAkD,EAAE;AACvD,MAAM,kBACX,QAAQ,qDAAqD,EAAE;",
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eACX,QAAQ,kDAAkD,EAAE,SACjD,kBACX,QAAQ,qDAAqD,EAAE;",
5
5
  "names": []
6
6
  }
@@ -1,8 +1,6 @@
1
1
  const getBoundingClientRect = (node) => {
2
- var _a;
3
- if (!node || node.nodeType !== 1)
4
- return;
5
- return (_a = node.getBoundingClientRect) == null ? void 0 : _a.call(node);
2
+ if (!(!node || node.nodeType !== 1))
3
+ return node.getBoundingClientRect?.();
6
4
  };
7
5
  export {
8
6
  getBoundingClientRect
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/helpers/getBoundingClientRect.tsx"],
4
- "mappings": "AAAO,MAAM,wBAAwB,CAAC,SAA6C;AAAnF;AACE,MAAI,CAAC,QAAQ,KAAK,aAAa;AAAG;AAClC,UAAO,UAAK,0BAAL;AACT;",
4
+ "mappings": "AAAO,MAAM,wBAAwB,CAAC,SAA6C;AACjF,MAAI,GAAC,QAAQ,KAAK,aAAa;AAC/B,WAAO,KAAK,wBAAwB;AACtC;",
5
5
  "names": []
6
6
  }
@@ -3,48 +3,38 @@ import { getBoundingClientRect } from "../helpers/getBoundingClientRect";
3
3
  import { getRect } from "../helpers/getRect";
4
4
  const LayoutHandlers = /* @__PURE__ */ new WeakMap();
5
5
  let resizeObserver = null;
6
- if (typeof window !== "undefined" && "ResizeObserver" in window) {
7
- resizeObserver = new ResizeObserver((entries) => {
8
- for (const { target } of entries) {
9
- const onLayout = LayoutHandlers.get(target);
10
- if (typeof onLayout !== "function")
11
- return;
12
- measureLayout(target, null, (x, y, width, height, left, top) => {
13
- onLayout({
14
- nativeEvent: {
15
- layout: { x, y, width, height, left, top },
16
- target
17
- },
18
- timeStamp: Date.now()
19
- });
6
+ typeof window < "u" && "ResizeObserver" in window && (resizeObserver = new ResizeObserver((entries) => {
7
+ for (const { target } of entries) {
8
+ const onLayout = LayoutHandlers.get(target);
9
+ if (typeof onLayout != "function")
10
+ return;
11
+ measureLayout(target, null, (x, y, width, height, left, top) => {
12
+ onLayout({
13
+ nativeEvent: {
14
+ layout: { x, y, width, height, left, top },
15
+ target
16
+ },
17
+ timeStamp: Date.now()
20
18
  });
21
- }
22
- });
23
- }
24
- const measureLayout = (node, relativeTo, callback) => {
25
- const relativeNode = relativeTo || (node == null ? void 0 : node.parentNode);
26
- if (relativeNode instanceof HTMLElement) {
27
- setTimeout(() => {
28
- const relativeRect = getBoundingClientRect(relativeNode);
29
- const { height, left, top, width } = getRect(node);
30
- const x = left - relativeRect.left;
31
- const y = top - relativeRect.top;
32
- callback(x, y, width, height, left, top);
33
- }, 0);
19
+ });
34
20
  }
21
+ }));
22
+ const measureLayout = (node, relativeTo, callback) => {
23
+ const relativeNode = relativeTo || node?.parentNode;
24
+ relativeNode instanceof HTMLElement && setTimeout(() => {
25
+ const relativeRect = getBoundingClientRect(relativeNode), { height, left, top, width } = getRect(node), x = left - relativeRect.left, y = top - relativeRect.top;
26
+ callback(x, y, width, height, left, top);
27
+ }, 0);
35
28
  };
36
29
  function useElementLayout(ref, onLayout) {
37
30
  useIsomorphicLayoutEffect(() => {
38
31
  if (!resizeObserver || !onLayout)
39
32
  return;
40
33
  const node = ref.current;
41
- if (!node)
42
- return;
43
- LayoutHandlers.set(node, onLayout);
44
- resizeObserver.observe(node);
45
- return () => {
46
- resizeObserver == null ? void 0 : resizeObserver.unobserve(node);
47
- };
34
+ if (node)
35
+ return LayoutHandlers.set(node, onLayout), resizeObserver.observe(node), () => {
36
+ resizeObserver?.unobserve(node);
37
+ };
48
38
  }, [ref, onLayout]);
49
39
  }
50
40
  export {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/hooks/useElementLayout.tsx"],
4
- "mappings": "AAAA,SAAS,iCAAiC;AAI1C,SAAS,6BAA6B;AACtC,SAAS,eAAe;AAExB,MAAM,iBAAiB,oBAAI,QAA2B;AAmBtD,IAAI,iBAAwC;AAE5C,IAAI,OAAO,WAAW,eAAe,oBAAoB,QAAQ;AAC/D,mBAAiB,IAAI,eAAe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