{"name":"@reach/popover","version":"0.11.1","description":"Render a portal positioned relative to another element.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/popover"},"scripts":{"build":"ts-node --transpile-only ../../scripts/build-package $npm_package_name"},"dependencies":{"@reach/portal":"0.11.1","@reach/rect":"0.11.1","@reach/utils":"0.11.1","tabbable":"^4.0.0","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/popover.esm.js","typings":"dist/index.d.ts","gitHead":"5c6de02db35c1bb69e28d52bf345ea5c5c484013","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.11.1","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (linux)","dist":{"integrity":"sha512-fkQYxyqVlTr3H2Qrxq+6hcHqiIwpyA40tLffVLBCOrue57l/fi9aOvztEb5J1746vJxrV2xn6E8Ew5A2lJivhQ==","shasum":"64f1e7e97483dd71be7dd6bc937943d34ccabae7","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.11.1.tgz","fileCount":11,"unpackedSize":89976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTdZSCRA9TVsSAnZWagAA5SIQAJcHJmTcbzSgx8dkUgTQ\n8FdxqUjjtk+X0O/Z8TH/H8CM0WHhUxnBj8cxY9jvoJgG3U7yvcx2qIymst//\nBDA8gIQdTTPjADtUHP/e7GYG0slsPz6jephj2qVpaNhbl13QyepkzJDaYjNt\ngIwVR1mGP+3X92XABryWyYI1XtPmZ89i1gOBge0lvTlcr+iMscIrtMV3uOvX\nQSkznUjyeVfIJzgiRaWrx0nK+ZuXz9ASiDlAGiYabDiJimLAScvvSD/Fhtqr\nmtNzyaFuI6q/ebKxR/RYHM7c3tho1IXWbEaQnpq7Wu5eC7ClOBC61ZDZh9df\nulTLF73tQPaTvPRyCEPzk6eePwiIKcWSHbrDz6tE3Kxzeh4ivV/T99lLS7W2\nDJWcKHCvkSKdvu0JMv69KH6Y6+j/Fc/E0Rn/Gty2E74M2yrQiwRS8vzW5N00\ngoEf6fKxVJhzB2WlDOj6lwhGYoJUx2n7rFUguUUaDscGpGztO21PqvLQzmWt\nKsrYjq5tIFLGXdOKuVBocM9cAOJYjY8jva1odyDGuV/5aFaXUtayMa9xxYq1\nIjhRHFAqVweydC1kmYiRbgGwV7YKqU1noGzLAD1QGK/mpBXPfJbsFH5adY30\nAWvUVi7eYZumTTFPqI/22EcPvezm/SU9ljVDelLyzJ4KbfbBOhsEWmilkoQX\nVNDU\r\n=c2CO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8caMcRm7oNd2HcGenQr14tEgDDnl1DvpqB6Pu+bAATAiEAh1Zqn+KVJcoLQvxFX9uzCDdXzjU9Ybjl61Kqr6OamGw="}],"size":16409,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.11.1.tgz"},"maintainers":[{"email":"blainekasten@gmail.com","name":"blainekasten"},{"email":"chance.strickland@gmail.com","name":"chancestrickland"},{"email":"npm@mjackson.me","name":"mjackson"},{"email":"rpflorence@gmail.com","name":"ryanflorence"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popover_0.11.1_1598936657872_0.282593649902541"},"_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":1598936658063,"_cnpm_publish_time":1598936658063,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}