@tamagui/react-native-web-lite 1.113.0 → 1.113.2

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 (243) hide show
  1. package/dist/esm/AccessibilityInfo/index.native.js +62 -58
  2. package/dist/esm/AccessibilityInfo/index.native.js.map +6 -1
  3. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js +55 -85
  4. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js.map +6 -1
  5. package/dist/esm/ActivityIndicator/index.native.js +90 -82
  6. package/dist/esm/ActivityIndicator/index.native.js.map +6 -1
  7. package/dist/esm/Alert/index.native.js +18 -14
  8. package/dist/esm/Alert/index.native.js.map +6 -1
  9. package/dist/esm/AppRegistry/AppContainer.native.js +26 -30
  10. package/dist/esm/AppRegistry/AppContainer.native.js.map +6 -1
  11. package/dist/esm/AppRegistry/__tests__/index-test.native.js +13 -13
  12. package/dist/esm/AppRegistry/__tests__/index-test.native.js.map +6 -1
  13. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js +34 -45
  14. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js.map +6 -1
  15. package/dist/esm/AppRegistry/index.native.js +55 -50
  16. package/dist/esm/AppRegistry/index.native.js.map +6 -1
  17. package/dist/esm/AppRegistry/renderApplication.native.js +27 -33
  18. package/dist/esm/AppRegistry/renderApplication.native.js.map +6 -1
  19. package/dist/esm/AppState/__tests__/index-test.native.js +10 -9
  20. package/dist/esm/AppState/__tests__/index-test.native.js.map +6 -1
  21. package/dist/esm/AppState/index.native.js +51 -45
  22. package/dist/esm/AppState/index.native.js.map +6 -1
  23. package/dist/esm/Appearance/index.native.js +24 -27
  24. package/dist/esm/Appearance/index.native.js.map +6 -1
  25. package/dist/esm/BackHandler/index.native.js +13 -11
  26. package/dist/esm/BackHandler/index.native.js.map +6 -1
  27. package/dist/esm/Clipboard/index.native.js +26 -21
  28. package/dist/esm/Clipboard/index.native.js.map +6 -1
  29. package/dist/esm/DeviceEmitter.native.js +5 -3
  30. package/dist/esm/DeviceEmitter.native.js.map +6 -1
  31. package/dist/esm/DeviceInfo/index.native.js +33 -41
  32. package/dist/esm/DeviceInfo/index.native.js.map +6 -1
  33. package/dist/esm/Dimensions/__tests__/index-test.native.js +8 -9
  34. package/dist/esm/Dimensions/__tests__/index-test.native.js.map +6 -1
  35. package/dist/esm/Dimensions/index.native.js +53 -49
  36. package/dist/esm/Dimensions/index.native.js.map +6 -1
  37. package/dist/esm/I18nManager/index.native.js +13 -10
  38. package/dist/esm/I18nManager/index.native.js.map +6 -1
  39. package/dist/esm/Image/index.native.js +149 -174
  40. package/dist/esm/Image/index.native.js.map +6 -1
  41. package/dist/esm/Image/types.native.js +1 -2
  42. package/dist/esm/Image/types.native.js.map +6 -1
  43. package/dist/esm/ImageBackground/__tests__/index-test.native.js +19 -27
  44. package/dist/esm/ImageBackground/__tests__/index-test.native.js.map +6 -1
  45. package/dist/esm/ImageBackground/index.native.js +33 -35
  46. package/dist/esm/ImageBackground/index.native.js.map +6 -1
  47. package/dist/esm/Keyboard/index.native.js +17 -13
  48. package/dist/esm/Keyboard/index.native.js.map +6 -1
  49. package/dist/esm/KeyboardAvoidingView/index.native.js +44 -34
  50. package/dist/esm/KeyboardAvoidingView/index.native.js.map +6 -1
  51. package/dist/esm/Linking/__tests__/index-test.native.js +9 -9
  52. package/dist/esm/Linking/__tests__/index-test.native.js.map +6 -1
  53. package/dist/esm/Linking/index.native.js +49 -42
  54. package/dist/esm/Linking/index.native.js.map +6 -1
  55. package/dist/esm/LogBox/index.native.js +12 -7
  56. package/dist/esm/LogBox/index.native.js.map +6 -1
  57. package/dist/esm/Modal/ModalAnimation.native.js +112 -89
  58. package/dist/esm/Modal/ModalAnimation.native.js.map +6 -1
  59. package/dist/esm/Modal/ModalContent.native.js +54 -52
  60. package/dist/esm/Modal/ModalContent.native.js.map +6 -1
  61. package/dist/esm/Modal/ModalFocusTrap.native.js +52 -49
  62. package/dist/esm/Modal/ModalFocusTrap.native.js.map +6 -1
  63. package/dist/esm/Modal/ModalPortal.native.js +11 -9
  64. package/dist/esm/Modal/ModalPortal.native.js.map +6 -1
  65. package/dist/esm/Modal/index.native.js +45 -53
  66. package/dist/esm/Modal/index.native.js.map +6 -1
  67. package/dist/esm/NativeModules/index.native.js +6 -5
  68. package/dist/esm/NativeModules/index.native.js.map +6 -1
  69. package/dist/esm/PanResponder/Alternative.js +122 -157
  70. package/dist/esm/PanResponder/Alternative.js.map +6 -1
  71. package/dist/esm/PanResponder/index.native.js +5 -3
  72. package/dist/esm/PanResponder/index.native.js.map +6 -1
  73. package/dist/esm/PixelRatio/index.native.js +59 -48
  74. package/dist/esm/PixelRatio/index.native.js.map +6 -1
  75. package/dist/esm/Pressable/index.native.js +67 -70
  76. package/dist/esm/Pressable/index.native.js.map +6 -1
  77. package/dist/esm/RefreshControl/index.native.js +6 -4
  78. package/dist/esm/RefreshControl/index.native.js.map +6 -1
  79. package/dist/esm/SafeAreaView/index.native.js +21 -24
  80. package/dist/esm/SafeAreaView/index.native.js.map +6 -1
  81. package/dist/esm/ScrollView/ScrollViewBase.native.js +50 -61
  82. package/dist/esm/ScrollView/ScrollViewBase.native.js.map +6 -1
  83. package/dist/esm/ScrollView/index.native.js +211 -183
  84. package/dist/esm/ScrollView/index.native.js.map +6 -1
  85. package/dist/esm/Share/index.native.js +36 -29
  86. package/dist/esm/Share/index.native.js.map +6 -1
  87. package/dist/esm/StatusBar/index.native.js +6 -3
  88. package/dist/esm/StatusBar/index.native.js.map +6 -1
  89. package/dist/esm/Text/index.native.js +100 -128
  90. package/dist/esm/Text/index.native.js.map +6 -1
  91. package/dist/esm/Text/types.native.js +1 -2
  92. package/dist/esm/Text/types.native.js.map +6 -1
  93. package/dist/esm/TextInput/__tests__/index-test.native.js +259 -445
  94. package/dist/esm/TextInput/__tests__/index-test.native.js.map +6 -1
  95. package/dist/esm/TextInput/index.native.js +157 -220
  96. package/dist/esm/TextInput/index.native.js.map +6 -1
  97. package/dist/esm/TextInput/types.native.js +1 -2
  98. package/dist/esm/TextInput/types.native.js.map +6 -1
  99. package/dist/esm/TouchableOpacity.native.js +67 -63
  100. package/dist/esm/TouchableOpacity.native.js.map +6 -1
  101. package/dist/esm/TouchableWithoutFeedback.native.js +45 -49
  102. package/dist/esm/TouchableWithoutFeedback.native.js.map +6 -1
  103. package/dist/esm/UnimplementedView.native.js +30 -22
  104. package/dist/esm/UnimplementedView.native.js.map +6 -1
  105. package/dist/esm/Vibration/index.native.js +14 -14
  106. package/dist/esm/Vibration/index.native.js.map +6 -1
  107. package/dist/esm/View/index.native.js +55 -84
  108. package/dist/esm/View/index.native.js.map +6 -1
  109. package/dist/esm/View/types.native.js +1 -2
  110. package/dist/esm/View/types.native.js.map +6 -1
  111. package/dist/esm/createElement/__tests__/index-test.native.js +195 -398
  112. package/dist/esm/createElement/__tests__/index-test.native.js.map +6 -1
  113. package/dist/esm/createElement/index.native.js +14 -16
  114. package/dist/esm/createElement/index.native.js.map +6 -1
  115. package/dist/esm/createReactDOMStyle.native.js +4 -2
  116. package/dist/esm/createReactDOMStyle.native.js.map +6 -1
  117. package/dist/esm/findNodeHandle.native.js +7 -4
  118. package/dist/esm/findNodeHandle.native.js.map +6 -1
  119. package/dist/esm/index.native.js +133 -55
  120. package/dist/esm/index.native.js.map +6 -1
  121. package/dist/esm/render/index.native.js +9 -4
  122. package/dist/esm/render/index.native.js.map +6 -1
  123. package/dist/esm/styleTypes.native.js +1 -2
  124. package/dist/esm/styleTypes.native.js.map +6 -1
  125. package/dist/esm/types.native.js +1 -2
  126. package/dist/esm/types.native.js.map +6 -1
  127. package/dist/esm/useColorScheme/index.native.js +7 -7
  128. package/dist/esm/useColorScheme/index.native.js.map +6 -1
  129. package/dist/esm/useLocaleContext/index.native.js +4 -2
  130. package/dist/esm/useLocaleContext/index.native.js.map +6 -1
  131. package/dist/esm/useWindowDimensions/index.native.js +9 -9
  132. package/dist/esm/useWindowDimensions/index.native.js.map +6 -1
  133. package/dist/esm/vendor/react-native/Animated/Animated.native.js +17 -16
  134. package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +6 -1
  135. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +99 -72
  136. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +6 -1
  137. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +436 -465
  138. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +6 -1
  139. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +91 -97
  140. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +6 -1
  141. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +1 -2
  142. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +6 -1
  143. package/dist/esm/vendor/react-native/Animated/Easing.native.js +231 -194
  144. package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +6 -1
  145. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +222 -206
  146. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +6 -1
  147. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +5 -3
  148. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +6 -1
  149. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +5 -3
  150. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +6 -1
  151. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js +5 -5
  152. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +6 -1
  153. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +37 -25
  154. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +6 -1
  155. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +54 -42
  156. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +6 -1
  157. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +72 -72
  158. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +6 -1
  159. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +60 -45
  160. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +6 -1
  161. package/dist/esm/vendor/react-native/Animated/bezier.native.js +20 -23
  162. package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +6 -1
  163. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +6 -4
  164. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js.map +6 -1
  165. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +13 -12
  166. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +6 -1
  167. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +6 -4
  168. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +6 -1
  169. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +6 -4
  170. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +6 -1
  171. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +11 -17
  172. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +6 -1
  173. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +55 -39
  174. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +6 -1
  175. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +197 -180
  176. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +6 -1
  177. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +51 -39
  178. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +6 -1
  179. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +57 -42
  180. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +6 -1
  181. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +116 -99
  182. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +6 -1
  183. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +50 -37
  184. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +6 -1
  185. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +55 -39
  186. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +6 -1
  187. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +89 -61
  188. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +6 -1
  189. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +70 -52
  190. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +6 -1
  191. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +68 -50
  192. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +6 -1
  193. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +55 -39
  194. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +6 -1
  195. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +53 -41
  196. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +6 -1
  197. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +57 -44
  198. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +6 -1
  199. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +99 -70
  200. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +6 -1
  201. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +82 -64
  202. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +6 -1
  203. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +53 -40
  204. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +6 -1
  205. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +58 -50
  206. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +6 -1
  207. package/dist/esm/vendor/react-native/FeatureFlags.native.js +10 -8
  208. package/dist/esm/vendor/react-native/FeatureFlags.native.js.map +6 -1
  209. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js +5 -3
  210. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +6 -1
  211. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js +55 -46
  212. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +6 -1
  213. package/dist/esm/vendor/react-native/PanResponder/index.native.js +219 -224
  214. package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +6 -1
  215. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js +81 -58
  216. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +6 -1
  217. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +1 -2
  218. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +6 -1
  219. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +5 -2
  220. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +6 -1
  221. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +1 -2
  222. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +6 -1
  223. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +6 -5
  224. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +6 -1
  225. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js +5 -3
  226. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js.map +6 -1
  227. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js +1 -2
  228. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js.map +6 -1
  229. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js +33 -24
  230. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js.map +6 -1
  231. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js +51 -41
  232. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js.map +6 -1
  233. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js +16 -12
  234. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js.map +6 -1
  235. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +26 -21
  236. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +6 -1
  237. package/dist/esm/vendor/react-native/infoLog/index.native.js +6 -3
  238. package/dist/esm/vendor/react-native/infoLog/index.native.js.map +6 -1
  239. package/dist/esm/vendor/react-native/useRefEffect.native.js +8 -4
  240. package/dist/esm/vendor/react-native/useRefEffect.native.js.map +6 -1
  241. package/dist/esm/without-animated.native.js +115 -52
  242. package/dist/esm/without-animated.native.js.map +6 -1
  243. package/package.json +6 -6
