{"name":"@reach/popover","version":"0.17.0","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.17.0","@reach/rect":"0.17.0","@reach/utils":"0.17.0","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":"d206aefac2bede58c06a54b18d48eee7537096e0","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.17.0","_nodeVersion":"14.19.1","_npmVersion":"lerna/4.0.0/node@v14.19.1+x64 (linux)","dist":{"integrity":"sha512-yYbBF4fMz4Ml4LB3agobZjcZ/oPtPsNv70ZAd7lEC2h7cvhF453pA+zOBGYTPGupKaeBvgAnrMjj7RnxDU5hoQ==","shasum":"feda6961f37d17b8738d2d52af6bfc5c4584464f","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.17.0.tgz","fileCount":9,"unpackedSize":40467,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCRmNlDdkwrNxbo6vyAphnMQTkaWsITrYKEfMYFSZZlgIhAJu0Gz9Rf45VcEfC4JK6NhbB7PwVc0pYBE2AakyaWtiW"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiX5wwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwrRAAm8beYr4/mDz10XVBErpDT2QxoBwHpFuYzuK3HWSBZOdxVJlu\r\n3mFHu/wdZQch76jmRUQQwnS0hyA1ErlSBN2Pf9jcUx7ATtpMw4gkW1you/tE\r\nFV+ehqhbip7IHurmr7RmEhDEXUC4NARHyMPvia8HzV+O/+8icQEEH28jBMat\r\nJpnC2gKdaBP7l8pXyrSSBoxeL3BPZd++1A40pyca5O/IkM9GRcJ5ZBjFd0XQ\r\nyGRbg5s+/X5QMQJPlr8HaHL21PZHoNKhd8it/369AEvDd94+fiObcMqNiW+q\r\nFHlZTS2MIAN1+17GCNTxg8iXJZIHdJBv3Gpt2TjVK1T07VdD0Z9WPmy9eq/s\r\nPGyHUXQycK56Ju8QdX5v4x2WGrmtsOvb67V86qFta64D7LyXbvaSN0IUFvzK\r\nmf1BE6bZnu3Hg+nRGWTbpcMuTIluSM4Fg4DQpqre8u2t7iSFnmyrpkKX/b07\r\nHRAD8wSiVb6IX3zvzu9TIo4U/vMFFfwvrBKHc0AfQFrPQnxEGg0I7u0Tc2qk\r\nDeJ8YA/BQMnfrFQ2FbYFZV5KjwQwCFdcbDSDHpO2wrbw0XMDczgUNIaFhVOF\r\n7+8WyvusWoifWuXXK2sHXCUjKph3JmzWlYjaL6kEEf+ZEI2UKLsIPU3T0R9A\r\nawGC1ejP6C/Hj9TgF88LQNbfWySJKJ8iGgg=\r\n=m92n\r\n-----END PGP SIGNATURE-----\r\n","size":5983,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.17.0.tgz"},"_npmUser":{"name":"chancestrickland","email":"hi@chance.dev"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"hi@chance.dev"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popover_0.17.0_1650433072354_0.32189834590201194"},"_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":1650433072568,"_cnpm_publish_time":1650433072568,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}