diff --git a/.babelrc.js b/.babelrc.js new file mode 100644 index 0000000..dfb5f20 --- /dev/null +++ b/.babelrc.js @@ -0,0 +1,19 @@ +module.exports = { + presets: [ + '@babel/preset-env', + '@babel/preset-typescript', + '@babel/preset-react', + ], + env: { + esm: { + presets: [ + [ + '@babel/preset-env', + { + modules: false, + }, + ], + ], + }, + }, +}; diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 9ab3372..f1a21d0 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -8,7 +8,7 @@ on: push: branches: - master - pull_request_target: + pull_request: # List of jobs jobs: @@ -20,6 +20,8 @@ jobs: - uses: actions/checkout@v1 - name: Install dependencies run: yarn + - name: build project + run: yarn build # 👇 Adds Chromatic as a step in the workflow - name: Publish to Chromatic uses: chromaui/action@v1 @@ -27,4 +29,4 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} # 👇 Chromatic projectToken, refer to the manage page to obtain it. - projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} + projectToken: c9eb9dda8699 diff --git a/package.json b/package.json index 822ed91..312303b 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "build:watch": "concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"", "test": "echo \"Error: no test specified\" && exit 1", "storybook": "start-storybook -p 6006", + "prestorybook": "yarn buildBabel:cjs", "start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"", "build-storybook": "build-storybook", "prerelease": "zx scripts/prepublish-checks.mjs", @@ -49,10 +50,10 @@ "@babel/runtime": "^7.12.5", "@expo/html-elements": "^0.0.2", "@react-native-community/eslint-config": "^2.0.0", - "@storybook/addon-actions": "^6.4.0-rc.1", - "@storybook/addon-essentials": "6.4.0-rc.1", - "@storybook/addon-links": "^6.4.0-rc.1", - "@storybook/react": "6.4.0-rc.1", + "@storybook/addon-actions": "^6.4.3", + "@storybook/addon-essentials": "6.4.3", + "@storybook/addon-links": "^6.4.3", + "@storybook/react": "6.4.3", "@types/jest": "^26.0.23", "@types/react-native": "^0.65.0", "@types/react-native-vector-icons": "^6.4.8", @@ -67,7 +68,7 @@ "dedent": "^0.7.0", "eslint": "^7.14.0", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-storybook": "^0.4.1", + "eslint-plugin-storybook": "^0.5.1", "jest": "^26.6.3", "metro-react-native-babel-preset": "^0.66.0", "native-base": "^3.1.0", @@ -119,5 +120,6 @@ "react-native" ], "icon": "https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png" - } + }, + "dependencies": {} } diff --git a/preset.js b/preset.js index d4ca0f5..c1c34e0 100644 --- a/preset.js +++ b/preset.js @@ -1,114 +1,5 @@ -const webpack = require('webpack'); -const path = require('path'); - -const getBabelPlugins = (options) => { - let reactNativeWeb = 'react-native-web'; - if (options.babelPlugins && Array.isArray(options.babelPlugins)) { - return [reactNativeWeb, ...options.babelPlugins]; - } - return [reactNativeWeb]; -}; - -const getModule = (name) => path.join('node_modules', name); - -// copied from https://github.com/expo/expo-cli/blob/master/packages/webpack-config/src/loaders/createBabelLoader.ts -const DEFAULT_INCLUDES = [ - getModule('react-native'), - getModule('react-navigation'), - getModule('expo'), - getModule('unimodules'), - getModule('@react'), - getModule('@expo'), - getModule('@use-expo'), - getModule('@unimodules'), - getModule('native-base'), - getModule('styled-components'), -]; - -const DEFAULT_EXCLUDES = [ - '/node_modules', - '/bower_components', - '/.expo/', - // Prevent transpiling webpack generated files. - '(webpack)', -]; +const webpackFinal = require('./dist/cjs/webpack'); module.exports = { - babel: async (config, options) => ({ - ...config, - plugins: [...config.plugins, ...getBabelPlugins(options)], - }), - webpackFinal: async (config, options) => { - // swap out react-native for react-native-web - config.resolve.alias = { - 'react-native$': 'react-native-web', - }; - - // Add __DEV__ global variable which is relied on by many libraries - config.plugins.push( - new webpack.DefinePlugin({ - 'process.env.NODE_ENV': JSON.stringify( - process.env.NODE_ENV || 'development', - ), - __DEV__: process.env.NODE_ENV !== 'production' || true, - }), - ); - - const babelPlugins = getBabelPlugins(options); - const root = (options && options.projectRoot) || process.cwd(); - const modules = [ - ...DEFAULT_INCLUDES, - ...((options && options.modulesToTranspile) || []), - ]; - - // fix for uncompiled react-native dependencies - config.module.rules.push({ - test: /\.(js|jsx|ts|tsx)$/, - loader: 'babel-loader', - // include logic copied from https://github.com/expo/expo-cli/blob/master/packages/webpack-config/src/loaders/createBabelLoader.ts - include(filename) { - if (!filename) { - return false; - } - - for (const possibleModule of modules) { - if (filename.includes(path.normalize(possibleModule))) { - return true; - } - } - - if (filename.includes(root)) { - for (const excluded of DEFAULT_EXCLUDES) { - if (filename.includes(path.normalize(excluded))) { - return false; - } - } - return true; - } - return false; - }, - options: { - root, - presets: [ - [ - 'module:metro-react-native-babel-preset', - { - useTransformReactJSXExperimental: true, - }, - ], - [ - '@babel/preset-react', - { - runtime: 'automatic', - }, - ], - ], - plugins: [...babelPlugins, '@babel/plugin-proposal-class-properties'], - }, - }); - - config.resolve.extensions = ['.web.js', ...config.resolve.extensions]; - - return config; - }, + webpackFinal, }; diff --git a/src/webpack.ts b/src/webpack.ts new file mode 100644 index 0000000..f31dab8 --- /dev/null +++ b/src/webpack.ts @@ -0,0 +1,114 @@ +import webpack from 'webpack'; +import path from 'path'; + +export type Options = { + modulesToTranspile?: string[]; + babelPlugins?: string[]; + projectRoot?: string; +}; + +export const getBabelPlugins = (options: Options) => { + let reactNativeWeb = 'react-native-web'; + if (options.babelPlugins && Array.isArray(options.babelPlugins)) { + return [reactNativeWeb, ...options.babelPlugins]; + } + return [reactNativeWeb]; +}; + +const getModule = (name: string) => path.join('node_modules', name); + +// copied from https://github.com/expo/expo-cli/blob/master/packages/webpack-config/src/loaders/createBabelLoader.ts +const DEFAULT_INCLUDES = [ + getModule('react-native'), + getModule('react-navigation'), + getModule('expo'), + getModule('unimodules'), + getModule('@react'), + getModule('@expo'), + getModule('@use-expo'), + getModule('@unimodules'), + getModule('native-base'), + getModule('styled-components'), +]; + +const DEFAULT_EXCLUDES = [ + '/node_modules', + '/bower_components', + '/.expo/', + // Prevent transpiling webpack generated files. + '(webpack)', +]; + +const webpackFinal = async (config: any, options: Options) => { + // swap out react-native for react-native-web + config.resolve.alias = { + 'react-native$': 'react-native-web', + }; + + // Add __DEV__ global variable which is relied on by many libraries + config.plugins.push( + new webpack.DefinePlugin({ + 'process.env.NODE_ENV': JSON.stringify( + process.env.NODE_ENV || 'development', + ), + __DEV__: process.env.NODE_ENV !== 'production' || true, + }), + ); + + const babelPlugins = getBabelPlugins(options); + const root = options.projectRoot ?? process.cwd(); + const userModules = options.modulesToTranspile?.map(getModule) ?? []; + const modules = [...DEFAULT_INCLUDES, ...userModules]; + + // fix for uncompiled react-native dependencies + config.module.rules.push({ + test: /\.(js|jsx|ts|tsx)$/, + loader: 'babel-loader', + // include logic copied from https://github.com/expo/expo-cli/blob/master/packages/webpack-config/src/loaders/createBabelLoader.ts + include(filename: string) { + if (!filename) { + return false; + } + + for (const possibleModule of modules) { + if (filename.includes(path.normalize(possibleModule))) { + return true; + } + } + + if (filename.includes(root)) { + for (const excluded of DEFAULT_EXCLUDES) { + if (filename.includes(path.normalize(excluded))) { + return false; + } + } + return true; + } + return false; + }, + options: { + root, + presets: [ + [ + 'module:metro-react-native-babel-preset', + { + useTransformReactJSXExperimental: true, + }, + ], + [ + '@babel/preset-react', + { + runtime: 'automatic', + }, + ], + ], + plugins: [...babelPlugins, '@babel/plugin-proposal-class-properties'], + }, + }); + + config.resolve.extensions = ['.web.js', ...config.resolve.extensions]; + + return config; +}; + +module.exports = webpackFinal; diff --git a/tsconfig.json b/tsconfig.json index 80e62f0..deb75ef 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,9 +13,9 @@ "noImplicitAny": true, "rootDir": "./src", "skipLibCheck": true, - "target": "es5" + "target": "es5", + "strict": true, + "outDir": "dist" }, - "include": [ - "src/**/*" - ], -} \ No newline at end of file + "include": ["src/**/*"] +} diff --git a/yarn.lock b/yarn.lock index cd22e79..80bcc12 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3603,17 +3603,17 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@storybook/addon-actions@6.4.0-rc.1", "@storybook/addon-actions@^6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-actions/-/addon-actions-6.4.0-rc.1.tgz" - integrity sha512-pLOsRWjS4QU18emPI9P7CDVt7L8XopWSV6ApJrlomyqoi5qEBhtWmatCjOihQePd4lE06P9BW3ZteIzkavHrnQ== - dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" +"@storybook/addon-actions@6.4.3", "@storybook/addon-actions@^6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.4.3.tgz#324b67fecd72a259dba49a4c34c5cece400e66d9" + integrity sha512-oMjENUSDfCOvebAQPyeOIk4Ov6St1QHZUP88aErWepA4m9IVRGMVSpFmuE25Qwq0qGKHCWo9UDlxKN5tlM13Qw== + dependencies: + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/theming" "6.4.0-rc.1" + "@storybook/theming" "6.4.3" core-js "^3.8.2" fast-deep-equal "^3.1.3" global "^4.4.0" @@ -3627,18 +3627,18 @@ util-deprecate "^1.0.2" uuid-browser "^3.1.0" -"@storybook/addon-backgrounds@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-backgrounds/-/addon-backgrounds-6.4.0-rc.1.tgz" - integrity sha512-ITnnk0ibSqIDSPkjz87BK8F2VMZJgy1FUVWAeiYeywgPhBb/DZdQBwvPAXKHuPUg/RRVweoDg3fWfRFhzJd1Sw== +"@storybook/addon-backgrounds@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.4.3.tgz#98273172c5a2131907552ca327c8b86be0fcf900" + integrity sha512-WZbUUfjLFLC2Exw75jpc5P46vN9pNI3DhIiqvG+tPXzcsQNPUfZZeOnSSr0KoUFmiD2f3yqrB5CPgSeOQaw73A== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/theming" "6.4.0-rc.1" + "@storybook/theming" "6.4.3" core-js "^3.8.2" global "^4.4.0" memoizerific "^1.11.3" @@ -3646,28 +3646,28 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/addon-controls@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-controls/-/addon-controls-6.4.0-rc.1.tgz" - integrity sha512-UBTJ/ArmWDuJtkk+ZDTFboW8z3LBKj9pNOEaQft28owFWKNthGoIqGWNoxx9ssG8YGKl0zaHjRRmx3Sq4wXfVg== +"@storybook/addon-controls@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.4.3.tgz#9d4457b40b4da1f3a58bf94cb81078c901e4551a" + integrity sha512-gCZEUgz5XXetGzn3dczptb09UDB1J3on8YFTgPJ0IP/1JSRT90gDQ+3a3GeUPvnzop7scw0Ndvat1OT4flI4gg== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/core-common" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/core-common" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/node-logger" "6.4.0-rc.1" - "@storybook/store" "6.4.0-rc.1" - "@storybook/theming" "6.4.0-rc.1" + "@storybook/node-logger" "6.4.3" + "@storybook/store" "6.4.3" + "@storybook/theming" "6.4.3" core-js "^3.8.2" lodash "^4.17.20" ts-dedent "^2.0.0" -"@storybook/addon-docs@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-6.4.0-rc.1.tgz" - integrity sha512-YIRhnHsKyDqK+4LbEet9Wm/bkz4k/xCSgZKQZs0tnYCD6bi+xShK6sKPm2ec+6IWhGZiQ0WGHqrLhGRk8o4SSA== +"@storybook/addon-docs@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.4.3.tgz#c42943d46affbfec93190531221d2d2bd7d980c9" + integrity sha512-/hpP7JaL4TAVa/uE6vKtmXqmZQ/2H5kuZOBIdMSXBetTH2O8xPc8I7WTEzKetF6OrPFCEivR/DhcEruC4P80gg== dependencies: "@babel/core" "^7.12.10" "@babel/generator" "^7.12.11" @@ -3678,21 +3678,21 @@ "@mdx-js/loader" "^1.6.22" "@mdx-js/mdx" "^1.6.22" "@mdx-js/react" "^1.6.22" - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/builder-webpack4" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/core" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/builder-webpack4" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/core" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/csf-tools" "6.4.0-rc.1" - "@storybook/node-logger" "6.4.0-rc.1" - "@storybook/postinstall" "6.4.0-rc.1" - "@storybook/preview-web" "6.4.0-rc.1" - "@storybook/source-loader" "6.4.0-rc.1" - "@storybook/store" "6.4.0-rc.1" - "@storybook/theming" "6.4.0-rc.1" + "@storybook/csf-tools" "6.4.3" + "@storybook/node-logger" "6.4.3" + "@storybook/postinstall" "6.4.3" + "@storybook/preview-web" "6.4.3" + "@storybook/source-loader" "6.4.3" + "@storybook/store" "6.4.3" + "@storybook/theming" "6.4.3" acorn "^7.4.1" acorn-jsx "^5.3.1" acorn-walk "^7.2.0" @@ -3716,36 +3716,36 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/addon-essentials@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-essentials/-/addon-essentials-6.4.0-rc.1.tgz" - integrity sha512-6GeANivfJQLgcyZuC2uzbOPqd33O8O3wzoGd8Mr55QndU7ulOsVDHYc75DJFZ/+quOtMkQ/xw+CZzA18DWljKg== - dependencies: - "@storybook/addon-actions" "6.4.0-rc.1" - "@storybook/addon-backgrounds" "6.4.0-rc.1" - "@storybook/addon-controls" "6.4.0-rc.1" - "@storybook/addon-docs" "6.4.0-rc.1" - "@storybook/addon-measure" "6.4.0-rc.1" - "@storybook/addon-outline" "6.4.0-rc.1" - "@storybook/addon-toolbars" "6.4.0-rc.1" - "@storybook/addon-viewport" "6.4.0-rc.1" - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/node-logger" "6.4.0-rc.1" +"@storybook/addon-essentials@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.4.3.tgz#b76aeb4c20f3095374973d14392502313c0dac73" + integrity sha512-pSeujHmQH8AOVd2nf5ignum4zaM5D9Amiml2kHflZa5bnJs6FwmsE5G/7mb7fbqtCJt/nw1PbaaUT4eT5M/uuQ== + dependencies: + "@storybook/addon-actions" "6.4.3" + "@storybook/addon-backgrounds" "6.4.3" + "@storybook/addon-controls" "6.4.3" + "@storybook/addon-docs" "6.4.3" + "@storybook/addon-measure" "6.4.3" + "@storybook/addon-outline" "6.4.3" + "@storybook/addon-toolbars" "6.4.3" + "@storybook/addon-viewport" "6.4.3" + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/node-logger" "6.4.3" core-js "^3.8.2" regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-links@^6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-links/-/addon-links-6.4.0-rc.1.tgz" - integrity sha512-eq+XMHPsh0KbNdO74Js71I7rbUlfkdnigNZG6wq5ID71FkY0JRicI3/p+ttbgLApjbeObCcwoYVwSWrZdOOPsw== +"@storybook/addon-links@^6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.4.3.tgz#733c933bfd4e34755f665574401d9b725cbd7653" + integrity sha512-yjDqulTder966NSis/N+Q+2nTnuUYYfHpvt2LHmf6oHhhkNdWzzzQ3if95BUC2SJMe/CvKlownq2Or64TlsFpg== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/router" "6.4.0-rc.1" + "@storybook/router" "6.4.3" "@types/qs" "^6.9.5" core-js "^3.8.2" global "^4.4.0" @@ -3754,94 +3754,94 @@ regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-measure@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-measure/-/addon-measure-6.4.0-rc.1.tgz" - integrity sha512-XKoQyVpup0TFxujEo0Y0lv2ypixP6xhs2qq920kBsW/rCd/kImyGZhSj99A4QCIdXuWONTry88Qb4oO6teSggw== +"@storybook/addon-measure@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-6.4.3.tgz#6bd896d6a351cc01110cda5e1a7cec12adbe47d9" + integrity sha512-C8zLs+Db9JO6TuylYad3aBlqW4naheaqjtY2gnSk6z5wGdwo8BxAvhV6fN3Z/iQkNwOEVtPYRwtfxuhT1RQ6bw== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" core-js "^3.8.2" global "^4.4.0" -"@storybook/addon-outline@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-outline/-/addon-outline-6.4.0-rc.1.tgz" - integrity sha512-lcMUtqI9U1Y15D1jJxA3YptjNKcrlhtKWqmtnX4p8rW+okN9p6fC5CCGbbPpCUEw216fhde7dvXEyptbnVj4uQ== +"@storybook/addon-outline@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-6.4.3.tgz#840978a2f5bfbe2e509a4132807f4430ae41b56e" + integrity sha512-F8W3qwosFps0rSaSeqUJayFt8ZMa2qmAy0ly9H1ZfONGTqRotiO/FH56RWcvkpYMe7/dO8WyZQWWnV+427vMHw== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" core-js "^3.8.2" global "^4.4.0" regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-toolbars@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-toolbars/-/addon-toolbars-6.4.0-rc.1.tgz" - integrity sha512-paIl3BeREYzyF6izE+8htD6n0s2TdCditvpAVyOOa6bCvinvyRXXB52yIIftr1MQYUc1OlX6jy4Eqw8PyZkD2w== +"@storybook/addon-toolbars@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.4.3.tgz#8bc725b2be560b359f3c06a7b63def33438bce68" + integrity sha512-3PeXafbYyACkECQIfyk1Kfvo2bhUMiqFVJpEVnKQcxMdFDTrjMu+CTWWDV4nxss/4MhNM9idrHO4oRdaeKuTpQ== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/theming" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/theming" "6.4.3" core-js "^3.8.2" regenerator-runtime "^0.13.7" -"@storybook/addon-viewport@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addon-viewport/-/addon-viewport-6.4.0-rc.1.tgz" - integrity sha512-yzP3LKRC3qNPG2j0Sp2+sSz1sFP/3+/C6pwgZwYkmcXSEos5QUQHg95UWVettatCdAwmqBtaOk1FpeVC6W4YmQ== - dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" - "@storybook/theming" "6.4.0-rc.1" +"@storybook/addon-viewport@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.4.3.tgz#4ba4afdc0e21f2a0ffe37e963ba165325fd1cadc" + integrity sha512-9waCLMXBWTRX6FoGkNE4cadLy4cVmoYcaKsUxOOtElNLguVnVZttssTeJxBkXWL7vZAAOLKpUk/XJBI4H8ttWA== + dependencies: + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/core-events" "6.4.3" + "@storybook/theming" "6.4.3" core-js "^3.8.2" global "^4.4.0" memoizerific "^1.11.3" prop-types "^15.7.2" regenerator-runtime "^0.13.7" -"@storybook/addons@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/addons/-/addons-6.4.0-rc.1.tgz" - integrity sha512-dzjgpKrWP+ctwWmtGFZwdSYdYwmVOU/FdkdAlGlxlXGmepWkFjNQBtPvu5s47sV51U2BZfTZjo786vjwMNC0Bw== +"@storybook/addons@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.4.3.tgz#f34cb04289806f3d22be8a39c67fcd1dbdcbe137" + integrity sha512-LiS8NNZXpietvWw+A+jTVtVpVRARc2vq9R7KWAj07oFF91KD+U4PISAYbNMUVitej05CJJqT0jdtiW8G5pAr1g== dependencies: - "@storybook/api" "6.4.0-rc.1" - "@storybook/channels" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/api" "6.4.3" + "@storybook/channels" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/router" "6.4.0-rc.1" - "@storybook/theming" "6.4.0-rc.1" + "@storybook/router" "6.4.3" + "@storybook/theming" "6.4.3" "@types/webpack-env" "^1.16.0" core-js "^3.8.2" global "^4.4.0" regenerator-runtime "^0.13.7" -"@storybook/api@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/api/-/api-6.4.0-rc.1.tgz" - integrity sha512-WHDIc7898Y6M4xmyUFsjz38L8/8rWIv3SCLWgvefpvlova7XU/hv4Xvr+NRM2uMAz9qzE/jELR7fMGjOdYys/w== +"@storybook/api@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.4.3.tgz#ae30c75be8559cb6b54195989b50a7e3ccf4cb23" + integrity sha512-aWD7wPhj+HF2XBmH6b7hgRJPFldDXzhYbtPqsq6ukCrGlJder8NsnL6wHzXlQWgxudw8u3oqM+Q9kLwNiz4yXg== dependencies: - "@storybook/channels" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/channels" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/router" "6.4.0-rc.1" + "@storybook/router" "6.4.3" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.4.0-rc.1" + "@storybook/theming" "6.4.3" core-js "^3.8.2" fast-deep-equal "^3.1.3" global "^4.4.0" @@ -3853,10 +3853,10 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/builder-webpack4@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/builder-webpack4/-/builder-webpack4-6.4.0-rc.1.tgz" - integrity sha512-FTIXUUVQt6OARR4rcEKevQJs3vjyTn3c3wpZ8Ghpx+xl47BCfWIw+YoQP9b+UXFLlqroCgVUrmjvBu1v0j+Dqw== +"@storybook/builder-webpack4@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/builder-webpack4/-/builder-webpack4-6.4.3.tgz#b9d1568eb4a2c5f6900aa83ed8a5773167caf26e" + integrity sha512-nD4pIR5OY5KFIGpK4j/wLRNGGYFSlXkSW1jtG3qSQPpThB50hVftwHUW/62qq4u025KPrp/nDlgYpGfsUdRQ1A== dependencies: "@babel/core" "^7.12.10" "@babel/plugin-proposal-class-properties" "^7.12.1" @@ -3879,22 +3879,22 @@ "@babel/preset-env" "^7.12.11" "@babel/preset-react" "^7.12.10" "@babel/preset-typescript" "^7.12.7" - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/channel-postmessage" "6.4.0-rc.1" - "@storybook/channels" "6.4.0-rc.1" - "@storybook/client-api" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/core-common" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" - "@storybook/node-logger" "6.4.0-rc.1" - "@storybook/preview-web" "6.4.0-rc.1" - "@storybook/router" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/channel-postmessage" "6.4.3" + "@storybook/channels" "6.4.3" + "@storybook/client-api" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/core-common" "6.4.3" + "@storybook/core-events" "6.4.3" + "@storybook/node-logger" "6.4.3" + "@storybook/preview-web" "6.4.3" + "@storybook/router" "6.4.3" "@storybook/semver" "^7.3.2" - "@storybook/store" "6.4.0-rc.1" - "@storybook/theming" "6.4.0-rc.1" - "@storybook/ui" "6.4.0-rc.1" + "@storybook/store" "6.4.3" + "@storybook/theming" "6.4.3" + "@storybook/ui" "6.4.3" "@types/node" "^14.0.10" "@types/webpack" "^4.41.26" autoprefixer "^9.8.6" @@ -3929,51 +3929,51 @@ webpack-hot-middleware "^2.25.1" webpack-virtual-modules "^0.2.2" -"@storybook/channel-postmessage@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/channel-postmessage/-/channel-postmessage-6.4.0-rc.1.tgz" - integrity sha512-eVRdg4KpYd4+z/v6r9o0VWr+xxWb1A6nMdmpusLMPD3Wmdc7xfyyEUkF6pZWvU0jUBpv8PbuE22DNaZjEGjK4w== +"@storybook/channel-postmessage@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.4.3.tgz#2167a05a4306bee3623f213d65661e5bdc7a9148" + integrity sha512-UKXYqKo4yah7q2AzdqvBXs7LqX9G3383FyIs9BdVcx+cvdaMHT3FKk9CJAibgED1puABN08QpHnwLzPYwVmq4A== dependencies: - "@storybook/channels" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/channels" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/core-events" "6.4.3" core-js "^3.8.2" global "^4.4.0" qs "^6.10.0" telejson "^5.3.2" -"@storybook/channel-websocket@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/channel-websocket/-/channel-websocket-6.4.0-rc.1.tgz" - integrity sha512-bkBSbrW5RLjcmgVMyhY1+FGS2TjQpr0G7cfyw2bLlg5adREGejqtejf2an67AWg5LtvCpI21pLE+/N7q93lMOg== +"@storybook/channel-websocket@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-6.4.3.tgz#3923d4749f4405192f6369bd837989ad0f0e37ce" + integrity sha512-6mw3PSNr6Y22qRticJ7ktpAax4UknD++6/g/NwvvMwajcW4gjCT5esRYnCoAPYRq5DbOfj9v1R3H55syz9YMGg== dependencies: - "@storybook/channels" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" + "@storybook/channels" "6.4.3" + "@storybook/client-logger" "6.4.3" core-js "^3.8.2" global "^4.4.0" telejson "^5.3.2" -"@storybook/channels@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/channels/-/channels-6.4.0-rc.1.tgz" - integrity sha512-yFOoHS0eB5rtMTofJf/+jH89LNG/fAuAXIkOLkfVrjmYjtQTLpgQNrWk7cGj2d7g/QlGDJeqpo7Dkel5dOTyqg== +"@storybook/channels@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.4.3.tgz#e70668d3dea06fcadf274c867a3430e3a5350787" + integrity sha512-E9JGZ53ITybokm7CEYARQjwdF/yDTu/R0tEo0MldPrNumb8yDjb4vxokBpvwbOMZ/n+QSU1BUIISm5bYt3owlQ== dependencies: core-js "^3.8.2" ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-api@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/client-api/-/client-api-6.4.0-rc.1.tgz" - integrity sha512-hTMnahkMV7s73vFJS4YSjuZ7/nRUIBqJhItBvF8qcpmk3th95cH1OtVadGJyRFyuS6SI+AXM+ARU7ZYOFryyzw== +"@storybook/client-api@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.4.3.tgz#912c19ca347a6edaf2a1562746fa31db82b0fa33" + integrity sha512-GBXRvCXlY3GSTK4f2NFi5NjGcmeZVpRerqGb+bEcPdxkjOlFjQVBeNyl45AbNuuq+m3+SabZfTNCdy3gWe2Jjw== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/channel-postmessage" "6.4.0-rc.1" - "@storybook/channels" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/channel-postmessage" "6.4.3" + "@storybook/channels" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/store" "6.4.0-rc.1" + "@storybook/store" "6.4.3" "@types/qs" "^6.9.5" "@types/webpack-env" "^1.16.0" core-js "^3.8.2" @@ -3988,23 +3988,23 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-logger@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-6.4.0-rc.1.tgz" - integrity sha512-/HlLuSd2HOs4FNOdv7wonti30c1xhRjWbeEg1NIyby8Qpn2ji8lYBvqrtvRJCG5A/Pu+tw86pZCJXei+Tirtcg== +"@storybook/client-logger@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.4.3.tgz#1db1eab500f85c095239d581769c8e04e84994fe" + integrity sha512-/KmfJlihg2ldm9ml2sNIPOCdSIgF+TsRCET5W8vmwRUu/QUcs6mJMKlEWmmmlyATBp5DKQR+fABe2DccGuOWEQ== dependencies: core-js "^3.8.2" global "^4.4.0" -"@storybook/components@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/components/-/components-6.4.0-rc.1.tgz" - integrity sha512-vOMakm2Suy6oFUI87n7EjUhkYdOXBBwecR1oqDlf+q7U+o6y7m+YDaOuLtxX4+oyasxz8XBwSz1/olLxyb7x8g== +"@storybook/components@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.4.3.tgz#498f22b375a73d1e4cefdbb165d1de2d8d60ba31" + integrity sha512-U8U5xm6R4ufsoFODimTNywk1zMG4p4AmKNpq9GboF9tSVKcoyfj8DpPlDJbdga5V9XVGcO2b5FoTRCzUiEsfvw== dependencies: "@popperjs/core" "^2.6.0" - "@storybook/client-logger" "6.4.0-rc.1" + "@storybook/client-logger" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/theming" "6.4.0-rc.1" + "@storybook/theming" "6.4.3" "@types/color-convert" "^2.0.0" "@types/overlayscrollbars" "^1.12.0" "@types/react-syntax-highlighter" "11.0.5" @@ -4026,21 +4026,21 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/core-client@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/core-client/-/core-client-6.4.0-rc.1.tgz" - integrity sha512-3tApHCvArWAdE0DbfChUSRo/ejlkpRUiun7QksR8WRLYLG+qBRYX0LccVd+NB3C4NIb3dP1+2t4QRkfH5XuMEQ== - dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/channel-postmessage" "6.4.0-rc.1" - "@storybook/channel-websocket" "6.4.0-rc.1" - "@storybook/client-api" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" +"@storybook/core-client@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-6.4.3.tgz#758b36397536867b75646acbb89a5eba1d03c928" + integrity sha512-lyp2N2Rn8YKFuds6FrKiRJ7NAkBA7yK4QNfuGgxbyDdT/nI+1v24ljZJzF8tRM2aC75w8m7YSQXTAmG9i4o76Q== + dependencies: + "@storybook/addons" "6.4.3" + "@storybook/channel-postmessage" "6.4.3" + "@storybook/channel-websocket" "6.4.3" + "@storybook/client-api" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/preview-web" "6.4.0-rc.1" - "@storybook/store" "6.4.0-rc.1" - "@storybook/ui" "6.4.0-rc.1" + "@storybook/preview-web" "6.4.3" + "@storybook/store" "6.4.3" + "@storybook/ui" "6.4.3" airbnb-js-shims "^2.2.1" ansi-to-html "^0.6.11" core-js "^3.8.2" @@ -4052,10 +4052,10 @@ unfetch "^4.2.0" util-deprecate "^1.0.2" -"@storybook/core-common@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/core-common/-/core-common-6.4.0-rc.1.tgz" - integrity sha512-pYtvLs2WuiqQPvrdTIDyevsu8Io/p2WaBeCRpUCZOaYHUWQEOiuXfx7IM3fbPy3vSgDrOwIKwNgwYM/4YspKow== +"@storybook/core-common@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-6.4.3.tgz#a389a6c80ada48d8fe970e09767b0aa65b7b5b91" + integrity sha512-1bqg2dwo6FcarAwQjXQtmELLQp9FxPdFM9UpKZJuIfRWMOqaxPiRofI1nYxQcE59WHEbHEvg7KcOaJ5TUA2MhA== dependencies: "@babel/core" "^7.12.10" "@babel/plugin-proposal-class-properties" "^7.12.1" @@ -4078,7 +4078,7 @@ "@babel/preset-react" "^7.12.10" "@babel/preset-typescript" "^7.12.7" "@babel/register" "^7.12.1" - "@storybook/node-logger" "6.4.0-rc.1" + "@storybook/node-logger" "6.4.3" "@storybook/semver" "^7.3.2" "@types/node" "^14.0.10" "@types/pretty-hrtime" "^1.0.0" @@ -4107,29 +4107,29 @@ util-deprecate "^1.0.2" webpack "4" -"@storybook/core-events@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/core-events/-/core-events-6.4.0-rc.1.tgz" - integrity sha512-aFEagxAmg80hEye2QEHp4RHYG2/EUb2p1YMtbn4qN0nsWNibn1j33iHz972yp8/iakhPgoVv/Juf0oVIwmQ9YQ== +"@storybook/core-events@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.4.3.tgz#5fb3281a7cacba7fbf0d51a7a782cf751b27f6d7" + integrity sha512-UnXDO57U0jJYxXT4hVYQ7ze2wnCp3jrkRSyUPmMcyqpuLAWFhj+QYyna/7+geNID80MbVkkNLE+AEeSY+PPglQ== dependencies: core-js "^3.8.2" -"@storybook/core-server@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/core-server/-/core-server-6.4.0-rc.1.tgz" - integrity sha512-Ywbn1k2JXD94yAjD097rFxk1qilMcL2jlMo0KH5sQlJ6doKdfefk3rtXXDCChF7OvTL9zMAp22b0i/gWr+guxg== +"@storybook/core-server@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-6.4.3.tgz#fcf5526e9fbe542e55d6b9615a8789d08d94efe4" + integrity sha512-gL2zBYtN1vim/rzf1bKFotmVm0ZDBsZNVDN7zsk3ukDee1c8jhRJHu1275CT/rjkqnEwW1Ng0sWncl5LxINpZQ== dependencies: "@discoveryjs/json-ext" "^0.5.3" - "@storybook/builder-webpack4" "6.4.0-rc.1" - "@storybook/core-client" "6.4.0-rc.1" - "@storybook/core-common" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/builder-webpack4" "6.4.3" + "@storybook/core-client" "6.4.3" + "@storybook/core-common" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/csf-tools" "6.4.0-rc.1" - "@storybook/manager-webpack4" "6.4.0-rc.1" - "@storybook/node-logger" "6.4.0-rc.1" + "@storybook/csf-tools" "6.4.3" + "@storybook/manager-webpack4" "6.4.3" + "@storybook/node-logger" "6.4.3" "@storybook/semver" "^7.3.2" - "@storybook/store" "6.4.0-rc.1" + "@storybook/store" "6.4.3" "@types/node" "^14.0.10" "@types/node-fetch" "^2.5.7" "@types/pretty-hrtime" "^1.0.0" @@ -4162,18 +4162,18 @@ webpack "4" ws "^8.2.3" -"@storybook/core@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/core/-/core-6.4.0-rc.1.tgz" - integrity sha512-z0o3MuvC7s53GFt39D/za03Yv2T4Ae/VfVoirKAJQ/MkjCMRyVsEmhfQoDq7LemW362IDJIqsz/Ej5PIYD2FXQ== +"@storybook/core@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.4.3.tgz#93cc30bd5fb6542496551cc73129785021911b57" + integrity sha512-fSqaoJNl7AT7D49xrgMylaQvJc9wkTohsaLggVNONOTV+qigYnqT9mL1c+gFDAmLq6sk9ngBelwHcQ1gmxqWpA== dependencies: - "@storybook/core-client" "6.4.0-rc.1" - "@storybook/core-server" "6.4.0-rc.1" + "@storybook/core-client" "6.4.3" + "@storybook/core-server" "6.4.3" -"@storybook/csf-tools@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/csf-tools/-/csf-tools-6.4.0-rc.1.tgz" - integrity sha512-CTbtgANy94fidT9Bi+q1UfD2B6p44isZs955nDQ7fuBupaqYpDcDj7zI0IO7rahnad74qQnCZOhOjKeH9KbitA== +"@storybook/csf-tools@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-6.4.3.tgz#f85212896d8014a16a9b5825406924d9db1608da" + integrity sha512-so4U6TqmE7jCOrTeRaX9iO2EYEdbolStxIH7Wjw9gQFX75F8EA+TmhKCqoCXBrHnqsUxUFDPeJTrPfGxgPbrGA== dependencies: "@babel/core" "^7.12.10" "@babel/generator" "^7.12.11" @@ -4207,20 +4207,20 @@ dependencies: lodash "^4.17.15" -"@storybook/manager-webpack4@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/manager-webpack4/-/manager-webpack4-6.4.0-rc.1.tgz" - integrity sha512-WLVK+QfyV7jQTUmVnltcJZjgZeDZVr+dCsQLHF1+Kq7ncEeW3yaiulJ960EITa3iysqBiEox7TR/wDAI2K5ENg== +"@storybook/manager-webpack4@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/manager-webpack4/-/manager-webpack4-6.4.3.tgz#0c6619022e79f54efddc9a5983cce74a0e16a4c5" + integrity sha512-xZpm8eUAf7Otqcm5cNw31AUeIRdjM69go0iMNNwIVcVJjYup46wJ/zUYRjZyBOSwKpWRPEWzMCav9c++RQ+2pw== dependencies: "@babel/core" "^7.12.10" "@babel/plugin-transform-template-literals" "^7.12.1" "@babel/preset-react" "^7.12.10" - "@storybook/addons" "6.4.0-rc.1" - "@storybook/core-client" "6.4.0-rc.1" - "@storybook/core-common" "6.4.0-rc.1" - "@storybook/node-logger" "6.4.0-rc.1" - "@storybook/theming" "6.4.0-rc.1" - "@storybook/ui" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/core-client" "6.4.3" + "@storybook/core-common" "6.4.3" + "@storybook/node-logger" "6.4.3" + "@storybook/theming" "6.4.3" + "@storybook/ui" "6.4.3" "@types/node" "^14.0.10" "@types/webpack" "^4.41.26" babel-loader "^8.0.0" @@ -4249,10 +4249,10 @@ webpack-dev-middleware "^3.7.3" webpack-virtual-modules "^0.2.2" -"@storybook/node-logger@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/node-logger/-/node-logger-6.4.0-rc.1.tgz" - integrity sha512-hr4w+00BasWdox1QZ2BaxF4ya41WDhwpJymzuUxdM7Tf2qbkPFrfKpRhdPnVXp2KMxx6bfTHbC1YgLourvVElA== +"@storybook/node-logger@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.4.3.tgz#5f9d94aab24a3f18ba03e2d3aafcb920bbfeb27d" + integrity sha512-kA3xevEIytm4RFtaBYTel6nhjeqMzxgXfIvgu7HEPtwNyOZr0acoQ7Q3d90r5EfcfVm+M4crp7AMpUnN2CY+CQ== dependencies: "@types/npmlog" "^4.1.2" chalk "^4.1.0" @@ -4260,24 +4260,24 @@ npmlog "^5.0.1" pretty-hrtime "^1.0.3" -"@storybook/postinstall@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/postinstall/-/postinstall-6.4.0-rc.1.tgz" - integrity sha512-bPewPIoAzmtke5PMFk2kGMf4Pf4wbQiOLpHxNQR8BbNpbc2SL5vYVsVHE3+lNgL6Sp8qCLUkERMLmp1bqqWiVg== +"@storybook/postinstall@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.4.3.tgz#f97bfe1a84c2dc5c86a69642c54b9bca9121af55" + integrity sha512-1UX3VFY61Osl2oeGAPWm7LYgijalH3cKuA0AXdwbGpoNCQO9fx7Hz69iqbVr8FDdu2se+1yt9B6CvbJfN3Wmyw== dependencies: core-js "^3.8.2" -"@storybook/preview-web@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/preview-web/-/preview-web-6.4.0-rc.1.tgz" - integrity sha512-ulJoalo9CcSJtKO5f1i5xiI/VZF/RT8OdXroDytZ5TfB7lz3tGWYH5oOo8rXaUZAy0o4efjtPYn4Sa8iPi2JEA== +"@storybook/preview-web@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-6.4.3.tgz#a1fbafe68a3b6b8a7cc3dbd565bbee337b17873d" + integrity sha512-TJki+OrcVvNMfhOOHUWxlnhpM1frkL3KSCCGXiAi9n9YAqvEw6DeFX3d7+Z8uAxe4kRQsdqRaszyy+13KHrEyQ== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/channel-postmessage" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/channel-postmessage" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/store" "6.4.0-rc.1" + "@storybook/store" "6.4.3" ansi-to-html "^0.6.11" core-js "^3.8.2" global "^4.4.0" @@ -4302,22 +4302,22 @@ react-docgen-typescript "^2.0.0" tslib "^2.0.0" -"@storybook/react@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/react/-/react-6.4.0-rc.1.tgz" - integrity sha512-5sbr/hErJtScSC2RPfDSn0jO0iPKU3Y1/mTS5PkyesWDyEcXglzcZwosf/vF2hv6PW3sQ2z4IKcD9Zkc+ndGlg== +"@storybook/react@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.4.3.tgz#938f48758e7e785e6ad498e7d3405b2eb81db919" + integrity sha512-OifoqX13dQqR7CcQnGO8xiTUlapsL6iRoDLDWLoNcYduhJCgpuNmM8fJu8pPsUYzDR+hG0FNrx03LK8lkBwNjQ== dependencies: "@babel/preset-flow" "^7.12.1" "@babel/preset-react" "^7.12.10" "@pmmmwh/react-refresh-webpack-plugin" "^0.5.1" - "@storybook/addons" "6.4.0-rc.1" - "@storybook/core" "6.4.0-rc.1" - "@storybook/core-common" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/core" "6.4.3" + "@storybook/core-common" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" - "@storybook/node-logger" "6.4.0-rc.1" + "@storybook/node-logger" "6.4.3" "@storybook/react-docgen-typescript-plugin" "1.0.2-canary.253f8c1.0" "@storybook/semver" "^7.3.2" - "@storybook/store" "6.4.0-rc.1" + "@storybook/store" "6.4.3" "@types/webpack-env" "^1.16.0" babel-plugin-add-react-displayname "^0.0.5" babel-plugin-named-asset-import "^0.3.1" @@ -4333,12 +4333,12 @@ ts-dedent "^2.0.0" webpack "4" -"@storybook/router@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/router/-/router-6.4.0-rc.1.tgz" - integrity sha512-9DCyszOD7Aw1VM25Jl+cUIYh8D8lSH9ovOn0J77R8s8EB6Sysge1MHW1kFjmE2Q90hmxaIQEJAHrN46erFfAHg== +"@storybook/router@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.4.3.tgz#3682793a14b8bb75105184450117e4df3505b820" + integrity sha512-13Xs9KK9vvnil7HPF8esuvwrpdb/DDn6SzMgEFJxKYVgJy6ASAu/rzFweezCZntT58F8kEqEn1sHMOjw4gN7hw== dependencies: - "@storybook/client-logger" "6.4.0-rc.1" + "@storybook/client-logger" "6.4.3" core-js "^3.8.2" fast-deep-equal "^3.1.3" global "^4.4.0" @@ -4346,8 +4346,8 @@ lodash "^4.17.20" memoizerific "^1.11.3" qs "^6.10.0" - react-router "^6.0.0-beta.8" - react-router-dom "^6.0.0-beta.8" + react-router "^6.0.0" + react-router-dom "^6.0.0" ts-dedent "^2.0.0" "@storybook/semver@^7.3.2": @@ -4358,13 +4358,13 @@ core-js "^3.6.5" find-up "^4.1.0" -"@storybook/source-loader@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/source-loader/-/source-loader-6.4.0-rc.1.tgz" - integrity sha512-Q/WdYPtTJLEtq5K9PxD23R9vUPNF+Ca0cwHDq7xY82nUWT8knJRxAFLp6kvkArDt1zH+TnNbNcFcAVkG07dEiw== +"@storybook/source-loader@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.4.3.tgz#8b89afd2a5529639e0ed35d357632cff1ac0aeca" + integrity sha512-BsYsZOVUYveD6oRN+Fae22ZFC2AYGoIrQj7loZPb3AWih8X4/3Jb70eoXB2yBzE+lVjQodTad/TDAmMR2OBVrg== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/client-logger" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" core-js "^3.8.2" estraverse "^5.2.0" @@ -4374,14 +4374,14 @@ prettier "^2.2.1" regenerator-runtime "^0.13.7" -"@storybook/store@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/store/-/store-6.4.0-rc.1.tgz" - integrity sha512-5A6FT/1rel5zWkexTri8LMRyMp9Pzn1Rrg0wY9Fu7oUJer+AMqKaWjUeEM6QfCJ86RPn98C83pe2IyXFoi+nqQ== +"@storybook/store@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/store/-/store-6.4.3.tgz#5de37dd336a5cf4878910060e58658aa07924570" + integrity sha512-KbuvBWiqL9SCQCY45ZiCQueTTWWvX1ClXCoNoeVdZ0NskAV6e+tIhlSWSIpbVNG9zKUMmKj2Kkyq55D7cQrWQg== dependencies: - "@storybook/addons" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/core-events" "6.4.3" "@storybook/csf" "0.0.2--canary.87bc651.0" core-js "^3.8.2" fast-deep-equal "^3.1.3" @@ -4395,15 +4395,15 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/theming@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/theming/-/theming-6.4.0-rc.1.tgz" - integrity sha512-ZqirUiP7Uf6JhdynjR1upjA76a+bLSIHOOkHZDXM03hSxYKuIePsJCeTfUNYRApVfetM4H00wSrXtmBABabr9A== +"@storybook/theming@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.4.3.tgz#97db57dde4cb1dfa1cc07181b8b1ece3557696ea" + integrity sha512-kXoDN8H6jfHLBawYB65E11yU7iRzej1HRG33CpY6ViPllV0IfIesUWXbrVQyJmTB2IQaoJpzwJN0Bt2KPaTOhw== dependencies: "@emotion/core" "^10.1.1" "@emotion/is-prop-valid" "^0.8.6" "@emotion/styled" "^10.0.27" - "@storybook/client-logger" "6.4.0-rc.1" + "@storybook/client-logger" "6.4.3" core-js "^3.8.2" deep-object-diff "^1.1.0" emotion-theming "^10.0.27" @@ -4413,21 +4413,21 @@ resolve-from "^5.0.0" ts-dedent "^2.0.0" -"@storybook/ui@6.4.0-rc.1": - version "6.4.0-rc.1" - resolved "https://registry.npmjs.org/@storybook/ui/-/ui-6.4.0-rc.1.tgz" - integrity sha512-hOGdoMd/Bomo6BhgI7+s9zyAk3AXmZHi9+oX2Ce1iHT7J1yl3t+SWxj7VMh5BXlXCabI6P2KGYIpu7t3y4rC/A== +"@storybook/ui@6.4.3": + version "6.4.3" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.4.3.tgz#099cdc7bc09c1d71dac9a9eb4698aa949ed2be6a" + integrity sha512-z9b90YctCrqNkfT17fhPKs5m11pn7Bqy7iOZg/1OFZZzRp4iYLzrGdkdwnGe/cpSaJ7pXwdmoJZCqZoXIrJCYQ== dependencies: "@emotion/core" "^10.1.1" - "@storybook/addons" "6.4.0-rc.1" - "@storybook/api" "6.4.0-rc.1" - "@storybook/channels" "6.4.0-rc.1" - "@storybook/client-logger" "6.4.0-rc.1" - "@storybook/components" "6.4.0-rc.1" - "@storybook/core-events" "6.4.0-rc.1" - "@storybook/router" "6.4.0-rc.1" + "@storybook/addons" "6.4.3" + "@storybook/api" "6.4.3" + "@storybook/channels" "6.4.3" + "@storybook/client-logger" "6.4.3" + "@storybook/components" "6.4.3" + "@storybook/core-events" "6.4.3" + "@storybook/router" "6.4.3" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.4.0-rc.1" + "@storybook/theming" "6.4.3" copy-to-clipboard "^3.3.1" core-js "^3.8.2" core-js-pure "^3.8.2" @@ -6385,17 +6385,10 @@ camelize@^1.0.0: resolved "https://registry.npmjs.org/camelize/-/camelize-1.0.0.tgz" integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs= -caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001219: - version "1.0.30001234" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001234.tgz" - integrity sha512-a3gjUVKkmwLdNysa1xkUAwN2VfJUJyVW47rsi3aCbkRCtbHAfo+rOsCqVw29G6coQ8gzAPb5XBXwiGHwme3isA== - -caniuse-lite@^1.0.30001259: - version "1.0.30001260" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001260.tgz" - integrity sha512-Fhjc/k8725ItmrvW5QomzxLeojewxvqiYCKeFcfFEhut28IVLdpHU19dneOmltZQIE5HNbawj1HYD+1f2bM1Dg== - dependencies: - nanocolors "^0.1.0" +caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001259: + version "1.0.30001283" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001283.tgz" + integrity sha512-9RoKo841j1GQFSJz/nCXOj0sD7tHBtlowjYlrqIUS812x9/emfBLBt6IyMz1zIaYc/eRL8Cs6HPUVi2Hzq4sIg== capture-exit@^2.0.0: version "2.0.0" @@ -7931,10 +7924,10 @@ eslint-plugin-react@^7.20.0: semver "^6.3.0" string.prototype.matchall "^4.0.5" -eslint-plugin-storybook@^0.4.1: - version "0.4.1" - resolved "https://registry.npmjs.org/eslint-plugin-storybook/-/eslint-plugin-storybook-0.4.1.tgz" - integrity sha512-I09XAfSVkusdAsHprP4/bSUHmOIP/9QDwpZIG/JRw84ZsHjWVf6JjM505RI/w52DXOKPswPdYZuIsfMlRJ87iQ== +eslint-plugin-storybook@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-storybook/-/eslint-plugin-storybook-0.5.1.tgz#f8b17e9d61602f17bfe64ac3970efb3ca9a9c432" + integrity sha512-110XEioG0xWXN1sHIvnT7zsifc94eYzH0SnSljafcO7wrVm0Uy/Sjko2rKSqkQ5shB32LWzTLQEyUA3+ZCS+sw== dependencies: "@storybook/csf" "^0.0.1" "@typescript-eslint/experimental-utils" "^5.3.0" @@ -11536,7 +11529,7 @@ nan@^2.12.1: resolved "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz" integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ== -nanocolors@^0.1.0, nanocolors@^0.1.5: +nanocolors@^0.1.5: version "0.1.12" resolved "https://registry.npmjs.org/nanocolors/-/nanocolors-0.1.12.tgz" integrity sha512-2nMHqg1x5PU+unxX7PGY7AuYxl2qDx7PSrTRjizr8sxdd3l/3hBuWWaki62qmtYm2U5i4Z5E7GbjlyDFhs9/EQ== @@ -13091,15 +13084,15 @@ react-refresh@^0.4.0: resolved "https://registry.npmjs.org/react-refresh/-/react-refresh-0.4.3.tgz" integrity sha512-Hwln1VNuGl/6bVwnd0Xdn1e84gT/8T9aYNL+HAKDArLCS7LWjwr7StE30IEYbIkx0Vi3vs+coQxe+SQDbGbbpA== -react-router-dom@^6.0.0-beta.8: +react-router-dom@^6.0.0: version "6.0.2" - resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.0.2.tgz" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.0.2.tgz#860cefa697b9d4965eced3f91e82cdbc5995f3ad" integrity sha512-cOpJ4B6raFutr0EG8O/M2fEoyQmwvZWomf1c6W2YXBZuFBx8oTk/zqjXghwScyhfrtnt0lANXV2182NQblRxFA== dependencies: history "^5.1.0" react-router "6.0.2" -react-router@6.0.2, react-router@^6.0.0-beta.8: +react-router@6.0.2, react-router@^6.0.0: version "6.0.2" resolved "https://registry.npmjs.org/react-router/-/react-router-6.0.2.tgz" integrity sha512-8/Wm3Ed8t7TuedXjAvV39+c8j0vwrI5qVsYqjFr5WkJjsJpEvNSoLRUbtqSEYzqaTUj1IV+sbPJxvO+accvU0Q==