@@ -4,80 +4,84 @@ import { useCallback, useMemo, useRef, useState } from "react";
4
4
  import { StyleSheet, useMergeRefs, usePressEvents } from "@tamagui/react-native-web-internals";
5
5
  import View from "./View";
6
6
  function TouchableOpacity(props, forwardedRef) {
7
- var {
8
- activeOpacity,
9
- delayPressIn,
10
- delayPressOut,
11
- delayLongPress,
7
+ var { activeOpacity, delayPressIn, delayPressOut, delayLongPress, disabled, focusable, onLongPress, onPress, onPressIn, onPressOut, rejectResponderTermination, style, ...rest } = props, hostRef = useRef(null), setRef = useMergeRefs(forwardedRef, hostRef), [duration, setDuration] = useState("0s"), [opacityOverride, setOpacityOverride] = useState(null), setOpacityTo = useCallback(function(value, duration2) {
8
+ setOpacityOverride(value), setDuration(duration2 ? `${duration2 / 1e3}s` : "0s");
9
+ }, [
10
+ setOpacityOverride,
11
+ setDuration
12
+ ]), setOpacityActive = useCallback(function(duration2) {
13
+ setOpacityTo(activeOpacity ?? 0.2, duration2);
14
+ }, [
15
+ activeOpacity,
16
+ setOpacityTo
17
+ ]), setOpacityInactive = useCallback(function(duration2) {
18
+ setOpacityTo(null, duration2);
19
+ }, [
20
+ setOpacityTo
21
+ ]), pressConfig = useMemo(function() {
22
+ return {
23
+ cancelable: !rejectResponderTermination,
12
24
  disabled,
13
- focusable,
25
+ delayLongPress,
26
+ delayPressStart: delayPressIn,
27
+ delayPressEnd: delayPressOut,
14
28
  onLongPress,
15
29
  onPress,
16
- onPressIn,
17
- onPressOut,
18
- rejectResponderTermination,
19
- style,
20
- ...rest
21
- } = props,
22
- hostRef = useRef(null),
23
- setRef = useMergeRefs(forwardedRef, hostRef),
24
- [duration, setDuration] = useState("0s"),
25
- [opacityOverride, setOpacityOverride] = useState(null),
26
- setOpacityTo = useCallback(function (value, duration2) {
27
- setOpacityOverride(value), setDuration(duration2 ? `${duration2 / 1e3}s` : "0s");
28
- }, [setOpacityOverride, setDuration]),
29
- setOpacityActive = useCallback(function (duration2) {
30
- setOpacityTo(activeOpacity ?? 0.2, duration2);
31
- }, [activeOpacity, setOpacityTo]),
32
- setOpacityInactive = useCallback(function (duration2) {
33
- setOpacityTo(null, duration2);
34
- }, [setOpacityTo]),
35
- pressConfig = useMemo(function () {
36
- return {
37
- cancelable: !rejectResponderTermination,
38
- disabled,
39
- delayLongPress,
40
- delayPressStart: delayPressIn,
41
- delayPressEnd: delayPressOut,
42
- onLongPress,
43
- onPress,
44
- onPressStart(event) {
45
- var isGrant = event.dispatchConfig != null ? event.dispatchConfig.registrationName === "onResponderGrant" : event.type === "keydown";
46
- setOpacityActive(isGrant ? 0 : 150), onPressIn?.(event);
47
- },
48
- onPressEnd(event) {
49
- setOpacityInactive(250), onPressOut?.(event);
50
- }
51
- };
52
- }, [delayLongPress, delayPressIn, delayPressOut, disabled, onLongPress, onPress, onPressIn, onPressOut, rejectResponderTermination, setOpacityActive, setOpacityInactive]),
53
- pressEventHandlers = usePressEvents(hostRef, pressConfig);
54
- return /* @__PURE__ */_jsx(View, {
30
+ onPressStart(event) {
31
+ var isGrant = event.dispatchConfig != null ? event.dispatchConfig.registrationName === "onResponderGrant" : event.type === "keydown";
32
+ setOpacityActive(isGrant ? 0 : 150), onPressIn?.(event);
33
+ },
34
+ onPressEnd(event) {
35
+ setOpacityInactive(250), onPressOut?.(event);
36
+ }
37
+ };
38
+ }, [
39
+ delayLongPress,
40
+ delayPressIn,
41
+ delayPressOut,
42
+ disabled,
43
+ onLongPress,
44
+ onPress,
45
+ onPressIn,
46
+ onPressOut,
47
+ rejectResponderTermination,
48
+ setOpacityActive,
49
+ setOpacityInactive
50
+ ]), pressEventHandlers = usePressEvents(hostRef, pressConfig);
51
+ return /* @__PURE__ */ _jsx(View, {
55
52
  ...rest,
56
53
  ...pressEventHandlers,
57
54
  accessibilityDisabled: disabled,
58
55
  focusable: !disabled && focusable !== !1,
59
56
  ref: setRef,
60
- style: [styles.root, !disabled && styles.actionable, style, opacityOverride != null && {
61
- opacity: opacityOverride
62
- }, {
63
- transitionDuration: duration
64
- }]
57
+ style: [
58
+ styles.root,
59
+ !disabled && styles.actionable,
60
+ style,
61
+ opacityOverride != null && {
62
+ opacity: opacityOverride
63
+ },
64
+ {
65
+ transitionDuration: duration
66
+ }
67
+ ]
65
68
  });
66
69
  }
67
70
  var styles = StyleSheet.create({
68
- root: {
69
- transitionProperty: "opacity",
70
- transitionDuration: "0.15s",
71
- userSelect: "none"
72
- },
73
- actionable: {
74
- cursor: "pointer",
75
- touchAction: "manipulation"
76
- }
77
- }),
78
- MemoedTouchableOpacity = /* @__PURE__ */React.memo(/* @__PURE__ */React.forwardRef(TouchableOpacity));
71
+ root: {
72
+ transitionProperty: "opacity",
73
+ transitionDuration: "0.15s",
74
+ userSelect: "none"
75
+ },
76
+ actionable: {
77
+ cursor: "pointer",
78
+ touchAction: "manipulation"
79
+ }
80
+ }), MemoedTouchableOpacity = /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(TouchableOpacity));
79
81
  MemoedTouchableOpacity.displayName = "TouchableOpacity";
