├── .babelrc ├── .editorconfig ├── .env.sample ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .storybook ├── decorators │ ├── EmotionThemeProvider.js │ ├── GatsbyIntlProvider.js │ └── index.js ├── main.js ├── manager.js ├── preview-head.html ├── preview.js └── webpack.config.js ├── .svgo.yml ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── __mocks__ ├── file-mock.js ├── gatsby-plugin-intl.ts ├── gatsby.ts └── svgr-mock.js ├── gatsby-browser.js ├── gatsby-config.js ├── gatsby-node.js ├── gatsby-ssr.js ├── jest.config.js ├── jsconfig.json ├── package.json ├── src ├── @types │ ├── assets │ │ └── index.d.ts │ ├── gatsby-plugin-intl │ │ └── index.d.ts │ └── index.d.ts ├── components │ ├── App │ │ ├── App.tsx │ │ └── index.ts │ ├── Button │ │ ├── Button.tsx │ │ ├── __tests__ │ │ │ └── Button.test.tsx │ │ ├── button.stories.tsx │ │ └── index.ts │ ├── Layout │ │ ├── DefaultLayout.tsx │ │ ├── GlobalStyles.tsx │ │ └── index.ts │ ├── LoadingIndicators │ │ ├── ContentLoading.tsx │ │ ├── LoadingSpinner.tsx │ │ └── index.ts │ └── SEO │ │ ├── SEO.tsx │ │ └── index.ts ├── icons │ ├── gatsby.svg │ ├── github.svg │ ├── loading-spinner.svg │ ├── storybook.svg │ ├── styled-components.svg │ ├── tailwind.svg │ └── typescript.svg ├── locales │ ├── en-us.json │ └── es-es.json ├── pages │ └── index.tsx ├── styled │ └── index.ts ├── theme.ts └── utils │ ├── i18n │ ├── index.ts │ └── supportedLanguages.js │ ├── polyfills │ └── toBlob.ts │ ├── styles │ ├── breakpoints.ts │ ├── index.ts │ ├── mediaQueries.ts │ └── spacer.ts │ ├── system │ ├── index.ts │ └── isBrowser.ts │ └── types │ └── index.tsx ├── static ├── favicon.ico └── logos │ └── emotion.png ├── test-utils ├── index.tsx ├── jest-preprocess.js ├── loadershim.js └── setup-test-env.ts ├── tsconfig.json └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.env.sample -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | .cache 2 | public 3 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .cache 2 | public 3 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.prettierrc -------------------------------------------------------------------------------- /.storybook/decorators/EmotionThemeProvider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.storybook/decorators/EmotionThemeProvider.js -------------------------------------------------------------------------------- /.storybook/decorators/GatsbyIntlProvider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.storybook/decorators/GatsbyIntlProvider.js -------------------------------------------------------------------------------- /.storybook/decorators/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.storybook/decorators/index.js -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.storybook/main.js -------------------------------------------------------------------------------- /.storybook/manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.storybook/manager.js -------------------------------------------------------------------------------- /.storybook/preview-head.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.storybook/preview-head.html -------------------------------------------------------------------------------- /.storybook/preview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.storybook/preview.js -------------------------------------------------------------------------------- /.storybook/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.storybook/webpack.config.js -------------------------------------------------------------------------------- /.svgo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.svgo.yml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/README.md -------------------------------------------------------------------------------- /__mocks__/file-mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/__mocks__/file-mock.js -------------------------------------------------------------------------------- /__mocks__/gatsby-plugin-intl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/__mocks__/gatsby-plugin-intl.ts -------------------------------------------------------------------------------- /__mocks__/gatsby.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/__mocks__/gatsby.ts -------------------------------------------------------------------------------- /__mocks__/svgr-mock.js: -------------------------------------------------------------------------------- 1 | module.exports = { ReactComponent: 'icon-mock' }; 2 | -------------------------------------------------------------------------------- /gatsby-browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/gatsby-browser.js -------------------------------------------------------------------------------- /gatsby-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/gatsby-config.js -------------------------------------------------------------------------------- /gatsby-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/gatsby-node.js -------------------------------------------------------------------------------- /gatsby-ssr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/gatsby-ssr.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/jest.config.js -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/jsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/package.json -------------------------------------------------------------------------------- /src/@types/assets/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/@types/assets/index.d.ts -------------------------------------------------------------------------------- /src/@types/gatsby-plugin-intl/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/@types/gatsby-plugin-intl/index.d.ts -------------------------------------------------------------------------------- /src/@types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/@types/index.d.ts -------------------------------------------------------------------------------- /src/components/App/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/App/App.tsx -------------------------------------------------------------------------------- /src/components/App/index.ts: -------------------------------------------------------------------------------- 1 | export { default as App } from './App'; 2 | -------------------------------------------------------------------------------- /src/components/Button/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/Button/Button.tsx -------------------------------------------------------------------------------- /src/components/Button/__tests__/Button.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/Button/__tests__/Button.test.tsx -------------------------------------------------------------------------------- /src/components/Button/button.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/Button/button.stories.tsx -------------------------------------------------------------------------------- /src/components/Button/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/Button/index.ts -------------------------------------------------------------------------------- /src/components/Layout/DefaultLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/Layout/DefaultLayout.tsx -------------------------------------------------------------------------------- /src/components/Layout/GlobalStyles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/Layout/GlobalStyles.tsx -------------------------------------------------------------------------------- /src/components/Layout/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/Layout/index.ts -------------------------------------------------------------------------------- /src/components/LoadingIndicators/ContentLoading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/LoadingIndicators/ContentLoading.tsx -------------------------------------------------------------------------------- /src/components/LoadingIndicators/LoadingSpinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/LoadingIndicators/LoadingSpinner.tsx -------------------------------------------------------------------------------- /src/components/LoadingIndicators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/LoadingIndicators/index.ts -------------------------------------------------------------------------------- /src/components/SEO/SEO.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/components/SEO/SEO.tsx -------------------------------------------------------------------------------- /src/components/SEO/index.ts: -------------------------------------------------------------------------------- 1 | export { default as SEO } from './SEO'; 2 | -------------------------------------------------------------------------------- /src/icons/gatsby.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/icons/gatsby.svg -------------------------------------------------------------------------------- /src/icons/github.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/icons/github.svg -------------------------------------------------------------------------------- /src/icons/loading-spinner.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/icons/loading-spinner.svg -------------------------------------------------------------------------------- /src/icons/storybook.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/icons/storybook.svg -------------------------------------------------------------------------------- /src/icons/styled-components.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/icons/styled-components.svg -------------------------------------------------------------------------------- /src/icons/tailwind.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/icons/tailwind.svg -------------------------------------------------------------------------------- /src/icons/typescript.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/icons/typescript.svg -------------------------------------------------------------------------------- /src/locales/en-us.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/locales/en-us.json -------------------------------------------------------------------------------- /src/locales/es-es.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/locales/es-es.json -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/styled/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/styled/index.ts -------------------------------------------------------------------------------- /src/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/theme.ts -------------------------------------------------------------------------------- /src/utils/i18n/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/i18n/index.ts -------------------------------------------------------------------------------- /src/utils/i18n/supportedLanguages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/i18n/supportedLanguages.js -------------------------------------------------------------------------------- /src/utils/polyfills/toBlob.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/polyfills/toBlob.ts -------------------------------------------------------------------------------- /src/utils/styles/breakpoints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/styles/breakpoints.ts -------------------------------------------------------------------------------- /src/utils/styles/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/styles/index.ts -------------------------------------------------------------------------------- /src/utils/styles/mediaQueries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/styles/mediaQueries.ts -------------------------------------------------------------------------------- /src/utils/styles/spacer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/styles/spacer.ts -------------------------------------------------------------------------------- /src/utils/system/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/system/index.ts -------------------------------------------------------------------------------- /src/utils/system/isBrowser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/system/isBrowser.ts -------------------------------------------------------------------------------- /src/utils/types/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/src/utils/types/index.tsx -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/static/favicon.ico -------------------------------------------------------------------------------- /static/logos/emotion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/static/logos/emotion.png -------------------------------------------------------------------------------- /test-utils/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/test-utils/index.tsx -------------------------------------------------------------------------------- /test-utils/jest-preprocess.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/test-utils/jest-preprocess.js -------------------------------------------------------------------------------- /test-utils/loadershim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/test-utils/loadershim.js -------------------------------------------------------------------------------- /test-utils/setup-test-env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/test-utils/setup-test-env.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/duncanleung/gatsby-typescript-emotion-storybook/HEAD/yarn.lock --------------------------------------------------------------------------------