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.
- package/README.md +31 -29
- package/lib/commonjs/components/Carousel.js +1 -1
- package/lib/commonjs/components/Carousel.js.map +1 -1
- package/lib/commonjs/components/CarouselLayout.js +1 -1
- package/lib/commonjs/components/CarouselLayout.js.map +1 -1
- package/lib/commonjs/components/ItemLayout.js +1 -1
- package/lib/commonjs/components/ItemLayout.js.map +1 -1
- package/lib/commonjs/components/ItemRenderer.js +1 -1
- package/lib/commonjs/components/ItemRenderer.js.map +1 -1
- package/lib/commonjs/components/Pagination/PaginationItem.js +2 -0
- package/lib/commonjs/components/Pagination/PaginationItem.js.map +1 -0
- package/lib/commonjs/components/Pagination/index.js +1 -1
- package/lib/commonjs/components/Pagination/index.js.map +1 -1
- package/lib/commonjs/components/ScrollViewGesture.js +1 -1
- package/lib/commonjs/components/ScrollViewGesture.js.map +1 -1
- package/lib/commonjs/hooks/useAutoPlay.js +1 -1
- package/lib/commonjs/hooks/useAutoPlay.js.map +1 -1
- package/lib/commonjs/hooks/useCarouselController.js +1 -1
- package/lib/commonjs/hooks/useCarouselController.js.map +1 -1
- package/lib/commonjs/hooks/useCommonVariables.js +1 -1
- package/lib/commonjs/hooks/useCommonVariables.js.map +1 -1
- package/lib/commonjs/hooks/useInitProps.js +1 -1
- package/lib/commonjs/hooks/useInitProps.js.map +1 -1
- package/lib/commonjs/hooks/useLayoutConfig.js +1 -1
- package/lib/commonjs/hooks/useLayoutConfig.js.map +1 -1
- package/lib/commonjs/hooks/useOffsetX.js.map +1 -1
- package/lib/commonjs/hooks/useOnProgressChange.js +1 -1
- package/lib/commonjs/hooks/useOnProgressChange.js.map +1 -1
- package/lib/commonjs/hooks/usePanGestureProxy.js.map +1 -1
- package/lib/commonjs/hooks/usePropsErrorBoundary.js +1 -1
- package/lib/commonjs/hooks/usePropsErrorBoundary.js.map +1 -1
- package/lib/commonjs/hooks/useUpdateGestureConfig.js.map +1 -1
- package/lib/commonjs/hooks/useVisibleRanges.js.map +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/layouts/index.js.map +1 -1
- package/lib/commonjs/layouts/normal.js +1 -1
- package/lib/commonjs/layouts/normal.js.map +1 -1
- package/lib/commonjs/layouts/parallax.js +1 -1
- package/lib/commonjs/layouts/parallax.js.map +1 -1
- package/lib/commonjs/layouts/stack.js +1 -1
- package/lib/commonjs/layouts/stack.js.map +1 -1
- package/lib/commonjs/public-types.js +2 -0
- package/lib/commonjs/public-types.js.map +1 -0
- package/lib/commonjs/store/index.js.map +1 -1
- package/lib/commonjs/utils/carousel-direction.js +2 -0
- package/lib/commonjs/utils/carousel-direction.js.map +1 -0
- package/lib/commonjs/utils/carousel-math.js +2 -0
- package/lib/commonjs/utils/carousel-math.js.map +1 -0
- package/lib/commonjs/utils/computed-with-auto-fill-data.js.map +1 -1
- package/lib/commonjs/utils/deal-with-animation.js +1 -1
- package/lib/commonjs/utils/deal-with-animation.js.map +1 -1
- package/lib/module/components/Carousel.js +1 -1
- package/lib/module/components/Carousel.js.map +1 -1
- package/lib/module/components/CarouselLayout.js +1 -1
- package/lib/module/components/CarouselLayout.js.map +1 -1
- package/lib/module/components/ItemLayout.js +1 -1
- package/lib/module/components/ItemLayout.js.map +1 -1
- package/lib/module/components/ItemRenderer.js +1 -1
- package/lib/module/components/ItemRenderer.js.map +1 -1
- package/lib/module/components/LazyView.js +1 -1
- package/lib/module/components/LazyView.js.map +1 -1
- package/lib/module/components/Pagination/PaginationItem.js +2 -0
- package/lib/module/components/Pagination/PaginationItem.js.map +1 -0
- package/lib/module/components/Pagination/index.js +1 -1
- package/lib/module/components/Pagination/index.js.map +1 -1
- package/lib/module/components/ScrollViewGesture.js +1 -1
- package/lib/module/components/ScrollViewGesture.js.map +1 -1
- package/lib/module/constants/index.js +1 -1
- package/lib/module/constants/index.js.map +1 -1
- package/lib/module/hooks/useAutoPlay.js +1 -1
- package/lib/module/hooks/useAutoPlay.js.map +1 -1
- package/lib/module/hooks/useCarouselController.js +1 -1
- package/lib/module/hooks/useCarouselController.js.map +1 -1
- package/lib/module/hooks/useCheckMounted.js +1 -1
- package/lib/module/hooks/useCheckMounted.js.map +1 -1
- package/lib/module/hooks/useCommonVariables.js +1 -1
- package/lib/module/hooks/useCommonVariables.js.map +1 -1
- package/lib/module/hooks/useInitProps.js +1 -1
- package/lib/module/hooks/useInitProps.js.map +1 -1
- package/lib/module/hooks/useLayoutConfig.js +1 -1
- package/lib/module/hooks/useLayoutConfig.js.map +1 -1
- package/lib/module/hooks/useOffsetX.js +1 -1
- package/lib/module/hooks/useOffsetX.js.map +1 -1
- package/lib/module/hooks/useOnProgressChange.js +1 -1
- package/lib/module/hooks/useOnProgressChange.js.map +1 -1
- package/lib/module/hooks/usePanGestureProxy.js +1 -1
- package/lib/module/hooks/usePanGestureProxy.js.map +1 -1
- package/lib/module/hooks/usePropsErrorBoundary.js +1 -1
- package/lib/module/hooks/usePropsErrorBoundary.js.map +1 -1
- package/lib/module/hooks/useUpdateGestureConfig.js +1 -1
- package/lib/module/hooks/useUpdateGestureConfig.js.map +1 -1
- package/lib/module/hooks/useVisibleRanges.js +1 -1
- package/lib/module/hooks/useVisibleRanges.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/layouts/index.js +1 -1
- package/lib/module/layouts/index.js.map +1 -1
- package/lib/module/layouts/normal.js +1 -1
- package/lib/module/layouts/normal.js.map +1 -1
- package/lib/module/layouts/parallax.js +1 -1
- package/lib/module/layouts/parallax.js.map +1 -1
- package/lib/module/layouts/stack.js +1 -1
- package/lib/module/layouts/stack.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/public-types.js +2 -0
- package/lib/module/public-types.js.map +1 -0
- package/lib/module/store/index.js +1 -1
- package/lib/module/store/index.js.map +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/utils/carousel-direction.js +2 -0
- package/lib/module/utils/carousel-direction.js.map +1 -0
- package/lib/module/utils/carousel-math.js +2 -0
- package/lib/module/utils/carousel-math.js.map +1 -0
- package/lib/module/utils/compute-gesture-translation.js +1 -1
- package/lib/module/utils/compute-gesture-translation.js.map +1 -1
- package/lib/module/utils/compute-offset-if-size-changed.js +1 -1
- package/lib/module/utils/compute-offset-if-size-changed.js.map +1 -1
- package/lib/module/utils/computed-with-auto-fill-data.js +1 -1
- package/lib/module/utils/computed-with-auto-fill-data.js.map +1 -1
- package/lib/module/utils/deal-with-animation.js +1 -1
- package/lib/module/utils/deal-with-animation.js.map +1 -1
- package/lib/module/utils/log.js +1 -1
- package/lib/module/utils/log.js.map +1 -1
- package/lib/module/utils/sanitize-animation-style.js +1 -1
- package/lib/module/utils/sanitize-animation-style.js.map +1 -1
- package/lib/typescript/commonjs/components/Carousel.d.ts +8 -0
- package/lib/typescript/commonjs/components/Carousel.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/components}/CarouselLayout.d.ts +5 -8
- package/lib/typescript/commonjs/components/CarouselLayout.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/ItemLayout.d.ts +21 -0
- package/lib/typescript/commonjs/components/ItemLayout.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/ItemRenderer.d.ts +24 -0
- package/lib/typescript/commonjs/components/ItemRenderer.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/LazyView.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Pagination/PaginationItem.d.ts +14 -0
- package/lib/typescript/commonjs/components/Pagination/PaginationItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Pagination/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/Pagination/index.d.ts.map +1 -0
- package/lib/typescript/{components → commonjs/components}/ScrollViewGesture.d.ts +3 -4
- package/lib/typescript/commonjs/components/ScrollViewGesture.d.ts.map +1 -0
- package/lib/typescript/commonjs/constants/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useAutoPlay.d.ts +12 -0
- package/lib/typescript/commonjs/hooks/useAutoPlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useCarouselController.d.ts +29 -0
- package/lib/typescript/commonjs/hooks/useCarouselController.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useCheckMounted.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useCommonVariables.d.ts +18 -0
- package/lib/typescript/commonjs/hooks/useCommonVariables.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useInitProps.d.ts +25 -0
- package/lib/typescript/commonjs/hooks/useInitProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useLayoutConfig.d.ts +8 -0
- package/lib/typescript/commonjs/hooks/useLayoutConfig.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useOffsetX.d.ts +13 -0
- package/lib/typescript/commonjs/hooks/useOffsetX.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useOnProgressChange.d.ts +12 -0
- package/lib/typescript/commonjs/hooks/useOnProgressChange.d.ts.map +1 -0
- package/lib/typescript/{hooks → commonjs/hooks}/usePanGestureProxy.d.ts +4 -3
- package/lib/typescript/commonjs/hooks/usePanGestureProxy.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/usePropsErrorBoundary.d.ts +3 -0
- package/lib/typescript/commonjs/hooks/usePropsErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useUpdateGestureConfig.d.ts +9 -0
- package/lib/typescript/commonjs/hooks/useUpdateGestureConfig.d.ts.map +1 -0
- package/lib/typescript/{hooks → commonjs/hooks}/useVisibleRanges.d.ts +6 -6
- package/lib/typescript/commonjs/hooks/useVisibleRanges.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +4 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/{layouts → commonjs/layouts}/index.d.ts +0 -1
- package/lib/typescript/commonjs/layouts/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/layouts/normal.d.ts +15 -0
- package/lib/typescript/commonjs/layouts/normal.d.ts.map +1 -0
- package/lib/typescript/commonjs/layouts/parallax.d.ts +27 -0
- package/lib/typescript/commonjs/layouts/parallax.d.ts.map +1 -0
- package/lib/typescript/commonjs/layouts/stack.d.ts +10 -0
- package/lib/typescript/commonjs/layouts/stack.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/public-types.d.ts +171 -0
- package/lib/typescript/commonjs/public-types.d.ts.map +1 -0
- package/lib/typescript/{store → commonjs/store}/index.d.ts +8 -8
- package/lib/typescript/commonjs/store/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/types.d.ts +15 -0
- package/lib/typescript/commonjs/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/carousel-direction.d.ts +9 -0
- package/lib/typescript/commonjs/utils/carousel-direction.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/carousel-math.d.ts +28 -0
- package/lib/typescript/commonjs/utils/carousel-math.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/compute-gesture-translation.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/compute-offset-if-size-changed.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/computed-with-auto-fill-data.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/deal-with-animation.d.ts +3 -0
- package/lib/typescript/commonjs/utils/deal-with-animation.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/log.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/sanitize-animation-style.d.ts.map +1 -0
- package/lib/typescript/module/components/Carousel.d.ts +8 -0
- package/lib/typescript/module/components/Carousel.d.ts.map +1 -0
- package/lib/typescript/module/components/CarouselLayout.d.ts +14 -0
- package/lib/typescript/module/components/CarouselLayout.d.ts.map +1 -0
- package/lib/typescript/module/components/ItemLayout.d.ts +21 -0
- package/lib/typescript/module/components/ItemLayout.d.ts.map +1 -0
- package/lib/typescript/module/components/ItemRenderer.d.ts +24 -0
- package/lib/typescript/module/components/ItemRenderer.d.ts.map +1 -0
- package/lib/typescript/module/components/LazyView.d.ts +8 -0
- package/lib/typescript/module/components/LazyView.d.ts.map +1 -0
- package/lib/typescript/module/components/Pagination/PaginationItem.d.ts +14 -0
- package/lib/typescript/module/components/Pagination/PaginationItem.d.ts.map +1 -0
- package/lib/typescript/module/components/Pagination/index.d.ts +4 -0
- package/lib/typescript/module/components/Pagination/index.d.ts.map +1 -0
- package/lib/typescript/module/components/ScrollViewGesture.d.ts +18 -0
- package/lib/typescript/module/components/ScrollViewGesture.d.ts.map +1 -0
- package/lib/typescript/module/constants/index.d.ts +9 -0
- package/lib/typescript/module/constants/index.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useAutoPlay.d.ts +12 -0
- package/lib/typescript/module/hooks/useAutoPlay.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useCarouselController.d.ts +29 -0
- package/lib/typescript/module/hooks/useCarouselController.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useCheckMounted.d.ts +3 -0
- package/lib/typescript/module/hooks/useCheckMounted.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useCommonVariables.d.ts +18 -0
- package/lib/typescript/module/hooks/useCommonVariables.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useInitProps.d.ts +25 -0
- package/lib/typescript/module/hooks/useInitProps.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useLayoutConfig.d.ts +8 -0
- package/lib/typescript/module/hooks/useLayoutConfig.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useOffsetX.d.ts +13 -0
- package/lib/typescript/module/hooks/useOffsetX.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useOnProgressChange.d.ts +12 -0
- package/lib/typescript/module/hooks/useOnProgressChange.d.ts.map +1 -0
- package/lib/typescript/module/hooks/usePanGestureProxy.d.ts +11 -0
- package/lib/typescript/module/hooks/usePanGestureProxy.d.ts.map +1 -0
- package/lib/typescript/module/hooks/usePropsErrorBoundary.d.ts +3 -0
- package/lib/typescript/module/hooks/usePropsErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useUpdateGestureConfig.d.ts +9 -0
- package/lib/typescript/module/hooks/useUpdateGestureConfig.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useVisibleRanges.d.ts +22 -0
- package/lib/typescript/module/hooks/useVisibleRanges.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +4 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/layouts/index.d.ts +10 -0
- package/lib/typescript/module/layouts/index.d.ts.map +1 -0
- package/lib/typescript/module/layouts/normal.d.ts +15 -0
- package/lib/typescript/module/layouts/normal.d.ts.map +1 -0
- package/lib/typescript/module/layouts/parallax.d.ts +27 -0
- package/lib/typescript/module/layouts/parallax.d.ts.map +1 -0
- package/lib/typescript/module/layouts/stack.d.ts +10 -0
- package/lib/typescript/module/layouts/stack.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/public-types.d.ts +171 -0
- package/lib/typescript/module/public-types.d.ts.map +1 -0
- package/lib/typescript/module/store/index.d.ts +35 -0
- package/lib/typescript/module/store/index.d.ts.map +1 -0
- package/lib/typescript/module/types.d.ts +15 -0
- package/lib/typescript/module/types.d.ts.map +1 -0
- package/lib/typescript/module/utils/carousel-direction.d.ts +9 -0
- package/lib/typescript/module/utils/carousel-direction.d.ts.map +1 -0
- package/lib/typescript/module/utils/carousel-math.d.ts +28 -0
- package/lib/typescript/module/utils/carousel-math.d.ts.map +1 -0
- package/lib/typescript/module/utils/compute-gesture-translation.d.ts +9 -0
- package/lib/typescript/module/utils/compute-gesture-translation.d.ts.map +1 -0
- package/lib/typescript/module/utils/compute-offset-if-size-changed.d.ts +6 -0
- package/lib/typescript/module/utils/compute-offset-if-size-changed.d.ts.map +1 -0
- package/lib/typescript/module/utils/computed-with-auto-fill-data.d.ts +23 -0
- package/lib/typescript/module/utils/computed-with-auto-fill-data.d.ts.map +1 -0
- package/lib/typescript/module/utils/deal-with-animation.d.ts +3 -0
- package/lib/typescript/module/utils/deal-with-animation.d.ts.map +1 -0
- package/lib/typescript/module/utils/log.d.ts +7 -0
- package/lib/typescript/module/utils/log.d.ts.map +1 -0
- package/lib/typescript/module/utils/sanitize-animation-style.d.ts +3 -0
- package/lib/typescript/module/utils/sanitize-animation-style.d.ts.map +1 -0
- package/package.json +31 -6
- package/scripts/codemods/v5.mjs +502 -0
- package/src/components/Carousel.tsx +5 -5
- package/src/components/CarouselLayout.tsx +52 -89
- package/src/components/ItemLayout.tsx +57 -48
- package/src/components/ItemRenderer.tsx +29 -18
- package/src/components/Pagination/PaginationItem.tsx +166 -0
- package/src/components/Pagination/index.tsx +105 -6
- package/src/components/ScrollViewGesture.tsx +92 -177
- package/src/hooks/useAutoPlay.ts +23 -18
- package/src/hooks/useCarouselController.tsx +196 -342
- package/src/hooks/useCommonVariables.ts +159 -71
- package/src/hooks/useInitProps.ts +161 -71
- package/src/hooks/useLayoutConfig.ts +21 -12
- package/src/hooks/useOffsetX.ts +6 -6
- package/src/hooks/useOnProgressChange.ts +23 -48
- package/src/hooks/usePanGestureProxy.ts +8 -8
- package/src/hooks/usePropsErrorBoundary.ts +32 -90
- package/src/hooks/useUpdateGestureConfig.ts +6 -3
- package/src/hooks/useVisibleRanges.tsx +6 -6
- package/src/index.tsx +14 -9
- package/src/layouts/index.tsx +0 -2
- package/src/layouts/normal.ts +14 -4
- package/src/layouts/parallax.ts +32 -59
- package/src/layouts/stack.ts +30 -70
- package/src/public-types.ts +209 -0
- package/src/store/index.tsx +7 -7
- package/src/types.ts +30 -322
- package/src/utils/carousel-direction.ts +39 -0
- package/src/utils/carousel-math.ts +156 -0
- package/src/utils/computed-with-auto-fill-data.ts +2 -2
- package/src/utils/deal-with-animation.ts +11 -9
- package/lib/commonjs/components/Pagination/Basic/PaginationItem.js +0 -2
- package/lib/commonjs/components/Pagination/Basic/PaginationItem.js.map +0 -1
- package/lib/commonjs/components/Pagination/Basic/index.js +0 -2
- package/lib/commonjs/components/Pagination/Basic/index.js.map +0 -1
- package/lib/commonjs/components/Pagination/Custom/PaginationItem.js +0 -2
- package/lib/commonjs/components/Pagination/Custom/PaginationItem.js.map +0 -1
- package/lib/commonjs/components/Pagination/Custom/index.js +0 -2
- package/lib/commonjs/components/Pagination/Custom/index.js.map +0 -1
- package/lib/commonjs/utils/compute-offset-if-data-changed.js +0 -2
- package/lib/commonjs/utils/compute-offset-if-data-changed.js.map +0 -1
- package/lib/commonjs/utils/handleroffset-direction.js +0 -2
- package/lib/commonjs/utils/handleroffset-direction.js.map +0 -1
- package/lib/module/components/Pagination/Basic/PaginationItem.js +0 -2
- package/lib/module/components/Pagination/Basic/PaginationItem.js.map +0 -1
- package/lib/module/components/Pagination/Basic/index.js +0 -2
- package/lib/module/components/Pagination/Basic/index.js.map +0 -1
- package/lib/module/components/Pagination/Custom/PaginationItem.js +0 -2
- package/lib/module/components/Pagination/Custom/PaginationItem.js.map +0 -1
- package/lib/module/components/Pagination/Custom/index.js +0 -2
- package/lib/module/components/Pagination/Custom/index.js.map +0 -1
- package/lib/module/utils/compute-offset-if-data-changed.js +0 -2
- package/lib/module/utils/compute-offset-if-data-changed.js.map +0 -1
- package/lib/module/utils/handleroffset-direction.js +0 -2
- package/lib/module/utils/handleroffset-direction.js.map +0 -1
- package/lib/typescript/components/Carousel.d.ts +0 -8
- package/lib/typescript/components/Carousel.d.ts.map +0 -1
- package/lib/typescript/components/CarouselLayout.d.ts.map +0 -1
- package/lib/typescript/components/ItemLayout.d.ts +0 -20
- package/lib/typescript/components/ItemLayout.d.ts.map +0 -1
- package/lib/typescript/components/ItemRenderer.d.ts +0 -23
- package/lib/typescript/components/ItemRenderer.d.ts.map +0 -1
- package/lib/typescript/components/LazyView.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/Basic/PaginationItem.d.ts +0 -29
- package/lib/typescript/components/Pagination/Basic/PaginationItem.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/Basic/index.d.ts +0 -23
- package/lib/typescript/components/Pagination/Basic/index.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/Custom/PaginationItem.d.ts +0 -35
- package/lib/typescript/components/Pagination/Custom/PaginationItem.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/Custom/index.d.ts +0 -26
- package/lib/typescript/components/Pagination/Custom/index.d.ts.map +0 -1
- package/lib/typescript/components/Pagination/index.d.ts +0 -5
- package/lib/typescript/components/Pagination/index.d.ts.map +0 -1
- package/lib/typescript/components/ScrollViewGesture.d.ts.map +0 -1
- package/lib/typescript/constants/index.d.ts.map +0 -1
- package/lib/typescript/hooks/useAutoPlay.d.ts +0 -12
- package/lib/typescript/hooks/useAutoPlay.d.ts.map +0 -1
- package/lib/typescript/hooks/useCarouselController.d.ts +0 -28
- package/lib/typescript/hooks/useCarouselController.d.ts.map +0 -1
- package/lib/typescript/hooks/useCheckMounted.d.ts.map +0 -1
- package/lib/typescript/hooks/useCommonVariables.d.ts +0 -13
- package/lib/typescript/hooks/useCommonVariables.d.ts.map +0 -1
- package/lib/typescript/hooks/useInitProps.d.ts +0 -10
- package/lib/typescript/hooks/useInitProps.d.ts.map +0 -1
- package/lib/typescript/hooks/useLayoutConfig.d.ts +0 -8
- package/lib/typescript/hooks/useLayoutConfig.d.ts.map +0 -1
- package/lib/typescript/hooks/useOffsetX.d.ts +0 -13
- package/lib/typescript/hooks/useOffsetX.d.ts.map +0 -1
- package/lib/typescript/hooks/useOnProgressChange.d.ts +0 -11
- package/lib/typescript/hooks/useOnProgressChange.d.ts.map +0 -1
- package/lib/typescript/hooks/usePanGestureProxy.d.ts.map +0 -1
- package/lib/typescript/hooks/usePropsErrorBoundary.d.ts +0 -5
- package/lib/typescript/hooks/usePropsErrorBoundary.d.ts.map +0 -1
- package/lib/typescript/hooks/useUpdateGestureConfig.d.ts +0 -6
- package/lib/typescript/hooks/useUpdateGestureConfig.d.ts.map +0 -1
- package/lib/typescript/hooks/useVisibleRanges.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -7
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/layouts/index.d.ts.map +0 -1
- package/lib/typescript/layouts/normal.d.ts +0 -13
- package/lib/typescript/layouts/normal.d.ts.map +0 -1
- package/lib/typescript/layouts/parallax.d.ts +0 -47
- package/lib/typescript/layouts/parallax.d.ts.map +0 -1
- package/lib/typescript/layouts/stack.d.ts +0 -38
- package/lib/typescript/layouts/stack.d.ts.map +0 -1
- package/lib/typescript/store/index.d.ts.map +0 -1
- package/lib/typescript/types.d.ts +0 -302
- package/lib/typescript/types.d.ts.map +0 -1
- package/lib/typescript/utils/compute-gesture-translation.d.ts.map +0 -1
- package/lib/typescript/utils/compute-offset-if-data-changed.d.ts +0 -9
- package/lib/typescript/utils/compute-offset-if-data-changed.d.ts.map +0 -1
- package/lib/typescript/utils/compute-offset-if-size-changed.d.ts.map +0 -1
- package/lib/typescript/utils/computed-with-auto-fill-data.d.ts.map +0 -1
- package/lib/typescript/utils/deal-with-animation.d.ts +0 -3
- package/lib/typescript/utils/deal-with-animation.d.ts.map +0 -1
- package/lib/typescript/utils/handleroffset-direction.d.ts +0 -4
- package/lib/typescript/utils/handleroffset-direction.d.ts.map +0 -1
- package/lib/typescript/utils/log.d.ts.map +0 -1
- package/lib/typescript/utils/sanitize-animation-style.d.ts.map +0 -1
- package/src/components/Pagination/Basic/PaginationItem.tsx +0 -149
- package/src/components/Pagination/Basic/index.tsx +0 -98
- package/src/components/Pagination/Custom/PaginationItem.tsx +0 -166
- package/src/components/Pagination/Custom/index.tsx +0 -111
- package/src/utils/compute-offset-if-data-changed.ts +0 -44
- package/src/utils/handleroffset-direction.ts +0 -18
- /package/lib/typescript/{components → commonjs/components}/LazyView.d.ts +0 -0
- /package/lib/typescript/{constants → commonjs/constants}/index.d.ts +0 -0
- /package/lib/typescript/{hooks → commonjs/hooks}/useCheckMounted.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/compute-gesture-translation.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/compute-offset-if-size-changed.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/computed-with-auto-fill-data.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/log.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/sanitize-animation-style.d.ts +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.omitZero=exports.computeOffsetIfDataChanged=void 0;var _worklet_1373955993740_init_data={code:"function omitZero_computeOffsetIfDataChangedTs1(a,b){if(a===0)return 0;return b;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-data-changed.ts",sourceMap:"{\"version\":3,\"names\":[\"omitZero_computeOffsetIfDataChangedTs1\",\"a\",\"b\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-data-changed.ts\"],\"mappings\":\"AAAO,SAAAA,sCAAwCA,CAAAC,CAAA,CAAAC,CAAA,EAE7C,GAAID,CAAC,GAAK,CAAC,CAAE,MAAO,EAAC,CAErB,MAAO,CAAAC,CAAC,CACV\",\"ignoreList\":[]}"};var omitZero=exports.omitZero=function omitZero_computeOffsetIfDataChangedTs1Factory(_ref){var _worklet_1373955993740_init_data=_ref._worklet_1373955993740_init_data;var _e=[new global.Error(),1,-27];var omitZero=function omitZero(a,b){if(a===0)return 0;return b;};omitZero.__closure={};omitZero.__workletHash=1373955993740;omitZero.__pluginVersion="0.5.2";omitZero.__initData=_worklet_1373955993740_init_data;omitZero.__stackDetails=_e;return omitZero;}({_worklet_1373955993740_init_data:_worklet_1373955993740_init_data});var _worklet_2452656735005_init_data={code:"function computeOffsetIfDataChanged_computeOffsetIfDataChangedTs2(params){const{omitZero}=this.__closure;const{direction:direction,handlerOffset:_handlerOffset,size:size,previousLength:previousLength,currentLength:currentLength}=params;let handlerOffset=_handlerOffset;let positionIndex;let round;const isPositive=direction<0;if(isPositive){positionIndex=Math.abs(handlerOffset)/size;round=Number.parseInt(String(omitZero(previousLength,positionIndex/previousLength)));}else{positionIndex=(Math.abs(handlerOffset)-size)/size;round=Number.parseInt(String(omitZero(previousLength,positionIndex/previousLength)))+1;}const prevOffset=omitZero(previousLength,positionIndex%previousLength);const prevIndex=isPositive?prevOffset:previousLength-prevOffset-1;const changedLength=round*(currentLength-previousLength);const changedOffset=changedLength*size;if(prevIndex>currentLength-1&¤tLength<previousLength){if(isPositive)handlerOffset=(currentLength-1)*size*direction;else handlerOffset=(currentLength-1)*size*-1;}else{handlerOffset+=changedOffset*direction;}return handlerOffset;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-data-changed.ts",sourceMap:"{\"version\":3,\"names\":[\"computeOffsetIfDataChanged_computeOffsetIfDataChangedTs2\",\"params\",\"omitZero\",\"__closure\",\"direction\",\"handlerOffset\",\"_handlerOffset\",\"size\",\"previousLength\",\"currentLength\",\"positionIndex\",\"round\",\"isPositive\",\"Math\",\"abs\",\"Number\",\"parseInt\",\"String\",\"prevOffset\",\"prevIndex\",\"changedLength\",\"changedOffset\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-data-changed.ts\"],\"mappings\":\"AAOO,SAAAA,wDAMJA,CAAAC,MAAA,QAAAC,QAAA,OAAAC,SAAA,CAED,KAAM,CAAEC,SAAS,CAATA,SAAS,CAAEC,aAAa,CAAEC,cAAc,CAAEC,IAAI,CAAJA,IAAI,CAAEC,cAAc,CAAdA,cAAc,CAAEC,aAAA,CAAAA,aAAc,CAAC,CAAGR,MAAM,CAEhG,GAAI,CAAAI,aAAa,CAAGC,cAAc,CAClC,GAAI,CAAAI,aAAqB,CACzB,GAAI,CAAAC,KAAa,CAEjB,KAAM,CAAAC,UAAU,CAAGR,SAAS,CAAG,CAAC,CAEhC,GAAIQ,UAAU,CAAE,CACdF,aAAa,CAAGG,IAAI,CAACC,GAAG,CAACT,aAAa,CAAC,CAAGE,IAAI,CAC9CI,KAAK,CAAGI,MAAM,CAACC,QAAQ,CAACC,MAAM,CAACf,QAAQ,CAACM,cAAc,CAAEE,aAAa,CAAGF,cAAc,CAAC,CAAC,CAAC,CAC3F,CAAC,IAAM,CACLE,aAAa,CAAG,CAACG,IAAI,CAACC,GAAG,CAACT,aAAa,CAAC,CAAGE,IAAI,EAAIA,IAAI,CACvDI,KAAK,CAAGI,MAAM,CAACC,QAAQ,CAACC,MAAM,CAACf,QAAQ,CAACM,cAAc,CAAEE,aAAa,CAAGF,cAAc,CAAC,CAAC,CAAC,CAAG,CAAC,CAC/F,CAEA,KAAM,CAAAU,UAAU,CAAGhB,QAAQ,CAACM,cAAc,CAAEE,aAAa,CAAGF,cAAc,CAAC,CAC3E,KAAM,CAAAW,SAAS,CAAGP,UAAU,CAAGM,UAAU,CAAGV,cAAc,CAAGU,UAAU,CAAG,CAAC,CAC3E,KAAM,CAAAE,aAAa,CAAGT,KAAK,EAAIF,aAAa,CAAGD,cAAc,CAAC,CAC9D,KAAM,CAAAa,aAAa,CAAGD,aAAa,CAAGb,IAAI,CAC1C,GAAIY,SAAS,CAAGV,aAAa,CAAG,CAAC,EAAIA,aAAa,CAAGD,cAAc,CAAE,CACnE,GAAII,UAAU,CAAEP,aAAa,CAAG,CAACI,aAAa,CAAG,CAAC,EAAIF,IAAI,CAAGH,SAAS,CAAC,IAClE,CAAAC,aAAa,CAAG,CAACI,aAAa,CAAG,CAAC,EAAIF,IAAI,CAAG,CAAC,CAAC,CACtD,CAAC,IAAM,CACLF,aAAa,EAAIgB,aAAa,CAAGjB,SAAS,CAC5C,CAEA,MAAO,CAAAC,aAAa,CACtB\",\"ignoreList\":[]}"};var computeOffsetIfDataChanged=exports.computeOffsetIfDataChanged=function computeOffsetIfDataChanged_computeOffsetIfDataChangedTs2Factory(_ref2){var _worklet_2452656735005_init_data=_ref2._worklet_2452656735005_init_data,omitZero=_ref2.omitZero;var _e=[new global.Error(),-2,-27];var computeOffsetIfDataChanged=function computeOffsetIfDataChanged(params){var direction=params.direction,_handlerOffset=params.handlerOffset,size=params.size,previousLength=params.previousLength,currentLength=params.currentLength;var handlerOffset=_handlerOffset;var positionIndex;var round;var isPositive=direction<0;if(isPositive){positionIndex=Math.abs(handlerOffset)/size;round=Number.parseInt(String(omitZero(previousLength,positionIndex/previousLength)));}else{positionIndex=(Math.abs(handlerOffset)-size)/size;round=Number.parseInt(String(omitZero(previousLength,positionIndex/previousLength)))+1;}var prevOffset=omitZero(previousLength,positionIndex%previousLength);var prevIndex=isPositive?prevOffset:previousLength-prevOffset-1;var changedLength=round*(currentLength-previousLength);var changedOffset=changedLength*size;if(prevIndex>currentLength-1&¤tLength<previousLength){if(isPositive)handlerOffset=(currentLength-1)*size*direction;else handlerOffset=(currentLength-1)*size*-1;}else{handlerOffset+=changedOffset*direction;}return handlerOffset;};computeOffsetIfDataChanged.__closure={omitZero:omitZero};computeOffsetIfDataChanged.__workletHash=2452656735005;computeOffsetIfDataChanged.__pluginVersion="0.5.2";computeOffsetIfDataChanged.__initData=_worklet_2452656735005_init_data;computeOffsetIfDataChanged.__stackDetails=_e;return computeOffsetIfDataChanged;}({_worklet_2452656735005_init_data:_worklet_2452656735005_init_data,omitZero:omitZero});
|
|
2
|
-
//# sourceMappingURL=compute-offset-if-data-changed.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["omitZero_computeOffsetIfDataChangedTs1Factory","_ref","_worklet_1373955993740_init_data","_e","global","Error","omitZero","a","b","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","_worklet_2452656735005_init_data","code","location","sourceMap","computeOffsetIfDataChanged","exports","computeOffsetIfDataChanged_computeOffsetIfDataChangedTs2Factory","_ref2","params","direction","_handlerOffset","handlerOffset","size","previousLength","currentLength","positionIndex","round","isPositive","Math","abs","Number","parseInt","String","prevOffset","prevIndex","changedLength","changedOffset"],"sourceRoot":"../../../src","sources":["utils/compute-offset-if-data-changed.ts"],"mappings":"+xBAAO,SAAAA,8CAAAC,IAAA,MAAAC,gCAAA,CAAAD,IAAA,CAAAC,gCAAA,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAC,QAAA,UAAAA,SAAkBC,CAAS,CAAEC,CAAS,CAAE,CAE7C,GAAID,CAAC,GAAK,CAAC,CAAE,MAAO,EAAC,CAErB,MAAO,CAAAC,CAAC,CACV,CAAC,CAAAF,QAAA,CAAAG,SAAA,IAAAH,QAAA,CAAAI,aAAA,eAAAJ,QAAA,CAAAK,eAAA,SAAAL,QAAA,CAAAM,UAAA,CAAAV,gCAAA,CAAAI,QAAA,CAAAO,cAAA,CAAAV,EAAA,QAAAG,QAAA,EALM,EAAAJ,gCAAA,CAAAA,gCAAA,OAAAY,gCAAA,EAAAC,IAAA,4jCAAAC,QAAA,mIAAAC,SAAA,qyDAAAC,0BAAA,CAAAC,OAAA,CAAAD,0BAAA,CAOA,SAAAE,gEAAAC,KAAA,MAAAP,gCAAA,CAAAO,KAAA,CAAAP,gCAAA,CAkB4BR,QAAQ,CAAAe,KAAA,CAARf,QAAQ,KAAAH,EAAA,MAAAC,MAAA,CAAAC,KAAA,eAAAa,0BAAA,UAAAA,2BAlBAI,MAM1C,CAAE,CAED,GAAQ,CAAAC,SAAS,CAAyED,MAAM,CAAxFC,SAAS,CAAiBC,cAAc,CAA0CF,MAAM,CAA7EG,aAAa,CAAkBC,IAAI,CAAoCJ,MAAM,CAA9CI,IAAI,CAAEC,cAAc,CAAoBL,MAAM,CAAxCK,cAAc,CAAEC,aAAa,CAAKN,MAAM,CAAxBM,aAAa,CAErF,GAAI,CAAAH,aAAa,CAAGD,cAAc,CAClC,GAAI,CAAAK,aAAqB,CACzB,GAAI,CAAAC,KAAa,CAEjB,GAAM,CAAAC,UAAU,CAAGR,SAAS,CAAG,CAAC,CAEhC,GAAIQ,UAAU,CAAE,CACdF,aAAa,CAAGG,IAAI,CAACC,GAAG,CAACR,aAAa,CAAC,CAAGC,IAAI,CAC9CI,KAAK,CAAGI,MAAM,CAACC,QAAQ,CAACC,MAAM,CAAC9B,QAAQ,CAACqB,cAAc,CAAEE,aAAa,CAAGF,cAAc,CAAC,CAAC,CAAC,CAC3F,CAAC,IAAM,CACLE,aAAa,CAAG,CAACG,IAAI,CAACC,GAAG,CAACR,aAAa,CAAC,CAAGC,IAAI,EAAIA,IAAI,CACvDI,KAAK,CAAGI,MAAM,CAACC,QAAQ,CAACC,MAAM,CAAC9B,QAAQ,CAACqB,cAAc,CAAEE,aAAa,CAAGF,cAAc,CAAC,CAAC,CAAC,CAAG,CAAC,CAC/F,CAEA,GAAM,CAAAU,UAAU,CAAG/B,QAAQ,CAACqB,cAAc,CAAEE,aAAa,CAAGF,cAAc,CAAC,CAC3E,GAAM,CAAAW,SAAS,CAAGP,UAAU,CAAGM,UAAU,CAAGV,cAAc,CAAGU,UAAU,CAAG,CAAC,CAC3E,GAAM,CAAAE,aAAa,CAAGT,KAAK,EAAIF,aAAa,CAAGD,cAAc,CAAC,CAC9D,GAAM,CAAAa,aAAa,CAAGD,aAAa,CAAGb,IAAI,CAC1C,GAAIY,SAAS,CAAGV,aAAa,CAAG,CAAC,EAAIA,aAAa,CAAGD,cAAc,CAAE,CACnE,GAAII,UAAU,CAAEN,aAAa,CAAG,CAACG,aAAa,CAAG,CAAC,EAAIF,IAAI,CAAGH,SAAS,CAAC,IAClE,CAAAE,aAAa,CAAG,CAACG,aAAa,CAAG,CAAC,EAAIF,IAAI,CAAG,CAAC,CAAC,CACtD,CAAC,IAAM,CACLD,aAAa,EAAIe,aAAa,CAAGjB,SAAS,CAC5C,CAEA,MAAO,CAAAE,aAAa,CACtB,CAAC,CAAAP,0BAAA,CAAAT,SAAA,EAlBkCH,QAAQ,CAARA,QAAQ,EAAAY,0BAAA,CAAAR,aAAA,eAAAQ,0BAAA,CAAAP,eAAA,SAAAO,0BAAA,CAAAN,UAAA,CAAAE,gCAAA,CAAAI,0BAAA,CAAAL,cAAA,CAAAV,EAAA,QAAAe,0BAAA,EAlBpC,EAAAJ,gCAAA,CAAAA,gCAAA,CAkB4BR,QAAQ,CAARA,QAAQ","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.handlerOffsetDirection=void 0;var _worklet_7904405734231_init_data={code:"function handlerOffsetDirection_handleroffsetDirectionTs1(handlerOffset,fixedDirection){if(fixedDirection===\"negative\")return-1;if(fixedDirection===\"positive\")return 1;if(handlerOffset.value===0)return-1;return Math.sign(handlerOffset.value);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/handleroffset-direction.ts",sourceMap:"{\"version\":3,\"names\":[\"handlerOffsetDirection_handleroffsetDirectionTs1\",\"handlerOffset\",\"fixedDirection\",\"value\",\"Math\",\"sign\"],\"sources\":[\"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/handleroffset-direction.ts\"],\"mappings\":\"AAIO,SAAAA,gDAELA,CAAAC,aACQ,CAAAC,cAAA,EAGR,GAAIA,cAAc,GAAK,UAAU,CAAE,MAAO,CAAC,CAAC,CAE5C,GAAIA,cAAc,GAAK,UAAU,CAAE,MAAO,EAAC,CAE3C,GAAID,aAAa,CAACE,KAAK,GAAK,CAAC,CAAE,MAAO,CAAC,CAAC,CAExC,MAAO,CAAAC,IAAI,CAACC,IAAI,CAACJ,aAAa,CAACE,KAAK,CAAC,CACvC\",\"ignoreList\":[]}"};var handlerOffsetDirection=exports.handlerOffsetDirection=function handlerOffsetDirection_handleroffsetDirectionTs1Factory(_ref){var _worklet_7904405734231_init_data=_ref._worklet_7904405734231_init_data;var _e=[new global.Error(),1,-27];var handlerOffsetDirection=function handlerOffsetDirection(handlerOffset,fixedDirection){if(fixedDirection==="negative")return-1;if(fixedDirection==="positive")return 1;if(handlerOffset.value===0)return-1;return Math.sign(handlerOffset.value);};handlerOffsetDirection.__closure={};handlerOffsetDirection.__workletHash=7904405734231;handlerOffsetDirection.__pluginVersion="0.5.2";handlerOffsetDirection.__initData=_worklet_7904405734231_init_data;handlerOffsetDirection.__stackDetails=_e;return handlerOffsetDirection;}({_worklet_7904405734231_init_data:_worklet_7904405734231_init_data});
|
|
2
|
-
//# sourceMappingURL=handleroffset-direction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["handlerOffsetDirection_handleroffsetDirectionTs1Factory","_ref","_worklet_7904405734231_init_data","_e","global","Error","handlerOffsetDirection","handlerOffset","fixedDirection","value","Math","sign","__closure","__workletHash","__pluginVersion","__initData","__stackDetails"],"sourceRoot":"../../../src","sources":["utils/handleroffset-direction.ts"],"mappings":"2oCAIO,SAAAA,wDAAAC,IAAA,MAAAC,gCAAA,CAAAD,IAAA,CAAAC,gCAAA,KAAAC,EAAA,MAAAC,MAAA,CAAAC,KAAA,cAAAC,sBAAA,UAAAA,uBACLC,aAAkC,CAClCC,cAAiD,CACzC,CAGR,GAAIA,cAAc,GAAK,UAAU,CAAE,MAAO,CAAC,CAAC,CAE5C,GAAIA,cAAc,GAAK,UAAU,CAAE,MAAO,EAAC,CAE3C,GAAID,aAAa,CAACE,KAAK,GAAK,CAAC,CAAE,MAAO,CAAC,CAAC,CAExC,MAAO,CAAAC,IAAI,CAACC,IAAI,CAACJ,aAAa,CAACE,KAAK,CAAC,CACvC,CAAC,CAAAH,sBAAA,CAAAM,SAAA,IAAAN,sBAAA,CAAAO,aAAA,eAAAP,sBAAA,CAAAQ,eAAA,SAAAR,sBAAA,CAAAS,UAAA,CAAAb,gCAAA,CAAAI,sBAAA,CAAAU,cAAA,CAAAb,EAAA,QAAAG,sBAAA,EAbM,EAAAJ,gCAAA,CAAAA,gCAAA","ignoreList":[]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { ICarouselInstance, TCarouselProps } from "../types";
|
|
3
|
-
type CarouselComponent = <T>(props: React.PropsWithChildren<TCarouselProps<T>> & {
|
|
4
|
-
ref?: React.Ref<ICarouselInstance>;
|
|
5
|
-
}) => React.ReactElement;
|
|
6
|
-
declare const _default: CarouselComponent;
|
|
7
|
-
export default _default;
|
|
8
|
-
//# sourceMappingURL=Carousel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,iBAAiB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAgBlE,KAAK,iBAAiB,GAAG,CAAC,CAAC,EACzB,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,GAAG;IAClD,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACpC,KACE,KAAK,CAAC,YAAY,CAAC;wBAEG,iBAAiB;AAA5C,wBAA6C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselLayout.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAK7C,MAAM,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;AAE3D,wBAAgB,0BAA0B,CAAC,MAAM,EAAE;IACjD,cAAc,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;;;EAmBA;AAED,eAAO,MAAM,cAAc,yEA+MzB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
3
|
-
import type { IVisibleRanges } from "../hooks/useVisibleRanges";
|
|
4
|
-
import type { TCarouselProps } from "../types";
|
|
5
|
-
export type TAnimationStyle = NonNullable<TCarouselProps["customAnimation"]>;
|
|
6
|
-
export declare function resolveItemMainAxisSize(params: {
|
|
7
|
-
explicitSize?: number;
|
|
8
|
-
effectivePageSize?: number;
|
|
9
|
-
measuredSize: number | null;
|
|
10
|
-
}): number | "100%";
|
|
11
|
-
export declare const ItemLayout: React.FC<{
|
|
12
|
-
index: number;
|
|
13
|
-
handlerOffset: SharedValue<number>;
|
|
14
|
-
visibleRanges: IVisibleRanges;
|
|
15
|
-
animationStyle: TAnimationStyle;
|
|
16
|
-
children: (ctx: {
|
|
17
|
-
animationValue: SharedValue<number>;
|
|
18
|
-
}) => React.ReactElement;
|
|
19
|
-
}>;
|
|
20
|
-
//# sourceMappingURL=ItemLayout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAU3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAGhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAE7E,wBAAgB,uBAAuB,CAAC,MAAM,EAAE;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,mBAQA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,aAAa,EAAE,cAAc,CAAC;IAC9B,cAAc,EAAE,eAAe,CAAC;IAChC,QAAQ,EAAE,CAAC,GAAG,EAAE;QACd,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;KACrC,KAAK,KAAK,CAAC,YAAY,CAAC;CAC1B,CAkKA,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { FC } from "react";
|
|
2
|
-
import type { ViewStyle } from "react-native";
|
|
3
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
4
|
-
import type { TAnimationStyle } from "./ItemLayout";
|
|
5
|
-
import type { CarouselRenderItem } from "../types";
|
|
6
|
-
interface Props {
|
|
7
|
-
data: any[];
|
|
8
|
-
dataLength: number;
|
|
9
|
-
rawDataLength: number;
|
|
10
|
-
loop: boolean;
|
|
11
|
-
size: number;
|
|
12
|
-
windowSize?: number;
|
|
13
|
-
defaultIndex: number;
|
|
14
|
-
autoFillData: boolean;
|
|
15
|
-
offsetX: SharedValue<number>;
|
|
16
|
-
handlerOffset: SharedValue<number>;
|
|
17
|
-
layoutConfig: TAnimationStyle;
|
|
18
|
-
renderItem: CarouselRenderItem<any>;
|
|
19
|
-
customAnimation?: (value: number, index: number) => ViewStyle;
|
|
20
|
-
}
|
|
21
|
-
export declare const ItemRenderer: FC<Props>;
|
|
22
|
-
export {};
|
|
23
|
-
//# sourceMappingURL=ItemRenderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAKpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,UAAU,KAAK;IACb,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,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,eAAe,CAAC;IAC9B,UAAU,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC;IACpC,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;CAC/D;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CAmFlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { PropsWithChildren } from "react";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import type { AccessibilityRole, AccessibilityState, ViewStyle } from "react-native";
|
|
4
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
5
|
-
export type DotStyle = Omit<ViewStyle, "width" | "height"> & {
|
|
6
|
-
width?: number;
|
|
7
|
-
height?: number;
|
|
8
|
-
};
|
|
9
|
-
export type PaginationItemAccessibilityOverrides = {
|
|
10
|
-
accessibilityLabel?: string;
|
|
11
|
-
accessibilityHint?: string;
|
|
12
|
-
accessibilityRole?: AccessibilityRole;
|
|
13
|
-
accessibilityState?: AccessibilityState;
|
|
14
|
-
};
|
|
15
|
-
export declare const PaginationItem: React.FC<PropsWithChildren<{
|
|
16
|
-
index: number;
|
|
17
|
-
count: number;
|
|
18
|
-
size?: number;
|
|
19
|
-
animValue: SharedValue<number>;
|
|
20
|
-
horizontal?: boolean;
|
|
21
|
-
dotStyle?: DotStyle;
|
|
22
|
-
activeDotStyle?: DotStyle;
|
|
23
|
-
onPress: () => void;
|
|
24
|
-
accessibilityLabel?: string;
|
|
25
|
-
accessibilityHint?: string;
|
|
26
|
-
accessibilityRole?: AccessibilityRole;
|
|
27
|
-
accessibilityState?: AccessibilityState;
|
|
28
|
-
}>>;
|
|
29
|
-
//# sourceMappingURL=PaginationItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/Basic/PaginationItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAS3D,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CACnC,iBAAiB,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC,CA6GH,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { type StyleProp, type ViewStyle } from "react-native";
|
|
2
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import type { DotStyle, PaginationItemAccessibilityOverrides } from "./PaginationItem";
|
|
5
|
-
export interface BasicProps<T> {
|
|
6
|
-
progress: SharedValue<number>;
|
|
7
|
-
horizontal?: boolean;
|
|
8
|
-
data: Array<T>;
|
|
9
|
-
renderItem?: (item: T, index: number) => React.ReactNode;
|
|
10
|
-
containerStyle?: StyleProp<ViewStyle>;
|
|
11
|
-
dotStyle?: DotStyle;
|
|
12
|
-
activeDotStyle?: DotStyle;
|
|
13
|
-
size?: number;
|
|
14
|
-
onPress?: (index: number) => void;
|
|
15
|
-
carouselName?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Optional accessibility overrides for each pagination item.
|
|
18
|
-
* Use this to fully control screen reader announcements per dot.
|
|
19
|
-
*/
|
|
20
|
-
paginationItemAccessibility?: (index: number, length: number) => PaginationItemAccessibilityOverrides;
|
|
21
|
-
}
|
|
22
|
-
export declare const Basic: <T extends {}>(props: BasicProps<T>) => React.JSX.Element;
|
|
23
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/Basic/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,QAAQ,EAAE,oCAAoC,EAAE,MAAM,kBAAkB,CAAC;AAGvF,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACf,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACzD,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,2BAA2B,CAAC,EAAE,CAC5B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,KACX,oCAAoC,CAAC;CAC3C;AAED,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS,EAAE,SAAS,UAAU,CAAC,CAAC,CAAC,sBAqEvD,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { PropsWithChildren } from "react";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import type { AccessibilityRole, AccessibilityState } from "react-native";
|
|
4
|
-
import type { ImageStyle, TextStyle, ViewStyle } from "react-native";
|
|
5
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
6
|
-
type AnimatedDefaultStyle = ViewStyle | ImageStyle | TextStyle;
|
|
7
|
-
export type PaginationItemAccessibilityOverrides = {
|
|
8
|
-
accessibilityLabel?: string;
|
|
9
|
-
accessibilityHint?: string;
|
|
10
|
-
accessibilityRole?: AccessibilityRole;
|
|
11
|
-
accessibilityState?: AccessibilityState;
|
|
12
|
-
};
|
|
13
|
-
export type DotStyle = Omit<ViewStyle, "width" | "height" | "backgroundColor" | "borderRadius"> & {
|
|
14
|
-
width?: number;
|
|
15
|
-
height?: number;
|
|
16
|
-
backgroundColor?: string;
|
|
17
|
-
borderRadius?: number;
|
|
18
|
-
};
|
|
19
|
-
export declare const PaginationItem: React.FC<PropsWithChildren<{
|
|
20
|
-
index: number;
|
|
21
|
-
count: number;
|
|
22
|
-
size?: number;
|
|
23
|
-
animValue: SharedValue<number>;
|
|
24
|
-
horizontal?: boolean;
|
|
25
|
-
dotStyle?: DotStyle;
|
|
26
|
-
activeDotStyle?: DotStyle;
|
|
27
|
-
onPress: () => void;
|
|
28
|
-
customReanimatedStyle?: (progress: number, index: number, length: number) => AnimatedDefaultStyle;
|
|
29
|
-
accessibilityLabel?: string;
|
|
30
|
-
accessibilityHint?: string;
|
|
31
|
-
accessibilityRole?: AccessibilityRole;
|
|
32
|
-
accessibilityState?: AccessibilityState;
|
|
33
|
-
}>>;
|
|
34
|
-
export {};
|
|
35
|
-
//# sourceMappingURL=PaginationItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/Custom/PaginationItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAY3D,KAAK,oBAAoB,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAE/D,MAAM,MAAM,oCAAoC,GAAG;IACjD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,iBAAiB,GAAG,cAAc,CAAC,GAAG;IAChG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CACnC,iBAAiB,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,qBAAqB,CAAC,EAAE,CACtB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,KACX,oBAAoB,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC,CAiHH,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { ImageStyle, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
3
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
4
|
-
import type { DotStyle, PaginationItemAccessibilityOverrides } from "./PaginationItem";
|
|
5
|
-
export interface ShapeProps<T extends {}> {
|
|
6
|
-
progress: SharedValue<number>;
|
|
7
|
-
horizontal?: boolean;
|
|
8
|
-
data: Array<T>;
|
|
9
|
-
renderItem?: (item: T, index: number) => React.ReactNode;
|
|
10
|
-
containerStyle?: StyleProp<ViewStyle>;
|
|
11
|
-
dotStyle?: DotStyle;
|
|
12
|
-
activeDotStyle?: DotStyle;
|
|
13
|
-
size?: number;
|
|
14
|
-
onPress?: (index: number) => void;
|
|
15
|
-
customReanimatedStyle?: (progress: number, index: number, length: number) => AnimatedDefaultStyle;
|
|
16
|
-
carouselName?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Optional accessibility overrides for each pagination item.
|
|
19
|
-
* Use this to fully control screen reader announcements per dot.
|
|
20
|
-
*/
|
|
21
|
-
paginationItemAccessibility?: (index: number, length: number) => PaginationItemAccessibilityOverrides;
|
|
22
|
-
}
|
|
23
|
-
type AnimatedDefaultStyle = ViewStyle | ImageStyle | TextStyle;
|
|
24
|
-
export declare const Custom: <T extends {}>(props: ShapeProps<T>) => React.JSX.Element;
|
|
25
|
-
export {};
|
|
26
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/Custom/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,QAAQ,EAAE,oCAAoC,EAAE,MAAM,kBAAkB,CAAC;AAGvF,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,EAAE;IACtC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IACf,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACzD,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,qBAAqB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,oBAAoB,CAAC;IAClG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,2BAA2B,CAAC,EAAE,CAC5B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,KACX,oCAAoC,CAAC;CAC3C;AAED,KAAK,oBAAoB,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAE/D,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,EAAE,SAAS,UAAU,CAAC,CAAC,CAAC,sBA8ExD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;CAGtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAa5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAU3D,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC1C,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;AA2eD,eAAO,MAAM,iBAAiB,oCAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,oBAAY,WAAW;IACrB,WAAW,IAAI;IACf,WAAW,IAAI;CAChB;AAED,eAAO,MAAM,MAAM;kBAC2C,cAAc;CAC3E,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ICarouselController } from "./useCarouselController";
|
|
2
|
-
export declare function useAutoPlay(opts: {
|
|
3
|
-
autoPlay?: boolean;
|
|
4
|
-
autoPlayInterval?: number;
|
|
5
|
-
autoPlayReverse?: boolean;
|
|
6
|
-
carouselController: ICarouselController;
|
|
7
|
-
}): {
|
|
8
|
-
pause: () => void;
|
|
9
|
-
start: () => void;
|
|
10
|
-
trigger: () => void;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=useAutoPlay.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAutoPlay.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAutoPlay.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,wBAAgB,WAAW,CAAC,IAAI,EAAE;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,EAAE,mBAAmB,CAAC;CACzC;;;;EAgDA"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SharedValue } from "react-native-reanimated";
|
|
3
|
-
import type { ICarouselInstance, TCarouselActionOptions, TCarouselProps } from "../types";
|
|
4
|
-
interface IOpts {
|
|
5
|
-
ref: React.ForwardedRef<ICarouselInstance>;
|
|
6
|
-
loop: boolean;
|
|
7
|
-
size: number;
|
|
8
|
-
dataLength: number;
|
|
9
|
-
handlerOffset: SharedValue<number>;
|
|
10
|
-
autoFillData: TCarouselProps["autoFillData"];
|
|
11
|
-
withAnimation?: TCarouselProps["withAnimation"];
|
|
12
|
-
fixedDirection?: TCarouselProps["fixedDirection"];
|
|
13
|
-
duration?: number;
|
|
14
|
-
defaultIndex?: number;
|
|
15
|
-
onScrollStart?: () => void;
|
|
16
|
-
onScrollEnd?: () => void;
|
|
17
|
-
}
|
|
18
|
-
export interface ICarouselController {
|
|
19
|
-
getSharedIndex: () => number;
|
|
20
|
-
prev: (opts?: TCarouselActionOptions) => void;
|
|
21
|
-
next: (opts?: TCarouselActionOptions) => void;
|
|
22
|
-
getCurrentIndex: () => number;
|
|
23
|
-
scrollTo: (opts?: TCarouselActionOptions) => void;
|
|
24
|
-
index: SharedValue<number>;
|
|
25
|
-
}
|
|
26
|
-
export declare function useCarouselController(options: IOpts): ICarouselController;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=useCarouselController.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCarouselController.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCarouselController.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAuC,MAAM,yBAAyB,CAAC;AAK3F,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,cAAc,EAEf,MAAM,UAAU,CAAC;AASlB,UAAU,KAAK;IACb,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,YAAY,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC7C,aAAa,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC,CAAC;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,cAAc,EAAE,MAAM,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC9C,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,MAAM,MAAM,CAAC;IAC9B,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAClD,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,KAAK,GAAG,mBAAmB,CA2YzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCheckMounted.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCheckMounted.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,wBAAgB,eAAe,6BAW9B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { TInitializeCarouselProps } from "./useInitProps";
|
|
3
|
-
export type TCarouselSizePhase = "pending" | "ready" | "updating";
|
|
4
|
-
export interface ICommonVariables {
|
|
5
|
-
size: number;
|
|
6
|
-
validLength: number;
|
|
7
|
-
handlerOffset: SharedValue<number>;
|
|
8
|
-
resolvedSize: SharedValue<number | null>;
|
|
9
|
-
sizePhase: SharedValue<TCarouselSizePhase>;
|
|
10
|
-
sizeExplicit: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare function useCommonVariables(props: TInitializeCarouselProps<any>): ICommonVariables;
|
|
13
|
-
//# sourceMappingURL=useCommonVariables.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCommonVariables.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCommonVariables.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAM/D,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;AAElE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,YAAY,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACzC,SAAS,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAC3C,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,CAAC,GAAG,CAAC,GAAG,gBAAgB,CAqJzF"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { TCarouselProps } from "../types";
|
|
2
|
-
type TGetRequiredProps<P extends keyof TCarouselProps> = Record<P, Required<TCarouselProps>[P]>;
|
|
3
|
-
export type TInitializeCarouselProps<T> = TCarouselProps<T> & TGetRequiredProps<"defaultIndex" | "loop" | "scrollAnimationDuration" | "autoPlayInterval" | "autoFillData"> & {
|
|
4
|
-
rawData: T[];
|
|
5
|
-
dataLength: number;
|
|
6
|
-
rawDataLength: number;
|
|
7
|
-
};
|
|
8
|
-
export declare function useInitProps<T>(props: TCarouselProps<T>): TInitializeCarouselProps<T>;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=useInitProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useInitProps.d.ts","sourceRoot":"","sources":["../../../src/hooks/useInitProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,KAAK,iBAAiB,CAAC,CAAC,SAAS,MAAM,cAAc,IAAI,MAAM,CAAC,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEhG,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,GACzD,iBAAiB,CACf,cAAc,GAAG,MAAM,GAAG,yBAAyB,GAAG,kBAAkB,GAAG,cAAc,CAC1F,GAAG;IAEF,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEJ,wBAAgB,YAAY,CAAC,CAAC,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,wBAAwB,CAAC,CAAC,CAAC,CAqErF"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TInitializeCarouselProps } from "./useInitProps";
|
|
2
|
-
import type { TAnimationStyle } from "../components/ItemLayout";
|
|
3
|
-
type TLayoutConfigOpts<T> = TInitializeCarouselProps<T> & {
|
|
4
|
-
size: number;
|
|
5
|
-
};
|
|
6
|
-
export declare function useLayoutConfig<T>(opts: TLayoutConfigOpts<T>): TAnimationStyle;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=useLayoutConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLayoutConfig.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLayoutConfig.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGhE,KAAK,iBAAiB,CAAC,CAAC,IAAI,wBAAwB,CAAC,CAAC,CAAC,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3E,wBAAgB,eAAe,CAAC,CAAC,EAAE,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,eAAe,CAgB9E"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { IVisibleRanges } from "./useVisibleRanges";
|
|
3
|
-
export interface IOpts {
|
|
4
|
-
index: number;
|
|
5
|
-
size: number;
|
|
6
|
-
handlerOffset: SharedValue<number>;
|
|
7
|
-
dataLength: number;
|
|
8
|
-
type?: "positive" | "negative";
|
|
9
|
-
viewCount?: number;
|
|
10
|
-
loop?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const useOffsetX: (opts: IOpts, visibleRanges: IVisibleRanges) => import("react-native-reanimated").DerivedValue<number>;
|
|
13
|
-
//# sourceMappingURL=useOffsetX.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOffsetX.d.ts","sourceRoot":"","sources":["../../../src/hooks/useOffsetX.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,SAAU,KAAK,iBAAiB,cAAc,2DAiEpE,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { TCarouselProps } from "../types";
|
|
3
|
-
export declare function useOnProgressChange(opts: {
|
|
4
|
-
size: number;
|
|
5
|
-
sizeReady: SharedValue<boolean>;
|
|
6
|
-
autoFillData: boolean;
|
|
7
|
-
loop: boolean;
|
|
8
|
-
offsetX: SharedValue<number>;
|
|
9
|
-
rawDataLength: number;
|
|
10
|
-
} & Pick<TCarouselProps, "onProgressChange">): void;
|
|
11
|
-
//# sourceMappingURL=useOnProgressChange.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOnProgressChange.d.ts","sourceRoot":"","sources":["../../../src/hooks/useOnProgressChange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,wBAAgB,mBAAmB,CACjC,IAAI,EAAE;IACJ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAChC,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,IAAI,CAAC,cAAc,EAAE,kBAAkB,CAAC,QA0C7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePanGestureProxy.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePanGestureProxy.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,uBAAuB,EACvB,kBAAkB,EAClB,UAAU,EACV,6BAA6B,EAC9B,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,eAAO,MAAM,kBAAkB,kBAAmB;IAChD,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;IACtD,cAAc,EAAE,CAAC,KAAK,EAAE,uBAAuB,CAAC,6BAA6B,CAAC,KAAK,IAAI,CAAC;IACxF,eAAe,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,6BAA6B,CAAC,KAAK,IAAI,CAAC;IACpF,YAAY,EAAE,CACZ,KAAK,EAAE,uBAAuB,CAAC,6BAA6B,CAAC,EAC7D,OAAO,EAAE,OAAO,KACb,IAAI,CAAC;IACV,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,kGA0HA,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePropsErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePropsErrorBoundary.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,GAAG;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,QAmFnF"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { PanGesture } from "react-native-gesture-handler";
|
|
2
|
-
export interface GestureConfig {
|
|
3
|
-
enabled?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const useUpdateGestureConfig: (gesture: PanGesture, config: GestureConfig) => void;
|
|
6
|
-
//# sourceMappingURL=useUpdateGestureConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateGestureConfig.d.ts","sourceRoot":"","sources":["../../../src/hooks/useUpdateGestureConfig.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,sBAAsB,YAAa,UAAU,UAAU,aAAa,SAMhF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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,cAAc,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;AAgBxD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,aAAa,CAwDhB;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,cAAc,CAqCjB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import Carousel from "./components/Carousel";
|
|
2
|
-
export { Pagination } from "./components/Pagination";
|
|
3
|
-
export type { TCarouselProps, ICarouselInstance, IComputedDirectionTypes, CarouselRenderItem, } from "./types";
|
|
4
|
-
export type { TAnimationStyle } from "./components/ItemLayout";
|
|
5
|
-
export type { ILayoutConfig } from "./layouts/stack";
|
|
6
|
-
export default Carousel;
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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,MAAM,MAAM,KAAK,GAAG,UAAU,GAAG,kBAAkB,GAAG,gBAAgB,CAAC;AAEvE,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare function normalLayout(opts: {
|
|
2
|
-
size: number;
|
|
3
|
-
vertical: boolean;
|
|
4
|
-
}): (value: number) => {
|
|
5
|
-
transform: ({
|
|
6
|
-
translateY: number;
|
|
7
|
-
translateX?: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
translateX: number;
|
|
10
|
-
translateY?: undefined;
|
|
11
|
-
})[];
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=normal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"normal.d.ts","sourceRoot":"","sources":["../../../src/layouts/normal.ts"],"names":[],"mappings":"AAEA,wBAAgB,YAAY,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,WAGrD,MAAM;;;;;;;;EAgBtB"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { IComputedDirectionTypes } from "../types";
|
|
2
|
-
interface TBaseConfig {
|
|
3
|
-
size: number;
|
|
4
|
-
vertical: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface ILayoutConfig {
|
|
7
|
-
/**
|
|
8
|
-
* control prev/next item offset.
|
|
9
|
-
* @default 100
|
|
10
|
-
*/
|
|
11
|
-
parallaxScrollingOffset?: number;
|
|
12
|
-
/**
|
|
13
|
-
* control prev/current/next item offset.
|
|
14
|
-
* @default 0.8
|
|
15
|
-
*/
|
|
16
|
-
parallaxScrollingScale?: number;
|
|
17
|
-
/**
|
|
18
|
-
* control prev/next item offset.
|
|
19
|
-
* @default Math.pow(parallaxScrollingScale, 2)
|
|
20
|
-
*/
|
|
21
|
-
parallaxAdjacentItemScale?: number;
|
|
22
|
-
}
|
|
23
|
-
export type TParallaxModeProps = IComputedDirectionTypes<{
|
|
24
|
-
/**
|
|
25
|
-
* Carousel Animated transitions.
|
|
26
|
-
*/
|
|
27
|
-
mode?: "parallax";
|
|
28
|
-
modeConfig?: ILayoutConfig;
|
|
29
|
-
}>;
|
|
30
|
-
export declare function parallaxLayout(baseConfig: TBaseConfig, modeConfig?: ILayoutConfig): (value: number) => {
|
|
31
|
-
transform: ({
|
|
32
|
-
translateY: number;
|
|
33
|
-
translateX?: undefined;
|
|
34
|
-
scale?: undefined;
|
|
35
|
-
} | {
|
|
36
|
-
translateX: number;
|
|
37
|
-
translateY?: undefined;
|
|
38
|
-
scale?: undefined;
|
|
39
|
-
} | {
|
|
40
|
-
scale: number;
|
|
41
|
-
translateY?: undefined;
|
|
42
|
-
translateX?: undefined;
|
|
43
|
-
})[];
|
|
44
|
-
zIndex: number;
|
|
45
|
-
};
|
|
46
|
-
export {};
|
|
47
|
-
//# sourceMappingURL=parallax.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parallax.d.ts","sourceRoot":"","sources":["../../../src/layouts/parallax.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;OAGG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED,MAAM,MAAM,kBAAkB,GAAG,uBAAuB,CAAC;IACvD;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,aAAa,CAAC;CAC5B,CAAC,CAAC;AAEH,wBAAgB,cAAc,CAAC,UAAU,EAAE,WAAW,EAAE,UAAU,GAAE,aAAkB,WAQrE,MAAM;;;;;;;;;;;;;;;EAiCtB"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { ViewStyle } from "react-native";
|
|
2
|
-
import type { CustomConfig, IComputedDirectionTypes } from "../types";
|
|
3
|
-
export interface ILayoutConfig {
|
|
4
|
-
showLength?: number;
|
|
5
|
-
moveSize?: number;
|
|
6
|
-
stackInterval?: number;
|
|
7
|
-
scaleInterval?: number;
|
|
8
|
-
opacityInterval?: number;
|
|
9
|
-
rotateZDeg?: number;
|
|
10
|
-
snapDirection?: "left" | "right";
|
|
11
|
-
}
|
|
12
|
-
export type TStackModeProps = IComputedDirectionTypes<{
|
|
13
|
-
/**
|
|
14
|
-
* Carousel Animated transitions.
|
|
15
|
-
*/
|
|
16
|
-
mode?: "horizontal-stack" | "vertical-stack";
|
|
17
|
-
/**
|
|
18
|
-
* Stack animation style.
|
|
19
|
-
* @default
|
|
20
|
-
* snapDirection: 'right',
|
|
21
|
-
* moveSize: window.width,
|
|
22
|
-
* stackInterval: 30,
|
|
23
|
-
* scaleInterval: 0.08,
|
|
24
|
-
* rotateZDeg: 135,
|
|
25
|
-
* opacityInterval: 0.1,
|
|
26
|
-
*/
|
|
27
|
-
modeConfig?: ILayoutConfig;
|
|
28
|
-
}>;
|
|
29
|
-
export declare function horizontalStackLayout(modeConfig?: ILayoutConfig): (_value: number) => ViewStyle;
|
|
30
|
-
export declare function useHorizontalStackLayout(customAnimationConfig?: ILayoutConfig, customConfig?: CustomConfig): {
|
|
31
|
-
layout: (_value: number) => ViewStyle;
|
|
32
|
-
config: {
|
|
33
|
-
type: string;
|
|
34
|
-
viewCount: number;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export declare function verticalStackLayout(modeConfig?: ILayoutConfig): (_value: number) => ViewStyle;
|
|
38
|
-
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../src/layouts/stack.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAmB,SAAS,EAAE,MAAM,cAAc,CAAC;AAI/D,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAItE,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAClC;AAED,MAAM,MAAM,eAAe,GAAG,uBAAuB,CAAC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,gBAAgB,CAAC;IAC7C;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,aAAa,CAAC;CAC5B,CAAC,CAAC;AAEH,wBAAgB,qBAAqB,CAAC,UAAU,GAAE,aAAkB,YAClD,MAAM,eA+EvB;AAED,wBAAgB,wBAAwB,CACtC,qBAAqB,GAAE,aAAkB,EACzC,YAAY,GAAE,YAAiB;qBAnFf,MAAM;;;;;EAkGvB;AAED,wBAAgB,mBAAmB,CAAC,UAAU,GAAE,aAAkB,YAChD,MAAM,eAqFvB"}
|
|
@@ -1 +0,0 @@
|
|
|
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,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,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,QAAQ;IACvB,KAAK,EAAE,wBAAwB,CAAC,GAAG,CAAC,CAAC;IACrC,MAAM,EAAE,gBAAgB,CAAC;IACzB,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,yBAAgD,CAAC;AAEhF,eAAO,MAAM,mBAAmB,yBAG7B;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;CAC3C,sBAyBA,CAAC;AAEF,eAAO,MAAM,cAAc,gBAQ1B,CAAC"}
|