{"name":"@reach/popover","version":"0.14.0","description":"Render a portal positioned relative to another element.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/popover"},"dependencies":{"@reach/portal":"0.14.0","@reach/rect":"0.14.0","@reach/utils":"0.14.0","tabbable":"^4.0.0","tslib":"^2.1.0"},"devDependencies":{"react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/reach-popover.cjs.js","module":"dist/reach-popover.esm.js","types":"dist/reach-popover.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"80f6ca5f8d25a10887e2bd34d60094402b9bc0a7","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.14.0","_nodeVersion":"15.12.0","_npmVersion":"lerna/3.22.1/node@v15.12.0+x64 (linux)","dist":{"integrity":"sha512-BvwODRLmmfxLNvsLxINpbCFysgPcCnwBJQdWUixyp9isFaeTc9c8l+KEUgY72Lhxem5G3ryo7qITWg1oMjEL3Q==","shasum":"c3b5db782c744f595669a4d3641392b60b05a0f4","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.14.0.tgz","fileCount":9,"unpackedSize":38501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYO7BCRA9TVsSAnZWagAAkAYP+gJsRnH0phoRMr4s1dRi\n1EiX0IRHDRo8PnTJaWCzzCPXmHne5I3MLcpTUwaoD8696Culk7xdudQ/5NtM\nuRtfBzBxqq9cse4Z0zblrWtYBKTna6Iqz34KYbP2d1jkpPq24C5Thp2FE1os\nt966BKMs0nBwGPh17l1U2xdxPeNMNRmJt0ebcfeDNj3o40ZkHGgf4TyeFpJE\nSik7VfnSsf/Iwjd+HWfrrW7pODv51tEIs8HsyPubiyKa1Y2tvT0AzJKZikRl\nAOXLmwRWDpzjTczAvhLVt8nFdu1dcPdVt+mrk/vpED15JjF6OLN7U3XHsIIk\npoAcNl7gu4wkagUv/4acdTq3mb9YNdTTA+NvglPz0wJCwvLDcq0kFgOMFnv4\nCq4OsxFuJTVoiLAJbCll6MSOpcYXvmv4Ve861qRx1eKoBxgsGlH75W+B1zb2\n3aJdY742/UwEf2S5Bwtl7Y3CNI0S/GqGgMG333zzKmBJK702xCmSwNPclTXZ\nN9M0qEks74OCu9+gHwqdJxDiOKVZU+Q4vw8FN9gK9SqbpeVkn84rS2BgLONx\nKERegP0bQQFKWz3IByVh93yODU0VJytzcksM4h2/9pBLf7hh/mx0b/dXMtAb\nUJeLFwoVLi3GY0b0l/43zthxhnNDwNiJaF8ozfKSx2dfhu4yR2v+zcMucUB1\nqi3P\r\n=JwL6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1bjGV0/2TUxHFCYThmJBNaIEqJ/1h7Y7+SVndOTNSGAiEA/iXsBTh7x4jjX8hBATJ4KY5cTQVi9iMlRH15wgdoa/U="}],"size":5817,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.14.0.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popover_0.14.0_1616965312750_0.18418461025215005"},"_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":1616965312890,"_cnpm_publish_time":1616965312890,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}