{"name":"styled-components","version":"5.0.0-fixhoist","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.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","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> `@beta` 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```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@beta 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-fixhoist","dist":{"shasum":"efbc669a16572c12bc047c642a764a5ec8ebb73a","integrity":"sha512-f11Z6dWzyb2fnVCPzkEQdZ2BbG0w5A5olvP7VURDn62oYIhVJsmEfUBLKpf1bggHYArKA7tKpST6776zqpDv2A==","tarball":"http://registry-npm.ywwl.com/styled-components/download/styled-components-5.0.0-fixhoist.tgz","fileCount":42,"unpackedSize":1210945,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/6OfCRA9TVsSAnZWagAAeVcP/1qQJvYnFTESchSgEJxM\nAy9QKZgs8L6N0iQGhjsk6aIE0mVKjB1SBemmxLR6egKZvhEPbREUeW1QVYuO\nvjy2bFJqVNpy52TLXBd5mrJd9VePCXptoFRCAYVJ3TLI9I5zm4IuyPEfgYvv\nQWuBd02vNAkhzMfEDtP23TR3Zitw9oC4ETCPl1IyDt/gEoNHIGxedyHDHGo9\nbK77MUA/2nhvyU6V5S0JgIWJZYQuWsmKla+i/NpH950ieLAijCyYoWX02bpu\nymuCOrQQk9yQ3zJR/g7SlP1xSCVcw6OputyBPg8rQ9BC+h6TNMLygjwD3SGf\nsx/HO4v8SMRoRjddUYOajEyE41jYFyTvy9rzds5BcswE1L5ZAW+m+EmI5G+Z\nYrYrtwz6YcFND0r9yqkhQur2wzyk9rBT+6hwpnkh/68lAxk+x9jduR+7ODb/\nq1UR3LrYi3v5R60IUbPeeUAsxQ2XakOiovmNeQ1A9qSKmit5DWusKvFpBlvU\no4Eo10c+ZEigjAMHIF9h0yH9MyjKC4gd2mV40Fd+nhv1/OcEzU3ZrK0EtiXM\nnn0ivfsnqSlMiGExhTs4J/8ru9bZWGhvbIb47H/dxSmN8/P9cWDl7Rf4P/DY\n384qfM8MrNiLQ2EZYCcxcUfagDf5+L1GIQkg3x5nh3h3eE23qpWUQQRpE1e4\nFpuQ\r\n=Ir9w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBckEDnf6QTd+GIFVtYmJ8HV08wRqk4ni50LzfRuqmsyAiBtLzoabYDy/GJ5F3FtoqlFog1bhqDdsdPO3x+O9LT2sg=="}],"size":299165,"noattachment":false,"key":"/styled-components/-/styled-components-5.0.0-fixhoist.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-fixhoist_1577034654627_0.9262327968936543"},"_hasShrinkwrap":false,"publish_time":1577034654845,"_cnpm_publish_time":1577034654845,"dist-tags":{"6.x-test":"6.7.0-prerelease-20261124190545","latest":"6.7.0","test":"7.0.0-prerelease-20261126062210"}}