{"_id":"@160over90/vue-wai-modal","_rev":"7-7935fe861127f1fb714aef6430bd3ec0","name":"@160over90/vue-wai-modal","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.1":{"name":"@160over90/vue-wai-modal","version":"0.2.1","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","build-bundle":"vue-cli-service build --target lib --name @160over90/vue-wai-modal ./src/components/index.js"},"dependencies":{"vue":"^2.5.17"},"license":"MIT","description":"Vue Modal is a component that adhere's to the W3C Web Accessibility Initiative and provides and easy way to impliment a modal.","main":"./dist/@160over90/vue-wai-modal.common.js","repository":{"type":"git","url":"https://github.com/160over90/vue-wai-modal"},"bugs":{"url":"https://github.com/160over90/vue-wai-modal/issues"},"devDependencies":{"@vue/cli-plugin-babel":"^3.0.5","@vue/cli-plugin-eslint":"^3.0.5","@vue/cli-service":"^3.0.5","@vue/eslint-config-airbnb":"^3.0.5","vue-template-compiler":"^2.5.17"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","@vue/airbnb"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"licenseText":"MIT License\n\nCopyright (c) 2018 160over90\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@160over90/vue-wai-modal@0.2.1","dist":{"shasum":"f4d0e3b78af1e809cd4cc4df364e7da440922f74","integrity":"sha512-Bllk11TkgatedtjC8DUNo73v1R17XVuA5K86WaJ3Few9dmNSE2EdKa/zZDtdkdRjUtPkGaMXJJw8h/LT2z0yaQ==","tarball":"https://registry.npmjs.org/@160over90/vue-wai-modal/-/vue-wai-modal-0.2.1.tgz","fileCount":32,"unpackedSize":609837,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwPuZCRA9TVsSAnZWagAA41YP/j6u6D1xbatPBDZD4F0z\nnoyNaNUyjfpay8hIklh1EjM6fTnzSPdk+upW/H2SNld2UuBVoNjQsEyNtNY8\nfjNPfd7XDyQwcPikWuP0MJK7Pdq6c/v3mWUVtUcq4086DwBtASI03FpBgy53\n8GacsPQZ+hlsL4QQ7b1kaOKoOkfgdeVp3Cl6lHIYpXGPw/zOSOjEW44O4MhA\n6rlm7OVd6sSAc0OXVaJbhQ6LWTqPRE368q10jpBINQ3yXI0Cs8pNuI3qCdFJ\n4NqpEmwsczy/JSTw1Uw/KLsNKA4ES/31nShKaAut71AWgqIwrcT5hMinEVUb\nvSYUBXhnDJMCVG1Qdz9onOekxdK9Z23lEpRiacWaXPunSYQi6vidzpr6BRjA\ne1vgR5qWCerHXNkysIeoepaMHAW+4iboGomRvKK1JYWrL9S1OGoDRz+ekzW0\nUaSVtiUV3wweu5N4AHHuatjMYkDlObV/tXCyuH3MitIZeuXJFnudKy7Uzu34\nbB+y0zJsDPZMWWyER6YNVLd3CBGMynFHUp1tgksAHGQPQ0EpPLUySkeOr/qG\no0sQI1GhZU6B43bf/l82AybPTmNP4rNnHpWYswc2jAZjGkIbR8jXkqMRQyHa\nSONMY1Z4kQ/+HdPRDfN9eqN8sOlBUwxad9lhVQ9FsaDHiSpbCALuS7el/tdK\nv45y\r\n=+9/9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiemxiKIID4s/ZYAZdt6mSgsrHRIfVLktPrnXylyLR9wIgChew1GTb6fizPR3XWRSIBIdH7yZ7RsHrvESx+QtbBbU="}]},"maintainers":[{"name":"160over90user","email":"interactive@160over90.com"},{"name":"breyell","email":"breyell@gmail.com"},{"name":"caseyjoneal","email":"caseyjoneal@gmail.com"},{"name":"jfriedman139","email":"jfriedman139@gmail.com"},{"name":"mrcsmcln","email":"marcus@mclean.digital"}],"_npmUser":{"name":"jfriedman139","email":"jfriedman139@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-wai-modal_0.2.1_1539373977355_0.5229749133920665"},"_hasShrinkwrap":false},"0.2.0":{"name":"@160over90/vue-wai-modal","version":"0.2.0","scripts":{"build":"vue-cli-service build --target lib --name @160over90/vue-wai-modal src/main.js"},"license":"MIT","description":"A Vue.js modal component that adhere's to the W3C Web Accessibility Initiative.","main":"dist/@160over90/vue-wai-modal.common.js","unpkg":"dist/@160over90/vue-wai-modal.umd.js","repository":{"type":"git","url":"git+https://github.com/160over90/vue-wai-modal.git"},"bugs":{"url":"https://github.com/160over90/vue-wai-modal/issues"},"dependencies":{"vue":"^2.5.17"},"devDependencies":{"@vue/cli-plugin-babel":"^3.0.5","@vue/cli-plugin-eslint":"^3.0.5","@vue/cli-service":"^3.0.5","@vue/eslint-config-airbnb":"^3.0.5","vue-template-compiler":"^2.5.17"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","@vue/airbnb"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"gitHead":"e58f2619f6958b1effd38bc0e0138a0f0cc637a7","homepage":"https://github.com/160over90/vue-wai-modal#readme","_id":"@160over90/vue-wai-modal@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"caseyjoneal","email":"caseyjoneal@gmail.com"},"dist":{"integrity":"sha512-cc0nb0Y0s8PbKKMdGTdKi5ja18sIyMzS5IhwUv8YeleP3RGGktmnceaAv+QK4a7WULov9YWcLnYIiTRil2ocaw==","shasum":"14ff821ff3ccbf0db5e44f085fe3565dbe41cb5f","tarball":"https://registry.npmjs.org/@160over90/vue-wai-modal/-/vue-wai-modal-0.2.0.tgz","fileCount":23,"unpackedSize":773002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBaBDCRA9TVsSAnZWagAAL6MQAKP6tJjuI6YP1li6Cyl4\nUmf9IT5TYGVqut21fh3HSMkg+fCstixj8veZ55SW1B14J9R4Crdm/KL3Ljbo\nCJM4yKS45qJ/bfMGJ7cyOUsjQb6msdwxI5erTrtMQASrsKk0MwDmuwf8o8Yj\nux0B9yeHiyLERgXrVORr3lMiztxkjX914ilsP7Vvki1RUKxd7s6eM+x5pbM4\nDKDNK/ZET4JOB9lKHNPpVjBy0yNaPUcGKD40etJRogE/BeYyCiP02lHUjJPa\n3pl2Uw4eFg8wi6arSp0T4pAGuHv5mSeNLS9udgWxvwPmtPMEvqpt6G5yoR9P\nM+RMWFK2AkRHPLPythFRKTEEP6YCXBHbsd9d7iSSWv3nujAVgHr5X6398m1z\nGpY2YVrisbLR+GDWwyPgue82MoWnUGH7ELuXI4eyZAFYbJw4mfX+ilXDepKl\n+jp8LCbNcFPO+t2G96OL7lX90FRQKR9z4hvBzxuknzp/nO6tzlhQz1XAAC7e\nMaDhbHom/kXrJjzXlcQZh0s+ieittLMN7qKAq7GQLzjLRFlgVFu/2OHffdw1\nOvCRo5BEkv1mvwRexZM/XXmElku/idqH4aHw1NHg7sEKyGmd4lKSjeYyl+ed\nfVt2aw5bKxJOvPXcg/5vgPL6CxIeWwI7LQXyKGfNNBj7ctfd12ZNtqQSKgo3\nrIdx\r\n=5a/M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPbSBRHiAeqPJEhZKecZKCSi2e4XlVX80cGl80f0MzjwIhAMFfv2FXgm15GAdtfdd3Xgu/SCbP61eUut4ODMisUuOj"}]},"maintainers":[{"email":"breyell@gmail.com","name":"breyell"},{"email":"caseyjoneal@gmail.com","name":"caseyjoneal"},{"email":"jfriedman139@gmail.com","name":"jfriedman139"},{"email":"marcus@mclean.digital","name":"mrcsmcln"},{"email":"ryan.landman@gmail.com","name":"rlandman"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-wai-modal_0.2.0_1543872579174_0.424350943565615"},"_hasShrinkwrap":false},"0.3.0":{"name":"@160over90/vue-wai-modal","version":"0.3.0","scripts":{"build":"vue-cli-service build --target lib --name @160over90/vue-wai-modal src/main.js"},"license":"MIT","description":"A Vue.js modal component that adhere's to the W3C Web Accessibility Initiative.","main":"dist/@160over90/vue-wai-modal.common.js","unpkg":"dist/@160over90/vue-wai-modal.umd.js","repository":{"type":"git","url":"git+https://github.com/160over90/vue-wai-modal.git"},"bugs":{"url":"https://github.com/160over90/vue-wai-modal/issues"},"dependencies":{"vue":"^2.5.17"},"devDependencies":{"@vue/cli-plugin-babel":"^3.0.5","@vue/cli-plugin-eslint":"^3.0.5","@vue/cli-service":"^3.0.5","@vue/eslint-config-airbnb":"^3.0.5","vue-template-compiler":"^2.5.17"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","@vue/airbnb"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"gitHead":"e7b14d1d855cca3871c9fe73d68f60fb1a3135ab","homepage":"https://github.com/160over90/vue-wai-modal#readme","_id":"@160over90/vue-wai-modal@0.3.0","_npmVersion":"6.4.1","_nodeVersion":"11.3.0","_npmUser":{"name":"rlandman","email":"ryan.landman@gmail.com"},"dist":{"integrity":"sha512-j9hM8TyYElZDUbnpMiZt6F90KCl5G+3tmd7iN3xy4wy28XoZOjnL9N9JY3apV9hk1gtfNsDuxQ8ktmYq8QDKKQ==","shasum":"6b90584f14a65b013bf7e8009a5a9017925c8330","tarball":"https://registry.npmjs.org/@160over90/vue-wai-modal/-/vue-wai-modal-0.3.0.tgz","fileCount":23,"unpackedSize":773002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBvmPCRA9TVsSAnZWagAAEPAP/3nXgfri3dtuoyc6DGec\nqibhx0BPyrudfQvRdDsv7XOAKSz8WEjI3FBgkG0Q1pa7eBQI8SZYj6z/D22F\nuAuZILWgCDuS+4a5d1W6PmtZi/AMYxGC5SwpYMMGRsXg+/kF3/DH+ypW2tCe\nSi2KYlbTZSS4DXx2TK8wquy+WSM4ok8GyQ06czTFROj8oIlLsHyLH0y9km0Y\n3qOKH1hgiJ9uiypexZERxbTybDSD1J7IOf650s31slhzwPkTpcbpKZDSlWzn\nhsmvkFdsQsJI8zeFWKlbp9KWA+6HNAeZ7PHdgLxpSkmbpm4iZSiQ3HG9iGJD\nAu3vcwM8MvXpJpLnRM5vV03RppKtyvgc13TVM2mU5f6VAVU6SN+L3MEeT6dj\nCx1ofWGLG/K1Iyboa6TO4mWcbjlH/Xd6ij1AI+C0KI8NpO2EqlksZSAXUNJy\nJslwkwrlQCEvi2RmW6rNskN1BTuof/YwZsfz6v6wDzAOTru7GHD+FW4Ek7Yx\ngIo4GQMIiF12rYrxj4LuZXGvvLzp69JwoI/sKb6eNofdNcsX5QrjJEDaAKv+\n+RYZKMN/0WETmtu86xj/ptrR9wMkZZ8u4VjlBRwg4xJ8RjiO4iJPrOuDoG5m\nmOpXUp1O8mww6MYvZrKWsjXF0W+nM7spUiZe4wGM7hp10Xvm5bLK6q+mEhkj\nVwY6\r\n=JROA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwrs9d5udz7yL2gH2aGvJfJlB3o4XzbaD2HwUmndplGAIgNcXTSFc4z+cxgrk25v86slSi3gTj1bGkj6VIw0HHOXs="}]},"maintainers":[{"email":"breyell@gmail.com","name":"breyell"},{"email":"caseyjoneal@gmail.com","name":"caseyjoneal"},{"email":"jfriedman139@gmail.com","name":"jfriedman139"},{"email":"marcus@mclean.digital","name":"mrcsmcln"},{"email":"ryan.landman@gmail.com","name":"rlandman"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-wai-modal_0.3.0_1543960974977_0.8313131288662969"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-12T19:52:57.202Z","0.2.1":"2018-10-12T19:52:57.491Z","modified":"2022-04-04T10:32:02.328Z","0.2.0":"2018-12-03T21:29:39.298Z","0.3.0":"2018-12-04T22:02:55.157Z"},"maintainers":[{"email":"ryan.landman@gmail.com","name":"rlandman"},{"email":"caseyjoneal@gmail.com","name":"caseyjoneal"}],"description":"A Vue.js modal component that adhere's to the W3C Web Accessibility Initiative.","repository":{"type":"git","url":"git+https://github.com/160over90/vue-wai-modal.git"},"bugs":{"url":"https://github.com/160over90/vue-wai-modal/issues"},"license":"MIT","readme":"# vue-wai-modal\n\n## Features\nVue Modal is a component that adhere's to the W3C Web Accessibility Initiative and provides and easy way to impliment a modal.\n\n>If you do not have `yarn` you can download it [here](https://yarnpkg.com/en/docs/install#mac-stable).\n\n## Instructions for global registration\n```\nyarn add @160over90/vue-wai-modal\n```\nInclude in main.js (app entry point)\n```\nimport VueWaiModal from '@160over90/vue-wai-modal';\n\nVue.use(VueWaiModal);\n```\n\n## Instructions for editing this package\n\n```bash\nyarn install\n```\n\n### Compiles and hot-reloads for development\n```bash\nyarn run serve\n```\n\n## Examples\nAn simple example of implimenting the modal.\n```\n<template>\n  <div id=\"app\">\n    <ModalButton :controls=\"'example-modal'\">\n      Open button\n    </ModalButton>\n    <ModalBackdrop\n      :id=\"'example-modal'\"\n      :transitionProps=\"{ name: 'fade' }\"\n    >\n      <ModalBackdropDialog\n        :ariaLabel=\"'modal'\"\n        :ariaLabelledby=\"'open-modal'\"\n        class=\"ExampleComponent__dialog\"\n      >\n        <h1\n          class=\"ExampleComponent__content\"\n          v-text=\"'Modal Content'\"\n        />\n        <ModalButton :controls=\"'example-modal'\">\n          Close button\n        </ModalButton>\n      </ModalBackdropDialog>\n    </ModalBackdrop>\n  </div>\n</template>\n```\n\n## Props\n\n--- **Modal Backdrop Component** ---\n\n**id** (String, Required)\nThe ID that matches the button to the modal Backdrop\n\n**transition** (String, Default: 'transition')\nLinks to a transition component\n\n**transitionProps** (Object, Default: () => ({}))\nLinks to the name of the transition\n\n```\n:transitionProps=\"{ name: 'fade' }\"\n```\n\n```\n.fade-enter-active,\n.fade-leave-active {\n  transition: opacity 0.5s ease;\n}\n\n.fade-enter,\n.fade-leave-to {\n  opacity: 0;\n}\n```\n\n**initiallyOpen** (Boolean, Default: false)\nPage loads with modal already open\n\n**mode** (String, Default: 'show', validate(value))\nChecks for a v-if, v-show\n\n**closedFocus** ([HTMLElement, String], Default: undefined)\n\n--- **Modal Backdrop Dialog** ---\n\n**ariaLabel** (String, Default: null)\nUsed to define a string that labels the current element in cases where text is not visible on the screen\n\n**ariaLabelledby** (String, Default: null)\nEstablishes relationships between objects and their labels for assistive technology, such as screen readers\n\n--- **Modal Button** ---\n\n**controls** (String, Required)\nLinks to the Backdrop ID (must be the same)\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\n","readmeFilename":"README.md","homepage":"https://github.com/160over90/vue-wai-modal#readme"}