80
82
  MemoedTouchableOpacity.Mixin = {};
81
83
  var TouchableOpacity_default = MemoedTouchableOpacity;
82
- export { TouchableOpacity_default as default };
83
- //# sourceMappingURL=TouchableOpacity.native.js.map
84
+ export {
85
+ TouchableOpacity_default as default
86
+ };
87
+ //# sourceMappingURL=TouchableOpacity.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["jsx","_jsx","React","useCallback","useMemo","useRef","useState","StyleSheet","useMergeRefs","usePressEvents","View","TouchableOpacity","props","forwardedRef","activeOpacity","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","style","rest","hostRef","setRef","duration","setDuration","opacityOverride","setOpacityOverride","setOpacityTo","value","duration2","setOpacityActive","setOpacityInactive","pressConfig","cancelable","delayPressStart","delayPressEnd","onPressStart","event","isGrant","dispatchConfig","registrationName","type","onPressEnd","pressEventHandlers","accessibilityDisabled","ref","styles","root","actionable","opacity","transitionDuration","create","transitionProperty","userSelect","cursor","touchAction","MemoedTouchableOpacity","memo","forwardRef","displayName","Mixin","TouchableOpacity_default","default"],"sources":["../../src/TouchableOpacity.tsx"],"sourcesContent":[null],"mappings":"AAYA,SAAAA,GAAY,IAAAC,IAAA,QAAW;AACvB,YAASC,KAAA,MAAa;AACtB,SAAAC,WAAA,EAAAC,OAAA,EAAAC,MAAA,EAAAC,QAAA;AAAA,SACEC,UAAA,EAAAC,YAAA,EAAAC,cAAA;AAAA,OACAC,IAAA;AAAA,SACAC,iBAAAC,KAAA,EAAAC,YAAA;EAAA;MACKC,aAAA;MAAAC,YAAA;MAAAC,aAAA;MAAAC,cAAA;MAAAC,QAAA;MAAAC,SAAA;MAAAC,WAAA;MAAAC,OAAA;MAAAC,SAAA;MAAAC,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,EAAAC,kBACa,CACX;IAAAY,kBACE,GAAAxC,cAAM,CAAAkB,OAAkB,EAAAW,WACd;EAEZ,sBAAiBrC,IAAA,CAAAS,IAAA,EAAU;IAEV,GAEnBgB,IAAA;IAAA,GACAuB,kBAAkB;IAChBC,qBAAA,EAAmBhC,QAEjB;IAAgBC,SAEpB,GAAAD,QAAA,IAAAC,SAAA;IACFgC,GAAA,EAAAvB,MAAA;IACAH,KAAA,GACE2B,MAAA,CAAAC,IAAA,EACA,CAAAnC,QAAA,IAAAkC,MAAA,CAAAE,UAAA,EACA7B,KAAA,EACAM,eAAA;MACAwB,OAAA,EAAAxB;IACA,GACA;MACAyB,kBAAA,EAAA3B;IACA;EACA;AACA;AACF,IACFuB,MAEM,GAAA7C,UAAA,CAAAkD,MAAqB;IAE3BJ,IAAA;MACGK,kBAAA;MAAAF,kBAAA;MAAAG,UACK;IAAA;IACAL,UACJ;MAAuBM,MACvB,WAAY;MAA0BC,WACjC;IAAA;EACE;EAAAC,sBACE,kBAAA5D,KAAA,CAAA6D,IAAA,gBAAA7D,KAAA,CAAA8D,UAAA,CAAArD,gBAAA;AAAAmD,sBACM,CAAAG,WAAO;AAAAH,sBACpB,CAAAI,KAAA;AAAA,IAAAC,wBACmB,GAAAL,sBAAmB;AAAgB,SACvBK,wBACjC,IAAAC,OAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Users/n8/tamagui/code/packages/react-native-web-lite/src/TouchableOpacity.tsx"],
4
+ "mappings": ";AAYA,YAAYA,WAAW;AACvB,SAASC,aAAaC,SAASC,QAAQC,gBAAgB;AACvD,SACEC,YACAC,cACAC,sBACK;AAEP,OAAOC,UAAU;AAMjB,SAASC,iBAAiBC,OAAOC,cAAY;AAC3C,MAAM,EACJC,eACAC,cACAC,eACAC,gBACAC,UACAC,WACAC,aACAC,SACAC,WACAC,YACAC,4BACAC,OACA,GAAGC,KAAAA,IACDd,OAEEe,UAAUtB,OAAO,IAAA,GACjBuB,S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AAMsB,SAAS5C,WAAWiD,OAAO;EAC/BJ,MAAM;IACJK,oBAAoB;IACpBF,oBAAoB;IACpBG,YAAY;EACd;EACAL,YAAY;IACVM,QAAQ;IACRC,aAAa;EACf;AACF,CAAA,GAEMC,yBAAyB3D,sBAAM4D,KAAK5D,sBAAM6D,WAAWpD,gBAAAA,CAAAA;AAC3DkD,uBAAuBG,cAAc;AAIrCH,uBAAuBI,QAAQ,CAAC;AAEhC,IAAA,2BAAeJ;",
5
+ "names": ["React", "useCallback", "useMemo", "useRef", "useState", "StyleSheet", "useMergeRefs", "usePressEvents", "View", "TouchableOpacity", "props", "forwardedRef", "activeOpacity", "delayPressIn", "delayPressOut", "delayLongPress", "disabled", "focusable", "onLongPress", "onPress", "onPressIn", "onPressOut", "rejectResponderTermination", "style", "rest", "hostRef", "setRef", "duration", "setDuration", "opacityOverride", "setOpacityOverride", "setOpacityTo", "value", "setOpacityActive", "setOpacityInactive", "pressConfig", "cancelable", "delayPressStart", "delayPressEnd", "onPressStart", "event", "isGrant", "dispatchConfig", "registrationName", "type", "onPressEnd", "pressEventHandlers", "accessibilityDisabled", "ref", "styles", "root", "actionable", "opacity", "transitionDuration", "create", "transitionProperty", "userSelect", "cursor", "touchAction", "MemoedTouchableOpacity", "memo", "forwardRef", "displayName", "Mixin"]
6
+ }
@@ -2,61 +2,57 @@ import * as React from "react";
2
2
  import { useMemo, useRef } from "react";
