{"name":"@reach/popover","version":"0.15.3","description":"Render a portal positioned relative to another element.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":["*.css"],"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/popover"},"dependencies":{"@reach/portal":"0.15.3","@reach/rect":"0.15.3","@reach/utils":"0.15.3","tabbable":"^4.0.0","tslib":"^2.3.0"},"devDependencies":{"react":"^17.0.2","react-dom":"^17.0.2"},"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":"aac3d3e1902ec32656476bcdccd7b56207384fcd","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.15.3","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-T5A1gZGXfl4vDqK6kb7tyxgKWur4QsoKwHJ0LcJZ9JDYtiUDbdBDw+yRHwvuExx48Glc8BYcdy6X6BF2n21FuA==","shasum":"62367efc81e1a86c670860e3975cc41d02489f59","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.15.3.tgz","fileCount":9,"unpackedSize":39590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6gRXCRA9TVsSAnZWagAAZrsP/3ySlEO/oYrMXrCVsxK/\n7lNFVF45CfAndwHVWz/jTnOy5VDW0D7v/TA8/zCnrlvXNm97Ba+kqTNfQLC0\nyaVcHmJvGt3+9sgSeApJr6t1/tbyCcF/mw0IrYHCEav9LJV0tXCHFZL5RlUe\n0b0/F35jlwqxU77obju10I9CZzELFnUU76hkHvXwcsg+A2BOhPWEOCCtfu5d\n4wlYEoDkBUvsRw4nxI2JrdLZHmN3jSJzcA3hD4x8Si/aMFBYLamOiCkfr50R\n4BAYnsb2xgdt9Q4j9X6B3kMZwCOKJsMRs3I/60+H4jEuklkerKCINFqpvgf0\nRaPAkgprkqaseXyn2tBdwyIqKcJyNkfBbk9tTBkctg60lmlh+Bk5Wi9M06t4\n89Mjl+WDp3BCsCphdpr9fTyeUIktmeycuYxi+0B5boPsLY9Qxhs4ehciGSLK\nv7Kg6YIzzCTt7rmTyO7B4KEh9xNlSnNc+Y08jNF2Wuw26y6XTWnDW6BvCjqS\nre/FgUQfqKPGyd1H49P797PfIjq6Ig8UPfW5GBqy/ZRb8JXRkGzQG8j/8b9U\nNotNphHYOCwdM+MRUo02M5xHyHkcsxFVBfT9vRKY3ABperYsH6DtWODA/dXJ\nVIWc4JJOKPR14zaScu3LkeoAd9TjkMjPDfeKjeEhs4dsT/QB3aIczJxYwGKg\npKqQ\r\n=IrgV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0om56ZqMxFpiany5vM1WES9wmYF3P1cchmTeLRLa90wIhAONNL/d3fFRLfSU+M5oyP+jmeUfHC6TQbJ/W9xbUv7eM"}],"size":5926,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.15.3.tgz"},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"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.15.3_1625949270575_0.5652048278795969"},"_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":1625949270703,"_cnpm_publish_time":1625949270703,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}