{"name":"@reach/popover","version":"0.13.0","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.13.0","@reach/rect":"0.13.0","@reach/utils":"0.13.0","tabbable":"^4.0.0","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/index.js","module":"dist/popover.esm.js","typings":"dist/index.d.ts","gitHead":"c5234721d372e2ab2a7745475007605e78d18895","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.13.0","_nodeVersion":"15.6.0","_npmVersion":"lerna/3.22.1/node@v15.6.0+x64 (linux)","dist":{"integrity":"sha512-xvIynGdf4tnNwCm5os40VPlZjWjAL1zuea0hlvs672c2HWqnkd/xAKMrKLU5m8XWCi1dSI3fOVIMsrODHau3ng==","shasum":"c3cfe34a85ca10f934646c5d906b349775c4695c","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.13.0.tgz","fileCount":11,"unpackedSize":88726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD22/CRA9TVsSAnZWagAAeP0P/1bbNG+pe3PyRbts/iFJ\nY/lBUGlrZIBh7HNm4P5JOFLTJJhkeTkCKB8d/dUAHBf9Kj+XY5t983+Pc4VH\nJPSC9/YQm3k1I1nyw/2WDF99cG8+ADhGwcIAuU0e1SubNVJ3jm3lPBldpLaw\nyKqlW98I7LHkJAVxDkAy6MmOTTY8ibWgcPX1ntu7bv2OPRquiBPSf4eIfwqt\nJsHUTVyPAfDpk1AqDOL4FqXbSu+Ukt4VhOHNJCCn1hX4AT+B+RULPRpuSajx\nQFsfyBL6py6HiPnb1bOpSF1Qd9Rb62tgjXVq55wL2q4yk+Vxj1yR/1EH4rBM\nrufnevx4oYLLPUfmd5FKc0xMhO2eb+cgXu8bc59co17zVzGlH4WXAMme6yaP\nmcjtO9LZT/CGpiHcDSLrRIhVxfFxXtE6rva7R/xx/ZmBzBe2V5Sifgr9/1UG\nMRcxnXRUiH/9QvuZIUFDDhZIl3EIapY1b7XT4K6vqvvPCouoJt6ruV2T/2IQ\nY6evgTcOO1j0ztF8Ul1uIm1DixmzMFyY8Y+rhthcknhAIqYXiplUzG11iNu4\nMzuqZr2TIM5kHDiXgBDznoDxMEeem2ZxyYZ5NcnM+hKBVdluUOA6t1js4NRf\n/t9Yiv7cZ7S1jv36Z9+T87toePgx8eMOHwsZOq1B4RLZWx1BYcxEsPpL8haO\nEEdL\r\n=4ni5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcE6zjHFqvKKkQBudWZY94uB3VID+i5y1jMkU0xsguxwIhAMIm6yEXfK/n3iN4/C8hsN0mSpzW+5kO/yp0AL4JomUp"}],"size":16339,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.13.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.13.0_1611623871577_0.13801819479332988"},"_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":1611623871687,"_cnpm_publish_time":1611623871687,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}