Skip to content

Commit

Permalink
Feature - update state management (#6)
Browse files Browse the repository at this point in the history
* refresh

* switch to react 17

* bump version
  • Loading branch information
Ryan Sites authored Jun 1, 2021
1 parent fa51952 commit e1a3661
Show file tree
Hide file tree
Showing 70 changed files with 8,556 additions and 12,117 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

17 changes: 0 additions & 17 deletions .eslintrc

This file was deleted.

37 changes: 22 additions & 15 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
const path = require("path");

const toPath = (_path) => path.join(process.cwd(), _path);

module.exports = {
"stories": [
"../src/stories/*.@(tsx|mdx)"
],
"addons": [
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/preset-create-react-app"
"@storybook/preset-create-react-app",
],
typescript: {
check: false,
checkOptions: {},
reactDocgen: 'react-docgen-typescript',
reactDocgenTypescriptOptions: {
shouldExtractLiteralValuesFromEnum: true,
propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
},
}
}
webpackFinal: async (config) => {
return {
...config,
resolve: {
...config.resolve,
alias: {
...config.resolve.alias,
"@emotion/core": toPath("node_modules/@emotion/react"),
"emotion-theming": toPath("node_modules/@emotion/react"),
},
},
};
},
};
21 changes: 1 addition & 20 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,20 +1 @@
import { addDecorator } from "@storybook/react";
import * as React from "react";
import { CSSReset, ThemeProvider } from "@chakra-ui/core";
import '@storybook/addon-console';


export const parameters = {
controls: { expanded: false },
};

const AppProvider = ({ children }) => {
return (
<ThemeProvider>
<CSSReset />
{children}
</ThemeProvider>
);
};

addDecorator(storyFn => <AppProvider>{storyFn()}</AppProvider>);
import "@storybook/addon-console";
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"recommendations": [
"samverschueren.linter-xo",
"esbenp.prettier-vscode"
]
}
8 changes: 3 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"xo.enable": true,
"xo.format.enable": true,
"javascript.format.enable": false,
"javascript.validate.enable": false,
"prettier.tabWidth": 4,
Expand All @@ -11,14 +9,14 @@
},
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "samverschueren.linter-xo"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "samverschueren.linter-xo"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "samverschueren.linter-xo"
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
8 changes: 0 additions & 8 deletions docs-wrapper.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions docs/asset-manifest.json

This file was deleted.

Binary file removed docs/favicon.ico
Binary file not shown.
133 changes: 0 additions & 133 deletions docs/iframe.html

This file was deleted.

55 changes: 0 additions & 55 deletions docs/index.html

This file was deleted.

2 changes: 0 additions & 2 deletions docs/main.1566dacf1a4a4329815e.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.1566dacf1a4a4329815e.bundle.js.map

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.809e7be6a501880262a3.bundle.js

This file was deleted.

2 changes: 0 additions & 2 deletions docs/runtime~main.1566dacf1a4a4329815e.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/runtime~main.1566dacf1a4a4329815e.bundle.js.map

This file was deleted.

1 change: 0 additions & 1 deletion docs/runtime~main.870e8ee0658e83d05c6b.bundle.js

This file was deleted.

2 changes: 0 additions & 2 deletions docs/vendors~main.0219844671cc5f2e559c.bundle.js

This file was deleted.

Loading

0 comments on commit e1a3661

Please sign in to comment.