@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,6 +1,7 @@
1
- import _bezier from "./bezier.native.js";
1
+ import _bezier from "./bezier";
2
2
  function _class_call_check(instance, Constructor) {
3
- if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3
+ if (!(instance instanceof Constructor))
4
+ throw new TypeError("Cannot call a class as a function");
4
5
  }
5
6
  function _defineProperties(target, props) {
6
7
  for (var i = 0; i < props.length; i++) {
@@ -11,229 +12,265 @@ function _defineProperties(target, props) {
11
12
  function _create_class(Constructor, protoProps, staticProps) {
12
13
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
13
14
  }
14
- var ease,
15
- Easing = /* @__PURE__ */function () {
16
- function Easing2() {
17
- _class_call_check(this, Easing2);
18
- }
19
- return _create_class(Easing2, null, [{
15
+ var ease, Easing = /* @__PURE__ */ function() {
16
+ function Easing2() {
17
+ _class_call_check(this, Easing2);
18
+ }
19
+ return _create_class(Easing2, null, [
20
+ {
20
21
  key: "step0",
21
22
  value: (
22
- /**
23
- * A stepping function, returns 1 for any positive value of `n`.
24
- */
25
- function (n) {
26
- return n > 0 ? 1 : 0;
27
- })
28
- }, {
23
+ /**
24
+ * A stepping function, returns 1 for any positive value of `n`.
25
+ */
26
+ function(n) {
27
+ return n > 0 ? 1 : 0;
28
+ }
29
+ )
30
+ },
31
+ {
29
32
  key: "step1",
30
33
  value: (
31
- /**
32
- * A stepping function, returns 1 if `n` is greater than or equal to 1.
33
- */
34
- function (n) {
35
- return n >= 1 ? 1 : 0;
36
- })
37
- }, {
34
+ /**
35
+ * A stepping function, returns 1 if `n` is greater than or equal to 1.
36
+ */
37
+ function(n) {
38
+ return n >= 1 ? 1 : 0;
39
+ }
40
+ )
41
+ },
42
+ {
38
43
  key: "linear",
39
44
  value: (
40
- /**
41
- * A linear function, `f(t) = t`. Position correlates to elapsed time one to
42
- * one.
43
- *
44
- * http://cubic-bezier.com/#0,0,1,1
45
- */
46
- function (t) {
47
- return t;
48
- })
49
- }, {
45
+ /**
46
+ * A linear function, `f(t) = t`. Position correlates to elapsed time one to
47
+ * one.
48
+ *
49
+ * http://cubic-bezier.com/#0,0,1,1
50
+ */
51
+ function(t) {
52
+ return t;
53
+ }
54
+ )
55
+ },
56
+ {
50
57
  key: "ease",
51
58
  value: (
52
- /**
53
- * A simple inertial interaction, similar to an object slowly accelerating to
54
- * speed.
55
- *
56
- * http://cubic-bezier.com/#.42,0,1,1
57
- */
58
- function (t) {
59
- return ease || (ease = Easing2.bezier(0.42, 0, 1, 1)), ease(t);
60
- })
61
- }, {
59
+ /**
60
+ * A simple inertial interaction, similar to an object slowly accelerating to
61
+ * speed.
62
+ *
63
+ * http://cubic-bezier.com/#.42,0,1,1
64
+ */
65
+ function(t) {
66
+ return ease || (ease = Easing2.bezier(0.42, 0, 1, 1)), ease(t);
67
+ }
68
+ )
69
+ },
70
+ {
62
71
  key: "quad",
63
72
  value: (
64
- /**
65
- * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed
66
- * time.
67
- *
68
- * http://easings.net/#easeInQuad
69
- */
70
- function (t) {
71
- return t * t;
72
- })
73
- }, {
73
+ /**
74
+ * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed
75
+ * time.
76
+ *
77
+ * http://easings.net/#easeInQuad
78
+ */
79
+ function(t) {
80
+ return t * t;
81
+ }
82
+ )
83
+ },
84
+ {
74
85
  key: "cubic",
75
86
  value: (
76
- /**
77
- * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed
78
- * time.
79
- *
80
- * http://easings.net/#easeInCubic
81
- */
82
- function (t) {
83
- return t * t * t;
84
- })
85
- }, {
87
+ /**
88
+ * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed
89
+ * time.
90
+ *
91
+ * http://easings.net/#easeInCubic
92
+ */
93
+ function(t) {
94
+ return t * t * t;
95
+ }
96
+ )
97
+ },
98
+ {
86
99
  key: "poly",
87
100
  value: (
88
- /**
89
- * A power function. Position is equal to the Nth power of elapsed time.
90
- *
91
- * n = 4: http://easings.net/#easeInQuart
92
- * n = 5: http://easings.net/#easeInQuint
93
- */
94
- function (n) {
95
- return function (t) {
96
- return Math.pow(t, n);
97
- };
98
- })
99
- }, {
101
+ /**
102
+ * A power function. Position is equal to the Nth power of elapsed time.
103
+ *
104
+ * n = 4: http://easings.net/#easeInQuart
105
+ * n = 5: http://easings.net/#easeInQuint
106
+ */
107
+ function(n) {
108
+ return function(t) {
109
+ return Math.pow(t, n);
110
+ };
111
+ }
112
+ )
113
+ },
114
+ {
100
115
  key: "sin",
101
116
  value: (
102
- /**
103
- * A sinusoidal function.
104
- *
105
- * http://easings.net/#easeInSine
106
- */
107
- function (t) {
108
- return 1 - Math.cos(t * Math.PI / 2);
109
- })
110
- }, {
117
+ /**
118
+ * A sinusoidal function.
119
+ *
120
+ * http://easings.net/#easeInSine
121
+ */
122
+ function(t) {
123
+ return 1 - Math.cos(t * Math.PI / 2);
124
+ }
125
+ )
126
+ },
127
+ {
111
128
  key: "circle",
112
129
  value: (
113
- /**
114
- * A circular function.
115
- *
116
- * http://easings.net/#easeInCirc
117
- */
118
- function (t) {
119
- return 1 - Math.sqrt(1 - t * t);
120
- })
121
- }, {
130
+ /**
131
+ * A circular function.
132
+ *
133
+ * http://easings.net/#easeInCirc
134
+ */
135
+ function(t) {
136
+ return 1 - Math.sqrt(1 - t * t);
137
+ }
138
+ )
139
+ },
140
+ {
122
141
  key: "exp",
123
142
  value: (
124
- /**
125
- * An exponential function.
126
- *
127
- * http://easings.net/#easeInExpo
128
- */
129
- function (t) {
130
- return Math.pow(2, 10 * (t - 1));
131
- })
132
- }, {
143
+ /**
144
+ * An exponential function.
145
+ *
146
+ * http://easings.net/#easeInExpo
147
+ */
148
+ function(t) {
149
+ return Math.pow(2, 10 * (t - 1));
150
+ }
151
+ )
152
+ },
153
+ {
133
154
  key: "elastic",
134
155
  value: (
135
- /**
136
- * A simple elastic interaction, similar to a spring oscillating back and
137
- * forth.
138
- *
139
- * Default bounciness is 1, which overshoots a little bit once. 0 bounciness
140
- * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N
141
- * times.
142
- *
143
- * http://easings.net/#easeInElastic
144
- */
145
- function (bounciness) {
146
- bounciness === void 0 && (bounciness = 1);
147
- var p = bounciness * Math.PI;
148
- return function (t) {
149
- return 1 - Math.pow(Math.cos(t * Math.PI / 2), 3) * Math.cos(t * p);
150
- };
151
- })
152
- }, {
156
+ /**
157
+ * A simple elastic interaction, similar to a spring oscillating back and
158
+ * forth.
159
+ *
160
+ * Default bounciness is 1, which overshoots a little bit once. 0 bounciness
161
+ * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N
162
+ * times.
163
+ *
164
+ * http://easings.net/#easeInElastic
165
+ */
166
+ function(bounciness) {
167
+ bounciness === void 0 && (bounciness = 1);
168
+ var p = bounciness * Math.PI;
169
+ return function(t) {
170
+ return 1 - Math.pow(Math.cos(t * Math.PI / 2), 3) * Math.cos(t * p);
171
+ };
172
+ }
173
+ )
174
+ },
175
+ {
153
176
  key: "back",
154
177
  value: (
155
- /**
156
- * Use with `Animated.parallel()` to create a simple effect where the object
157
- * animates back slightly as the animation starts.
158
- *
159
- * Wolfram Plot:
160
- *
161
- * - http://tiny.cc/back_default (s = 1.70158, default)
162
- */
163
- function (s) {
164
- return s === void 0 && (s = 1.70158), function (t) {
165
- return t * t * ((s + 1) * t - s);
166
- };
167
- })
168
- }, {
178
+ /**
179
+ * Use with `Animated.parallel()` to create a simple effect where the object
180
+ * animates back slightly as the animation starts.
181
+ *
182
+ * Wolfram Plot:
183
+ *
184
+ * - http://tiny.cc/back_default (s = 1.70158, default)
185
+ */
186
+ function(s) {
187
+ return s === void 0 && (s = 1.70158), function(t) {
188
+ return t * t * ((s + 1) * t - s);
189
+ };
190
+ }
191
+ )
192
+ },
193
+ {
169
194
  key: "bounce",
170
195
  value: (
171
- /**
172
- * Provides a simple bouncing effect.
173
- *
174
- * http://easings.net/#easeInBounce
175
- */
176
- function (t) {
177
- if (t < 1 / 2.75) return 7.5625 * t * t;
178
- if (t < 2 / 2.75) {
179
- var _t = t - 0.5454545454545454;
180
- return 7.5625 * _t * _t + 0.75;
181
- }
182
- if (t < 2.5 / 2.75) {
183
- var _t2 = t - 0.8181818181818182;
184
- return 7.5625 * _t2 * _t2 + 0.9375;
185
- }
186
- var t2 = t - 2.625 / 2.75;
187
- return 7.5625 * t2 * t2 + 0.984375;
188
- })
189
- }, {
196
+ /**
197
+ * Provides a simple bouncing effect.
198
+ *
199
+ * http://easings.net/#easeInBounce
200
+ */
201
+ function(t) {
202
+ if (t < 1 / 2.75)
203
+ return 7.5625 * t * t;
204
+ if (t < 2 / 2.75) {
205
+ var _t = t - 0.5454545454545454;
206
+ return 7.5625 * _t * _t + 0.75;
207
+ }
208
+ if (t < 2.5 / 2.75) {
209
+ var _t2 = t - 0.8181818181818182;
210
+ return 7.5625 * _t2 * _t2 + 0.9375;
211
+ }
212
+ var t2 = t - 2.625 / 2.75;
213
+ return 7.5625 * t2 * t2 + 0.984375;
214
+ }
215
+ )
216
+ },
217
+ {
190
218
  key: "bezier",
191
219
  value: (
192
- /**
193
- * Provides a cubic bezier curve, equivalent to CSS Transitions'
194
- * `transition-timing-function`.
195
- *
196
- * A useful tool to visualize cubic bezier curves can be found at
197
- * http://cubic-bezier.com/
198
- */
199
- function (x1, y1, x2, y2) {
200
- return _bezier(x1, y1, x2, y2);
201
- })
202
- }, {
220
+ /**
221
+ * Provides a cubic bezier curve, equivalent to CSS Transitions'
222
+ * `transition-timing-function`.
223
+ *
224
+ * A useful tool to visualize cubic bezier curves can be found at
225
+ * http://cubic-bezier.com/
226
+ */
227
+ function(x1, y1, x2, y2) {
228
+ return _bezier(x1, y1, x2, y2);
229
+ }
230
+ )
231
+ },
232
+ {
203
233
  key: "in",
204
234
  value: (
205
- /**
206
- * Runs an easing function forwards.
207
- */
208
- function (easing) {
209
- return easing;
210
- })
211
- }, {
235
+ /**
236
+ * Runs an easing function forwards.
237
+ */
238
+ function(easing) {
239
+ return easing;
240
+ }
241
+ )
242
+ },
243
+ {
212
244
  key: "out",
213
245
  value: (
214
- /**
215
- * Runs an easing function backwards.
216
- */
217
- function (easing) {
218
- return function (t) {
219
- return 1 - easing(1 - t);
220
- };
221
- })
222
- }, {
246
+ /**
247
+ * Runs an easing function backwards.
248
+ */
249
+ function(easing) {
250
+ return function(t) {
251
+ return 1 - easing(1 - t);
252
+ };
253
+ }
254
+ )
255
+ },
256
+ {
223
257
  key: "inOut",
224
258
  value: (
225
- /**
226
- * Makes any easing function symmetrical. The easing function will run
227
- * forwards for half of the duration, then backwards for the rest of the
228
- * duration.
229
- */
230
- function (easing) {
231
- return function (t) {
232
- return t < 0.5 ? easing(t * 2) / 2 : 1 - easing((1 - t) * 2) / 2;
233
- };
234
- })
235
- }]), Easing2;
236
- }(),
237
- Easing_default = Easing;
238
- export { Easing_default as default };
239
- //# sourceMappingURL=Easing.native.js.map
259
+ /**
260
+ * Makes any easing function symmetrical. The easing function will run
261
+ * forwards for half of the duration, then backwards for the rest of the
262
+ * duration.
263
+ */
264
+ function(easing) {
265
+ return function(t) {
266
+ return t < 0.5 ? easing(t * 2) / 2 : 1 - easing((1 - t) * 2) / 2;
267
+ };
268
+ }
269
+ )
270
+ }
271
+ ]), Easing2;
272
+ }(), Easing_default = Easing;
273
+ export {
274
+ Easing_default as default
275
+ };
276
+ //# sourceMappingURL=Easing.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["_bezier","_class_call_check","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_create_class","protoProps","staticProps","prototype","ease","Easing","Easing2","value","n","t","bezier","Math","pow","cos","PI","sqrt"],"sources":["../../../../../src/vendor/react-native/Animated/Easing.js"],"sourcesContent":[null],"mappings":"AAWA,OAAOA,OAAA,MAAa;AACpB,SAAIC,kBAAAC,QAAA,EAAAC,WAAA;EA+CJ,IAAM,EAAAD,QAAO,YAAAC,WAAA,aAAAC,SAAA;AAAA;AAAA,SAAAC,kBAAAC,MAAA,EAAAC,KAAA;EAIX,SAAOC,CAAA,GAAM,GAAGA,CAAA,GAAAD,KAAA,CAAAE,MAAA,EAAAD,CAAA;IACd,IAAAE,UAAW,GAAIH,KAAI,CAAAC,CAAA;IACrBE,UAAA,CAAAC,UAAA,GAAAD,UAAA,CAAAC,UAAA,QAAAD,UAAA,CAAAE,YAAA,kBAAAF,UAAA,KAAAA,UAAA,CAAAG,QAAA,QAAAC,MAAA,CAAAC,cAAA,CAAAT,MAAA,EAAAI,UAAA,CAAAM,GAAA,EAAAN,UAAA;EAAA;AAAA;AAAA,SAAAO,cAAAd,WAAA,EAAAe,UAAA,EAAAC,WAAA;EAKA,OAAOD,UAAS,IAAAb,iBAAA,CAAAF,WAAA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A;IAAA;MAAAT,GAAA;MAOAQ,KAAO;MACD;AACF;AAGF;AACE;AAEA;MACF,SAAAA,CAAAE,CAAA;QAEI,OAAI,CAAM,GAAAE,IAAM,CAAAE,GAAA,CAAAJ,CAAA,GAAAE,IAAA,CAAAG,EAAA;MAClB;IAGF,GAEA;MACAf,GAAA,EAAO;MACTQ,KAAA;MAAA;AAAA;AAAA;AAAA;AAAA;MAAA,SAAAA,CAAAE,CAAA;QAAA,WAAAE,IAAA,CAAAI,IAAA,KAAAN,CAAA,GAAAA,CAAA;MASA,CAAO;IAEP;MAAAV,GAAA;MAAAQ,KAAA;MAKA;AACE;AAAO;AACT;AAAA;MAAA,SAAAA,CAAAE,CAAA;QAKO,OAAIE,IAAQ,CAAAC,GAAA,UAAAH,CAAA;MACjB;IACF;MAAAV,GAAA;MAAAQ,KAAA;MAAA;AAAA;AAQE;AAKmC;AAGvC;AAEA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/Animated/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Animated/Easing.js"],
4
+ "mappings": "AAWA,OAAOA,aAAa;;;;;;;;;;;;;;AACpB,IAAIC,MA+CEC,SAAN,2BAAA;WAAMA,UAAAA;4BAAAA,OAAAA;;uBAAAA,SAAAA,MAAAA;;MAIGC,KAAAA;;;;;QAAP,SAAaC,GAAC;AACZ,iBAAOA,IAAI,IAAI,IAAI;QACrB;;;;MAKOC,KAAAA;;;;;QAAP,SAAaD,GAAC;AACZ,iBAAOA,KAAK,IAAI,IAAI;QACtB;;;;MAQOE,KAAAA;;;;;;;;QAAP,SAAcC,GAAC;AACb,iBAAOA;QACT;;;;MAQON,KAAAA;;;;;;;;QAAP,SAAYM,GAAC;AACX,iBAAKN,SACHA,OAjCAC,QAiCcM,OAAO,MAAM,GAAG,GAAG,CAAA,IAG5BP,KAAKM,CAAAA;QACd;;;;MAQOE,KAAAA;;;;;;;;QAAP,SAAYF,GAAC;AACX,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O,SAASoB,MAAMA,MAAM;UAC9B;AAEA,cAAIC,KAAKrB,IAAI,QAAQ;AACrB,iBAAO,SAASqB,KAAKA,KAAK;QAC5B;;;;MASOpB,KAAAA;;;;;;;;;QAAP,SAAcqB,IAAIC,IAAIC,IAAIC,IAAE;AAC1B,iBAAOhC,QAAQ6B,IAAIC,IAAIC,IAAIC,EAAAA;QAC7B;;;;MAKOC,KAAAA;;;;;QAAP,SAAUC,QAAM;AACd,iBAAOA;QACT;;;;MAKOC,KAAAA;;;;;QAAP,SAAWD,QAAM;AACf,iBAAO,SAAC3B,GAAAA;mBAAM,IAAI2B,OAAO,IAAI3B,CAAAA;;QAC/B;;;;MAOO6B,KAAAA;;;;;;;QAAP,SAAaF,QAAM;AACjB,iBAAO,SAAC3B,GAAAA;AACN,mBAAIA,IAAI,MACC2B,OAAO3B,IAAI,CAAA,IAAK,IAGlB,IAAI2B,QAAQ,IAAI3B,KAAK,CAAA,IAAK;UACnC;QACF;;;MAnMIL;KAsMN,iBAAeA;",
5
+ "names": ["_bezier", "ease", "Easing", "step0", "n", "step1", "linear", "t", "bezier", "quad", "cubic", "poly", "Math", "pow", "sin", "cos", "PI", "circle", "sqrt", "exp", "elastic", "bounciness", "p", "back", "s", "bounce", "_t", "_t2", "t2", "x1", "y1", "x2", "y2", "in", "easing", "out", "inOut"]
6
+ }