{"name":"@reach/popover","version":"0.10.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":"ts-node ../../scripts/build"},"dependencies":{"@reach/portal":"^0.10.3","@reach/rect":"^0.10.3","@reach/utils":"^0.10.3","tabbable":"^4.0.0","tslib":"^1.11.2"},"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":"fd32b2b31a3e50265b0c274654a5e4105847d18e","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/popover@0.10.3","_nodeVersion":"14.3.0","_npmVersion":"lerna/3.20.2/node@v14.3.0+x64 (linux)","dist":{"integrity":"sha512-41iNfdjd9/5HtYuhezTc9z9WGkloYFVB8wBmPX3QOTuBP4qYd0La5sXClrfyiVqPn/uj1gGzehrZKuh8oSkorw==","shasum":"82e29b91748869923756a165758a29c8269b93e3","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.10.3.tgz","fileCount":11,"unpackedSize":86950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexwQNCRA9TVsSAnZWagAA8ewP/00pxHRs0bDky05hpq82\nw84MYBCMzsIDXOo0SWq+anu/bpkq4d8PS7Uz0Qi0/2iwbBi87dXVjhj1lKux\n3GmVUB41prCLIkAOHlVTtT09zCZcak/hTsmBO42o3+IgytKk8rhqzjBomap/\n/FmCc+ybPS8w152h34GuGaIe/PWNFebP8AWMG6YpmhYNrOmw67EfYCtq3bUu\n3xro2U9HFafr6u6mi42NoqHpu53i4CyyUo3NTT81+2tOYCnNG0Or5zB1q6AU\nfqpx2+yFCQyta+oHbluLUbn7HYaqvMnAlN+UzVRYcItSSV1p+Dv3uYmCCbO8\n3IcaAoaOi1ZuexQfx80mcGHEK6SryJYWSPPBSZB4xbOMuDjrQZFvtY3bc6HG\nj/dvm1SLJuM1lbOAL5x9a4Qnlyb6QeCN3pfy05NAxg1S2w9g9Oi7vybFRKfM\na7vE3w6Kr6aQhZQAIA8GCZuWBkNgULnKxSc6pSI5zyQ54STHEd1wKkiRJhrL\nJvfMhmALlXSQYxL2gzLFhSX0VatMDw1f3ZVNgDDvPuBzNbhV/y6GGmFOYyRQ\nsDo3MHQ0+cCrS+J1Xg7hcyHpSFsUxaU14K6dpABUS6ydsMxzqY6vY87TzTGI\nouk5FzQHkhdAxbzTrMcNXyUthHMBxooJLpuibxMuFyjRJTlCqhuiT4FmujPx\nhj30\r\n=MOFE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHGsd46dVbHOD1orxGlzOT7czilckqj1vlF1JQnDCT5gIgJruNuA+h300qlBpZJSaRkFj7qMg2C9hinAAlFOjHUjE="}],"size":15993,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.10.3.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.10.3_1590101005472_0.4533126937250309"},"_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":1590101005567,"_cnpm_publish_time":1590101005567,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}