{"name":"@reach/popover","version":"0.0.2","description":"Render a portal positioned relative to another element.","main":"index.js","module":"es/index.js","scripts":{"test":"echo \"Write some tests you bum!\"","build":"node ../../shared/build-package","lint":"eslint . --max-warnings=0"},"dependencies":{"@reach/portal":"^0.2.1","@reach/rect":"^0.2.1","@reach/utils":"^0.2.3","tabbable":"^4.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"author":"","license":"MIT","_id":"@reach/popover@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-pKGimIv210YPSFc6zzVYaCO24a4lFKcOEZuksnCvf4EugMPn2o8G5gJQ+GK4DjfqUF0Wp9MTIdURnW1iv3kYFQ==","shasum":"111f1ddeebb450110fdeb577cf085ea7ede94f58","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.0.2.tgz","fileCount":5,"unpackedSize":58557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+n7oCRA9TVsSAnZWagAAvhMP/AkF7QRmZ4INefj3FyFI\ncBAuSJoytSvjYMKpMWMmbstvDhIJn1UmUlUekS5phISDX4kqy2UYameAutR6\nWfBR/zC+3TpuRyTBYCvthBNHHl38iu7HFNSDwi7OXkh6W3zwYz422e8oJP5k\nF30gZDbCrXE8ppem/RLQwQzgvJpZq9/kwhmcyBp4W8esPB1vMD2bngSdNpRH\nNfqN/ZUJMIErHRmXUk5wsbPmyQ0s5WpfPt31Eq0yAYaikj0aJ5QklagQ2ayi\n6Svm1JozWQ82Hp8WnM7kSu/ptBRezzrziOIrV5LOiv7EVhuBBuLWTCu89vb4\nqMANmp9OnZNhgpS1uGnS6PyjjoHyHgelfxPEcb3cIX99BJKxpKQjcHPsnTPJ\nzrlN0h21kqSbFaRiFAHMY0dAL8XzVElM/E5z0Kn04ubrniqjsB0bNnX7Duy1\noF/jmb8rC3Cn8LwnnymoxoQPZLzpo+DWrz5KAsr2CwTgYiB62Rr3E6SS9R7G\n2A9Dbi9e05H8CkzRq2Ialf2iAlGazfdpYHIlqNQB7Y491s8PACfEgV2Rllhp\noZqk+Ke//XjwzxI+iHSzGhSE8hm5b4OEYtM6gXaJjpQJUS4uhwo5hPVqx27n\nnq6/IBJHulBWNHtoeMoMPhMcUAljV6eCWgzpvpLowA1u6ubqhJwT3KpIWL27\nGh+3\r\n=ssni\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGeypt+uM3D/NSHARszV9GkJh9edMhqjk1qobAqiOVeyAiBM1myXlOk9D4Wjy297kd+YKHoG88ot1cQdB04RMaH5cA=="}],"size":6407,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.0.2.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popover_0.0.2_1559920359587_0.5028319325417616"},"_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":1559920359675,"_cnpm_publish_time":1559920359675,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}