{"name":"styled-components","version":"5.3.1-pr3563","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":["./src/base.js"],"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":"bundlewatch","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.8","@emotion/stylis":"^0.8.4","@emotion/unitless":"^0.7.4","babel-plugin-styled-components":">= 1.12.0","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":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","babel-eslint":"^10.0.1","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-react":"^7.20.6","flow-bin":"^0.132.0","jest-serializer-html":"^7.0.0","js-beautify":"^1.13.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.63.4","react-primitives":"^0.8.0","react-test-renderer":"^16.8.6","rollup":"^1.13.1","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^5.0.0","stylis-plugin-rtl":"^1.0.0"},"bundlewatch":{"files":[{"path":"./dist/styled-components.min.js","maxSize":"13kB"}]},"collective":{"type":"opencollective","url":"https://opencollective.com/styled-components"},"funding":{"type":"opencollective","url":"https://opencollective.com/styled-components"},"engines":{"node":">=10"},"_id":"styled-components@5.3.1-pr3563","dist":{"shasum":"26422b66d7b7899754326d50cfe98b11cfd19837","integrity":"sha512-PGa9JQyS8RAZodZmoR/TP0vmROfZviGhCXXG6o0DL8SZIp2WUFPxAxT3KRKOGv0dtIWPv/Lm1WY8+h2pCOvx2g==","tarball":"http://registry-npm.ywwl.com/styled-components/download/styled-components-5.3.1-pr3563.tgz","fileCount":40,"unpackedSize":1182216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhINtMCRA9TVsSAnZWagAADEgP/ibOXnflr4p1CGXqx1W3\n2p2RWKa0WEy8oRgl//iq0rbvFzMYU1YDN2u2shYomuaGHipmo5VoRCnmRlqZ\nIGBU5y8mFjhpmn8sNcoAJsMLhyHTgJUdSCPwgI7nY4pX3ol9JkGM+HC/s5Pt\nqrKNSjC6F3SMxDGVMf07FOFIa/Vf01tgD7t+TGOmoSbwF+eX6C1pXwZCiFpE\n4hZVKPQZbOUUK8sk2Fk8bCG/Gx6hnoXqW76rbxrEqVBY11cmVH1utQNrTuBj\nqMynmmHSiMDSTTHjahPVhY41bhBzvFvxU/zkjff84m7OvrVvKbR6DtwuExmb\nZs8gV5u74ROWxjjYBL2MLoQq9eRQNlqe+Q2fL2pGerI+kkDkRqT/jBgSNnj9\nwbcbPJnmnau0z1kiaza1f/zJ7vM9OeF3o+oSh9LiImCIPB7cyuNuxdtso1NR\nVCvJ1PId0Kch+pj52kse7Nx5SmYq6MhEEWCgyx8NpVPD9lwY6vKRcBul8TfY\nE2K99ykEQsWgl0AsS68QVGuQZkP+PoZxQmpZnucjFSE9VfeEd7aOKuodWmM6\nPcVv6D9Z3FrVyISKTm7mDrmRajEeIeFt/TMAKLicLvzJizedPOV7rQn/gEji\nzYL9dH/h88SmOqMTAy/fSkx1ix2IvcsRibUefD7rclouCS06FwHwnFvPtLb2\nCSZ1\r\n=uGH5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGrL0ZuH8vqVpe68bySHzhdbt5mza7itamqfbw+IMp7MAiBDGzUFjinOLZ3GZ3Y8S/6n89emZ0D5YlR/RxQbbefjmA=="}],"size":305586,"noattachment":false,"key":"/styled-components/-/styled-components-5.3.1-pr3563.tgz"},"_npmUser":{"name":"philpl","email":"phil@kitten.sh"},"directories":{},"maintainers":[{"name":"geelen","email":"glen@glenmaddern.com"},{"name":"mxstbr","email":"contact@mxstbr.com"},{"name":"schwers","email":"schwers.r@gmail.com"},{"name":"probablyup","email":"probablyup@gmail.com"},{"name":"imbhargav5","email":"bhargavponnapalli.5@gmail.com"},{"name":"philpl","email":"phil@kitten.sh"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/styled-components_5.3.1-pr3563_1629543244473_0.8466034184817668"},"_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":1629543244656,"_cnpm_publish_time":1629543244656,"dist-tags":{"6.x-test":"6.7.0-prerelease-20261124190545","latest":"6.7.0","test":"7.0.0-prerelease-20261126062210"}}