{"name":"styled-components","version":"5.0.0-beta.10-rulefix","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"},"_id":"styled-components@5.0.0-beta.10-rulefix","dist":{"shasum":"cae7df8cb5abc778a5e24ae39bbf2c4129845837","integrity":"sha512-GkTJXbFz9HScnou560pIaZTfOKI7tX5H6HqOz8StSHFVdoe/aHESPWlWSJKcrgccdloAAgh2m/vOMVQJbdBguQ==","tarball":"http://registry-npm.ywwl.com/styled-components/download/styled-components-5.0.0-beta.10-rulefix.tgz","fileCount":41,"unpackedSize":1211634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrTeFCRA9TVsSAnZWagAA2vQP/iHTvkYhxD4SWriONFaJ\noBtkjrgzXmqDQploeZdUFmXhzgJKGILfOr5Twp23P3M19ugvHenphvAqGTv0\nYp5AX9IMDwt3hLphv0TsLVJY2u/pAIoVCBy4TV0UDkpyfdIbySEfTMtMnEgP\nX7ZXgUny7AlfO7oswYqpRKcfuuZOkdkZlmcWDuNh51mvQtwo3trqkdsVEAOf\nzEgiUbTM2OetxHsm40Xn3jvEA4kK5URpx8XcUyG4tCM71QuINEdwrxSqC698\noxRb2ZLaXe6kJIPXOU0QvB2Qfy4S+rn4YAC1aeQJzRFZ0lmna0XzztwYcb3b\ndpUJqx+cE5VenmE2FDXBEJ153sktmHBk80b9ZCqcNp1K2OLaXT1o2aoyPeI8\nWldXtpb4gjptS+R4Hywf6LDtTTB/76WCNUYb+yDAD8W65DK3XLkeydf2AiEA\nKohxPY0e5YsUiMJRm6dTEPRjSvQPxax6Lk96cMJmA+PM823pUsZM1HUG86ss\njCP7172mFueP2qEs7usY3smeX68KJwP/nJvLSSImvxZzDGbBdMBzb9Ax+6le\nJQEpplCsWgl1PEUm+jJ+IcXny4MJs01i76JNaC2+IMLMntfSBzBtIEIKENdp\nM65GRXfR76AOYkT68RN09f0UEO37MYKIsU9W9YroYPz9bmOJ6HPswTp8hsih\ne0XM\r\n=5/5I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZusD11li7chot4JWO6zKs52M/3drM1xdxxA2nUuhPugIgVdvLb29OT4ZgcNbHKDWHfQzdrVTABQGp0vnMq5yMe68="}],"size":294968,"noattachment":false,"key":"/styled-components/-/styled-components-5.0.0-beta.10-rulefix.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.10-rulefix_1571633028676_0.3555279205349713"},"_hasShrinkwrap":false,"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://discord.gg/hfGUrbrxaU\">\n        <img alt=\"Discord\" src=\"https://img.shields.io/discord/818449605409767454?logo=discord\" /></a>\n  <a href=\"https://bundlephobia.com/result?p=styled-components\" title=\"styled-components latest minified+gzip size\"><img src=\"https://badgen.net/bundlephobia/minzip/styled-components\" alt=\"gzip size\"></a>\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  <a href=\"https://codecov.io/gh/styled-components/styled-components\"><img src=\"https://codecov.io/gh/styled-components/styled-components/coverage.svg?branch=main\" alt=\"Code Coverage\"></a>\n</div>\n\n---\n\n**Upgrading from v5?** See the [migration guide](https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6).\n\nUtilizing [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` allow 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---\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---\n\n## Example\n\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\nfunction MyUI() {\n  return (\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}\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---\n\n## Looking for v5?\n\nThe `main` branch is for the most-current version of styled-components, currently v6. For changes targeting v5, please point your PRs at the `legacy-v5` branch.\n\n---\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 are 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---\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---\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---\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---\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---\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---\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---\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","publish_time":1571633028839,"_cnpm_publish_time":1571633028839,"dist-tags":{"6.x-test":"6.7.0-prerelease-20261124190545","latest":"6.7.0","test":"7.0.0-prerelease-20261126062210"}}