react-native-reanimated-carousel 5.0.0-beta.8 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/README.md +31 -29
  2. package/lib/commonjs/components/Carousel.js +1 -1
  3. package/lib/commonjs/components/Carousel.js.map +1 -1
  4. package/lib/commonjs/components/CarouselLayout.js +1 -1
  5. package/lib/commonjs/components/CarouselLayout.js.map +1 -1
  6. package/lib/commonjs/components/ItemLayout.js +1 -1
  7. package/lib/commonjs/components/ItemLayout.js.map +1 -1
  8. package/lib/commonjs/components/ItemRenderer.js +1 -1
  9. package/lib/commonjs/components/ItemRenderer.js.map +1 -1
  10. package/lib/commonjs/components/Pagination/PaginationItem.js +2 -0
  11. package/lib/commonjs/components/Pagination/PaginationItem.js.map +1 -0
  12. package/lib/commonjs/components/Pagination/index.js +1 -1
  13. package/lib/commonjs/components/Pagination/index.js.map +1 -1
  14. package/lib/commonjs/components/ScrollViewGesture.js +1 -1
  15. package/lib/commonjs/components/ScrollViewGesture.js.map +1 -1
  16. package/lib/commonjs/hooks/useAutoPlay.js +1 -1
  17. package/lib/commonjs/hooks/useAutoPlay.js.map +1 -1
  18. package/lib/commonjs/hooks/useCarouselController.js +1 -1
  19. package/lib/commonjs/hooks/useCarouselController.js.map +1 -1
  20. package/lib/commonjs/hooks/useCommonVariables.js +1 -1
  21. package/lib/commonjs/hooks/useCommonVariables.js.map +1 -1
  22. package/lib/commonjs/hooks/useInitProps.js +1 -1
  23. package/lib/commonjs/hooks/useInitProps.js.map +1 -1
  24. package/lib/commonjs/hooks/useLayoutConfig.js +1 -1
  25. package/lib/commonjs/hooks/useLayoutConfig.js.map +1 -1
  26. package/lib/commonjs/hooks/useOffsetX.js.map +1 -1
  27. package/lib/commonjs/hooks/useOnProgressChange.js +1 -1
  28. package/lib/commonjs/hooks/useOnProgressChange.js.map +1 -1
  29. package/lib/commonjs/hooks/usePanGestureProxy.js.map +1 -1
  30. package/lib/commonjs/hooks/usePropsErrorBoundary.js +1 -1
  31. package/lib/commonjs/hooks/usePropsErrorBoundary.js.map +1 -1
  32. package/lib/commonjs/hooks/useUpdateGestureConfig.js.map +1 -1
  33. package/lib/commonjs/hooks/useVisibleRanges.js.map +1 -1
  34. package/lib/commonjs/index.js +1 -1
  35. package/lib/commonjs/index.js.map +1 -1
  36. package/lib/commonjs/layouts/index.js.map +1 -1
  37. package/lib/commonjs/layouts/normal.js +1 -1
  38. package/lib/commonjs/layouts/normal.js.map +1 -1
  39. package/lib/commonjs/layouts/parallax.js +1 -1
  40. package/lib/commonjs/layouts/parallax.js.map +1 -1
  41. package/lib/commonjs/layouts/stack.js +1 -1
  42. package/lib/commonjs/layouts/stack.js.map +1 -1
  43. package/lib/commonjs/public-types.js +2 -0
  44. package/lib/commonjs/public-types.js.map +1 -0
  45. package/lib/commonjs/store/index.js.map +1 -1
  46. package/lib/commonjs/utils/carousel-direction.js +2 -0
  47. package/lib/commonjs/utils/carousel-direction.js.map +1 -0
  48. package/lib/commonjs/utils/carousel-math.js +2 -0
  49. package/lib/commonjs/utils/carousel-math.js.map +1 -0
  50. package/lib/commonjs/utils/computed-with-auto-fill-data.js.map +1 -1
  51. package/lib/commonjs/utils/deal-with-animation.js +1 -1
  52. package/lib/commonjs/utils/deal-with-animation.js.map +1 -1
  53. package/lib/module/components/Carousel.js +1 -1
  54. package/lib/module/components/Carousel.js.map +1 -1
  55. package/lib/module/components/CarouselLayout.js +1 -1
  56. package/lib/module/components/CarouselLayout.js.map +1 -1
  57. package/lib/module/components/ItemLayout.js +1 -1
  58. package/lib/module/components/ItemLayout.js.map +1 -1
  59. package/lib/module/components/ItemRenderer.js +1 -1
  60. package/lib/module/components/ItemRenderer.js.map +1 -1
  61. package/lib/module/components/LazyView.js +1 -1
  62. package/lib/module/components/LazyView.js.map +1 -1
  63. package/lib/module/components/Pagination/PaginationItem.js +2 -0
  64. package/lib/module/components/Pagination/PaginationItem.js.map +1 -0
  65. package/lib/module/components/Pagination/index.js +1 -1
  66. package/lib/module/components/Pagination/index.js.map +1 -1
  67. package/lib/module/components/ScrollViewGesture.js +1 -1
  68. package/lib/module/components/ScrollViewGesture.js.map +1 -1
  69. package/lib/module/constants/index.js +1 -1
  70. package/lib/module/constants/index.js.map +1 -1
  71. package/lib/module/hooks/useAutoPlay.js +1 -1
  72. package/lib/module/hooks/useAutoPlay.js.map +1 -1
  73. package/lib/module/hooks/useCarouselController.js +1 -1
  74. package/lib/module/hooks/useCarouselController.js.map +1 -1
  75. package/lib/module/hooks/useCheckMounted.js +1 -1
  76. package/lib/module/hooks/useCheckMounted.js.map +1 -1
  77. package/lib/module/hooks/useCommonVariables.js +1 -1
  78. package/lib/module/hooks/useCommonVariables.js.map +1 -1
  79. package/lib/module/hooks/useInitProps.js +1 -1
  80. package/lib/module/hooks/useInitProps.js.map +1 -1
  81. package/lib/module/hooks/useLayoutConfig.js +1 -1
  82. package/lib/module/hooks/useLayoutConfig.js.map +1 -1
  83. package/lib/module/hooks/useOffsetX.js +1 -1
  84. package/lib/module/hooks/useOffsetX.js.map +1 -1
  85. package/lib/module/hooks/useOnProgressChange.js +1 -1
  86. package/lib/module/hooks/useOnProgressChange.js.map +1 -1
  87. package/lib/module/hooks/usePanGestureProxy.js +1 -1
  88. package/lib/module/hooks/usePanGestureProxy.js.map +1 -1
  89. package/lib/module/hooks/usePropsErrorBoundary.js +1 -1
  90. package/lib/module/hooks/usePropsErrorBoundary.js.map +1 -1
  91. package/lib/module/hooks/useUpdateGestureConfig.js +1 -1
  92. package/lib/module/hooks/useUpdateGestureConfig.js.map +1 -1
  93. package/lib/module/hooks/useVisibleRanges.js +1 -1
  94. package/lib/module/hooks/useVisibleRanges.js.map +1 -1
  95. package/lib/module/index.js +1 -1
  96. package/lib/module/index.js.map +1 -1
  97. package/lib/module/layouts/index.js +1 -1
  98. package/lib/module/layouts/index.js.map +1 -1
  99. package/lib/module/layouts/normal.js +1 -1
  100. package/lib/module/layouts/normal.js.map +1 -1
  101. package/lib/module/layouts/parallax.js +1 -1
  102. package/lib/module/layouts/parallax.js.map +1 -1
  103. package/lib/module/layouts/stack.js +1 -1
  104. package/lib/module/layouts/stack.js.map +1 -1
  105. package/lib/module/package.json +1 -0
  106. package/lib/module/public-types.js +2 -0
  107. package/lib/module/public-types.js.map +1 -0
  108. package/lib/module/store/index.js +1 -1
  109. package/lib/module/store/index.js.map +1 -1
  110. package/lib/module/types.js +1 -1
  111. package/lib/module/utils/carousel-direction.js +2 -0
  112. package/lib/module/utils/carousel-direction.js.map +1 -0
  113. package/lib/module/utils/carousel-math.js +2 -0
  114. package/lib/module/utils/carousel-math.js.map +1 -0
  115. package/lib/module/utils/compute-gesture-translation.js +1 -1
  116. package/lib/module/utils/compute-gesture-translation.js.map +1 -1
  117. package/lib/module/utils/compute-offset-if-size-changed.js +1 -1
  118. package/lib/module/utils/compute-offset-if-size-changed.js.map +1 -1
  119. package/lib/module/utils/computed-with-auto-fill-data.js +1 -1
  120. package/lib/module/utils/computed-with-auto-fill-data.js.map +1 -1
  121. package/lib/module/utils/deal-with-animation.js +1 -1
  122. package/lib/module/utils/deal-with-animation.js.map +1 -1
  123. package/lib/module/utils/log.js +1 -1
  124. package/lib/module/utils/log.js.map +1 -1
  125. package/lib/module/utils/sanitize-animation-style.js +1 -1
  126. package/lib/module/utils/sanitize-animation-style.js.map +1 -1
  127. package/lib/typescript/commonjs/components/Carousel.d.ts +8 -0
  128. package/lib/typescript/commonjs/components/Carousel.d.ts.map +1 -0
  129. package/lib/typescript/{components → commonjs/components}/CarouselLayout.d.ts +5 -8
  130. package/lib/typescript/commonjs/components/CarouselLayout.d.ts.map +1 -0
  131. package/lib/typescript/commonjs/components/ItemLayout.d.ts +21 -0
  132. package/lib/typescript/commonjs/components/ItemLayout.d.ts.map +1 -0
  133. package/lib/typescript/commonjs/components/ItemRenderer.d.ts +24 -0
  134. package/lib/typescript/commonjs/components/ItemRenderer.d.ts.map +1 -0
  135. package/lib/typescript/commonjs/components/LazyView.d.ts.map +1 -0
  136. package/lib/typescript/commonjs/components/Pagination/PaginationItem.d.ts +14 -0
  137. package/lib/typescript/commonjs/components/Pagination/PaginationItem.d.ts.map +1 -0
  138. package/lib/typescript/commonjs/components/Pagination/index.d.ts +4 -0
  139. package/lib/typescript/commonjs/components/Pagination/index.d.ts.map +1 -0
  140. package/lib/typescript/{components → commonjs/components}/ScrollViewGesture.d.ts +3 -4
  141. package/lib/typescript/commonjs/components/ScrollViewGesture.d.ts.map +1 -0
  142. package/lib/typescript/commonjs/constants/index.d.ts.map +1 -0
  143. package/lib/typescript/commonjs/hooks/useAutoPlay.d.ts +12 -0
  144. package/lib/typescript/commonjs/hooks/useAutoPlay.d.ts.map +1 -0
  145. package/lib/typescript/commonjs/hooks/useCarouselController.d.ts +29 -0
  146. package/lib/typescript/commonjs/hooks/useCarouselController.d.ts.map +1 -0
  147. package/lib/typescript/commonjs/hooks/useCheckMounted.d.ts.map +1 -0
  148. package/lib/typescript/commonjs/hooks/useCommonVariables.d.ts +18 -0
  149. package/lib/typescript/commonjs/hooks/useCommonVariables.d.ts.map +1 -0
  150. package/lib/typescript/commonjs/hooks/useInitProps.d.ts +25 -0
  151. package/lib/typescript/commonjs/hooks/useInitProps.d.ts.map +1 -0
  152. package/lib/typescript/commonjs/hooks/useLayoutConfig.d.ts +8 -0
  153. package/lib/typescript/commonjs/hooks/useLayoutConfig.d.ts.map +1 -0
  154. package/lib/typescript/commonjs/hooks/useOffsetX.d.ts +13 -0
  155. package/lib/typescript/commonjs/hooks/useOffsetX.d.ts.map +1 -0
  156. package/lib/typescript/commonjs/hooks/useOnProgressChange.d.ts +12 -0
  157. package/lib/typescript/commonjs/hooks/useOnProgressChange.d.ts.map +1 -0
  158. package/lib/typescript/{hooks → commonjs/hooks}/usePanGestureProxy.d.ts +4 -3
  159. package/lib/typescript/commonjs/hooks/usePanGestureProxy.d.ts.map +1 -0
  160. package/lib/typescript/commonjs/hooks/usePropsErrorBoundary.d.ts +3 -0
  161. package/lib/typescript/commonjs/hooks/usePropsErrorBoundary.d.ts.map +1 -0
  162. package/lib/typescript/commonjs/hooks/useUpdateGestureConfig.d.ts +9 -0
  163. package/lib/typescript/commonjs/hooks/useUpdateGestureConfig.d.ts.map +1 -0
  164. package/lib/typescript/{hooks → commonjs/hooks}/useVisibleRanges.d.ts +6 -6
  165. package/lib/typescript/commonjs/hooks/useVisibleRanges.d.ts.map +1 -0
  166. package/lib/typescript/commonjs/index.d.ts +4 -0
  167. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  168. package/lib/typescript/{layouts → commonjs/layouts}/index.d.ts +0 -1
  169. package/lib/typescript/commonjs/layouts/index.d.ts.map +1 -0
  170. package/lib/typescript/commonjs/layouts/normal.d.ts +15 -0
  171. package/lib/typescript/commonjs/layouts/normal.d.ts.map +1 -0
  172. package/lib/typescript/commonjs/layouts/parallax.d.ts +27 -0
  173. package/lib/typescript/commonjs/layouts/parallax.d.ts.map +1 -0
  174. package/lib/typescript/commonjs/layouts/stack.d.ts +10 -0
  175. package/lib/typescript/commonjs/layouts/stack.d.ts.map +1 -0
  176. package/lib/typescript/commonjs/package.json +1 -0
  177. package/lib/typescript/commonjs/public-types.d.ts +171 -0
  178. package/lib/typescript/commonjs/public-types.d.ts.map +1 -0
  179. package/lib/typescript/{store → commonjs/store}/index.d.ts +8 -8
  180. package/lib/typescript/commonjs/store/index.d.ts.map +1 -0
  181. package/lib/typescript/commonjs/types.d.ts +15 -0
  182. package/lib/typescript/commonjs/types.d.ts.map +1 -0
  183. package/lib/typescript/commonjs/utils/carousel-direction.d.ts +9 -0
  184. package/lib/typescript/commonjs/utils/carousel-direction.d.ts.map +1 -0
  185. package/lib/typescript/commonjs/utils/carousel-math.d.ts +28 -0
  186. package/lib/typescript/commonjs/utils/carousel-math.d.ts.map +1 -0
  187. package/lib/typescript/commonjs/utils/compute-gesture-translation.d.ts.map +1 -0
  188. package/lib/typescript/commonjs/utils/compute-offset-if-size-changed.d.ts.map +1 -0
  189. package/lib/typescript/commonjs/utils/computed-with-auto-fill-data.d.ts.map +1 -0
  190. package/lib/typescript/commonjs/utils/deal-with-animation.d.ts +3 -0
  191. package/lib/typescript/commonjs/utils/deal-with-animation.d.ts.map +1 -0
  192. package/lib/typescript/commonjs/utils/log.d.ts.map +1 -0
  193. package/lib/typescript/commonjs/utils/sanitize-animation-style.d.ts.map +1 -0
  194. package/lib/typescript/module/components/Carousel.d.ts +8 -0
  195. package/lib/typescript/module/components/Carousel.d.ts.map +1 -0
  196. package/lib/typescript/module/components/CarouselLayout.d.ts +14 -0
  197. package/lib/typescript/module/components/CarouselLayout.d.ts.map +1 -0
  198. package/lib/typescript/module/components/ItemLayout.d.ts +21 -0
  199. package/lib/typescript/module/components/ItemLayout.d.ts.map +1 -0
  200. package/lib/typescript/module/components/ItemRenderer.d.ts +24 -0
  201. package/lib/typescript/module/components/ItemRenderer.d.ts.map +1 -0
  202. package/lib/typescript/module/components/LazyView.d.ts +8 -0
  203. package/lib/typescript/module/components/LazyView.d.ts.map +1 -0
  204. package/lib/typescript/module/components/Pagination/PaginationItem.d.ts +14 -0
  205. package/lib/typescript/module/components/Pagination/PaginationItem.d.ts.map +1 -0
  206. package/lib/typescript/module/components/Pagination/index.d.ts +4 -0
  207. package/lib/typescript/module/components/Pagination/index.d.ts.map +1 -0
  208. package/lib/typescript/module/components/ScrollViewGesture.d.ts +18 -0
  209. package/lib/typescript/module/components/ScrollViewGesture.d.ts.map +1 -0
  210. package/lib/typescript/module/constants/index.d.ts +9 -0
  211. package/lib/typescript/module/constants/index.d.ts.map +1 -0
  212. package/lib/typescript/module/hooks/useAutoPlay.d.ts +12 -0
  213. package/lib/typescript/module/hooks/useAutoPlay.d.ts.map +1 -0
  214. package/lib/typescript/module/hooks/useCarouselController.d.ts +29 -0
  215. package/lib/typescript/module/hooks/useCarouselController.d.ts.map +1 -0
  216. package/lib/typescript/module/hooks/useCheckMounted.d.ts +3 -0
  217. package/lib/typescript/module/hooks/useCheckMounted.d.ts.map +1 -0
  218. package/lib/typescript/module/hooks/useCommonVariables.d.ts +18 -0
  219. package/lib/typescript/module/hooks/useCommonVariables.d.ts.map +1 -0
  220. package/lib/typescript/module/hooks/useInitProps.d.ts +25 -0
  221. package/lib/typescript/module/hooks/useInitProps.d.ts.map +1 -0
  222. package/lib/typescript/module/hooks/useLayoutConfig.d.ts +8 -0
  223. package/lib/typescript/module/hooks/useLayoutConfig.d.ts.map +1 -0
  224. package/lib/typescript/module/hooks/useOffsetX.d.ts +13 -0
  225. package/lib/typescript/module/hooks/useOffsetX.d.ts.map +1 -0
  226. package/lib/typescript/module/hooks/useOnProgressChange.d.ts +12 -0
  227. package/lib/typescript/module/hooks/useOnProgressChange.d.ts.map +1 -0
  228. package/lib/typescript/module/hooks/usePanGestureProxy.d.ts +11 -0
  229. package/lib/typescript/module/hooks/usePanGestureProxy.d.ts.map +1 -0
  230. package/lib/typescript/module/hooks/usePropsErrorBoundary.d.ts +3 -0
  231. package/lib/typescript/module/hooks/usePropsErrorBoundary.d.ts.map +1 -0
  232. package/lib/typescript/module/hooks/useUpdateGestureConfig.d.ts +9 -0
  233. package/lib/typescript/module/hooks/useUpdateGestureConfig.d.ts.map +1 -0
  234. package/lib/typescript/module/hooks/useVisibleRanges.d.ts +22 -0
  235. package/lib/typescript/module/hooks/useVisibleRanges.d.ts.map +1 -0
  236. package/lib/typescript/module/index.d.ts +4 -0
  237. package/lib/typescript/module/index.d.ts.map +1 -0
  238. package/lib/typescript/module/layouts/index.d.ts +10 -0
  239. package/lib/typescript/module/layouts/index.d.ts.map +1 -0
  240. package/lib/typescript/module/layouts/normal.d.ts +15 -0
  241. package/lib/typescript/module/layouts/normal.d.ts.map +1 -0
  242. package/lib/typescript/module/layouts/parallax.d.ts +27 -0
  243. package/lib/typescript/module/layouts/parallax.d.ts.map +1 -0
  244. package/lib/typescript/module/layouts/stack.d.ts +10 -0
  245. package/lib/typescript/module/layouts/stack.d.ts.map +1 -0
  246. package/lib/typescript/module/package.json +1 -0
  247. package/lib/typescript/module/public-types.d.ts +171 -0
  248. package/lib/typescript/module/public-types.d.ts.map +1 -0
  249. package/lib/typescript/module/store/index.d.ts +35 -0
  250. package/lib/typescript/module/store/index.d.ts.map +1 -0
  251. package/lib/typescript/module/types.d.ts +15 -0
  252. package/lib/typescript/module/types.d.ts.map +1 -0
  253. package/lib/typescript/module/utils/carousel-direction.d.ts +9 -0
  254. package/lib/typescript/module/utils/carousel-direction.d.ts.map +1 -0
  255. package/lib/typescript/module/utils/carousel-math.d.ts +28 -0
  256. package/lib/typescript/module/utils/carousel-math.d.ts.map +1 -0
  257. package/lib/typescript/module/utils/compute-gesture-translation.d.ts +9 -0
  258. package/lib/typescript/module/utils/compute-gesture-translation.d.ts.map +1 -0
  259. package/lib/typescript/module/utils/compute-offset-if-size-changed.d.ts +6 -0
  260. package/lib/typescript/module/utils/compute-offset-if-size-changed.d.ts.map +1 -0
  261. package/lib/typescript/module/utils/computed-with-auto-fill-data.d.ts +23 -0
  262. package/lib/typescript/module/utils/computed-with-auto-fill-data.d.ts.map +1 -0
  263. package/lib/typescript/module/utils/deal-with-animation.d.ts +3 -0
  264. package/lib/typescript/module/utils/deal-with-animation.d.ts.map +1 -0
  265. package/lib/typescript/module/utils/log.d.ts +7 -0
  266. package/lib/typescript/module/utils/log.d.ts.map +1 -0
  267. package/lib/typescript/module/utils/sanitize-animation-style.d.ts +3 -0
  268. package/lib/typescript/module/utils/sanitize-animation-style.d.ts.map +1 -0
  269. package/package.json +31 -6
  270. package/scripts/codemods/v5.mjs +502 -0
  271. package/src/components/Carousel.tsx +5 -5
  272. package/src/components/CarouselLayout.tsx +52 -89
  273. package/src/components/ItemLayout.tsx +57 -48
  274. package/src/components/ItemRenderer.tsx +29 -18
  275. package/src/components/Pagination/PaginationItem.tsx +166 -0
  276. package/src/components/Pagination/index.tsx +105 -6
  277. package/src/components/ScrollViewGesture.tsx +92 -177
  278. package/src/hooks/useAutoPlay.ts +23 -18
  279. package/src/hooks/useCarouselController.tsx +196 -342
  280. package/src/hooks/useCommonVariables.ts +159 -71
  281. package/src/hooks/useInitProps.ts +161 -71
  282. package/src/hooks/useLayoutConfig.ts +21 -12
  283. package/src/hooks/useOffsetX.ts +6 -6
  284. package/src/hooks/useOnProgressChange.ts +23 -48
  285. package/src/hooks/usePanGestureProxy.ts +8 -8
  286. package/src/hooks/usePropsErrorBoundary.ts +32 -90
  287. package/src/hooks/useUpdateGestureConfig.ts +6 -3
  288. package/src/hooks/useVisibleRanges.tsx +6 -6
  289. package/src/index.tsx +14 -9
  290. package/src/layouts/index.tsx +0 -2
  291. package/src/layouts/normal.ts +14 -4
  292. package/src/layouts/parallax.ts +32 -59
  293. package/src/layouts/stack.ts +30 -70
  294. package/src/public-types.ts +209 -0
  295. package/src/store/index.tsx +7 -7
  296. package/src/types.ts +30 -322
  297. package/src/utils/carousel-direction.ts +39 -0
  298. package/src/utils/carousel-math.ts +156 -0
  299. package/src/utils/computed-with-auto-fill-data.ts +2 -2
  300. package/src/utils/deal-with-animation.ts +11 -9
  301. package/lib/commonjs/components/Pagination/Basic/PaginationItem.js +0 -2
  302. package/lib/commonjs/components/Pagination/Basic/PaginationItem.js.map +0 -1
  303. package/lib/commonjs/components/Pagination/Basic/index.js +0 -2
  304. package/lib/commonjs/components/Pagination/Basic/index.js.map +0 -1
  305. package/lib/commonjs/components/Pagination/Custom/PaginationItem.js +0 -2
  306. package/lib/commonjs/components/Pagination/Custom/PaginationItem.js.map +0 -1
  307. package/lib/commonjs/components/Pagination/Custom/index.js +0 -2
  308. package/lib/commonjs/components/Pagination/Custom/index.js.map +0 -1
  309. package/lib/commonjs/utils/compute-offset-if-data-changed.js +0 -2
  310. package/lib/commonjs/utils/compute-offset-if-data-changed.js.map +0 -1
  311. package/lib/commonjs/utils/handleroffset-direction.js +0 -2
  312. package/lib/commonjs/utils/handleroffset-direction.js.map +0 -1
  313. package/lib/module/components/Pagination/Basic/PaginationItem.js +0 -2
  314. package/lib/module/components/Pagination/Basic/PaginationItem.js.map +0 -1
  315. package/lib/module/components/Pagination/Basic/index.js +0 -2
  316. package/lib/module/components/Pagination/Basic/index.js.map +0 -1
  317. package/lib/module/components/Pagination/Custom/PaginationItem.js +0 -2
  318. package/lib/module/components/Pagination/Custom/PaginationItem.js.map +0 -1
  319. package/lib/module/components/Pagination/Custom/index.js +0 -2
  320. package/lib/module/components/Pagination/Custom/index.js.map +0 -1
  321. package/lib/module/utils/compute-offset-if-data-changed.js +0 -2
  322. package/lib/module/utils/compute-offset-if-data-changed.js.map +0 -1
  323. package/lib/module/utils/handleroffset-direction.js +0 -2
  324. package/lib/module/utils/handleroffset-direction.js.map +0 -1
  325. package/lib/typescript/components/Carousel.d.ts +0 -8
  326. package/lib/typescript/components/Carousel.d.ts.map +0 -1
  327. package/lib/typescript/components/CarouselLayout.d.ts.map +0 -1
  328. package/lib/typescript/components/ItemLayout.d.ts +0 -20
  329. package/lib/typescript/components/ItemLayout.d.ts.map +0 -1
  330. package/lib/typescript/components/ItemRenderer.d.ts +0 -23
  331. package/lib/typescript/components/ItemRenderer.d.ts.map +0 -1
  332. package/lib/typescript/components/LazyView.d.ts.map +0 -1
  333. package/lib/typescript/components/Pagination/Basic/PaginationItem.d.ts +0 -29
  334. package/lib/typescript/components/Pagination/Basic/PaginationItem.d.ts.map +0 -1
  335. package/lib/typescript/components/Pagination/Basic/index.d.ts +0 -23
  336. package/lib/typescript/components/Pagination/Basic/index.d.ts.map +0 -1
  337. package/lib/typescript/components/Pagination/Custom/PaginationItem.d.ts +0 -35
  338. package/lib/typescript/components/Pagination/Custom/PaginationItem.d.ts.map +0 -1
  339. package/lib/typescript/components/Pagination/Custom/index.d.ts +0 -26
  340. package/lib/typescript/components/Pagination/Custom/index.d.ts.map +0 -1
  341. package/lib/typescript/components/Pagination/index.d.ts +0 -5
  342. package/lib/typescript/components/Pagination/index.d.ts.map +0 -1
  343. package/lib/typescript/components/ScrollViewGesture.d.ts.map +0 -1
  344. package/lib/typescript/constants/index.d.ts.map +0 -1
  345. package/lib/typescript/hooks/useAutoPlay.d.ts +0 -12
  346. package/lib/typescript/hooks/useAutoPlay.d.ts.map +0 -1
  347. package/lib/typescript/hooks/useCarouselController.d.ts +0 -28
  348. package/lib/typescript/hooks/useCarouselController.d.ts.map +0 -1
  349. package/lib/typescript/hooks/useCheckMounted.d.ts.map +0 -1
  350. package/lib/typescript/hooks/useCommonVariables.d.ts +0 -13
  351. package/lib/typescript/hooks/useCommonVariables.d.ts.map +0 -1
  352. package/lib/typescript/hooks/useInitProps.d.ts +0 -10
  353. package/lib/typescript/hooks/useInitProps.d.ts.map +0 -1
  354. package/lib/typescript/hooks/useLayoutConfig.d.ts +0 -8
  355. package/lib/typescript/hooks/useLayoutConfig.d.ts.map +0 -1
  356. package/lib/typescript/hooks/useOffsetX.d.ts +0 -13
  357. package/lib/typescript/hooks/useOffsetX.d.ts.map +0 -1
  358. package/lib/typescript/hooks/useOnProgressChange.d.ts +0 -11
  359. package/lib/typescript/hooks/useOnProgressChange.d.ts.map +0 -1
  360. package/lib/typescript/hooks/usePanGestureProxy.d.ts.map +0 -1
  361. package/lib/typescript/hooks/usePropsErrorBoundary.d.ts +0 -5
  362. package/lib/typescript/hooks/usePropsErrorBoundary.d.ts.map +0 -1
  363. package/lib/typescript/hooks/useUpdateGestureConfig.d.ts +0 -6
  364. package/lib/typescript/hooks/useUpdateGestureConfig.d.ts.map +0 -1
  365. package/lib/typescript/hooks/useVisibleRanges.d.ts.map +0 -1
  366. package/lib/typescript/index.d.ts +0 -7
  367. package/lib/typescript/index.d.ts.map +0 -1
  368. package/lib/typescript/layouts/index.d.ts.map +0 -1
  369. package/lib/typescript/layouts/normal.d.ts +0 -13
  370. package/lib/typescript/layouts/normal.d.ts.map +0 -1
  371. package/lib/typescript/layouts/parallax.d.ts +0 -47
  372. package/lib/typescript/layouts/parallax.d.ts.map +0 -1
  373. package/lib/typescript/layouts/stack.d.ts +0 -38
  374. package/lib/typescript/layouts/stack.d.ts.map +0 -1
  375. package/lib/typescript/store/index.d.ts.map +0 -1
  376. package/lib/typescript/types.d.ts +0 -302
  377. package/lib/typescript/types.d.ts.map +0 -1
  378. package/lib/typescript/utils/compute-gesture-translation.d.ts.map +0 -1
  379. package/lib/typescript/utils/compute-offset-if-data-changed.d.ts +0 -9
  380. package/lib/typescript/utils/compute-offset-if-data-changed.d.ts.map +0 -1
  381. package/lib/typescript/utils/compute-offset-if-size-changed.d.ts.map +0 -1
  382. package/lib/typescript/utils/computed-with-auto-fill-data.d.ts.map +0 -1
  383. package/lib/typescript/utils/deal-with-animation.d.ts +0 -3
  384. package/lib/typescript/utils/deal-with-animation.d.ts.map +0 -1
  385. package/lib/typescript/utils/handleroffset-direction.d.ts +0 -4
  386. package/lib/typescript/utils/handleroffset-direction.d.ts.map +0 -1
  387. package/lib/typescript/utils/log.d.ts.map +0 -1
  388. package/lib/typescript/utils/sanitize-animation-style.d.ts.map +0 -1
  389. package/src/components/Pagination/Basic/PaginationItem.tsx +0 -149
  390. package/src/components/Pagination/Basic/index.tsx +0 -98
  391. package/src/components/Pagination/Custom/PaginationItem.tsx +0 -166
  392. package/src/components/Pagination/Custom/index.tsx +0 -111
  393. package/src/utils/compute-offset-if-data-changed.ts +0 -44
  394. package/src/utils/handleroffset-direction.ts +0 -18
  395. /package/lib/typescript/{components → commonjs/components}/LazyView.d.ts +0 -0
  396. /package/lib/typescript/{constants → commonjs/constants}/index.d.ts +0 -0
  397. /package/lib/typescript/{hooks → commonjs/hooks}/useCheckMounted.d.ts +0 -0
  398. /package/lib/typescript/{utils → commonjs/utils}/compute-gesture-translation.d.ts +0 -0
  399. /package/lib/typescript/{utils → commonjs/utils}/compute-offset-if-size-changed.d.ts +0 -0
  400. /package/lib/typescript/{utils → commonjs/utils}/computed-with-auto-fill-data.d.ts +0 -0
  401. /package/lib/typescript/{utils → commonjs/utils}/log.d.ts +0 -0
  402. /package/lib/typescript/{utils → commonjs/utils}/sanitize-animation-style.d.ts +0 -0
