@mustmove/bottom-sheet 1.0.0 → 1.0.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 (678) hide show
  1. package/lib/commonjs/components/bottomSheet/BottomSheet.js +1317 -0
  2. package/lib/commonjs/components/bottomSheet/BottomSheet.js.map +1 -0
  3. package/lib/commonjs/components/bottomSheet/BottomSheetBody.js +43 -0
  4. package/lib/commonjs/components/bottomSheet/BottomSheetBody.js.map +1 -0
  5. package/lib/commonjs/components/bottomSheet/BottomSheetContent.js +196 -0
  6. package/lib/commonjs/components/bottomSheet/BottomSheetContent.js.map +1 -0
  7. package/lib/commonjs/components/bottomSheet/constants.js +34 -0
  8. package/lib/commonjs/components/bottomSheet/constants.js.map +1 -0
  9. package/lib/commonjs/components/bottomSheet/index.js +14 -0
  10. package/lib/commonjs/components/bottomSheet/index.js.map +1 -0
  11. package/lib/commonjs/components/bottomSheet/styles.js +17 -0
  12. package/lib/commonjs/components/bottomSheet/styles.js.map +1 -0
  13. package/lib/commonjs/components/bottomSheetBackdrop/BottomSheetBackdrop.js +115 -0
  14. package/lib/commonjs/components/bottomSheetBackdrop/BottomSheetBackdrop.js.map +1 -0
  15. package/lib/commonjs/components/bottomSheetBackdrop/constants.js +16 -0
  16. package/lib/commonjs/components/bottomSheetBackdrop/constants.js.map +1 -0
  17. package/lib/commonjs/components/bottomSheetBackdrop/index.js +13 -0
  18. package/lib/commonjs/components/bottomSheetBackdrop/index.js.map +1 -0
  19. package/lib/commonjs/components/bottomSheetBackdrop/styles.js +14 -0
  20. package/lib/commonjs/components/bottomSheetBackdrop/styles.js.map +1 -0
  21. package/lib/commonjs/components/bottomSheetBackground/BottomSheetBackground.js +24 -0
  22. package/lib/commonjs/components/bottomSheetBackground/BottomSheetBackground.js.map +1 -0
  23. package/lib/commonjs/components/bottomSheetBackground/BottomSheetBackgroundContainer.js +33 -0
  24. package/lib/commonjs/components/bottomSheetBackground/BottomSheetBackgroundContainer.js.map +1 -0
  25. package/lib/commonjs/components/bottomSheetBackground/index.js +13 -0
  26. package/lib/commonjs/components/bottomSheetBackground/index.js.map +1 -0
  27. package/lib/commonjs/components/bottomSheetBackground/styles.js +15 -0
  28. package/lib/commonjs/components/bottomSheetBackground/styles.js.map +1 -0
  29. package/lib/commonjs/components/bottomSheetDraggableView/BottomSheetDraggableView.js +94 -0
  30. package/lib/commonjs/components/bottomSheetDraggableView/BottomSheetDraggableView.js.map +1 -0
  31. package/lib/commonjs/components/bottomSheetDraggableView/index.js +14 -0
  32. package/lib/commonjs/components/bottomSheetDraggableView/index.js.map +1 -0
  33. package/lib/commonjs/components/bottomSheetFooter/BottomSheetFooter.js +111 -0
  34. package/lib/commonjs/components/bottomSheetFooter/BottomSheetFooter.js.map +1 -0
  35. package/lib/commonjs/components/bottomSheetFooter/BottomSheetFooterContainer.js +54 -0
  36. package/lib/commonjs/components/bottomSheetFooter/BottomSheetFooterContainer.js.map +1 -0
  37. package/lib/commonjs/components/bottomSheetFooter/index.js +20 -0
  38. package/lib/commonjs/components/bottomSheetFooter/index.js.map +1 -0
  39. package/lib/commonjs/components/bottomSheetFooter/styles.js +18 -0
  40. package/lib/commonjs/components/bottomSheetFooter/styles.js.map +1 -0
  41. package/lib/commonjs/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.js +53 -0
  42. package/lib/commonjs/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.js.map +1 -0
  43. package/lib/commonjs/components/bottomSheetGestureHandlersProvider/index.js +14 -0
  44. package/lib/commonjs/components/bottomSheetGestureHandlersProvider/index.js.map +1 -0
  45. package/lib/commonjs/components/bottomSheetHandle/BottomSheetHandle.js +43 -0
  46. package/lib/commonjs/components/bottomSheetHandle/BottomSheetHandle.js.map +1 -0
  47. package/lib/commonjs/components/bottomSheetHandle/BottomSheetHandleContainer.js +153 -0
  48. package/lib/commonjs/components/bottomSheetHandle/BottomSheetHandleContainer.js.map +1 -0
  49. package/lib/commonjs/components/bottomSheetHandle/constants.js +11 -0
  50. package/lib/commonjs/components/bottomSheetHandle/constants.js.map +1 -0
  51. package/lib/commonjs/components/bottomSheetHandle/index.js +21 -0
  52. package/lib/commonjs/components/bottomSheetHandle/index.js.map +1 -0
  53. package/lib/commonjs/components/bottomSheetHandle/styles.js +27 -0
  54. package/lib/commonjs/components/bottomSheetHandle/styles.js.map +1 -0
  55. package/lib/commonjs/components/bottomSheetHostingContainer/BottomSheetHostingContainer.js +110 -0
  56. package/lib/commonjs/components/bottomSheetHostingContainer/BottomSheetHostingContainer.js.map +1 -0
  57. package/lib/commonjs/components/bottomSheetHostingContainer/index.js +13 -0
  58. package/lib/commonjs/components/bottomSheetHostingContainer/index.js.map +1 -0
  59. package/lib/commonjs/components/bottomSheetHostingContainer/styles.js +14 -0
  60. package/lib/commonjs/components/bottomSheetHostingContainer/styles.js.map +1 -0
  61. package/lib/commonjs/components/bottomSheetHostingContainer/styles.web.js +17 -0
  62. package/lib/commonjs/components/bottomSheetHostingContainer/styles.web.js.map +1 -0
  63. package/lib/commonjs/components/bottomSheetModal/BottomSheetModal.js +387 -0
  64. package/lib/commonjs/components/bottomSheetModal/BottomSheetModal.js.map +1 -0
  65. package/lib/commonjs/components/bottomSheetModal/constants.js +9 -0
  66. package/lib/commonjs/components/bottomSheetModal/constants.js.map +1 -0
  67. package/lib/commonjs/components/bottomSheetModal/index.js +14 -0
  68. package/lib/commonjs/components/bottomSheetModal/index.js.map +1 -0
  69. package/lib/commonjs/components/bottomSheetModalProvider/BottomSheetModalProvider.js +172 -0
  70. package/lib/commonjs/components/bottomSheetModalProvider/BottomSheetModalProvider.js.map +1 -0
  71. package/lib/commonjs/components/bottomSheetModalProvider/index.js +14 -0
  72. package/lib/commonjs/components/bottomSheetModalProvider/index.js.map +1 -0
  73. package/lib/commonjs/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.js +64 -0
  74. package/lib/commonjs/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.js.map +1 -0
  75. package/lib/commonjs/components/bottomSheetRefreshControl/BottomSheetRefreshControl.js +9 -0
  76. package/lib/commonjs/components/bottomSheetRefreshControl/BottomSheetRefreshControl.js.map +1 -0
  77. package/lib/commonjs/components/bottomSheetRefreshControl/index.js +10 -0
  78. package/lib/commonjs/components/bottomSheetRefreshControl/index.js.map +1 -0
  79. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetDraggableScrollable.js +23 -0
  80. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetDraggableScrollable.js.map +1 -0
  81. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlashList.js +66 -0
  82. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlashList.js.map +1 -0
  83. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlashList.web.js +9 -0
  84. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlashList.web.js.map +1 -0
  85. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlatList.js +18 -0
  86. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetFlatList.js.map +1 -0
  87. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetScrollView.js +18 -0
  88. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetScrollView.js.map +1 -0
  89. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetSectionList.js +18 -0
  90. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetSectionList.js.map +1 -0
  91. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetVirtualizedList.js +18 -0
  92. package/lib/commonjs/components/bottomSheetScrollable/BottomSheetVirtualizedList.js.map +1 -0
  93. package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.android.js +40 -0
  94. package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.android.js.map +1 -0
  95. package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.js +24 -0
  96. package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.js.map +1 -0
  97. package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.web.js +84 -0
  98. package/lib/commonjs/components/bottomSheetScrollable/ScrollableContainer.web.js.map +1 -0
  99. package/lib/commonjs/components/bottomSheetScrollable/createBottomSheetScrollableComponent.js +117 -0
  100. package/lib/commonjs/components/bottomSheetScrollable/createBottomSheetScrollableComponent.js.map +1 -0
  101. package/lib/commonjs/components/bottomSheetScrollable/index.js +49 -0
  102. package/lib/commonjs/components/bottomSheetScrollable/index.js.map +1 -0
  103. package/lib/commonjs/components/bottomSheetScrollable/styles.js +14 -0
  104. package/lib/commonjs/components/bottomSheetScrollable/styles.js.map +1 -0
  105. package/lib/commonjs/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.js +39 -0
  106. package/lib/commonjs/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.js.map +1 -0
  107. package/lib/commonjs/components/bottomSheetTextInput/BottomSheetTextInput.js +106 -0
  108. package/lib/commonjs/components/bottomSheetTextInput/BottomSheetTextInput.js.map +1 -0
  109. package/lib/commonjs/components/bottomSheetTextInput/index.js +14 -0
  110. package/lib/commonjs/components/bottomSheetTextInput/index.js.map +1 -0
  111. package/lib/commonjs/components/bottomSheetTextInput/types.js +6 -0
  112. package/lib/commonjs/components/bottomSheetTextInput/types.js.map +1 -0
  113. package/lib/commonjs/components/bottomSheetView/BottomSheetView.js +91 -0
  114. package/lib/commonjs/components/bottomSheetView/BottomSheetView.js.map +1 -0
  115. package/lib/commonjs/components/bottomSheetView/index.js +14 -0
  116. package/lib/commonjs/components/bottomSheetView/index.js.map +1 -0
  117. package/lib/commonjs/components/bottomSheetView/styles.js +16 -0
  118. package/lib/commonjs/components/bottomSheetView/styles.js.map +1 -0
  119. package/lib/commonjs/components/touchables/Touchables.ios.js +25 -0
  120. package/lib/commonjs/components/touchables/Touchables.ios.js.map +1 -0
  121. package/lib/commonjs/components/touchables/Touchables.js +25 -0
  122. package/lib/commonjs/components/touchables/Touchables.js.map +1 -0
  123. package/lib/commonjs/components/touchables/index.js +13 -0
  124. package/lib/commonjs/components/touchables/index.js.map +1 -0
  125. package/lib/commonjs/constants.js +138 -0
  126. package/lib/commonjs/constants.js.map +1 -0
  127. package/lib/commonjs/contexts/external.js +10 -0
  128. package/lib/commonjs/contexts/external.js.map +1 -0
  129. package/lib/commonjs/contexts/gesture.js +10 -0
  130. package/lib/commonjs/contexts/gesture.js.map +1 -0
  131. package/lib/commonjs/contexts/index.js +65 -0
  132. package/lib/commonjs/contexts/index.js.map +1 -0
  133. package/lib/commonjs/contexts/internal.js +10 -0
  134. package/lib/commonjs/contexts/internal.js.map +1 -0
  135. package/lib/commonjs/contexts/modal/external.js +10 -0
  136. package/lib/commonjs/contexts/modal/external.js.map +1 -0
  137. package/lib/commonjs/contexts/modal/internal.js +10 -0
  138. package/lib/commonjs/contexts/modal/internal.js.map +1 -0
  139. package/lib/commonjs/hooks/index.js +132 -0
  140. package/lib/commonjs/hooks/index.js.map +1 -0
  141. package/lib/commonjs/hooks/useAnimatedDetents.js +95 -0
  142. package/lib/commonjs/hooks/useAnimatedDetents.js.map +1 -0
  143. package/lib/commonjs/hooks/useAnimatedKeyboard.js +125 -0
  144. package/lib/commonjs/hooks/useAnimatedKeyboard.js.map +1 -0
  145. package/lib/commonjs/hooks/useAnimatedLayout.js +90 -0
  146. package/lib/commonjs/hooks/useAnimatedLayout.js.map +1 -0
  147. package/lib/commonjs/hooks/useBottomSheet.js +17 -0
  148. package/lib/commonjs/hooks/useBottomSheet.js.map +1 -0
  149. package/lib/commonjs/hooks/useBottomSheetContentContainerStyle.js +77 -0
  150. package/lib/commonjs/hooks/useBottomSheetContentContainerStyle.js.map +1 -0
  151. package/lib/commonjs/hooks/useBottomSheetGestureHandlers.js +17 -0
  152. package/lib/commonjs/hooks/useBottomSheetGestureHandlers.js.map +1 -0
  153. package/lib/commonjs/hooks/useBottomSheetInternal.js +16 -0
  154. package/lib/commonjs/hooks/useBottomSheetInternal.js.map +1 -0
  155. package/lib/commonjs/hooks/useBottomSheetModal.js +17 -0
  156. package/lib/commonjs/hooks/useBottomSheetModal.js.map +1 -0
  157. package/lib/commonjs/hooks/useBottomSheetModalInternal.js +16 -0
  158. package/lib/commonjs/hooks/useBottomSheetModalInternal.js.map +1 -0
  159. package/lib/commonjs/hooks/useBottomSheetScrollableCreator.js +58 -0
  160. package/lib/commonjs/hooks/useBottomSheetScrollableCreator.js.map +1 -0
  161. package/lib/commonjs/hooks/useBottomSheetSpringConfigs.js +15 -0
  162. package/lib/commonjs/hooks/useBottomSheetSpringConfigs.js.map +1 -0
  163. package/lib/commonjs/hooks/useBottomSheetTimingConfigs.js +32 -0
  164. package/lib/commonjs/hooks/useBottomSheetTimingConfigs.js.map +1 -0
  165. package/lib/commonjs/hooks/useBoundingClientRect.js +66 -0
  166. package/lib/commonjs/hooks/useBoundingClientRect.js.map +1 -0
  167. package/lib/commonjs/hooks/useGestureEventsHandlersDefault.js +299 -0
  168. package/lib/commonjs/hooks/useGestureEventsHandlersDefault.js.map +1 -0
  169. package/lib/commonjs/hooks/useGestureEventsHandlersDefault.web.js +295 -0
  170. package/lib/commonjs/hooks/useGestureEventsHandlersDefault.web.js.map +1 -0
  171. package/lib/commonjs/hooks/useGestureHandler.js +56 -0
  172. package/lib/commonjs/hooks/useGestureHandler.js.map +1 -0
  173. package/lib/commonjs/hooks/usePropsValidator.js +54 -0
  174. package/lib/commonjs/hooks/usePropsValidator.js.map +1 -0
  175. package/lib/commonjs/hooks/useReactiveSharedValue.js +48 -0
  176. package/lib/commonjs/hooks/useReactiveSharedValue.js.map +1 -0
  177. package/lib/commonjs/hooks/useScrollEventsHandlersDefault.js +132 -0
  178. package/lib/commonjs/hooks/useScrollEventsHandlersDefault.js.map +1 -0
  179. package/lib/commonjs/hooks/useScrollHandler.js +62 -0
  180. package/lib/commonjs/hooks/useScrollHandler.js.map +1 -0
  181. package/lib/commonjs/hooks/useScrollHandler.web.js +130 -0
  182. package/lib/commonjs/hooks/useScrollHandler.web.js.map +1 -0
  183. package/lib/commonjs/hooks/useScrollable.js +103 -0
  184. package/lib/commonjs/hooks/useScrollable.js.map +1 -0
  185. package/lib/commonjs/hooks/useScrollableSetter.js +47 -0
  186. package/lib/commonjs/hooks/useScrollableSetter.js.map +1 -0
  187. package/lib/commonjs/hooks/useStableCallback.js +25 -0
  188. package/lib/commonjs/hooks/useStableCallback.js.map +1 -0
  189. package/lib/commonjs/index.js +282 -0
  190. package/lib/commonjs/index.js.map +1 -0
  191. package/lib/commonjs/package.json +1 -0
  192. package/lib/commonjs/utilities/animate.js +41 -0
  193. package/lib/commonjs/utilities/animate.js.map +1 -0
  194. package/lib/commonjs/utilities/clamp.js +13 -0
  195. package/lib/commonjs/utilities/clamp.js.map +1 -0
  196. package/lib/commonjs/utilities/easingExp.js +19 -0
  197. package/lib/commonjs/utilities/easingExp.js.map +1 -0
  198. package/lib/commonjs/utilities/findNodeHandle.js +13 -0
  199. package/lib/commonjs/utilities/findNodeHandle.js.map +1 -0
  200. package/lib/commonjs/utilities/findNodeHandle.web.js +32 -0
  201. package/lib/commonjs/utilities/findNodeHandle.web.js.map +1 -0
  202. package/lib/commonjs/utilities/getKeyboardAnimationConfigs.js +44 -0
  203. package/lib/commonjs/utilities/getKeyboardAnimationConfigs.js.map +1 -0
  204. package/lib/commonjs/utilities/getRefNativeTag.web.js +11 -0
  205. package/lib/commonjs/utilities/getRefNativeTag.web.js.map +1 -0
  206. package/lib/commonjs/utilities/id.js +13 -0
  207. package/lib/commonjs/utilities/id.js.map +1 -0
  208. package/lib/commonjs/utilities/index.js +61 -0
  209. package/lib/commonjs/utilities/index.js.map +1 -0
  210. package/lib/commonjs/utilities/isFabricInstalled.js +16 -0
  211. package/lib/commonjs/utilities/isFabricInstalled.js.map +1 -0
  212. package/lib/commonjs/utilities/logger.js +44 -0
  213. package/lib/commonjs/utilities/logger.js.map +1 -0
  214. package/lib/commonjs/utilities/noop.js +13 -0
  215. package/lib/commonjs/utilities/noop.js.map +1 -0
  216. package/lib/commonjs/utilities/normalizeSnapPoint.js +22 -0
  217. package/lib/commonjs/utilities/normalizeSnapPoint.js.map +1 -0
  218. package/lib/commonjs/utilities/snapPoint.js +16 -0
  219. package/lib/commonjs/utilities/snapPoint.js.map +1 -0
  220. package/lib/commonjs/utilities/validateSnapPoint.js +15 -0
  221. package/lib/commonjs/utilities/validateSnapPoint.js.map +1 -0
  222. package/lib/module/components/bottomSheet/BottomSheet.js +1310 -0
  223. package/lib/module/components/bottomSheet/BottomSheet.js.map +1 -0
  224. package/lib/module/components/bottomSheet/BottomSheetBody.js +38 -0
  225. package/lib/module/components/bottomSheet/BottomSheetBody.js.map +1 -0
  226. package/lib/module/components/bottomSheet/BottomSheetContent.js +190 -0
  227. package/lib/module/components/bottomSheet/BottomSheetContent.js.map +1 -0
  228. package/lib/module/components/bottomSheet/constants.js +38 -0
  229. package/lib/module/components/bottomSheet/constants.js.map +1 -0
  230. package/lib/module/components/bottomSheet/index.js +4 -0
  231. package/lib/module/components/bottomSheet/index.js.map +1 -0
  232. package/lib/module/components/bottomSheet/styles.js +13 -0
  233. package/lib/module/components/bottomSheet/styles.js.map +1 -0
  234. package/lib/module/components/bottomSheetBackdrop/BottomSheetBackdrop.js +110 -0
  235. package/lib/module/components/bottomSheetBackdrop/BottomSheetBackdrop.js.map +1 -0
  236. package/lib/module/components/bottomSheetBackdrop/constants.js +13 -0
  237. package/lib/module/components/bottomSheetBackdrop/constants.js.map +1 -0
  238. package/lib/module/components/bottomSheetBackdrop/index.js +4 -0
  239. package/lib/module/components/bottomSheetBackdrop/index.js.map +1 -0
  240. package/lib/module/components/bottomSheetBackdrop/styles.js +10 -0
  241. package/lib/module/components/bottomSheetBackdrop/styles.js.map +1 -0
  242. package/lib/module/components/bottomSheetBackground/BottomSheetBackground.js +19 -0
  243. package/lib/module/components/bottomSheetBackground/BottomSheetBackground.js.map +1 -0
  244. package/lib/module/components/bottomSheetBackground/BottomSheetBackgroundContainer.js +28 -0
  245. package/lib/module/components/bottomSheetBackground/BottomSheetBackgroundContainer.js.map +1 -0
  246. package/lib/module/components/bottomSheetBackground/index.js +4 -0
  247. package/lib/module/components/bottomSheetBackground/index.js.map +1 -0
  248. package/lib/module/components/bottomSheetBackground/styles.js +11 -0
  249. package/lib/module/components/bottomSheetBackground/styles.js.map +1 -0
  250. package/lib/module/components/bottomSheetDraggableView/BottomSheetDraggableView.js +88 -0
  251. package/lib/module/components/bottomSheetDraggableView/BottomSheetDraggableView.js.map +1 -0
  252. package/lib/module/components/bottomSheetDraggableView/index.js +4 -0
  253. package/lib/module/components/bottomSheetDraggableView/index.js.map +1 -0
  254. package/lib/module/components/bottomSheetFooter/BottomSheetFooter.js +106 -0
  255. package/lib/module/components/bottomSheetFooter/BottomSheetFooter.js.map +1 -0
  256. package/lib/module/components/bottomSheetFooter/BottomSheetFooterContainer.js +49 -0
  257. package/lib/module/components/bottomSheetFooter/BottomSheetFooterContainer.js.map +1 -0
  258. package/lib/module/components/bottomSheetFooter/index.js +5 -0
  259. package/lib/module/components/bottomSheetFooter/index.js.map +1 -0
  260. package/lib/module/components/bottomSheetFooter/styles.js +14 -0
  261. package/lib/module/components/bottomSheetFooter/styles.js.map +1 -0
  262. package/lib/module/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.js +48 -0
  263. package/lib/module/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.js.map +1 -0
  264. package/lib/module/components/bottomSheetGestureHandlersProvider/index.js +4 -0
  265. package/lib/module/components/bottomSheetGestureHandlersProvider/index.js.map +1 -0
  266. package/lib/module/components/bottomSheetHandle/BottomSheetHandle.js +38 -0
  267. package/lib/module/components/bottomSheetHandle/BottomSheetHandle.js.map +1 -0
  268. package/lib/module/components/bottomSheetHandle/BottomSheetHandleContainer.js +147 -0
  269. package/lib/module/components/bottomSheetHandle/BottomSheetHandleContainer.js.map +1 -0
  270. package/lib/module/components/bottomSheetHandle/constants.js +8 -0
  271. package/lib/module/components/bottomSheetHandle/constants.js.map +1 -0
  272. package/lib/module/components/bottomSheetHandle/index.js +5 -0
  273. package/lib/module/components/bottomSheetHandle/index.js.map +1 -0
  274. package/lib/module/components/bottomSheetHandle/styles.js +23 -0
  275. package/lib/module/components/bottomSheetHandle/styles.js.map +1 -0
  276. package/lib/module/components/bottomSheetHostingContainer/BottomSheetHostingContainer.js +105 -0
  277. package/lib/module/components/bottomSheetHostingContainer/BottomSheetHostingContainer.js.map +1 -0
  278. package/lib/module/components/bottomSheetHostingContainer/index.js +4 -0
  279. package/lib/module/components/bottomSheetHostingContainer/index.js.map +1 -0
  280. package/lib/module/components/bottomSheetHostingContainer/styles.js +10 -0
  281. package/lib/module/components/bottomSheetHostingContainer/styles.js.map +1 -0
  282. package/lib/module/components/bottomSheetHostingContainer/styles.web.js +13 -0
  283. package/lib/module/components/bottomSheetHostingContainer/styles.web.js.map +1 -0
  284. package/lib/module/components/bottomSheetModal/BottomSheetModal.js +381 -0
  285. package/lib/module/components/bottomSheetModal/BottomSheetModal.js.map +1 -0
  286. package/lib/module/components/bottomSheetModal/constants.js +6 -0
  287. package/lib/module/components/bottomSheetModal/constants.js.map +1 -0
  288. package/lib/module/components/bottomSheetModal/index.js +4 -0
  289. package/lib/module/components/bottomSheetModal/index.js.map +1 -0
  290. package/lib/module/components/bottomSheetModalProvider/BottomSheetModalProvider.js +167 -0
  291. package/lib/module/components/bottomSheetModalProvider/BottomSheetModalProvider.js.map +1 -0
  292. package/lib/module/components/bottomSheetModalProvider/index.js +4 -0
  293. package/lib/module/components/bottomSheetModalProvider/index.js.map +1 -0
  294. package/lib/module/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.js +59 -0
  295. package/lib/module/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.js.map +1 -0
  296. package/lib/module/components/bottomSheetRefreshControl/BottomSheetRefreshControl.js +4 -0
  297. package/lib/module/components/bottomSheetRefreshControl/BottomSheetRefreshControl.js.map +1 -0
  298. package/lib/module/components/bottomSheetRefreshControl/index.js +5 -0
  299. package/lib/module/components/bottomSheetRefreshControl/index.js.map +1 -0
  300. package/lib/module/components/bottomSheetScrollable/BottomSheetDraggableScrollable.js +18 -0
  301. package/lib/module/components/bottomSheetScrollable/BottomSheetDraggableScrollable.js.map +1 -0
  302. package/lib/module/components/bottomSheetScrollable/BottomSheetFlashList.js +60 -0
  303. package/lib/module/components/bottomSheetScrollable/BottomSheetFlashList.js.map +1 -0
  304. package/lib/module/components/bottomSheetScrollable/BottomSheetFlashList.web.js +4 -0
  305. package/lib/module/components/bottomSheetScrollable/BottomSheetFlashList.web.js.map +1 -0
  306. package/lib/module/components/bottomSheetScrollable/BottomSheetFlatList.js +13 -0
  307. package/lib/module/components/bottomSheetScrollable/BottomSheetFlatList.js.map +1 -0
  308. package/lib/module/components/bottomSheetScrollable/BottomSheetScrollView.js +13 -0
  309. package/lib/module/components/bottomSheetScrollable/BottomSheetScrollView.js.map +1 -0
  310. package/lib/module/components/bottomSheetScrollable/BottomSheetSectionList.js +13 -0
  311. package/lib/module/components/bottomSheetScrollable/BottomSheetSectionList.js.map +1 -0
  312. package/lib/module/components/bottomSheetScrollable/BottomSheetVirtualizedList.js +13 -0
  313. package/lib/module/components/bottomSheetScrollable/BottomSheetVirtualizedList.js.map +1 -0
  314. package/lib/module/components/bottomSheetScrollable/ScrollableContainer.android.js +34 -0
  315. package/lib/module/components/bottomSheetScrollable/ScrollableContainer.android.js.map +1 -0
  316. package/lib/module/components/bottomSheetScrollable/ScrollableContainer.js +19 -0
  317. package/lib/module/components/bottomSheetScrollable/ScrollableContainer.js.map +1 -0
  318. package/lib/module/components/bottomSheetScrollable/ScrollableContainer.web.js +78 -0
  319. package/lib/module/components/bottomSheetScrollable/ScrollableContainer.web.js.map +1 -0
  320. package/lib/module/components/bottomSheetScrollable/createBottomSheetScrollableComponent.js +112 -0
  321. package/lib/module/components/bottomSheetScrollable/createBottomSheetScrollableComponent.js.map +1 -0
  322. package/lib/module/components/bottomSheetScrollable/index.js +9 -0
  323. package/lib/module/components/bottomSheetScrollable/index.js.map +1 -0
  324. package/lib/module/components/bottomSheetScrollable/styles.js +10 -0
  325. package/lib/module/components/bottomSheetScrollable/styles.js.map +1 -0
  326. package/lib/module/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.js +36 -0
  327. package/lib/module/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.js.map +1 -0
  328. package/lib/module/components/bottomSheetTextInput/BottomSheetTextInput.js +101 -0
  329. package/lib/module/components/bottomSheetTextInput/BottomSheetTextInput.js.map +1 -0
  330. package/lib/module/components/bottomSheetTextInput/index.js +4 -0
  331. package/lib/module/components/bottomSheetTextInput/index.js.map +1 -0
  332. package/lib/module/components/bottomSheetTextInput/types.js +4 -0
  333. package/lib/module/components/bottomSheetTextInput/types.js.map +1 -0
  334. package/lib/module/components/bottomSheetView/BottomSheetView.js +86 -0
  335. package/lib/module/components/bottomSheetView/BottomSheetView.js.map +1 -0
  336. package/lib/module/components/bottomSheetView/index.js +4 -0
  337. package/lib/module/components/bottomSheetView/index.js.map +1 -0
  338. package/lib/module/components/bottomSheetView/styles.js +12 -0
  339. package/lib/module/components/bottomSheetView/styles.js.map +1 -0
  340. package/lib/module/components/touchables/Touchables.ios.js +4 -0
  341. package/lib/module/components/touchables/Touchables.ios.js.map +1 -0
  342. package/lib/module/components/touchables/Touchables.js +4 -0
  343. package/lib/module/components/touchables/Touchables.js.map +1 -0
  344. package/lib/module/components/touchables/index.js +11 -0
  345. package/lib/module/components/touchables/index.js.map +1 -0
  346. package/lib/module/constants.js +131 -0
  347. package/lib/module/constants.js.map +1 -0
  348. package/lib/module/contexts/external.js +6 -0
  349. package/lib/module/contexts/external.js.map +1 -0
  350. package/lib/module/contexts/gesture.js +6 -0
  351. package/lib/module/contexts/gesture.js.map +1 -0
  352. package/lib/module/contexts/index.js +8 -0
  353. package/lib/module/contexts/index.js.map +1 -0
  354. package/lib/module/contexts/internal.js +6 -0
  355. package/lib/module/contexts/internal.js.map +1 -0
  356. package/lib/module/contexts/modal/external.js +6 -0
  357. package/lib/module/contexts/modal/external.js.map +1 -0
  358. package/lib/module/contexts/modal/internal.js +6 -0
  359. package/lib/module/contexts/modal/internal.js.map +1 -0
  360. package/lib/module/hooks/index.js +29 -0
  361. package/lib/module/hooks/index.js.map +1 -0
  362. package/lib/module/hooks/useAnimatedDetents.js +91 -0
  363. package/lib/module/hooks/useAnimatedDetents.js.map +1 -0
  364. package/lib/module/hooks/useAnimatedKeyboard.js +120 -0
  365. package/lib/module/hooks/useAnimatedKeyboard.js.map +1 -0
  366. package/lib/module/hooks/useAnimatedLayout.js +86 -0
  367. package/lib/module/hooks/useAnimatedLayout.js.map +1 -0
  368. package/lib/module/hooks/useBottomSheet.js +12 -0
  369. package/lib/module/hooks/useBottomSheet.js.map +1 -0
  370. package/lib/module/hooks/useBottomSheetContentContainerStyle.js +73 -0
  371. package/lib/module/hooks/useBottomSheetContentContainerStyle.js.map +1 -0
  372. package/lib/module/hooks/useBottomSheetGestureHandlers.js +12 -0
  373. package/lib/module/hooks/useBottomSheetGestureHandlers.js.map +1 -0
  374. package/lib/module/hooks/useBottomSheetInternal.js +12 -0
  375. package/lib/module/hooks/useBottomSheetInternal.js.map +1 -0
  376. package/lib/module/hooks/useBottomSheetModal.js +12 -0
  377. package/lib/module/hooks/useBottomSheetModal.js.map +1 -0
  378. package/lib/module/hooks/useBottomSheetModalInternal.js +12 -0
  379. package/lib/module/hooks/useBottomSheetModalInternal.js.map +1 -0
  380. package/lib/module/hooks/useBottomSheetScrollableCreator.js +54 -0
  381. package/lib/module/hooks/useBottomSheetScrollableCreator.js.map +1 -0
  382. package/lib/module/hooks/useBottomSheetSpringConfigs.js +10 -0
  383. package/lib/module/hooks/useBottomSheetSpringConfigs.js.map +1 -0
  384. package/lib/module/hooks/useBottomSheetTimingConfigs.js +28 -0
  385. package/lib/module/hooks/useBottomSheetTimingConfigs.js.map +1 -0
  386. package/lib/module/hooks/useBoundingClientRect.js +62 -0
  387. package/lib/module/hooks/useBoundingClientRect.js.map +1 -0
  388. package/lib/module/hooks/useGestureEventsHandlersDefault.js +294 -0
  389. package/lib/module/hooks/useGestureEventsHandlersDefault.js.map +1 -0
  390. package/lib/module/hooks/useGestureEventsHandlersDefault.web.js +290 -0
  391. package/lib/module/hooks/useGestureEventsHandlersDefault.web.js.map +1 -0
  392. package/lib/module/hooks/useGestureHandler.js +51 -0
  393. package/lib/module/hooks/useGestureHandler.js.map +1 -0
  394. package/lib/module/hooks/usePropsValidator.js +49 -0
  395. package/lib/module/hooks/usePropsValidator.js.map +1 -0
  396. package/lib/module/hooks/useReactiveSharedValue.js +43 -0
  397. package/lib/module/hooks/useReactiveSharedValue.js.map +1 -0
  398. package/lib/module/hooks/useScrollEventsHandlersDefault.js +127 -0
  399. package/lib/module/hooks/useScrollEventsHandlersDefault.js.map +1 -0
  400. package/lib/module/hooks/useScrollHandler.js +57 -0
  401. package/lib/module/hooks/useScrollHandler.js.map +1 -0
  402. package/lib/module/hooks/useScrollHandler.web.js +125 -0
  403. package/lib/module/hooks/useScrollHandler.web.js.map +1 -0
  404. package/lib/module/hooks/useScrollable.js +98 -0
  405. package/lib/module/hooks/useScrollable.js.map +1 -0
  406. package/lib/module/hooks/useScrollableSetter.js +42 -0
  407. package/lib/module/hooks/useScrollableSetter.js.map +1 -0
  408. package/lib/module/hooks/useStableCallback.js +21 -0
  409. package/lib/module/hooks/useStableCallback.js.map +1 -0
  410. package/lib/module/index.js +53 -0
  411. package/lib/module/index.js.map +1 -0
  412. package/lib/module/package.json +1 -0
  413. package/lib/module/utilities/animate.js +36 -0
  414. package/lib/module/utilities/animate.js.map +1 -0
  415. package/lib/module/utilities/clamp.js +8 -0
  416. package/lib/module/utilities/clamp.js.map +1 -0
  417. package/lib/module/utilities/easingExp.js +14 -0
  418. package/lib/module/utilities/easingExp.js.map +1 -0
  419. package/lib/module/utilities/findNodeHandle.js +4 -0
  420. package/lib/module/utilities/findNodeHandle.js.map +1 -0
  421. package/lib/module/utilities/findNodeHandle.web.js +28 -0
  422. package/lib/module/utilities/findNodeHandle.web.js.map +1 -0
  423. package/lib/module/utilities/getKeyboardAnimationConfigs.js +39 -0
  424. package/lib/module/utilities/getKeyboardAnimationConfigs.js.map +1 -0
  425. package/lib/module/utilities/getRefNativeTag.web.js +7 -0
  426. package/lib/module/utilities/getRefNativeTag.web.js.map +1 -0
  427. package/lib/module/utilities/id.js +8 -0
  428. package/lib/module/utilities/id.js.map +1 -0
  429. package/lib/module/utilities/index.js +10 -0
  430. package/lib/module/utilities/index.js.map +1 -0
  431. package/lib/module/utilities/isFabricInstalled.js +12 -0
  432. package/lib/module/utilities/isFabricInstalled.js.map +1 -0
  433. package/lib/module/utilities/logger.js +39 -0
  434. package/lib/module/utilities/logger.js.map +1 -0
  435. package/lib/module/utilities/noop.js +8 -0
  436. package/lib/module/utilities/noop.js.map +1 -0
  437. package/lib/module/utilities/normalizeSnapPoint.js +17 -0
  438. package/lib/module/utilities/normalizeSnapPoint.js.map +1 -0
  439. package/lib/module/utilities/snapPoint.js +11 -0
  440. package/lib/module/utilities/snapPoint.js.map +1 -0
  441. package/lib/module/utilities/validateSnapPoint.js +9 -0
  442. package/lib/module/utilities/validateSnapPoint.js.map +1 -0
  443. package/lib/typescript/components/bottomSheet/BottomSheet.d.ts +7 -0
  444. package/lib/typescript/components/bottomSheet/BottomSheet.d.ts.map +1 -0
  445. package/lib/typescript/components/bottomSheet/BottomSheetBody.d.ts +10 -0
  446. package/lib/typescript/components/bottomSheet/BottomSheetBody.d.ts.map +1 -0
  447. package/lib/typescript/components/bottomSheet/BottomSheetContent.d.ts +12 -0
  448. package/lib/typescript/components/bottomSheet/BottomSheetContent.d.ts.map +1 -0
  449. package/lib/typescript/components/bottomSheet/constants.d.ts +21 -0
  450. package/lib/typescript/components/bottomSheet/constants.d.ts.map +1 -0
  451. package/lib/typescript/components/bottomSheet/index.d.ts +3 -0
  452. package/lib/typescript/components/bottomSheet/index.d.ts.map +1 -0
  453. package/lib/typescript/components/bottomSheet/styles.d.ts +10 -0
  454. package/lib/typescript/components/bottomSheet/styles.d.ts.map +1 -0
  455. package/lib/typescript/components/bottomSheet/types.d.ts +358 -0
  456. package/lib/typescript/components/bottomSheetBackdrop/BottomSheetBackdrop.d.ts +4 -0
  457. package/lib/typescript/components/bottomSheetBackdrop/BottomSheetBackdrop.d.ts.map +1 -0
  458. package/lib/typescript/components/bottomSheetBackdrop/constants.d.ts +11 -0
  459. package/lib/typescript/components/bottomSheetBackdrop/constants.d.ts.map +1 -0
  460. package/lib/typescript/components/bottomSheetBackdrop/index.d.ts +3 -0
  461. package/lib/typescript/components/bottomSheetBackdrop/index.d.ts.map +1 -0
  462. package/lib/typescript/components/bottomSheetBackdrop/styles.d.ts +11 -0
  463. package/lib/typescript/components/bottomSheetBackdrop/styles.d.ts.map +1 -0
  464. package/lib/typescript/components/bottomSheetBackdrop/types.d.ts +58 -0
  465. package/lib/typescript/components/bottomSheetBackground/BottomSheetBackground.d.ts +4 -0
  466. package/lib/typescript/components/bottomSheetBackground/BottomSheetBackground.d.ts.map +1 -0
  467. package/lib/typescript/components/bottomSheetBackground/BottomSheetBackgroundContainer.d.ts +4 -0
  468. package/lib/typescript/components/bottomSheetBackground/BottomSheetBackgroundContainer.d.ts.map +1 -0
  469. package/lib/typescript/components/bottomSheetBackground/index.d.ts +3 -0
  470. package/lib/typescript/components/bottomSheetBackground/index.d.ts.map +1 -0
  471. package/lib/typescript/components/bottomSheetBackground/styles.d.ts +9 -0
  472. package/lib/typescript/components/bottomSheetBackground/styles.d.ts.map +1 -0
  473. package/lib/typescript/components/bottomSheetBackground/types.d.ts +12 -0
  474. package/lib/typescript/components/bottomSheetDraggableView/BottomSheetDraggableView.d.ts +5 -0
  475. package/lib/typescript/components/bottomSheetDraggableView/BottomSheetDraggableView.d.ts.map +1 -0
  476. package/lib/typescript/components/bottomSheetDraggableView/index.d.ts +2 -0
  477. package/lib/typescript/components/bottomSheetDraggableView/index.d.ts.map +1 -0
  478. package/lib/typescript/components/bottomSheetDraggableView/types.d.ts +9 -0
  479. package/lib/typescript/components/bottomSheetFooter/BottomSheetFooter.d.ts +6 -0
  480. package/lib/typescript/components/bottomSheetFooter/BottomSheetFooter.d.ts.map +1 -0
  481. package/lib/typescript/components/bottomSheetFooter/BottomSheetFooterContainer.d.ts +4 -0
  482. package/lib/typescript/components/bottomSheetFooter/BottomSheetFooterContainer.d.ts.map +1 -0
  483. package/lib/typescript/components/bottomSheetFooter/index.d.ts +4 -0
  484. package/lib/typescript/components/bottomSheetFooter/index.d.ts.map +1 -0
  485. package/lib/typescript/components/bottomSheetFooter/styles.d.ts +11 -0
  486. package/lib/typescript/components/bottomSheetFooter/styles.d.ts.map +1 -0
  487. package/lib/typescript/components/bottomSheetFooter/types.d.ts +41 -0
  488. package/lib/typescript/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.d.ts +5 -0
  489. package/lib/typescript/components/bottomSheetGestureHandlersProvider/BottomSheetGestureHandlersProvider.d.ts.map +1 -0
  490. package/lib/typescript/components/bottomSheetGestureHandlersProvider/index.d.ts +2 -0
  491. package/lib/typescript/components/bottomSheetGestureHandlersProvider/index.d.ts.map +1 -0
  492. package/lib/typescript/components/bottomSheetGestureHandlersProvider/types.d.ts +8 -0
  493. package/lib/typescript/components/bottomSheetHandle/BottomSheetHandle.d.ts +6 -0
  494. package/lib/typescript/components/bottomSheetHandle/BottomSheetHandle.d.ts.map +1 -0
  495. package/lib/typescript/components/bottomSheetHandle/BottomSheetHandleContainer.d.ts +6 -0
  496. package/lib/typescript/components/bottomSheetHandle/BottomSheetHandleContainer.d.ts.map +1 -0
  497. package/lib/typescript/components/bottomSheetHandle/constants.d.ts +6 -0
  498. package/lib/typescript/components/bottomSheetHandle/constants.d.ts.map +1 -0
  499. package/lib/typescript/components/bottomSheetHandle/index.d.ts +4 -0
  500. package/lib/typescript/components/bottomSheetHandle/index.d.ts.map +1 -0
  501. package/lib/typescript/components/bottomSheetHandle/styles.d.ts +17 -0
  502. package/lib/typescript/components/bottomSheetHandle/styles.d.ts.map +1 -0
  503. package/lib/typescript/components/bottomSheetHandle/types.d.ts +52 -0
  504. package/lib/typescript/components/bottomSheetHostingContainer/BottomSheetHostingContainer.d.ts +6 -0
  505. package/lib/typescript/components/bottomSheetHostingContainer/BottomSheetHostingContainer.d.ts.map +1 -0
  506. package/lib/typescript/components/bottomSheetHostingContainer/index.d.ts +3 -0
  507. package/lib/typescript/components/bottomSheetHostingContainer/index.d.ts.map +1 -0
  508. package/lib/typescript/components/bottomSheetHostingContainer/styles.d.ts +11 -0
  509. package/lib/typescript/components/bottomSheetHostingContainer/styles.d.ts.map +1 -0
  510. package/lib/typescript/components/bottomSheetHostingContainer/styles.web.d.ts +10 -0
  511. package/lib/typescript/components/bottomSheetHostingContainer/styles.web.d.ts.map +1 -0
  512. package/lib/typescript/components/bottomSheetHostingContainer/types.d.ts +17 -0
  513. package/lib/typescript/components/bottomSheetModal/BottomSheetModal.d.ts +10 -0
  514. package/lib/typescript/components/bottomSheetModal/BottomSheetModal.d.ts.map +1 -0
  515. package/lib/typescript/components/bottomSheetModal/constants.d.ts +4 -0
  516. package/lib/typescript/components/bottomSheetModal/constants.d.ts.map +1 -0
  517. package/lib/typescript/components/bottomSheetModal/index.d.ts +3 -0
  518. package/lib/typescript/components/bottomSheetModal/index.d.ts.map +1 -0
  519. package/lib/typescript/components/bottomSheetModal/types.d.ts +67 -0
  520. package/lib/typescript/components/bottomSheetModalProvider/BottomSheetModalProvider.d.ts +5 -0
  521. package/lib/typescript/components/bottomSheetModalProvider/BottomSheetModalProvider.d.ts.map +1 -0
  522. package/lib/typescript/components/bottomSheetModalProvider/index.d.ts +2 -0
  523. package/lib/typescript/components/bottomSheetModalProvider/index.d.ts.map +1 -0
  524. package/lib/typescript/components/bottomSheetModalProvider/types.d.ts +12 -0
  525. package/lib/typescript/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.d.ts +10 -0
  526. package/lib/typescript/components/bottomSheetRefreshControl/BottomSheetRefreshControl.android.d.ts.map +1 -0
  527. package/lib/typescript/components/bottomSheetRefreshControl/BottomSheetRefreshControl.d.ts +3 -0
  528. package/lib/typescript/components/bottomSheetRefreshControl/BottomSheetRefreshControl.d.ts.map +1 -0
  529. package/lib/typescript/components/bottomSheetRefreshControl/index.d.ts +9 -0
  530. package/lib/typescript/components/bottomSheetRefreshControl/index.d.ts.map +1 -0
  531. package/lib/typescript/components/bottomSheetScrollable/BottomSheetDraggableScrollable.d.ts +9 -0
  532. package/lib/typescript/components/bottomSheetScrollable/BottomSheetDraggableScrollable.d.ts.map +1 -0
  533. package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlashList.d.ts +11 -0
  534. package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlashList.d.ts.map +1 -0
  535. package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlashList.web.d.ts +3 -0
  536. package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlashList.web.d.ts.map +1 -0
  537. package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlatList.d.ts +5 -0
  538. package/lib/typescript/components/bottomSheetScrollable/BottomSheetFlatList.d.ts.map +1 -0
  539. package/lib/typescript/components/bottomSheetScrollable/BottomSheetScrollView.d.ts +5 -0
  540. package/lib/typescript/components/bottomSheetScrollable/BottomSheetScrollView.d.ts.map +1 -0
  541. package/lib/typescript/components/bottomSheetScrollable/BottomSheetSectionList.d.ts +6 -0
  542. package/lib/typescript/components/bottomSheetScrollable/BottomSheetSectionList.d.ts.map +1 -0
  543. package/lib/typescript/components/bottomSheetScrollable/BottomSheetVirtualizedList.d.ts +5 -0
  544. package/lib/typescript/components/bottomSheetScrollable/BottomSheetVirtualizedList.d.ts.map +1 -0
  545. package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.android.d.ts +13 -0
  546. package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.android.d.ts.map +1 -0
  547. package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.d.ts +9 -0
  548. package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.d.ts.map +1 -0
  549. package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.web.d.ts +14 -0
  550. package/lib/typescript/components/bottomSheetScrollable/ScrollableContainer.web.d.ts.map +1 -0
  551. package/lib/typescript/components/bottomSheetScrollable/createBottomSheetScrollableComponent.d.ts +4 -0
  552. package/lib/typescript/components/bottomSheetScrollable/createBottomSheetScrollableComponent.d.ts.map +1 -0
  553. package/lib/typescript/components/bottomSheetScrollable/index.d.ts +8 -0
  554. package/lib/typescript/components/bottomSheetScrollable/index.d.ts.map +1 -0
  555. package/lib/typescript/components/bottomSheetScrollable/styles.d.ts +7 -0
  556. package/lib/typescript/components/bottomSheetScrollable/styles.d.ts.map +1 -0
  557. package/lib/typescript/components/bottomSheetScrollable/types.d.ts +280 -0
  558. package/lib/typescript/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.d.ts +8 -0
  559. package/lib/typescript/components/bottomSheetScrollable/useBottomSheetContentSizeSetter.d.ts.map +1 -0
  560. package/lib/typescript/components/bottomSheetTextInput/BottomSheetTextInput.d.ts +6 -0
  561. package/lib/typescript/components/bottomSheetTextInput/BottomSheetTextInput.d.ts.map +1 -0
  562. package/lib/typescript/components/bottomSheetTextInput/index.d.ts +3 -0
  563. package/lib/typescript/components/bottomSheetTextInput/index.d.ts.map +1 -0
  564. package/lib/typescript/components/bottomSheetTextInput/types.d.ts +4 -0
  565. package/lib/typescript/components/bottomSheetTextInput/types.d.ts.map +1 -0
  566. package/lib/typescript/components/bottomSheetView/BottomSheetView.d.ts +6 -0
  567. package/lib/typescript/components/bottomSheetView/BottomSheetView.d.ts.map +1 -0
  568. package/lib/typescript/components/bottomSheetView/index.d.ts +2 -0
  569. package/lib/typescript/components/bottomSheetView/index.d.ts.map +1 -0
  570. package/lib/typescript/components/bottomSheetView/styles.d.ts +9 -0
  571. package/lib/typescript/components/bottomSheetView/styles.d.ts.map +1 -0
  572. package/lib/typescript/components/bottomSheetView/types.d.ts +24 -0
  573. package/lib/typescript/components/touchables/Touchables.d.ts +2 -0
  574. package/lib/typescript/components/touchables/Touchables.d.ts.map +1 -0
  575. package/lib/typescript/components/touchables/Touchables.ios.d.ts +2 -0
  576. package/lib/typescript/components/touchables/Touchables.ios.d.ts.map +1 -0
  577. package/lib/typescript/components/touchables/index.d.ts +8 -0
  578. package/lib/typescript/components/touchables/index.d.ts.map +1 -0
  579. package/lib/typescript/constants.d.ts +96 -0
  580. package/lib/typescript/constants.d.ts.map +1 -0
  581. package/lib/typescript/contexts/external.d.ts +4 -0
  582. package/lib/typescript/contexts/external.d.ts.map +1 -0
  583. package/lib/typescript/contexts/gesture.d.ts +9 -0
  584. package/lib/typescript/contexts/gesture.d.ts.map +1 -0
  585. package/lib/typescript/contexts/index.d.ts +7 -0
  586. package/lib/typescript/contexts/index.d.ts.map +1 -0
  587. package/lib/typescript/contexts/internal.d.ts +29 -0
  588. package/lib/typescript/contexts/internal.d.ts.map +1 -0
  589. package/lib/typescript/contexts/modal/external.d.ts +7 -0
  590. package/lib/typescript/contexts/modal/external.d.ts.map +1 -0
  591. package/lib/typescript/contexts/modal/internal.d.ts +14 -0
  592. package/lib/typescript/contexts/modal/internal.d.ts.map +1 -0
  593. package/lib/typescript/hooks/index.d.ts +19 -0
  594. package/lib/typescript/hooks/index.d.ts.map +1 -0
  595. package/lib/typescript/hooks/useAnimatedDetents.d.ts +20 -0
  596. package/lib/typescript/hooks/useAnimatedDetents.d.ts.map +1 -0
  597. package/lib/typescript/hooks/useAnimatedKeyboard.d.ts +6 -0
  598. package/lib/typescript/hooks/useAnimatedKeyboard.d.ts.map +1 -0
  599. package/lib/typescript/hooks/useAnimatedLayout.d.ts +26 -0
  600. package/lib/typescript/hooks/useAnimatedLayout.d.ts.map +1 -0
  601. package/lib/typescript/hooks/useBottomSheet.d.ts +2 -0
  602. package/lib/typescript/hooks/useBottomSheet.d.ts.map +1 -0
  603. package/lib/typescript/hooks/useBottomSheetContentContainerStyle.d.ts +3 -0
  604. package/lib/typescript/hooks/useBottomSheetContentContainerStyle.d.ts.map +1 -0
  605. package/lib/typescript/hooks/useBottomSheetGestureHandlers.d.ts +2 -0
  606. package/lib/typescript/hooks/useBottomSheetGestureHandlers.d.ts.map +1 -0
  607. package/lib/typescript/hooks/useBottomSheetInternal.d.ts +4 -0
  608. package/lib/typescript/hooks/useBottomSheetInternal.d.ts.map +1 -0
  609. package/lib/typescript/hooks/useBottomSheetModal.d.ts +2 -0
  610. package/lib/typescript/hooks/useBottomSheetModal.d.ts.map +1 -0
  611. package/lib/typescript/hooks/useBottomSheetModalInternal.d.ts +4 -0
  612. package/lib/typescript/hooks/useBottomSheetModalInternal.d.ts.map +1 -0
  613. package/lib/typescript/hooks/useBottomSheetScrollableCreator.d.ts +29 -0
  614. package/lib/typescript/hooks/useBottomSheetScrollableCreator.d.ts.map +1 -0
  615. package/lib/typescript/hooks/useBottomSheetSpringConfigs.d.ts +7 -0
  616. package/lib/typescript/hooks/useBottomSheetSpringConfigs.d.ts.map +1 -0
  617. package/lib/typescript/hooks/useBottomSheetTimingConfigs.d.ts +21 -0
  618. package/lib/typescript/hooks/useBottomSheetTimingConfigs.d.ts.map +1 -0
  619. package/lib/typescript/hooks/useBoundingClientRect.d.ts +42 -0
  620. package/lib/typescript/hooks/useBoundingClientRect.d.ts.map +1 -0
  621. package/lib/typescript/hooks/useGestureEventsHandlersDefault.d.ts +3 -0
  622. package/lib/typescript/hooks/useGestureEventsHandlersDefault.d.ts.map +1 -0
  623. package/lib/typescript/hooks/useGestureEventsHandlersDefault.web.d.ts +8 -0
  624. package/lib/typescript/hooks/useGestureEventsHandlersDefault.web.d.ts.map +1 -0
  625. package/lib/typescript/hooks/useGestureHandler.d.ts +3 -0
  626. package/lib/typescript/hooks/useGestureHandler.d.ts.map +1 -0
  627. package/lib/typescript/hooks/usePropsValidator.d.ts +7 -0
  628. package/lib/typescript/hooks/usePropsValidator.d.ts.map +1 -0
  629. package/lib/typescript/hooks/useReactiveSharedValue.d.ts +4 -0
  630. package/lib/typescript/hooks/useReactiveSharedValue.d.ts.map +1 -0
  631. package/lib/typescript/hooks/useScrollEventsHandlersDefault.d.ts +7 -0
  632. package/lib/typescript/hooks/useScrollEventsHandlersDefault.d.ts.map +1 -0
  633. package/lib/typescript/hooks/useScrollHandler.d.ts +7 -0
  634. package/lib/typescript/hooks/useScrollHandler.d.ts.map +1 -0
  635. package/lib/typescript/hooks/useScrollHandler.web.d.ts +11 -0
  636. package/lib/typescript/hooks/useScrollHandler.web.d.ts.map +1 -0
  637. package/lib/typescript/hooks/useScrollable.d.ts +11 -0
  638. package/lib/typescript/hooks/useScrollable.d.ts.map +1 -0
  639. package/lib/typescript/hooks/useScrollableSetter.d.ts +6 -0
  640. package/lib/typescript/hooks/useScrollableSetter.d.ts.map +1 -0
  641. package/lib/typescript/hooks/useStableCallback.d.ts +7 -0
  642. package/lib/typescript/hooks/useStableCallback.d.ts.map +1 -0
  643. package/lib/typescript/index.d.ts +35 -0
  644. package/lib/typescript/index.d.ts.map +1 -0
  645. package/lib/typescript/types.d.ts +336 -0
  646. package/lib/typescript/utilities/animate.d.ts +11 -0
  647. package/lib/typescript/utilities/animate.d.ts.map +1 -0
  648. package/lib/typescript/utilities/clamp.d.ts +2 -0
  649. package/lib/typescript/utilities/clamp.d.ts.map +1 -0
  650. package/lib/typescript/utilities/easingExp.d.ts +8 -0
  651. package/lib/typescript/utilities/easingExp.d.ts.map +1 -0
  652. package/lib/typescript/utilities/findNodeHandle.d.ts +2 -0
  653. package/lib/typescript/utilities/findNodeHandle.d.ts.map +1 -0
  654. package/lib/typescript/utilities/findNodeHandle.web.d.ts +3 -0
  655. package/lib/typescript/utilities/findNodeHandle.web.d.ts.map +1 -0
  656. package/lib/typescript/utilities/getKeyboardAnimationConfigs.d.ts +21 -0
  657. package/lib/typescript/utilities/getKeyboardAnimationConfigs.d.ts.map +1 -0
  658. package/lib/typescript/utilities/getRefNativeTag.web.d.ts +3 -0
  659. package/lib/typescript/utilities/getRefNativeTag.web.d.ts.map +1 -0
  660. package/lib/typescript/utilities/id.d.ts +2 -0
  661. package/lib/typescript/utilities/id.d.ts.map +1 -0
  662. package/lib/typescript/utilities/index.d.ts +8 -0
  663. package/lib/typescript/utilities/index.d.ts.map +1 -0
  664. package/lib/typescript/utilities/isFabricInstalled.d.ts +7 -0
  665. package/lib/typescript/utilities/isFabricInstalled.d.ts.map +1 -0
  666. package/lib/typescript/utilities/logger.d.ts +11 -0
  667. package/lib/typescript/utilities/logger.d.ts.map +1 -0
  668. package/lib/typescript/utilities/noop.d.ts +4 -0
  669. package/lib/typescript/utilities/noop.d.ts.map +1 -0
  670. package/lib/typescript/utilities/normalizeSnapPoint.d.ts +5 -0
  671. package/lib/typescript/utilities/normalizeSnapPoint.d.ts.map +1 -0
  672. package/lib/typescript/utilities/snapPoint.d.ts +2 -0
  673. package/lib/typescript/utilities/snapPoint.d.ts.map +1 -0
  674. package/lib/typescript/utilities/validateSnapPoint.d.ts +2 -0
  675. package/lib/typescript/utilities/validateSnapPoint.d.ts.map +1 -0
  676. package/package.json +1 -5
  677. package/src/components/bottomSheet/BottomSheet.tsx +22 -5
  678. package/src/components/bottomSheet/BottomSheetContent.tsx +0 -1
