{"name":"styled-components","version":"5.0.0-testdeopt","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"},"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.3","@emotion/stylis":"^0.8.4","@emotion/unitless":"^0.7.4","babel-plugin-styled-components":">= 1","css-to-react-native":"^3.0.0","hoist-non-react-statics":"^3.0.0","shallowequal":"^1.1.0","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-plugin-rtl":"^1.0.0"},"bundlesize":[{"path":"./dist/styled-components.min.js","maxSize":"14kB"}],"collective":{"type":"opencollective","url":"https://opencollective.com/styled-components"},"funding":{"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\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```jsx\nconst Button = styled.button`\n  color: grey;\n`;\n```\n\nAlternatively, you may use [style objects](https://www.styled-components.com/docs/advanced#style-objects). This allows for easy porting of CSS from inline styles, while still supporting the more advanced styled-components capabilities like component selectors and media queries.\n\n```jsx\nconst Button = styled.button({\n  color: 'grey',\n});\n```\n\nEquivalent to:\n\n```jsx\nconst Button = styled.button`\n  color: grey;\n`;\n```\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@^5.0.0 react@^16.8 react-dom@^16.8 react-is@^16.8`\n1. ??\n1. Profit!\n\n> If you use jest-styled-components, make sure you update that too.\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-testdeopt","dist":{"shasum":"12d3b709c02d1150476e8f501e566f90dec78fbb","integrity":"sha512-+DB6oEQPqTIyS32cdlO+x4I1sAK5O7CasO4b7maCO1ujwQ8U0U0Zt1ZCnKwyX0zbO1d4ZCXkbB2QTYj2oFd8dw==","tarball":"http://registry-npm.ywwl.com/styled-components/download/styled-components-5.0.0-testdeopt.tgz","fileCount":41,"unpackedSize":1387549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKMqfCRA9TVsSAnZWagAA6M8P/0x5B5ZThGFIJRpsBfxF\nWi5fO5DNErfiSsrAPAVas+A2Eei0qvjpGzavMleqfC95yd4G49KqaEYh8/BW\nJ/JWntFFTui5mo7jarsvrRVNEAnqU2yMsg9I9VjKlydK2GnvCrlPMuU3PYjZ\nA93V4L1NMjqqg75qB/vf9/7bsxlGME5QWS0kz6n20++UlSngTwq2wjXEAzuZ\njL2Zq8g8kZ8HwrHS39imBgK5PEUdTOX3xaIfuhXSLCjt/Wd2SchbF8/n6aI8\n4JASGwVeaYFx2VM9iJWVmoAaChaax6LhFicLYaURhJDFf9h8ZW03nWXAE7Sp\nHxUW4ra2KKSeD/HN2rtwU6QcaoSavG5KGrIGe60xovxKBChDyAax/yhhrQ3Z\nP+gB4mntpmdRpT8CNADpT/W9rJH0Bw7C0gMBk8Q57qa+SKith4AiY+4HMWzo\nFh5PgYXgA7Vq2RRfp6KdMCZyYOBhqL4nVkD33fhm+kR7YIn28foW0XesD1ET\nB53r72O3tWJ5Ua40ir0kCxlwFH7h/9DGERqLYoxsjUu9KoEXNyLC7wYXPiqd\njYARB4LzlfIDJwz8WJhZS9/ixHeq4w+Kiv+8+jpdxmrTcgk14r6cEZ1xH3Wu\nP5zT1zcH/MEuHLfdgJOzu4seOtyQeOLoNfCt8cCSkNYV3aiwneBLl9Afr1B8\nyaUo\r\n=+FUa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7TY24FPkwuXrt6RGs4vieyeC416H6Mxulqn4sUHGicQIhAPJec5/zI34DiDip2yIAzeyyM5yJ0GJTgGKixS4mMfsH"}],"size":345170,"noattachment":false,"key":"/styled-components/-/styled-components-5.0.0-testdeopt.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-testdeopt_1579731614754_0.2704296259787635"},"_hasShrinkwrap":false,"publish_time":1579731614964,"_cnpm_publish_time":1579731614964,"dist-tags":{"6.x-test":"6.7.0-prerelease-20261124190545","latest":"6.7.0","test":"7.0.0-prerelease-20261126062210"}}