@@ -4,19 +4,19 @@ export interface VisibleRanges {
4
4
  negativeRange: Range;
5
5
  positiveRange: Range;
6
6
  }
7
- export type IVisibleRanges = SharedValue<VisibleRanges>;
7
+ export type VisibleRangesValue = SharedValue<VisibleRanges>;
8
8
  export declare function computeVisibleRanges(params: {
9
9
  total: number;
10
- windowSize?: number;
10
+ windowSize?: number | undefined;
11
11
  currentIndex: number;
12
- loop?: boolean;
12
+ loop?: boolean | undefined;
13
13
  }): VisibleRanges;
14
14
  export declare function useVisibleRanges(options: {
15
15
  total: number;
16
16
  viewSize: number;
17
- windowSize?: number;
17
+ windowSize?: number | undefined;
18
18
  translation: SharedValue<number>;
19
- loop?: boolean;
20
- }): IVisibleRanges;
19
+ loop?: boolean | undefined;
20
+ }): VisibleRangesValue;
21
21
  export {};
22
22
  //# sourceMappingURL=useVisibleRanges.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useVisibleRanges.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useVisibleRanges.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,KAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE9B,MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,KAAK,CAAC;IACrB,aAAa,EAAE,KAAK,CAAC;CACtB;AAED,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;AAgB5D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC5B,GAAG,aAAa,CAwDhB;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC5B,GAAG,kBAAkB,CAqCrB"}
