{"name":"@reach/popover","version":"0.7.3","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 && cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json","clean":"rm -rf ./dist","compile":"cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json"},"dependencies":{"@reach/portal":"^0.7.3","@reach/rect":"^0.7.3","@reach/utils":"^0.7.3","tabbable":"^4.0.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":"fe739beb1d94cc58c4e72f88ab58efa58e0de8c8","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.7.3","_nodeVersion":"13.6.0","_npmVersion":"lerna/3.20.2/node@v13.6.0+x64 (linux)","dist":{"integrity":"sha512-6kdssDSJfr4Yfpg6yfT4f7HRX79niawFu6BIcpDTFm4/V9pe3GzUIRyaPo97/zl/2RlX6DMeO4tHv9DYVNPZIw==","shasum":"a5281b54ff216613cec543101a83f60035f344c8","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.7.3.tgz","fileCount":11,"unpackedSize":76091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIkVHCRA9TVsSAnZWagAAcxIP/jKDNkpnLG/+/ZpbKAAK\nRmyTNfCfXmExB93JGOhGfMQdVRaXDeRT8fnYiU2dsrlG3TKyZEDKGwwVzFxI\nSZnw0JrN5Tgn/GfoR5KmRV4f+HRyOl9bXpOZgeF0hrUbzmhw3ZZ3w3KB4WIk\n4mLz7cTx5X90cOZfZ3a9OBioRiXfk1SIiSP2QCAcN5aQ9EbViSAYbGkD5TbQ\nANZSQFQn/r4MhlsTPWw8FBoQcAcrE3BldYH3qWvuiYHH0vrjDZBfL7Pm828w\njbOmx50H3scKLgjD50Gr/gECn9x+kZ9khhKWugdKYMN/Obfi1g9iZHw4YxbS\n1mpLwyZ+tXOLzIV+WsccIk3DOWfOgVSnf2Wm1Mx0aNEj7EWq1VzVGm00t56O\nqu+KFIftMY7jbhM37uiBwpfTNBSHv2Lvai+WjTWzVtEC9hzJ9kkZ7J7exxVa\ncSE3csRNXUXIpbb8cCdpIAU779XkJM1wsoPOVNKYfMdEyiwBanupjXj3OS5R\nkcAGtU2yep4DLestIhlOFavL+SbkMiIQF3hhlohjZefKBu0F8/c+E+fCI1pI\n+9DhOif8HhV06mMDEBfyEjjqG0go+BvcnVkdxE+VZc53mjgAk+75QBfePuvi\npKlQ0DzZdkPYSgb5V3E/TcxwP9h5RD4piqBlIE2KhER91DaxXOKlnGqg8c6K\nXkLJ\r\n=9pjf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFtk4iCremG1Z0FOgDzZDMCLowGvAYGLEy7snb7M2gRQIhAKKjTos7+jveaQ5ZIMtmHNihW/4d2XSAW8OsCLnEOZ70"}],"size":13996,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.7.3.tgz"},"maintainers":[{"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.7.3_1579304263049_0.8935536096023906"},"_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":1579304263179,"_cnpm_publish_time":1579304263179,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}