Revert "fix(storybook): remove it for now" (#9)
fix rebass types to work with storybook
Showing
.storybook/main.ts
0 → 100644
.storybook/manager.ts
0 → 100644
.storybook/preview.tsx
0 → 100644
.storybook/theme.ts
0 → 100644
| ... | @@ -4,11 +4,22 @@ | ... | @@ -4,11 +4,22 @@ |
| "homepage": ".", | "homepage": ".", | ||
| "private": true, | "private": true, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@emotion/core": "^11.0.0", | |||
| "@ethersproject/experimental": "^5.0.1", | "@ethersproject/experimental": "^5.0.1", | ||
| "@popperjs/core": "^2.4.4", | "@popperjs/core": "^2.4.4", | ||
| "@reach/dialog": "^0.10.3", | "@reach/dialog": "^0.10.3", | ||
| "@reach/portal": "^0.10.3", | "@reach/portal": "^0.10.3", | ||
| "@reduxjs/toolkit": "^1.3.5", | "@reduxjs/toolkit": "^1.3.5", | ||
| "@storybook/addon-actions": "^6.1.17", | |||
| "@storybook/addon-essentials": "^6.1.17", | |||
| "@storybook/addon-links": "^6.1.17", | |||
| "@storybook/addons": "^6.1.17", | |||
| "@storybook/components": "^6.1.17", | |||
| "@storybook/preset-create-react-app": "^3.1.5", | |||
| "@storybook/preset-typescript": "^3.0.0", | |||
| "@storybook/react": "^6.1.17", | |||
| "@storybook/theming": "^6.1.17", | |||
| "@styled-system/css": "^5.1.5", | |||
| "@types/jest": "^25.2.1", | "@types/jest": "^25.2.1", | ||
| "@types/lodash.flatmap": "^4.5.6", | "@types/lodash.flatmap": "^4.5.6", | ||
| "@types/luxon": "^1.24.4", | "@types/luxon": "^1.24.4", | ||
| ... | @@ -21,7 +32,7 @@ | ... | @@ -21,7 +32,7 @@ |
| "@types/react-router-dom": "^5.0.0", | "@types/react-router-dom": "^5.0.0", | ||
| "@types/react-virtualized-auto-sizer": "^1.0.0", | "@types/react-virtualized-auto-sizer": "^1.0.0", | ||
| "@types/react-window": "^1.8.2", | "@types/react-window": "^1.8.2", | ||
| "@types/rebass": "^4.0.5", | "@types/rebass": "^4.0.7", | ||
| "@types/styled-components": "^5.1.0", | "@types/styled-components": "^5.1.0", | ||
| "@types/testing-library__cypress": "^5.0.5", | "@types/testing-library__cypress": "^5.0.5", | ||
| "@types/wcag-contrast": "^3.0.0", | "@types/wcag-contrast": "^3.0.0", | ||
| ... | @@ -85,6 +96,7 @@ | ... | @@ -85,6 +96,7 @@ |
| "serve": "^11.3.0", | "serve": "^11.3.0", | ||
| "start-server-and-test": "^1.11.0", | "start-server-and-test": "^1.11.0", | ||
| "styled-components": "^4.2.0", | "styled-components": "^4.2.0", | ||
| "styled-system": "^5.1.5", | |||
| "typescript": "^3.8.3", | "typescript": "^3.8.3", | ||
| "use-count-up": "^2.2.5", | "use-count-up": "^2.2.5", | ||
| "wcag-contrast": "^3.0.0" | "wcag-contrast": "^3.0.0" | ||
| ... | @@ -95,9 +107,10 @@ | ... | @@ -95,9 +107,10 @@ |
| "scripts": { | "scripts": { | ||
| "start": "react-scripts start", | "start": "react-scripts start", | ||
| "build": "react-scripts build", | "build": "react-scripts build", | ||
| "test": "react-scripts test --env=jsdom", | |||
| "eject": "react-scripts eject", | "eject": "react-scripts eject", | ||
| "integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'" | "integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'", | ||
| "storybook": "start-storybook -p 6006", | |||
| "test": "react-scripts test --env=jsdom" | |||
| }, | }, | ||
| "eslintConfig": { | "eslintConfig": { | ||
| "extends": "react-app", | "extends": "react-app", | ||
| ... | ... |
src/theme/rebass.d.ts
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment