react-spring-carousel 1.9.29-beta32 → 1.9.29-beta33

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/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import * as useSpringCarousel from './useSpringCarousel';
2
- import * as useTransitionCarousel from './useSpringCarousel';
2
+ import * as useTransitionCarousel from './useTransitionCarousel';
3
3
  export { useSpringCarousel, useTransitionCarousel };
package/dist/index.js CHANGED
@@ -1,2 +1,6 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useSpringCarousel.js");exports.useSpringCarousel=e,exports.useTransitionCarousel=e;
1
+ 'use strict'
2
+ Object.defineProperty(exports, '__esModule', { value: !0 })
3
+ var e = require('./useSpringCarousel.js'),
4
+ r = require('./useTransitionCarousel.js')
5
+ ;(exports.useSpringCarousel = e), (exports.useTransitionCarousel = r)
2
6
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),n=require("react-spring"),i=require("@use-gesture/react"),r=require("./modules/useCustomEventsModule.js"),s=require("./modules/useFullscreenModule.js"),o=require("./modules/useThumbsModule.js");const u=t.createContext(void 0);exports.useTransitionCarousel=function({items:l,withLoop:a=!1,withThumbs:d=!1,springConfig:c=n.config.default,thumbsSlideAxis:m="x",enableThumbsWrapperScroll:h=!0,draggingSlideTreshold:p=50,prepareThumbsData:v,toPrevItemSpringProps:g,toNextItemSpringProps:x,disableGestures:f=!1,CustomThumbsWrapperComponent:T,springAnimationProps:b={initial:{opacity:1,position:"relative"},from:{opacity:0,position:"absolute"},enter:{opacity:1,position:"relative"},leave:{opacity:0,position:"absolute"}}}){const C=t.useRef("next"),I=t.useRef(null),S=t.useRef(!1),[y,w]=t.useState(0),{emitObservable:A,useListenToCustomEvent:j}=r.useCustomEventsModule(),{enterFullscreen:N,exitFullscreen:F,getIsFullscreen:P}=s.useFullscreenModule({emitObservable:A,mainCarouselWrapperRef:I}),{thumbsFragment:q,handleThumbsScroll:M}=o.useThumbsModule({items:l,withThumbs:d,thumbsSlideAxis:m,springConfig:c,prepareThumbsData:v,CustomThumbsWrapperComponent:T}),O=i.useDrag((({last:e,movement:[t]})=>{if(!R()&&e){const e=t>p,n=t<-p,i=0===y,r=y===l.length-1;if(n){if(!a&&r)return;_(),A({eventName:"onLeftSwipe"})}else if(e){if(!a&&i)return;k(),A({eventName:"onRightSwipe"})}}}),{enabled:!f}),E=n.useTransition(y,{config:c,...function(){const e=D();return"prev"===e&&g?{initial:{...b.initial},from:{...g.from},enter:{...g.enter},leave:{...g.leave}}:"next"===e&&x?{initial:{...b.initial},from:{...x.from},enter:{...x.enter},leave:{...x.leave}}:{initial:{...b.initial},from:{...b.from},enter:{...b.enter},leave:{...b.leave}}}(),onStart:()=>L(!0),keys:null,onRest:e=>{e.finished&&(L(!1),A({eventName:"onSlideChange",slideActionType:D(),currentItem:{index:y,id:l[y].id}}))}})(((t,i)=>e.jsx(n.animated.div,Object.assign({style:{...t,flex:"1 0 100%",width:"100%",height:"100%"}},{children:l[i].renderItem}),void 0)));function R(){return S.current}function L(e){S.current=e}function W(e){C.current=e}function D(){return C.current}function _(){const e=y===l.length-1;a?(W("next"),e?(A({eventName:"onSlideStartChange",slideActionType:D(),nextItem:{index:0,id:l[0].id}}),w(0)):(A({eventName:"onSlideStartChange",slideActionType:D(),nextItem:{index:y+1,id:l[y+1].id}}),w(y+1))):e||(A({eventName:"onSlideStartChange",slideActionType:D(),nextItem:{index:y+1,id:l[y+1].id}}),W("next"),w(y+1))}function k(){const e=0===y;a?(W("prev"),e?(A({eventName:"onSlideStartChange",slideActionType:D(),nextItem:{index:y-1,id:l[y-1].id}}),w(l.length-1)):(A({eventName:"onSlideStartChange",slideActionType:D(),nextItem:{index:y-1,id:l[y-1].id}}),w(y-1))):e||(W("prev"),A({eventName:"onSlideStartChange",slideActionType:D(),nextItem:{index:y-1,id:l[y-1].id}}),w(y-1))}function G(e){return l.findIndex((t=>t.id===e))}const z={activeItem:y,slideToItem:function(e){let t=0;if(t="string"==typeof e?l.findIndex((t=>t.id===e)):e,t>=l.length)throw Error("The item you want to slide to doesn't exist. This could be due to the fact that \n you provide a wrong id or a higher numeric index.");if(t===y)return;const n=G(l[y].id),i=G(l[t].id);A({eventName:"onSlideStartChange",slideActionType:D(),nextItem:{index:i,id:l[t].id}}),W(i>n?"next":"prev"),w(t),h&&d&&M(t)},slideToNextItem:_,slideToPrevItem:k,enterFullscreen:N,exitFullscreen:F,useListenToCustomEvent:j,getIsNextItem:function(e){const t=G(e);return a&&y===l.length-1?0===t:t===y+1},getIsPrevItem:function(e){const t=G(e);return a&&0===y?t===l.length-1:t===y-1},getIsAnimating:R,getIsFullscreen:P,getIsActiveItem:e=>G(e)===y,getCurrentActiveItem:()=>({id:l[y].id,index:y})};return{carouselFragment:e.jsx(u.Provider,Object.assign({value:z},{children:e.jsx("div",Object.assign({ref:I},O(),{style:{display:"flex",position:"relative",width:"100%",height:"100%",overflow:"hidden"}},{children:E}),void 0)}),void 0),thumbsFragment:e.jsx(u.Provider,Object.assign({value:z},{children:q}),void 0),...z}},exports.useTransitionCarouselContext=function(){const e=t.useContext(u);if(!e)throw new Error("useTransitionCarouselContext isn't being used within the useTransitionCarousel context; \n use the context only inside a component that is rendered within the Carousel.");return e};
2
+ //# sourceMappingURL=useTransitionCarousel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTransitionCarousel.js","sources":["../src/useTransitionCarousel.tsx"],"sourcesContent":["import { createContext, useRef, useState, useContext } from 'react'\nimport { useTransition, animated, config } from 'react-spring'\nimport { useDrag } from '@use-gesture/react'\nimport { useCustomEventsModule, useThumbsModule, useFullscreenModule } from './modules'\nimport {\n UseTransitionCarouselContextProps,\n UseTransitionCarouselProps,\n SlideActionType,\n} from './types'\n\nconst UseTransitionCarouselContext = createContext<\n UseTransitionCarouselContextProps | undefined\n>(undefined)\n\nexport function useTransitionCarouselContext() {\n const context = useContext(UseTransitionCarouselContext)\n\n if (!context) {\n throw new Error(`useTransitionCarouselContext isn't being used within the useTransitionCarousel context; \n use the context only inside a component that is rendered within the Carousel.`)\n }\n\n return context\n}\n\nexport function useTransitionCarousel({\n items,\n withLoop = false,\n withThumbs = false,\n springConfig = config.default,\n thumbsSlideAxis = 'x',\n enableThumbsWrapperScroll = true,\n draggingSlideTreshold = 50,\n prepareThumbsData,\n toPrevItemSpringProps,\n toNextItemSpringProps,\n disableGestures = false,\n CustomThumbsWrapperComponent,\n springAnimationProps = {\n initial: {\n opacity: 1,\n position: 'relative',\n },\n from: {\n opacity: 0,\n position: 'absolute',\n },\n enter: {\n opacity: 1,\n position: 'relative',\n },\n leave: {\n opacity: 0,\n position: 'absolute',\n },\n },\n}: UseTransitionCarouselProps) {\n const slideActionType = useRef<SlideActionType>('next')\n const mainCarouselWrapperRef = useRef<HTMLDivElement | null>(null)\n const isAnimating = useRef(false)\n const [activeItem, setActiveItem] = useState(0)\n\n const { emitObservable, useListenToCustomEvent } = useCustomEventsModule()\n const { enterFullscreen, exitFullscreen, getIsFullscreen } = useFullscreenModule({\n emitObservable,\n mainCarouselWrapperRef,\n })\n const { thumbsFragment: _thumbsFragment, handleThumbsScroll } = useThumbsModule({\n items,\n withThumbs,\n thumbsSlideAxis,\n springConfig,\n prepareThumbsData,\n CustomThumbsWrapperComponent,\n })\n\n const bindSwipe = useDrag(\n ({ last, movement: [mx] }) => {\n if (getIsAnimating()) {\n return\n }\n\n if (last) {\n const prevItemTreshold = mx > draggingSlideTreshold\n const nextItemTreshold = mx < -draggingSlideTreshold\n const isFirstItem = activeItem === 0\n const isLastItem = activeItem === items.length - 1\n\n if (nextItemTreshold) {\n if (!withLoop && isLastItem) {\n return\n }\n\n slideToNextItem()\n emitObservable({\n eventName: 'onLeftSwipe',\n })\n } else if (prevItemTreshold) {\n if (!withLoop && isFirstItem) {\n return\n }\n\n slideToPrevItem()\n emitObservable({\n eventName: 'onRightSwipe',\n })\n }\n }\n },\n {\n enabled: !disableGestures,\n },\n )\n\n function getTransitionConfig() {\n const slideActionType = getSlideActionType()\n\n if (slideActionType === 'prev' && toPrevItemSpringProps) {\n return {\n initial: {\n ...springAnimationProps.initial,\n },\n from: {\n ...toPrevItemSpringProps.from,\n },\n enter: {\n ...toPrevItemSpringProps.enter,\n },\n leave: {\n ...toPrevItemSpringProps.leave,\n },\n }\n }\n\n if (slideActionType === 'next' && toNextItemSpringProps) {\n return {\n initial: {\n ...springAnimationProps.initial,\n },\n from: {\n ...toNextItemSpringProps.from,\n },\n enter: {\n ...toNextItemSpringProps.enter,\n },\n leave: {\n ...toNextItemSpringProps.leave,\n },\n }\n }\n\n return {\n initial: {\n ...springAnimationProps.initial,\n },\n from: {\n ...springAnimationProps.from,\n },\n enter: {\n ...springAnimationProps.enter,\n },\n leave: {\n ...springAnimationProps.leave,\n },\n }\n }\n\n const transitions = useTransition(activeItem, {\n config: springConfig,\n ...getTransitionConfig(),\n onStart: () => setIsAnimating(true),\n keys: null,\n onRest: val => {\n if (val.finished) {\n setIsAnimating(false)\n emitObservable({\n eventName: 'onSlideChange',\n slideActionType: getSlideActionType(),\n currentItem: {\n index: activeItem,\n id: items[activeItem].id,\n },\n })\n }\n },\n })\n const itemsFragment = transitions((styles, item) => (\n <animated.div\n style={{\n ...styles,\n flex: '1 0 100%',\n width: '100%',\n height: '100%',\n }}\n >\n {items[item].renderItem}\n </animated.div>\n ))\n\n function getIsAnimating() {\n return isAnimating.current\n }\n function setIsAnimating(val: boolean) {\n isAnimating.current = val\n }\n function setSlideActionType(type: SlideActionType) {\n slideActionType.current = type\n }\n function getSlideActionType() {\n return slideActionType.current\n }\n function slideToItem(item: string | number) {\n let itemIndex = 0\n\n if (typeof item === 'string') {\n itemIndex = items.findIndex(_item => _item.id === item)\n } else {\n itemIndex = item\n }\n\n if (itemIndex >= items.length) {\n throw Error(\n `The item you want to slide to doesn't exist. This could be due to the fact that \n you provide a wrong id or a higher numeric index.`,\n )\n }\n\n if (itemIndex === activeItem) {\n return\n }\n\n const currentItem = findItemIndex(items[activeItem].id)\n const newActiveItem = findItemIndex(items[itemIndex].id)\n\n emitObservable({\n eventName: 'onSlideStartChange',\n slideActionType: getSlideActionType(),\n nextItem: {\n index: newActiveItem,\n id: items[itemIndex].id,\n },\n })\n\n if (newActiveItem > currentItem) {\n setSlideActionType('next')\n } else {\n setSlideActionType('prev')\n }\n\n setActiveItem(itemIndex)\n\n if (enableThumbsWrapperScroll && withThumbs) {\n handleThumbsScroll(itemIndex)\n }\n }\n function slideToNextItem() {\n const isLastItem = activeItem === items.length - 1\n\n if (withLoop) {\n setSlideActionType('next')\n if (isLastItem) {\n emitObservable({\n eventName: 'onSlideStartChange',\n slideActionType: getSlideActionType(),\n nextItem: {\n index: 0,\n id: items[0].id,\n },\n })\n setActiveItem(0)\n } else {\n emitObservable({\n eventName: 'onSlideStartChange',\n slideActionType: getSlideActionType(),\n nextItem: {\n index: activeItem + 1,\n id: items[activeItem + 1].id,\n },\n })\n setActiveItem(activeItem + 1)\n }\n } else {\n if (!isLastItem) {\n emitObservable({\n eventName: 'onSlideStartChange',\n slideActionType: getSlideActionType(),\n nextItem: {\n index: activeItem + 1,\n id: items[activeItem + 1].id,\n },\n })\n setSlideActionType('next')\n setActiveItem(activeItem + 1)\n }\n }\n }\n function slideToPrevItem() {\n const isFirstItem = activeItem === 0\n\n if (withLoop) {\n setSlideActionType('prev')\n if (isFirstItem) {\n emitObservable({\n eventName: 'onSlideStartChange',\n slideActionType: getSlideActionType(),\n nextItem: {\n index: activeItem - 1,\n id: items[activeItem - 1].id,\n },\n })\n setActiveItem(items.length - 1)\n } else {\n emitObservable({\n eventName: 'onSlideStartChange',\n slideActionType: getSlideActionType(),\n nextItem: {\n index: activeItem - 1,\n id: items[activeItem - 1].id,\n },\n })\n setActiveItem(activeItem - 1)\n }\n } else {\n if (!isFirstItem) {\n setSlideActionType('prev')\n emitObservable({\n eventName: 'onSlideStartChange',\n slideActionType: getSlideActionType(),\n nextItem: {\n index: activeItem - 1,\n id: items[activeItem - 1].id,\n },\n })\n setActiveItem(activeItem - 1)\n }\n }\n }\n function findItemIndex(id: string) {\n return items.findIndex(item => item.id === id)\n }\n function getIsNextItem(id: string) {\n const itemIndex = findItemIndex(id)\n\n if (withLoop && activeItem === items.length - 1) {\n return itemIndex === 0\n }\n\n return itemIndex === activeItem + 1\n }\n function getIsPrevItem(id: string) {\n const itemIndex = findItemIndex(id)\n\n if (withLoop && activeItem === 0) {\n return itemIndex === items.length - 1\n }\n\n return itemIndex === activeItem - 1\n }\n\n const contextProps: UseTransitionCarouselContextProps = {\n activeItem,\n slideToItem,\n slideToNextItem,\n slideToPrevItem,\n enterFullscreen,\n exitFullscreen,\n useListenToCustomEvent,\n getIsNextItem,\n getIsPrevItem,\n getIsAnimating,\n getIsFullscreen,\n getIsActiveItem: id => {\n return findItemIndex(id) === activeItem\n },\n getCurrentActiveItem: () => ({\n id: items[activeItem].id,\n index: activeItem,\n }),\n }\n\n const carouselFragment = (\n <UseTransitionCarouselContext.Provider value={contextProps}>\n <div\n ref={mainCarouselWrapperRef}\n {...bindSwipe()}\n style={{\n display: 'flex',\n position: 'relative',\n width: '100%',\n height: '100%',\n overflow: 'hidden',\n }}\n >\n {itemsFragment}\n </div>\n </UseTransitionCarouselContext.Provider>\n )\n\n const thumbsFragment = (\n <UseTransitionCarouselContext.Provider value={contextProps}>\n {_thumbsFragment}\n </UseTransitionCarouselContext.Provider>\n )\n\n return {\n carouselFragment,\n thumbsFragment,\n ...contextProps,\n }\n}\n"],"names":["UseTransitionCarouselContext","createContext","undefined","items","withLoop","withThumbs","springConfig","config","default","thumbsSlideAxis","enableThumbsWrapperScroll","draggingSlideTreshold","prepareThumbsData","toPrevItemSpringProps","toNextItemSpringProps","disableGestures","CustomThumbsWrapperComponent","springAnimationProps","initial","opacity","position","from","enter","leave","slideActionType","useRef","mainCarouselWrapperRef","isAnimating","activeItem","setActiveItem","useState","emitObservable","useListenToCustomEvent","useCustomEventsModule","enterFullscreen","exitFullscreen","getIsFullscreen","useFullscreenModule","thumbsFragment","_thumbsFragment","handleThumbsScroll","useThumbsModule","bindSwipe","useDrag","last","movement","mx","getIsAnimating","prevItemTreshold","nextItemTreshold","isFirstItem","isLastItem","length","slideToNextItem","eventName","slideToPrevItem","enabled","itemsFragment","useTransition","getSlideActionType","getTransitionConfig","onStart","setIsAnimating","keys","onRest","val","finished","currentItem","index","id","transitions","styles","item","_jsx","animated","div","style","flex","width","height","renderItem","current","setSlideActionType","type","nextItem","findItemIndex","findIndex","contextProps","slideToItem","itemIndex","_item","Error","newActiveItem","getIsNextItem","getIsPrevItem","getIsActiveItem","getCurrentActiveItem","carouselFragment","Provider","value","ref","display","overflow","context","useContext"],"mappings":"4TAUA,MAAMA,EAA+BC,qBAEnCC,2CAaoCC,MACpCA,EAAKC,SACLA,GAAW,EAAKC,WAChBA,GAAa,EAAKC,aAClBA,EAAeC,SAAOC,QAAOC,gBAC7BA,EAAkB,IAAGC,0BACrBA,GAA4B,EAAIC,sBAChCA,EAAwB,GAAEC,kBAC1BA,EAAiBC,sBACjBA,EAAqBC,sBACrBA,EAAqBC,gBACrBA,GAAkB,EAAKC,6BACvBA,EAA4BC,qBAC5BA,EAAuB,CACrBC,QAAS,CACPC,QAAS,EACTC,SAAU,YAEZC,KAAM,CACJF,QAAS,EACTC,SAAU,YAEZE,MAAO,CACLH,QAAS,EACTC,SAAU,YAEZG,MAAO,CACLJ,QAAS,EACTC,SAAU,eAId,MAAMI,EAAkBC,SAAwB,QAC1CC,EAAyBD,SAA8B,MACvDE,EAAcF,UAAO,IACpBG,EAAYC,GAAiBC,WAAS,IAEvCC,eAAEA,EAAcC,uBAAEA,GAA2BC,2BAC7CC,gBAAEA,EAAeC,eAAEA,EAAcC,gBAAEA,GAAoBC,sBAAoB,CAC/EN,eAAAA,EACAL,uBAAAA,KAEMY,eAAgBC,EAAeC,mBAAEA,GAAuBC,kBAAg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AAO,CACLyB,QAAS,OACTjF,SAAU,WACV0D,MAAO,OACPC,OAAQ,OACRuB,SAAU,qBAGX7C,sBAaLnB,eAPAmC,MAACzE,EAA6BkG,wBAASC,MAAOZ,aAC3ChD,eAOAgD,oDAxYL,MAAMgB,EAAUC,aAAWxG,GAE3B,IAAKuG,EACH,MAAM,IAAIZ,MAAM,+KAIlB,OAAOY"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-spring-carousel",
3
- "version": "1.9.29-beta32",
3
+ "version": "1.9.29-beta33",
4
4
  "description": "A new Carousel experience for the web",
5
5
  "homepage": "https://react-spring-carousel-js.emilianobucci.com",
6
6
  "repository": "https://github.com/Emiliano-Bucci/react-spring-carousel-js",