diff --git a/.docz/app/db.json b/.docz/app/db.json index 65f5b2f..21be416 100644 --- a/.docz/app/db.json +++ b/.docz/app/db.json @@ -21,7 +21,7 @@ } }, "ordering": "ascending", - "version": "0.1.17", + "version": "0.1.18", "repository": "https://github.com/sag1v/react-elastic-carousel", "native": false, "src": "./src/docs", @@ -31,6 +31,13 @@ "base": "/react-elastic-carousel/", "htmlContext": { "head": { + "scripts": [ + { + "async": "async", + "src": "https://www.googletagmanager.com/gtag/js?id=UA-127217040-1" + } + ], + "raw": "", "links": [ { "rel": "stylesheet", @@ -112,28 +119,6 @@ } ] }, - "mdx/goTo.mdx": { - "name": "goTo", - "order": 989, - "route": "/goTo", - "menu": "Examples", - "id": "0d9b9869868b7d346d28d47233378890", - "filepath": "mdx/goTo.mdx", - "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/goTo.mdx", - "slug": "mdx-go-to", - "headings": [ - { - "depth": 1, - "slug": "goto", - "value": "goTo" - }, - { - "depth": 4, - "slug": "you-can-trigger-the-goto-method-via-a-ref-to-the-carousel", - "value": "You can trigger the goTo method via a ref to the Carousel :" - } - ] - }, "mdx/focusOnSelect.mdx": { "name": "focusOnSelect", "order": 5, @@ -156,6 +141,28 @@ } ] }, + "mdx/goTo.mdx": { + "name": "goTo", + "order": 989, + "route": "/goTo", + "menu": "Examples", + "id": "0d9b9869868b7d346d28d47233378890", + "filepath": "mdx/goTo.mdx", + "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/goTo.mdx", + "slug": "mdx-go-to", + "headings": [ + { + "depth": 1, + "slug": "goto", + "value": "goTo" + }, + { + "depth": 4, + "slug": "you-can-trigger-the-goto-method-via-a-ref-to-the-carousel", + "value": "You can trigger the goTo method via a ref to the Carousel :" + } + ] + }, "mdx/index.mdx": { "name": "Getting started", "route": "/", @@ -215,6 +222,28 @@ } ] }, + "mdx/itemPosition.mdx": { + "name": "itemPosition", + "order": 9, + "route": "/itemPosition", + "menu": "Examples", + "id": "76a6425c8af9dc748f704aee745e416e", + "filepath": "mdx/itemPosition.mdx", + "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/itemPosition.mdx", + "slug": "mdx-item-position", + "headings": [ + { + "depth": 1, + "slug": "itemposition", + "value": "itemPosition" + }, + { + "depth": 4, + "slug": "sets-the-position-of-the-item-within-the-items-wrapper", + "value": "Sets the position of the item within the item's wrapper." + } + ] + }, "mdx/isRTL.mdx": { "name": "isRTL", "order": 6, @@ -259,28 +288,6 @@ } ] }, - "mdx/itemPosition.mdx": { - "name": "itemPosition", - "order": 9, - "route": "/itemPosition", - "menu": "Examples", - "id": "76a6425c8af9dc748f704aee745e416e", - "filepath": "mdx/itemPosition.mdx", - "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/itemPosition.mdx", - "slug": "mdx-item-position", - "headings": [ - { - "depth": 1, - "slug": "itemposition", - "value": "itemPosition" - }, - { - "depth": 4, - "slug": "sets-the-position-of-the-item-within-the-items-wrapper", - "value": "Sets the position of the item within the item's wrapper." - } - ] - }, "mdx/itemsToScroll.mdx": { "name": "itemsToScroll", "order": 2, @@ -325,28 +332,6 @@ } ] }, - "mdx/onNextEnd.mdx": { - "name": "onNextEnd", - "order": 991, - "route": "/onNextEnd", - "menu": "Examples", - "id": "252226ec0e74a4c6191f7c27e27ab109", - "filepath": "mdx/onNextEnd.mdx", - "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/onNextEnd.mdx", - "slug": "mdx-on-next-end", - "headings": [ - { - "depth": 1, - "slug": "onnextend", - "value": "onNextEnd" - }, - { - "depth": 4, - "slug": "onnextend-will-pass-the-new-current-item-object", - "value": "onNextEnd will pass the new item-object :" - } - ] - }, "mdx/onNextStart.mdx": { "name": "onNextStart", "order": 990, @@ -369,28 +354,6 @@ } ] }, - "mdx/onPrevStart.mdx": { - "name": "onPrevStart", - "order": 992, - "route": "/onPrevStart", - "menu": "Examples", - "id": "7dc068d4b5d88e53563c61b61cbd99a4", - "filepath": "mdx/onPrevStart.mdx", - "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/onPrevStart.mdx", - "slug": "mdx-on-prev-start", - "headings": [ - { - "depth": 1, - "slug": "onprevstart", - "value": "onPrevStart" - }, - { - "depth": 4, - "slug": "onprevstart-will-pass-both-the-current-and-next-item-object", - "value": "onPrevStart will pass both the and item-object :" - } - ] - }, "mdx/onPrevEnd.mdx": { "name": "onPrevEnd", "order": 993, @@ -413,6 +376,50 @@ } ] }, + "mdx/onNextEnd.mdx": { + "name": "onNextEnd", + "order": 991, + "route": "/onNextEnd", + "menu": "Examples", + "id": "252226ec0e74a4c6191f7c27e27ab109", + "filepath": "mdx/onNextEnd.mdx", + "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/onNextEnd.mdx", + "slug": "mdx-on-next-end", + "headings": [ + { + "depth": 1, + "slug": "onnextend", + "value": "onNextEnd" + }, + { + "depth": 4, + "slug": "onnextend-will-pass-the-new-current-item-object", + "value": "onNextEnd will pass the new item-object :" + } + ] + }, + "mdx/onPrevStart.mdx": { + "name": "onPrevStart", + "order": 992, + "route": "/onPrevStart", + "menu": "Examples", + "id": "7dc068d4b5d88e53563c61b61cbd99a4", + "filepath": "mdx/onPrevStart.mdx", + "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/onPrevStart.mdx", + "slug": "mdx-on-prev-start", + "headings": [ + { + "depth": 1, + "slug": "onprevstart", + "value": "onPrevStart" + }, + { + "depth": 4, + "slug": "onprevstart-will-pass-both-the-current-and-next-item-object", + "value": "onPrevStart will pass both the and item-object :" + } + ] + }, "mdx/onResize.mdx": { "name": "onResize", "order": 995, @@ -435,6 +442,28 @@ } ] }, + "mdx/slideNext.mdx": { + "name": "slideNext / slidePrev", + "order": 994, + "route": "/slideNext", + "menu": "Examples", + "id": "70cfc8eaa9911ab18a7ac7bc763b34ce", + "filepath": "mdx/slideNext.mdx", + "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/slideNext.mdx", + "slug": "mdx-slide-next", + "headings": [ + { + "depth": 1, + "slug": "slidenext--slideprev", + "value": "slideNext / slidePrev" + }, + { + "depth": 4, + "slug": "you-can-trigger-the-slidenext-or-slideprev-methods-via-a-ref-to-the-carousel", + "value": "You can trigger the slideNext or slidePrev methods via a ref to the Carousel :" + } + ] + }, "mdx/renderArrow.mdx": { "name": "renderArrow", "order": 11, @@ -467,28 +496,6 @@ } ] }, - "mdx/verticalMode.mdx": { - "name": "verticalMode", - "order": 3, - "route": "/verticalMode", - "menu": "Examples", - "id": "476b3baef72cbd65f9331611342d646b", - "filepath": "mdx/verticalMode.mdx", - "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/verticalMode.mdx", - "slug": "mdx-vertical-mode", - "headings": [ - { - "depth": 1, - "slug": "verticalmode", - "value": "verticalMode" - }, - { - "depth": 4, - "slug": "display-and-animate-the-carousel-in-a-vertical-layout", - "value": "Display and animate the Carousel in a vertical layout" - } - ] - }, "mdx/renderPagination.mdx": { "name": "renderPagination", "order": 11, @@ -521,25 +528,25 @@ } ] }, - "mdx/slideNext.mdx": { - "name": "slideNext / slidePrev", - "order": 994, - "route": "/slideNext", + "mdx/verticalMode.mdx": { + "name": "verticalMode", + "order": 3, + "route": "/verticalMode", "menu": "Examples", - "id": "70cfc8eaa9911ab18a7ac7bc763b34ce", - "filepath": "mdx/slideNext.mdx", - "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/slideNext.mdx", - "slug": "mdx-slide-next", + "id": "476b3baef72cbd65f9331611342d646b", + "filepath": "mdx/verticalMode.mdx", + "link": "https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/verticalMode.mdx", + "slug": "mdx-vertical-mode", "headings": [ { "depth": 1, - "slug": "slidenext--slideprev", - "value": "slideNext / slidePrev" + "slug": "verticalmode", + "value": "verticalMode" }, { "depth": 4, - "slug": "you-can-trigger-the-slidenext-or-slideprev-methods-via-a-ref-to-the-carousel", - "value": "You can trigger the slideNext or slidePrev methods via a ref to the Carousel :" + "slug": "display-and-animate-the-carousel-in-a-vertical-layout", + "value": "Display and animate the Carousel in a vertical layout" } ] } diff --git a/.docz/app/imports.js b/.docz/app/imports.js index 336e516..2b2e9f0 100644 --- a/.docz/app/imports.js +++ b/.docz/app/imports.js @@ -5,40 +5,40 @@ export const imports = { import(/* webpackPrefetch: true, webpackChunkName: "mdx-easing" */ 'mdx/easing.mdx'), 'mdx/enableAutoPlay.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-enable-auto-play" */ 'mdx/enableAutoPlay.mdx'), - 'mdx/goTo.mdx': () => - import(/* webpackPrefetch: true, webpackChunkName: "mdx-go-to" */ 'mdx/goTo.mdx'), 'mdx/focusOnSelect.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-focus-on-select" */ 'mdx/focusOnSelect.mdx'), + 'mdx/goTo.mdx': () => + import(/* webpackPrefetch: true, webpackChunkName: "mdx-go-to" */ 'mdx/goTo.mdx'), 'mdx/index.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-index" */ 'mdx/index.mdx'), 'mdx/initialFirstItem.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-initial-first-item" */ 'mdx/initialFirstItem.mdx'), + 'mdx/itemPosition.mdx': () => + import(/* webpackPrefetch: true, webpackChunkName: "mdx-item-position" */ 'mdx/itemPosition.mdx'), 'mdx/isRTL.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-is-rtl" */ 'mdx/isRTL.mdx'), 'mdx/itemPadding.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-item-padding" */ 'mdx/itemPadding.mdx'), - 'mdx/itemPosition.mdx': () => - import(/* webpackPrefetch: true, webpackChunkName: "mdx-item-position" */ 'mdx/itemPosition.mdx'), 'mdx/itemsToScroll.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-items-to-scroll" */ 'mdx/itemsToScroll.mdx'), 'mdx/itemsToShow.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-items-to-show" */ 'mdx/itemsToShow.mdx'), - 'mdx/onNextEnd.mdx': () => - import(/* webpackPrefetch: true, webpackChunkName: "mdx-on-next-end" */ 'mdx/onNextEnd.mdx'), 'mdx/onNextStart.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-on-next-start" */ 'mdx/onNextStart.mdx'), - 'mdx/onPrevStart.mdx': () => - import(/* webpackPrefetch: true, webpackChunkName: "mdx-on-prev-start" */ 'mdx/onPrevStart.mdx'), 'mdx/onPrevEnd.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-on-prev-end" */ 'mdx/onPrevEnd.mdx'), + 'mdx/onNextEnd.mdx': () => + import(/* webpackPrefetch: true, webpackChunkName: "mdx-on-next-end" */ 'mdx/onNextEnd.mdx'), + 'mdx/onPrevStart.mdx': () => + import(/* webpackPrefetch: true, webpackChunkName: "mdx-on-prev-start" */ 'mdx/onPrevStart.mdx'), 'mdx/onResize.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-on-resize" */ 'mdx/onResize.mdx'), + 'mdx/slideNext.mdx': () => + import(/* webpackPrefetch: true, webpackChunkName: "mdx-slide-next" */ 'mdx/slideNext.mdx'), 'mdx/renderArrow.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-render-arrow" */ 'mdx/renderArrow.mdx'), - 'mdx/verticalMode.mdx': () => - import(/* webpackPrefetch: true, webpackChunkName: "mdx-vertical-mode" */ 'mdx/verticalMode.mdx'), 'mdx/renderPagination.mdx': () => import(/* webpackPrefetch: true, webpackChunkName: "mdx-render-pagination" */ 'mdx/renderPagination.mdx'), - 'mdx/slideNext.mdx': () => - import(/* webpackPrefetch: true, webpackChunkName: "mdx-slide-next" */ 'mdx/slideNext.mdx'), + 'mdx/verticalMode.mdx': () => + import(/* webpackPrefetch: true, webpackChunkName: "mdx-vertical-mode" */ 'mdx/verticalMode.mdx'), } diff --git a/analytics.js b/analytics.js new file mode 100644 index 0000000..fb8fc24 --- /dev/null +++ b/analytics.js @@ -0,0 +1,6 @@ +{/* */} + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'UA-127217040-1'); diff --git a/demo/assets.json b/demo/assets.json index d2efc08..c62f14c 100644 --- a/demo/assets.json +++ b/demo/assets.json @@ -1,27 +1,27 @@ { "vendors.js": "/react-elastic-carousel/static/js/vendors.28881de3.js", - "app.js": "/react-elastic-carousel/static/js/app.73f38a70.js", + "app.js": "/react-elastic-carousel/static/js/app.f31bcfaf.js", "mdx-breakpoints.js": "/react-elastic-carousel/static/js/mdx-breakpoints.8b0f7f1a.js", "mdx-easing.js": "/react-elastic-carousel/static/js/mdx-easing.36674c42.js", "mdx-enable-auto-play.js": "/react-elastic-carousel/static/js/mdx-enable-auto-play.b6a2c8d8.js", - "mdx-go-to.js": "/react-elastic-carousel/static/js/mdx-go-to.2f9e272e.js", - "mdx-focus-on-select.js": "/react-elastic-carousel/static/js/mdx-focus-on-select.e0518d92.js", + "mdx-focus-on-select.js": "/react-elastic-carousel/static/js/mdx-focus-on-select.9cbe56ec.js", + "mdx-go-to.js": "/react-elastic-carousel/static/js/mdx-go-to.81eac1b1.js", "mdx-index.js": "/react-elastic-carousel/static/js/mdx-index.ef487804.js", "mdx-initial-first-item.js": "/react-elastic-carousel/static/js/mdx-initial-first-item.d5356dc4.js", - "mdx-is-rtl.js": "/react-elastic-carousel/static/js/mdx-is-rtl.f2cf858c.js", - "mdx-item-padding.js": "/react-elastic-carousel/static/js/mdx-item-padding.27798ebf.js", - "mdx-item-position.js": "/react-elastic-carousel/static/js/mdx-item-position.c2529f2f.js", + "mdx-item-position.js": "/react-elastic-carousel/static/js/mdx-item-position.9edf723c.js", + "mdx-is-rtl.js": "/react-elastic-carousel/static/js/mdx-is-rtl.1a8626f6.js", + "mdx-item-padding.js": "/react-elastic-carousel/static/js/mdx-item-padding.89a83484.js", "mdx-items-to-scroll.js": "/react-elastic-carousel/static/js/mdx-items-to-scroll.66b1c473.js", "mdx-items-to-show.js": "/react-elastic-carousel/static/js/mdx-items-to-show.134555c9.js", - "mdx-on-next-end.js": "/react-elastic-carousel/static/js/mdx-on-next-end.c03dd7e6.js", - "mdx-on-next-start.js": "/react-elastic-carousel/static/js/mdx-on-next-start.b408cffe.js", - "mdx-on-prev-start.js": "/react-elastic-carousel/static/js/mdx-on-prev-start.4b5257a3.js", - "mdx-on-prev-end.js": "/react-elastic-carousel/static/js/mdx-on-prev-end.0291ea17.js", + "mdx-on-next-start.js": "/react-elastic-carousel/static/js/mdx-on-next-start.e2ca4a95.js", + "mdx-on-prev-end.js": "/react-elastic-carousel/static/js/mdx-on-prev-end.891bfaaf.js", + "mdx-on-next-end.js": "/react-elastic-carousel/static/js/mdx-on-next-end.3e5221f4.js", + "mdx-on-prev-start.js": "/react-elastic-carousel/static/js/mdx-on-prev-start.0e294702.js", "mdx-on-resize.js": "/react-elastic-carousel/static/js/mdx-on-resize.75769ad9.js", - "mdx-render-arrow.js": "/react-elastic-carousel/static/js/mdx-render-arrow.a1c5a675.js", - "mdx-vertical-mode.js": "/react-elastic-carousel/static/js/mdx-vertical-mode.3fb9fdc7.js", + "mdx-slide-next.js": "/react-elastic-carousel/static/js/mdx-slide-next.635d605f.js", + "mdx-render-arrow.js": "/react-elastic-carousel/static/js/mdx-render-arrow.c08208c7.js", "mdx-render-pagination.js": "/react-elastic-carousel/static/js/mdx-render-pagination.af3ad6e8.js", - "mdx-slide-next.js": "/react-elastic-carousel/static/js/mdx-slide-next.1fdb5e4a.js", - "runtime~app.js": "/react-elastic-carousel/static/js/runtime~app.9c9e323fb06637a3c830.js", + "mdx-vertical-mode.js": "/react-elastic-carousel/static/js/mdx-vertical-mode.c5283b12.js", + "runtime~app.js": "/react-elastic-carousel/static/js/runtime~app.e5afd0a5349f4d7172db.js", "index.html": "/react-elastic-carousel/index.html" } \ No newline at end of file diff --git a/demo/index.html b/demo/index.html index ce3b16b..ca3cc70 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1 +1 @@ -react-elastic-carousel
\ No newline at end of file +react-elastic-carousel
\ No newline at end of file diff --git a/demo/static/js/app.73f38a70.js b/demo/static/js/app.73f38a70.js deleted file mode 100644 index be77435..0000000 --- a/demo/static/js/app.73f38a70.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"./.docz/app/db.json":function(e){e.exports={config:{title:"react-elastic-carousel",description:"A flexible and responsive carousel component for react",themeConfig:{mode:"light",codemirrorTheme:"dracula",styles:{body:{fontFamily:"'Source Sans Pro', Helvetica, sans-serif",fontSize:16,lineHeight:1.6},container:{width:"100%",padding:["20px 40px","20px 40px"]}}},ordering:"ascending",version:"0.1.17",repository:"https://github.com/sag1v/react-elastic-carousel",native:!1,src:"./src/docs",dest:"./demo",port:8888,hashRouter:!0,base:"/react-elastic-carousel/",htmlContext:{head:{links:[{rel:"stylesheet",href:"//codemirror.net/theme/dracula.css"}]}}},entries:{"mdx/breakpoints.mdx":{name:"breakPoints",order:3,route:"/breakPoints",menu:"Examples",id:"f6a48a27e5054ccbc3c8fe4e89b91d6b",filepath:"mdx/breakpoints.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/breakpoints.mdx",slug:"mdx-breakpoints",headings:[{depth:1,slug:"breakpoints",value:"breakPoints"},{depth:4,slug:"you-can-pass-an-array-of-objects-that-will-signal-react-elastic-carousel-to-change-props-like-itemstoshow-and-itemstoscroll-on-different-width-values",value:"You can pass an array of objects that will signal react-elastic-carousel to change props like itemsToShow and itemsToScroll on different width values."},{depth:2,slug:"example",value:"Example"}]},"mdx/easing.mdx":{name:"easing",order:10,route:"/easing",menu:"Examples",id:"74e08dc0e1d1c6685b946008e35df874",filepath:"mdx/easing.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/easing.mdx",slug:"mdx-easing",headings:[{depth:1,slug:"easing",value:"easing"},{depth:4,slug:"you-can-pass-an-easing-pattern-for-the-animations",value:"You can pass an easing pattern for the animations"}]},"mdx/enableAutoPlay.mdx":{name:"enableAutoPlay",order:7,route:"/enableAutoPlay",menu:"Examples",id:"29c4ecc66acacd3bf0adba5cf3392524",filepath:"mdx/enableAutoPlay.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/enableAutoPlay.mdx",slug:"mdx-enable-auto-play",headings:[{depth:1,slug:"enableautoplay",value:"enableAutoPlay"},{depth:4,slug:"toggle-enableautoplay-and-set-autoplayspeed-as-you-wish",value:"Toggle enableAutoPlay and set autoPlaySpeed as you wish"}]},"mdx/goTo.mdx":{name:"goTo",order:989,route:"/goTo",menu:"Examples",id:"0d9b9869868b7d346d28d47233378890",filepath:"mdx/goTo.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/goTo.mdx",slug:"mdx-go-to",headings:[{depth:1,slug:"goto",value:"goTo"},{depth:4,slug:"you-can-trigger-the-goto-method-via-a-ref-to-the-carousel",value:"You can trigger the goTo method via a ref to the Carousel :"}]},"mdx/focusOnSelect.mdx":{name:"focusOnSelect",order:5,route:"/focusOnSelect",menu:"Examples",id:"6ed5d03c60339f008d3a8a9765237026",filepath:"mdx/focusOnSelect.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/focusOnSelect.mdx",slug:"mdx-focus-on-select",headings:[{depth:1,slug:"focusonselect",value:"focusOnSelect"},{depth:4,slug:"sliding-to-an-item-on-click",value:"Sliding to an item on click"}]},"mdx/index.mdx":{name:"Getting started",route:"/",id:"feecdcc77eed3427ff64d13decdfea87",filepath:"mdx/index.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/index.mdx",slug:"mdx-index",order:0,menu:null,headings:[{depth:1,slug:"getting-started",value:"Getting started"},{depth:2,slug:"install",value:"install"},{depth:2,slug:"import",value:"Import"},{depth:2,slug:"play",value:"play"},{depth:2,slug:"props",value:"Props"}]},"mdx/initialFirstItem.mdx":{name:"initialFirstItem",order:4,route:"/initialFirstItem",menu:"Examples",id:"76a5739de06d728534049c3762ad9a66",filepath:"mdx/initialFirstItem.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/initialFirstItem.mdx",slug:"mdx-initial-first-item",headings:[{depth:1,slug:"initialfirstitem",value:"initialFirstItem"},{depth:4,slug:"the-first-active-item-on-mount",value:"The first active item on mount"}]},"mdx/isRTL.mdx":{name:"isRTL",order:6,route:"/isRTL",menu:"Examples",id:"c4f7997e95e43791f89e3a691bfbfb47",filepath:"mdx/isRTL.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/isRTL.mdx",slug:"mdx-is-rtl",headings:[{depth:1,slug:"isrtl",value:"isRTL"},{depth:4,slug:"support-for-right-to-left-layouts",value:"Support for right-to-left layouts"}]},"mdx/itemPadding.mdx":{name:"itemPadding",order:8,route:"/itemPadding",menu:"Examples",id:"b68514d0135666cc912ddd8403d31d11",filepath:"mdx/itemPadding.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/itemPadding.mdx",slug:"mdx-item-padding",headings:[{depth:1,slug:"itempadding",value:"itemPadding"},{depth:4,slug:"sets-a-padding-to-the-wrapping-element-of-each-item",value:"Sets a padding to the wrapping element of each item"}]},"mdx/itemPosition.mdx":{name:"itemPosition",order:9,route:"/itemPosition",menu:"Examples",id:"76a6425c8af9dc748f704aee745e416e",filepath:"mdx/itemPosition.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/itemPosition.mdx",slug:"mdx-item-position",headings:[{depth:1,slug:"itemposition",value:"itemPosition"},{depth:4,slug:"sets-the-position-of-the-item-within-the-items-wrapper",value:"Sets the position of the item within the item's wrapper."}]},"mdx/itemsToScroll.mdx":{name:"itemsToScroll",order:2,route:"/itemsToScroll",menu:"Examples",id:"7f6f10b354a71a0fe33d0742ef4bd5ba",filepath:"mdx/itemsToScroll.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/itemsToScroll.mdx",slug:"mdx-items-to-scroll",headings:[{depth:1,slug:"itemstoscroll",value:"itemsToScroll"},{depth:4,slug:"number-of-items-to-scroll",value:"Number of items to scroll"}]},"mdx/itemsToShow.mdx":{name:"itemsToShow",order:1,route:"/itemsToShow",menu:"Examples",id:"a9606fa08754b34ebfd1b8afdb09a627",filepath:"mdx/itemsToShow.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/itemsToShow.mdx",slug:"mdx-items-to-show",headings:[{depth:1,slug:"itemstoshow",value:"itemsToShow"},{depth:4,slug:"number-of-visible-items",value:"Number of visible items"}]},"mdx/onNextEnd.mdx":{name:"onNextEnd",order:991,route:"/onNextEnd",menu:"Examples",id:"252226ec0e74a4c6191f7c27e27ab109",filepath:"mdx/onNextEnd.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/onNextEnd.mdx",slug:"mdx-on-next-end",headings:[{depth:1,slug:"onnextend",value:"onNextEnd"},{depth:4,slug:"onnextend-will-pass-the-new-current-item-object",value:"onNextEnd will pass the new item-object :"}]},"mdx/onNextStart.mdx":{name:"onNextStart",order:990,route:"/onNextStart",menu:"Examples",id:"2d0ad71c220798c8ad6754e95f1436cf",filepath:"mdx/onNextStart.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/onNextStart.mdx",slug:"mdx-on-next-start",headings:[{depth:1,slug:"onnextstart",value:"onNextStart"},{depth:4,slug:"onnextstart-will-pass-both-the-current-and-next-item-object",value:"onNextStart will pass both the and item-object :"}]},"mdx/onPrevStart.mdx":{name:"onPrevStart",order:992,route:"/onPrevStart",menu:"Examples",id:"7dc068d4b5d88e53563c61b61cbd99a4",filepath:"mdx/onPrevStart.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/onPrevStart.mdx",slug:"mdx-on-prev-start",headings:[{depth:1,slug:"onprevstart",value:"onPrevStart"},{depth:4,slug:"onprevstart-will-pass-both-the-current-and-next-item-object",value:"onPrevStart will pass both the and item-object :"}]},"mdx/onPrevEnd.mdx":{name:"onPrevEnd",order:993,route:"/onPrevEnd",menu:"Examples",id:"bdace8475c6734e4203406c1abecff98",filepath:"mdx/onPrevEnd.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/onPrevEnd.mdx",slug:"mdx-on-prev-end",headings:[{depth:1,slug:"onprevend",value:"onPrevEnd"},{depth:4,slug:"onprevend-will-pass-the-new-current-item-object",value:"onPrevEnd will pass the new item-object :"}]},"mdx/onResize.mdx":{name:"onResize",order:995,route:"/onResize",menu:"Examples",id:"eee22fe9ebecb3be389da92d8b9b15d8",filepath:"mdx/onResize.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/onResize.mdx",slug:"mdx-on-resize",headings:[{depth:1,slug:"onresize",value:"onResize"},{depth:4,slug:"you-can-listen-to-the-onresize-event-of-the-carousel-this-will-get-invoked-on-each-resize-event-of-the-root-element-and-will-return-the-current-breakpoint-object-being-used",value:"You can listen to the onResize event of the Carousel , this will get invoked on each resize event of the root element and will return the current breakPoint object being used:"}]},"mdx/renderArrow.mdx":{name:"renderArrow",order:11,route:"/renderArrow",menu:"Examples",id:"87a5c20c345f10cdedfb7b49befb6b18",filepath:"mdx/renderArrow.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/renderArrow.mdx",slug:"mdx-render-arrow",headings:[{depth:1,slug:"renderarrow",value:"renderArrow"},{depth:3,slug:"you-can-provide-custom-arrow-buttons",value:"You can provide custom Arrow buttons."},{depth:2,slug:"signature",value:"Signature"},{depth:2,slug:"demo",value:"Demo"}]},"mdx/verticalMode.mdx":{name:"verticalMode",order:3,route:"/verticalMode",menu:"Examples",id:"476b3baef72cbd65f9331611342d646b",filepath:"mdx/verticalMode.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/verticalMode.mdx",slug:"mdx-vertical-mode",headings:[{depth:1,slug:"verticalmode",value:"verticalMode"},{depth:4,slug:"display-and-animate-the-carousel-in-a-vertical-layout",value:"Display and animate the Carousel in a vertical layout"}]},"mdx/renderPagination.mdx":{name:"renderPagination",order:11,route:"/renderPagination",menu:"Examples",id:"bc25c78882bf4efdc17f346ca13e25da",filepath:"mdx/renderPagination.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/renderPagination.mdx",slug:"mdx-render-pagination",headings:[{depth:1,slug:"renderpagination",value:"renderPagination"},{depth:3,slug:"you-can-provide-custom-pagination-buttons",value:"You can provide custom pagination buttons."},{depth:2,slug:"signature",value:"Signature"},{depth:2,slug:"demo",value:"Demo"}]},"mdx/slideNext.mdx":{name:"slideNext / slidePrev",order:994,route:"/slideNext",menu:"Examples",id:"70cfc8eaa9911ab18a7ac7bc763b34ce",filepath:"mdx/slideNext.mdx",link:"https://github.com/sag1v/react-elastic-carousel\\edit\\master\\src\\docs\\mdx/slideNext.mdx",slug:"mdx-slide-next",headings:[{depth:1,slug:"slidenext--slideprev",value:"slideNext / slidePrev"},{depth:4,slug:"you-can-trigger-the-slidenext-or-slideprev-methods-via-a-ref-to-the-carousel",value:"You can trigger the slideNext or slidePrev methods via a ref to the Carousel :"}]}}}},"./.docz/app/imports.js":function(e,t,d){"use strict";d.d(t,"a",function(){return s});var s={"mdx/breakpoints.mdx":function(){return Promise.all([d.e(0),d.e(2)]).then(d.bind(null,"./src/docs/mdx/breakpoints.mdx"))},"mdx/easing.mdx":function(){return Promise.all([d.e(0),d.e(3)]).then(d.bind(null,"./src/docs/mdx/easing.mdx"))},"mdx/enableAutoPlay.mdx":function(){return Promise.all([d.e(0),d.e(4)]).then(d.bind(null,"./src/docs/mdx/enableAutoPlay.mdx"))},"mdx/goTo.mdx":function(){return Promise.all([d.e(0),d.e(5)]).then(d.bind(null,"./src/docs/mdx/goTo.mdx"))},"mdx/focusOnSelect.mdx":function(){return Promise.all([d.e(0),d.e(6)]).then(d.bind(null,"./src/docs/mdx/focusOnSelect.mdx"))},"mdx/index.mdx":function(){return Promise.all([d.e(0),d.e(7)]).then(d.bind(null,"./src/docs/mdx/index.mdx"))},"mdx/initialFirstItem.mdx":function(){return Promise.all([d.e(0),d.e(8)]).then(d.bind(null,"./src/docs/mdx/initialFirstItem.mdx"))},"mdx/isRTL.mdx":function(){return Promise.all([d.e(0),d.e(9)]).then(d.bind(null,"./src/docs/mdx/isRTL.mdx"))},"mdx/itemPadding.mdx":function(){return Promise.all([d.e(0),d.e(10)]).then(d.bind(null,"./src/docs/mdx/itemPadding.mdx"))},"mdx/itemPosition.mdx":function(){return Promise.all([d.e(0),d.e(11)]).then(d.bind(null,"./src/docs/mdx/itemPosition.mdx"))},"mdx/itemsToScroll.mdx":function(){return Promise.all([d.e(0),d.e(12)]).then(d.bind(null,"./src/docs/mdx/itemsToScroll.mdx"))},"mdx/itemsToShow.mdx":function(){return Promise.all([d.e(0),d.e(13)]).then(d.bind(null,"./src/docs/mdx/itemsToShow.mdx"))},"mdx/onNextEnd.mdx":function(){return Promise.all([d.e(0),d.e(14)]).then(d.bind(null,"./src/docs/mdx/onNextEnd.mdx"))},"mdx/onNextStart.mdx":function(){return Promise.all([d.e(0),d.e(15)]).then(d.bind(null,"./src/docs/mdx/onNextStart.mdx"))},"mdx/onPrevStart.mdx":function(){return Promise.all([d.e(0),d.e(16)]).then(d.bind(null,"./src/docs/mdx/onPrevStart.mdx"))},"mdx/onPrevEnd.mdx":function(){return Promise.all([d.e(0),d.e(17)]).then(d.bind(null,"./src/docs/mdx/onPrevEnd.mdx"))},"mdx/onResize.mdx":function(){return Promise.all([d.e(0),d.e(18)]).then(d.bind(null,"./src/docs/mdx/onResize.mdx"))},"mdx/renderArrow.mdx":function(){return Promise.all([d.e(0),d.e(19)]).then(d.bind(null,"./src/docs/mdx/renderArrow.mdx"))},"mdx/verticalMode.mdx":function(){return Promise.all([d.e(0),d.e(20)]).then(d.bind(null,"./src/docs/mdx/verticalMode.mdx"))},"mdx/renderPagination.mdx":function(){return Promise.all([d.e(0),d.e(21)]).then(d.bind(null,"./src/docs/mdx/renderPagination.mdx"))},"mdx/slideNext.mdx":function(){return Promise.all([d.e(0),d.e(22)]).then(d.bind(null,"./src/docs/mdx/slideNext.mdx"))}}},"./.docz/app/index.jsx":function(e,t,d){"use strict";d.r(t);var s=d("./node_modules/react/index.js"),o=d.n(s),a=d("./node_modules/react-dom/index.js"),n=d.n(a),i=d("./.docz/app/root.jsx"),r=[],l=[],m=function(){return l.forEach(function(e){return e&&e()})},c=document.querySelector("#root");!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.a;r.forEach(function(e){return e&&e()}),n.a.render(o.a.createElement(e,null),c,m)}(i.a)},"./.docz/app/root.jsx":function(e,t,d){"use strict";(function(e){var s=d("./node_modules/react/index.js"),o=d.n(s),a=d("./node_modules/react-hot-loader/index.js"),n=d("./node_modules/docz-theme-default/dist/index.js"),i=d.n(n),r=d("./.docz/app/imports.js"),l=d("./.docz/app/db.json"),m=function(){return o.a.createElement(i.a,{db:l,imports:r.a,hashRouter:!0})};t.a=Object(a.hot)(e)(m),m.__docgenInfo={description:"",methods:[],displayName:"Root"}}).call(this,d("./node_modules/webpack/buildin/harmony-module.js")(e))},0:function(e,t,d){d("./node_modules/@babel/polyfill/lib/index.js"),e.exports=d("./.docz/app/index.jsx")}},[[0,23,0]],[0,2,3,4,6,5,7,8,9,10,11,12,13,14,15,17,16,18,19,21,22,20]]); \ No newline at end of file diff --git a/demo/static/js/app.f31bcfaf.js b/demo/static/js/app.f31bcfaf.js new file mode 100644 index 0000000..7c1dcc6 --- /dev/null +++ b/demo/static/js/app.f31bcfaf.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"./.docz/app/db.json":function(e){e.exports={config:{title:"react-elastic-carousel",description:"A flexible and responsive carousel component for react",themeConfig:{mode:"light",codemirrorTheme:"dracula",styles:{body:{fontFamily:"'Source Sans Pro', Helvetica, sans-serif",fontSize:16,lineHeight:1.6},container:{width:"100%",padding:["20px 40px","20px 40px"]}}},ordering:"ascending",version:"0.1.18",repository:"https://github.com/sag1v/react-elastic-carousel",native:!1,src:"./src/docs",dest:"./demo",port:8888,hashRouter:!0,base:"/react-elastic-carousel/",htmlContext:{head:{scripts:[{async:"async",src:"https://www.googletagmanager.com/gtag/js?id=UA-127217040-1"}],raw:"`, links: [{ rel: 'stylesheet', href: '//codemirror.net/theme/dracula.css'