Skip to content

Commit

Permalink
Update storybook to the latest version and fix migration issues. Vali…
Browse files Browse the repository at this point in the history
…date that the storybook works as intended. Fixed issue with nested tables where tableBody could be null
  • Loading branch information
David Kucsai committed Feb 12, 2022
1 parent b9a51c5 commit bebcafb
Show file tree
Hide file tree
Showing 93 changed files with 1,690 additions and 3,575 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

61 changes: 61 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"sourceType": "unambiguous",
"presets": [
[
"@babel/preset-env",
{
"shippedProposals": true,
"loose": true
}
],
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-transform-shorthand-properties",
"@babel/plugin-transform-block-scoping",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
[
"@babel/plugin-proposal-class-properties",
{
"loose": true
}
],
[
"@babel/plugin-proposal-private-methods",
{
"loose": true
}
],
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-syntax-dynamic-import",
[
"@babel/plugin-proposal-object-rest-spread",
{
"loose": true,
"useBuiltIns": true
}
],
"@babel/plugin-transform-classes",
"@babel/plugin-transform-arrow-functions",
"@babel/plugin-transform-parameters",
"@babel/plugin-transform-destructuring",
"@babel/plugin-transform-spread",
"@babel/plugin-transform-for-of",
"babel-plugin-macros",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator",
[
"babel-plugin-polyfill-corejs3",
{
"method": "usage-global",
"absoluteImports": "core-js",
"version": "3.21.0"
}
]
]
}
6 changes: 1 addition & 5 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,14 @@ module.exports = ({ config }) => {
{
loader: require.resolve('ts-loader'),
},
// Optional
{
loader: require.resolve('react-docgen-typescript-loader'),
},
],
});

config.module.rules.push({
test: /\.stories\.jsx?$/,
loaders: [
{
loader: require.resolve('@storybook/addon-storysource/loader'),
loader: require.resolve('@storybook/source-loader'),
options: { parser: 'typescript' },
}
],
Expand Down
1 change: 1 addition & 0 deletions docs/0.60a3b0c3.iframe.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/0.959314020cd555deba2a.manager.bundle.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions docs/0.959314020cd555deba2a.manager.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*/
1 change: 1 addition & 0 deletions docs/1.c43f64594cdcb1eba58c.manager.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/5.660f01909e882b341540.manager.bundle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/6.b39bfe8aa7368ca93b30.manager.bundle.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions docs/6.b39bfe8aa7368ca93b30.manager.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*!
* OverlayScrollbars
* https://github.com/KingSora/OverlayScrollbars
*
* Version: 1.13.0
*
* Copyright KingSora | Rene Haas.
* https://github.com/KingSora
*
* Released under the MIT license.
* Date: 02.08.2020
*/
1 change: 1 addition & 0 deletions docs/7.55bf515d8c42074c9501.manager.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/8.36bb2980152ea5a2f88c.manager.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bebcafb

Please sign in to comment.