{"name":"@reach/popover","version":"0.1.0","description":"Render a portal positioned relative to another element.","main":"index.js","module":"es/index.js","scripts":{"test":"echo \"Write some tests you bum!\"","build":"node ../../shared/build-package","lint":"eslint . --max-warnings=0"},"dependencies":{"@reach/portal":"^0.2.1","@reach/rect":"^0.2.1","@reach/utils":"^0.2.3","tabbable":"^4.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"author":"","license":"MIT","_id":"@reach/popover@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-Gd+Rkp7rf7/JvrTpxpNzwF0FF+zeun3jclYn06mZG9P21uz+Pu/NXBY/XG48jeiEy+JYzWSXbWYsticljE1tfA==","shasum":"d72fd78d18c7d696316a1705a3f6a30dc95916a2","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.1.0.tgz","fileCount":4,"unpackedSize":25789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+ox4CRA9TVsSAnZWagAA794P/1Nlo5YJYc50nMqhsoV8\nHwxvQGuPij+3UK6Y5RZj2wYq+62YLlxHeLFIhGp5Id/aBiXOyxdojiXJR8DN\nko6Vpff0hrpXPZX7ayltNWXd54p+Az2aPXPqNQhdNehEeVPg/LZ3drL+a0cH\n051hoJXMCkd0GrQPO5Q3y19phdB4IhGMBhQaSEha0r6P6ookjbSgXkj0Y5JZ\ngJnQUTBGRsGjykER+IjDA2ExR/m5sn70oodsvGHhYEbIOxurorIzntHGwQw3\nmvd8nP8lDJmK971XsPIFMAp9tlYCOrw1QEH/cjhpI7Srcbs8nUdPFWF0bKbw\njLktvLu/1WRf5GPqUMSWxPdST6GERiVzsB5Hyvr1+5x03IbjpOPW3gdfh3V9\nWambqE9xdvZwYADhX/2hJKiNml5ugkCexEaQdl8R0y7U0xdrMy93ZzM+PK5b\naU2Sft6jCSpkHkR2Nqmk3D1zklJpwMeKLIXJJUVaNE186obPiO6QsQNmvA8m\naO38wc4tbLgVDyO2gYJ56g/B3s8zhH5FDHSVkaNBkE0SvheAoYV8e+502YpZ\nQs9vGLbwLbFenXoENsPuMDWco3MqbECy0OwTeH6fDQSksceiyHlz75lUiERL\npdqcySxpRoMuQunxIz5JALmWCOCMP7vpSrGedg6K/HyltqKYFTvtUYiGTFkv\nhD51\r\n=egVr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFTNdnXwZZ4apii+oEpwdC+WcveT+et/wyztFkSUR0L+AiEA+A7+939hQhLolzfwO4ZrPNYndkq/gC4v7C4aBnBpsV8="}],"size":3694,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.1.0.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popover_0.1.0_1559923831925_0.34936711690620204"},"_hasShrinkwrap":false,"readme":"# @reach/popover\n\n[![Stable release](https://img.shields.io/npm/v/@reach/popover.svg)](https://npm.im/@reach/popover) ![MIT license](https://badgen.now.sh/badge/license/MIT)\n\n```jsx\nimport * as React from \"react\";\nimport { Popover, positionDefault } from \"@reach/popover\";\n\nfunction Example() {\n\tconst ref = React.useRef(null);\n\tconst [value, setValue] = React.useState(\"\");\n\treturn (\n\t\t<div>\n\t\t\t<label>\n\t\t\t\t<span>Type for a special message</span>\n\t\t\t\t<input\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tref={ref}\n\t\t\t\t\tonChange={(event) => setValue(event.target.value)}\n\t\t\t\t/>\n\t\t\t</label>\n\n\t\t\t{value.length > 0 && (\n\t\t\t\t<Popover targetRef={ref} position={positionDefault}>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<p>Whoa! Look at me!</p>\n\t\t\t\t\t</div>\n\t\t\t\t</Popover>\n\t\t\t)}\n\t\t</div>\n\t);\n}\n```\n","publish_time":1559923832050,"_cnpm_publish_time":1559923832050,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}