@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
@@ -1,17 +1,19 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { StyleSheet, TextInputState, dismissKeyboard, invariant, mergeRefs, warning } from "@tamagui/react-native-web-internals";
4
- import View from "../View/index.native.js";
5
- import ScrollViewBase from "./ScrollViewBase.native.js";
4
+ import View from "../View/index";
5
+ import ScrollViewBase from "./ScrollViewBase";
6
6
  function _assert_this_initialized(self) {
7
- if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7
+ if (self === void 0)
8
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8
9
  return self;
9
10
  }
10
11
  function _call_super(_this, derived, args) {
11
12
  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));
12
13
  }
13
14
  function _class_call_check(instance, Constructor) {
14
- if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
+ if (!(instance instanceof Constructor))
16
+ throw new TypeError("Cannot call a class as a function");
15
17
  }
16
18
  function _defineProperties(target, props) {
17
19
  for (var i = 0; i < props.length; i++) {
@@ -31,12 +33,13 @@ function _define_property(obj, key, value) {
31
33
  }) : obj[key] = value, obj;
32
34
  }
33
35
  function _get_prototype_of(o) {
34
- return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
36
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
35
37
  return o2.__proto__ || Object.getPrototypeOf(o2);
36
38
  }, _get_prototype_of(o);
37
39
  }