3
3
  import { pick, useMergeRefs, usePressEvents } from "@tamagui/react-native-web-internals";
4
4
  var forwardPropsList = {
5
- accessibilityDisabled: !0,
6
- accessibilityLabel: !0,
7
- accessibilityLiveRegion: !0,
8
- accessibilityRole: !0,
9
- accessibilityState: !0,
10
- accessibilityValue: !0,
11
- children: !0,
12
- disabled: !0,
13
- focusable: !0,
14
- nativeID: !0,
15
- onBlur: !0,
16
- onFocus: !0,
17
- onLayout: !0,
18
- testID: !0
19
- },
20
- pickProps = function (props) {
21
- return pick(props, forwardPropsList);
22
- };
5
+ accessibilityDisabled: !0,
6
+ accessibilityLabel: !0,
7
+ accessibilityLiveRegion: !0,
8
+ accessibilityRole: !0,
9
+ accessibilityState: !0,
10
+ accessibilityValue: !0,
11
+ children: !0,
12
+ disabled: !0,
13
+ focusable: !0,
14
+ nativeID: !0,
15
+ onBlur: !0,
16
+ onFocus: !0,
17
+ onLayout: !0,
18
+ testID: !0
19
+ }, pickProps = function(props) {
20
+ return pick(props, forwardPropsList);
21
+ };
23
22
  function TouchableWithoutFeedback(props, forwardedRef) {
24
- var {
25
- delayPressIn,
26
- delayPressOut,
27
- delayLongPress,
23
+ var { delayPressIn, delayPressOut, delayLongPress, disabled, focusable, onLongPress, onPress, onPressIn, onPressOut, rejectResponderTermination } = props, hostRef = useRef(null), pressConfig = useMemo(function() {
24
+ return {
25
+ cancelable: !rejectResponderTermination,
28
26
  disabled,
29
- focusable,
27
+ delayLongPress,
28
+ delayPressStart: delayPressIn,
29
+ delayPressEnd: delayPressOut,
30
30
  onLongPress,
31
31
  onPress,
32
- onPressIn,
33
- onPressOut,
34
- rejectResponderTermination
35
- } = props,
36
- hostRef = useRef(null),
37
- pressConfig = useMemo(function () {
38
- return {
39
- cancelable: !rejectResponderTermination,
40
- disabled,
41
- delayLongPress,
42
- delayPressStart: delayPressIn,
43
- delayPressEnd: delayPressOut,
44
- onLongPress,
45
- onPress,
46
- onPressStart: onPressIn,
47
- onPressEnd: onPressOut
48
- };
49
- }, [disabled, delayPressIn, delayPressOut, delayLongPress, onLongPress, onPress, onPressIn, onPressOut, rejectResponderTermination]),
50
- pressEventHandlers = usePressEvents(hostRef, pressConfig),
51
- element = React.Children.only(props.children),
52
- children = [element.props.children],
53
- supportedProps = pickProps(props);
32
+ onPressStart: onPressIn,
33
+ onPressEnd: onPressOut
34
+ };
35
+ }, [
36
+ disabled,
37
+ delayPressIn,
38
+ delayPressOut,
39
+ delayLongPress,
40
+ onLongPress,
41
+ onPress,
42
+ onPressIn,
43
+ onPressOut,
44
+ rejectResponderTermination
45
+ ]), pressEventHandlers = usePressEvents(hostRef, pressConfig), element = React.Children.only(props.children), children = [
46
+ element.props.children
47
+ ], supportedProps = pickProps(props);
54
48
  supportedProps.accessibilityDisabled = disabled, supportedProps.focusable = !disabled && focusable !== !1, supportedProps.ref = useMergeRefs(forwardedRef, hostRef, element.ref);
55
49
  var elementProps = Object.assign(supportedProps, pressEventHandlers);
56
- return /* @__PURE__ */React.cloneElement(element, elementProps, ...children);
50
+ return /* @__PURE__ */ React.cloneElement(element, elementProps, ...children);
57
51
  }
58
- var MemoedTouchableWithoutFeedback = /* @__PURE__ */React.memo(/* @__PURE__ */React.forwardRef(TouchableWithoutFeedback));
52
+ var MemoedTouchableWithoutFeedback = /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(TouchableWithoutFeedback));
59
53
  MemoedTouchableWithoutFeedback.displayName = "TouchableWithoutFeedback";
60
54
  var TouchableWithoutFeedback_default = MemoedTouchableWithoutFeedback;
61
- export { TouchableWithoutFeedback_default as default };
62
- //# sourceMappingURL=TouchableWithoutFeedback.native.js.map
55
+ export {
56
+ TouchableWithoutFeedback_default as default
57
+ };
58
+ //# sourceMappingURL=TouchableWithoutFeedback.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["React","useMemo","useRef","pick","useMergeRefs","usePressEvents","forwardPropsList","accessibilityDisabled","accessibilityLabel","accessibilityLiveRegion","accessibilityRole","accessibilityState","accessibilityValue","children","disabled","focusable","nativeID","onBlur","onFocus","onLayout","testID","pickProps","props","TouchableWithoutFeedback","forwardedRef","delayPressIn","delayPressOut","delayLongPress","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","hostRef","pressConfig","cancelable","delayPressStart","delayPressEnd","onPressStart","onPressEnd","pressEventHandlers","element","Children","only","supportedProps","ref","elementProps","Object","assign","cloneElement","MemoedTouchableWithoutFeedback","memo","forwardRef","displayName","TouchableWithoutFeedback_default","default"],"sources":["../../src/TouchableWithoutFeedback.tsx"],"sourcesContent":[null],"mappings":"AAUA,YAAYA,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KAAA,CAAAT,QAAA;IAAA+B,cACA,GAAAvB,SAAA,CAAAC,KAAA;EAAAsB,cACA,CAAArC,qBAAA,GAAAO,QAAA,EAAA8B,cAAA,CAAA7B,SAAA,IAAAD,QAAA,IAAAC,SAAA,SAAA6B,cAAA,CAAAC,GAAA,GAAAzC,YAAA,CAAAoB,YAAA,EAAAS,OAAA,EAAAQ,OAAA,CAAAI,GAAA;EAAA,IACAC,YAAA,GAAAC,MAAA,CAAAC,MAAA,CAAAJ,cAAA,EAAAJ,kBAAA;EAAA,OACA,eAAAxC,KAAA,CAAAiD,YAAA,CAAAR,OAAA,EAAAK,YAAA,KAAAjC,QAAA;AAAA;AACA,IAAAqC,8BACA,kBAAAlD,KAAA,CAAAmD,IAAA,gBAAAnD,KAAA,CAAAoD,UAAA,CAAA7B,wBAAA;AAAA2B,8BACA,CAAAG,WAAA;AAAA,IACFC,gCAAA,GAAAJ,8BAAA;AAAA,SASFI,gCAAe,IAAAC,OAAwB","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Users/n8/tamagui/code/packages/react-native-web-lite/src/TouchableWithoutFeedback.tsx"],
4
+ "mappings": "AAUA,YAAYA,WAAW;AACvB,SAASC,SAASC,cAAc;AAChC,SAASC,MAAMC,cAAcC,sBAAsB;AAEnD,IAAMC,mBAAmB;EACvBC,uBAAuB;EACvBC,oBAAoB;EACpBC,yBAAyB;EACzBC,mBAAmB;EACnBC,oBAAoB;EACpBC,oBAAoB;EACpBC,UAAU;EACVC,UAAU;EACVC,WAAW;EACXC,UAAU;EACVC,QAAQ;EACRC,SAAS;EACTC,UAAU;EACVC,QAAQ;AACV,GAEMC,YAAY,SAACC,OAAAA;SAAUnB,KAAKmB,OAAOhB,gBAAAA;;AAEzC,SAASiB,yBAAyBD,OAAOE,cAAY;AACnD,MAAM,EACJC,cACAC,eACAC,gBACAb,UACAC,WACAa,aACAC,SACAC,WACAC,YACAC,2BAA0B,IACxBV,OAEEW,UAAU/B,OAAO,IAAA,GAEjBgC,cAAcjC,QAClB,WAAA;WAAO;MACLkC,YAAY,CAACH;MACblB;MACAa;MACAS,iBAAiBX;MACjBY,eAAeX;MACfE;MACAC;MACAS,cAAcR;MACdS,YAAYR;IACd;KACA;IACEjB;IACAW;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;GACD,GAGGQ,qBAAqBnC,eAAe4B,SAASC,WAAAA,GAE7CO,UAAUzC,MAAM0C,SAASC,KAAKrB,MAAMT,QAAQ,GAC5CA,WAAW;IAAC4B,QAAQnB,MAAMT;KAC1B+B,iBAAiBvB,UAAUC,KAAAA;AAEjCsB,iBAAerC,wBAAwBO,UAEvC8B,eAAe7B,YAAY,CAACD,YAAYC,cAAc,IAEtD6B,eAAeC,MAAMzC,aAAaoB,cAAcS,SAASQ,QAAQI,GAAG;AAEpE,MAAMC,eAAeC,OAAOC,OAAOJ,gBAAgBJ,kBAAAA;AAEnD,SAAOxC,sBAAMiD,aAAaR,SAASK,cAAAA,GAAiBjC,QAAAA;AACtD;AAEA,IAAMqC,iCAAiClD,sBAAMmD,KAC3CnD,sBAAMoD,WAAW7B,wBAAAA,CAAAA;AAEnB2B,+BAA+BG,cAAc;AAE7C,IAAA,mCAAeH;",
5
+ "names": ["React", "useMemo", "useRef", "pick", "useMergeRefs", "usePressEvents", "forwardPropsList", "accessibilityDisabled", "accessibilityLabel", "accessibilityLiveRegion", "accessibilityRole", "accessibilityState", "accessibilityValue", "children", "disabled", "focusable", "nativeID", "onBlur", "onFocus", "onLayout", "testID", "pickProps", "props", "TouchableWithoutFeedback", "forwardedRef", "delayPressIn", "delayPressOut", "delayLongPress", "onLongPress", "onPress", "onPressIn", "onPressOut", "rejectResponderTermination", "hostRef", "pressConfig", "cancelable", "delayPressStart", "delayPressEnd", "onPressStart", "onPressEnd", "pressEventHandlers", "element", "Children", "only", "supportedProps", "ref", "elementProps", "Object", "assign", "cloneElement", "MemoedTouchableWithoutFeedback", "memo", "forwardRef", "displayName"]
6
+ }
@@ -1,15 +1,17 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React from "react";
3
- import View from "./View/index.native.js";
3
+ import View from "./View/index";
4
4
  function _assert_this_initialized(self) {
5
- if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
+ if (self === void 0)
6
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6
7
  return self;
7
8
  }
8
9
  function _call_super(_this, derived, args) {
9
10
  return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
11
  }
