{"_id":"@edsardio/alpine-tour","_rev":"2-5c047f27bd2c66ddc17e28da118014a0","name":"@edsardio/alpine-tour","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@edsardio/alpine-tour","version":"1.0.0","description":"A dynamic tour using AlpineJS and TailwindCSS","main":"dist/module.cjs.js","module":"dist/module.esm.js","type":"module","scripts":{"build":"node ./scripts/build.js","watch":"node ./scripts/build.js --watch"},"devDependencies":{"brotli-size":"^4.0.0","esbuild":"^0.8.39"},"repository":{"type":"git","url":"git+https://github.com/Edsardio/alpine-tour.git"},"keywords":["AlpineJS","tour","TailwindCSS"],"author":{"name":"Edsardio"},"bugs":{"url":"https://github.com/Edsardio/alpine-tour/issues"},"homepage":"https://github.com/Edsardio/alpine-tour#readme","gitHead":"acd61450af7989300cc4b70982a2a18b0d487480","_id":"@edsardio/alpine-tour@1.0.0","_nodeVersion":"16.7.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-RopknyFKOu4QDJqiwZWbwZuaUCyaGcAwT+plnHSs+HyPkk4XdZrvRZ2CkFGHY/GzcAnjZYhHNkBdFeKfF9YgdQ==","shasum":"53c601ac54154e7dae61aa4ce43a01f66247f0a8","tarball":"https://registry.npmjs.org/@edsardio/alpine-tour/-/alpine-tour-1.0.0.tgz","fileCount":8,"unpackedSize":36309,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUXLc6TgxCLBdUO3vQAxFQGKB0s8G06nbIiy2IF6O07AiBDlv6YaxZtQrYuZFh5csmNO3K+PCdO0MWli1/hctqH1Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiV4RuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYFg//f/kKzwhwjoiVRL1gBX53PGPtBxRaQ/aFeFcwSmEFVojWq0IS\r\n2s2TwXC8hhU3mlfIji+p4uB84xtSLFfUTZgN43TA/4vvPbV0LUfeGAli+rui\r\nJHV3CSwza4KNQ6kdPPIXkGWCVPY3LIauTesTBsbRm8r2d25pZPzPLbwEvos/\r\nTRpdp2M64gGBkjCYMRQZuu/9ZFS8zo75XkRk2PI2Axd12MUnIcaEYxeNPC3q\r\nx/pIBsMv5ab1zvn72FARkssBS0xo8GHoSSuVY+EwSLrQ1wckB44EqeBbNe4i\r\nzMWqFx5wxwxeAip5do8YMsHulpjjE9ZH0qXcst2H1cTYtzivPm/hh+jI6Z88\r\n36mFHAL9goH8aAS/ystvihQcSCBllQNbr7ZZulGfgdmyqHPIqD1Pi5wHNEFG\r\nyGgpgD7iV/0mbf031MBbOYAArQek2Q7Kbh2mkAfCFRTgkhzr+6zfSlDpJKxy\r\nJS0yeSSok8Ja1ngk+vcz1YCLXuJbn283HivSWfhtq99xYY31sgB/2k8S6dmZ\r\n1vBitQVEMKScVrLdU0uzSPSQ9X+WKDHdCIclm1YA3LOtjBumOE4zuCAc+PZk\r\n53AqYodtsCsUDU/+t63J6cq57JEQz0iJ9TmtXH65f3lSFWgZ5KMrg5F2ZNx/\r\nV+N4C1dZ8iHaOB6GfcbnsqibKJDIhbN3Szo=\r\n=OMYo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edsardio","email":"e.k.j.folkers@live.nl"},"directories":{},"maintainers":[{"name":"edsardio","email":"e.k.j.folkers@live.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alpine-tour_1.0.0_1649902702656_0.5502164405323755"},"_hasShrinkwrap":false},"1.0.1":{"name":"@edsardio/alpine-tour","version":"1.0.1","description":"A dynamic tour using AlpineJS and TailwindCSS","main":"dist/module.cjs.js","module":"dist/module.esm.js","type":"module","scripts":{"build":"node ./scripts/build.js","watch":"node ./scripts/build.js --watch"},"devDependencies":{"brotli-size":"^4.0.0","esbuild":"^0.8.39"},"repository":{"type":"git","url":"git+https://github.com/Edsardio/alpine-tour.git"},"keywords":["AlpineJS","tour","TailwindCSS"],"author":{"name":"Edsardio"},"bugs":{"url":"https://github.com/Edsardio/alpine-tour/issues"},"homepage":"https://github.com/Edsardio/alpine-tour#readme","gitHead":"3b5f16f0e64aca35c1a85385ccc3a390e072a229","_id":"@edsardio/alpine-tour@1.0.1","_nodeVersion":"16.7.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-pUIyCMRczl9ubYnsX9JBsnObAOFhl11LzTDs3PgnluOefbD0Lp5CNnJxYWQyzBDyLwbg5rT27DN8gZg0AnlJXA==","shasum":"1046b149ca3f12475709ebde16e1c6ef9b3e2383","tarball":"https://registry.npmjs.org/@edsardio/alpine-tour/-/alpine-tour-1.0.1.tgz","fileCount":8,"unpackedSize":36330,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtQnWMsKAIU+6A1d43Qa+4YoAWSjuQFGhX1hs7zNGcEQIgOfpn52PRi6TF62C+D0nS2Jpedb7ygIpdmluUQWK3d7k="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiV5JVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcvBAAnE1uNM4pyK3PU5Nqe+DZ7RlWRAvKWwM5rzlvNJqQyKNERElD\r\nGFuJB8srsq+w9ZTSjzAi9/R9P4tOEguFDHzVXYAx+7mD3dcFR5F7Cgr7CNQq\r\nrQeoCocK84sWHvUAPmxdmFD7UQo/YSa10h92oHn3ws4kCE1ohDR1/9RF27B4\r\nZJGObOnLWGkqNsTVTHSMo1lBU5Xa8v3n0NwUZZBypdL2gnW5VrlzV7x+1oDv\r\neG1nx898ZAp/jxwcaccUdLdIA5JGl3uS7pd0ueNXELSGZ4+Qhkm6/rJ5XsXk\r\ni3JwNJYuR2w897nDl7D25p6B/Enffmhp3jBV06SCbADQoYazwgyKU1dmAklp\r\nfnCjju9iu3AVYRZNBeo7IXF1hBkY71ZPjXvsm+Q7DwG1GZ46sbsnI9ULgzDZ\r\nRpFEB6qx9ipsJLWKHECfRGnqm28T5EETGgiyH81neYzzRwimRjW9dsA5BxdQ\r\nxKhPw4yrWfjXwwBUo5a9ubzdooQeFLO2svBmxuLuvOXPuKCtwYfDfRd2cbSo\r\neERGmnOo6Z4dIgCEGWOPUZZNNlNBs8Gxdt4Rwu9Ijp2S+Zel5LoJJO1PZtbG\r\n9wPjsnkayG6Ninx52XsQ9nARcfkkI8GhFdG+vbj4++Vk4IMdVZ1CxQsrthFE\r\njZOgcA/7F1IRtj+g3Pd4zAf36Ou76+HDpIc=\r\n=jz6Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edsardio","email":"e.k.j.folkers@live.nl"},"directories":{},"maintainers":[{"name":"edsardio","email":"e.k.j.folkers@live.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alpine-tour_1.0.1_1649906260848_0.10654897869866042"},"_hasShrinkwrap":false},"1.0.2":{"name":"@edsardio/alpine-tour","version":"1.0.2","description":"A dynamic tour using AlpineJS and TailwindCSS","main":"dist/module.cjs.js","module":"dist/module.esm.js","type":"module","scripts":{"build":"node ./scripts/build.js","watch":"node ./scripts/build.js --watch"},"devDependencies":{"brotli-size":"^4.0.0","esbuild":"^0.8.39"},"repository":{"type":"git","url":"git+https://github.com/Edsardio/alpine-tour.git"},"keywords":["AlpineJS","tour","TailwindCSS"],"author":{"name":"Edsardio"},"bugs":{"url":"https://github.com/Edsardio/alpine-tour/issues"},"homepage":"https://github.com/Edsardio/alpine-tour#readme","gitHead":"b063cbaad209ad58d04be6dfc691a874cedab1bd","_id":"@edsardio/alpine-tour@1.0.2","_nodeVersion":"16.7.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-Jhbm3Ew6PHcDBJj+d1+9VQDpzXPrCESfgQ0qW9BPS14OCQ8EQAfsIQ4JTSss8zUWByZpoeGGpXlJMCJcFeNZ2Q==","shasum":"6989b97cd2776e07dbfad89859cc1d8d2c37f566","tarball":"https://registry.npmjs.org/@edsardio/alpine-tour/-/alpine-tour-1.0.2.tgz","fileCount":8,"unpackedSize":35333,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9FNfKe9spOUL/Ya7u065foiuV8b63lPDaixw99oq1aAiEAqR3IbDmKREL1+noq91B2BLnJN+8D6q4FcFqnB+0M7h0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWSu7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLdg//Xq4WeoghW0G/O2TUAIYqThMCvX0cADJBCE1ue5it3DFOZh/o\r\npN/cWV5wAx+o/jZFViDkqqv8GjnIDClEx6MRmqz9BnjDz2+7k4317+3zuyqg\r\nlh5/uUpx1Yq1ky0P7Q7llwG9waoyrkkHKh2SIHoo1FHd28PVbumxqArK+8CO\r\nsAPjLBt+dvJqwpDSGXkQ8bfVoTtFVJP+2rLkVRguo2NaDYNhwNJ+HiT+ztr/\r\njrCjl9CBPNLuFz0AT7V8wxCrBUIsnuNuiChJPwR5Zq+UapD+PAtS6r2qqZEL\r\nBOoWVOKse5a9w+L4lC+bENjgbubJmY+P+Q3zADNi5G3vZDg58LeATozUw8PA\r\nzFV7jx9oSVNng1HYwXkmSRIJGZR+0D2M41qlzRcpoOGB0O6wV5gJPdC6vO2m\r\noZeGb4CwtlReoVojI6bzcmaMJ3ynBokSh3jeS1b67rxSUkRZVsOa/KZbcWZY\r\nvD4NxtoAo+9d/1Wp8v/QXUQAhbf64hE0OWXSZKEpfZ8SNmoymQJ9r0kpv+q+\r\nSD0WVsjagwSoml9aEhP8nMp1sgXsMCnOptPO1zvtAu932Ii2wdGatw0myo/4\r\n6xSMaPTo0B18OdoqOTU0lKMn0XRvRFHCX3fbJVsNaGB2ZMdl4n+r7xLssksh\r\nHKKKfqdd+xLNb9kRlvC68GOOiicRQGYROp0=\r\n=fx2M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edsardio","email":"e.k.j.folkers@live.nl"},"directories":{},"maintainers":[{"name":"edsardio","email":"e.k.j.folkers@live.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alpine-tour_1.0.2_1650011067010_0.3278846049077271"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-14T02:18:22.578Z","1.0.0":"2022-04-14T02:18:22.825Z","modified":"2022-04-15T08:24:27.237Z","1.0.1":"2022-04-14T03:17:41.079Z","1.0.2":"2022-04-15T08:24:27.177Z"},"maintainers":[{"name":"edsardio","email":"e.k.j.folkers@live.nl"}],"description":"A dynamic tour using AlpineJS and TailwindCSS","homepage":"https://github.com/Edsardio/alpine-tour#readme","keywords":["AlpineJS","tour","TailwindCSS"],"repository":{"type":"git","url":"git+https://github.com/Edsardio/alpine-tour.git"},"author":{"name":"Edsardio"},"bugs":{"url":"https://github.com/Edsardio/alpine-tour/issues"},"readme":"> This package only supports Alpine v3.x\\\n> This package needs TailwindCSS\\\n> This package currently does not work fantastic with the JIT compiler\n\n# Alpine Tour\n\nAdd a dynamic tour to your Alpine 3.x components with a custom directive.\n\n## About\nThis plugin adds a new `x-tour` to Alpine.\n\n## Installation\n\n### NPM\n```bash\nnpm install @edsardio/alpine-tour\n```\n\n### JS\nRegister your `x-tour` directive to Alpine.\n\n```js\nimport Alpine from \"alpinejs\";\nimport Tour from \"@edsardio/alpine-tour\";\n\nAlpine.plugin(Tour);\n\nwindow.Alpine = Alpine;\nwindow.Alpine.start();\n```\n\n## Usage\n\n### HTML\nTo create a tour add the directive to the element as following.\nThe tour will be ordered by the step.\nEither bottom, top, left or right will let the directive know where to show the pop-up with the information.\n```html\n<div x-tour:bottom=\"{step: 1, title: 'Example title', description: 'This is the description'}\"></div>\n<div x-tour:top=\"{step: 2, title: 'Example title', description: 'This is the description'}\"></div>\n<div x-tour:left=\"{step: 3, title: 'Example title', description: 'This is the description'}\"></div>\n<div x-tour:right=\"{step: 4, title: 'Example title', description: 'This is the description'}\"></div>\n```\n\nTo start the tour add the following.\n```html\n<button x-tour:start>Start tour</button>\n```\n\nThe tour can be navigated using the left and right arrow key, and can be closed using the escape button (or the cross in the pop-up).\n\n### Translations\n\nTo overwrite the default texts in the tour you can do the following:\n```js\nwindow.Alpine.store('tourtranslations', {\n    previous: 'Vorige',\n    next: 'Volgende',\n    finish: 'Afronden'\n});\n```\n","readmeFilename":"README.md"}