{"name":"gatsby-interface","version":"0.0.76-Elanhant-toggle-typescript-20200225T1908","description":"Component library for Gatsby projects","source":"src/index.js","main":"dist/index.js","module":"dist/index.es.js","jsnext:main":"dist/index.es.js","types":"dist/index.d.ts","scripts":{"test":"jest","test:watch":"jest --watch","storybook":"start-storybook -p 6006","build-storybook":"build-storybook","tsc":"tsc","type-check":"tsc --noEmit","type-check:watch":"yarn type-check --watch","build":"yarn build:types && yarn build:rollup","build:types":"tsc --emitDeclarationOnly -p tsconfig.build-types.json","build:rollup":"rollup -c","stylelint":"stylelint './src/**/*.js'","format":"prettier --write","format:all":"yarn format \"{src,.storybook}/**/*.{js,jsx,ts,tsx}\"","lint":"eslint -c .eslintrc --max-warnings=0 --fix --color --ext .js,.jsx,.ts,.tsx --report-unused-disable-directives","lint:all":"yarn lint src .storybook","chromatic":"STORYBOOK_CHROMATIC=1 chromatic test","chromatic:ci":"STORYBOOK_CHROMATIC=1 babel-node --presets @babel/env scripts/run-chromatic.js","scaffold:icon":"babel-node --presets @babel/env scripts/scaffold-icon/scaffold-icon.js","prepublish":"yarn build","release":"standard-version","release:branch":"babel-node --presets @babel/env scripts/prerelease-branch.js"},"author":"","license":"ISC","dependencies":{"@loadable/component":"^5.10.2","@mdx-js/react":"^1.5.2","@reach/alert":"^0.1.5","@reach/dialog":"^0.4.0","@types/lodash.sample":"^4.2.6","case":"^1.6.2","date-fns":"^2.8.1","filestack-react":"^3.1.0","gatsby-design-tokens":"^1.0.0","lodash.sample":"^4.2.1","theme-ui":"^0.2.49"},"peerDependencies":{"@emotion/core":"^10.0.14","@emotion/styled":"^10.0.14","filestack-react":"^3.1.0","formik":"^2.0.8","gatsby":"2.6.0","prop-types":"^15.6.1","react":"16.8.1","react-dom":"16.8.1","react-icons":"^3.2.1","yup":"^0.27.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/node":"^7.6.1","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-decorators":"^7.0.0","@babel/plugin-proposal-do-expressions":"^7.0.0","@babel/plugin-proposal-export-default-from":"^7.0.0","@babel/plugin-proposal-export-namespace-from":"^7.0.0","@babel/plugin-proposal-function-bind":"^7.0.0","@babel/plugin-proposal-function-sent":"^7.0.0","@babel/plugin-proposal-json-strings":"^7.0.0","@babel/plugin-proposal-logical-assignment-operators":"^7.0.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.0.0","@babel/plugin-proposal-numeric-separator":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.0.0","@babel/plugin-proposal-pipeline-operator":"^7.0.0","@babel/plugin-proposal-throw-expressions":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-syntax-import-meta":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.3.3","@emotion/babel-preset-css-prop":"^10.0.14","@emotion/core":"^10.0.14","@emotion/styled":"^10.0.14","@storybook/addon-a11y":"^5.3.13","@storybook/addon-actions":"^5.3.13","@storybook/addon-console":"^1.2.1","@storybook/addon-docs":"^5.3.13","@storybook/addon-info":"^5.3.13","@storybook/addon-knobs":"^5.3.13","@storybook/addon-links":"^5.3.13","@storybook/addon-storyshots":"^5.3.13","@storybook/addon-storysource":"^5.3.13","@storybook/addon-viewport":"^5.3.13","@storybook/addons":"^5.3.13","@storybook/react":"^5.3.13","@storybook/source-loader":"^5.3.13","@svgr/rollup":"^2.4.1","@testing-library/jest-dom":"^5.1.1","@testing-library/react":"^9.3.2","@types/jest":"^25.1.2","@types/reach__alert":"^0.1.1","@types/react":"16.8.1","@types/react-dom":"16.8.1","@types/theme-ui":"^0.2.6","@types/yup":"^0.26.26","@typescript-eslint/eslint-plugin":"^2.15.0","@typescript-eslint/parser":"^2.15.0","babel-jest":"^24.9.0","babel-loader":"^8.0.4","babel-plugin-emotion":"^10.0.14","babel-plugin-react-docgen":"^2.0.2","babel-plugin-require-context-hook":"^1.0.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-typescript-to-proptypes":"^1.1.0","babel-preset-gatsby":"^0.1.11","chalk":"^2.4.2","commander":"^3.0.1","deepmerge":"^4.0.0","dotenv":"^5.0.1","ejs":"^2.7.1","eslint":"^6.3.0","eslint-config-google":"^0.12.0","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^3.0.6","eslint-plugin-cypress":"^2.2.0","eslint-plugin-flowtype":"^4.4.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.12.4","filestack-react":"^3.1.0","formik":"^2.0.8","fs":"^0.0.1-security","gatsby":"2.6.0","husky":"^1.3.1","jest":"^24.9.0","jest-dom":"^3.1.1","jest-emotion":"^10.0.14","lint-staged":"^8.1.0","path":"^0.12.7","prettier":"^1.16.1","prop-types":"^15.6.1","react":"^16.8.1","react-dom":"^16.8.1","react-icons":"^3.2.1","react-spring":"^8.0.27","react-storybook-addon-chapters":"^3.1.7","react-test-renderer":"^16.8.6","rollup":"^0.64.1","rollup-plugin-babel":"^4.0.1","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-copy":"^3.1.0","rollup-plugin-delete":"^1.1.0","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-peer-deps-external":"^2.2.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-svg":"^2.0.0","rollup-plugin-url":"^1.4.0","shelljs":"^0.8.3","standard-version":"^7.0.1","storybook-chromatic":"^3.5.2","storybook-host":"^5.1.0","storybook-readme":"^5.0.8","stylelint":"^9.9.0","stylelint-config-standard":"^18.2.0","stylelint-config-styled-components":"^0.1.1","stylelint-order":"^2.0.0","stylelint-processor-styled-components":"^1.5.1","typescript":"3.6.2","unfetch":"^3.1.1","watch":"^1.0.2","yup":"^0.27.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,tsx,js,jsx}":["yarn lint","yarn format","git add"],"*.{json,md,yml,yaml}":["yarn format","git add"]},"readme":"# Gatsby Interface\n\nStorybook [available here](https://reverent-keller-9597e8.netlify.com/)\n\n![Storybook](https://user-images.githubusercontent.com/18426780/63871208-b9aea600-c978-11e9-9107-79679b699c6f.png)\n\n```\nyarn storybook\n```\n\nThese are some patterns and best practices we use when contributing to `gatsby-interface`\n\n- Use React hooks and functional components - https://reactjs.org/docs/hooks-intro.html\n- Use CSS props for styling - https://emotion.sh/docs/css-prop\n- Use `gatsby-design-tokens` for styling constants - https://www.gatsbyjs.org/guidelines/design-tokens/\n- Use compound components to make components more composable and flexible - https://kentcdodds.com/blog/compound-components-with-react-hooks\n- Make all PRs against the `dev` branch\n- Use `TONE` and `VARIANT` prop (when appropriate) to determine color styles and version of a component - see Button as an example\n- Make the component as generic as possible so it can be used anywhere by anything\n- In `skeletons` folder, these contain only the functionality of a component (no styles) and can be used within other components\n- Write Storybook stories for any component created - https://storybook.js.org/docs/basics/writing-stories/\n- Typscript coming soon!\n- Unit tests coming soon!\n\n### Required assets\n\nGatsby Interface requires the `futura PT` webfont in several different weights. These files are git-ignored, to prevent the unauthorized release of licensed assets.\n\nGatsby Inc. employees can download these fonts from [Google Drive](https://drive.google.com/drive/u/1/folders/1DA_iNzLbd1_gvU_FWTzYK6MgLSl85L4v). Put all those folders in `src/assets/futura-pt` and you should be good to go!\n\n### Chromatic testing\n\nTo run the visual testing tool, run `CHROMATIC_APP_CODE=<insert_app_code> yarn chromatic`\n\nYou can find the app code in the Chromatic dashboard - https://www.chromaticqa.com\n","readmeFilename":"README.md","gitHead":"90bafd8f136be7785ca63f8f69c862fdf8e02646","_id":"gatsby-interface@0.0.76-Elanhant-toggle-typescript-20200225T1908","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-FXAO52frvdx47WnlEnFb+KYp5cbjVZkpPZOvo7E4V7veig4CBqAcjUxNAzS20Olgad0zjy8OThmJwfJ4a5dNLA==","shasum":"8bd2fd1c50884b0e24f9dd9bca20a61060403321","tarball":"http://registry-npm.ywwl.com/gatsby-interface/download/gatsby-interface-0.0.76-Elanhant-toggle-typescript-20200225T1908.tgz","fileCount":156,"unpackedSize":2835222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVXCnCRA9TVsSAnZWagAAbo0P/itWUkEdGV83+0cjBwkS\n6Zrjx0Yr0Hwu9YifpIiQUOGW9vrXqHyFN9s1zF9gU9pYJSHvHpIH8upGacoR\nqdlIe1yoKUaOeMwHOiB1U9Hjs7Te+MbcT9o/64VfovdSlWzegGjyf7Hvz1en\nCndVLKrficGngqVHZETJeQX9VMT9sSwjunN6cciLtPWKtUlkFV2ljo/EOipi\nShZPY8z8nodle0RGiZhJvtkSLZBrKeNLRb/FLRIjYQZ7HaLQzhL7kZBipbCA\n/otkHtUMxN8XMhgrob+fCnGuhQAz+X7fsE5KBBblYkxMhIuIBOZTsHWR+c6l\nALj21xkwG4f64MvXujUTeDmsGvOM//sJKPRrwyRroYiRJ6bbDRDT8mbDJphe\nmY1NJN3mPjCyJKLJaa/gNs9gigFun7Scmrcbpbk1efuw/mcyw6C/TCZeqYZt\n3f8hh0X6xhg3iZr45pn/n5M3kXU5HpGgpzmle5h64NkNW/nJRJ0tYClllUXl\np+IH8yFVhXpKXvRZM8v3KYw+aJWrilbphQHAJ20FGoGkIselLeCC7vyJE5c7\nUAPswb2qau5e1lbz3aS7m0QriFt8ncmEHp03AEsrXAzuVor6CCyyRKe//RWp\nV9Rm87e6y6QHhYh17zTprcA+wg77+5oofLGDFqDs/q7MKSatIGXGxytXgkv9\nXlW9\r\n=zcgl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpF9QU7pYajYK1GmeIFeXjHSATO2MqRRTv+DI7HMG8VwIgdn5HVMcIr+tTMl2eA2Gi8NQFjl3KpStfjviJXW2T56E="}],"size":602224,"noattachment":false,"key":"/gatsby-interface/-/gatsby-interface-0.0.76-Elanhant-toggle-typescript-20200225T1908.tgz"},"maintainers":[{"name":"greglobinski","email":"greglobinski@gmail.com"}],"_npmUser":{"name":"elanhant","email":"elanhant@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-interface_0.0.76-Elanhant-toggle-typescript-20200225T1908_1582657702991_0.4098928374213837"},"_hasShrinkwrap":false,"publish_time":1582657703130,"_cnpm_publish_time":1582657703130,"dist-tags":{"dev":"0.0.59-tokens.15","fk-dont-scale-dropdown-item-icons-on-hover":"0.0.294-fk-dont-scale-dropdown-item-icons-on-hover-20220909T1236","fk-use-inter-for-headings":"0.0.285-fk-use-inter-for-headings-20220803T1338","greglobinski-buildLogs0-fix":"0.0.294-greglobinski-buildLogs0-fix-20221117T0130","greglobinski-CheckboxGroupFieldBlock":"0.0.265-greglobinski-CheckboxGroupFieldBlock-20210608T0902","greglobinski-empty-state-update":"0.0.267-greglobinski-empty-state-update-20210616T0655","greglobinski-google-icon":"0.0.262-greglobinski-google-icon-20210527T1135","greglobinski-heading-ui":"0.0.275-greglobinski-heading-ui-20220118T1330","greglobinski-headingUI-update":"0.0.291-greglobinski-headingUI-update-20220803T1421","greglobinski-icons-update":"0.0.247-greglobinski-icons-update-20210211T1151","greglobinski-logDrainIcon":"0.0.287-greglobinski-logDrainIcon-20220610T1255","greglobinski-modalPanel-update":"0.0.273-greglobinski-modalPanel-update-20220105T1344","greglobinski-plan-icons":"0.0.246-greglobinski-plan-icons-20210210T2008","greglobinski-plan-icons-cleanup":"0.0.289-greglobinski-plan-icons-cleanup-20220614T2028","greglobinski-plan-icons-update":"0.0.286-greglobinski-plan-icons-update-20220527T0831","greglobinski-progress-bar-update":"0.0.248-greglobinski-progress-bar-update-20210215T2217","greglobinski-progress-bar-with-second-value":"0.0.249-greglobinski-progress-bar-with-second-value-20210216T2327","greglobinski-raw-logs-ligatures":"0.0.264-greglobinski-raw-logs-ligatures-20210601T1626","greglobinski-toggle-update":"0.0.278-greglobinski-toggle-update-20220323T1121","latest":"0.0.295","next":"0.0.59-next.4","pr-review":"0.0.60-beta1","pricing":"0.0.37-pricing.2","revert-501-LogDrainsIcon":"0.0.287-revert-501-LogDrainsIcon-20220601T1647","styledFormElements":"0.0.62-styledFormElements-20191230T1628"}}