{"name":"@reach/popover","version":"0.13.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"},"dependencies":{"@reach/portal":"0.13.2","@reach/rect":"0.13.2","@reach/utils":"0.13.2","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":"9e2a19717eb581722e9af99b0f8f3d976de9a55f","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.13.2","_nodeVersion":"15.9.0","_npmVersion":"lerna/3.22.1/node@v15.9.0+x64 (linux)","dist":{"integrity":"sha512-L94le+9az8Vy6syF6ZUUN0FIz3E6AMpDtJYwJuIJKVU44E/XVK9xB0CFwLyZ8bsvbbMaego9mLBbYQDWNS0Qbg==","shasum":"0c257d3ab21d8bfa62a3c5571d8824a3e7771d97","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.13.2.tgz","fileCount":9,"unpackedSize":38477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMrQSCRA9TVsSAnZWagAARXcP/jzxEK/rA8lz8oGnS5MX\np2EMKPJHBqTAOyilHGru8tOeKrSWnRsppDRQEsALTgBWZTScB2WbTzha0TVP\nEDOaFMQj7U/vb/UGse/F52y583CxulXKKfcjdDMPnbwXMdT59nnklAxpp0qJ\ntRWk6pi1Jz9WY46H8FMZRMIerfrf0iAdJAPxTEo2ur2TqxSi14LGzGseOOE5\nqVBI4lYd35Qe03UGNbn9+o90DE0rkzpFon+uDFxnjNdjfrIDa+xg9As4DON+\nivcsrna+x+FzaE6AI16VaP3LhC9yTyob87Y18+WATpFA43KKrGwUoU2hlAQF\nZ9m7snynVLStsrNvAhhAUPFZV1dG+3FfQF+xN2x4Rh1K2+NPsOWaDxt7Jr54\nPKdW7VBpXQw9eQvmD4xD7bZ5B/P/+YJ3QU3+mcJYW8PQaXWgb8u6nNu18/E6\nVy5Zzc/PMgB6SkcEttg9mmP3idpuF8QG7T/W5x9DMIzHUJ0WZMJl7/bgPL8E\njEhdpCUszOT+C3YOFc2IlRrkE4j4XyQtcscWsHMG5Vgz7zbDPNzkUfieJxwT\nulSZkR1ssCStm2eO/D8/zNaMopRyFisGGS1d4KapLmmrZyHBxRBmCe8T6KJT\ny0ouKPU3P4PsaLmPjk/j12j8AKNL823dbN6wUi8RLEWdSszdS/ljjwrpSG1D\nI4du\r\n=6G/r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/nGF8GICo8Wg3ypWImTZ/rHP46l49SmMEKA/QoAj2mgIgHils614mCb7c7qemI7h2vnmQyRq2CCGH44RKRa3KW9Q="}],"size":5811,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.13.2.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.13.2_1613935633557_0.5779054942542803"},"_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":1613935633702,"_cnpm_publish_time":1613935633702,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}