{"_id":"@chakra-ui/react-env","_rev":"216-798caafff65b0f14751c683819a6e7d5","name":"@chakra-ui/react-env","dist-tags":{"pr":"0.0.0-pr-202212011232","next":"2.0.0-next.2","dev":"0.0.0-dev-20230718132637","latest":"3.1.0"},"versions":{"1.0.0":{"name":"@chakra-ui/react-env","version":"1.0.0","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.0","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"186d65a7a69449b155d836a156b7b59ad942a2aa","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.0.tgz","fileCount":26,"integrity":"sha512-CR7LbRA3wBSnyy12XfIocmWPwjJUURY21QfYMMN9KUPeUYaC3fkMATltmBRZ2cCvcAX+K2MxtqFQrDtgrqs0hw==","signatures":[{"sig":"MEUCIQCMNNzWq7tHNjKaVvz2J22IaVS8cLQu5992572xAQUFmAIgG9AOKHnXV7MkeT/vKyNe+mBh561+bSs3gpcOkwOAqak=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZIJOCRA9TVsSAnZWagAA7M0P/0/O6RQ6XI3znHVr0aQR\no35EJ6ln8AfIvbDRcqi08IWvJdC7p9Un3GbVCU99Sp42zyO2/40I7koeuksw\nWuEpGP29PEwmDvhJ39xWueEQWEZKpFMfgLvwU6E79JVhGzVTTfiz+l/5l51D\nl4xtMsC7JOatYPUGmmot0hcIfaibDzmqDps6o++XoOVlmjcC6E7XhyBZkGx4\nnx7lyANb0FbYAS+k1BtOoA2VWYI+tUFlZlAmTfVXWGo6ONbhsdMnO7SKWn4m\n8+vFUU8Zs7cx9saC7u3gTn3gCZq8GT7/Z1veeAbY7u6FXvKsjKjAcIhqTZdO\njmnMcMiMY3RSkOcTVPGjNNZ9US12eI2lJcLcDeDGHnhQ7NQ5ZA4o8ZGWKFrT\nsfvhfSt6eQ5RpMjO0pzQF1xWblBelUqnHXCvIc1sCq8B9CFS0OwpQhcBxoNd\nADwnb702RNb8WTyJB2VyYFre1R75nN+hOa5GiJdCMt/xc5LQ9xKAaXnYq8zl\n9UO/KjrXsfjKzrhpt5hY7t23LEUZ4sN9SLhgZHR6JgtKxjRhiE2K1ZpsL+yD\nFUCzqlO6bSt/8ZkRsZfa3quj0/V0RtdX4RranMYKuXlUhZU5dYSVSb9Up5Ni\nTIT/r77gQ5BX9Bhaard/Uq+aXE2ZbrDMDxjOAl2NZWCzTjUkdeCK7pJGmvxk\nyu3E\r\n=njfn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git"},"_npmVersion":"6.14.11","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.0_1617199693534_0.5852973246820887","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@chakra-ui/react-env","version":"1.0.1","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.1","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"336e68e6cddb4f4d3021c156c8c064b6d5704351","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.1.tgz","fileCount":27,"integrity":"sha512-7za2G8CHUNHa6utUV2xR9useTGOueTyZyMx1lfLCxeTZxzqs+Sj79NiAXUSAuT2Y4hvSmXO0ElgqddkmBi8okQ==","signatures":[{"sig":"MEUCIG/0t/D5iB8yFHyS1IzBgUnnO0L9paSpAk2g+TULNqepAiEAkvxOEqNKeK1M4pPYNxtpMhEKKPSBzT2p2Aa0C522Hbk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdhcxCRA9TVsSAnZWagAA9G8QAJ3s4q46mLd0LIFTLDwH\nwaKBI56a3b7glocoD3wUZC/iBRqZ9dXm4eEGn/NkF3I2130HOqkh7HYQQk6a\n3WFQ1GLMGPc6sBwxODs/1qqIeWKJsovnJGjr7vDoHHu6vfn96aLJoUJ4bdtk\nQdrx9zq2G+oYxLFYq+WZPs8psXEt0qkCtMplHJC3NK/0QA/ZS9N4l3lRztFW\nVGb2IgMmCJR6/26yttKALC4u//l8ACLA/HSEdNvY+XamABkRYOIY9Xw8KwRd\nmbwrYRKLg+KA1LK0lKHAByd2wJyEEtdwE5ESdk84YXyS2VS4xeYygTsH0YX1\njk9jTVTSR4Qwh+egdWZyNG0OfhsLGwWYPAct0+HCfyIfExbKOl9Z9kMGCzqh\nHybCn4fTVr+iy8ePbq7dvlxypHBrg+CMZyDzsG3IaDqvqaXsfXNjPYvY0GBU\nOwkwNY++nBGQvIDsTWLQUDhBCGH5+cTYBtlrjNOlU/kYTvfqgAbsDnq+qjeA\n96YOApBPNdy+GPrxIL+Mf/Vvh0Jjpb/4AZL6EzUNXbZGz0FfqWRLsSEJkFZv\nG0pD2giTXPAJ0Y6kr2AOnbBozQ7I4CbDpzaH0PjDKjErbMOL1+gUiNy73dGp\nWevMp31rok4z3mbw74ObZ88EfHRfsnqaF3GS2NjK2uqKsE6FTX7l0my+vyx6\nc7mD\r\n=Y9fb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git"},"_npmVersion":"6.14.11","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.22.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.1_1618351920861_0.25026584369273075","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@chakra-ui/react-env","version":"1.0.2","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.2","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"63b14e368711e11a14fc653eba2df1ce8181f2ba","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.2.tgz","fileCount":27,"integrity":"sha512-sQWs2QcJtsJDPKWpZncb2U0O3BBVHeQ06wiAfLcqPgNdBV0JGmYDIN2p/8yhCppldJfvby1OkQ6AwgYRZk81JQ==","signatures":[{"sig":"MEUCIQCpXGdGIWtfq5k8xDa5OThE5CRgQ8PKJqpE9ukNCnOrwAIgYDVUveyr9yeftbGNC8DiayIJ2SME/xwX3awGnQWXqGs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfc3lCRA9TVsSAnZWagAAJ58P/0itGSRksQzhALfZXi39\nPQT79/ffN8ec6eenwSqeXp1FAn1W1XJXyRN8kt6ih04swn5uuSqGSoApvFwB\nMfOVFhXxZXDJ6uiu7quXZJNIy6DYvf3gM7rqYNnCLnTgrYP2C3ekoZDEdZBu\n3lO4KfsYkmcaLdUqul9fAok9VO6QyIjHzwx8L+LOWfq65JhlmP1dJA8CBu5S\n5pPoY99wNubgaBpmHCt69ImvejF3yUPVt+9MiY7f3laojM3D+Iqj8ByZEXrg\nQtOLPLzDbtLVC06fBPUBpaCBeHguNXXxLLemLk+PmJhQpxlVONt9nWc4u0u1\nT9Wzb96NRdSkqeud32mpsI4YndL8ypsEGOU/21Pt594r3lGkZq33I7jyeeg1\n+FNgstW1nI9fsAHXExomVZRcarxxhhIimNKBLIVDEg9chFmL0a/ZsycTG5bq\nCSmzv2HF8FjfI/jZQELp5u8fiRCim1oBpAi2Isam9MmeyKsRsE3FXrjyv9CY\nd2zGWQ9lqokmYcIdhHkxipcevyyvZ3X3wn5SlCIkPeLXel4ag8xOco3B83hE\nV2LPlEJyqghfGqoAxaICThkz9vqwG63oKya2snc53eqv6SBQpYGgXHOnq15r\na8WVNEeung8c2XVrS/eG+qhraW8TJ1utFXRN3YiWXFonR4mBK/WtdTXREn11\nBXFQ\r\n=02Xg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git"},"_npmVersion":"6.14.12","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.22.1","dependencies":{"@chakra-ui/utils":"1.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.2_1618857444989_0.6742375770314861","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@chakra-ui/react-env","version":"1.0.3","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.3","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"ea97d7d1aeebdfac6c7510b4b71a0c46b26174e6","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.3.tgz","fileCount":27,"integrity":"sha512-9oYWKCIMxRboSgMI1ur4fQqwQm6zZGp0ilm/9BcpCTHa1FXLlOh19GE2L6PkcOahM8icbw6bXX35VdpgIIoOZg==","signatures":[{"sig":"MEYCIQCzmFFoRBlIKIPu4CbFS+e53jsPBFzSrPFC0hhWBYBpOQIhAJaJ0Lq/gJZiTDGIQusX6ecfqZI7EIaSTxXPtvtYix3S","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggwv8CRA9TVsSAnZWagAAxPEP/061gdIJSSF5FuwC0NGb\nJJOvMNqtWy+8Nf9WxEkZlQaE8GMm5m43C/OdYFfUQ98tHpQCQ7WmuRHQ5kVs\nXVtCFyNUDcDHRwTiExBxuw26VvOZq/FGk2G168Q2cOqekNGRd56SUAPBsIuf\n0ynzFXf9h/O3OPxVOfRQNcUozWbi40qC9Ez+cEXHxGOJDsjtieQjpJmcbpXu\noeJtdTLgVYb9B5ASpYsXhJFT9FAji/taaYoSj7Heksb0A5JrRyA9FMO8ltLg\njS5MvxHaG+hN9qGLtyRQGoZN7PiB7IjBkxmJJ2X/ckts2FlGvx8a0RDrqohD\nIs8c80cxFR2rO0f4Ne/o8RQnyoDZ/Q8vtonrMPrt6lQF7Y1KzwiY3Ggxe2nw\ntNxfJwDhhWZVPXmuuWDk/CsvntTPmRtiiL06sHgZLUGl4nDRNLB6FoB/IQVz\n7iVk1AxWDKLZwoKXv8qgFDl+2i5G9+jykwWXZgrrrmmPp/F0DkPmIqaITv/c\nLyMc4Ijh4/6qR+8fxxW3hLkBaP9hMApv+qKlyVlP0Ju67SrhDdU7mJF0oGwm\npvlLfjhuFC+Vw3mlu1C7SeqV4JdeFpmlo9aNNMDIEaIVNDVLn3qySNU5Hns9\ni1zsM0vx8LSAYX2WD+ERXwOEvJa5YurEN9ZBk1lSGyECfCGVUd2RMcGQFZt2\nsMZb\r\n=gVS3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git"},"_npmVersion":"6.14.12","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.22.1","dependencies":{"@chakra-ui/utils":"1.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.3_1619201019597_0.7947118831703963","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@chakra-ui/react-env","version":"1.0.4","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.4","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"b053d44d61b63dcf5997b24bdf2454bdcdb1b1ed","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.4.tgz","fileCount":27,"integrity":"sha512-FkZR/WW7WI6LR3Wgm+OeuDhTNCcD77U/yWAxSo1tvEqqL5uUvD6Bi/Ko9E3lI5yhdoJ4t99ksf1vUBlrMG92vw==","signatures":[{"sig":"MEUCICui4s/XH0CnGbguslgm5wpCiYkF8cyCVyYyXHl8+cskAiEA/h/zOmXL1dnG110yd0tjTi2b6f1shuRBtRTYJY621E0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkn2pCRA9TVsSAnZWagAAovcP/2hObKPMO21nJmKjWcF9\nzMKK2cuDHScoKkUrEavWvO7jQXmRPIwiuJ79BMVupUJbNuzEMjhcX7gPpCUk\n1xl08I6Nops62041kSkTbO00VDCtrwMFGRFVMTG1Xvwa5xwX+vYvb1hvGBM6\nOP216L2SwWTxHD6fja2EdhnEfpNlN44qIJ8VxsZA/GvINalfqp9PUVt1J3bn\n2Lt0b2JNGTdVym7knp02j6oN+QluCsSEVY89qe2DP+L+EDCZ+Rh+9STT2Rq2\nWrFxIzfT8xGFrEEoUqoZdH6x51V1FVspsiLN4IlVTOBO0lbyJsew7OkgnHXI\njLeVub+9FYyaAzxPZ65U0e0kQIPuJZdBPk7miN9eWqsng74Vg0NOPUEyjfxB\nQXiaKvLjfZP7QqspTxL42M5zx9dgZOmagLN93s6zlTYjQ3jiKR8qIbrSppAB\nHBjOzC+PZIQ9TIC7u0l+RmBnT87Cv/5nIZFM0ijnIe3MPprCwdrp1SVNr53p\nwVmt0TjEVUv/6hVdnwrgBb5ZLLcufP3Nsh6BQCiV5XeTs0XAEBYNrV/itzq/\nL7lXLQ3qSwPbxcvsmSjfwEtIA+U6lItBf0CTwAk6UEAXJ7YVrFQ7jfT3cHxh\naR2wC5jSz1UWG0KoEndGkR6LdmaN0dHlw6/bx3nEjNQNorWf4kT3l1dcb2Kc\nuVbU\r\n=8DaG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git"},"_npmVersion":"6.14.12","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.22.1","dependencies":{"@chakra-ui/utils":"1.8.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.4_1620213160666_0.6558952522337629","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@chakra-ui/react-env","version":"1.0.5","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.5","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"2333c26a749bf6ad85a0a7865844471ff9d05d7a","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.5.tgz","fileCount":27,"integrity":"sha512-qAWslmm27q7DyHv5XvIoW6ihmilQK6K/LNc0bUlPrKaxzLtk9m16N767spl+xue9JyPb7ZE3gAPwdUEUD7XKhQ==","signatures":[{"sig":"MEQCIH+MPcMbvaeTJEbsmK81CUB7Gmx8lJMNtdv13rAWrY5SAiA0UBM51J+7UzHZ0JDIl3pkKsIHqZhpqFfxYgwzmNYqPQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5xQ3CRA9TVsSAnZWagAAP78QAIxKiqNLN+9oK7Ypo2is\ncp+Z5TSxAw2O+TBAUfTTTN8oIZ9XvKVlbZ96QjNq/hWWI+irSSIw3WdPTcvZ\n3Ts8ZztXb2lhs6YsPexNRrnOLx6RsjUhm6KHF6yVJ09Vv2GJcN5PL5USbaIS\nUQT+MjhlhjJq5Z+8O0DQf2XGRXBj6ieEqe23uCBswjhWcg3ki0HYLlSGYhZM\nkqQpRMUaRLSpi0lGlKkcLnwelo1h0/Y2KeSuyr2K8gTsw1IMVP367o4SBs8O\nlnrpKz/qMX1TFJNB+19R76qSJFJY6futZPd/HGavXXYhG97utydDL16DXjie\n3tBaQwfm6D3f6hbhn4yvXoB7W3YlaW7/YO7t3WTTJrIF/UCwQoEHQCWwhBp9\nxrPeT1FOz6JeJh4etty+5ntXhoBXEjcKFUBPyQpBGTwLkIFNQhaFGqvnYy5Z\nytGIa6U6P4tLWlZC+ynqj4vC8cgP6G0SJNDoSFIACjkiXi8a8L/WQ2b61hCc\nYqSPusSaHZrihCTZFEreuz/+JkzCeDgM3IWz6tjTVP8H3umNQAq52m+CNAt9\nzT1mAGq5jCLpR28eqYP0Yj9dfUrDMMnW4gKrxe2hUcXj+7oSV7rfHhmA/VXo\nOIow8FXTCfgMnNY3Xhid0safPC42x9HuU5ImESNS1GFpj5v/0KmmCOzcX4l/\nUnh+\r\n=3RvP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git"},"_npmVersion":"6.14.12","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.22.1","dependencies":{"@chakra-ui/utils":"1.8.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.5_1625756726843_0.11071262076463695","host":"s3://npm-registry-packages"}},"1.0.6-next.0":{"name":"@chakra-ui/react-env","version":"1.0.6-next.0","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.6-next.0","maintainers":[{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"82f5054ef9e275d7fd7a7f461af30f41cd508416","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.6-next.0.tgz","fileCount":27,"integrity":"sha512-WIDiL15ZGUccw0ujEWLY382yfo0hVXDqN060IJAFlDAWDH+uLJKyJ6zGBzjxdipyv/UrThSVLusEEqQblc0glA==","signatures":[{"sig":"MEUCIHcKcyk4BckAy35gOTWLbLBHg4ta6ipz9SbhUVd3nQyDAiEAqZ3I4w3mc+Lt47ViBKaQ6gO9TSncj8q7K1tc89/fnmI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDFP3CRA9TVsSAnZWagAAJFwQAIdtXviitT3lzNFOuOqA\ntGEKprpspdSW990g+pwEggyAXwL8bjkuW/pH0bVW/52NJuzooOg4xHRSbyUi\nNrsi/trohy5UsDp/8uP9vfb8lNBYv1q+eCi66vP/B5b/YpxLEzNYN6iDP+HW\nqezsNYzjvhKfoDvp3LnzfolWX6DTQMA9K2eeeZMd1ecHHhanNLHmB5/RcNcA\n4FPB7RgAtR0fqmZsEycqZacoiC8TIOt7GNvqICk4TgNDaWxxQj7nY6v/Q9Rw\nKakqpk+svi+oHkhaKVeTU6hw7VHXx3di/ubGBUuldMmxzYQ4rDO/UGIuX6pM\nEXt0pVokypdfIjqlXlbDKzBUbXJZqWXAr9op4cRUpwV+sSvVx6I+T2QV2Zcr\nUUeC6G9GXPknR0FcaHRcE6lxlAqIMxPige3v8lulfcdMn3yRnaLGn0viKlJ1\n5YDvb1JlUyLt91Yl7vHhwDmFRCgBubEdRKTnxsR3D3oPdv3vJwxnECfnw6it\nCbLMgDnABtV1baw3nMy6PLpRtEmcKf/YUSH8BFrZsbZEK7hfxahlcDEYcIcR\nS9Vn5hsrptIzvX7M5Ut6vmCDnlE3h3Jkm11pezr0DAvSeVYB6MkZ2pjzcMLs\nL3lIO7hU5dLuEeF69Avvb2kmKJaYYkT842Fgn4UiQv/a5+grxWKloILSq/7r\nmfgI\r\n=RkXX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"6.14.14","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.22.4","dependencies":{"@chakra-ui/utils":"1.8.2-next.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.6-next.0_1628197879014_0.49798504148901546","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@chakra-ui/react-env","version":"1.0.6","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.6","maintainers":[{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"931fb0dbbfe4b2aed04d08b0bb191820f61a7f3b","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.6.tgz","fileCount":27,"integrity":"sha512-JE0MXrVv9exBaQP0oLescs1ZhFolet3ACoV41ow881aXptN02VJKOht04/9SqEAnaxn8ePdofG9BRB6dKDm0ow==","signatures":[{"sig":"MEYCIQDxeE/w0gmX3jQBzXLBAhl3NaRqzw2XIgGuzJ7nWAz4zQIhAOZOuFZ0SoUJYtOS7j88Ygkcd4Vl1P7MAbOrl4Qmv5nx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEQMBCRA9TVsSAnZWagAAjV0P/A8rKOyq44uy4FtPbozj\n3Ksv+drFWzIOtZH3JSq6l++RtFKls9ec8otaQT5BUx3jzUiqDMKXkdyRLxw1\n2PwtcPcR+OWNjdk91btvaZKQ/G3lUD3TqYC6AChXSRkJymnOhg0KI26kqg0a\nr0ZtESiRaPDDpRx+Ec7GYuG0q7KdmAP6gqXPLyCOU9GmRh2eNQtF7PTCWXYv\nzt9Yu0K0HkOYm309tG0pzEq57W3DiudPOzSRYQt+MgixIgDgyTTZZblW+xyy\nY7393kqkC7upyQtGn3nOz1P6VcdUpkXaIgvmtUy2ct8W8h5/hLHoH+2xMpdC\nQ4dZV+KTZs8kqOLLLhcGt+jeOv3TsP4PvxdILB+h3qmQ5SKnryBmKw907Ya3\nwnMxlXThFB4tmA4riXKdCz/yx3fswcOf4Zi9XKFGq+0QpMTjhiOrpgHKV2G7\noqSXjgP+b+H+pwaNHI5sjgd2cIAjfYF82yYX1M6+I2j322FedI2+56/5eqGz\nX6LhED8xm6+xxKYMJhu23rs1KGUxmc3koEOuztVFZsBTaP0LMGj2OBfJoLo1\nSfZr5BX3D6BtK5iNRAd3qtxkJa+8fk4EQu1dwYnkW2mSKP4OWn3gH3AbZUol\nr1HePOdcR2/UB6YXX7BEvFCUU75DQGTqYDb+e5/4hTN+jcV0ShmzPGGG3So8\nezHC\r\n=PZKK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"6.14.14","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.22.4","dependencies":{"@chakra-ui/utils":"1.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.6_1628504833588_0.8003724324566994","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@chakra-ui/react-env","version":"1.0.7","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.7","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"99116b574a8970d38b326669da48698aebfa2590","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.7.tgz","fileCount":27,"integrity":"sha512-3ANGROM7wZL4lLiY5GCdslLhNv44xa4cykyBed9B/O0B0J4xqIbVCwLMV2aNSCXwwUChFgjmBsDvk0vnMvclmg==","signatures":[{"sig":"MEYCIQCC1nfQ5koI9y8QHfgwKrkXZn58qJ0JHY71qOUuclnaxwIhAOsDq60ZvWg/UI0O2UZ/xKEmSWxeBjSROaDDtX3/iWT4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31809},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"6.14.15","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.22.6","dependencies":{"@chakra-ui/utils":"1.8.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.7_1634254418860_0.9763410929770013","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@chakra-ui/react-env","version":"1.0.8","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.0.8","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"6e1f0861a89fc4fb4bd23f4a9b6b6ec6b74b5e7c","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.0.8.tgz","fileCount":27,"integrity":"sha512-iA5D1BgcrXrwf0XIBMdvWced+9nH312KLPeQMYHZx8i0n9YqwyJBxUhcruyaKQB+m+NRO2sjkKLLH4wnCG9dwQ==","signatures":[{"sig":"MEQCIDkxfDqdocK5uVJKj8MpsIuxQ851JZQG53LafppCz1CBAiAtRXwyiEipRrK0pfaXUZ5JTMT0AXjTcMy5MiWhiBj7Pg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31996},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"default":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"concurrently yarn:lint:*","test":"jest --env=jsdom --passWithNoTests","build":"concurrently yarn:build:*","start":"nodemon --watch src --exec yarn build -e ts,tsx","version":"yarn build","lint:src":"eslint src --ext .ts,.tsx --config ../../.eslintrc","prebuild":"rimraf dist","test:cov":"yarn test --coverage","build:cjs":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps","build:esm":"cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps","lint:types":"tsc --noEmit","build:types":"tsc --emitDeclarationOnly --declaration --declarationDir dist/types"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"6.14.15","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"12.22.7","dependencies":{"@chakra-ui/utils":"1.8.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.0.8_1635971577125_0.3345354515916732","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@chakra-ui/react-env","version":"1.1.0","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.1.0","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"9f59e19d10f3426b35e97296ff6f0f8af4021b59","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.1.0.tgz","fileCount":12,"integrity":"sha512-c/bBby3eH0hZ3Kkd0MltHPuAt6VyUWYvhbHMGwI2reAqRRIwbL8cc89VyxvjquMlcAH7b2/qg3ZrsqPxvoaDTw==","signatures":[{"sig":"MEYCIQCGhZnAZraixAvxdNcuQOepbzzHmB6CD0dFO6U4fYnj+wIhAJfVBYftLOB4fOlb+us91gKF2nONLCLJQfRvvcMQQhrW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16306},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"6.14.15","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"@chakra-ui/utils":"1.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.1.0_1636649802751_0.7169806044516753","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@chakra-ui/react-env","version":"1.1.1","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.1.1","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"tiolukaka","email":"kolawole8tiolu@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"02c8837ce3252c76927688aa19d358ae372158e7","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.1.1.tgz","fileCount":20,"integrity":"sha512-Lgmb0y4kv0ffsGMelAOaYOd4tYZAv4FYWgV86ckGMjmYQWA8drv4v/lHTNltixxWMmBEpjcHALpJuS6yAZYHug==","signatures":[{"sig":"MEUCIBwveZ7eGPOAfJU88pTR0OnO7M4HJVmG0VV51TKoTAs6AiEA6Xa7DKu246ho6CzWDjX9xZi5wG6Lo5/HW7fKi9xXLSg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22989},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"6.14.15","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"@chakra-ui/utils":"1.9.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.1.1_1636746689018_0.4913923295851981","host":"s3://npm-registry-packages"}},"0.0.0-pr-202203225541":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202203225541","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202203225541","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8504d917b3d82110d80f737d11e1d47285944c37","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202203225541.tgz","fileCount":19,"integrity":"sha512-7JYkVKJ3GYbUn5yloVkJKI33ETpjUvc0R4y5+qivGlvg8FlaWshoMUX0XQoevax4y8HYHvlj7rovOTpGoMg39w==","signatures":[{"sig":"MEYCIQDYNbL3qwDt1Frnm/ndcB4d7GPPoYf0eyTQrCKo/QHljQIhAIVyggiKIExkraeQC2DbQjuUX9CLv3EI7GiU/SfpiDEI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh038QCRA9TVsSAnZWagAAfloP/2Q7rjgdb4bU7RDe/XzL\n6vrNT0aPLRz5WLZ7VzEXYxg1Pz8L7dAOM7i6MvCb1bwI4JeoF5xF2kclaQM9\nPKIJ8iqh1qOBxUjig4tSbkwe7vNnnmdgRRrFYRBG0ipWJQzzWLDsLoaHqlrU\nEROJkS5q7MTdg0y3mPbFM/wnFolIcazuRMlY9fQnsu2O6yTnKs5dDkBu34es\nEdVRfGt7k7iUzLUPfzMros1jTUrrkgjovGCOd4wp5sVKyC+AzadFJESAwDlT\nxwo9c3D3Z8ZoGzHAnUrNFCQCvEPTjQRMW3l1dPrcXILHdQPwHHeVP3FL7QDr\nzYF18WTBfT4E6fOzmzVLAOYxW8pthV8vFAikJ+vdmrXGAnXideUzRXnEEtBo\nocdPdAGLpthyeJzPWsdFaDZiEyHUGkBWuV/xx6re9+RnUrXdCGdY/zDdeDCV\nHU2okp271OxNHYWCtAQot30qFTA6ehiNTX67pDPNiBG6Itr/W/rjlVygrvU9\nGq5xNoLcFcuM65jSnVvWEOJyAXkFpBJhu3xHlxbWtb8epJAzSRup3bDiZqyM\nmQRAHxQnB/6t31rzgtI79YWzwVyvT9Pt1N1HhROq20EwSaZAQzBtk4ZZL80+\nrTfRh+23TBQfRHkkVZRCwVShPQpODrtdQ7jhfCO6ieHMyXFtsH4eSNP0C5RZ\n7dEo\r\n=iPWe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"39a343661cfec6c7fa0d53c9298bd287c89a610d","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202203225541"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202203225541_1641250576611_0.8459788973875448","host":"s3://npm-registry-packages"}},"0.0.0-pr-202203231241":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202203231241","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202203231241","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"e7abdbeb6e1f347e32edc60e7c2b121eb23cf561","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202203231241.tgz","fileCount":19,"integrity":"sha512-Qw7mRu4Q2rUGZ4ZM4X8zoa0pwXwR8rjD/RUU6p0m88gxtjpzVto/0MoAgiynlcfv56QQb8P4on+tdoX4/jiRzg==","signatures":[{"sig":"MEUCIEsYO6jf6WLcMWME/lOx9he5bVnLwPIsu9mzfIOzUJ1vAiEAoWwS5R1PKkylsn+xFKH4DVqWY3yxA06PPSuBZMmNHCE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh04MJCRA9TVsSAnZWagAAjEcP/1cWgVelc8zIYP/lPx9Q\nwYB8K/e7UQbfHSnreN2eAejQdMgE1KZ0sjoruULkFnKciJDfjQ8lNkq7XT49\nLcagELC60TXZkVujO8oaL5N6U04ST8pZzxMRwhYQ0xvWGxtF9/FnTBMms91s\nN+D2ljYQnXo8SQ2ABwuea2+VWrgHn+aXeWdaP/RP/FOCz1vmsHocHTguJKmC\nT6f0DZQngPq9EQHJhqtmd1tOmUhCRooE4v2SBPZKXrkOzjsUtnvrVVuIbsqS\n7dFhXz+9ZVUzgu5XCq7eo+QdpLbXMb8c0NZNEkZP1GzlJ6pEARiqY78qcJS+\nwgvDU3O/ubroH9YUgrJ1ic8NQlH0WWoDDseVXSEc96UeXEwKX2nZOzUy5thf\n6jfEypw8r1YU71DJYXNiO+Ir3gdAUeeu512Ci8GcanfAS0nht1ZZQ+B8Mgn9\nR4I+1NN04AueGUtKh8GAV0C5eXamGvr8/Dvuy7bmaki3eAdVBRgXEhSDqYAQ\nLJTZWBNx7XlnIVFXOE3SwuO39LWtwF/1lC492wPK+RqXMYSeO54/sO3ZHm2T\njj+UWgzBd6msT8gzbBIMTW2vEcDO3x1ZdYaMCuox0s1adUIq2OIeBBNrN752\n3fz1HvHCamXtwwj5W5wZR3oddeW4GJVsLkzo3enOudoCtqNWBjjRLgzM/wtt\n3X+3\r\n=hOAt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"b7d3b8566952a03d2542e6513a40b6372c257836","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202203231241"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202203231241_1641251593714_0.9859494730716818","host":"s3://npm-registry-packages"}},"0.0.0-pr-20220483049":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20220483049","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20220483049","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"0b0ff1ea1e28b6b370f09d828b42c7b018400de4","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20220483049.tgz","fileCount":19,"integrity":"sha512-KG8vBoozb1Rwr3xP/01BYhIW4Cdla6g4jPAcpeaIgiy+cvLPpVWsteG7CAKaMXB/ct4tSVRDIY4x6tLZwvZagw==","signatures":[{"sig":"MEYCIQDGdgcHP4ajPryuYIKSknwLkumN15OXgZ2fbe/QBOYdaQIhALM3aWpZjKA/K0IYeNVmAfTWL2010AjO1frfE4m5m5cp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1AXcCRA9TVsSAnZWagAAc9YQAIJnv75KX0RMcI2tursr\nTl/Yc5jVZsE63LTaWtu59KsqiWSTyl70XPqdQXssBRmHz/qbpzBRGg82he2E\nnt/8Vhf190+Gvxm8W+xPpLuAjLAx4nC3j+Gvy0D33hoxjQNNarsDCCIMvQNh\nJED/GIaE8lnfXIP5eVelJ6h7Wy63WM5aik0SLijuhFC6UhW+pcq9QIlIscfm\nMIU8shPlGYH18LgO+EIKED6NpgifQALJ6M85IScwihAZ7auHy2oDEcnwj0gz\nVZcx98dA/YYmzV4p9nYM8Cau64kn8+bML4pE5sVZHQ/5USmlqaYT7FSphvKi\nRldqD301BLFu2niiPUWWqK0YgkE0fPy0JXaImtjsFEx3p4UGcdZJO9ZX4NLM\nsEhxRzuc8OZ7NRa1SzDY2l6uVmFhFUcvVixNFabxtcT9/Dx8xq5pljEDfHQS\niZ8lzTzObUEjSHurAWOc+npbHkitmufH8ECKEQVSROueG6W/xInxzWqYmchT\nlWgeCtLs8KbedZdmT+9a+/mTFNz1H9nm9njTOtdiNQtvCuUtPPJ9590gjJLJ\nQDljtPjK8ZEuZwBnO/rYlgWx/lGL3B/gCxlPM8/mxvNrjMidKe5CtGIBYp/i\nBs36HsE82NPRzshcdd0ZQH95sT1++dqefOPn1K6BsSAXWAKcaEp0IhXWEZkz\nax5o\r\n=RBF4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"b7d3b8566952a03d2542e6513a40b6372c257836","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20220483049"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20220483049_1641285084645_0.011702889758192114","host":"s3://npm-registry-packages"}},"0.0.0-pr-202204173424":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202204173424","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202204173424","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"02baf5ea097f76f82b77d1246b8a4059aab82fcd","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202204173424.tgz","fileCount":19,"integrity":"sha512-SiCk4sABnC5UPM4RHxFj1Qcs+AF8Mv8f/1BqMkjWPTwuiDJdYgvWtmZrgsWhRBh/yVtzESnmYy55BW7RSdaoOw==","signatures":[{"sig":"MEQCIGvAy9I1NWLo1UUqmlQa0guAzr7ipDdRp6U5ZhoOwaU8AiA3YDuVN/IhiWDn812spRcZ/fRx4rzC4QbSA2W1sGcDoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1IU9CRA9TVsSAnZWagAAhwEQAJ1sTCDW82j2J72BXKcP\nMuqcOunvnpMvEVTRGPj+MMyC3zWQLcx9kKJgKNW2u0gc09y+wlGaRLYsi0gH\nCX6dUVrLWVTYnMzEvEq/5/4ksP0h9irDnoz0VIV2lyUxUIqaV6hrFR+X0kQE\nvnBGLNmkF20nyMGYJFIQK+RzGLO6Ldu+Hi8QFOyq7oPJ86OUYAexZmgZPbmp\np3CncArD8ISsVmPzw+jMZevHB6n/qNH+20c1nieyMR1bcjXX7eOl+dOBCJpq\nOKieTQLVNQj66UwLAFINUVOwVifGCeUhvEpdFPl/4teW+mv/sszzgP+Pfqaf\n0XAgEyRgC/9XFiLjLwXLDoMYJwMgRdGClnMo/YfwUI7/pG6vIIOLF/w6qDof\nxk+EMpCvaNUQGr0Los6scMd37LrWbciUzYs4jnbIs/dWkTIy5zPC9E8iu4zD\nz/ognnKRzFW2jb7+r73yN+Dw2o1qVJperkG2DOPvX2OoSZsok0nui06KnHuR\nonZoWG28F3RuK3UAA79U3W8lrRzVXHSLKSAtajUDqauvzFJkbn9m/Eg69GIH\nsxwUz/oYiRDhddSFhX2IqEd6vOY4GlUQcqK9syWIK+RL6/0655r9Tw5RkUni\nJdmuZQjApfNs8uqg33InFtKYqv1VV5hdgXojL6LkW95AXSgocI51yXyEnEpQ\nO0bw\r\n=cLXq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"8714d8c0a028aa331602db46dfe0102da4acb0c1","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202204173424"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202204173424_1641317693369_0.7435348863956603","host":"s3://npm-registry-packages"}},"0.0.0-pr-202204174042":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202204174042","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202204174042","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"be8fb185afea8bf8118734c98f647af660ae4b1c","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202204174042.tgz","fileCount":19,"integrity":"sha512-YWm/hgyu1QnXcItZ2+jisgyQGIcgUj6vAkjvEJ7Y4gNQ1gDWfCeRzgDhMSG+DEE+9MyGFP39QAusLlMleIE+Tw==","signatures":[{"sig":"MEUCIQD8orcBohHHIkyHo4CV0PVHeAlvGU1a5BsG5RVWS1tbvQIgMB1qowHQ1WP5w0CFFBOnGd+bUBecSG2zoGhlFMcnR+w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1Ia3CRA9TVsSAnZWagAAsr4P/3oe1/lotSsX8ENUwcKD\nWTspQlRXZRBy1xani+1aH4lbvquPRn1e8PtYc5jwVH77Yja1fi+PGP9T+2cz\nEBvH6EnfWcte3pKyk6CX+hl6grGaRRXSHFO9vTbx5esCzaC9tSE1koMycCtF\nWeOJ3Axc/HIEzZ8Iq8EieLTjrGaIHZdGVNNvhRfHSPov/hqk7B+sBB8R45Bo\ndHxl28Cf1mnB/2KNygRApqbZxr+hlbPtuK0DxiirTnxxOAW2OqN4QNB4Clyl\nYMQC5WGsn71T66EnieZ9I4vTd7PiCgDlpOwoB+BwBW3qyBbgieah4QjOnKLN\nOdd2sO4OtdhlLXFe3Dd7R+yG661WgTHbg1GU8q3D2JKu5rtrdJbMcF2m0mJ9\nKwlx9g6Noi+8mV8DlXpboJPq+u84BoDmRLI+Hh0J+X51UUFGk9Z1Lpru0yWB\n3bNnT4bqynLuPzR1uBH3GSwE3dNouBm0awfbn/hL6M6XRc7FVZvPyURyEC/F\nczBonmc89At/51ZXKjRYBWr4kZ05g54WZL3vnlfF7zwfbRkBmiTetGs7dvBy\nHf0+MumIel6fEM7C3tpTwh4OjvqHt03u0t/M+d01O2vzRrEetAmJp35S/6jE\nPL20iLlhQI1f59T5M4fmMziB/c06LPdng3BBNhxz0CF8OAm1ELMRpERe1/en\nWwAg\r\n=2yng\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"511bbf56c3567beec2ef1c71af24bef5da981596","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202204174042"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202204174042_1641318071688_0.38431535893717705","host":"s3://npm-registry-packages"}},"0.0.0-pr-202204174930":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202204174930","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202204174930","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"b94524bdf347d6ee68838b8f79ddcd4df8a66e82","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202204174930.tgz","fileCount":19,"integrity":"sha512-mXzxwccKCURb+U2DK/jJ8NZYsaHsSPAXtP3Udz8xiCggYO+YTa8TOIiazWxZaf78GxjbqjmykNRmmUczTgd7rA==","signatures":[{"sig":"MEQCIDtMWdjLhiFYLBuAUjhl/iQhnPEQ7AX+wvN6ECwbU4TDAiBK0Mjg1iHbxaEBUVph3g3qcU0CdKZmKMVDw62x7hJUCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1IjNCRA9TVsSAnZWagAAx4MQAJ3C2PaYHXA2dqkS9bk2\n6mMA4Ve/jpsOYzjL4Lzyf0cqDeI/kkMktZPhiPMU5c7I1I1zvp00FjszAsJB\nwc2OV/wIm7So1HLxLAOwhVj+zwBML8uoL9K8dnWD+Qrlvka34mwxdtwiAaV7\nJml5Q9fZKKkcuGnE4ZgJ2zUXP4uMy6TfbOuIYPTMo9l/pI47ecOWJH9Htecj\nyBwdnA1IR9hRhobPxt0obIx4pdr7L5T85zRffDkcU8QOOTC+tAAFelGGA8cc\nkczYnK5nEflMqozHhA5UVU67lQsB9NDO6AaJq99e4WGZPCt/+nboVWsTihoC\nM7eOYXQ7FMAd2IjmIG/IacOlSViFxxKSww1fYmUjmjzhNnbkKCDYzf9uN7wa\nd6gZtDrIuLLu28Au92gntL2FsNC5+O3VjLtLKsPApqMGIKRSoTURS3IhfN8n\npapRou1/75uk78ytuRgNtYUzHCeZOjuAGn2WjMdCTjLzC6lYSbVQPD3ltnhA\nSB5H53r8YMJEL7A1QnW6p+SDInO6hOlhMR7hl5CwLUZfRTdeyGEygs9sGbYu\nE1Rc+s0xKJYeWd+Hu7D13KnzGFmCoIA3UR8agvGTxDXJnbYz5DMTSv0yo+Cz\nJnts107cc06RK8JsE7KvT4nZ/X+kby/g4SGYYO/k4bkjmLNjYnXM9zM2PAn2\nZU+I\r\n=jfRN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"511bbf56c3567beec2ef1c71af24bef5da981596","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202204174930"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202204174930_1641318605384_0.3334327818760403","host":"s3://npm-registry-packages"}},"0.0.0-pr-20220421928":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20220421928","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20220421928","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"379fa1280c4cf9ce7cfe0ec7d587714c5b037a20","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20220421928.tgz","fileCount":19,"integrity":"sha512-RXhcJL13eG2eqynD2lpH/Q28cFYWvTT6frsrOBEYc0DuRaxRcuzAnrzYQQsbQg96KIC05HjJmqFV2m2Q3r9mhQ==","signatures":[{"sig":"MEYCIQCd0hff5sl2Gdw7wVICU9POU0zpNSaXVyVGvbHxzU74bAIhAL+f8eJBVqKDfLldDcvqJsuVI8uJBiLFXO334K6xIOSl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1LemCRA9TVsSAnZWagAA4jwP/1wqz7QxZwF9+zU0aLmp\nDlrQJsAsxeCZE/9kBaJXpYwOgmqPMugnlvKl5U3VMYp8N5279gI4hiMN8yv0\nNhDIK7RbMKXIqkK3UAqzePN2UHNBCVmIcOvCZR45vdzy+rDrWdc5XeGH+QPy\n+rImVSdEbbmlxPVO1uv+VeDHBGvTgVlwaCDEhoKOWwwVBB4PZbuGo7bZux7A\nRi3rjKO5ZIWPS7KdDlOazS7ACG0cNyB9/IjpZXC3Zx6vtxMmTQZ5KEN2VODP\nCuZOWB00ICnjYV5H7Xj7NmalKcA/IO/M5x9kJS9olvxvCF9kW91jLsdgOnLg\n70tqRusWPBjY4Rs77QdL1g3Y2Xt1JAw73cVU81QiArUPvUBdTHVRSNBaoRMD\nggLbD+m8A9TUkwlmmhPjkMdIKumXuHaW3FGPB6F3asoWE4mmJLUT5FIZMACG\nvIzGFK8g0kWd8hM6ir8EEodEqFQJks4JGm4sFsJsiH/xXDtAubN9qcGlZars\nPVf1beFKmynKIbasxeUbSE8uZGJCD7WmfHsx0DAB8bssAbchlPCKIi1VFuhw\nxL5CzaOJ7CsDSSMN9nZe2p14HDLjfhIgcIx+fwGILI8bVJkl0TMEQFZeWVmd\nFQBDxLStWG0S5AUO1+hmHK0LB8exxvENXZaGeDPAaaKluav5VhnfxX94tGFv\nCqrh\r\n=kY28\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"4ef88685ca1e33e2ea6997dd3059f5f93920f153","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20220421928"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20220421928_1641330598125_0.03492726259123624","host":"s3://npm-registry-packages"}},"0.0.0-pr-202206192031":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202206192031","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202206192031","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"591893101f4d063877a484e66e5bc9918ae4b139","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202206192031.tgz","fileCount":19,"integrity":"sha512-ymiBd/bMIHCnHZoMNPpM6mBlfPBGamAKesQwYmfXIDa5B7IBZbVaqjxQ7fE5w/qd5bUaQOXuMY0gjkc+GUGVhw==","signatures":[{"sig":"MEUCIQCK720R/Carwu2BwciBSKBeuodxYNIt+YynOVHWHua0GAIgannt6OKct7pYhqwTnUDDKNkx0afw529M7wkWL0vIYDk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh10EhCRA9TVsSAnZWagAADdkP/jwT4feowzU1/SklOaaO\ndiaWGj/Xqv23Y9bpt6qw40J1ghSGPfzJyi8Llh2GQcgoFTDSsfzLn5fK6Vbj\nt+UZfWq9RKi0Ux+wqj3EWZYiPhSvNDBeSQdszLU/NzqBgmBzj8D5gRHXHHq6\n4rDyATgMB8k+z+qKYQ9XsxgOoOYqLoHVBhoWE3nYhsnKaSQEymxUp3djtClL\nxGboygQOOlSrkM5Zt0msFZtrRl1uAUuHs/82XnClAbq5LYlT4DnpTpS0p3eS\nKOvfaoPT8kz76r3mpds23MoLt63pyhxwtwd0oQCjJJETcZvObktdrN38Je+d\nbXzpPThHMXIWWWlZhYc2XSKKNnExoFoT/Ddln3PWzHBuiktXBJc52izzcnM8\nhAVgQOgc6msERZ/SgBJSJfbKg54lBIj79v8F+XHXwhvukE5i0fOCEbdkso4b\nVr/EfWm9l+Wa3yC1eMF4+b5mKdK2ifyJ8LOpQw9y5tUVbNe7XOZ9McAm9ql2\nqGYR2nBslCbw/VtTc/tSqC/ZFUgf58EdUcoaR/HGFCC4T0RhKQlH4iMsvGWb\nJCjxc7weDT3aQQTQm5+xS14UD4QI0iUausffo3/oQVvCE7/+7w08bLRQz4NG\nS79iVo8VB5VEjYPLsZfWYRcUMfXAu1KChbnS1AQj7bOnzkiKgVX7EEwLDcSQ\n2mtd\r\n=XTG1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"a538c4f88395cff1f6ce14f27ac201b5f63afc10","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202206192031"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202206192031_1641496864909_0.07329820935244769","host":"s3://npm-registry-packages"}},"0.0.0-pr-20220620149":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20220620149","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20220620149","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"a21a181998dfddc4c0b4df9126a41a624e5aac29","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20220620149.tgz","fileCount":19,"integrity":"sha512-5dF4tmisrdvcE/7lzBSk7CBFC/2GidFm53JSvXDvFAdRWwITYheaB2VIMLLb6avhftQiYsNBX5ypcsj1aPAs1g==","signatures":[{"sig":"MEUCIQCtIvhBlN41XhgCHX/B0Ihz1grJsb46Jpfj1n6SqukWzgIgWy+4klOV39wkpSJg4jcGjB89xTV6ObBzOOSod8Kva9w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh10rLCRA9TVsSAnZWagAAxNQP/ird7egFxf9aIfjBPZYW\nARJSKGbbtwb/UMVRUSRg+kjaPorL8XotC+nA19JmLtBKVoUyUb6VOERH7hz8\nmZhHmhUPpQeQZkaqgHQbTvzVtm5bhuwi+BkTkxuXH3q8ZC6s2/GPbwmBtqO1\ntYyxX0f6AmmN+Xm1Y2JiagwyZrutLeItxWxUoV3QYSU3LFZXUpLBUL5+iKSg\nqxPCZE3dhCZ2F+8xrmhGrZSioXzVjnuH/M32qjp+SA/NRAgCg8znn4YeriGK\nQFqbz9Ruyhof9B7q7ar7VVKgyyRPmDuWZ6QCFfboc1U/5vYUgMef+E8Rekfp\nhAMD/DFAcGCNiwqrPSBbjDucHFxRrEGWHFiMsvwvsjEytrJUqG+LdjgI4u7D\nVs6OQteRPT3mngwFtVFnA6SSGX8Lktrk6KCtKRmxpfblfRMX5FLfrLYWTPuu\nLW2whB05tFATTIsxXpdAMPqDRLxsjJnT1d4VRQePHDzY7T6gDy9upGNPP0Jp\nw6JWwVVb4DW0hmzwR7WedY/xgyyxbT5P39jgZj4Icbd9HCg5R/fUG2ljNjBp\nn1ICutWYhkfnxeDTWsHPefKvPyjN3Uanaxg9abHWd4diQfeH6IZmVYMTIYk2\nVaSbeWLER6AVBQ2Kds2h9yKcCMWIIPgSOrhoF2woPVrMWMjnULFLjYGVG2dx\nW4wA\r\n=bgwk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"9d02772e8fd7855511820b6c729c0ce72a347951","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20220620149"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20220620149_1641499339163_0.6957880413569479","host":"s3://npm-registry-packages"}},"0.0.0-pr-202208163634":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202208163634","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202208163634","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"5059c8c8265607e10a0466817f11f78f298ea73c","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202208163634.tgz","fileCount":19,"integrity":"sha512-PTJhMhi8swNXjrAhnu+ZFmJfwN1JIzIkxgkzQUtodnMVJfJoV5YwHUIW4N34JN9Vwg6bkVQn38z0bxNblRNnHw==","signatures":[{"sig":"MEUCIQDynyQsyFTKGPWwRrHSsauiMH3uHQAL3UHLvyW7sjF5NwIgKV/RZnlC6ievV0qoLhFvTnmXO6NOTeMjNnT014KZz/o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2b2zCRA9TVsSAnZWagAAG6MP/jXZrZr21OEE0R+sD5/R\n3u4d+yiY0ai2PVo9sDmCYLUL2a94Fz++rVkmLhDEWas8wD8JJKYqZ8YTl5mE\n663S+jaTpXS4NT3bN28tMTBFtYjxlnrWvS7kOHcxmAt7N+AmWSbuXyOlZ8NF\n4utC5IYRq71DDyXNfj4d13DhsGqHxfEe7zLNGMVnb3u+5KsS57v5RC2PpWhj\n2rs+3FVCz79NnwYmd9uzwZG1lHnWqNzrYW8yaHhWLf0Iq43WP2IO7Ni5t7TV\nY/5apGhCyAughR6gwbaaSGeY4xrJAnpDT8U2hzLWhJLqpLvh1pCmtsx1rX5z\nhf9v25cxCYyt7uenN9pwQx6dJAwQrwzMP6/BH6j7E5Wk+GFJXBu2Wr4Qs8lP\nNFXYtcYhd0UG6PXT83jH3i2M6evYOw5tU9+m7RQOafBUlFao+dukh2+47sjV\n/kRyP0tketqSW9qzlx0Teuz0qV1IO3//7OvaFcyD7+DnWqJpl3lFoiZ2nuk+\nhhfAIYBeLeUxN7dLPytAJ1mjbsmyRvz09vaqCr8yjT1CBunCpnh52BXhhqk4\nRd6W3c65oMzTelxfpITHeN2JzUhuQJPy6n6dTKDetyYpI06ZRshz7qXNangd\nR/toVG4uHNNkOW5CK+HgDjkaYxeBQNNpqCq0HXo6rJ37m+6uvP/f/si9WBdM\nMM4S\r\n=o2IX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"c1ce58dd840bb3be7041b81f4ece559fd7a37f7d","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202208163634"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202208163634_1641659826880_0.6467456294310472","host":"s3://npm-registry-packages"}},"0.0.0-pr-20220816386":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20220816386","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20220816386","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"201bfa5de3fadd31f62567aef8ec6d2b28f311e1","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20220816386.tgz","fileCount":19,"integrity":"sha512-hWbln5Bj1Yk8JaOh2JCjDk8cNjsYiqjX1p3JD/mk9lLf/sbItq4AizIypDHsAtumDWv5/aksrGXuI0VdEk9ubw==","signatures":[{"sig":"MEQCIG3OnSADUga60LgZlCAu7p2T0ohukUsUPuX0GccyKnxnAiB4HSCT2fL/XKtV8VUacYm9hMgyyIPq7U9oI8kS5tO7sA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2b4OCRA9TVsSAnZWagAAO3kP/3vbgEWOJhIssX08IJLl\nJtUxKPQqzFubAg2BuKH5AwwHSSH0wUz7PBff0GKDznKCriBlkLsAijbj3sxL\n8UApJ0B0rOal/Fs7Ndvuehtba9Pz5VqjXK/C4RmUQ1shR2yW4Xxw/lDma2N1\nsFohAIYD43IpVb4dC4xRn+eFLE5opcLOlloocIbFNcDcRB5M/0/dvO294HmI\nBKMjIEnB+uyPX+54wkUoCZcy56s2RNXM3Fu37MLg7cH7h5NuA4WWOF4IYNeh\nI3eYXUqes7QtecwdZ9tWiV8VR73KWufFR3q3lF4h8OBZgWaaWa6iouwY84E+\nuFz++QcvySHWj8UWdZWBP/2E2pZ8y031ncAoxtMuQzzfPF5Mex0v5hjtyQIz\nPKX5JPuYuWLuFuKvhipZc6LzIXaVSuDBM3CMUp8yhaf0xoksUCPRTxbOwjXD\no8sGsm2b/KnBplbns/whPGkKtlf4lqMXItFQLaQ7tVlgfSNKLcbCkMiZyys0\nndjoiV44WU0T70fUwcmKcD/lv/e0PjTBdQcG94V0S1kdt0DPl8pyQpcQroIh\ngQgsPPXw2rrtp3HTrA3ureUZc8OPxTveXLtfzIyqbWm6M6w//j4yPfKiOLoe\n+oeabJiM7dwdXj26lQxwka1rda8DDG0riH22qKrnTBvbkiHIcRWkIBD8Y69v\nn7sF\r\n=aAGX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"25cffa7d1649efc7866a0e2ffec5a6ffd9443d90","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20220816386"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20220816386_1641659918275_0.6123034418079929","host":"s3://npm-registry-packages"}},"0.0.0-pr-202208164521":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202208164521","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202208164521","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8c7beb0e8cb0ceebf0bb47551c0b71768928249e","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202208164521.tgz","fileCount":19,"integrity":"sha512-784Xxju7skcGR70IcL4CTzNW7A44XAtUMJNgcdYDp9aT7YnioPB/sPjsrAT2e+x3czW6uBodHJyOfggW5a+NOA==","signatures":[{"sig":"MEQCIDAkvOwtaM21mKyosz9D8RcwBjdomqLuGLCaaA1GfskaAiABN1g6n2kJ39bkG8PLsUmG6lD4ihX/p4zGBd5eolpiYw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2b/ACRA9TVsSAnZWagAAEh8P/AqyGtQqte+GKDUyOXaD\n+emm8XT0QW3nqN6o9AXu5CBfkXkKgxMgEhtShx/QZqnrEkzyjMfjEtzTFKm4\nJhMfrE2fxSSNr70xdOI+/2xFDb4HBbPgLQb7GWpuo2HO1xtZhVU3EnVEU1mp\nDcy7FtElpcpmYv2VX6bLv+wWb5Sw+IfeG95UD5BFgbUXn8yN0E3fruXftnMB\nnCfrYcA/gYhzTk98jNeNgqHhSFznA1mOO7CVXkCqJ5BsWnC1/JaQ76sGmqDR\no9wSccVk4E6LMZ1eJPH+aX1Q09OKMsM8GjGjbEza5vw7q3Qu+G/y/3zNnmWi\nrmSOhVxbM2wlqRWlLyZR5YeQf1SRzor1zW4NPL9/qHUfQqSLtp//6fUVfwpO\nTSdrzUmdDsW6cjn7mbwNxBQqW7cn9pfeFM3ug4vGP2gBMoyQ1ngYRYa7SdU9\nLko4mru4jLSPk1uMCISx0qJIlIQRR+5XveBGVWsDYWpLZW7ly1b0VAlU2RZr\nprTLH9uwuax0+xgH4DP8LeXFtACjUBjnXofOCYs8MCr2QMNYyRfLK0bh+MHX\nWIxnvjco5BqQN0gLH11EU2Nmrfh/6lR+m+ojWlgh2sug1Yh3JaaHN0ALb1q2\n2NjR3kkfdWrnKNemdmfofVXYAXm+jZPiXUtQM9ik+kVG4PCTPNsmaG16o2ho\nfIT2\r\n=anuZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"25cffa7d1649efc7866a0e2ffec5a6ffd9443d90","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.1","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202208164521"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202208164521_1641660351848_0.2770670780934805","host":"s3://npm-registry-packages"}},"0.0.0-pr-2022013192043":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-2022013192043","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-2022013192043","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"36526daf5cd950bcc5c8b1a9207a0cc51e806763","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-2022013192043.tgz","fileCount":19,"integrity":"sha512-ey6ziA66/QdqlwkSmspfn/0cEnaifHIsuNqida8CS9MV1ZCt2AX8CiLRzfDHO70l5Hba9Zu9izw0qZolKdEdbg==","signatures":[{"sig":"MEYCIQCNV4E4Vw9PMcEpy3+Cl8g22bkC+ZmvxC706nmF/sd7XQIhANJPlbubw5Ve+6mmjFs2fLpQb/zRgaJcOMWQyFVQ/BiQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4HuvCRA9TVsSAnZWagAA4UgP/ij0wD0md10j+35jfT82\nXY01dOsc+LVrUFxJ2pIa/fYNyOjeSL41MJd7EJ8rhW+RZ6tZkuma7FwLRJQO\nnygBWi2ebyurfMD7RJc7XjiwQTL98NTolGG1ve2B6BwFZ3hAYdhpSSXAHiNW\n1M6L+byTjumg9+HSZGi3jYG34GceWsEuzO+RDsPOyqsTzAkXFuuwYsLHbqo9\n5p4kQTQC9luVdElJaHjMbxQbO9CbyREuLLnsnfrp2ARiNrDz5fcy3OKti5CI\nwtfr1FzLePTk9bpBuPRTGqsy8ce1AgUlSQxBwEOrN/xJbg2IA3CRsbjiXOfj\nm4WJJr6Rw94Gaz4uodDuToc92osuFzcEHBoVtHf8woUVYiqwb6GDKEeK+0Uo\niPgwtr1GyQ+/D9v6+FyELTuccPsb/3NCN3E5R+c+e+LHxAvi5gESmvU8i9sg\nFpw2rZ4l7+bKQmqm9hLJEHWT+vGUBPVY5c58TSAFRqYbMMjACKuYQVmbqPEK\nBTbnk/daWSN6C8+Ya7LqpHHHJFh0lJDt1vXfUMbTrHv0C2an40Y7rU2qIw+X\nL3KHLgs3E8BB5Gy9CBciSe+f8gHccSBqbIOnOYF1ai4+KQqLPnw8qB61wCvW\nY2lmWJA2yAmqha6i8VcIjKQLEOatLL1Pk9JtzjTuPKIpOy9DZ9pLIs9pQNB5\nJ1BF\r\n=dZwU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"360fbe69c665cc1b33069dc660bde05a8d62c16a","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-2022013192043"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-2022013192043_1642101678840_0.7739087160112146","host":"s3://npm-registry-packages"}},"0.0.0-pr-202201418280":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202201418280","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202201418280","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"03fbe493f1c2a6dcc7ee4b560e30fa5545aaaf25","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202201418280.tgz","fileCount":19,"integrity":"sha512-nOzb7o+pyWHYMaDqig7ksvkONSXa9Oub7d2kbwGEF1ZI7GOjFPXwaLuEAAnwcAMhwBoJ6lWdoSDyYDpWcnFI9Q==","signatures":[{"sig":"MEQCIB83GATiYqHlVXkdJIrenTmiA69MtgnGz7Hi0X42VNK8AiBVjR+lD/uJMt3TMhCehCiF5U9gz7gISNGrMdjeKeRmgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4cDSCRA9TVsSAnZWagAA5F4P/0qXtX1iRdJWaoJZMvFV\nOeQo8yIJ5OjCQBdgkR1BkqK4AxBdEf73uBNObvHJ1ilo0FUKb9lf33EJ0agi\nqK1KwJcoXPKwOd9fqt9dSE0gsQGa7yfEI1fMBrGYNMhSWKbcG5PS07uOSwlc\nx7BmIGwoDVHpT0alG720Jmqprt6RE6ZKMyL50yD4KtKh/OVK90TCHu0PEtX5\nBgagKFNLLrFx1qXsznuGUmx856PAu2uGE31sYhQjH/PlZx4x0f2oEG/bYhSf\nzUndPCiMtIodygdFcFeYW4fRy+hLsScBDRQ5Ss9kJ57azUzTrfV690ZLXy0b\nkE6zos1jc0+tVzI23qWHi+3vwxJRe52icC4oac7O5SVr2yJ4WEK1Ieeu4B2u\nIcGcd6HG+0w0JU7I78DlxeQxldH9PVi52ePJlx7dz3ZgB6eqe6s0ix0Y1s3S\n/6PrMTWXD4XbS7+Wp8fYIXNpntQAM6r8NmBxGe8MQyMAUG4+B4aHK7q+t1zI\nWb9Xcji81oR+mXWvoi4pcFoIkGF1Nppl5IqiA1ONUL9ap+PoAKssYfkBPeB5\n/nChiX5WyqdZlZxkos5UViDCU5AD5dnQX1JUy+nWNt8zqNS32vd79G3QL33S\nPVzbFaQU+LekjTLAqdtMZylkwsbtoA+VwemzufdR9cVbOGd0oA+erWu+dFSA\nj8UQ\r\n=Tq5b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"ac818e4f791e510a42decb8bf76f75343f2d3329","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202201418280"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202201418280_1642184914703_0.2632360155666116","host":"s3://npm-registry-packages"}},"0.0.0-pr-2022014183133":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-2022014183133","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-2022014183133","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"4f6f5a8ac53d773bb360e76d39967172b4d2ce2d","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-2022014183133.tgz","fileCount":19,"integrity":"sha512-MXkLAsoaQ4H3n/yj5mUnAXhb6kBtAIRc2CMLX5MXkET8yq5DzRkIWmI7BHN3R2ss+99OtHLJFw6Vh90p76N60g==","signatures":[{"sig":"MEQCIFpUhAkj3GFemcIZHYUyu2lbCo0Dpq07NSCanUcNv0WKAiAU/c9Nq1L+GhYY3cOiPyxIl9Imp+DCR1d6wF1A6pOYEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4cGsCRA9TVsSAnZWagAA//QQAIfIvH0aV0vNym7Id832\nRWko9sXY7An9xdDF0m0Z5Yfkgx2nv9M483+HpbDs0Nmg2IoGjDPcxxGpLK4Q\ng3PGW2UkQAiSwiOzBoMXOMpJUGR1Uladw9CRtbwvRMtNYkwdPswzEI0aqZjs\nlAppUVd1cL1PdyOrNkBZNPL4FXi9AfIonLfIm4hP/bkUSZo+73f2JS/f7JtK\nm8H1cx6eb8KgISrGZ6U0nW6R42hr5WpkSKCYPXsinlDrz6pYYTksDguz53FP\nYKDopIgOOnKZhJpTxSitL6OkWyo5eCdKi5FUiIZUK3RyyYXcExx+yognI7BD\nGmheOzwnt7C/zoqgY6x9UF5WS3siTZqpfCjBX//4t2/joz2UKXkccvzsYF6l\nfMPkQwYMMlU/YFX6yOu14GHwvPJqElFbq0YUnobptBcHePZ9Ub39I1SROkyN\n/3w7IT62Qyi+MRPq1xmkyJ1/eNkklaLGqbUhQ85nBwq7Nm/g1ZNgMxB7M1QR\ntCY7PmDOEafYmGepBkySmltv6LYrlu5jFP7VSoh0O4sIVx+aek97ZH1GSFwl\ndXx/6KxeKdaWLkmt+OFi5wUTa2UrTILoJud06rF1pc9mC6+1F95TnTOmOhcx\nqOG1VYotW92eMjVqLV8yo7MifVjzIrRWrav4Odfs/iOIGUWBOdpJcl4sNlcz\nhNgR\r\n=7Qt/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"ac818e4f791e510a42decb8bf76f75343f2d3329","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-2022014183133"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-2022014183133_1642185131986_0.4127406427085194","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220209527":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220209527","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220209527","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"d9d0c70a5b94dcfb007647dda4c4977598367e84","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220209527.tgz","fileCount":19,"integrity":"sha512-YAu6leAQVitKwaClN+1R+9Z8EQMlvI5Lv/ntvYPwfn4PnAsCyolZNfXBvMFPvNrQoWrdMXpf/ARCrj1z4kJtUg==","signatures":[{"sig":"MEQCIFMC4s7Ix0mI2KFVaz8pDLXKZdlpTC/DvWDmpEu6HpA/AiAF6+atiTUopwN9rk/eYgYbV+qDKnhzobXk68u9roeBCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6SX1CRA9TVsSAnZWagAAYzYP/iEhk+lnPbsNkudyz8E0\nDxozWy/Uk/O69S9NqQpnW323uT8ik8MTPpnjrF9redmWJxSRRcBgDyYHr2bk\nVHSihfNjGQIL+eshmNRDCgjpC4MjNhTENOx95sa2iwsimNmeK2q8g0erwivL\nhC3F9S3bu5Ry0sZ8CaRTFLo8qmqb63zZOMVEQYIATSdApG/18SCi1APIGCwr\ngV2RTbyTtc5hFGK89z61nR8gxyE2bcbid1TwVameX4FgR6Y9CsBbDH44dJVs\nN72YalD1ysFdRCIJv3JsiKg0cXlUJbJOe0blj6IUAHB+WWhuNxcqLbTSwd9h\n69T5ndCWkJ0PUJbD0BcgtFpINZe+uH33Dmlvu7QXBib+Do67OqsoCyLBRXLd\nZv6U10hV1idWDkx9/FUj6GFf3jXZo7n3O3f/mg1gBzXY0+yXxkTKcTCBcKWd\nj8EyTa3xo7FQQTZmTLzAX7UjKuLuby3qqJV540A1QexmoWGMGb2eP+3YonPG\nEayyYE07tNsw+tJBnwiTBU2yj8OA7FWHU9YYknZpRMXP0wqR7YIwzEZ+Gsec\ntSDCkMf80CzROENNmmD0Dvt5TiP6m+h11J9G+E/tLs8bX8fRSVWZG53I6Lsf\nnNZTt1AmlN7/MMIxp+6oL3EOMK9MUOdRkrtar97HcHboudrBIPChNYb8vg+P\n9hZw\r\n=EqFQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"5fcdcd7a00feaf606214a1eebdd43a9dbdf27e59","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220209527"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220209527_1642669557758_0.1504546088710712","host":"s3://npm-registry-packages"}},"0.0.0-pr-2022020961":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-2022020961","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-2022020961","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f9f725ada2ea33c9bf6e1d71e060505728a5af90","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-2022020961.tgz","fileCount":19,"integrity":"sha512-ZPWhvH/COdBMlCuL854ADaJdCdtK7o9yzs8qU4nhTIiZQsRMOrhAYLwnKsa53dftV6F7L0NZpzHjaQE7eam1WQ==","signatures":[{"sig":"MEQCIFekEQiuO+tUw1OcP6U/tUUDSkRS5Ewb5nOyJ/QcLgkMAiAmBekhqPTc6/GpE6gfSG482XTBgKNncj5UfF74Bb/8qA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6SYiCRA9TVsSAnZWagAAqYMP/Ap+RXLKoR1NerD5d7PN\nIfRd0TnAvT5ActgNFREsddKUdA11HGBzTYRwEPoLn0UeK7y8QAvny1Uis4A9\nLZipI1A5nNVsVfTE9kiyFu5eoNwMAhIu6tWelcZ3viDQPORCqWkHlSyGuWPX\nlxTUR/mNv5l+jP5p//OiUuQl4IiXyOD5q5G26F+K8kHcMYcm/NowcLMzyfOx\nGBMS5AyvAdG1fuoARMs9N2F6tAO50Yf3aYdIgE/1ZlZFyHdeXfSln3WAaTCi\nmXkn6WyTKJ0HXjl7quwTYN2Sz3fe7S3C7QmUqLCtO2mc620pWnCZYWbT3nca\nfhBHwwhWEkHDw0rng8XOLu93uHweRlMrkEJ2l44QpVydxvRSHkjQNFIyEzXH\nQW4WKVYgbgq8jvlLip4VU0BHwoNlQtjyfh3JZnLrWPyXU6ZczRB5sYUlwP+L\nJYdh3WvXlXGzsxO/tk2PjvATjhHCji6HVvrkrP1zMN7VMGhX32I/6lApEj5R\nIKdXTUAZBmGUQYRlzD8uVxuyF09auGQV15fUZ4z1vNkqxIbsKtHrTpmL1Z3x\nMKGTIcDVwgn5H+4OXJjf+2C8AFf36XGTaVsQ7KOspFiobE3aksy8RWCh0dyI\nBNrHr9+kTlYH+TMiuU2Q5daWiMlA5PricwUWTrjh5q8m+VWB+G5tlcOVe4yD\nqLOw\r\n=1rky\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"5fcdcd7a00feaf606214a1eebdd43a9dbdf27e59","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-2022020961"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-2022020961_1642669602522_0.022817859258486894","host":"s3://npm-registry-packages"}},"0.0.0-pr-20220209192":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20220209192","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20220209192","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"9b870c343275336acbfa563ee3ef5d2b996a786f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20220209192.tgz","fileCount":19,"integrity":"sha512-BmlLPTyG63ASisLQWjK2t58Y2g9S/IeuxYQaEAxfB3gLq4zuY4BAZgGMk741qAHSQbfyac6Oj9pMzBATP3j2Gw==","signatures":[{"sig":"MEQCID+wVAyqEQ1vQ6aF0w4Kyg9LJ8a+EWYt62DBdysNt0PiAiBoyD1JLpa0TF0l+CImtKbqJL8IS6sjcNlUC6sxqlaYdg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6SkqCRA9TVsSAnZWagAArxQP/1/Av1dy5+m/YyGdv1cP\nF/FPeKJQeDQGFeCuv4GAqtvLOIry5/ovKYEOhA9Zv0QhAHHwFTGfVcTYeRBJ\njMTMwr55IF7E5Ab+EchO63VTFqe9JteWob+7LRECYApkz1UyiHZhGUAnitb6\nKl9q+bALLz591vTw+7WQf9e8QYUN0GMF9Uj7p+Q39W2MNQ1/0y/3jEUjZjuk\nXt4ziT9QvNxrpwEeUHheyftSFL2PBqdRUzNf42QFMjbNjqmw8zDDjt+HQvfC\np3y/z7zgJ2YdAUijOGAi9PkWWMqZX82So3yNdIhl2RcKyqCJ7uKeDX8VmfAY\nD/AjNlqGPzex+ySPik9Wb4xRnbU+aPu+gi4ZhhP+D/rhqNdw6Sq71YIR03LG\n+ZrEYwgSPmHWQz41lLcOw7mt4um1bA/DYvXIhmJ4LhRMls1kZDhElqXFhHll\nxloV3R3zR7HedRl0jxYWrwYM20BhI48e3S7Kt36oOluPzPgn9701497+VM5+\n5EpqRODlLuOWIyLy7N1JgOQG1IvXhg57zVCZKfy8Rr3ihEnTM2BSz+q29NuC\n2pU8K4twW2hRiCTkI4+tRgz34ByBsaNMq5AqwcMesW3U/KJB5kSdfu930yFR\nGnKBWCu+hjmdmk5L01d4o5zS4sALwzF6siQxFN6i4SNqFDRE4HWjJKHem/gq\nt+TB\r\n=f2wq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"90204c2ff2fdb19a376737d7519135ecbc9794c1","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20220209192"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20220209192_1642670378172_0.5148672080688617","host":"s3://npm-registry-packages"}},"0.0.0-pr-202202092345":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202202092345","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202202092345","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"cb425e6598396888c1ec2762ef379144663d73eb","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202202092345.tgz","fileCount":19,"integrity":"sha512-KqTo6gC2IZ4dwbXPwLm5fC7iG0jmKmHCIuBftL5lCM1JJ9rvLECwWE9F96kePX3VL1qzoXfc9iO+LuTx0iVZoA==","signatures":[{"sig":"MEYCIQDtNf2pHaT4ja3LEXVV0WgU0wGM0S9YXLvQZLHnkX+JRgIhAIwLjEcbP4rqIaG3m845uyv91JLFqr5XW9NpJoG/dntk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6SpBCRA9TVsSAnZWagAAV8IP/RgVSCmIRD6Dq+2IxXrO\nxa8uDO8gvYhQSabDJSiXIA/3hPCf2rn+UDviUQa3Feg+sM1ZsfTZDYYCAaU0\nf2uINjDbHJa7NPdUORD5X3jC3+uIkUsipTZoGuBaDkJRhBVxDGstpQv7VL8J\nR7y4VB+pwtqLyUOD0m8WoNoDEcVq05LMbDMbHlwzgx5cqWp9DjjDqto/N/PS\nsZjT0yZYKCaeYCDnTLwBbZN/SUh8M89Uv+NFXuoMBSihIElSdM+lhGmLftx/\n3M00nWPBwrmZ6Gm5rl/2YD6f+CicweGw5xe8PcRxTYpunBylR0EQGNwABMm7\nGKIdOC1TUSktgB5R909hAfVhskTs3Cbcf+aeeK0IYkzCaM47VcvvAD5/7/UT\nYyM66631Z39q3zOuS3eMPxO/4R7JjNb0wnpYTyjAyvjWHKlrn2gMmxdoueRH\nn+fleIIjFot3wpXcbgyYR8LnNGxwPEJRucqE78SR6OX8TusPnJNSId2wSHw4\nbde4LJSY+O5r29GpiAPVsfB6TMox723kmQbpT8kwhuJDKUy9f6GFAeepz2mz\nnf1SXUJ0gw5waViDRk6Zs0Uoeovl/lHgsjCNj0CMQJo5ZI04rv72lAfFyluU\nZg9dtcDBh5Gxw/NacAIBsJZjliYrDtRYgzE0PeWwxKJUrZH3EsdOzbR0m0rS\n41Lm\r\n=cy3d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"dfe50d3b7b06b49149b8b57305bff4e0d8d486f6","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202202092345"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202202092345_1642670657803_0.3990949134286734","host":"s3://npm-registry-packages"}},"0.0.0-pr-202202495259":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202202495259","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202202495259","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"92d1ca5b2a733a267cf59a6533bd2504a8a90d3b","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202202495259.tgz","fileCount":19,"integrity":"sha512-8eKwuLYqb3vTELb0bo+EQ3WXKROpH0/s57bcihJyibyuHmCvSDcCLOVzvRSmCcyrNkFj+YlFTYoxc1NYWZQQ4w==","signatures":[{"sig":"MEQCIDLFOMwtYZtN4zqey503su8D0HRts2/Bf5OdwQDueVUUAiBjDC7FbLDqUfJ2nnqlfpAfWa9K5F6wWOhgRa/TlgNw+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7nchCRA9TVsSAnZWagAAlXYP/0i5qJe+QDe64IEbcOPk\n0/c6XpBYbum70Lfu3ct4srYkd+Jw22CB1tu+V3GewZqAQsJS8HyIO++Upmqs\nI8z5ZuyJ3kTCHm+AWrErlSwlafWXgAT1JaQzkeXL1eWGUs7pVH4hY6nstVGj\n/TxS0b3/XFeE6Me3obOQOZF7WMVvyCbXtEzC9v7gHA1eBIZ/Lrpvy1zt7aFG\n07pMLw0PX8+KKileNVkUHdMs2h7TzL38Lf9ewkus1R1nwkbLzWFz423dMjsW\n3NQSzrjE+IJk8bdSklPUZUGfjqU9zaM9vOVM3SJY1MSCwQb1aSlp7q0n6ILJ\noB36JvKdoAFGzargkvTw3GNKkTCMvGlL1a0BMvZex8yxbgc9agMX+q/qRIeC\nf2gWzYjVS4/Gmdo3Q2ZqtqMuCHbq+fj/0So8GD6KsAMs0s2NTc4F0XDkfscv\nso2wnQr4VmFRTYgsexkAp/wHvQWalFLgMc5G+BQ52is3A5s2lGZnodpOHbHw\nv82Q/VJgkjOCkw1r2ZnFAn7AmfmlP89hFM5goatbwBG7dmoEFYip0WiO8Vg4\ni0cKtPSOiwD5uVYLGexnVAF92QO2kgO5i3SslU0VyL4PfLgBc3QC1BU0ALMi\n0ZwVzMZyCb4IfUnN+LSX6mCzClSmOwfumDOOqFu0LuMgLFiVRrLiM3IpOOUN\n3Ooe\r\n=MUXs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"cb7bcf297a212523d5e01079a08757f49b76e89f","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202202495259"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202202495259_1643018016927_0.023886565069209054","host":"s3://npm-registry-packages"}},"0.0.0-pr-202202495536":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202202495536","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202202495536","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"fce452803690e959911ee5d641b88403e174056e","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202202495536.tgz","fileCount":19,"integrity":"sha512-VfPTBLw43GieNXXH91g5/zWtrCMDqp05xDQgK7SGqVJAcdFYiv2j97dmbRT4PLkjWRKBocWKa+J0NXUH98g3Aw==","signatures":[{"sig":"MEUCICPqvMhrVIIBAXn1CD1F9CYZsHoFMxY+hAz3p4a+4Ar0AiEAwYAgATKv1vGth5bY4Em7oxBWY67I/0koS01+D51EMFc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7ne9CRA9TVsSAnZWagAAsYMP/ixPg1PG8bAoTf/7KBSC\nmU7XoGV71kmgo2rW1cNtCS6JLBAWtFMBienjIZjXpMeX7fX4EIl0Qnq5QGtR\nI8WJPSyF8N7ElBSi0I3CZc4h5wsWMThvBfl2Ks+XaHyHKQrpWObd0Gu0p/5J\na83L56AeBHHLs4VWoAMZp/fYMgEJvcj+EAMs1NNUNsPJPFMxBUzaslcM/LHA\n/GfJ+KthWpLA6N1LWNph0nXO9AoVU3HQOXvSSGgGrOXU3CAz5mEimlSBTpSl\n2ThLT+WFSVREWPKdmkQWEnB99eNq4q4R3NQJXCXp8umsFxoep5eL94TTP+RF\nydtzZeIEzEowgEN7uLwn+IkpK20yRYAZLS7IZa4HpLndC8VcaLrD6N+e4aj+\nkR0ZgLeZVUWdWq6Ezq32okN9Q7pt2lxEeW/n25ULwoAg1gf1oJS8diX3ximf\nxL7SaMXrqtmSxH2FY5DVgR1vDznta9dBGseU7HSGTcFRitlrAm1OejTvXOlD\nzDkIIr7LbHzoOqdylMLUEkQEn4YTYfvkddHhMJO4FyqG3b8hnAgLzes0HsHw\n3H7NH38VhBSq0PF2p17IV1tltrBGh94sZ3R1U8QvrQeebkOXZHZyMPXSpY0D\nppUIaD5ece942Hg+gFITwPdpElayDyEHnbmPt7Hn8UQ+5TNXIOruF7K2we+r\n9CGY\r\n=AdcY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"e56b8f644895d420cfabbce11146af62b5375095","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202202495536"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202202495536_1643018173273_0.1866918895285179","host":"s3://npm-registry-packages"}},"0.0.0-pr-202202495553":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202202495553","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202202495553","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"fde448c4d651c052908ec6ada4ef528193ca6bc6","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202202495553.tgz","fileCount":19,"integrity":"sha512-KHcResArq7tMt1N3RHJlagM14bUM+n8hR7Z5/mVWacXYdDjgY+phiC8pwZ60kB0GnFa1kEThSw082TtLvedwJg==","signatures":[{"sig":"MEYCIQDkazYk0b5/ECOcaJXY22leA+4HYjre9cgYIwXZmAekdAIhAMlyV7iPbdv1NcWQqdjxFLPNfKl8i4qjRqeSXObJiNjj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7nfGCRA9TVsSAnZWagAAOowP/jJ1ceV/iEIbhtI2LaLw\n7IiHKNzRuug1V/Z1A+vGpIEhRZIVeUQPRh+TiG+r6qQU14gHFnN/3uo6A2Fi\njnptop0C6dxC9d/fZg46RextRmZ20WoQXq5jLcxpU8ptFz57z8uCFQkjR2Xo\nxzhxozOr6+liDpVJuu5G6sNNHFq1nt2y6/tNhwQtxXH97PO29QC+WYsBcKhE\n0BGtUKG66MaQpLSp67KHsl8lxnJFNFIXHnu6HSpX2lb1eyL54xf6vyI/LH52\nWXD9uMSuSrYXERLFJ5o+xoDEOsC9zarft5IDssFkMyHiBLfajOjMixgPCLuV\n2XMUzg7oqaXo/fnaD4SozS9QUUqX5gqh9E1IgKOsNOZcd2LfRGly0/pqnBlA\na1WTGusvqFbJUaiRVpiZ97U9Gz8xS9kLASu9l5YfBFzYY4cIcjD7gEeHoXbO\nl6Xr7vWArDp2fHID6VFzaE8JabIdn4z++3bh4AGcU4bXXMPuG8gOREwaPZmm\npL1nGhz9rYFZS+Tx+V8unk7D+KA9MQy+wtytfErpxqEGVxjLbrhjrWx5ALma\nezb3fOQXN3t3zSgGFmxS+52iF8bCzyyi1Oz7EcFnlr5qFhPK1X0vsD4jhXB0\ncKJWOJOq4+8viJ0CXSDuIK7/gDUgwBPOWAlJKRBJ8wm0jRLKcm6QDCBa31AR\ns5U+\r\n=rFTZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"d48a2548e718c565a770132e1c27ad2a6d316623","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202202495553"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202202495553_1643018182357_0.46681193646355923","host":"s3://npm-registry-packages"}},"0.0.0-dev-202202495727":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202202495727","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202202495727","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8bb056b53a305f8988a431efeb0933f35a865fdc","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202202495727.tgz","fileCount":19,"integrity":"sha512-JbUn6K8doqbmADjwwAaj4qhRzvT84Bnl1tCcUA6BdrTVs3KnVDs49gzx1xmvz0VNkLlVMyEwTJ28Ni2xuRUd+Q==","signatures":[{"sig":"MEQCIDnvsXo1mTkacr0hbuITqC9n+2vdSCuCcoJhOe7XWZ6yAiBPJ1Yc++o4zSRMJUapdVk2RCv8fC8yiKIF4e/Mylt6ng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7ngrCRA9TVsSAnZWagAAi0QP/0H6jXroUhEhL0PKCuSN\nTb/YHlTj6OLFlUGOMq/ZRhzRySMvy6vnTA3DsTljwX+WmnpLpygbLy7CYVjv\nqiNr7EZqzqVDg51ZcU2JDBvD1R9g7vkHOoPTiG6Ovt9KsJfOCor3894dJlUF\nU9/k0yqHD6Qf7W75jkdgrPjnL2Rn/FNgmc08SHGA8UGoJR/bqvPyOBl/m4Cm\nZv201Ex86wprC2UwzMiVDO6qaeQh1dfG81muGBZBOFD3MOgpTvXsHRXZLaNL\n+Bz6lIqDH+IQKdXLAITJg5NhqPFbp/lTkOmd+F2r2l3BhuglOouSIV8UZCGy\nLOSFJxMtncFJaFKbZ/X7ua0vZAe9Rov/ZULBSGMl4/nw6q/fRaI+EdryfmD0\neGkS2Gg4OpyUcPrC+8Zyrsu9kmz2qqL1w35fu/mHkV3HlFCbiPqDEVtCV/xk\n4cNwSgQebyRO5kO3CZEu1SfMNNo+Sur9W+A9uu0jBYj5qybNPR0LvmdEXnbe\nk/BMn+/9SbD1aZbvPu44YAPlA3uICg0GcbwfqFXqoQE/rYieadr+Jm6or1Ik\nTcTZop3yc8mUib3VPKwdGSAs0PMN3Y6oVhc2nzDYmH5M2zWSfaYjwYYYhVBS\ninLdsqpNfStAvlxe6jBIkQd7PqgIXR8upFoICntPgUtUk8UknvZ/UCGbzUxw\nixej\r\n=roAL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"d48a2548e718c565a770132e1c27ad2a6d316623","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202202495727"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202202495727_1643018283412_0.5618739305658638","host":"s3://npm-registry-packages"}},"0.0.0-dev-202202410017":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202202410017","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202202410017","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"4ed9c4306d360cf0a14f7e23b405c88fde56a28b","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202202410017.tgz","fileCount":19,"integrity":"sha512-6BnTqoPXod/Zwpwah/JiQS1Cam9EIP7BFi6OhAPWzVZK3AtyTfOitLh+jHrj+Q4hbEjhNqwaSqjxv1L7hyo9YQ==","signatures":[{"sig":"MEUCIHHeKdCgU39jWeCOYjBREbfGi1jMkIPTH05pI+dEEng0AiEAsleEvVfFHIeCBRWmjGrY8tHLE8W9QOxYbDH2/I0y23k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7njQCRA9TVsSAnZWagAAzxMP/3XSutFa3dznO/A/6029\n+mdiZsSlhLD3eP1FX7cxkZyfgbMVfzpCs97bUkBUGBlPkShsJ7joCEarbveE\nFFJ23aTA6+bGPiVpFaZ3htoDQgqCPGWZ2+jfizlkm4YaomihJ65hbhyGssU1\nxX094saS1CKSIWwByEj6zxxIUeNTzS5C8xnxwpYtYWCvbafbqNQFYARx49DB\nxqRbwxFlpMEkTtsuxCIaI4sZFvJ1VEOAR5ik6zQTvjJfgtSsz1xqAqxbEHtN\n0tN/cNgDQCGU922IbleM0slrR0JSBkxLmHADDuJ26+RqMN+ZaXwtjkuaNm3h\nSZ/J7oUTuVKtc5rnjiGKYQ/b0XlJa2IVS8Ni347pA01E4nLi8CHQIaJv4S9r\nMzeMKzOD8vqQF510agdDMvngzGyqiKL/JTMZfml/7vpzuca16m5gGjxmGzMH\nX5F4LUS4exYBB/tqp0zYF6Q1NfmzTIHAIC3126w1OB4TzbcUxRxLU2Yr2wSj\nhJOHyCb9UFiQLJdyPTHVY1mbuGM2SWQer1s74ETqXB6MNKroydOQTfz5lzW5\nbdc/Hy17tQ+pdZvnsfq+Nspj4j137Myg4tsTX7nqjeaFVOe/wV+9Zv1vLI9e\nfExVAG7HlkXKHiFHd+g2rMs1p12Ez3JGzwlHQjQxvTDoZtp3oeeP9mvLtUlg\nx6Z0\r\n=WKdE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"6f63e44a5848d85e3be9684b0f40a64b4e613139","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202202410017"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202202410017_1643018448469_0.12137471064554184","host":"s3://npm-registry-packages"}},"0.0.0-pr-202202410034":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202202410034","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202202410034","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"337306587ab879af7e23a2b11d253c01e60cb07e","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202202410034.tgz","fileCount":19,"integrity":"sha512-4Rr29qz4n9SZSBAYlouppv/w85rSOb4FHuqTsJ1XP3RYehSeQDRIIlXyFINgUGNWOMsEDn9lqkpxxy/bGo59FA==","signatures":[{"sig":"MEYCIQCaTRdc2Fak/g2kOcHA0orzFsiNJXX+W8oHLDu17okAQQIhAOdUeo3cg20LEcHgA8Ou4hrqwOmDNjOnoWm3marQFW6W","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7njmCRA9TVsSAnZWagAA45oP/j/fUa6qXT1PPMPCutRG\nBTUh/eMwnOyvc64jVFD1tkDO6qgkcD0SRzW4ROnwaoJ84CZQvuJ6HBpsel99\nGwcDDwx97qM5vn0n2xMZkidnmoU7u3ue3rAsZBSvBrj8TSxoGYLBHaIHAOnf\nMTNCb1NDcIBjNSjdlH53H2ql2LE4L28o6pEIRGZMIfAOMehNbaSG+JFHucfT\nH7am+ywOMbj1iGB07Muwfv3JhYkNAs16qkwQPltCMLaygkwxN8Jsn43klLuC\nkz7nFz2WMrm/l0pP2RmpOgo3XS/DxrWnDtj6PioZtg87APAoqiDaArl8rbcF\nMzgw659HsWuPzqMdP8al0ANFvfefPCAnM3x63Ep0IKAG561RQOCsGGC/yJQd\nAEQ1JksQIa5AyggbjuYDC0lb2I3kkhxi/2X74P9MTc/d7AljYxtc75UkxiWa\ncAtj64QinCu8A/fSH7uCdqbq5SyRo2PAPg/PHGopiEs59q4WGsM42iM3Sewi\nNFHMIgVAtNDeci7OOGa2bykLy6Aa6xdfWMsw7WzdP0J3eb2OK5HlzTzl3xjV\nUKshXHA1pBRDfVKuZxJ5GB4zjGTNL7ca41eFjlccWnItepzaLbJqRhndKJ/l\nPGFefL9z2cJ3trqz6zRQLtTzbJB3JvgC63OR5z33EAGnBiljuXku1fjyC8x8\nCOoA\r\n=ipZi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"6f63e44a5848d85e3be9684b0f40a64b4e613139","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202202410034"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202202410034_1643018470353_0.2935219881107709","host":"s3://npm-registry-packages"}},"0.0.0-pr-2022024212254":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-2022024212254","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-2022024212254","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"7f10766d52860b5f5d748c56c3deffeee0677d86","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-2022024212254.tgz","fileCount":19,"integrity":"sha512-i00qLknIRvDFihpcYiJjIis3UMn8LUCSzbbjlUwqr9G8Hq+SEysTLNXZv9YcbytQH1MmOaub2LKzVInHO5rUxA==","signatures":[{"sig":"MEUCIF2ngCfCRcc3ls3lPAv/cNX9zb3sk79/wrSuKd3YaXrLAiEA2dSuQydhlvBcXXC5LZIDF+YTiPrcu/5jCaCsYYg9USk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7xjQCRA9TVsSAnZWagAAiZ8P/2qMYUDHF0mUb8cjOrQU\nOBMwnjtvPid6wa7oxSAXw6E9UZ6s9n7H+yYXXtcAD7bMua0XzyD+/ntizApo\nSlXJG6S1WvpYbXBxFfElY6a1SvIZKgvdkvaJxOhgvhckOn7feZ9D8O7FQomD\nbLw3r2E6Amx7m0s83krWwrQSvvRpORlGRyu0IrGM6p64tZjjrHZHXbXG2K6i\n7aNcX7+azP0+u5P8lrkrjjDgLsRxjYnSiM8/xZ6WnAJq9Q7xAU/hRCAsJN+J\n4rY6nIO9SXEvXEvcQb+3h8Yoej5qf50lP25gOeow53DTfZ5h5ZyZXWRsJVZS\ndTnW54Lwl37rEWVDdTybj6YhsDdQposVK90Y4akRNfZpo8OqJyhwMsSu+BKK\n0A2rizUGqvxd6DgDdPmK51bRi0EreNnEMAKi0wINaGfIOt7PgX37r3rM3jWR\nR0IJ26y4P7HePn+TtVuP0994IPNqJ3DYM60dOzUBx6rwc3f2hBwUpObgwHpB\n2iJd5Kt6QOuk2I3Yaqc+bllBksviYH69VH1oNWhKPJYaXjv7//r01s8kQC6q\ntrV2H57nosJ+M9rh2Fr6xu/e2zgrSoefBJwMqEtEGw/IY2ZjyD7J/k5G0c6Z\ntFX9s+0sKoUYlm2YAmfKVH5edfdznDSu3HgVXjdl8bf+EOOvEE7QCFS0j5zR\nnVpg\r\n=7qWR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"e69f154a1e1e88a636f8730e2d405282d77ab174","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-2022024212254"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-2022024212254_1643059408479_0.4701839429911874","host":"s3://npm-registry-packages"}},"0.0.0-pr-202202423375":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202202423375","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202202423375","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"517b6fd6b0607d6c8941bae29f5185600ddeeeed","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202202423375.tgz","fileCount":19,"integrity":"sha512-ndUYQCl5Nuve5oVaR/T/2bSi9244fPhBKoQCg5dfVD64nsHdpgan3ainHAxK3vBJJYjyO2cT7hLfHKOxCHaGmA==","signatures":[{"sig":"MEUCIQCBpXIRYmmqeHtAoXixQMXWSiETaskyT0T4Aq8vxTlLQwIgWY4yJwQzukq2ZNrfax06Xi4EEXnfdQpY44GCgTWXEEk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7zhBCRA9TVsSAnZWagAAn9AP/R7JATsRDbeANNSQdh7D\nfeZ5ujfHxxf0yEkXdxwPpSbvHa7Sqe31XsuVEgHMKtkvt5Clssv2T5sh9Y4C\nZPQliF430zdKFP+MqDcDgNASefxqUdGK3yIp4LtNEKsqnpLe8H0B938aR+cE\nIxjTdQOt4O+aRcsPRQl848qmBiG2mz7K2LUnYxJulWhgPozWLTuCKpyN0Oa+\nZVCr+t9/3xgpGgUM1/hL+k+4zAS9c0tj85BW5ESlQqSXhObsKKYomBY6e23K\nWLpddnbPi6sd5d5GxQVa/FP1G5U5PGgyKBf/NkFHnKNeUI2EGuG4CY1IXksq\nIgA8R7id53FoN2dvnSvyj/Zmq95UOHk723F/VmSf8L1WgCENZjZvr+9ZT7aR\njQUWA2G7eJLib1CymX+v49YgQxzjWY+vVWSUPIl7x8Yqz3sGV7X08HfLcWae\nbpfAZmM2Kb3M2ozzPgxcsqhoQDsP4bdnhpLkFxWEiEXUmUdl0+4GRRP5C8vB\ndjuhreqnzlqzcT27OKrTzEsaDhy8Rrzerv/K50mfuyvuDIrOw/6Ihw8+av2a\nVIFpm+jaQ0745dmwYaCMx9akDc3gRECYo7NXpMt9HkBxr1Ho/EIB2mA4DH06\n3+NpBgobA/OrdGRzHbL3h7CZCuBtwdxMkwheHodoVzptZQWF8QCLpuHB3Gln\nBqhi\r\n=/vZz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"d3eead0763d58975f197b4c33b5c045f765973a3","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202202423375"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202202423375_1643067456982_0.14192031463466392","host":"s3://npm-registry-packages"}},"0.0.0-pr-2022024234531":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-2022024234531","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-2022024234531","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"69ebfc9d6bc7f037d776a385382377420c145034","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-2022024234531.tgz","fileCount":19,"integrity":"sha512-F1lHBNmmTEEGj2hECaGL7QqiER3gKNeJX4c5LGv+ZkjRNeO54ZNCHFXEzlN6LAJWIFVLYf60B5y9aP1FVc5FHA==","signatures":[{"sig":"MEYCIQC/zNj0XBY9b2rXjTex9mYOXjbPNW9vhShMTlHdwpXgSwIhANi2PcOKOBpQTDCwGTzmEXJ3g/nstQgPbI0uJBJSn3PQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7zo+CRA9TVsSAnZWagAAxhsP/ApUiCTmAAYSlkYibN8z\nKbr6mbVisx0xZXiZmZ9YqqBcnSG2rseV74e7BGuzvBtpHdR6oCRCPYr0uZjQ\nStipHm6Lj4Hblf3mofLBiukM6Gq0/KZZnF/Ovjp2LUZmxbr//h4C+dY7obhD\n38cMJhSxdjH830JaQcE8qvliDg8eOOxXNE0Yrqk5r8cNTF6tHBl3WDmaY3Za\nPUoN6JuuWy/u10OAD1EcDwPBPyECxAnji8wdIJdYkqGSQXnA3rWklepQAi18\nCVDKkruZVGOYBFofLTar4VwarzJSo72000V6EEtlcz557lxWK2g53cmvXqbh\npLA2gfyIuoPzz5x1FYdtRcszfgt6tO9Dt7KcWuPMPS4d2yn/PXnL8ptI/tyv\nCWLYsH++VeFlchbknC/+Rj4cvm5n0ClH6eKasvYYFWGbj3gBBYO0cKf6GoPt\nCv2kfztj3N7R4pOo5JEpFaCLThW/IzDM2U4McoJ9nsLOw6Fq52joyngGfTQY\nk6OyrYLdTm6mCH40nhpAPeSX8aYbDh/iKBxXJBL/QSFXrIC+DVBhHe3ON01v\nopwMrls72Uuulf/k8pw/2Ihwhobdlqbbo2SKpQmCiqGwB4/UnoQb47OC6RLI\nYK3Dd2UGhCRHkhPcLGypx/HMNrxZICuMrqNXEUG56tzm4pnalvAPY539Tnny\nad0t\r\n=Zhf8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"4fe2787ec515af64d8a9642306de839fb4a3f973","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-2022024234531"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-2022024234531_1643067966748_0.4439076867162268","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220258423":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220258423","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220258423","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"1b96f05619f9452b6d10a2d4898ca8aa0514fdb0","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220258423.tgz","fileCount":19,"integrity":"sha512-6bp0aybdiK33/hNZaP2rjlANFuAqg34Mvn0Ni5zxv7IiSbDr4dySpWOJj6SbgzkINp+zUgUnrsX0vEcQ3yhcdQ==","signatures":[{"sig":"MEUCIQDWykmMiFZqwBWQVNhH0RuqjOCpvIQxoYHcnVBA9wngRwIgMlbtEjtdw/mKhA1gdCPOgZXk+Dcq011EV4hMjHZjiII=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh77f/CRA9TVsSAnZWagAAQg0P/2hIBLHZRHiYSm6tnc4J\n4bW+69DWIyIL6HfBuaF6Z3iclgwv0+OQWHE+LuAhUVZUa2KDP1PyDjlh1oj3\nHUbZs0VVPLuylu+sMopU3RrM05qJ1bWapRu1ROGjzLP4Kxg8+Jl6GIDj/nvb\noTAex20xhgv3T/YJRVUnprF6WT0B0TY7mhaT0p7BueszUFKI1ttn/jm8ir3b\nK9rFmUT5lrR5Rjv6fuJ2wdvF1PcLK9zxra+JSHxFbw7BeViGgHyCChY47SkH\nU+QWlDwJYKP9QG4sPpj/QRw1qRpmvwb0ZcVjez99/QG/8Oe/+IZZSK8y5fb4\nEwGIMIV8AK3Hdsdg05TMHcSMOw7YVt95YSrnUKJpznhGvW7oikc08AD0Fuze\nxRXF8Wv9876Jlm1jHm9aW134LwOO4Dx20zdB1wDXBvwsxKR7XDjLV1Q5fcEf\nv73LEr/TTPUT2X2HZJu71wApxxoh09vXg3iMn8xcf/ajNWqJB17swapB2EAc\nSWWEbxc9Yf+VDlAGqwBWgiwGQ6EHqAcMmY4d4b3TAhLTGMWssUs97h2tcifh\nJqGPiMSl13S4MkAx6pXBnmaBevoWry+MpS622tqksf1IGhU6blv6ssU/qsQT\nwlYXWtWsowb98t7ffbeFU6oMmH1rR1wqZDY3v6beIGTzd8dBCofdSEQCTMJ8\nwfj5\r\n=rXKw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"6e651353369eb28099e440b2c273921356ac3361","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220258423"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220258423_1643100158862_0.1691779052327529","host":"s3://npm-registry-packages"}},"0.0.0-pr-202202584437":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202202584437","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202202584437","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"43ede5f15ba30217a58e8d36a94f21fb6aa4cc9f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202202584437.tgz","fileCount":19,"integrity":"sha512-cO0lRjDn0NJzjOIQ6pc6xR5G39tgMLvDFmyx4lgRbwcBZmAC/xhigvMiccEs68RY3YCzB2DbrtesyDytNiqcAQ==","signatures":[{"sig":"MEQCIBBI6x3e8yXQQddFE9mt+6HHEibhOFvQ4NIl91MKz0IMAiBfSo4I1xbaUHyKAi6o/TsehFenAdNuQtKoIVAoAsIftg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh77iXCRA9TVsSAnZWagAAVf4P/0hXoLZ2AabJ0tAF4iNY\nUHmWm8yAVPBN+c9Ae8bCAcTH/PjOCm1tFEWdAKCmuDS0Nv8Jyi1RLweUGBFo\nweUTDhh9jd08iXpqDo6si8fVeZXjsQBmrJvhH1Me5Y0A+OhEFlopHSuYOmcv\nT7VbnN1AjcEhTy8hxDXMwQm/TyOtOUqM05wiwOKy3l44o66j2LVED5h8oYpA\njCyVv+5tptBQBfFbEsoYISxBtg6JZgS1K7pRGtXTt1ORgyZQNxcRIxG0BpKG\nrPJRZNmrQtruvD+4DupQSA4kP9Xm3ecQFRigsOiBWrM39UzJmqZrKh2d8J85\nBAO2ouq2drpmTWK2YXjFoFm0mKAo8sQV9KaslQuUDMm4N8Wo+EIfrY4kdyPa\n/ZqDpC7Rgzad1mbXw5E3XsuD8Y7v739fYTWmcr+rBCrIy9mswD+PxFCOah+4\n0F14ehkQzoPrSFJcbhLUZq+/xRsrAFPdup1oCgf/7V077316dirzdBlphe+s\niVVPsjt3GRfLTGOB4vh/RVuqTBsQZXIPbJ+RAwSsJSSREXYBjK9LDse0Wqwf\nOBcxoiXJODtLJHhf/cMXIqgo8Za0FiXgrJVOLoPh/QlMUaxbs8M3QYGZMWl+\n++76WRicDRLioVj3vi5nx49HQkbs1gwXaV6NF799Jn6mpSW6an3Rp0waBDXo\n9/Cx\r\n=OHm3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"92fa404bf4bbb7127cfbdc749accb65409eb3bcf","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202202584437"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202202584437_1643100311835_0.7787431134009188","host":"s3://npm-registry-packages"}},"0.0.0-pr-20220258462":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20220258462","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20220258462","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"b66d2e42afbf3aee87e2796c170e7f9ece9197f7","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20220258462.tgz","fileCount":19,"integrity":"sha512-u/upzb3VLEl49RAZEDyLpUiZiuXpU8tooXXgdIdmTw83wp9h/HLm2ht15zrrfKXwt5sK90XQ479atClHERWg7Q==","signatures":[{"sig":"MEUCIASh5oQSf/zty6JdglGa9C/lLpfuiGuf4afYcljvq+JlAiEAstXDyyinW4zfjr9ai+sALQoFDCVtx8mYXUzQ0uVHRaI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh77joCRA9TVsSAnZWagAAqC4QAIy2FGoORp/ODGJ+f6Ph\nEEd1LlPKoEPxKDO+icIM4DjkLIeRr1EOzPxXRBusXg12fIXlvGfz9A9VgrrV\n3IPee4nMiytU0xE7O1UcyUm+Ypz8uxM4BYTLAGW4SIjDviWa09M2Uc/gMXmF\nOKdgzPubMhE0TyXNlisqJnQQ0EdxHTEkxz7o86zzOyF4Db9zjzUjKBYe0hk4\n4vOmwe+XsmzryeLyy9ygzrw7Xacm3wGOHjFVJoommTNzs6wvpNgWCYL28jNG\nrWLzn4VvMr7hnTPX4XPJcv+MhGxqFIN2mY/YpyFTmS12aMO2kGreMx5IGCm8\nZ5HIdiovnGoy028h1PGZ2W8oWk+zX+6O9t6eF6x152tEEshdwHjRTuQeWKFS\n8BI+3G/RNS2H7gNZFWrvj8hQS2Kel3Q/Avv3QAdx3uOuul+6dUKdZ6XQmIXZ\nzPFMSyHvcoK9gBiw4Yxqb7hvdwTgyOdjW8t2VStBllngRgAJQn9AbVZ1QOXQ\nS7gVCfIsqY/Z4cFiPq71zwD4rxYasv826XjlGHFSZj84thHunujCwjytBkax\ni7Ffo4FhFqILQiHIp72YUNG4uYz4LzCFwrGy0nYDKH2kvXXM3cHaydFR662U\n4EH4qkEnvCPbtsxy/WRAYXL5PKmN8gJWZSq5ANzwqxSeDEKGp+mCgidm9B8o\nX6sc\r\n=UFlr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"7a780e413d76852ca5a956711f4f8470a7d8694d","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20220258462"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20220258462_1643100392751_0.7600946912121715","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220258486":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220258486","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220258486","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"bcb01937da0ef8d75a313e417f2ccd1ca8de9d3f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220258486.tgz","fileCount":19,"integrity":"sha512-d2y1g+TAmD7eAX7cHDmomr5YppRtZNxY4QYZJXPWqE4xJv4q+7c+tjHclS5ymDPAOuwp9aX8yiiXYI9TxHqNrA==","signatures":[{"sig":"MEQCIFUF0N82D08A2e9dQ1TKxvPnPhsXqx7Zh8GLQRm6eOqVAiB6T6lJSna/TbHsIa1nwypXKeRwxvr4j4DSx+apx1WtHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh77lrCRA9TVsSAnZWagAAQ7MP+wXGbSg/+fCfz7QdhU92\ntUmrRMCptCf9KGwWIJfHl234CzYCZ/pMd4AHGiU3MvMMAtyVVj/akHPogbqt\nSyByGjCf9DSWJADAt4bIGLd/CB/VVVpPZxuCTiQ2s2oa0VomcLZLZB67rHI1\n56lBKrFP1HEs2dcROTSDeiHhDmjXaBvviOZx2Sn6KwBPeL7EdOPWgkfsClP0\nXr0rOhHB6ZMCxxAyC8JFMsZE2SqyPqxSiJDwfeYU5oh/Ltjs14S3f0aBc4EO\nvYJ7gnGN7KBSFztxhOCpWjU/H1qqn4XDJq08QO3sTG3fUygkvnDP/RlozLbr\nGMRYz7q8E9gx+NVkp/bPGmKOdxe2EV/c6V28nhHWnglVGzVbDZxw4B6gBoBP\njBgz6w8q3O77bFgw5gwsXIUWO+Na3me7LwrICv15VYPUOIRZRwA67NhZnMKf\n91MK9mObozxYMmIA6YQU8CDoFRexOWaLcvcs1cXPGVwdNPQf2ewKI3Wei3Rw\ns1HyT4pUFPr2+sF57goYRiV7SMcd88yI1vVbvQ3nyeY9HQ/6nnjc9GDeD+Hc\nvVaVhU4BxSeumWSLLqFkKU+6ZOLoJ/HW8A8nqAsheDTPAASyweP2/TZm/G0W\n0q0dPA9TmVWDBK9E4yhuP1UliQ3VFKIJCH0PfD2Y308I9JP/z70mf3KcDztO\nVg1y\r\n=N8R+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"7a780e413d76852ca5a956711f4f8470a7d8694d","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220258486"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220258486_1643100523380_0.6368384635968753","host":"s3://npm-registry-packages"}},"0.0.0-dev-202202585455":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202202585455","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202202585455","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"83c12c24f35e1bd17d1c8a510f333967bf995a34","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202202585455.tgz","fileCount":19,"integrity":"sha512-CG84b6HnGF23wQRReSFVhBNYmgIBigOaVDbaE56kC9y4nFNEhrfYIa76/6hZq9nB/3lnto5DnTo0YbPzbVA9zQ==","signatures":[{"sig":"MEQCIEbCRIi1Ymh7pWmv+S8ZQuI363DAI8WlVRVNbXO7Xo5kAiAsTSeokCLD6GzGTxSbYZD/kh8+/FOHdjsqNkUs+W2NOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh77r+CRA9TVsSAnZWagAAI0kQAIIdQ5y3IJ3ldiIFvxZ2\nEV65wwTXER0CYubsDljj9WcIb2vhDf0EwC8BWlA9FgIlBrd/coPw4xR26Qzv\n26x6JCUhObp95vFhPpoh5A30FbDpDDFsEZ5ghWWogiYUSAj6hpCPJVqkJ9Ta\nOK4ZExQrAZB4EZg/73+WAzsaODFlYZnEYIpdTjCk7dE1sQIzzcgfqH2rJZWk\nTxyWK1Quh2w2toLAVsKaszf3dmRUWHR9MZyzcm6ZBb2BHhI96qwWwfz5kok8\nz4LD0TzfJA75qXkZph6HVXo4QJPbQBQ0Dx3hQlP9jVC96BSOTzFYwpp8QltI\nTnjY83f7I3K1L2d8GBkWv90/2vhT9WDkVwRezF6nWA/AdvIFgkpYwSzI4m/A\nyilbG1yDXA1X/C6or75Gp8bOqoAT+0ygBecAPYnOUpP20+/EABHykyM6IyGh\ngZ7covE95TNsI42elefvpi5HfTlF2oVT5IHVh2H1SatPfktOst907K5xIMnr\nAJazpPnD1QgIn/Z3cCQI4EfA9uc+i25zE89KwToKoyqUZVYaMMgqsEjjt95L\nCcGzBu+2DCxrRS0GMEyI4BqQ6HYGMQG2x4/FmbOMseVyMNUAtdwAGUbl5NLR\niFAT3hL3H6oFpMiyUIDidJ6+0YQlf/qV3zCLAVMshhKRmF41nQy8eOH4QNdU\n6wXN\r\n=wi/k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"6d3b6d368771bbcc93006f4935fb54fbeba115fa","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202202585455"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202202585455_1643100925891_0.2952361095663072","host":"s3://npm-registry-packages"}},"0.0.0-pr-20220259146":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20220259146","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20220259146","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"0b5839f89301f1415256a017511ed796477df5e7","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20220259146.tgz","fileCount":19,"integrity":"sha512-Clq7sA5BzY4tKaoCAv0uldiFP8HiAHiXkjdp6NhAkekPHiE3xjywVqsx3gfZt43I/JBgbjvB9MKPko+VzH78Nw==","signatures":[{"sig":"MEQCIFWjfFNv/sB2S+awp5uh3ZjClNYYJcFjmAyRqa11qIxDAiA/kj3fLEYP3V8zyi5nOdC3UI86xrKjL4Ju9k25VV9z4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7799CRA9TVsSAnZWagAArBkQAKAXe/de3h3QlkJwlSzY\nYuIoiE1a22TBUF9mmLbQW6YECvJqfEHHq80Fn3iISGq8qVoXevsc5HBXu/HE\nlSGcWj7tJ0bE3NjasN4i5Rsc1TtaknZSmEf75gE7TZg/8dBLncmnjJ4D+ZcF\n7UHqdsfd2tDpz3XOlhnRLVl7dXKQd2GwExUoe4o9eUfGzDaDmPCUQY5C0Lhn\n6qEAhwEhmEnyyDbwYGFYRxIyKD8j8HqKqqjBwIpfRXERscF6k0yW+wPXcsL0\nVrmJ9SmxulHG5k7RHckfUHitXfp5J7mNuICG0yLT6UtBBBpe390HQnWwB0t+\nn/E2966CEMdyqFmz1ooV8K61jjThDHw2OUuImzYxGE2kZsn6+vLR7HXV2cEY\npz4JBB/7wNHKzjDb5ojB8DvLbaCto0tM3nBeqgruV6O3co7GiPxC+UCcV6LU\nvtNas/6xZFksU8J6wt9bS4l2OWtGvjtNXMICs+zv/E6Cb1cVSp0VN+PPSkbe\nCWHT+U0PkfiG01IEfF+cTUFyj7Js7Ycw7XB6S0oci+tAWz+m0Kazf7Tr7SY1\nr3sfXQAbdb/NeaQ5GxbMfLMyj5bnYp3oluVVeYU5am340/zYFk5xL0jI7h4R\naK05MD59o5Dj1IJqUo9uQKJp3ys1BFqNPEMI//2EOM971hX/pbNBt592Bre/\nwyMV\r\n=TBdH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"f4846a64804ce7a00f8c34cc8f7cff8d85d4861d","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20220259146"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20220259146_1643102077730_0.7955179763671021","host":"s3://npm-registry-packages"}},"0.0.0-dev-202202591453":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202202591453","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202202591453","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"2ebf564089bbfec309ef9585d82340c57dfd46c4","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202202591453.tgz","fileCount":19,"integrity":"sha512-msGtG1EtLZPazMH/JH+xpK6AWqU1v0h2/5P2KcuEfRsaM6dX5indz5NlAl1dzCd41qaii3m3TX4DD4EvLG1WiA==","signatures":[{"sig":"MEYCIQCPO9Xt4GqPkbWvXhAS8bgc2wLPCZnFwpzA9v9QyxBhywIhAIaNknH52OMXoqelFRdvuREo0I/eeLEBGbxcV374dQEN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh77+uCRA9TVsSAnZWagAAbbIP/i5YAkqkPPDP/qES0WeM\nOpl3HxZH1AQb4VfKicRHWYOcmmhQ/d4eRuYaH8Vwz+pB6q7okkvBtbH4DTec\ncNx+DWKnILKoO/1Kb28rsWL42Sb863bgNjHxwHmHx6ClY3rLfcUpLcf+wOYQ\nqE0y6qmWdZBKs7AFD34uje0LheDDfhcJ2uyGOnPyCzvH1xHuAF85qwPeIXuq\nPGgWDoCCmPC7P61AFoGnCsgxuTQ1+wpHFXRUnGv/mrNaZWqP65/Fg9pglnxL\nTv2DTFEv0HJRje5N3f3/U8P+PzSjLNSViY2+H7M7dZ+TQi42YzQg1OAi/kT8\ngQVF1fqXxoTXaWjyO4A7rpdHWP2BIwiru5CMOseCFdnL2j/CpHERK5GmjaK9\n7ERAgIchi6F7moWHLX8UgC7qfs7eh0qX49l30gvZ7cHpGsUpi4c5QPeIZxRr\nltBwhTjvALBuXL83wtqTv4kOJXGN/kl2UfEguGhvaLTnY0jFQWK5ujpF/kCV\nno0B5qfSjlsaJ0P31N89YK9CZU4LZg9+0UeEOKyjAaFncqK0VM34Von2UtoO\n7Ba8SyOIObBJffydeeg4Ack6jUPmnbh2ddfritFSNO2lkHReaSNlPNrUG0L0\n1mWg/2lS5Z8sN2STK6X3LHNViIbiyCt8WP5OMd4paDQNRT41rJZEDt3Z0DSv\n/SID\r\n=bBhm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"f4846a64804ce7a00f8c34cc8f7cff8d85d4861d","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202202591453"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202202591453_1643102126703_0.9236430687104658","host":"s3://npm-registry-packages"}},"0.0.0-dev-202202591937":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202202591937","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202202591937","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"2242f9443eaf824747c78669c90828f0cd988b7d","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202202591937.tgz","fileCount":19,"integrity":"sha512-7l0bfYWwx7iWln5tMVDlLk5KwzXuvjxaK9LNYLRs8ZLpmJNcY6QIAzYv0k9mDI9bN+kh6O4SM1Ulwq8/ZZbN9A==","signatures":[{"sig":"MEUCIQCvEsbMbf6hZ6fp2KHm74Zq2d/s3HFd8s92YXr40mSPVgIgJ+iR6jaF52mrwI0SnFpj4xkrqux8xn1Mh0jUgsDd1gk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh78DKCRA9TVsSAnZWagAAq80P/RyFqRJi046kjwmv0Jee\n+kNFhU6wTLpW9cDwrbxAzR7eosF9q88GDdigI/XToEcJ4LrFtYX5OKXj2ba+\nMxcZHLLLc6sQ8KgG03qyhjxCspXVCuSknEkdO5GyCT0Y7//Agi5QzRXij/3I\nPQoaiS18U+jn9W6/sB3R30NDph/ZPJz4Xdwu5binAt4ME57aPR0qyrwJuZVd\nULKNo7HlcB8EAZp1P8fGV6wJbw34ks5ZyYEd4/+KuT/+EVb1WEPb7GcXMYH1\nCKYL35pdP5qIoISAxYAbtbiJly8nUUoZ/wULl3BoCSF0yTqhUp0EPWBUZglv\nSDLmqlBVVWWdM4/sgPckF8uOJDzmDDiGUpVortwwo/F/+CcQsAa1yUaRxWCo\n7im5MYlXhCp6okXn/ysjuujR8FfmjjNZ3j7omfUCjlZzhAEqnbxTlt/oSzyk\nqAQPoFC+WtEPvN8nZu3UfxF74Cn0x13TxoFDzYyp4TYEfxnwjUbpzdnEc5eL\nEkOk+cwMNUrNoibRkqLQ+3IJI/BX+LXMwAVZdXQBf9RL661/02syFEraLA5U\nqz9mFJ7+05lVFUxJWYvnIVFOypcwaSHxj02Y0Ic+t3lxLcXIyKVYytvv/p89\n1InainJRMX2Nr9GiXeVh+xfrpTmUxdCcRG4V2ihGG+fwXJTvlNi+exNETIKJ\nkQ6Y\r\n=i/77\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"39c7b1664ad18aec22c2e0bf5e92ee32a199bac3","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202202591937"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202202591937_1643102410225_0.7837417335897001","host":"s3://npm-registry-packages"}},"0.0.0-dev-202202592640":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202202592640","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202202592640","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"9706a7dc74c98d2d5a5d3f8cb898f1fc8e0d2925","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202202592640.tgz","fileCount":19,"integrity":"sha512-GhpfUNrwd/SJtHJnY6IUYd6hsw9mPkM7ueGgTcfmq1ATqFNvIl+haBFfjNB02ZQxJubceAtXM6DK7KPJe3yCTA==","signatures":[{"sig":"MEQCIB2Nf59NxOPoXl7GjASstbmifgzYWuZNb93Hk2M4/e0GAiBWbOW3mhnM43GCA5Ddx4qxVB7Vb6LY3MvTjzxsGOOSag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh78J6CRA9TVsSAnZWagAA2KoQAJGIYpSA8RsuM+Kp7LhZ\nP1FX+LrA6dlcWTi9DYjdcfx06W4pjgooedLk4cHJDuR6UBB4aGMc8vIVNRqQ\nbUvtBP2XcDr4NR7dR4J2R5Xbouk+1YtlqMXpLCoEQIMBxK0Wa36DRC+R1ZJj\n4dX6Du1zfHF9E+bf1PN1K2E3Z6ierWUdvJKEQYIw4y/9VrruCPk6qM5bH5cm\ne3ylTZTORO/xi9xyAvOuZJze0A3b9XX8eYhxbI0GHvgUmx9JoCc3EOqgLPHw\n9zCYirb+mKVlrDA12l0nmJc/Q7Jvl4YU7yCB/z+1e60vXHVttwJ2r8i9Apg5\nJZCg7Aui3vIWoW0dbthDJCTaJXeGWKgcw8jfwRE/8AZjhgNoIWrKmosItnbz\nSbB6nzmjQVkmyhlepecwUUS2vyC8WLnw7tkYxhu7FTlF3uW6hbkriqQEzlGC\nvcf6PldQetwMOuqey75J127QJQSIS6rBVN7UUpeiJ6lp8JsqUJNGY8rE+4FJ\n3VwM4MIgONkXRWEOPY+3Ol/kRxh7jjFb9acL0iTOIpgfuhutoaZXsvzQ8oei\nuvW+BVpd0TTZKUNHO95jgzIOttj39zXZ8nc3CM7c55GxPBFEhLFH52YO4G4z\n6Vgj0QqhO8fLHNeGJ0xh90ftLxPUy1KutOhrCibpkg5bctHnAeB/Rmuwp+tD\n15NI\r\n=PBKr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"1b31b374cbf413a551b8bd288da69e35c6bb8379","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202202592640"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202202592640_1643102842604_0.46852535679230045","host":"s3://npm-registry-packages"}},"0.0.0-pr-20220251866":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20220251866","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20220251866","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"572aeba2933927008ac3ed0c9c4ad2ee92083106","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20220251866.tgz","fileCount":19,"integrity":"sha512-BINWeAq7Ac4vIECTuieQMEa0vzeo5ot2jcuv7rY8v6dbfVyzow6TiPdmGRw9ERGD+odA9VaJsVTnBw+t6k/FQg==","signatures":[{"sig":"MEYCIQDPmhNb2CodsS7Q+lUgIXyom98QvZTq1W3xsqPm10rHpAIhAJ1jElR90wgncI2wOhyhC/TSt3cY7cL9uew0pRaizhmQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8DwuCRA9TVsSAnZWagAAslYQAJIauy7LsysQgXv2oIoL\nbc8wzpmdd15nyJLnpdyk0DK3SjFv6IyWsi/Pl+tMre4eXCl6oOt8yf8u49yP\nQPCR88KVQ6kshNhU6T90OPulTHc5Le6ogfAolbQQaQGtIvcLb5MBlozK/lZu\nU4Vi7vZVm1hXKC9XuhA1b2uWyajqXmV3Tlg3fnJst55pGbDnh04TbDm97LhE\nrMFV3H0cm/17K4ULhozOCWE3X19PImveLz8JgyZ6AECCcmuIclLozvDrUZsF\nDWugKrLpYkCr2O3hY8ggSYHL6IyDugs3+tUMH00xRQIPJGaPhC2fVFWY77Js\nc4b3YwoVb0KVKCRBllc6yj7/3Ae4UDMRepbzNY5w+aiw9WgwlD8MKmhflKZz\n/fH+Dd4SHYE9X36xg2AzUnuS7T48QgFHQ/ATOKkOonROaIxth+nsw+e3d5pO\n4uhwbJ1d3Ieu1BMCrlkYQXR3kjyQ8sibU79Q2B9aLD7aozayN4SJx45wIOwl\nXquUhxKH0Y/spLJqgoMSYvjcYUR9mkkenkthf6azaXVLiK2PIqkpQ9X6tzdx\nw0up47/AKB3kOVywEaa3y+Lezd70Nb0yiXTRw+CRnKhbUHCjfEF9GXmuP0J3\ngq0RuFeGuUFRA57fpM5O1PCiJGPmDnMEINpwQ97SeB2aCMciqXD+jvpI95Yx\nfFSm\r\n=qTLr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"1d6266a4b69086a2bdd69b3a110678c16bda4c4c","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20220251866"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20220251866_1643133997866_0.2614359603307015","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@chakra-ui/react-env","version":"1.1.2","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.1.2","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"},{"name":"with-heart","email":"mark@chanchan.io"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"7a911a4d77bdb5ace56743b8697d02212da27292","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.1.2.tgz","fileCount":19,"integrity":"sha512-rzgYDf/F7DurIDEV0P+7/BCoCmRj3EVxM5r9nAX4hHoSA6YpGLc56UcJLbioqLj0YVdmldeHCsn/y3Is3u233w==","signatures":[{"sig":"MEUCIDG/eX46uGPijUD+My3MiIvd1LTlW/HoiD+FT3B0ia8pAiEA0TDEP7E4Zf0IdJ1oQHEz0DMHxvUo1UxnbPinjWSisQQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8DxWCRA9TVsSAnZWagAA1UYP/iiJb+o9e4QBS9r9LYVd\nJsJhd74GTahnqlLSfCWpQd6KQFxanjPYxNXnKg7MAcVAh1SWDhxp5Kgumsy/\nINwSri82xkjIEdwJ4/Oad8WHUeAD5HjBouu5oLQCpNFvkKLL4W5QBCvdR8tm\nCj5ox1rD2EqMqzrWx4tV56Gevr40FWymVgRZjCraSG4aheJjp7mJvyJ9d6vh\nud9ZY31Se7briJtXCqfAfqZUhxcUpNjmmSki8Jzi8xSZ8wRmKb8Z8UX4RHNe\nrbP7We9Of30p913I/LdkLadAcW79BWxjcP1a+tFJOnTCBOHNeytW0P+qlxvm\nb/mwkANVbMbUiOChxucjDbGlS2yAu3iDLoBfkrnpuNSJd5ATvL0XliHiyneu\nYs69EgZU8LtKAuT1JgPz2FG0kJuPliEKHfCtlHwhe8z5Swij3dA5j4DExmny\nXwoTCbV5qIsqixoq3OZsHqBqguKXmrokjlxA6ACo69JhYdTWcEuRXXhOJLlf\nISNESQeudubfp8YX2WbKvZEqPB6NZlH4FHycUKlyvx515xGmKO5HKhammi0I\nI71tWcqZlH69WHqVwMK2TUF2I5X4R75JOnki4wfHBcfqciUmDylQHGWGQjHV\nVDyXoLqhhpW97Q3FA1S360S8pENgocmjsNf1Thp/otvUmPngjOXVWaa/uVZN\nyRpm\r\n=KtHL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"b8508b0f3f99e0ef04333812938efad93da02dd7","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"1.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.1.2_1643134038248_0.3246029143610214","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221173648":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221173648","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221173648","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"3663f3bac8a581fe707f0c1added7c3d4ffd49c0","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221173648.tgz","fileCount":19,"integrity":"sha512-+jNGos2Owkh9qXnlULVjJR7IGi6trNbOYtAvh2oja/mG9NLCWmLxWjeYWHqKketrPsi/1pmOIBq8ZRMObvMB2Q==","signatures":[{"sig":"MEQCIElr22Oh02rz87hC3IDB3kRm/xXfbAs/kgx6QcoD7+ufAiAoKVhRqWFYvhcFX729x5DJU+zbZJT7wWmDvXjpj+/o1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+OMvCRA9TVsSAnZWagAAs8YP/jLLgPC13RwSu+uVKN5s\nXKhlprzRTedD7PJ0JvY8SvtoXDHHQdZh/K4xC69T6EUL9n9GhiOdI2uWliwW\nYjAdo526oB0vFVuOF9ZoWXJbGi3P3b/EnX4BX8d3VrxrzGV0iGRiinsiO4k5\n5sd/vlmayR4tLn2RYS5vWnQWvS7vVOaph/Ef3gLMPM+iKHrmJB22jYYbQwi9\nKTnPe+hXTExPTJS44kemhOgiU053kqkRa5D38s+yQFj6g0rz/oPxq15zBHPn\np0uqJAb7LISCQWf2Y/d+pUQzzwmKN4rluX6BOzA5DbBEX06jahaWNn47sbEc\nJJPT0+ZDUZ3d1UqSlINc2agdhw5Fb/GBcXX8OBmoiYXmU4fBag4cYch3MymV\nya3M/WKtdocTY4/b6yST0uRXkDxMPi6y7Dk5neMqVt8UB6+Wc06bbVbnHVNF\nrgnzcV03JUfqSL3pLCQ1vfsoD9R8OeyEBn7FDONU4FFnBWkbeHL2C8FClyS/\nPMKRzPFKHe8lAmDHsWIu46NXBuz6Jhe6wjEcx1PrnpgBFuxaTgeFw6m0eQ9j\n9Cfp5Td5e+mNbk4f+xd02GDVlCTDqWlH1LlKaxknVsJMgporI9zbRyHobIr/\nhQ8c1VKYzAvU8qFwQmNlwMvoG2eI4nPakUlxoKYSKoRbmYB9ui71jk+/ldbK\nhas9\r\n=j123\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"f775c980f4d1e8a692bc45cb642eea796d4025a4","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221173648"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221173648_1643701039073_0.3138490499985853","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221263638":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221263638","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221263638","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"82be546c08b47a56982cb48ca52a255dead5a712","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221263638.tgz","fileCount":19,"integrity":"sha512-tIDJVJ1/gS2B3U9oBAiyOO+H4whRvg/EWmDHJKpWxlJs5DXYiwJ2iHuzdK6FAK8AjLK/+bXIhow3i3XD+yrOWQ==","signatures":[{"sig":"MEUCIQDJWZjQumd74jgi5/pzikFZVr4f+0lAmlK4fHLMpY+x3AIgMMcsE8IgtfKcYYzmmmZbS3h9r49YconIWTWUTBTKmdY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+iaZCRA9TVsSAnZWagAARiIP/jcp1NdJhg3VIa0rMApK\nBiAkf73EDrNE7w+u2i/ZoV0ZxqaG1kdY6h0yRQPZS6eVtRmnQOuu1cR10Afl\n6SqYIqqCFsj+Zwv8SCdyTAFArJRewfpLEr9e85ESZdywmy+Hy8j9DkQ4+Pb4\n7TmRjblH6qb7OonZaxTMfifx1aA3lik7qeF+/H67kIaNur16fUOPgQ8yRFkb\ntntiQUULntzPIm9tIMzPl3VCVAwsV9pxLwtNmF2LO3e1jbGjMHng1sQFwTK5\n66iqV8OV34efzkU0Re2FFWKn/ywECQsuWqiSSyYERTQpdK87QKzDExbX5NVg\nD+Kbc7T0T3Ayb0tma5/M6jF+26cl4T9bjeiDdFECUX+1mSLCPr0laRhcLVBW\n6owysqAyqYoVECGUsBx4W0qe6bQ/lva6ZdsktonFoq7Abp/JGCHj131XtGnl\n9VtAdU7Qw4bs6g9UxeBmQ+wxau32Fa2tC2CiScgStCt2D6HmUElD1KMPCL0K\n7qbcFmKMaIHAYeIf8oD/UJQ6kA5YCMM73SyANt+22uzl65wV01Mjpl/pYE5N\nlG4vDQgZakqCJIUXlzBKMBUFtCRU5TlyaEKykRlXy5bRemYv2G0el1wntKdx\nebfHR51Hdnb3ETkUhygpy5iLjbAigFcENmuWjh85kK5OgD6uhCFJG2VdjkHq\nRls/\r\n=Ta7o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"c9eabd5a0528dbf3870b6e127d0da14b6caad740","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221263638"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221263638_1643783833584_0.28794327196841163","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221263715":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221263715","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221263715","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"37cf74bfa54e84e60799f423cea1bbd5da23b634","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221263715.tgz","fileCount":19,"integrity":"sha512-zqEkz6h04IiqTS6gE4YsB9IT9SZGO2C8ppO+QCIpF25t4w3A89SZEBGkk92TjIcLJoIHbVfivF+YS3WshfKnVw==","signatures":[{"sig":"MEYCIQD2+j8paxjj1Kmk/M1CEYnS0VD8ubIG3gdnNYG2136MJgIhAODg/7OcVVlAZCdMXrxGxXsUBFPYPThTw0NK5Wnbq/4+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+ia4CRA9TVsSAnZWagAAKQgP/375TX1+NJfvB2tsAryR\nQ6QNvZsNzj4D9o7gcUvYQpAHtaUTZcQd72D8/kjXK+b9B+q5EjQB8cYAHu2l\nL0d0BRZc56TaWiFZeyAy+Sgs7DQDLvhDVoPase1aCLmad9V0YuJQWqLNKT1k\nVebbU3hi/gumSLTByiccl8xHyapdYJvItOA25MqtBFuNTEkGsg/ypvSgQ9Og\nvqKTIu4wVL5iL3UzZn6TFXuJqIYlgT9p1aJ4Z32KYgKcOFVhej7G5W2c9Hgg\na6N5FJBogrKEkAVdg+RabV8J3BG8YWNdeoCSDK5v9wXO6k2yWPEmp8oyrfJm\n26Mht9iFa56ZV+xIzg/ScHbpFsjmCAgKairlxGewf6fl/4655gDieeXnwKMQ\nb1AZXxlguKnVvr2PrMpCpAckcTRryqwIM6kxjoelNi2XvsmDbI+fsUKy/xMf\nlCLV43BQ+m4SdFuy1HsVNxzW+2HGw8xZKFdv3gJuolxWsNklQvcCAtk6truT\nFE2ZKER6WklQDstQIoe5x5LXC3ZHsUs/OOg+uJxjtkqQqZVf0fMZJzn0Sb0z\nxipKv2lju00WoFM4pdvjOgKgDvBqlq/acArXVsKNEPmybVqS3bBFmVifx4ho\nns/Fo+a5/NCvCIb6KENoSiTTr25DVvwxGF0e3cWCJdsRMnBLFPepHsSiY9yV\n5+48\r\n=SmFd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"c9eabd5a0528dbf3870b6e127d0da14b6caad740","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221263715"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221263715_1643783864784_0.7007690132656075","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221272130":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221272130","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221272130","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8c50042030cde8d0fb0fef7ee587151a9862949c","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221272130.tgz","fileCount":19,"integrity":"sha512-QDTeMMhSHuFA4NCfS0ZhNimuiaztDVUaPfrVHUem8yWHggKOIMfnYAjBCae2Xiy166Kq6WG0hNvcGX37XZfrAg==","signatures":[{"sig":"MEQCIERT6HnfHPKMlBgl2OoEooltTM1N7q405/ywkNtHd+/pAiBT+OppeXW41l8JnNBN5VbppKfUpwrCfCmAd3Ql8tYBBg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+jEaCRA9TVsSAnZWagAA85gP/026V1PIA1XilOffllCH\nJd2c7hTPWLte9aUCUBxgQWMXDCYTIAPiRK+yX7adSwQaJN+bcCB3U9hVLu77\nY2u5D07ZKMl6Y/18oO8psyFsfo4RZH9Sbe25XCVKD9CsQgAqnCbKb4dSU+Ob\ntHCHW3CM2I1l6dI4hMYl7avYu4M93djKA1avs1cKq5mZATWfC8zTpSa5r4Fq\nRZiXMGC6pXUxlHkmGdwLV9WUxaO/xOkKhHhu/PQU/I7XWmEYlYn+7nYcZG/o\nEU6YLBomrjpQ0lVst/rhCu8JAhjfs/R7ZVJXeGHVVzNHTWxJSHlL8rizNhr8\noHa6Xm5ifc6YmWfatTFK2Qdx+LZxhM0gFQlU3iOqkgV1INSnpgW46jr8A+bN\n+tmGuEFgu4VRS8Z7kPsQPg1KeWtgE49ElZl6SMc4G4zTSCb0GE7X6fZp/ZZl\nGffnEUor1c/hpoj33WVlS8MIjSl6inkeV/v+cXy1d913sr3XiBy4MTH0+d1k\n5/DZ93ciMNf7Op100tXjamGx9dj3u2f5g6y+uRGjyOP5l9vAqhkuqUq/spHa\nuOBm843kUQcXxe4NHuLh8EufydzvJ2S00WeyRGJl6fI2wZfweIeiFIrNgO0N\nzTRLhTwoqbz6aXrqY8vnRBf1kL5U6iVH9fFKw1HDEVppzQ6LAoWioXXvIyfE\nye0P\r\n=kJNe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"3ea8fa9b83b10aeb76162450f2d997d87c4c8f6e","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221272130"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221272130_1643786521904_0.2900390758486968","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221272450":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221272450","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221272450","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"20069c579d30d49e0ea04aa917b7ffb9269118b3","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221272450.tgz","fileCount":19,"integrity":"sha512-L25e7J9oPdID/s0zuQK78hfqEN0EbHcaX/vOAVU5NPD8wgIIgLUv8KI5YtvKZ4GGGuhoZt2JDgaJpO1hW5MnUw==","signatures":[{"sig":"MEUCIFsZ6yZHBRTCe237wKN5yZ6TFC7PbsAuWTQH56d/VmJdAiEAsFvjBdogxoTnkpHSEtQ28esjt95oozUG9oYWbWdbaMU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+jHjCRA9TVsSAnZWagAAc5cP/0nE9iFvPVm2Z3zxsJXm\nXj9j8Um5lIpUQ9Y5dMX5Y8Ua0Tq5xlRgYDYrgFXPkRcBU8XaHPSyOquM1Kce\nK7CCY/QxCyDeg+FayNT5CQTCY8Jsk594fJQSnNz/FAeYgj+lODOIFl8Jiz0L\nkZEYKYRA+vNWA9xPrmqsdv2wAQXoXaPTHoQwiEiaPbKPKU1XjCMKA9HAsd5H\nEKwj06ElzrBZKcFP5Xy7x+QMY+OriFMLSZ5xipkV/saeF4dJCeTJJGTAEyzC\nutz9YxE6e/xDLme2mEH18W+pEPUqah7JrBIoKM/aziuimW4bKFGdYs/X1yGP\neiWxdwyrZtzwJZ5VHgwBpBgVwfk9ZR5+ia5589je5xLVKrYRw1DKbIeaBpQE\nSQTQtLDLWtvY/pFw7/xKRn7eJq748Iwwpdaf2ccsbx3bQNmaJ5KWEsaDTYc0\nG/p90LFPIA4o0FB0nnFCksmcvIe7LOQ6/ujMPDYsX0u94tl7A89AY0UYRvrD\nnhsHzdooI5vKpD2FPCXoxJET6S3ZSwHNYMK5EJPgs13J5BV9440UE9w9MI4q\nuk96GuXAK3AyK8SbtQuXp3eLIriNr5woCOdj2HvncoEY7JKPr0MqY1epwQ8Z\n5VvAXHvSSYtg/L0n8uQL0T6zoC1Jvil0PapM99OxeklfV9i3E6//0N/248OP\n2Zox\r\n=3/mV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"de19787ad8bdb65513c8f2928e2fc65425ebce3a","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221272450"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221272450_1643786723295_0.7263661731448054","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221462931":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221462931","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221462931","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"22a2579ccc9c7126471dd12dfd9b0375de1a7c85","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221462931.tgz","fileCount":19,"integrity":"sha512-zL9TxRd7GDlxxxS2GDQAaPgnLaFwPqr6hDqPygU/Krq1CgwOc8BckEH5C4AdWDdu5B6zljjUrIXrUaof9cuaJg==","signatures":[{"sig":"MEQCIFsAm3u8QHiGx8zENKA8aka1vS+Drs/oDHw2WNB9dto7AiA5gPWM9boNOzv3AdBaM4gJ+9goBj4ngXrmMFo8gqVBDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/Mf0CRA9TVsSAnZWagAAqcMQAIYhOjDzmJYCxq8i7qla\niIu4SaCl45YJpeywepHRXd0++mQdEfHOQ2xorZ1eCQgt7qH3RWUN0ybho7WU\n9QvYg7IVbNf13DHLfCh4dd6D/Oeiksy1C3iVyf9EJ66G5E5AYPC3cgLc0vHb\nkfFfODFqXLX1fcJTmZnEZNX2PeO0/MXai7ker97iz392Hdp0VG44U2cklHui\nbZS6vaQYymnqaPEpzFNmcL5qVVk2yuLI1gd2/BrP/58LONnRSP6smKHVyiao\n49HYesGlc7j4fJvm+651Ktzr/COobOfxzsyxsg1ZTC3DDlY56c54J+PzzpMU\noSraTIS/j8yOtX4+XigQ1oua4KYkzGv1MLRk2lZAf1K7HEh831W9nAEYnhaX\nofsOVrcd0qGCZYBLbHuZjyP23+3GD3r93AKiuyxMof2VCncwHVZhWuPy8KLT\ndmtVQSYS0VBfVfF2o9l3QVrj2bu7VzPusuucwJoSwNDuKC9fGL76Ge0N0erW\naKI5MEUq7A7UJgWaAn+9X+/g5tOUxhbG30NDRvREnEZeKCwRjOixbdd2QuDj\nuUv874VRjgqVkJLoF6dfNrxQ26uNNaPlQSk6C/C6Q7VEBAul8ICMM2TzvNk2\n7WTa7D/6mI0Dx5TGDU3Sv38Pm4MzkZTYpGKhfzuop/fOoY7ScCTtlUybdFDl\nAtnG\r\n=NnBj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"147c971a8b1b08ef5189bd99586689f0e7c5a383","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221462931"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221462931_1643956212549_0.6392540430804239","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221463045":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221463045","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221463045","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"1fb1413624e5a99de2c9ed4cb04994e4cf3173db","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221463045.tgz","fileCount":19,"integrity":"sha512-gHrLRGm+kUGeTxkmMdMtrXath7TQK1UZpRzh7eLEPfZt1sRChJ0d1G4QQ/3VOsK5aVNYVK4o9uNEBzGtrQzh3w==","signatures":[{"sig":"MEUCIAmXmb1BuP4UdKAVD3atHmU4psN59NrrBF0MudQNgdSPAiEAza+WmCLq8+i7+tzOVhgzyHmUDBuZSVHfeGr8Tp81d5E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/Mg9CRA9TVsSAnZWagAAgqEP/3zu1IpitGiPCHA+rion\nugKejkjhC35mdnbmmjv3/CeTZ4tbiMnF/eaA6EEewTrr/pC6cEJxpPquloY1\n4jUIGSVNjsmTcxd7jUR2uX8yHgbsbMn73IHmJM4MHoqGC2lZx+ib+Du2OO1O\nEoPKGv0hgmWlBLmMo+1PD3FQ7me1xdwtAYz3pD0aG7Z32SyVIRNURmM7CI+U\nqMgShbAVxVcPn8LkEYyoXYhgJ1QWU/6WKYB6F8zJOJ7EFxv3QyYqCqUexWnH\nR4jCPJG3Naqo/fa4zoDK+IgWE8Bo2a4swvjd+rSxlXSKGiUfiUoveYyel7K0\nmGjbrV8A8Ip5hmQNOwmjnV1sMmx8303bpKPK+u0iaZefgXIomrpcP9NDukVG\nF8q+n4V93eNATXSDqcxuyMrEGD9r0YOmQXakDsY8T7oom87LSS99DWlgUtzx\nVkeFbVqpf5HuL5yoVvG+RC8SPBYREOOMQIxc8mcEx+GpXRbRBZZw+j3WO6b8\nbnn+NLGZrR++rm0G9QDb+fG5bo76Nmk7gsqEkKJ766DLdVl8APtsw53BN9BS\nDAPP3od5KKjTK7gJqPPqOlzR2VEFUZUg4GDa0jcLtlGyffE4wWtItFcwSndk\nLVxs1HPlPSKD3Z/RTRyMW1FFvIgpQOEhE+o6ZjpTmKMR1P++r9QwX/6vw2t+\nf+P4\r\n=2VKu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"147c971a8b1b08ef5189bd99586689f0e7c5a383","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20221463045"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221463045_1643956285349_0.3046734606730743","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@chakra-ui/react-env","version":"1.1.3","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.1.3","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"2998973626e73ed3c859c3ec1fca562b407cf467","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.1.3.tgz","fileCount":19,"integrity":"sha512-gyQaZFvr1g5j5r11nCcOAn57qHTBGrlAK1hvkj1j8828NRywqd3mJXVD7BKpy100ZZrq31bP3N/435Lb7yG1Fg==","signatures":[{"sig":"MEQCICkYGJm//HPenzT5VGxNUhnLYs8vJGvaGCbgTX86i01xAiB4FcLGVPxY3vLwp5MsRp7JGySq3ZBrrVMzOJggUPU0bg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/MlDCRA9TVsSAnZWagAAhRUQAIogi6f8WvnRaFG1cIpp\nXpsmobOh9VWNkf1/ddwqSiiG3uIz90rIa9oejaEc1RzkjFaKVJriOh7fHbLf\nsNtY66frubKEKDYrCMWDmpm8x1Em2Dlm2sFO2jPAB5TmZBbXj+qvdq/OMMtD\nZyj58rTt81GSvi/N4Y/+wtnRnkiRc5ORqKpJASAyVQ0cqSfxd9QV8jA93Xuj\nsg8Ra0cOII3OnWuS5Sua4K3KDN5p9ldYKIsN4hIUB0MEqwnf2lLrRv15GaXu\nT5RulIRj6eNj+BbzxMgSJG7y8N0zhF8DiTN2y75B5VHDLlGIyD9rscbHJnj7\ndS/ow0BIE4fAtqYabczSdmSJtJPyKk7XuuexuvQ+5yUYARILvVxya1ZcZOpI\n6bEV/nvXB7KV94A3PNd88TFv5ut7wQNXjjCA9g+lUhrPmTNYq4/G6uNZrCR+\nMIXRznuT7vUkC7RaT6l2HGYELoF9WTTGAAUoAEkVlZTV0hQAhMN1BmcvBVNM\nhDFaWTe2M14gwa9OY/COKuVWMFcL1w1noJf/FfkF9czVuHtpEna23Q/5lMEg\nbLTU9GpgiUSu2g3w22wEXUr5AHst9lAMIfGl4xWi/ZNCJUJ2UmTeh29kMUKK\nfPufehz88rWQ8uAB88Pn+1Wf1RalYrnf/LyTiunoiloMLsU/HEvmvuxEX5eq\nSnwb\r\n=Zn75\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"78f01d04020525a6696ba97e7dbda956b692d080","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"1.10.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.1.3_1643956547679_0.5294354941724084","host":"s3://npm-registry-packages"}},"0.0.0-pr-202214171317":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202214171317","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202214171317","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"0b3875c4d6d093fcdc2c396b9c2f054191b94079","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202214171317.tgz","fileCount":19,"integrity":"sha512-FDSChuStUfWowzAOxZfA542/rqjcekqCpNbvYeWxprF8wF4Jxusi416UqvSky6LP/UxZk1OevPyYnDyHV0tofg==","signatures":[{"sig":"MEUCIQDcy1euFwIkOchKoarqL4hTZ4ehIS/8bHkJFVDQONO7WgIgA2QG9WAMsaOO9KE0A4TgciBNqixULj/W2iIhcuvjAoA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/V7UCRA9TVsSAnZWagAAPpYP/A0sUTnaGWMK1kbDCgs0\npv7g+LL4ueR2cC47xNWe8iiA3D3yGzRhXg9yeXxlDGwjCTiLrYNMG5iaR7aa\nQP6SImJTNNoUfFDoYCfSb+7j551gNsq+RLBNz244YUZH9PSC6X041YCXpHo+\nvBPfSk5rzfe1z1WVb2ffJkZQi5BUd2r0PN5s38H3dJl2eSgSV81pqSfHuv5T\nUDxdj5EYezLYKQ+8hTStiQEA5BI73fNjuxPC4TqKDTfVAL1gJvKL8YktQRX7\nNg3x6bg9MFKpLciGnPYvHkQRQB8+2czvBkU9lh94Nd33TZy4cuMNP4x+xv8l\nIaEDnfHCgg0RpXZLebXOvvVberHwqUm6IcC8H14f027WaKJfGQrerCKNv4IW\nhET85Ofj4Bof0siq3Dd8MfblV5DsYT59OCjVqcct1rgR9EFhkFhMduQN+zim\n4Ru1u5Ri4UNPb5fwzEaopfjqpqnJoGVJIq+I2WsQRNyqAgWu/7EL2cANzEfL\nYgrCh9kRRyVk896wOEEZax0XhKIaNben2/E90GdDBd3/15nzNlP24RJHREac\n09RnQtHIKEdNQepVgmojIUDzN888qTyLRYcJcpuppb2s0zA2dCCvmUbia9ri\nnow/vHKv1qqi3bpdQFzxxwejJAuy25/XSyjtNqQMRKX6OoNYtOC76ZY8tGhJ\nQohm\r\n=6rWE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"0299e357a2542e035d6bb17ce6072f38ff037e45","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202214171317"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202214171317_1643994835923_0.328332675433767","host":"s3://npm-registry-packages"}},"0.0.0-pr-202214173019":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202214173019","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202214173019","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f1b009f387691352a3b233c1e82611ef66c0e24f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202214173019.tgz","fileCount":19,"integrity":"sha512-JrE0X2GQd4dZnFagu7Tqw2L5HbAkHVhDLKPou1qEQGgUCJntS2slB5OSB/cop/717goHCOaDexun2Db7a8KXtg==","signatures":[{"sig":"MEYCIQDllyH20ffCAIVB/aGQqrIb16zqw/2bBGoSymSy5b6/kQIhAKDtE6/cwfWvChi7SVFcNSL7wvSG1Wd9WncR1c1QwH3t","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/WLLCRA9TVsSAnZWagAAEH8P/jnqh9TJqVdwlFDEBlsF\nLMzp+lKXt939hvszE8QQ/VtlS+FepsAwUAYu236iYakfCJHEm+IusIU0nrLI\nvRkIaCyFs4i1L99yWYw/+G4c/uIXvl7WpWAz5k92B0zCc0NTYzwfAcLagakE\np2xoW47ctZqn9sEv/BXiE3GVHW5DxAbtkUOEsvUKEhBO4yqteTDtWxHUYFyM\nn0AoNDJGCqxWjqK7EZYR3LNUypfiLK32wocc8gYOhOT7ed2zvYg1IYiA75dz\n1u1nq1g9CU/F4cVzYrYuHZmwbZk2Zue4Tz3zDnunHbdRzUhRPH0U7MtdjHJb\nOBZgmBucu8QX1qWy4fB14SBKrFVZewJkjklbKZOROXBNWYde0pqj+SpyzsjL\nW9CY2NCleI0TWSsw/08UsddPBXhf3XUxVkae/GF+wIlbsUwfHAIt9XZpNijx\nIznDgb/XWqzAJtfjgFmdUsxiv0XySNAKNJ9PDsUNF5NEhBNRfzhmWextvNGz\nfmTEXHm2PHD/72+VT4ztbuhe5DVP03jiZTfjlqFSjZKVrpK1ngNmsCpn8Xo+\nQCFu3E8cVxUGiOTmpCAY65R6nZzC+HcK8QMX7NwmIbg5f4h2aP+NRvcMFFUL\npd6lZlIy9dR+7yigAra5OqVcF/4RAl+E7gdKADrucPauIxk2p9SGzy5MM2Bk\nIf9v\r\n=fyUf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"99dabea67ae9fd0509bcb8f92867d4f67c4824e0","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202214173019"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202214173019_1643995851007_0.8966531558334996","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221417318":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221417318","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221417318","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"c5eabd00b58b5ab5d77784cb65d8aa6261229973","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221417318.tgz","fileCount":19,"integrity":"sha512-23JMumsHMOFOH5qxACXySAxdQkEtp5GVGmajWOddxoLaKsHf0ZUvdylqcpGt7a7rkgsSaNpU9J6HIpfDs/N8zg==","signatures":[{"sig":"MEUCIQCt1SUAveRTzJfZjFeSuMvPta5RsNn4QSnGiCIiXMir7wIgSga0u+rzx3Q8EaJLo8pdcCOJ0jmfA5eTjji8tjF/5Qw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/WMACRA9TVsSAnZWagAAmkIQAJTtHp1KtGyaeePAS6NT\ngZ/Nb6cBosAdxi5xXuZHNAxd7NHSgOMFahssqT5BeX9KRDHBYZ1RKvjqrn9d\ngDSdaew2JYn9tfOUS0qkQqGbkEZ4OBe1gOiTGMqwx9cfFz+zcTsAhOzZ1Cf5\nY2S/wlsmMUXZhB+tn3cAKD7QEE4xZ5Gd4JPqhy6YjSNQPFELtamgb7ibGwlP\nPB7wK+w6N7OEXmdtIEWwy/9jB552ZDvxAwnbosBAISx6yzPyBq3+skJ4gsys\n2RuJNG/6lSsGQfoUwopOqpLg9wo3lWSH+7SpISTGd2S9vGQynvPbBOxiDcL3\nD+D6R9KVM1OLpCSrlzSBQD+C6N9RwpG/j94H7v2ya1FIJJ/OpAccGIO4AnQU\nSHKS5KJ6sUfH01t5n6AYy/aBp/Ww+heVi6X5u1puxRmApTlTbafGN2XpgH4j\nPZz61tTeXOqDlyGronS49YqvacLP9Z8fppvWwLvUqRMUy2gklbu4b7JFOmca\n6iw0FhyjJ7LG8+KqqPr9xv994PnPPhu/u1bR2W4ZVSCx1UdqlpfZI21E6Zop\nLkMhX8Fa6bZ4NWHz55zofKXiTnlb7pnxLXGcljuEJY0vRlCQsnw4DtbiKUN5\nBH5vMNrF/q8MJ1TGOEL5GsA4LL3Klo3gqSTxPOT7lsmTnVA0/LMH/wRQMGQC\na3N1\r\n=NPqc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"99dabea67ae9fd0509bcb8f92867d4f67c4824e0","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221417318"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221417318_1643995904378_0.6790230307401912","host":"s3://npm-registry-packages"}},"0.0.0-pr-202214173148":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202214173148","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202214173148","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"0e18a74db9cd881b104859aa6665aa58a5358ef6","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202214173148.tgz","fileCount":19,"integrity":"sha512-WIz32Sa1IM+qNN0GPp98pWnXlt7duQ1kQCjakm9wvhIH+y3URDOKlnSqXWadhOd5b0+MpG/pzL5RLX9r7kHaxg==","signatures":[{"sig":"MEQCIHwCkAnXPbMIsNpeRVz/J2aDubGrVuEoOIcVH08TbcPXAiBmNvNf5LkyWMO5+9wlq6L795nzSJHXlW+zcSRMkD6AHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/WMpCRA9TVsSAnZWagAAR2oP/1Px/VxxMOzd9ShQm4aF\n2tUBi3Jw2VjrTSTgZgpo48z0ytqVvdADW1BR4mOxpwnS6uStBy/+5setjH0M\nwfdq60IRCY2sUotRqin2qCrvjMUvj4YaCbj7Az7CIYYuiIrakw8xXG3nIdR8\ncFoi+jmHImb1k9crFWsvVrSfh8GSvF/hvJG+8fYTntsTDvmXrLpyiMMYZ1kN\nTtIOc37J3uLuaywZ9GWluXtgYxlyE9eILbFC8hz7DxVdeE/i7Wer1Yf1+OsZ\nIOnOETb0cXXjJCoHDv+KxjKBUmnFvJIUDVmk3fxNUAOtPgs0StdaGlnSkUsO\nhy5I+mtROyZ1sRU1IsurpR2nywOP8c4dlQi1YZGCn8F5k0r9m6lPSxxGKojI\nfxdr+gSoYsJHmflmjoWzlj5loYm0bGmgGw7Mv/BOjPGQNszxHtWQBiZRizJS\nMM/lSMdFjNzPK0vkKaPKc3svAfS+DD82RMTd/lqsbk66lljWV1J3jwlAXemG\niIH1Mzzkq/LgqSifFlWRkqfORw85XTdV9Avphe9EKaBtEkMJp4aPG2piequh\nBiSIsumhZR8JDDIIgrwS/3ebIom3XqICMi+fKWVLuipfPAO3JsgYvo3V9gRH\n6sRcLm5HJJOQfNu9sTtFQqFqBibSdU9P4gjmmVa9zeEqIaeSpiA7dR0m/jb8\nV0Go\r\n=VRDI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"99dabea67ae9fd0509bcb8f92867d4f67c4824e0","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202214173148"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202214173148_1643995945255_0.3578950586463481","host":"s3://npm-registry-packages"}},"0.0.0-pr-202215111823":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202215111823","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202215111823","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f275a32d3098f6697cf354f05a12cd3e7ced77ea","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202215111823.tgz","fileCount":19,"integrity":"sha512-81LltLmKEReT3vangpyzIjSBNjxAEBgUWkY4FbqPBW6IsGysxJMiWFyvUbZshJQRZacfJp6309LSDgli3IwCgA==","signatures":[{"sig":"MEUCIEq0oP7pL4N1tExTkV+EP2qOYuIRT4YN5SKb5LjbyAG8AiEAv/Df/fCgDF8DE71vsy0N6PZvqTh1PI2P4OJGnS5SJIU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/l0gCRA9TVsSAnZWagAAZdgQAI47Dprfg7P9WDGwk/RY\nFEldBL0d00j3J8Fo6sKDYdpdWdRs8VRKvI65rZtTp9wYIJ0wm8biXg8Lbcin\noisOwJkJUOQbry/mjMGmKChDYobzA8s/YhIpx6EKc0yfhrrzqFbPgIJtZ9Z8\nSDyOJpPeQJs6+hkWOS4rNLVjBg5+1otq07ZIrT0H0FNT3lXL69g6kaEgkIf1\n1n4588He86Ty6yvmF9qY65Acn38OKF4HuwsusId+0XEtCrVdX+EopFtdiQCK\nbBsGIAIaLvIrQI6aYGXwZ0qKpzoQ+GeagvA2ZRZbhq2dHGsdPu1nbQ9DTC14\nrrqp4butruiEwSLSoRXvOtsN6j52REtwwCHsuIEAWfBk7k+OvmtOFOBzxTfr\nxHg/JhrUNwtotcLudcacPBD6nYposVoBYC46rGRz/TcFasrmQfYstZpI+Sfb\n1aS58Fq3tpcteb3JYifskHKxayG09ztvrJRRmoQNHz79+Bw/kYakB8oQt6s4\nQpY8vBD28oCNbUHI4QguUduWWF7ycRvzpk1xHhGPdlGdldlEYViLPiDNv4/F\nig31wCVijBdFUYbwJS2KMDNtGz9Nbw1Cz6nPXqRk2kvp0F71pEyzJMhUzo5C\nZzlGn7XgJ0A72vz78/dc382Q9mr/e6ebFwThq3S7fEB7lJUujFPWYBwSP0zX\nN5IP\r\n=BNUU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"b6ccf0dd2e3b72a5b50c9e1c00f1e6e3f3b68690","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202215111823"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202215111823_1644059936622_0.7646373603738432","host":"s3://npm-registry-packages"}},"0.0.0-dev-202215111945":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202215111945","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202215111945","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"584d3130c727effaf4887558b4d460a51a93aa99","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202215111945.tgz","fileCount":19,"integrity":"sha512-uIf9soeiBcEQwunMWlIS2XkdnRwdyZrJZcHFxlD33bCf30ZmzEeM3oTguLflIbDFyHN4ZevR4IILUPKSskyWYA==","signatures":[{"sig":"MEUCIQC4u3V2IDsquFnqgGZ2BZN/kdEVgOdz4P5zAUMDUw1YjgIgZXkhOIRFG3cBUAY05lZV/X1Iub9JKarhe2Ag4A+c4yo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/l15CRA9TVsSAnZWagAAdjUP/0yxZX+WG0w6EWWkIrV6\nqYjGQqplmLX5/j5syCpUA1QWxfQcmgF1m8b444MWWf6Xyvn7+1QUMt2kj67X\nC+ovguS9eXXhO11XVTMMlnkj81GkKlBe+OoYa2Hu4YFnER/qgj2qKpNcSH9B\na6iXpSzklzjZa0rJibtvdkOBgf1iWIv5Z3v6Lv2/3P50DwzZwPGdDTEp4Pq+\nDTvymrfFIDyB6BsiU535m5X+diYXLYgPrFvibATeMf2htfktuRqdXHhRXpjk\nDsbIjqM8Rbk47pcL3hdgggGBpR/AeCteOIaOPTn/6j67mDPwA09IOTiuI7b6\nFrUs2rMqsalRygH0u5oJmM9bL+RPNAl3CTxeQG7GietAHh0UPlKOaQv9E+Bm\nFa71/zZnYk7tnnlJdu1S7A8pKT9dFDNoV8boxWx2xOp1LTnS+wqnlAMK+bdF\nqLO3+yReN8ImzepQKtqvbXRT/424mUsY0j4gZLVKeHIwccNFN3/mwEj2Q/S1\n/Vu/IjRbRuCSQL3CR71d0kbXB1SFyHo239Ze6K80adAV8xpvkjtdu7qcHmfI\nEO1MHxdw3XjBK/gQ0weh6XZtZRlI9ugE697pVVlGJs0+kWCA8lPh7Dv+5EgP\nZi6xUpjqAgPDA06fKBF/PkRtqFz/gh//Fteq5vRKgYcCKVSdZ1SCsPXRea54\nWIjk\r\n=nzUH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"b6ccf0dd2e3b72a5b50c9e1c00f1e6e3f3b68690","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202215111945"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202215111945_1644060025051_0.28839463018917333","host":"s3://npm-registry-packages"}},"0.0.0-dev-202215112739":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202215112739","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202215112739","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"4aab71ab103be106db8792189881ee8862fef092","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202215112739.tgz","fileCount":19,"integrity":"sha512-LJapIG7+ocMAFJqJ3heXN1Fbp+cllCwVfRtBgsvl/XKggzpex8YqYj6kR3xNq9RXpuyfBHJbud1GCCIEL4zMog==","signatures":[{"sig":"MEYCIQD5eT/jdUhAWJhe3+6kN6a4lgQLFh+3Ox7/gjUC8bK4NgIhAPWpnQ1CuWwWSijok/VxV7DLgCr9I6OYSkFc1vDeAJjq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/l9LCRA9TVsSAnZWagAADcAP/0Mvruq68nqIPggCEgwL\nSbtqa3vD7l+rzAmeQVkJepidosaaWEh5eIn3Ga6BTo36njfi3fZsB+ZJ8Ntd\nImk5l2r5YVhXTTnfQb19H+xXcnvgsHFt5Iun98tGZGKFUPwHlJzby78Y3IjJ\n3V77iCCyb4Bc2bovZeSaVdxTdDJTmBZZM5JZSC4JY17bG8NZebNusG52oJNX\nRNXXNK7n1ZmYOIVftZ6NbF5JoDvW1/NPmoyFU/93hkZYuMVpjwCmCSD+TK5F\n90HppXX01kbFt6LmrqYCWmpFEwwZxZ32P2170t2PWeYfF7p/6UhWAmre2PBp\n28Oc26wGw8xpNgNVey0b7CJTsGG38AgOidMWUpCZpB9WbssfzfQqK01HF/PX\nzXjL6RY7FzcxAzwaS29b57eQdXLLWVYMKpxFb8KgK4G92ww56hqrzLFapdQV\nniFiQqOuFoDJIWVHSm0y4UORcfuwQ0ifyrpACy38+4G+1XqEh/woCBIOfgTD\n72xG8Q/0+zv1GjjRWxVe3tXLpMpNAJXysxalS6mCCJtmv+EPYeJX6u4REW8Z\nvrvUugb77rYP+KHlcca32WzPA4BVNBZKTpJUO/y1SbwN+Vnfx5Z19+3qkz6O\nlJ9XLG4ApvnYb6YpKSdKyDtT1LR8eMKYIls8+P62y3N6mW+hTn8xPHYbCtmp\nftrM\r\n=gX0Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"d4d18b77576549ceccc8adf91b4f9debea1f388c","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202215112739"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202215112739_1644060491456_0.7811665567831454","host":"s3://npm-registry-packages"}},"0.0.0-pr-202215113521":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202215113521","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202215113521","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"1077b4c8abee4d585b9c7c0e4682f1fe86733421","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202215113521.tgz","fileCount":19,"integrity":"sha512-Xmp1XsIALKbX9CaVdQtyBWOvYYovKoPEuq/N1cZlb9vIqdRfuhF2VTgQhxEKYLdAMrShIZ9gqNzRGiPzTYLM7g==","signatures":[{"sig":"MEUCICpKCESaPalmxODlLkcv48ZrSEZTsxIbTNzw8BDq2I1rAiEAx64YHqzRQTYRbPaVLWtGES7UMGmwKZWAsK1fl5ROBVQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mEYCRA9TVsSAnZWagAA4MMP/3W85xwOaG1ANwltDY+V\nTOZUTzLPlEuobJCdqotyHrZDvzA9ZrClshb34VN/do95oGxFa0l280EPz9+P\nQO5kwURIYEcQwlgDZI7Mb2F3pamJ62jpEzgtVOHjER3h/VPK0vFj3Xz2O/TX\nEkIznRRQ7vhQJQQzceHn2cbqKt1iMcuCWK5jjFj6RzGhCyGI8QWOp/nNZGtH\nbdjjA/iNejRbHfT+KpraN1Be/Bo84U4ySh8pCNIDoaqJDdrFcy3lFimXorhi\n6cuzCyvoOqODjRZ+ARlZQSTExgE7s6H/UOPNi04wxrqljDLbQl7WRNlLF/Ag\njf7qhWytKtw4NsJpZc6S1yWyJClR2tv8h1wXnjQBJQTg26TJs8UX+DxOklD0\n7nNIbL4wkA2wXoZYnW5iaytGcberpDJjvAM7ZD3KUGbSXXlqs5wqG71pkdBF\nlIOvuUp3VBvMbtK7EKsbg4IXB+ukSVUaL15NLakCCYbpZr4pOiZeZ0LjltD2\ncHeZl8u+zK91+Ao69tOl30ugmprHC6S9LqQn2t/6ntyRW9/p0kxnIYOdb4Jv\nSz1HvhgkbX+T68Hf0FXtRTLvk+RLF/yxayMSnLhTDIOdJQigIXS++Vq/PIhp\n+x4yvyH95iJSkJs3af45gRkauO6ITuhRolOg8HgvPrG8fYTFEgxBi/PUA74B\n5sRd\r\n=YKfR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"ee0744efa9df4d216d56af53ceb4ef6a8adb40a1","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202215113521"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202215113521_1644060952652_0.6370142818793483","host":"s3://npm-registry-packages"}},"0.0.0-pr-202215113950":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202215113950","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202215113950","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"729a286288c447b8adfebfd20dea9380585ca5d5","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202215113950.tgz","fileCount":19,"integrity":"sha512-zTgpNKs0pLGruu+fTeHI4odhwRx4zFPYcwqi1lfUQe3fYT8NG299gIFTIXDsIfab9BJ9Z/Wahe/f6GuUJhzSaA==","signatures":[{"sig":"MEYCIQDng8EZ39TSH+srXWwPjThuU+Bmfz1v7z5vmzAP3syU1wIhAJ6IcTydpTa6Zq3zDlBMd1tNMrQu6C7PKYmwZgk1UElI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mIsCRA9TVsSAnZWagAAHNEQAKFbDvxSshb8pLRW1BzW\nfMY80WveQfozWtGrL5lM2+DxRKlZLEfwRkrfp4N8eer0FTs4HCMyU7kD08Ow\n30FAmhYKoFygFABMGvp0a9MNDaoReVBlhoA4u/DtX4NM9UTF6B3Py6y2OtZU\nKmPVT4HxQSQTSvqJ9vt9tbjxziU1hwrlC9TQyYSDJYtLcg4jQKJzZbLR5Iw9\nGD5Rdd+Fp95RFaYouMhpSV3sK9I/XH8a9AfWNIEB5AN6VZphETJ34Besr8bp\nl02VPsWSe7DE6NibZ0AlXZ57BZBE2pJ4Z3WpV1Ma++aaTaDMGiKJ5NYr0BDv\ndhEJCyEUpE/IDpfOZ0TbK0g/YEkIP1t19y5RtKdB9feuJWwl+gsQPBIdvx7C\nB5CxEp7TYKx/V4KKOwjzv18e/BhUlw+wXZRYzfryLUfxoS8V/5YGkjtyTlpe\nbo9wu5b1XE2+ILLjthRG3VM+uyJt7kGmJX1X7fwkQsFQZqBOTYOmHJP4UPSe\nF2moclvqpO9gOz+lXb3LAagKDzSrEk4CtOInLz5+Y4Uapa5f5yOK+PqkkA8g\nOQg8wNh62lj4y4LfxY3CZZ1xZN1+YJuiLk4+Zy0mRMlVrPsjUyW2/kkM0NyC\nTpx3i6IaAftIc99JIPRJwxQCFCOLutJREpUEKPw+fp3m+PzngB8JaAn4BRk+\nmmiQ\r\n=T5Dg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"262bd66825aba680e1cfabe200ee57e8d64abd7b","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202215113950"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202215113950_1644061228437_0.9353521761455248","host":"s3://npm-registry-packages"}},"0.0.0-dev-202215114149":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202215114149","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202215114149","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"41835a593a689d592f3f59b3bf46ccb840c7d720","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202215114149.tgz","fileCount":19,"integrity":"sha512-z3vEJXWd4lEA+t0iWm6+Tj+c3SsCde1Ls8qHDi4o2DYavMnebecrYgSbFgkNmFE7uoSqTNxYI8p6zDwm529HaQ==","signatures":[{"sig":"MEQCIA3e6O2A0nk5Cm9n1FkIJpuF6/Ua8nyfVd0FyEZAnGknAiAF82CE7QbdB3CVBS8EBCw3wZM6+O4Z2wwQcTkMkYNUyQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mKkCRA9TVsSAnZWagAABhAP/jT+X6tTlEvluWBdel8u\neTOIHu4KvYHP+8FH+NbpAEzYbfRyBDpOQPP4Mic7a/n8RUfMbIQrvnIx9uMw\ncNVng8uaBs2BvMt940qd7AFirCMgOfc2Q6CFAkgNf2QOk+g5i1nLz8qwr4x5\nqPfN1iyRWSaC6fFfmRcPhAmcej0ywksIMIlKN8lboyfAVexLU7hQ7mBZPznx\naS0LTdmnlo+Zb4os8xer5cCEY0nqQtVUJWOTh3pYQdkhPBUeoVieQ0emWKdV\nFR17uw0la/SQtCl5jyxPjcMu1bvW4GVDZfxqHVzWdWfgjRgXBHd39eFcNqTr\nCzD1M1NGvHX3MNoaLPWizKewSWHtvT7p/Ozd2A8l+Ct+dUQ2esyFsp0PS7FX\nNW+xSXJvo4Mn04vejive1oU9G5EphwN2CoGt3UO7b7JvY8kLgJJUThTcAwb6\nBnRl7fM4BvYw2py0ilUhsO8ibYspJYTa3OFZq8LC03j76vV13vg5UGInJoMT\nm8PJB8Gu611cBNS5tvH5Qi8TQFYDZuz3Fulctq/2i7hjdeV3UXjDiKO+V0P9\nxTxAnjXO5+ZJ5ADKVfIAvf8NZ6TnYREISBVxpOGB0+anjFwdMxYu/qdlNc1M\n50xyLKeO57js002cClcEnG/nplyeWCBWYSO3riR1amznJaS7WT6kdNw6c3ur\nW8Lu\r\n=t9Fd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"e390806b2603abb97fb5e151abd46710291025d9","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202215114149"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202215114149_1644061348403_0.08519055959417066","host":"s3://npm-registry-packages"}},"0.0.0-pr-202215114422":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202215114422","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202215114422","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"74a18882dbe8ea4533c628b5869702f83c7e93d3","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202215114422.tgz","fileCount":19,"integrity":"sha512-FekH5vOXSD5znAdRZ4/Xgzmt7UenxiMJY5Q+8yTOLCkntaq3Ot8dqatGb9zvazPdFhXsFgZmNeUo+9eHbHNyeQ==","signatures":[{"sig":"MEQCIHLZJiJlPUsqhIeWXBLNYv5Jvutp9UygO6c1UWCoN+qxAiBI1iICnAipbxVeJRldzG9RXnlGLb8h/jjDtB4gjx3Ivg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mM3CRA9TVsSAnZWagAAvbQP/2OrA4vrKmz11FBi1POn\neFw/YnG9JcxzvNQVTZ/50J+GSN5n7rupp4/QnK9+c+6FhF9Ls+dPfVU42yFh\nSVlykvysvXJbEwhTrDk0Otpk9UCVpDI1wBxYqzBWYgwUvASXWuVnoWpzKzl8\nDB8jnSZs0YeycDrotqRrHkGDyxnCD5gIRA9yZMmLrl4xsW1H4yqkNUT4Dnmm\nrbH72E9RmESkPNyQyZk5tpJGYRx2eMEz2MCEZr3e4keIGCJOeyduMWhWYkfm\n5BPdEY/jH1XbrMC2oMNpFqNecmwSL+4bzwj2yEBsc0XxKIYjiM1xM9FqfHiE\nm8bLz+S3dGW0YEa64/vjL0pAO+SN9Fo8BvPAJ7DjU+iBj4R5WCP1ZvMYqHxJ\nRHH+JaXVgLnmKrEoazIb2ki80TUtWmBC/fG82WTvEb7vuwGMR3v4c/+0DIUh\nMfZ3QBQsgFrh6ZIg9N9Q14zwAqALtwiHsi5IoMbGFNX1xNzFYKWnv6bZx4zo\nPNum9sYlecrXz3z3ElrQ3PxMDFbLdDKWxWstS1zPx/U7WePnGiwDxHujDpZa\nFTIZ9evBQzORqNXjf3Di76mzNGPjPMlWSbG3Kq+d1aYMkE/LEFw6Y9Krn3sk\nhmY3X06HGwZ5ir9vPDogNHbE6DW6nr9Nj9EgzRq57+U/u/YxTkw1nu2ZiJ5d\nVNhP\r\n=wqjf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"e9f7f49d87feb32a355d3083a61447ed5d6e23da","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202215114422"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202215114422_1644061495711_0.845618387289079","host":"s3://npm-registry-packages"}},"0.0.0-dev-202215114442":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202215114442","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202215114442","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"579a8404bb36fa2be72f716e3404ba228dd0b4ca","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202215114442.tgz","fileCount":19,"integrity":"sha512-wfrBfsYRg5I0R9128hYl+0W/ShxShuvcZ6B3q5fXaL2iXENYzX7zl1sB26nrfqeMfHNadMtR+Wp7REa4tX7J3g==","signatures":[{"sig":"MEUCIQDRFsVnhIOG+/IzQwOONDZONSIL/Y2LVyVAsoMgF7LV1gIgBJwovzR8wBVMot9MVZo/XO6u0YyYqdaU9kMXCmo9pRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mNPCRA9TVsSAnZWagAAErUP/0O5NxczrW+RXw1UDTPG\ntELk9XHPOThIuuS6drfdJRUmf1H7snIAy/OrilgnXUrP07h1jfLUEb/ELcH5\np46EFiA50RdPdYQajDnUtqnD2PXlFMYehtavdFY4WOwqOAF4cRx0Xgcpc0re\nbl0/D48dmSnYLFjItsIw9dMs25VIYjeziyyMPI4w/FpnZh+U6PtFg5dBVE25\noGAkcyJuHJtJxPDIdu9fG7kELNuc4pe0Dq3pjfSdS0/YRkZdQypeMC0MnDgx\ngBc8OVoHbU0KMby7ZpZe/KlqLs4WhQWykG8yh4Lfw9F5ltfMeqQVqSiM+SCJ\ngRTYE1gv9Hqx648C2yZd+D6xm/iK2zg8FZPSxOOL8QWP5MLVJ13L7q8RXLOl\nSCHSVJPkCqRU7h9D+1hkPmQ9tr5zDBXDsARnfukMAlC6KJJ+7yP0iPRvhTot\nYpv6YWQqlxQZf6oTwKtuS9rDR6MJ26FaKwDUdbrLZuJOFYfYBLkC72fnV+1u\n50L5zGWJm7mkapeXBSigcm5LRjZb0OquWlGo/Y7s+UnrHz+uKveKOI9AqHuB\nmkmfO6bpKXDEA7vjsL64BmO7kAto6w8aa2UhrQiOTOPKAcM8hMEATICQpfG1\ng6wr9OJVTrECo8KKLxWXMzcajJCMbkcIthD2GV7yL64oOYREHETWDbuG5oke\n1l/e\r\n=l8/U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"9d81c6de9ba2ba6b02681d5bedd8f7f5105a3e71","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202215114442"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202215114442_1644061519763_0.5233228694225387","host":"s3://npm-registry-packages"}},"0.0.0-pr-202215114917":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202215114917","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202215114917","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f1f89916aedd4e0dc2a9a9f6eac9570003b91a09","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202215114917.tgz","fileCount":19,"integrity":"sha512-zqrPyHMiJFT7oXXF3dM5jac7OMlpaoSrk/QxXX2HqbEewFHG45qTYnWYOpfMWE45bItH3o3M1cCxUbcdtMA4GQ==","signatures":[{"sig":"MEYCIQCu0BXqdtX8kf7oMN17XcZaJKz7jvmuYzQ+ptRTPsuqpgIhAKrDX4R75Om/bFo3SMRn1jPj08RhVATVTqtVRBbGu0Zb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mRlCRA9TVsSAnZWagAA1REP/02kScxi83GRxSMyqIwX\n+SHG2ejaYvAV1I+RlrkpP1OBE5oJ+q8dHrpoPTUMl61KbBb4temwBXiGEdVC\nzPN2XgBwj8Qh5wyxvzrZKq+QmDCzhj1QOozQQ3KZ4Sowci4md44yJK5MtnHK\nokr236awsS29AXXe4YF3ysA0Uutiza54alt39NSBKbfFZrzh5R4ZEC7fxpVS\nd2oWDu07+8veLOGW8JZN2ZN0r5/XZDax8LrFvCenQ0zmsNpkWbh+GH9Ywhx/\nbAvRsdA/doZb17Uub408uJtm/HSFpw8JNGGTdgyY6edznHGVQMgirHcnjsMX\necPeCgq45O6q0chlSJv792RhpJOhr/F8B0yWwHAMufbDyF9VeoqqJ5JMDW62\n6XXnmbY+ZGlEQC/I5p4mn3YlroG6qGAUKtmV0q56PdVQ1QNcyw+uuVcY0hyY\nTUWqJy45QJPflevi3CCEpQCbfrJRLyWmwGRvmja2dhRhquiujvhr9uKw1L+2\nqLs/0LCaSgTVVnzzqcQ4Kgj3V5cqQLn33104C+XIgU9EhAWpePqZFUad9Nt7\n/l6SkupUF0/HGZdlz4FjmFXkn8NzzO/fS2t8W2Mp5j8mNV0Fk7YqvelpVVUs\nYLsONpTJ3XfZK6qxIlJskL+RRgy6ftWGrl7lk/YMkuovOeGMP7g9KBfia/mN\nScUX\r\n=AUE4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"fdfed43beaec88a99ad8963588cb988d8ce03d58","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202215114917"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202215114917_1644061797580_0.8339021277651315","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221512346":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221512346","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221512346","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"eef683ed0bd106da9a581c95603f0dcc6a130e23","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221512346.tgz","fileCount":19,"integrity":"sha512-qzx6uLHSywS1XTQV4dmx9bdot/0IlPpqt6s84cdHbtj38DqwTjur+oV+iUtaEpax7cTn5KTezhheYeCbvoFFGg==","signatures":[{"sig":"MEUCIQD0h1mQia0MU6qrqC85uQOPDRWrVVod1WeOujRmhoW+GQIgJcaeJ4P43Yc1TBYnmDx5yNTAlViJz2RkHrsF2zlh1Xc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mfFCRA9TVsSAnZWagAAVxYQAI7ZKVfWWvbLmHoBlpyA\nVniik3X1wxixvsRo9VqJ5gZJ4ewHUI3XeF6L48tUdyOs/Tgrya7e3OkgRII6\nqXmQrSvsiE0bq/GNfuHAwcWgZlbz1ttR7eUilZaMwAlxp8Abx8ZTpZva9tVk\nOy1ggT0xcYH02IMOscXE+MLIATxEzNzNzo+GVlUJV8LREPD/i+BzP+czrl+C\nneCqqom8DFN31XPhrOXtyHsWDDMJq6jY1I3brTHrNJ3YQL8jjBWxZbHUKRap\nrPl0x9O44s86TQ1rsuXnqkZwyHOltNEX3GpBJkiDuYZaURbfr3jIevtMa7yo\nfLsWOhVRye9uKE3S6h27EdYYeJB6HdWVdHq7hHIjIZ3V9nbd+anoqlv5nZJa\n6h19JNURnt+agb/pyZySOqWFWAhpvm8HsfUn8oZMErTrMEvh1mYnCxkQ80zS\ntMLV18JLSaO17WBRbE7tKfGMf4rIcnO4RAn3JcDSokT0gEmBCvL2sHrvxCt3\ncortDN1+7wsOAz7rkVuFFch0i44OgSubiL5DiOZsaIK/cIhfxEpkVAr7urw6\nRNFqxgjcnNVpS8Wel0EToJT3F3Z8eox43Kv3soH0edP5VlXS+KdqPAcFWqZs\naIm2685zOl0gMuJcvACMfkwuXct03ODmpIcubr/MMg4UrePCZj2qqpsaLoR8\nA+Vb\r\n=McvJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"8638cc8ee0b9a375eaca24a354e8f290f8f2263b","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221512346"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221512346_1644062661208_0.10524425527945902","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221512130":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221512130","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221512130","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"779b4f653a887e0d6e156eb62e2f8e4cf0247ce7","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221512130.tgz","fileCount":19,"integrity":"sha512-1+EI0oNLhLQG7H0iRg6HyqSQJoJmN/daGsfqTEJZITv1ftG7gIUEHtYeYWpSmaFRAeaCCSmVAUENSgxqa7KdKw==","signatures":[{"sig":"MEQCIBCpwawaa3fXakgZ6U4VR9zaBWEyqcODilsqJxMCR9fzAiA5RU5FWLP1pmCMh3O9vXPPjEDFgex4SCwdEf4cR97aTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mntCRA9TVsSAnZWagAA59QP/Rx419h5A0P2K+G6wWiW\nGchLhMxcVkKuclbsIxTpnR2A3XCkYTJ0pw7nIxklrWqgD/nMUV/Y4MelbQdn\n7oNBQ49my2tO5a6u+CjvT7kiV1kPqcaZIk3i4ZzCV9pioOm0Xo8MEEcLKlOE\n8EqCWfX2YeMyP/q0l1Vh159UEGYGNYdR4zequM2Svj0bbwjwowO62vaDbmL+\nsnXdaWWm+I7rHEotVViw0y3tmJd3MO8Kv20Ae6GEI6blLh6pPK//Uq3iQ+4k\nqyKfsVhDOGLqbhAWAvh5RWVXmIEhE+dzm8PHdbgBxPFYeI3M1TolQ8gz3Jj5\nq0kqhJcB4VDXV0D98PjiNasZ7l4dGnS0L9TPDF0qaLYVuQBnxtSZggDzu9cw\nc7ohaBY4kFuDolMchMFOBOzb++a5En54Bt8/Kq6/B40eaZhIC8fmZCy8/ika\n1j6A8giM9LPTdsBjE5j+vis/2b+ddD9H03fhYTNqgjOQD2BXcJ/gTfHKdQwp\nXwCRBypcrla6+V3Yy0mddwAqbGywu+i7t5gGulLGws5Cj76uIKGyNqAMZ/lN\nbbx25kZ580w5+PKIoOu2JVin8b4Hq3JMo9XLAf7M0HHYACGapB31ZO7sZ9+K\nssvjlwzcr7EKpVw75IOmUwU0pK7dqSwz9Pt7w/EDGEVoRcPxKCsqYJB8aXiM\n7MJl\r\n=DWcA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"8638cc8ee0b9a375eaca24a354e8f290f8f2263b","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221512130"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221512130_1644063213424_0.698417056799076","host":"s3://npm-registry-packages"}},"0.0.0-pr-202215121320":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202215121320","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202215121320","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"4add513ee84e73d8655005d1d5df77be0f9f1491","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202215121320.tgz","fileCount":19,"integrity":"sha512-B8JPs+wqX2fThr8YS5IWPC7AH0NTVwxTAr0nrdGkELBrEC1G6ZxUKOeBjUIP4gUsu+xJVVMvQF9JZsN6OQm9EQ==","signatures":[{"sig":"MEYCIQCsNlYdhtck56e/p8IW5rqC6cacgel7xVKHLhL83fHyzgIhAIKFPWGih4dACofZBghPkfwN+F9scyvlQzp6W20FXhAg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mn/CRA9TVsSAnZWagAA8LYP/jWKGbK8UBxN27CBisi5\nGa9/4fdXufEL6J65c761VKrlqm+ZXHUCGJtxHbLIxs8LaeXZnTlrLgeK7Zsm\nmbIfszF+WWWWgUXPtH9iAA7K90R6vNjYTMa2EUR8UQmGASX/Z1BTj8DVNBSv\nRyQILr9BxqrIhSN+ON73pYcTR1fh+VdnHGVtFv5XZbQLdkcbnPCTPe2maF8H\niUYc+yu2L5jeKTm5Don70krDRIqNWlr2FFJNtYt0/xdXCaA9pIIjciVmqwlc\nCgezbgCKQYL2t1pvIK+wdf7HzA8WB2vMPf6V/5UYYpbh3lpYOgf9mh0cxaGA\nJSS59Ylf5sxKH5nJ0YvxcgLl05UVBA50XZ0dC6+HZpdjC6EveONR3T3Z90FN\nY0Oxv9o/GFOC/AjsGz/bt+y5dPi+jgTJlJjqjfRZqvCFBYl5K9EVGAZDpSWj\nOhTHvX3t9L7XWw4osElMkjRdvH6Uzis84t4FYiEu2jOzT8yysCv46cRS2WoL\nyMXHlENuFtnA707nYb/9hY64DwvMbKx8VCBKCuOcXnUImxiq5zOIkubQbA3x\ndYNohvxyzzHU+rZ0fR5AlABEIHEHx3GfUdQTkf7+iHZ/ll117UIX6Jt4VcLc\nE9pliq7ru8yqTkPz33gQL2rv9iYE/Lem6P+nN9NHD5MbIgCo8HYfl9/6rC6N\nADtE\r\n=F3eZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"8638cc8ee0b9a375eaca24a354e8f290f8f2263b","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202215121320"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202215121320_1644063231466_0.33691351021315263","host":"s3://npm-registry-packages"}},"0.0.0-dev-202215121353":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202215121353","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202215121353","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"18b2991c04b0b6be2bd9c1d077cfa0830a045547","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202215121353.tgz","fileCount":19,"integrity":"sha512-h2b/40PfWqbhC2kClhdv6V/FbllwXFEX/7jsfi6fx2xUmD9dyIQDzldEahR3Pv+kXmqaUQDkjUnvIR7OrVH7xQ==","signatures":[{"sig":"MEQCIAbXRlY1uFKL2XQqkRF+ZkBFLoZxW/kbh1F2nyC5mYneAiB3dppjTD362y71nH0VqbFf07jUOfuHfFoI2ddGGmeSEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mofCRA9TVsSAnZWagAAhqAP/3KJhWQnmd7P3PBmKJCm\n30V/JKhYjS8k7/DMLSSGhnRuNx9Liw8kAwL784Rqx/Fymj72R/5VW5F6S/PO\n+W5l/h/gEe0H2ps5tt8LyD4kg7ogBcodomRzBkzQiMYqrkEj8u/4XKvZ6jVi\nXpeMWXj4yjDbd9V+Xa3IXM6wbdpOT4krdJXrpdVTHcOwZ3ZUrRfLC+XUPtUf\nXkY+JrYa6I8Z77y+RJsuLN4XO1r/5+D9ndKQyRC/Wa4ZYtR8D4RJ+m15qKFn\n6IPpAk16aVKZ3Okv6xn964pvF49KQzfOm00g0BPscEMG1t+MA2Jwl4guKIq8\ndf6bMAbB6l54tJCgmspZrOuQTHSxpv4ir024Sq0vA34/PWnRG7ztrXdbdesD\nEVADxkjJmhIpt6dAatenAWbh+9RR2yekI4qV5hA1AuObepx4GVOHwm0RZDLs\noWzfqK/fEy0Wa7znZ2ZJVT96FyyQPcuyL3DtVqzZ5hZRYkIgS9DuA79ngGrX\n9TrlY508V9uQkqx1WU/aum0u5mT8q/ikFC4quv4aePPySnSFobGFc+hncAPt\niuYtFA7DbaCLwiesvLe6tcBZauutX5bPvQIe29/GaGRMKj/ek49D9WkWl3FC\nFn1IiPMLvS9DzsRpA1cjr13bb/5p+hgv3Vqot1kESwivZEAhJSYr1oYqjzqy\nWNPK\r\n=s3nH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"85aec4f7abbd7a289e7ad82c3dcfc465d84184ed","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202215121353"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202215121353_1644063263258_0.5236663483247437","host":"s3://npm-registry-packages"}},"0.0.0-dev-202215121428":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202215121428","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202215121428","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"0982756d316921efe4057dd0f24a65722bcb4bab","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202215121428.tgz","fileCount":19,"integrity":"sha512-EzShPjPvO8qR78XhdSS6uuvpgrYT4eDLLt4nDCJ6T0if5JQvPgAf5GuUdDI3yA+aDwaUSryZNBBKGVWq92j9eA==","signatures":[{"sig":"MEQCIGPZu5QgeQh22N5dEug0mka+8fOwYCawi93VX5JXY4wKAiAcTBspFWtd8S0JYbZixIVVbfzBbCaHxKOpP5zW0cV5Gg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mpACRA9TVsSAnZWagAAD/MP/A4XxYd5T2A/IqqBLHmF\nM/qaB0DIHysAiZk/r/jbr8X728Z2J/K4GwKs97y+9HUGUfMri+SjlYwxd1vU\nuGWHCthYxaUC/N8un1NkQMpZHiQVLpXzS20xtU4nPjBii5kKSIJQ6r+1KB2n\nv+EafdpPv3U3hQmaoN9TRzgSxQuZ/KtBw4aM+rDKdw1NpLEKsgui+K73KDfR\nkxnVop+KaP1NigFM1S9RgMeesE0vdYmvrCV2IK1QyZAZp1BjI7ziHfF9CAms\nT9bVU2sv/QD6Y2+GzutrwJWOATI12gSVJ365Qmhya9VKhITo/sWdRcVrqj9y\nuk35eMz4ncP52qectvfEYCdqcMRACGG81tImSnkxO3MWSLQHXMCBWPWAWfsI\nbSpJg/rgbW4RCLnsOTOxxbx9L6glmOBkyB2zcI6EEBJn0lydwy8OcdNCW8C0\nN5v6zoHjrJed5j5Txc2RpqZ66RxrZNI9ZB5NeF22VT/Rpqj1Uns8nTSImnbk\nwX4ahn2+9Hb8HxR5WrYyWewPWSaGFRWywQGiMNMqVXw3HPAkgHBS7r3q6jVD\n2/Zzp5Ol7VT5e0Te8k4NiHLo/ScWqneUAJJgturPsC7RGHN2Kr8Q2opFjxUR\nQKS+gncmdpeU2Zr+0NlUcNk2v+HjOrC98CzxaSggYDkUslJH7fMxteFFsdkm\nk9so\r\n=20wC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"5df03dae0203f8d26ef7213b66e0fb26fb6a69ff","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202215121428"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202215121428_1644063296215_0.12728935599229851","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221512173":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221512173","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221512173","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"c995563fc6579ac4a5e4a4951609529d7e477ade","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221512173.tgz","fileCount":19,"integrity":"sha512-gV0ITIr/Gpma+w6A/MakNkXXKQjlLVD9DjCGSD583L53LVUXls5Oohp3ZE1Mku7BHjVfGtQfNvvvMkCx8ef7mA==","signatures":[{"sig":"MEUCIHQkIBTzCw20s6SpWawYoZIIQmuNvWFqJ4V+h+yThZvdAiEA1OggC4LxtLaJqSXF/HjeTesZztQjiecXXHJEAdSE8xM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/mreCRA9TVsSAnZWagAAQS4P/iOT0x45PIKCvZPYqCwB\nm9IiDJFJp7CmAiW2njK6078+63mOQxIEEVcoiSZ0icvqK7yif+1YA6Lb5Zqk\nAoKe0avLSHev8NoSZOIY9PXhASZTfDAduVDTeRykEmLg80NNJZooXlKvhMux\nSUK/iPyVnjNZgtxir7jRw+VWK9u11QsJFQN6SJBN588Eg3Cp1J47ISDGfTye\niH77MBM6lVxCYWvzF2CWkM5D92c5701RSkeMCnIX44JxnZCob0B/mktrCjv6\nPDPO9H1ql7CJiH170T1fRsL9cCL61cgfwcTVrQk19O8lSZammgITurToYTYJ\nfWOJXvVldoO99rda6EhbchJEwJX8dsYQ+502L4IxTkl1ga14o5at547vheeR\naAmXwFAOpQxPOEz8ktHRrLMi90e1w8BuZSb+Zid2PEMNSj91nlBx+Om7JM+A\nn86Vo3FgyfhEra/sCoRAwozvJdfArPHwiMHfOQJK3CCTj2zmLmmfz45/mvsc\n2IMUdMgOGIkGnx5/wmMA47Ap3J+bkEd2jYA7fuwarErvAmTbjXx046Yiuc9t\n//zNxdHSHtfgfU3axjKkdhVrg1wf89NZxyUxn8WWpVUrfKZm7TMIZ+R37lxj\njlS+rSjRqeAr+h2Jdf6Dw50NlYYjnACizdKEtm4uF5h5nrwUhbnj0Xe5fSXD\n/J20\r\n=XyBr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"f6578a1b76546c9432d9bcf06acead17d68c62b1","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20221512173"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221512173_1644063454118_0.3207682762845294","host":"s3://npm-registry-packages"}},"0.0.0-dev-202215122415":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202215122415","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202215122415","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"6b6f6ab77cd4bf10a80cc5ea8d866af547c59a20","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202215122415.tgz","fileCount":19,"integrity":"sha512-JEBSPJVZcyL5r3wOAeovcgOzsby/emVDdFnWPA5ECEthTyoY8o8A6GTlXl7zsHiKd+BUnj0Uxlg6BQMKVvCILw==","signatures":[{"sig":"MEQCIB1z9Z+Nr7JfVeRvVBjOKTUHFGJeQ7vQUrYEkCb9qrZmAiAyvDgVxx2RtgQr2wofC3vbMBKS8hjqKjq9bEW648Gcfw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/myUCRA9TVsSAnZWagAAt7AP/0NjGm32mQ0N27wBoJfM\nyvP4/qF3J5TKQmroUPKhndp7AKiddCl2T66pcXnNeWA8xKB8+3BCPOnzvEjJ\nW3xw1jxus90dwb7bSFgWFBO5l0mJzYgvp0fYiGb9MJocLfEElETCIZh7Jb5c\n12x/VCXerAZP0SqhYqayVA9Ig0AOB8sprs82hcUPrrE96vCWADPUYJ98UjNi\nIGjkkOHVfcbna2X6dy37P3O4AKt3uh5vJyNQ+nFQY8uuwXMnzN09CFwrRMO5\nzJMLwalC++U5kGvYQgW8GwJfJt5PfmeaZJtIh3x/hIQP+IzlazGG8/ZxmedY\nZOnb+azQsgFCusqlye+KAd2plRMReQppssB5mYWoOMK5RpIyBb5CV0PB0+a9\nQGqRD2sgwJd4tt9WWSEp53ZiKfLUFcTfBirxXKsu7igssfQwLWC3wD4uuOdo\nMR5kWfPL40ZwMyMmvND5K6Vmgw+BzYKCpdSv7vXdBqf8nQjjzVsTpq2dIaZE\nAKoz5vKKsARpg9XI4U1uFNlg1Q2vxI9yVcKbmxv53bIEvkAqzrt1Wlo0/GmL\nTz9EKJ1LjKdBpQFja/VEXX8N6KAURXrXengJ2J47170vrnx3AKgx1rwMxhMg\nipnB652GdB+/Scpt0istVC8fQ8JRF0N9cqYfmb6jpr2qhWyr2WFFbSXj5dVO\njz9Z\r\n=8mAI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"01a939464a28d20ab27b38864dbc5a44078d7314","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202215122415"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202215122415_1644063892587_0.9819453716343038","host":"s3://npm-registry-packages"}},"0.0.0-pr-20221512359":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-20221512359","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-20221512359","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"677cb919cb07164454fd3612d33fd6c2087b0b59","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-20221512359.tgz","fileCount":19,"integrity":"sha512-Qtoj3RpebKssH4QcZEOELr298zpu9Jsf/XafQT0+OZcKABF4n+juwhP7fFxqI5DxqCuZ6WYT3/xeMMjczT4EqA==","signatures":[{"sig":"MEUCIQC5As+UUN55oh9gwJ1T17Vk40rwgSjtF3rxJFO3b6G4+AIgJ8tMGyheJh0g6lwEcoN9q/lzUdFHmndhjnQ/kG7CBJ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/m8eCRA9TVsSAnZWagAADPAP/jxwZCUx/86advAazX3l\nRn4B7GLT3cJ+URQpqMbuxzob5GQ+JsmVIgIXOTNDyHmm2AvJoj0mt4VSiDog\nryEXZYWmuiwCXu7Hpn62iIKcXE391DxFC3kbiyJib8IEIRXg9cOQvX3up5Jl\nbQQy0jNEV7s6Lf5Wlg2q5KwpwFXSgPLDdwY3DZDgocx63aAvcQN1M93giMpi\nU8wVorrzQPPOplqqTHgizMld+KOrXyLmqp+dAQIKBfcZRmmeR2GnYN9aVj0+\no6hMYPFqF/a24X7NLdQ+zpjNW8xbrIkX01hV98jTyIW4sKPys2VETeT/3oAd\n9gjiFbioJr69rTasDsEMnwW5rq4bSFuxKXjW7XBBnwCeMnVI5LaLdKSAJtaW\n7LOCnjizImz3PrXdYeJk2ln8XefTrFyLLXHlkHwbXcVDm0QJOVUwXxeF6cG3\n+i6FLW53dYvTK8MSXY3kIybdno/gRBNfAZ6OfMymfna6eWTo0dLGgtNsVT8b\nMiHRGZsFSfFUc1F1BrMG/95Qz16CjB6huTGrWWziPv45CBvO5SeAeT3Cjm9s\nEY6cvIjAuillx3E9z4tMLg7Im7Umz8EbHEqZ3aHC3MVbAHefA4EM5zKCQ6+w\nMmIcRWUHOPtIV9cfP7MORWYX8PGsaBOPr84izpUWFr/nKeIEbwYvMbTlzWpL\n/BD8\r\n=wUoS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"df779e921c2c95e0cdb5dedbd4283ce7f149b0ce","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-20221512359"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-20221512359_1644064542646_0.3908279136003252","host":"s3://npm-registry-packages"}},"0.0.0-pr-202215125733":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202215125733","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202215125733","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"4021926e92b1477d6c3eb9950e91d5c1750f568e","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202215125733.tgz","fileCount":19,"integrity":"sha512-pc3pMkONR9nq0BxY9sb+Mn/Fr554KFHyYUh3A53mbr86tNh6GQtsIUTWPiJs5Qvxe5SJryXiRVGN7+Ws34xW6w==","signatures":[{"sig":"MEUCIQDk6blFRqDy5UgX1Sv9heb4Z7Lmc1bNXTyfW6XlB5lSRQIgJGfJhVyS1NzDwO7Y/mqBmZzSJfQIsIcjBCtOVDoGjXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/nRfCRA9TVsSAnZWagAAUNIP/15W2WLcyirViJPdpqV6\nVZjnUbd1Bcg156hEKbtAwpHd+gMXGpD+g6qxM7uAqvMWo7oxtTdzf+lZXgVF\ndDhHH0A/rWsPXv2xZpa04wId+1TuHwq4OZgxkog6BinYB/wKg0wpAXFbaMwl\nHst1SQvYP5mUwtP1KP3Xi48zGaknPfJfH/Ph0LJaQqcucq+pXdBil9ixK8hN\nXuHWdbUZJVkXmOqOU19oE44rOCVKr9b4hCvxMssK7CMiB7LzSNrxJCygD5cx\nyImDnQqcB0yORGfWwcf0EkwGgLQdiZeEH8mWabS3Lyota20/0Hqc5ImCCG4u\neaao+MQpQVVcleiECSOgK6x5gMJzN3NDaGsEVgugYkQb67FXmLwlfqaUU+ec\nPDVO5U1hS/dcPxENsci3NwuT0xkJRaUFR96DZZM3IQpQNJz9YQNsXdrL6ty+\ntLlvJyVvbKQbGAGS7F2U8h++SJFCfKK//m8DXaYf5OdokmC/E9RcHFbGs8ZV\nOCwdhbPRU1oxtFB4y/th3r+mGF8qfoZSQol2eGEhZ64knkgXAn2d9IgWdPvu\noED9yzbDTILrR3+D/PjlwR2GCMulzDjnVFomlBJHH6i6CB0jun0+Mq9IfL7C\nGAaIScYZymUNz7tTLrX3UwtIVSmZOUTb/4q5UE8+YXeLNmx1ldtPbgexc/m6\nFBmc\r\n=PrgW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"5ec7ab0c37978861b0a67e7f31aaa4157f05cc4d","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202215125733"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202215125733_1644065887017_0.7801531253115084","host":"s3://npm-registry-packages"}},"0.0.0-pr-202215132532":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202215132532","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202215132532","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"7cb1beb39e221c1fbe2a118545ba942426dc6fcc","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202215132532.tgz","fileCount":19,"integrity":"sha512-PKpwxUQO296PMCa22KWYYpMRYgSkA8t6LvJzAwiSePKRErGQ6cktvDXQ7dMFYfZX1oqROlY56l0Kw7igaRmPWg==","signatures":[{"sig":"MEUCICWerndND3dZpKHawbPXRw1oQAHea/nwkeXhF26NJpI5AiEA/r7CK2DO23n+2Zap9KQqppSo9toQ8qaIw/GEQEZYjtM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/nrsCRA9TVsSAnZWagAA/xoP/3z/1XqX7h4jdftH6MtL\nkrcyc5MjiV/JNsB4nWQrUvFSsEJzAUE8NiawShAC12WUp0kfVzmfF0pJRRI1\nV6649SGZb6t/ZqRqI1JwuBdmvVxDqVu6WO/h+TfWP49CohXDurgSxMJjlNm5\nYNaKfl2M+1uUM0xA+zdhr72pNiZ7+4AVDp6cFVmubgkIhWPjHTJEEC8w49tj\n7wBkuI+N4UqcqnU1hO4j/x5uB/i+2yi00wgeYoDQxrw9nWodu38xoBdNt1+0\nwHYTPxto4npat7kMgWp9GUw3OBivLpooj9XR99JH7x2EUCKyxappCEWmMcTP\njyG/sX5RRIJh/Nuf/uVhIBVzxyUnjDrr5l8bC8oxdbQEJaV7co5RfwiKuPLx\nQ1p/ZUQP6vBEihjFUkYlOnTwb6PdG1j8xybm6SPREGWw+uLYa158zaMloIeU\nF4T/uU0Lr31X5vJr6ldGqz53wqlFMPOy0QEVtF9XPcmA0ofIfmFiDuwyZy58\nK8MNbP+AqKsAlV22ZeDk/vGs76499BseSMvjk4yLyoO35RLMNZGInVRPZwBc\njCshmbu6HxB+6bzKiOdT0i39jY5f1nQzH7EQIN6l5FehWDy95ilR73j8ftpN\n6OHFxLAGGMfLso68utQSrOlHVUBB558Lnj4lZEI2fow2BYHcF3ecwEZwj5Rj\nAMJq\r\n=C7nK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"a503acabefcaea86cb7f40a6305830f09d2d6083","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202215132532"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202215132532_1644067564580_0.9028005244631596","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221513279":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221513279","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221513279","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"c7ead1534cd12af049622fb236146fd7316d7145","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221513279.tgz","fileCount":19,"integrity":"sha512-T6ZvGvfNxLhUL/S3i6t0pSMUpdBoNr9Pk3PTPBGC5LBZCXQDI7EnfEQWEO97ppLI8CLk4+6QaRGXgB6UA4lybQ==","signatures":[{"sig":"MEQCICH1+vXFkc2zXlgwgf202jhvYI6FmyFIP7tlD+xmAoQ8AiAwDT0sTAB35f90g7wziNw20wwbxwWBZpeXUOpJSxctEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/ntVCRA9TVsSAnZWagAAlw0QAISogE41Azd/DekRX/Z3\nIb5BO5IT3824PLK1Y0v8BJu5VL/C/vsTiy+Ti6XeNnoPlT1BIq9LIZF4n7QF\n23QTlPqdgXEqJj+ZPDSPEV9qv1ZrzInxxstCoPDwhYYI7PscKB0fa/zMQ/L4\npUKq/zyI4v56sRJ/o8jFDBj7u5ixY3esfAjpuXkCW+8bhCcvzkq1ZZR51PkH\n1kz4+qBdUPttkqrX6lBUv6PSwLC4tByNO2LEzHbRvvOljoNMyh3MUMWIb13G\n8pUmq5DjR7MASPcBcgpn8EoatnwiBJuJU43KSgSZ2+dff7p1nXc+nZGfQ8p8\nHb/9jIHoU/8KR8FjkfsWFvdoWqlL9KnHgYV447ay/goF5WgSU9kW3r08jIPk\no66Ij8qkLA08Pd9aLG8UORSXP8MC5KVPsmaRzjH66RahUT/tSzI5DAkFeYWL\nPA7bBrBZ0G+DKJCDwYk+r2DA5w+QJBqyewLaWvhOC6hyi9YclcuPHmDDxwqc\nfXZUH7CSlkAHHtGuZ1oeAlxqbUPsa3BqR45+YFbLvj1hj+QxvL2G0N1YY4wJ\nd0DGHFqqWlvRsLhK2LNftc0uUhJ2g6Ss/T75de0GXHgrjhRk01fRtl5Sxf/L\nmUlE0f8QRvknF0UNm670D2/uSONs6PWsw+/nVLm/b/1awa5nbpzKgnruFX4p\nAy+0\r\n=CsvR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"a503acabefcaea86cb7f40a6305830f09d2d6083","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20221513279"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221513279_1644067668876_0.776104325319102","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@chakra-ui/react-env","version":"1.1.4","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.1.4","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"62977f15a7ede52d5b99a1f0f526d2216ceb006d","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.1.4.tgz","fileCount":19,"integrity":"sha512-T3ABET1UUP8PAdE7rF6rc2Luo0xb539taFR7kES+MPK5Bmbu/mL55cj+xEKa2LSNKuzAVnvtmgWFZoX3V+PXsQ==","signatures":[{"sig":"MEQCIBK7dD4cDocSJ9q8V6mOjSOfIDMCZ2L4eO3VvBHDxZFoAiBn9Tgls1X6d9gN3ev8Ca/45J2vcfaKZF78ML22CwWtSQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/n1VCRA9TVsSAnZWagAAEgoP/jknKJNQHwd9S5NMTlis\nkQBPwst6fdcZGDGmtuLk5UscMYyNPtZ4PF8NurwJdcFy6QAFXKrBnDD4xqn5\nG5zOMhxCwxDTXohPJqIKJCpBklrLqv8QJKV1KBz+mmgd/sgBG8ds/wVqVNUz\n3KHPIz6MgGGsGqX2eEuzvxm4vHomzOzVzWyVNo10JjZ8M+Zm0pz79W2qBwa+\nMG725foWYBfDwrcq2UXho2xagcbYNgBnWCqU8De/JONQlO8nCqV2rqIs9mih\nMAC36UoziWxTJydz5xJWUOI9NNtZRvdoduaapPSUiNMASgpmbYzoHLklVz2f\n9oax04C10OlXx5+Ukw/oN6cpxun86avj1wg7PaQ3t65MI6dOSu01ukb2WzqG\n7kRS9K5KLndRaSIjkCHizhg2y5yVtKm1w6uof/fhvLv8kSwXZ03NCseExLKb\nTTzkZjTnwjqMQBr+B+r26hOVCxQzaoDx2MH9X4qJzN6k4+23qQlN9ZWPgPh+\neLMm3L9zMxzT2qCdUXqtVA7yZaQ78qKsXro5RF4FikWKahISGsqWH9Bl82/3\nwXd5KKq9WCGMPJ52R+VWg+PgzWr/Ejgmsu+gldMYg7Z17TWPgn6kJMVcMCJW\nUqPlIrWuJ8KJ6ozY+a0s0ehVyGyjWokHoccSkvSC+Swt8G8ZC7zAhF15SJ2D\nZJS6\r\n=qHln\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","gitHead":"5a6537a05fd2d5600b7ec51cce47e0a46d1cd069","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"1.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.1.4_1644068181069_0.7491843017543096","host":"s3://npm-registry-packages"}},"0.0.0-pr-2022114224724":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-2022114224724","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-2022114224724","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f7f9955c9665a6ca0b7155ed3db0dfdd27e588ab","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-2022114224724.tgz","fileCount":19,"integrity":"sha512-cUu7r339yinPiM4pYlcsDdlwF1NCFw6UvJ0kaolZUK25iIfmRFt0MjI32nbEtbWwEU+hUDBatcQc7erJZhu/Yg==","signatures":[{"sig":"MEQCIAn764AyjGjsKUEOQojOwC+hG4zzsuevNMkCJgLKXOp2AiBlBNM48kl3vrAU+/+gjhbHdsVT9WReAwXhZk+xFbIbDQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCtwmCRA9TVsSAnZWagAACxQQAJ6xUN9C3tj3sjEfEQFz\nPyOPWrglectMcFo9z/OLOxPmEbO2NXvQ5rXndN8uaSKO8VyQXeV+eOYGDOpQ\nLbHzk26guEl3Ey5kAuDmQMS8c/v13R0vM+aiIts1cCOIPUAGfah/ctajxHWq\nU2QowMJqhdCuuPCeAf8GsbVf1n3sVcYybagbDBy8bdC41oy+qMX1T7b7zoZE\n/W9xyZah4Fv4hThkLaBLJJ1iJTCRpJmTaLWL9F3aEfAPpzaI9pHh2SguyHcI\nsm47uSrjkQlVYBB2Ihj1Z0wNoogYfsmTwSd/hG3M2clmpgzKrSe+CoU/j4EQ\ncxSsdfEIHyv9lLIlpubIJjETjLIYqPlXZpm6Z+215ovgBiDiwp4qMwXGnQMp\nQTd9abE/OGNaODsXW/aD0C2xncc3FFF2NheeyqG2mxi/TUXiU3MUzJXgWZny\nfjr7MTzRHKZnMLnRxhsyPb0N/CagCcROMBBBIA0wzmIRh5JAPARRPAFydNNU\nVbj+LTMqA0ea0UhGoXuVnNx44H+/ykhTPmbFKGobhY2TtCATRwigxi8vK4Sc\nKqEkaTFmewVH3Rzp598fb8ajezosDPMzAWX/h24bezI+NK5gt+REwB9dVpgK\nOwX4A39OAG//afiTsniSKUMrCotHUzROxsq34Tq4bUL5jJDIi1gxyEeRkAp/\nOQbu\r\n=+dgZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"66e3fc3a07c77e7c46e5caab030e238f1771224f","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-2022114224724"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-2022114224724_1644878886747_0.08166492800072","host":"s3://npm-registry-packages"}},"0.0.0-pr-202211594731":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202211594731","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202211594731","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"49e78374c0e021098261f522f4ff40a5a96936a5","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202211594731.tgz","fileCount":19,"integrity":"sha512-x98mpmS2dTWja1npHHys44jsbjX5b314cY0aZ70WRYSOLRGExqUE7jMfLWhWqzDY2YTYDXHmpbJnf2s5m//Beg==","signatures":[{"sig":"MEUCIQCD2xBZYbmV3GAsq+R0sbzC843RfqSTq5SRCmD+sNU8XQIgDS8KDs3MQdYr1FRMZGUe3/uexX1tYiq+06IUOW13G4Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiC3bRCRA9TVsSAnZWagAAcecQAKH7Pt6Ohbj4qX2lssj3\n6OJ0XE/A2JLSaZyxVAHfUeMJ6KvRT9f7/MxELDcvDi+ajsRa6zITqz/03zP6\n2T3m7Uxx0r2WMFLsTjaWVRe4098BknW+s7buXRR6KNeYD2TCFy4blbnEQZ7w\nqTF44pHsyNnPG0hnldAgCXCLgkWIzCcN9tYV6qqscRGdltWd27guxHVEc0sK\ng6ym9IAgcBv+5G7faUrXtXmKCwqikFQa2RrxBL7gQOU+J3Fa6KN+CZi8QGC2\ngNPQ+XB35qAp9Z3EYP0FTadgBsfhDHBY8wLR92sfESa6i8lv3A7KYacE7/KU\ntOl7f7930q5LUczP1Fdc9LT0u7mazJzb3C67EMNOn9jBDxWKIReYf8syG1Uq\nLeUGq1LFo4g2QRX5n6AWYG8ogBmTuTaEmIucbA41uQXqnj/tIVr8YU5IjknW\ns3jZgW+yK+HDB8KcvEJOoJIvh8hW5PupYnVbIudDaQKaLNnlMjsN6SGMp1xz\nWIxmSqi4Qr1FJkEX2DTHg57f930cfpLET9K8ruz2q58mKXtYlGlAKFV4lRZ7\nFC3O23CDSLx5woOsSRuxvMm6eLyCXb662PJzPIc9AKQERn+K0n4JQrLnTuTN\nCsZ09E2/y6x+pMdAx7uDptVeFAOyvSiEVW7r34cxO3VACsOdbEsUoYIacVAw\ni+9O\r\n=1Dxj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"66e3fc3a07c77e7c46e5caab030e238f1771224f","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.1.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.13.2","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202211594731"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202211594731_1644918481496_0.12825278711826615","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022117131714":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022117131714","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022117131714","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"b26151bb6e786804c36247da099c6c51daf996cc","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022117131714.tgz","fileCount":19,"integrity":"sha512-/EbS2sZxIHQ10pXpud6lsrJDIPmI32DQUYvIGsM4ouSmQ/V895LyR9rIfZeO6BKuTGugWHP0FN7Qx3CFt15Zmg==","signatures":[{"sig":"MEYCIQDk0J+JGcpazUUtVdtxFRKwmOWxucAKkJ/AFQQ63ETE1AIhAKEAFMsgvbUJ3bHMMDwK4wBw+BPbCu5NoqoY/rrK8Ps/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDkr3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvMg//XxI7kpM4koMOWYDQ5G85tsclO67z7QQnN85xOwueJR7K1yRk\r\n3veJYWqDypsx1jkMSZKQqqQW4v+FtiSkQHVr/ncTr+JgtNxItGJFk/9jxi6q\r\nxKEBvLK4N3gmG11wkIlVK+KY52EY1bqRv9U9+5/wje4YZnfO6CIGL4ratdjF\r\nVBnI7O/eK+o7//nhrgb4lnHGTOb2r3ykdObkPt5EfhQ1Lf4KB1uueYsWcS2M\r\nNhG8c0ScnqxIqYuBerhAc/AhbWFEtLnh3Er6y1dwljDyebshh1NGFrNiCHPL\r\nL0L8N9CRsQGBX4ridcmfrcUI0msEXjeHIsQPfxJ4UZR8kPHhbm7SkDZOiTYM\r\nnb7jj3F6bvHncF6Hl08aYmHLI9hymFtNGWNdJSQxlak2eBQ+KYIZFABAhPKU\r\nId75xs7S1ESIzytWiNgJHgVK1+2uoVpqKsnXbhEmL5x7RMT9wkY8gU1r10A9\r\nZiWLzXRonWhBSn7ze2kOKaIrCfz+ExtCJOwkDy/GSs0mXhsjqhzY8i6TloBz\r\nZdHNkuWTWEc6feQ7mn88XIvbu7tnb9onTNj0EiJQGC4Xsuj4LDxa3DJDr+u7\r\nzxLsDN4ef9PI3MSsyY8Aebxsgqxze77iFFri37k/i8C0RHuHBVrweqB7nLlL\r\n6SCgf7hQJoi1nd2FGSjdYjPtF7KyzWJRnCU=\r\n=xb4w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"a870e6b94367b7c6448d5c5c5aa8577e33e15e3a","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022117131714"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022117131714_1645103863080_0.9705290665425086","host":"s3://npm-registry-packages"}},"0.0.0-pr-202211713187":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202211713187","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202211713187","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"fb2b4c305bc00c0ce5ce0791695290b505879f3b","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202211713187.tgz","fileCount":19,"integrity":"sha512-nKkW7YkuxFgroigAFZ3QgMBvdUGLV1nX8mJbjm64kYOTVOeQFXVk4wjwQ0uX0RAn9Dr5J0nCRYcUhB0H/nd0dQ==","signatures":[{"sig":"MEUCIFnqgXroUXSj4tpSjwA83jCnr59PqijIm6x1H7RqEBhkAiEAxL5agDaYme0ZJZsen/IOdjhuEVBW+G+Qua1owEwUmxw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDksyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrViQ/+MTlCzpRALaQhX3TEXH4PUF4jJtdEccMeCCVwY8JILPYXiw4h\r\nQERZR6q0EA1rGp057h0MpiLp49vqZhnXlFHXjLOyivqyoIVXl+9HyQoMHcbn\r\nrQcLfqrACp3955Zce1cNLtUe3lJDpMr2psaqo80r6b53spuWslS1PsxYmadH\r\nkcpz3OmCckVQ69oYx9nM6vTntzfbWfzWfuGsRaM1niKdASS/gOfCfMvy6wOk\r\nPRI9dmzdrmsF8KeZVRHv/AahEftu8loficAE+RDe+byIVf8CXzZJv/uqyjdn\r\nSlYhOqE6xxv1k9DaZsN9IzAOgZaT9gJekVVYPrPPKbY/mIWEzIeiJo8VRiYB\r\nkTgpF0oD2i4QB8ZISm1211HhAHHBcXbxQ4goS9GbR/lLd6uANEEnc7qNbF4s\r\nNJD/CSO7V8y5yGvqo9qPVQUPke71wVJeF//cfq9rzqsQoebo0N4PZkzw4cMB\r\nNbfxVk0JxGKyiBMgK29DkjnXjnjRqfYg2cuLpSUmA5hV99EzMgftL8pS9+69\r\nYTD353YzGPG2r1PFvZWCqsDisIPcnYD670hk+2SqSNV9LH1lQ7DusYcTWLhz\r\nPCcGipe3X9MMFzjlZhVdwb3tIh+XPomLDFjbb0v1UD5Bahvpzb0rh2a2E+of\r\n1ZLOUEExoywRpxoROmKaIE7jmIJqStyCwRc=\r\n=Jk1g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"a870e6b94367b7c6448d5c5c5aa8577e33e15e3a","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202211713187"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202211713187_1645103922554_0.1492174450533541","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"@chakra-ui/react-env","version":"1.1.5","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.1.5","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"d6fafda4766bea622aaaca627ff4c6b580a1c4bd","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.1.5.tgz","fileCount":19,"integrity":"sha512-GLTLlRLAFEEBwG3fgGlbB7obu5S8wmjl+v+qE4Qooy41lT0hDjN4/QAANiA2mkLp+tmcASHGjyLNaHWBtb/iyw==","signatures":[{"sig":"MEQCIQDU0Pk97Bz+gekHp5iXXcCAlVJg8zYy+t1vyCGD4YGx7QIfKIjU/+g4OTdg76XLxKgHkx+qLxHBDOOMV0BQf57GWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDkv9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrv6w/7Bbg1jT4C0r1/754P4Hhxi3lSEjy/yEu+mcCRal/2oF9rVX6i\r\nUQXNbRZRmxjm8xOuE84vfEwSbRin6AchEb6uve0BQ7NFd+mpJM1PZGJhERqe\r\nbjbTJ6Fxx44HUrP68XGqKUUsrjhyJEjTsB10GFCD6ZJ7UQBH7pmz9wSNdUPy\r\nxtpHwtKGl/sVvHIVUkzhsjbl8Rp3XVQBXlmVk9kUMy0eBN7LjN/PzUewfpL5\r\nSgdInzPFMCMeA7ObTvz6duF/I+nbvfTKTU3D6q7bqvu+op12giW75Z7WeRQe\r\nwkQTApqu00PLkvwA1qATRttem4y6oeDr5voyFF+ZpCjOcP/fdQL8cD5RWRwB\r\n1bzn4AhbnjKO46pcAGJEPgE9Jq5GsHbcvtQTNpm7gjWnNcNi4b5WEBkyIQNy\r\nRquBCWbfs1oDptg17rx4YsuP+Xoh9sTUbeAVO4IPXVxmAZHGgAQ+IMWuJBIs\r\nzek18yTB1ACINXIJZMVLt2TXiZgPnbAt62VOO7S7U11wfSEb7gYbe5zQL7cG\r\nX3FaoBibElo8GogP1tni7libYlBUkxe09SJcDwxsaWo0eeNgsb9eO+VHxQu1\r\n3gAyTNhYxRO1p4aOlhaD38w3VSC+DCFL1PG8nkkEurQ9rR3VdUbmh8yqPj14\r\nYbvAGYc2LMkTEHdfyB97831pibZo4vtKZj0=\r\n=D+St\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"0fda9bfdd90678f88a39c3dd70f856a7f010a585","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"1.10.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.1.5_1645104125840_0.7360477140258768","host":"s3://npm-registry-packages"}},"0.0.0-dev-202211720414":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202211720414","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202211720414","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"3d9fc9e8ca341ca031557bcb7c3a184b88510542","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202211720414.tgz","fileCount":19,"integrity":"sha512-aPOYkvzxX83GsTsNNEHPNTDYMPCSYOAaYGlR3ctkrQ/jOlZQkVdzViBzQQ4jOxgjVskUIxkXYukZz27ltMuXww==","signatures":[{"sig":"MEYCIQCKWcXUDlSCQkZ+oqZf9gdYWRTtrjKwotuXYPcsQW48LwIhALSaPS8YgifXU+JumFGz2NZp8Y6aqmVnl7dV9Cu/oGtf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDqpcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoD8hAAjqorTadUetQRCUsm+wGtZfdHmysd8l1R3uzw5f/K4zRc5PGh\r\nVbCN87deVl/MKrXftQGOo7b/KwgiWaVr3vv2lRYgRFUODLjq8LHdRZ00A3rC\r\nKXNgoqhnYjINXDH1NrN4z56SsMuDL3UAa2qsGWLfJIji/GJUM3kfRBXmSB74\r\nju/6ddzTgd3GHe2youOvBWi7VkEhKw6MlsX0JfYYtGG7HcRfifpgNAxEp47P\r\nWQgXp5V/i/gr8MZusd2Z7InAUPuwiy3PD2olC5Tom9sHaDzMcnxA14CRHePM\r\nAelqtPdTEAwCErejYmjLI6Ap+6alKKvdC1qONCAF84aQfpq0ZMIjlU9fKTh3\r\nDr/Wds9iFNz2z6pUD4YcbfK4k6NRQhaYaGugmHVY7mA/5wPHXvL6V1NqwXx3\r\n5sxAY97Gb9TnV1/cw2IwCV0NLNZsM5RF4XaJXgZUv84dYotH00cHl+CS7sTX\r\nPMxnsTQOTdb98Azui8r10u/PAjkVpzw7VFgyoDkDmFvhkox+I0yU7AwYr/5c\r\nLVINysV+8U4IQ29KpF1PkxTaxloWoiwqJTRWGQUVBp3sJwulYb5RJdtK67aT\r\no3jyO9cXf0BKgrglLyZaV4HmkMJu9abHgY8nomTbMGbrAJVKQaXxVD8O5g4p\r\nwg/IzjMMMbsLM9KQ13jQSm3HWCoiTey7aSw=\r\n=68Do\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"20b7a19ac5608ea52e63c0ecc7e680591d7f4366","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202211720414"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202211720414_1645128284743_0.5226113619827564","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022117201925":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022117201925","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022117201925","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"88004beff6a2f3c081ab66e2f44e127fae837cb5","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022117201925.tgz","fileCount":19,"integrity":"sha512-LifsYZR6QBIpN2lDINTOF+t1XtfDAkru4CAhqvztEYd8D5nNZoN2aWJ7K0s/s5ujbmZBPd6nJrHWw08DMrCvuw==","signatures":[{"sig":"MEQCIDWpc+ZREt5ZXnPlSIkY0AsDNh4v5MrwsLS3GDzuvWLSAiAYruFlwhCirriUf4G+7QVTp/Y4X42Ctkev9HeGt/j24w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDq3uACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp53w/7BsrnaRlogXUwl3WA+hfD4q8PwdKxI8P4Zfk0ia+8XxC7uWwn\r\napw0hnE3zDBgl9VNvDSc5ptgzzMp/dkRNp8Y+SzjYFFnTk/tgLbV9TypQHm+\r\nRGNp7jmvcKoIStnJn9qPdUn1c/LfZ6faYdEO2aKRucyvsQnnPlnoJqUIne/e\r\ntF/oIa8cn0vRjSaT6RQISsCKfZXMk1ivrt58nkuZmKLoG314csb9MwwNN5IA\r\nwPv5c550aHtMeJe5JGRjHvzfentLmygJ0LNC2IxcFvsf40Smr3DEw2ed2+Zf\r\nQs9ytZQddGYhLeRcN+XMnlWdGUIUqDLRMD66wVCtlomSiOtXUsaJD8RBDog4\r\ndXZ1K4ONUjLMq97TIdT5NJRjtooEb6yywuh2gqUznA2mFFAfBCjPJ5nf9hYP\r\nAycv4kHeaOcoorrGqz2MnFlU0qzoId3YTV9h9dIQVPQddLPRnommAnF7YGGS\r\n+xQS85wgOsZgrn3VcBtqlJKXl7VLCYQOfsAb+mkU8DeMI63m9+fM0reOAxx4\r\nhTZ1PR8jvzGk/BvngmVwH2cNKFsBcwWK/WTzGWa6lBHHfX5p6CD4l5mHIMfL\r\nEPcUlNxVUkWQpqHVDTloB1PiE6mqZuP6S6AV6HW/HLr9rzCIOQ0FxXRNeNJs\r\nYnaoY9XBh78KVeslR7KPaFokE+/W5ichLQA=\r\n=FUea\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"e5e0f255c95f5e41c3b17adbda28fd09f7251642","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022117201925"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022117201925_1645129198558_0.6777751962738499","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022117203714":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022117203714","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022117203714","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"1b82f5e5d5e1b28ad74a4e9c35c71455ae5f085d","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022117203714.tgz","fileCount":19,"integrity":"sha512-QE8GjJ/sj4/XHaWx3QS0AISy2tAyUXW5Hv7uZC4l884BMFiGqXsZ2FGxaoUVItBvqWP5WMk1NTHp+wMDhsIVcw==","signatures":[{"sig":"MEQCIGdal1Y7R3nxK+qXMpPt1Dl8wuyo83Y14XwejxdlrDBqAiBOdyaA7T5G4gMHYieQk8M97o+QuVB80NvczfXSQWHtqw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDrIfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokBA//bErQTmyA0DNpTD25mPIuI4P2Jc17MXaeKq406MwoSgQ8GcLJ\r\nmYXH4JqcxKKALi7n3G7oiuEX+rlo/H1j8a52Vw4DFGxCj83nouRZ3XSvcy2U\r\nS6gKAjm/hvy3ee13VdsQJ9jLhCbn4Zm0f9Q4CJ0x3arKd9JhN98jzVQc9vgI\r\npoPcJcj4Qpk2himVMR+AxmtfUfF8HnrnUrbESjEBEHOs1JSDAt6/MahvarGh\r\n3rPCJYrx+hOXTX1GyPmhwLLD/N+bLr9R1eMc/1m32a3njIuFWJCsXUS+paL2\r\nMr+foLz0xf5KjAaJun4WaAnGgJe1naSZmJvCgVPssfxkPN4JQT395DxHCS/D\r\nsotNV8nExN5VXFKQfDvB/nV05x6llS+uSQkrIzjA7Li9tQC4LC/uvko65woC\r\nosbMMSYO7xWR6UmqgNx3OZRgo+sU3WbGzxApGtx0Nzchjpvd8Dd0fZL0guu6\r\nyVbEe/WQbomrKDmuSGIlCN1rs+MVkHI6Nd3MFTLChmURw4Yddw/ymmi3CWeS\r\nE8jP0DKSSWcAka+DGWgf41A4IUcuCO/ObxnhbqgPk1j9NfAQV9yoFuzYHZ9u\r\n8aPWUpI99Bcstg3FO7msmhnZd1SD2VXD83ZPH9w6aet1MrqulvdWhTXtc0lT\r\nvEG/CdEl3mffoxMOkw7pIuokD0jp+dJc5ic=\r\n=PRh1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"0542b8a53425093f18fd86d2b55220d3fa20253a","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022117203714"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022117203714_1645130270969_0.39413198991947906","host":"s3://npm-registry-packages"}},"0.0.0-dev-202212083710":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202212083710","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202212083710","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"2ae8ce7f49fdf64cb217e2794c4e710f6bcc4df1","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202212083710.tgz","fileCount":19,"integrity":"sha512-tb0RlojV1jcbxyy/tL7so2XD2LWTZ8zUn3eebwlWQ+mQBfxqRgjEpXj2/O0/OpgaL/bHstUheIivyWxdbq7Iow==","signatures":[{"sig":"MEQCIEt505/yfGyyj4LFVQGBhpdxm4M5yL6mbuin9KjbUb8zAiBTI59T2fdxkX2kveH8gKxH97Fnh0gP93Ba3ybYhxvWGA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEf3cACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpr5w//bu48cm1L3pCGHaTHjamHOssRX+oKeL6ICui+ANQrVCAkvYe+\r\n8nRvh73KPUyk5HO0BBfhYbZrkkqX5eiYy19ggjiRaWGKEYT+th5oPHkQqX+5\r\n0BAhdh9TMX9oNsMyTFnLKzsmt2QNYxeEQcciWd6ZUvG0s/Py04i+rFLEmh1Y\r\n9BI2RaYWgWrePvT5OvvpO6rsp/w7BA8svHHdDVieavWESPbvHxF6NerQ3toT\r\n8nFo8wO3CD1kcqNC9KJPEoZ62avEzeA9z+6Q/224DqDUzpf4E/8IgwOyYNDP\r\naZyp0k7ndb2sorRvlJtbIRV/F0yTkx9/mnGjCmxW3prsUzbhNMT1mCB/VFf2\r\nUBdg84b1p0px9Ti4jmFO2GOHydCd79RQIERx3rhbVkWRZdsO3yuDct55aP6+\r\nDQ5y2cXTaUsjDXUIGU7nUjg/9udKV8QTjmvPIAdD3GMi9pkmymaXSdcqDIzh\r\nGTNMl3DDxC0/4R1pkHCtcu0OpRhlH6nqHPVki4U2GgzFnZseNUMD1HI6JTnf\r\nMaoH2OV89OFBuuhhfXMNSrD2CmSB3/QgnRgw4Bky+zRXJ2G3PA2itC5Vgc+a\r\nUQQua0t4Vn+7/AF30ZmsrR7X9NLBH2hFDbEwt4C8us1VYOmLZN/J8E70PUOX\r\nEwUm9ezAlau6WR2I1qMs0aw8DH3yInBZbcY=\r\n=ScWX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"085bbccc59f9c00b57caab647fabb43939d97247","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202212083710"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202212083710_1645346268034_0.49052410144465686","host":"s3://npm-registry-packages"}},"0.0.0-pr-202212011232":{"name":"@chakra-ui/react-env","version":"0.0.0-pr-202212011232","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-pr-202212011232","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"bd76c245607d345e640ac9e2fc76dc804b02da0d","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-pr-202212011232.tgz","fileCount":19,"integrity":"sha512-Gxg1kGLmrXw/8bPR9YZ2T8S8upUIm7A0uF1FCn8OX0Vp85ttCX86NYq5kGcNXFMbFSSEbUo1QNlvWLjV88gx5g==","signatures":[{"sig":"MEUCIQCRDARx8s7L5HPN4Bq36skwDWJwkFLDBFDxt+6psAk9AAIgNdKWsHIiKnQGxqlQb8B7KdXXZqGrIh5iVrI4Yffd2oU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEh/vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCCBAApQz7fBNwdphKk/4GpxD8C/bfX0kDzicAumEpGVLelTBSenOe\r\nT3TXrB4NUse2DTAJx/ExRMGv0Hv5nkg0oUVY4a+3ljiYEOQy6Lo387gjv4Mm\r\noEJ+3hr1vfY3pF+TQK4Z4AB4fWno/uA8kPBCFsVWmOGwvUgWjsJdjWH1b8uz\r\nLkdHll5NxllsxZPi1iFRzSf+AuCzbfMD9OpOX6KDMlQxpTO3ynHP7eSOTH7g\r\ntn9bmdmiFRofjkruXXSRQ89+xnYtZAG57mtrBDi6HR0s+edR2ux0e90vlqCd\r\nl0MmzdrlMh+dqRNltY0iuYmUn+S3soS2NtJc7IogE3N+EyQK00Dg03Fej5eQ\r\nN99R50IPeAJNtb7tj725/n1DzlxVjClUscKk2rG+BQ+PM8Ljrfu2XzSc2Gd/\r\nLT5v4YpqGkQn75VgV+bNBKkOWRYIZC6mkMO4Lro2uykCR2Ce2YSjYQkw1zif\r\nGAyrbazNim+yffKnfHQXVRZliOcyOxeBf2TjnfYd8R9gxyf+dSwv5s6HvwF6\r\n2oXQBdLVq40yibq3tq8faVs8kpE08FPfLxJZE/LzvGhmcZhJHyCyfTi9lBNp\r\nhfuBfXT98TUhY8FksVckW/8p3ETyYysUXtaxipw5EbL9h9uHxY3k1XryJ3dR\r\nlIWNz4AzdVteUsGOSOm0DX/GOjJ2nlvIjaA=\r\n=EzCE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"a870e6b94367b7c6448d5c5c5aa8577e33e15e3a","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-pr-202212011232"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-pr-202212011232_1645354991374_0.5946000358291159","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022120113958":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022120113958","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022120113958","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8a2b4bb773655f934c3fc6e703fedb7f428698e8","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022120113958.tgz","fileCount":19,"integrity":"sha512-PJM9Z251hQ29jxBiG7GYA7Tp1GVmsyka9dKam7f7kkb+f68YG0EV12Par2mJII7LqDAAq1A8xw1W3M16tDowyw==","signatures":[{"sig":"MEQCIGLn3GaQ8e3qLz9j5FZ8VKyW7oAuIDYfGVqVHUrzPd+sAiB2TjASMIXoO8bOglyXO6AeHETO/a3hYPk71sGOLTJ1xg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEiiwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+iw/+LrXiEjojrarllw617wkeeX93X56jhuSRBC6+/ibzw85nKfWF\r\nsDEboFAUE+zNCG6Rvy8kKCqKyT31p2cLBA1tkAgXxZ974DxdLnvYMs8NDPU9\r\nHJTD3U4ndHqZTUBb3i62bdEOe/uS4W5OwBcEAhemceuFGALxp6jlOadNyrCC\r\nwijSjpK5Vz+SjrHWhPnEmM0KW5LAczfgCHRpLbVvUj/ROU6bxFxNarQFtbNK\r\nkxk5SrUCg45CfFL8+bt0hIRJA2jaqmCU6OhjvgPPv3KM9/a6Jkse8RSK2mjn\r\ns6zgR/XJ+dLq9F2iWb9Egrgxp5Vz62VoU+ZnxVGKECYlDr1oEWrDgVKK+kB5\r\nrSe9MeQX2ZRiVC1x9GhASJBLoOWbDj7rz2lv+wJ2fFRooRI23YC9svvuM2lU\r\nv05k/8EjovO4rwd/Gz4OzbnUR8x6nsc2xrY8nFyvOeMIdAhWH0N7SShnEGSY\r\ng12nVrCcUX8I15xcx0iKFVuKd3JkjetuzGGOK9r4D6WcYn8G60bN78iMk6xq\r\nrlFEu8qk3CPL32+858zgrMJatdP//0BkxzlM0lQjfQ5CPvtoNlqWnYQily16\r\nLJmWuKsMPVbRfMLBL+0j9uJppmbnKsZXQx4sNsXJkV2s82HqSmAfSIYdxFKQ\r\nkOs1vrpNwsahkSa3gVgfR3ZMvr06Ne1DNHY=\r\n=UCBb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"99c92df9331e6a0c5667b77e5a605343efccc6b3","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022120113958"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022120113958_1645357232362_0.607784367100809","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022120114012":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022120114012","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022120114012","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"a3cba4d72b8f30caf07402a64afffed65d4f84de","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022120114012.tgz","fileCount":19,"integrity":"sha512-jjj5/AigPOhqAHu/yceHzsT8364QO1sTcuxhWZXGt0C75Wu9MYwt6N2LeHrjXjv2mzkHKqLYLMa0zIKGLoVqdQ==","signatures":[{"sig":"MEUCIQCt/bt8xHI5/yzEV/DNbsuocU8Rym9MIfoHvcUEu+IZOQIgJ4dJi37pQnWhC3jlZrdTk0SNEqdnL4JZsL+2tuh2NrE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEii6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhTQ/8Dcw+eaZldSRts5pGlufvsBDNLTp9gEM8JJW821/PQpyM+Cpf\r\nuDN4BJaAFFHa8sSyizQenNKSDTffA488K57w0ouRXvCfrUm1vJ//l+0o0xw2\r\nl5JoKn2vQYfx+Uuy6Q4pOF6de3LN2uO5d20fCUEUO4If5bYZT9aYGYuaKBZS\r\nNkpJv1JdYd2r+a/nxDN6hB50L8WN/yhEThAajkVzvqzRWxfZoJLC5cfhwfDz\r\ndKxV/AOAEtLJmgX1S6gJ/HwliukvDc4tzdZFY2x5u8vt+nwg3ASe8XFpD57T\r\nEX4tc8ADkBtabxIfdJXxHLJ2NHXAdl+evjB+6Wvln9YhEEzCpRL/qtiwp4J+\r\nXbgQPTWyHyoHwrOs3W53RDisx+70IKpKhpHrOCXFBQsXuNajsWf/Mq846cSU\r\ndV00lq1gnw+t5ZZbFanqpP5GGTT0hSF8Ym7R6ZjEPbN3Ta0xa4PmZ5kLmqyJ\r\nvYGAC1Owj9c+OFIxLiH7GHo7Cm1LZxYf0na7N807KK9a/EeFL0zpnOnh2j4P\r\nyNTd4qaxe5ges4DKXSO6zjTxWvzwAiiMyfnUrCvPr0aILvYwFLTn6IUmTwwP\r\nvtFvDP8S8YDriSubmyNXimvHgQOu+2v2ovNFhgEcp6Hb3pVwFYwA5plcYMlD\r\n9dm08o3toSL3H4pwx4j8HwDxKXkqAxXBvXU=\r\n=G35N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"5aa79f81c71b1ac28d1ee18b4cc28c908b68cbfb","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022120114012"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022120114012_1645357241858_0.751003787250377","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022120114225":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022120114225","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022120114225","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"23cc5866c1987a4c0f24f54d4291027ea2232992","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022120114225.tgz","fileCount":19,"integrity":"sha512-S6pbD+xHdNX2BgC130CklErwpyYTHtqqskIJmbXC5mp1/l1TFKG53b+HkIjwyNyb6ia9ugy5n/cUFdsVOIFrbg==","signatures":[{"sig":"MEUCIGvpgZ3t4/eCpaa1cOsFZ4khZWeZ3Z7H1du3gXanGD2SAiEA9RErLENu0fCjzbAFpklpRN8l9jVHhkpYGa+JNJHtCzU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEilGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrP/hAAlRgZN8MXA33i5rq8WmY3X5gECmt0kQQB225NiEs4npayMyLd\r\nQ2jrnfNkapkggHZsWY+JrU9/tLfXYWwZge57sCblGYIZHZeFoOufkLBUOr3P\r\nbCcj2+i8CfhNPiTQz8VsROSpGC4a9bnPQFM7KSZ6OvK1eK0w0UXd1Cic2eNJ\r\ndjF0XUt8v4HfUcIQYoN0UFyKap38rMgCs1QqnTSsttgbUBzxyWYu+m2U2qcu\r\nS8lxI05G1kqtp6hsZXA2H6iOY8IJvuTcoz+KGDB77P4TgOQYhSZkfQLW6DqB\r\ns2NjtbFBCaGnacXr35c9f2phupTa5b/enB48iNOIA2qocz5wimALKKp7fu7h\r\ndbSaARns3wqAlmQsUi1pv23eQoAiFwofY1oM4KC8X/1rc0U1kknY1l3+Rsnn\r\n2VZwhnI+eN2fh7aONG1GV7c+YzqpEV9NaAu8pwLbNZSHZoXYklKK5YraHKdc\r\nAcRQYGJspzlOVQ6UhZ5H1CD9R/TAj9J4DOtaeJD32bm+XTrWEt8aL2UcnOTM\r\nv4id/4VBOvQp8Y2vZQR2shmpDODqztGwh4JEsRor1neAJavgOOktG1LJFcw6\r\nUxCJ7qr05Tuefhp6vDc8wyD5/kI76BIrCBcKhsag3syuhQwKT+NliX+lUk/c\r\ndmADcfH5ie6IOm+pmuSHyzTBtMuDD4NwMgo=\r\n=kgQ1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"b0da6e6665234c1584403f7f7251390c3a9433c8","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022120114225"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022120114225_1645357382499_0.5174838767883712","host":"s3://npm-registry-packages"}},"0.0.0-dev-202212012129":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202212012129","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202212012129","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"d8a07d2eea66aeafbbe6b9fb6ee31ae6eb015b50","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202212012129.tgz","fileCount":19,"integrity":"sha512-cTUP8uogGeGFg34jxbobB1BEgPxCC/KCS/YP+58qU+qMAhufoAwalAlHItg+U4X90Z1r6psOx8B5fC6nBV31UA==","signatures":[{"sig":"MEUCIQDDp/hH4t1WX1ndYmsD77KUIh0Am9h2fghM0v2v2wySlgIgcFKIpaE/Ccr5FRQOPl1k6HPL0/0k9EbJwU9N5Yyj51s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEjA7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBTA//b17cBPikxZRbH2PygUdoUVI0zHORmTOtKUmJJEsL6+u1tJGI\r\n96t2DHdwKqLyXIeZeLiV7+8GH1CRj4Hm6LEuDtaCCmeHyVd92H+am8Cu4sSB\r\nu0z0ZOenhRK8I+nViZ7NQFrMVI79opxEevnK7JKnaENu5oBJ2r5jNThDOnwD\r\nKRxXCtEmhyG+XuMxq7cqqupafQwqRQXydJltiCE4j2V7Hbs886U5nIM6ILnQ\r\nM0UE5U6QvBZlxHI4QBBb5+nCNIDtvgPl2cDBOqNBMrI50n0TyKiYItOjF8Wa\r\nQvUo+SqzRhgVa4PDy0HvXf1wKv+LAT2xcu6oSNZ4j0SsmgqqqpGY9rQ4b8W4\r\ngwL1VL07ODLaSNrzX4azUlXMaZwSnAyjAxDs4KVd/bjJOFI+HaMBm6MzcYYD\r\n+bUYj50gFh4SnJmQBFnDQ4WHLQi6f3p5kmdpY2TTVtrJbeYGtNmMwtoLT01s\r\nY6pYFfHCM54FRUHIfnI/nJddEMrgmOu7cbjmXaMproN1pswZtSUasfOco71H\r\n/vIm46eTqwvOIfMvRO8Mm0RCZ5q4z6OFkdziu0sDQgOxAg+/ZJMI5X3Zpjqe\r\nH7DfFlRvR702ThzW0PVtl2npO55PDc5eISZMHZADsg4iuS66cD3lVGY9D13o\r\nXU38ewEKBoK4c2TallyZGcvZPWpX9FQ0QE4=\r\n=T6vl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"651bec5b1999ec3edbcbbee297fc5b6ecef53f34","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202212012129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202212012129_1645359163114_0.6505250546248071","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022120123118":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022120123118","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022120123118","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8d3ca9aaf30368acf3c17062061f1cb361d2e092","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022120123118.tgz","fileCount":19,"integrity":"sha512-dhooGEXL7PzTAQybB235bnYxSTzRQWWXJR42RM1D9bZpriE6L77ba7KStMGFPqQKA/kKvjnq7EkQx7fVcXKpFQ==","signatures":[{"sig":"MEQCIAyW/W2bMUH2A/PGfLkxXMawTU/t5mPFY5ebGciYbA8gAiACMnXcf6A3lK0lT6KMxG7V9CsL6n5bJCvtMElchNhAoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEjS5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpl3hAAi327jXubzTosuBcGeAC1520/baUUUPM407g5Orp9e1oTW16q\r\ng/1h76vTAQ1RsA9lHhzAjRms1evehtexkE8XUMFdD96nc4ZAiP/y3CR29UNP\r\nLzzPF9P/+WN+Mh/BTM7G1QhR1ltrNPi86tik8It4eslNUzhwG4Ron+Y2JYZu\r\nD0KYn8b5efGhA7rG4p2wB8iLoqNcYssL5VYgLRgDj+mTZzOtjdHUCEgDV/Pr\r\nNlsrP1h3fyYE3BJpGxx/fw/teBXpdyl1h55No8VCUacj8Zl5BUJBWqCeUcNI\r\nbMTF+QyrYPfURWlooWs7BMJdizmZojMa/LX6CkdFb07y4IoDBRrWNUgvy01E\r\nQXV5/iG/rxFcMeOFhzK0KiqrFPNZRNApxBWRjzpgXEo743OuUHA+mSz3yjG0\r\ncPjmOrossK52TPiXnPvXYkNOu2D6j4/9s19AboHRsIQr6AkNu33D4vX5ojUO\r\nPU9cXY18gp8cTg5COPvI918orIxuTOH/uDkF7ACjxME/f+9PJQSYp4SnwtsD\r\nXQQHcDEqE7yjEl+Km7QHPkFbp+Nw3IyJlcpy987yVT/w+Z5EXj8obEmarnck\r\nf7MvhTDdXW21MYvLoFGmreIAt/jj/a44klKivakyFsqZU2E0MNCP08opf79R\r\n5nAz3RP7HwfzfWQ5Q6twXSAPBli+8RU8pQw=\r\n=Ko9q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"e1fe48cbe37324744cfe6184d785c093cda1125e","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022120123118"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022120123118_1645360313702_0.4536813777420705","host":"s3://npm-registry-packages"}},"1.1.6":{"name":"@chakra-ui/react-env","version":"1.1.6","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@1.1.6","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"9915b02fd1f8ca62ccf578eaec793f1c4dea78b0","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-1.1.6.tgz","fileCount":19,"integrity":"sha512-L90LNvCfe04FTkN9OPok/o2e60zLJNBH8Im/5dUHvqy7dXLXok8ZDad5vEL46XmGbhe7O8fbxhG6FmAYdcCHrQ==","signatures":[{"sig":"MEUCIFyjb1BjJhni+JjmpiYWOi6tIHmDHqgBB10/WkKkAKS7AiEAv7O7YdDT0cK99TT4VsNQG1MPc0mRnvevnL4FkiB4POQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEjbcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1aQ//Ydfdo0PRb0h5ty1o0KKCjDnETPK8drXw/bkrx18QMCrQFB86\r\n/lg/Vzv6slcIvor+nysdf+BP7rqOTfbLRVkj29wnefANXcuJWPF1duyzVi1u\r\ntWuZ6IMJjXgYuRPGck43YZv0uwwcsXGacQsESa+lUz7H/Hn+iwSy5RXBuWdh\r\nkOBvePdJ759nuKL1bP5pVLf7G0RMXF1Qp0oPUAcpy+4NH912IeLz784lthSu\r\nqWNc1t/Zv8bFBvYE/Dzl0SoYIsPzNfni32dm4DQyg7Fx8UP5+9A7PryreJ99\r\nwWtXBUlAda+MiGlDdQWDerKJlPjNSjDmcMVNxjWMTakrY0JLruOPjS/NyBvT\r\nVKNB8bEF8YiY91ku2l9xsUOZKCGVfDQpOXYsBAL4D1ooue9aCNf2a98oRDkp\r\nrizQGOjnydLqglb53I6USNNK/1d+5LzpROwE42+vQZ04Gypo3S+Lb0g69F3T\r\nP+3hXaG61VdmCp/B4ugrDdBJObyHl+Apk4ubp+VkIx/r9oGd0T3691Op2BHJ\r\nQwhBLSMx7xyeQL8hS53VAEn5XmszmGUUcNqH+oF4KcT2SIJlr0anr0ZY1qNa\r\nY+fb1oyQBKs7TbiwQMUwSa27OLRUaCVQsG9Q3ocOnWt4M9/qkzP1Xw1olzOC\r\n/0XNeTdzBNivMVBDE89Zmi7zbAAV789OSPA=\r\n=BwKN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","gitHead":"ba2fe6c4b856ba3833226dc7b6a15dc91173719b","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.3.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{"@chakra-ui/utils":"1.10.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_1.1.6_1645360860334_0.57139906944414","host":"s3://npm-registry-packages"}},"2.0.0-next.0":{"name":"@chakra-ui/react-env","version":"2.0.0-next.0","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.0-next.0","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"349a28f5e5dc2622e6a69d83c11c2cf2d94fb962","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.0-next.0.tgz","fileCount":19,"integrity":"sha512-muvnNdsmadxFRRvxVbxbDUBrChRxWUB74ofoUuVXOHY4PHcKLAtSe2ErsatE5y4RYZhaWNe9xRH9BCcHRpQA8g==","signatures":[{"sig":"MEQCIDqV31u59VmR7U7ea1vlAx4S0iKtTYmefUDA63354XWdAiBQuxLbf/xlGRAfdX3LlvfiLQ/fStbJK5UJgbmrvU32+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWY2mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrm6g/+JJlRd1o1rmZwmwDVSs9GAu/vPvu70dFW0G615Yh/ckqeHHrl\r\nYxU5+XGNclIwJEabN8Xnu5b6QZmfgklY/qI+jUACgJJMEqjCCxDmXTNLBkyK\r\nhXUAQ3+uVe5OTiWNuhBTcTdF3XWuZhI1fBlqbZz5Dbe/OZ4rTrCvuRQSWEnl\r\n/6l/BxxPMcPUzmy9uhfZTZ5mENpnrZCrFT/R1hqDA2BpzQ/ChJE6Bi0qy9tD\r\nkAAxB01zE2fSqc4rXyRS08LcU1jdd1XfDBILAS6w0gpJva7GUL+ruphDeyMt\r\nnmdD/igwRXiVi9NJIKtz5z95PsSBEnRxcNShT8I8YA0nn1ePLglU/HAfVehY\r\nRCSDLP0mEFDL4mLCUCiMjPTmx+sDTiwsvtlnKt8S+/n9PvV3ZsgFGcJb1V97\r\n90pElAZ+UC8+E8MJZPMxTdFvHko0yz2KC21j30hIWmjkO6kwIXDuH5gK2lp5\r\npHRt8UUSrnLHOFEpYpJLlLehojbUiLeWkALhqmk+YeVTUpzjz3KaGL3Od2Lx\r\nUIpj1EIV9DMujE4J8RztBf5ezBOXGUXFPRRsIR2ntaoKda4B8EA3DmVCtQAL\r\n3V8xWVcsQM0U7g+wBeh04X1X3ssBXCnstHHOdXVixq0qrLNBQnpHq2e3v6Pb\r\nPllLdBe6K/79KaKkiQJilGdyXqFqAHPS9Sg=\r\n=RFXZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"257811601483bfba6262e723393759399a55c148","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@chakra-ui/utils":"2.0.0-next.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=16.8.6"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.0-next.0_1650036134143_0.7315250578026706","host":"s3://npm-registry-packages"}},"2.0.0-next.1":{"name":"@chakra-ui/react-env","version":"2.0.0-next.1","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.0-next.1","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"e7a2af1ced628b92bb489fd74dd499441c871ad4","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.0-next.1.tgz","fileCount":19,"integrity":"sha512-dbplpNkR+XDKDUNE2pQtm7kamGCMqBOKRBuYXn5oKYTo266dn6ppvPdkIj90s6rpr6lW67HPnfn7u3W1CtKjfw==","signatures":[{"sig":"MEYCIQDYxpdYhcyjFRvkGeRVGYNFAAyruOQpvtbfVidP/tT4EQIhANevHvAOXGizx27DkzKsIOUnz6R/HCUiuS/kEC/K7Sri","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYkWlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUrhAAltDOd6H2KOPTMpR9yDU+VszOndF2xt5XPdDxq4iuTx22xkw2\r\nZbWavPVyqFLShpH3eiCAW6VMTAURF18607AS+qxVd9AE+qgSc8Mhf4j5w9x1\r\nsDWJHQoCJHYwzyEq3A9jyjdloX8PMGlqbI7Z8XH+3vYC5stj+bcqc13YwCBw\r\nxj4yh+5QcN775whQgqgSmtI+Cg1wXB8Wto5Dnjm4PNRmdFwzP5OG+eZUDJ29\r\n7z7P1uLs5EkoZT5cvtSoPG/hPupZl/XyN1KLyU6qFkUgk1W1HDeW62V4uRF3\r\nor+/Muoy/sr0Fbl10TwTqpQcCSWUFyRfWPpov21Sq+H2SkbedBJQmnpkJXNf\r\nSgK9cJ79zLXqjPyBCeKsIeEERlNzixJAvA2741YH2YgOG1qYKEiluvtQIT0i\r\n1t79kF5UoavcrzUf+xVfMy0o0IsadDm/3+79RXiX6cT7vGhr9QvI8wPfJ0IO\r\nH33Jri98PmMEwK1ZPjdpAJSFefgllim/2VjPhXqHfUtQeIv9+lIoQ156j0/j\r\nU2GPdAbw78pIUr45mpBcHVL0YEAGJjct0XyiRggUAjPn1QPqWN4LXLA2hqR4\r\n7LxLT2AB9rwOY0d2vum1vN8c9O6ZXiHMwI6kV2FL3rujEzVs9qJxhmy2KeVc\r\n1I0aXnzIypeHJoxJR408AW+ficPkrV6QVEM=\r\n=yvCE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"d90c04942268b9b586b1ffae3dd3791137716935","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@chakra-ui/utils":"2.0.0-next.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.0-next.1_1650607525256_0.36550605966665684","host":"s3://npm-registry-packages"}},"2.0.0-next.2":{"name":"@chakra-ui/react-env","version":"2.0.0-next.2","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.0-next.2","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"7b9bd2e052b788ba70e4f7ab0787e6b0486a52e1","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.0-next.2.tgz","fileCount":15,"integrity":"sha512-IbP48y2+7xl8AdVz+ClAv9K0VufuFOzCOh3RXWIwcFoLpQvV5ECsnc/jrMDLmIk7sPkuApSubzyZ49Q//mB3Gw==","signatures":[{"sig":"MEUCIQCwFCJ59qKgb2W227sur9Pu4PgIPDjah6AVZulSc0vmNQIgAZqGOZ1zwWYyixUFlsMOGrJwq9TM7iWNRWNMptCdB3Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieNOgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqL8Q/9GTplRMlAY5y35FPBlQptovXY/PhiV3/QU12FBNdQJVcvgaN/\r\npAP6yiQv41qM4Vx63vR4dCLUomNTRo+vWzfEA4AoHrsXStPFX3qSCDhRZCEm\r\nWVe2E0vMVcF27F4nqmUK5y6xhjJyxqWVhU1zEGnWGcK/ZLAdo3fpkuJ6HO1F\r\n0ugRpjkz4Fxkh512HCk+lFy5+B5prX5HGBW+B7aaADZ3fWMHFADPW77H6ghM\r\nNl5JR7IbLYG0vl5aWITJjiHoVrIN2u08Cpi8EXm83ZA93NsSslzIGJUL3JFQ\r\naqNr+mN6w/MsBKaVYi4PH6AASkxtM3tDIWUoYzWB8U4UAfRRj3UAmCLuyQZn\r\nRTK/VaPL72TV1H2BlW/pGxb6VKsj1V0SjqrM+QZiTmkA+aDm+OpKsKni3jDa\r\nG6vTG70mHCMZ5MI3Joa3EfmWlP6MDZHkMUmoaLLf9t1cgtykOD6tPV8+Jk9x\r\nJ3ScxyvbjUnhqjWg25RnyWq1tFQJmEgAazPWc6kN0BbKBV2RL61q0/sTSkfI\r\nwpYXUvl73W7Pw0IuDIz0k+v3zzibI3gxokssKUjjqaeojN35ktFbBqUP00bd\r\nswOFuyUo/b5hdm4lIEIDS1ScndOC84TPBpsr2e3Gr01Ti001FOdRZzIysLsj\r\nLq0tBEqWNQtq5AEMM48UW3nBeeqOssLQi9o=\r\n=fDx5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"839e03eb3d949c1f68fc3034456abc050ad2d8e7","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"2.0.0-next.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.0-next.2_1652085664277_0.40590762965897476","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@chakra-ui/react-env","version":"2.0.0","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.0","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"84fafcdb8745e33f8fb0ee5f5b28c7f6809cf1e2","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.0.tgz","fileCount":15,"integrity":"sha512-M6ctMVeeM4HI0+tkfsV9rADu5hcNk5MHfktoQl4neDBzxH/kqlL2y4YUP02j9PmsyKcomZ0zvqwwY5vRaWu8mw==","signatures":[{"sig":"MEYCIQCgD9SMUt5WD85KfnBL2oPxcIBTDhASsJHe5kdUjwBeUQIhAPvd2c6NrC+WBTV7d8zRhrjZa+4bUvLyVgVafPoqtSoO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifUlNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaNg//VR46sUHN8pmJWXWL6nWmOuC8/YBJ4ZWRN4d4CQ7ADRtNdjhR\r\nA6DmXwQbLIbVpn9s9LUffWoasjRjivKzQmC/iLWqbscq5d07TNQ7nvEXloJH\r\nVfaTxAV9JFlwOP7HpxHpxf17BVjrJToCHnSWPrOhTzk49GXy4YX8VNL6XNdN\r\nyA45HOxRVlamO/vUkCyBrdrqiY1rxYc3FdcTv0XVByqA338D7fcsm+WrpC/S\r\n0VP2WEF+hkQ33ftD7A44NDfkr+2AbcKcAN8W8sJHKTfRxQdL8ABGWtkOqMu+\r\nZ5agRj5wv/exMryxO3Xcl8ELrowBK2ai/vGjcsuBaOOmArzOQgyXpsctFkGI\r\nfPTTCQgjUNXuSDDAY7OwiaWdUQaJ+HPiuZSexJVQFdBqNuynDC4dbyV+V/5+\r\nJvn5EuiofP+fPNRWpqlaessPt1k0q6t+32bm5HHhTGKKuKD+ma8Tv7ZjupsX\r\nHmfZl8j23wfuottR7Ly5Qwfb/iM5D2sqc0pD9/KgewGO8rvdmeh31Wv+AzDu\r\nxMP7UTK25XXKAV//Y9xYwAa4kYOEYKfN9cQURnjWOvyUsd4E3MzlywIEeyOX\r\nODCffoKelOt9DTiyPfVKw4CMKBZ3HKJJv9YDcN5dcaqfnz3EGKs+ziz5Lcba\r\nes2+oIAqM3yGgpDQc9P+l6M+lUpEWNJBsbo=\r\n=Qoac\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","gitHead":"48cc749d08853bacaf380a03abce69d428b47022","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.0_1652377932838_0.5470368183927956","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022423121532":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022423121532","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022423121532","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"46ec6d2ed673e5aca0b2f0536d4fe3bbdcfe75c2","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022423121532.tgz","fileCount":15,"integrity":"sha512-cmkLo1+H9FgfSjHs5GX8XC9bk9yPAmWnM8+TsOpJEP9lAa2cShTLvWh/3S9DifODqGoZNPlV8qzm9dOlFKDPog==","signatures":[{"sig":"MEQCIEvcv+S6g7lINvIh9G+WZw2erBsgAshSRYkUFQHZWZ4tAiAcgGf5R6A5uR2sBsWagB2HfCBAbWZ66lTOLq69cDzp9w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJii3sGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFiBAAoGBEj12hODr6hQ4NWDl7nxGq+zafQDqcsX45do/Drq202laR\r\nVKQp6KMEQDTyOmjuryRRrn5w+HnvX9eVFZJULutQhWARcVOoHcDyK68BT4e/\r\n+PzDcbb98dIOnmiWWk351zowAlwcma0jm3GshRd7C9PD5E0gnmV2tCryeHgx\r\nPR+0E9UdzKRj6/SGkFTwhokuZBPNoHAD9Q5ekmaizHChvcL9zHm1nE1rj6DY\r\nc3b8zP4WsgM3mP3fwz+dcMroRfkxu24aSD7cyxeZgb+o44J5Z/qXvJCiCI7E\r\nKi+atym60mpET0n5bheu4C84VC4CheOsOscvsFpXjSKIkBP0qK2CQZUhBaTh\r\nUONB+0O28j9fJpnD5nwt44vd7zquC6PzBKp8duAl3gJ801+1fAcMSv7BXdRA\r\ntejl6JAcUSH2ZQT6360q2oKK634yQTNFeV4sNMyeTIUDCQnif3oBlMRBHLe2\r\n9K8Yey/1X1q0YJZd7kICIn67Q5KHpDlg/hGQ9roeiiH1qKHnD6N66R4j/nV2\r\nfSDpkgma5/7/P3jvyYlmFdCUBv1cOGMVAWG18nuFzgOoBAw8Cx3EmrRulBXk\r\nHDpkuQclHhF2OLVI6oiF/1aU8zkV2+BRrXxFE9m46HfpDVdcE692STMpRpK1\r\ncxnmEQz1Hm4kGknwR0X7I0USZwRBDPXAXp8=\r\n=/a9k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"35b4565b04f75dc5d3874846b65260be849d08ae","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022423121532"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022423121532_1653308165898_0.6631462961532111","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022423121615":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022423121615","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022423121615","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"02a1d58713071d1f25977b9eb46cb0fa136e557d","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022423121615.tgz","fileCount":15,"integrity":"sha512-0XkfF+xOQgrQ3gdyt5GzHcVVLh68Rn/mAEjoNW4zBokSiGiXHgLy6a0bI3Hk+ha+HwAY4D/W4poF6CNAoVvTqQ==","signatures":[{"sig":"MEUCIEkEKVQ8fWS//qj4GHLWyPmAXXw5aF1ByVxPzdeAtjkzAiEA+kiZgotG76eh88+iMsUEWD2U1qi3KM3AzWcYKlhEiGk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJii3swACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxFA//U3mIYe5h4H+kKrgV2/9/xSZOv3MjneROMwfOrHZfNbRYHYoQ\r\nC9WT/Y+0GuCUvnIM4fvSQ2oqmDoyKkJLLnTpMnfMUsZCIR3hYaLlRK1/0UGe\r\nKnt7wlVh2xSe4MCM12nRl5ZWwbiNmYE+wAdUavYHeAEnCGV9bmxcmS2JaGX9\r\nHagFdriCnMAWjSoaXRwYPGNKytA4DxzWjKlB04f+6mtUcdTxNlgkNII0EJAw\r\nZb42GPDinGqwaHEe63VtNYAzDpwSRV4B3PG9Z7KXrcK0c0HNwo01ieAWVVry\r\n9RGjH+G1IgGVCgQ3kumzx2QSQNSRHHYOZEHilmQ7B8es5ixTmCKRQze4uADh\r\njBJ3LAxSbg7gBoC64CjT8w26RSGtadMxF93BzZ9HyQsi9bqu4VwUO3gvCw6M\r\nBlbb7TP1SSlPm1NYGrX2w/0GV/v2JgkbtP9y5qJ4ro4iLfW1dejAr/QtQwGN\r\nF582L3WW/vM6esWAyE0n+UI7Es99EMCAG7IalHzaThCF9EAzaFLhY1OTxh8E\r\nc3NXTLuJX5ZtM9nXVrZGzMhrjoDyIMydr5wfGObZ0Hz6RZqDHW0sjWo+iumc\r\nQuhIzyW5J0aLhlXkyn8iDrEYZioiJU1J2zD6MT08dHOu9snFtcDnDUEooqWs\r\n1HEasj7rWnqNKxZsfaSOiKqk8W0jl0yJgck=\r\n=JLhk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"38452854419b6a8f651d073c02c89fd9e4520158","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022423121615"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022423121615_1653308208429_0.8976937768058493","host":"s3://npm-registry-packages"}},"0.0.0-dev-20224248246":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20224248246","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20224248246","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"623d9bdc8307d89fc2b8331a3f62fd308b7704b4","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20224248246.tgz","fileCount":15,"integrity":"sha512-fPRbIbsrZ/OqEV3ydlusvgbJIvkQoobpekUhQjLENpZvYWFXgxVNPqSIixEW+d1zSoGTl3TN29fn18FMnJRQ0w==","signatures":[{"sig":"MEUCIDtuGt2GzKWnYhQ16I4vtRSKD3csc+Z/m0naFihgIdnoAiEAvaLCVrvWtCJ27V55Xv07OLTK22vRNUOUYgpQiZ8Z/QA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijJFHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGCg//R1AeyERXKsN96Mr6hClSIJnNUrQiJ8+SwOiJ4KrJQzVemFDt\r\n7h1qjy2Y/J3MZ8NKaV8m3uUID+PXlR1KpYMttIIojO88rpOzbxAqgQ0DCd0p\r\nQPHXciFmtG9G4WvIqpo+7Hjs5VWAQA0JpqZroluS4dGO6w//KQ3IFhiIshDx\r\nsnmeMucjnn3ksvB1gW3k39V65Kjt3gCayHdZGKdgGQAg3BLc7dkoZAwZ0Kdh\r\n5+ippz3BZ25tCb30dMbhItuILkzALlFMQlsf9zk6gUvjzDnu7Wn/WFB0iTWu\r\nIq7skMIOMYIfwt4Syju1NXvcmSCSjXBfqY8Thy19A2JAjDd6YI9HSVUSw/dm\r\nxJdFhWs5YVHX9nV+hmE3nJ4AVexV8G2Ue1bf9/sR94sxsNTesErLjrxmgo4j\r\nsD2AifimSPRgK96xrt2CjOlnmUWVo9ZcyLwuWggxDneUkpFCvy/XJzF2oVuc\r\nJaHWh9E0YOla+JmMNBfNaaa2YZNq+2/fTb0axhcCBwOeYjL6q1qtiWo/Nb2j\r\nSA4tOclPr5VYP1ds1Y5fP0ar8ckhxOJBtuQK5NpQciqM02Ns5lAPibo+kali\r\nt4IjDOeIUG/99Q7jowXg8ZGC+jpl5E1ScLIYnNbj0loOmRPd66aX2Fea5nwN\r\nng7GbTLww5zUYu0I1lsIO4QjSS+x1niyrnY=\r\n=Ok8J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"6f1921d44b496e518b2691cbd62cc45a6135d1f6","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20224248246"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20224248246_1653379398891_0.9341646864814841","host":"s3://npm-registry-packages"}},"0.0.0-dev-20224248516":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20224248516","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20224248516","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"cba436955be55f3d89a3b98b92d104b02f98e9f8","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20224248516.tgz","fileCount":15,"integrity":"sha512-48mXg3JOnnKR91fKKJXu54vkJom6wfIJVxQugzBSxB4ZHApDdMH0lRvjlQJD9uOiunPiMhGY68JMhl+NkZcHkA==","signatures":[{"sig":"MEYCIQDr1/zhjZnMr4YQwHM/HiPHlcR6fd+3Kg4b1W3IT5T2SAIhAKWblfoAGxr+xuw+t1HJH0W4hhiVyYRQirlqpbdXYqZa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijJHaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4gw/+NnLm+P8OA0faP+yvALJuswU38wBpAztYNe0F47mQwCmwpiRP\r\nH5nN1uC2fbMRSsS8HRDC1HX3NtlSAJAabYs7Nhp1Ju1XXTS12+02bCz/2Nr4\r\n1mG1pt//Sj9yGPKIeQ6sD33JpAvtLCadHL1jnqESt8g/T/Ka4k8ObFx+xEnd\r\nGO4P9X7kBBuOp/PZbHnyyDQTG1l3g6Iy7LjnHnmrBroJbZVDyZa0fZWstPtY\r\n3eHjMYVRJi/OEHXhAbiSvtix+nX9jOmo+TXjYFT2btFdR5H+swAyxbmFIKTe\r\n7X5RmpqNOJXcqnDoJ2ZaL0L2rhqqVxdMvkeDA+TI4xJaSkHBdf3Gf3TEB0OC\r\n8DutiUFS/nJlSASb49H9KkBt6gcs7cJR4VoD8bsArZco5hI6rwO09+L2wSOB\r\n3iJ+HUZivFcvE3iSplYEVxwbRrj1ZvgoBlrtTP0+DIEap5hs7govS2jaxtl/\r\nQajBdPvh1dtNJpCa4MpqinYNWCFFvu1S6k3/M3z65omQfJPoAf8s6jwI5S6p\r\nM9W49Fh06+zuZq5IFzW28LlvNl5ZV7vXbYOhfDOzWV31wppP+ajPNlFx8AXN\r\niNBvYkkVJ06A0PmsE86Fszbci1jSw1ziNTXK2sSUTt+DOJ1odMX1nlw7+MOW\r\nFipoSbZbsO7Tewf0rBHbCGBjLp5mNoCiDZQ=\r\n=UFZH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"f5839d1015edc4f3525bc74ab2cf5d9044139fde","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20224248516"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20224248516_1653379546476_0.31311370397835736","host":"s3://npm-registry-packages"}},"0.0.0-dev-202242481651":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202242481651","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202242481651","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"b1ad8421ae70e5fa86e27882a832e6ef334e8a40","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202242481651.tgz","fileCount":15,"integrity":"sha512-QmSJJ7PP1YLSZ/EavHgkVr+GmLlVU8DBC9M1hKr7VQcQq4IwhcitZrGa7fvRg2qngMOc+OC66tP9LifMAp3KGQ==","signatures":[{"sig":"MEYCIQCV0Oj7VChq/bcW04Zyks40lDUUazQvdrM/TPR8KrUvYQIhAP/WE1k85VlaIgdSXVdFTQKQhvS/HzvQ+UmHiEg8a/qZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijJSTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5VA/+LnZpGFvwgNjEQclmtH3gbInFgjpJ/he8XbtvUDHCg5zX+rKx\r\npKrtJ5NZxzjaakHLIW1EpSw3dCm/H2ckfPC/ZnX48piq6L0Ublw0D57ymTvF\r\nnaIXlZNnNb40L6B9jQCInz+giBEhBHSI2rlPbXhbJ5nBZKMiwfWQ4iC6S/jY\r\nHsQ4NSH0pPsC6cHfpdJv6o3EASdFArDYwVAnLMl/6tETdMS9mfQZIBeoLOCV\r\nR9yER3cA6BvGun/J4k8Cdpqp8DyUqHkfU9LdY508Fb5r9Socfprpr0qeIzvu\r\nm3a34Xsuim2kT6r7xOJgEwFun5BrlxbPQtKQR9NY6J4LBdzhpRKoxMvTKemA\r\n2HuuaHbR1Uw/DJbSORI7iLjjxj1ds6/DQt9c0cgqgysZ2GaJX/FoPaUaYeGK\r\ncpJ6fS4D3OTPNsEZCt/jeehAi3Bh9u6Y+3FETircG38cqMd2SKKPIi0ksRiL\r\n12makXn2Jw6W0iHwtyiZjGGZHV8XRs4o+lNMGB7BCPdx5o/57LHbVcbQ+nPW\r\nZsCt9l2rM5CEk43hjEJb1Tx1ytSAkab+WGkYB7xIk3/i23PnICyFtNCkW3iB\r\nKMYzho1sqSo+K86TPJcuQWYanwPZe2vd66ZoUaNb7jGtRdYPIvnM67/5FsxH\r\nENqCOnbPGTFleIrgxzIvm2lWQGodKI9IwaU=\r\n=+b1a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"e8cce77b27714277db576b45d03d2570d590ab8e","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202242481651"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202242481651_1653380242856_0.5670142812398129","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@chakra-ui/react-env","version":"2.0.1","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.1","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"db9e8cbf06302162e39278e4ea8e224651590722","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.1.tgz","fileCount":15,"integrity":"sha512-jgebRKe968Eyypv15W4DWhL2xwy1d7vRbd1F23yJu8hJaVFPBjYhIF0NFOUswPcFm/UGZhPx6avA2r3PyAWSuA==","signatures":[{"sig":"MEQCIGpGHuyRjozw7C+9Afl3wuKThg0kJjEqsB2tG7lnY+W0AiAGUOIkKM4PQAC13lG9VZ1XO9o0LIHoZvotG/n1r+hx+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijM9dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplWA/+KNYg6LYdXr6Ka81L3UdW3BbuNhzFHOxc0SkCLt8Koe5Ak3pl\r\nrYSvkeBAC7BMGFwPJO3D9QwdSi+KROzpjKLn/wqpueV3L8FbSBtyWsIL3kkj\r\n/i9RpYSFmNlfppm4sTh+j/6SqQOhhlpwuWPPKTNVHo69b+J2KN1XgNXUsxr5\r\nFaDwC3cLKOhMCbELikpoflVZn549qa3P4HKF36zF9xDRhPEK57Km2bcrVyYa\r\n7Hx2538mqbANl3SHugF9/nGof0ExsdRvcBVjmYy0RMtdRMH3m114GegHytte\r\nVZEmZbmarV6hPmA0ePyQT4nTLpzsIEg90BDI8CJSqEe7sGGYFbbVK1hze+1O\r\n1JfFzNauEUVVKNV6h6dfpR+ohVDXt2JBSTZqTsbm55C6oTywGD93T4jFCNjC\r\nMenq/G8B4WOIrJE//1k7WzUkqcnPW9NqIimhNE4hdooD8nnF81lnMGJ0Q5YG\r\nbs0nif5mXD4r5TLv2PIvpRUByzLs3w1IdLVIyIa5EJDnreRXi4c3U2p8mA3x\r\nncOLMHhVVWE2bXE8RpkNitEP4qE6MK8purvWdkXsjHbwnHqJQv+vZyv82u59\r\nhYP4vG1nbrUlecpTzEaPgIgW14YOLAEkJbS9UqZnRXKlMkltJ9qvaxbF7eCp\r\ncfP/4KU2sCUO1MY98CUIr9KGGfi4UZVYoMM=\r\n=ntEA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","gitHead":"6375f5227d4482ad6d23852454a3792ba1cfc262","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.1_1653395293503_0.9416857359603807","host":"s3://npm-registry-packages"}},"0.0.0-dev-202256192154":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202256192154","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202256192154","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"4cdb74aeaf443fbbc89412e8ca8bc8df3fb78b43","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202256192154.tgz","fileCount":15,"integrity":"sha512-CqAZ/WRevBInPb4E//x4fhjdafuzeMomOmuTyTYSA13lBFT0z7b42vPvzXD+ZMDh4fAJQiCtY0BOclHQfkKp9Q==","signatures":[{"sig":"MEUCIQDE1I0owxfH/Q8mraxRd5h1xnzPcXHyfu9Wn/phlfgo2wIgHqN1B1amG7YcrKjyw8oeLZsZ29632TltMgnR0vKej3g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinlP2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlXQ/7B8VMNdVFyYQEsHBW6SqDUABmiOFZPO/UhZmnmO+KtBSd2sx1\r\nhAd0oUZL0v8zJfPlQP+aUFCOhk9c6ZeyV72DPF7d0JNJdYmhs2M++XcvBmh9\r\nOsKXw6Q/ewONDZUFGXfHz+WRGXWiG0wAACjgXi5bkMGtgdM6xeH9kW1TT3XI\r\n5W6IM/FpKqM+PEN2cysbE6ICTl1XQo6jK8AroTD0pCtaYzlPyU/zuZ0viY1R\r\nV5Xna+x+xUFX69rwnE6EXRDJ8GJ3epqq05RoEAu9nFzpWRQkJHlDlmAUgiWz\r\nXv8JgO9Iro4McZxM1zKFFM2VjKUOxze/WrOv9970wwTV8rOZe7FOoSOYAuur\r\ngUzOY6z4USoNFblLUn99Ax/C7NMv0bb0wMgDXDoOcyU02sRs0zq5X819ojfN\r\nmgxR8orWHSqFMAdTDrBlTHkir1A4dPPaIBLsE2nU7irDvsIOdim9eRsi8t34\r\nsthx0hV0aL2EyVIS7QxJ33vxZwHEyYgot9kG02FgQuzuiCTEDzODUwcJ26kj\r\nd6QlwlRcTt9/xewvZiQHJD03laDrKqmvUlkqzD6haeLFw4G9foqmzBcHIIwe\r\nYdxsA0ttDwuX/HPKSNKn2rc2k2RMyASRNrLnSI7VqUhE+HKlljh9p4juzVct\r\nah1z8mnx/Op9d8oAbSfqA4NVwFtX1jYs0vw=\r\n=dkok\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"06f29f8cdbb10ff1da523e0d0e958b9990d041e1","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202256192154"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202256192154_1654543349965_0.11106832520991472","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@chakra-ui/react-env","version":"2.0.2","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.2","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"fada8d098c5de95562a8b723e24cbebc6e3018da","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.2.tgz","fileCount":15,"integrity":"sha512-iQdc58d1HjfkPi+CEoZNqY77oX94bsWpMie30UYIaTonc9OOH6r1WCGQc8cyQa3jKiX2m9v9IbnxZa9Z0rYrHw==","signatures":[{"sig":"MEQCIAXNuZHj0UN4raQ4e8+EmbJ/VlSvonuMAi74XltByzKZAiAoOA12E/Hd+lxtNKVueTW00icNvtB97cQCGFrhJm/5BA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinmZ7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmophhAAiL10V+LFZNvgnkL83+/VHlwQhbONGzBxe+ZrBd/MZ6a5vbMq\r\n/d4z7HtP2w0Vbwv+w6oe8sViiLscJ/S40lybhJcR1eFzuJgK47wyVKesY5nL\r\nz6AaPkKfLon26reXqEGLMurWmZ2QFB7wPmuK1Rc1FFqAfdTnG8tqjZKsJpw5\r\nHWKxQYw8/J9CidPvEQxWrqhcjwz+WBP0a1zsg+/VTTcaNZMx9Zl1Mi5eFQL4\r\ngsZ2Pawj0eQ+s8JWx1tR597dhMkw+KcHiPI6yoht0cp/f8LPgcsjevcmhzlp\r\nLC23HyCtKuY/AxZnUOnVNOESMYU6hJep8iOinul1982a7UrV45tD0sRwvbuC\r\nTtwNmEPU4Rmt2BoJtw8px/sTyyysnfDuyk4fB+yuZhEX0GfUGo4w5MKDug75\r\nBHra0eWOyooycd+mjSFFbvPe4zMMv4MfsCOYhuc0AFnVOJeQ+fAtHYLUtsiN\r\nPFcihrf2bFSFZw75gNb6QSGvbrlMuKwqxWFCIjpoK40jdvxqrJgNBAWyNRbT\r\n3oQ7OkYz34ZY85PUv0q399PBypd3Am8EmyehwSALxuSLy1fCQxo/55n9PYXx\r\nNfX4hr/i4Wthy//3AXsjvGxrrde/K1IeLMMIy+2X8YDtaUdK6OY49lyNCsRk\r\nx8eDQO6hXfsTtaEYfdafSPV4cnnON6mA5K4=\r\n=bejn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","gitHead":"28e10e36d773f609246df375dc6279385d07e0ff","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.5.5","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"@chakra-ui/utils":"2.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.2_1654548091355_0.0028111414669504953","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022524225023":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022524225023","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022524225023","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"01d44c388bd977ffcd4f1c1be4e75143fb983703","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022524225023.tgz","fileCount":15,"integrity":"sha512-rxlOibnEKKoGrWrucK7E8ik49XdZAxReD2l6vYO8r4mvuBsH6UX1rjQOs/aLMEfdGuMFiOTXFmyhni4LGzPJVw==","signatures":[{"sig":"MEQCH1trjmZxzL2vPfV1Y/KZL2CvFNc4r18wrpRWtC4IF2wCIQDdPP0Ag90HOGQUKdYks3wGzrsBi7UQqURg3OGi/nC7og==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitj/OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmaQ//bItmL4wUjJucHQARw+3XxUzpSNYI8jmh4hp7sHt+IabEJL+E\r\nH0SXuJ34hl1GUj1Lr52g8UT6AqSpr26AbrBl8GwrCH3PvoaVEimZ5RVF5Ha1\r\nUtZNm8B3UUy+8IABO92P+RXvBfPOzw0ME9DfJCBemIKc5nnTjWsBBHsvSXHg\r\nKQDyGAaqqW3J/de6YF/Jl4izzkJB3sVgWhYbDK+ikjElFf7jL++ujRnW33Gb\r\nf4Q6/bqwdaGx+VoW5CJgU1/Ltx7ksPset9b/ht/3oykyV6nRRtC4DyxEozuN\r\nJcgMZiqyAlzWnOvh+TSsq39yZEPFvxdjjIaaalyQ7K690MQHfWwn0wG47Gn8\r\n4J/B5ghgQK8x7NuhJoHepy9gqlN3BaqSaBTDAwSJXo/MjvKLmGbhCDf3lFN5\r\na0SZDax5dIgZs9N/Fqi8QuolUePmeprVoy96lQOCjKhJ0JmNQn7BJ38/CO/c\r\nXYfUl2s+V2H+KpRslPUkBa+v6YpvyvDD4YV03bm6GXJp5Mcl3w+2NdKsOUxV\r\nZnj4A2ZAaYQqutDPN2za71NYe41hfZiaFVzHCZVarq3ZRJyDQe5b0AMFsUla\r\nJF2uL5DQdvm7vOWR8w80fFrZWH+Or0QU5Y3U2ZeB4wpofTnJsPkWxIyLq2O+\r\nW1oMhsXGSftG+SRQXaBL0WSPWhUdz1SO/QA=\r\n=yRjx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"ebe0041b1dfa30714634b39bb57cdb590e929529","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"2.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022524225023_1656111054579_0.6274498882906794","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022528143233":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022528143233","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022528143233","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"60b5d4432c88b43b558c6db3de24394b68f774e4","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022528143233.tgz","fileCount":15,"integrity":"sha512-Q57iygFWOZ//ofvi3ps5TNY4U7cySz6udyYWL/toCAVzbVIYgdoWDKF3qsVayaNNGJcQovLtRTB3ck767+LdSQ==","signatures":[{"sig":"MEUCIQCITFsb9p3OqPDcPjrcJjlye53qp03/ah0IlN6K27qS9gIgdSBkSBdUQypU5Wm24rAWI8k1TnzNn1aC7Y0UA/FwR7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuxEaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2AA/8C6e8GYOOxEVdllewhNYDr27UGwZ21ngi/PK7lEP00O4Fwvvy\r\n/4+TOlHihc9Clm7GjkNnSih0jyP0JgENQD+Kx9eY5EaLH6XfjbKft9Be1nPo\r\nfh/qptSdm7hjabpjv298TdQhx0yZsXl1gtHgUzSRZjZbC8hN0EowAHYbwq6Q\r\nWJ7wICnvCYbwz53BTacRr/3ZPUXG2WwfLHcgDDcgNWWDA0TCzKFAE1XKQs2l\r\nG31Y1J1ATrg5CYoOMtjTZxT76opH1um0K6EnzeZu+JA9GxImGwd+75Zmf5oJ\r\nzAhfpTlvHeqg967dm+NW6cVRbBP0U+oAG8g5z/4mIRFQ06GayyHc8qVZOFmN\r\nKEU1tAv5WT3W/4NBLGFAGrVVRGuc5LQckZolBRJhKft1zTiqXX8MHk7JpLpt\r\neBXqqzlJt8ipnsl8VUrw2aXQn1ITUOiBLlfDkaX92G0GOZhqIsdU4l9gY7hp\r\nnBNKLMcaIRloOxKRLDSuo+6eud9yB4iecD/H3llC/e7Y5txFDt6gO+iNZkW6\r\nrcO6HtH12x1XxS+uHL3zbT+yNUM5hq6pWD1xLUQvcX/IYJp1AeiYy6g3PDoL\r\neByXWdN7mpoVVMw3yd4YznAKIfsQJwQsPI6EfwIc/mx5qXH8PAcZgDijVV1e\r\n/Hp9eeQeYi1xh4FgH8K/wi1MLGf/dFma2nk=\r\n=ULra\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"e3e02a4f4c81848991b301b07080b9a97e6b4964","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"2.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022528143233_1656426778164_0.7552432359215202","host":"s3://npm-registry-packages"}},"0.0.0-dev-20226414445":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20226414445","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20226414445","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"078401fab61c4178b07901fe42410a1fbfd8c33b","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20226414445.tgz","fileCount":15,"integrity":"sha512-0EUgzl2IxZJxa/ERSTWQds8K2jDA2KRiHXLrwKn/Fm9BRzFD2EeCmja0o+jhop9nZYGVS/RgQKpy+cIrOBZhJA==","signatures":[{"sig":"MEUCIQC2n1tViLUcUiTHlAA0wFlotV08KWBGgIrW3iLmxXItHgIgANV5iiknXsC907pCfhk9Xcz6ATWRhHey43hxPtk+UiM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwvzNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrn/Q//QOVd25BSi3TlfGNJLDQ452fKiJCZi3Xto8VU3kyt6DiuWQXx\r\nkbi8iHNYChmf1O8YKA/ZfjOWxsFYguq98unNjiWC9Es59EupCuR/WoWI8npX\r\nVAWAbmZuoIwhOeSEVnJsULOGA+ECaNYyn2h+ZRgmIk4LLmNiG+itd4eYaBwq\r\nSDdlXIf3aWjR6PsexvxA1vGbNEXYmCmaw5cd+ThAeI3ttBn1Ei3ospeBcBSF\r\n+96Xqb3K9Fg0vWBaPnP59gm48nuOMHND4BvbgiMpTE5xKG9wKpSN0H0VAxNr\r\nWNpphG/I3MTgkFK0oar+njWxJANMt68j6wo5nZ7VT3bWtvIshe8zSsV6fx1q\r\nOp6oFuOL1lds/v5TWIcpa/E6mF9HRpWa13Xh50WhIjb/2P5rT40VOsu6nkUb\r\n1I6zMeBT4Q0Y2VZsY9K/EMmcbVyI6fwdmhMZdm8npeKzs+HlBMlTj3ZMb7k5\r\nKihJMoN7ABHRBlZa0MKCJFKe6f5xABu2aQaCSRFMwV44hAydzV8UthW6pA7L\r\nNfs27fdjQYQ8WLg8Id6b+O2Rg3oG7+lpJhanLHO8HI2sSkcagI3GqS5wGGZW\r\nhbBUGodRSiXXCoV8JG7Wa+GpzU2/UB+vlmqK/7NZlvS+9YITg3tDemn6QMm4\r\nIK0TLhKy7X4AJwKmXhIvPTBsUslzMk1q7tw=\r\n=VeQ/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"7789194552404db8fe576c4d82ccfd0b940dd401","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"2.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20226414445_1656945868817_0.970456808801615","host":"s3://npm-registry-packages"}},"0.0.0-dev-202264144818":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202264144818","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202264144818","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"3b56c5ca30e11906dba5a57b26d30d0310d8574d","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202264144818.tgz","fileCount":15,"integrity":"sha512-rf77nuDBbqksswU579vyf3UkcfipqhheiHt59UYuv7ugNbSFx99pkxTmRFp2aa7TXlNXcZIaIgNMdNPkMGr2cw==","signatures":[{"sig":"MEUCICRSx7hlscRgYzaV7ZS0aa4l9GWVmS60UVR1bwqk1xr5AiEAuUsUzOI2eHp+q22xwBG9DPy4sZga8J8F3KTnMb1Epfw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwv3gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCdxAAmp1DKF+0F+RJitmWpfMc5KmRLrQmBvZrO8NtYuyl+j7C7lu1\r\nLsADk+6CNj3gFSN4jYQfTgylXVCK+wtkeXeC42DZjRoUlO5eLXHJmNeJLTY6\r\n00WLlPH31QkWwKrJlXDG+TsWqImBzxN7pGsPxRDmguj2FXBha3qcC3ZlEZre\r\nnxspY1IbvtbKSeROvy+bHPZI25wayKUjsjxsHJO8RJmaDt0kHhgfDPqJ9UO3\r\nPQNE+CJoh0IO8P6cc6CRI9oKterlQizu4QyGU5a76rz5pk92o9wMwDEbQSiz\r\n9yzGS3QucVJmJ4nQqWoKJH/vH9IUry+YXd5RIZwMzJnmkd99ROGleun/xD8F\r\noAQypkGsImx65d6L+6hikOPzUkPXjv57boa5hwoMW/XAvQk79TUp5lLKJ8Es\r\nvoDbrgP19qRYiSLGHy1vCRzv+lvX+/duNP9aBQPXp48tgvUwCyo35HtMcKV9\r\n8kAWPiUwPt/ElAloisBRrInlOylr9fYJMXntheRJQeHVui6JILxuh/HMoYeM\r\nnevcSXCUcwXAXWXXfTdIvhDABDvvMAfxcFdQ8eLCoJk4kaccZ4cYdi/82xAA\r\nmH8h70MruVx+OL+J07/DaCX2nNGDS6O22jpO+4Q6WSBlvAkW86eefHkaaYpg\r\nD2htirytWoocYGLuYQWkxsj+cgphw6xd5dI=\r\n=S5ZP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"1a20374c681d03d60f7f90961946e9e2dd29c4f0","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202264144818"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202264144818_1656946144350_0.5811161139887233","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022659325":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022659325","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022659325","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"b8fed06adf820627c966401cf6ac3ffb374e2fa2","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022659325.tgz","fileCount":15,"integrity":"sha512-+PnluX1s8aCeIPczgONHGrq99HfSWdfJCPnEFpYDtM9r131WXi8HLupACrX0JoKh1eLlZGnmr4LJLwp2+P6vsg==","signatures":[{"sig":"MEQCIEWjOFx8MSJbBwlS63QcC5TAdEy2N9PkAbbMJJgcDUFrAiBvmGWF5FPpbU89rEF5v1qKs34TWDJlXM1wxbmN983ehw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw/58ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1dQ//c0DJt2KwzsixFKlzNHbaxXSi+E78IrYg38feZAgCB1/aJztU\r\nAi8Zal3IZXJtnarBLviH9dA2Kk2qYfCxkgyFxGBX3HPRhcXs6+9UHWe1xQyF\r\n6/DuCQEtt28oP8Cb8MiogrBqLy7+44wRqwkp3kqAa63h4esA7nxJsSDtxjGj\r\nrOgiErgLUqdlsXiSMx4epGuoxYmzqud6zthExL130Ya1abyWUf0gwoW7q3kq\r\n1lY2eowdUQwqFS5UnkmgvwivYJKjL69cFp2HMuTo24tRT2e3AtYCTBktdmty\r\n6/Svmcn+G/L4iEfgCxb50idUK09HGuYVCVUew028SSWGiKHWNnN1cMRnZ5vF\r\nEDCHgozPL+Q709s4fKud3W9POPliUeYnyQvCWZXd6c2tkbK1ODmwlUR1T7zR\r\ng3GdaHh4l8PlXZVE120zFWLCpa3nzoK50nV7rjmwQZ2G5DAjquw7qSxaGE+a\r\nkf+W11q0G/jXS7D1x8U93JqsK3FJLOjI8V/s734DnJJ4c/Mv7f2ElMcLQsPH\r\nowb91NLHgk/p2XQi/4y86Z2gwt4BBv6XFOBiSuuH2VWBGTTFSfrezn66Kqqx\r\nwlHnR1GGZvOL2vWMWHKA9TUF9QZ8HsdfJwYlj9+Fyexol0vdLhrviSGvN8sB\r\nvuhpy8s2UBWjrVDYj4PFJf01SnAe/BRa1A4=\r\n=Y4p7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"daf80e3bce5e2431078206cd5edc3e967d4ada90","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022659325"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022659325_1657011836011_0.1253108109764689","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022659431":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022659431","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022659431","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"054186b6512898b6e0c80efd4844bcc01e86761c","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022659431.tgz","fileCount":15,"integrity":"sha512-x7pgLhyNimObokVzKvjOLYZ99L7qo7gyGBOe2zMUcaYcWzNgLM7KbjPf17XVO/cw4ZWDDO7UgwXxonx0F3YTrQ==","signatures":[{"sig":"MEYCIQD7KoG8nubq7MbuHouC96wvFD24/Bjo6DsbVeS928KU9QIhAOA9XFnivQbpbYD3E57SFylWy2ckU0/3KhzTJ9sNrWTt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw/6+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUcA//Z2j8rpRioi+pWVHLkUfcq1jhm5p1EtuWccA9Ic9rIFH/rY14\r\nQOFRQBAeKCQJrr+D07cGj/CELELlwYpdguVMwMz1xdL2B1i8RlMaN6GWzGHq\r\n/nW9aB8kV7R3PUS/2Bde6pOXuOOrY7gxOqykb8j1xJFdf2S++tXef1g4aH4v\r\n2ey/r34jkhQhM1xQ1RjJPzierO/Hiv+CVbBz6FoTja/Gr5YeC/TBG5/E/vxl\r\nw0lTfToF1/z4ROUgGPrv5tkPS4Bnfw4JMyFys1EFjnvMkUxa+BP/QYxok8qZ\r\njNdT5LZsACs6LWEN0V2zgRxm8wx1r0ZGfgtViP0EWjRQlF+/WVsgcSBGcFSa\r\nktRGHcxpZ+zCmUMlXjKl9/W6TnAq4eYcb76sI6tI7fhbJAAuE1+EcjA8VmYg\r\n/7yGo8TAodNKlIbqcuvFWQvxjMTQv6o/XmMIo1tcCGC1xMrA8eFk4cz+Vsrw\r\npNupsVv/A6nYfZtt//GR7u5kwePmGwM6u8/WQLUv72lLqKFxUXR8B2tjn9pY\r\nDwlxEN39CWjxF3hIuicLJemvgqARxnHfWSZmAgGl4xytjKT3+XBExL7aWKYg\r\nTfhvq9XdSPD1Y0A6aSOS5JNWtFUDtOqPI7kfmeFRxv3VpX6yvJi7ptleyVn8\r\ng2KW2m1i0fGXgPtczJ4XH+EIHcalwQqFIIo=\r\n=X3gW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"95c1c98a65355f568f713bd78659dadfaab6c850","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022659431"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022659431_1657011901741_0.3743839082299627","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022669710":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022669710","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022669710","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"3e437cb3e01328c3b73d8100072be8366dac72df","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022669710.tgz","fileCount":15,"integrity":"sha512-80oLfksz1u3CFpp8hSWQxE6PKX4nLbF00+YHqZtmH/TJysu99sfR1yyokHqDOvy30u53S3vtUO7A6dEXx8JMfQ==","signatures":[{"sig":"MEUCIQDDXVSa0gHNjGiw/eP23bs3eSiK05Vv9OIBtsIkGYg8UwIgP1lFhJAPG+VBqHF1lcp2fdYS7XZw9QEjY40GVHGdtGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixVDiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofjQ/7BGhpUwGSu6/SgihhFLeGPIv9mDHJj2OTjMJYGokzX0mmG8sV\r\nNyZNtIdWCEs6ANcdLCTT1Ijhy5oiRudaNVby23zWnci5tUD3b/zZ6pdusQUH\r\nRD+QCOkQW0vuHnmeV7LP5EnvLX4cxW7xdMgDGW3ZWlXDPDSqVxuX+XZ6woCl\r\nIRHV6GQiu7O7szAoB7dZDrJl6FfNMs9jrznYOA37seFcDnA25LBgQr6RbTJA\r\nWkpYuX6/17KOG93VA5DMTkdGiFiLTDTAADymNEWcGpl363lt7l4nBdgHvlsi\r\n5IrqCoPzyYeUGMk/j0BiZ5ySEQIsU/JnPWJFcvM3x00jj5ykzRBNPRtk25/d\r\nEMTyhV8Mlr7lxOdaLpSg/pisomRJhpGn5ItLq9CjViepZLY83IBUtOjLfZzj\r\nPYWqtgVoC3ByfcZvqu7LxOWylK7eU1cwekN7rh+b1kMWH1xE7Pl5FwUqV073\r\nV+CS6CNRLpQhv8yreWrZG418VE+r9sl+oj0yy3FBj2w8NjFnHkTPY63C9n66\r\nYK/Vzz/X9zaHWw0AG9xK1bPV5ZhPorWZf3vQbVH4ag+zV7jpfbGu91cNe3N3\r\n2s1CRcYvn875c7mAPvzKBF6MkQNDSpfdaNSVpjSd53xdEEV3/6RVeXY0KT4v\r\nF5rmNEGDRWwnw/hhrKhhOTD+kBDXLKGhb6o=\r\n=jjtf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"e2940ab6151d213732abb924cd7ac5201208dcb4","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022669710"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022669710_1657098465751_0.9304133233925824","host":"s3://npm-registry-packages"}},"0.0.0-dev-202268163535":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202268163535","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202268163535","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"445e89ed308a5f7453f31ffdeff2bd0d0cab31a9","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202268163535.tgz","fileCount":15,"integrity":"sha512-/vB5MQfsn75A0x9eM9XMellAdvBztNV5jyO6flyiA2rLinqLAtpgrJMpyZu94mZ9QWSVvnZYzp96+C/EN/AtgQ==","signatures":[{"sig":"MEQCIFZa4KXF9lq0Yo2AYghWWZHuZ7OmtItlImhEtgd0gLAzAiBOEJjfKL8v00RwsFicz5CMlZuE6e5m0zylgAkcxmryCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyF0AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDCw//WIhsBEbcPULgxyNq7yPeAQl16IVv2VvELb0tzwJvsFkoqLD9\r\nNYvOlD9OcydRH+ojvY8n/4g+8x8eWa0KspD/w460PhFA/8sR1WmYFJGO5KEh\r\n3D5Qzu02RVCnMX5fFV+nczuvIxzhQUkl0gZUpafjuO0e4MPt4x7frPAnnA1m\r\nrpoj0B3AejZMLMAaP6I53PEofSer51fVw8XCbe/06y9syYrWP2PO3LcCksV6\r\nFQU8vMj9RY3Ld/dwL8zsyUMOkDTFJL0nKy9eW8J5wEcrH9xxgx1+Ky1lPO5S\r\n0zodkE2lStAcYLIZ8N7Q7YOCFIr19CREdpFndzNaLJXq4LPHp8R2g5sQ9eyK\r\nuj24IFahcTuCw8c6lP9zvowgSzuMQg0n9kK8k332eX5Ar0G6hARnVmcw4+6m\r\nWAFWNrMBY7zxvW3iPIOI4g5FRae3/lVg+UYy1P4eXmFmVADKZenc8ONKAmvW\r\nHD4xVfb7I32s82aigWW9zip8LZMr7YSTTOU5unOVl/5jM/9F9u0/qQAdjV0W\r\npvIsoH1hJ2fl0BxdCV3ClBWO0AWYxzulKiV4kgc7LX5Mbbs5uyNgWGYG8Azd\r\nW9jGcm65P2/ymYnYUjYIcmBl0tAQA/MdFNXtESS4Z1PVNc60KEKlS+/JyEnt\r\nWAzavG07eUB0kjKzIo+3KPFob9qHIu1G7UY=\r\n=6MU2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"a08770bf04414afdcc5e2c7e8b088c75f5dd949f","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202268163535"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202268163535_1657298176790_0.15427102897599854","host":"s3://npm-registry-packages"}},"0.0.0-dev-202268165050":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202268165050","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202268165050","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f01a1f8b569df637ebd135370acbc917700702ab","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202268165050.tgz","fileCount":15,"integrity":"sha512-gOkVf8FGEP8o63SwoR5UJtZDp8+wJpgLgcJ2NGpIkbxMYs47YunqGf/amFV9GtYzvazEfNJjl50S0tFJj10Klg==","signatures":[{"sig":"MEQCIDVpwxl37ySf2yYXDzNYesX1qlzzc2HbLob3lQN/FiaSAiAsckGeR+rVycCSrj69/QRU/FC98UoGaudWl5SkCsB6pQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyGCJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrARw/+L9TeskXZYVneV+pPjSi15R/A1n3HSNrPx/204lprhXSR1wbe\r\nxo8n1p7bpuRj+lbn3+euvw7rQqhX/wpv3WL5Z/DSP+ZLLuHqZSjB9FIPrCXe\r\nj6zW//AIGt67wf0E5lKaaQHFPFMwgQkMdMxhXlxJR8WrftZqv3I1IfMZ/T70\r\nO22cz3SGeJ9+6BMEuxs57s28i6h4lstsNv3dbbjNtc7csKaVPqmkudaosUbV\r\nSQ0rVWwBPDXDdlY8fxh270wpV7TuSQRZgeuylrEEOZawyQRBrtvBBz2RrXUK\r\nv5+fcD2bNKLZ/NQUsnAMW4BkcDw6gUTZGgiv1vX8H9ZG4Gbgi8HgVEZeSaTK\r\njK8GpB4AWijrHhl4R7++azROiYXMtiwzs9XTEgYLU+JnVpKCPG0uMPh7Gok+\r\n5qz8a0OuCjqZ9nDXoxZmqR5pNmo7ABBvdCvk7PHzBsj4oJYQ975NDtVQwMMX\r\nDRwMkdrPfyiihYaQBbLK333k0WjuUqGdh1Hxcm1JRpoD2Qck400KixNqAZnX\r\nG3vAXiLCR9wMxFN8FGWeRCAQlntZbf2dE24No2wniiiq+9uHLNUJDJ2O2esx\r\nN8CoMX8qqlzpKFwplT62SYSoPDeXGg/MDlAcIvDXbyqmlX1XoDgvLp8VFjIX\r\njR3C0eplUmpqXSfhQ8bEUQA+ay8XhgwPf3g=\r\n=LfKq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"8bfeefbb562fc5ada4757309db6b951c421342ad","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202268165050"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202268165050_1657299080854_0.09786840269839137","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022610103716":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022610103716","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022610103716","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"863d895c57eef499fd8189309a1ca508c86bc7f4","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022610103716.tgz","fileCount":15,"integrity":"sha512-YpzjGy6hDcyA3iKK/795P/jUL5Q/tJYh9APaQpuUKOFfLS5XeVdoXKBNeVJxs71Cf/YYvK87CbOWDRN8dmmuxQ==","signatures":[{"sig":"MEUCIAthmlgy7+AtW/GuiKwT1kZvT5k913qo+OBhvajmDanNAiEA2cRsaVH7h+ucv2CkJoFt5mkT+VTuhrgxfPQEC9f+TRc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyqv9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqC0Q/+LV588y7899pVWVE7YY0ZidnB/Zk3So6wraTL0lLPi7IqgNg4\r\nP4KrKWz9aT68Bnqleqb8uLHTPkpKgRd4m+gv725ePMSQPtJkCP+wRslYRMlC\r\n1+AlkNDAtiUPsfOE3vKMisLoGR8Ow9/iKydTlsCokf4a9xp77/iAGWXpttIo\r\nL7Xzjs3otFLEbKvSPiWDBAZZfhzjp0Q1zypUdLgm5jkWYQEcItX4PCinoxQD\r\nErSyNsgYlQAL006M/eFCTSdJjD8j75WWG4cJQPhHqbIRHnLT90WrAJJt6hNy\r\nu0hihfRq8aaffYZSLyNa6mswejAkDOwF7a7o4oo1KRl0TjcEBbVp9l5ODWRv\r\npT//coCGlUwLq3OL7hz8sONb4K4EKtbAKs1vhNp5t7LH9zZY7AllhTA9Jmeg\r\njvROwTOfIGPb71DeNLAc9iMfTl1tpn/e9FT/akGS4Udi0pKIV+H5NA63cHHC\r\nKcl4VyBbaxwdF+ZNty/tOuKGfKcanfQ1trDS/wrRWdcgVtY4ZsFEGJ/Jy4lR\r\n2cfSijKSWDxmL3RYXtlKlKzy900xVeKHtRo1Nkap2DrJbu2ggHG/ZR7Lu3T3\r\n10hqLGHHQH1x833DsrD1bKD0dwKy66c7sPHJiA1/9Qf6KncJxe8AX7zgKKHm\r\nVwZr+lq3xL1w2y+XYqURaWyO+oyWoabGOIk=\r\n=RC92\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"385ae812e7a8004403e2c7cf7d7471f782f3e667","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022610103716"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022610103716_1657449469532_0.2767267948822747","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022610103924":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022610103924","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022610103924","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"023a793f97448b95478d58605960f270bbd9fa84","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022610103924.tgz","fileCount":15,"integrity":"sha512-CVu3q34XdDgUCLKzRsr8PkB+R/SkFcEAj5N2mYtFPhUtTt0URacTMN6RR92Ie2yuMQJeJtjZTU2IsloYgrnBjQ==","signatures":[{"sig":"MEUCIH1VpDHhpd5hbjG05p2Xr78MrItBESqdDTt0iMgypSm+AiEAuv79Ips7pe0vMj9dm1CY1lojIWBfUmSFhucivMmbNKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyqx/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7VQ/7Bc0I32iERAC/s+KCJ8Rb+io10lcD9q9bGoi08c/8sYTVbffc\r\nWSGtEKldAsjBuwYdwKhn/IM0wPp0UppUVaFTFYwL5W4LqfRbnw6LnTJ/14Yq\r\nXM03LVjPV27Q9WiL7tbZxBFHfLL25PBUNceeudlHW/lR+D/r2/yAefnH3w/M\r\ndkRNdwpynHEBC3D7HuhLpWOt4PQI9pgyWZdheP1kF0e8Cb8pDJA7xkk2cVNQ\r\nWv0ozmOayrdqdx8s5d/oiitCJp+GrbGRsPI98dty4AD7CMDRFIvX5dqzhXeZ\r\nTV45CT2a6j8sxwpydlsVbKv3zFnuC7Ar/pccI5UIuxLfkk1a5vdftB0aOBXr\r\nyeP2ApBx1bF2lC8sgkn1hMV6bbUcwkbo9rce3EsTJZxKhYwq7xiRNzhhkLnc\r\nWHjUCtSb7Ds8uVJPQMts9UCSFCmo1c/fsuuht79SJrEvB12KMiZri7Pv8856\r\nKj9huR+ISstYk+PZ/aUEVXrDaTqCjRhLpxjbRLB5Ao/tD5jOEqqquh3xXMI6\r\n1qkhw1RQScf0EyofRCLt1mhbcv58wdgDb6ZRy9Tii+mfmvb4XZiAHTjVs3nl\r\nCsclyJZ+l/ypA4kc3KGtk/BOv/ZeXoj9gF+LV1Ztq7oDm8MDdYpYxmIYKrG9\r\nYbHK/I2bXv/DZ7aOZ/kRIkBDG+vdw4Ph+ko=\r\n=GLVG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"fa2c993f8383663056cdd4139d5dd3894900fa7d","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022610103924"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022610103924_1657449599030_0.623832568868528","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@chakra-ui/react-env","version":"2.0.3","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.3","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"68203f3647bbd9ec6f91083f1c7f033cc338c381","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.3.tgz","fileCount":15,"integrity":"sha512-22NdubgHquq4aJ6fklVg46jLVgpM7mbktHMYKTgXzOzHKunheo2eEioGq1MVIPLAQfOtEDFoYcbHo+uWXFMMBw==","signatures":[{"sig":"MEYCIQDD4Re6YqfG1hfngg4LnqP1kiKPQIXoaFrYD5yUALJNuwIhAKnzxS+ZZp+6Wn/m79SCU0uOmEQBFpzSv9DavMLUsHP7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyrCIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYlQ/+NXiVkxK5QU9iSWksG+zMfBF98yDt1s8dayySskIgoPRfy9PA\r\n94I6j2REO+N6FeXU6VkJV4b0S4ar+Cii2CRtPCgL/4dVMtl+aSxsVRS7jRRm\r\n7NDVoLEMZZWuAmTIxOyreuTBSBSJhXzauLgKN2IsgKcZXhT7+5pS0RtJOw3Z\r\nzdWnUE3q7HqkU4KqTc9C9/n8Ih7aqLeEtuUNIZ7KM3xaEHiJ6dB7Qb4K/fkC\r\n6CI+SZ+VuEatW7kGRdvQQ1FvKupIM0287KmbkudP6101P0FyFDPJjVM2krWo\r\njQkVNFRDRVGknNNghhZJvlafbLFcBhDFCIq876fe2V2CvxHyWfAgwnr6YrS2\r\nlpB8F3LiCeHKcWGz9dAV8q32cplfXMymL202uhoF/OmRUprTaoYvsu3CIIHn\r\nRXvISkm77F5E+XxW1QvVpU88uNbJjNr+PekSk+0ETR2k3osq6ebk0nxavVB1\r\nszcrb1UatS+UBhi9fhz9/lEzMZGBImEKmxEBLHPD+r67eEhe+9t4H/J1oQ7t\r\nb1iXQl+7bmhdqGxyuKlnolNhOQBJDLcAQK27VC8HXe4jrOthdyyEAdaGYEDc\r\nBQvKx3vtJi70igI+HwqmXiO2LBbELtZNutTaJS+23cbRa4AJ0sWScB2Rzrra\r\nbVZs77FSdytXFdbjZHLvV/FS1ci91TJ5Y7k=\r\n=dDW8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","gitHead":"c80c487a43a449059c4c345cfbd2dabd31890c61","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{"@chakra-ui/utils":"2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.3_1657450632242_0.36694600942289246","host":"s3://npm-registry-packages"}},"0.0.0-dev-2022612222012":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-2022612222012","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-2022612222012","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"434fe3932ce73f88ae4eb6d28e5787d07d2d235f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-2022612222012.tgz","fileCount":15,"integrity":"sha512-j1ahoyEP7LVyUPkTsTyCS/snGGx9JgjcVqF6oblDe09DGfSKTCeAQwJKZpKVHmH69rqh331YRgoGr4EhinCYiQ==","signatures":[{"sig":"MEYCIQDFM0Cf/j5xCPDj4IhNqq+LWtADqwxFj8noW3wHIEbRVgIhAJTyaABDndcg544zwgx/SNijqiTcxNokAScw5qHb5IN/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizfPBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAnxAAgxO+Bdcw9dg6RHQye43/GAt2yWK1sFo/60jIkd4AknM3Amlk\r\nx5cj8atnR3d8LURIotq9o7ZNgIyIGSxzZ8vjz5aAMpugeLZH0mxww54Sdt1a\r\nuEhIwI+/hsbtwI2AIitm87wEJ1yZeizjzvkCz8XhsDxMlOoP/oBxrVo/KDVO\r\nFIJbiKuTZ9/56Q8S7lv+TFaIXaysAtj3nOya4rI+P2i8+GfbIhHvP1ELsahl\r\nKFwxXu0aGo2oy8IArpbfDHVB7PNKYOXchypODjjCI50RWQhVvJvOs+BLMFrv\r\nx4NuvLNM38DDpgS80FPlqKTC3V93Xm1xn6o/iZpBHSLFSyTJAfoYC1dzki2f\r\nUk10LXxIY5wqHbjqjPVcimlbzs5QwpIotvN2cWT1rtaR+ZEoxAhlX/5KGc0c\r\n6AEU0eNBNd6Thfoh76WcqE0LTg0VR91mVbgYfpLjVVJT/umeh0Ho2PvXnc1l\r\nX6XxkxLs2v3VXw+O2fvc9IIllZdeWLOgG7saM56JbdX5g7yHcEBmFMcN2plQ\r\nP4aIOoMpHzsW2iiI/UkvyK12e55MMsC4ubHUY3bm0aD0e1nV348eEr0k7nTZ\r\nUZQ6Iu3L30bHu76Zj6Hf31aTbsmH1pXhLQsXHs1EE5g2c625kciWjkyqN+/S\r\n5QNYV09uGm2kkoxm4/WbD85V1F8cau5av2M=\r\n=wWKr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"46b495455fc416b166db18f5098ede7752b2e3ba","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-2022612222012"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-2022612222012_1657664449384_0.6863945237966418","host":"s3://npm-registry-packages"}},"0.0.0-dev-202261316456":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202261316456","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202261316456","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8a0c136b0c21d9ba73ce10f968688391866b3de7","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202261316456.tgz","fileCount":15,"integrity":"sha512-bgqnvWp+HXDZHbvLvk3Znupn4MFMrgvcPgfUCjYuYg46Ms4lkHCGUSOsCRjNAE3gGobI5IL2FXqLNb9EJyFaSw==","signatures":[{"sig":"MEUCICjHtrfyhpYV32oVqSdvR1CMI8SbDKSiyOpoAnbApXpmAiEA4Bzqp/oONEJ/ipT9Lsm4C3k5KsKwcJhW+3shTD0dWKI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizvayACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEIBAAo1O11DaLTDtTilhQZ32Qy4bBspYPhdBnMWsDGlj3SWAS/bC6\r\nZYTn+dI+Ly3VVNnDxxcjAjJcxgBcn+JvOIMcbxnH0r2dub3iSQr51bmx/JBS\r\nXCnoHHbuN6iH7L8SnrOYmvxnF5+xCMRSUu0G2t1M9kqFFv6vV68hNYdlh4ok\r\nM7cPOrmEh5lNDVkrhFjfHfr9gifGH85BNNFG6YGL/6xLVb8pxa3LJEZZ7hkN\r\nXh+UtAKXKLVhknrPxJBn0MC7ev0Np5z4eBAXKUaSXbonIMQGQN2tb5v4yO3p\r\n+WIfgAm7DI6Vy21KVpMfx/QYyiP0dZeIQXenNllBcOLFK9tgfEGiFKk5JqZX\r\n54KwPcTb4pcSgde+cX1qCDTED/PF47xT36pmYuAvEtAi1esuUCnaYdHyb2da\r\nax9MwPSHSxPXoqxkdIypFVNrzgoh5V169MT7XTxy9p/kTX7NTsLjAh3euQlH\r\n+uNYwFRZS38ulke9xNVjpAe9wB2pC4uh6yOtJ2jfkB2Bn7J5PbfjMYGToTSt\r\nVwlofJqFr+8aCUQFk4DjJhOMJQGWvrfqjCeRl3BrWN+FEUvrrNskKszHn08k\r\nkIMe61oe/EXvrXAabinFViY7JFcZkIvMP1Yztyr6c6gd/ywe+DCk5Yy1kJ//\r\nbeJQ2q1BNNsaxhOBT5nVWmAR35EIdOftRfI=\r\n=qxWD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"fb3c09325d7bf58aed13c6d0fb1f72b92ff0ef3a","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202261316456"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202261316456_1657730738130_0.4676626187188251","host":"s3://npm-registry-packages"}},"0.0.0-dev-202261317818":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-202261317818","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-202261317818","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"ea0d5efa7cca3aba5ce094d458d7df8a236285e6","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-202261317818.tgz","fileCount":15,"integrity":"sha512-Fu+nJ3kSiFaHwD9BNEuTds840T1EgG2jo9WsBY5I9hRKoaNary+YcS/F9+Rv4doDcVTsY7AISFBkg5L/dgACQQ==","signatures":[{"sig":"MEUCIEFGooG3eqQIhz3AsfbkT8PCXwSOdR7M/8+a7U1qbRZ2AiEAwMF78harFFCDvY2cLMivn/Mzm5+11noHrg2EHmGXoOg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizvwjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqEQ//fcWH0w95QjVHH0O0MW4vg0xf78XRgzSgCO79r+ZcFWzaABPe\r\nYCaq2r/4tH6R8Ewj8Vi8VL5DCwjZU5/FympptFf1TLRW4MPVxAohd4wwqJcA\r\n0tiVH5FFe6dEHhOnPjaE0cWiDNkEv2CTtqqA++NABnKaNZmrQOMWpFrZM3gf\r\n1Abu6hb1I+EQC2l6CabIWE0ViaGB3uMuua+VSo/8DvcMpXChJhsaCAkGYfNF\r\njk/uYzcSLSajTxwZzWWQ4D86rEb5p99TeLLzXbrd/4IqddcssszCj6rsOTPX\r\nilSOdD91DozHY3GTUuLscQonAq+WIW7CHIlgKUjEyYfYEkiQTcZJnS6idRav\r\ngTi/Mvdm2Bjr7qd31F9d8DK5DVh6MtpfqUrY+0ip+lgOCDT/rGj683qYdk3V\r\n5lHK4a6XY9dsgLG/UbfrXdz5/cVCxf5hLx9hMyJpwSOdOQ6y9kSfTCafBVqN\r\ne4UcxVhBmMqKHucUgo1+3PmlpQo5JL9oHim0tgeNKlYfYSdXquwKJMlfLyQ1\r\n8PB6LIyoLtkwzk1giL8+zPtA1et2aAt9ATJxOkkj08aYj8ORTubmkvFALW0A\r\n5Hw0O947ingeIBYdttgb/9iP4M7Z2gFiTTjC4NxK26Hlldpv8/DJkzqx0KGJ\r\nzPxHxWIklDv+P9g+CgsCE0IuYiDNC4RMBPA=\r\n=jxB7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","gitHead":"4beff94be65026ddb1d8c06c9e96f9eae195f352","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-202261317818"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-202261317818_1657732131765_0.8758365602665343","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"@chakra-ui/react-env","version":"2.0.4","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.4","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"3daa61b1e318b5133715eab1868b505806db2560","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.4.tgz","fileCount":15,"integrity":"sha512-qiLQOr966BLX9zORn4UXpcfYD7zF8DphdfkzW1MPPRj9Iufsf96NliHSuz8XBmnLFdFP0cKHXs0hUOaGkkernw==","signatures":[{"sig":"MEUCIC0e4+d5j79LA8btpHHtfBfZQXsECRdG4TLzpRjJSrQpAiEA/THJUx7DEgUVG+Vc6pBd+3fLpPzHlCGrzrQm8WXB4Z4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizxJ2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsoA//dLiVE/XJQLvsEf3G1eNDLhvCGeEvTReMWk406wLyiGYYAck/\r\nRpnAzBH5jC6I7ccspir5pIr8i1OJCBRxuAqVvkn6SI3jMZupQLrPWQJM/y/E\r\n7VgpwqfkJUxD/pysKU0PAlFFXq2W95NRfXs6o/8zZPdQm6r6BkC9rAl59wl6\r\n5YdnmIzaVMphJcUZYktsQ3MLzTN2ECAkXsk17Tjr9XBYYgmHebDavxBSBf8v\r\nmFbMsLKXnuZjVNm3MR6KTFuCMSuxyp4UOMZhibDqBSfVlyn9YZjGyhgiQbxD\r\nGXx9bABbvGtCPoPux9EE+CYSJLWVmJNF3a3zLibUpO99J3B2CEDPs4zt6msG\r\nS7QpthlATHuAMQYoEGIYMv6bcLqYznHOqyFHyRVtI76hRWh+LWxJqJh5ti3l\r\nMRK041msHUJXMD9f/mta66/8rgcytxOxKPNRxT7omOv2/SFp5OtUc3wmwH6b\r\nEDFsqXyEKOFL12QUgiB/56kyNJEjD8SrXF3cW026l9pM9Q6SNV2BWX1vFMYh\r\n3YXLyod6rZNpaeYWrHuEvE3fYUE8B0Rk419l/MbCgYMhGXB73qSz8Jg0HMHF\r\ncXnjkwocvkQ25w+641GgKp/yTcmuuDq0psiwRVl5AFd2jHJZNhbZE1hM/QNO\r\nEUd7ZANNzNyO6BLuZ98QCoyX590lgZfKkes=\r\n=YoYW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/chakra-ui-react-env.cjs.js","types":"dist/chakra-ui-react-env.cjs.d.ts","module":"dist/chakra-ui-react-env.esm.js","gitHead":"5e6a402ac446e4ec252c1fded4fafb2a5a8e9970","_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"2.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.4_1657737846103_0.46614071645072874","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"@chakra-ui/react-env","version":"2.0.5","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.5","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"fa65a0a85bbf71ae0e36b655ed50c8ef79ad6045","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.5.tgz","fileCount":3,"integrity":"sha512-JO0WyReJmcQJbbP8mckEuyxw4tbV12rZIgnj2/y8RYTpKkdPZHBR5Q8gCRxauLVp5ZUXytEELiJSIPtZoUZ9FQ==","signatures":[{"sig":"MEYCIQDV4oWzObzW4+M2WN7zUXwzjEayClqVdtnpkP2Xq5qnOgIhALyJAJSKE9rR0HsJe1jVTXeWh+3j1Dol9TcnbwgSdD8I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3iXJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq69BAAk4DW3pDf8o/Qop+ksBHQhAwfGxRKxVMmHgBhAFSvV6oKhZN1\r\nlkmBbZjzgDdjg1pNHF1v6TMHTPbk0GscqDWi75mcCY7o5vXfafEzqxnyjojH\r\nsWNr6k7yu8QRY79CEjIo/6WmSgfGBlAIp/Oi9O+c4jdQG4LvB3n7YyvVZlIu\r\njrf3Ujbu4BuUdkTkHyBZ7MVobUwxgIpjzS9AGkMdnV06iL+i5GTBMKCq9moK\r\ndvVFu9KzYqVHT/lP0Htg9Vd7IyooEVrG84Ksz2DKlfO3eSzQg0Yiff4dgb1g\r\nfz9M9iBp0I1z1hTUDl2GO4zFm/oGiP1Z7cytfb6SaD/X3uhYaZf0e+HHDEnp\r\ninh1YCuaEm5YPdJSYFHszxXOAnz7vLbIthLqHDx7AUaYDGHkcaMhS55FMMuE\r\n/1gvnSaoypcJMZJyRJmEv8ePf4IHjYufbOlZ/M596W2yxrQd6NjTqp2xILPr\r\naP6Bs9zLImd/fjAr8Dd8PhB0cqJXNrPU9b8b49jCSr/XC8cfCnswHKM2aORE\r\nS5AD5fg+uBHnjXdSmICyOs60oCultpvg1u5gLIpy8gcbVrfjQXurELK3zEb0\r\nKZGK114mLg53rHJ25FwriSBToq3mBkTCROa0XruYQQJP2VJIUTm2m3BtCKgJ\r\nWVfH96bkjiTeCb+kpX0HwtGkP1D2A8Xb0uI=\r\n=ozN8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:chakra-ui-react-env-2.0.5.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"tsup src/index.ts --format=esm,cjs --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"tsup src/index.ts --format=esm,cjs"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/6845ddfb93bf6264670abcf8d3056999/chakra-ui-react-env-2.0.5.tgz","_integrity":"sha512-JO0WyReJmcQJbbP8mckEuyxw4tbV12rZIgnj2/y8RYTpKkdPZHBR5Q8gCRxauLVp5ZUXytEELiJSIPtZoUZ9FQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"2.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.5_1658725833022_0.7858449998277117","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220804193103":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220804193103","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220804193103","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"9dd697e2d1273194bdc610969f68b140e1f642c2","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220804193103.tgz","fileCount":6,"integrity":"sha512-shp270j/EC5WLoGOldN6aFBrB6hTigk+0ns4wPMa6qjDgZpYOcCTjz67jScAm0/957oeHIVj8UEYRXh2WjtP6w==","signatures":[{"sig":"MEYCIQCC6X3a3Gw4EreshNGYY/b3HspaMghLONYYfxai4FUvGAIhAMrAyy2143KJr0ZxPyAKyGbXoH/o1N4m8q46tuHQnQUL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7B7jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQ9A//eqK7M9tJ6tvaTDId9CspRR6sdZUqa7VqMbuPX7GwkViFOOeJ\r\nA5J0QaBYUUSUEj9Npifx1fmI7otzCpQU9DVvNNde+Maf+UNPAf+u6N3+wEUo\r\nmPgv8RpSp3xSuBHNLoOWQGtnx/hOsNmNoTDnTFvRapyYwATVENNehx4cfPHM\r\nK0iDHbSSrBd3Z3GOwegvVkKZRR6CpMrrlA1JIZfR5qtvQWTAdfg/o/+7GPaX\r\nRfarBcLGdTXRRTYyqJkUIMPyvREVlAxAEFAjjk1KhV5JLnwlSl1LxgPRlEh4\r\njnee2rVZqSbiJYEmnH+/bydrBkQGJFOtIqjvwW6llISbSO2OJTBoiuFU906E\r\niDB1y4b5ySlc2A43m68O7B9np7M2Q6Ak9vqeUbz6cvcuVx+R1d88Axo4Nsjg\r\nY2fu8UIOpfnEOYtK9GAwcCwVzzEY1dsoH07/RFfBpa2mPX/HoTbqA5mhsG68\r\n3qix1kRZWrdzrgkdUD7rNPhMAXu8kw7K0JLDJAnvgMeIX0h5FxKTtShUOBwh\r\n61esc1YxS4Fczz1roEoX98zjaHALJxJgKzH/P7zytGoDkHtcxbrAMQo/cyQI\r\nNBQc32gFktRYffMgClHcJ8xYQgHZ4ZJfFi1IvTHNoTg1M8Diu2x8pJO0A41g\r\n6vvNVUxk6YuGF523/I+J8s70BemJCXYeYOM=\r\n=+bJ3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220804193103.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/private/var/folders/fh/7kklt1bx7595wvjxfmcnvkqh0000gn/T/f00bf9187ed2e8e66e363443e508a803/chakra-ui-react-env-0.0.0-dev-20220804193103.tgz","_integrity":"sha512-shp270j/EC5WLoGOldN6aFBrB6hTigk+0ns4wPMa6qjDgZpYOcCTjz67jScAm0/957oeHIVj8UEYRXh2WjtP6w==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220804193103"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220804193103_1659641571367_0.7014807090028305","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220804193815":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220804193815","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220804193815","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"b39b92e04a9ada40ed50d8439c85800514745906","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220804193815.tgz","fileCount":6,"integrity":"sha512-8yMXjhl2gKNRQEGEBJ+oKNuIdHoQTXGZNhZVosvmaM62SkzwSrlXt0FvcsbeWg2pU+7dIA3JFCVa4MN2tO6s+g==","signatures":[{"sig":"MEUCIQCai2G0mTCkhoyynH6gFIGiiZqm5MqqvksZoMFN9lJTIQIgO3zPhIubo/SGFcpAnfY0T8WQb4jQrtnVnvOlI4f64FY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7CBNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKnRAAm0DmRgW42QAuOtCumu9mVTnlu6PnbpGd0YfDNfn7b7PvVgY5\r\nvABIOAbQpOYsKbeSqc+4HCv8tCTVKMIOMqHZtjhBQj9l7N8eajFcSfKwUcXI\r\nqBQky9mnjTF+FxPy9KWGFt6CgV2JOs9GAqUwr/DnhB4unNg02n3wscQ3hplb\r\nOUvAne8hGkNF2CBspOwQd19kvr80iUIvQzlD1HF1RKbS/gRZ/C50I3WbMGjE\r\nVa9ePeoHaQS2s53VhdsScHUgBAryPnI/tSV2g8Lxo9tSLq0NemL5X3gnio7d\r\nOQdzAtvtryzaVw1MiDC/UrQy6vW3R+tj48CHuQotzm1v9B5Ms1J+OLgu+3xa\r\nlp4blhsFS5Eg53Ymzg00hxv+to2GWiA/nH1IxfnqNRXj2EAX5VmEPwrYA4Uo\r\nszPTEs9Tworuqll5GPQIVxmbWzAvpcbpDqubXSd5+uV5XSRsndwhBzL5ndu0\r\nXg6dFFKsgpL/dUhfHf2iRaatPzUDvdZLfWdKHUu86RmwTfabQG/F8bFTOVnW\r\ni2QlaXpmfAsuYFMhsWlyuVOXEqhN1yolOK1gAI/Ts5EtrWQ5MwtjjCE+rvg8\r\nh0R9cdXOmd+uESGpUUyI1VmgSBBkw/Dx5e0Rx0bQWd5q5n8VDcksXVgpWlCv\r\n1FZ44YJ8eYyxNQELlAQG5QV1WtVK6yd/M1s=\r\n=/veN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220804193815.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/private/var/folders/fh/7kklt1bx7595wvjxfmcnvkqh0000gn/T/df6fabe66318ab82c54543374007b7ca/chakra-ui-react-env-0.0.0-dev-20220804193815.tgz","_integrity":"sha512-8yMXjhl2gKNRQEGEBJ+oKNuIdHoQTXGZNhZVosvmaM62SkzwSrlXt0FvcsbeWg2pU+7dIA3JFCVa4MN2tO6s+g==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220804193815"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220804193815_1659641933568_0.032766248780531804","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220804194739":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220804194739","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220804194739","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"86b85aa98ec366d1a4a75bbd396b105fcdb59f93","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220804194739.tgz","fileCount":3,"integrity":"sha512-oJQyNEDwNS+tlsKrI3UUom6E1UHgdhMJailxeYzymkf6hhdVdvRPG5qYaon5n16YT+2C/r6JrDCX3UvpTHilOg==","signatures":[{"sig":"MEQCIG7ZI+RR9dyVkOI4mjtSSISYs/+QLn715vc/H0//moh3AiBEb8+toxiAC5IZFqZJf1rwMAi05OqwxrMJimA0CGrM5w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7CKXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMEg//agbe/9zWKK1exSvdaHTxXYH7QmE5WgM4SZUp+3rlhcTS+vow\r\nwuwDmbyo50TMpSj5myTPHwIvDL7KIay9geYkDMBaTn6O0AnIUgUJGzBEyi6z\r\nkrvth2OZQjl8HtQIN48jZurtvEG8xz9a6B2bYxr05BeRJhoHK2nKkdADUf1l\r\ngPHdhW0kPmi447Zp28jQ5tJuD5TwU4zU++ERcTqe8FZ7UV3w9b+5Mr2K5yiQ\r\nUFealOfUSwNN4PqjFJ8PnqaG+f0OirjDgnRoDz02FgBFd8uGjYHfAV0siyh6\r\nvSGnQYDrcRtAY1m9mQ7vX5O14bh9i0LT6KXHoa9h3VVm6DIDKuVotE8BZiyY\r\nL+W3Bo7x6gulSYf/Js4E8fsIFWdMFHuvgWAcGNk3kIxXTf/Q+BT9H6KoCXzZ\r\n3wclTdFfOViKOCaCcQ+TvM7e776GVZjlcoNXnJ9C9ifZ/VHMWpS9Y4ANdgCq\r\nxTgftqvm+7MnrzRRQmKk3FmXJ8KFGUHuCnQ9cSKlItgIs7u3gAqq5ycjvlfW\r\nOTnyaohle37rsJzxfaK/2BnVWMUYGW4pyrOnXBf7Z43sX1UXkOQ61vmGwUXI\r\n/oFmBkiREHEy+M/5Hh8Mt1b0bw1OTf18CpKAt/waNNJ0VUC9hFOA/uvhqMbJ\r\n1AFEIQdmDQFBAyUrEOntM0tThEQJi0mv3zU=\r\n=x51H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220804194739.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/1de57ef4b6862aecf131d244f32ef686/chakra-ui-react-env-0.0.0-dev-20220804194739.tgz","_integrity":"sha512-oJQyNEDwNS+tlsKrI3UUom6E1UHgdhMJailxeYzymkf6hhdVdvRPG5qYaon5n16YT+2C/r6JrDCX3UvpTHilOg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220804194739"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220804194739_1659642518860_0.8195054474815806","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220804200605":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220804200605","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220804200605","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"ba9da929951727c5b94f24b9734aff8747ac8fdd","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220804200605.tgz","fileCount":3,"integrity":"sha512-xA/eCTUwq9u79Dkl/0IDXrFrl1R0VGtuThw8kzERwWosbJEiWbMNe4uL8Xgjhe9E66d5mxE7CEW3u0mAynP/IA==","signatures":[{"sig":"MEUCIQDknl+Y3o+6ojESmZTSjQmYPXHhvl7tnqfkcsi3XV7nkwIgSBQnEULO++RHqohWN7NECVQNNk1SB+AijYjY3918NX8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7CbnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocMQ/+NRaB96WpqEGv/uACqLZJZQrEDG7sRLZhsZoFLOWxMW0wnL5Q\r\nYgxH7/gHoaAENzXv40i9MzpwA0qNDThCHydedTPmDZeeVt2SjbCHSGedyr7y\r\nE0MXi1JbVZ9ezk2/NKYwqfESXp3kfkbXLmpdxD6rfiyqvfe0K4cnoeHFmlGQ\r\n+8W5OK8kUkDgsVoOJsqj4mRjepZvzwyxPgkpUItB1BtSoUUmKnQRsDK8L1lT\r\nTbEWCG4gwAnR/AYVOqTwsT7LeMpQ2CtpNEugL1GomFsD3elY+QAQFgGf8rlX\r\nOV4VcHHaSr9JhwhsV7AxlJjyQWRDH0qbW8QdC8183L/R3On3tPsfZMrgvNh9\r\nywmnmELE1zYPayjsTZBWAf1zq/dvp8m4mAxGDXPVVCap/Rworr2JAEsngO4L\r\nI9x7GemVt1Zipj+xITAYwuoACBTE3KZ6bq+MdAWLFKihyjBgaEEPDGVsSGwo\r\ndBesAB6zVShvI3/ue6WJf7oLrctLyFrDOugTnFHt+6qrn4WxSHAyFMvs9CBv\r\n10l1d7IjhpLH5ygdnbgstO0pyaViXFK7aDuPjagUqBR35CgTWcDkAciXFoup\r\nE2vJs36Oo3ZkxMzYLAvYsW1KyKoGwfsvGZfefDOib/NHW5ivY079tmwT+92t\r\nZXHzFVxqx7A05yOZQQVSVVhnez4Ql00+6o4=\r\n=OCXd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220804200605.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/b1fb52f9f6c4be235516ad05347fa0a1/chakra-ui-react-env-0.0.0-dev-20220804200605.tgz","_integrity":"sha512-xA/eCTUwq9u79Dkl/0IDXrFrl1R0VGtuThw8kzERwWosbJEiWbMNe4uL8Xgjhe9E66d5mxE7CEW3u0mAynP/IA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220804200605"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220804200605_1659643623302_0.7148097057399834","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220805062318":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220805062318","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220805062318","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"df5b1aa9c3481625fd0452639fc5bc9f96feeece","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220805062318.tgz","fileCount":3,"integrity":"sha512-+UOmRLVu5Sg0/ipwuVBF5z4DueRxH742HHGI5v6/+rHokHF/8AbSr6Uen1tOxD7ntEtT0iQa3RuqA/DLP9r0kQ==","signatures":[{"sig":"MEUCIQCedkkz4olPBoPetxAhWIOD4GrKCmWSlCmFKNNGQe/BNAIgWjFrfrFwI3zSK8A8Lt75tUzvPKvFrGVugws2wx4Nats=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7LePACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6vQ/5AWHhepBOEsnQr4T0zXWk9exzEUG6pv7o5kNrHFOyWk7iLPas\r\n20DJf7comadfBt/u8jEwJK6UaW0Jp2k6mPrUB9x4evsm9JoQJmpfBwyyOxWi\r\nmd9LbVFsvvGFDHiWTWGSzhw6Bg9U3Nx2InYIp5F/6Ss/B1vGt/itgJWfzYJn\r\nD29jO+O/YDs5jumSmu5KogMkSZAFevUoUxxVad/KPmCXLKDfjG4DK3yHuf7R\r\n/PsX8LjaFEW1ZHuUL7zd7Lu+k3uWyYzd9fcEKl2rXc+yH2Qy6J0d/zCzuAaX\r\n/KDxyRX5Gim7WQ4Amc/i8v4GXYVabpCKi/lncEsT9twhRKGbnoTuCvGKuMH4\r\nkB1yJxK9tEoKk+5K6sM+PEB7OEK3ZRmtR1aPOJe/Mbl4eA2LhmnckbAg8Wjj\r\ngJOiOlJD0tSUs2pUrf1I6677yDjaWy5GUagaRQe5zewbcKCRuyK9Erin/xdK\r\n+oG6HOV5EZlSTYRuYkV5r6sh820dq/LwgkqXVEhla/GXnHavbfO5NtUz2jyM\r\nIH95hjF52r7sE0f+iD/X/2tnQeNoQAEexBJqsYf3G2T2JnHcBeOorvfOMOR9\r\nl5VdTHW9rpdbmbZv2Ws7bkj4+AdWerbmrTeTXCBC03ehrKZr4otjKFenPTjI\r\n3hE6FxRch0VgdD/sQH/bXviNCnsjYHrjdWM=\r\n=kbqd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220805062318.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/b9db959d6756f1487db872b7e83b3f21/chakra-ui-react-env-0.0.0-dev-20220805062318.tgz","_integrity":"sha512-+UOmRLVu5Sg0/ipwuVBF5z4DueRxH742HHGI5v6/+rHokHF/8AbSr6Uen1tOxD7ntEtT0iQa3RuqA/DLP9r0kQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220805062318"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220805062318_1659680654925_0.32426130115287366","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"@chakra-ui/react-env","version":"2.0.6","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.6","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"5fc94eff1941cf60f50533c9042a5b6513b4460f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.6.tgz","fileCount":6,"integrity":"sha512-gr+2oxQ/Hqh4h2Segk0lPexSJ5AE8sm7djYjaOg2d6CdfqJTk2fEkjQGGO0UnrJZWjBctl9NhhhhOXSLN/H6jQ==","signatures":[{"sig":"MEQCIGbILaHsFaaJZZZ9c1X4kaClBWhNwdQ92Ye9qj0VGCxTAiBziMq5SoeBKFEzci5/dKv6gH3fkd2o72rPe/LSWK2yZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13581,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7O0tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUCw//aGG98gTxTAuta5+kR6NWY5YZRocuE7K5nHfCqyiVLYZiKDQq\r\nqhuP1JXCmgJklc4gEyWAezj+u1vLagCTgeX+Fd4IsQCKzuofrzMXgs6/MZme\r\nBeqkkyYRcp4Gm34odELf5TzVs7RlfgymBHq0xPTIkx1WCTCRTf8wWs89zZYN\r\ngJ7h9Gb7qy7zi4lzrpqRLjkjCIdgFCK9c56WqOAJxNK5JujuqQsWlb4jrvOB\r\nb7U2FRP1Phvike1PmW1YO4wk9IYgTsBTga5g2t/fuA8sgfLNGU5HR6QZoPiG\r\nKa2PIrgNGCblGJLzWZC28nYuz0nhXXwAvbA42UyCPc9XyLbBqg9Pn5im3Mg8\r\nAnG2wsHXf+M5MiZ/P3hUiG7F/yTJguVpc8xa/cgQtyIqixxrbLXdpwbWiDuL\r\npwes/ESRgWgCg5FDuMzKP1520/5kvGJn3/F3RTV8g3DMbT4SqzZ5lm6xjQcf\r\nniWGAEkJ23uykLUrCMfeUCv1M8Hb7WEWVRMOmJDLlt0V3r7P6MrXnX+YG6nB\r\nDo0IZMLMxYHUoWu/88aYDkO97SSoSXcfsPt0icWYhmaU5i+9sIWhypg6tq6B\r\na5W4bp6Rs9aaFEehFPsZRWfxGRFm0PPQYGJ3uAoZI1SjAXmjIlSNovu3Cy+o\r\naexoe0BrFvp9xf57o4DpCsoxqaj1ea8iheU=\r\n=zPbh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-2.0.6.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/private/var/folders/fh/7kklt1bx7595wvjxfmcnvkqh0000gn/T/db2d67bb3e0cb50fff05e7990d3d808d/chakra-ui-react-env-2.0.6.tgz","_integrity":"sha512-gr+2oxQ/Hqh4h2Segk0lPexSJ5AE8sm7djYjaOg2d6CdfqJTk2fEkjQGGO0UnrJZWjBctl9NhhhhOXSLN/H6jQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"2.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.6_1659694381382_0.8765843796080364","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220811084042":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220811084042","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220811084042","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"136ee963d710f7140d6c8104ce42659c4a60d942","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220811084042.tgz","fileCount":3,"integrity":"sha512-yvt9T8wKHIh1MN1TN4MfYgsQ1w2+sc42xVPtCMa4XwdNII2pVOgBwh1ixPxBHQN5BkT2bpj6TDsWgnzAOz4QSA==","signatures":[{"sig":"MEUCICrj8qUT/lzeCr/+Qg4018jjTpRnygVmfyhhXiUjezwtAiEAoxmLANxrqNy+62r0cMo6jvMywinlrP/ka32y5o1IGO4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9MC8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpI3w/+KCdHjOswGTFIqq92Z1nt+2EGbult6g5RSnFld8OJcZzLccJv\r\ndM9m2zy7TJ+TCS1bx9NUgQhgc9e99w7CQpANC2upQnYW9S1G3kTfb6rx5w7r\r\nMPqEI6rKKJsHJECOyUWMQg/EH5LAq0Ci0Jb1CS0C1y3BGXQekiETe8I7cIk7\r\n60rL8+1+YQ/e8Ud+5nBZP6y3YSzcuVCGkJ6pf9p3FUjBb8MzGV5bLtOi8mhx\r\n67vNJDbs0W2oZkwli9lSCyw9jPqqDtDLt0IxBm+n5JgPQ6DFUS7nv6/L1hKp\r\n8KhEl3kJVFGDZneqR6uip/juZopwEPZSMg9Iq5TnupFxbykOL8GLtIo9G9QN\r\nH6m0B4IRhAsyN+7dK53i9edoIb+pabI22AHZwZUafgMSOV3N/w2JhdpT1eYc\r\nG9dRAXXScoWwgnUykwGC1eqVyLk6MO7Gi1gxuFh4fJ0IGTH0G1Vs3qm0dF4/\r\nM5CtrCwj5DfDxvydE9G+TJpRXhpIgNXViWQ6JzhBrgYVq/MySAlhcNt7L/2I\r\nIFy9kv9RWsI6ZfQBe5AxJt6Coo3EscFbOPnS45GXyhXBMOTUTu3RBGEtXF4p\r\ntdcgANdBEDTde/NhujWiblb/6quRYRWadl5FRz2UiHVkEt6Aom+hPcdf3taX\r\ngNoxfHmwKnvjBl+825FWkIudNLrs6HoPHAc=\r\n=PXpL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220811084042.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/cbe888c84924d6a340ea6a74bf78aa90/chakra-ui-react-env-0.0.0-dev-20220811084042.tgz","_integrity":"sha512-yvt9T8wKHIh1MN1TN4MfYgsQ1w2+sc42xVPtCMa4XwdNII2pVOgBwh1ixPxBHQN5BkT2bpj6TDsWgnzAOz4QSA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220811084042"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220811084042_1660207292330_0.25827285650608256","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220811093515":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220811093515","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220811093515","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8b28c9f13646e4f2e9dcf2abda15a3a769dbfaae","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220811093515.tgz","fileCount":3,"integrity":"sha512-mfiWlEjFCmTZ3c7khqYERdaJZk41+0vazjwvfCYtzIeOofMPjHYeVT40JytaWGd/BoROaGRxNztBfYWDEJ3Mrg==","signatures":[{"sig":"MEQCIFtnAHyO5m4k89KIT8ijhi8X+Ehgjqm3b15wAqAVTozWAiB42y1F5FvKlXxJQJStDlsRxdVo56OS0sq9vyPr484nRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9M2GACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpL+A//ccuKQJ0EHGUG1Z3zyPlASooNP1qKTMESTDZCoO3RJtp9D8bp\r\n7JLIb0Ao57TMn4yak9R9ueql8CSI5TsuOy52SfjGS5d60+9k5BsGuRC+sVum\r\nncQ9tkSHC5x1l2lExYV3DbEoqu3qrrJf1KKy4jDLtJ54ex1kHJ5Jj38gaChr\r\nVR+9X1vrjgC2FhAOJ+9xEfs/jZEO9sbG8U8eo6pYggxiusSwVcsypxV2wYOL\r\nqjA1tKFGWECmQd0MVPvDi3tSOeZTJgHVtTiqz1a1sN9eLp/xQZ2fln5/vUv+\r\nG804t99EOa93OS1sXs3ZtQVEobo0cFCxDk9iodR0dBR2s1PJaFo3nIEIyafc\r\nKe+vQFzftOYSkpX9jxYvzNlTIB1Dtw3J0ZcKQEfvog44ovprub4/z57oig7A\r\ncZaiXSI/LwR0Lwse9YVJnEmf3l/6jrseEGaQfLkyXqyZbuayVr5H44hBWRQj\r\nx/yyPtlfCvAUGSxGkKkdPf9Gmu7SoM0W2ewS3Eg9VSvF4G57U88PmNUXaOq9\r\nNq9jasuYyJCJeU6iRh29B1v2BD6NdCx2g+omD707v9qwE3Oyqd3b2NfmJJYn\r\nBca4g02jYo6vlBDTmJpxNK58AZvnOdAhq/Mko56DtQS9X7amw/VgYKxIiM6h\r\n9sXBfovC2TWWY8CeAE4+Y1PN7t/URGwSSHk=\r\n=0gnJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220811093515.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/d90153f22fe93c189103b669f04f6611/chakra-ui-react-env-0.0.0-dev-20220811093515.tgz","_integrity":"sha512-mfiWlEjFCmTZ3c7khqYERdaJZk41+0vazjwvfCYtzIeOofMPjHYeVT40JytaWGd/BoROaGRxNztBfYWDEJ3Mrg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220811093515"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220811093515_1660210566421_0.05589101339645919","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220811160709":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220811160709","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220811160709","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"fdf1254f7127a20ace360b53850986c6623cab15","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220811160709.tgz","fileCount":3,"integrity":"sha512-QZ1Y+tG7EsMv0fcX37ZNGGywdFYgWVWFuiCjQcAO5hP162IPNW/AISW3Lnede+pnWxeZHHTLsKCqQErau62rIw==","signatures":[{"sig":"MEUCICcAW95KqZrxmCu6UKmHENOvbAVDqfV3iNWe6pKRsj+hAiEA42Z2g2wWrM1w33aB5ATMmzKLJjH9rejhQDR7Fgg5vLU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9SlqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpQA//SD+gP+l08rDZGPYb4M+fXk4iWgR0kZ+EYd8siaYNbnLB+Rw1\r\nQ7o4ugdCQpvzz7unoPNW2+B4OULtUth0XvFzpsNlOFZxuJ8J++yHcEKDpnp7\r\nOQhnoQnclyDKFukYNqhoPzw+QdtQ5gwYsutKX6w53DzCCqVIlPWTJnk4bEfj\r\nByrdHalfHbjwZ5DqLpkZSK2zsdUv60qaNw3RElCBVZMJXp7TSJSzuatS9Eh8\r\nfpcmJ5oUx68Wsk/mM/0HTClHBMBoBqVxFVUmBd78rBL8aSrrmgkWOIuvgIah\r\nj4hweZfp9xlGlR2wNxwlo599j8d8mmBkoid+j4mpYe8p12lkH89KRa+3bBdV\r\nnruTcR97/vOmxLqYGwSosVy1qqhyI4hIgSYE2YK8fXqp9noXams4iaMb2ssF\r\n+RwhcDTG8SF89/jX0L8xqGVERkVsz7L3NkwBVIVBpZQENetFof2KaCNHrdPe\r\nNbZ0WwX6MNpF6fBZKmlRcPUM1FqtpZb1EZPq9mCVxNJkQVIkGA3nTNvOS0xR\r\nlWjBU6C7f5nqiorJOdaruEyTIXEi7Qr6OPDhx2CfzXrDzRiWza954tddoT9v\r\nrTVLONd2su7PA+4CMMq3a/2Svv1W/mhZoa2MsaY8SA1hL0NSO8FNIHdbdOUK\r\nktEz67myBuqP2rU8f5fbMAHadaYar9Ty05Q=\r\n=71By\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220811160709.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/f9f0f32b62e6433dee316f314e1487c1/chakra-ui-react-env-0.0.0-dev-20220811160709.tgz","_integrity":"sha512-QZ1Y+tG7EsMv0fcX37ZNGGywdFYgWVWFuiCjQcAO5hP162IPNW/AISW3Lnede+pnWxeZHHTLsKCqQErau62rIw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220811160709"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220811160709_1660234090623_0.9784295360541935","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220812060931":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220812060931","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220812060931","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"468a947011793add554303e0ad8eb4f3d9025b48","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220812060931.tgz","fileCount":3,"integrity":"sha512-wn8kZ6IPTAsafvv+DUzT5mJdZfkmPVnObOyKqYfjkSn3Vmpl/vi92KnfLkkytO4CFYgkiTovnZEfZWzEWUPxEg==","signatures":[{"sig":"MEUCIB0VZ7Lu7Xv0KNId4j51q/YwCaHGZSoCqmrVCJA5pdeWAiEArBN+2jcFeFQ4Eqg1QikNBepg4IG4b4Pco42M4/WD6BM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9e7TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCPg//V9SvZHRD8k+bFN5hp7VP4mn35DVo40MtdZ8hwBAc/QPkm55k\r\nziCcHLBOZSI56R58+RRFEN8d5kJ/Xp/ZREQQ5gxyF3lGirCXsxMT8b7HlwHM\r\nJRQ06ni8U9QQ/Bsma/FjheumZQ6Ri5HHoXVqDOYxWRtRo+KLdYGJXqAOJalf\r\n89NFYzCxkgvBrYNpE+1yT7KlbnSzkYsO7K5k8eLcmLbyc550tumz3GD/D/i8\r\nNpObKYULyaTCr82sKff3qO0gti4JQlf9bIFhQFaPFBrM+gRbOUofXNGDwsJv\r\nPXF4VhGrCV5O9VMFmDvgWbsR2KPhh+glSwIIsLNQapb6XbHvvnpUWE1njxEc\r\nOSNwzqlVjZRCIE26m1sH5bTQeFAdRh2nzwC6bv9WEcRvW0BR8O23/xRJmxbc\r\nJtX4xIiso3+02FaB0kSFp8XokaEJswqeHcV9WG8uQHHgH1bP5prtuj6/KOln\r\nEBv9qY3pkaTSMxjfSsF9GzMeeR3e3aHKBI+O9ixY2YygGctscz8ghHHmLLeE\r\na5Jw4W5XHDrYW99gTp9yD5YPsr+tkgQ2an+QznklbbL3MBHRolbfbPFIx2iw\r\nyAB7SkJBLKGP9M47R/OIt2lXF6upsmrQcINnNJkSYyvGNfw5pY4cVVow1dne\r\nKrUTCi6R6+QVKZirhR+amjL2q8sl9+aQwz8=\r\n=sQta\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220812060931.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/76848f016f1e7501aa48f2bb1552b9e2/chakra-ui-react-env-0.0.0-dev-20220812060931.tgz","_integrity":"sha512-wn8kZ6IPTAsafvv+DUzT5mJdZfkmPVnObOyKqYfjkSn3Vmpl/vi92KnfLkkytO4CFYgkiTovnZEfZWzEWUPxEg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220812060931"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220812060931_1660284627395_0.692803933761353","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220813051625":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220813051625","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220813051625","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f3c54c75e947e0d92da4b7770ebb81099faae088","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220813051625.tgz","fileCount":3,"integrity":"sha512-Ib3NEEBhEx0wqqvjmjHIpkCoyaglSYaPqMgKCBEU1KJh/ttFPB+KockBnj0Z+QAK8McTF0Eq5VkDAwKj6WZWag==","signatures":[{"sig":"MEYCIQD4XMp60B7/qPvk+a5Hjagjj4yZiDwRGbQ1yk1Qi1y/zgIhAMr2BjMNCAfBtP6lZHT91/KNYN7q5Dptf6D+Qdq39Q+B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9zPgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLvQ/8DVRWKcCKJMx/ctcGfK8oNCKMD1A0x0TsS7AvYfo6RM0obD7n\r\nEiOw1Wp9h0OpsNA0GCZmGWTaY74wmG1jlFpBuPE7wS2MuLlrcZ38uKb68S8O\r\nFeiTMnq8hESuaXmtDyhSWe1TSa13H21JemBe2Y9Hl8t1VsgXUt3c1StWDP2y\r\ntp0VinzPB6pAnTz8ApfP5RLu1REd/naG/imFBeDDPdW2zJSWWrgeINTqTpGZ\r\nwQx6XEyCz7bIQ+7itILMpJIAMDjVMvzAXg2O28rEPIQryOp6xEnlQ80eKY+9\r\n2G+Jzsuz3nzQzcRS78mkQijWPjokIFTxtgvedIYUUQvQQNSznVI1gV1SNpiv\r\niNeT+r1UBsQq5b4Y+RSwXLMWgyQFTVy6v83yHAXIy06jizYoQf6Wf2KvEdyb\r\nAZV9otK8T0z/7Wic3VDc+zL6vGDyLJN/3us8aVF5vlQkwWvAuIWHDqloqKg8\r\nIAbrOUCW+RhT2Evv5cAJcUXr+gz7WfrxSU/x4Rxzi6Z0wXHdIbOgQd1EGQdg\r\nEcOu5OQOWDVZ22WCZ584sNNWb/CHRoclqfxErR+KtnTRmGfyuUYDXVr/xFRP\r\nVq4u3K+X5U1/K+uQmla1iSP0CinSUCW/GHCcUp60R3phD/Fx8pa5XuKDzWxT\r\nzsLDHL8bKDHq6Q7fnh0sQx7+HaJPIScCP/8=\r\n=U6lS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220813051625.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/0a084ab6461174f149549659f2fbbcf7/chakra-ui-react-env-0.0.0-dev-20220813051625.tgz","_integrity":"sha512-Ib3NEEBhEx0wqqvjmjHIpkCoyaglSYaPqMgKCBEU1KJh/ttFPB+KockBnj0Z+QAK8McTF0Eq5VkDAwKj6WZWag==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220813051625"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220813051625_1660367840286_0.19840485358355808","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220813052715":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220813052715","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220813052715","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"80d457884c4697f0f3ca91f63636300b07ae71f5","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220813052715.tgz","fileCount":3,"integrity":"sha512-/8f6PBVHMggA3XDP1ZUE4gDKlN58OM1Y2OD2lTEoXVjKs6vN5nFNEw6LDhxoCDVScfsK5DS0dCB0FvsbWsrShw==","signatures":[{"sig":"MEQCIFkRlw4oj64CArWRjYnd8NLC/XzE6fZJb7DWdRLiRhRdAiBoeQdkw9e0Pmz3NyQjrrHK2mIlOGkyypGCdmnwGcYm+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9zZsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqUxAAoC7vuw/PtIbaA8rN1ejT89Yl64rShO7eaeww3iRf7CKW7o3W\r\n4nLt+iXJdkVpm88E4VPesu5ubH7LlkYBFwCp16r5iLGQ5dY9C4hGJ0lIaktx\r\nTCHOJ0FJ3iXZtDAGT5WQy/zHW2/iW5zy7QwJyg0Jh8LpnJ3at07lx1ZDkpPX\r\nUQZWQRWDhu7NWmeb7Jucye2R+CaNVWgACgiHd7rbu/BeXKlK1njrjMdaD0Mi\r\njDsIu2l4DR2UR9bBjmvDHE7OBUgNopgKdFt8pNuZq9NYZpOOg9pkRX/iybOe\r\n1PSYZFGwpRhzmMJCpBumMCxbPlO97gHLbJd5WQXcFwtWzhfrfDE/nR/oc2u/\r\nuCYlq5VRWMEHT4TtAREbtST0sHpEIibJSXwt3+KLmn3wdn+b/aQOvX9Etqaa\r\nYeqELZwCtE7MtlON5TKnG6/MWZjQownYff9ug1petoCWOKv/K9l7cfzEXvbN\r\nyKHvScY4iPzOcXyNTSqwD9+mApu8nduRyZTaVy8kR6rPCrq78PPQ7ztkO16T\r\nx2nQoM3mq0sDlHg4+ZiRMnejuDRGdiipPeSNtOMVgedrKyKjtEpIJvI8tjES\r\nwHXT7R1JK3II+5l3otw0mx7Q5NsasoyHdFAE70or0waSobpFyJjzwJToCQY4\r\nUyeAE/QfPg5TC/sfCDnzHD8ABMvEYXAFLkU=\r\n=WcFI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220813052715.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/689bc1e3e0454b7e33b31362631c6bbc/chakra-ui-react-env-0.0.0-dev-20220813052715.tgz","_integrity":"sha512-/8f6PBVHMggA3XDP1ZUE4gDKlN58OM1Y2OD2lTEoXVjKs6vN5nFNEw6LDhxoCDVScfsK5DS0dCB0FvsbWsrShw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220813052715"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220813052715_1660368492403_0.7851768056961004","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220813053727":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220813053727","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220813053727","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"91466a0d45ef8d91d0e26cc1798c2c8f19201222","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220813053727.tgz","fileCount":3,"integrity":"sha512-v0owmbuwwGhWnrC0EnIa2J76QHebT+TXb/B3lhV8u2l7Wu6JY+eicnWooA4mT1dJhV8R2mZC9Sb22nn2W6MDcw==","signatures":[{"sig":"MEYCIQDJGJ45iangcr0/UfKQ3wT8Y4ItNnIcFD1Fslt1WKCiAQIhAO8Gh/USu91EHmoEp2ZunIwjgC57RmU2Xwh/B0+hSHOr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9zjaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqM8A/+PMH9bEwRvPmvZR2AZJfpGUq/S8oB2g9Tml0H5fmupLg89B3T\r\n+AxVcKggWR06jTWckMSuBoHhw2fhE8kla1fcU52kmd/8LqMXnplEJCTnoAo1\r\nXdQbvcaRboefCrZXK44YSDyEf431XinTmgw1+pGqy2p9AXKbgacgi0VF1Zn+\r\nVliI5FMKDMIvP4tTsTi4HhIwiJQ23LBF7hSxTT0LywnFuypR+1ofrPFAN4+U\r\nuH1pSK9iOplXKkv3LpCo6bfPOZa0yK5y4TWCuZ9rEYDvdO2HbLMZ3JClYfVp\r\njNWEITRBc84Pu1NMxcDDvKkF8Sq+UBWOsObnldTFEACFLOQCqU+AZDK5PYAp\r\nd0SSzPNPDn051bCrCNkYt3oxnb4p7DfMp90koTRHqZaOHVvfkLCUzdcyEJo3\r\nNaptClz4RJahKKKju7CfUim6avGFLISxodN5Zm+nymqPYiNeLV9RSd3WOtfB\r\nmhWe2cjCg3iYKKMIFmK9yDpzeJ3ZWQGBO5XPB1Jzo0DDm/zfrrsaE1g8jAy9\r\nwy1zRLa7xaXe6o4/kfLlr/UsE6xCa11TqKd8jkvPhFmZDmwRSe1uQHYD2SvH\r\nNhFmP2DL1XOdd+ADusRXgk3bzjMfIL7MXT0JJqOgRmc9VOL9LBKtLCzpnHuH\r\nRIi2u6E6+e7rgVqXsvJHE3qY/G3EIE6WQ6A=\r\n=Gpna\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220813053727.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/53c20fafa5ca69305fdbf1f628f11e68/chakra-ui-react-env-0.0.0-dev-20220813053727.tgz","_integrity":"sha512-v0owmbuwwGhWnrC0EnIa2J76QHebT+TXb/B3lhV8u2l7Wu6JY+eicnWooA4mT1dJhV8R2mZC9Sb22nn2W6MDcw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220813053727"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220813053727_1660369113801_0.9300886426196655","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220813055957":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220813055957","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220813055957","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"4fb66059b8a0b21ebc6d5679e935936802bc3238","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220813055957.tgz","fileCount":3,"integrity":"sha512-ruhI5mugnpKP6OeRkNigAE38gTrZOt8bDWsTCP9Nm9XnTy6Nlhp8a5J1jZEFxR9M8RMSaS0Ho5PRhvROicikCA==","signatures":[{"sig":"MEUCIDoLjIkSCC2w9zV1Jb2ECG24mzW/jRCIYTeA2cNhN0jQAiEA9aldkY8ETCDjdQt/2Lxl+rPMmUMxxPorkxlx/RRJr9c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9z4YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoz5g//f82c0gHMdK1ru9kUkN5DKvPWH6On9nwP4G1pROY83Uet0PU1\r\nHLtaqymVPzYSqKnG1rKKO41cH4zG2lnIRSBmn++IqMAsR3ZE/SFpPpVJvMjX\r\nVNAuq32o6ZHHlmd6N9oKI+lVRUuWN0oFJWWRoJ39jEZM6HwkeA4oKZxunsLJ\r\n+iFrNSDwOhn72VN7KZBkBfs1F1jlBkKmb6fG4hRXEmyfC5qba58xQqABfDzR\r\nsnMCci1foqpnuxX0QSf9X3Qbpy/pske85r907yK5E368u7maqm4Kssmt8NQi\r\nZbTY6TLFeQ0MESK19HSQtSS7kaus0zrpOH7gAXczpyML/eGRqxutRdxcimGD\r\ne+OcYwCIPqfeR/8zm89jXRO8sqCiLvcOZOWXlpsna5aK5gT+yWBbioFfuv9P\r\n5fEigPe1ltXHbnRgpnzfWSYJup/Q2b85szQ3jF98vm2b19bQOPavJtxISOXk\r\nl16vW9ZeYDFeA3jMZd4BUzz6oi/euwyrE6NegyQ25MMb50bBq4g2g+uYhnVo\r\nBeINHGtewFXGxxpetNMRaziVAKDOVnHJEritCdJmVyng4++/fzkYls1vAsqd\r\nCAnNR5fMlfMNwTReS9GhrR8y2+LxfVhcGEzqm8LT1OYhNQLWDQdawUQNWxpH\r\nn0eFouNkKPEpbBbiC0mwOyf11KZkSd+9RCU=\r\n=evE/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220813055957.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/8d13ea2516a46697a6577239d380073b/chakra-ui-react-env-0.0.0-dev-20220813055957.tgz","_integrity":"sha512-ruhI5mugnpKP6OeRkNigAE38gTrZOt8bDWsTCP9Nm9XnTy6Nlhp8a5J1jZEFxR9M8RMSaS0Ho5PRhvROicikCA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220813055957"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220813055957_1660370455941_0.20756527668828828","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220813063717":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220813063717","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220813063717","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"3e441630b519aa5479ef9bce16f5355e027cfcbe","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220813063717.tgz","fileCount":3,"integrity":"sha512-QN519HcmJjTiuSswjQtX2GX8wEPL88o1zUOh3O5V729/Z9JhSbQG0R7HcPdZit5e6h27kwugJGtKwO32TCVV5Q==","signatures":[{"sig":"MEQCIGOalUqUCHN0ydt/2KJeJFXf2WIPP77M99rtabVip08sAiANCQ9BYlZdpl/GKrLK2LVdGJBil21sCC0B/2NiVBsW1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi90bSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrshQ/9Hm02GoZJP+uF2Y9tDvESmYtgFrQJMqT03JvZcf8qe7oEIIRR\r\nR4dtFlUmRvgweD/yiQQDx61a7mT6RU28cYpbFxCMtbHdfixIhUIHhzLI/8ln\r\n42C3jEA1tusEGnpZxGexwE23mE8/xl3vIkFbplx65laVPQvMTOQq3zsz/bm2\r\nJMHZMqNXRcyVrSpakpFKABDh5mXaqlAgvYn7kgXjd+t1Qc1wirJbtUKp0aUp\r\nttSWof/+lkUTM6s1MrBtRoDY2pYFySie0o2pkbktf7pDcVxvZlj+Vp5er+79\r\nRf+YLozYpPOgWsdrsKVmO5Rj1UpzNtl9nf0o3odner3MfKEhdYsluz3qTg3V\r\nAeeYBN7Gv8vX9mELWDkG9sICiXL/3HxrxOep/nUu2Rd8e3QQhHgSd2nmqA1w\r\nOShYfk5qsKqxejuZtS2tSLRirND4gp0iE6QH77oDScU+Dd0jbf9thsuz9Zw3\r\nAlqfwoJrevtfTVozFTKWAb2g05zqQqbURLkoOY9zgI0sfKj8u3JpEPVptO++\r\nll/rxllHxlu2LrJ12+FhiyfH9fCgczUqgw2pFfdmkIJZ6D2o4VDJz3m/eC1c\r\negiPGm6t+JjJl4e4afc2jPbkRJ6pPwP87ATFXAXQ9aYpNTj2GTvivsvdXPQN\r\nGwW9/+qzpioSSBIpQFxVWA1ZC7HYLBA4vRM=\r\n=CNK/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220813063717.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/e75f6838155d39cf81100ac2f762299d/chakra-ui-react-env-0.0.0-dev-20220813063717.tgz","_integrity":"sha512-QN519HcmJjTiuSswjQtX2GX8wEPL88o1zUOh3O5V729/Z9JhSbQG0R7HcPdZit5e6h27kwugJGtKwO32TCVV5Q==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","dependencies":{"@chakra-ui/utils":"0.0.0-dev-20220813063717"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220813063717_1660372690356_0.4635200168825504","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220813070741":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220813070741","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220813070741","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8106f090e2cef22b3a62d6a13ef42cbc025aee0f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220813070741.tgz","fileCount":3,"integrity":"sha512-LRZW4AbpkZtESMFuXbRzGwseVhs0c/XGcixTE/nHUiZlJeVBhkQR0OaMIlFesJrLoz3I6k+TBws5oh87uYELtg==","signatures":[{"sig":"MEUCIQDe9/nQ8so9kIohwjpFV2Z/qCKClFleqicD0IFGuj6MJAIgTeXaMNJukJXHpoaCotkvg1S5O/CNDQOY5Fl7HYJKNtA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9030ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKvQ/+NeqRqChzTjYMdutt1NELnrnURQL9RQQMU4ToXbCgaTFKguS1\r\ngmPxTH78PI97suRx1hMkMcqNpA+c30x14oK9rc2/Ey3mfv5K9xBZL/SiTadB\r\nbw815aCWMVECjOSXQXOWG6hqUG/lBGlyL7hjYkmaHqap0w8Ut5EIvkGrNwqX\r\nHSNNsHubihx5Q4GzXrfXdbtbrqItNU+ef94AzhjQ4x534g6jaGZD8wH+ycyX\r\nSQ1BjhnqhOSP0eCIHtxyAwimNVELg08GzXc2onj/N2hMp3y5TtAeofweLj71\r\nG724kMWQtKCtsypqrOtrTHc/RLMTAPJhEFQsngjtcHR5AXtj7gVewhTxqKDb\r\nfvN6a5D+4gzsGhaal7l8K7cGagE35QB1IJNeYKCqEuzjzGuTLr7Jk0dopTFR\r\ndYw4orXGKYdMBNUKEZqnq4rMBGEIPX31zWBKbOroWN6InPbVHZhpFoSooZsq\r\nHbK/bCGzez17Jnd7eG8ZqgKxXuU1QVV7OjpH2TNSPt3ZEy9fcDzZ/9O1QfUk\r\nXebNrfKzptph/6ISyOxR9y6ufw33tmH3QJFwKKH7sMAAVo3zH8vbZ+omKLoz\r\nrP+lILfp7e+e3Ff5J/nkL6tXumHSBmb1ogzvGOngLOppckIQKV3X8ELH7RgJ\r\ntyoR0ItVxTKDwEw6FahGEJSY4iYAjZ15+9M=\r\n=NQKh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220813070741.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/221ca4d2885ac3f505cb9cdf4c179563/chakra-ui-react-env-0.0.0-dev-20220813070741.tgz","_integrity":"sha512-LRZW4AbpkZtESMFuXbRzGwseVhs0c/XGcixTE/nHUiZlJeVBhkQR0OaMIlFesJrLoz3I6k+TBws5oh87uYELtg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220813070741_1660374516092_0.966849484024962","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220813083358":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220813083358","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220813083358","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"af8c953e0c24b50f3ef21eb3ee7f83306ae1bfcc","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220813083358.tgz","fileCount":3,"integrity":"sha512-x8pwdZjbLejyn3xEBgXyz5C3bYwkBBwl2dQw4IQxhsQzUp8rES+3to2vKijQEag0T1SxiL+aoZCTTXEvUjHblg==","signatures":[{"sig":"MEUCICWGdswojj8iORghznWX4YjAiM9SxQCVz53t+GHJuaLsAiEApjq7lyPf2kBWA3EDGdPQY1YCSkvkYM1t67uh3aoEGKc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi92ItACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrzUA//YL6qUibXvl+tHF6wNnDZPrxgCEv1KKf8ZA4B1NYDSnxhOin8\r\n0k2sdmi4QWjIThcS67O0oVSSUdKw3+OA6v2iEfE+XjtswVgHIxyNuTKeRY/0\r\noLejHLhBsUxdTetF1FQWrtNtIHkHHQpAh+J6xoLZD76VQORBwkoAZVmjmlTG\r\nmw5BN/r5kn50hPxVZ1Wl6s0pQsnALhOkRN2U9BegQzqUJT1PqtSMyymwaGnP\r\nSPwm3B+svACeFV15u0q92L7dMRKaWM6PuerOg9NxW1sGbY4gVWmSHEftVoR7\r\nKMuNcl+06p1NiGrlcft86uUsU6zBLCytJnUXlBj2kEKn7/a0BcV86qSX6IAx\r\nc05kQwCkgshlKS01is9ZQdZxGhIfvld9qmxWB7AG11CbZ74zhDys5tcDaCBH\r\nA+otS1ON+RmD2Mi+ajDILGsKRd28XP2OOpFDrmMKfh6NfIkPwWHySnISJsQD\r\ntzVHl3U8ZBkHqkg2tZDRRiKRyh6fzWa/hFC0IR+GVzQBMrjbZ9fIbII1WuWc\r\nVgOYF4zCWtGX7z3uxuqhRYMzrmryRgj9jspA9GMjWj/ivHIH2RNvTEEA2cgt\r\nBsUKaH2iEzUAxYkNKIXMRR8+XtapUn6We6Vx0t0S3BivB0AENpT0CSYWPkFD\r\n+ItR+P5Vufe9AIhjyhLmAQ/1uEIeORMDcMI=\r\n=lcbF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220813083358.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/673efc2105000ac11c34da1ce097c91f/chakra-ui-react-env-0.0.0-dev-20220813083358.tgz","_integrity":"sha512-x8pwdZjbLejyn3xEBgXyz5C3bYwkBBwl2dQw4IQxhsQzUp8rES+3to2vKijQEag0T1SxiL+aoZCTTXEvUjHblg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220813083358_1660379693544_0.29796519184724435","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"@chakra-ui/react-env","version":"2.0.7","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.7","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"8cd5d8530f0f29ff56d9782146ca760fabb28d59","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.7.tgz","fileCount":3,"integrity":"sha512-AOCOEz6Meq9u4xHu0ObRSGaHPT38pHSD0y3awEYx6CSV43Uw7UD6DCzW79zsf2uS8hBULnVwBkbjVz7uQ8r+vg==","signatures":[{"sig":"MEUCID6T8D/Md7jxVVZeICl6zy7SqgXdyObMER41iMg7Mmu3AiEA4xDz3Yog3oZv/+kz3/iUccCycg3sLGNPlbxiKdKmvH8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi94HZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrStQ//bDTRUW8zfkd5SyVlukuIzVW6YC0ic8coEiVlKaxbrgO04MDG\r\nvNTXByJXCXCF7jzUppBmSoRaFOfitz0B8FDTnJmhDaFwo1GT4FG/NwCBBh3E\r\nFXy3ZvuG5yznG09QjDtNDM+bdgV+6MMNztEJUzqtU3E8fv0Ujuilh31udfFt\r\nX1C910pCWSrwmwyN6o24nGTOKHv27UzxH0LU73jR4M57QD04fXb0c1ek0GHn\r\nOoEY+jBYqx5Xiu+Ypvul6nPXk3ylDIMu/rUr56MfB3t3hVjZCnG2X2aAsbz2\r\nOrXIk32/eXMzkw25eHmFw4b+swWMqUyOq1G938+bbKDzlvQUPGWbyjUAXHaV\r\ndo28eKJejIiCUPV4OFuo0Z9EsLG6ICxaDb8eLY6IzJL94+e7UlS/oOnhGLa6\r\nVQ237WhjSsK7zjmCPpgtmphXbQV/iP69nEj3GjpCazn95u+BMR9Whc8+EqLy\r\nrgKQ6rfDkrlOSXCTIEV/UfiT6Vtr4KM+/P4QpkGEZVfbLvEwDFrKEqtXSuXQ\r\n83S6VtZKREr/8W/4TqIhE9Ct3jt2OBG4hRFj9+jr0GfTZ5sm9bkPHxcVUVtC\r\nvSB2nSyQkHxERqOT/wjsGr0EKo9fHQkCGb4wskwCCRH3SpV1dfBQhC/wtpu9\r\n5nx/Cieejlype7TCYoqijm/5o4abZQ//Z3c=\r\n=9zWI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-2.0.7.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/e97f3aa510c37ac52555c1cf8a112bf1/chakra-ui-react-env-2.0.7.tgz","_integrity":"sha512-AOCOEz6Meq9u4xHu0ObRSGaHPT38pHSD0y3awEYx6CSV43Uw7UD6DCzW79zsf2uS8hBULnVwBkbjVz7uQ8r+vg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.7_1660387801182_0.8228812437038777","host":"s3://npm-registry-packages"}},"2.0.8":{"name":"@chakra-ui/react-env","version":"2.0.8","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.8","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"3d2fd11cdc04297addfa568a97f4bae6c00d5b6b","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.8.tgz","fileCount":6,"integrity":"sha512-DmRxJkw2mhk26FRKqvTk1RnZJK4mPc+dMWELo2oY2e2i2QvzvHw0ggvkAeyibyorsIJ2fFlrhHzPxMiNwL1SkA==","signatures":[{"sig":"MEUCIDtTaa4I47r/XNxQoEnEwJzoAI+8l2Swd/JZuNn2ubENAiEA97xtjK8HpFGM2pV86u+Ultemwq73AggXy+nl1D5AFF8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+KABACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpp9xAAig26O2yrBdvSlMHyAqDG1beHt12c2r2TdQV0u0QBU8PVizDK\r\n+9FY/J3cYGeSzeCcfmoLYLZpi8Dy77tzyPwK0oN7nlwv0iRiPW55gEKpHJnl\r\njyv3uWv05eo1e0fSjf+iUNU5tv9V00EUCxcBA+MDZOnT4W8IcYdFItUdYicI\r\nbBqWMC+aJYAKQAqkKljgqgN2EjaWpZEt3vgOHzCg3mot4BOvCwzeyETdcD34\r\nJm2slbG1WEWL80BLjfJlPbl+JcuHr3fOLTLCccdw4qeEn6dnxtvSQGB4RZb9\r\n5/51LEKkeCGQNa8l49SsVo8ryH7zsVkGpqFDEUKLddnBVDomqKb/0dS7Mjyw\r\n3QHzCWlVqSDBQo70LSfO7nQ2/MVme2vSXNCRYqpsVXZa3/ImE/z1LlXLcdhz\r\nCoD3w1izO0z+3e8LZggynfVPBMnPe67+cq7uzjoNsZpq++SS42xOiBkXMyZX\r\n5Z1gNSv5AIkRVeY4/hxt3mv82kH8391QyaqTDZLAaXBXTc0TM6Yd6fmzwxQ4\r\nglEQgiR3vBf5zJd2Cz5tHXoX72yvioG/zu2OFTspqvL5wlLary4olD4astGc\r\n3fBQwDsCuoXRS8Tg5JJ08KDOuYSwo5BWEtHs5Qhz2fVKxg2RXp6gu0aMZdFl\r\nhHWT5HBYPTeXhwJ8mfM3T6BaPNybEfWODPo=\r\n=/zc3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-2.0.8.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/private/var/folders/fh/7kklt1bx7595wvjxfmcnvkqh0000gn/T/1eea38b35c78bb53946bdb42682e3011/chakra-ui-react-env-2.0.8.tgz","_integrity":"sha512-DmRxJkw2mhk26FRKqvTk1RnZJK4mPc+dMWELo2oY2e2i2QvzvHw0ggvkAeyibyorsIJ2fFlrhHzPxMiNwL1SkA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.8_1660461057533_0.4695115614014187","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220820124231":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220820124231","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220820124231","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"76746e796187f8a59fd38d49d0b4bb4e7ea8aff6","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220820124231.tgz","fileCount":6,"integrity":"sha512-WufqA+HyY3NIPKMEfPmfsGGGKWzzNL7xmJ46/Yd2X5P9FFpDSrICp9gw/9CqJLZHIn6aLMKGFHQgFJyaTh2B9A==","signatures":[{"sig":"MEUCIQDCk4sht6G3ULnvFchUVZLqxWITAE7zSkNR101/koihagIgBDcMj504G5hpbbA/ClW7I1ASQRijbjfqJrqgASq8AG8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjANb9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRPw//ZsSyh0b6awxNWbLbkXv4dJzlFtg1LXE9gT5dc89qUAdKdRau\r\nnTmH6RAkpPSwI1B8D3GUFHPLbvx8J5z/RbSHQy59Tx6mMiAYTHQh5u45KKnl\r\npeLyz6mQgizfGDl1rYEQTuzAAHWPL0pFD60kyZGy7hqHQXtkdOauJbvhWNKV\r\nYVrIfhifl8n7hYqnsfARuRGLVHXWTFp2hOOVp3jCQIMz7qxXQ7TVQpIE1xhw\r\nVVOnjQ5v1xsvLscIQ9uCpVwcoDme87Eycjd2vvBd9ThhrcoZZRb/DC7BiIZr\r\n/eaxRsb+HRuNB6mMiM436AKnR0I8nNMQc0FDN37YwFcU4RX4m6c27qgW0prC\r\nHBzUNC1OaKNHwHbg/pL2dR0pVVxEtBc5ARSePfgXJhIJjfTsQl8TaxjgDyqE\r\nj0MKdnhNL4rf3gBsBSucdMSUqqOsPANJl6zuvdEJoWVDlaUNvENkr5R4I417\r\nqLs1H/P+GXDpsTqW4GtgWsTPTYe2ij0/mttwf8R39CRYj79gqTM873xFWucp\r\n7aCubULnSaWta48smjjDdH7jNNto2vhHBJjF9e6FsOzAJjA6FP96Vt3U+NDy\r\nyuQeeiC+PUOq6vTiqm8Dpym0dj7fNrGZZDLsaEU5mhBea9qdKQNyAvJZwfOh\r\naAKalbieuKl9e6HZb/MVveu3MnMV6gnzG3s=\r\n=w32U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220820124231.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/7b9d3b5384387421cdf5e77dc94e994e/chakra-ui-react-env-0.0.0-dev-20220820124231.tgz","_integrity":"sha512-WufqA+HyY3NIPKMEfPmfsGGGKWzzNL7xmJ46/Yd2X5P9FFpDSrICp9gw/9CqJLZHIn6aLMKGFHQgFJyaTh2B9A==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220820124231_1660999421099_0.8927117763217278","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220820152257":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220820152257","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220820152257","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"1495d9226a1c4959ffd163a2dbf855407f427ab9","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220820152257.tgz","fileCount":6,"integrity":"sha512-BNWKklmabgNyvg4FOVimp5uDNgngtcWYEB/bGeNC15aFDrwYrsrzWGGFj+Wc894jIkHrdAfE7gZx5RZPMaNnBA==","signatures":[{"sig":"MEUCIQC8OFzGCjKgRp14vXri2EmVdn17WHPVeTcbAZwt753ETQIgSU6HtBKuGY2ejt8dGazxUvz3TwV+XnJ2l9EM9y0YIZs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAPyOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqa5Q//bNnqCsrPOnFUeyaxH4jVz63kpRa9ZrzFE6I+12ExTO2RMFY/\r\n6khdOOhWz5cZ6hbzeB869AmSCQOCn+xzXQgtcXuKZUBxXKDCzvmbLzQenT6D\r\nupmXUjRHdpOjDGViaYjV2D8IeuS8hByr7dUEq6SGQvZeG7e81nbkUSr3SBlU\r\nuTT5cplTMun0bvOnzliXEZykgjGf+jFccEIZ85/+XkxQXcr34FOfWdv4t33E\r\n61iAH5MIbT+wTAfjy0Vy82GSdY9Rr2lo7pMH7QYxVWOHPhES579RjOmZlNkU\r\n3tPUpCgxoEFk2Iz82SAMk32DLL8B9tQYykunePuidV93UpUSci2mn1IwKgek\r\nSKTirH9LTIfhbrrA2AupSwDoyTcxvE8kEmVFbuSzMBCh3kK33M8a2O0FQe5N\r\ntRXi0XiP9BbT38wD5wc3TG596iFN2KbK0MosS+sSX6Idr8/+uRnzTrgZQurj\r\nk3wEFhQHIiGzzMB0s8CUydTSv3uI6OyNrItfzqNHGgIwYYd58gYLsZCRu3X2\r\ng2me7KAFyPpjeQLNNnWv403y2g1rLn3yexuQdF2KGdiTF5/Ty7DHXKBmHh14\r\nyuNRnMpZ9zXuBgNavkSgsV8hI+xzjRP4JKGPBgyly4+674ZTgm3y3HMtBLhh\r\np3h7p4yFcBZtZYIDmecGWxe9qs5FY19JPzM=\r\n=tTep\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220820152257.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/530f003c80c8eaa81306e776df9833cb/chakra-ui-react-env-0.0.0-dev-20220820152257.tgz","_integrity":"sha512-BNWKklmabgNyvg4FOVimp5uDNgngtcWYEB/bGeNC15aFDrwYrsrzWGGFj+Wc894jIkHrdAfE7gZx5RZPMaNnBA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220820152257_1661009037977_0.7828870355093542","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220820165925":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220820165925","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220820165925","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"aff56b81bf70d0d3a5ba05da7610824f8e5e94cf","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220820165925.tgz","fileCount":6,"integrity":"sha512-gNe5Xl3gVGa1y3x5tmJynOmQL4fAEU79zH6EAE8atYwlF7dks6zgu96NjEL+20xVCBotKOlE2MBgzgLjBe4/tA==","signatures":[{"sig":"MEUCIQCPjLORCIdANs/FmTErzX4C6/l7UA1I3oTM3RIK2cP2KwIgKX2yniQ+80kl+dsWZjgvQww7O4tbH+WJtEbY54RLGGM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjARMnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6NA/7B9BEh/aje8t6TNkBDk9NqYN4KDVWeCMytLfzx3zX65+xVHpH\r\nSfueMcih47YB7tEBo6SZ/y72vK508IJDt1DnODUDphIPMFWZZNjh0hTifmvl\r\nIa1kpPswuAa3dSOZKH0pOl6kd3XvZLRvMq1Mi4DIVVWQ7MY4lChkW5DaQWbc\r\nr6hhc3ou1f2HjlIQx5LkPJDP/D6Sm400Nh6ZUkLHo00Xxo2BmrdTew61+yEr\r\nxmUZpNbzIST8rViVMquX00b8KKyTgY/PknEuEuKbW4NDTF25WWqjj1bRRS/X\r\nozflHbId1viLaLNmDhsmBHH0C6DaxuVe1nT83KUVVOQMjcl+jZ7Q7OY/mWca\r\nuuIDQsHXgTgp0MsQ9nVxYfD7Jm+JdqgqlaJvNmYqxOZNKT+kGJYboqSUWk1Q\r\ngBNmeqkUNiMlNHCNgN3JLT5dY6f1zUwaFERZSYMMaF6KJyc5ZUxKUkI6e6GK\r\nQ027kZqfY0/pmTLe4NG7R/b+l6bWLK61wwa5g6oHKT28BdarxGbMUgaWwtkE\r\nHnnKowWAaM286d4515JGYSi+M/fDsQBs+3wb4QgIGRQaQALcGkg478IjkXRf\r\nSoaF1duLialVXrah04kiMouK/ppkTzKC776YngKX1jUQoTonDWLNLUJ57fuC\r\n4YBQ9FwNAJL7HhrsBU1WGtin8PBvluoMu5k=\r\n=89A0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220820165925.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/8e0f5754a6bf99ab4de1bcdda33ebe84/chakra-ui-react-env-0.0.0-dev-20220820165925.tgz","_integrity":"sha512-gNe5Xl3gVGa1y3x5tmJynOmQL4fAEU79zH6EAE8atYwlF7dks6zgu96NjEL+20xVCBotKOlE2MBgzgLjBe4/tA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220820165925_1661014823734_0.5619665811704593","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220820172220":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220820172220","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220820172220","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"5fb09d4ec22c04943de0920c988b93bb0cf26583","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220820172220.tgz","fileCount":6,"integrity":"sha512-69H1CVGS802i1qM8yoIkZJZJMicGTkqE5LCmxBz1NUrqWy0HHnlT/IH5kr7mh6kQhKJ8XYVO6z6BwroBjhfDWw==","signatures":[{"sig":"MEQCIHvac0i5tZsyDMx5vBsnbz+k1vT1ZTSBOa2a3j2lEZqRAiAt7zt9N0ttx7KSAocxJAeWyuiDFCY/d+WgKGUDj+ylGA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjARiKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqinw//YSsULbqZmy/t9moiAhYVYmICZCjBsadMAOsiJr9qaPUZSq8K\r\nmcI565nr/WcN7n+YwRjpi+AXF33waOB6wKOTWrBzE6E3FhbbJkgFtaLi+GOI\r\ndXvhb+qxJCj6QPwtkUNc0H+TfpC7nEaI9H5gkZ/7BdRHnqhk8R9t5kk1D2Ps\r\nPEpXfR5g3rLTm+G/VSE69/fn+H4C/4Fc4z9PghqfKpFnlQx/LwRHm6hS90nG\r\natr4gMsvOu8CxWjsl/c4F/Jc1gWcD6u4xps2/uydxLKUkLqHMlWPl9t48i/k\r\naypHvB04v77DIbM78+qTA1Wq+VZ0ODvFkcBM9emlrV4vbULYwnktGH6QyHWX\r\n1H6N6dvS7xGlyTaN0y75fozl86CYNkbOEclqbZnB/nHtAOLEhI/qN+/ZoptH\r\neruyKI/umj5VJqOMrNQ9qzvSJTAM5ppB91jFZ7cEUPF5MxhwY+EupRg3YZ63\r\npyxsY8gXhqBUxt9Utlo9atoJ9myZOZj+t2qkV2osfLvcLFYLCcXUoRKVL3YX\r\ntWjLcaaK+0umGbRbvsuPfJF5gWk004DUr+Q8aGDTQ7uaqZfvK+tWtcEIW5Yq\r\n3+UzsZEVTtjSj80Xg8qks8Q+AN3+r/HAynUnvBtD7Pd1mwxhRY983yW2s5zE\r\nL0P1Hmp4p7zJp2UY3h2Vc+aU/+fCSTdJTSA=\r\n=hFs7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220820172220.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/764982074056adbaedf00d339ad165bd/chakra-ui-react-env-0.0.0-dev-20220820172220.tgz","_integrity":"sha512-69H1CVGS802i1qM8yoIkZJZJMicGTkqE5LCmxBz1NUrqWy0HHnlT/IH5kr7mh6kQhKJ8XYVO6z6BwroBjhfDWw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220820172220_1661016202062_0.060117529297582184","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220820173639":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220820173639","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220820173639","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"61b8a79f818ab879e7e871c3b7c2492730028d16","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220820173639.tgz","fileCount":6,"integrity":"sha512-RSQPmYqGZoONHya91sVmBDMS4E/TYFmmVGprNbC5Wlds1UWpel1zWIgwt8BofT2kRAz+NzbqeaYu7Mf72W1Hkw==","signatures":[{"sig":"MEUCIDlA9SB0flmWtcqu1mXNVcNc8HRPynYnrKlxNLJGZP6mAiEA+vtDPVpdvTfU64PKp2OmEfqkvNlEVFJH2NecssCkfh4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjARvgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozmQ/6A/6HwqoQFk0+okah5kfqoYsaMKBmwybB58hh5Rlr3FnyEDjs\r\njs3zUL7r/dLUZUpZgywXya6lB1KsE4bQ9bn4ZfRt3nUj7FA1uY+wUgAQJw8e\r\nRzERnDozLBo/PvhqmXRDiZyewDjUEmBNC7bIfSG2+/CythT0lxW9AbbT5YV7\r\nDzYlywECxnJTEgJesbNkBa6Ps8Hv2KkAVSQK9iCEI8kqPPkMtl+zL7oVF5Fy\r\nMFZScaNPKJlOFpG0Cz5dPuhmzudRtV1oCH4PaGthkkjcMP9m1BIIUpib5H/1\r\nybRGTXoGyJeeiiBk1s7tMQdM/WbpVpylmzVlQCZNwMHftOd+Cr1OjJ6pKiAy\r\n9+fw8vfIeeFc0f7XakXIVJAIPPT35tHz8nOAi0D2MOrhVLMILhyye3oS1upX\r\na6+vIAecdVWL0KKuWyPmaWabM80fjs8mVor8aYRW6IGzXFhdBRE9rH8Yl1VG\r\n23VQBjCxnyh0zhlkVhoG7sSNEXfoXcBxyZ986doGlhJuVkGZ7sQhniM8F0dd\r\nncoP8zydNQjksTKUl+wzMzs+3Hwg5W307YHobMlgYTG5apgvhO1Pf1yYglok\r\n9tQsOHMAf3UCccWkyUzdNKOC2Ma9/8yQVslezILt0IfTtgpfaS/RG89IPdrQ\r\ngmXKmhAYWgMU2rLUB3iajmkB3bCIJvZ5cnE=\r\n=QNbG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220820173639.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/1ff18348b03afe94010ba9a9dd9c1bf8/chakra-ui-react-env-0.0.0-dev-20220820173639.tgz","_integrity":"sha512-RSQPmYqGZoONHya91sVmBDMS4E/TYFmmVGprNbC5Wlds1UWpel1zWIgwt8BofT2kRAz+NzbqeaYu7Mf72W1Hkw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220820173639_1661017056471_0.054672681848263016","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220820185458":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220820185458","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220820185458","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"433bdb45e9544d5125cbce8037d421e14bfac218","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220820185458.tgz","fileCount":6,"integrity":"sha512-StBCYFp/pAMov6297CDUOkVj/Dh65/oPJsDsddncTZD4kRzwgTmGVSzj+IF4ansT4I/FzZ4iHcXOUF83b9TJaA==","signatures":[{"sig":"MEUCIAUzahAlVwOl0Uio0t5pwzkwZaLT4G66eHMTDEG3nnCKAiEA3DQq9joF1AukKxaQ/Myte2kik3gwjbNC75MWPRju9XU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAS49ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrk4g/+INg7qOauV0zZY5fgfDHLATQS0bd+20bFF/YieVhKYjOJp9Kx\r\nU8CjS0blvCsLA+cMkcy8/PABKq/JwiX1bn76BGZPPHWwEqmhNE6behbcMH1O\r\n9emV5BCSjfqB2rp0hYg3uTFzx7tE3usog8E6P5MB7WySf7p+sNAr6gNFWYoP\r\nEETWNz85AV3V5Slai89l+p/xYHVuv/InEsoe/Bzu8pG3E56DhsAsy4OLC1QA\r\nnH72vB2QBavbCStSXrsemIHRfhu9CKoi8ZU6S7miSVLTus+WX6ZQBRvP3Nj9\r\nHi5PoNdxhZor8vcRqmpJNOFlmNjTzae7E9kDBMQkTN/7q3EwTnfYysoGkmwY\r\nr02H/W5X8AbAEmfBOvoX1iA1EM/8lSLcejv9nISsZm3sfHd0iO9pmOIQn2Yb\r\nQlRAKRT9nQNmbobn0BTs6UJvlabYo/3p4g+wBdVVRyk1BtrFD5/b5BEvgelP\r\nUieiN5JrshOg6iIGE2T3IKLX1VpS/j7fZVN7HWBopkIeFy7F2EDOhw93EJ6s\r\nw+e/tDXrl6x5Ectt5kzlndPeFdfGfUHNqiqTIGZpUE3InOkJ05E4pLBJuqus\r\nCa+MN61gnTj2L6UKnS5Kl/S0BLXBl3iVy1vmXUdvYGUYbXq50GcrQXzO2vKV\r\nRJ4r8M3JZyU8ujeLwkBi5hCQZ9joJ5K5JjI=\r\n=bTpM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220820185458.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/92119d478e972ec300d0002e0de2d671/chakra-ui-react-env-0.0.0-dev-20220820185458.tgz","_integrity":"sha512-StBCYFp/pAMov6297CDUOkVj/Dh65/oPJsDsddncTZD4kRzwgTmGVSzj+IF4ansT4I/FzZ4iHcXOUF83b9TJaA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220820185458_1661021757237_0.7774902263586512","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220820193723":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220820193723","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220820193723","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"5591f59b6beab2788e5d9512b457cc071b283d69","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220820193723.tgz","fileCount":6,"integrity":"sha512-wrSjOI1ioIor94giVqNI4FBpoYRAr2oiomPnDN0kSUEzDMN9L1DL8/Qh0lp1x423KUAB8ePv18dHftAcqjy2FA==","signatures":[{"sig":"MEUCIE/KCrjvyERtlHUU2smlDjKyR5QsDukz+qQxtUalxQOuAiEA4EIS3w2xKf+arnGXdtafZpTTuOphdiKnPzQ3rXxIJ0E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjATgvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvBRAAgM3lDtvzmZTTvgjuwQvway5yDLv9iuVFGoVm46Tv9O3qkLb4\r\nzuOycry96WFi9cdZZnz8wwVm8E8iTFL1JoZf6e7pgcfojezPNyKjgycSlEdd\r\n8ZpCTVPF5YrrafOOzCoILwF2AgM8l9/a0jxO2loQSnwdFfk5pbjdl/+7bO5P\r\nzy7zDh8unUxo3fuvaSFR8belo9fbaFCOiN/RjZneCJ4zEAjIyQtszddBQtTl\r\nW/EPsqFtt1x/NK+10zMInGdo/z7uwLP1vjFB8iQlx6n2wq7xIrSPgCo6KwC/\r\nSTckEJGlSKA+kOfYbe1f2bU/FrQyES3YUGCJUDvIqROW+jx9KzWHZLzxC1nJ\r\nb5PI/SOnGTmuJaihr0Uw1dcByZASO+MIbmIhQ2tHFcaXy2yClEcDSoO14MPX\r\nwhvb+laOVllmQHYpWmvL5RxEhL6u84vkdS4rDMo8WLIOYy2hAVa2w9vrwx0B\r\n8uSqlHfBOpF+4qq/iTzTvhK1XN3GMO+ETxj5BkeK8n/ahf4doCax/Pvfjsms\r\ndrcyN/FNAh8ScAWhR7/bT67YhHbkptwNPmwUjAgTYE6+3VaZzoucrewMmfZq\r\nVF47K9b4ZdVVRycwNcB1yS/c2ZN7g5L2wbktTkf6waDCbmWNPGjMpnYCxBzM\r\n4+DbzE+dx5GQBuQWun84DKFrvZTvnqLg7Qw=\r\n=dVy3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220820193723.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/805074fe9bde2548ce7ed63a71db96f7/chakra-ui-react-env-0.0.0-dev-20220820193723.tgz","_integrity":"sha512-wrSjOI1ioIor94giVqNI4FBpoYRAr2oiomPnDN0kSUEzDMN9L1DL8/Qh0lp1x423KUAB8ePv18dHftAcqjy2FA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220820193723_1661024302883_0.20707968118354336","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220820195548":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220820195548","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220820195548","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"ecd4c9552efac0e4a91448fcbf7a2ccb7ef7ea08","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220820195548.tgz","fileCount":6,"integrity":"sha512-ws8BDuPfDZPLfd0NGSCGLuaGgCh7x+IToZdz3cM4BluYbJeACxPKtvqTLdgKt2n41ZrssqnGxKccOvwQA/pVJw==","signatures":[{"sig":"MEYCIQD37V7ndGcFGNt0fspe8fMH2BxJNbo6XuUVSK0xq5nIiwIhAL4BNUSAjx6e+4udg3W1snLTUUYhulwQwREiVr2Eg8LH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjATx/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUGBAAhqhcVyGZRNnygrZClQZhpOEWS0zS9SobW+tjKIieIF6VXz9j\r\ney9q4fc/jkhsUcx8XN33m00yH2128yLn9DUQnYyi7JLzzyQAZkorLP9RUHL3\r\ntBWzDM0xyIKBtVK8kRIcaDd96TZGW2gryyV5UPi0VEiOFV5LsXuC3Fg/Nov0\r\nAbWwlfBKpPMc9/zm704PVtf7WBtqmwdgEjrYp80pFBOhbFQIF6bdjNobzdVZ\r\nJG89fiXhPAr2uODqREN+HoNnRSVpJJTyw/Wf/XHM5plcwnBwapoWitu18oBp\r\nCwE74AV3wijKFz9NFAb04nTucjBQw27qQ7uM5cNVYOk/iZ2/iARadRVneeuH\r\nF5a7QLQnrRXPJ++LVBdUt5M1z9+sFiKVILdDhtFo6QxgV3zX+OvHK2pTYjRO\r\nFJupiyueJx/BSchwhA3z832iAxR2GV8Z8F/VeZ6fqgOZnKPmaCKojD0qkwz0\r\nH+JkjbXwCp229x7UlPzCH7aRs2hbZ/HFKuftjoIJdNj4yyd+CP/pKYePysge\r\n7bRDchXe+Gm1mB8BKr39Pon1u1HZh+lLNhL+K5wxbPahl2J/WF4XcRBauz/k\r\nbHn8dVw77t1Gy7A+9If+eDZfSs7eM/+zNOwCu67NZcRdFfnM3nWRAq7xYAL8\r\nNrRXGt7FASn6LeRl3gL4UgjtN4ab7bFlOXc=\r\n=1NyD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220820195548.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/b1ca2acc68b549515c94b815d067e2e7/chakra-ui-react-env-0.0.0-dev-20220820195548.tgz","_integrity":"sha512-ws8BDuPfDZPLfd0NGSCGLuaGgCh7x+IToZdz3cM4BluYbJeACxPKtvqTLdgKt2n41ZrssqnGxKccOvwQA/pVJw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220820195548_1661025407056_0.5060347054718244","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220822051456":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220822051456","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220822051456","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"39b764343a3714df44fff366309669c4444e6f53","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220822051456.tgz","fileCount":6,"integrity":"sha512-JWy7MDp+9bxvxpEACZlya/NBnbQTNSXDyRV7tvx/3hOildfMAXNFZRqgmTqUo9SM27irwhpG/iFxU/p8sheJkw==","signatures":[{"sig":"MEUCIHep8NipQr0+nY4ufuDSX+Ll8FbQVNol+SxHUgw1VfVZAiEA/4wPtCzA8rt/26Fj7q3H7wpHPaSISw3DqXbwKp2gpY8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAxENACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDpA/+L9pwg22/EAC8RB+lMRS5+vyBICeE2VlIfyA0Q6MxYj+kV+QH\r\nYWuj5ko5RdNXfPR1yGSvCPY9yYVk1JMljU/UlsNbcITHcnwkNagVre1xnbNF\r\nGQyNBW5QQYdyifSkhrCtQf48XACiGdajQjKl+A9y/sq9NKdgsO16Fdl0ibpO\r\nQOflwE3CXey5+Z5lqkLX6bcFHEx/YB+VZ2dqxEFZtAQpPDmxOd5xlLKRXytI\r\n73FknB04368WFKA1SYWyT5MmuspTzNJUzoX0Yl6Y+bLjK/VxffhT7S1q4TxN\r\np4x8oINqT8f/TAWNr4QInqiAaisQlWAooAbDE1WWFL4ywObcWOJ6tmrJWUqm\r\njrebqnztoK0ivwYLWlqjZpHRqQMpCrbjvOSsCSRcXGmDY28jVMOPLujOZ9t1\r\nHvvMTXmIEKZSiRFMzjgGa8KzE6CcKcXJLqKI6xq+zoVKnjSyYQf0Zu/z8M1Z\r\nmw+P8p3a5TnnmQJc8EIVVRPE2C/balYHuP5o+r3Bn7hfSID77V6TzCXuE5Fx\r\n+4+H1wwfYzbFynMzOk/06THkRKEuFI5guZXMzO50hJxEn6U2O0M+nQVkI3rM\r\naDSSySL6jcGnsxvzrGnWeQkUZfYK2UoZjuInEnABOVDvz682Eu/kdwKkpUiJ\r\n6QXpNjWedBVOBeMpzKyNWOFaa7cuk19L29A=\r\n=/sCk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220822051456.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/aa69665b92b31a8de7cb8f353bd7582c/chakra-ui-react-env-0.0.0-dev-20220822051456.tgz","_integrity":"sha512-JWy7MDp+9bxvxpEACZlya/NBnbQTNSXDyRV7tvx/3hOildfMAXNFZRqgmTqUo9SM27irwhpG/iFxU/p8sheJkw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220822051456_1661145357126_0.59409253072591","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220822054045":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220822054045","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220822054045","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"bc4719a036b492b312d1a0eccf3ba21cee343d28","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220822054045.tgz","fileCount":6,"integrity":"sha512-Fx2u9TtA8GSEfrTj0e4htEiqu9IuLiVbuGW01fOCEt1hbNbLhuAEOzrs0SGrHrkwdWeulMHCzXu5ALyUybnWgA==","signatures":[{"sig":"MEUCIQCD0Mj6OJV3dmfyPXaginnJnuWMLHLkJ++k2h9uO8luQgIgLWorKeExnQ7xdx6AwxmONTXRsAs8+xEc5sIlpSsnDGc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAxcaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/Vg/8C15nSS0F+70H9ghbDvJekjvn9oWh+gq5DK5tVGXWmNNZc+dC\r\n3PnukFbM5jcdyxTUZKupzNGUP6nMiI3ZNGhZyTQTTxzdz49kWVpiW3k7+u71\r\nrrltrXhiOPqis9lhvEo6ShDf9iBSeZY7lREJU9XnMbu5PKZdhQTibXQ5ec4M\r\nOldakSqP3Nk+esY9TQ9PG9+KLa879n7cRdH5KZV29fBAtxYccQV31NQ2lVQC\r\ncT/CTSF12uFsY35S1Ie/lwsk/MRoNw7GJrOTGSsxBkiHbisDWKXRNaAnAbYS\r\nps2stxSPr/T62VBmbTP6yqJjInUARj5K8CmV/8RrPW5KRiVq8aOzwZ3Lprk3\r\n5H5R68WCfIcGMx8VIzFEOX5i4VsCvl+BOX9Uft+acjWpTk2L+cIubavbOYX+\r\nO1t2lpIHT12/LwZOe5XstDqYUPen++zvcFOKTDzl+WWjdqqjyPVcgmEXkDLS\r\nREEyD19SSYKOmCdMNDsqevSzi+b4cuDn4q9Gu1TvH1ZBmhBxieXj501Q49FZ\r\nCIlvlUjPdPNnARY6IfOJOGCzkTni3xgsHFtoIuTEo6nWO6lA8MXHqmcBwm9p\r\n2P1AAAmyyXQHyHyr8LVyg5A0gtiw8LWcLuj9MrBl8FqqWQYyTtPJ+iuKk6YM\r\ngEhY8uCosoVvBarJnG9qpxp6BzvGPTiBE7c=\r\n=Xjbz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220822054045.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/bef881abf693aa1f1c980bc3e15c08f5/chakra-ui-react-env-0.0.0-dev-20220822054045.tgz","_integrity":"sha512-Fx2u9TtA8GSEfrTj0e4htEiqu9IuLiVbuGW01fOCEt1hbNbLhuAEOzrs0SGrHrkwdWeulMHCzXu5ALyUybnWgA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220822054045_1661146906100_0.07005434483126072","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220822055339":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220822055339","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220822055339","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"eaba3568f8439e7ae648392dc517bf522ddf80f9","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220822055339.tgz","fileCount":6,"integrity":"sha512-8i0G0nIyCBJ4GK0oGCN+8qdDiwy+zkmz3N0351RjLqS9eNharGVxOMrgp2ZeEnjYIz9LswvgDK9NFwHGmxLWrg==","signatures":[{"sig":"MEQCIDZCpIE/Pyri6ieSa0RHk8bSl7vrMy5CUGyZL0EHX+suAiBQldJcVYY48ayqwhyXRh+QusfjfjWKzqR+tHLpwSR2QA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAxovACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrhcg/+JUVbX/KD3wSyMcw39FY2FJzPP0rLtXhGYUgxLF0hXsGba4Ve\r\nsd1jwzJsDZ7UZ61EAy6N85teUIDgscfwrtV4vuFDcRKq9DOqOwGMfjS1yan+\r\n+iejqsJguN4XU0EGoe/ERNFyVwCVfHSx8EJi9WE7JfrGSG6jZsDQJ+4BfCUg\r\nrHlaVtEtz9Rvp5moOc8KR9tXU/wnUkxeQDC9s3UAWf46IlK6nt9hBhiFwOd0\r\nRU+rFlJy7rQfAbNvHfrXtt1DCEZ3hN0P9P+P2n1TRsFNMARQ0g0ovMNJ0hgT\r\nA+PbtneYh6mADPvArvDiRA23SrlJ9/rYeSVx87E04vJD5Z8RQI3pp14wQ4T1\r\nSnaIDn0zTD2HGPsK4vHjY7MgLuP6tMpMbkaQ16XGSNfaITG7baNv83mNIkmn\r\n3SWWDqZmPuDPKHd1nQZksmVFMB3MyxcPlPBnNpkiRhvNyzKb+ojrM6/w5Kyk\r\nFWPpeA9yl7lTOv7fPPJwOqjUSs07v6kEBWZR748XBP1Taj+tFxvX9G8e2SeK\r\nPK+1Agp5p6QfHn3PkI3PJuwIwmi3cbQrg77caq3v52sCVJ93BCvJnTjoqADP\r\nAmCO5vexDISdeutYvKlYWkYo23x+IkuXtzStiPMz2tz6gY2kApgzkFB3Jzfm\r\npKrxZKhCplOV/QLVMQqH35oAxV7PsQHgiDs=\r\n=eqaJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220822055339.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/efa3db822f02c860e6cfbece0c5717f7/chakra-ui-react-env-0.0.0-dev-20220822055339.tgz","_integrity":"sha512-8i0G0nIyCBJ4GK0oGCN+8qdDiwy+zkmz3N0351RjLqS9eNharGVxOMrgp2ZeEnjYIz9LswvgDK9NFwHGmxLWrg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220822055339_1661147695618_0.0753970595102722","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220822103611":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220822103611","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220822103611","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"760f5dc342e8793bda39636a5c1d0aaa5bc6ddd9","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220822103611.tgz","fileCount":6,"integrity":"sha512-Vsgaky6kNkKpLH8+46ZS2Y2I5rQ1hYAcILsK2vByEmecQOGo8Q29JqyNex91obi5qb+TYAEyn8gEHEM+HhebJw==","signatures":[{"sig":"MEQCIDxHJuqgNTeSFbP47rAFAm8DLQQc3Yp97YrD/vC82m4BAiA/QtbRzOZFverR0YBFXxs9mBO0g+CTegHU98IS+aAikQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjA1xeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoD+w/+Nsx3JZ1VfnuJ6NiDbWCNbN6mG0St2Sd3FjD7IcyP1Z1LWVUB\r\nvqhmLPNqlaYnbuEByTvTDlWV7Wts4ZV1NFjywOyxkGsd93ILn27Bsxj6Fcnt\r\npdCYeOwHQ0SxvARJGuMI8h+DyTZzqKa7cxnGBZSgMyKanUi7DiZZNZW8sQ4q\r\nsRO/5vEj5Vay7qAWSw2PKk1HWKaCP3O5bUzIm/okPVXtBzVfqNZAYecfFR+t\r\ndJkuDRXIjmcJjgJkPTOAtsMASw0NXtUMCPi8mXiizxiBW34TtlMXuAXt848+\r\nw0F6KV6ZUL6OETUCod8hhfDlM+VcW0EZ0IbOCN9ZUNscU0fBlV4IHhTMcE0b\r\nr+fDiNmWqQUeY97ncB68p7HUsdjWEscrurfYI0EVk1g9iRWyKvsPXVBQz8Bi\r\nXMow+abjuFB8SX8aoE1Mb7feEKxlFBXpNiiHr47Z6tiB/RQ2SWGsHeer78Bo\r\nqm+bNX83NmhJtbfTtkhc/poAGKTdGDujFOztxXTVwO9bUzbez2futoIRS+Z3\r\nZIm4ESmeE5zRVxvLjYFiqJubyaUnz8y2tKPNYrAmmQvNTYRBCivuflAZg2Li\r\n3Z42rKCNHDpGOGk08fi+XreRymVXBSsI+VcbchpWAMwpWn5dfABkwqPm7TSF\r\nxfHq3qrLc7xMKWwTMfNi02Rq5XCXg6otwzM=\r\n=d597\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220822103611.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/22d3c845c049b4d221e9302891291ea1/chakra-ui-react-env-0.0.0-dev-20220822103611.tgz","_integrity":"sha512-Vsgaky6kNkKpLH8+46ZS2Y2I5rQ1hYAcILsK2vByEmecQOGo8Q29JqyNex91obi5qb+TYAEyn8gEHEM+HhebJw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220822103611_1661164638673_0.8387651355922021","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220822184448":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220822184448","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220822184448","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"383bfbaac7ef5103cfcd0e36e038c14e4eedd81b","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220822184448.tgz","fileCount":6,"integrity":"sha512-rxKodo+csg7FkHOiz3VbpaubOV1/h/U9HMg+G1YboVuF351xBk4UbMvt5g5WoGkYZEMUi9KTFeM2kP/DVcnIRw==","signatures":[{"sig":"MEUCIQCGllf+WnxkLz76lkq1owvZ4jUDJ5S66oz81ajzKCJCTQIgAVaK1VlwQLBZUzuDFOpn7e1VVbG3+v1KcePziW4SxNo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjA87sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWgw//dmfKKuh7MHqgl9kLA8LP+2BU92fGZdi/PZzwliOcOAGxFbJD\r\nVhERrwHAw4DXD2G36ZZLhGVXLl2N14Oz2FozQV7aHamO4oTX6hu4hgzXAmoG\r\n3nAsXBoKNcCbDe2QnhTmuOvKsOWOmKEuftlcfY7iOd2S7ZX0PBQjhFgW4cka\r\nQXEXlsmviZCngM1E7NwfUuTxdEzrTx3NyL9R4a4hE1pf4oGWLdPGSAJsNr3u\r\nIx3ZA5lOx+KlSMykBWJZPtIHqGGMIbwnjg1ChJw5WtkyAkvfkOZOsU4cFkAI\r\nJcbqgbjXlw9tJGevXFwhIY6/fWoxE++lP6KBAt/cenIQ74aZ1XoPMMypFqe4\r\nqSxb6E3rX2GOUFgWjo+S0qhGjzW1S83WUTTMTMyyGBnNfL4jOR4aKhqltBb8\r\nIWRVgqKcIV+EAoj5XOEsUvA06TMsqPiNeOu6FvnY3OFv4v2oblFCpuqsFslT\r\nJ+1gyIjTd/H4XxAOrPZMoXevlH5ejwSGAFE9Vx08iquGwFwT67XSw3QJb4o+\r\n6vJ5uWHZfU4p8j8RsnChUvpaq5l6b9+F5mnCtVkIHaERvhnQo+L92YM9Srgi\r\nQ/qtN8xjoLK6FZjMdpXL9urh7fkl/QhovJ9L7nenR7SuDnz/BM29EHhE5/bw\r\no9DjIzLQzM+j90uhvtwVPz1WdPwR0HxdNOQ=\r\n=VnH2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220822184448.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/e1fbbd05a4d1910484afc0b967878157/chakra-ui-react-env-0.0.0-dev-20220822184448.tgz","_integrity":"sha512-rxKodo+csg7FkHOiz3VbpaubOV1/h/U9HMg+G1YboVuF351xBk4UbMvt5g5WoGkYZEMUi9KTFeM2kP/DVcnIRw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220822184448_1661193963967_0.08018707149691506","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220823150801":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220823150801","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220823150801","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"4b4dd8cf6ec0b8a7f15fe2d312c7c9d7e88346bc","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220823150801.tgz","fileCount":6,"integrity":"sha512-tdelFNnbZr2U8Mi52qBEfzl0CmJBJY8E4qCPZaq5cOC43n9J7J8iCJGCcFKps7Pn3VMLg7OmIaFaA6x4MFVD4w==","signatures":[{"sig":"MEYCIQDDqScVFcQXOkMNg48vhlNSVmjM+UWOpC84/yeHxPC9qAIhAPJX/bN0jmhK+hUt7xmXcgO7dpnb3PW7Htizc5KUR6aI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBO2UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+MA//YLABKTloon+DHr7IH8lyLBloBSlJ2mPggDiP9lbplOtJG7Bw\r\nEW9tPlE6SM1a0a1QfpHnbRVRO8NHSqzx/VdomHyV4yHyp053WbMmbmmcOe7P\r\n7OOjpK/mLvE5XbJk51FPc1pXPcW1R845EUFFJPtxBxU/I1RjoGRY0XyD6nWG\r\nAdtnhRQAVwvyK9XRh/dUQ1SaAXJ0RhXhwzNE1t67NvdeXhxcOanl2eKKnzzg\r\nAE/tcGjBdVrNpLe4bFbvQycaJoS/qT4lqGR75NKMCOoCBn+yUku65kD0yXgW\r\nsYhaMvOeRbisqAwUtzP+xz1tozEDk2YpNzWBp6niNGW5CNCBXMKbEl5K2qY8\r\nv5lw1ThqcFzbolWeJuN0BYsa51NbIxEa5HhBYpcsdVTQtg6W6mi2EIYHKP23\r\ncfRuYfF9LhgLWGwAdUNbNt3u/O6yX8CKQ+SEsYtHi1L1TCqgUdVb2xxA1QL5\r\naXk3LC6NAF1WxtMyy0B7yg6hdz+ppO2spt8fGWQdWJXSAWt9w5h5UP1M2chL\r\nh+o/W01x+EkUEdxHhzPwuWer+mIdLJsqh3Dh5JVW55HYCudqI/w93r18sB6b\r\nt56dzlRyUh5CvCgC2ccl3WIh1IifNxTTTtZSFzcB1xkFYBJwMYYz54xRMAG3\r\nlNkbXOhgvGLBFSEkxaNm0wBUWiV/mcDdbNQ=\r\n=dMEo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220823150801.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/322599713a015affa2cccee323e42fb4/chakra-ui-react-env-0.0.0-dev-20220823150801.tgz","_integrity":"sha512-tdelFNnbZr2U8Mi52qBEfzl0CmJBJY8E4qCPZaq5cOC43n9J7J8iCJGCcFKps7Pn3VMLg7OmIaFaA6x4MFVD4w==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220823150801_1661267347922_0.014321472109039224","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220823165602":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220823165602","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220823165602","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f266f1f5f64f5f87a9649ef74065195f41a7f76d","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220823165602.tgz","fileCount":6,"integrity":"sha512-toEOS62cYIMP5W7MMkPxDMt4L9GBcxzdBjhFHfENQz26jLa0jIJwBUUN4TCDwOgJtaJgt2g42H9TkCZKyJY2sQ==","signatures":[{"sig":"MEUCIQCiW9iJXrREinqOcvIFgoE76xQE8X5eLVvgM6IbOuMgXQIgX7AS3uNH/8zJWiWopv74/m9ctKIKGSnAhhCAdmGZOMM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBQbjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqV/A//VrdYqD+khmKVqA9ODguWYDddeoAkFFBeU0eGPd4cNSUP2RKY\r\ngTX26ZAB6KMwYr+0Fm8QhzT/+LKUAIjx6JbaL2WdUhEMlq1JV/PxLCil0rk9\r\n4w+BLvEOxuLqm6U9JYF1fJRW9cmCigPLewUO3VMBLIGB2goM8OOkIfrWlKWw\r\nkhDTWCFfU3cedD1qYSbmcql0LuLvaeRRUlSEcUlVoWummlQmddpPoe4Hg0pK\r\nGBBSww8Fql6W+gRzlWXGW7de95Qyel+jZwXOU5iendXlYLn3WfsYE6/CV4uF\r\n/S6SmZdhNStOxEkfujk1hnHyKra02BIK2kfjYXhqyRHYOOwr7saeQpRgMm0a\r\nsELbWwWTUm3ZiSGRrMZ1klzORwchlO6NLY7kaxQyBjcpunpEOh6GcL2/QBSh\r\n57fF+fcRmadbFJ1JGl/BPOHCo2G7w2vyvKXNXTUWR4enHLXPggB6wGl41PAP\r\n+t+d+A1WhevCz/V9M8FS+BXqNHedSoThSESmO45+9TqgFS+RfKsLDNeDiSkp\r\nIrqzLUQ+wKqzBlnBa/Iy8lW/hx5neAshX13lx9x/6y6yeXpV3xEME6WHFNT4\r\nk4Q7uZ+vVqXHJkk/OMZwf8NPDbyq9idDKP4cTUXKRzhqQTcKP2QyU6btXHC+\r\nPhO4yb7Q90d13B1gH1njiw9Qh1aAgtzIemY=\r\n=KZjw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220823165602.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/a334938a098a6998fb49cace35d73f09/chakra-ui-react-env-0.0.0-dev-20220823165602.tgz","_integrity":"sha512-toEOS62cYIMP5W7MMkPxDMt4L9GBcxzdBjhFHfENQz26jLa0jIJwBUUN4TCDwOgJtaJgt2g42H9TkCZKyJY2sQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220823165602_1661273827146_0.9296541401504632","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220823192757":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220823192757","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220823192757","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"55bfd30b4cf801ba40d6bd7158a890399e875fcc","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220823192757.tgz","fileCount":6,"integrity":"sha512-dUqGabk+pIUMJI2ug4I59Whze5NdDYFKr52d1xZcYcWdPhwIlc2pvmneHo89CX18S30yI+t4++fRr9wpp/YiFQ==","signatures":[{"sig":"MEQCICbASU5GUXdEQg45LSmEoYmIJuG5W5ynIsGTFW21Ta+nAiARZaMxCMR+tiT4kB/q074qRitTNBR4nHK1kKBKHfp17w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBSqPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+uA//dn7bku3oZP/EoCBrTTeKHn7aY9NOx88XNlObOya+efEQVzIN\r\nsGuvxts4z2uzo6YIsoy7eL/6dZGZ2D3yANVAJoZsXpWJb5ocBQ6bfvM0iahe\r\nTTKIItZKrRauL1VXKafd7hTYcDaL+6MADKit2zpH1fFM44Vq2ubUN0tbiQBe\r\nB5l6WtsFxeOt3QF07U5nCm0jKpLR0kt6koseK5nlG2k4eIIL+Fps9FBYf/MZ\r\nDgSZ7QbErWtYyBUMjMWPLqnT1coqageDDs2+Ty0GkI/hv81f/r/HqNIxHBvo\r\nOK8aQ+kGdfKWYpfKuM1EVKTqperM8mgteZUeX9TbQfVozt72RpZncplRBfKp\r\nzVrkLGhlV0cO99gwbPni4VSqn7xOAla3kf66+JwFJSm/NPZXxGRvSF8F5t70\r\nkPnXBwyLFyixs+plrvxafGwd8sR1Im2ADdEruCy3KGsMvviv9RMGvOtvfKJA\r\nVlTcigGZ5LiXr+XaXSMsehMLcTNIAdZgfLU5K6z2os6+WaLEjMQfpNu0zBt5\r\nejRi75jhtwsgMRjUvwAhqMDgwvQHvc3eYyOppj9p2fhp0bNw8JpzGbQHBKQu\r\nuvCGT+yuOW/1eNQBYRuq7u5xnabC48BX50imfFxndWpo+3dKl/eKhBQh5FEg\r\n+1a1HvTwuKzQn9WYute7PL5LBK1ThVsjQ2U=\r\n=0Ztr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220823192757.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/50cd071c3de9b0512657bd156a63e9ba/chakra-ui-react-env-0.0.0-dev-20220823192757.tgz","_integrity":"sha512-dUqGabk+pIUMJI2ug4I59Whze5NdDYFKr52d1xZcYcWdPhwIlc2pvmneHo89CX18S30yI+t4++fRr9wpp/YiFQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220823192757_1661282958862_0.3430219533812009","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220823195046":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220823195046","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220823195046","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"2a257b73159036778e8f5ee4e2bce7187862b6a3","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220823195046.tgz","fileCount":6,"integrity":"sha512-yXP9r1pzQ10VMAHUy7hQa2NLtvO6PBdYEdgMI5DJHoCAzw46eD5JK34oDz2WFk4l4nubaKKp5KwCMEhKLhy1ew==","signatures":[{"sig":"MEQCID2o4C1/zbHnzcYHQ39UgpUAihjXR7z4XMl3c5o/TOPwAiACEw686bFBcV3xH/Vzi9mxa+BKoDQEEktQ91CFOfcRwg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBS/1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq39xAAiqgEnNCQOKsagFoDWyVkrx3+Yq86FmKcyRLrMiNG2i5Up/vh\r\nzpRnMfG0icy/+m+m7S4sZft8XLo38EDDbkT1kwRsz5JxckxXS+03gUHrRH/W\r\nus6P9zUNr7wxK15GrYlxxGRBS6MN1Pc0KYt7WkuR1iIz3dUecoE8F0t6ZhD5\r\nzyGC2RDdDd5R/XLN9zZhPyXea7qe9yNlQQ/WUIZKNBLcilQ4OAdwOhZRX1Dq\r\nrdsDYXHTAGTDFenURrQYs8yK3wZLSMTb+mnLer3s3l7eYEfuAO33KnlH3xpR\r\nGESld6EZW2gLyLIkBPxjbllbWBblVX+fv/pHdtYmtUUh/61sA/DcqYLameCn\r\nLACX+Bo9Fu+WHwJ0DNEAK9RIBnEkwA5+5q7O8BmMErStV6xUVgBpR5CHLuCX\r\n0G72QCsGzu7gh8uHKa4IJEP+xoOfA7pkIFPy1RYaxyJsYRBowU+DcnWycqmk\r\nbz01eMjtrajqxuDG8zSkll6/oZTJN12XrzlmDcB+Z9uqosX8clRvKzad8aMT\r\nRFVgB5bgDpW0PDp2/djl4Lrkbf3Rh9dJ9IeR4y+7G2YD7//quXLiUGjEd90v\r\nqT1hobWHiru6+yl+X/M67++fXfOMjZWkdeY1/NdU/SKJjRZS2/2zCCHGAb3e\r\nrdr0QgHk97ZsAm0jZm96fC7bcLpnVm4u5LM=\r\n=F9xZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220823195046.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/ec9c435a91976d483dab8f899e7f844f/chakra-ui-react-env-0.0.0-dev-20220823195046.tgz","_integrity":"sha512-yXP9r1pzQ10VMAHUy7hQa2NLtvO6PBdYEdgMI5DJHoCAzw46eD5JK34oDz2WFk4l4nubaKKp5KwCMEhKLhy1ew==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220823195046_1661284341206_0.3011078936405216","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220824074122":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220824074122","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220824074122","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"0391ef7bbb57965bd3497be2fb9773682f4680d0","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220824074122.tgz","fileCount":6,"integrity":"sha512-hi+ek6PPksqt5Zvxo+1RSDbnApUR4qjUmAB+fhsEQZ5V7r2f54YvEZLwV/wEXgWJeWqJ1Y3AJAGrCFrC5FhepQ==","signatures":[{"sig":"MEQCICxyG8Sd9ze2bPZFAoNwl7QVHinrhAyqHn/6fHRiqs0mAiAELhCcY+bHxmGw4OksHj4T1cEgVZITswFh98I4sSzbWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBdZjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrc3w//WD4MSM0aLi/lC0GBnNAq0C0fWTcczWeRA0V+cpwU909nnC9z\r\nnB6TONriMGUrVPsmz8ebVeU96KMscGrLjDfNR4gfCNrUqbMT8HvEI9DtvyJz\r\nmL2V1fnMWiS1RDMCUl2JO5vSotNLBiY9JW8HMwK+tKtNwiQMZRe4QRbYO30C\r\nRfq0E1GexlICbHXwUvmEKJJvbHsCazoRIxN7Hnzp7q2DXX9lwtsKexWk3Bbl\r\n1+B4REYHrnsSe5cIKXnRu3YlRKohSKs/sDCXP7LZHMdgorhtXkuLybFwqFmr\r\n6VjPnvYcL9FpBnSXGdn1UsIuVa2HW9sztcMOCYYmQ+7J64/THq5XzHiOgGr+\r\nO5E1B4Se92aJgylnRU3AeNbEG/BFNPkZ5W61Cw8qrXfSxqz3/ZeZ8XFqfBkj\r\n3WAey8AkfApwA4w0xi9cGA4YS8Sem//JjYKRvx3wdaLaUHVpSklG3rzIP5bN\r\n9pxoyinp0zLyeb/F8zI468tWZzOqvyGzE91V8/hL7tbFUJ0HqmmzxIdpnsBz\r\npP4I/txkE+OJ9x4beCITg+jNP0mMCLsqS13BKJLpPvrq2pdjLRx9+48TS5Xn\r\nlaIS1KWGaI+MXpULIERBMMadDDThGzIsV2p1UTNZ2rWF2YrGb2lpPyZZfC25\r\n3+gqFZWBUSuHsVs5FOv8Jjd4EHKN4kx2eQE=\r\n=IOFC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220824074122.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/9e1287d6f7c37a8a6caef6d1b4d07615/chakra-ui-react-env-0.0.0-dev-20220824074122.tgz","_integrity":"sha512-hi+ek6PPksqt5Zvxo+1RSDbnApUR4qjUmAB+fhsEQZ5V7r2f54YvEZLwV/wEXgWJeWqJ1Y3AJAGrCFrC5FhepQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220824074122_1661326947741_0.679662487592285","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220824080240":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220824080240","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220824080240","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"62a3af570db2439b939d5ecaa782a2f8c857e91a","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220824080240.tgz","fileCount":6,"integrity":"sha512-gcWge+DWzJdbcilCQFxxIZxYOeoxi1lPi0N9GXq6EuVlgNDCqQQtFxN7egHuosIEip/pa3vt5y2VerH+Z5ZTXw==","signatures":[{"sig":"MEUCIH2P91vVGprqv/lYDgK97NetyZyUYTI23DS1arqho+nQAiEA3UBviVavKKkGB5kbLcf2TXQZ/BJK1Zu8v+F/Mkl4+eQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBdthACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUdQ/7BzvvL+ZVO+cRWv/SoPsQCIryqYBki0zS1Dv21OnvsEUmpoxq\r\nsKvDtvR0SqOOxEAmJSyV3qqipnPw4F+XRxtGbw0GYx7pHqY5Jixm1RoDMh9G\r\naVcgHRkf6f/S5+cFbcHtJA0s0fa9Vg8EdX/WPYzRDDk2a95S6RrfZ/Ka8U2l\r\nAZA7KTQYFNiTP+LOXgTPYuSW7d/x4uao7rdQ4lmGAy3MdkmrVIzSLvSgtcl2\r\ns2uLfZubeMnd+WY7W/nGIgRIJ60s0o/GdYlAR1SkJIcz4TKRy9qZAZdhTRZU\r\n8dxcRokthX7ihLHeuRch5mVq/c7BQ49EkYr66GtIwQTIg17EgzpSadBIMuWq\r\nrnEmNIhX7pBk9GPQDpfw62bb1fV5D5Cos1a/yhmNj2gSOt9nhzil/w/Vk+B1\r\npDnxK8sOf4Ox/R69Iptbevu6Fe8bCrws4xWB1znbxWO1/hNF5ofbSbBz5O50\r\nJTpUQ4cpviCPzkaUOBXKzbs2tx9junVLkS+e/aN8WHpZNv0779bh3/T8+8um\r\nFC7KoqW+nkiLrEgVwGPzetLxGVWKQ2JyWhGDUWxrBYg+UdnPiG6nk1jY2KDH\r\nWFSUJKgFVYUYFkjvSQ/ZGZj8NTRh6djFm1SAm0Ky8hDWQIb1265sZcCHyXyF\r\np1jYJqm5nEL9YtaPl7+4HFn17SN80ejMrF8=\r\n=SvP1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220824080240.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/8cedc7484bb393fc1e3f02a8378d3512/chakra-ui-react-env-0.0.0-dev-20220824080240.tgz","_integrity":"sha512-gcWge+DWzJdbcilCQFxxIZxYOeoxi1lPi0N9GXq6EuVlgNDCqQQtFxN7egHuosIEip/pa3vt5y2VerH+Z5ZTXw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220824080240_1661328225288_0.5557842720099162","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220824082222":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220824082222","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220824082222","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"67db45e06950fc4ac446f79c2f9865a7f760524b","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220824082222.tgz","fileCount":6,"integrity":"sha512-PMSePL6LDaiY6L/giHOX+PLOcVk7irhdQq6M2u2L+Dpc6qBTAOux5T6+t2NMt1AN+esPPc/N/mWlz9jFMxH8/A==","signatures":[{"sig":"MEUCIHlXUm4cNNbdBKf6NPUtrHNqOBmMNUjYUxoPx+Je3V0fAiEAwPYFpQh2UDW0DIkvuf5a4N1bL3rzby+BPl57tavw4SM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBeAUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmplnw/+LmubwN5EmvcslOy4RjJiiMUDBW5E1c/UfStW48/761Nv/qHd\r\nkbS0thyJJ6Zx7NneNFt16YGIkDT0+TLTcUTmw/pMnvRK98YbnUZIDdqMOKov\r\nGshE9aC+3w5i1xV1uas0nu066OXqgzrbkiE1ZcH2e3mWpzmxR1rfN/qcgnG3\r\ncdZ0rWiJjmeOOU0HkpFIGMV1aCLS7o2lzyXINjXX/gOfKqjpBASYematlh5k\r\n3WyvGNW4OPhMow5a/1ze0LhsoVafOXPrtZIN8j3mHtzKa0xS9jlHdqvb/J6i\r\n965jaF5T/N7HPIV2d4vYUCqachEc41Z75vzxaARsChKCfpwe1g1NW5ARyIqc\r\nUU4sjGRCSPlrI8T0T1kDlO5Vs6S5kCQGyGyxqIVjPkQqvqcnZKCwBrf/wiAE\r\nU2kWkSFYsR2ydVGwgQq+YHDw5bCnrNH97AdHDZ9aIsLhtvne6mysFWmH7kZW\r\nUI2pF9+Y1jnNi/kC2PGshAVR1aD9moW9ZQfFCilsb+0eGsZJSu7tA/qV6nQx\r\nMMJvKcl5K+jdf5LInPwYpAP/YpOBmqsI2kr55yjaMW7dgTCVNYyAKGl/MxF2\r\n9HXmu8j9EFX4OJKZRsxmoXKE2B/Q9AwaL0zIOknsLnmU17/WpTZP2wEifvyH\r\nwADrxtRrl1GMgw7LOnta86cFuaX2o0djhlM=\r\n=stw6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220824082222.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/99f7e6d426902d390769a43dd72b0ae6/chakra-ui-react-env-0.0.0-dev-20220824082222.tgz","_integrity":"sha512-PMSePL6LDaiY6L/giHOX+PLOcVk7irhdQq6M2u2L+Dpc6qBTAOux5T6+t2NMt1AN+esPPc/N/mWlz9jFMxH8/A==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220824082222_1661329428575_0.7538294111750099","host":"s3://npm-registry-packages"}},"2.0.9":{"name":"@chakra-ui/react-env","version":"2.0.9","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.9","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"d51efc31d77197a3526e2c4b2f2fde557396bb3c","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.9.tgz","fileCount":6,"integrity":"sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q==","signatures":[{"sig":"MEUCIQCtSZojrAw+VcKppqxGBPvbX2COyOFTj4Na3ANEfDQzsAIgTz0tPKbm85l57rWtBsq8cocRjgh4aMq2HBLfVK5+tAU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBeV+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrpdw//XleN+h7SRpD1kdW0PJqW3IFjwEygsnh1LhHbw7afkGPQCMA8\r\nEXmvjC27ptxUbWpeJ79j+MfB4kGME/VYmsk3RgZi/8Z2K2SMs+cvcE2MZD2L\r\ntvLaQsxr0VJvnyJAYKNrnfQjbmdaH35wM8PLo5Um2T6gPNCkWEB7xugI6HZW\r\nOHotdH48VjPGCe6jU4qZh0yfFZYCUjLDAw2krBzOmn0pnj8tZFAgHuP+H9KJ\r\ndDgBq5cZnUEeay2U7JflagacCGzue7mPHyjWu9QcT3+Cw2KR70I9qvFfauYt\r\nhJs4KXxfOP+UdO2rqgQPnZHwTs4PI0SS7sKA7/+IXX7TmfZWKyLuMiOmrvM2\r\nzDir7L3t6ndHqqEu3kO4kkvV+4NA1BJPOw0wCrLMnHttPvP35or0w/6N9wVb\r\nBvJneFpKIxI5FSPLiCUJLl7k0hl1lpZoSvo7LJnnQLESsMFp0nUNfsWq2tP1\r\nfd5aKQMgVe+S0NpdR2uhQlDXUQzazVfCghsGjxxZEfLeTOkFZTPy0tP6y/qM\r\n3m5ZQE9Rx1wpLuPoFZxWaHmtQFghqA+5PM42PjVAnNhiKr1fDwPv+Zidxpfp\r\n5/09ORcyRfvs2f2vrPQQKTVrSy77LiQ0uAYJ/FpwI0rhhN1/JTU6L0t71yy+\r\nezJMjCfOnglQqfhvHJZdcfOK8QQyy53ZYoc=\r\n=nSD4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-2.0.9.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","scripts":{"dev":"pnpm build -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/1f16318bada91e1e98467c0b0aeb2655/chakra-ui-react-env-2.0.9.tgz","_integrity":"sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/env"},"_npmVersion":"8.11.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.9_1661330814412_0.8301064401942051","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220920121057":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220920121057","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220920121057","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"104c1d0668beb4508b8d2c9b03b94f57f292a541","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220920121057.tgz","fileCount":6,"integrity":"sha512-eUYu8qXxmFoFBcMqV+i9+vfjvS9Kx4UAmlNZ5JSbt6KjatVmVlPxR9SkKdhRAepLxDfGnjsKVVzetW0P+mgjCQ==","signatures":[{"sig":"MEQCIBntZDXqmBmxkSxfJyVr5UV+lt3ljvqWVZ/D+iOQmHprAiAXCmIc8w9bz0CwpDkX4gd/Z51MYyMVMs5G3RP8SixF2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKa4FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3Sw//ciBdI6FKiVc4QNsZIOGJcJhR5JpOnfTSxC/zYG4OiIWkaEZL\r\nnnVEgx3nS5qulNcOWvCu4PXw6hvIHA4tNTiv6kaMXAyCHbCAsjUvsTLFBIOE\r\nLZFle6jYEOw9lpz5St09twVek1sJqqXq/uGgvKh4FDXrpS68/DRQRNkRSt2w\r\nQPv+ADzfhXjBgnCZ/J7R/MjoVc4j3VPvLSk117yMtmWr4co8ic3PyQfr6wlE\r\nywe37qo/7TEbTKKS60tcVjwaRg8Z3yEgepBEBHy03qEYvX57gb/zHgnZX2u5\r\n4kzh8HZIJKhJFVHk02LR8v9OdZdbanv+ApnOiyAnXdKpnqdtkItfk3yNxsSy\r\nH4KlumsDLwuSmmlhQkQmcwDQx1FdhKKNyKyyzaJFIWNGF56krYsiCUHwX8uC\r\nccmEy1JRMhM4DN0H4xQHCe/1X3ZrnMC1M6zyLZPzbLrhYRkOjFvui0NN+b0z\r\nxZ3cXsrVbb9uRyDWly/iljCze7xvmsy63L7CgSfsSOGt+GsSEOI6EagjACI4\r\nmAPhkMPL8FC0DzPeCRGVn4lTaEdnaGrVG6jyaK7B+cHUecBOlXTe8g/vDqgC\r\n6XXsTUol1Na+G+qrAYG+a6TPfJIpI8FZxQQp7V5Lp6y5dRQVMh6aK31jZPO5\r\naEQHPh9JPfbxgzE+0hivXajpOm4Uvw+XQcI=\r\n=cndU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220920121057.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/861fb27eee92e9a15bedeb29cf0f98fb/chakra-ui-react-env-0.0.0-dev-20220920121057.tgz","_integrity":"sha512-eUYu8qXxmFoFBcMqV+i9+vfjvS9Kx4UAmlNZ5JSbt6KjatVmVlPxR9SkKdhRAepLxDfGnjsKVVzetW0P+mgjCQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.15.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220920121057_1663675908930_0.6787423994635458","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220921093814":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220921093814","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220921093814","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"b92033e576d15ea929bdd997e22f36d9d001328f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220921093814.tgz","fileCount":6,"integrity":"sha512-D35whdYiF06/f4yW3zQR+5Tfcms3bz3hacSb+jpHO0LrNjRk9xxs2yCsgHDjTaidDpqPAQEjZJKyYxJ+Xy7KCw==","signatures":[{"sig":"MEUCIQDoKnlcjHc9pCb9X+o/cVDgwxynRcqn6Q/ZK1oagI1wRgIgMI0hfevmmsfD7cR0cD6ZZnHMwLSS9CAK+CoUKUqGuPY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKtvSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+khAAn7EAfxUNfzSsdAUZPDRjaURwipQZXXWgW5a9QRcdNRw7niq9\r\nthGf9k3aWYV+2ZwldVkLmRKCTIWfMhQBqZfqc8AuZ4noJ8Ez3UZ7JeF1wUE+\r\nNosZ7HEf5ArAJltaRbsMKjGeCEyr0/jTAr1TvnA9XsykW/uBqYDMeamfV++6\r\nbvM6DvBi7GkZCcQtwYRMSvUviKy8/U1r9rINLL1acPk67kogEARHkX2eKM4T\r\nxeF7sffKm6Wk9Htb1Id+ZgYcj6QJLZddbpi5N+jRDZ4nx8+dLzmPUYDOWiTo\r\no/QPHjdqT8djGzPMBqTa9JCCXFPWMEheP6oNo2Abh8xslhSFpiLFbL3Nl0dJ\r\nzcJDbG/bkhGDmEpn5WOScX72KrjBZ0A3VnV1tB+WT3pf9uzi99VOYJXWt4XT\r\nukQR5q0KYML5IfsIeznnlYwdyQCdrYoOVEmnVM9ST24+D5p2wpvsE3j299ud\r\nyCZrYiFNQFyOSvM9vJprhp3j5o46C1ONGOXcrAngvACiQIpauRnXNaqtO/wG\r\nr3zONjvTBWi/ifoyrBmpc6c6OxRuSX94OvZdZNss84Si4ikJyuHqT8tggFwa\r\n6QLRBH1aa1dXWIU0SPGMdd4i/NDMkPS5Zbfc8t9EaQO00zhQn7mqJjcZ0P9c\r\nElHNLx8MvdAszJeojBS6GIWbVATetRW7UVQ=\r\n=azCU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220921093814.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/5974febaa0b8a193f7652b38d16de2d9/chakra-ui-react-env-0.0.0-dev-20220921093814.tgz","_integrity":"sha512-D35whdYiF06/f4yW3zQR+5Tfcms3bz3hacSb+jpHO0LrNjRk9xxs2yCsgHDjTaidDpqPAQEjZJKyYxJ+Xy7KCw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.15.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220921093814_1663753170390_0.392020432138797","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220922114557":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220922114557","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220922114557","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"ff258a6933874dda01b4a6e2eeb1bc99baaa7349","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220922114557.tgz","fileCount":6,"integrity":"sha512-FuRqszk7kmDfvIoIEWwrinKRAY4i9EQmfvJ9WlQ6nsHzKHhjQpcvJuumpLoncjbejATT8jfoEibkELKST+94JA==","signatures":[{"sig":"MEQCIGU0M3wFbjw8dv0M+YYsLEm+sQ+qKsNAcbInGqJTc8i3AiB3p+IW0OTQn7DzpJRgzq/hyUL5h2hJcDtN1vS43U2zog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLEsrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtPxAAm+qZQEqS4Dc0SHvqBHnhxgFBr4w0OglRb8X3PV5Mv2AALChJ\r\nlOEJTYHkkWJ8TEGuDCR2AegB9NM0D+VOhfG0rtYiiWacxutAD9advpul3HQd\r\nC58PRGdtQ6SOdTM4vCpMsu0TYZWyUBHcB9NzzVC4+BDwh3uOja06O99RHg67\r\ntYLSJAKvvILJKs1ExWnRFt05wTjIjO/YrTef8/g0FgR+TKz+mhUzECnD7OEa\r\n7F04GWyOv3rNJHxynk7v4brRSrq67xwA2YRvVGYOn5HfDc3xgK3i42CadY6I\r\n19g3X17s2DBjU/qSEiWLymt6mi2FLult9zuEws2M4m3YitSH4xPc34lBXqds\r\ndW31tqekaS8sNAIPxUR+yY9oOm+uZLtKXKKlzS6MsqdP+LArams9iqa/ofDe\r\nG8F+SJuFWcJmk5ZUd0TBibt9xkGr9F4QfnK88T8I4MInIVA/CfsBYqAfzPSL\r\nFv+Iex574Msu9CKnyvJgz6VoKWxQAu86Wnypkyf/swuwpQEXEM375IrQ1Uyk\r\nRkgx+MR51jfWnEwimPssMrTpUFLJtfWCaZR4mJhyvquFI30OP0LN+88uICRs\r\nWy4EoysJ2Jp3wPuBnjTiEr/c388/ggCrE67SRp3BZJmV/Ylmzvh1GU/YYSsu\r\n49KsFXdu/snhpiPjHccVZr/tgxNqT8KYPao=\r\n=yqnJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220922114557.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/2f8794af137718647da32a57ee1f27d3/chakra-ui-react-env-0.0.0-dev-20220922114557.tgz","_integrity":"sha512-FuRqszk7kmDfvIoIEWwrinKRAY4i9EQmfvJ9WlQ6nsHzKHhjQpcvJuumpLoncjbejATT8jfoEibkELKST+94JA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.15.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220922114557_1663847211506_0.018290356451335255","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220922115811":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220922115811","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220922115811","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"7775311268a9d44416dbde65bd9268e08c504b65","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220922115811.tgz","fileCount":6,"integrity":"sha512-/95uSDEj2KZ+0ih2gEJtf822hREAguFmN/j3yyLTl4Um1ubpXXsIyOxSGvmVW/ZUWYSnoNXJnkN7Dp3alhQtsg==","signatures":[{"sig":"MEYCIQCimuIn1n5ZrqMtitNvHFSGlveh+fdZK3AAswdKtdwvRwIhAN90JBH/1YznlxrvrLlQzW2Ar5X1n+X7pKz3ELpm6jnx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLE4JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJHw/8CjjlTq2WeYgctivqQHwnJs5bX6SAwQS9B2vrd8uFO5OF0pQn\r\n7jk8+YUUC6aF1FiWyxYTIz2cR1K9NnUeC3APBL8VWnf+F8VmlQ+EX8FMRBwL\r\nukxPw95P9ae/b2pecFma3VBD6icao0R9MUdgAEFKacxBfoqVy1zvDLNsRHVl\r\npO+HD+CdJDDE++9mHV5UXAeJR33TVIMeQY+6+BEGbwK98ALfL8k3eRcxyBNj\r\nPnTjt7NkTg4s0PFCpziNtP10mIUWFGH5BUNiW8s4IERn52aCkdBAnBYlwru9\r\nlDJcWRcYwGRFFZDZt+U+ess9vepkFrM8BtekZWpsCKzVN5EtLYmLEWZrYG45\r\nvhvtL33tLCcm7JgZxYZBbQV8iWg4c2s+xr89Nc00bHAq0e2URC6EHpEPlRh2\r\nzTVOKqbyEQqSinxayibxtRlBwtt2aSqMhjGo8zhKpkQHGD8ieVLJN5Ce0YP1\r\nA2V8OGiTLavaGE+v3TPeA6T3RLMKrI5iW5+MYb3Ml2btVHOa5XS8kp8vWiCG\r\nIJd/AGgHUFshAS/6XlaXu7hPA0nYyet3B7XYO89iUZhRqQTVg60W6jT7WXdF\r\nGHCIJya/WjUqMoJwbYJ4RWbmr5/92cH2Siso/vNb82HPDLVFyYsnihCj8paB\r\nao5iCYSu9F60P8xY7r8uD6FOFAoRVPnSNPE=\r\n=0Llv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220922115811.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/9af747852f62171a122c3436cb7538d0/chakra-ui-react-env-0.0.0-dev-20220922115811.tgz","_integrity":"sha512-/95uSDEj2KZ+0ih2gEJtf822hREAguFmN/j3yyLTl4Um1ubpXXsIyOxSGvmVW/ZUWYSnoNXJnkN7Dp3alhQtsg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.15.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220922115811_1663847945452_0.11527175722719463","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220926164115":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220926164115","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220926164115","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"3ca260476e62e93a102911e0fe9ab78f09f19c9a","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220926164115.tgz","fileCount":6,"integrity":"sha512-OQQCXfJla0cO8GkWcvURaYj12n4bPvWaXy2Ls6MguLfyqNkxE+0/OJsac2vdihgv5Lb+9h6N1tZh7RfL9qN59Q==","signatures":[{"sig":"MEYCIQCFBMTcdI1bCGRJ1Bb5e6El7qfieMCGJtfRM5NBTjYuEAIhAMGKnKZpGwIxJwTEcFAZ1esyQ1kQG11w0RJhf9R9zXHx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMdZzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEUQ/8CS1iqI/uDRmu7oomL3wA4hDd9oumeoLmQ2entCuAe2PCYB8M\r\n+8LwDgy9oJqRa+B6e4yCHhxZfTPxWUZjrIT0TWE055jVE676XoyBEfvsCpV6\r\ngJQV2VIXj8BEQJiAwDH1TuGb+hjrdudYnZ+eMKz+vzboxf/dCgS2HwWnC5SM\r\nzjrYaZKE3gYGXi3dx/7Fb6WhGqYTuZbq/WrBg67MHFOdLDTPkI2aPmHfdals\r\nWdQDdrNXINVpUDCLNm9PSyMrCUaN8iujaf8tZDbCi2J9WjNGNRjnKbKNdITE\r\nyk61fa1I2yiGoThMYkmA6JsLSYCG+Zm/nuVL7tA7sIWUAggCtChhiCYEuyzS\r\nFoEhQj0zWh4SSLA4groFixA2OIO5DuwbqQPBoqG/63kI+NKrvYD7Qf/XyArX\r\n0A1JHG52A8ZtQto5Fn6BbuFP107JZ7YIeWR0/rcJVpWPKbqa/wjWPOArO7ax\r\nAdFDir6lLX5uq8mW4fYpBPadRj+3FX/woFRni8FITnA4CkvDmIkdhb8tPHsJ\r\nfzu/E7J55Q2N/DIkXwtwmi8MBblYNNUE7L1Wa2E0awmB71cUfUJ5ji3nJ+e0\r\ny3CZujDO0odqajWr80vIuR4EhwFZ70jaylE30rV5PCIknjgajLGUflthBSk9\r\npOmYNJhLwUG6ikXcHftnYhwFp1R9VgVGgB0=\r\n=QR8u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220926164115.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/e634eff9d70407a894008d244913ba32/chakra-ui-react-env-0.0.0-dev-20220926164115.tgz","_integrity":"sha512-OQQCXfJla0cO8GkWcvURaYj12n4bPvWaXy2Ls6MguLfyqNkxE+0/OJsac2vdihgv5Lb+9h6N1tZh7RfL9qN59Q==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.15.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220926164115_1664210547310_0.5108103819909553","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220926165450":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220926165450","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220926165450","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"483f10281efb512f2e6ce46b0b68f2d058834b0a","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220926165450.tgz","fileCount":6,"integrity":"sha512-bluVPXQei4hdQNisi4gLLk1oA4E4whsex2p8Zx4hE+UAftm4F30X2nwyOmoq0g0DootwT40/B4XopRK8kxcq9Q==","signatures":[{"sig":"MEUCIQD8ra2iGCNwA/JSn5DYyVMEgxs+zzK2olGaHf4OFaLNUgIgYKwzuj45gmv4ODhfoiJ4/1Oxo2kwczs92vEG8Qp2FKk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMdmPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqITxAAmTno1bsebLm+LE9txAxV4SKqKz2GoRJEC9+MdrBQ9RWAwBwD\r\nvIlRsrCg63mtPLnxeBjnN8FNlS4cvJk/f0emd/rhz0GxW+nLWO8ZxgLSGaXa\r\n3+feXErOFdvYKFgKvV0Qf3IXoBijn4ouVQpHsAhfSRBwAZRTpcTv+/U5bDYb\r\nf65B1XXtAevi5QC6MDPhNialrNmp0gkAfG9O8Izt4tJjhd0uz7kW/rMryW5+\r\npjqUy8bx6vHRrJ2waLuIPxRR6Yrw8SkivdiNslf9r1Bu0sQWJ/UKM8YIg98X\r\nKgfAyGWY/7ALP4p31cAz35ZGa4iKudm698GBsxsiqYsGXnE0CcRh4AKdwHaU\r\ncJjHm9fMh+dJE9axZ7zx++tViAkXZd/BLFDPydkGU76gBc3vdq7jYVZz+FA0\r\nW39SYQLYSPJslIEbr9kei9AkueT0ea9C2DmPnbxs0amsAgn4p7Wm4WRJa74q\r\nsttA224a2zr3xrT7assCj3F8KGQVCRtHLxw6QSVA45lODxF98Qwb4Xl23oI+\r\nCrzkpB0yqLY+z89r9bwZE7CQ0NE09BCVLhyEnJNQZo/htiqZghCDwF4OqK1H\r\n2Mz4SormGVK+uvnxHHGBF02VC82OPswzUGO5DpPWfhrZac5XwiKiODxvhiUb\r\nlp46Oxhfd1jUhsPZJQy1AItEgnu9R4fWKeg=\r\n=BDNr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220926165450.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/7fc266382fc88aa11ec10a6ea7b4ce78/chakra-ui-react-env-0.0.0-dev-20220926165450.tgz","_integrity":"sha512-bluVPXQei4hdQNisi4gLLk1oA4E4whsex2p8Zx4hE+UAftm4F30X2nwyOmoq0g0DootwT40/B4XopRK8kxcq9Q==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.15.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220926165450_1664211343103_0.8010638917566946","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220929105632":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220929105632","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220929105632","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"abf4928626c397ca639b4aa6b9a4f9f77feef53e","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220929105632.tgz","fileCount":6,"integrity":"sha512-y0DnkBbD8+tp3YCu/bHkK9944HTD1lIq6wdrkxYx6iIPQLeElIfBwpz43i5uT2+OiDWL+LK1+8LFg7RmIVvfYA==","signatures":[{"sig":"MEYCIQDQQmhvop7fub/lJdzw5F+kVFWXT044UEwah0v4zM2ESAIhAPddLTU+1f85mgd8LHOebwnq64RA05y/aLhTSI0eIPXa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNXoWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKyxAAn9+SdvpzLd9N9UuNfEkOyyFpIWle2TpoFC3FmW/w7mpPUOWX\r\nKwZmy2cwPriQwFp7G5caaowk90b9LSONwmY/c5mllWQP97dKqA0PheVNdjWD\r\nVwzxDLt9IxhIVdAwxo1o99lFJZgU34DMjPmBH6IHl/LA6unS8myyDapslhfJ\r\nvsml1ieBIylwpr0JUIlBXCoKR+d22Lb1YHSszq0oLF5a3J3DAA7iH9OlOuX5\r\nC/K1HeV051qn81CWgbQdBcLRM6CZWdPKdjVajO20QHTGOGuKwBiblLSjS0lC\r\ngTQct26dRuHRgv/weTIjSGTyjSSKv0NK7AZ51qHpgOzi7A8IGcbK/hXHd9dP\r\n7qhN+BGwSOFz+AufUtE24gHjF0jqN4Rog3N6fI8ef+xFT7RaOeEJQNUDU317\r\niKUKCMmcQavjHAW/DQ6kdtFqrmgOGXBope/J5x8tBqcXJgBag43mU9tsOiC/\r\nZ9+xWyCiA2tza9LRJZrFL/DWXl4h+J8hop8xdqZvCfmWVs7y2zD4e2/Pn6f+\r\nMaMt8HeWh8EoH1Gay+k3FAJW6YCpxEFYj9UpOeaIu/fOJ7a/32ys3Hwp4XmT\r\nrYqBMGmvExtKGz3zZjFpfyb/isxnkmiDfaMvnjIpO3G8OMLcybwncYhJKtiY\r\nE4Vhg0IMl/tX+t2kHEa2YL1s0Xnrj0IgsAM=\r\n=gMlk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220929105632.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/ab0925ac2b34ed4a6323752ceb684223/chakra-ui-react-env-0.0.0-dev-20220929105632.tgz","_integrity":"sha512-y0DnkBbD8+tp3YCu/bHkK9944HTD1lIq6wdrkxYx6iIPQLeElIfBwpz43i5uT2+OiDWL+LK1+8LFg7RmIVvfYA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.15.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220929105632_1664449046185_0.6855387490705815","host":"s3://npm-registry-packages"}},"0.0.0-dev-20220929132459":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20220929132459","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20220929132459","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"a28e9ee2beeb51e560e4b902ceadd8dea1bb57f2","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20220929132459.tgz","fileCount":6,"integrity":"sha512-DZ2t+oi+wfa8a5o7SilJRKY7kl8uwn8FgK/oGvdt5gbhu+HfsLRVK5oBIDpi7tb/0k1GgsuC2YSgONytR4k44Q==","signatures":[{"sig":"MEUCIDV1Merk5KZT6S6m/+ek8MpQX3s3vAKW91WsTWKHU+cbAiEA9v07HsjFT8H1zLlX5Z+/7YraYVwfJ9BnrtJMEoIdoD4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNZzwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXzQ/9FhurYgqOigOwcFYfDWVBOlbPjmt6I9Ypa8vH9WK5sDz8UJeo\r\ntTfeHheh1s+S7RwIzGBhNOPZM239kI94CiK8wwCO92FwXFK+ZxWrAJOkno7H\r\nBYh5VARDDWcUq+xm8STxave7Xt640KjBqogijG8/Gu6QPZWH1r/GItzr8qcR\r\nN4TQPgefmMVB697WHc2KnAjfik16h2rhNBxwPpWFikW0YM8OMPZDyrnMPwQ4\r\nX9f1O16JJpzH6N8HAwgBeOnaUd21Eer1MDbx2wUMnhYjlZBWlCfOWtu51jHu\r\nhHYXyeGJdhL59SUM2lCGc9AiUgj5e44qlrECwLy+eDwa7Y2d2rtOWsKbxUcx\r\nSQBb1o0jccZHD0oOVvZql/b3LG3+3yKG08AxYVMHAjYzXUJTDOzR5nHdYsUp\r\nX1WcTqpx8P4tQOPS7yV5z3HCZJVD9Hp7ZuzoJdUeF86vO9bE/xhjGojT/XOP\r\n5A0dVftdpPCqkjTHiQkqR1pCGFpz0Gxudf38TbVKmeG5mB/otj0KTbS7NadP\r\ndfp7koWOeL+tXoIBUruvd96sIO2qNti4tTZSEh0FYuvl4KX0a1czn/gbjihh\r\nyE71rYpEiDnt0a4TKxVufytRI7YRQUiYT9qBVObYrjBbp9njn6gibjYO3qVS\r\nBF2QF6X7AUjNsTdKmAgSFEFe5l3w9Viz3io=\r\n=CAuc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20220929132459.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/cf551e344ee1303c77c2f2e3e2b42f2b/chakra-ui-react-env-0.0.0-dev-20220929132459.tgz","_integrity":"sha512-DZ2t+oi+wfa8a5o7SilJRKY7kl8uwn8FgK/oGvdt5gbhu+HfsLRVK5oBIDpi7tb/0k1GgsuC2YSgONytR4k44Q==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.15.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20220929132459_1664457967838_0.8777500109185172","host":"s3://npm-registry-packages"}},"2.0.10":{"name":"@chakra-ui/react-env","version":"2.0.10","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.10","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz","fileCount":6,"integrity":"sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA==","signatures":[{"sig":"MEUCIQDbW5NvbuabtvIcs92kN8+0dY03bRWz1ix465TqRMXKogIgNNQMx/JLF8EpC3fbl7ReSv64A7yrB74p0ISBa85i4xQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOqd7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpY6hAAkD+/thLtM5z2H0ev4b6wg34Do7uWsXIwoRtCic5MlrYvGHis\r\nu46tmGSn5a8zULcvHrI4Zjo7JCX8kcE/aWSFUFjrepvqv7pIfkx8NIyqC9vs\r\nEur228j0cNb+WBcTuZjT2HyaSU8KtlB7QpbWtRBUcQbnW7jGkbCfMzRQ4/52\r\n3SBQJLxnUlXPEr2zxeB1pOhskOjSs8lPHbibYAF77L9XJsp44DGDq2as2hAG\r\nLtJXcZvBkHt/l+ZD1G+3Ip5ZqlptF/X1A9ZKOF5zVvQrL6wY+7CwgkX2dWUF\r\nJTr8Pd5rKkveyPm33MYvtPxOynAKAISScVWnaoeX+riRtnvKmg5gGK+OXV06\r\ngWVE7I3hczaTuwK9/SO9mRtyBdizWW7E81LsPRIEyYpHW6zAHDo9OFH+Q0q5\r\ndHRER5ie0SPx+aLD9ClaPtQJUEba4eKH/AgbS9x7j21IMTVRD3s4I5tHs9ns\r\n676657QWEWstjGFDRZqhWB35LmBsaB+Fy0xlwHoUn9nm8ZG39GvaEHa70PBR\r\nkpFVPkZ9llAa3GbvLoEItD7zx96d3QeGmXKP94QAsbFSJePE5K6yGb7nrxi7\r\nV82eV9O04q4RP5Cw50ZJAnZ6Vq9RNiUp4pgTN9OermRskSe4yRo4eW8K9/Z2\r\nFfQQFiQnUC9vWWTSEWeP7mLtI9gA9Bul24U=\r\n=66D0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-2.0.10.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/dc42e4de0f1c171b39bf414d3f6661f6/chakra-ui-react-env-2.0.10.tgz","_integrity":"sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.15.0","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.10_1664788346974_0.036157343781587414","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221107161407":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221107161407","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221107161407","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"34c106d1577996d68ad2a7b6fa7cfce39cd8086f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221107161407.tgz","fileCount":6,"integrity":"sha512-HHwuPlQLcmqvdHnsPBveVt7DJ2FIAP7BdQiyDci6/eJdZqBO0y1JoXR57LLQXSPjrGG+3CGC850L28WCzQkrFw==","signatures":[{"sig":"MEQCIG5Zq2Sc4qY1OJDlXRDe6gzq8U9Lw8qhKizus3/G96LaAiAm25zacod/pScG88CVaq+Ora2jmJU76IvLEVzJCo/UNg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaS8PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnOg/9FmrbGl9TI7QpeCWW1KXo9jGbJIBxRiD+DMKETuaLlCtOPx1M\r\nrHZPpiQlmUkxjG6j2tV69tA9hcv9CAkuW0IjK7V7bAYKX3I1CQJT7SLNwA/e\r\n7l+QyKzoPYVGMbvkaCiGwBumpIJeduZdtqMuNngEWfY/yXydghY3q9zPPjwB\r\nssK9fxtlBO7Q1COcdXJVmE07g6sT4kGtlQsDxIP/607s0FJZSqmeyx82hFzf\r\nCqD6Ebt1Sx+5swzImvp7ozw9hbfuiMmpelbG0tnu1Eod4KvHEGMIIF0mg0nx\r\nphdv/9Le4DfFqwtdzOXHNsoz9D35I/jQM88sWNVoo6TsuBEave89RgZXUyfe\r\nMLN4YvPMCRRYtRckf9PcqXh+ohK2Sl2H87iVvSQoLxbQ557r0FQBdm9e/WeF\r\nD8lwnEYLM/EYWM4Ikj5IOH0NfGvt6q/iHyERxXx2OcrA7Zy6ZAUSCwlbXYsS\r\nGwIl2kWSLowdst3sre4ooqyA+XD1G2I81ONN2ErT2qCLJQr4r058DBL5E1PT\r\nv1Q95/pQUDy/ZioqGmoXe9gW/Rqo9EvVJzKL0C+dWqxaPQbsyrmamX6RTLPw\r\nE555I35lGhDwlg6aA6qBk45tS0UFi9w8q3YU9O4qsqzCl1VO9Och1sxwVZkI\r\nP+Uxt9FKID0GwEaCxi7MhIfG25nMaZpltY8=\r\n=TaOL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221107161407.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/c59fa768295b4063a5e7343ba0f5c53b/chakra-ui-react-env-0.0.0-dev-20221107161407.tgz","_integrity":"sha512-HHwuPlQLcmqvdHnsPBveVt7DJ2FIAP7BdQiyDci6/eJdZqBO0y1JoXR57LLQXSPjrGG+3CGC850L28WCzQkrFw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221107161407_1667837711589_0.3987386977431029","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221107181117":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221107181117","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221107181117","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"95a2c7f68766320a82d0905c01d9a1ccc3615d6f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221107181117.tgz","fileCount":6,"integrity":"sha512-rixvlDRZ/atJTfdgDFLrcDv2QCeK0532QiGLlqSCxI+VJyuP3XTozD8HVYx4perYX3MPZQha1earvS4aFeZc1w==","signatures":[{"sig":"MEUCIGNoLE/1W7jtxk2r2Yl5UKV2AG1PUweLosIV/eyWBV1iAiEAwZvuEkWMhA2cSXlBt68zZmoKxQ3OBnUX/qkH94l7rlc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaUp6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJVw//R7Dlv7x7jyOMpaiX2KPGdPkG6ss1d1lbUiEYn6rd68OliaZZ\r\nZzS7z3gLeK/+y2Npq4Gmnuxu6URd8FYAKU2v+nhAmljhTRPMiweL0yoOpw2O\r\nD4fAnyY4xjPyWFr5gDkXOpg6tu034ay/t5DKOdMgMUl7gPrf2v5vKdmj4rw8\r\nGt/xDiZ787Kz23fcsYMH2y98j6YPbo0b2xXw+Ospd7+X1JLnPFzVO4wtfTpu\r\n7mdkKqMxJFXoFz1Yd/l3kjMJZbj4CtwWrqmoi/U6xjUFwbN7OCn6+DnOUF5n\r\nM/OtiJyvJpUqFBEwYhd8FKUIugfYkX1Tj3Ak2P7O4wtiGhumJu9Aa8N8oYVx\r\nP5x1TS1Ixd2qpGj1ViZPoTavg+ExiQbcrEz2aA58PJmlBZzRVGZvR8IiEIyp\r\n7kBjETC1PtffKkDSEFj62sOWVr3XTDym/yDs+oo8IzqoXl1woH9iSdyv4h5U\r\nb9OSILIgsS2+hho6u+pVrKJ0pw09dOy61cBoUXOzjU3c9pSQu6+Y1pGthppq\r\nlqqxDtxU821sNpSHD/k0O1XmOlOhZ5mxjNYeJoqjsfC6lvUrrbfAL5uZYDho\r\nVbBMmEJy39cPwZngrAvR5pBZTj8+pbrlpN8I92o0Y/W9ab8Y3h32X3kqJGH/\r\n0mNPkvYYHrMv7vbSU3MedxYc96bMnWfKAgI=\r\n=olzp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221107181117.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/e4d944a49bd159cfffb1c162c1e85b91/chakra-ui-react-env-0.0.0-dev-20221107181117.tgz","_integrity":"sha512-rixvlDRZ/atJTfdgDFLrcDv2QCeK0532QiGLlqSCxI+VJyuP3XTozD8HVYx4perYX3MPZQha1earvS4aFeZc1w==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221107181117_1667844730725_0.6657106446973093","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221107182607":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221107182607","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221107182607","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"2b902a27c52126fa1502ed3be368aa39073f01cd","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221107182607.tgz","fileCount":6,"integrity":"sha512-usnX+MYVzbsaDZCy1/AsqYPmUHhQZR1v6sdXHY00dfAngCAporGwviqcj68rM9sq2NQGwX2fsOGCxUMiUfA4vg==","signatures":[{"sig":"MEUCIQDbyGI+Il/R4f5uVOLPNDZFvzLvizUYBi6X9t/8n121sQIgcobnxZhFsHllWEvBhkBs/qER5TsTRpmYcD5zntA/dOw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaU31ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGExAAhyeMkEYK8LQ54/yTK5BeAhee5Y59RljezRj2WTe+25Y3Sjqg\r\ni86/KRDTd9NTE/xC/SXVS2cl8UYNC1RDwALQmfz/Rx7fNeeQ5yOv9pY7GV8M\r\n3tTBDlV68em36Fksy5CZXy6gOizNM5TnvrtuZ3/jAZd08mkmXpA6L/boe/H/\r\nnJd22BDcNJq1d13PCpHdtUwbEqy0FNuIo/0rKvZRML9ZFnrfpVBqCEit/F36\r\nHVO5IEiWP+sSqhNWrN5xhIP8W9r5vJ3PNH05DYPvLKJvXkBVkH5QADZRq7vZ\r\nmWno1aYHoeqMpc5Sx0eJzJ5+Bw0f7591AhXa1y3MfoGaefeguSnBCGAjn1v3\r\nobZzeIEVb8xHwgHSoReCpBI0hNnpuKzi04ttwAD8FYC0NyV4F7UFEGZQFjr/\r\n4vC3Whh8dx4lhRd10Ybvj1kFB+VvgX9oMrkBHz1kUWp76HjAehj2Fbqp54ht\r\nYNGgbow3F7qjx/sh7vlPxhh32a2AQrtW3y6POHv/0Y36M5Ls+HKMG8674U+e\r\ntEWR7uPjGkLzShpE8mgYTmjPmFlJP9TR+NaKLdHAhARkw9yVhT5mDDpeq5Pr\r\n5pfrNF3hPAevprgfCfmkhrZDwRm/ywTOao5Tp1obvtd36FgHlIlTnHc97jNV\r\nv6MfmiFCoyzJElo6QL6HGMD5HQ/aCx2qoZg=\r\n=rHK/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221107182607.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/68f51b7464fb5c6fb4686e5f49a93885/chakra-ui-react-env-0.0.0-dev-20221107182607.tgz","_integrity":"sha512-usnX+MYVzbsaDZCy1/AsqYPmUHhQZR1v6sdXHY00dfAngCAporGwviqcj68rM9sq2NQGwX2fsOGCxUMiUfA4vg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221107182607_1667845621253_0.9246469378040347","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221108071844":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221108071844","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221108071844","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"d43b0ab20f2728f98be3ab0648742735289f4524","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221108071844.tgz","fileCount":6,"integrity":"sha512-LIcNVqgHK+44i220sKrn3A8qoH2jW3IOwCdDn7Iu5AD2FbuyyJYW3r57JFzwEnYd8p3iMAJ9Z8Qr2sC4nfXryA==","signatures":[{"sig":"MEQCIA2uJOBPfFe/fyzXD18Fl+H2qtBGtIPb5APjk+FID+AZAiBWVt6zShnS7PiEMbvQl9eQt8gvE0aPFWJO1oBda/Pzzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjagMNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpyTw/+KvW0i6QiWLXiyOy1mxhgDRfHEx8D5/A9oCQdBaGWA0iC+MHA\r\n6z2JULFvsQrZ2JqEiP9iNVLqtOVu3yQx2uqrBBxFLF+6dKey71smxwqEnx1c\r\nGWdJSPEUPpmR1oMy+UvFTUXcSCDwLvitojRnuQ+34Thq3s+IYFKQX4Fb+TYJ\r\nIKQmT4yu6ikcvBbqxCj20mcXzXpQstFFx4XkPeUCESf4nymp6kDeWm00Zrzg\r\nfE+BRS+UixnJSZz6dmM0EnlU7cnAl2w76PkY1++Y4bModJs3FXKkWEaJLQzA\r\nDib+4qZYYtInvbNVqeyGNkYY24ra55xTi609LvJHCR5kPk3KuEBbssiKWifK\r\nk9G+juFPlKjcgl3OBm0JlsGr3nirIRkUTt+zwjXHq5hrJKsX+mHZhy1A+/TA\r\neCuW4L5J6w3HdokQdGRP/hv8PVHUmBDPrn5E7jROANMsu3wrQInCq6GXfGLt\r\nuNYmvXsSla+aI+HEfmR6xIL4uU+HGMI4pPJopXnQ3uB7BWRKVsqoUwr9+wQJ\r\ntsQ4AOjjtFthZfTRX2HnsByadLphteAg26zhPQhJ0yy1XnFqpvEvBSMkGP65\r\nqG31XuwLoNUI+cqglqVPxRRVNKPIoSLFEBlb2PiNJC1ScqL6QI609J/dKuU7\r\nVGJsGPhQgV/DEzAL4nZmVrsd2+QMbSY5VxQ=\r\n=4gl3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221108071844.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/a9d07963d34e2cc86a7a482201b0d8be/chakra-ui-react-env-0.0.0-dev-20221108071844.tgz","_integrity":"sha512-LIcNVqgHK+44i220sKrn3A8qoH2jW3IOwCdDn7Iu5AD2FbuyyJYW3r57JFzwEnYd8p3iMAJ9Z8Qr2sC4nfXryA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221108071844_1667891981261_0.7222516024942927","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221108073543":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221108073543","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221108073543","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"82a745230f59264478151224a17d9800fcfb4020","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221108073543.tgz","fileCount":6,"integrity":"sha512-/vhemohDPB/joOfhSMIt3DTcsS/qjqRmzPHndZWjcOSIpjFuP5FyFQsfIHW79G2rVl54hoVdXfuTzIJLwCBXag==","signatures":[{"sig":"MEUCIQD4arqvfCw/zSTNi5Y8UNe0aJjauy+b2l/RE7Os+FK44AIgbe1wesmUF60LHHCPZpRuaP5jXpqJHfFp3dbjeRvaHzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjagcPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrdyQ//QxwAoTb9KV+6U7RlKgGdmsIObtdQZEGu5/NowHKcMyNj6hTb\r\njpDlabHzRTkjfU2+LwAitx9Bb/RXuw5h3rzelBuX+07f0ynw/mUuidzuArif\r\naY1e/IhT3UM2BHBihgwuQ1fXAe3gyPh7cMNIHvu422S4eqeufEgAtrzXwNX2\r\n5qdG9AMKGCTSG55MctpqF8PhlKdAD8CjTMuDPcUaG17pS4BRPB2XwLposGZU\r\naxl6D/rl0TDKWL2tmPyqnMeJKhBuH2yQ3xBnqyXW0o95Snip9Qk4DZvzegxd\r\nvACZ99Axc+yk/yNcc+tL43SrMTc92gp/Nyn1xwqh8RAaaKNk2ZmmHVQLwETa\r\nYotnIXxmogMlWnXFKlJAuU0rHa0lsdK/wql1d8CccKSJDfeY+ZovOfM2FLTj\r\n7Yl20QpMAVwyAvlewu2Uuia+ujaraXBVXTOeFAeJ+j+HSXpNivk/Y7b6Kbq4\r\niudRFxUkvKc2yUdfVnQAz8fVXjX4dVayH3iCkArK+doT0dY3ZANWui3PCVXw\r\n1TfjQpJyd9OH+qQCCjJbm+cjmwpR+QOHNvJpyX0iufARM1eI4i8X3aKDNZOB\r\ngRmtK9dTBNT18XW23YNXpFYQYp9k+I9ecLvaEEPfmlmLPyQG04y0hMSgiTYJ\r\nZTmxaXfUVe3FJmAVPePkG8PGQvNvt6aHMas=\r\n=wtDz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221108073543.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/df5e64c79995ea8be73a4bfc2c50ad5d/chakra-ui-react-env-0.0.0-dev-20221108073543.tgz","_integrity":"sha512-/vhemohDPB/joOfhSMIt3DTcsS/qjqRmzPHndZWjcOSIpjFuP5FyFQsfIHW79G2rVl54hoVdXfuTzIJLwCBXag==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221108073543_1667893007323_0.395540049181782","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221108075029":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221108075029","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221108075029","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"98c74a6bf7b9500b10eb79ed4114c602241a3277","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221108075029.tgz","fileCount":6,"integrity":"sha512-VkRf3Z2FremBoc6NZwOSkzXCY71duO6rp+E1AMRrrSWgxKXhLObnGHHbUqKCgwuHYF/jOCeTh8iG0Dygz1Iu2Q==","signatures":[{"sig":"MEUCID6SjDnx/GHdWo/43AneMfBh94oPBHTW/5wL8hhdEkjzAiEAprH8zLrcmQQUThXBtSTAPGPINKhyBJU0yxEoyc3uIQw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjagqAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrktA//cHhUBGIEgbPTIZfd8m8RiV+4fkPACmrULSbQrQzHhrL8zQXw\r\nzKtD4dakvjgizkr7gO6TqvQ5UWcKgTNQAe8wH1hoonesHXXddC6JETtfaarp\r\nqJiTugKBQnMFKMF1YaC5ghLy2MQNg6lBEA/jUmwhGXEMZNhNImxHOTP5a5ix\r\nOOuoQtPxy0l6uXLJ61YfLV/OKe0Bo+trl50QBs0rTzXpkLMsp0mp66iF7I8t\r\nnM0X/pKejHbWQcBKbQScUGyaP3TPVHJgcBBRJk0sqX8TndySPTzdHZ4rzwnh\r\neJUnLNLMZjHuCoGaFolfb95ML88dx0lVVolsFcKKBiWW1T1nQPPS5+TpqeIx\r\n0tDhV8PawOvw35xST7DOnilbWhDZ5Fxf9iLBhXDrWnbdAQzbhuTFsAgnwJ7e\r\nhetW58JZqsz414zHFNl5PPWe7mY4VoObrejih6gfCFwOPDOCEmTfP9bOWDSs\r\nqcm3GRSykHtwnZT5HrcyC5oi96kyPqUSjpD56IpuGkNb2dAX16ziIpCPDfb3\r\nJWZcSD4g+CgCZK2cCNQ7vInHvF0DB7VdD3Mkt8ZT6C84xDICeBRDTgYj6o6w\r\nJVvw9o9vrnrVEiZ1PdnGHq4vKDCBvhsL2CtaBWPBV7hf0ed7etVa+qlzyabo\r\ntHLG1puzsTKa0b1N1U4ok5SmtT/aZupXEzo=\r\n=CHvr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221108075029.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/c3a2d04e95f59b3acb0e0dd6eb18ee64/chakra-ui-react-env-0.0.0-dev-20221108075029.tgz","_integrity":"sha512-VkRf3Z2FremBoc6NZwOSkzXCY71duO6rp+E1AMRrrSWgxKXhLObnGHHbUqKCgwuHYF/jOCeTh8iG0Dygz1Iu2Q==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221108075029_1667893888508_0.8412449248134746","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221108083411":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221108083411","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221108083411","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"057e57868db4e4c496f53c3294e9dd9b75be0d89","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221108083411.tgz","fileCount":6,"integrity":"sha512-zlXUHiS0WjEv5blb5a+GdDuwjxrysBjYkVWOuz7EdvZf3PS7reaOJjeIfWpavZt7YWYBQBuxLQxFp/eaMhyOhw==","signatures":[{"sig":"MEUCIQCFQGVpp+kTFHUsBagXb/FpNJEOA69ZHsJ1IkxMJwxyNgIgUt3/t9Qoj5Gp5NUhQRD3jT/UDrdsFElz9xJG1YgPLxc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjahSyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqb5g//ZmXQMKewrXz5ZMIsNVtmbmmubEX2/QmiwoxKaTh3K4a9I06h\r\n+3LacdqtV/UZgwG+MUUsdcJFQTiZPXtr5jrJzF0PzTFGTr+iC11FPDHd5V6S\r\n96Qt6kwkjExdXgdrrPxusHnkqcp06jEqKBXADCk0+aaZWsIuG2fq9/M9gOh/\r\nLXihBqaWeuP7zt24IankvnsLNx3sQAOZpVWkQpvuHrC5GEU8UEx6GFtm8lmv\r\ncrRgStmRDA6VfOjb4egS8UYAsibvvKYBVmVu/jhLRjV1xJ2CboPPCkPzDUxU\r\nRqcuktypOFNlx0GXqqlsO3eSOvhfxUUTd98hEbfM+tgVs7qOuNmlq3PzUfPv\r\nhVl4aubJTzzrnh9PlQjr4tFdAtIucPR1aNUI+fA2M4gsafC3mbvtBB56x1Du\r\nOYtT8q7YjUFzENO4TCN3Ddb4vYZQZT8/b6JZfP/WwF9RA+aXzowzmhAMcj5d\r\nZKQIxHOqkg0uRF1ibedFs5gD2kEP9E+vgV1mF8XPrdxckRXLvJhBKtKPJs/0\r\nLCct+bxAzDuBoa/2MyF1pycelFyzanBgvrpzmPiCD3oGjJnpo6zJWukFpJ29\r\nU1BnhXulVg/2jMI3Kies6XEAW/bynxiildwg7h5hGqZUlrFdd7uijFcl90iD\r\nvuFcFd9m7pNKG9LmeGJRJRRdayWdOY+pru8=\r\n=k8pP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221108083411.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/f4b43c3f27f8a32895450f9ab2931c3f/chakra-ui-react-env-0.0.0-dev-20221108083411.tgz","_integrity":"sha512-zlXUHiS0WjEv5blb5a+GdDuwjxrysBjYkVWOuz7EdvZf3PS7reaOJjeIfWpavZt7YWYBQBuxLQxFp/eaMhyOhw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221108083411_1667896498441_0.49650674825086183","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221108090938":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221108090938","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221108090938","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"521ee41cd409324c3f5160ec63e91a01c746b723","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221108090938.tgz","fileCount":6,"integrity":"sha512-rYjMcCn0iNRip0nlwzjhHq3iS9igmf0FWPIZqYUT1qVFGH2KNqDUdHgZLFOrQtUCpi/FwxccWG2v4x5pTYXvkA==","signatures":[{"sig":"MEUCID25aRD15ITBoDIl4yBWi5JefcaHEHsptSuWf7SehzWrAiEA8vpPdXt7jV2P7Q09l/sejtV+kzkBUic1rwbZ1taWfFs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjah0NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2Ig//S/F3xbcpX6QCBglxW4aMGWQmAsVqiv+egWQ39ACKrA2uAgh3\r\nIq0ZNDWx1JdkqHkSzgtfMpVlR0Dd+y7n2SdeHWSSY1vF3D6oN/4yiZtgsAVC\r\nASivESj+lm4S+tkPqlYaIL6bnNDW9ccKtxerc9IGiJoxhR6ULeVFeuJ9S/rg\r\nDtSmfVlXRXFefCs1s7cn1XzZ/iwaS+vQX2rEbAWRuTMeY+APCyjbsR+n73Fl\r\nfLzidRZuu3RDQFfDIF6zbPtttmN6sYgoZeadqtfbQuzGbvRR1/js+ngg1A95\r\n6L8zMxnz136CyKb84hR4c4S+sNaBfTkktXlYg8VCXGe+zi37+Fi6m6DVopz2\r\nD34MfB9sPOKYLZfxH9lQkWfVISgWkaGDA84AIeWRfC4TgzhXlkSlVtvsvZEU\r\nhnqCJwe0GVP3O5Qk2uzBpY8ZhGsVNcgJUA3DuI90kleHGOPwv9ySFmSbA7dN\r\nBJkWJH9Scb8H74UfCtKzrQIU55JHZjbv9CQEuRMZoct1VY1DlY3nVk62j4Z5\r\nSC7mI5jPT85DBY2PKlgW0JXyO/iHSVEbjSUt1gsoLK9OQgWpbTZj+hEUQQST\r\nOaH3WmOfIZXz6cuJXDVivVvrEjB4SpzrnxN9yUrQOanAH82h9PDxExXdcjhZ\r\nu+m9oVKAaD8f8GzypIxZFuvx9sqAz6ffEHw=\r\n=dG0K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221108090938.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/3b0b6ae73d33942106f0c982bb0c3c76/chakra-ui-react-env-0.0.0-dev-20221108090938.tgz","_integrity":"sha512-rYjMcCn0iNRip0nlwzjhHq3iS9igmf0FWPIZqYUT1qVFGH2KNqDUdHgZLFOrQtUCpi/FwxccWG2v4x5pTYXvkA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221108090938_1667898636999_0.5812064506827441","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221108093520":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221108093520","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221108093520","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"5a9d7a240962fc1ce4e79a566ceba4b2e27c7a81","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221108093520.tgz","fileCount":6,"integrity":"sha512-9ycyM+MlW8ghOaJhyR/U2ViOSxhULn7QNyb8V2JjixPidA+et6mmNK5Gi4v0jLvazTvC86677I9ZUy4ybcIWzg==","signatures":[{"sig":"MEYCIQCfsIROOHYLBRiXFK4fvmdWLex8ken7756oqzfp9i0K2AIhAJuriq9cpzd8UDgqRy0XvHmvj+tLx0554RJ05uNSShjF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaiMdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0/A/9HqWcSK/j/228/iSViMI+NBCgVdT5yFJmYp/qKjFGUXrc729g\r\nZ2dhp6L64zyjUtG5rGlvSymZhk2vdHZ0W3VefjB+VK3cERrLtKeR74TD8+X9\r\nC/s5+wc5Nipg5XcZN3iA2VycgbRqx5nCeQ843nyfWSEOy/AHDjfKcXwCqeVP\r\n7lXF3fLecs2NuxuGLTCoERPAVoE4apLdbTlBQudxUUoMQHHRxhlrODvSbFIK\r\nCNkVcD54CM77HtAFzgysHff+rWJ9Rz4Cmyg8wz+KmeE0Pe2Z5hr7gIr3KAiv\r\noAjGCAsh6zOGiGwaXWSWlLJ0fweCc5caAUYT3mSRqMjZMEMeSnl3RGvbuuUz\r\nIgqIPnI8Jjas6IRo4vZ+3l29AGrYGUuqo3VUiyFw/2oroeUc881nobxSTfmi\r\nlHcMBtF+1EWVXPh5yASnBhXbhK1xINoUZBlwUErOwrFPWM0Rmj+8DCbnE4e4\r\n5mK66ne7jDAKiEoecWsYrba1zpcxU+OlgDl/4Aac0034TidJxpm4bQsq+FcO\r\nq3u5nzUC5bEn78fECuCeJqyaA0Jo3fd5YoUTmm+xO5iqblzL8cFxJuhzIUZ9\r\nMpF2AaJIhMBcZIKqelIrcc3ScGmGiHY9lWF7CluuByErViEhv/KtkqdIQpqI\r\no9D2yhbRDhUHhsxEinYOWnvccsra76rZKHY=\r\n=SFaI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221108093520.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/463b606cb9f677422aa94e8fcf279ac2/chakra-ui-react-env-0.0.0-dev-20221108093520.tgz","_integrity":"sha512-9ycyM+MlW8ghOaJhyR/U2ViOSxhULn7QNyb8V2JjixPidA+et6mmNK5Gi4v0jLvazTvC86677I9ZUy4ybcIWzg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221108093520_1667900189150_0.6195539264111425","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221108100218":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221108100218","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221108100218","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"0dc7f74bc3d9c5335fa44fdf0d0cc8d30ddc12ec","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221108100218.tgz","fileCount":6,"integrity":"sha512-z9yCzV4QrYgeKzSkQwhg6yfLeh6jNFb7fi8JD06pR4EwyDlNLXn8HIt4eb56a+4N9ZUMXmmTG7J2q1yDcdGn8Q==","signatures":[{"sig":"MEQCICKZdbeqoaW8uiJbvwDtN3zgPNSn0wCsDuVwLjRfCNXIAiBcUuJlJJdt2TCnlBUm2tGQy1rBQ0MmY97PNsoHuPAhRg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjailzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmKg//ZFsheGZVXRsmAQDvLa0cL80O4t/aMDe+lfxep/j6hbJLfSCH\r\n40rk+6Qnxvtg9PLYv7ssRA5SfrXpLaEgZs8kTyQmawCP1zyQExy7GHpNwmQS\r\nLDlQ7CBF9k3k7ejQWxTkhgxEOikDjlu7iIudk2Bk3UCfoFXisgbQ9CRyUNLH\r\n+wGPhDp/POD/cg55UN+LcZQt5ig3D/aEKVTBzMq+vOnR+vKyM+wtPq2mtzxI\r\nk4WP2v5Cf8aMwzYphDWgRU+YFC5nwOKluEBRgv/ye3HqAHqPrlnmX29m0QWq\r\nKn8g8ltW1ej9QQ5Zxg3SJlsawijIaFYG8xu3ld0pIzxyZp3pfq66Wjikx0Rp\r\nuudJUbwwFHeHMW1MTun+Xbv5yzsp4ZYyYuo0r7NlG9VrNGfq8jNdQzgSmgbx\r\n7B/xMgxbQTXd+2RnRuWtLwn7LLD/z3aD60abb5w6fYXsTi+74zFOWNa60scp\r\nkB3htlgkHLlC6TIDPqrgk2iAkN724VgB+UeEdfHn/7umItVRbvvpEvWYNKhj\r\n0+odbFZxQQWMlfiNrMAvp2NT1ltzJOBmwWOKRKrdbqwZ1H8MHbBOIHdS5uXD\r\nXLbxXkrR4eyMB6x2OEY5FfYN7L8f1Kd1+FSkCgiBQFGKqQpI3AtIXNYhn9Jt\r\nQXRajhXie/LlL8iCmFvSDweTJblKRQlKTtE=\r\n=QN0L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221108100218.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/7e4ce4ef055a6f162df33e54137723fa/chakra-ui-react-env-0.0.0-dev-20221108100218.tgz","_integrity":"sha512-z9yCzV4QrYgeKzSkQwhg6yfLeh6jNFb7fi8JD06pR4EwyDlNLXn8HIt4eb56a+4N9ZUMXmmTG7J2q1yDcdGn8Q==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221108100218_1667901811228_0.29873101272765856","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221108124603":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221108124603","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221108124603","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"673d39df27480d15c53ea04a4f82c270f7be4cf1","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221108124603.tgz","fileCount":6,"integrity":"sha512-z9yY+3b1769tnlSETByc1nxn2cqb/ZY4IyVtFOymnvYd9GixVSzHJANqfcmPO7FTI/oSk9A1z8lnKdR5bfZTKg==","signatures":[{"sig":"MEUCIQCcdn24szoKY2qO3JQjVU6oQoHZ5B3QcLIP6aBg8m3W8gIgUsq9oiM59a5Epezv5jonHYOi6oE5/4Qbdgi6PGv/jMM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjak/AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrW4g//X6KC5DLLXmtm9B2vBDxFykehRZ+lxu4gvgOd5NdaWcRj0bKJ\r\nlUyc01pYj+t93UeSkHaOp4XHwJR5HAnYatz0zbCBOIKkkB1pG62O5hZNtATH\r\ndOxagXjextNq138E1ZPYeeEi6CWjxs0z2Ve+7lZCplUo7iHDuC5oRVrSSgqe\r\nrxpLc9jNnird9uLTLw3WkvFMTvRo3RCjOufJz3H9J2vrCbi6lIKuRfD200p+\r\n041FDBZUBHQ7fc/IIbY//RvyDL9dPPSUXDJnzuGtwUEDYX3Z2JCo2qdEAWal\r\ncrSgZpfhHHa7PTov3v3ld5NxgFbcmNiYEzs3m1jEum8erQfC/NPENecNF038\r\ndnOZBCrfwnH745BsWnq8ukRnpdcbgZX8SX776wminbmoT0t2YNy/VxLP7PQK\r\nj5P+Y1Vvnf9zOuw1VALuHElDl8Tj6To2xJqJdMDuRnjdvKvewcibK8f3W8b7\r\nCfzlgmKsEhZKeR5AHFFhYlRLqhnV3rjkqC79jy19PugM9j3xkR0UdeurzXCC\r\nTx9MtkxVAD1z+fqgE6MXZ0fELEtdvzMFn+9AAjhxgy3+f1iT/d9n0XyB5ZI1\r\nteIoE7DD9n//FfmTcys8WfT48ZO35LzE2ZAtLBaVMglGAl9lNkJePyAFNdNJ\r\nJamfoSmfOKhjy43odEY5Vy4LxNaFBi/5MDA=\r\n=Opzz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20221108124603.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/5395a8444b1d1d7dec1724b513d81300/chakra-ui-react-env-0.0.0-dev-20221108124603.tgz","_integrity":"sha512-z9yY+3b1769tnlSETByc1nxn2cqb/ZY4IyVtFOymnvYd9GixVSzHJANqfcmPO7FTI/oSk9A1z8lnKdR5bfZTKg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221108124603_1667911616572_0.6356572883786891","host":"s3://npm-registry-packages"}},"2.0.11":{"name":"@chakra-ui/react-env","version":"2.0.11","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.11","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"d9d65fb695de7aff15e1d0e97d57bb7bedce5fa2","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.11.tgz","fileCount":6,"integrity":"sha512-rPwUHReSWh7rbCw0HePa8Pvc+Q82fUFvVjHTIbXKnE6d+01cCE7j4f1NLeRD9pStKPI6sIZm9xTGvOCzl8F8iw==","signatures":[{"sig":"MEUCIACrLNTVsjdTGDVgKvAov+lV181KrJWOe7vdIhzZnASAAiEAwESuWb+qsb6r1oU114Rz4ZVCbQbPUhxFo+6cmRoqkPE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjciwdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIpA/6A8rJbIhQf5fRHg/ioETtUWILXjbuaFhRjjGuVXQM5xV+97vc\r\nx6HMIF26haqDVIU+hX34SPqv6mVkOiPEdTKQ2PgupKwovZOmSKwGml36fayC\r\nkTCxvP9qf67UR51aFyF2nGKF2osDQttOr8lAT5xb1IG5nka0Wiv1K6ST49S5\r\n21kyu09CSGt4awkNd156Xx25g8mvxtTeVjHfFNTzNUZLQvXZDkNR8+Qr6GGK\r\nh2WW+0o/BrkjMfej4QQpRubJ+UNbyJEpHpy6uveNQX1mt0SHBRvBUvklhVOJ\r\nVBcfRX3MiEBkZI6BobT+MFXlur7tbhWp9or/o3lS4nZxhtdqSEX0M03ilhtP\r\n0x/A8uXRGXXMK/KeBaCLQiI+ya9/8S3jCfc2tRAcyyaKgrpjhmxKRYJ7Zmr/\r\nKfJtCFEvqI18WwGurxGi3E2LRngwTqv8lAB3FZXNfPMBkfnIOzA65+yH1gLt\r\n84805klKEIVi+VntBilE+H6Ag3Q5rG6y5vkxyyECt0UvKoPv+vYjVw0Km2uU\r\n9tqkjHM0i1XpBWiNznI+nA/eEtcr4EsAtKzKJCIT6hjXVkaiT0j16Qq4ipx7\r\nD8GeNvg0rc5JhIxZeEh8bf83IUbomrwWOxvxxZXZ10d2C9VxsRc+biwAxMts\r\nLriOvQuHPMW8mC2qXKCeucNgafVUAVG9/l0=\r\n=qqqK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.cjs.js","_from":"file:chakra-ui-react-env-2.0.11.tgz","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"JSX=1 tsup src/index.ts --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"JSX=1 tsup src/index.ts"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/4773dca7594f5d5e6cb9e386c159712e/chakra-ui-react-env-2.0.11.tgz","_integrity":"sha512-rPwUHReSWh7rbCw0HePa8Pvc+Q82fUFvVjHTIbXKnE6d+01cCE7j4f1NLeRD9pStKPI6sIZm9xTGvOCzl8F8iw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.11_1668426781773_0.6939616296117934","host":"s3://npm-registry-packages"}},"0.0.0-dev-20221223180742":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20221223180742","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20221223180742","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"517457baab4b7bd42aa5e3bbeac6b1363183e1b3","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20221223180742.tgz","fileCount":18,"integrity":"sha512-RZF08JAw7Ke9QZQbNa52F534uH7WVRgBI9C2x8u4sZc0RzTOiB4aTUeorxhnW6frf9ZtGomsWJdjf3Xx9b8dsg==","signatures":[{"sig":"MEQCIG6OZbba6qEsC3tMwl2K3fXObaP0vqOndtaU9/u7yqa1AiABg+R/mC0GJKNKG4sMnJ7N3F3SUeAK6itVrEebocEP2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpe6nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrO1w/+OHU94XRBBO/m/VsjNsBom1Jool61f3J7bXp2rjFHp7dyVeXa\r\nM+2THFvgS79MpvgJliMdECcniPOOIz//kIoRwmg8uLJC9BqEE/H4feeJ9XEZ\r\nColXku5ZYbtG6aWpJkCx4MGXM0ripfUapT9ap6unQnU+/Uv9eZj2yfPM2PBG\r\nVKr6ePx9JhvnOBb7AeY3nKyZaHfxKK1IuaE9dFCqQadQWXqxTlGmJqIvMgKu\r\nksz8MK/Dv2wJrS+IXb8wsFCLZQx625wG6VJd2tfDbjMypt/JfhK56xJ1OTmb\r\n2SkCBojNwp9vPRiJStbjVTIJtHve4eaXVE70p2n4dVUB/5rYXnSDwGX42ZoB\r\nremTrvPdvcAGMB6OHkTbBwel5F0wHKnYNe3sfy+5BhOXsofUhUVtyXX1BUhy\r\nQGJIgrYEiO0gh5kvaLgL5XxJFVVkPKvg3SPYcM15rOBxmyo+nPjt5XqphCE8\r\n5kM24uy3ExtxkFpL6yQHp/rz9Ue6Bb/DrgOFXJkJ40lPbaWolZOlwc7Le4OO\r\npxenTDNPTa8SuGoyO4g4KTrsqG1VgakNsxrmYqX2QzsOpSqscHrY4rtMbyUW\r\naHV/Tau6iBk0rZ0mbeqkEKKWKvioR1GZF0yPvF6hQT9+xtP82Fc5xy2NNEnO\r\nVzfZLbm/0FCmbXf5QOva9nwnrk0nJSal5gs=\r\n=2Ir3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20221223180742.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/53fdf5c4d4330d3b6088db10523a9ce4/chakra-ui-react-env-0.0.0-dev-20221223180742.tgz","_integrity":"sha512-RZF08JAw7Ke9QZQbNa52F534uH7WVRgBI9C2x8u4sZc0RzTOiB4aTUeorxhnW6frf9ZtGomsWJdjf3Xx9b8dsg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20221223180742_1671818918939_0.06904274912280495","host":"s3://npm-registry-packages"}},"2.0.12":{"name":"@chakra-ui/react-env","version":"2.0.12","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.12","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f5f9fef0bd6fa9983457cb06413cf209acad48e8","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.12.tgz","fileCount":18,"integrity":"sha512-BPTz2cxNKhNc1y5J9cCOYndbGiNulpMwihZLkybLRJ1qzZic4KuD3iGOkagJ81STKoPkKEZWfcjnrQTCJTq1fg==","signatures":[{"sig":"MEYCIQCUVx87QazyBkvk1bNH1Qww0uurg4GW6pY9ogWfvXE0FgIhAJkQqFIqVAAVXBUcz/fpagwfMjNaHl40BYHBqmDU0JQD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqZ4RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqadQ//YIGRK879InwzQBGWMLKZRG5eorV8wx36tSI8DRnZeMjJAV2Y\r\nYzum4ath4PtN0pMTA9T2aZ4nqECLA2Z+GAieK1uq48z8Nzynp4eAjNtiW7gb\r\ndecCGfnjTjm2Xu67f7GxdxxhxCfFS9+fKkx1OoOBhonRZWUSF16L7W7wTWdQ\r\n7ATjBRt4nEdS79415l5pLi36qAYvgyTK4i6DfTEhf4yo/I0JjUDFgFETT6P7\r\nHPfYR6eqx0/QokkyE0+HK6TbeN4i/FNCUJ32qV+w246WH5UQro0CRzmFlYdt\r\nUeWpBt0PaJ0C4YvcyC3TLgE1bhbwtYESlcaz7OI9ccI3HPobDQZ42ZT/Rp4V\r\ncWDWz0JeK69shYEIJo1mY3x1GkqI9VQ128+vzryp9r0li/KUvRfgKx/ykQzV\r\nA0rqAmpTMW2mkO5XqdFN6IO+T3NSJOkRFLAAXrXKYboMrEC5oBAsUaRMIPD0\r\nfGOkxpL+jtHZHKKcXE+MtleyqN3iMnnlAgQLUN4eeHiKzrKNd7qzBIlMw0tj\r\nbZNnuALuJ4oyk48EQfggrreM/2iUJ9+ftOH/0jJBZDtplPmXI1PhZ0r8B977\r\ndlALqvIG9DV7xiCYi6jUA89mmOFFOMS2fXep1aV2ArnMPfEZpbHtjztjhPLp\r\nejqCj/u1kQw/GDGd3xW2+5LLP0HIsBq7oAI=\r\n=uTNn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-2.0.12.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/9f3b96c06accd208caae102b67347ccc/chakra-ui-react-env-2.0.12.tgz","_integrity":"sha512-BPTz2cxNKhNc1y5J9cCOYndbGiNulpMwihZLkybLRJ1qzZic4KuD3iGOkagJ81STKoPkKEZWfcjnrQTCJTq1fg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.12_1672060432989_0.7030398161279616","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230111211417":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230111211417","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230111211417","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"a3d9b9ed07495c7adcf3c197cbb1ee874e7f9063","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230111211417.tgz","fileCount":18,"integrity":"sha512-Czha+YzhvUt9TCdG4SYsmBXB6av/xXyYvATStgufxiGErsNY4017inVDRVkMbndI5Kr+cm0WYSLb2EiXJZ1m5w==","signatures":[{"sig":"MEYCIQCEQCvIHXJ5iEryRDDtkkSHfZWonQus4i7j1cYUEzMVYQIhANFNd/WwT5FA0ig8ZrJiRnOrbcoHVJ6b5AQUFOKGw5D8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvybkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFGA/+LetZpF8uewt4PDTbvBrUA+cRz5t8GHkpdYiOJWTRS9Bpzlt2\r\nq5liPiv5hcMTSmMPD1t0qW0sjvz0WyFmxeC1iirjagPWaz5UMoPIWt12crJ6\r\ncBl2u5R/D2ZKSq+IMexXtHidQOLNrZmm9A/XkQENcre3LMnvoOoWOkgGnwtD\r\nYKKg00JFSU2z6PNrTK516xtd7TDpNjVEtV0/zPkx6asVip5ud2cAjve6MAxo\r\nlYCVa1FUCzR2Dtjnt5PXE21H7tD5XnQy983WoWHEdpF5CX/sR2QcWx1+4Bfk\r\nUQ04K0CW22Fa5vgK6R6CZQlCoVI56ZrEkAEBdu8XsCycKJNn9jk7PZ547DFY\r\n/SjNotvpwUIIM0MA/ErVfglU6kAtxz6YvckSOG5rzQppwShROVL7BNgeTOK5\r\nfXozB8MnoAq9ssF72C4I0tRA0oMzwStDfbHqZfQr6ohc03FwQFOwE02YxKeu\r\nWS3RLJvPns8909w4D7KIUgShhNQ7ApAb8vZHf8lXLMlqsSFPZXYG2BjGxAhl\r\nWpfc+VQ0FvmBVzpPVGSA5vrTJ23RURrskGMvFVMGABpRP1LLjSgkXjIsaiFr\r\n2NIzRORv+ZzP+myuXgnKzZPe+l5cMHB+DlNl4Ao7AtWKD2imjb5jmT/LWZO1\r\nQCofyUJGk6haAye4UxNUtVMWgfLf57v2BGw=\r\n=nAR1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230111211417.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/dffa060ff1ee60573af927b50323762e/chakra-ui-react-env-0.0.0-dev-20230111211417.tgz","_integrity":"sha512-Czha+YzhvUt9TCdG4SYsmBXB6av/xXyYvATStgufxiGErsNY4017inVDRVkMbndI5Kr+cm0WYSLb2EiXJZ1m5w==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230111211417_1673471716466_0.0764744494934202","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230112113621":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230112113621","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230112113621","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"9f35cc247dc7707ff80f0433d0606408c8ec2c3a","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230112113621.tgz","fileCount":18,"integrity":"sha512-LVSHijSce3mJSKI5Y5wsDKktJaa3mdzFGVJBRbnkpPpgnanQzmJ5pwQYOqZ5HuUO0OWe2iXjKqXGizym8fDkeA==","signatures":[{"sig":"MEYCIQCpeiCUI1jC5QMWaf+cMxGmPewY2xsC2zWVeDiuu1mIDAIhALxVCBMeolkrlmV2l2To4shpo4kzHotPVja0ObwoOaE2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv/DyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqmRAAghBrnj/e/07N0B07eJ933vmL3MhnLMbl8GmCd1NkrPdi4gfo\r\n15YSKgG7S7Q+6GqkrK6RgLC6uqEGZKsxWwfDA+0Kj6thh5JIVLCRYJwCUenV\r\nP1TYKmLnuQq5SvSQFdi80FNF1Dpf6HIFCvQ/+ER3xEKqEu7pAF6Li++HuQk6\r\nQv398qsCaihIV+mEjm06lUtlqOuWtmHkO0lgKWhLGd3EHea/1MuR3ywp7xjH\r\nBvRf0r4MaCL5zeqD8vV9Sw6ns6FPxNYx5Ng5l+icFtLDQ0VYQfcLRpu/PKri\r\nYt7z7Ldu9tIpNFE7SjawZ1epbc45tREA6AcRjuTy+MEBTjYKt6JJIhjeZK42\r\n4NsAET95Rz2ke8XUsJIC/cfadCU8TtNPMbmPj8Hrnf4wRCA4nS7D6FjjRvuH\r\ng+Ige8jduaWY3VRSvjLydTikUCezIfpmrlrr56HNkAoFwaDS5ZQKWtDJxHCc\r\nPttV+5IrctGN0MLRD50KIrZIKQLakL8Gh10kQmvE3dl3le6yFTPy03AqdXn1\r\nOEYhXro4eeR5NpxJhWPCl+ddxirF565bcpbZ7yECfeyzpxvW+Wz6iAz9c8qi\r\nkXS9uacVSn/dfP7mGdoojB0ydGLVu/xSXBkuhSRL4imml6b6EKO1MmNBWi8z\r\nmnJUwVaVwMK1fFhbDBpGbtuKnmGtiv+XTMQ=\r\n=+gfe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230112113621.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/b9be28b05dfcd3041dbe9a12f54a11ee/chakra-ui-react-env-0.0.0-dev-20230112113621.tgz","_integrity":"sha512-LVSHijSce3mJSKI5Y5wsDKktJaa3mdzFGVJBRbnkpPpgnanQzmJ5pwQYOqZ5HuUO0OWe2iXjKqXGizym8fDkeA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.2","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.18.1","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230112113621_1673523441914_0.6306262633144344","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230112141201":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230112141201","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230112141201","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"ab597ed1f93d1f4804c398f48458e19077e5d130","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230112141201.tgz","fileCount":18,"integrity":"sha512-gu/QmWTKOprBcQAcO1oBYKNuoETVKQUTmrDLLn7bfH7K4VGr4LzgL3IrxwKQ+0aeMwpb3oeAJwTVppRNFY3HLg==","signatures":[{"sig":"MEQCIA63gD7DTRdT/2BD+BU/TXDVh8J2XJiE84N6gp14JxSIAiAxlklk/BZOQqQTaZj9XADWIFRSAtamyEhlx+YZ3H3Hvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwBWAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUWhAAngzY53o3PLprMVU/1eQBBLhoFrqmYZruQDIYvq1O1r/TVBgu\r\nt8JhkgZUmR8M0LHIcvP5oBA9VsCinIzOtF1T1Nf70ib10vwjkmXrPJ2xYISs\r\npu46G3Em9nMmnNCDT0eyd8cYDyiQASYgkU06mAIznjCdZlQeWAK2MIaLoDDY\r\no0nmSofw/oDPSXF0SnoU09jCpKxlEH0djltEYRSX8EKZz6OIxKzIn2eJkU1e\r\nZhqkr1jAhVu10tfgDaty3dI5FKdx2x0EiGGrAHP56HWj1T/vNbPyQjFqhiQQ\r\nDAz1CVbOTYtvLpVUaT6uA9M1MrwNbEk4rclKEoJssMigfBtX9EtZLMEizAyo\r\ns5lwvDsp484Jb2UtRQVhcifqnhiuBWTSUbuRuya66jgTeV4zYKzLkuN+d6dQ\r\n0KcDhcP3deUXOy4e75rx1G8xCRV7sDRV3cWWao5N4fIYtQuO5kUfViQwwZHt\r\nvDSjxrRcWCcNf4Kjo4dhFtoya1K88RMbhXWgs1BmpS/LVsMRmLQ5+vYZfd7s\r\n6zGuHA2nHztIz8ceLzD9U0l1WGcA3Q2FQDKKZD0YYKonIpEKEbU5fOFOMp85\r\nyiRsl7/Z3yi2Xxm0mQS7mZIj0S1BKSh11QSuZeViwc8F6qo2LfRW+qtHcqX4\r\nVBQGoL0U0M6jMTh4rjRvPosJpkwrwLT6Igg=\r\n=qRKe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230112141201.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/68129a6885caed4fa48e62df87e4b59b/chakra-ui-react-env-0.0.0-dev-20230112141201.tgz","_integrity":"sha512-gu/QmWTKOprBcQAcO1oBYKNuoETVKQUTmrDLLn7bfH7K4VGr4LzgL3IrxwKQ+0aeMwpb3oeAJwTVppRNFY3HLg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230112141201_1673532800697_0.39031919714749175","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230112143332":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230112143332","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230112143332","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"e26170d0a991e9d542800a0888fc754252823948","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230112143332.tgz","fileCount":18,"integrity":"sha512-ikdhEbz19GxhPRxR0+2NqrQRKhzEp8o1qojOFNU8r/HHT69JkBMDfiiX8/O906AWQenky2QqoilTeoV+Jiaa6w==","signatures":[{"sig":"MEYCIQCX6k0MPPKiPsgKcM4yFLQHqohNDaqHRi1M64C+v936lAIhAPxMoUrCnDgGMX1wlEj18gmsR1u9N29Lj83PmnYCn7bi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwBqCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqsSBAAjeU8/fIzHCeyZvV4k3vkreCnAsMhCt/7Y5K90OnPSHRnDUUO\r\nAco5J9Fer73k8NpOJF0nNPP2gIpKbMU7QU9cvwVlJ50jCNx4TikQ1ncid5xM\r\nr20KxK8FbCM34gWuT7eYXJmzRZ4xP1001te0lJZzrPGmM1cjAPQH73veb5c4\r\np5YCvmvN+i73ss+bCu8Rq9dGtVpFTsh0tNmWH/Rmdqrv5NPlwAp+qcb2VYY1\r\nAjVHOgJV5eck+TNdavDm6x3JvWV3XnbG+aXpQv/oUPeaWx6+a9tpoTk3dcpx\r\n5yoPhDQteba0IPpijIPeRcdltR4/N4/DfSQ+Ie36MB8d1Cz+4wuTAt8uMLm7\r\nMKYqf40Dv3Xpgy+KES10mh6TAezM9U8o5u09PcmcxmE8/eix6uVUESVHc8OS\r\n6HIk0di+3Oo5kCcWSqCW5ANDILW5RYDl+Tnr7XViX7iu+jlw7XANHI14jpBa\r\n8aiMfpBNqDydLEKueUrBx880y7EOHtwBGHXYS9du71SO99B7N8Iqor94B5Vi\r\nSsmkVmnIG1yCezTHslg2u4FtxsctWzjjpbyPlvP6l3MGaJg8l2mHMSGoTHiw\r\nDfqnTK0DjC/o5r1enIz/th2/WV5ExmJ9inJ2EWPgztkUQ2PCWvU/S+9Xk4/Q\r\nqj15vk/g70WdoG/ACHlpSjS/96S95sxeT+A=\r\n=/oK5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230112143332.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/d72207cca191ff17baf40c2ecb9f3f62/chakra-ui-react-env-0.0.0-dev-20230112143332.tgz","_integrity":"sha512-ikdhEbz19GxhPRxR0+2NqrQRKhzEp8o1qojOFNU8r/HHT69JkBMDfiiX8/O906AWQenky2QqoilTeoV+Jiaa6w==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230112143332_1673534082444_0.7140506792657466","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230112145104":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230112145104","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230112145104","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"f630e1a9c236679953bb968f6cb7ee5321f89f4c","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230112145104.tgz","fileCount":18,"integrity":"sha512-McPn1fG9+dxbiYlZQ1W4RLiQg14lD6BTQRvckHZsyEAee9YwG7elEK56/29ClvhA4wEtI+wQD4pWC9Y7kmfVNw==","signatures":[{"sig":"MEQCIBLuTNb9rAMH2wfdN4X50RUVKGpbk9YBj0q22nL32/y6AiB/UuS/rayX/KIpXHx0nituRj8R4zJ6bmf0W/MUTsXOHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwB6QACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIDg//Yy0UxdedLifgSE7Rgnl5o56mUjDd8lsfLHGEYaR/yMgtmjVe\r\n/MIBA/vB85krz4ecQ5Aqy/RXzzyhEKPi8GEbLkHkfTMIaCylchurbV02tN38\r\n2I3gq+eA8Qi4mQb51860goV1KJGsEHsE0dsgcMh86pcShsF7Aw8MbU0OMivR\r\nRXvSfTkI1aywEZxico5oiE3fjw1q/nqPG7jmkCs4MzXVdsfM45VnhJFPlUWu\r\nwoAyTgR1zm61B/3rOR5Mgan+Ko3xPs9axxoRIDBJ7hrE+bu8Lq6s3+PAdH5W\r\n8q6TV8N9E/LfV7bNhPxUoQm7OHXiWyYmMFfqdDUy0a1/MwbwTf//ir6dNJTK\r\n8xufB9xcA5SIdzGYL2iJQebU06Qulygx/IiYQjtXTGgVFoDQjz1RvpHFMofZ\r\ne2SsD4kUo3IHxQPkfaAXmnRFQAut5U2xItN1u9fLPPpTaMRoJNzeIxNSk7vC\r\nDv2X8hfwJhNwhS5EAszsZeEGxlWLcEiB1C6iudSTXb+sOmmJEed2QdQ7oJtY\r\nMLl7X80im9oZCvFSw4XDLgR8I+D+Olff+rVNIJWaAhXirPZfoB1w13J71jft\r\nzRPcsmv5p2vaJIJLKtosuQXIsQbsy8tW5UIb5zSqORKF7HN1gIY08sHebk5P\r\nAutvZM2QolxnYe4yExF/qt20NBTll/KvvM8=\r\n=Y3YG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230112145104.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/a7afd19f52348bb916ee24dfeb9107db/chakra-ui-react-env-0.0.0-dev-20230112145104.tgz","_integrity":"sha512-McPn1fG9+dxbiYlZQ1W4RLiQg14lD6BTQRvckHZsyEAee9YwG7elEK56/29ClvhA4wEtI+wQD4pWC9Y7kmfVNw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230112145104_1673535120254_0.752037617613917","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230112152756":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230112152756","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230112152756","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"47ad5905c4cecf5af23d462808fdab48b41ef7dd","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230112152756.tgz","fileCount":18,"integrity":"sha512-HrW7+KR0PEbVF9Th4ZaR4FKGlUV5PfaR4G+A8U6dmIxhKg6548exCcYfo14w4yuuDbWPLEZYmJ0bCWO+G15Xaw==","signatures":[{"sig":"MEUCIHBa8l5jQaGzCAE5I9209uTbILZBO4NWMdmxegbkr1vuAiEAoBINuQmZlJ/KAHfNemS1FauSMJaUAH0+M57KPA7oDBY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwCc8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqX/Q/+K5kwTJV0iXRkZThRbYkWm8L4u9Pb+sE8SsB5r6ovYN+6dDSA\r\nPDjoENKxgIP4BiwcEiRz7da3qV/2Zvv6glg+H3pVqkq/wIXlC2Xg5QuLp42O\r\nxkoZTqpbw7gSp/vwrziaOxbNkbVdCTZFhqqhOTM0a8klPBbYlqmCsly4xSA/\r\nJuEAy5SszT9TBt4md1jNdDBXqb3WiP9IqtTbmI2rcY+Kt5NAtJLjHsQSkuMZ\r\nEh7lU/cNdLCeQbzcvO0N/b3rBdrKNlENOkNTUtOSBqha5i/m8188PBb86PtC\r\naTuuIpxU5KuHx79mrry+e2h9/SKiyEeURH7STAYgjdmA7s9AGgmfzz7uU0Zw\r\nLvbM8ww8iRzG0aqud+eB2WHgn93PUXks2hd9W+Cnp+KHwJOSJvLcHVv7vQMc\r\nhOJpUl9Wcyx7YMPuwvQP/Ug+18llAhEA5JstYNfs6rTsRr/Q9xdj7ufmqIoY\r\nlFfTOPdn8WS08haKtlJw2jSOnWxG376MEkicRdmsN+PbDDkh0TyDSMiYUqV5\r\nHa7zmy4O4nV/FLaPSzibxWiScF3uPhXAfyB3gKOTK+ZUJHuEiW5WiouxvnhY\r\nUfTIUissIrpoeGAbVwfEG+5zbkT+HTwqWX9lYsbwk+YWMXqiNt24nL52Wq9P\r\netGQrqGPWJlUWeIGtnZwrCbl5mLNJb1lg2s=\r\n=CI0t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230112152756.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/165c20bc8af98c5c5e692d62002231ee/chakra-ui-react-env-0.0.0-dev-20230112152756.tgz","_integrity":"sha512-HrW7+KR0PEbVF9Th4ZaR4FKGlUV5PfaR4G+A8U6dmIxhKg6548exCcYfo14w4yuuDbWPLEZYmJ0bCWO+G15Xaw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230112152756_1673537339999_0.3086424700059798","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230112154520":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230112154520","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230112154520","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"50af2d43d791eb08b62ed95e958bc27d5914f09f","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230112154520.tgz","fileCount":18,"integrity":"sha512-NS+c0/Wvv75B6Pmn5QAuigXh+BSjb11haW8fYYgmu/sCgQ8tBLgTPKyuR4CFtGtTlPJ3czAfCyCG/Cu0MQQhsQ==","signatures":[{"sig":"MEUCIGHHMJ2TWgKuaQ0qm9yBikPrM9EKoC6e43pXB51YLfwRAiEA4/YpqzbTdT96wT8mmplMNwEpYno3HqecFSCAclZyfN0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwCtJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBSw/9FC2B9kAo0lHenCGXjmzV870e378LS9bDNuXS/EmZJYG2m4s6\r\ndqFqT1n1ntzCU0jTS/J99PIJsqQ8vNLFp7CeIidFXfloVKUlHOBaKCsLab3C\r\nZd7gnG9RgWH+WJgFLUXlYCoT7CMA1hK2kf5JDCmVL2eMNI4F0qAscEOhLkcw\r\nUW9rsZswn9mkkCaaZvUC+qFI7lDVj3gjgXdh5EIH+ZKDowvQl89LCfIIgZMi\r\n4SkVyQDKc7ytMXMc36lp6DpwPUNr/nKo7pUDp5W5TgGhohlFS1vj6kSmecl3\r\nOjBNXEYbuYUXlK8BzlEalC3plLlSEL38lZjwG+up8N35XC2K3bRHT42sV+8R\r\nxzIH2xz2Y1DTfG+yjIjkPa9KLPItGThjqgaLlW3aZdFfmoy0gRmNbnLgfP4l\r\nMObJeNexz3HI8Frsiwlr7lCCrYpAXroMKNVs8DGqCt5nXtNo4fOdXnTMNGpL\r\n/5JGQHxE64Qd6NGlVIkpixbKfaPuqcmMZOSDK8pReRUJmmNeqLJY7czeBpOw\r\nOp0YmsfTIdiTL4F2N7Qd8CFU55hhxrofEVk//P32vVONNbLiA4IAaWoD0VCA\r\nq3Nd4wH3+jyfYdPXk69YU+SbLhFLASaX7RPmpSl5kw1RWJnJWclf+zr6qCcs\r\nO4tx1NFB9tNjXtpxgZ7H1y5GRzzJbLW6TAE=\r\n=xvUw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230112154520.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/f3faef088aa0c5d71ab63fd6b21592ab/chakra-ui-react-env-0.0.0-dev-20230112154520.tgz","_integrity":"sha512-NS+c0/Wvv75B6Pmn5QAuigXh+BSjb11haW8fYYgmu/sCgQ8tBLgTPKyuR4CFtGtTlPJ3czAfCyCG/Cu0MQQhsQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230112154520_1673538377569_0.4035603156986036","host":"s3://npm-registry-packages"}},"2.0.13":{"name":"@chakra-ui/react-env","version":"2.0.13","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@2.0.13","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"0fd49a4f9ebd69cf496ae58b3ed0941a527167b2","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.13.tgz","fileCount":18,"integrity":"sha512-rzrM5ZmpTb9+qIn248U2BCLygB8/FJp/kYYUScaqzn/2mGNUG+XGyFxKoDragTAFl+88jPR7o/2XAaxxgQ4WlQ==","signatures":[{"sig":"MEUCIQDWmqYfjtxtRthz3CDZAXhq08lUCFbNYeqhRROLGRrZIAIgZpNqO4y0QNTRXGeR6eqxqEG3KDN0NYLVoLg8oZGmf68=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21593,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwC/aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUrg/9FnkNuwObHQWXDL4tyfkAOEtsPv++rHrrnya0tqcp50BjG+5W\r\nwfZWkQ7UdUo/Ty+HX30866L9f0h2fiA+dqMoma/SPyOs1jzC14jAnWIMOGoL\r\nOKKIOClqNmTLG8YomKIqfq0/bt72zp4LUmm9wIb4kPOGn6n48Q8GTKJp+CJE\r\n9xg8BRvwfcGHlC/THGrmGD8/GTkrqtmgeYJK+q8FpRWsUauw8E5baDVBPZpG\r\nhOQOvko1LwhynszouWvAHijYn4AOrB3U5jToBlQ+iTG/NFh1ss/AFu0+CPjK\r\nqIaZ9/j0NZPvzUA3Gu69AI+zHW4sWOL0pqVeTYQranlBKXXYaTjYHpWzhZnn\r\nRw2YN5MpU28uYvFN3TGmwkT8W6tnhRhoGWZcdquhypO6vTTpVCSznb6s51Ro\r\naD0zOj6hjxiHrBZQv6mIVH3qSMVD4gK1Zfcq7fpESCD1EaKW7G5+LlQNVUHo\r\nG8czNWgX8WH6CtyTkdMASULIuzDlJXSvRUtThBryxETA460EucVFl+uz9+rs\r\nrMaCg30BkBNFKmC3yB8bExXktSCmKPgCZ1cFRP3A5pDFy7PB0q7Jfs9FaUqt\r\na8x352VS3Rhyeg+Khn+7r6bsQiHCr8Xj9vIzcP6bVSBmry1uGBiDK9YtD52M\r\n+14pY0hhfDWKOFa0KOBRuBbRwpH1sp38GQs=\r\n=GIZW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-2.0.13.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/5e2450670a1c9553329b687a7effceb6/chakra-ui-react-env-2.0.13.tgz","_integrity":"sha512-rzrM5ZmpTb9+qIn248U2BCLygB8/FJp/kYYUScaqzn/2mGNUG+XGyFxKoDragTAFl+88jPR7o/2XAaxxgQ4WlQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_2.0.13_1673539546134_0.804302357704489","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230113120517":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230113120517","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230113120517","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"5a0d4199bbfc8bc6a7b5f39685b3960397e21a81","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230113120517.tgz","fileCount":10,"integrity":"sha512-WuTOde36uQ+rn3uHfEBccpG+2pAyWjxm64fxiPJeZSt719COjjrIe6I5l9o8sQwvXOoqVVbnE/OXFOU2QCWy+Q==","signatures":[{"sig":"MEUCIEaBZNeAvQaD6H35UiKeUe4m4Zd3VU6A/ngIwUN2cHphAiEAum9sZeVLCGhH6ZdnWjroYHHDxGCr2OMHRF45h+N7deQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwUkfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7DA/7BkFNMiECAF7xFY2YPMoVZz2dzLfY/Q0tORKwF4eCqvcijqGC\r\naufsDtmTUdpfOxfQZbyDrkuS3fG26NtfawFIHvx/Yz15yO4d2AxBisASGCms\r\nADqyQ/KS1gNzGZIDWjMNnJVOxnPY58B+Kqeqn+p0pkH/ZHkdOkAQmrCTexWw\r\ncTayqSpJ/MDw3nn9eeT1BpzJFKZ5xHccmReh8Qr+00w2eedVi4gVs6ACoS+r\r\nBDS3rzfp94P+B7nMt3vLS3++z/Zu05E+02drB+1SgRJNZLB0S3K4AANExl9Q\r\nXgSD38yLdK2mvn/6SgyuvL+j3scSQCa2VWmVBPNv0lpl+kQYRvYkoYbmmEwb\r\nKS+bmXZzSQXiRXl2rxRMOe10gMOSwAd1tSZs8kyU3YHIw6lfl+DBsaYPInoZ\r\n8PVS7sDNH1CjooEYvc9zNf5kL6WSinyGtLp96wr1Xb2/oPBnwm30aUrbNn/Q\r\n2SiGFdd+QGg35YXmL7py3Tv1RUGjM2/JujtrFIA6+lKPcf3t8zr2oi1jml2z\r\npTCbsHd0iERWLhTxpif8U+j48xOcM36frWJcNKYgMQbIftqSXVicVSkOk1ph\r\nszLa+Zw1bSPqHjQ85k4/zzM6PxH5Yg9WL4A61BKTtoNkPK6vMoqas05aC6nk\r\nPAyl+ShTvC5pJOvn1kwA0//QOHPZu67HU3U=\r\n=30j4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230113120517.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/bd546601c2ed12da9107ebfaae067744/chakra-ui-react-env-0.0.0-dev-20230113120517.tgz","_integrity":"sha512-WuTOde36uQ+rn3uHfEBccpG+2pAyWjxm64fxiPJeZSt719COjjrIe6I5l9o8sQwvXOoqVVbnE/OXFOU2QCWy+Q==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"2.0.5"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230113120517_1673611551451_0.16269023479645428","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230116120206":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230116120206","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230116120206","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"a2ced30f3386839118dbcad31a1457e0c018f64c","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230116120206.tgz","fileCount":10,"integrity":"sha512-V6mftkCtcUfaKl+bPoiwuzrzGSpiY4vEnsyRi+dt51zbq625wIiAc7txEHwN+V4bXWIpDT21G5lF+PXRTH3cSA==","signatures":[{"sig":"MEQCIG7cK14BH59q6oUsCyoFGBhlJ5FgZHAzHLei4K3h9dP7AiA26n/xAL7yRpRO+BLs7P9wpqX2W1zEOTiEDB6xDR3CIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxTztACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQaw//at/smuUT/dNKjjEOD/6mlOm1WDL6eBcD5rzDxG1kDGBMJ1JP\r\nQzeUYiUcqDjFLE0Sfh8qj50IvGGiANz3Syd4kaFCBvXrzKJRVrDGqZAiukw/\r\nKYVQCmAP/vE902CaGzfhixy5HdPbRfoNxF0KQhm8W6oLivRfrtpCiyMDKMW1\r\n3+kjMiZOuTTXKHQLzN5wZVPdSigxfrg06KSzr1UtBglmsOMddTWzpJwf4Og0\r\nhVa27/pZe5oh7IF7Bg/EnvXD7EjHxYJ+kWJreGxeTIm4rBzojQpSN3ZMH7YR\r\n7dsLOaB6BGzESGfuT1X2ZDTb84LfTVg7PuNre8/BpZ7+gcNNvlqmkNnByOcK\r\n+GDodhxtX4NvfbGV8p5Goibec0GwXsX8HI7s3/Pu7kW+vxlV2wO89ximnJGj\r\ng8hdncxM/NOsGU89XGQevTw/7OEsT7zRE8mM55CUZ4BbI4DwgxrwzzPLxL3g\r\nLUj7zyuEiaXik2FGfaifci/81H4VIIZRn5Cp5XcERcx5GDuKhGYuj7Wr3snz\r\nQxefUbWX4Dj2yUIu8RvEZvc/GlSeBSCgHscyVfr0aaTMetE/QNGba9sXajEv\r\ng8h/cCoRRQYPuu5/ezy3dV3MqaLbsaGm6SQFywDmaw/ee+QU4siR37lo50yg\r\nmXLqi6DHdegltRX+qxadLQthAYZq6Tv+kO0=\r\n=dj61\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230116120206.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/cf5e36043bec2a401891fad2d33169ab/chakra-ui-react-env-0.0.0-dev-20230116120206.tgz","_integrity":"sha512-V6mftkCtcUfaKl+bPoiwuzrzGSpiY4vEnsyRi+dt51zbq625wIiAc7txEHwN+V4bXWIpDT21G5lF+PXRTH3cSA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"2.0.5"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230116120206_1673870573298_0.38490592474920615","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230116122157":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230116122157","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230116122157","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"7979b90a4fc6e5b4510acfa6e225d5c5d6b20053","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230116122157.tgz","fileCount":10,"integrity":"sha512-yUV1EetvqIBKKWrUTWNrxqN4+NWpLcXt3lqVNbPhHkUKSiejGnth1tJYDFkzu2b5HrGjeMK60elnJJ/P5ZeKGg==","signatures":[{"sig":"MEYCIQDBIEt3zurtc2+3/0TM5LIZ5mvUR2ObZY7Lii7QOvnnmQIhAL36fD9+1waju07yblMdY95ixA8oViom5+N0xrhtheLc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxUGjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVnw/+NZynGNlTV20cL2mxn2RkEO3Hy0ybPTagwLCtbKskwnIwkFgJ\r\nh+nwbosoT8BC+n1C8XplabCYvurI/TpoLzlX8EUJy2zMHPKO8QGwGJWQj4NV\r\n/Jub3/ocz/2Tg5KXv/vFy0iGASd8wPYN+IMVbCjwYEACXHw3FC1Ee4vfJda+\r\nRICeJYdoO8la6iBg4Bbd8lgCInFXB09alu2pI9uEhZTMJbxJfdi/cIGCmVML\r\ncKS4U8R6J5fRK3pnu7J2Pct065LW+xAUzK5M+wtECQcoEiGe+W/fHS/3UXHB\r\nfHWLoKNiwQJQxZ37yirKAJBsdDcUsGqLQx6U1lkJPHBbAAaLMwWgiGpgmWca\r\nQvMx/FjmY4HsqnWn4wv7eY1vDtvTdP98Foz7DKAJUixbVvISGlf6FoZHXwQU\r\nOp43FqxL5NUayLvca4Hl7sWdk68O0pqbfCCOl8KsSnSTv+St9FlNtK2VmDYn\r\n4b7dAT4Nj46KfA8mbq0n6XN+ukvXFNVMk3lAy1SbG4cNh868qh0JMtRzaaog\r\nuxW3NgjpiGdAIPRW9mYN4Bwfg2v++/cMVtkt6M/VkFqJhabPT33UkwGDBl/4\r\nwqHCVZ56i1GzFM5/7KB1l4evY2u8iwy6GatD/96zDZxGJffz8wP4nyw/E0Fy\r\no/UPJgQQGAkskt+Pd/v15f53/HVmw4sMLB0=\r\n=3dGC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230116122157.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/621f4405dca87799d96bc166dc5e6fbb/chakra-ui-react-env-0.0.0-dev-20230116122157.tgz","_integrity":"sha512-yUV1EetvqIBKKWrUTWNrxqN4+NWpLcXt3lqVNbPhHkUKSiejGnth1tJYDFkzu2b5HrGjeMK60elnJJ/P5ZeKGg==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"2.0.5"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230116122157_1673871778972_0.020300295672958768","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230116124502":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230116124502","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230116124502","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"0b3a394472d3411a15a7657013325ecfc183bae9","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230116124502.tgz","fileCount":10,"integrity":"sha512-JsJdpHg3QyIUVcEtbkpxidTvdidyCTT0m1MY2DiR8YoB71YGSQOLCqD0YTHyPmD3arqgvhPgecz6aYJV2DWMoQ==","signatures":[{"sig":"MEYCIQDfuKhVZ3vlyYdRLa8lz2/7q3WRQONcsqTE8mAoNHNOCwIhAM/C0zx0jTixEhVnInkUTwGcm4kbNh4LYHKi//NIkTu9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxUcEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiuQ//S4GLDOBujas/EeYwqY0NXpxXIhuR2LDSH45WhmE0Ktn5Bw0i\r\nw1vQ6v1UMwjJVfFNwT54y7PK7ISbCyjPloSddskdeqcIn7erhxr10YvFNv1G\r\nnQSenxewwGoZvKV8c7D3xmSGq8FyQ9k1Du1yCADG2Ed4/YUvcEi/Pj/gP5LW\r\neRfqj1RtT6LpAZZTYcD7JzA+KZ/PUrumcU4hXrVvVbabDiTuJn7520q4vxVA\r\nCNKMBVbDfqFJzwLnffNLhJt8JpMOM1s00+FTrOtn5hJDe9rwz98V5GBSdhhu\r\nIzMKNF2FwemhnDA/EbQGVQvJHHQkbtNTH/DvFMjRYW1oWXwVNn8EfN9uB+4Q\r\nZmQILAtOcfiLgsCC6n4Qmqyt/8tShGCK/9MiDUvloYwn8rfe40+kNagfFhoz\r\nwOSsSpKOYL2JKgq/g1VS4mZONxDK8tPTG/hlFeiy2ycpTsaIK4zpfMkL1TsJ\r\nrTWHJBb6Ik0I7xGm09I4GrM/AZHD8mO+A781WPMDb/B1ZBnHf1s7/bSI9ff9\r\nmrj+VyCzK/tC+DEHXonCMOYYh3DQZW4N1PPcrgdqv/FQgth4KlF5m07qtbZl\r\no/VnkwvJZoZ/aZJcJc/0ws28fnwdZgVlE6pia3hciHzerwGIhwxuSAP+QEuh\r\nxzsZAP/f0QD0TM+fhLdGUwYEd0gaMg1oZac=\r\n=Y0ap\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-0.0.0-dev-20230116124502.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/5221a4a3cf7bf556761318c4d0746223/chakra-ui-react-env-0.0.0-dev-20230116124502.tgz","_integrity":"sha512-JsJdpHg3QyIUVcEtbkpxidTvdidyCTT0m1MY2DiR8YoB71YGSQOLCqD0YTHyPmD3arqgvhPgecz6aYJV2DWMoQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"2.0.5"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230116124502_1673873155928_0.3699030108190724","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@chakra-ui/react-env","version":"3.0.0","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@3.0.0","maintainers":[{"name":"timkolberger","email":"tim@kolberger.eu"},{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"jbakebwa@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"2c3c9dc0e529b9b474a386a2b24988317b2a0811","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-3.0.0.tgz","fileCount":10,"integrity":"sha512-tfMRO2v508HQWAqSADFrwZgR9oU10qC97oV6zGbjHh9ALP0/IcFR+Bi71KRTveDTm85fMeAzZYGj57P3Dsipkw==","signatures":[{"sig":"MEUCIQDY3dZba67+yd1+JknTmKXrZwvn/9L8Q57mHvdVworYDgIgPDhn6/4iOxS34y9W6SXBXJjRCCc+8r5qL0QMJN0nfMU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxWgUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbZxAAia59X4N/1foPfOqbKPO3gJAL577n8MBu9/aMLyLUH/r7cOOS\r\n38Ks5pSlBjiteDR0wrqpYxgEPPC3XQAVTioMA/QXWW/6nDjvhyW7c2lsYcPO\r\n+QRO7tD3NC4oagxyiQVeuvesHqcqfYvgaPpOBvGVIX742DKFiO9GPcvcf3SM\r\nclnTG88chN5SyvUME23xPdjp7juRGCWLKkSJJKQns98lly0GRpzhhBXgDxMp\r\nOSH8T4xGFkn4foHJoBd1befmTSg0Vh6njJ0dFSMODL/HOAgyb0cZDY9EFWBJ\r\nfKM0kAlIFo+/H/gMnbPY4VuRpH/6WCgnpkJKKNrfKKdTFA1yHJJeiubNmJTS\r\nj5t3B2jykjqj/8AZXgmrMwSCuZqe8Yd9z6MUvClYYXBypZ5IDR3sguhWJid9\r\nMpNzj+4UKiauG+gvRRJNL82D2REGI9fZNB/Pb3Zye2nuSAQrHXMeWpjfWSyT\r\nHzMBLnuxBPyMsDPqd8tyJoUy9KEjcBFlcciSbAwPaOaJCaJIIheGgHqXNksN\r\nhDIfpvhjakSXct5U1vPRtOwpO6Msxp8CXCCGHn0eiqtU3lnhtXpHpKaBD1UQ\r\nzFprMjFd9CIKCkn6Ek6KoOoeMKDfcPRTPgigANzz0AboIJQJ4/rQUeHtFpFr\r\naGpiAjguVn8w09vF73QlksI1ayQ41y2JzYM=\r\n=xdao\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","tsup":{"clean":true,"format":["cjs","esm"],"target":"es2019"},"_from":"file:chakra-ui-react-env-3.0.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/37ee7480b21d6075e95977b53dba97f7/chakra-ui-react-env-3.0.0.tgz","_integrity":"sha512-tfMRO2v508HQWAqSADFrwZgR9oU10qC97oV6zGbjHh9ALP0/IcFR+Bi71KRTveDTm85fMeAzZYGj57P3Dsipkw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"8.19.3","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"2.0.5"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","clean-package":"2.1.1","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_3.0.0_1673881620567_0.5965795375797684","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230718122336":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230718122336","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230718122336","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"codebender828@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"c56465aa980977c24849e93df29f7a346df65444","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230718122336.tgz","fileCount":15,"integrity":"sha512-ukgAJ7RPFLRVdDDdsXFXKWe+3bnxNtIyK3cjmE9kKEquCW3oG69QH6t4CkH+Dr7wrr7FUHKHnkaPBJEqp6BFEA==","signatures":[{"sig":"MEQCIC73TAZ8SXIjNKeGj8jmJxlkadfdj3HvkwABy8k/Qo4bAiAZWx+fSGxUlHM8Vt896SjS1CqKTFB8bnC0zLKnG57irA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20823},"main":"dist/index.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20230718122336.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/3afaa9ebb8a6932b357aa8e7315a264b/chakra-ui-react-env-0.0.0-dev-20230718122336.tgz","_integrity":"sha512-ukgAJ7RPFLRVdDDdsXFXKWe+3bnxNtIyK3cjmE9kKEquCW3oG69QH6t4CkH+Dr7wrr7FUHKHnkaPBJEqp6BFEA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"9.5.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"0.0.0-dev-20230718122336"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.2.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230718122336_1689683102826_0.9900805276562197","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230718124717":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230718124717","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230718124717","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"codebender828@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"efd411548ebef51ccd56c93e657a131ea3d15499","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230718124717.tgz","fileCount":15,"integrity":"sha512-aQ/CbYdMG/dWEcC7+dBTkR6F9Rm29lP63u9ZPJpYyVV3jTx0tw6csHWW0jExCH8WYfUIz+PTEXZIDaevFUzCjA==","signatures":[{"sig":"MEQCIHWGublO3QsOT0buSeoVBdiHRn6SrclT8sD1CFoSkzYVAiBPG5Ymc1ZiCo7Uet4wukFw/+W889cCubdYjyvFbU57LA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20823},"main":"dist/index.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20230718124717.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/61a5b417af02668a46be16093dd073b9/chakra-ui-react-env-0.0.0-dev-20230718124717.tgz","_integrity":"sha512-aQ/CbYdMG/dWEcC7+dBTkR6F9Rm29lP63u9ZPJpYyVV3jTx0tw6csHWW0jExCH8WYfUIz+PTEXZIDaevFUzCjA==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"9.5.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"0.0.0-dev-20230718124717"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.2.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230718124717_1689684523416_0.8233988302422028","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230718130742":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230718130742","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230718130742","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"codebender828@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"c1321f7ee74a982af1263b60a0ecac3768b61fea","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230718130742.tgz","fileCount":15,"integrity":"sha512-I9GE4CFt08HQMeJhj3YrO/m4kSHiAA1NlKV4bULZkFidqqwr033ryQs0ylzbtuKEB/HumBTrp2U5X3O4Ca5ltQ==","signatures":[{"sig":"MEYCIQCMN2axFKk4QlQow/UvcNQRXLVTarfjAuA8gS7JMQW4sQIhAIJhf2R8OBVVCZNaCe4Ynud385Y6qIJOx9tFLphtCiOF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20823},"main":"dist/index.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20230718130742.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/fd6ee1dd0d82dd89b5b0541c53591f11/chakra-ui-react-env-0.0.0-dev-20230718130742.tgz","_integrity":"sha512-I9GE4CFt08HQMeJhj3YrO/m4kSHiAA1NlKV4bULZkFidqqwr033ryQs0ylzbtuKEB/HumBTrp2U5X3O4Ca5ltQ==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"9.5.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"0.0.0-dev-20230718130742"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.2.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230718130742_1689685731787_0.19697028783273773","host":"s3://npm-registry-packages"}},"0.0.0-dev-20230718132637":{"name":"@chakra-ui/react-env","version":"0.0.0-dev-20230718132637","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@0.0.0-dev-20230718132637","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"codebender828@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"6d151d44b986079955bcc5ddd1e1c25c9fcc7fbb","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-0.0.0-dev-20230718132637.tgz","fileCount":15,"integrity":"sha512-uyNwbGCkqZguUY4npqoYScqpA3RW35UTCv40Kq9XDa6rN1Ek/zdXrO0LYzzgepfH8f963Bl8kevevE/SQ5olMw==","signatures":[{"sig":"MEUCIQDGFZGI/JGb73CNkNVWURDyO5BxPjwduaE7TCL97/6TqgIgWzpG74U+qkBcz9VBRhA6IdT4Wk/9o8c0TPuajdxeZVU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20823},"main":"dist/index.js","_from":"file:chakra-ui-react-env-0.0.0-dev-20230718132637.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/6c5da1f76287cb40b0749a2b0b6acdaf/chakra-ui-react-env-0.0.0-dev-20230718132637.tgz","_integrity":"sha512-uyNwbGCkqZguUY4npqoYScqpA3RW35UTCv40Kq9XDa6rN1Ek/zdXrO0LYzzgepfH8f963Bl8kevevE/SQ5olMw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"9.5.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"0.0.0-dev-20230718132637"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.0.0","clean-package":"2.2.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_0.0.0-dev-20230718132637_1689686874743_0.629984129543564","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@chakra-ui/react-env","version":"3.1.0","keywords":["dom","environment context","ssr","iframe","window","document"],"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","_id":"@chakra-ui/react-env@3.1.0","maintainers":[{"name":"segunadebayo","email":"joseshegs@gmail.com"},{"name":"_codebender828","email":"codebender828@gmail.com"}],"homepage":"https://github.com/chakra-ui/chakra-ui#readme","bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"dist":{"shasum":"7d3c1c05a501bb369524d9f3d38c9325eb16ab50","tarball":"https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-3.1.0.tgz","fileCount":15,"integrity":"sha512-Vr96GV2LNBth3+IKzr/rq1IcnkXv+MLmwjQH6C8BRtn3sNskgDFD5vLkVXcEhagzZMCh8FR3V/bzZPojBOyNhw==","signatures":[{"sig":"MEYCIQDQKLJQMqBo2hyK7iWxX/oroNYmjHqDUefSDL0AhAbtIAIhALqQHpiXy4hqXx6i4mHfO4ju/C/+XojDNzM55PhvsgaZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20785},"main":"dist/index.js","_from":"file:chakra-ui-react-env-3.1.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pnpm build:fast -- --watch","build":"tsup src --dts","clean":"rimraf dist .turbo","typedocs":"tsx ../../../scripts/generate-type-docs.ts","typecheck":"tsc --noEmit","build:fast":"tsup src"},"_npmUser":{"name":"segunadebayo","email":"joseshegs@gmail.com"},"_resolved":"/tmp/2eb5512c6c50f423fbf8ecf8cbd1cb89/chakra-ui-react-env-3.1.0.tgz","_integrity":"sha512-Vr96GV2LNBth3+IKzr/rq1IcnkXv+MLmwjQH6C8BRtn3sNskgDFD5vLkVXcEhagzZMCh8FR3V/bzZPojBOyNhw==","repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"_npmVersion":"9.5.1","description":"Component and hook for handling window and document object in iframe or ssr environment","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","dependencies":{"@chakra-ui/react-use-safe-layout-effect":"2.1.0"},"clean-package":"../../../clean-package.config.json","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.0.0","clean-package":"2.2.0","react-frame-component":"^5.2.3","@types/react-frame-component":"^4.1.1"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-env_3.1.0_1689721244445_0.9219952085586693","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-03-31T14:08:13.323Z","modified":"2025-08-25T12:25:07.246Z","1.0.0":"2021-03-31T14:08:13.737Z","1.0.1":"2021-04-13T22:12:01.029Z","1.0.2":"2021-04-19T18:37:25.148Z","1.0.3":"2021-04-23T18:03:39.801Z","1.0.4":"2021-05-05T11:12:40.777Z","1.0.5":"2021-07-08T15:05:26.940Z","1.0.6-next.0":"2021-08-05T21:11:19.163Z","1.0.6":"2021-08-09T10:27:13.742Z","1.0.7":"2021-10-14T23:33:39.014Z","1.0.8":"2021-11-03T20:32:57.263Z","1.1.0":"2021-11-11T16:56:42.909Z","1.1.1":"2021-11-12T19:51:29.144Z","0.0.0-pr-202203225541":"2022-01-03T22:56:16.964Z","0.0.0-pr-202203231241":"2022-01-03T23:13:13.826Z","0.0.0-pr-20220483049":"2022-01-04T08:31:24.778Z","0.0.0-pr-202204173424":"2022-01-04T17:34:53.501Z","0.0.0-pr-202204174042":"2022-01-04T17:41:11.824Z","0.0.0-pr-202204174930":"2022-01-04T17:50:05.546Z","0.0.0-pr-20220421928":"2022-01-04T21:09:58.262Z","0.0.0-pr-202206192031":"2022-01-06T19:21:05.118Z","0.0.0-pr-20220620149":"2022-01-06T20:02:19.324Z","0.0.0-pr-202208163634":"2022-01-08T16:37:07.019Z","0.0.0-pr-20220816386":"2022-01-08T16:38:38.387Z","0.0.0-pr-202208164521":"2022-01-08T16:45:52.039Z","0.0.0-pr-2022013192043":"2022-01-13T19:21:19.104Z","0.0.0-pr-202201418280":"2022-01-14T18:28:34.878Z","0.0.0-pr-2022014183133":"2022-01-14T18:32:12.111Z","0.0.0-dev-20220209527":"2022-01-20T09:05:57.982Z","0.0.0-pr-2022020961":"2022-01-20T09:06:42.708Z","0.0.0-pr-20220209192":"2022-01-20T09:19:38.367Z","0.0.0-pr-202202092345":"2022-01-20T09:24:17.961Z","0.0.0-pr-202202495259":"2022-01-24T09:53:37.080Z","0.0.0-pr-202202495536":"2022-01-24T09:56:13.428Z","0.0.0-pr-202202495553":"2022-01-24T09:56:22.480Z","0.0.0-dev-202202495727":"2022-01-24T09:58:03.558Z","0.0.0-dev-202202410017":"2022-01-24T10:00:48.600Z","0.0.0-pr-202202410034":"2022-01-24T10:01:10.494Z","0.0.0-pr-2022024212254":"2022-01-24T21:23:28.681Z","0.0.0-pr-202202423375":"2022-01-24T23:37:37.127Z","0.0.0-pr-2022024234531":"2022-01-24T23:46:06.917Z","0.0.0-dev-20220258423":"2022-01-25T08:42:39.008Z","0.0.0-pr-202202584437":"2022-01-25T08:45:11.940Z","0.0.0-pr-20220258462":"2022-01-25T08:46:32.879Z","0.0.0-dev-20220258486":"2022-01-25T08:48:43.540Z","0.0.0-dev-202202585455":"2022-01-25T08:55:26.017Z","0.0.0-pr-20220259146":"2022-01-25T09:14:37.834Z","0.0.0-dev-202202591453":"2022-01-25T09:15:26.830Z","0.0.0-dev-202202591937":"2022-01-25T09:20:10.400Z","0.0.0-dev-202202592640":"2022-01-25T09:27:22.758Z","0.0.0-pr-20220251866":"2022-01-25T18:06:38.015Z","1.1.2":"2022-01-25T18:07:18.406Z","0.0.0-pr-20221173648":"2022-02-01T07:37:19.226Z","0.0.0-pr-20221263638":"2022-02-02T06:37:13.785Z","0.0.0-pr-20221263715":"2022-02-02T06:37:44.897Z","0.0.0-pr-20221272130":"2022-02-02T07:22:02.058Z","0.0.0-pr-20221272450":"2022-02-02T07:25:23.647Z","0.0.0-pr-20221462931":"2022-02-04T06:30:12.708Z","0.0.0-dev-20221463045":"2022-02-04T06:31:25.494Z","1.1.3":"2022-02-04T06:35:47.838Z","0.0.0-pr-202214171317":"2022-02-04T17:13:56.043Z","0.0.0-pr-202214173019":"2022-02-04T17:30:51.152Z","0.0.0-pr-20221417318":"2022-02-04T17:31:44.610Z","0.0.0-pr-202214173148":"2022-02-04T17:32:25.381Z","0.0.0-pr-202215111823":"2022-02-05T11:18:56.749Z","0.0.0-dev-202215111945":"2022-02-05T11:20:25.217Z","0.0.0-dev-202215112739":"2022-02-05T11:28:11.615Z","0.0.0-pr-202215113521":"2022-02-05T11:35:52.807Z","0.0.0-pr-202215113950":"2022-02-05T11:40:28.601Z","0.0.0-dev-202215114149":"2022-02-05T11:42:28.547Z","0.0.0-pr-202215114422":"2022-02-05T11:44:55.876Z","0.0.0-dev-202215114442":"2022-02-05T11:45:19.873Z","0.0.0-pr-202215114917":"2022-02-05T11:49:57.816Z","0.0.0-pr-20221512346":"2022-02-05T12:04:21.343Z","0.0.0-pr-20221512130":"2022-02-05T12:13:33.572Z","0.0.0-pr-202215121320":"2022-02-05T12:13:51.614Z","0.0.0-dev-202215121353":"2022-02-05T12:14:23.563Z","0.0.0-dev-202215121428":"2022-02-05T12:14:56.348Z","0.0.0-dev-20221512173":"2022-02-05T12:17:34.275Z","0.0.0-dev-202215122415":"2022-02-05T12:24:52.711Z","0.0.0-pr-20221512359":"2022-02-05T12:35:42.800Z","0.0.0-pr-202215125733":"2022-02-05T12:58:07.205Z","0.0.0-pr-202215132532":"2022-02-05T13:26:04.760Z","0.0.0-dev-20221513279":"2022-02-05T13:27:49.064Z","1.1.4":"2022-02-05T13:36:21.220Z","0.0.0-pr-2022114224724":"2022-02-14T22:48:06.892Z","0.0.0-pr-202211594731":"2022-02-15T09:48:01.647Z","0.0.0-dev-2022117131714":"2022-02-17T13:17:43.201Z","0.0.0-pr-202211713187":"2022-02-17T13:18:42.726Z","1.1.5":"2022-02-17T13:22:05.948Z","0.0.0-dev-202211720414":"2022-02-17T20:04:44.952Z","0.0.0-dev-2022117201925":"2022-02-17T20:19:58.675Z","0.0.0-dev-2022117203714":"2022-02-17T20:37:51.102Z","0.0.0-dev-202212083710":"2022-02-20T08:37:48.162Z","0.0.0-pr-202212011232":"2022-02-20T11:03:11.510Z","0.0.0-dev-2022120113958":"2022-02-20T11:40:32.489Z","0.0.0-dev-2022120114012":"2022-02-20T11:40:42.001Z","0.0.0-dev-2022120114225":"2022-02-20T11:43:02.701Z","0.0.0-dev-202212012129":"2022-02-20T12:12:43.289Z","0.0.0-dev-2022120123118":"2022-02-20T12:31:53.843Z","1.1.6":"2022-02-20T12:41:00.507Z","2.0.0-next.0":"2022-04-15T15:22:14.304Z","2.0.0-next.1":"2022-04-22T06:05:25.481Z","2.0.0-next.2":"2022-05-09T08:41:04.409Z","2.0.0":"2022-05-12T17:52:12.995Z","0.0.0-dev-2022423121532":"2022-05-23T12:16:06.018Z","0.0.0-dev-2022423121615":"2022-05-23T12:16:48.574Z","0.0.0-dev-20224248246":"2022-05-24T08:03:19.044Z","0.0.0-dev-20224248516":"2022-05-24T08:05:46.596Z","0.0.0-dev-202242481651":"2022-05-24T08:17:23.045Z","2.0.1":"2022-05-24T12:28:13.705Z","0.0.0-dev-202256192154":"2022-06-06T19:22:30.143Z","2.0.2":"2022-06-06T20:41:31.479Z","0.0.0-dev-2022524225023":"2022-06-24T22:50:54.725Z","0.0.0-dev-2022528143233":"2022-06-28T14:32:58.310Z","0.0.0-dev-20226414445":"2022-07-04T14:44:28.979Z","0.0.0-dev-202264144818":"2022-07-04T14:49:04.511Z","0.0.0-dev-2022659325":"2022-07-05T09:03:56.147Z","0.0.0-dev-2022659431":"2022-07-05T09:05:02.301Z","0.0.0-dev-2022669710":"2022-07-06T09:07:46.010Z","0.0.0-dev-202268163535":"2022-07-08T16:36:16.949Z","0.0.0-dev-202268165050":"2022-07-08T16:51:20.993Z","0.0.0-dev-2022610103716":"2022-07-10T10:37:49.829Z","0.0.0-dev-2022610103924":"2022-07-10T10:39:59.212Z","2.0.3":"2022-07-10T10:57:12.400Z","0.0.0-dev-2022612222012":"2022-07-12T22:20:49.589Z","0.0.0-dev-202261316456":"2022-07-13T16:45:38.330Z","0.0.0-dev-202261317818":"2022-07-13T17:08:51.934Z","2.0.4":"2022-07-13T18:44:06.350Z","2.0.5":"2022-07-25T05:10:33.237Z","0.0.0-dev-20220804193103":"2022-08-04T19:32:51.532Z","0.0.0-dev-20220804193815":"2022-08-04T19:38:53.739Z","0.0.0-dev-20220804194739":"2022-08-04T19:48:39.054Z","0.0.0-dev-20220804200605":"2022-08-04T20:07:03.492Z","0.0.0-dev-20220805062318":"2022-08-05T06:24:15.097Z","2.0.6":"2022-08-05T10:13:01.629Z","0.0.0-dev-20220811084042":"2022-08-11T08:41:32.543Z","0.0.0-dev-20220811093515":"2022-08-11T09:36:06.584Z","0.0.0-dev-20220811160709":"2022-08-11T16:08:10.798Z","0.0.0-dev-20220812060931":"2022-08-12T06:10:27.580Z","0.0.0-dev-20220813051625":"2022-08-13T05:17:20.433Z","0.0.0-dev-20220813052715":"2022-08-13T05:28:12.641Z","0.0.0-dev-20220813053727":"2022-08-13T05:38:33.953Z","0.0.0-dev-20220813055957":"2022-08-13T06:00:56.061Z","0.0.0-dev-20220813063717":"2022-08-13T06:38:10.542Z","0.0.0-dev-20220813070741":"2022-08-13T07:08:36.245Z","0.0.0-dev-20220813083358":"2022-08-13T08:34:53.736Z","2.0.7":"2022-08-13T10:50:01.359Z","2.0.8":"2022-08-14T07:10:57.755Z","0.0.0-dev-20220820124231":"2022-08-20T12:43:41.305Z","0.0.0-dev-20220820152257":"2022-08-20T15:23:58.168Z","0.0.0-dev-20220820165925":"2022-08-20T17:00:23.902Z","0.0.0-dev-20220820172220":"2022-08-20T17:23:22.212Z","0.0.0-dev-20220820173639":"2022-08-20T17:37:36.651Z","0.0.0-dev-20220820185458":"2022-08-20T18:55:57.387Z","0.0.0-dev-20220820193723":"2022-08-20T19:38:23.039Z","0.0.0-dev-20220820195548":"2022-08-20T19:56:47.247Z","0.0.0-dev-20220822051456":"2022-08-22T05:15:57.309Z","0.0.0-dev-20220822054045":"2022-08-22T05:41:46.308Z","0.0.0-dev-20220822055339":"2022-08-22T05:54:55.755Z","0.0.0-dev-20220822103611":"2022-08-22T10:37:18.835Z","0.0.0-dev-20220822184448":"2022-08-22T18:46:04.191Z","0.0.0-dev-20220823150801":"2022-08-23T15:09:08.082Z","0.0.0-dev-20220823165602":"2022-08-23T16:57:07.291Z","0.0.0-dev-20220823192757":"2022-08-23T19:29:19.064Z","0.0.0-dev-20220823195046":"2022-08-23T19:52:21.332Z","0.0.0-dev-20220824074122":"2022-08-24T07:42:27.960Z","0.0.0-dev-20220824080240":"2022-08-24T08:03:45.502Z","0.0.0-dev-20220824082222":"2022-08-24T08:23:48.791Z","2.0.9":"2022-08-24T08:46:54.579Z","0.0.0-dev-20220920121057":"2022-09-20T12:11:49.178Z","0.0.0-dev-20220921093814":"2022-09-21T09:39:30.533Z","0.0.0-dev-20220922114557":"2022-09-22T11:46:51.706Z","0.0.0-dev-20220922115811":"2022-09-22T11:59:05.671Z","0.0.0-dev-20220926164115":"2022-09-26T16:42:27.530Z","0.0.0-dev-20220926165450":"2022-09-26T16:55:43.282Z","0.0.0-dev-20220929105632":"2022-09-29T10:57:26.395Z","0.0.0-dev-20220929132459":"2022-09-29T13:26:08.067Z","2.0.10":"2022-10-03T09:12:27.142Z","0.0.0-dev-20221107161407":"2022-11-07T16:15:11.734Z","0.0.0-dev-20221107181117":"2022-11-07T18:12:10.904Z","0.0.0-dev-20221107182607":"2022-11-07T18:27:01.448Z","0.0.0-dev-20221108071844":"2022-11-08T07:19:41.408Z","0.0.0-dev-20221108073543":"2022-11-08T07:36:47.446Z","0.0.0-dev-20221108075029":"2022-11-08T07:51:28.657Z","0.0.0-dev-20221108083411":"2022-11-08T08:34:58.606Z","0.0.0-dev-20221108090938":"2022-11-08T09:10:37.164Z","0.0.0-dev-20221108093520":"2022-11-08T09:36:29.329Z","0.0.0-dev-20221108100218":"2022-11-08T10:03:31.371Z","0.0.0-dev-20221108124603":"2022-11-08T12:46:56.719Z","2.0.11":"2022-11-14T11:53:01.912Z","0.0.0-dev-20221223180742":"2022-12-23T18:08:39.117Z","2.0.12":"2022-12-26T13:13:53.144Z","0.0.0-dev-20230111211417":"2023-01-11T21:15:16.625Z","0.0.0-dev-20230112113621":"2023-01-12T11:37:22.033Z","0.0.0-dev-20230112141201":"2023-01-12T14:13:20.893Z","0.0.0-dev-20230112143332":"2023-01-12T14:34:42.662Z","0.0.0-dev-20230112145104":"2023-01-12T14:52:00.402Z","0.0.0-dev-20230112152756":"2023-01-12T15:29:00.169Z","0.0.0-dev-20230112154520":"2023-01-12T15:46:17.723Z","2.0.13":"2023-01-12T16:05:46.280Z","0.0.0-dev-20230113120517":"2023-01-13T12:05:51.673Z","0.0.0-dev-20230116120206":"2023-01-16T12:02:53.474Z","0.0.0-dev-20230116122157":"2023-01-16T12:22:59.124Z","0.0.0-dev-20230116124502":"2023-01-16T12:45:56.072Z","3.0.0":"2023-01-16T15:07:00.713Z","0.0.0-dev-20230718122336":"2023-07-18T12:25:03.071Z","0.0.0-dev-20230718124717":"2023-07-18T12:48:43.583Z","0.0.0-dev-20230718130742":"2023-07-18T13:08:51.946Z","0.0.0-dev-20230718132637":"2023-07-18T13:27:54.880Z","3.1.0":"2023-07-18T23:00:44.590Z"},"bugs":{"url":"https://github.com/chakra-ui/chakra-ui/issues"},"author":{"name":"Segun Adebayo","email":"sage@adebayosegun.com"},"license":"MIT","homepage":"https://github.com/chakra-ui/chakra-ui#readme","keywords":["dom","environment context","ssr","iframe","window","document"],"repository":{"url":"git+https://github.com/chakra-ui/chakra-ui.git","type":"git","directory":"packages/components/env"},"description":"Component and hook for handling window and document object in iframe or ssr environment","maintainers":[{"email":"joseshegs@gmail.com","name":"segunadebayo"},{"email":"npm@grizzly.codes","name":"schroetier"}],"readme":"# @chakra-ui/react-env\n\nReact component and hook for handling window and document object in iframe or\nssr environment\n\n> This is an internal utility, not intended for public usage.\n\n## Installation\n\n```sh\nyarn add @chakra-ui/react-env\n# or\nnpm i @chakra-ui/react-env\n```\n\n## Usage\n\nTo get it working, you need to wrap your app in `EnvironmentProvider` and call\nthe `useEnvironment` hook anywhere in your app to get access to the correct\n`window` and `document`.\n\n```jsx\nimport { EnvironmentProvider } from \"@chakra-ui/react-env\"\n\n// in your App\nconst App = ({ children }) => {\n  return <EnvironmentProvider>{children}</EnvironmentProvider>\n}\n\n// read the environment\nconst WindowSize = () => {\n  const { window } = useEnvironment()\n  return (\n    <pre>\n      {JSON.stringify({\n        w: window.innerWidth,\n        h: window.innerHeight,\n      })}\n    </pre>\n  )\n}\n```\n\nIf you wrap specific aspects of your app within an `iframe`, you'll need to wrap\nthe content in the iframe in `EnvironmentProvider` to provide the correct\n`window` and `document` to its content.\n\n```jsx\n// in your app\nconst EmbeddedIFrame = () => {\n  return (\n    <Frame>\n      <EnvironmentProvider>\n        <WindowSize />\n      </EnvironmentProvider>\n    </Frame>\n  )\n}\n```\n\n## Contribution\n\nYes please! See the\n[contributing guidelines](https://github.com/chakra-ui/chakra-ui/blob/master/CONTRIBUTING.md)\nfor details.\n\n## Licence\n\nThis project is licensed under the terms of the\n[MIT license](https://github.com/chakra-ui/chakra-ui/blob/master/LICENSE).\n","readmeFilename":"README.md"}