{"_id":"@blinq-reach/portal","name":"@blinq-reach/portal","dist-tags":{"latest":"0.18.0"},"versions":{"0.18.0":{"name":"@blinq-reach/portal","version":"0.18.0","description":"Declarative portals for React","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/portal"},"dependencies":{"@blinq-reach/utils":"0.18.0"},"devDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","tsup":"^6.1.3","@reach-internal/dev":"0.0.0","@reach-internal/test":"0.0.0","@reach-internal/tsconfig":"0.0.0"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"main":"./dist/reach-portal.cjs.js","types":"./dist/reach-portal.d.ts","publishConfig":{"access":"public"},"module":"./dist/reach-portal.mjs","scripts":{"build":"tsup"},"bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@blinq-reach/portal@0.18.0","_integrity":"sha512-pWgJrxb+o6dMgmKaVdq7Nm8q8nBZC+yQrg+jdjKAXr+kRR7mcPyP6mbYDfQ6qMP9wiGcuVvS/5viLlL2p26bDA==","_resolved":"/tmp/b82406ea92b898cd14d1224198c5c7a5/blinq-reach-portal-0.18.0.tgz","_from":"file:blinq-reach-portal-0.18.0.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-pWgJrxb+o6dMgmKaVdq7Nm8q8nBZC+yQrg+jdjKAXr+kRR7mcPyP6mbYDfQ6qMP9wiGcuVvS/5viLlL2p26bDA==","shasum":"b4550f70dff5a5379546d7a9142f34911a1a9020","tarball":"https://registry.npmjs.org/@blinq-reach/portal/-/portal-0.18.0.tgz","fileCount":4,"unpackedSize":3687,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1awcxx3X6g28Dwj6H77sRcGF4XnrwDuJxpnjnC9gJhAiEAz+QWI2VwfDQFfdP8Hg/sdbOEp3HvivSUH929QHBjflk="}]},"_npmUser":{"name":"willhackett","email":"will@willhackett.com"},"directories":{},"maintainers":[{"name":"willhackett","email":"will@willhackett.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/portal_0.18.0_1684374054945_0.650051991414363"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-18T01:40:54.864Z","0.18.0":"2023-05-18T01:40:55.157Z","modified":"2023-05-18T01:40:55.365Z"},"maintainers":[{"name":"willhackett","email":"will@willhackett.com"}],"description":"Declarative portals for React","homepage":"https://github.com/reach/reach-ui#readme","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/portal"},"author":{"name":"React Training","email":"hello@reacttraining.com"},"bugs":{"url":"https://github.com/reach/reach-ui/issues"},"license":"MIT","readme":"# @reach/portal\n\n[![Stable release](https://img.shields.io/npm/v/@reach/portal.svg)](https://npm.im/@reach/portal) ![MIT license](https://badgen.now.sh/badge/license/MIT)\n\n[Docs](https://reach.tech/portal) | [Source](https://github.com/reach/reach-ui/tree/main/packages/portal)\n\nCreates and appends a DOM node to the end of `document.body` and renders a React tree into it. Useful for rendering a natural React element hierarchy with a different DOM hierarchy to prevent parent styles from clipping or hiding content (for popovers, dropdowns, and modals).\n\n```jsx\nimport { Portal } from \"@blinq-reach/portal\";\n\nfunction Example() {\n\treturn (\n\t\t<Portal>\n\t\t\t<div>Stuff goes here</div>\n\t\t</Portal>\n\t);\n}\n```\n","readmeFilename":"README.md"}