{"_id":"@ajhansen/gatsby-plugin-material-ui","_rev":"1-f506b79d5be6ae91b27e4da33eb7d408","name":"@ajhansen/gatsby-plugin-material-ui","dist-tags":{"latest":"5.0.1"},"versions":{"5.0.0":{"name":"@ajhansen/gatsby-plugin-material-ui","version":"5.0.0","description":"Gatsby plugin for Material-UI with built-in server-side rendering support","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ajhansen/gatsby-plugin-material-ui.git"},"keywords":["react","gatsby","gatsby-plugin","material-ui","emotion"],"main":"index.js","scripts":{"build":"babel src --out-dir .","build:watch":"babel -w src --out-dir .","prepare":"cross-env NODE_ENV=production npm run build"},"dependencies":{"@emotion/cache":"^11.10.5","@emotion/server":"^11.10.0"},"peerDependencies":{"@emotion/react":"^11.10.5","gatsby":"^3.0.0 || ^4.0.0 || ^5.0.0"},"devDependencies":{"@babel/cli":"^7.19.3","@babel/core":"^7.20.2","@emotion/react":"^11.10.5","babel-preset-gatsby-package":"^3.0.0","cross-env":"^7.0.3"},"gitHead":"4a327ab830460edecbafed173e4ca1c869ea371b","bugs":{"url":"https://github.com/ajhansen/gatsby-plugin-material-ui/issues"},"homepage":"https://github.com/ajhansen/gatsby-plugin-material-ui#readme","_id":"@ajhansen/gatsby-plugin-material-ui@5.0.0","_nodeVersion":"18.13.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-xmk26th6NXFB9Zz+PorAEg7ovxmrSkaovcWrR96QCR0K09/D/1OwOqrTk/1AGRK7dDlE982qxjtFL7RZgRksGw==","shasum":"a2289127b5927f62e9b1efc234856b4bac49281b","tarball":"https://registry.npmjs.org/@ajhansen/gatsby-plugin-material-ui/-/gatsby-plugin-material-ui-5.0.0.tgz","fileCount":8,"unpackedSize":9793,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpDtW6mvVj6eftPw8T7DY6mAhOa/6MdR79QVWVJiJhiQIhALpiVX5iXD3m7Cab033nVHld7S2V9p2adnh/7oMLTSAY"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0oRSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMUBAAl4HfVwoQ7fCKteOZvHcV1CWPJoUV47FtO9yvI6o42mgZraYL\r\nBLSRZtXwHV4oZDkpElKQEMpd1b+HFFQ7FYeyLANuVi5VJ3kDO+cmAyFd1OxP\r\nYBHTp2mzywsACywnNXYj85/17mk+ALtk9RV4mIbuevkJBlSg6rAuLYMueijL\r\nc4d9O0dmeuIVAGBBXf/I2T92EiwadkG6ssi19wFxVmg63LgdK/kxDdPCAWbh\r\nzUu57IjFg/XPfQbC92Ywt2te+KNTWrb1+rjG+sZ3eQkeGLRknXBIqcDpR85Z\r\npz4PtFRTMjLqsf9Cx+h9KXcs1VJeHHN7evGFnnXGspi4F2GHUmWjl50+qc6P\r\nwpKO89At2iKwLokC+VZBxJpxwbSvKQ9rcjshMJs0hVxs3mZm6711fDxkzExm\r\n1ZELy0POGFOir2cJVsfSjd4kbCL2tksIVteYolrmjRel7BuSX7laJRTdtl9n\r\neMj78ZNGAa1R9ofVhmJV8UP6ZriZFmjmGjw4OhggvfAtFctpX0jRULJ3NawO\r\nETajQY7XL+DuoK8HcyORnI0FNyuF343/ohK3S6trHryigbytrliDA1HD+zVS\r\neKFeWblyqQNSEeIDJct5i4WrTM1Hr78UjqyOz9S4WmV4sIfbqDlCwDS2y+zi\r\n+AqIxwiraGoNDhj67wim1gDyJRXLzlP00CU=\r\n=T+qQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ajhansen","email":"npm@ajhansen.com"},"directories":{},"maintainers":[{"name":"ajhansen","email":"npm@ajhansen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-material-ui_5.0.0_1674740817925_0.8986011859763374"},"_hasShrinkwrap":false},"5.0.1":{"name":"@ajhansen/gatsby-plugin-material-ui","version":"5.0.1","description":"Gatsby plugin for Material-UI with built-in server-side rendering support","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ajhansen/gatsby-plugin-material-ui.git"},"keywords":["react","gatsby","gatsby-plugin","material-ui","emotion"],"main":"index.js","scripts":{"build":"babel src --out-dir .","build:watch":"babel -w src --out-dir .","prepare":"cross-env NODE_ENV=production npm run build"},"dependencies":{"@emotion/cache":"^11.10.5","@emotion/server":"^11.10.0"},"peerDependencies":{"@emotion/react":"^11.10.5","gatsby":"^3.0.0 || ^4.0.0 || ^5.0.0"},"devDependencies":{"@babel/cli":"^7.19.3","@babel/core":"^7.20.2","@emotion/react":"^11.10.5","babel-preset-gatsby-package":"^3.0.0","cross-env":"^7.0.3"},"gitHead":"134df21991a17e8582159ff3014674d11e81aec5","bugs":{"url":"https://github.com/ajhansen/gatsby-plugin-material-ui/issues"},"homepage":"https://github.com/ajhansen/gatsby-plugin-material-ui#readme","_id":"@ajhansen/gatsby-plugin-material-ui@5.0.1","_nodeVersion":"18.13.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-gs32weHjlky4x81ElO/kDb4o256NiN+NwmKaEL6ejB2LxaJVl3Zknk14+JC7GOjOHD1A7Hn3QHalCWwaNIF0Zg==","shasum":"cbdac1acd2fad1feecfcf094ce4c4fa567e0c38b","tarball":"https://registry.npmjs.org/@ajhansen/gatsby-plugin-material-ui/-/gatsby-plugin-material-ui-5.0.1.tgz","fileCount":8,"unpackedSize":9950,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5V8CLBytg+o+Voba02O5CU3OXByVnQ82a1B24GKx8IAIgHkpPyzB+qz5TICGS5txq8XIq/tE89rBAYOiLWMZWCRY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0oZwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3aQ/+LTzMnB4QclXy1EOuT6W4sL/SI1YPbaaiwSsWgYlBG4NbCLkw\r\nD1YtxehHzEI2XKj1ZwQ/ChIAA75QFMyTxE7Pm0908oUWjFAKv3wCESEk38Kq\r\n4xZnZh7CmgO5qRNLJyi8u/F4LkQzjD5L2I7ISiQlq+4LCOPgNOzxCRyculyW\r\nd5c4X2Fiq56m30MHiZai9HNKBmF6WOEehTyEydUmU4ZzVWOHBHUglEP+44GU\r\nw47NyzGdZNtrkhtXSV2ZOZMs7a6r1LuhceLDqTDiaRGy5K1PSLarMzzUvZXF\r\nEGAe02tqbw8yi0HRlciHiufaDcdNItVTouz5Krae0pJ2H+5eYSZS7h0OsNlh\r\n6h+hj+LhtyNOsK9n0yCIZj3Bk4rh1qzeyFpeNM8yw/zckmiJyx7/KlK3qHGA\r\nAVBqKV8s0R/jj0SqOxG3NrTHPxyXNf8BbUNUsPtWldFjzmuJmCM8zBN0FWrI\r\nJcoQ1mtbspBdMbIyoXTrZwesYRQnHRXFd7QETDobTicNguIc8PxkdULIqOMY\r\niXuA0/lPoraMlBZH9VHkUBkolMyoyoiFxFppWOOm+1m/g/pNOafi5WveKjUG\r\nfYycYr/D9sCyLyRyVxyXdQ8IMZQpVnN4TYpQQ7IsKw4Zi+uEEf/gjsouEGWT\r\nOBkoIuWPoCeD4cI/h+35TxdGw63osy7Sizg=\r\n=y1dK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ajhansen","email":"npm@ajhansen.com"},"directories":{},"maintainers":[{"name":"ajhansen","email":"npm@ajhansen.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-material-ui_5.0.1_1674741360473_0.5063261914452499"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-26T13:46:57.858Z","5.0.0":"2023-01-26T13:46:58.088Z","modified":"2023-01-26T13:56:00.678Z","5.0.1":"2023-01-26T13:56:00.609Z"},"maintainers":[{"name":"ajhansen","email":"npm@ajhansen.com"}],"description":"Gatsby plugin for Material-UI with built-in server-side rendering support","homepage":"https://github.com/ajhansen/gatsby-plugin-material-ui#readme","keywords":["react","gatsby","gatsby-plugin","material-ui","emotion"],"repository":{"type":"git","url":"git+https://github.com/ajhansen/gatsby-plugin-material-ui.git"},"bugs":{"url":"https://github.com/ajhansen/gatsby-plugin-material-ui/issues"},"license":"MIT","readme":"# gatsby-plugin-material-ui\n\n> A [Gatsby](https://github.com/gatsbyjs/gatsby) plugin for [@material-ui](https://github.com/mui-org/material-ui) with built-in server-side rendering support.\n\nThis is the plugin for Material-UI v5 (emotion). The plugin for v4 can be found [here](https://github.com/hupe1980/gatsby-plugin-material-ui/tree/v3.0.1).\n\nAll credits goes to the original author: [Frank Hübner](https://github.com/hupe1980).\nThis package simply applies some pull requests.\n\n## Install\n```sh\nnpm install @ajhansen/gatsby-plugin-material-ui @emotion/react\n```\n\n## Theme vs. Plugin\n- `gatsby-plugin-material-ui` solves FOUC, auto prefixing and minification.\n- `gatsby-theme-material-ui` uses the plugin under the hood, adds web fonts, meta-viewport, CSS baseline and mui theme support and has material ui styled gatsby link components\n\n## How to use\n\nThe default options should be enough to cover the most common use cases.\n\n```js\n// gatsby-config.js\n\nmodule.exports = {\n  plugins: [`@ajhansen/gatsby-plugin-material-ui`],\n};\n```\n\n## Advanced\n\nYou can use the `pathToEmotionCacheProps` option for low level customization of how styles get inserted by [emotion](https://emotion.sh/docs/@emotion/cache#createcache).\n\n```js\n// gatsby-config.js\n\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `@ajhansen/gatsby-plugin-material-ui`,\n      options: {\n        pathToEmotionCacheProps: `src/emotion-cache-props`,\n      },\n    },\n  ],\n};\n```\n\n```js\n// src/emotion-cache-props.js\nconst emotionCacheProps = {\n  key: `xyz`,\n  nonce: `XXXYYYZZZ`\n};\n\nexport default emotionCacheProps;\n```\n\n## Examples\n\nYou can find an official integration example of this plugin [on the Material-UI site](https://github.com/mui-org/material-ui/tree/master/examples/gatsby), then you can pick one of the [Page Layout Examples](https://material-ui.com/getting-started/page-layout-examples/).\n\nIf you want to save time with a more opinionated solution. You can start with [a premade theme](https://github.com/hupe1980/gatsby-theme-material-ui).\n","readmeFilename":"README.md"}