11
12
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
13
+ if (!(instance instanceof Constructor))
14
+ throw new TypeError("Cannot call a class as a function");
13
15
  }
14
16
  function _defineProperties(target, props) {
15
17
  for (var i = 0; i < props.length; i++) {
@@ -29,12 +31,13 @@ function _define_property(obj, key, value) {
29
31
  }) : obj[key] = value, obj;
30
32
  }
31
33
  function _get_prototype_of(o) {
32
- return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
34
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
33
35
  return o2.__proto__ || Object.getPrototypeOf(o2);
34
36
  }, _get_prototype_of(o);
35
37
  }
36
38
  function _inherits(subClass, superClass) {
37
- if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
39
+ if (typeof superClass != "function" && superClass !== null)
40
+ throw new TypeError("Super expression must either be null or a function");
38
41
  subClass.prototype = Object.create(superClass && superClass.prototype, {
39
42
  constructor: {
40
43
  value: subClass,
@@ -47,40 +50,45 @@ function _possible_constructor_return(self, call) {
47
50
  return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
48
51
  }
49
52
  function _set_prototype_of(o, p) {
50
- return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
53
+ return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
51
54
  return o2.__proto__ = p2, o2;
52
55
  }, _set_prototype_of(o, p);
53
56
  }
54
57
  function _type_of(obj) {
55
58
  "@swc/helpers - typeof";
56
-
57
59
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
58
60
  }
59
61
  function _is_native_reflect_construct() {
60
62
  try {
61
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
62
- } catch {}
63
- return (_is_native_reflect_construct = function () {
63
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
64
+ }));
65
+ } catch {
66
+ }
67
+ return (_is_native_reflect_construct = function() {
64
68
  return !!result;
65
69
  })();
66
70
  }
67
- var UnimplementedView = /* @__PURE__ */function (_React_Component) {
71
+ var UnimplementedView = /* @__PURE__ */ function(_React_Component) {
68
72
  "use strict";
69
-
70
73
  _inherits(UnimplementedView2, _React_Component);
71
74
  function UnimplementedView2() {
72
75
  _class_call_check(this, UnimplementedView2);
73
76
  var _this;
74
- return _this = _call_super(this, UnimplementedView2, arguments), _define_property(_this, "setNativeProps", function () {}), _this;
77
+ return _this = _call_super(this, UnimplementedView2, arguments), _define_property(_this, "setNativeProps", function() {
78
+ }), _this;
75
79
  }
76
- return _create_class(UnimplementedView2, [{
77
- key: "render",
78
- value: function () {
79
- return process.env.NODE_ENV === "development" && console.warn("Unimplemented view"), /* @__PURE__ */_jsx(View, {
80
- ...this.props
81
- });
80
+ return _create_class(UnimplementedView2, [
81
+ {
82
+ key: "render",
83
+ value: function() {
84
+ return process.env.NODE_ENV === "development" && console.warn("Unimplemented view"), /* @__PURE__ */ _jsx(View, {
85
+ ...this.props
86
+ });
87
+ }
82
88
  }
83
- }]), UnimplementedView2;
89
+ ]), UnimplementedView2;
84
90
  }(React.Component);
85
- export { UnimplementedView as default };
86
- //# sourceMappingURL=UnimplementedView.native.js.map
91
+ export {
92
+ UnimplementedView as default
93
+ };
94
+ //# sourceMappingURL=UnimplementedView.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["jsx","_jsx","React","View","_assert_this_initialized","self","ReferenceError","_call_super","_this","derived","args","_get_prototype_of","_possible_constructor_return","_is_native_reflect_construct","Reflect","construct","constructor","apply"],"sources":["../../src/UnimplementedView.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAAOA,GAAA,IAAAC,IAAW;AAElB,OAAOC,KAAA,MAAU;AAQN,OAAAC,IAAA;AANX,SAAOC,wBAAwCA,CAAAC,IAAM;EACnD,IAAAA,IAAA,UAAiB,GAAO,UAAAC,cAAA;EACxB,OAAAD,IAAS;AACP;AAG6B,SAC/BE,YAAAC,KAAA,EAAAC,OAAA,EAAAC,IAAA;EACF,OAAAD,OAAA,GAAAE,iBAAA,CAAAF,OAAA,GAAAG,4BAAA,CAAAJ,KAAA,EAAAK,4BAAA,KAAAC,OAAA,CAAAC,SAAA,CAAAN,OAAA,EAAAC,IAAA,QAAAC,iBAAA,CAAAH,KAAA,EAAAQ,WAAA,IAAAP,OAAA,CAAAQ,KAAA,CAAAT,KAAA,EAAAE,IAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Users/n8/tamagui/code/packages/react-native-web-lite/src/UnimplementedView.tsx"],
4
+ "mappings": ";AAAA,OAAOA,WAAW;AAElB,OAAOC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,IAAMC,oBAAN,yBAAA,kBAAA;;YAAMA,oBAAAA,gBAAAA;WAAAA,qBAAAA;4BAAAA,kBAAAA;;qCAAAA,oBAAAA,SAAAA,GACnBC,iBAAAA,OAAAA,kBAAiB,WAAA;IAAO,CAAA;;uBADLD,oBAAAA;;MAEnBE,KAAAA;aAAAA,WAAAA;AACE,eAAIC,QAAQC,IAAIC,aAAa,iBAC3BC,QAAQC,KAAK,oBAAoB,GAE5B,qBAACR,MAAAA;UAAM,GAAG,KAAKS;;MACxB;;MAPmBR;EAA0BF,MAAMW,SAAS;",
5
+ "names": ["React", "View", "UnimplementedView", "setNativeProps", "render", "process", "env", "NODE_ENV", "console", "warn", "props", "Component"]
6
+ }
@@ -1,15 +1,15 @@
1
- var vibrate = function (pattern) {
2
- "vibrate" in window.navigator && window.navigator.vibrate(pattern);
1
+ var vibrate = function(pattern) {
2
+ "vibrate" in window.navigator && window.navigator.vibrate(pattern);
3
+ }, Vibration = {
4
+ cancel() {
5
+ vibrate(0);
3
6
  },
4
- Vibration = {
5
- cancel() {
6
- vibrate(0);
7
- },
8
- vibrate() {
9
- var pattern = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 400;
10
- vibrate(pattern);
11
- }
12
- },
13
- Vibration_default = Vibration;
14
- export { Vibration_default as default };
15
- //# sourceMappingURL=index.native.js.map
7
+ vibrate() {
8
+ var pattern = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 400;
9
+ vibrate(pattern);
10
+ }
11
+ }, Vibration_default = Vibration;
12
+ export {
13
+ Vibration_default as default
14
+ };
15
+ //# sourceMappingURL=index.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["vibrate","pattern","window","navigator","Vibration","cancel","arguments","length","Vibration_default"],"sources":["../../../src/Vibration/index.tsx"],"sourcesContent":[null],"mappings":"AAYA,IAAAA,OAAM,YAAAA,CAAWC,OAA4B;IACvC,aAAaC,MAAA,CAAOC,SAAA,IACtBD,MAAA,CAAOC,SAAA,CAAUH,OAAA,CAAQC,OAAO;EAEpC;EAEMG,SAAA,GAAY;IAChBC,OAAA,EAAS;MACPL,OAAA,CAAQ,CAAC;IACX;IACAA,QAAA,EAAQ;MACN,IAAAC,OAAQ,GAAAK,SAAO,CAAAC,MAAA,QAAAD,SAAA,iBAAAA,SAAA;MACjBN,OAAA,CAAAC,OAAA;IACF;EAEA;EAAAO,iBAAO,GAAAJ,SAAQ","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/Vibration/Users/n8/tamagui/code/packages/react-native-web-lite/src/Vibration/index.tsx"],
4
+ "mappings": "AAYA,IAAMA,UAAU,SAACC,SAAAA;AACf,EAAI,aAAaC,OAAOC,aACtBD,OAAOC,UAAUH,QAAQC,OAAAA;AAE7B,GAEMG,YAAY;EAChBC,SAAAA;AACEL,YAAQ,CAAA;EACV;EACAA,UAAAA;QAAQC,UAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA0B;AAChCD,YAAQC,OAAAA;EACV;AACF,GAEA,oBAAeG;",
5
+ "names": ["vibrate", "pattern", "window", "navigator", "Vibration", "cancel"]
6
+ }
@@ -1,90 +1,61 @@
1
1
  import { forwardPropsListView, getLocaleDirection, pick, TextAncestorContext, useElementLayout, useLocaleContext, useMergeRefs, usePlatformMethods, useResponderEvents } from "@tamagui/react-native-web-internals";
2
2
  import * as React from "react";
3
- import createElement from "../createElement/index.native.js";
4
- var pickProps = function (props) {
5
- return pick(props, forwardPropsListView);
6
- },
7
- View = /* @__PURE__ */React.forwardRef(function (props, forwardedRef) {
8
- var {
9
- hrefAttrs,
10
- onLayout,
11
- onMoveShouldSetResponder,
12
- onMoveShouldSetResponderCapture,
13
- onResponderEnd,
14
- onResponderGrant,
15
- onResponderMove,
16
- onResponderReject,
17
- onResponderRelease,
18
- onResponderStart,
19
- onResponderTerminate,
20
- onResponderTerminationRequest,
21
- onScrollShouldSetResponder,
22
- onScrollShouldSetResponderCapture,
23
- onSelectionChangeShouldSetResponder,
24
- onSelectionChangeShouldSetResponderCapture,
25
- onStartShouldSetResponder,
26
- onStartShouldSetResponderCapture,
27
- ...rest
28
- } = props;
29
- process.env.NODE_ENV !== "production" && React.Children.toArray(props.children).forEach(function (item) {
30
- typeof item == "string" && console.error(`Unexpected text node: ${item}. A text node cannot be a child of a <View>.`);
31
- });
32
- var hasTextAncestor = React.useContext(TextAncestorContext),
33
- hostRef = React.useRef(null),
34
- {
35
- direction: contextDirection
36
- } = useLocaleContext();
37
- useElementLayout(hostRef, onLayout), useResponderEvents(hostRef, {
38
- onMoveShouldSetResponder,
39
- onMoveShouldSetResponderCapture,
40
- onResponderEnd,
41
- onResponderGrant,
42
- onResponderMove,
43
- onResponderReject,
44
- onResponderRelease,
45
- onResponderStart,
46
- onResponderTerminate,
47
- onResponderTerminationRequest,
48
- onScrollShouldSetResponder,
49
- onScrollShouldSetResponderCapture,
50
- onSelectionChangeShouldSetResponder,
51
- onSelectionChangeShouldSetResponderCapture,
52
- onStartShouldSetResponder,
53
- onStartShouldSetResponderCapture
54
- });
55
- var component = "div",
56
- langDirection = props.lang != null ? getLocaleDirection(props.lang) : null,
57
- componentDirection = props.dir || langDirection,
58
- writingDirection = componentDirection || contextDirection,
59
- supportedProps = pickProps(rest);
60
- if (supportedProps.dir = componentDirection, supportedProps.style = [styles.view, hasTextAncestor && styles.inline, props.style], props.href != null && (component = "a", hrefAttrs != null)) {
61
- var {
62
- download,
63
- rel,
64
- target
65
- } = hrefAttrs;
66
- download != null && (supportedProps.download = download), rel != null && (supportedProps.rel = rel), typeof target == "string" && (supportedProps.target = target.charAt(0) !== "_" ? "_" + target : target);
67
- }
68
- var platformMethodsRef = usePlatformMethods(supportedProps),
69
- setRef = useMergeRefs(hostRef, platformMethodsRef, forwardedRef);
70
- return supportedProps.ref = setRef, createElement(component, supportedProps, {
71
- writingDirection
72
- });
3
+ import createElement from "../createElement/index";
4
+ var pickProps = function(props) {
5
+ return pick(props, forwardPropsListView);
6
+ }, View = /* @__PURE__ */ React.forwardRef(function(props, forwardedRef) {
7
+ var { hrefAttrs, onLayout, onMoveShouldSetResponder, onMoveShouldSetResponderCapture, onResponderEnd, onResponderGrant, onResponderMove, onResponderReject, onResponderRelease, onResponderStart, onResponderTerminate, onResponderTerminationRequest, onScrollShouldSetResponder, onScrollShouldSetResponderCapture, onSelectionChangeShouldSetResponder, onSelectionChangeShouldSetResponderCapture, onStartShouldSetResponder, onStartShouldSetResponderCapture, ...rest } = props;
8
+ process.env.NODE_ENV !== "production" && React.Children.toArray(props.children).forEach(function(item) {
9
+ typeof item == "string" && console.error(`Unexpected text node: ${item}. A text node cannot be a child of a <View>.`);
10
+ });
11
+ var hasTextAncestor = React.useContext(TextAncestorContext), hostRef = React.useRef(null), { direction: contextDirection } = useLocaleContext();
12
+ useElementLayout(hostRef, onLayout), useResponderEvents(hostRef, {
13
+ onMoveShouldSetResponder,
14
+ onMoveShouldSetResponderCapture,
15
+ onResponderEnd,
16
+ onResponderGrant,
17
+ onResponderMove,
18
+ onResponderReject,
19
+ onResponderRelease,
20
+ onResponderStart,
21
+ onResponderTerminate,
22
+ onResponderTerminationRequest,
23
+ onScrollShouldSetResponder,
24
+ onScrollShouldSetResponderCapture,
25
+ onSelectionChangeShouldSetResponder,
26
+ onSelectionChangeShouldSetResponderCapture,
27
+ onStartShouldSetResponder,
28
+ onStartShouldSetResponderCapture
29
+ });
30
+ var component = "div", langDirection = props.lang != null ? getLocaleDirection(props.lang) : null, componentDirection = props.dir || langDirection, writingDirection = componentDirection || contextDirection, supportedProps = pickProps(rest);
31
+ if (supportedProps.dir = componentDirection, supportedProps.style = [
32
+ styles.view,
33
+ hasTextAncestor && styles.inline,
34
+ props.style
35
+ ], props.href != null && (component = "a", hrefAttrs != null)) {
36
+ var { download, rel, target } = hrefAttrs;
37
+ download != null && (supportedProps.download = download), rel != null && (supportedProps.rel = rel), typeof target == "string" && (supportedProps.target = target.charAt(0) !== "_" ? "_" + target : target);
38
+ }
39
+ var platformMethodsRef = usePlatformMethods(supportedProps), setRef = useMergeRefs(hostRef, platformMethodsRef, forwardedRef);
40
+ return supportedProps.ref = setRef, createElement(component, supportedProps, {
41
+ writingDirection
73
42
  });
43
+ });
74
44
  View.displayName = "View";
75
45
  var styles = {
76
- view: {
77
- alignItems: "stretch",
78
- boxSizing: "border-box",
79
- display: "flex",
80
- flexBasis: "auto",
81
- flexDirection: "column",
82
- flexShrink: 0
83
- },
84
- inline: {
85
- display: "inline-flex"
86
- }
46
+ view: {
47
+ alignItems: "stretch",
48
+ boxSizing: "border-box",
49
+ display: "flex",
50
+ flexBasis: "auto",
51
+ flexDirection: "column",
52
+ flexShrink: 0
87
53
  },
88
- View_default = View;
89
- export { View_default as default };
90
- //# sourceMappingURL=index.native.js.map
54
+ inline: {
55
+ display: "inline-flex"
56
+ }
57
+ }, View_default = View;
58
+ export {
59
+ View_default as default
60
+ };
61
+ //# sourceMappingURL=index.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["forwardPropsListView","getLocaleDirection","pick","TextAncestorContext","useElementLayout","useLocaleContext","useMergeRefs","usePlatformMethods","useResponderEvents","React","createElement","pickProps","props","View","forwardRef","forwardedRef","hrefAttrs","onLayout","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","rest","process","env","NODE_ENV","Children","toArray","children","forEach","item","console","error","hasTextAncestor","useContext","hostRef","useRef","direction","contextDirection","component","langDirection","lang","componentDirection","dir","writingDirection","supportedProps","style","styles","view","inline","href","download","rel","target","charAt","platformMethodsRef","setRef","ref","displayName","alignItems","boxSizing","display","flexBasis","flexDirection","flexShrink","View_default","default"],"sources":["../../../src/View/index.tsx"],"sourcesContent":[null],"mappings":"AAUA,SAAAA,oBAAA,EAAAC,kBAAA,EAAAC,IAAA,EAAAC,mBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,YAAA,EAAAC,kBAAA,EAAAC,kBAAA;AAAA,OACE,KAAAC,KAAA;AAAA,OACAC,aAAA;AAAA,IACAC,SAAA,YAAAA,CAAAC,KAAA;IACA,OAAAV,IAAA,CAAAU,KAAA,EAAAZ,oBAAA;EAAA;EACAa,IAAA,kBAAAJ,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IAAA,IACAuB,cAAA,CAAAF,GAAA,GAAAD,kBAAA,EAAAG,cAAA,CAAAC,KAAA,IAAAC,MACA,CAAAC,IAAA,EAAAf,eACA,IAAAc,MAAA,CAAAE,MAAA,EAAAjD,KACA,CAAA8C,KAAA,GAAA9C,KACG,CAAAkD,IAAA,aAAAX,SAAA,QAAAnC,SAAA;MACL,IAAI;QAAA+C,QAAA;QAAAC,GAAA;QAAAC;MAAA,IAAAjD,SAAA;MAEA+C,QAAQ,IAAI,SAAAN,cAAa,CAAAM,QAC3B,GAAMA,QAAA,CAAS,EAAAC,GAAA,IAAQ,SAAMP,cAAkB,CAACO,GAAA,GAAAA,GAAS,UAAAC,MAAA,iBAAAR,cAAA,CAAAQ,MAAA,GAAAA,MAAA,CAAAC,MAAA,oBAAAD,MAAA,GAAAA,MAAA;IACvD;IACU,IAAAE,kBACN,GAAA5D,kBAA6B,CAAAkD,cAAA;MAAAW,MAAA,GAAA9D,YAAA,CAAAyC,OAAA,EAAAoB,kBAAA,EAAApD,YAAA;IAAA,OAC/B0C,cAAA,CAAAY,GAAA,GAAAD,MAAA,EAAA1D,aAAA,CAAAyC,SAAA,EAAAM,cAAA;MAEJD;IAGF;EAIA;AAC4B3C,IAAA,CAAAyD,WAC1B;AAAA,IAAAX,MACA;IAAAC,IACA;MAAAW,UACA;MAAAC,SACA;MAAAC,OACA;MAAAC,SACA;MAAAC,aACA;MAAAC,UACA;IAAA;IACAf,MACA;MAAAY,OACA;IAAA;EACA;EAAAI,YACA,GAAAhE,IAAA;AAAA,SACAgE,YACA,IAAAC,OAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/View/Users/n8/tamagui/code/packages/react-native-web-lite/src/View/index.tsx"],
4
+ "mappings": "AAUA,SACEA,sBACAC,oBACAC,MACAC,qBACAC,kBACAC,kBACAC,cACAC,oBACAC,0BACK;AACP,YAAYC,WAAW;AAEvB,OAAOC,mBAAmB;AAI1B,IAAMC,YAAY,SAACC,OAA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EnB,OAAOC,UAAW,aACpBR,eAAeQ,SAASA,OAAOC,OAAO,CAAA,MAAO,MAAM,MAAMD,SAASA;EAEtE;AAGF,MAAME,qBAAqB5D,mBAAmBkD,cAAAA,GACxCW,SAAS9D,aAAayC,SAASoB,oBAAoBpD,YAAAA;AAEzD0C,wBAAeY,MAAMD,QAEd1D,cAAcyC,WAAWM,gBAAgB;IAAED;EAAiB,CAAA;AACrE,CAAA;AAGF3C,KAAKyD,cAAc;AAEnB,IAAMX,SAAS;EACbC,MAAM;IACJW,YAAY;IACZC,WAAW;IACXC,SAAS;IACTC,WAAW;IACXC,eAAe;IACfC,YAAY;EACd;EACAf,QAAQ;IACNY,SAAS;EACX;AACF,GAIA,eAAe5D;",
5
+ "names": ["forwardPropsListView", "getLocaleDirection", "pick", "TextAncestorContext", "useElementLayout", "useLocaleContext", "useMergeRefs", "usePlatformMethods", "useResponderEvents", "React", "createElement", "pickProps", "props", "View", "forwardRef", "forwardedRef", "hrefAttrs", "onLayout", "onMoveShouldSetResponder", "onMoveShouldSetResponderCapture", "onResponderEnd", "onResponderGrant", "onResponderMove", "onResponderReject", "onResponderRelease", "onResponderStart", "onResponderTerminate", "onResponderTerminationRequest", "onScrollShouldSetResponder", "onScrollShouldSetResponderCapture", "onSelectionChangeShouldSetResponder", "onSelectionChangeShouldSetResponderCapture", "onStartShouldSetResponder", "onStartShouldSetResponderCapture", "rest", "process", "env", "NODE_ENV", "Children", "toArray", "children", "forEach", "item", "console", "error", "hasTextAncestor", "useContext", "hostRef", "useRef", "direction", "contextDirection", "component", "langDirection", "lang", "componentDirection", "dir", "writingDirection", "supportedProps", "style", "styles", "view", "inline", "href", "download", "rel", "target", "charAt", "platformMethodsRef", "setRef", "ref", "displayName", "alignItems", "boxSizing", "display", "flexBasis", "flexDirection", "flexShrink"]
6
+ }
@@ -1,2 +1 @@
1
-
2
- //# sourceMappingURL=types.native.js.map
1
+ //# sourceMappingURL=types.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "mappings": "",
5
+ "names": []
6
+ }