{"_id":"@eligrey/micromodal","_rev":"1-aacc56aff5a48f674bd71c87ddb6414f","name":"@eligrey/micromodal","dist-tags":{"latest":"0.4.4"},"versions":{"0.4.4":{"name":"@eligrey/micromodal","version":"0.4.4","description":"Tiny javascript library for creating accessible modal dialogs","main":"dist/micromodal.js","cdn":"dist/micromodal.min.js","module":"dist/micromodal.es.js","jsdelivr":"dist/micromodal.min.js","author":{"name":"Indrashish Ghosh"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/eligrey/Micromodal.git"},"bugs":{"url":"https://github.com/eligrey/Micromodal/issues"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"rollup -c -w","build":"rollup -c","publish":"yarn build && yarn publish"},"keywords":["a11y","modal","accesible"],"devDependencies":{"@babel/core":"^7.5.5","eslint":"^6.1.0","eslint-config-ghosh":"^0.1.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-eslint":"^7.0.0","rollup-plugin-filesize":"^6.1.1","rollup-plugin-json":"^4.0.0","rollup-plugin-terser":"^5.1.1"},"homepage":"https://github.com/eligrey/Micromodal#readme","dependencies":{},"_id":"@eligrey/micromodal@0.4.4","dist":{"shasum":"3796acb84ae40ff7a1bef5f86cff236f07f9cc3f","integrity":"sha512-9xlEUu8L5Ch7477n3mmWIyfn96dSVqSQl6GC0YiV8JEKjPYdrCUzecCKYfuava9ikx6wsGkK5CfDip6+Q/QvkA==","tarball":"https://registry.npmjs.org/@eligrey/micromodal/-/micromodal-0.4.4.tgz","fileCount":7,"unpackedSize":26186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+Xp6CRA9TVsSAnZWagAAuBEQAIjy9624WsI3JvG3Kr+2\nO4gfamZjEKnENG9p/PRlvUAB5ywcJtIzdi4yUxT23NViorBCDpOLoUMuOW/X\nVD/vTW2yhqLFGj6F/g+QeyZEzjLtgfqC+uzT1DMZavViqR88a2SQeZfkT23/\n0Al+3ztfN7Eql/1qclRdFZNa3f1sArjBBdKFhIJ7pZQWpAqB6J+V/ozPuMCS\n/0+5sC27fa6SpOAk24WYyY+i1GrgJKOFbzyms7/H4GpdUPmPfC/ZLV2a1NDz\nBdRaRRa2uokWa1mLrfgWJf3i/wltXuFjU9dyIr63KwG7u8LwpEsjCurNO+Od\ncXFCi+bqMObC2vpDR2rdT5OdreXMLv2/hUqkxgtyRHGm6PiORVtxfJoG4+Dz\nQwHNUhhE1jiioRpmSL2i2VQCDRp678BZPgRw9RF15SvZQJkwb4BqW+2IGQI0\nO+Vjx+i+0VCHzW4Kw0Q3jrS7mveuRYxRUeg9lTfzxOijfppEKNkS0FzgXgAV\nevs+muk+jiP1WXY08U5Nkx2Qyvbv/Hzz8Po2aROR3HHGzIQVNODPzjcbw3eb\nDN6VHMEkgs+DVamNHpVGQNHXolN4u3I2ShM/7Ld4W1SRjY+5VtVrU17A/0II\nVQROlHbxICW5gyHnfBQ1rWviaOxKONKr1tLF0DIIGV5NVu2nGnVqO8YQT/qM\nep6x\r\n=nBxM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAEYdm9TJV9jQS4sev6/mBFXziHpnOU0VN5F0PhjIBOjAiEAmhtZ4JI3QS0m/V2dQjaEtY95zf/c6I/gti1ZGtq7J4k="}]},"maintainers":[{"name":"eli","email":"~@eligrey.com"}],"_npmUser":{"name":"eli","email":"~@eligrey.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromodal_0.4.4_1576630906127_0.8530980200792035"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-18T01:01:45.898Z","0.4.4":"2019-12-18T01:01:46.256Z","modified":"2022-04-05T07:11:53.190Z"},"maintainers":[{"name":"eli","email":"~@eligrey.com"}],"description":"Tiny javascript library for creating accessible modal dialogs","homepage":"https://github.com/eligrey/Micromodal#readme","keywords":["a11y","modal","accesible"],"repository":{"type":"git","url":"git+https://github.com/eligrey/Micromodal.git"},"author":{"name":"Indrashish Ghosh"},"bugs":{"url":"https://github.com/eligrey/Micromodal/issues"},"license":"ISC","readme":"<p align=\"center\">\n  <img src=\"https://www.dropbox.com/s/tbaooyi4yh8pbi7/logo.png?raw=1\" width=\"100px\"/>\n</p>\n<h3 align=\"center\">\n  Micromodal.js\n</h3>\n\n<p align=\"center\">\n  <a href=\"#\">\n    <img src=\"https://img.shields.io/badge/made%20with-love-E760A4.svg\" alt=\"Made with love\">\n  </a>\n  <a href=\"https://opensource.org/licenses/MIT\" target=\"_blank\" rel=\"noopener\">\n    <img src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/micromodal\" target=\"_blank\" rel=\"noopener\">\n    <img src=\"https://img.shields.io/npm/v/micromodal.svg\" alt=\"Package version\">\n  </a>\n  <a href=\"https://travis-ci.org/ghosh/micromodal\" target=\"_blank\" rel=\"noopener\">\n    <img src=\"https://api.travis-ci.org/ghosh/micromodal.svg\" alt=\"Build Status\">\n  </a>\n</p>\n\n<p align=\"center\">\n  Tiny, dependency-free javascript library for creating accessible modal dialogs\n</p>\n\n---\n\n<img src=\"https://www.dropbox.com/s/8g7fr091tk8o62j/micromodal.gif?raw=1\" width=\"100%\">\n\nThe aim of this library is to make modal dialogs accessible and easy to include in your project with minimum configuration. It's only ~1.8kb minified and gzipped - A tiny library for big change.\n\n**[Demo and documentation](https://micromodal.now.sh/)**\n\n&nbsp;\n\n## Features\n✔ Toggles relevant aria attributes on open and close\n\n✔ Closes modal on overlay click\n\n✔ Closes modal on pressing the `esc` key\n\n✔ Traps tab focus within the modal\n\n✔ Focuses on the first focusable element within the modal\n\n✔ Retains the focused element state after closing the modal\n\n&nbsp;\n\n## Installation\n\n**via npm**\n```shell\nnpm install micromodal --save\n```\n\n**via yarn**\n```shell\nyarn add micromodal\n```\n\n**via CDN direct link**\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/micromodal/dist/micromodal.min.js\"></script>\n<!-- or -->\n<script src=\"https://unpkg.com/micromodal/dist/micromodal.min.js\"></script>\n```\n\n**direct download**\n```shell\ncurl -o https://unpkg.com/micromodal/dist/micromodal.min.js\n```\n\n&nbsp;\n\n## IE 11 and below\n\nPlease use this pollyfill suggested [here](https://github.com/ghosh/Micromodal/issues/49#issuecomment-424213347).\n\n&nbsp;\n\n## Changelog\n\nFind the latest changelog [here](https://github.com/ghosh/micromodal/blob/master/CHANGELOG.md).\n\n&nbsp;\n\n## Contributing\n\nWe are always open and invite developers to contribute to Micromodal. We have kept the guidelines and process dead simple, so you invest more time in making modals accessible to all.\n\nMicromodal follows the [standardjs](https://standardjs.com/) coding standard and is part of our `package.json` file. It will help us to maintain consistency in the code base.\n\n#### Development setup\n1. Clone Github repo `$ git clone https://github.com/ghosh/micromodal.git`\n2. Install `yarn` package manager (Read [installation guide](https://yarnpkg.com/en/docs/install#mac-tab))\n3. Run `yarn install` in the root folder to install all dependencies\n4. Run `yarn dev` to start a dev server. This serves the example directory and live reloads when any files are changed\n5. [Optional] Run `yarn build` to build the files for distribution. This is run automatically as a pre-commit hook as well.\n6. Send us pull request and chill\n\n&nbsp;\n\n## Licensing\nThis project is licensed under [MIT license](https://opensource.org/licenses/MIT).\n\n&nbsp;\n## Related\n- [Microtip](https://github.com/ghosh/microtip) - Modern, lightweight, accessible css tooltip library. Just 1kb.\n\n&nbsp;\n\n## Contact\nYou can mention us on Twitter for any questions, suggestions or just send us funny GIF. We ♥️ GIFs.\n\n#### Tweet some love\n[Tweet](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgoo.gl%2FsEgnBZ&text=Make%20your%20modal%20dialogs%20accessible%20to%20all%20using%20Micromodal.js%2C%20a%20tiny%20library%20for%20big%20change.&hashtags=a11y \"Tweet about Micromodal\") about Micromodal and help us to spread the message about the importance of Web accessibility and Inclusive design.\n\n&nbsp;\n\n## Created and maintained by\n\nIndrashish Ghosh – [@_ighosh](https://twitter.com/_ighosh) 🇮🇳\n\nKalpesh Singh - [@knowkalpesh](https://twitter.com/knowkalpesh) 🇮🇳\n\nDarpan Kakadia - [@kakadiadarpan](https://twitter.com/kakadiadarpan) 🇩🇪\n\nContributors - [list](https://github.com/ghosh/micromodal/graphs/contributors) 🌐\n","readmeFilename":"README.md"}