{"name":"styled-components","version":"5.0.0-beta.8-groupsizefix","description":"Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress","main":"dist/styled-components.cjs.js","jsnext:main":"dist/styled-components.esm.js","module":"dist/styled-components.esm.js","react-native":"native/dist/styled-components.native.cjs.js","browser":{"./dist/styled-components.esm.js":"./dist/styled-components.browser.esm.js","./dist/styled-components.cjs.js":"./dist/styled-components.browser.cjs.js"},"sideEffects":false,"scripts":{"generateErrors":"node scripts/generateErrorMap.js","prebuild":"rimraf dist && npm run generateErrors","build":"rollup -c","postbuild":"npm run lint:size","flow":"flow check","flow:watch":"flow-watch","pretest":"npm run generateErrors","test":"npm run test:web && npm run test:native && npm run test:primitives","test:web":"jest -c ../../scripts/jest/config.main.js","test:native":"jest -c ../../scripts/jest/config.native.js","test:primitives":"jest -c ../../scripts/jest/config.primitives.js","test:integration":"jest -c ../../scripts/jest/config.integration.js --runInBand --forceExit","format":"eslint ./**/*.js --fix","lint":"eslint src","lint:size":"bundlesize","prettier":"prettier */**/*.js --write","prepublishOnly":"npm run build","dev":"cross-env BABEL_ENV=cjs babel-node example/startServer.js","postinstall":"node ./scripts/postinstall.js || exit 0"},"repository":{"type":"git","url":"git+https://github.com/styled-components/styled-components.git"},"keywords":["react","css","css-in-js","styled-components","babel-macro","babel-macros","styling"],"author":{"name":"Glen Maddern"},"license":"MIT","bugs":{"url":"https://github.com/styled-components/styled-components/issues"},"homepage":"https://styled-components.com/","dependencies":{"@babel/helper-module-imports":"^7.0.0","@babel/traverse":"^7.4.5","@emotion/is-prop-valid":"^0.8.1","@emotion/stylis":"^0.8.3","@emotion/unitless":"^0.7.0","babel-plugin-styled-components":">= 1","css-to-react-native":"^2.2.2","merge-anything":"^2.2.5","shallowequal":"^1.1.0","stylis-rule-sheet":"^0.0.10","supports-color":"^5.5.0"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0","react-is":">= 16.8.0"},"devDependencies":{"flow-bin":"^0.100.0","prop-types":"^15.7.2","react":"^16.8.6","react-dom":"^16.8.6","react-frame-component":"^4.0.2","react-is":"^16.8.6","react-native":"^0.59.8","react-primitives":"^0.8.0","react-test-renderer":"^16.8.6","stylis-rtl":"^1.0.1"},"bundlesize":[{"path":"./dist/styled-components.min.js","maxSize":"14kB"}],"collective":{"type":"opencollective","url":"https://opencollective.com/styled-components"},"readmeFilename":"README.md","readme":"<div align=\"center\">\n  <a href=\"https://www.styled-components.com\">\n    <img alt=\"styled-components\" src=\"https://raw.githubusercontent.com/styled-components/brand/master/styled-components.png\" height=\"150px\" />\n  </a>\n</div>\n\n<br />\n\n<div align=\"center\">\n  <strong>Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅</strong>\n  <br />\n  <br />\n  <a href=\"https://www.npmjs.com/package/styled-components\"><img src=\"https://www.styled-components.com/proxy/downloads.svg\" alt=\"downloads: 600k/month\"></a>\n  <a href=\"#backers\" alt=\"sponsors on Open Collective\"><img src=\"https://opencollective.com/styled-components/backers/badge.svg\" /></a> <a href=\"#sponsors\" alt=\"Sponsors on Open Collective\"><img src=\"https://opencollective.com/styled-components/sponsors/badge.svg\" /></a> <a href=\"https://spectrum.chat/styled-components\"><img src=\"https://withspectrum.github.io/badge/badge.svg\" alt=\"Join the community on Spectrum\"></a>\n  <img src=\"https://www.styled-components.com/proxy/size.svg\" alt=\"gzip size\">\n  <a href=\"#alternative-installation-methods\"><img src=\"https://img.shields.io/badge/module%20formats-umd%2C%20cjs%2C%20esm-green.svg\" alt=\"module formats: umd, cjs, esm\"></a>\n</div>\n\n<br />\n<br />\n\n> ⚠️ **CANARY:** This is the `canary` branch of `styled-components`. It is published under the\n> `@alpha` tag on npm and contains new features and changes for the next major version.\n\nUtilising [tagged template literals](https://www.styled-components.com/docs/advanced#tagged-template-literals) (a recent addition to JavaScript) and the [power of CSS](https://www.styled-components.com/docs/api#supported-css), `styled-components` allows you to write actual CSS code to style your components. It also removes the mapping between components and styles – using components as a low-level styling construct could not be easier!\n\n`styled-components` is compatible with both React (for web) and React Native – meaning it's the perfect choice even for truly universal apps! See the [documentation about React Native](https://www.styled-components.com/docs/basics#react-native) for more information.\n\n_Supported by [Front End Center](https://frontend.center). Thank you for making this possible!_\n\n## Upgrading from v4\n\n1. `npm install styled-components@alpha react@^16.8 react-dom@^16.8 react-is@^16.8`\n1. ??\n1. Profit!\n\n> Note that integrations like `jest-styled-components` that make use of internals will need to be updated to work with v5 and likely will not work properly during the alpha/beta period.\n\n## [Docs](https://www.styled-components.com/docs)\n\n**See the documentation at [styled-components.com/docs](https://www.styled-components.com/docs)** for more information about using `styled-components`!\n\nQuicklinks to some of the most-visited pages:\n\n- [**Getting started**](https://www.styled-components.com/docs/basics)\n- [API Reference](https://styled-components.com/docs/api)\n- [Theming](https://www.styled-components.com/docs/advanced#theming)\n- [Server-side rendering](https://www.styled-components.com/docs/advanced#server-side-rendering)\n- [Tagged Template Literals explained](https://www.styled-components.com/docs/advanced#tagged-template-literals)\n\n## Example\n\n<!-- prettier-ignore -->\n```JSX\nimport React from 'react';\n\nimport styled from 'styled-components';\n\n// Create a <Title> react component that renders an <h1> which is\n// centered, palevioletred and sized at 1.5em\nconst Title = styled.h1`\n  font-size: 1.5em;\n  text-align: center;\n  color: palevioletred;\n`;\n\n// Create a <Wrapper> react component that renders a <section> with\n// some padding and a papayawhip background\nconst Wrapper = styled.section`\n  padding: 4em;\n  background: papayawhip;\n`;\n\n// Use them like any other React component – except they're styled!\n<Wrapper>\n  <Title>Hello World, this is my first styled component!</Title>\n</Wrapper>\n```\n\nThis is what you'll see in your browser:\n\n<div align=\"center\">\n  <a href=\"https://styled-components.com\">\n    <img alt=\"Screenshot of the above code ran in a browser\" src=\"http://i.imgur.com/wUJpcjY.jpg\" />\n  </a>\n</div>\n\n## Babel Macro\n\nIf you're using tooling that has babel-plugin-macros set up, you can switch to the `styled-components/macro` import path instead to gain the effects of the babel plugin without further setup.\n\n```js\nimport styled from 'styled-components/macro';\n\n// A static className will be generated for Title (important for SSR)\nconst Title = styled.h1`\n  font-size: 1.5em;\n  text-align: center;\n  color: palevioletred;\n`;\n```\n\nIf you wish to provide configuration options to the babel plugin similar to how you would in a `.babelrc`, [see this guide](https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/author.md#config-experimental). The config name is `\"styledComponents\"`.\n\n## Built with `styled-components`\n\nA lot of hard work goes into community libraries, projects, and guides. A lot of them make it easier to get started or help you with your next project! There’s also a whole lot of interesting apps and sites that people have built using styled-components.\n\nMake sure to head over to [awesome-styled-components](https://github.com/styled-components/awesome-styled-components) to see them all! And please contribute and add your own work to the list so others can find it.\n\n## Contributing\n\nIf you want to contribute to `styled-components` please see our [contributing and community guidelines](./CONTRIBUTING.md), they'll help you get set up locally and explain the whole process.\n\nPlease also note that all repositories under the `styled-components` organization follow our [Code of Conduct](./CODE_OF_CONDUCT.md), make sure to review and follow it.\n\n## Badge\n\nLet everyone know you're using _styled-components_ → [![style: styled-components](https://img.shields.io/badge/style-%F0%9F%92%85%20styled--components-orange.svg?colorB=daa357&colorA=db748e)](https://github.com/styled-components/styled-components)\n\n```md\n[![style: styled-components](https://img.shields.io/badge/style-%F0%9F%92%85%20styled--components-orange.svg?colorB=daa357&colorA=db748e)](https://github.com/styled-components/styled-components)\n```\n\n## Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].\n<a href=\"https://github.com/styled-components/styled-components/graphs/contributors\"><img src=\"https://opencollective.com/styled-components/contributors.svg?width=890\" /></a>\n\n## Backers\n\nThank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/styled-components#backer)]\n\n<a href=\"https://opencollective.com/styled-components#backers\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/backers.svg?width=890\"></a>\n\n## Sponsors\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/styled-components#sponsor)]\n\n<a href=\"https://opencollective.com/styled-components/sponsor/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/0/avatar.svg\"></a>\n<a href=\"https://opencollective.com/styled-components/sponsor/1/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/1/avatar.svg\"></a>\n<a href=\"https://opencollective.com/styled-components/sponsor/2/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/2/avatar.svg\"></a>\n<a href=\"https://opencollective.com/styled-components/sponsor/3/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/3/avatar.svg\"></a>\n<a href=\"https://opencollective.com/styled-components/sponsor/4/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/4/avatar.svg\"></a>\n<a href=\"https://opencollective.com/styled-components/sponsor/5/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/5/avatar.svg\"></a>\n<a href=\"https://opencollective.com/styled-components/sponsor/6/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/6/avatar.svg\"></a>\n<a href=\"https://opencollective.com/styled-components/sponsor/7/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/7/avatar.svg\"></a>\n<a href=\"https://opencollective.com/styled-components/sponsor/8/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/8/avatar.svg\"></a>\n<a href=\"https://opencollective.com/styled-components/sponsor/9/website\" target=\"_blank\"><img src=\"https://opencollective.com/styled-components/sponsor/9/avatar.svg\"></a>\n\n## License\n\nLicensed under the MIT License, Copyright © 2016-present Glen Maddern and Maximilian Stoiber.\n\nSee [LICENSE](./LICENSE) for more information.\n\n## Acknowledgements\n\nThis project builds on a long line of earlier work by clever folks all around the world. We'd like to thank Charlie Somerville, Nik Graf, Sunil Pai, Michael Chan, Andrey Popp, Jed Watson & Andrey Sitnik who contributed ideas, code or inspiration.\n\nSpecial thanks to [@okonet](https://github.com/okonet) for the fantastic logo.\n","_id":"styled-components@5.0.0-beta.8-groupsizefix","dist":{"shasum":"0497f11c0d60e9e51faa4b802afab7cc22136e42","integrity":"sha512-5FDDRE4QhH8g6zsvHGPZ2NrJRi12AH1GxpZMy+y0lRYGrfNL6W5xni5Sz8kOKXS4PGf1VeyfVXaEG10mbrQYsA==","tarball":"http://registry-npm.ywwl.com/styled-components/download/styled-components-5.0.0-beta.8-groupsizefix.tgz","fileCount":42,"unpackedSize":1219629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXqLbCRA9TVsSAnZWagAAANkP/ReckvrPW7s9MoUPzQWj\n9YQgS7KdM/XoMhvDCE2ihHZ11FfB5eHmvLefOyKREKkbWsYCY5uTwqXfHq26\n7tlu6LJnOEIqSyvMfaZI5x3kQTEnZN+hUtRK+YRdW6kVyaB7St8T0dZ0WORb\nfTD5zXMuNSy6IFJk5VvfcZgJFz1dNueyLSl+xhyIo8j+LuFyF20qN5+FXJ53\nWkk0mbVe1svJAqI4BwAoFQUzvNH036rFSbSbndxFtBiaGOFQmLk4o17laEpP\nZTe3TzxfKUhHRj7qPVqT8XsDhbh8Lm/XmALK5WYltybrnoH4wwmK5TR7nNjH\nw+xLI1rnmlWQ6SUzR82WD7nJi3lOtThe7EbD7TSYABhNpuoZ36PYob4rzqRF\nneG4mUJEco1AO7EThf1vEFEWf01jMjb44z1JaFvmhqLEgOq+2LnPI5fnCiWM\nzyG204/KaEEgaGf6RFKkrlJXSdlCoXD1BGC2+BIUZSQH6Izy7YWbVQN0KF3/\n/gaF9WQq1B+Dsuhmt3wsBBMnHuEYNvlhRwzkl0AtD11PPn1/DlkyCksd8Z7O\nDmkbTkpk/WvyIDHFpc2dXy0fUdL/krjVXsU0NCntyzL8iCD57r0JrtpM6PAT\nO9xSJVcuCDa6SnZ6V7PXJ+3J1WgYjjqGjV8bBEY5ZAnoqGQ1dFCZYwGivmZH\nmAKE\r\n=YDN4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCltRkXP/Ixb8cMTSM6FJd2XYz/QYO1bWtoHHj6ZTw+IQIgBcKfbn2XXBV9S68oXrIc1PluVbn8iPve+ZBE+/1RnpU="}],"size":297739,"noattachment":false,"key":"/styled-components/-/styled-components-5.0.0-beta.8-groupsizefix.tgz"},"maintainers":[{"email":"hi@glenmaddern.com","name":"geelen"},{"email":"bhargavponnapalli.5@gmail.com","name":"imbhargav5"},{"email":"npm@mxstbr.com","name":"mxstbr"},{"email":"phil@kitten.sh","name":"philpl"},{"email":"probablyup@gmail.com","name":"probablyup"},{"email":"schwers.r@gmail.com","name":"schwers"}],"_npmUser":{"name":"probablyup","email":"probablyup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/styled-components_5.0.0-beta.8-groupsizefix_1566483162275_0.41812836773093"},"_hasShrinkwrap":false,"publish_time":1566483162531,"_cnpm_publish_time":1566483162531,"dist-tags":{"6.x-test":"6.7.0-prerelease-20261124190545","latest":"6.7.0","test":"7.0.0-prerelease-20261126062210"}}