@@ -0,0 +1,4 @@
1
+ export { Carousel } from "./components/Carousel";
2
+ export { Pagination } from "./components/Pagination";
3
+ export type { CarouselAnimation, CarouselItemAnimation, CarouselLayout, CarouselPanGesture, CarouselProgressChangeHandler, CarouselProps, CarouselRef, CarouselRenderItem, CarouselRenderItemInfo, CarouselScrollToOptions, CarouselStepOptions, PaginationDotStyle, PaginationProps, } from "./public-types";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,YAAY,EACV,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,6BAA6B,EAC7B,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,GAChB,MAAM,gBAAgB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { normalLayout } from "./normal";
2
2
  import { parallaxLayout } from "./parallax";
3
3
  import { horizontalStackLayout, verticalStackLayout } from "./stack";
4
- export type TMode = "parallax" | "horizontal-stack" | "vertical-stack";
5
4
  export declare const Layouts: {
6
5
  normal: typeof normalLayout;
7
6
  parallax: typeof parallaxLayout;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAErE,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { CarouselDirectionSign } from "../utils/carousel-direction";
2
+ export declare function normalLayout(opts: {
3
+ size: number;
4
+ isVertical: boolean;
5
+ directionSign: CarouselDirectionSign;
6
+ }): (value: number) => {
7
+ transform: ({
8
+ translateY: number;
9
+ translateX?: never;
10
+ } | {
11
+ translateX: number;
12
+ translateY?: never;
13
+ })[];
14
+ };
15
+ //# sourceMappingURL=normal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normal.d.ts","sourceRoot":"","sources":["../../../../src/layouts/normal.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAGzE,wBAAgB,YAAY,CAAC,IAAI,EAAE;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,qBAAqB,CAAC;CACtC,WAGgB,MAAM;;;;;;;;EAmBtB"}
@@ -0,0 +1,27 @@
1
+ import type { CarouselLayout } from "../types";
2
+ import type { CarouselDirectionSign } from "../utils/carousel-direction";
3
+ type ParallaxLayout = Extract<CarouselLayout, {
4
+ type: "parallax";
5
+ }>;
6
+ export declare function parallaxLayout(baseConfig: {
7
+ size: number;
8
+ isVertical: boolean;
9
+ directionSign: CarouselDirectionSign;
10
+ }, config: ParallaxLayout): (relativeProgress: number) => {
11
+ transform: ({
12
+ translateY: number;
13
+ translateX?: never;
14
+ scale?: never;
15
+ } | {
16
+ translateX: number;
17
+ translateY?: never;
18
+ scale?: never;
19
+ } | {
20
+ scale: number;
21
+ translateY?: never;
22
+ translateX?: never;
23
+ })[];
24
+ zIndex: number;
25
+ };
26
+ export {};
27
+ //# sourceMappingURL=parallax.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parallax.d.ts","sourceRoot":"","sources":["../../../../src/layouts/parallax.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAGzE,KAAK,cAAc,GAAG,OAAO,CAAC,cAAc,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAEpE,wBAAgB,cAAc,CAC5B,UAAU,EAAE;IACV,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,qBAAqB,CAAC;CACtC,EACD,MAAM,EAAE,cAAc,sBAKI,MAAM;;;;;;;;;;;;;;;EA8BjC"}
@@ -0,0 +1,10 @@
1
+ import type { ViewStyle } from "react-native";
2
+ import type { CarouselLayout } from "../types";
3
+ import type { CarouselDirectionSign } from "../utils/carousel-direction";
4
+ type StackLayout = Extract<CarouselLayout, {
5
+ type: "horizontal-stack" | "vertical-stack";
6
+ }>;
7
+ export declare function horizontalStackLayout(config: StackLayout, directionSign?: CarouselDirectionSign): (_value: number) => ViewStyle;
8
+ export declare function verticalStackLayout(config: StackLayout): (_value: number) => ViewStyle;
9
+ export {};
10
+ //# sourceMappingURL=stack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../src/layouts/stack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,SAAS,EAAE,MAAM,cAAc,CAAC;AAI/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAKzE,KAAK,WAAW,GAAG,OAAO,CAAC,cAAc,EAAE;IAAE,IAAI,EAAE,kBAAkB,GAAG,gBAAgB,CAAA;CAAE,CAAC,CAAC;AAE5F,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,WAAW,EACnB,aAAa,GAAE,qBAAyB,YAExB,MAAM,eAgFvB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,WAAW,YACrC,MAAM,eAqFvB"}
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -0,0 +1,171 @@
1
+ import type * as React from "react";
2
+ import type { ColorValue, LayoutChangeEvent, StyleProp, ViewStyle } from "react-native";
3
+ import type { GestureStateChangeEvent, GestureType, GestureUpdateEvent, MouseButton, PanGesture, PanGestureChangeEventPayload, PanGestureHandlerEventPayload, PanGestureHandlerProps } from "react-native-gesture-handler";
4
+ import type { SharedValue, WithSpringConfig, WithTimingConfig } from "react-native-reanimated";
5
+ type CarouselOrientation = "horizontal" | "vertical";
6
+ type CarouselSnapMode = "page" | "nearest" | "none";
7
+ type CarouselAutoplayDirection = "forward" | "backward";
8
+ type CarouselExitDirection = "left" | "right";
9
+ type CarouselContentContainerStyle = Omit<ViewStyle, "opacity" | "transform">;
10
+ type CarouselExternalGestureRef = GestureType | React.RefObject<GestureType | undefined> | React.RefObject<React.ComponentType | undefined>;
11
+ type CarouselPanStateEvent = GestureStateChangeEvent<PanGestureHandlerEventPayload>;
12
+ type CarouselPanUpdateEvent = GestureUpdateEvent<PanGestureHandlerEventPayload>;
13
+ type CarouselPanChangeEvent = GestureUpdateEvent<PanGestureHandlerEventPayload & PanGestureChangeEventPayload>;
14
+ type CarouselLayoutSelection = {
15
+ layout?: CarouselLayout;
16
+ itemAnimation?: never;
17
+ } | {
18
+ layout?: never;
19
+ itemAnimation: CarouselItemAnimation;
20
+ };
21
+ type InteractivePaginationProps = {
22
+ onPress: (index: number) => void;
23
+ getItemAccessibilityLabel?: (index: number, count: number) => string;
24
+ };
25
+ type DecorativePaginationProps = {
26
+ onPress?: never;
27
+ getItemAccessibilityLabel?: never;
28
+ };
29
+ type ReadonlyProgressValue = Omit<SharedValue<number>, "modify" | "set" | "value"> & {
30
+ readonly value: number;
31
+ };
32
+ type PaginationBaseProps = {
33
+ count: number;
34
+ progress: ReadonlyProgressValue;
35
+ orientation?: CarouselOrientation;
36
+ containerStyle?: StyleProp<Omit<ViewStyle, "direction" | "flexDirection">>;
37
+ dotStyle?: PaginationDotStyle;
38
+ activeDotStyle?: PaginationDotStyle;
39
+ };
40
+ export type CarouselProps<Item> = {
41
+ data: Item[];
42
+ renderItem: CarouselRenderItem<Item>;
43
+ keyExtractor?: (item: Item, index: number) => string;
44
+ defaultIndex?: number;
45
+ loop?: boolean;
46
+ autoplay?: boolean;
47
+ autoplayInterval?: number;
48
+ autoplayDirection?: CarouselAutoplayDirection;
49
+ orientation?: CarouselOrientation;
50
+ itemSize?: number;
51
+ scrollEnabled?: boolean;
52
+ snapMode?: CarouselSnapMode;
53
+ overscrollEnabled?: boolean;
54
+ renderWindowSize?: number;
55
+ animation?: CarouselAnimation;
56
+ progress?: SharedValue<number>;
57
+ onProgressChange?: CarouselProgressChangeHandler;
58
+ scrollOffsetValue?: SharedValue<number>;
59
+ style?: StyleProp<ViewStyle>;
60
+ contentContainerStyle?: StyleProp<CarouselContentContainerStyle>;
61
+ testID?: string;
62
+ onLayout?: (event: LayoutChangeEvent) => void;
63
+ onConfigurePanGesture?: (gesture: CarouselPanGesture) => void;
64
+ onScrollStart?: () => void;
65
+ onSnapToItem?: (index: number) => void;
66
+ } & CarouselLayoutSelection;
67
+ export interface CarouselRef {
68
+ prev(options?: CarouselStepOptions): void;
69
+ next(options?: CarouselStepOptions): void;
70
+ getCurrentIndex(): number;
71
+ scrollTo(options: CarouselScrollToOptions): void;
72
+ }
73
+ export type CarouselRenderItem<Item> = (info: CarouselRenderItemInfo<Item>) => React.ReactElement;
74
+ export interface CarouselRenderItemInfo<Item> {
75
+ item: Item;
76
+ index: number;
77
+ relativeProgress: SharedValue<number>;
78
+ }
79
+ export type CarouselProgressChangeHandler = (progress: number) => void;
80
+ export type CarouselLayout = {
81
+ type: "parallax";
82
+ offset?: number;
83
+ scale?: number;
84
+ adjacentScale?: number;
85
+ } | {
86
+ type: "horizontal-stack";
87
+ visibleCount?: number;
88
+ exitDistance?: number;
89
+ spacing?: number;
90
+ scaleStep?: number;
91
+ opacityStep?: number;
92
+ rotation?: number;
93
+ exitDirection?: CarouselExitDirection;
94
+ } | {
95
+ type: "vertical-stack";
96
+ visibleCount?: number;
97
+ exitDistance?: number;
98
+ spacing?: number;
99
+ scaleStep?: number;
100
+ opacityStep?: number;
101
+ rotation?: number;
102
+ exitDirection?: CarouselExitDirection;
103
+ };
104
+ export type CarouselAnimation = ({
105
+ type: "timing";
106
+ } & WithTimingConfig) | ({
107
+ type: "spring";
108
+ } & WithSpringConfig);
109
+ export type CarouselItemAnimation = (relativeProgress: number, index: number) => ViewStyle;
110
+ /**
111
+ * Supported configuration surface for Carousel's real RNGH pan gesture.
112
+ *
113
+ * Methods return this facade so chaining never exposes ownership-changing RNGH
114
+ * methods such as `enabled`, `runOnJS`, or `manualActivation`.
115
+ */
116
+ export interface CarouselPanGesture {
117
+ /**
118
+ * Controlled view of the underlying RNGH pan gesture configuration.
119
+ *
120
+ * Exposes the web-only `touchAction` option (e.g. `"pan-y"` so a
121
+ * horizontal carousel nested in a vertically scrollable page keeps native
122
+ * vertical scrolling on mobile web) without casting away the facade.
123
+ * Ownership-changing options such as `enabled`, `runOnJS`, or
124
+ * `manualActivation` intentionally stay hidden.
125
+ */
126
+ readonly config: Pick<PanGesture["config"], "touchAction">;
127
+ activeOffsetX(offset: number | [start: number, end: number]): this;
128
+ activeOffsetY(offset: number | [start: number, end: number]): this;
129
+ failOffsetX(offset: number | [start: number, end: number]): this;
130
+ failOffsetY(offset: number | [start: number, end: number]): this;
131
+ minPointers(count: number): this;
132
+ maxPointers(count: number): this;
133
+ minDistance(distance: number): this;
134
+ minVelocity(velocity: number): this;
135
+ minVelocityX(velocity: number): this;
136
+ minVelocityY(velocity: number): this;
137
+ averageTouches(value: boolean): this;
138
+ enableTrackpadTwoFingerGesture(value: boolean): this;
139
+ activateAfterLongPress(duration: number): this;
140
+ hitSlop(value: PanGestureHandlerProps["hitSlop"]): this;
141
+ mouseButton(button: MouseButton): this;
142
+ simultaneousWithExternalGesture(...gestures: CarouselExternalGestureRef[]): this;
143
+ requireExternalGestureToFail(...gestures: CarouselExternalGestureRef[]): this;
144
+ blocksExternalGesture(...gestures: CarouselExternalGestureRef[]): this;
145
+ onBegin(callback: (event: CarouselPanStateEvent) => void): this;
146
+ onStart(callback: (event: CarouselPanStateEvent) => void): this;
147
+ onUpdate(callback: (event: CarouselPanUpdateEvent) => void): this;
148
+ onChange(callback: (event: CarouselPanChangeEvent) => void): this;
149
+ onEnd(callback: (event: CarouselPanStateEvent, success: boolean) => void): this;
150
+ onFinalize(callback: (event: CarouselPanStateEvent, success: boolean) => void): this;
151
+ }
152
+ export interface CarouselStepOptions {
153
+ count?: number;
154
+ animated?: boolean;
155
+ }
156
+ export interface CarouselScrollToOptions {
157
+ index: number;
158
+ animated?: boolean;
159
+ }
160
+ export type PaginationProps = PaginationBaseProps & (InteractivePaginationProps | DecorativePaginationProps);
161
+ export interface PaginationDotStyle {
162
+ width?: number;
163
+ height?: number;
164
+ borderRadius?: number;
165
+ borderWidth?: number;
166
+ borderColor?: ColorValue;
167
+ backgroundColor?: ColorValue;
168
+ opacity?: number;
169
+ }
170
+ export {};
171
+ //# sourceMappingURL=public-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-types.d.ts","sourceRoot":"","sources":["../../../src/public-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACxF,OAAO,KAAK,EACV,uBAAuB,EACvB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,4BAA4B,EAC5B,6BAA6B,EAC7B,sBAAsB,EACvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,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ChE,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,GAAG,IAAI,CAAC;IAChE,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,GAAG,IAAI,CAAC;IAClE,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,GAAG,IAAI,CAAC;IAClE,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;IAChF,UAAU,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;CACtF;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAC/C,CAAC,0BAA0B,GAAG,yBAAyB,CAAC,CAAC;AAE3D,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,14 +1,14 @@
1
1
  import React from "react";
2
2
  import { SharedValue } from "react-native-reanimated";
3
- import type { ICommonVariables } from "../hooks/useCommonVariables";
4
- import type { TInitializeCarouselProps } from "../hooks/useInitProps";
3
+ import type { CarouselCommonVariables } from "../hooks/useCommonVariables";
4
+ import type { InitializedCarouselProps } from "../hooks/useInitProps";
5
5
  type ItemDimensions = Record<number, {
6
6
  width: number;
7
7
  height: number;
8
8
  }>;
9
- export interface IContext {
10
- props: TInitializeCarouselProps<any>;
11
- common: ICommonVariables;
9
+ export interface CarouselContext {
10
+ props: InitializedCarouselProps<unknown>;
11
+ common: CarouselCommonVariables;
12
12
  layout: {
13
13
  containerSize: SharedValue<{
14
14
  width: number;
@@ -25,11 +25,11 @@ export interface IContext {
25
25
  }) => void;
26
26
  };
27
27
  }
28
- export declare const GlobalStateContext: React.Context<IContext>;
28
+ export declare const GlobalStateContext: React.Context<CarouselContext>;
29
29
  export declare const GlobalStateProvider: ({ children, value, }: {
30
30
  children: React.ReactNode;
31
- value: Pick<IContext, "props" | "common">;
31
+ value: Pick<CarouselContext, "props" | "common">;
32
32
  }) => React.JSX.Element;
33
- export declare const useGlobalState: () => IContext;
33
+ export declare const useGlobalState: () => CarouselContext;
34
34
  export {};
35
35
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/store/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAkB,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,KAAK,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAExE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACzC,MAAM,EAAE,uBAAuB,CAAC;IAChC,MAAM,EAAE;QACN,aAAa,EAAE,WAAW,CAAC;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAC9D,mBAAmB,EAAE,CAAC,UAAU,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAC;QAC7E,cAAc,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;QAC5C,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAC;KAC9F,CAAC;CACH;AAED,eAAO,MAAM,kBAAkB,gCAA8D,CAAC;AAE9F,eAAO,MAAM,mBAAmB,yBAG7B;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;CAClD,sBAyBA,CAAC;AAEF,eAAO,MAAM,cAAc,uBAQ1B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { CarouselProps, CarouselScrollToOptions, CarouselStepOptions } from "./public-types";
2
+ export type { CarouselAnimation, CarouselItemAnimation, CarouselLayout, CarouselPanGesture, CarouselProgressChangeHandler, CarouselProps, CarouselRef, CarouselRenderItem, CarouselRenderItemInfo, CarouselScrollToOptions, CarouselStepOptions, PaginationDotStyle, PaginationProps, } from "./public-types";
3
+ /**
4
+ * Internal command options retain a completion hook so autoplay can schedule
5
+ * the next dwell period after a transition settles. This is never exported
6
+ * from the package root.
7
+ */
8
+ export type InternalCarouselStepOptions = CarouselStepOptions & {
9
+ onFinished?: () => void;
10
+ };
11
+ export type InternalCarouselScrollToOptions = CarouselScrollToOptions & {
12
+ onFinished?: () => void;
13
+ };
14
+ export type InternalCarouselProps<Item> = CarouselProps<Item>;
15
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAElG,YAAY,EACV,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,6BAA6B,EAC7B,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAExB;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG;IAC9D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,uBAAuB,GAAG;IACtE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAAC,IAAI,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type CarouselDirectionSign = -1 | 1;
2
+ export declare function getCarouselDirectionSign(options: {
3
+ isRTL: boolean;
4
+ orientation: "horizontal" | "vertical";
5
+ }): CarouselDirectionSign;
6
+ export declare function toLogicalGestureValue(physicalValue: number, directionSign: CarouselDirectionSign): number;
7
+ export declare function toPhysicalHorizontalValue(logicalValue: number, directionSign: CarouselDirectionSign): number;
8
+ export declare function getHorizontalStackOffsetType(exitDirection: "left" | "right", directionSign: CarouselDirectionSign): "positive" | "negative";
9
+ //# sourceMappingURL=carousel-direction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel-direction.d.ts","sourceRoot":"","sources":["../../../../src/utils/carousel-direction.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;AAE3C,wBAAgB,wBAAwB,CAAC,OAAO,EAAE;IAChD,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;CACxC,GAAG,qBAAqB,CAIxB;AAED,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,MAAM,EACrB,aAAa,EAAE,qBAAqB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,qBAAqB,GACnC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,aAAa,EAAE,MAAM,GAAG,OAAO,EAC/B,aAAa,EAAE,qBAAqB,GACnC,UAAU,GAAG,UAAU,CAMzB"}
@@ -0,0 +1,28 @@
1
+ export declare function positiveModulo(value: number, divisor: number): number;
2
+ export declare function getLogicalProgress(offset: number, itemSize: number): number;
3
+ export declare function getOffsetForLogicalPage(page: number, itemSize: number): number;
4
+ export declare function getNearestLogicalPage(offset: number, itemSize: number): number;
5
+ export declare function getSettledRawIndex(progress: number, count: number): number;
6
+ export declare function getNearestLoopPosition(rawIndex: number, progress: number, count: number): number;
7
+ export declare function getRelativeProgress(params: {
8
+ rawIndex: number;
9
+ progress: number;
10
+ count: number;
11
+ loop: boolean;
12
+ }): number;
13
+ export declare function getBoundedLoopOffset(offset: number, itemSize: number, count: number): number;
14
+ export declare function getShortestLoopTargetPage(params: {
15
+ currentPage: number;
16
+ targetIndex: number;
17
+ count: number;
18
+ }): number;
19
+ export declare function reconcileOffsetAfterDataChange(params: {
20
+ offset: number;
21
+ itemSize: number;
22
+ previousCount: number;
23
+ nextCount: number;
24
+ defaultIndex: number;
25
+ loop: boolean;
26
+ retainedIndex?: number | undefined;
27
+ }): number;
28
+ //# sourceMappingURL=carousel-math.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel-math.d.ts","sourceRoot":"","sources":["../../../../src/utils/carousel-math.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAOrE;AAED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+1 @@
1
+ {"version":3,"file":"compute-gesture-translation.d.ts","sourceRoot":"","sources":["../../../../src/utils/compute-gesture-translation.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,CAAC,OAAO,EAAE;IACjD,IAAI,EAAE,OAAO,CAAC;IACd,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,MAAM,CAqBT"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compute-offset-if-size-changed.d.ts","sourceRoot":"","sources":["../../../../src/utils/compute-offset-if-size-changed.ts"],"names":[],"mappings":"AAAA,wBAAgB,0BAA0B,CAAC,MAAM,EAAE;IACjD,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,UASA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computed-with-auto-fill-data.d.ts","sourceRoot":"","sources":["../../../../src/utils/computed-with-auto-fill-data.ts"],"names":[],"mappings":"AASA,KAAK,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI;IAClC,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;CACf,GAAG,CAAC,CAAC;AAEN,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,UAchG;AAED,wBAAgB,oCAAoC,CAClD,MAAM,EAAE,UAAU,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC,UAgBH;AAED,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC,UAcH;AAED,wBAAgB,gCAAgC,CAAC,CAAC,EAChD,MAAM,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC,GACD,CAAC,EAAE,CAaL"}
@@ -0,0 +1,3 @@
1
+ import type { CarouselAnimation } from "../types";
2
+ export declare function dealWithAnimation(animation: CarouselAnimation): (value: number, cb: (isFinished: boolean) => void) => number;
3
+ //# sourceMappingURL=deal-with-animation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deal-with-animation.d.ts","sourceRoot":"","sources":["../../../../src/utils/deal-with-animation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,iBAAiB,GAC3B,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,KAAK,MAAM,CAY9D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../../src/utils/log.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,GAAG,CAAC,GAAG,GAAG,EAAE,GAAG,QAE9B;AAED,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,UAGnC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sanitize-animation-style.d.ts","sourceRoot":"","sources":["../../../../src/utils/sanitize-animation-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAelE"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { CarouselProps, CarouselRef } from "../types";
3
+ type CarouselComponent = <T>(props: CarouselProps<T> & {
4
+ ref?: React.Ref<CarouselRef>;
5
+ }) => React.ReactElement;
6
+ export declare const Carousel: CarouselComponent;
7
+ export {};
8
+ //# sourceMappingURL=Carousel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAgB3D,KAAK,iBAAiB,GAAG,CAAC,CAAC,EACzB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG;IACxB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;CAC9B,KACE,KAAK,CAAC,YAAY,CAAC;AAExB,eAAO,MAAM,QAAQ,EAAmB,iBAAiB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { type ViewStyle } from "react-native";
3
+ import type { CarouselRef } from "../types";
4
+ export declare function resolveCarouselLayoutStyle(params: {
5
+ flattenedStyle: Partial<ViewStyle>;
6
+ isVertical: boolean;
7
+ measuredSize: number;
8
+ sizeExplicit: boolean;
9
+ }): {
10
+ width: number | import("react-native").Animated.AnimatedNode | "auto" | `${number}%`;
11
+ height: number | import("react-native").Animated.AnimatedNode | "auto" | `${number}%`;
12
+ };
13
+ export declare const CarouselLayout: React.ForwardRefExoticComponent<React.RefAttributes<CarouselRef>>;
14
+ //# sourceMappingURL=CarouselLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarouselLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/CarouselLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,wBAAgB,0BAA0B,CAAC,MAAM,EAAE;IACjD,cAAc,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;CACvB;;;EAWA;AAED,eAAO,MAAM,cAAc,mEAuLzB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ import type { SharedValue } from "react-native-reanimated";
3
+ import type { VisibleRangesValue } from "../hooks/useVisibleRanges";
4
+ import type { CarouselItemAnimation } from "../types";
5
+ export type ItemAnimationStyle = CarouselItemAnimation;
6
+ export declare function resolveItemMainAxisSize(params: {
7
+ explicitSize?: number | undefined;
8
+ effectivePageSize?: number | undefined;
9
+ measuredSize: number | null;
10
+ }): number | "100%";
11
+ export declare const ItemLayout: React.FC<{
12
+ index: number;
13
+ rawIndex: number;
14
+ handlerOffset: SharedValue<number>;
15
+ visibleRanges: VisibleRangesValue;
16
+ animationStyle: ItemAnimationStyle;
17
+ children: (ctx: {
18
+ relativeProgress: SharedValue<number>;
19
+ }) => React.ReactElement;
20
+ }>;
21
+ //# sourceMappingURL=ItemLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAW3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAKtD,MAAM,MAAM,kBAAkB,GAAG,qBAAqB,CAAC;AAEvD,wBAAgB,uBAAuB,CAAC,MAAM,EAAE;IAC9C,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,mBAQA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,aAAa,EAAE,kBAAkB,CAAC;IAClC,cAAc,EAAE,kBAAkB,CAAC;IACnC,QAAQ,EAAE,CAAC,GAAG,EAAE;QACd,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;KACvC,KAAK,KAAK,CAAC,YAAY,CAAC;CAC1B,CAwKA,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { FC } from "react";
2
+ import type { SharedValue } from "react-native-reanimated";
3
+ import type { ItemAnimationStyle } from "./ItemLayout";
4
+ import type { CarouselItemAnimation, CarouselRenderItem } from "../types";
5
+ interface Props {
6
+ data: unknown[];
7
+ rawData: unknown[];
8
+ dataLength: number;
9
+ rawDataLength: number;
10
+ loop: boolean;
11
+ size: number;
12
+ renderWindowSize?: number | undefined;
13
+ defaultIndex: number;
14
+ autoFillData: boolean;
15
+ offsetX: SharedValue<number>;
16
+ handlerOffset: SharedValue<number>;
17
+ layoutConfig: ItemAnimationStyle;
18
+ renderItem: CarouselRenderItem<unknown>;
19
+ itemAnimation?: CarouselItemAnimation | undefined;
20
+ keyExtractor?: ((item: unknown, index: number) => string) | undefined;
21
+ }
22
+ export declare const ItemRenderer: FC<Props>;
23
+ export {};
24
+ //# sourceMappingURL=ItemRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ItemRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAKvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG1E,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,YAAY,EAAE,kBAAkB,CAAC;IACjC,UAAU,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAClD,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;CACvE;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CA6FlC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { PropsWithChildren } from "react";
2
+ import React from "react";
3
+ interface Props {
4
+ shouldUpdate: boolean;
5
+ }
6
+ export declare const LazyView: React.FC<PropsWithChildren<Props>>;
7
+ export {};
8
+ //# sourceMappingURL=LazyView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LazyView.d.ts","sourceRoot":"","sources":["../../../../src/components/LazyView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,KAAK;IACb,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAMvD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import type { PaginationDotStyle, PaginationProps } from "../../public-types";
3
+ export declare function getPaginationDotDistance(progress: number, index: number, count: number): number;
4
+ export declare function getPaginationSelectedIndex(progress: number, count: number): number;
5
+ export declare function PaginationItem(props: {
6
+ activeDotStyle?: PaginationDotStyle | undefined;
7
+ count: number;
8
+ dotStyle?: PaginationDotStyle | undefined;
9
+ index: number;
10
+ label?: string | undefined;
11
+ onPress?: ((index: number) => void) | undefined;
12
+ progress: PaginationProps["progress"];
13
+ }): React.JSX.Element;
14
+ //# sourceMappingURL=PaginationItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/PaginationItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO9E,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAK/F;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAIlF;AAgBD,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,cAAc,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAChD,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CACvC,qBA+GA"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { PaginationProps } from "../../public-types";
3
+ export declare function Pagination(props: PaginationProps): React.JSX.Element | null;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAmC1D,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,4BAmEhD"}
@@ -0,0 +1,18 @@
1
+ import type { PropsWithChildren } from "react";
2
+ import React from "react";
3
+ import type { ViewProps } from "react-native";
4
+ import type { AnimatedProps, SharedValue } from "react-native-reanimated";
5
+ interface Props {
6
+ size: number;
7
+ infinite?: boolean;
8
+ testID?: string;
9
+ style?: AnimatedProps<ViewProps>["style"];
10
+ translation: SharedValue<number>;
11
+ onScrollStart?: () => void;
12
+ onScrollEnd?: () => void;
13
+ onTouchBegin?: () => void;
14
+ onTouchEnd?: () => void;
15
+ }
16
+ export declare const ScrollViewGesture: React.FC<PropsWithChildren<Props>>;
17
+ export {};
18
+ //# sourceMappingURL=ScrollViewGesture.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollViewGesture.d.ts","sourceRoot":"","sources":["../../../../src/components/ScrollViewGesture.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAqB,SAAS,EAAE,MAAM,cAAc,CAAC;AAajE,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAS1E,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC;IAC1C,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAwZD,eAAO,MAAM,iBAAiB,oCAAqB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { EasingFunction } from "react-native-reanimated";
2
+ export declare enum DATA_LENGTH {
3
+ SINGLE_ITEM = 1,
4
+ DOUBLE_ITEM = 2
5
+ }
6
+ export declare const Easing: {
7
+ easeOutQuart: EasingFunction;
8
+ };
9
+ //# sourceMappingURL=index.d.ts.map