{"name":"@reach/popover","version":"0.8.6","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":"yarn clean && yarn compile","clean":"rm -rf ./dist","compile":"cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json"},"dependencies":{"@reach/portal":"^0.8.6","@reach/rect":"^0.8.6","@reach/utils":"^0.8.6","tabbable":"^4.0.0","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/popover.esm.js","typings":"dist/index.d.ts","gitHead":"0c71a018a11055b17815f0fb127cdcd981cd760e","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.8.6","_nodeVersion":"13.10.1","_npmVersion":"lerna/3.20.2/node@v13.10.1+x64 (linux)","dist":{"integrity":"sha512-gW6JjlmjYDO9wDzsxThNihixpfUaaJ70BzqarhM/Nb8fS2hyZo5W2Zbu7yML7HKOej9HpwgLzAE01rWiTuu9yw==","shasum":"21f1be83016ed0adf5b2f6b0caa2e5c846bea188","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.8.6.tgz","fileCount":11,"unpackedSize":76983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYoDqCRA9TVsSAnZWagAArHkQAJcImnq0wQUcLVgZf1Ue\nEuTVpSSOkgTAK81K2nA4y0oOtwiA5O+e/dvCw+ilT7CrnXemb/pJX+f4dyFD\nVMRYN7VDozq7pWdVEb8XbqVMqSlGcp8nqj7Q2TiZVmbHTvHlONGe0JjRFWEO\neNIKzFpeRFg7zdrTeXg6u+q/QVY8aNZcelDlFxkJ3910Izr9UHItG+WGl4UT\nUWnVzrF17Ezvso7sWI4z221XwM+sTVyJ5q+G42lQQDYK6Mu3pblM5in/PDmc\nYFZ7BU0W1oP6HN59UCUNuSP1pdM8E7x6ivaYgiSRkWoarMr5MHPgHoGGFVxD\nL4MXQDr631/efnvYEFj+qOLIZAmyDkZz5Dwc3RSN5bD9MkjK6lkaO+3ub385\nwzESLqK+oodyuTj+5c2vymDMPTUR2qEbTYsA0iix2ySmi8x8FT0K+mXs91sg\ntUPr0HR2jGSRe5ZlzNf8g9z5W6xrmquXFAF7CZsrarx3/qMqiXZQjkwdA9Sy\nkn5qGbcPrj+xXaja1Bi/lpo/wz3TmzIQ+a+e/2iCEHJElKkwM+20Gv9xgUNy\n97E8es6EMmUJD6A9wI2B4o8M8gpx4oAxcXjyb9mC+ccJj4YNJBjuMtcQXk/+\n34/jFVNDa9jGjp1JkgeB5U1BNxCGTyVzfXjUU3UX55iNYEKYys4IIEz0jvNt\nS4+z\r\n=Ww0W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJE+ZoHtNHjSqbnLyMMowyj0rmFbzsBNTCWX9qNHkJ3AiAaP8TvVcaiZpatOuhlZMUQ4Bk5LaGJsOrpKGl/FfMcLg=="}],"size":14438,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.8.6.tgz"},"maintainers":[{"email":"blainekasten@gmail.com","name":"blainekasten"},{"email":"chance.strickland@gmail.com","name":"chancestrickland"},{"email":"npm@mjackson.me","name":"mjackson"},{"email":"rpflorence@gmail.com","name":"ryanflorence"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popover_0.8.6_1583513834411_0.5053328522551943"},"_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":1583513834558,"_cnpm_publish_time":1583513834558,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}