@@ -0,0 +1,96 @@
1
+ import type { SpringConfig, TimingConfig } from './types';
2
+ declare const WINDOW_HEIGHT: number, WINDOW_WIDTH: number;
3
+ declare const SCREEN_HEIGHT: number, SCREEN_WIDTH: number;
4
+ declare enum GESTURE_SOURCE {
5
+ UNDETERMINED = 0,
6
+ SCROLLABLE = 1,
7
+ HANDLE = 2,
8
+ CONTENT = 3
9
+ }
10
+ declare enum SHEET_STATE {
11
+ CLOSED = 0,
12
+ OPENED = 1,
13
+ EXTENDED = 2,
14
+ OVER_EXTENDED = 3,
15
+ FILL_PARENT = 4
16
+ }
17
+ declare enum SCROLLABLE_STATUS {
18
+ LOCKED = 0,
19
+ UNLOCKED = 1,
20
+ UNDETERMINED = 2
21
+ }
22
+ declare enum SCROLLABLE_TYPE {
23
+ UNDETERMINED = 0,
24
+ VIEW = 1,
25
+ FLATLIST = 2,
26
+ SCROLLVIEW = 3,
27
+ SECTIONLIST = 4,
28
+ VIRTUALIZEDLIST = 5
29
+ }
30
+ declare enum ANIMATION_STATUS {
31
+ UNDETERMINED = 0,
32
+ RUNNING = 1,
33
+ STOPPED = 2,
34
+ INTERRUPTED = 3
35
+ }
36
+ declare enum ANIMATION_SOURCE {
37
+ NONE = 0,
38
+ MOUNT = 1,
39
+ GESTURE = 2,
40
+ USER = 3,
41
+ CONTAINER_RESIZE = 4,
42
+ SNAP_POINT_CHANGE = 5,
43
+ KEYBOARD = 6
44
+ }
45
+ declare enum ANIMATION_METHOD {
46
+ TIMING = 0,
47
+ SPRING = 1
48
+ }
49
+ declare enum KEYBOARD_STATUS {
50
+ UNDETERMINED = 0,
51
+ SHOWN = 1,
52
+ HIDDEN = 2
53
+ }
54
+ declare enum SNAP_POINT_TYPE {
55
+ PROVIDED = 0,
56
+ DYNAMIC = 1
57
+ }
58
+ declare const ANIMATION_EASING: import("react-native-reanimated").EasingFunction;
59
+ declare const ANIMATION_DURATION = 250;
60
+ declare const ANIMATION_CONFIGS: TimingConfig | SpringConfig;
61
+ declare const SCROLLABLE_DECELERATION_RATE_MAPPER: {
62
+ 2: number;
63
+ 0: number;
64
+ 1: number;
65
+ };
66
+ declare const MODAL_STACK_BEHAVIOR: {
67
+ replace: string;
68
+ push: string;
69
+ switch: string;
70
+ };
71
+ declare const KEYBOARD_BEHAVIOR: {
72
+ readonly interactive: "interactive";
73
+ readonly extend: "extend";
74
+ readonly fillParent: "fillParent";
75
+ };
76
+ declare const KEYBOARD_BLUR_BEHAVIOR: {
77
+ readonly none: "none";
78
+ readonly restore: "restore";
79
+ };
80
+ declare const KEYBOARD_INPUT_MODE: {
81
+ readonly adjustPan: "adjustPan";
82
+ readonly adjustResize: "adjustResize";
83
+ };
84
+ declare const KEYBOARD_DISMISS_THRESHOLD = 12.5;
85
+ declare const INITIAL_LAYOUT_VALUE = -999;
86
+ declare const INITIAL_CONTAINER_LAYOUT: {
87
+ height: number;
88
+ offset: {
89
+ top: number;
90
+ bottom: number;
91
+ right: number;
92
+ left: number;
93
+ };
94
+ };
95
+ export { GESTURE_SOURCE, SHEET_STATE, ANIMATION_STATUS, ANIMATION_METHOD, ANIMATION_SOURCE, SCROLLABLE_TYPE, SCROLLABLE_STATUS, KEYBOARD_STATUS, SNAP_POINT_TYPE, WINDOW_HEIGHT, WINDOW_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCROLLABLE_DECELERATION_RATE_MAPPER, MODAL_STACK_BEHAVIOR, KEYBOARD_BEHAVIOR, KEYBOARD_BLUR_BEHAVIOR, KEYBOARD_INPUT_MODE, KEYBOARD_DISMISS_THRESHOLD, ANIMATION_CONFIGS, ANIMATION_EASING, ANIMATION_DURATION, INITIAL_LAYOUT_VALUE, INITIAL_CONTAINER_LAYOUT, };
96
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAgB,aAAa,UAAS,YAAY,QAA6B,CAAC;AAChF,QAAA,MAAgB,aAAa,UAAS,YAAY,QAA6B,CAAC;AAEhF,aAAK,cAAc;IACjB,YAAY,IAAI;IAChB,UAAU,IAAI;IACd,MAAM,IAAI;IACV,OAAO,IAAI;CACZ;AAED,aAAK,WAAW;IACd,MAAM,IAAI;IACV,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,aAAa,IAAI;IACjB,WAAW,IAAI;CAChB;AAED,aAAK,iBAAiB;IACpB,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,YAAY,IAAI;CACjB;AAED,aAAK,eAAe;IAClB,YAAY,IAAI;IAChB,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,UAAU,IAAI;IACd,WAAW,IAAI;IACf,eAAe,IAAI;CACpB;AAED,aAAK,gBAAgB;IACnB,YAAY,IAAI;IAChB,OAAO,IAAI;IACX,OAAO,IAAI;IACX,WAAW,IAAI;CAChB;AAED,aAAK,gBAAgB;IACnB,IAAI,IAAI;IACR,KAAK,IAAI;IACT,OAAO,IAAI;IACX,IAAI,IAAI;IACR,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,QAAQ,IAAI;CACb;AAED,aAAK,gBAAgB;IACnB,MAAM,IAAI;IACV,MAAM,IAAI;CACX;AAED,aAAK,eAAe;IAClB,YAAY,IAAI;IAChB,KAAK,IAAI;IACT,MAAM,IAAI;CACX;AAED,aAAK,eAAe;IAClB,QAAQ,IAAI;IACZ,OAAO,IAAI;CACZ;AAED,QAAA,MAAM,gBAAgB,kDAAyB,CAAC;AAChD,QAAA,MAAM,kBAAkB,MAAM,CAAC;AAE/B,QAAA,MAAM,iBAAiB,6BAarB,CAAC;AAEH,QAAA,MAAM,mCAAmC;;;;CAQxC,CAAC;AAEF,QAAA,MAAM,oBAAoB;;;;CAIzB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;;;CAIb,CAAC;AAEX,QAAA,MAAM,sBAAsB;;;CAGlB,CAAC;AAEX,QAAA,MAAM,mBAAmB;;;CAGf,CAAC;AAEX,QAAA,MAAM,0BAA0B,OAAO,CAAC;AAExC,QAAA,MAAM,oBAAoB,OAAO,CAAC;AAClC,QAAA,MAAM,wBAAwB;;;;;;;;CAQ7B,CAAC;AAEF,OAAO,EACL,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,aAAa,EACb,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,mCAAmC,EACnC,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,0BAA0B,EAC1B,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,GACzB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { BottomSheetMethods, BottomSheetVariables } from '../types';
2
+ export declare const BottomSheetContext: import("react").Context<(BottomSheetMethods & BottomSheetVariables) | null>;
3
+ export declare const BottomSheetProvider: import("react").Provider<(BottomSheetMethods & BottomSheetVariables) | null>;
4
+ //# sourceMappingURL=external.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/contexts/external.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEzE,eAAO,MAAM,kBAAkB,6EAExB,CAAC;AAER,eAAO,MAAM,mBAAmB,8EAA8B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { Gesture } from 'react-native-gesture-handler/lib/typescript/handlers/gestures/gesture';
2
+ import type { GestureHandlersHookType } from '../types';
3
+ export interface BottomSheetGestureHandlersContextType {
4
+ contentPanGestureHandler: ReturnType<GestureHandlersHookType>;
5
+ handlePanGestureHandler: ReturnType<GestureHandlersHookType>;
6
+ }
7
+ export declare const BottomSheetGestureHandlersContext: import("react").Context<BottomSheetGestureHandlersContextType | null>;
8
+ export declare const BottomSheetDraggableContext: import("react").Context<Gesture | null>;
9
+ //# sourceMappingURL=gesture.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gesture.d.ts","sourceRoot":"","sources":["../../../src/contexts/gesture.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uEAAuE,CAAC;AACrG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,WAAW,qCAAqC;IACpD,wBAAwB,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;IAC9D,uBAAuB,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,iCAAiC,uEACqB,CAAC;AAEpE,eAAO,MAAM,2BAA2B,yCAAsC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { BottomSheetContext, BottomSheetProvider } from './external';
2
+ export { BottomSheetInternalContext, BottomSheetInternalProvider, } from './internal';
3
+ export { BottomSheetGestureHandlersContext } from './gesture';
4
+ export { BottomSheetModalContext, BottomSheetModalProvider, } from './modal/external';
5
+ export { BottomSheetModalInternalContext, BottomSheetModalInternalProvider, } from './modal/internal';
6
+ export type { BottomSheetModalInternalContextType } from './modal/internal';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,iCAAiC,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,EACL,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,GACjC,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { type RefObject } from 'react';
2
+ import type { State } from 'react-native-gesture-handler';
3
+ import type { SharedValue } from 'react-native-reanimated';
4
+ import type { AnimateToPositionType, BottomSheetGestureProps, BottomSheetProps } from '../components/bottomSheet/types';
5
+ import type { SCROLLABLE_STATUS, SHEET_STATE } from '../constants';
6
+ import type { AnimationState, DetentsState, KeyboardState, LayoutState, Scrollable, ScrollableRef, ScrollableState } from '../types';
7
+ export interface BottomSheetInternalContextType extends Partial<BottomSheetGestureProps>, Required<Pick<BottomSheetProps, 'enableContentPanningGesture' | 'enableOverDrag' | 'enablePanDownToClose' | 'enableDynamicSizing' | 'enableBlurKeyboardOnGesture' | 'overDragResistanceFactor'>> {
8
+ animatedDetentsState: SharedValue<DetentsState>;
9
+ animatedAnimationState: SharedValue<AnimationState>;
10
+ animatedSheetState: SharedValue<SHEET_STATE>;
11
+ animatedKeyboardState: SharedValue<KeyboardState>;
12
+ animatedContentGestureState: SharedValue<State>;
13
+ animatedHandleGestureState: SharedValue<State>;
14
+ animatedLayoutState: SharedValue<LayoutState>;
15
+ animatedScrollableState: SharedValue<ScrollableState>;
16
+ animatedScrollableStatus: SharedValue<SCROLLABLE_STATUS>;
17
+ animatedPosition: SharedValue<number>;
18
+ animatedIndex: SharedValue<number>;
19
+ animatedSheetHeight: SharedValue<number>;
20
+ isInTemporaryPosition: SharedValue<boolean>;
21
+ stopAnimation: () => void;
22
+ animateToPosition: AnimateToPositionType;
23
+ setScrollableRef: (ref: ScrollableRef) => void;
24
+ removeScrollableRef: (ref: RefObject<Scrollable>) => void;
25
+ textInputNodesRef: React.MutableRefObject<Set<number>>;
26
+ }
27
+ export declare const BottomSheetInternalContext: import("react").Context<BottomSheetInternalContextType | null>;
28
+ export declare const BottomSheetInternalProvider: import("react").Provider<BottomSheetInternalContextType | null>;
29
+ //# sourceMappingURL=internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/contexts/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,aAAa,EACb,WAAW,EACX,UAAU,EACV,aAAa,EACb,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,8BACf,SAAQ,OAAO,CAAC,uBAAuB,CAAC,EACtC,QAAQ,CACN,IAAI,CACF,gBAAgB,EACd,6BAA6B,GAC7B,gBAAgB,GAChB,sBAAsB,GACtB,qBAAqB,GACrB,6BAA6B,GAC7B,0BAA0B,CAC7B,CACF;IAEH,oBAAoB,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAChD,sBAAsB,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;IACpD,kBAAkB,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IAC7C,qBAAqB,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IAClD,2BAA2B,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;IAChD,0BAA0B,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;IAC/C,mBAAmB,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IAG9C,uBAAuB,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC;IACtD,wBAAwB,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IAGzD,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACzC,qBAAqB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAG5C,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,gBAAgB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C,mBAAmB,EAAE,CAAC,GAAG,EAAE,SAAS,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IAG1D,iBAAiB,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;CACxD;AAED,eAAO,MAAM,0BAA0B,gEACqB,CAAC;AAE7D,eAAO,MAAM,2BAA2B,iEAAsC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface BottomSheetModalContextType {
2
+ dismiss: (key?: string) => boolean;
3
+ dismissAll: () => void;
4
+ }
5
+ export declare const BottomSheetModalContext: import("react").Context<BottomSheetModalContextType | null>;
6
+ export declare const BottomSheetModalProvider: import("react").Provider<BottomSheetModalContextType | null>;
7
+ //# sourceMappingURL=external.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../../src/contexts/modal/external.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC;IACnC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,uBAAuB,6DACqB,CAAC;AAE1D,eAAO,MAAM,wBAAwB,8DAAmC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type RefObject } from 'react';
2
+ import type { SharedValue } from 'react-native-reanimated';
3
+ import type { BottomSheetModalPrivateMethods, BottomSheetModalStackBehavior } from '../../components/bottomSheetModal';
4
+ import type { ContainerLayoutState } from '../../types';
5
+ export interface BottomSheetModalInternalContextType {
6
+ hostName: string;
7
+ containerLayoutState: SharedValue<ContainerLayoutState>;
8
+ mountSheet: (key: string, ref: RefObject<BottomSheetModalPrivateMethods>, stackBehavior: BottomSheetModalStackBehavior) => void;
9
+ unmountSheet: (key: string) => void;
10
+ willUnmountSheet: (key: string) => void;
11
+ }
12
+ export declare const BottomSheetModalInternalContext: import("react").Context<BottomSheetModalInternalContextType | null>;
13
+ export declare const BottomSheetModalInternalProvider: import("react").Provider<BottomSheetModalInternalContextType | null>;
14
+ //# sourceMappingURL=internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../../src/contexts/modal/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAiB,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EACV,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;IACxD,UAAU,EAAE,CACV,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,SAAS,CAAC,8BAA8B,CAAC,EAC9C,aAAa,EAAE,6BAA6B,KACzC,IAAI,CAAC;IACV,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,+BAA+B,qEACqB,CAAC;AAElE,eAAO,MAAM,gCAAgC,sEACH,CAAC"}
@@ -0,0 +1,19 @@
1
+ export { useBottomSheet } from './useBottomSheet';
2
+ export { useBottomSheetInternal } from './useBottomSheetInternal';
3
+ export { useBottomSheetModal } from './useBottomSheetModal';
4
+ export { useBottomSheetModalInternal } from './useBottomSheetModalInternal';
5
+ export { useScrollable } from './useScrollable';
6
+ export { useScrollableSetter } from './useScrollableSetter';
7
+ export { useScrollHandler } from './useScrollHandler';
8
+ export { useGestureHandler } from './useGestureHandler';
9
+ export { useGestureEventsHandlersDefault } from './useGestureEventsHandlersDefault';
10
+ export { useBottomSheetGestureHandlers } from './useBottomSheetGestureHandlers';
11
+ export { useAnimatedLayout } from './useAnimatedLayout';
12
+ export { useAnimatedKeyboard } from './useAnimatedKeyboard';
13
+ export { useStableCallback } from './useStableCallback';
14
+ export { usePropsValidator } from './usePropsValidator';
15
+ export { useAnimatedDetents } from './useAnimatedDetents';
16
+ export { useReactiveSharedValue } from './useReactiveSharedValue';
17
+ export { useBoundingClientRect, type BoundingClientRect, } from './useBoundingClientRect';
18
+ export { useBottomSheetContentContainerStyle } from './useBottomSheetContentContainerStyle';
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAG5E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,qBAAqB,EACrB,KAAK,kBAAkB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { type SharedValue } from 'react-native-reanimated';
2
+ import type { BottomSheetProps } from '../components/bottomSheet';
3
+ import type { DetentsState, LayoutState } from '../types';
4
+ /**
5
+ * A custom hook that computes and returns the animated detent positions for a bottom sheet component.
6
+ *
7
+ * This hook normalizes the provided snap points (detents), optionally adds a dynamic detent based on content size,
8
+ * and calculates key positions such as the highest detent and the closed position. It supports both static and dynamic
9
+ * sizing, and adapts to modal and detached sheet modes.
10
+ *
11
+ * @param detents - The snap points for the bottom sheet, which can be an array or an object with a `value` property.
12
+ * @param layoutState - A shared animated value containing the current layout state (container, handle, and content heights).
13
+ * @param enableDynamicSizing - Whether dynamic sizing based on content height is enabled.
14
+ * @param maxDynamicContentSize - The maximum allowed content size for dynamic sizing.
15
+ * @param detached - Whether the bottom sheet is in detached mode.
16
+ * @param $modal - Whether the bottom sheet is presented as a modal.
17
+ * @param bottomInset - The bottom inset to apply when the sheet is modal or detached (default is 0).
18
+ */
19
+ export declare const useAnimatedDetents: (detents: BottomSheetProps["snapPoints"], layoutState: SharedValue<LayoutState>, enableDynamicSizing: BottomSheetProps["enableDynamicSizing"], maxDynamicContentSize: BottomSheetProps["maxDynamicContentSize"], detached: BottomSheetProps["detached"], $modal: BottomSheetProps["$modal"], bottomInset?: BottomSheetProps["bottomInset"]) => import("react-native-reanimated").DerivedValue<DetentsState>;
20
+ //# sourceMappingURL=useAnimatedDetents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnimatedDetents.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAnimatedDetents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,yBAAyB,CAAC;AAC5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG1D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,gBAAgB,CAAC,YAAY,CAAC,EACvC,aAAa,WAAW,CAAC,WAAW,CAAC,EACrC,qBAAqB,gBAAgB,CAAC,qBAAqB,CAAC,EAC5D,uBAAuB,gBAAgB,CAAC,uBAAuB,CAAC,EAChE,UAAU,gBAAgB,CAAC,UAAU,CAAC,EACtC,QAAQ,gBAAgB,CAAC,QAAQ,CAAC,EAClC,cAAa,gBAAgB,CAAC,aAAa,CAAK,iEA0FjD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { KeyboardState } from '../types';
2
+ export declare const useAnimatedKeyboard: () => {
3
+ state: import("react-native-reanimated").SharedValue<KeyboardState>;
4
+ textInputNodesRef: import("react").MutableRefObject<Set<number>>;
5
+ };
6
+ //# sourceMappingURL=useAnimatedKeyboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnimatedKeyboard.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAnimatedKeyboard.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAuB9C,eAAO,MAAM,mBAAmB;;;CAwI/B,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { type SharedValue } from 'react-native-reanimated';
2
+ import type { ContainerLayoutState } from '../types';
3
+ /**
4
+ * A custom hook that manages and animates the layout state of a container,
5
+ * typically used in bottom sheet components. It calculates the effective
6
+ * container height by considering top and bottom insets, and updates the
7
+ * animated state in response to layout changes. The hook supports both modal
8
+ * and non-modal modes, and ensures the container's animated layout state
9
+ * remains in sync with the actual layout measurements.
10
+ *
11
+ * @param containerLayoutState - A shared value representing the current container layout state.
12
+ * @param topInset - The top inset value to be subtracted from the container height.
13
+ * @param bottomInset - The bottom inset value to be subtracted from the container height.
14
+ * @param modal - Optional flag indicating if the layout is in modal mode.
15
+ * @param shouldOverrideHandleHeight - Optional flag to override the handle height in the layout state, only when handle is set to null.
16
+ * @returns An object containing the animated layout state.
17
+ */
18
+ export declare function useAnimatedLayout(containerLayoutState: SharedValue<ContainerLayoutState> | undefined, topInset: number, bottomInset: number, modal?: boolean, shouldOverrideHandleHeight?: boolean): import("react-native-reanimated/lib/typescript/commonTypes").Mutable<{
19
+ rawContainerHeight: number;
20
+ containerHeight: number;
21
+ containerOffset: Required<import("react-native").Insets>;
22
+ handleHeight: number;
23
+ footerHeight: number;
24
+ contentHeight: number;
25
+ }>;
26
+ //# sourceMappingURL=useAnimatedLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnimatedLayout.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAnimatedLayout.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAWlE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAC/B,oBAAoB,EAAE,WAAW,CAAC,oBAAoB,CAAC,GAAG,SAAS,EACnE,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,KAAK,CAAC,EAAE,OAAO,EACf,0BAA0B,CAAC,EAAE,OAAO;;;;;;;GAsErC"}
@@ -0,0 +1,2 @@
1
+ export declare const useBottomSheet: () => import("../types").BottomSheetMethods & import("../types").BottomSheetVariables;
2
+ //# sourceMappingURL=useBottomSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBottomSheet.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBottomSheet.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,uFAQ1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type ViewProps, type ViewStyle } from 'react-native';
2
+ export declare function useBottomSheetContentContainerStyle(enableFooterMarginAdjustment: boolean, _style?: ViewProps['style']): import("react-native").StyleProp<ViewStyle>;
3
+ //# sourceMappingURL=useBottomSheetContentContainerStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBottomSheetContentContainerStyle.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBottomSheetContentContainerStyle.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,wBAAgB,mCAAmC,CACjD,4BAA4B,EAAE,OAAO,EACrC,MAAM,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,+CA2E5B"}
@@ -0,0 +1,2 @@
1
+ export declare const useBottomSheetGestureHandlers: () => import("../contexts/gesture").BottomSheetGestureHandlersContextType;
2
+ //# sourceMappingURL=useBottomSheetGestureHandlers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBottomSheetGestureHandlers.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBottomSheetGestureHandlers.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,6BAA6B,2EAQzC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type BottomSheetInternalContextType } from '../contexts/internal';
2
+ export declare function useBottomSheetInternal(unsafe?: false): BottomSheetInternalContextType;
3
+ export declare function useBottomSheetInternal(unsafe: true): BottomSheetInternalContextType | null;
4
+ //# sourceMappingURL=useBottomSheetInternal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBottomSheetInternal.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBottomSheetInternal.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,sBAAsB,CAAC;AAE9B,wBAAgB,sBAAsB,CACpC,MAAM,CAAC,EAAE,KAAK,GACb,8BAA8B,CAAC;AAElC,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,IAAI,GACX,8BAA8B,GAAG,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const useBottomSheetModal: () => import("../contexts/modal/external").BottomSheetModalContextType;
2
+ //# sourceMappingURL=useBottomSheetModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBottomSheetModal.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBottomSheetModal.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,wEAQ/B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type BottomSheetModalInternalContextType } from '../contexts';
2
+ export declare function useBottomSheetModalInternal(unsafe?: false): BottomSheetModalInternalContextType;
3
+ export declare function useBottomSheetModalInternal(unsafe: true): BottomSheetModalInternalContextType | null;
4
+ //# sourceMappingURL=useBottomSheetModalInternal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBottomSheetModalInternal.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBottomSheetModalInternal.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,mCAAmC,EACzC,MAAM,aAAa,CAAC;AAErB,wBAAgB,2BAA2B,CACzC,MAAM,CAAC,EAAE,KAAK,GACb,mCAAmC,CAAC;AAEvC,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,IAAI,GACX,mCAAmC,GAAG,IAAI,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { type ReactElement } from 'react';
2
+ import { type BottomSheetScrollableProps } from '../components/bottomSheetScrollable';
3
+ type BottomSheetScrollableCreatorConfigs = {} & BottomSheetScrollableProps;
4
+ /**
5
+ * A custom hook that creates a scrollable component for third-party libraries
6
+ * like `LegendList` or `FlashList` to integrate the interaction and scrolling
7
+ * behaviors with th BottomSheet component.
8
+ *
9
+ * @param configs - Configuration options for the scrollable creator.
10
+ * @param configs.focusHook - This needed when bottom sheet used with multiple scrollables to allow bottom sheet
11
+ * detect the current scrollable ref, especially when used with `React Navigation`.
12
+ * You will need to provide `useFocusEffect` from `@react-navigation/native`.
13
+ * @param configs.scrollEventsHandlersHook - Custom hook to provide scroll events handler, which will allow advance and
14
+ * customize handling for scrollables.
15
+ * @param configs.enableFooterMarginAdjustment - Adjust the scrollable bottom margin to avoid the animated footer.
16
+ *
17
+ * @example
18
+ * ```tsx
19
+ * const BottomSheetLegendListScrollable = useBottomSheetScrollableCreator();
20
+ *
21
+ * // Usage in JSX
22
+ * <LegendList
23
+ * renderScrollComponent={BottomSheetLegendListScrollable}
24
+ * />
25
+ * ```
26
+ */
27
+ export declare function useBottomSheetScrollableCreator<T = any>({ focusHook, scrollEventsHandlersHook, enableFooterMarginAdjustment, }?: BottomSheetScrollableCreatorConfigs): (props: T, ref?: never) => ReactElement<T>;
28
+ export {};
29
+ //# sourceMappingURL=useBottomSheetScrollableCreator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBottomSheetScrollableCreator.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBottomSheetScrollableCreator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,OAAO,CAAC;AACvD,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,qCAAqC,CAAC;AAE7C,KAAK,mCAAmC,GAAG,EAAE,GAAG,0BAA0B,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,wBAAgB,+BAA+B,CAAC,CAAC,GAAG,GAAG,EAAE,EACvD,SAAS,EACT,wBAAwB,EACxB,4BAA4B,GAC7B,GAAE,mCAAwC,GAAG,CAC5C,KAAK,EAAE,CAAC,EACR,GAAG,CAAC,EAAE,KAAK,KACR,YAAY,CAAC,CAAC,CAAC,CAoBnB"}
@@ -0,0 +1,7 @@
1
+ import type { WithSpringConfig } from 'react-native-reanimated';
2
+ /**
3
+ * Generate spring animation configs.
4
+ * @param configs overridable configs.
5
+ */
6
+ export declare const useBottomSheetSpringConfigs: (configs: Omit<WithSpringConfig, "velocity">) => Omit<import("react-native-reanimated/lib/typescript/animation/springUtils").SpringConfig, "velocity">;
7
+ //# sourceMappingURL=useBottomSheetSpringConfigs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBottomSheetSpringConfigs.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBottomSheetSpringConfigs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GACtC,SAAS,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,0GAG5C,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { EasingFunction } from 'react-native';
2
+ import type { EasingFunctionFactory, ReduceMotion } from 'react-native-reanimated';
3
+ /**
4
+ * this is needed to avoid TS4023
5
+ * https://github.com/microsoft/TypeScript/issues/5711
6
+ */
7
+ interface TimingConfig {
8
+ duration?: number;
9
+ easing?: EasingFunction | EasingFunctionFactory;
10
+ reduceMotion?: ReduceMotion;
11
+ }
12
+ /**
13
+ * Generate timing animation configs.
14
+ * @default
15
+ * - easing: Easing.out(Easing.exp)
16
+ * - duration: 250
17
+ * @param configs overridable configs.
18
+ */
19
+ export declare const useBottomSheetTimingConfigs: (configs: TimingConfig) => TimingConfig;
20
+ export {};
21
+ //# sourceMappingURL=useBottomSheetTimingConfigs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBottomSheetTimingConfigs.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBottomSheetTimingConfigs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EACV,qBAAqB,EACrB,YAAY,EACb,MAAM,yBAAyB,CAAC;AAGjC;;;GAGG;AACH,UAAU,YAAY;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,cAAc,GAAG,qBAAqB,CAAC;IAChD,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,GAAI,SAAS,YAAY,iBAUhE,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { type RefObject } from 'react';
2
+ import type { View } from 'react-native';
3
+ export type BoundingClientRect = {
4
+ x: number;
5
+ y: number;
6
+ width: number;
7
+ height: number;
8
+ left: number;
9
+ right: number;
10
+ top: number;
11
+ bottom: number;
12
+ };
13
+ /**
14
+ * A custom hook that retrieves the bounding client rectangle of a given `ref` element
15
+ * and invokes a handler function with the layout information.
16
+ *
17
+ * This hook is designed to work with React Native's Fabric architecture and provides
18
+ * support for both `unstable_getBoundingClientRect` and `getBoundingClientRect` methods.
19
+ *
20
+ * @param ref - A `RefObject` pointing to a `View` or `null`. The bounding client rectangle
21
+ * will be retrieved from this reference.
22
+ * @param handler - A callback function that will be invoked with the layout information
23
+ * of the referenced element.
24
+ *
25
+ * @remarks
26
+ * - The hook uses `useLayoutEffect` to ensure the layout information is retrieved
27
+ * after the DOM updates.
28
+ * - The `isFabricInstalled` function is used to determine if the Fabric architecture
29
+ * is available.
30
+ * - The `unstable_getBoundingClientRect` method is used if available, falling back
31
+ * to `getBoundingClientRect` otherwise.
32
+ *
33
+ * @example
34
+ * ```tsx
35
+ * const ref = useRef<View | null>(null);
36
+ * useBoundingClientRect(ref, (layout) => {
37
+ * console.log('Bounding client rect:', layout);
38
+ * });
39
+ * ```
40
+ */
41
+ export declare function useBoundingClientRect(ref: RefObject<View | null>, handler: (layout: BoundingClientRect) => void): void;
42
+ //# sourceMappingURL=useBoundingClientRect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBoundingClientRect.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBoundingClientRect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGzC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,EAC3B,OAAO,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,QA+B9C"}
@@ -0,0 +1,3 @@
1
+ import type { GestureEventsHandlersHookType } from '../types';
2
+ export declare const useGestureEventsHandlersDefault: GestureEventsHandlersHookType;
3
+ //# sourceMappingURL=useGestureEventsHandlersDefault.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGestureEventsHandlersDefault.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGestureEventsHandlersDefault.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAEV,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AA2BlB,eAAO,MAAM,+BAA+B,EAAE,6BA2Y3C,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { GestureEventHandlerCallbackType } from '../types';
2
+ export declare const useGestureEventsHandlersDefault: () => {
3
+ handleOnStart: GestureEventHandlerCallbackType;
4
+ handleOnChange: GestureEventHandlerCallbackType;
5
+ handleOnEnd: GestureEventHandlerCallbackType;
6
+ handleOnFinalize: GestureEventHandlerCallbackType;
7
+ };
8
+ //# sourceMappingURL=useGestureEventsHandlersDefault.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGestureEventsHandlersDefault.web.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGestureEventsHandlersDefault.web.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AA6BhE,eAAO,MAAM,+BAA+B;;;;;CA0X3C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { GestureHandlersHookType } from '../types';
2
+ export declare const useGestureHandler: GestureHandlersHookType;
3
+ //# sourceMappingURL=useGestureHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGestureHandler.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGestureHandler.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,iBAAiB,EAAE,uBA0E/B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { BottomSheetProps } from '../components/bottomSheet';
2
+ /**
3
+ * @todo
4
+ * replace this with `prop-types`.
5
+ */
6
+ export declare const usePropsValidator: ({ index, snapPoints, enableDynamicSizing, topInset, bottomInset, containerHeight, containerOffset, }: Pick<BottomSheetProps, "index" | "snapPoints" | "enableDynamicSizing" | "topInset" | "bottomInset" | "containerHeight" | "containerOffset">) => void;
7
+ //# sourceMappingURL=usePropsValidator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePropsValidator.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePropsValidator.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAGlE;;;GAGG;AAEH,eAAO,MAAM,iBAAiB,GAAI,sGAQ/B,IAAI,CACL,gBAAgB,EACd,OAAO,GACP,YAAY,GACZ,qBAAqB,GACrB,UAAU,GACV,aAAa,GACb,iBAAiB,GACjB,iBAAiB,CACpB,SAgFA,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SharedValue } from 'react-native-reanimated';
2
+ import type { Primitive } from '../types';
3
+ export declare const useReactiveSharedValue: <T>(value: T) => T extends Primitive ? SharedValue<T> : T;
4
+ //# sourceMappingURL=useReactiveSharedValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useReactiveSharedValue.d.ts","sourceRoot":"","sources":["../../../src/hooks/useReactiveSharedValue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,sBAAsB,GAAI,CAAC,EACtC,OAAO,CAAC,KACP,CAAC,SAAS,SAAS,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,CAqCzC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { ScrollEventsHandlersHookType } from '../types';
2
+ export type ScrollEventContextType = {
3
+ initialContentOffsetY: number;
4
+ shouldLockInitialPosition: boolean;
5
+ };
6
+ export declare const useScrollEventsHandlersDefault: ScrollEventsHandlersHookType;
7
+ //# sourceMappingURL=useScrollEventsHandlersDefault.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollEventsHandlersDefault.d.ts","sourceRoot":"","sources":["../../../src/hooks/useScrollEventsHandlersDefault.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,sBAAsB,GAAG;IACnC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,yBAAyB,EAAE,OAAO,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,4BAuJ5C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { Scrollable, ScrollableEvent } from '../types';
2
+ export declare const useScrollHandler: (useScrollEventsHandlers?: import("../types").ScrollEventsHandlersHookType, onScroll?: ScrollableEvent, onScrollBeginDrag?: ScrollableEvent, onScrollEndDrag?: ScrollableEvent) => {
3
+ scrollHandler: import("react-native-reanimated").ScrollHandlerProcessed<never>;
4
+ scrollableRef: import("react-native-reanimated").AnimatedRef<Scrollable>;
5
+ scrollableContentOffsetY: import("react-native-reanimated").SharedValue<number>;
6
+ };
7
+ //# sourceMappingURL=useScrollHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollHandler.d.ts","sourceRoot":"","sources":["../../../src/hooks/useScrollHandler.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI5D,eAAO,MAAM,gBAAgB,GAC3B,yEAAwD,EACxD,WAAW,eAAe,EAC1B,oBAAoB,eAAe,EACnC,kBAAkB,eAAe;;;;CAyDlC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { Scrollable, ScrollableEvent } from '../types';
2
+ export type ScrollEventContextType = {
3
+ initialContentOffsetY: number;
4
+ shouldLockInitialPosition: boolean;
5
+ };
6
+ export declare const useScrollHandler: (_: never, onScroll?: ScrollableEvent) => {
7
+ scrollHandler: ScrollableEvent | undefined;
8
+ scrollableRef: import("react").RefObject<Scrollable>;
9
+ scrollableContentOffsetY: import("react-native-reanimated").SharedValue<number>;
10
+ };
11
+ //# sourceMappingURL=useScrollHandler.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollHandler.web.d.ts","sourceRoot":"","sources":["../../../src/hooks/useScrollHandler.web.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI5D,MAAM,MAAM,sBAAsB,GAAG;IACnC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,yBAAyB,EAAE,OAAO,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,GAAG,KAAK,EAAE,WAAW,eAAe;;;;CAwKpE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type RefObject } from 'react';
2
+ import { type SharedValue } from 'react-native-reanimated';
3
+ import { SCROLLABLE_STATUS, SHEET_STATE } from '../constants';
4
+ import type { AnimationState, KeyboardState, Scrollable, ScrollableRef, ScrollableState } from '../types';
5
+ export declare const useScrollable: (enableContentPanningGesture: boolean, animatedSheetState: SharedValue<SHEET_STATE>, animatedKeyboardState: SharedValue<KeyboardState>, animatedAnimationState: SharedValue<AnimationState>) => {
6
+ state: SharedValue<ScrollableState>;
7
+ status: import("react-native-reanimated").DerivedValue<SCROLLABLE_STATUS>;
8
+ setScrollableRef: (ref: ScrollableRef) => void;
9
+ removeScrollableRef: (ref: RefObject<Scrollable>) => void;
10
+ };
11
+ //# sourceMappingURL=useScrollable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollable.d.ts","sourceRoot":"","sources":["../../../src/hooks/useScrollable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAE5D,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,iBAAiB,EAEjB,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,UAAU,EACV,aAAa,EACb,eAAe,EAChB,MAAM,UAAU,CAAC;AAGlB,eAAO,MAAM,aAAa,GACxB,6BAA6B,OAAO,EACpC,oBAAoB,WAAW,CAAC,WAAW,CAAC,EAC5C,uBAAuB,WAAW,CAAC,aAAa,CAAC,EACjD,wBAAwB,WAAW,CAAC,cAAc,CAAC;;;4BA2DR,aAAa;+BAcV,SAAS,CAAC,UAAU,CAAC;CA8BpE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type React from 'react';
2
+ import type { SharedValue } from 'react-native-reanimated';
3
+ import type { SCROLLABLE_TYPE } from '../constants';
4
+ import type { Scrollable } from '../types';
5
+ export declare const useScrollableSetter: (ref: React.RefObject<Scrollable>, type: SCROLLABLE_TYPE, contentOffsetY: SharedValue<number>, refreshable: boolean, useFocusHook?: typeof React.useEffect) => void;
6
+ //# sourceMappingURL=useScrollableSetter.d.ts.map