38
40
  function _inherits(subClass, superClass) {
39
- if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
41
+ if (typeof superClass != "function" && superClass !== null)
42
+ throw new TypeError("Super expression must either be null or a function");
40
43
  subClass.prototype = Object.create(superClass && superClass.prototype, {
41
44
  constructor: {
42
45
  value: subClass,
@@ -49,40 +52,39 @@ function _possible_constructor_return(self, call) {
49
52
  return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
50
53
  }
51
54
  function _set_prototype_of(o, p) {
52
- return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
55
+ return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
53
56
  return o2.__proto__ = p2, o2;
54
57
  }, _set_prototype_of(o, p);
55
58
  }
56
59
  function _type_of(obj) {
57
60
  "@swc/helpers - typeof";
58
-
59
61
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
60
62
  }
61
63
  function _is_native_reflect_construct() {
62
64
  try {
63
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
64
- } catch {}
65
- return (_is_native_reflect_construct = function () {
65
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
66
+ }));
67
+ } catch {
68
+ }
69
+ return (_is_native_reflect_construct = function() {
66
70
  return !!result;
67
71
  })();
68
72
  }
69
- var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
70
- ScrollView = /* @__PURE__ */function (_React_Component) {
71
- "use strict";
72
-
73
- _inherits(ScrollView2, _React_Component);
74
- function ScrollView2() {
75
- _class_call_check(this, ScrollView2);
76
- var _this;
77
- return _this = _call_super(this, ScrollView2, arguments), _define_property(_this, "_scrollNodeRef", void 0), _define_property(_this, "_innerViewRef", void 0), _define_property(_this, "keyboardWillOpenTo", null), _define_property(_this, "additionalScrollOffset", 0), _define_property(_this, "isTouching", !1), _define_property(_this, "lastMomentumScrollBeginTime", 0), _define_property(_this, "lastMomentumScrollEndTime", 0),
78
- // Reset to false every time becomes responder. This is used to:
79
- // - Determine if the scroll view has been scrolled and therefore should
80
- // refuse to give up its responder lock.
81
- // - Determine if releasing should dismiss the keyboard when we are in
82
- // tap-to-dismiss mode (!this.props.keyboardShouldPersistTaps).
83
- _define_property(_this, "observedScrollSinceBecomingResponder", !1), _define_property(_this, "becameResponderWhileAnimating", !1), _this;
84
- }
85
- return _create_class(ScrollView2, [{
73
+ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16, ScrollView = /* @__PURE__ */ function(_React_Component) {
74
+ "use strict";
75
+ _inherits(ScrollView2, _React_Component);
76
+ function ScrollView2() {
77
+ _class_call_check(this, ScrollView2);
78
+ var _this;
79
+ return _this = _call_super(this, ScrollView2, arguments), _define_property(_this, "_scrollNodeRef", void 0), _define_property(_this, "_innerViewRef", void 0), _define_property(_this, "keyboardWillOpenTo", null), _define_property(_this, "additionalScrollOffset", 0), _define_property(_this, "isTouching", !1), _define_property(_this, "lastMomentumScrollBeginTime", 0), _define_property(_this, "lastMomentumScrollEndTime", 0), // Reset to false every time becomes responder. This is used to:
80
+ // - Determine if the scroll view has been scrolled and therefore should
81
+ // refuse to give up its responder lock.
82
+ // - Determine if releasing should dismiss the keyboard when we are in
83
+ // tap-to-dismiss mode (!this.props.keyboardShouldPersistTaps).
84
+ _define_property(_this, "observedScrollSinceBecomingResponder", !1), _define_property(_this, "becameResponderWhileAnimating", !1), _this;
85
+ }
86
+ return _create_class(ScrollView2, [
87
+ {
86
88
  /**
87
89
  * Returns a reference to the underlying scroll responder, which supports
88
90
  * operations like `scrollTo`. All ScrollView-like components should
@@ -90,32 +92,37 @@ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
90
92
  * to the underlying scroll responder's methods.
91
93
  */
92
94
  key: "getScrollResponder",
93
- value: function () {
95
+ value: function() {
94
96
  return this.mixin;
95
97
  }
96
- }, {
98
+ },
99
+ {
97
100
  key: "getScrollableNode",
98
- value: function () {
101
+ value: function() {
99
102
  return this._scrollNodeRef;
100
103
  }
101
- }, {
104
+ },
105
+ {
102
106
  key: "getInnerViewRef",
103
- value: function () {
107
+ value: function() {
104
108
  return this._innerViewRef;
105
109
  }
106
- }, {
110
+ },
111
+ {
107
112
  key: "getInnerViewNode",
108
- value: function () {
113
+ value: function() {
109
114
  return this._innerViewRef;
110
115
  }
111
- }, {
116
+ },
117
+ {
112
118
  key: "getNativeScrollRef",
113
- value: function () {
119
+ value: function() {
114
120
  return this._scrollNodeRef;
115
121
  }
116
- }, {
122
+ },
123
+ {
117
124
  key: "render",
118
- value: function () {
125
+ value: function() {
119
126
  var {
120
127
  contentContainerStyle,
121
128
  horizontal,
@@ -132,99 +139,106 @@ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
132
139
  ...other
133
140
  } = this.props;
134
141
  if (process.env.NODE_ENV !== "production" && this.props.style) {
135
- var style = StyleSheet.flatten(this.props.style),
136
- childLayoutProps = ["alignItems", "justifyContent"].filter(function (prop) {
137
- return style && style[prop] !== void 0;
138
- });
142
+ var style = StyleSheet.flatten(this.props.style), childLayoutProps = [
143
+ "alignItems",
144
+ "justifyContent"
145
+ ].filter(function(prop) {
146
+ return style && style[prop] !== void 0;
147
+ });
139
148
  invariant(childLayoutProps.length === 0, `ScrollView child layout (${JSON.stringify(childLayoutProps)}) must be applied through the contentContainerStyle prop.`);
140
149
  }
141
150
  var contentSizeChangeProps = {};
142
151
  onContentSizeChange && (contentSizeChangeProps = {
143
152
  onLayout: this._handleContentOnLayout.bind(this)
144
153
  });
145
- var hasStickyHeaderIndices = !horizontal && Array.isArray(stickyHeaderIndices),
146
- children = hasStickyHeaderIndices || pagingEnabled ? React.Children.map(this.props.children, function (child, i) {
147
- var isSticky = hasStickyHeaderIndices && stickyHeaderIndices.indexOf(i) > -1;
148
- return child != null && (isSticky || pagingEnabled) ? /* @__PURE__ */_jsx(View, {
149
- style: StyleSheet.compose(isSticky && styles.stickyHeader, pagingEnabled && styles.pagingEnabledChild),
150
- children: child
151
- }) : child;
152
- }) : this.props.children,
153
- contentContainer = /* @__PURE__ */_jsx(View, {
154
- ...contentSizeChangeProps,
155
- // @ts-ignore
156
- collapsable: !1,
157
- ref: this._setInnerViewRef.bind(this),
158
- style: [horizontal && styles.contentContainerHorizontal, centerContent && styles.contentContainerCenterContent, contentContainerStyle],
159
- children
160
- }),
161
- baseStyle = horizontal ? styles.baseHorizontal : styles.baseVertical,
162
- pagingEnabledStyle = horizontal ? styles.pagingEnabledHorizontal : styles.pagingEnabledVertical,
163
- props = {
164
- ...other,
165
- style: [baseStyle, pagingEnabled && pagingEnabledStyle, this.props.style],
166
- onTouchStart: this.scrollResponderHandleTouchStart.bind(this),
167
- onTouchMove: this.scrollResponderHandleTouchMove.bind(this),
168
- onTouchEnd: this.scrollResponderHandleTouchEnd.bind(this),
169
- onScrollBeginDrag: this.scrollResponderHandleScrollBeginDrag.bind(this),
170
- onScrollEndDrag: this.scrollResponderHandleScrollEndDrag.bind(this),
171
- onMomentumScrollBegin: this.scrollResponderHandleMomentumScrollBegin.bind(this),
172
- onMomentumScrollEnd: this.scrollResponderHandleMomentumScrollEnd.bind(this),
173
- onStartShouldSetResponder: this.scrollResponderHandleStartShouldSetResponder.bind(this),
174
- onStartShouldSetResponderCapture: this.scrollResponderHandleStartShouldSetResponderCapture.bind(this),
175
- onScrollShouldSetResponder: this.scrollResponderHandleScrollShouldSetResponder.bind(this),
176
- onScroll: this._handleScroll.bind(this),
177
- onResponderGrant: this.scrollResponderHandleResponderGrant.bind(this),
178
- onResponderTerminationRequest: this.scrollResponderHandleTerminationRequest.bind(this),
179
- onResponderRelease: this.scrollResponderHandleResponderRelease.bind(this),
180
- onResponderReject: this.scrollResponderHandleResponderReject.bind(this)
181
- },
182
- ScrollViewClass = ScrollViewBase;
154
+ var hasStickyHeaderIndices = !horizontal && Array.isArray(stickyHeaderIndices), children = hasStickyHeaderIndices || pagingEnabled ? React.Children.map(this.props.children, function(child, i) {
155
+ var isSticky = hasStickyHeaderIndices && stickyHeaderIndices.indexOf(i) > -1;
156
+ return child != null && (isSticky || pagingEnabled) ? /* @__PURE__ */ _jsx(View, {
157
+ style: StyleSheet.compose(isSticky && styles.stickyHeader, pagingEnabled && styles.pagingEnabledChild),
158
+ children: child
159
+ }) : child;
160
+ }) : this.props.children, contentContainer = /* @__PURE__ */ _jsx(View, {
161
+ ...contentSizeChangeProps,
162
+ // @ts-ignore
163
+ collapsable: !1,
164
+ ref: this._setInnerViewRef.bind(this),
165
+ style: [
166
+ horizontal && styles.contentContainerHorizontal,
167
+ centerContent && styles.contentContainerCenterContent,
168
+ contentContainerStyle
169
+ ],
170
+ children
171
+ }), baseStyle = horizontal ? styles.baseHorizontal : styles.baseVertical, pagingEnabledStyle = horizontal ? styles.pagingEnabledHorizontal : styles.pagingEnabledVertical, props = {
172
+ ...other,
173
+ style: [
174
+ baseStyle,
175
+ pagingEnabled && pagingEnabledStyle,
176
+ this.props.style
177
+ ],
178
+ onTouchStart: this.scrollResponderHandleTouchStart.bind(this),
179
+ onTouchMove: this.scrollResponderHandleTouchMove.bind(this),
180
+ onTouchEnd: this.scrollResponderHandleTouchEnd.bind(this),
181
+ onScrollBeginDrag: this.scrollResponderHandleScrollBeginDrag.bind(this),
182
+ onScrollEndDrag: this.scrollResponderHandleScrollEndDrag.bind(this),
183
+ onMomentumScrollBegin: this.scrollResponderHandleMomentumScrollBegin.bind(this),
184
+ onMomentumScrollEnd: this.scrollResponderHandleMomentumScrollEnd.bind(this),
185
+ onStartShouldSetResponder: this.scrollResponderHandleStartShouldSetResponder.bind(this),
186
+ onStartShouldSetResponderCapture: this.scrollResponderHandleStartShouldSetResponderCapture.bind(this),
187
+ onScrollShouldSetResponder: this.scrollResponderHandleScrollShouldSetResponder.bind(this),
188
+ onScroll: this._handleScroll.bind(this),
189
+ onResponderGrant: this.scrollResponderHandleResponderGrant.bind(this),
190
+ onResponderTerminationRequest: this.scrollResponderHandleTerminationRequest.bind(this),
191
+ onResponderRelease: this.scrollResponderHandleResponderRelease.bind(this),
192
+ onResponderReject: this.scrollResponderHandleResponderReject.bind(this)
193
+ }, ScrollViewClass = ScrollViewBase;
183
194
  invariant(ScrollViewClass !== void 0, "ScrollViewClass must not be undefined");
184
- var scrollView = /* @__PURE__ */_jsx(ScrollViewClass, {
195
+ var scrollView = /* @__PURE__ */ _jsx(ScrollViewClass, {
185
196
  ...props,
186
197
  ref: this._setScrollNodeRef.bind(this),
187
198
  children: contentContainer
188
199
  });
189
- return refreshControl ? /* @__PURE__ */React.cloneElement(refreshControl, {
200
+ return refreshControl ? /* @__PURE__ */ React.cloneElement(refreshControl, {
190
201
  style: props.style
191
202
  }, scrollView) : scrollView;
192
203
  }
193
- }, {
204
+ },
205
+ {
194
206
  key: "_handleContentOnLayout",
195
- value: function (e) {
196
- var {
197
- width,
198
- height
199
- } = e.nativeEvent.layout;
207
+ value: function(e) {
208
+ var { width, height } = e.nativeEvent.layout;
200
209
  this.props.onContentSizeChange(width, height);
201
210
  }
202
- }, {
211
+ },
212
+ {
203
213
  key: "_handleScroll",
204
- value: function (e) {
214
+ value: function(e) {
205
215
  process.env.NODE_ENV !== "production" && this.props.onScroll && this.props.scrollEventThrottle == null && console.info("You specified `onScroll` on a <ScrollView> but not `scrollEventThrottle`. You will only receive one event. Using `16` you get all the events but be aware that it may cause frame drops, use a bigger number if you don't need as much precision."), this.props.keyboardDismissMode === "on-drag" && dismissKeyboard(), this.scrollResponderHandleScroll(e);
206
216
  }
207
- }, {
217
+ },
218
+ {
208
219
  key: "_setInnerViewRef",
209
- value: function (node) {
220
+ value: function(node) {
210
221
  this._innerViewRef = node;
211
222
  }
212
- }, {
223
+ },
224
+ {
213
225
  key: "_setScrollNodeRef",
214
- value: function (node) {
226
+ value: function(node) {
215
227
  this._scrollNodeRef = node, node != null && (node.getScrollResponder = this.getScrollResponder, node.getInnerViewNode = this.getInnerViewNode, node.getInnerViewRef = this.getInnerViewRef, node.getNativeScrollRef = this.getNativeScrollRef, node.getScrollableNode = this.getScrollableNode, node.scrollTo = this.scrollTo, node.scrollToEnd = this.scrollToEnd, node.scrollResponderZoomTo = this.scrollResponderZoomTo, node.scrollResponderScrollNativeHandleToKeyboard = this.scrollResponderScrollNativeHandleToKeyboard);
216
228
  var ref = mergeRefs(this.props.forwardedRef);
217
229
  ref(node);
218
230
  }
219
- }, {
231
+ },
232
+ {
220
233
  /**
221
234
  * Invoke this from an `onScroll` event.
222
235
  */
223
236
  key: "scrollResponderHandleScrollShouldSetResponder",
224
- value: function () {
237
+ value: function() {
225
238
  return this.isTouching;
226
239
  }
227
- }, {
240
+ },
241
+ {
228
242
  /**
229
243
  * Merely touch starting is not sufficient for a scroll view to become the
230
244
  * responder. Being the "responder" means that the very next touch move/end
@@ -251,10 +265,11 @@ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
251
265
  *
252
266
  */
253
267
  key: "scrollResponderHandleStartShouldSetResponder",
254
- value: function () {
268
+ value: function() {
255
269
  return !1;
256
270
  }
257
- }, {
271
+ },
272
+ {
258
273
  /**
259
274
  * There are times when the scroll view wants to become the responder
260
275
  * (meaning respond to the next immediate `touchStart/touchEnd`), in a way
@@ -267,10 +282,11 @@ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
267
282
  * Invoke this from an `onStartShouldSetResponderCapture` event.
268
283
  */
269
284
  key: "scrollResponderHandleStartShouldSetResponderCapture",
270
- value: function (e) {
285
+ value: function(e) {
271
286
  return this.scrollResponderIsAnimating();
272
287
  }
273
- }, {
288
+ },
289
+ {
274
290
  /**
275
291
  * Invoke this from an `onResponderReject` event.
276
292
  *
@@ -282,10 +298,11 @@ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
282
298
  * a touch has already started.
283
299
  */
284
300
  key: "scrollResponderHandleResponderReject",
285
- value: function () {
301
+ value: function() {
286
302
  warning(!1, "ScrollView doesn't take rejection well - scrolls anyway");
287
303
  }
288
- }, {
304
+ },
305
+ {
289
306
  /**
290
307
  * We will allow the scroll view to give up its lock iff it acquired the lock
291
308
  * during an animation. This is a very useful default that happens to satisfy
@@ -302,44 +319,49 @@ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
302
319
  * rejected.
303
320
  */
304
321
  key: "scrollResponderHandleTerminationRequest",
305
- value: function () {
322
+ value: function() {
306
323
  return !this.observedScrollSinceBecomingResponder;
307
324
  }
308
- }, {
325
+ },
326
+ {
309
327
  /**
310
328
  * Invoke this from an `onTouchEnd` event.
311
329
  *
312
330
  * @param {SyntheticEvent} e Event.
313
331
  */
314
332
  key: "scrollResponderHandleTouchEnd",
315
- value: function (e) {
333
+ value: function(e) {
316
334
  var nativeEvent = e.nativeEvent;
317
335
  this.isTouching = nativeEvent.touches.length !== 0, this.props.onTouchEnd && this.props.onTouchEnd(e);
318
336
  }
319
- }, {
337
+ },
338
+ {
320
339
  /**
321
340
  * Invoke this from an `onResponderRelease` event.
322
341
  */
323
342
  key: "scrollResponderHandleResponderRelease",
324
- value: function (e) {
343
+ value: function(e) {
325
344
  this.props.onResponderRelease && this.props.onResponderRelease(e);
326
345
  var currentlyFocusedTextInput = TextInputState.currentlyFocusedField();
327
346
  !this.props.keyboardShouldPersistTaps && currentlyFocusedTextInput != null && e.target !== currentlyFocusedTextInput && !this.observedScrollSinceBecomingResponder && !this.becameResponderWhileAnimating && (this.props.onScrollResponderKeyboardDismissed && this.props.onScrollResponderKeyboardDismissed(e), TextInputState.blurTextInput(currentlyFocusedTextInput));
328
347
  }
329
- }, {
348
+ },
349
+ {
330
350
  key: "scrollResponderHandleScroll",
331
- value: function (e) {
351
+ value: function(e) {
332
352
  this.observedScrollSinceBecomingResponder = !0, this.props.onScroll && this.props.onScroll(e);
333
353
  }
334
- }, {
354
+ },
355
+ {
335
356
  /**
336
357
  * Invoke this from an `onResponderGrant` event.
337
358
  */
338
359
  key: "scrollResponderHandleResponderGrant",
339
- value: function (e) {
360
+ value: function(e) {
340
361
  this.observedScrollSinceBecomingResponder = !1, this.props.onResponderGrant && this.props.onResponderGrant(e), this.becameResponderWhileAnimating = this.scrollResponderIsAnimating();
341
362
  }
342
- }, {
363
+ },
364
+ {
343
365
  /**
344
366
  * Unfortunately, `onScrollBeginDrag` also fires when *stopping* the scroll
345
367
  * animation, and there's not an easy way to distinguish a drag vs. stopping
@@ -348,34 +370,38 @@ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
348
370
  * Invoke this from an `onScrollBeginDrag` event.
349
371
  */
350
372
  key: "scrollResponderHandleScrollBeginDrag",
351
- value: function (e) {
373
+ value: function(e) {
352
374
  this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);
353
375
  }
354
- }, {
376
+ },
377
+ {
355
378
  /**
356
379
  * Invoke this from an `onScrollEndDrag` event.
357
380
  */
358
381
  key: "scrollResponderHandleScrollEndDrag",
359
- value: function (e) {
382
+ value: function(e) {
360
383
  this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);
361
384
  }
362
- }, {
385
+ },
386
+ {
363
387
  /**
364
388
  * Invoke this from an `onMomentumScrollBegin` event.
365
389
  */
366
390
  key: "scrollResponderHandleMomentumScrollBegin",
367
- value: function (e) {
391
+ value: function(e) {
368
392
  this.lastMomentumScrollBeginTime = Date.now(), this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);
369
393
  }
370
- }, {
394
+ },
395
+ {
371
396
  /**
372
397
  * Invoke this from an `onMomentumScrollEnd` event.
373
398
  */
374
399
  key: "scrollResponderHandleMomentumScrollEnd",
375
- value: function (e) {
400
+ value: function(e) {
376
401
  this.lastMomentumScrollEndTime = Date.now(), this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);
377
402
  }
378
- }, {
403
+ },
404
+ {
379
405
  /**
380
406
  * Invoke this from an `onTouchStart` event.
381
407
  *
@@ -388,10 +414,11 @@ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
388
414
  * @param {SyntheticEvent} e Touch Start event.
389
415
  */
390
416
  key: "scrollResponderHandleTouchStart",
391
- value: function (e) {
417
+ value: function(e) {
392
418
  this.isTouching = !0, this.props.onTouchStart && this.props.onTouchStart(e);
393
419
  }
394
- }, {
420
+ },
421
+ {
395
422
  /**
396
423
  * Invoke this from an `onTouchMove` event.
397
424
  *
@@ -404,78 +431,79 @@ var IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16,
404
431
  * @param {SyntheticEvent} e Touch Start event.
405
432
  */
406
433
  key: "scrollResponderHandleTouchMove",
407
- value: function (e) {
434
+ value: function(e) {
408
435
  this.props.onTouchMove && this.props.onTouchMove(e);
409
436
  }
410
- }, {
437
+ },
438
+ {
411
439
  /**
412
440
  * A helper function for this class that lets us quickly determine if the
413
441
  * view is currently animating. This is particularly useful to know when
414
442
  * a touch has just started or ended.
415
443
  */
416
444
  key: "scrollResponderIsAnimating",
417
- value: function () {
418
- var now = Date.now(),
419
- timeSinceLastMomentumScrollEnd = now - this.lastMomentumScrollEndTime,
420
- isAnimating = timeSinceLastMomentumScrollEnd < IS_ANIMATING_TOUCH_START_THRESHOLD_MS || this.lastMomentumScrollEndTime < this.lastMomentumScrollBeginTime;
445
+ value: function() {
446
+ var now = Date.now(), timeSinceLastMomentumScrollEnd = now - this.lastMomentumScrollEndTime, isAnimating = timeSinceLastMomentumScrollEnd < IS_ANIMATING_TOUCH_START_THRESHOLD_MS || this.lastMomentumScrollEndTime < this.lastMomentumScrollBeginTime;
421
447
  return isAnimating;
422
448
  }
423
- }]), ScrollView2;
424
- }(React.Component),
425
- commonStyle = {
426
- flexGrow: 1,
427
- flexShrink: 1,
428
- // Enable hardware compositing in modern browsers.
429
- // Creates a new layer with its own backing surface that can significantly
430
- // improve scroll performance.
431
- transform: [{
449
+ }
450
+ ]), ScrollView2;
451
+ }(React.Component), commonStyle = {
452
+ flexGrow: 1,
453
+ flexShrink: 1,
454
+ // Enable hardware compositing in modern browsers.
455
+ // Creates a new layer with its own backing surface that can significantly
456
+ // improve scroll performance.
457
+ transform: [
458
+ {
432
459
  translateZ: 0
433
- }],
434
- // iOS native scrolling
435
- WebkitOverflowScrolling: "touch"
436
- },
437
- styles = {
438
- baseVertical: {
439
- ...commonStyle,
440
- flexDirection: "column",
441
- overflowX: "hidden",
442
- overflowY: "auto"
443
- },
444
- baseHorizontal: {
445
- ...commonStyle,
446
- flexDirection: "row",
447
- overflowX: "auto",
448
- overflowY: "hidden"
449
- },
450
- contentContainerHorizontal: {
451
- flexDirection: "row"
452
- },
453
- contentContainerCenterContent: {
454
- justifyContent: "center",
455
- flexGrow: 1
456
- },
457
- stickyHeader: {
458
- position: "sticky",
459
- top: 0,
460
- zIndex: 10
461
- },
462
- pagingEnabledHorizontal: {
463
- scrollSnapType: "x mandatory"
464
- },
465
- pagingEnabledVertical: {
466
- scrollSnapType: "y mandatory"
467
- },
468
- pagingEnabledChild: {
469
- scrollSnapAlign: "start"
470
460
  }
461
+ ],
462
+ // iOS native scrolling
463
+ WebkitOverflowScrolling: "touch"
464
+ }, styles = {
465
+ baseVertical: {
466
+ ...commonStyle,
467
+ flexDirection: "column",
468
+ overflowX: "hidden",
469
+ overflowY: "auto"
470
+ },
471
+ baseHorizontal: {
472
+ ...commonStyle,
473
+ flexDirection: "row",
474
+ overflowX: "auto",
475
+ overflowY: "hidden"
476
+ },
477
+ contentContainerHorizontal: {
478
+ flexDirection: "row"
471
479
  },
472
- ForwardedScrollView = /* @__PURE__ */React.forwardRef(function (props, forwardedRef) {
473
- return /* @__PURE__ */_jsx(ScrollView, {
474
- ...props,
475
- forwardedRef
476
- });
480
+ contentContainerCenterContent: {
481
+ justifyContent: "center",
482
+ flexGrow: 1
483
+ },
484
+ stickyHeader: {
485
+ position: "sticky",
486
+ top: 0,
487
+ zIndex: 10
488
+ },
489
+ pagingEnabledHorizontal: {
490
+ scrollSnapType: "x mandatory"
491
+ },
492
+ pagingEnabledVertical: {
493
+ scrollSnapType: "y mandatory"
494
+ },
495
+ pagingEnabledChild: {
496
+ scrollSnapAlign: "start"
497
+ }
498
+ }, ForwardedScrollView = /* @__PURE__ */ React.forwardRef(function(props, forwardedRef) {
499
+ return /* @__PURE__ */ _jsx(ScrollView, {
500
+ ...props,
501
+ forwardedRef
477
502
  });
503
+ });
478
504
  ForwardedScrollView.displayName = "ScrollView";
479
505
  var ScrollView_default = ForwardedScrollView;
480
- export { ScrollView_default as default };
481
- //# sourceMappingURL=index.native.js.map
506
+ export {
507
+ ScrollView_default as default
508
+ };
509
+ //# sourceMappingURL=index.js.map