{"_id":"@threekit/polaris","_rev":"118-82286b319884cf69610dbc81af850178","name":"@threekit/polaris","dist-tags":{"pre-commit":"3.6.1-pre-commit.13","artifacts":"3.7.0-artifacts.1","user-menu-updates":"3.7.0-user-menu-updates.1","user-routes":"3.7.0-user-routes.1","no-changelog":"3.7.1-no-changelog.1","latest":"3.7.1"},"versions":{"3.6.0":{"name":"@threekit/polaris","version":"3.6.0","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0","maintainers":[{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"bhouston","email":"ben@exocortex.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"510da0e85088b1a3777c9b95829169cd4fffa72f","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0.tgz","fileCount":1347,"integrity":"sha512-AwY38iR13t6Utzv3CGbK7YZS7D2z79+sXDqwuVBPDdHX2MezcdITLPb9bzPMCfUwfb/NacM38wvGQ//Vi4F+vw==","signatures":[{"sig":"MEQCIEicDblno8m+5b3U7VNnZqBzwEDXSbt26pcNNvWOxBZrAiA87DvMRKraLha4tIYuJLQwmVk9l6RwcjT20PVYnuZLrA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3361757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXPEjCRA9TVsSAnZWagAAzhAP/jyo9mYxB8SCCxrLvNr/\ner0ui/PZT+ag6faGdDJRa9UhrTGy+CndWfhSUJyCUxFSpv3HIuQdp8aWuZjT\n+XhFJLf+bZ62HN5PnAP3NBoq+ZOyDmwmzxQlEQmzzusSBxah92wSthREfGWU\n1yJcvFjkTeBOvIhT7836DWcvaatusJ41mNZ2FnKFI8+cUfF2lm6ZqeNvZtbe\n2N3M+I2UUOoyTlcwd5OE0aey8t6Qoki2xvEUBk5FVpA+1Rgj7DqMGe0dqS0b\nstpWf1VzF8MPvMnqN91KJO6flXxGib1gs+s87e/Fn2kh8JEDmXN2MTe8OkcA\nkBMwzCUEN1joQX7m0EBv81exDa6MQIIHQtVO9gLMIVGAuA3UZuc0JVAFbWfB\n2eTw/4SL5effuHoCDexQ2FIDvEVpdnrTPhJIDlG1eNL/sdGGnUtru7qUWeRe\n1D36RZXTO0Uv+a5zS+t4FnUBuX+zaUw+tCJgQMar4ZteH6ptNBRa9lwQOUFw\nK7ndkzXrmrbXU0gni9bqiZfBMwiUDXSO3htHfNV/m6PQhdp7VWnL2IyHrja3\nHYeU0JEW3OdaghZpwqOzoOKEkaY2g74mXpHHb7hkgQdRxM3VizbycSpwZ0gH\nZbznF3Ryq/b0QNNmBAXr/QzWpkHV3jNseZmyj8p8hq4otiL39d64w9FkYaye\nkjHn\r\n=U2dI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"127df8e055ac60029791072024268ec766808e66","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all cdn open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"introvertuous","email":"theramin108@gmail.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"git+https://github.com/Shopify/polaris-react.git","type":"git"},"_npmVersion":"5.6.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"9.11.2","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0_1549594914928_0.3933660530462475","host":"s3://npm-registry-packages"}},"3.6.0-threekit1":{"name":"@threekit/polaris","version":"3.6.0-threekit1","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-threekit1","maintainers":[{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"57c53f0ad3c1114a57f8cdc284961fa752db97c2","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-threekit1.tgz","fileCount":1347,"integrity":"sha512-dabuqG0f/M5TeeniOyO55QcwiPSFuAsqhPV6iIjNpYTiHtI9khREde/wliMzXbAPT0zBTJ8wnXKLEWPKdAXvpA==","signatures":[{"sig":"MEYCIQC7Aa8/OowyZ+KkgKgen1K7uDFcKChTREFFVYFkG9HfbQIhAIWCW0EaZVpt6Oslp6WrM+PHAumgHbawpqZKGhEztXOW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3361956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXeaNCRA9TVsSAnZWagAAdqwP/AxjbtVjSVidpzkj1XmW\nxCl+MzWykyh42z9J7orsXbCvgPcOis0e6T/9RU/A+7Bf0T9jLgUrOLE+ooOa\n3WUyhKHK0FUgrNX2+lM/wV5Y31+5EkmK6+k/BYtNtYAU5q9VpDRCKraxwn+1\nugarfK35osvELpv/4u9XVD/k9/rfXyhbon2i2qwaC76Bcq+0FyTu+YBABJIh\nTCLsyZpXZE1JVKayTXdkrCSsRqmbhynz0PawFqNuI47WH1vME4UVT5bJfrC5\nCZe7IN+ewneiZ8ABKUdFRu9ZOrDuBtxcaNqKdtUy3Ie8AnTII2oCLk5FJyND\n6BwtMAMYdZkThEQ8E5+jOUwyURkYS2WeCFyf91XNhENIQ43snCzc7Yovz5sm\nXuh+zbLVahnGLN2Pr+E55iYt1ZVeJjxtetNiMW2bhc5cwI4NbwU5fYKOfG4T\nEEO5i3fYS0sNC1MHj6BeI/97Ur6N8LiKaFLtathAtrWSqyTc1tvKPh8H4c8O\nEBdmCTrmEWW5ekbIzTp4YBk5DIVHMtLXsmmcSgKf1+sfL6N7yErbDGJDhRWS\n6kJAuIhU5FINL/ZyvUpfgz24Xgm7+drOePnJ9GyjzZELmnn/zQP33GcoLm1+\nBvXsdS1JXQW97CtmMUxRZiXsqIm0F8sIpDUxSz8EnsysBdgxe3rN6ehVWiy7\n17jz\r\n=D+b/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"127df8e055ac60029791072024268ec766808e66","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"introvertuous","email":"theramin108@gmail.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"git+https://github.com/Shopify/polaris-react.git","type":"git"},"_npmVersion":"5.6.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"9.11.2","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-threekit1_1549657740333_0.5608832128545864","host":"s3://npm-registry-packages"}},"3.6.0-threekit2":{"name":"@threekit/polaris","version":"3.6.0-threekit2","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-threekit2","maintainers":[{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"8ece7c392df352aef74690c8dea80bd2556c798f","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-threekit2.tgz","fileCount":1347,"integrity":"sha512-qEPkdLZQKz1XR6vXdb+EF2biCz0vOuZ70pWUE/U4tf5oX8mIAsZYuVwQb+WqLWhkEa/pcrcolIgkKP3ADu4MLA==","signatures":[{"sig":"MEQCIFGluM1airPFx3X7vANhhd7Uu2nLL36nmDcIMqygqApoAiAuSPV+GGTWHNw57dPe5iE0AunKxhJ0/Fbz+eKLCunZrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3362212,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcY3a0CRA9TVsSAnZWagAAdFsQAITwIlxEYbJfa1XxR6Bo\nJOxH+fgiV0c+GOMg4J68bCfzbJJH53PknbhXKd5+KkSiAHtsr8TcQ87PdVdq\nJJebIC7i9OT11Sa1ppNIHP6lhs5WVMHFwkqTTFZjN33PytVLEiZVuSCo81yQ\nybv9S4vWDO0BO58eYljDO+vajOmmQvGIQ2QgJuz4HQDEeXArjM1W/bxCr+Mv\nxEtNJ/JI5Kho95UCkZwZejdofz4tbRBtz/4aTMFe8CG4p/aqrVz2ctDHft7I\nL+1zy8MJGyn7vqt5yqTR+IhFesvaQljqr9JOvzZGltrcKBhmqmfcsxeN41Dn\n15+h0RoRxR8VzqB0vaAiFniSVBacvLzkhXX0Tz0UXQw2+MWzXOjxJD71LORX\n4tihx8nrkNHtwWhRl8w2BdpZHpl8HMva/QIrwupZfHeYQ7UilotOn1135JMu\njDwZ0giaiQt47xYtZEwICN9rhYZs8OBi4pSPgoARgVlqf5ijjhvcmpNqw12t\n82Eq5luzMgQ6ehUibM0BIUOUN3ycjm8ANZtiQKAKeIHJbI5iQP59WCPehEhy\nzgIbKxjEl2ZFuVWHsJfQ6vJgyhvrEG42nKMxr6qq0i6wXRC9P33+vYilwQ0g\nExfkSY5CdxFmYZrnQt7REK4I3L4NjAyn6OBh3hdvJrJZ6n7twDenwKxiD+Xx\n0Bu4\r\n=GW7E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"91f8716123bfa753e11de3808fc52d2c0ebe00bc","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"introvertuous","email":"theramin108@gmail.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"git+https://github.com/Shopify/polaris-react.git","type":"git"},"_npmVersion":"6.4.1","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.15.1","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-threekit2_1550022324129_0.48274225070501386","host":"s3://npm-registry-packages"}},"3.6.0-threekit3":{"name":"@threekit/polaris","version":"3.6.0-threekit3","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-threekit3","maintainers":[{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"2c2f4c12c44a8b8189b63d8be4622264a754e1a5","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-threekit3.tgz","fileCount":1347,"integrity":"sha512-r+Gw+Jf61uEybvxs8gS+H2mrvRoPMlqam+Swp3YRcQRwk+kImHxOwGwsS8If0fIVBXpRxGzMCLuNPgiVVKja+A==","signatures":[{"sig":"MEUCIFxMfISRSMp8GVae5UXf6JgPEZ6/myhC/nJ2OwXgrAJgAiEAp9QW1+QK8mYOjl/mANwz5RcjIgfGTWio6fAhSl7rwX4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3366768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceEfECRA9TVsSAnZWagAAkXEP/2YR+5Jjacm4OLNyAP/J\nV4CItwSS3RD8UGOD+DdTqTlDeRitK0b0vje6wyvqA0JxzBGH4LzR3W6nzFvu\n/uC4JWx9bGYLyOTQOxw+spt4dFm0b7/EX/n38Ge16EFsO3iCBoAwBNKpAZxv\n/3f1+heDY1S2vmXl30y2P2e1AuS1YUa5J22w8IGmmLVcLUi6GcSK9RqA/lsK\nH4H7F1hYSoFnMwu4BMGLdjEDoXMflQQKkuBpBppis4u6d/NrYv7aoVrqCNoL\nkQOWmVKpUkzUiTwfm3YkPnEBdDNi4t8vHDRQJj7Nwv0sr1qKNF1sL9wS1i8j\nhh3fPrXXl93OvQz4tiwUmo03FuPwT8tW3CEycuJNFx7rO+wDT7HKVTw4N2D/\n39r/9NDuBH3XMytbR+eO8WsxmDb7WCxAxX4ChPL84B4t4vGY4qYSQd7kMuzU\ngT2Hi42aZMWfQNIGr0WjC5PP5r0paO/i9JvwlTYGA5k/9oHRH8H3blXNCim8\noMGlyD+Q8ObyzfYYPqFL8l7dOwzuCOE5HGqSd/uk6Pe6XHWIyjDD1iiYDuK9\nBJuVslkAqX9VEUkk44nih0+3vaouOZNK/RJH419jqneKWe7v0eA90kPn6ZET\nYlJX6aT/zjzhz+oM0aplHyhFV0Z6k74OOwQ5WIAUNuqNz0f8JqqKAHj7R2WY\ns3Eg\r\n=ke8A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"4059bc9e292481edbbd7791db22bfff8cf806106","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"introvertuous","email":"theramin108@gmail.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"git+https://github.com/Shopify/polaris-react.git","type":"git"},"_npmVersion":"6.4.1","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.15.1","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-threekit3_1551386563452_0.22486740255726123","host":"s3://npm-registry-packages"}},"3.6.0-threekit4":{"name":"@threekit/polaris","version":"3.6.0-threekit4","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-threekit4","maintainers":[{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"886e1975de3790d7d2c8a8d6ceb1889e0f18ece1","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-threekit4.tgz","fileCount":1347,"integrity":"sha512-KJGsXlyPF8LlP/QHgR+Dqy1ouzjaVDytxpgUyIlNj1cbN8pnQQAK+G9lXKKuuuGospz/oE18HDQ2V0L6vAXweg==","signatures":[{"sig":"MEYCIQDalooTLle1E2CIxOpXCm6Ei2owkpeFdKrTOLFgSFsn4AIhAJZ25IwuxnENkpcijGVwpmIgclcLGtfZetT72Ewik+gv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3366990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfGVpCRA9TVsSAnZWagAAJKcP+gJokQnrzK5YxBKLWvjV\n8ZqAdxxvA64LxYy3ELu3GNnmLfg9HfFEl/BU3+CL3NHl1geb0y3ehGa7Fiy4\n61c7gtffw72z5wkdZ+VjS+a+xqzZRV1W7y8wKTm3zr5ewijUulc/4NB7sa41\ndp23PMbM9Y0MReJ/GnFF4v17STwhdnUXgRZBAeejftvpeSqZWnxbTumBQbsG\nbEQliHg+/ZQ5G+81qBqB/BnD2eVCQ+Wjy4C3hmDYYCRZg9Hi9qqc6EFe4IyU\nrPycUsMSXVo51dqkMBJ9ns4NQ33JrQgsxcj+KJf/DoTeGuNoGbcONnwSNS3t\nkSScjZNXjhMPFuW0KYGDTL5Rlw+AjqgJ5I917nyfnxkxgXo6UpWtBTqD+/IU\n9dOVm7tj+Vyv5pjAa8LqlC844kfAxBh14FqUhWG8vWOUXu6vWBwr7Vc2rxxF\nJFKKmFabH1DsN5PrQUFXb0YVQPPCbzME+x95Ad2R2oke1ks+00QL/5Gk+3tg\nyXbcIIui+heQcR2j9iaOz1mf6pXI4nsRWb2D/mK8CyM9rGo6EzBRBSr0xnXE\nZWWrEOEIw6gVPxoiDppTVfT+uE0o9KTDn57O84TXhcy9vV7rOg+tSNm2+T3A\nrrQtHRm1hYlDwKG1IbU/6AxJD4h7Y2BWC4oBf4A22VeVQRLwTCzfHesrqFcH\nD9ls\r\n=pIbx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"0d8dedc37f73bae61147642dfdeb89fee86ddefb","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"wvl","email":"wayne@larsen.st"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"git+https://github.com/Shopify/polaris-react.git","type":"git"},"_npmVersion":"6.4.1","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.14.2","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-threekit4_1551656296668_0.02371970085902464","host":"s3://npm-registry-packages"}},"3.6.0-general-tweaks":{"name":"@threekit/polaris","version":"3.6.0-general-tweaks","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-general-tweaks","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"3f89f94bc472146b70049bfb8da4a42942bd9b96","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-general-tweaks.tgz","fileCount":1989,"integrity":"sha512-ZxSJktgJbyjBZQJlSF9vPLOKrMmqtkM/bszRqsiuXicKt3YMsSFm22EvJJpHv5UZvDDI948MBuMz1XxaTIJWCg==","signatures":[{"sig":"MEYCIQD6jwTIBj80J5rXsWl/oBbcbwh2ANxyp5/7VLGts04TEAIhAMTQ4TpFVWs01Pn/xPRUeeES+c6/v/2ZbF8tV0umMXFA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3369263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3cE6CRA9TVsSAnZWagAAvpoP/1b5Oe4lkrUEemqRRuhW\nWMmumhW1s8/jeldIw/RVT/omvhIeSXVbl1XYHjD+k8i+fDFqynYZ5UOBvVhC\nht75lJ4AXlG8+ouaOJkcHmktWWdZ/7zchUcjzSvRW5HcDaCBTHyR8k517Fy7\nw8VCZItnXMCVj4kjxcvSMaQ1oDcwC9EDKd8y7IQqBvhJMGkLZCGMErJfshU+\nyI+lfkJ8d0dDY+H7d+cFPxzRnGIx7V7Ekx4YFDe3vVI8yvZezO2OdluVzsFh\njM5x+nozWnbvaWqjReZoXEbIRkSn4LfD1mmsBojL4FIDBzsAILJDUc7rqFog\nCig8jx7nz0FrST0HsjC5YD/cKFbmN49yKV4FgZ/We486RswsfkliE6L1RrSN\nor+HIm3ON2QDd+3X7hlu+Pyd7SznH587tcK3qu5jhHawm+KhE3uHMZI4jg0V\nnMM7iBM2bkkXSnUWl2sMvBgA8KlDer1aqAsol6J3IRb1B0fPSXVrF92e1Ak/\nyanXx4FkC1dc4NrlV9/W/XHcI9PzBNlAFBprwx3LLOztPCJzAOKOFTigQlnw\nyi3r2R4prVJBSjuREfA6q+pQgDNzUtS6FvMGiMxa4cxQoPR86BuxC6Edq4Fs\nHwsoklU5ghtW1dbTrp1wc02lqqKJLT9l1Q4+yd/3ljyGi3mTTIk+pV6UfTXT\n34vh\r\n=zUKJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"tpearce","email":"tpearce@threekit.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://github.com/Shopify/polaris-react","type":"git"},"description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","licenseText":"Copyright (c) 2017-present Shopify Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nThe rights granted above may only be exercised to develop and distribute\napplications that integrate or interoperate with Shopify software or services,\nand in the case of external, stand-alone applications that do not embed\ndirectly inside Shopify, the rights granted above may only be exercised to\ndevelop and distribute applications that are dissimilar and visually distinct\nfrom Shopify products and services (including the internal administration page\nof a Shopify merchant store), as determined by Shopify in its sole discretion.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-general-tweaks_1558036793304_0.307426001500561","host":"s3://npm-registry-packages"}},"3.6.0-threekit5":{"name":"@threekit/polaris","version":"3.6.0-threekit5","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-threekit5","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"9779955b8a6896e127e2a6d2fd34c9a47b5a14dd","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-threekit5.tgz","fileCount":1989,"integrity":"sha512-4Kh+8LadW7fsQcJLlIQ0KXXvgGSlIZEXLugkSKg7iWyvmN7SoeTMa9AjKB7lQJHZFnXkXXrMaEh2uxg8pgEG+g==","signatures":[{"sig":"MEUCIC1EIL5q2/lvJCZDTo/KJco7FEgvzTZv0TS7LLts5kG6AiEAr7p8V3XRxyavyZpBE7MAkHS9pJlgvw5XCUPX7umesSI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3369091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3rFNCRA9TVsSAnZWagAAVx8P/iX2FcFrE42Cs5pYuZKO\nCOVu3sElSy/R+tBjI0sOmNzi1q8Tt/g4OgdS2e+b93Fq6vUQHZuH6dmT8gdz\nOwPKznYDOCaDFc9e4V/69H2z8aR09UgkNS9CfvWhfroZgTpuidWKc/qpotSK\nk4TFCKTBvOfjTxmi0GKlXTM0OFgbRl/fkfvqZ4t9C6T4jPfkheVRcKBf/+vx\n2z6JbqTWuI5ySVQc9Fnn/WmPfhVRJ1ru564TCIrHOJFKM78riRCBIvC/GcXd\nqDQKHtiUBhAsdcCOWGMLZRyo1Cp+Iv0e8k1S/YZKGj4/aiTtMwukGyLafcER\npyLLpyN/MGOUMP2VyqvWLrPh/4PsfENvCLTqHx6jKi3HurPbh1KDJH1Qt8hZ\nD5ne2RyJsSChpXHqjj4+Jat82cXudnug9/ns6MxoxlunUZ2VdG/ZyuY2V29H\n67Je+VcUEuGdmQZaNmfE4M+wRzOuAneQuTvB1BI3jBd11CMMMzzs0Wv6xGLy\nn24M46jPkX2TqoyeqybyjQdDMVHD+tlA8onrjImEIiIefb4cZBLYmiXJnNxw\n3C1gsi/eD+7i+SmzU1RYbo24EgDi0R8W0mrepBdZdnzj3EdZUBF4hzjU08dU\n47AYPTaSwtzky8LRVhAbkta5SotQ0GyGld00OyCIMlZOQnbDmLw2pU7oOTF3\nqYFV\r\n=GkOR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"tpearce","email":"tpearce@threekit.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://github.com/Shopify/polaris-react","type":"git"},"description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","licenseText":"Copyright (c) 2017-present Shopify Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nThe rights granted above may only be exercised to develop and distribute\napplications that integrate or interoperate with Shopify software or services,\nand in the case of external, stand-alone applications that do not embed\ndirectly inside Shopify, the rights granted above may only be exercised to\ndevelop and distribute applications that are dissimilar and visually distinct\nfrom Shopify products and services (including the internal administration page\nof a Shopify merchant store), as determined by Shopify in its sole discretion.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-threekit5_1558098252726_0.9710409642986606","host":"s3://npm-registry-packages"}},"3.6.0-threekit6":{"name":"@threekit/polaris","version":"3.6.0-threekit6","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-threekit6","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"4b5f2d94efd6926e9c429da39c195cbfcf28c71e","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-threekit6.tgz","fileCount":1347,"integrity":"sha512-WNZaD7kQLRbgG4bLQRf3MqQt7FzXJDalr3l8uwokDjcbhKsD3r4gWdV41b/fY+e7N8LTwsT42DvZp5UP+o3cKQ==","signatures":[{"sig":"MEUCIEO0hAE/D9gJESxglfvaQOPhHO51UdQ2919pShFeZYyLAiEApmM9fvNq+dMPtlneO8Xsgymteo4FtPVUgYHS7ziucQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3378821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5ATPCRA9TVsSAnZWagAAaioP/0YTb0PuZMcD9bfeYc51\nw5vjlgaR8irfk29/r4MSY8PLfOlWpdNSyix4O5mERtR9WHOMk9QYVWbVWTzJ\nVUQZTRArVlHYYTE0t4uovX+v9XFZH4Ceo+thaoPaAeocwR0K9eCi3iIURjTd\nFLNSIdS/+j76CSEOnc5D13LXIrxhvCQdg2PGSLHL/O9GKcwM/fh/xrC+ZRfK\nYDukBFz3I2KWAW1dc4M6CY8sZIX0XtJELRlMNbA16Nv+GOzA+IkS/HYCklZP\n6CY3TRwtK5xIFU7/2rQoabfNSqABp7sB+WtBuNB9er/U/VL0dFmVT5td942R\nw+mOTikbSI6/PkH639IxI51IrIfFa8oYLrax9yTjmrPnuX0NqHgSkIwhSmIs\niwAXlTmH1bfN89n4/eceWjz4BdeNK7mFKBUZmEZZTZUlAJjeENfOMuG7w4GI\nZ6NEoqOqR5aNSWKnPAZa5rJuewcN7LlGpHud+FUFFmURe7iRFGJ2rb50dnXt\nOf83eqlPK4JhdMA/vFHYUyrCn4OmS2Hu/JZfRTd+g++M4sRMuLtDdZRzIg9r\nvzrNKBEVVHfygkXXgGYVjp1cIIMlsRcFY+/v7Wz25NBsS+H+tS/O2gwwf+5C\n/yq5Y1NIlihgZ/fMew4y/MuTbBFSKmtirZjBYEQ3y3g9ucHjSS3l0B10gXoz\nBGgl\r\n=5n09\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"88ba72a6b157d1ba56ea59024a9bdc534145c84e","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"introvertuous","email":"theramin108@gmail.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"git+https://github.com/Shopify/polaris-react.git","type":"git"},"_npmVersion":"6.4.1","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.15.3","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-threekit6_1558447311361_0.25612571327430356","host":"s3://npm-registry-packages"}},"3.6.0-threekit7":{"name":"@threekit/polaris","version":"3.6.0-threekit7","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-threekit7","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"f85630535715e7f0886d7883f38a42578fa92725","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-threekit7.tgz","fileCount":1347,"integrity":"sha512-/JyR3NgtgFt+mGO2TciJEv+i1dDJgWlga/dIAHftgdl4QW7JQJjfsg8UsVl/6vWwTxrGHNJ9/lKRyiawFztxaQ==","signatures":[{"sig":"MEQCIDPbTUSc6/F5qz27684AnMZB2I3ZIGLN+x/xXM+yUMAEAiBqs7q4Lwpqi6toUd2Utyxm16BjfEkX4FEoWKhRDEnuyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3379435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6CmICRA9TVsSAnZWagAAHdkQAJKzyxCMPzt1Dk0NiNmq\nzsS9LkFmozgkV6U2+k4dX20F4BHKjQncImSAeH24Fzktr5MyZpZgvWB3SsvF\nGcMMfAlGFwi7OWY3i7lrIedye5dbUHEW9mJsIF5oL7jwBpBBPmGpKXRFW0Z5\nD3U7ajAM5Wn356axuyFkbf5fogVOJLNxR/kc0vC6S6DuQhqlAprhGlOfJ5cf\nqXLtCYCDjs5fJg7PIilKoQTUX3w3XclF/S+k+79CGMXevmXlMRjzPliXJRNg\nsjEX+Lhzg6/2IvfkQoFL0bybcVny3pOF/lNmcSdwdmInUzCEUc/Oft6tyv2j\n4ZaZt6moJIOCxEi0N55bqlFoPpwQtwISSZfBfxjGjaX6O7BC3Jx6k1BiELqS\nAE/CICDYKuv/C6jQdiDLfF2Aj201Yax+1+9OrwdWD6yWJGlxhaAVzrcinEwV\nBBaZf0+OQucraVIPmCVIIFOF4SduisX4e3J1CTQCPnVItQkcbbLIkdP+mJdt\nRJrdvlzD4sunMoBVvMgCVPRvfMu/xMSrzy3rhtqYFm1R+Wg7KOvNp/zbajBy\nQ2sWmP1tCaUF4a9cF1AqWc9Be7Vn9yd0oo+aSpmAxE+zjSey/DqN9o9ykrPK\ngPc0t0VK906Lzvf0c2K4Af4nhYrba2Ep4Ey9yK+0xPu8mzJsIDXT2QFqjau2\nYZiJ\r\n=RsvD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"346abf4ca8073fdc02ef80732b10e1b1b035a5dc","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"tpearce","email":"tpearce@threekit.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"git+https://github.com/Shopify/polaris-react.git","type":"git"},"_npmVersion":"6.4.1","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.15.3","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-threekit7_1558718855457_0.6906019668545049","host":"s3://npm-registry-packages"}},"3.6.0-threekit8":{"name":"@threekit/polaris","version":"3.6.0-threekit8","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-threekit8","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"c9547b098b0440f4c454adf22c98040c8e30652b","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-threekit8.tgz","fileCount":1347,"integrity":"sha512-z4Im4MuZA/j/duQFgOAwbESxzfzQyrpQ8gh/lHV5Qz8pNjxffwj8SBPxmJKoQeKqfWblIfhZewTE2z88fjedQA==","signatures":[{"sig":"MEQCIAHHpyn1+qJCesfLJzbc8uKmHd6n5wTMj5Zi2UrLRbUWAiALWKgJhP76P4Omp2oSUvOdq6+ACMJhRFsu5Q1+ATKy3w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3379656,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7DtJCRA9TVsSAnZWagAAH2AP/1z1ZEtLVQ7YHMEieLi8\n2apVJYKsfQbZ/yyT9fDhk83MJ7bqM3sir28PICJdluTf+nVzp/A0McpDeWzt\noTimI60vqsn6C4cnE/YQ0+2g3aFAVVyN6pS4/6dNyC1jLkMSUcwLwwvtqT8s\nFbJ4UpWiHpDne+GaoOF2dqMsvjjZVoS2Cokv6oAVOFjpgDLClFAz9wI5I1Gi\n+6YmPVmtJ5RVkCkAr9Ei66NXqb2bMLBsWviKC8PxJpq3DqR530N9MtIE99oy\nWLtlpYKk+rhHQFuNjiiEs+Q5Kwt7ScT5kzh5XW45jrujuBo9rOCltUVDz+uz\nBCkX4SQRNuZcRGHpUaE64A4SATHFAuCrm04E1dBXYme+n5RpNMPsGoTWUjgX\nn45OxTrtOBbK0PpENuk3IaZUsNbG1wuxuwwK/q+yA2YbSPt64TBxDuNucnnq\nV2ekN1AtWIThrdSWlHZHammAJYAYzIDTLgp2KeR994PA4+QxdOydLq9kIw9G\n7PJRl1y5JUlHq/og+MGbEl2dzST2vO7Y1nOC+zQ/TOE8CcJAlsTCKGQB31hb\nOcmkMmhu6rSmLDDj1NorjJRl2VTCuNvNyePEq19DtIvzpRVcZYfyuCf+Aqqn\nl0ftSnQ/pf+Z977YYZ+bS5kAGI2BC5mbtruGStcNXX+yPmL5J81bSjpTZQOg\nRwwJ\r\n=657s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"b5f87086e8f83a5a96851e1f56cafff27d121e5c","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"tpearce","email":"tpearce@threekit.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"git+https://github.com/Shopify/polaris-react.git","type":"git"},"_npmVersion":"6.4.1","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.15.3","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-threekit8_1558985544966_0.43812457330417076","host":"s3://npm-registry-packages"}},"3.6.0-threekit9":{"name":"@threekit/polaris","version":"3.6.0-threekit9","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.0-threekit9","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"7c1b2bfd806942cfbcb33aba887903046f000d3d","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.0-threekit9.tgz","fileCount":1347,"integrity":"sha512-Gw9/T+FjVU3duB/bTO1aInmxgjYU6aW6edGP39Az7E4HsLQOYc3g/QEU+SE+KvYH7YiTfYkEwkcUTVEcgf3nGg==","signatures":[{"sig":"MEYCIQCy/RrOR6xfryjPs54FD1Js235QvcVEMnbRp/cljjPsXwIhAMLlbX7L1uEM5zj+nacWQEsf3z/igwFBao6efPokwIY4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3381385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9oAbCRA9TVsSAnZWagAAYoMP/jqXpGu+edqolEfBLwOo\nnkCtmFEdsUpvJVL1X8WyZwZAQzSL0COIXz0hrED/pl1r8m5sOP59TD4d3Osr\npCsudBHBAJskMjDcMwsDBpDxNbV3HTQB0kFImWNf2Qk6HHYWAjV/vOc0Enqk\nxTrW1/yfdrNsnIZqODMYDpvXH61mcPdnXmopFypALSkSoqKLz2FTt0SVIp9B\n4saWT6gHlrpw/uprhsLhKImN3uV1ukjwu41XRt8rf6xkO0lOIuN6S99QERc5\n0FWM8mP7o0tS/Eybc0iAzMP5YWSLx77cI/jpsGjXbw8MK/STNH6QiL34Z2wb\nUDPrvWFgeSJpEqeDhOe/0GRrhK/BNxs6TNOBOfiLgowtIwijeWTGSiexVbbu\nc3409p3nvVuYIOtyYLt7LkUfs+/vt3WF9cSFvU/BV5qNGYHnKvpvOcNlPSin\nQdl3znJc+866r+9acu1jsmnusFgTElKzQDzOySJWdFwuH0ilSB8tofJKKwYu\n/bCQEUaaCQBSzGimVk8dFqgi/yd5rVgPE6Ezardut73UJg1TrVo3YT9L+NED\nBe+uejkiUM+pMoBesqWLVb3Aqqn1Jwm+3VHTS+ojxC4DgAZLTJ8YuS7irC21\nA4kqIibyW4HGkC/u7uBkqDGQe6cVCxp+d43wpg5DKnTwBLzILVdMNTi1Z/e/\nC/+b\r\n=Fc0D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"11376702233acac4477270231c2a97e62788f250","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"tpearce","email":"tpearce@threekit.com"},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"git+https://github.com/Shopify/polaris-react.git","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.4","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@shopify/react-utilities":"^2.0.3","@shopify/javascript-utilities":"^2.2.1","@types/react-transition-group":"^2.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.0-threekit9_1559658522570_0.6387241346802512","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.1":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.1","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.1","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"33f6459d0a44f48844c59ff6599564b8ddb6f2c7","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.1.tgz","fileCount":4,"integrity":"sha512-QKnUGxnPgLr3P694Hr5u75+YoJ7tZJkkAgrvSNWoTPomFYPhygQ5PTQIsiyykEoHS3W8XC9tA8fOwIE/Jl2TWg==","signatures":[{"sig":"MEYCIQDdzaDMmVuW74Yc9j27r0sYbL6KbEb7L7TIP15oNdt1AQIhAKMxd0EgdFUBxCC5AfbDVnVcpAFHacxkcbqxmzZr+Dm+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9qy6CRA9TVsSAnZWagAAqEIP+QDKRPBt44QFg2CnbIx+\nrsnsTZNiN+UPc/EzRYxPm4j1ivS7nHy0eEPzYTpaNgBfZ81ZVJez+63c385x\nB9gZ9QYNDqHKHwQNIFGCvX0dGz2F1GgkYVeOz9IwW3HNRT4SJb03OrmDffIu\nZAVr0P3+10O9yBHe1eSOo7c0mJkYI0om4TUcrN7Z0ZgsqMF9iradAslW1CY2\nb97kdUBn2A8Lrv41EGZGjPLuexFLkI+llUVOWb1uqU1UZHCTTaEO3L2Hs63v\nQGio6OMdqSvNigxKiM9pMN3m0Te9MidbxsKQ+vzSWI3VBQ/2b+z8GelhqV19\nWPH2GVnNmF0g9Qq3GhNShdeP/b5aHjwBOY/raqipylYgvDRJ+sQntsV2DOS6\n8RJOTLNXXhKpbPII+stZSyt0o/KbIDsn0twkBGiM8n6sPNSCt/Xu4/JoHysl\nczYPwhrCONq5MGBTFzaOfq9vt8kyNwp4jDHU+MGvFR7hFO29E26+7wWobwKQ\n3vMhF/gEjeNxv3jDi9cMSwtBtWUJcr3sU8xrlhexJs6AKO/pC+3XrC8EVoQC\ndv3QY7IsYSKv6QVJbiI3knm2y1PUI67cgTAqGYw+0qBXVDdt5XaSW7F2maRI\nDj4WqMo9A6T4Xqmh/01wdYgtr7jT6lGVZTliA0OAWEXjmpaiUAH+jTVb4qAf\nda5G\r\n=Lyco\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"cc228cca51f25d08d19963fbca8e9ff20283a0a7","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"team-devops@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"^16.4.7","package.json":"^2.0.1","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"^16.0.6","@types/prop-types":"^15.5.5","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"^2.0.7","@threekit/shopify-react-utilities":"^2.0.8-threekit.4","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.1_1559669945471_0.4110418831440241","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.2":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.2","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.2","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"df5354ee0d1d2128ef177dab94ab77fb8c386796","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.2.tgz","fileCount":4,"integrity":"sha512-5LQt2ubJnEvcW05hmcLUB+CusgCbOZxXRvUM3CPREDqBBtGsMD7SBALFwVfXYq6fF9k2/B8HnBKDl3lhrk5n7Q==","signatures":[{"sig":"MEYCIQCN8qKJWVfwGaZUbk6N4J01H3R3inktD5n3x1Zul289JQIhAMPewekb8kC8FJLiqTHbhgiY1dt6Un/nrRVB/AKf16A9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9rH0CRA9TVsSAnZWagAAFzkQAI1PU3sAtTkPBrkrgBCx\nyUvvDSWYpOTr9lWX0Zoftcq+4PuY8164DYT5FJM659Qfc6+UblsMVQHoyAgv\nvzBimzqVVIcK36aQF83kCNtAVJBrCRORX3dBZKlzdeCaCFN890PlkdJooj+4\nLqTcxNZqlFshPSNeb5F6SAWMjFsnV+Q/TfDzTHtrlYDoqdgo6AejMVCxClU3\nZxar8KRkWknFLWlksT0WwuNGJvyU79vgLqTLUATflVZklnzHlhsXhVxcljwJ\nh1pBLLZRI5wTDEquLRem3fYL3U4pIpScNNAv5rIW8l9QsXh5E/G+5p61iY/B\nb9y+Go8KAu4Bk3qxY/Nl1nmD7x67NdJzku/zhY7TNeHzTxIcOU1G59R9k4+N\n27WTUFyHgmoxTBJHAaFgy8dlAd/7a29w529cuEquHLjNTc3+Pd8U7jDO7uN2\noOLtf4bCIO3sEvBwYE4UekdJ/aihZrAGY0xH272n4srRc6IL372ZpnwNcFFN\nAgjbyT2hYl9f/YI0PIlZG1SOAJAPh/9+OYp4l0Z4Y+OAgFp5fzAc4sTz8i0W\nWfRAbLSzpbMT0v1rYvI/+jT7LMLtwvl3VAdRXiMzKHUuPDlqud2YYWdT2Ft4\nZhRhbp7Uu55FhasKKzScVx5y7/j61HH2ZdX+m4KW/HACPReHJ7TfKGPM2ViB\nAbXW\r\n=up0m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"c9d9693cd32a58a19b8f28238182c290798ac13b","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"team-devops@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"*","package.json":"^2.0.1","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.4","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"^1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.2_1559671284118_0.8858504452833544","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.3":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.3","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.3","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"aa400e37a30671c55ff58dfd488f39ca03cfa38b","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.3.tgz","fileCount":4,"integrity":"sha512-Qa2K6s3SJHFhTsG1mg5YczxowGlZESnZBsebjLC5vGUqgdri2lLCOVRc0bRmORN27C7p6WTxe1JADa34YY/0kw==","signatures":[{"sig":"MEUCIDITrfHakCC4mOhW7w5jLNtw84SU7yMquox65Nq9tWYuAiEAoQXHdU8SlzByR7XtDNGVt8iT9DhIiyCfACe7qcx1pVw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9snPCRA9TVsSAnZWagAAEMYP/RZK5Qrf62Cp2u/mlGHq\nqQxXdZmmD6zpF/Mt+933HSIBrWGSf93wogbBN00b4dL3lGmWXU1g6KjVbB3t\n8h0umjxTPTo5P12ZBqzQ4CuMDuyzIMogZxsi2FytFMkBonpQQ/D1jgyR12L4\njw0mAAWL3JiLvbPEwl6iwE7p2MYFzQkcxlWO5dNaewMMnO584yWdSgJpXjxV\nImSE2s4Ds94tY+Ww0kjHVGe9GDWD2safpzz/Qw9k047AafMkO+x8Poj7mSG4\nCxchsBgYP2x5Txe5V9oMyIvsoeHtzNrmIwDRkDL1C8vHZOk8Yd1vD9VsNDvU\n4oJFxVsL74fzRXNvm6B+ij8LqrYZDjE2V8P+7ov+zWS5XHpxBcJ+Ml2CbEYC\nqjopaghRTBhuDhe2zD19cFyDycUdFpWoh+I4BlUpGWTNDuzgwgql0S3vb4i5\nikxdcyYhS3ghS56C15mp1+Kht8qOeWDWVA3/44J0N1JMcHUjajsvZxkw5mNj\nmG59UIF7lSmfWtbcnce/Vl/VV4eRGvMkWLXqO7z8SSDRmQMGqPJookB/Jair\nhRjZ6KQQgjErBr5E2HCws/KRxmSM4VfFupC87d2QH4aFlU8eApUzl2vhIeHm\n4G0x7ttPwDhdNajwvZy8EBtUvczoipBg8a5FILUiKU2QpCEJaXbO6kcw1xFk\njhRa\r\n=QC2Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"3826d8fc8adaae5519a0d4bd245704f49636a97d","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"team-devops@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"*","package.json":"^2.0.1","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"^16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"^3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"^16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","@types/react":"^16.4.7","babel-loader":"^8.0.4","@types/enzyme":"^3.1.14","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","@types/react-dom":"^16.0.6","isomorphic-fetch":"^2.2.1","@types/prop-types":"^15.5.5","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"^1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/react-transition-group":"^2.0.7","@types/enzyme-adapter-react-16":"^1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.3_1559677390825_0.7703790306048535","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.4":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.4","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.4","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"d7735787516fb834434d050c422384e820b1aafa","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.4.tgz","fileCount":4,"integrity":"sha512-a72Chyet6yqbC1Swp04hUuN9CuhEfsWoFDRmpie0kED/ujPjBuP973fl/1MeF/8AkZG1XmVeWGmY6PTJTpGChA==","signatures":[{"sig":"MEYCIQDmPjjK7+WCap1YI+NI6ky9185AdZsXJdfazkAHcSg2GAIhAInvUgG5Apig16zs3+T1xTG6CFMKmzI/g9M9NkNyc+V9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc98jsCRA9TVsSAnZWagAAprsP/jzWA/TAAPVMUkyQoEMT\nCofIf5rnAGq+cUqdiHZ18IW54CyekZN4AezCbHmGKHcsX49jEqcHqM6n5mIe\nabv3cBZnO85cgUxVBeVCJ349RWXD2Xr2j1FzG26EGbzJ5K5Rmptpb/YYV4R/\n0GAXCW8DLbUOL2MkIBIjtad4xtAju3J6WDhjfcn/c2MxGhFN35UnAdv20Lfn\nK3ewdL0b9FywxX1n3hW9Luq7uKacnKkTGxGSnMGlv0M+sdYjGJI/qc8Ch737\nKngMv02WdUXm2VvdEQ4jJXeLfjM7NQ4u1wZaaWgs4I/ljM4W8Z3W/ubaVXO3\nOGPvK1Hh1bAO8AzrtqKuMTy0ZInMLm+DFqKsSgnI3E3y4U3BWHVlh0HJKKB2\nWs4ub8qUUi3kbjVpV1KgVrrrO0feJMxqgWX5SZ9g6T2VmheGejzCO6Pf81MW\nO4yc5Jdv72VJCW7WRrwFHrQMLg0/zsiKAWQmKIfKcJQQPTuAxY6Whr33Ugsy\nhesEHV8NZMI3L2uHTUzusp1+I9K9NJezD+1jjbQ49bkN4YUfSljSM6zbq+9P\nAwv6x3ZD2tQhYbEwU+nuYv7p4yM7OYkfEUu4aGlrhAk6m/qT92pUshm9X9Ap\nJeHK2Y/to4G32ea7dGQrdgC23VIi+SyBLqv8wixu5iWWnZ+NfaQpX495kMx5\nMcYb\r\n=OJVq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"b355fc7c53cd4afb2c3001b1e5f96df4946c475e","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"team-devops@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","@types/react":"16.4.7","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","@types/react-dom":"16.0.6","isomorphic-fetch":"^2.2.1","@types/prop-types":"15.5.5","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/react-transition-group":"2.0.7","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.4_1559742699183_0.11630461215702015","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.5":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.5","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.5","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"40d3e735f889660eef13be350755ddd46dd01b55","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.5.tgz","fileCount":4,"integrity":"sha512-IsQEOm2WCP6OeZksPYWTYORX0kjcSgZz4XyUFVF2F1ZtnNlYGEMdMkvULX0HzDd+EWR6xpYPbRlNPP/xlT989w==","signatures":[{"sig":"MEQCIBzh83fd8LDbbXc77YegG8G6YA1ekmtrNjd+1zilBIJnAiB0Rfx++GROrem7yUYCcNxecycZBW3eWwCxTBfkxqFQSA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc99NhCRA9TVsSAnZWagAA+lAP/RqCkYPctgDdnSS4YOK6\nUhjjsXnmu0a/OGdaMsf+KXOX9zA9rYLlXJNWV5tzw3aRSkhYjVfbZ2QAAEeJ\nx+LgO70o8NVHKVjpFkD6cYCB/6XqFkbsngcPvbQgVZwedH1gwzHG/RGL0N54\nqfPcPKoyt+ZNcrkqkA3/P+ws9H7D5tzEovUd9Us2iCYn+EnrvK7ujJ649qvA\nw/Ge3iffhsjLTGcyTZYRUkL3GM3GMlB7lKCdsoGrTcTOlzAwkuM96A/tzZJ2\nwSc9MAP2SqMwexXhmNDBCXY3kKbuXEXFDBej/7y/8DjuA81+7VMD3HaqsXM6\nrADTvR3Cx+SyuM5Qik4GZmSuU2CYARRXx5NJiRbBcmG1jG+PL9hE0/PeSnUR\n6jVP99nozhVG0zKGlKkt1DH1RV6tS+OC6s5pE32QC3Mgnk23atjg58/GoomB\nm+3sq21X4pd1UyBqZVdJdCN8Q1D4DVNQ0L7gn2cnryZ6+IQt6Mu341IY6319\nZKKlg4M7dx2YO1e/I95dY4K4cXcEZPvp5e0WS09aZ0Vwk7hfGeAEe6OBlSHR\nwCMx0DGWVCfbWLaNYn4GMFOA5uxgJM01shScsLG/5PQQVceJlQh0J/c7UTb8\nLNogWjNaHmEmpd8Dd/gnKygLlF8jf+PM/tcwvyXtR9Pa3V/cJD8w63JUFhKA\nPDwS\r\n=d+AC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.0/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"fb6296ca5492ec423041d92347cbb28fff7a0084","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"team-devops@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","@types/react":"16.4.7","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","@types/react-dom":"16.0.6","isomorphic-fetch":"^2.2.1","@types/prop-types":"15.5.5","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/react-transition-group":"2.0.7","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.5_1559745376308_0.22525257280884836","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.6":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.6","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.6","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"20071641719ae90e9866512e5f20758224b25355","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.6.tgz","fileCount":1347,"integrity":"sha512-N+IuLqAw8Lratg6tG5JEB8nMd3/37H3jruXJ3Mzn3sYinYCKeziDsmGo/3PXg8cMwEmzkGYx7iPprdYVgqr//g==","signatures":[{"sig":"MEUCIQCRnI0o71189WRYilwanWG7yugwsiXTo6lJCJR8QY3eUwIgVlFi/tg5HWk35okHj9W8rTqhx5ECd0VZD0gjFUuDoSw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3386601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc99YuCRA9TVsSAnZWagAAKfsP/A93UCTefapfHu8n0ZbD\nqtnOPrGAdPwnF8KhJK+OT9BX2B/Pt+metQ4bidkKhhmk9W4s3UlREY3JFlMx\nXlHUv0Zjp9/n9xS6NVtqXNzwzKNyjmTZumyC16ZCSrYPDD5wiar64xCjBP43\nFiv6ILHKXws+7enntywXTC3xS1XgYsh/uM9Mu3jbF87CYCyoRlCT1IpqUOdx\nNo6SiY6qWnnjH99sw/27uqDzC4fYhOGGgSKQvsfXMzOmreKC4yKYubRptM7M\nQEH3IMaM1WSABSKGG9hCBlp7FL+RWj2A0DnnOtCbN1gihwmU6uNz+a6ayZD9\nijwE6yfTHbV44I6UF5G4z8XBS5WRlNaNKImcrRLaONur43RoYArhfznQsS2U\nqLaXYNdcXAoMEAFqa0qgndXgI68YoenS+OW/opfLpo6xWpT679hpMGJd8+oU\nKftN35Vj0tgxsehrCEMtYLovUGcFUIO2/jCdQ/KepvoAWrMLFQpsaw536nW6\nVPNyklfClmMCvS47ThkwpMs4SlKTZJhKZTH/Z+bJPoMEggO3sstCcet2fami\n+oKgRaQ5CviTxScGyLKzHHTyCs8+dDrxfPvhG38HFWkMSYvOzpWHpD5ne58a\nMbBCNtr0HWtYMZrD7ZMW1EBfSXFmAZFe8fWMdhfGYd++217gIDTqxAqcytMh\nYQ7H\r\n=izW6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.6/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.6/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"538ed51370ecf26de51c73c5b8cc17950badea99","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"team-devops@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.1","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.4.0","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","@types/react":"16.4.7","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","@types/react-dom":"16.0.6","isomorphic-fetch":"^2.2.1","@types/prop-types":"15.5.5","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","@shopify/jest-dom-mocks":"^2.1.1","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/react-transition-group":"2.0.7","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.6_1559746093961_0.4026617198994864","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.7":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.7","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.7","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"e74c7565a42102524553b389d1b49f907167149a","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.7.tgz","fileCount":436,"integrity":"sha512-xSYRZLkfDOMNQFtvcO67w6r6MIKAA+3nbJH/s/KrtVE32HF4c7nYXEGjxaHKzuAjmJNAtBC++5NblB6HhDaw4A==","signatures":[{"sig":"MEYCIQC8xdEQrzTRP9FYsAjPAxis2jIFUDqow03nr+pOcUiOIwIhAPJx53NRUY0bvbzBiThpskYVm6x+nLaGGgRRjHbf29gl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":298770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+AG0CRA9TVsSAnZWagAAilYP+gOtZF1i39yytqdDW3XY\nXaedpQYNSBsYz6KVALtB+QezXtZk2mSzkeQjY3Oren+SElM9qUo+/TMbqR47\nVd0nIG3dEgvHzED7FtjFc7Xy7GAy6nB4bmQ75xBkFHMHGeP6Epm7AE5JMrUc\nQgr/Gs58ItgHNAyxJWxRjATTfRaBPSiGQB5mBpbwkkMEATUKLHeOpd0oT3Xd\nZRJxmlsCblZ5T311IlqQL/Jn1BF1aeFxPo0F+majgJy1NcKkhcrap7RHl/2d\nNN3725sl58TRt/CQKHPD8YnctUzQLczCbp9k/MddrsP5DGTWTvh80q+JOFWx\n3OksCX+xl60D8YsbFxJLzdXYkfv5/zI8r0P3U13KPEaSGpGb1k9Vk5YFT26q\n53A5MAbonTNQZCZ7Jw1yxj404Kkb3Qyk9uqZrpylX2e5HeJXjO9tJhuCurDE\nAfxkVYi6cfBLV7e2hJtJhKE9FCoXFXLM/ojv2+BpAcFTsjPEz35atqcTe6ef\nIdmNEmjNzwpcOcYI0yv0bhNdlm0re0zH8ysd8ooMkHgp2cLcMmuZ0c5j24g+\nQJOg9H+3ix6tCbfuc0t2hTjgbFfrzkaIT5s3/RurlcAbUVcWyQveh6ZYDDCX\nmz8coyjeCEaN+TNe1bMYao5BD4paUniGWYIUFkTJ5peh0hzjfikEWoYp9AHC\nhqhw\r\n=jQaB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.7/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.7/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"800b517e60ab89b5751fc44ad02316c137210fbc","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"team-devops@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.7_1559757235498_0.0978474416493853","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.8":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.8","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.8","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"55581939b9db5eca7003a96b5767f71cc3e814e8","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.8.tgz","fileCount":436,"integrity":"sha512-+XrOYFIkRGqI1myikLtqj2pY71wYqk8yBXUX8hU32x8t9moXZgbDzew6qfmQnzJrM1siFFXQ1MVp5scUNFfg5g==","signatures":[{"sig":"MEUCIQCJaytBGXQCFy/83pv4ms5hg//d4hWNkkBaqneFPOom5AIgK5ASE3aGR0p3vavZDUq4uSF6fX5/7p1KZVb1HnwAPk4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":299076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+BM2CRA9TVsSAnZWagAACXMP/iTjs/Ojg61b8iNv/der\nRWhS3zR13wYuXnFNKK3/Xvo83HqZLbMgY+0k00naP9/A+30g9DXYAg3l++AQ\nqnBsZoUcRyJigcob17WkbxfCXX2Hzs1VXTqAlmt9iRjshbF4tPM6A1iEY5wW\nMg2JAXkOyYshpHCbJLTZFVXRPXM99aWtE5XUYme/EYlTVbHhvNBYY8AddVJ1\nJMBF7hOr5VFUNBvX5nOVVn9BtR4H18sqQ0xKnfvt4CExKQL1MSY3sHMpCRJp\nHN4OXrrvGgBSa+C21IdT6wZXFVSFlzPV2M8868+d5C3r7M1bAyZ8nVLYQyci\nCfEVrploWHIaAb80OyNwJqU4uX+KtyiImZuOU9tmOP+SUm1JnnyNsMQ/7SX6\n89COpBnfisB8OQhhMvdzg64/u84n54AiKT+vC9MsGXYs3qygC28Ib4PfQSw6\nJB6vEZd7CaN82yx+Q+BgSbmYiCr9ewNt71T7iTbxvK+PcKFSWbbh8AskfCFp\nj/8WSCRZ2W9MF/amhWh5saWwLHb3S91Wu19vs8Jt101ZDsggxaQ30qdSC4ol\nLx8wDFGjiFfGFPHM/dy0AX2Be3gi4qFkjRKhrdLc17Kx1/pDIXQtFGdvyd7E\nqDpTVCV4AO2dFxuZjnsdDzAxgU5a5a0pEWpnhGe3Lo5wi9dG22xylRa2jxIU\nxcf9\r\n=YRey\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.8/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.8/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"4f8656f67132c12523a99f10fb04cff8af8287f0","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"team-devops@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.8_1559761717831_0.8108633385512354","host":"s3://npm-registry-packages"}},"1.0.0-pre-commit.1":{"name":"@threekit/polaris","version":"1.0.0-pre-commit.1","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@1.0.0-pre-commit.1","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"49b5fdf1d88deb81346de5f60cded37db3a5861f","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-1.0.0-pre-commit.1.tgz","fileCount":1355,"integrity":"sha512-ssn8wgLFbS6g5VgCdRmOihJtj+je4Kb1TmoTRRvlrJRDobMMslTtT5EShqEoPALkFb9Vjjq69t5aeM33YDO4MQ==","signatures":[{"sig":"MEQCIGq1C3Nt6HFk6XcJiEEkm2I1VXNgQJUbXlGBR6nZ8gwBAiA0OXakBhc+lPgXEtcz54qm5WmvfYjsWTja6sSbMh3klQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3393384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+SsMCRA9TVsSAnZWagAAN8gP/20qpdXgSqhStO4gk/NV\nkNoHPPpYn6J+0zqtrgqrnNodW0ShxqE5KfKOJB98AES8i5//gtQr/enEi8HX\n9beQrfcL8ViQh0WPXXQPwsN6JVt7kjVp0wG5BWdv/3yY1vue3kddWy6Kkb2S\nsUVh25O/fBKUoPKf2j5C/PS1lvFQWNZjBysOZZwqq03qBQYHY90FvHT0kZIJ\nopRw/dX/ds6L/Q/uzWd7pmU78vWqXLQe0+2SjHU8EVc/rCos3PMGlySWKsZX\nMo9Al5Jrw8KFdhJbXLhZSL2Uwxgc86KSgeOWdyAosdNvib18VYhFKg40gyIF\nIdYAYOEYKbLcSBp67wDeDync3Lx+zRiK/tHTVrEF4poyaInzikaOEgCqMRtr\nvpoddue3O/dQumRBWbDsHz4J1LFMbaO0RhyRfqN9EBoZ56TVZ/oHKRGQKqtd\nPCzY+keXDZSWSvwp0xM7m/SWz5jexQ+JU/fEvVlvJVG+IrooyCO0cidpgKwu\nCqhXZlJu3ubMZXWLq50xjxo7umLYru5+KDQJyDH0u/MOBeM2UMQB5gSaDu98\nml/f89+jTTp3kP7QGGPltNe+Ei0JTt2MevV3PzSlSWPalf32vxT8HEsBChWK\nKpykRm+amRgrZ1V1uxNTzUcAHdaLQmBs07O02WdZlWAy2MmuFPUMJ/z7l1Z4\nnYgf\r\n=kKQE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/1.0.0-pre-commit.1/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/1.0.0-pre-commit.1/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"3ffd1cf0318dafe14b30d55c71d09eb39a5ed9e3","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.4.0","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_1.0.0-pre-commit.1_1559833356146_0.5107344060460952","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.9":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.9","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.9","maintainers":[{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"team-devops@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"8138b9a7b491afcca20c5e87952d1abf5797b261","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.9.tgz","fileCount":1355,"integrity":"sha512-p2VD1xJ2/xYcvMxY2me8kO1KkVS0p/NsWqsD4EP/kIn3fJ5IEuwRCfCk/4jXAqon11GXdkgMA6BkC1fwTLbR/w==","signatures":[{"sig":"MEUCIQC9+ErmfH0Pw7P3xb1l1BGMGLAjmZRAFf/5AFC9ybjE+gIgPyJYaU0fZcF0d627yXYE5JkA/LoctjeRPIuXfgrj5X0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3395211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+UUfCRA9TVsSAnZWagAA6CwP/2ddkC+NJyudhiFQcPg1\n1lRKl7LMfyJXQiB72I2LJ8kUUf8SF+1gilJ9vFNuvDJ8GTBCCodW2IRKt6vz\n08ZujcIbFOvLdIrDB6ovWyqZNRUard3YN50psgs+XKhgxqnXAdvDKtuHl8Uk\ndlrDR4nsyLoHfLUQFoT8oukm/IzxUc5fUryu55KTwBRu4FcTFqHwhhXrAt97\nYdRN27Fbrs1nFltVmrGC2fl0fD4viN81W9j5EP0lj9mvm7sbcInKe6HVbyO4\nDThq+PaQWp+ur+/XHFDUVEYSgEbgXY3oLqFFAB8RP9E23Dc/cjbpPEk+nrLW\nckzfN0hnfkAAGrm5DHfNR0Zkxayr0tn6XKJX7tjD/QUQ95MJVGQM9vDcKgEE\n2vCUUCRx//J8FvMkZRSuUtuHV2rqrlX5GAr2RCWsZjRMUvwkGRHTt7rDdUeF\nfG2Kh6KFLbNvWURC5Df4MxcTUd+q1Ab6fRFcH2QDWCpoJAwwQ8/HwLcsIqPb\nr1r6PMQUH4a3GvkjfI8KF4EJX/yxpTg7rSpnQMktjbLVviyPVWCH/psJMJBH\n80qWsV1C6tlOkOdDInzMFBQLwIXVfSGFmXvOjlBuMc/wBkpB57hazt55EBBi\n6HBKX+6RMelvEjZkst2/cGSVxt8IyxL62/5AXTRNd9U2rzDELJkE0pQPgSyK\na+Vc\r\n=ozEz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.9/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.9/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"ce69b0787646e11230e3d779b126e2555f66ded2","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"sewing-kit test","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.9_1559840031105_0.7675212321697877","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.10":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.10","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.10","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"55219e38fc5ab7d936e3b7f3140e25d8feacca9a","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.10.tgz","fileCount":1355,"integrity":"sha512-QDbN7EBlD85jCWgPeUajagou8dLS7Mt2ktOMr8GLhq08NXPissN6Uhk4B6111Z6XLKVp65VkhIfgVotLfWbW1Q==","signatures":[{"sig":"MEUCIEOcWoUpWyQS0fSozG/FPhVyUGZPYn2TAGxjBtu8XkKAAiEA829coWkPf+J6o55UqdXXDgiYyOcmIxdqVbZRm7aYzN8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3395648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAQUnCRA9TVsSAnZWagAA4F4QAIkL54pr4H8F2QveVjJ0\noAYH6lRaxdHQryRY4Khjlh2KuetUVNegOlmrv2CUavgMcY8OzAAlI1OF4B/v\nd8s9CJstA/XjvuVfBYetChz39N/iJbeZHwclOy/kD/tmjPLAS3DA3adCX3BK\n1a4J9XRVwEKqYImpqk4MY/aaPa7zIjFwGoFLAd416FTwh5fu1+6SRDKwo9FM\njn5+PC9Jb+zl303RBimXG933+c83RUsRoVSfreMxImQDPkKmBAw475F5ZxdR\nDNGLsPVbp9FQi4R4Jjc3ZBxOD9DywOfgwilt7EfqfxtEyfQOxMhvG4W1ZPQZ\nJ8aq+aXtxLsJp1eB/lSBZTzMKQnTZ1yOJygVWDeyfhS7g6AXqfxJCavMhISN\ng+D5j1RCwOwGGYXBeHF27VdImMWEG91iqgspn+gHa4i8wazNNIo0sd4MvLM+\nS4yqiSwBzl2H4Qe3DzP9HgjMRF5jTQ6NAVrby7OTLigNcwhgtW/5tFyeFIG6\nCxSA6JwMVvYdtJZXv1xcs5TJ2wXvnKQTMy6d1tzf+LwySvF1nl7GT3MSXTR3\nkgT4ZfdGoFvviy/cZLgIX4XRppoeJt16O10Px5CZnDS6vRqtplUcB/Jm3Oei\nQSsm0SXrNao8wgbkPLkTKYbdT4kLNbS/GzeTugbbDRfSJVJMd+F2VsiN9MOd\nk8S2\r\n=M0Q1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.10/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.10/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"be7855c4e7b42f27cf7fe4dba8c8527ac194d23e","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.10_1560347942874_0.07763134795908955","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.11":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.11","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.11","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"9f15958c4ea45bca1a281a2a674fdff232bf4ed4","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.11.tgz","fileCount":1355,"integrity":"sha512-uqlrV4rGj43FKzMjW1FhzUrEkMlhTrNCksyGPPE1R6F5zIYtOzxGO6wiHeUpo9rZgbnVXsOu+IO0H8ISCsGGjg==","signatures":[{"sig":"MEUCIGpkPAUEYFut6kzI7WqaH9HcQ84SJW5gguXu1pJrOLb0AiEA571SR7y6AgKX/H67TCUjOI+UtPJGUd8Qq1OLoI61pbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3315652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdATEcCRA9TVsSAnZWagAAJ50P/1hcFv3VwqA/8ZXZBBSg\nvzuyRlRef9Kt/08Hhh74QkhdI4m+6QCqYC8VjbERCxGTbD/dXi2S0+/20Uca\nBGhuDSVW3CS+rBBBlcyzlC0VFx4lKboQFAwg8YuKK8/a64mrhUzwoVZycy22\nrb4iILM0mN3YUBAwAPIN3OmNjkDM125i0zzSfoMEysHvGZmXlL5Qt2qLAslr\nu+LGldml74bXLIA+u4Sk78natDibqs49PdUzxzhSsXoxps/PxroHVaIqqNqe\nfB6oeKVaSdeKER0++ZNthbl32kw+uvD84rSKXjjxJggglCJt9xn8fQ1qbw5D\nHUwNDUMoNUxtGDHJFfS6TL+8ovgLEJD/pSBDTBuMTBgq0TYWcERSK4eiVM/8\nY6H0lfdATX9kjjHF0USM6Xn2PZ475M7eUSZD7CTj2W5Q0YyfzY/UilS+Wvab\nr2FU8/DHby/FQoqKjVTodCW5GKKpDaKQHqRao2chIkGC43w3Pd+SE3AKaImT\nw6jaXpUYL0r9PCKSQm+JKhCwRNfh6hwOfyJLEl6M1Y8IThoa23J1clhE5/hd\nauZ2bIH7C96I8M9dH1Aiwy+zgME5faQm5Jc69SEp4Gp832eCaeIiWUHsVPy1\nNSg7tLMG/XzOyJ/KkJe2RI7J1kFTG0IyvNhFY3zEZy50Ddm0k4hysMXUdWxy\nBcgf\r\n=SWBg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.11/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.11/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"807834b276e83bf364cdddfd23b9b372b81df68b","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.11_1560359195752_0.48201068919005063","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.12":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.12","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.12","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"b62e01cccf5a4759e5582c553c0a75e9ad4b6f21","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.12.tgz","fileCount":1355,"integrity":"sha512-wlitUbzlOMJb4oJI8flaaXv/g6ibiPGDaNIsbwpyOT0+SOIajUB67cJR9EW2xNemZ0AcYO6WOvC7DfASO8B61Q==","signatures":[{"sig":"MEYCIQCVE5ABi9UhoVuIOSnOZE8JxeAMSZhHwRB6F4bHmODoWQIhAIqqdaiQkVAtY77v/nUkAd63kCPAPVCrnqNJuwYBiD6I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3315652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAUTDCRA9TVsSAnZWagAAqSYP/1lUh52nkyUplTqCqAtg\nUrc6y9ZJ5ReTNkDmbog9A+53WsI+qNmSpN7dsj4GMCxaC4iq5rz/zZSU39xt\nV0OpRO+17dDnmbKKsUxmjQqBrZj2ygVAssZVIhsC3yI7Ysh0DDV9zm+Li7bY\nGNlqDlNW4V3MtENi9FR3pRgToDZqArFGoaEAOxXVDK78eRb1BIyknmdRtuG0\nizAUP7quap+mJr/0b753p3VCSsLDzFY174/Bn30xDKDK1q3+CWX74Mt8zgVp\nr1yOgpyv3Tm1QrtKffhHLaLqcpAAiFt1zaX9DPnh29JqnF0thnA2ReAXKy2s\nlUpsSAGG1d54RNxMY60LGM4dBlbLkDz4l+qOQAL8QswWqWYVhOw/wwoOCMRe\nqRWsYcmTphugpRIz+Kf9RDghm88XdnavvCnWBmi5NcNEA7lXbSD28ES4qIKV\nRFyxpszQDfbxHW3wHB1zXHbHfyzpVs2vs0s6rLi436fT17v0gh1hMBMjYAW5\n533K5e7SJoTk5RaCjtulRBY3FSTHYDQrcyhr5ik972wLrAO6No/k7NBCx+Ds\ne5FP9PakQobDgk5FBSQdNdG5RyL6iEYliexz4rl1tcPPwuhcK9N6V1Hh/1Qs\n0HmWoOSh3o6DFgpiZoF7Lbx1qiv3HMvK3xOGVgevcUthTdN/nf5Y1KVSeS8N\nYMsh\r\n=E7dE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.12/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.12/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"e9ee07b5fcea333b3f40ce92ae893c5849986894","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.12_1560364226652_0.673358383702491","host":"s3://npm-registry-packages"}},"3.6.1-pre-commit.13":{"name":"@threekit/polaris","version":"3.6.1-pre-commit.13","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1-pre-commit.13","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"asaeed3k","email":"asaeed@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"ce835aa3f4205d34ccb240d0932d5acdf3f0597b","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1-pre-commit.13.tgz","fileCount":1355,"integrity":"sha512-SB78iugPxlRLSg0AM2XuggbFnPOEtmSGZgFBe2Yvd8Q8qEscjzuDinQ0GK15+TmUiJZ8FdiWMj9b8115A8nVCw==","signatures":[{"sig":"MEYCIQDmGopRZR9jvmXdCN2vf5PFhXywQILyn2bUKMHZ4Pf56AIhANd+a//EV+AQWKypZRSUU5geejrYhbXbJ8Mc/H6CA1yi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3315652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdA/cCCRA9TVsSAnZWagAAkScP/ijRIMsDAHCgoYWD3cOS\nQFLVtn1jnJiBhyLn+0FM2bkGuWepKaSoAD7O9K+Ey6l3AqyGleytvIT170DL\nyUlWF81bb1NPvxDPnNGRAGnMTaGyVRWE6ixVJx10PDApf1337ChZiLnIYc4z\nCeRsVms84c4mNAnv9PH/IfQ1aapGivaURn6ZvUeyZehRKrNv3HYuFrBvriID\npJC2Irf/PxtNp/cj/kw4OXWmjOhnOdPBFtC4QreTBZ/J6KTJgv0/cpYtbOYj\nEcufKAjwz1LySwU2d/kv2m64cUwdMDaYS+bB0lrKQym9a/o66oHSbLwKYEK6\nPNM+EXjCRswCmpgd5JqjETPqGF28Y9JOqGwGlKl+oA5iZLypuyYJQkk5bIUL\nrk9coZliTxh3E0kjeTE3evM9IHT7UC399a0+p/0TWMm5IU4kZkK1rWcZEuXQ\n+96NEZgaL4I931f5kV/O+loHHhMA8CzTrkWDsReHCGWNDJ3ndNjkK9ID5FGH\nKFHkEgcNWsbap+yFWbBH21nYdOQlNibJdXCueUwNJ5NE2DhENsSX2rHYM/Wr\nw42p/yU6jWlljauDPMWQS761u1Bo4SGCHnG4gyvKSO27Qe3vEJLpks2BUW4t\n1HN2G5+83yOAw7oYddWg9Lwnu9Pil2wIx2lT7JTDLMNobFHo9c2XI4x0/AN/\nmQ1g\r\n=1wxK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.13/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.6.1-pre-commit.13/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"e3d57ba18d79e69e16933bd15c2cb21edfa85ec2","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1-pre-commit.13_1560540929742_0.8628196610621108","host":"s3://npm-registry-packages"}},"3.6.1":{"name":"@threekit/polaris","version":"3.6.1","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.1","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"asaeed3k","email":"asaeed@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"9cf6a9d7d5273c22b23b1b754be0f226b7c90fff","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.1.tgz","fileCount":1355,"integrity":"sha512-gcqo6GOJTiUQEADmbkDkNKDfixe8f0rFBsNLXJSrsKp6iykTu6j8IdCCu5EPX08bKZqNFmxr7mrrDpTjfeKXyA==","signatures":[{"sig":"MEYCIQDH92pNVY5++IGd8WcMroaPHOkTNEvhzGIsB5IiR5wrQQIhAIrqkvahB6IwHjPvBrR72Rb8Cn4nH8gyUjkNSYgFDxoR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3317415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB+U+CRA9TVsSAnZWagAASckP/0TMUfhPz8VNzYKbZFTm\nWkLl2f1kavCdz5fTSoeptwqQNwxRCYekJGYNKqFPnTOShVcvilTTok1+3czP\nvcgiDFJVaX3QuvK3SHJ32O2Baxwj9NKtVxIJhk0hy+MHT5bLSWWHpbvFxcjp\nLAifi4iGO48RZ1ln7szgarn/tNvse8qrxAI/7m+GHvr3FxDQhStprEBKtRgr\nNpGJlvBmWNGTI9BzJ6tqROuXvJu8wfF/JwV4IufUagj+CZLQdruIvgJl2YWy\nOKwXFWP6xSXiDlD9GL3KkQBD6sLFz9N2Id2QYMZGo3MU07lEsqM2pUGGXyRX\n6OCatfhQRc7cJGzf3oCs0By4BHSFDi40O40z3t0jHqQ78hGpllxlj5Svnkhl\nzXzSnawrrcw8P/dx8wK/b7oujX0cSGTOi6E6C5llDyhAqEJ1GrV2yXTRIvbu\nXztOJmOMCteczD8dXyNqwFledmjTqBAQxvAmAVV88D5SyOeBZAFBX3ONrLJD\nQJEj1TXO7YW8+1nIofKLeKE6SkFuwVNnh1jEtN+5h2/pbiSDSx19013iMB0I\nmAgSSaynwbsI4XHydLV5QTpQoX6RdsjfhZONp6Vd3YYq2sde9PbHcXvHrZGU\nLpJIuZJgH7ad/ikw6AsOCfkVZb9SCadj+k/v2Op2tF0Li0idWLr6NkrCwmkw\nqAll\r\n=P8su\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"f135665145bb0e437c01ac1440f01c1d94ef4a5e","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.1_1560798525318_0.7625305506059463","host":"s3://npm-registry-packages"}},"3.6.2":{"name":"@threekit/polaris","version":"3.6.2","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.6.2","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"asaeed3k","email":"asaeed@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"21b2f59feb81dbf8b754b69746bb82f4ea64daf9","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.6.2.tgz","fileCount":1355,"integrity":"sha512-YzrZK+r7aI91rrEc5S4W4Yz2/YFVcXXgs1P+QbF2gojNJKhvQ0/na2A0vwpHlDMJ6q8N3y964EPocT1RwTWasg==","signatures":[{"sig":"MEYCIQDhDS18MoTW2/eoq0ry5XEeJp62Iq+mA2NnXc5436HZoQIhAOsESKm6E5yH/53uwsoiQzQljo6/KVLK1T0LSMQyP7uR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3317989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCn1TCRA9TVsSAnZWagAAs50P/02VBsdPBxMWnW8aWD0v\nRecHpsYx77/rMR43wO65qgegT5j7u5UpeegVK6gjlPMROB8fFaTJB7Op/Osf\nJ8sFenQRNeToRn9YKAXf0uYZfe90y13MtE9X04bXD7Stry1ACJ3h5/ECeCrp\n3EO/0QUEjtLQ8zp2d8AQfi8VfsgLvf9NUNcH9SQ/e4OZRSWOzLgYkF/lcChd\nER7Kbsg6l8cz1kHoZ9xrGjF0QFhqO325hmea7pUhHOAvaZzRffxNz/OMJMDg\nyO9BjsjN1FB0yur4okrVCBphf2H62dfbtUhx40m1kU1cEMmz748wqoYDgbdb\ndWGDxnMqKv5nOrfYoQ0FLHAHx6LZ0UyTtvB8Njt4rL/ByLOiZf/5OcPKeIjh\nzYAc7nXzG4iFWQFtEfeMG5onxmdP+q2ScUSP87shhfldqSr+XpQ2EkjmTSFl\nZlxT7tftvZdij+RmHRe6wzD8iDtgjPvp3Q/U9ZCIuBkO0I9Yfx/YUHj3HK0V\nrsa60GIRmLsevOg2IpeD/z34DInw9EywcNMyoAtuV2MK4GGRoTPBvRXqH4sA\nD29aqftZ0SSMTFlpg2J4f32EgOOFId2a98dmkNlhl//YgFNXd0kCzoLAVqOp\nQ7nHn1LEdROi84ufDyuUNxJ4AvVhuVRn638uZ0eQocjxpxEAhWNInOTmDROF\nSqLl\r\n=CKUA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"0c5e8d6b58dfe8453c348b59f0cf7e188c3eea9f","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.6.2_1560968530594_0.6772033241108011","host":"s3://npm-registry-packages"}},"3.7.0-artifacts.1":{"name":"@threekit/polaris","version":"3.7.0-artifacts.1","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.7.0-artifacts.1","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"asaeed3k","email":"asaeed@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"2fad3fa508b489a2353a82cffba569a70e6bb7c6","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.7.0-artifacts.1.tgz","fileCount":1355,"integrity":"sha512-3b0cnrgv+wGvlTKoICk3rxrnmm4c6lkAU6CMkl7QbprLiVQO+gmRhywgvLIHswWrjm1dt+gTq7D7eetgN1OaMQ==","signatures":[{"sig":"MEYCIQChAL8uflsHeryXu4sLvEH7uumNriGCHI6wtRqyyc0AcgIhAOujhEEmQIi7TaVTqbzAkURXn4AZuc4ycJOiDofbqVQi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3318460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDQIRCRA9TVsSAnZWagAA9UEP/jH9Uw4BDMJI0al0GskR\nXw2gS8Y0KRpS2TqWu2E7aLwvssfOV0DFQv8Vgg0qFUHuiT3pwE/CuZOdU2r9\n/5G8LSLPHToqHvalnFxWyYLw7P+8lhfz24Moq89Se7QMcfZqzZmpe/2Bzip8\n0XWjirDO9WklCBy87LX16xVjkzKg94Jle60wGFSKc+BHeMfEWPXqLxB3hq0q\n5sCm42GIT2afVNOUaIPJ6g5nw837LwfRJLbDfYdwd5iV1XTyncsnWHYMUmC1\nj4SKw8K3S4UOHTEpnvN4c5O5IFdEHPvqT/q5l0Q7QZb89+4Gso1exdUSYutm\n3DU2Mqy/3GjDvRlxh+voBfj4XmMYaK3Kt+sDFtAjCb/Auc57D0EPL+iZeAXU\nXyGdQafGpJwAFrt93FLG175AiFxfSc6/fMhSj39DYroILNfs3iSLSFmFIrg0\nwe/SKMCwHIojAd6l4S6yQ/TC2HocLpryZ90uzaz57W8MwbIrkqfs2vDFDB7+\nCqFeULtOPlqFwwtExN129WLSRul+nt6LI7C8lG8n8E+I9vpkeAn+pEODVRlM\n5iPvYQMMiPZQGtA9ewA6/b4oOBddpmtoBtF+3fqsE/fo9hSwVpYHd5fGW32j\nfmO6x6EQEv14/7FfmBbxQIxWfNsv51j2PUKKNwUyuCovgQ+BPi4gZSD4PIp3\n7zIm\r\n=W6qD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.0-artifacts.1/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.0-artifacts.1/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"6588cec35b1bb200c166a2a4c702b51682d2492c","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.7.0-artifacts.1_1561133584244_0.10325339069625583","host":"s3://npm-registry-packages"}},"3.7.0-user-menu-updates.1":{"name":"@threekit/polaris","version":"3.7.0-user-menu-updates.1","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.7.0-user-menu-updates.1","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"asaeed3k","email":"asaeed@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"0f7a6fbe9205b71673294cef2cca703f7bd61a24","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.7.0-user-menu-updates.1.tgz","fileCount":1355,"integrity":"sha512-e7MYKuIhBwpjJyXBGXq7yUGA15QPUyWHLb6BJAovFUsa6/hYdql2XTccIra57rC9eFZmrr7BkAfPPcouRPQ8+g==","signatures":[{"sig":"MEUCIQChOuU1MtI+vX3AzwqTWW5J8Cy7JuojGYBPtwdW7ADmKQIgXSH+w0SQfFgAe45C3FbcLRNiPxL8gW/q7hUv3uEQJok=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3318539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdENkNCRA9TVsSAnZWagAAcYMP/iqmAA3hSHr+/gsx+Yia\ndTl372e4261qGbfcl3v/PddeuDSZOKYuBcPT/0ur2YXUcuYLBXrpdTBTu4Zz\nuHpaERoPQJKzPyhd6TSIwykhvupkIRENEg0v08sLhtlLzsQnD7zN7iX2zKIB\ncIFOoAhm/RcvoivQMmr5uX+YwN6cJg2Jj8t1ZjCyZCI6mDzq4icYMt0DRMW5\nLHZOd/3nFPFwCIu1HKpruGWzAR5rjKswhMmEgBAFohaBS5mH+DtvKOpdUqvE\nJwwwMa49n3EvGf1xvUiUy6pJXsZS9xhftK9HfCHZLPOEZ6xwuqQrCDEE1jzz\n0Z74TnbP0fwdtxoGhYQEpFxnPSDAwMfGQWbUIdiHaNf+b2gACwLFiH5DrLl2\ne3gB6yNNOSjoDT2iNm7jVqpT+EdSVabZONvZJTIwqeP2HEoQ85luAH9iFy4h\n92kP/AuqNJKkYSL/tTttMdy+vQvRiSX5OWRa1Cj4oM12bRhcnnMuKws8lHPZ\nFfduBlSgn7coi0P/IgfT3z64s52hxOd2Ph3PtHiX0eQlE5zlNHgyKz31i3Ok\nu6L0wKJpnBqx0VMIYDxUVtI1WctCiGbnh9tmh2d2gseInV4Loyk0080QHHgY\nJMfayw/pCU8Mf1sqPVwhJrXJaONiuFFxtLaZu1iD5gcp7Wo89w65ibLCW785\nDgFc\r\n=KQOO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.0-user-menu-updates.1/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.0-user-menu-updates.1/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"ac85662a40957b7f0166edd51dd5ca0043910de5","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.7.0-user-menu-updates.1_1561385228647_0.7719283125299865","host":"s3://npm-registry-packages"}},"3.7.0-user-routes.1":{"name":"@threekit/polaris","version":"3.7.0-user-routes.1","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.7.0-user-routes.1","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"asaeed3k","email":"asaeed@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"c21e874d90113478539af7593dc5a30fefebc149","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.7.0-user-routes.1.tgz","fileCount":1355,"integrity":"sha512-hvfiQltvuYkmDCpMy7EN8jL9AwmjHYZKejPtkMLxPNcESiB1HqjzLwNyQQ7BEcWwFqwncqbdgqhJmGZOxne5rQ==","signatures":[{"sig":"MEUCIQCPAW50R/4wkjWWdEjQYLwPJGXRRCyHNmzQV/U58uvckAIgQtuZgy5cUw92hH8WS5R9J/uZsQpcoNRxthegLcJgdLA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3318619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdER9wCRA9TVsSAnZWagAAKUIP/1WkUWH49tEEixQKiWvh\nuWVQAkHslkgTif4b72L+YvRrFZzebMeNn5vacaJRI4SRqYBBnPogwQJTk8fE\nasFN7XfTCkiTP+QKYjkF0xXXEulGiFUsq6zipR9GD0iJ4Hp0bCFpVsfXr6l7\nSrs892WST9JHRUE7N52Jz+jLmb16+3rNQaRlVSM9LsAXL+k8x2xu1KBblmMI\nJFCunykvYng1XTu7UocnlRXyeQoNND2myHYpchyXmzRMK/DFfa84+13SMLIp\njCb4YycNXMcJR/j5t29iywT6r7cIIfvG6YmaLNLv0K1DbdZQ9e9vFOZYCgU9\nYgxishfMlKz6p0+a3o0ARAEH48w6E/SacXoQmFKJviJcFcxqAjaFARV2QQ/H\neoZfNYQFx5kLkOtO0DO5kohK2UKN3GtPY0xkvv267QH+uLTkeQ2CZALrQrBk\nST2bjOuDlSVsDQ/DyKBufsZwimXpU6MqRuRceXwF3zgIc2jQ0YCi9q60KLH3\n8gaKSjTkkTnBzx0S3tdestm8zuExj6lzg61wrgWuZYv+5nccaojcIzDrERag\nCZ/xV5E9qFMxFeqeOEnyUALVhK2Wz6te0KsDnCytMC8JN4kshhNoQfH+/0A6\n4fk8VKlWXywdo0Y/SgHlUC/NJiEvtE2X36i/YmkZ/wnMyQU9tBlBKo1Z8gax\n1ri0\r\n=X2gD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.0-user-routes.1/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.0-user-routes.1/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"f3e8c842f2417446b2542437555de34757c6bfae","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.7.0-user-routes.1_1561403248104_0.023198483138266335","host":"s3://npm-registry-packages"}},"3.7.0":{"name":"@threekit/polaris","version":"3.7.0","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.7.0","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"asaeed3k","email":"asaeed@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"593a86d1d664b861d9fc72babec83516ddd51529","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.7.0.tgz","fileCount":1355,"integrity":"sha512-WNF0WmzoOM9MtyvjIo/EmpeltdDSl12C6GKuWo30D2W5mdLyz8Qwga2r4yW4QSg7oLAGYVr9aQU95STagPzDvQ==","signatures":[{"sig":"MEUCIQDhT9hVpTLTUgC+tXDwkgs14M0RXarkYF9hsG4ui3k9vQIgEJ0ZnfShkBVaSJCfmdg7Ho2TXmbjxHZCrqxflm1zAFY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3318531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG4+ACRA9TVsSAnZWagAAuykP/jhRnSfTvPXy6NcoK8kr\naOdI5sxeOOQAbdOPVDBKlXA83ccWgfTg1ooJGD+plu293w1H+RLKlp7s3ous\nrd1RTrHKYx5tJczwNgaBq0q3Elk16si10yKBqpc03crk34Yz4k3If6MmePxf\nQ3GEXmQZIbExo7gXCco6b+DP9HFBCZ4wJBkaTgKmYudTvc64izCZ9JRp+lHY\n1uCNaYtFIAOvHadaoiuT4WruR04fWMues6Xqgwl0ycsIye9uCuwtWAiBXRj5\nw06ZkuOEm0ysoh2j2iv0/4OVvmtU+CxnEYdcD7ro2/EB+i5o5PVEGDkCMlFQ\njjDjKCLQJpCV+il1itjXOPUS8hmWI0+1TjGeGlDmaJM+64fW26/byEofh99f\nOIWmXjh3TEc7igxuG9K1NgVUSmDUhegXziuN7MpL/UgqmdTd15vRMw60ZZXG\nvdJsCO6oYEjdXPkVqC38ZulSECyF4/Xy80VYPHhUdWZiBLe7S/AhKlHWdhhP\nd3yJRv7uD/48d5xRTXysp9Ie8eZlHwVsGoOKzmGC+6hm37muMEbScUcPfQGF\nWsRCyA2MeNPgK5jiu3/0yvArPZ535AZFl83zzsLDegJpHiSkJnPIUp1wBfUp\nk3/BC9ETDv9BhstSCq4yNmiQh0V3+tXVJl6bOad+fNT7R6Up/TN2uduC4USK\njHKb\r\n=1Mj7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"12f23e884054734c449e3ca215b7cb20bc5361d6","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.7.0_1562087295890_0.749827629414759","host":"s3://npm-registry-packages"}},"3.7.1-no-changelog.1":{"name":"@threekit/polaris","version":"3.7.1-no-changelog.1","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.7.1-no-changelog.1","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"arobertson1","email":"arobertson@threekit.com"},{"name":"asaeed3k","email":"asaeed@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"38fe63cd56eb800f5c38dac39eca49c31640c2c8","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.7.1-no-changelog.1.tgz","fileCount":1355,"integrity":"sha512-scszLymtHGEg/1GN4VeV+sLdE6sfIny175zaMBvM2/0fsJDKmlj/lHcZbZM80eO305RhtthLAy5vnBdbEY5EXw==","signatures":[{"sig":"MEUCIQDB4Lj3bHe4zH5jK7KmDvEUNB2XZ9RHcjVbW83tPxUjTQIgNPv0Xt0H/idQYbkbxhz8iW0MoB525EfbQrNgp7k1+o8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3318905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdI60PCRA9TVsSAnZWagAAOuQQAIDnpjTpgogHGDHDWvkI\nHVpFhda8Y4nA/hgiFYr6AH1CnN+WRUIZ8T9BGUfDoPsa+b1M+23FLcNdeGa3\nL6pw1R2jcKN2/659MrrVKP+j66iw3jjVc/8ghYCQz9YTgLIrV5J1/B7kV6ps\nJppEVRy2Bxul8KteVsz3aRPy1OlruVQPvNzwNbrkewqMkyjqHJkVAWKgt/g0\nk3t9Z35XQlyDuE8wDuKJC0djuCY8t2yqxOnm+OMdOpWCKmug/NQPd5aohHKQ\nNsrU7fsnV+4tdv1fw5j2rzKpHy2CBvdYQ7cKzOJmOx8K2qi7QfKB5QzoAzCk\no87s7VWe4qEb7Zd8fD7o883jfLJt3U+4mRVLiDv+glpEazzOq6TQexcAjnaV\nj5WwcGHUAkXT2t1dxDrpCCfguhtD607B8K24r2MyVP++PDwzWwLNAJLXcatB\n/bwnXR48TXMvZAhEV+jyxiUq9yzBdSzxtjgo2Yj/zjHjj5nA4Cktq3kqYhqb\nHH8ESLIXS4M+2ow232E8C760BvVB2Z2H/HjcglIih/Qer0DWcWhZMgW+R+uF\nzgpWnWLx7RIFUvQFDRuJFCSEGJsIM9Gb7v1YGG6S7Qf6fFjz+PxJNZFHpBMQ\nkFT6Pq8AzRbIHCNINa55O2I5RD4b82ERk+RlbqKW7+XbYifr+f3BNCpDiTRO\nDci9\r\n=bp+k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.1-no-changelog.1/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.1-no-changelog.1/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","gitHead":"55a9b5e6ba4ae8b6f95a0f786fdd95d93e83e930","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","tslint":"^5.18.0","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","@threekit/tslint":"^1.0.0","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.7.1-no-changelog.1_1562619150636_0.1848650155653817","host":"s3://npm-registry-packages"}},"3.7.1":{"name":"@threekit/polaris","version":"3.7.1","keywords":["shopify","polaris","react","components","component library"],"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"@threekit/polaris@3.7.1","maintainers":[{"name":"ahupe","email":"ahupe@threekit.com"},{"name":"alacompte","email":"alacompte@threekit.com"},{"name":"arobertson1","email":"arobertson@threekit.com"},{"name":"asaeed3k","email":"asaeed@threekit.com"},{"name":"bhouston","email":"ben@exocortex.com"},{"name":"bryanlarsen","email":"bryan@larsen.st"},{"name":"cdeng3k","email":"cdeng@threekit.com"},{"name":"dphil","email":"dphil.pub@gmail.com"},{"name":"dsturk","email":"dsturk@threekit.com"},{"name":"fgrimshaw","email":"fgrimshaw@threekit.com"},{"name":"introvertuous","email":"theramin108@gmail.com"},{"name":"jackcaron","email":"jcaron@threekit.com"},{"name":"luwang","email":"lwang@threekit.com"},{"name":"pkumar54","email":"pkumar@threekit.com"},{"name":"theophilemot","email":"theophile.mot@gmail.com"},{"name":"threekit_robot","email":"devops-services@threekit.com"},{"name":"tpearce","email":"tpearce@threekit.com"},{"name":"wvl","email":"wayne@larsen.st"},{"name":"ziyang2go","email":"zwang@threekit.com"}],"homepage":"https://github.com/Shopify/polaris-react#readme","bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"dist":{"shasum":"aa772f355b98cca58b6d6cd9ca94d5fe648c1370","tarball":"https://registry.npmjs.org/@threekit/polaris/-/polaris-3.7.1.tgz","fileCount":1355,"integrity":"sha512-tCcKoYlwhWE7BcPlmZc9enR9Avmas8oH5y7iYmPrKr7UxatGGc5Eneq8gtXvTelq/kt+fR1W6KPof/JEt4aObg==","signatures":[{"sig":"MEUCIQC8B5Gt+QC6ZthZ0nkNU+ZH9fT0ugtkSmUI7CMA3YSzPwIgY/LbseJhr41HlOjKmGD8tqqYjfX8k9RYW+ogd1kPKVM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3318682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLOmSCRA9TVsSAnZWagAAHBoP/jvfNJWqf+G/Ms5MQQIF\nFaQirvQP3y8chlfDHf5ht9fiz1sEiQMSVOKojlYZzhUQEtQITwX/JaosVqlD\nLcjlY3UVg3ybYq7xLcBfQslXXTz0smj0MCjVOSqdaLbMKaq6gI5S3F1YcP5M\nLnGG6a1DvR0BHd7qlFi1NwgEIG/C7mAoh+D6YGXz9mCugvkbldhUfFhX9/dT\nBWEoHWxwHsf3AFTrIPRPowI9zVaHJnEPKU/ouboAI98vNMXbY8tx55QE17un\nXztju1vHuqhhILBYBIvo+zlNENuF3kPlq7cbE8cJS/lOlknbzEucSDQHfj1K\nLJSZvoyudamBx/XqgnvX3h/wAJPxGuzA/pU5YKjKIa6ew7Wu6Oeicg+mzGFN\njoSS0z/5UWjqS3NPvDwHDbOVO5TLUN73Rz9PZZXkGemMFL/JaVL7uwmPJqD3\nj+F5Ycpxh4Vj8qxesi5lPi6fd21nyaiYvxInmQNcwD7tA05ElcTaJhrKT6X6\nYg+PPzsXZpcmSQU5IWca3n5NCUGtujA2KglOFh3eMDU3ZKw8Detc5YO/u8Ll\nucJQ94kwe9FIFKLXVCDAFZun+p9y2mmEO1frgHgv76P3ctEvt7joy0zgoBfX\n6WyhmC1kbJ0AAsnKXhvYpMcN4z4rX3zAmNYZwakTvS3iHtTHhySP07fN6Mmh\nCaEj\r\n=t57e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","module":"index.es.js","gitHead":"55a9b5e6ba4ae8b6f95a0f786fdd95d93e83e930","private":false,"scripts":{"ts":"tsc --noEmit","cdn":"npm-run-all secrets cdn:deploy","dev":"npm-run-all copy-polaris-tokens storybook","lint":"sewing-kit lint","test":"echo Error: no test specified; echo Lines: 0.0%","build":"node ./scripts/build.js","check":"npm-run-all lint ts test","clean":"rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","start":"start-storybook -p ${PORT} --ci --quiet","format":"sewing-kit format","precdn":"yarn run build","secrets":"ejson decrypt -o secrets.json secrets.ejson","test:ci":"yarn test --coverage","version":"yarn run readme-update-version","check:ci":"npm-run-all lint ts test:ci","optimize":"node ./scripts/optimize.js","prebuild":"npm-run-all clean:build optimize copy-polaris-tokens","storybook":"start-storybook -p 6006 --quiet","test:a11y":"yarn run storybook:build && node ./scripts/pa11y.js","cdn:deploy":"node ./scripts/deploy.js","prepublish":"in-publish && yarn run build || :","test:percy":"yarn run storybook:build && percy-storybook --build_dir build/storybook/static","clean:build":"rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"","postpublish":"in-publish && npm-run-all open-styleguide-pr || :","test:coverage":"yarn test --coverage","build-consumer":"node ./scripts/build-consumer","storybook:build":"yarn run copy-polaris-tokens && build-storybook -o build/storybook/static","build-shrink-ray":"yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js","heroku-postbuild":"yarn run copy-polaris-tokens","prebuild-consumer":"yarn run build","open-styleguide-pr":"node ./scripts/open-styleguide-pr","copy-polaris-tokens":"rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens","preopen-styleguide-pr":"rimraf sandbox && yarn run secrets","readme-update-version":"node ./scripts/readme-update-version"},"_npmUser":{"name":"threekit_robot","email":"devops-services@threekit.com"},"threekit":{"users":{"@threekit/app":"threekit/app"}},"stylelint":{"rules":{"selector-class-pattern":"^[a-zA-Z][a-zA-Z0-9-]+$","selector-pseudo-class-no-unknown":[true,{"ignorePseudoClasses":["global"]}]},"extends":["stylelint-config-shopify/prettier"]},"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"_npmVersion":"6.9.0","description":"Shopify’s product component library","directories":{},"jsnext:main":"index.es.js","resolutions":{"@types/enzyme":"3.1.14","typescript-eslint-parser":"20.0.0"},"sideEffects":["**/*.css","**/*.scss","**/configure.js"],"_nodeVersion":"10.16.0","browserslist":["last 3 chrome versions","last 3 chromeandroid versions","last 3 firefox versions","last 3 opera versions","last 2 edge versions","safari >= 10","ios >= 9"],"dependencies":{"tslib":"^1.9.3","lodash":"^4.17.11","core-js":"^2.5.1","prop-types":"^15.6.2","@types/react":"*","@babel/runtime":"^7.1.6","@shopify/images":"^1.1.0","@types/react-dom":"*","@types/prop-types":"*","lodash-decorators":"^4.3.5","@shopify/app-bridge":"^1.0.3","@shopify/polaris-icons":"^2.0.0","@shopify/react-compose":"^0.1.6","react-transition-group":"^2.4.0","@shopify/polaris-tokens":"^2.1.1","hoist-non-react-statics":"^2.5.0","@types/react-transition-group":"*","@threekit/shopify-react-utilities":"^2.0.8-threekit.6","@threekit/shopify-javascript-utilities":"^2.4.1-threekit.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.2.2","glob":"^7.1.2","svgo":"^0.7.2","chalk":"^2.4.1","pa11y":"^5.0.4","react":"16.8.6","yargs":"^12.0.1","crypto":"^1.0.1","enzyme":"3.7.0","marked":"^0.6.0","rimraf":"^2.6.1","rollup":"^1.0.2","semver":"^5.4.1","tslint":"^5.18.0","aws-sdk":"^2.58.0","codecov":"^3.0.4","cssnano":"^4.1.8","js-yaml":"^3.12.1","postcss":"^7.0.8","shelljs":"^0.7.7","archiver":"^2.1.0","fs-extra":"^4.0.2","react-is":"16.5.2","copyfiles":"^1.2.0","node-sass":"^4.10.0","puppeteer":"^1.5.0","react-dom":"16.8.6","babel-core":"7.0.0-bridge.0","in-publish":"^2.0.0","typescript":"~3.1.6","@babel/core":"^7.1.6","@types/node":"^8.10.17","change-case":"^3.0.1","gray-matter":"^4.0.1","npm-run-all":"^4.0.2","object-hash":"^1.3.0","babel-loader":"^8.0.4","@types/enzyme":"*","@types/lodash":"^4.14.108","generic-names":"^1.0.2","postcss-shopify":"^2.2.0","@storybook/react":"^4.1.6","@threekit/tslint":"^1.0.0","isomorphic-fetch":"^2.2.1","rollup-plugin-json":"^3.1.0","rollup-pluginutils":"^2.3.3","@shopify/sewing-kit":"0.69.0","react-test-renderer":"^16.3.1","rollup-plugin-babel":"^4.2.0","@shopify/js-uploader":"github:shopify/js-uploader","babel-preset-shopify":"^17.0.1","@storybook/addon-a11y":"^4.1.6","postcss-modules-scope":"^2.0.1","@storybook/addon-notes":"^4.1.6","postcss-modules-parser":"^1.1.1","postcss-modules-values":"^2.0.0","rollup-plugin-commonjs":"^9.2.0","enzyme-adapter-react-16":"1.6.0","@storybook/addon-actions":"^4.1.6","@storybook/addon-console":"^1.1.0","@storybook/addon-options":"^4.1.6","@types/lodash-decorators":"^4.0.0","@percy-io/percy-storybook":"^2.1.0","rollup-plugin-node-resolve":"^4.0.0","@types/enzyme-adapter-react-16":"1.0.3","@commitlint/config-conventional":"^8.0.0","postcss-modules-extract-imports":"^2.0.0","postcss-modules-local-by-default":"^2.0.4"},"peerDependencies":{"react":"^16.3.1","react-dom":"^16.3.1"},"_npmOperationalInternal":{"tmp":"tmp/polaris_3.7.1_1563224465902_0.3342323576988495","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-02-08T03:01:54.743Z","modified":"2026-02-10T15:58:16.027Z","3.6.0":"2019-02-08T03:01:55.058Z","3.6.0-threekit1":"2019-02-08T20:29:00.481Z","3.6.0-threekit2":"2019-02-13T01:45:24.324Z","3.6.0-threekit3":"2019-02-28T20:42:43.647Z","3.6.0-threekit4":"2019-03-03T23:38:16.886Z","3.6.0-general-tweaks":"2019-05-16T19:59:53.556Z","3.6.0-threekit5":"2019-05-17T13:04:12.956Z","3.6.0-threekit6":"2019-05-21T14:01:51.538Z","3.6.0-threekit7":"2019-05-24T17:27:35.809Z","3.6.0-threekit8":"2019-05-27T19:32:25.156Z","3.6.0-threekit9":"2019-06-04T14:28:42.680Z","3.6.1-pre-commit.1":"2019-06-04T17:39:05.646Z","3.6.1-pre-commit.2":"2019-06-04T18:01:24.296Z","3.6.1-pre-commit.3":"2019-06-04T19:43:11.162Z","3.6.1-pre-commit.4":"2019-06-05T13:51:39.353Z","3.6.1-pre-commit.5":"2019-06-05T14:36:16.434Z","3.6.1-pre-commit.6":"2019-06-05T14:48:14.078Z","3.6.1-pre-commit.7":"2019-06-05T17:53:55.631Z","3.6.1-pre-commit.8":"2019-06-05T19:08:37.980Z","1.0.0-pre-commit.1":"2019-06-06T15:02:36.405Z","3.6.1-pre-commit.9":"2019-06-06T16:53:51.361Z","3.6.1-pre-commit.10":"2019-06-12T13:59:03.273Z","3.6.1-pre-commit.11":"2019-06-12T17:06:36.003Z","3.6.1-pre-commit.12":"2019-06-12T18:30:26.846Z","3.6.1-pre-commit.13":"2019-06-14T19:35:29.990Z","3.6.1":"2019-06-17T19:08:45.536Z","3.6.2":"2019-06-19T18:22:10.801Z","3.7.0-artifacts.1":"2019-06-21T16:13:04.494Z","3.7.0-user-menu-updates.1":"2019-06-24T14:07:08.835Z","3.7.0-user-routes.1":"2019-06-24T19:07:28.413Z","3.7.0":"2019-07-02T17:08:16.083Z","3.7.1-no-changelog.1":"2019-07-08T20:52:30.812Z","3.7.1":"2019-07-15T21:01:06.283Z"},"bugs":{"url":"https://github.com/Shopify/polaris-react/issues"},"author":{"name":"Shopify","email":"dev@shopify.com"},"license":"SEE LICENSE IN LICENSE.md","homepage":"https://github.com/Shopify/polaris-react#readme","keywords":["shopify","polaris","react","components","component library"],"repository":{"url":"https://gitlab.com/threekit/hub/polaris-react","type":"git"},"description":"Shopify’s product component library","maintainers":[{"email":"wthompson@threekit.com","name":"will-threekit"},{"email":"itserviceaccount@Threekit.com","name":"threekitserviceaccount"},{"email":"fgrimshaw@threekit.com","name":"fgrimshaw"},{"email":"zwang@threekit.com","name":"ziyang2go"},{"email":"dphil.pub@gmail.com","name":"dphil"},{"email":"devops-services@threekit.com","name":"threekit_robot"},{"email":"arobertson@threekit.com","name":"arobertson1"},{"email":"cdeng@threekit.com","name":"cdeng3k"},{"email":"zli@threekit.com","name":"zli109"},{"email":"dsturk@threekit.com","name":"dsturk"},{"email":"bgassler@threekit.com","name":"bgassler"},{"email":"afay@threekit.com","name":"afay1"},{"email":"lliu@threekit.com","name":"lilyliu"},{"email":"kegan@threekit.com","name":"kegan2"},{"email":"pkumar@threekit.com","name":"pkumar54"},{"email":"bsomasundaram@threekit.com","name":"bsomasundaram"},{"email":"csteiger@threekit.com","name":"csteiger-tk"}],"readme":"This is Threekit's fork of Polaris\n\n# [Polaris React](https://polaris.shopify.com/)\n\n[![npm version](https://img.shields.io/npm/v/@shopify/polaris.svg?style=flat)](https://www.npmjs.com/package/@shopify/polaris) [![CircleCI build status](https://circleci.com/gh/Shopify/polaris-react.svg?style=shield&circle-token=c8498f3af1d113fe3974c8881c4ce32ef09423c2)](https://circleci.com/gh/Shopify/polaris-react) [![codecov](https://codecov.io/gh/Shopify/polaris-react/branch/master/graph/badge.svg?token=IKyeKcpRs1)](https://codecov.io/gh/Shopify/polaris-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md#your-first-pull-request) [![join the Shopify Partners Slack #polaris channel](https://img.shields.io/badge/Shopify%20Partners%20Slack-%23polaris-orange.svg)](https://shopifypartners.slack.com/messages/C8PTBMWNR)\n\nPolaris React is a component library designed to help developers create the best experience for merchants who use Shopify. Visit the [Polaris style guide](https://polaris.shopify.com) to learn more.\n\n## App development\n\nFor more information about creating apps for the Shopify App Store, take a look at the [app development documentation](https://developers.shopify.com/app-development).\n\n## Using the React components\n\nWhile we do offer a CSS-only version, **we strongly recommend using the React versions of our components**. It’s the version that we’ll be using at Shopify. It allows for rich, complex components like Tabs and Popovers, and will not have as many breaking changes as the CSS-only version.\n\n### Installation\n\nRun the following command using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install @shopify/polaris --save\n```\n\nIf you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:\n\n```bash\nyarn add @shopify/polaris\n```\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.1/polaris.min.css\"\n/>\n```\n\n> Note: you can import the CSS directly into your project if your asset packager supports it:\n>\n> ```javascript\n> import '@shopify/polaris/styles.css';\n> ```\n\n2.  Include any of the provided components in your project:\n\n```javascript\nimport {AppProvider, Page, Card, Button} from '@shopify/polaris';\n```\n\n3.  Tell React to render the element in the DOM:\n\n```javascript\nReactDOM.render(\n  <AppProvider>\n    <Page title=\"Example app\">\n      <Card sectioned>\n        <Button onClick={() => alert('Button clicked!')}>Example button</Button>\n      </Card>\n    </Page>\n  </AppProvider>,\n  document.querySelector('#app'),\n);\n```\n\n### Building an embedded app\n\nWe provide React wrappers around the Shopify App Bridge (formerly known as the EASDK). You don’t need to go through the initialization of the Shopify App Bridge as described in the docs. Instead, [configure the connection to the Shopify admin through the app provider component](https://github.com/Shopify/polaris-react/blob/master/documentation/Embedded%20apps.md).\n\n## Using the CSS components\n\nIf React doesn’t make sense for your application, you can use a CSS-only version of our components. This includes all the styles you need for every component in the library, but you’ll be responsible for writing the correct markup and updating classes and DOM attributes in response to user events.\n\n### Usage\n\n1.  Include the CSS in your HTML:\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://sdks.shopifycdn.com/polaris/3.7.1/polaris.min.css\"\n/>\n```\n\n2.  Include the markup and associated classes in your HTML document:\n\n```html\n<button class=\"Polaris-Button\">Example button</button>\n```\n\n## Examples\n\nWe have created example applications to document some of the ways you could include Polaris in one of your own applications. Each of these examples includes further documentation on how to install dependencies and run the app:\n\n- [create-react-app example](https://github.com/Shopify/polaris-react/tree/master/examples/create-react-app)\n- [Webpack example](https://github.com/Shopify/polaris-react/tree/master/examples/webpack)\n- [Browserify example](https://github.com/Shopify/polaris-react/tree/master/examples/browserify)\n- [CSS-only example](https://github.com/Shopify/polaris-react/tree/master/examples/cdn-styles)\n\n## Development\n\nWe use Storybook to create a simple, hot-reloading playground for development on these components. You can edit the `playground/Playground.tsx` file to import the components you are working on, and run `yarn dev` in order to start the development server. Please do not commit your work on the playground so that it remains pristine for other developers to work on.\n\n### Testing on mobile or a virtual machine\n\n1.  Run `yarn dev`\n1.  Visit http://YOUR_IP_ADDRESS:ASSIGNED_PORT in a browser window from within your virtual machine or mobile device on the same network\n\n### Testing in a consuming project\n\n- Run `yarn run build-consumer PROJECT_DIRECTORY`\n\n`PROJECT_DIRECTORY` is where the build will be copied, which must be a sibling of the `polaris-react` directory.\n\n```sh\n# Example\nyarn run build-consumer polaris-styleguide\n```\n\nIn the example above, the build is copied to `polaris-styleguide/node_modules/@shopify/polaris`. And in this case, a rebuild of `polaris-styleguide` is required after copying the `polaris-react` build, but may not be the case for all consuming projects.\n\n```sh\n# Example\ncd ../polaris-styleguide/\nyarn run build:development\n```\n\nAlso, when running `yarn install`, copied builds will be overwritten and will require running `yarn run build-consumer PROJECT_DIRECTORY` again.\n\n### Visual regression testing\n\n[Percy](https://percy.io/) runs for every pull request. Percy is a tool that compares screenshots for every single component we have in the library.\n\nPercy is not always 100% accurate. Since it uses screenshot comparison, even browser sub-pixel rendering differences can cause Percy to ask for user confirmation of whether a change was intended or not. In cases like that, use your best judgement to determine whether you need to address it or not. This is why the choice to approve something or not is always manual. While everyone can view changes, only members of the Shopify team an approve changes.\n\n#### Manual visual regression testing\n\nTo start a server for manually viewing the visual regression testing examples, run `yarn run dev`.\n\n## Learning resources\n\nIf you’re new to React, we recommend you start with the [official React Getting Started documentation](https://facebook.github.io/react/docs/hello-world.html). As you read through the topics we suggest you follow along using their [React Hello World CodePen example](http://codepen.io/gaearon/pen/ZpvBNJ?editors=0010).\n\nAdditional resources:\n\n- Online training courses at [reacttraining.com](http://reacttraining.com), [buildwithreact.com](http://buildwithreact.com), and [reactforbeginners.com](http://reactforbeginners.com).\n- The community resources in [Awesome React](https://github.com/enaqx/awesome-react).\n- As questions and find answers in the various [React support communities](https://facebook.github.io/react/community/support.html).\n\n## Methodology\n\nWe set out to make our components easy to use. Each of our components has a well-documented (and fully typed) public interface with strong, consistently-applied conventions. This way, developers don’t need to worry about the underlying implementation. Instead, they can focus on creating amazing merchant experiences.\n\nWe ensure that our components are made for everyone. They meet accessibility standards and are responsive to any screen or device. We also put a lot of effort into optimizing the performance of the components, so everyone can build inclusive experiences that work.\n\nWe make our components flexible enough to meet diverse needs. They present the information you pass in and give you smart callbacks when something has changed, but they don’t enforce any structure beyond that. No matter what type of experience you’re creating, you can use components as the building blocks of your product or feature.\n\n## Contributing\n\nPull requests are welcome. See the [contribution guidelines](https://github.com/Shopify/polaris-react/blob/master/.github/CONTRIBUTING.md) for more information.\n\n## Licenses\n\n- Source code is under a [custom license](https://github.com/Shopify/polaris-react/blob/master/LICENSE.md) based on MIT. The license restricts Polaris usage to applications that integrate or interoperate with Shopify software or services, with additional restrictions for external, stand-alone applications.\n- All icons and images are licensed under the [Polaris Design Guidelines License Agreement](https://polaris.shopify.com/legal/license)\n","readmeFilename":"README.md"}