{"dist":{"shasum":"07519029066da2b9bb137d842f8757a064613573","tarball":"https://registry.npmjs.org/@govuk-react/layout/-/layout-0.6.0-rc.1.tgz","fileCount":13,"integrity":"sha512-KmHAxLqXw7HzuTouTNvjcbjzyhyoLDV9CMeTl2FjmzxpQ8NkMACX3nl1v9yEh41ujK3DF8vPvPSIIMc+Kaax6w==","signatures":[{"sig":"MEQCICy8W6KvwANni5mM5+HXPB5QjWPjP47r/dBFlAu3962UAiBGDNHRiWeUdwV9nkkRt/RVMOReV+qkev4ch/knW7AwTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcd6nhCRA9TVsSAnZWagAAsVsP/RfDXV+FGjX0bEzIz0Vv\nVBFl92vDum1qS0GaHQjWKaE9VYXWzWEHqU+668AtT0YfejSgtbKlrCJfETTK\nVHRd2num5/Bm4IJPGl37bSoD3ZSbOcG0VXoQdY9NeWdDl1vjUPVVOKThpUUg\nNlLybHhjGzeWFLxrr0H2AnpTfm4mjSEyOoW367oVJbVFZ20M7dJYF40uKeaR\nSPeg7vXTeoHiHxLw6sBoaFWeJhSUH1iF6d60b3t9kLBeVwM/+QoguX9KhAbY\nKQkQ4C5NWcOwOQLSV8GBmebFuuVFHECuZqOU1fCeaMOiUOeawJqi5rcAqwxF\nfpbbLRgKmSXFBycZRt0DqUoukMYTN1KrZx4ENSJkYiGP2+EKLjt5D+WQuBK5\nCSwvB0tnun+O3q3r7tmtZTd/pepfW6rbTwroLDhzGJQLqz0xU4819nhAwD+w\nGtOxMC06bm6sftU8Tct4tw/QpZ2ba0iXe+5J/jh3iCTYXjyRhvitW9ahC6Wz\nCzkvGXE2sHGhQl9q5lJIcvB3mCvPZfIkXLBSaPlTMCnvAHkM34GWDx2cfhhM\njmFOlHEb/NsFGmT+EiIZwRfOKcy3qclDrI38YQGS7IURbyU9GKLhY2GMsiJ7\nhYDbDrAdAHHgKHqj6+VviTbcJF03T1zRgF3i1GSs6zTDR/RdsSzuZnLcO8XQ\nipv/\r\n=p33X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"@govuk-react/layout","author":{"name":"Alasdair McLeay"},"module":"es/index.js","readme":"Layout\n======\n\n### Import\n```js\n  import Layout from '@govuk-react/layout';\n```\n<!-- STORY -->\n\nTHIS COMPONENT IS NO LONGER REQUIRED TO ACHIEVE LAYOUT;\n1. `GridCol` contains the required gutters, we do not need to provide additional gutter\nto build an accurate grid layout.\n\n2. `GridRow` contains the required `display: flex;` and associated properties for `GridCol`.\n\n3. `Main` contains the required properties to center a container that matches up with `TopNav`\nand house the remaining body of content for the page.\n\nIf you feel you may still need a `Layout` component, please do raise a ticket on [Github](https://github.com/govuk-react/govuk-react/issues/177)\n\n### Usage\n\nThis component provides default padding.\nYou can use this component to wrap Grid components however it is not required.\n\nSimple usage\n```jsx\nimport GridRow from '@govuk-react/grid-row';\nimport GridCol from '@govuk-react/grid-col';\n\n<Layout>\n  <GridRow>\n    <GridCol>\n      ...\n    </GridCol>\n  </GridRow>\n</Layout>\n```\n\n### References:\n- https://github.com/alphagov/govuk_frontend_toolkit/blob/master/stylesheets/_grid_layout.scss\n- https://github.com/alphagov/govuk_elements/blob/master/assets/sass/elements/_layout.scss\n\n### Properties\nProp | Required | Default | Type | Description\n:--- | :------- | :------ | :--- | :----------\n `children` | true | `````` | node | GridRow and GridCol children nodes\n\n\n","license":"MIT","private":false,"scripts":{"docs":"doc-component ./lib/index.js ./README.md","build":"yarn build:lib && yarn build:es","build:es":"rimraf es && cross-env BABEL_ENV=es babel src -d es --source-maps --config-file ../../babel.config.js","build:lib":"rimraf lib && babel src -d lib --source-maps --config-file ../../babel.config.js"},"_npmUser":{"name":"penx","email":"alasdair.mcleay@me.com"},"homepage":"https://github.com/govuk-react/govuk-react/tree/master/components/layout","_npmVersion":"5.6.0","description":"Component intended to surround grid layouts but now no longer used/required.","directories":{},"maintainers":[{"name":"loque-","email":"email@tobybrancher.net"},{"name":"marksy","email":"me@marksy.com"},{"name":"penx","email":"alasdair.mcleay@me.com"},{"name":"petelockey","email":"lockeyp@uk.ibm.com"},{"name":"steve_sims","email":"steve_sims7@yahoo.co.uk"}],"_nodeVersion":"8.9.4","dependencies":{"@govuk-react/constants":"^0.6.0-rc.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":">=16.2.0","styled-components":">=4"},"_npmOperationalInternal":{"tmp":"tmp/layout_0.6.0-rc.1_1551346144569_0.6622625918533984","host":"s3://npm-registry-packages"},"_id":"@govuk-react/layout@0.6.0-rc.1","version":"0.6.0-rc.1"}