{"_id":"@adactiveasia/adasia-carousel","_rev":"4-be8dd8da57eb884d1b1fc1d05286c571","name":"@adactiveasia/adasia-carousel","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@adactiveasia/adasia-carousel","version":"0.0.1","description":"Adsum Carousel Component","main":"index.js","author":{"name":"Stanley Ong","email":"stanley.ong@adactive.com"},"contributors":[{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"}],"license":"UNLISENCED","repository":{"type":"git","url":"git://github.com/adactiveasia/adsum-react-components.git"},"bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"scripts":{},"publishConfig":{"access":"public"},"dependencies":{"chalk":"^1.1.3","commander":"^2.9.0","nuka-carousel":"git+https://github.com/AdactiveSAS/nuka-carousel.git#build/setStateFix","video-react":"^0.10.4"},"devDependencies":{"prop-types":"^15.6.1","react":"^16.3.1"},"peerDependencies":{"prop-types":"^15.6.1","react":"^16.3.1"},"keywords":["adsum","react","redux"],"bin":{"arc-carousel":"./cli.js"},"gitHead":"a49c91666848e6d6cf5314266684abc0ca622064","homepage":"https://github.com/adactiveasia/adsum-react-components#readme","_id":"@adactiveasia/adasia-carousel@0.0.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-5kQv5oktNFuLs08Sm9r46YLWqLj1yP0gbDwz7wBvKh6WAUmElq93RHSXZrhV6S7KvqMJmyq42ZYYo3M3jny3bw==","shasum":"f3b9e4ab9e7abdfb59888caaedf50d8104bbd224","tarball":"https://registry.npmjs.org/@adactiveasia/adasia-carousel/-/adasia-carousel-0.0.1.tgz","fileCount":25,"unpackedSize":21126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgKK+CRA9TVsSAnZWagAAEt4P/ApOIpO+8Q/Mt8y8Bxl1\nUAawkLEG1yPuPOgZFfTiHgZsVoc7tClajxSpLy9ZabwxBOII9SdPEYu8bR0s\nzRA0+xCSXvypqCEAH6iOgGWQbz5Y3jnkaFPnPaKpxaUurYLM6fY4QUXNo0LT\nBb9VukZ0PzcRzu3WdFT/qwSnz4h0QkCnc0NxQ7X/AGwqDPlOZHQll6tTzGy8\nMQy0AskqWyQSgg2HQTaeKtQZS0o9yDhAsx8a3hfsQE+oBPTNK8oAIuFpxg1C\nLfPnFQ5HAQcOxXbx39m4zHdyr1RgB9msuv/MQaxxWHJMoKLPbdcJS7SOdbKA\nXMmJALiOemjYEbSGHmhGxwyI6Ux/JbHch3MoplqJDL9w29bh9MGpK5qJU5PL\nHG34kFqwivxHfKDsrDv9aQd3aQhvi9dvdhitGa7YdBmOWQk/JD0nqRnIdFmM\nRT/Wxuw0JSB4bYVn2le7cRQbWoiaLX+IKbDCNuD5J6kYtYaTg5pHbSOzYwXT\n0cS3+rFP+18HsAPB+66gHGVGpUuVteeekJY821ec/zRvBir2xxxJdZA+KkFC\nFBtpysj0+MjqJvjWWeBcou4KIFAj9rTUEJdIjr4XJJHVwqvgcLXaQUpys/nr\nE9afHdHVv5eFeKRQcNs3t20U5umWy0zcQvgKTx6l9elFx5WCouW3Bg4vcMrK\n0ILC\r\n=MWoH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjouoOHqgwmV6XZqnMenfSkZ4dLrLF6j0LZScSqQJGgAiEAktFJ/wp3FQuEsgaLocsrDYMEEVYuVPAHUyjMJEN37i0="}]},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"_npmUser":{"name":"devadactiveasia","email":"dev@adactive.asia"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adasia-carousel_0.0.1_1568711357495_0.45273797696538587"},"_hasShrinkwrap":false},"0.0.2":{"name":"@adactiveasia/adasia-carousel","version":"0.0.2","description":"Adsum Carousel Component","main":"index.js","author":{"name":"Stanley Ong","email":"stanley.ong@adactive.com"},"contributors":[{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"}],"license":"UNLISENCED","repository":{"type":"git","url":"git://github.com/adactiveasia/adsum-react-components.git"},"bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"scripts":{},"publishConfig":{"access":"public"},"dependencies":{"chalk":"^1.1.3","commander":"^2.9.0","nuka-carousel":"git+https://github.com/AdactiveSAS/nuka-carousel.git#build/setStateFix","video-react":"^0.10.4"},"devDependencies":{"prop-types":"^15.6.1","react":"^16.3.1"},"peerDependencies":{"prop-types":"^15.6.1","react":"^16.3.1"},"keywords":["adsum","react","redux"],"bin":{"arc-carousel":"./cli.js"},"gitHead":"a49c91666848e6d6cf5314266684abc0ca622064","homepage":"https://github.com/adactiveasia/adsum-react-components#readme","_id":"@adactiveasia/adasia-carousel@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"devadactiveasia","email":"dev@adactive.asia"},"dist":{"integrity":"sha512-qMgMb6uqw82jJnz5aiu2rxoz+9ZFWk2WFejv7TQvKVH5je6lvw6l9DhzXAOJw4vsIQ1T61Uc8bZnMphBPJmiwA==","shasum":"bdd71d25cd8bf7132e28d69ea4e4f56672f76451","tarball":"https://registry.npmjs.org/@adactiveasia/adasia-carousel/-/adasia-carousel-0.0.2.tgz","fileCount":25,"unpackedSize":21324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd11NTCRA9TVsSAnZWagAAU70P/0nR6yEt08zf/k2PAoyn\nMXxdGjSYhxgHHqBLwykfvHNi8fiosWiD/Z36wLMC691KwXNMMpXuQiz8JY05\nn9VagBe4ipmHko0bgkaHIY03y0Hruysm6NQ+XHq/GNJO8bqp5d2Jm+SpE4EY\nVX72nvoit1cKcfrB9P7Z1moJ4VzBeZBDxx0v7pQw0JDDcJw7KExFVr2gJYdJ\nLY2WGEmwUPGq+YnzQcK8qRkFD34tC1cW4PJalTP1kqtLBlqC8n6zAdlXIco1\n43NHJVO45tckbAbOYd6UcObrSGQiIyhXHCjWsW0DRLt0b6/E2+kdn3bTtUH2\n/YMpRGjHy0Br3KfRQbm/Hi3eq5ztydQ+R0XQWCuDngrN0HvbX6GVK/vMZgvT\nWYvk0keL1l7MrK1vNWbDA/r4+9XUlNZ/HGgVU8OULOSwZNNF9PwkC/7wgeWN\n5bety+Is50KeRQtfhBJUXKuoY4tFlPMiXcedIuMF7HIkQLNphVGhxQUrXjbo\nmGtYw/1Ku5jmEbmRVZEGfMEzdDKLDHabl3HeLfuWZj1efDb8DZ069+xsZm8w\n+yXaaRBBYbQ9WZGooOfVmXPlODksGLR1bvpVuupunu7mKrhYzyMUCsZcnhm+\ntrw0rrFYjFoCy3ruqdhMBbHNp2UXUlH3n/QGqtcv/SZetparU4zSBcO5DaWg\nWQl+\r\n=xF2x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9RTfAG4+00hmBJq310Z3fbGpNG5JGLsTPfZqlu+4/kQIgMS+nCNgXoOSH/NI0N/eMOxDuxwEyQN91/ykKpm/w5W8="}]},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adasia-carousel_0.0.2_1574392658606_0.3608817443369494"},"_hasShrinkwrap":false},"0.0.3":{"name":"@adactiveasia/adasia-carousel","version":"0.0.3","description":"Adsum Carousel Component","main":"index.js","author":{"name":"Stanley Ong","email":"stanley.ong@adactive.com"},"contributors":[{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"}],"license":"UNLISENCED","repository":{"type":"git","url":"git://github.com/adactiveasia/adsum-react-components.git"},"bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"scripts":{},"publishConfig":{"access":"public"},"dependencies":{"chalk":"^1.1.3","commander":"^2.9.0","nuka-carousel":"git+https://github.com/AdactiveSAS/nuka-carousel.git#build/setStateFix","video-react":"^0.10.4"},"devDependencies":{"prop-types":"^15.6.1","react":"^16.3.1"},"peerDependencies":{"prop-types":"^15.6.1","react":"^16.3.1"},"keywords":["adsum","react","redux"],"bin":{"arc-carousel":"cli.js"},"gitHead":"a49c91666848e6d6cf5314266684abc0ca622064","homepage":"https://github.com/adactiveasia/adsum-react-components#readme","_id":"@adactiveasia/adasia-carousel@0.0.3","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-V5aAlbHoEQL6UvdOM1FK8jIMqUq272cFYuZyzvJBtuqxM/sgG2cL341VRmPPy3U7qbB9KUdEIeiBC6y2ube15g==","shasum":"7418f49aba3d14d83b8c0a8436f9ae57c2fc3bd9","tarball":"https://registry.npmjs.org/@adactiveasia/adasia-carousel/-/adasia-carousel-0.0.3.tgz","fileCount":25,"unpackedSize":19759,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELSDW4kzG0gn4h7FjSmkyU9FDauHQ86Wpy4rJHXa6TcAiEAuFYoL1F2ubY0cU66GCixeOSCTRGS/vijweOpq9jblSU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqSdYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKjQ//YnrLGPewUW+Pe63NDkWIeJm0ET3f+taxY/sNB+EaNfiVMSzm\r\no+TAyIhYN9tqpB3yYBuAqKADJ8mzXLBWWCnmKRvfnt9RG5w0Q54h8vFeAyB8\r\nAP9PiFa1bI48/6Fcoka4IIrnCeRCktFoI6ZO5rVs8NA/9v+D2IcH41g+CQIF\r\nMjpJl1A3Xev5MRuM1GuaRAxx4NVmRLrLHC6kfaWm4YIKDK5S9+c0dibH/S6p\r\nqDG0H0h2ubi0GrnjnyjIMoLXqhsVoVfOEyjolZK32R4J+MszNreCOmJh8yN+\r\nyRNrRKy0jNZo3d0VBlDLx6YUPRnIXYl+0WnxhU8Lo55wGr21XvD95UWdX+kI\r\nc80T/CLQ455DPsNBVeZ6V2YodI14sOg3NtwFlnbuVgyavDViftmsbksbX0qi\r\nDas2CRFuvZJfJLhYmerd92sjZ4RZGuhwBA3ojyytNGofxvLQF7Pn+nlmVfZ/\r\nftOVp08R+UmsBTUZezyR1cLpObAN20xmWwHEi2tlKyCkGcoxiqcGsonGDCrO\r\nS12qfUXTDuaIhKPS445q9LNnlFeUX1Msc7L0xB9IIeQx/qoR1EJFTbiqsWHy\r\n8qwim0JJaVqNK4VnyYrHZKd9M2pJ97zcqKUks+hkwc3Cke3Mxnyl5tQiXIEe\r\n3NhpMuzG3gP3wzbeMVWT+lqXctzwwyTx4VM=\r\n=ZETQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"devadactiveasia","email":"dev@adactive.asia"},"directories":{},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adasia-carousel_0.0.3_1672030040041_0.33918131388943107"},"_hasShrinkwrap":false},"0.0.4":{"name":"@adactiveasia/adasia-carousel","version":"0.0.4","description":"Adsum Carousel Component","main":"index.js","author":{"name":"Stanley Ong","email":"stanley.ong@adactive.com"},"contributors":[{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"}],"license":"UNLISENCED","repository":{"type":"git","url":"git://github.com/adactiveasia/adsum-react-components.git"},"bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"scripts":{},"publishConfig":{"access":"public"},"dependencies":{"chalk":"^1.1.3","commander":"^2.9.0","nuka-carousel":"git+https://github.com/AdactiveSAS/nuka-carousel.git#build/setStateFix","video-react":"^0.16.0"},"devDependencies":{"react":"^17.2.0"},"peerDependencies":{"react":"^17.2.0"},"keywords":["adsum","react","redux"],"bin":{"arc-carousel":"cli.js"},"gitHead":"a49c91666848e6d6cf5314266684abc0ca622064","homepage":"https://github.com/adactiveasia/adsum-react-components#readme","_id":"@adactiveasia/adasia-carousel@0.0.4","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-teu3WVhCNLej2y3P3j5wWEVC5qHtuffhBJauColcm0K7DnqSzhhQJZSlVoahvEcj2Pyxa1hJPa6++9wbl1Y+Uw==","shasum":"bef8f597cd07d09d8aaa060825ad058d1bd7fd63","tarball":"https://registry.npmjs.org/@adactiveasia/adasia-carousel/-/adasia-carousel-0.0.4.tgz","fileCount":25,"unpackedSize":19666,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFMo/FeyVRtPPV/G03nDBaw7FGbprqGNPImi8V1TONhaAiBxGimHrkoOXGqexRUzgcmG3dSP9zHspCLit0C0yLUfoA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqV20ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOxhAAg9KVNNfAs8H4f6lwjNl6GIpoxz6BmkvrmPk12k6NVqT7Mfkw\r\nOS738OjaNN3eMyB0JLP1WChtu9ZlUrX/iifd+0byLwIosDy3oT6RTTLvSJg3\r\nN95JAmbHb0JCeiiSpcRMspyk8QzwVFDDgc09ijqt3RTz/V9wbTZwXajgRTrb\r\nNQxn8mJT2K7a3Eg0db3I1ryX+Vz2lJzNF5iddH3m9CgRlZ5/QEvO0TC1rjAh\r\nlpi3FHcWrJ+WvxA/3WIGVT+W8dBOdISzY6RCMExfJc0Jc/dyVgfXLGtCEo+y\r\njkKTC1hOCElBNDLFjfMxgqrVn/TN95ocsvnjK0kRxcMl3A9SrRBmWqI4zVMg\r\nO0HYEoxDUQ1Ffux64e16PzfwlmIrQLChImdGVob5dSZaEkjKt9aixKZkTecF\r\nomAX2loJK/PvKh1BMxgdGE58Z8OJF+WtrTtnHkmvandnyJV/4vY+Cxo9dy+G\r\nOhwQhTg1fPuzb8I3cFgHIzcmDYcyFs9+IVgv1Jv18StLsvqmYQ9ZUTWE6qsa\r\nfQniQWb2+TH/q+Eymhlo4T6sD3C3l4uoNhfzhUWpV6342l2xuF5TSS1ASNiv\r\nlO8dvaGQTsy5uULM4I8u7upDe+kgaNo98Ujrxbm6ak4o3oOLHm3B1td5kOHQ\r\nskWLa1tHvuFmA6K3zpxT9wCDJ3IrSZGUpgY=\r\n=LHwP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"devadactiveasia","email":"dev@adactive.asia"},"directories":{},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adasia-carousel_0.0.4_1672043955825_0.03192175423126842"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-17T09:09:17.251Z","0.0.1":"2019-09-17T09:09:17.671Z","modified":"2022-12-26T08:39:16.153Z","0.0.2":"2019-11-22T03:17:38.817Z","0.0.3":"2022-12-26T04:47:20.214Z","0.0.4":"2022-12-26T08:39:16.041Z"},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"description":"Adsum Carousel Component","homepage":"https://github.com/adactiveasia/adsum-react-components#readme","keywords":["adsum","react","redux"],"repository":{"type":"git","url":"git://github.com/adactiveasia/adsum-react-components.git"},"contributors":[{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"}],"author":{"name":"Stanley Ong","email":"stanley.ong@adactive.com"},"bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"license":"UNLISENCED","readme":"# Carousel component\n\n![image](https://user-images.githubusercontent.com/6003532/39986925-bebf3d72-5795-11e8-91bb-ae8235ac5896.png)\n\n[Live examples here](https://adactivesas.github.io/adsum-react-components/packages/adsum-carousel/examples/index.html)\n\n## Getting started\n\n```javascript\n    npm i --save @adactive/arc-carousel\n```\nOR\n```javascript\n    yarn add @adactive/arc-carousel\n```\n\n```javascript\n    import AdsumCarousel from \"@adactive/arc-carousel\"\n     ...\n    <AdsumCarousel \n        isOpen=true \n        medias=[]\n        onTouchToNavigate={this.onTouchToNavigate}\n    />\n```\n\n### Props\n \n```javascript\ntype PropsType = {|\n    +isOpen: boolean,\n    +medias: Array<MediaType>,\n    +onMediaTouch: (MediaType) => void,\n    +carouselOptions?: Object,\n    +style?: CSSStyleDeclaration\n|};\n\nstatic defaultProps = {\n    isOpen: false,\n    medias: [],\n    onMediaTouch: null,\n    carouselOptions: {\n        dragging: false,\n        swiping: false,\n        speed: 1000,\n        renderCenterLeftControls: null,\n        renderCenterRightControls: null,\n        renderCenterBottomControls: null,\n        renderBottomCenterControls: null,\n        arrows: false,\n        pauseOnHover: false,\n        slidesToShow: 1,\n        slidesToScroll: 1,\n        adaptiveHeight: true,\n        wrapAround: true,\n    },\n    style: {},\n    ButtonModalForImage: null,\n    autoSlide: false,\n    autoSlideInterval: 10000,\n};\n```\n**TO MAKE DYNAMIC INTERVAL** -> media send to this carousel via medias should have interval field. If a media have this, then this media will have own interval. If haven't, the media will follow the general interval set (autoslideinterval)\n\n**isOpen** -> To show or hide carousel\n\n**medias** -> Array of medias to be displayed in the carousel\n\n**onMediaTouch** -> A callback function to capture clicking of the media\n\n**carouselOptions** -> Refer to [nuka-carousel](http://kenwheeler.github.io/nuka-carousel/#/) for more information. However, 2 of the following options in nuka carousel have been predefined in Adsum Carousel Component.\n\n- autoPlay: This option will be set to true if there is only 1 media in the carousel and false if there are multiple media.\n- afterSlide: This option will be a predefined callback function that plays a video immediately if the next media in the carousel is a video.\n\n**style** -> To customise the CSS of the overall component\n\n**autoSlide** -> Slider Looping in Boolean\n\n**autoSlideInterval** -> Slider Looping Interval in ms\n\n\n## Copy component inside your project src folder  \n\n### Less only\n    `npx @adactive/arc-carousel copy --less-only`\n    \n### Full copy\n    `npx @adactive/arc-carousel copy`\n","readmeFilename":"README.md"}