{"name":"@reach/popover","version":"0.11.2","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.2","@reach/rect":"0.11.2","@reach/utils":"0.11.2","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":"2aa6f03c5eed8c2b7525a29db1c69fe6bc540e5d","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.11.2","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (linux)","dist":{"integrity":"sha512-fB5lScg7Sfu3k0c+bjX7QbnFOJ1nsCWYGvrH1M9qlQolWM6gSJcD+ANnEHIb/wF85zuxzgdxZY5bjTj0RZc6Lg==","shasum":"d7d14d8d74b0a376e31dd9a3223d16802360e0d3","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.11.2.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\nwsFcBAEBCAAQBQJfTeibCRA9TVsSAnZWagAAhZsP/i8QeZQEjCeoJ/d23db8\nM7lpXrXbtlaqhsjekC3MB/Xe8ji7m621KpEw806FNQ9VTADogs2uZ0lCL2+Q\nsevlmz0AUprmYTXw/Z9GlLzVGt0x5S1ErNqWxjkls0IvSR5eUQDCYK/Yup5A\nbbu3eY0x2DH75SoWodg7dqFeTICrcWi3iQZbasVs/vqp0vIvyq93T6xu92dr\nDSRaKtsJOfdA4rbFSO5p5bjMHNQdOywg3AVPZZf3IPP7jfVETb7ysGOjBRyG\nBeCdx+MukFtivrlK92Mnrs+fFaZt77Ki+y8M3XPU1lmFP8fw5asB4ZFKSDtr\njqTthwpvQiBtX57bxQ7qAx/FLRztwqdcKWkkwSjbs5dF2vZhCHDUwzDjTcBz\nKRphqK1NO55/EmY9jGqErjnPKk+OrhA3vQb3Vm2HPWLHUPrSI2oTDK52B7fQ\ni3ggykQkSvgINefU96Gsb25CtOwyDnUQVXHDkrYeWrp+NPl9KspyemOttLer\nsKrNEWMF/5J0+pqZhg4s0rKGLYtVEt5SP2Yq/GkGRw7dDbl/k3ZN4jOy3lTa\nO2gNFNymI4E46i7TIBD6WjDwY9VT9r2P2da9HljWq1rRNrFyVA5tKddJMlir\nsOXEbD/wnq0IN2++pFEdlBczuJt9XRW5py6cw2OO1QfW/JVRI/OaD4oKzCBQ\nlhi3\r\n=8D4N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpOehui1bkzozejoK9KAoXJVl/OtMURU620Q2XEOLmIAIgBOTeWnAtqFbFLKbhikRmFh9WI3fHmZIGkfFjVZPZnAg="}],"size":16408,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.11.2.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.2_1598941338503_0.6050234929546248"},"_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":1598941339161,"_cnpm_publish_time":1598941339161,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}