From 0feb858a503a7469b0469607f4cc3620edd2610d Mon Sep 17 00:00:00 2001 From: Danny Date: Sat, 5 Nov 2022 12:21:25 +0000 Subject: [PATCH 01/16] feat: init --- app/react-native-server/package.json | 4 +-- app/react-native/src/preview/View.tsx | 39 ++++++++++++++++++++------ app/react-native/src/preview/start.tsx | 2 +- examples/native/package.json | 1 + 4 files changed, 35 insertions(+), 11 deletions(-) diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index 2c93618a93..e6fff511a3 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -18,7 +18,7 @@ }, "license": "MIT", "bin": { - "start-storybook": "./bin/index.js", + "react-native-storybook-server": "./bin/index.js", "storybook-server": "./bin/index.js" }, "files": [ @@ -48,7 +48,7 @@ "ws": "^7.1.2" }, "peerDependencies": { - "babel-loader": "^7.0.0 || ^8.0.0" + "babel-loader": "^7.0.0 || ^8.0.0 || ^9.0.0" }, "engines": { "node": ">=8.0.0" diff --git a/app/react-native/src/preview/View.tsx b/app/react-native/src/preview/View.tsx index da49acd375..33882f6149 100644 --- a/app/react-native/src/preview/View.tsx +++ b/app/react-native/src/preview/View.tsx @@ -9,6 +9,8 @@ import OnDeviceUI from './components/OnDeviceUI'; import { theme } from './components/Shared/theme'; import type { ReactNativeFramework } from '../types/types-6.0'; import { PreviewWeb } from '@storybook/preview-web'; +import createChannel from '@storybook/channel-websocket'; +import getHost from './rn-host-detect'; const STORAGE_KEY = 'lastOpenedStory'; @@ -35,13 +37,13 @@ type InitialSelection = }; export type Params = { - // onDeviceUI?: boolean; - // resetStorybook?: boolean; // TODO: access all these params to see if they - // disableWebsockets?: boolean; - // query?: string; - // host?: string; - // port?: number; - // secured?: boolean; + onDeviceUI?: boolean; + // resetStorybook?: boolean; // TODO: assess all these params to see if they + enableWebsockets?: boolean; + query?: string; + host?: string; + port?: number; + secured?: boolean; initialSelection?: InitialSelection; shouldPersistSelection?: boolean; tabOpen?: number; @@ -57,6 +59,7 @@ export class View { _ready: boolean = false; _preview: PreviewWeb; _asyncStorageStoryId: string; + _webUrl: string; constructor(preview: PreviewWeb) { this._preview = preview; @@ -93,8 +96,28 @@ export class View { return { storySpecifier: '*', viewMode: 'story' }; }; getStorybookUI = (params: Partial = {}) => { - const { shouldPersistSelection = true } = params; + const { shouldPersistSelection = true, enableWebsockets = false } = params; const initialStory = this._getInitialStory(params); + if (enableWebsockets) { + const host = getHost(params.host || 'localhost'); + const port = `:${params.port || 7007}`; + + const query = params.query || ''; + const { secured } = params; + const websocketType = secured ? 'wss' : 'ws'; + const httpType = secured ? 'https' : 'http'; + console.log({ host, port }); + + const url = `${websocketType}://${host}${port}/${query}`; + this._webUrl = `${httpType}://${host}${port}`; + + const newChannel = createChannel({ + url, + async: params.onDeviceUI, + onError: async () => {}, + }); + addons.setChannel(newChannel); + } addons.loadAddons({ store: () => ({ diff --git a/app/react-native/src/preview/start.tsx b/app/react-native/src/preview/start.tsx index f905f7fcaf..0a17564eb9 100644 --- a/app/react-native/src/preview/start.tsx +++ b/app/react-native/src/preview/start.tsx @@ -22,7 +22,7 @@ export const render: ArgsStoryFn = (args, context) => { }; export function start() { - const channel = new Channel({ async: true }); + let channel = new Channel({ async: true }); addons.setChannel(channel); const clientApi = new ClientApi(); diff --git a/examples/native/package.json b/examples/native/package.json index 4374664b2c..66f600b205 100644 --- a/examples/native/package.json +++ b/examples/native/package.json @@ -13,6 +13,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "prestart": "yarn get-stories", "start": "react-native start", + "start-server": "react-native-storybook-server", "storybook-watcher": "sb-rn-watcher --config-path=./.storybook", "test": "jest --passWithNoTests", "preweb": "yarn get-stories", From 26f1a4365be051d1f4ef954e863db1d4104a6b0b Mon Sep 17 00:00:00 2001 From: Danny Date: Sat, 5 Nov 2022 18:18:02 +0000 Subject: [PATCH 02/16] feat: kinda working with some hacks --- app/react-native-server/package.json | 2 +- .../src/client/manager/provider.js | 7 +++-- app/react-native-server/src/server/cli.js | 2 +- app/react-native-server/src/server/index.js | 4 ++- app/react-native-server/src/server/options.js | 27 ++++++++++-------- .../src/server/rn-options-preset.js | 2 +- app/react-native/src/preview/View.tsx | 24 +--------------- .../src/preview/rn-host-detect.js | 5 +--- app/react-native/src/preview/start.tsx | 28 ++++++++++++++++++- examples/native/.storybook_server/main.js | 9 ++++++ examples/native/src/index.js | 0 yarn.lock | 2 +- 12 files changed, 65 insertions(+), 47 deletions(-) create mode 100644 examples/native/.storybook_server/main.js create mode 100644 examples/native/src/index.js diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index e6fff511a3..a827524004 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -44,7 +44,7 @@ "react": "^18.2.0", "react-dom": "18.2.0", "uuid": "^3.3.2", - "webpack": "^5.74.0", + "webpack": "^4", "ws": "^7.1.2" }, "peerDependencies": { diff --git a/app/react-native-server/src/client/manager/provider.js b/app/react-native-server/src/client/manager/provider.js index bc05b6d819..ceba21757f 100644 --- a/app/react-native-server/src/client/manager/provider.js +++ b/app/react-native-server/src/client/manager/provider.js @@ -55,7 +55,11 @@ export default class ReactProvider extends Provider { {({ storiesHash, storyId, api, viewMode }) => { if (storiesHash[storyId]) { - api.emit(Events.SET_CURRENT_STORY, { storyId }); + // { + // storySpecifier: toId(initialSelection.kind, initialSelection.name), + // viewMode: 'story', + // } + api.emit(Events.SET_CURRENT_STORY, { storySpecifier: storyId, viewMode: 'story' }); } return viewMode === 'story' ? : null; }} @@ -65,6 +69,5 @@ export default class ReactProvider extends Provider { handleAPI(api) { addons.loadAddons(api); - api.emit(Events.GET_STORIES); } } diff --git a/app/react-native-server/src/server/cli.js b/app/react-native-server/src/server/cli.js index ac6328fbc5..6f0c7913e1 100644 --- a/app/react-native-server/src/server/cli.js +++ b/app/react-native-server/src/server/cli.js @@ -29,7 +29,7 @@ function getCli() { .option('--quiet', 'Suppress verbose build output') .parse(process.argv); - const configDir = path.resolve(program.configDir || './storybook'); + const configDir = path.resolve(program.configDir || './.storybook_server'); return { ...program, diff --git a/app/react-native-server/src/server/index.js b/app/react-native-server/src/server/index.js index 6a5e462530..7b9f3ae240 100755 --- a/app/react-native-server/src/server/index.js +++ b/app/react-native-server/src/server/index.js @@ -14,7 +14,9 @@ export default class Server { } start() { - return storybook(this.options); + console.log({ port: this.options.port, host: this.options.host }); + return storybook({ ...this.options, port: 7007, host: '192.168.1.185' }); + // TODO: figure out why port/host are not getting passed correctly } attachWS(server) { diff --git a/app/react-native-server/src/server/options.js b/app/react-native-server/src/server/options.js index 873b3caab1..b720000597 100644 --- a/app/react-native-server/src/server/options.js +++ b/app/react-native-server/src/server/options.js @@ -1,27 +1,30 @@ -import { managerPreset } from '@storybook/core/server'; import packageJson from '../../package.json'; function extendOptions(options, extendServer) { const { manualId, https: secured, host, port } = options; - const storybookOptions = { manualId, secured, host, port }; + const storybookOptions = { manualId, secured, host: '192.168.1.185', port: 7007 }; + // TODO: figure out port/host thing + const corePresets = [ + { + name: '@storybook/manager-webpack4/manager-preset', + options: { managerEntry: require.resolve('../client/manager') }, + }, + { + name: require.resolve('./rn-options-preset.js'), + options: { storybookOptions }, + }, + ]; return { ...options, framework: 'react-native', + // debugWebpack: true, + managerCache: false, extendServer, packageJson, mode: 'dev', ignorePreview: true, - corePresets: [ - { - name: managerPreset, - options: { managerEntry: require.resolve('../client/manager') }, - }, - { - name: require.resolve('./rn-options-preset.js'), - options: { storybookOptions }, - }, - ], + corePresets, }; } diff --git a/app/react-native-server/src/server/rn-options-preset.js b/app/react-native-server/src/server/rn-options-preset.js index 095342d722..17adbebad3 100644 --- a/app/react-native-server/src/server/rn-options-preset.js +++ b/app/react-native-server/src/server/rn-options-preset.js @@ -6,7 +6,7 @@ export async function managerWebpack(config, options) { return { ...config, plugins: [ - ...config.plugins, + ...(config?.plugins ?? []), new webpack.DefinePlugin({ storybookOptions: JSON.stringify(storybookOptions), }), diff --git a/app/react-native/src/preview/View.tsx b/app/react-native/src/preview/View.tsx index 33882f6149..187ae6e6e9 100644 --- a/app/react-native/src/preview/View.tsx +++ b/app/react-native/src/preview/View.tsx @@ -9,8 +9,6 @@ import OnDeviceUI from './components/OnDeviceUI'; import { theme } from './components/Shared/theme'; import type { ReactNativeFramework } from '../types/types-6.0'; import { PreviewWeb } from '@storybook/preview-web'; -import createChannel from '@storybook/channel-websocket'; -import getHost from './rn-host-detect'; const STORAGE_KEY = 'lastOpenedStory'; @@ -96,28 +94,8 @@ export class View { return { storySpecifier: '*', viewMode: 'story' }; }; getStorybookUI = (params: Partial = {}) => { - const { shouldPersistSelection = true, enableWebsockets = false } = params; + const { shouldPersistSelection = true } = params; const initialStory = this._getInitialStory(params); - if (enableWebsockets) { - const host = getHost(params.host || 'localhost'); - const port = `:${params.port || 7007}`; - - const query = params.query || ''; - const { secured } = params; - const websocketType = secured ? 'wss' : 'ws'; - const httpType = secured ? 'https' : 'http'; - console.log({ host, port }); - - const url = `${websocketType}://${host}${port}/${query}`; - this._webUrl = `${httpType}://${host}${port}`; - - const newChannel = createChannel({ - url, - async: params.onDeviceUI, - onError: async () => {}, - }); - addons.setChannel(newChannel); - } addons.loadAddons({ store: () => ({ diff --git a/app/react-native/src/preview/rn-host-detect.js b/app/react-native/src/preview/rn-host-detect.js index 6efdb07cf9..624f98b79f 100644 --- a/app/react-native/src/preview/rn-host-detect.js +++ b/app/react-native/src/preview/rn-host-detect.js @@ -5,10 +5,7 @@ * When __DEV__ === false, we can't use window.require('NativeModules') */ function getByRemoteConfig(hostname) { - var remoteModuleConfig = - typeof window !== 'undefined' && - window.__fbBatchedBridgeConfig && - window.__fbBatchedBridgeConfig.remoteModuleConfig; + var remoteModuleConfig = window?.__fbBatchedBridgeConfig?.remoteModuleConfig; if ( !Array.isArray(remoteModuleConfig) || (hostname !== 'localhost' && hostname !== '127.0.0.1') diff --git a/app/react-native/src/preview/start.tsx b/app/react-native/src/preview/start.tsx index 0a17564eb9..3048fa8264 100644 --- a/app/react-native/src/preview/start.tsx +++ b/app/react-native/src/preview/start.tsx @@ -9,6 +9,8 @@ import type { ReactNativeFramework } from '../types/types-6.0'; import { View } from './View'; import { executeLoadableForChanges } from './executeLoadable'; import type { ArgsStoryFn } from '@storybook/csf'; +import createChannel from '@storybook/channel-websocket'; +import getHost from './rn-host-detect'; export const render: ArgsStoryFn = (args, context) => { const { id, component: Component } = context; @@ -21,8 +23,32 @@ export const render: ArgsStoryFn = (args, context) => { return ; }; +const getServerChannel = ( + params: { host?: string; port?: string; query?: string; secured?: boolean } = {} +) => { + const host = getHost(params.host || '192.168.1.185'); + const port = `:${params.port || 7007}`; + + const query = params.query || ''; + + const websocketType = params.secured ? 'wss' : 'ws'; + const httpType = params.secured ? 'https' : 'http'; + console.log({ host, port }); + + const url = `${websocketType}://${host}${port}/${query}`; + const webUrl = `${httpType}://${host}${port}`; + console.log(webUrl); + return createChannel({ + url, + async: true, + onError: async () => {}, + }); +}; + export function start() { - let channel = new Channel({ async: true }); + const params = {} as any; // TODO: get params from main.js + let channel = params ? getServerChannel(params) : new Channel({ async: true }); + addons.setChannel(channel); const clientApi = new ClientApi(); diff --git a/examples/native/.storybook_server/main.js b/examples/native/.storybook_server/main.js new file mode 100644 index 0000000000..c9e2bad0a0 --- /dev/null +++ b/examples/native/.storybook_server/main.js @@ -0,0 +1,9 @@ +module.exports = { + stories: [ + '../components/**/*.stories.?(ts|tsx|js|jsx)', + '../other_components/AnotherButton/AnotherButton.stories.tsx', + ], + logLevel: 'debug', + env: () => ({}), + addons: [], +}; diff --git a/examples/native/src/index.js b/examples/native/src/index.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/yarn.lock b/yarn.lock index 56f3ae4e81..f1e4225ccb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20187,7 +20187,7 @@ webpack-virtual-modules@^0.2.2: dependencies: debug "^3.0.0" -webpack@4, webpack@^4.38.0: +webpack@4, webpack@^4, webpack@^4.38.0: version "4.46.0" resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.46.0.tgz#bf9b4404ea20a073605e0a011d188d77cb6ad542" integrity sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q== From 2e6a335b67512be0f21c13134335589f6ce84b21 Mon Sep 17 00:00:00 2001 From: Danny Date: Thu, 17 Nov 2022 12:11:54 +0000 Subject: [PATCH 03/16] fix: set current story using id --- .../src/client/manager/provider.js | 3 +- examples/native/.storybook_server/main.js | 2 +- examples/native/package.json | 1 + yarn.lock | 198 +++++++++++++++++- 4 files changed, 199 insertions(+), 5 deletions(-) diff --git a/app/react-native-server/src/client/manager/provider.js b/app/react-native-server/src/client/manager/provider.js index ceba21757f..c363099d43 100644 --- a/app/react-native-server/src/client/manager/provider.js +++ b/app/react-native-server/src/client/manager/provider.js @@ -59,7 +59,8 @@ export default class ReactProvider extends Provider { // storySpecifier: toId(initialSelection.kind, initialSelection.name), // viewMode: 'story', // } - api.emit(Events.SET_CURRENT_STORY, { storySpecifier: storyId, viewMode: 'story' }); + // api.emit(Events.SET_CURRENT_STORY, { storySpecifier: storyId, viewMode: 'story' }); + api.emit(Events.SET_CURRENT_STORY, { storyId }); } return viewMode === 'story' ? : null; }} diff --git a/examples/native/.storybook_server/main.js b/examples/native/.storybook_server/main.js index c9e2bad0a0..31bd34ced3 100644 --- a/examples/native/.storybook_server/main.js +++ b/examples/native/.storybook_server/main.js @@ -5,5 +5,5 @@ module.exports = { ], logLevel: 'debug', env: () => ({}), - addons: [], + addons: ['@storybook/addon-essentials'], }; diff --git a/examples/native/package.json b/examples/native/package.json index 66f600b205..f286295017 100644 --- a/examples/native/package.json +++ b/examples/native/package.json @@ -39,6 +39,7 @@ "@react-native-community/datetimepicker": "^6.5.0", "@react-native-community/slider": "^4.3.1", "@storybook/addon-actions": "^6.5", + "@storybook/addon-essentials": "^6.5", "@storybook/addon-links": "^6.5", "@storybook/addon-ondevice-actions": "^6.0.1-beta.10", "@storybook/addon-ondevice-backgrounds": "^6.0.1-beta.10", diff --git a/yarn.lock b/yarn.lock index f1e4225ccb..3901edcbb1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2661,6 +2661,11 @@ unist-builder "2.0.3" unist-util-visit "2.0.3" +"@mdx-js/react@^1.6.22": + version "1.6.22" + resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.6.22.tgz#ae09b4744fddc74714ee9f9d6f17a66e77c43573" + integrity sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg== + "@mdx-js/util@1.6.22": version "1.6.22" resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.22.tgz#219dfd89ae5b97a8801f015323ffa4b62f45718b" @@ -3239,7 +3244,7 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@storybook/addon-actions@^6.5": +"@storybook/addon-actions@6.5.13", "@storybook/addon-actions@^6.5": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.5.13.tgz#84535dda78c7fe15fc61f19a23ed1440952f3c76" integrity sha512-3Tji0gIy95havhTpSc6CsFl5lNxGn4O5Y1U9fyji+GRkKqDFOrvVLYAHPtLOpYdEI5tF0bDo+akiqfDouY8+eA== @@ -3264,7 +3269,26 @@ util-deprecate "^1.0.2" uuid-browser "^3.1.0" -"@storybook/addon-controls@^6.5": +"@storybook/addon-backgrounds@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.5.13.tgz#37629db582501aa22bddf492a9f01d6614aaa993" + integrity sha512-b4JX7JMY7e50y1l6g71D+2XWV3GO0TO2z1ta8J6W4OQt8f44V7sSkRQaJUzXdLjQMrA+Anojuy1ZwPjVeLC6vg== + dependencies: + "@storybook/addons" "6.5.13" + "@storybook/api" "6.5.13" + "@storybook/client-logger" "6.5.13" + "@storybook/components" "6.5.13" + "@storybook/core-events" "6.5.13" + "@storybook/csf" "0.0.2--canary.4566f4d.1" + "@storybook/theming" "6.5.13" + core-js "^3.8.2" + global "^4.4.0" + memoizerific "^1.11.3" + regenerator-runtime "^0.13.7" + ts-dedent "^2.0.0" + util-deprecate "^1.0.2" + +"@storybook/addon-controls@6.5.13", "@storybook/addon-controls@^6.5": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.5.13.tgz#14c8f9379337768bf03f59d19f1a16f3c41418ab" integrity sha512-lYq3uf2mlVevm0bi6ueL3H6TpUMRYW9s/pTNTVJT225l27kLdFR9wEKxAkCBrlKaTgDLJmzzDRsJE3NLZlR/5Q== @@ -3282,6 +3306,61 @@ lodash "^4.17.21" ts-dedent "^2.0.0" +"@storybook/addon-docs@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.5.13.tgz#fd82893946b0fa6f0657f16bf6a94637ab4b7532" + integrity sha512-RG/NjsheD9FixZ789RJlNyNccaR2Cuy7CtAwph4oUNi3aDFjtOI8Oe9L+FOT7qtVnZLw/YMjF+pZxoDqJNKLPw== + dependencies: + "@babel/plugin-transform-react-jsx" "^7.12.12" + "@babel/preset-env" "^7.12.11" + "@jest/transform" "^26.6.2" + "@mdx-js/react" "^1.6.22" + "@storybook/addons" "6.5.13" + "@storybook/api" "6.5.13" + "@storybook/components" "6.5.13" + "@storybook/core-common" "6.5.13" + "@storybook/core-events" "6.5.13" + "@storybook/csf" "0.0.2--canary.4566f4d.1" + "@storybook/docs-tools" "6.5.13" + "@storybook/mdx1-csf" "^0.0.1" + "@storybook/node-logger" "6.5.13" + "@storybook/postinstall" "6.5.13" + "@storybook/preview-web" "6.5.13" + "@storybook/source-loader" "6.5.13" + "@storybook/store" "6.5.13" + "@storybook/theming" "6.5.13" + babel-loader "^8.0.0" + core-js "^3.8.2" + fast-deep-equal "^3.1.3" + global "^4.4.0" + lodash "^4.17.21" + regenerator-runtime "^0.13.7" + remark-external-links "^8.0.0" + remark-slug "^6.0.0" + ts-dedent "^2.0.0" + util-deprecate "^1.0.2" + +"@storybook/addon-essentials@^6.5": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.5.13.tgz#274b8e6b556af4cd43b63fab361fa7d19c704e76" + integrity sha512-G9FVAWV7ixjVLWeLgIX+VT90tcAk6yQxfZQegfg5ucRilGysJCDaNnoab4xuuvm1R40TfFhba3iAGZtQYsddmw== + dependencies: + "@storybook/addon-actions" "6.5.13" + "@storybook/addon-backgrounds" "6.5.13" + "@storybook/addon-controls" "6.5.13" + "@storybook/addon-docs" "6.5.13" + "@storybook/addon-measure" "6.5.13" + "@storybook/addon-outline" "6.5.13" + "@storybook/addon-toolbars" "6.5.13" + "@storybook/addon-viewport" "6.5.13" + "@storybook/addons" "6.5.13" + "@storybook/api" "6.5.13" + "@storybook/core-common" "6.5.13" + "@storybook/node-logger" "6.5.13" + core-js "^3.8.2" + regenerator-runtime "^0.13.7" + ts-dedent "^2.0.0" + "@storybook/addon-links@^6.5": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.5.13.tgz#816816907e28ca1cccb58908360628d1b3914513" @@ -3300,6 +3379,66 @@ regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" +"@storybook/addon-measure@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-6.5.13.tgz#05c0e9813fee84a13ba1172444ea99ee083acdbd" + integrity sha512-pi5RFB9YTnESRFtYHAVRUrgEI5to0TFc4KndtwcCKt1fMJ8OFjXQeznEfdj95PFeUvW5TNUwjL38vK4LhicB+g== + dependencies: + "@storybook/addons" "6.5.13" + "@storybook/api" "6.5.13" + "@storybook/client-logger" "6.5.13" + "@storybook/components" "6.5.13" + "@storybook/core-events" "6.5.13" + "@storybook/csf" "0.0.2--canary.4566f4d.1" + core-js "^3.8.2" + global "^4.4.0" + +"@storybook/addon-outline@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-6.5.13.tgz#e4233e7d268cd0e1b814c253e8756fb459a341bf" + integrity sha512-8d8taPheO/tryflzXbj2QRuxHOIS8CtzRzcaglCcioqHEMhOIDOx9BdXKdheq54gdk/UN94HdGJUoVxYyXwZ4Q== + dependencies: + "@storybook/addons" "6.5.13" + "@storybook/api" "6.5.13" + "@storybook/client-logger" "6.5.13" + "@storybook/components" "6.5.13" + "@storybook/core-events" "6.5.13" + "@storybook/csf" "0.0.2--canary.4566f4d.1" + core-js "^3.8.2" + global "^4.4.0" + regenerator-runtime "^0.13.7" + ts-dedent "^2.0.0" + +"@storybook/addon-toolbars@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.5.13.tgz#0e67552786f08a6c0a443eaaef21ee565acca839" + integrity sha512-Qgr4wKRSP+gY1VaN7PYT4TM1um7KY341X3GHTglXLFHd8nDsCweawfV2shaX3WxCfZmVro8g4G+Oest30kLLCw== + dependencies: + "@storybook/addons" "6.5.13" + "@storybook/api" "6.5.13" + "@storybook/client-logger" "6.5.13" + "@storybook/components" "6.5.13" + "@storybook/theming" "6.5.13" + core-js "^3.8.2" + regenerator-runtime "^0.13.7" + +"@storybook/addon-viewport@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.5.13.tgz#97771ed2f4ca1bef83d25174ce07db8557cdf795" + integrity sha512-KSfeuCSIjncwWGnUu6cZBx8WNqYvm5gHyFvkSPKEu0+MJtgncbUy7pl53lrEEr6QmIq0GRXvS3A0XzV8RCnrSA== + dependencies: + "@storybook/addons" "6.5.13" + "@storybook/api" "6.5.13" + "@storybook/client-logger" "6.5.13" + "@storybook/components" "6.5.13" + "@storybook/core-events" "6.5.13" + "@storybook/theming" "6.5.13" + 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.5.13", "@storybook/addons@^6.5": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.5.13.tgz#61ec5eab07879400d423d60bb397880d10ee5e73" @@ -3761,6 +3900,13 @@ npmlog "^5.0.1" pretty-hrtime "^1.0.3" +"@storybook/postinstall@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.5.13.tgz#b57b68682b853fd451061c06becd1eff18a75cf8" + integrity sha512-qmqP39FGIP5NdhXC5IpAs9cFoYx9fg1psoQKwb9snYb98eVQU31uHc1W2MBUh3lG4AjAm7pQaXJci7ti4jOh3g== + dependencies: + core-js "^3.8.2" + "@storybook/preview-web@6.5.13", "@storybook/preview-web@^6.5": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-6.5.13.tgz#332cac4c95e3fd760c9eb8448dfa50fdb3b6255b" @@ -3856,6 +4002,22 @@ core-js "^3.6.5" find-up "^4.1.0" +"@storybook/source-loader@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.5.13.tgz#40e6e42888b8c12b43a505ffa6c6f1f2cebb0b0d" + integrity sha512-tHuM8PfeB/0m+JigbaFp+Ld0euFH+fgOObH2W9rjEXy5vnwmaeex/JAdCprv4oL+LcDQEERqNULUUNIvbcTPAg== + dependencies: + "@storybook/addons" "6.5.13" + "@storybook/client-logger" "6.5.13" + "@storybook/csf" "0.0.2--canary.4566f4d.1" + core-js "^3.8.2" + estraverse "^5.2.0" + global "^4.4.0" + loader-utils "^2.0.0" + lodash "^4.17.21" + prettier ">=2.2.1 <=2.3.0" + regenerator-runtime "^0.13.7" + "@storybook/store@6.5.13": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/store/-/store-6.5.13.tgz#0281bdf0e24c880f85ea75ae47b6a84e8545b5f8" @@ -10263,6 +10425,11 @@ github-release-from-changelog@^2.1.0: grizzly "^4.0.0" minimist "^1.2.0" +github-slugger@^1.0.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.5.0.tgz#17891bbc73232051474d68bd867a34625c955f7d" + integrity sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw== + gitlab@^10.0.1: version "10.2.1" resolved "https://registry.yarnpkg.com/gitlab/-/gitlab-10.2.1.tgz#1f5fb2c2bad08f95b7c7d91dd41805ab5eea3960" @@ -11290,6 +11457,11 @@ ipaddr.js@^2.0.1: resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.1.tgz#eca256a7a877e917aeb368b0a7497ddf42ef81c0" integrity sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng== +is-absolute-url@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-3.0.3.tgz#96c6a22b6a23929b11ea0afb1836c36ad4a5d698" + integrity sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q== + is-accessor-descriptor@^0.1.6: version "0.1.6" resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" @@ -13930,7 +14102,7 @@ mdast-util-to-markdown@^0.6.0: repeat-string "^1.0.0" zwitch "^1.0.0" -mdast-util-to-string@^1.0.2: +mdast-util-to-string@^1.0.0, mdast-util-to-string@^1.0.2: version "1.1.0" resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-1.1.0.tgz#27055500103f51637bd07d01da01eb1967a43527" integrity sha512-jVU0Nr2B9X3MU4tSK7JP1CMkSvOj7X5l/GboG1tKRw52lLF1x2Ju92Ms9tNetCcbfX3hzlM73zYo2NKkWSfF/A== @@ -16975,6 +17147,17 @@ remark-cli@^9.0.0: remark "^13.0.0" unified-args "^8.0.0" +remark-external-links@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/remark-external-links/-/remark-external-links-8.0.0.tgz#308de69482958b5d1cd3692bc9b725ce0240f345" + integrity sha512-5vPSX0kHoSsqtdftSHhIYofVINC8qmp0nctkeU9YoJwV3YfiBRiI6cbFRJ0oI/1F9xS+bopXG0m2KS8VFscuKA== + dependencies: + extend "^3.0.0" + is-absolute-url "^3.0.0" + mdast-util-definitions "^4.0.0" + space-separated-tokens "^1.0.0" + unist-util-visit "^2.0.0" + remark-footnotes@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-2.0.0.tgz#9001c4c2ffebba55695d2dd80ffb8b82f7e6303f" @@ -17213,6 +17396,15 @@ remark-preset-lint-recommended@^5.0.0: remark-lint-no-unused-definitions "^2.0.0" remark-lint-ordered-list-marker-style "^2.0.0" +remark-slug@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/remark-slug/-/remark-slug-6.1.0.tgz#0503268d5f0c4ecb1f33315c00465ccdd97923ce" + integrity sha512-oGCxDF9deA8phWvxFuyr3oSJsdyUAxMFbA0mZ7Y1Sas+emILtO+e5WutF9564gDsEN4IXaQXm5pFo6MLH+YmwQ== + dependencies: + github-slugger "^1.0.0" + mdast-util-to-string "^1.0.0" + unist-util-visit "^2.0.0" + remark-squeeze-paragraphs@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/remark-squeeze-paragraphs/-/remark-squeeze-paragraphs-4.0.0.tgz#76eb0e085295131c84748c8e43810159c5653ead" From 1e958ddaa84bf1526f0f103631304b6d2eaa2b69 Mon Sep 17 00:00:00 2001 From: Danny Date: Thu, 17 Nov 2022 13:10:39 +0000 Subject: [PATCH 04/16] fix: temporary patch package thing --- app/react-native/src/preview/View.tsx | 35 ++++++++------ app/react-native/src/preview/start.tsx | 8 +--- examples/native/.storybook/Storybook.tsx | 8 +++- package.json | 3 ++ patches/@storybook+api+6.5.13.patch | 13 ++++++ patches/telejson+6.0.8.patch | 22 +++++++++ yarn.lock | 59 ++++++++++++++++++++++-- 7 files changed, 123 insertions(+), 25 deletions(-) create mode 100644 patches/@storybook+api+6.5.13.patch create mode 100644 patches/telejson+6.0.8.patch diff --git a/app/react-native/src/preview/View.tsx b/app/react-native/src/preview/View.tsx index 187ae6e6e9..ce7dc886a7 100644 --- a/app/react-native/src/preview/View.tsx +++ b/app/react-native/src/preview/View.tsx @@ -9,6 +9,7 @@ import OnDeviceUI from './components/OnDeviceUI'; import { theme } from './components/Shared/theme'; import type { ReactNativeFramework } from '../types/types-6.0'; import { PreviewWeb } from '@storybook/preview-web'; +import StoryView from './components/StoryView'; const STORAGE_KEY = 'lastOpenedStory'; @@ -94,7 +95,7 @@ export class View { return { storySpecifier: '*', viewMode: 'story' }; }; getStorybookUI = (params: Partial = {}) => { - const { shouldPersistSelection = true } = params; + const { shouldPersistSelection = true, onDeviceUI = true } = params; const initialStory = this._getInitialStory(params); addons.loadAddons({ @@ -131,20 +132,24 @@ export class View { }); }, []); - return ( - - - - - - ); + if (onDeviceUI) { + return ( + + + + + + ); + } else { + return ; + } }; }; } diff --git a/app/react-native/src/preview/start.tsx b/app/react-native/src/preview/start.tsx index 3048fa8264..4b1965a8d4 100644 --- a/app/react-native/src/preview/start.tsx +++ b/app/react-native/src/preview/start.tsx @@ -32,12 +32,8 @@ const getServerChannel = ( const query = params.query || ''; const websocketType = params.secured ? 'wss' : 'ws'; - const httpType = params.secured ? 'https' : 'http'; - console.log({ host, port }); - const url = `${websocketType}://${host}${port}/${query}`; - const webUrl = `${httpType}://${host}${port}`; - console.log(webUrl); + return createChannel({ url, async: true, @@ -105,7 +101,7 @@ export function start() { clientApi, preview, // This gets called each time the user calls configure (i.e. once per HMR) - // The first time, it constructs the preview, subsequently it updates it + // The first time, it constructs thecurrentSelection preview, subsequently it updates it configure(loadable: Loadable, m: NodeModule) { clientApi.addParameters({ framework: 'react-native' }); diff --git a/examples/native/.storybook/Storybook.tsx b/examples/native/.storybook/Storybook.tsx index e048919d95..80a8c41104 100644 --- a/examples/native/.storybook/Storybook.tsx +++ b/examples/native/.storybook/Storybook.tsx @@ -1,4 +1,5 @@ import { getStorybookUI } from '@storybook/react-native'; +import { SafeAreaView } from 'react-native'; import './doctools'; import './storybook.requires'; @@ -6,6 +7,11 @@ import './storybook.requires'; const StorybookUIRoot = getStorybookUI({ // initialSelection: { kind: 'TextInput', name: 'Basic' }, shouldPersistSelection: true, + onDeviceUI: true, }); -export default StorybookUIRoot; +export default () => ( + + + +); diff --git a/package.json b/package.json index f664885560..679565d02c 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "docs:build": "npm --prefix docs run build", "docs:dev": "npm --prefix docs run dev", "github-release": "github-release-from-changelog", + "postinstall": "patch-package", "lint": "yarn lint:js . && yarn lint:md .", "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.html,.ts,.tsx,.mjs --report-unused-disable-directives", "lint:js:fix": "yarn lint:js . --fix", @@ -187,6 +188,8 @@ "node-cleanup": "^2.1.2", "node-fetch": "^2.6.0", "npmlog": "^4.1.2", + "patch-package": "^6.5.0", + "postinstall-postinstall": "^2.1.0", "prettier": "^2.4.1", "raf": "^3.4.0", "react": "^18.2.0", diff --git a/patches/@storybook+api+6.5.13.patch b/patches/@storybook+api+6.5.13.patch new file mode 100644 index 0000000000..1c2a0d8930 --- /dev/null +++ b/patches/@storybook+api+6.5.13.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/@storybook/api/dist/esm/modules/refs.js b/node_modules/@storybook/api/dist/esm/modules/refs.js +index 49f2aba..b441b81 100644 +--- a/node_modules/@storybook/api/dist/esm/modules/refs.js ++++ b/node_modules/@storybook/api/dist/esm/modules/refs.js +@@ -73,7 +73,7 @@ export var getSourceType = function getSourceType(source, refId) { + var localOrigin = location.origin, + localPathname = location.pathname; + +- var _URL = new URL(source), ++ var _URL = new URL(source || location.origin), + sourceOrigin = _URL.origin, + sourcePathname = _URL.pathname; + diff --git a/patches/telejson+6.0.8.patch b/patches/telejson+6.0.8.patch new file mode 100644 index 0000000000..ad2a7d2a52 --- /dev/null +++ b/patches/telejson+6.0.8.patch @@ -0,0 +1,22 @@ +diff --git a/node_modules/telejson/dist/cjs/index.js b/node_modules/telejson/dist/cjs/index.js +index d32dbcf..d2f1fd9 100644 +--- a/node_modules/telejson/dist/cjs/index.js ++++ b/node_modules/telejson/dist/cjs/index.js +@@ -39,8 +39,6 @@ function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !( + + function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } + +-var isRunningInBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined'; // eslint-disable-next-line @typescript-eslint/ban-types, no-use-before-define +- + var isObject = _isobject["default"]; + + var removeCodeComments = function removeCodeComments(code) { +@@ -134,7 +132,7 @@ function convertUnconventionalData(data) { + // Plus we need to check if running in a browser to ensure `Event` exist and + // is really the dom Event class. + +- if (isRunningInBrowser && data instanceof Event) { ++ if (typeof Event !== "undefined" && data instanceof Event) { + result = (0, _domEvent.extractEventHiddenProperties)(result); + wasMutated = true; + } diff --git a/yarn.lock b/yarn.lock index 3901edcbb1..be33d5685e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5232,6 +5232,11 @@ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + "@zkochan/cmd-shim@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e" @@ -7745,7 +7750,7 @@ cross-spawn@^4.0.2: lru-cache "^4.0.1" which "^1.2.9" -cross-spawn@^6.0.0: +cross-spawn@^6.0.0, cross-spawn@^6.0.5: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== @@ -9926,6 +9931,13 @@ find-versions@^4.0.0: dependencies: semver-regex "^3.1.2" +find-yarn-workspace-root@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd" + integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ== + dependencies: + micromatch "^4.0.2" + flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -10113,6 +10125,15 @@ fs-extra@^4.0.2: jsonfile "^4.0.0" universalify "^0.1.0" +fs-extra@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" + integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== + dependencies: + graceful-fs "^4.1.2" + jsonfile "^4.0.0" + universalify "^0.1.0" + fs-extra@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" @@ -13345,6 +13366,13 @@ kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== +klaw-sync@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" + integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== + dependencies: + graceful-fs "^4.1.11" + klaw@^1.0.0: version "1.3.1" resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" @@ -15417,7 +15445,7 @@ open@^6.2.0: dependencies: is-wsl "^1.1.0" -open@^7.0.3: +open@^7.0.3, open@^7.4.2: version "7.4.2" resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== @@ -15875,6 +15903,26 @@ pascalcase@^0.1.1: resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" integrity sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw== +patch-package@^6.5.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.5.0.tgz#feb058db56f0005da59cfa316488321de585e88a" + integrity sha512-tC3EqJmo74yKqfsMzELaFwxOAu6FH6t+FzFOsnWAuARm7/n2xB5AOeOueE221eM9gtMuIKMKpF9tBy/X2mNP0Q== + dependencies: + "@yarnpkg/lockfile" "^1.1.0" + chalk "^4.1.2" + cross-spawn "^6.0.5" + find-yarn-workspace-root "^2.0.0" + fs-extra "^7.0.1" + is-ci "^2.0.0" + klaw-sync "^6.0.0" + minimist "^1.2.6" + open "^7.4.2" + rimraf "^2.6.3" + semver "^5.6.0" + slash "^2.0.0" + tmp "^0.0.33" + yaml "^1.10.2" + path-browserify@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" @@ -16171,6 +16219,11 @@ postcss@^7.0.14, postcss@^7.0.26, postcss@^7.0.32, postcss@^7.0.36, postcss@^7.0 picocolors "^0.2.1" source-map "^0.6.1" +postinstall-postinstall@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/postinstall-postinstall/-/postinstall-postinstall-2.1.0.tgz#4f7f77441ef539d1512c40bd04c71b06a4704ca3" + integrity sha512-7hQX6ZlZXIoRiWNrbMQaLzUUfH+sSx39u8EJ9HYuDc1kLo9IXKWjM5RSquZN1ad5GnH8CGFM78fsAAQi3OKEEQ== + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" @@ -20819,7 +20872,7 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0, yaml@^1.7.2: +yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== From 295cb47b2a09d53739876085ef011f1b09b60d1c Mon Sep 17 00:00:00 2001 From: Danny Date: Thu, 17 Nov 2022 13:30:33 +0000 Subject: [PATCH 05/16] fix: backgrounds crash --- .../ondevice-backgrounds/src/BackgroundPanel.tsx | 16 ++++++++++------ addons/ondevice-backgrounds/src/index.tsx | 14 +++++++++----- examples/native/.storybook/preview.js | 13 ++++++++----- 3 files changed, 27 insertions(+), 16 deletions(-) diff --git a/addons/ondevice-backgrounds/src/BackgroundPanel.tsx b/addons/ondevice-backgrounds/src/BackgroundPanel.tsx index b61a2730f3..5b952f1ddb 100644 --- a/addons/ondevice-backgrounds/src/BackgroundPanel.tsx +++ b/addons/ondevice-backgrounds/src/BackgroundPanel.tsx @@ -26,10 +26,14 @@ const BackgroundMeta: ComponentMeta = { component: Background, decorators: [withBackgrounds], parameters: { - backgrounds: [ - { name: 'warm', value: 'hotpink', default: true }, - { name: 'cool', value: 'deepskyblue' }, - ], + backgrounds: { + default: 'plain', + values: [ + { name: 'plain', value: 'white' }, + { name: 'warm', value: 'hotpink' }, + { name: 'cool', value: 'deepskyblue' }, + ], + }, }, }; @@ -71,14 +75,14 @@ const BackgroundPanel = ({ active, api, channel }: BackgroundPanelProps) => { const store = api.store(); const storyId = store.getSelection().storyId; const story = store.fromId(storyId); - const backgrounds: Background[] = story.parameters[PARAM_KEY]; + const backgrounds: { default?: string; values: Background[] } = story.parameters[PARAM_KEY]; const setBackgroundFromSwatch = (background: string) => { channel.emit(BackgroundEvents.UPDATE_BACKGROUND, background); }; return ( {backgrounds ? ( - backgrounds.map(({ value, name }) => ( + backgrounds.values.map(({ value, name }) => ( diff --git a/addons/ondevice-backgrounds/src/index.tsx b/addons/ondevice-backgrounds/src/index.tsx index be620609cd..8d91cfd16e 100644 --- a/addons/ondevice-backgrounds/src/index.tsx +++ b/addons/ondevice-backgrounds/src/index.tsx @@ -8,7 +8,6 @@ import Container from './container'; export interface Background { name: string; value: string; - default?: boolean; } export const withBackgrounds = makeDecorator({ @@ -17,14 +16,19 @@ export const withBackgrounds = makeDecorator({ skipIfNoParametersOrOptions: true, wrapper: (getStory, context, { options, parameters }) => { - const data = parameters || options || []; - const backgrounds: Background[] = Array.isArray(data) ? data : Object.values(data); + const data = (parameters || options || { values: [] }) as { + default?: string; + values: Background[]; + }; + const backgrounds: Background[] = data.values; let background = 'transparent'; if (backgrounds.length !== 0) { addons.getChannel().emit(Events.SET, backgrounds); - - const defaultOrFirst = backgrounds.find((x) => x.default) || backgrounds[0]; + const defaultValue = data.default + ? backgrounds.find((b) => b.name === data.default) + : undefined; + const defaultOrFirst = defaultValue ? defaultValue : backgrounds[0]; if (defaultOrFirst) { background = defaultOrFirst.value; diff --git a/examples/native/.storybook/preview.js b/examples/native/.storybook/preview.js index b3c1f00b73..085abad65b 100644 --- a/examples/native/.storybook/preview.js +++ b/examples/native/.storybook/preview.js @@ -20,11 +20,14 @@ export const parameters = { }, }, my_param: 'anything', - backgrounds: [ - { name: 'plain', value: 'white', default: true }, - { name: 'warm', value: 'hotpink' }, - { name: 'cool', value: 'deepskyblue' }, - ], + backgrounds: { + default: 'plain', + values: [ + { name: 'plain', value: 'white' }, + { name: 'warm', value: 'hotpink' }, + { name: 'cool', value: 'deepskyblue' }, + ], + }, }; const styles = StyleSheet.create({ From c2c40014fa2cb768c5ccb09ad7c1a6f7475ba95d Mon Sep 17 00:00:00 2001 From: Danny Date: Thu, 17 Nov 2022 13:35:02 +0000 Subject: [PATCH 06/16] fix: update backgrounds examples --- .../BackgroundExample/Background.stories.tsx | 11 +++++++---- .../BackgroundExample/BackgroundCsf.stories.tsx | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/examples/native/components/BackgroundExample/Background.stories.tsx b/examples/native/components/BackgroundExample/Background.stories.tsx index 92a281b24f..a77cd301ae 100644 --- a/examples/native/components/BackgroundExample/Background.stories.tsx +++ b/examples/native/components/BackgroundExample/Background.stories.tsx @@ -8,9 +8,12 @@ addDecorator(withBackgrounds); storiesOf('Background StoriesOf', module) .addParameters({ - backgrounds: [ - { name: 'warm', value: 'hotpink', default: true }, - { name: 'cool', value: 'deepskyblue' }, - ], + backgrounds: { + default: 'warm', + values: [ + { name: 'warm', value: 'hotpink' }, + { name: 'cool', value: 'deepskyblue' }, + ], + }, }) .add('Basic', () => Change background color via Addons -> Background); diff --git a/examples/native/components/BackgroundExample/BackgroundCsf.stories.tsx b/examples/native/components/BackgroundExample/BackgroundCsf.stories.tsx index 799c3b6ab6..dd57edb6a4 100644 --- a/examples/native/components/BackgroundExample/BackgroundCsf.stories.tsx +++ b/examples/native/components/BackgroundExample/BackgroundCsf.stories.tsx @@ -16,10 +16,13 @@ const BackgroundMeta: ComponentMeta = { component: Background, decorators: [withBackgrounds], parameters: { - backgrounds: [ - { name: 'warm', value: 'hotpink', default: true }, - { name: 'cool', value: 'deepskyblue' }, - ], + backgrounds: { + default: 'warm', + values: [ + { name: 'warm', value: 'hotpink' }, + { name: 'cool', value: 'deepskyblue' }, + ], + }, }, }; From d92f0b04482a311ee97d89908ac3ccdecbd667a6 Mon Sep 17 00:00:00 2001 From: Danny Date: Sun, 20 Nov 2022 20:28:33 +0000 Subject: [PATCH 07/16] fix: cli options --- .eslintrc.js | 1 - addons/ondevice-actions/package.json | 8 ++--- addons/ondevice-backgrounds/package.json | 6 ++-- addons/ondevice-controls/package.json | 10 +++--- addons/ondevice-notes/package.json | 10 +++--- app/react-native-server/package.json | 12 +++---- app/react-native-server/src/server/cli.js | 13 +++---- app/react-native-server/src/server/index.js | 4 +-- app/react-native-server/src/server/options.js | 3 +- app/react-native/package.json | 16 ++++----- app/react-native/src/preview/start.tsx | 2 +- examples/native/.storybook/Storybook.tsx | 1 + examples/native/package.json | 12 +++---- examples/native/webpack.config.js | 1 + yarn.lock | 34 +++++++++---------- 15 files changed, 66 insertions(+), 67 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 18bb956cdc..789c48dc2a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -8,7 +8,6 @@ module.exports = { extends: ['prettier'], rules: { ...conf.rules, - quotes: [1, 'single'], }, overrides: [...conf.overrides, { files: ['*.ts', '*.tsx'], rules: { 'no-undef': 'off' } }], }; diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index 28c5b495bc..ec70c284c3 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -26,15 +26,15 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^6.5", - "@storybook/core-events": "^6.5", + "@storybook/addons": "^6.5.3", + "@storybook/core-events": "^6.5.3", "fast-deep-equal": "^2.0.1" }, "devDependencies": { - "@storybook/addon-actions": "^6.5" + "@storybook/addon-actions": "^6.5.3" }, "peerDependencies": { - "@storybook/addon-actions": "^6.5", + "@storybook/addon-actions": "^6.5.3", "react": "*", "react-native": "*" }, diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index 1444db507a..0afb1028da 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -31,9 +31,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^6.5", - "@storybook/api": "^6.5", - "@storybook/client-api": "^6.5", + "@storybook/addons": "^6.5.3", + "@storybook/api": "^6.5.3", + "@storybook/client-api": "^6.5.3", "core-js": "^3.0.1", "prop-types": "^15.7.2" }, diff --git a/addons/ondevice-controls/package.json b/addons/ondevice-controls/package.json index 8b5aa038da..916def14d0 100644 --- a/addons/ondevice-controls/package.json +++ b/addons/ondevice-controls/package.json @@ -30,9 +30,9 @@ }, "dependencies": { "@emotion/native": "^10.0.14", - "@storybook/addons": "^6.5", - "@storybook/client-logger": "^6.5", - "@storybook/core-events": "^6.5", + "@storybook/addons": "^6.5.3", + "@storybook/client-logger": "^6.5.3", + "@storybook/core-events": "^6.5.3", "core-js": "^3.0.1", "deep-equal": "^1.0.1", "prop-types": "^15.7.2", @@ -41,13 +41,13 @@ "tinycolor2": "^1.4.1" }, "devDependencies": { - "@storybook/addon-controls": "^6.5", + "@storybook/addon-controls": "^6.5.3", "@types/react-native": "^0.70.4" }, "peerDependencies": { "@react-native-community/datetimepicker": "*", "@react-native-community/slider": "*", - "@storybook/addon-controls": "^6.5", + "@storybook/addon-controls": "^6.5.3", "react": "*", "react-native": "*" }, diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index dafbee508c..19fdf4bf98 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -29,11 +29,11 @@ }, "dependencies": { "@emotion/core": "^10.0.20", - "@storybook/addons": "^6.5", - "@storybook/api": "^6.5", - "@storybook/client-api": "^6.5", - "@storybook/client-logger": "^6.5", - "@storybook/core-events": "^6.5", + "@storybook/addons": "^6.5.3", + "@storybook/api": "^6.5.3", + "@storybook/client-api": "^6.5.3", + "@storybook/client-logger": "^6.5.3", + "@storybook/core-events": "^6.5.3", "core-js": "^3.0.1", "prop-types": "^15.7.2", "simple-markdown": "^0.7.3" diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index a827524004..39dd26af84 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -32,12 +32,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^6.5", - "@storybook/api": "^6.5", - "@storybook/channel-websocket": "^6.5", - "@storybook/core": "^6.5", - "@storybook/core-events": "^6.5", - "@storybook/ui": "^6.5", + "@storybook/addons": "^6.5.3", + "@storybook/api": "^6.5.3", + "@storybook/channel-websocket": "^6.5.3", + "@storybook/core": "^6.5.3", + "@storybook/core-events": "^6.5.3", + "@storybook/ui": "^6.5.3", "commander": "^8.2.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/react-native-server/src/server/cli.js b/app/react-native-server/src/server/cli.js index 6f0c7913e1..c9810cadb1 100644 --- a/app/react-native-server/src/server/cli.js +++ b/app/react-native-server/src/server/cli.js @@ -1,5 +1,5 @@ import path from 'path'; -import program from 'commander'; +import { program } from 'commander'; export function parseList(str) { return str.split(','); @@ -24,15 +24,16 @@ function getCli() { .option('--ssl-cert ', 'Provide an SSL certificate. (Required with --https)') .option('--ssl-key ', 'Provide an SSL key. (Required with --https)') .option('--smoke-test', 'Exit after successful start') - // eslint-disable-next-line quotes .option('--ci', "CI mode (skip interactive prompts, don't open browser") - .option('--quiet', 'Suppress verbose build output') - .parse(process.argv); + .option('--quiet', 'Suppress verbose build output'); - const configDir = path.resolve(program.configDir || './.storybook_server'); + program.parse(); + const options = program.opts(); + + const configDir = path.resolve(options.configDir || './.storybook_server'); return { - ...program, + ...options, configDir, }; } diff --git a/app/react-native-server/src/server/index.js b/app/react-native-server/src/server/index.js index 7b9f3ae240..6a5e462530 100755 --- a/app/react-native-server/src/server/index.js +++ b/app/react-native-server/src/server/index.js @@ -14,9 +14,7 @@ export default class Server { } start() { - console.log({ port: this.options.port, host: this.options.host }); - return storybook({ ...this.options, port: 7007, host: '192.168.1.185' }); - // TODO: figure out why port/host are not getting passed correctly + return storybook(this.options); } attachWS(server) { diff --git a/app/react-native-server/src/server/options.js b/app/react-native-server/src/server/options.js index b720000597..70e90abfda 100644 --- a/app/react-native-server/src/server/options.js +++ b/app/react-native-server/src/server/options.js @@ -2,8 +2,7 @@ import packageJson from '../../package.json'; function extendOptions(options, extendServer) { const { manualId, https: secured, host, port } = options; - const storybookOptions = { manualId, secured, host: '192.168.1.185', port: 7007 }; - // TODO: figure out port/host thing + const storybookOptions = { manualId, secured, host, port }; const corePresets = [ { name: '@storybook/manager-webpack4/manager-preset', diff --git a/app/react-native/package.json b/app/react-native/package.json index 9f90923f62..8ac617dea6 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -49,15 +49,15 @@ "dependencies": { "@emotion/core": "^10.0.20", "@emotion/native": "^10.0.14", - "@storybook/addons": "^6.5", - "@storybook/channel-websocket": "^6.5", - "@storybook/channels": "^6.5", - "@storybook/client-api": "^6.5", - "@storybook/client-logger": "^6.5", - "@storybook/core-client": "^6.5", - "@storybook/core-events": "^6.5", + "@storybook/addons": "^6.5.3", + "@storybook/channel-websocket": "^6.5.3", + "@storybook/channels": "^6.5.3", + "@storybook/client-api": "^6.5.3", + "@storybook/client-logger": "^6.5.3", + "@storybook/core-client": "^6.5.3", + "@storybook/core-events": "^6.5.3", "@storybook/csf": "0.0.2--canary.7c6c115.0", - "@storybook/preview-web": "^6.5", + "@storybook/preview-web": "^6.5.3", "chokidar": "^3.5.1", "commander": "^8.2.0", "emotion-theming": "^10.0.19", diff --git a/app/react-native/src/preview/start.tsx b/app/react-native/src/preview/start.tsx index 4b1965a8d4..df4b6828ae 100644 --- a/app/react-native/src/preview/start.tsx +++ b/app/react-native/src/preview/start.tsx @@ -26,7 +26,7 @@ export const render: ArgsStoryFn = (args, context) => { const getServerChannel = ( params: { host?: string; port?: string; query?: string; secured?: boolean } = {} ) => { - const host = getHost(params.host || '192.168.1.185'); + const host = getHost(params.host || 'localhost'); const port = `:${params.port || 7007}`; const query = params.query || ''; diff --git a/examples/native/.storybook/Storybook.tsx b/examples/native/.storybook/Storybook.tsx index 80a8c41104..7a01477868 100644 --- a/examples/native/.storybook/Storybook.tsx +++ b/examples/native/.storybook/Storybook.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import { getStorybookUI } from '@storybook/react-native'; import { SafeAreaView } from 'react-native'; diff --git a/examples/native/package.json b/examples/native/package.json index f286295017..bd20ada452 100644 --- a/examples/native/package.json +++ b/examples/native/package.json @@ -38,16 +38,16 @@ "@react-native-async-storage/async-storage": "^1.17.10", "@react-native-community/datetimepicker": "^6.5.0", "@react-native-community/slider": "^4.3.1", - "@storybook/addon-actions": "^6.5", - "@storybook/addon-essentials": "^6.5", - "@storybook/addon-links": "^6.5", + "@storybook/addon-actions": "^6.5.3", + "@storybook/addon-essentials": "^6.5.3", + "@storybook/addon-links": "^6.5.3", "@storybook/addon-ondevice-actions": "^6.0.1-beta.10", "@storybook/addon-ondevice-backgrounds": "^6.0.1-beta.10", "@storybook/addon-ondevice-controls": "^6.0.1-beta.10", "@storybook/addon-ondevice-notes": "^6.0.1-beta.10", - "@storybook/addons": "^6.5", - "@storybook/docs-tools": "^6.5", - "@storybook/react": "^6.5", + "@storybook/addons": "^6.5.3", + "@storybook/docs-tools": "^6.5.3", + "@storybook/react": "^6.5.3", "@storybook/react-native": "^6.0.1-beta.10", "@storybook/react-native-server": "^6.0.1-beta.10", "react": "^18.2.0", diff --git a/examples/native/webpack.config.js b/examples/native/webpack.config.js index cffdfedaa2..e82a1f3766 100644 --- a/examples/native/webpack.config.js +++ b/examples/native/webpack.config.js @@ -18,6 +18,7 @@ const babelLoaderConfiguration = { path.resolve(__dirname, 'components'), path.resolve(__dirname, 'other_components'), path.resolve(__dirname, './.storybook/preview.js'), + path.resolve(__dirname, './.storybook/Storybook.tsx'), ...compileNodeModules, ], use: { diff --git a/yarn.lock b/yarn.lock index be33d5685e..98e6c25ad7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3244,7 +3244,7 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@storybook/addon-actions@6.5.13", "@storybook/addon-actions@^6.5": +"@storybook/addon-actions@6.5.13", "@storybook/addon-actions@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.5.13.tgz#84535dda78c7fe15fc61f19a23ed1440952f3c76" integrity sha512-3Tji0gIy95havhTpSc6CsFl5lNxGn4O5Y1U9fyji+GRkKqDFOrvVLYAHPtLOpYdEI5tF0bDo+akiqfDouY8+eA== @@ -3288,7 +3288,7 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/addon-controls@6.5.13", "@storybook/addon-controls@^6.5": +"@storybook/addon-controls@6.5.13", "@storybook/addon-controls@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.5.13.tgz#14c8f9379337768bf03f59d19f1a16f3c41418ab" integrity sha512-lYq3uf2mlVevm0bi6ueL3H6TpUMRYW9s/pTNTVJT225l27kLdFR9wEKxAkCBrlKaTgDLJmzzDRsJE3NLZlR/5Q== @@ -3340,7 +3340,7 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/addon-essentials@^6.5": +"@storybook/addon-essentials@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.5.13.tgz#274b8e6b556af4cd43b63fab361fa7d19c704e76" integrity sha512-G9FVAWV7ixjVLWeLgIX+VT90tcAk6yQxfZQegfg5ucRilGysJCDaNnoab4xuuvm1R40TfFhba3iAGZtQYsddmw== @@ -3361,7 +3361,7 @@ regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-links@^6.5": +"@storybook/addon-links@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.5.13.tgz#816816907e28ca1cccb58908360628d1b3914513" integrity sha512-K/LYYu9R/Xoah5h9MNh4mSHOic3q5csqjderLqr2YW/KPYiuNubgvzEbAAbzI5xq5JrtAZqnINrZUv2A4CyYbQ== @@ -3439,7 +3439,7 @@ prop-types "^15.7.2" regenerator-runtime "^0.13.7" -"@storybook/addons@6.5.13", "@storybook/addons@^6.5": +"@storybook/addons@6.5.13", "@storybook/addons@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.5.13.tgz#61ec5eab07879400d423d60bb397880d10ee5e73" integrity sha512-18CqzNnrGMfeZtiKz+R/3rHtSNnfNwz6y6prIQIbWseK16jY8ELTfIFGviwO5V2OqpbHDQi5+xQQ63QAIb89YA== @@ -3456,7 +3456,7 @@ global "^4.4.0" regenerator-runtime "^0.13.7" -"@storybook/api@6.5.13", "@storybook/api@^6.5": +"@storybook/api@6.5.13", "@storybook/api@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.5.13.tgz#8671e580721ff68d209fcde2975f967ae79b7d64" integrity sha512-xVSmB7/IuFd6G7eiJjbI2MuS7SZunoUM6d+YCWpjiehfMeX47MXt1gZtOwFrgJC1ShZlefXFahq/dvxwtmWs+w== @@ -3545,7 +3545,7 @@ qs "^6.10.0" telejson "^6.0.8" -"@storybook/channel-websocket@6.5.13", "@storybook/channel-websocket@^6.5": +"@storybook/channel-websocket@6.5.13", "@storybook/channel-websocket@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-6.5.13.tgz#b7a55149295a77004bb156a4ceefc44839f52bb3" integrity sha512-kwh667H+tzCiNvs92GNwYOwVXdj9uHZyieRAN5rJtTBJ7XgLzGkpTEU50mWlbc0nDKhgE0qYvzyr5H393Iy5ug== @@ -3556,7 +3556,7 @@ global "^4.4.0" telejson "^6.0.8" -"@storybook/channels@6.5.13", "@storybook/channels@^6.5": +"@storybook/channels@6.5.13", "@storybook/channels@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.5.13.tgz#f3f86b90a7832484ee3dcbc6845f5a47f62f028f" integrity sha512-sGYSilE30bz0jG+HdHnkv0B4XkAv2hP+KRZr4xmnv+MOOQpRnZpJ5Z3HVU16s17cj/83NWihKj6BuKcEVzyilg== @@ -3565,7 +3565,7 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-api@6.5.13", "@storybook/client-api@^6.5": +"@storybook/client-api@6.5.13", "@storybook/client-api@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.5.13.tgz#0bd89339c08898e0409c5a1dd719ed4807b400cb" integrity sha512-uH1mAWbidPiuuTdMUVEiuaNOfrYXm+9QLSP1MMYTKULqEOZI5MSOGkEDqRfVWxbYv/iWBOPTQ+OM9TQ6ecYacg== @@ -3591,7 +3591,7 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-logger@6.5.13", "@storybook/client-logger@^6.5": +"@storybook/client-logger@6.5.13", "@storybook/client-logger@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.5.13.tgz#83f332dd9bb4ff1696d16b0cc24561df90905264" integrity sha512-F2SMW3LWFGXLm2ENTwTitrLWJgmMXRf3CWQXdN2EbkNCIBHy5Zcbt+91K4OX8e2e5h9gjGfrdYbyYDYOoUCEfA== @@ -3613,7 +3613,7 @@ regenerator-runtime "^0.13.7" util-deprecate "^1.0.2" -"@storybook/core-client@6.5.13", "@storybook/core-client@^6.5": +"@storybook/core-client@6.5.13", "@storybook/core-client@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-6.5.13.tgz#5e2a155af5773c4211a0e1fcd72e0cefea52b7ae" integrity sha512-YuELbRokTBdqjbx/R4/7O4rou9kvbBIOJjlUkor9hdLLuJ3P0yGianERGNkZFfvcfMBAxU0p52o7QvDldSR3kA== @@ -3695,7 +3695,7 @@ util-deprecate "^1.0.2" webpack "4" -"@storybook/core-events@6.5.13", "@storybook/core-events@^6.5": +"@storybook/core-events@6.5.13", "@storybook/core-events@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.5.13.tgz#a8c0cc92694f09981ca6501d5c5ef328db18db8a" integrity sha512-kL745tPpRKejzHToA3/CoBNbI+NPRVk186vGxXBmk95OEg0TlwgQExP8BnqEtLlRZMbW08e4+6kilc1M1M4N5w== @@ -3753,7 +3753,7 @@ ws "^8.2.3" x-default-browser "^0.4.0" -"@storybook/core@6.5.13", "@storybook/core@^6.5": +"@storybook/core@6.5.13", "@storybook/core@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.5.13.tgz#4c657c5d8d243f1187dad8763a275d555426957e" integrity sha512-kw1lCgbsxzUimGww6t5rmuWJmFPe9kGGyzIqvj4RC4BBcEsP40LEu9XhSfvnb8vTOLIULFZeZpdRFfJs4TYbUw== @@ -3795,7 +3795,7 @@ dependencies: lodash "^4.17.15" -"@storybook/docs-tools@6.5.13", "@storybook/docs-tools@^6.5": +"@storybook/docs-tools@6.5.13", "@storybook/docs-tools@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-6.5.13.tgz#00c7041ac7bc827d12731face909351a5af0cb3f" integrity sha512-hB+hk+895ny4SW84j3X5iV55DHs3bCfTOp7cDdcZJdQrlm0wuDb4A6d4ffNC7ZLh9VkUjU6ST4VEV5Bb0Cptow== @@ -3907,7 +3907,7 @@ dependencies: core-js "^3.8.2" -"@storybook/preview-web@6.5.13", "@storybook/preview-web@^6.5": +"@storybook/preview-web@6.5.13", "@storybook/preview-web@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-6.5.13.tgz#332cac4c95e3fd760c9eb8448dfa50fdb3b6255b" integrity sha512-GNNYVzw4SmRua3dOc52Ye6Us4iQbq5GKQ56U3iwnzZM3TBdJB+Rft94Fn1/pypHujEHS8hl5Xgp9td6C1lLCow== @@ -3942,7 +3942,7 @@ react-docgen-typescript "^2.1.1" tslib "^2.0.0" -"@storybook/react@^6.5": +"@storybook/react@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.5.13.tgz#9b02c4515b6c6a13ce92f1bb4869c20c8ae05dfa" integrity sha512-4gO8qihEkVZ8RNm9iQd7G2iZz4rRAHizJ6T5m58Sn21fxfyg9zAMzhgd0JzXuPXR8lTTj4AvRyPv1Qx7b43smg== @@ -4067,7 +4067,7 @@ memoizerific "^1.11.3" regenerator-runtime "^0.13.7" -"@storybook/ui@6.5.13", "@storybook/ui@^6.5": +"@storybook/ui@6.5.13", "@storybook/ui@^6.5.3": version "6.5.13" resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.5.13.tgz#16b25fd839cdafc2b9989c548bc1ffb711b33dee" integrity sha512-MklJuSg4Bc+MWjwhZVmZhJaucaeEBUMMa2V9oRWbIgZOdRHqdW72S2vCbaarDAYfBQdnfaoq1GkSQiw+EnWOzA== From 998aa87dc0d04145495d93e4b82072cf5917a696 Mon Sep 17 00:00:00 2001 From: Danny Date: Sun, 20 Nov 2022 21:11:57 +0000 Subject: [PATCH 08/16] fix: get websocket options working --- app/react-native/src/preview/View.tsx | 34 +++++++++++++++++++++-- app/react-native/src/preview/start.tsx | 38 +++++++++++++------------- 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/app/react-native/src/preview/View.tsx b/app/react-native/src/preview/View.tsx index ce7dc886a7..20b8bc851d 100644 --- a/app/react-native/src/preview/View.tsx +++ b/app/react-native/src/preview/View.tsx @@ -10,6 +10,9 @@ import { theme } from './components/Shared/theme'; import type { ReactNativeFramework } from '../types/types-6.0'; import { PreviewWeb } from '@storybook/preview-web'; import StoryView from './components/StoryView'; +import createChannel from '@storybook/channel-websocket'; +import getHost from './rn-host-detect'; +import events from '@storybook/core-events'; const STORAGE_KEY = 'lastOpenedStory'; @@ -37,7 +40,7 @@ type InitialSelection = export type Params = { onDeviceUI?: boolean; - // resetStorybook?: boolean; // TODO: assess all these params to see if they + // resetStorybook?: boolean; // TODO: Do we need this? enableWebsockets?: boolean; query?: string; host?: string; @@ -94,9 +97,36 @@ export class View { return { storySpecifier: '*', viewMode: 'story' }; }; + + _getServerChannel = (params: Partial = {}) => { + const host = getHost(params.host || 'localhost'); + const port = `:${params.port || 7007}`; + + const query = params.query || ''; + + const websocketType = params.secured ? 'wss' : 'ws'; + const url = `${websocketType}://${host}${port}/${query}`; + console.log({ host, port, query, url }); + return createChannel({ + url, + async: true, + onError: async () => {}, + }); + }; + getStorybookUI = (params: Partial = {}) => { - const { shouldPersistSelection = true, onDeviceUI = true } = params; + const { shouldPersistSelection = true, onDeviceUI = true, enableWebsockets = false } = params; const initialStory = this._getInitialStory(params); + if (enableWebsockets) { + const channel = this._getServerChannel(params); + addons.setChannel(channel); + + // TODO: check this with someone who knows what they're doing + this._preview.channel = channel; + this._preview.setupListeners(); + channel.emit(events.CHANNEL_CREATED); + this._preview.initializeWithStoryIndex(this._storyIndex); + } addons.loadAddons({ store: () => ({ diff --git a/app/react-native/src/preview/start.tsx b/app/react-native/src/preview/start.tsx index df4b6828ae..a1d0de2632 100644 --- a/app/react-native/src/preview/start.tsx +++ b/app/react-native/src/preview/start.tsx @@ -9,8 +9,8 @@ import type { ReactNativeFramework } from '../types/types-6.0'; import { View } from './View'; import { executeLoadableForChanges } from './executeLoadable'; import type { ArgsStoryFn } from '@storybook/csf'; -import createChannel from '@storybook/channel-websocket'; -import getHost from './rn-host-detect'; +// import createChannel from '@storybook/channel-websocket'; +// import getHost from './rn-host-detect'; export const render: ArgsStoryFn = (args, context) => { const { id, component: Component } = context; @@ -23,28 +23,28 @@ export const render: ArgsStoryFn = (args, context) => { return ; }; -const getServerChannel = ( - params: { host?: string; port?: string; query?: string; secured?: boolean } = {} -) => { - const host = getHost(params.host || 'localhost'); - const port = `:${params.port || 7007}`; +// const getServerChannel = ( +// params: { host?: string; port?: string; query?: string; secured?: boolean } = {} +// ) => { +// const host = getHost(params.host || 'localhost'); +// const port = `:${params.port || 7007}`; - const query = params.query || ''; +// const query = params.query || ''; - const websocketType = params.secured ? 'wss' : 'ws'; - const url = `${websocketType}://${host}${port}/${query}`; +// const websocketType = params.secured ? 'wss' : 'ws'; +// const url = `${websocketType}://${host}${port}/${query}`; - return createChannel({ - url, - async: true, - onError: async () => {}, - }); -}; +// return createChannel({ +// url, +// async: true, +// onError: async () => {}, +// }); +// }; export function start() { - const params = {} as any; // TODO: get params from main.js - let channel = params ? getServerChannel(params) : new Channel({ async: true }); - + // const params = {} as any; // TODO: can we get params from main.js + // let channel = params ? getServerChannel(params) : new Channel({ async: true }); + const channel = new Channel({ async: true }); addons.setChannel(channel); const clientApi = new ClientApi(); From 261150c6246d059e56de3443013c806edf17d95f Mon Sep 17 00:00:00 2001 From: Danny Date: Sun, 20 Nov 2022 22:12:56 +0000 Subject: [PATCH 09/16] refactor: remove some comments --- .../src/client/manager/provider.js | 5 ---- app/react-native-server/src/server/options.js | 23 ++++++++----------- app/react-native/src/preview/View.tsx | 1 - examples/native/.storybook/Storybook.tsx | 7 +----- 4 files changed, 11 insertions(+), 25 deletions(-) diff --git a/app/react-native-server/src/client/manager/provider.js b/app/react-native-server/src/client/manager/provider.js index c363099d43..b88458d702 100644 --- a/app/react-native-server/src/client/manager/provider.js +++ b/app/react-native-server/src/client/manager/provider.js @@ -55,11 +55,6 @@ export default class ReactProvider extends Provider { {({ storiesHash, storyId, api, viewMode }) => { if (storiesHash[storyId]) { - // { - // storySpecifier: toId(initialSelection.kind, initialSelection.name), - // viewMode: 'story', - // } - // api.emit(Events.SET_CURRENT_STORY, { storySpecifier: storyId, viewMode: 'story' }); api.emit(Events.SET_CURRENT_STORY, { storyId }); } return viewMode === 'story' ? : null; diff --git a/app/react-native-server/src/server/options.js b/app/react-native-server/src/server/options.js index 70e90abfda..48650a7769 100644 --- a/app/react-native-server/src/server/options.js +++ b/app/react-native-server/src/server/options.js @@ -3,27 +3,24 @@ import packageJson from '../../package.json'; function extendOptions(options, extendServer) { const { manualId, https: secured, host, port } = options; const storybookOptions = { manualId, secured, host, port }; - const corePresets = [ - { - name: '@storybook/manager-webpack4/manager-preset', - options: { managerEntry: require.resolve('../client/manager') }, - }, - { - name: require.resolve('./rn-options-preset.js'), - options: { storybookOptions }, - }, - ]; return { ...options, framework: 'react-native', - // debugWebpack: true, - managerCache: false, extendServer, packageJson, mode: 'dev', ignorePreview: true, - corePresets, + corePresets: [ + { + name: '@storybook/manager-webpack4/manager-preset', + options: { managerEntry: require.resolve('../client/manager') }, + }, + { + name: require.resolve('./rn-options-preset.js'), + options: { storybookOptions }, + }, + ], }; } diff --git a/app/react-native/src/preview/View.tsx b/app/react-native/src/preview/View.tsx index 20b8bc851d..93b45fb0f0 100644 --- a/app/react-native/src/preview/View.tsx +++ b/app/react-native/src/preview/View.tsx @@ -106,7 +106,6 @@ export class View { const websocketType = params.secured ? 'wss' : 'ws'; const url = `${websocketType}://${host}${port}/${query}`; - console.log({ host, port, query, url }); return createChannel({ url, async: true, diff --git a/examples/native/.storybook/Storybook.tsx b/examples/native/.storybook/Storybook.tsx index 7a01477868..a9ede4096e 100644 --- a/examples/native/.storybook/Storybook.tsx +++ b/examples/native/.storybook/Storybook.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { getStorybookUI } from '@storybook/react-native'; -import { SafeAreaView } from 'react-native'; import './doctools'; import './storybook.requires'; @@ -11,8 +10,4 @@ const StorybookUIRoot = getStorybookUI({ onDeviceUI: true, }); -export default () => ( - - - -); +export default () => ; From 3757c95a23cddef243b5cb0c108518f8d2f2f0a2 Mon Sep 17 00:00:00 2001 From: Danny Date: Tue, 29 Nov 2022 21:23:36 +0000 Subject: [PATCH 10/16] fix: use new alpha and telejson v7 --- addons/ondevice-actions/package.json | 8 +- addons/ondevice-backgrounds/package.json | 6 +- addons/ondevice-controls/package.json | 10 +- addons/ondevice-notes/package.json | 10 +- app/react-native-server/package.json | 14 +- app/react-native/package.json | 16 +- .../src/document-polyfill/DOM/Document.js | 42 - .../src/document-polyfill/DOM/Element.js | 68 -- .../DOM/HTMLCanvasElement.js | 3 - .../document-polyfill/DOM/HTMLImageElement.js | 4 - .../document-polyfill/DOM/HTMLVideoElement.js | 3 - .../src/document-polyfill/DOM/Node.js | 40 - .../src/document-polyfill/index.js | 3 - .../src/document-polyfill/module.js | 1 - .../src/document-polyfill/module.native.js | 2 - app/react-native/src/index.ts | 1 - app/react-native/src/preview/start.tsx | 74 +- examples/native/package.json | 12 +- package.json | 8 +- patches/@storybook+api+6.5.13.patch | 13 - patches/telejson+6.0.8.patch | 22 - yarn.lock | 779 +++++++++--------- 22 files changed, 443 insertions(+), 696 deletions(-) delete mode 100644 app/react-native/src/document-polyfill/DOM/Document.js delete mode 100644 app/react-native/src/document-polyfill/DOM/Element.js delete mode 100644 app/react-native/src/document-polyfill/DOM/HTMLCanvasElement.js delete mode 100644 app/react-native/src/document-polyfill/DOM/HTMLImageElement.js delete mode 100644 app/react-native/src/document-polyfill/DOM/HTMLVideoElement.js delete mode 100644 app/react-native/src/document-polyfill/DOM/Node.js delete mode 100644 app/react-native/src/document-polyfill/index.js delete mode 100644 app/react-native/src/document-polyfill/module.js delete mode 100644 app/react-native/src/document-polyfill/module.native.js delete mode 100644 patches/@storybook+api+6.5.13.patch delete mode 100644 patches/telejson+6.0.8.patch diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index ec70c284c3..aa38c6ca00 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -26,15 +26,15 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^6.5.3", - "@storybook/core-events": "^6.5.3", + "@storybook/addons": "6.5.14-alpha.1", + "@storybook/core-events": "6.5.14-alpha.1", "fast-deep-equal": "^2.0.1" }, "devDependencies": { - "@storybook/addon-actions": "^6.5.3" + "@storybook/addon-actions": "6.5.14-alpha.1" }, "peerDependencies": { - "@storybook/addon-actions": "^6.5.3", + "@storybook/addon-actions": "6.5.14-alpha.1", "react": "*", "react-native": "*" }, diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index 0afb1028da..081211a161 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -31,9 +31,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^6.5.3", - "@storybook/api": "^6.5.3", - "@storybook/client-api": "^6.5.3", + "@storybook/addons": "6.5.14-alpha.1", + "@storybook/api": "6.5.14-alpha.1", + "@storybook/client-api": "6.5.14-alpha.1", "core-js": "^3.0.1", "prop-types": "^15.7.2" }, diff --git a/addons/ondevice-controls/package.json b/addons/ondevice-controls/package.json index 916def14d0..8d281ea5bd 100644 --- a/addons/ondevice-controls/package.json +++ b/addons/ondevice-controls/package.json @@ -30,9 +30,9 @@ }, "dependencies": { "@emotion/native": "^10.0.14", - "@storybook/addons": "^6.5.3", - "@storybook/client-logger": "^6.5.3", - "@storybook/core-events": "^6.5.3", + "@storybook/addons": "6.5.14-alpha.1", + "@storybook/client-logger": "6.5.14-alpha.1", + "@storybook/core-events": "6.5.14-alpha.1", "core-js": "^3.0.1", "deep-equal": "^1.0.1", "prop-types": "^15.7.2", @@ -41,13 +41,13 @@ "tinycolor2": "^1.4.1" }, "devDependencies": { - "@storybook/addon-controls": "^6.5.3", + "@storybook/addon-controls": "6.5.14-alpha.1", "@types/react-native": "^0.70.4" }, "peerDependencies": { "@react-native-community/datetimepicker": "*", "@react-native-community/slider": "*", - "@storybook/addon-controls": "^6.5.3", + "@storybook/addon-controls": "6.5.14-alpha.1", "react": "*", "react-native": "*" }, diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index 19fdf4bf98..150743aa90 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -29,11 +29,11 @@ }, "dependencies": { "@emotion/core": "^10.0.20", - "@storybook/addons": "^6.5.3", - "@storybook/api": "^6.5.3", - "@storybook/client-api": "^6.5.3", - "@storybook/client-logger": "^6.5.3", - "@storybook/core-events": "^6.5.3", + "@storybook/addons": "6.5.14-alpha.1", + "@storybook/api": "6.5.14-alpha.1", + "@storybook/client-api": "6.5.14-alpha.1", + "@storybook/client-logger": "6.5.14-alpha.1", + "@storybook/core-events": "6.5.14-alpha.1", "core-js": "^3.0.1", "prop-types": "^15.7.2", "simple-markdown": "^0.7.3" diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index 39dd26af84..70049149e2 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -32,12 +32,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "^6.5.3", - "@storybook/api": "^6.5.3", - "@storybook/channel-websocket": "^6.5.3", - "@storybook/core": "^6.5.3", - "@storybook/core-events": "^6.5.3", - "@storybook/ui": "^6.5.3", + "@storybook/addons": "6.5.14-alpha.1", + "@storybook/api": "6.5.14-alpha.1", + "@storybook/channel-websocket": "6.5.14-alpha.1", + "@storybook/core": "6.5.14-alpha.1", + "@storybook/core-events": "6.5.14-alpha.1", + "@storybook/ui": "6.5.14-alpha.1", "commander": "^8.2.0", "core-js": "^3.0.1", "global": "^4.3.2", @@ -51,7 +51,7 @@ "babel-loader": "^7.0.0 || ^8.0.0 || ^9.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=16.0.0" }, "publishConfig": { "access": "public" diff --git a/app/react-native/package.json b/app/react-native/package.json index 8ac617dea6..d1c6a24ed3 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -49,15 +49,15 @@ "dependencies": { "@emotion/core": "^10.0.20", "@emotion/native": "^10.0.14", - "@storybook/addons": "^6.5.3", - "@storybook/channel-websocket": "^6.5.3", - "@storybook/channels": "^6.5.3", - "@storybook/client-api": "^6.5.3", - "@storybook/client-logger": "^6.5.3", - "@storybook/core-client": "^6.5.3", - "@storybook/core-events": "^6.5.3", + "@storybook/addons": "6.5.14-alpha.1", + "@storybook/channel-websocket": "6.5.14-alpha.1", + "@storybook/channels": "6.5.14-alpha.1", + "@storybook/client-api": "6.5.14-alpha.1", + "@storybook/client-logger": "6.5.14-alpha.1", + "@storybook/core-client": "6.5.14-alpha.1", + "@storybook/core-events": "6.5.14-alpha.1", "@storybook/csf": "0.0.2--canary.7c6c115.0", - "@storybook/preview-web": "^6.5.3", + "@storybook/preview-web": "6.5.14-alpha.1", "chokidar": "^3.5.1", "commander": "^8.2.0", "emotion-theming": "^10.0.19", diff --git a/app/react-native/src/document-polyfill/DOM/Document.js b/app/react-native/src/document-polyfill/DOM/Document.js deleted file mode 100644 index ab2bf88a45..0000000000 --- a/app/react-native/src/document-polyfill/DOM/Document.js +++ /dev/null @@ -1,42 +0,0 @@ -import Element from './Element'; -import HTMLVideoElement from './HTMLVideoElement'; -import HTMLImageElement from './HTMLImageElement'; -import HTMLCanvasElement from './HTMLCanvasElement'; - -class Document extends Element { - constructor() { - super('#document'); - this.body = new Element('BODY'); - this.documentElement = new Element('HTML'); - this.readyState = 'complete'; - } - - createElement(tagName) { - switch ((tagName || '').toLowerCase()) { - case 'video': - return new HTMLVideoElement(tagName); - case 'img': - return new HTMLImageElement(tagName); - case 'canvas': - return new HTMLCanvasElement(tagName); - case 'iframe': - // Return nothing to keep firebase working. - return null; - default: - return new Element(tagName); - } - } - - createElementNS(tagName) { - const element = this.createElement(tagName); - element.toDataURL = () => ({}); - return element; - } - - getElementById(id) { - return new Element('div'); - } - location = { search: '' }; -} - -export default Document; diff --git a/app/react-native/src/document-polyfill/DOM/Element.js b/app/react-native/src/document-polyfill/DOM/Element.js deleted file mode 100644 index e8b9b3bea0..0000000000 --- a/app/react-native/src/document-polyfill/DOM/Element.js +++ /dev/null @@ -1,68 +0,0 @@ -import Node from './Node'; - -class Element extends Node { - constructor(tagName) { - return super(tagName.toUpperCase()); - - // eslint-disable-next-line no-unreachable - this.doc = { - body: { - innerHTML: '', - }, - }; - } - - get tagName() { - return this.nodeName; - } - - setAttributeNS() {} - - get clientWidth() { - return this.innerWidth; - } - get clientHeight() { - return this.innerHeight; - } - - get offsetWidth() { - return this.innerWidth; - } - get offsetHeight() { - return this.innerHeight; - } - - get innerWidth() { - return window.innerWidth; - } - get innerHeight() { - return window.innerHeight; - } - - getContext(contextType, contextOptions, context) { - return { - fillText: (text, x, y, maxWidth) => ({}), - measureText: (text) => ({ - width: (text || '').split('').length * 6, - height: 24, - }), - fillRect: () => ({}), - drawImage: () => ({}), - getImageData: () => ({ data: new Uint8ClampedArray([255, 0, 0, 0]) }), - getContextAttributes: () => ({ - stencil: true, - }), - getExtension: () => ({ - loseContext: () => {}, - }), - putImageData: () => ({}), - createImageData: () => ({}), - }; - } - - get ontouchstart() { - return {}; - } -} - -export default Element; diff --git a/app/react-native/src/document-polyfill/DOM/HTMLCanvasElement.js b/app/react-native/src/document-polyfill/DOM/HTMLCanvasElement.js deleted file mode 100644 index 96fcc277cd..0000000000 --- a/app/react-native/src/document-polyfill/DOM/HTMLCanvasElement.js +++ /dev/null @@ -1,3 +0,0 @@ -import Element from './Element'; -class HTMLCanvasElement extends Element {} -export default HTMLCanvasElement; diff --git a/app/react-native/src/document-polyfill/DOM/HTMLImageElement.js b/app/react-native/src/document-polyfill/DOM/HTMLImageElement.js deleted file mode 100644 index 80caaac3a6..0000000000 --- a/app/react-native/src/document-polyfill/DOM/HTMLImageElement.js +++ /dev/null @@ -1,4 +0,0 @@ -import Element from './Element'; - -class HTMLImageElement extends Element {} -export default HTMLImageElement; diff --git a/app/react-native/src/document-polyfill/DOM/HTMLVideoElement.js b/app/react-native/src/document-polyfill/DOM/HTMLVideoElement.js deleted file mode 100644 index b37e1552d3..0000000000 --- a/app/react-native/src/document-polyfill/DOM/HTMLVideoElement.js +++ /dev/null @@ -1,3 +0,0 @@ -import Element from './Element'; -class HTMLVideoElement extends Element {} -export default HTMLVideoElement; diff --git a/app/react-native/src/document-polyfill/DOM/Node.js b/app/react-native/src/document-polyfill/DOM/Node.js deleted file mode 100644 index cba345ae69..0000000000 --- a/app/react-native/src/document-polyfill/DOM/Node.js +++ /dev/null @@ -1,40 +0,0 @@ -class Node { - constructor(nodeName) { - this.addEventListener = this.addEventListener.bind(this); - this.removeEventListener = this.removeEventListener.bind(this); - - this.style = {}; - this.className = { - baseVal: '', - }; - this.nodeName = nodeName; - } - - get ownerDocument() { - return window.document; - } - - addEventListener(_eventName, _listener) {} - - removeEventListener(_eventName, _listener) {} - - appendChild() {} - insertBefore() {} - removeChild() {} - setAttributeNS() {} - - getBoundingClientRect() { - return { - left: 0, - top: 0, - right: window.innerWidth, - bottom: window.innerHeight, - x: 0, - y: 0, - width: window.innerWidth, - height: window.innerHeight, - }; - } -} - -export default Node; diff --git a/app/react-native/src/document-polyfill/index.js b/app/react-native/src/document-polyfill/index.js deleted file mode 100644 index 3cbe812057..0000000000 --- a/app/react-native/src/document-polyfill/index.js +++ /dev/null @@ -1,3 +0,0 @@ -// this is temporary until we can solve the preview web crashing the app by accessing document -// adjusted from expo/browser-polyfill to not require external dependencies https://github.com/expo/browser-polyfill -import './module'; diff --git a/app/react-native/src/document-polyfill/module.js b/app/react-native/src/document-polyfill/module.js deleted file mode 100644 index c6035e5e3f..0000000000 --- a/app/react-native/src/document-polyfill/module.js +++ /dev/null @@ -1 +0,0 @@ -// do nothing diff --git a/app/react-native/src/document-polyfill/module.native.js b/app/react-native/src/document-polyfill/module.native.js deleted file mode 100644 index 5cefc58532..0000000000 --- a/app/react-native/src/document-polyfill/module.native.js +++ /dev/null @@ -1,2 +0,0 @@ -import Document from './DOM/Document'; -window.document = window.document || new Document(); diff --git a/app/react-native/src/index.ts b/app/react-native/src/index.ts index 55d0049fc8..90a1de8555 100644 --- a/app/react-native/src/index.ts +++ b/app/react-native/src/index.ts @@ -1,4 +1,3 @@ -import './document-polyfill'; import { StoryApi } from '@storybook/addons'; import { ClientApi } from '@storybook/client-api'; import { ReactNode } from 'react'; diff --git a/app/react-native/src/preview/start.tsx b/app/react-native/src/preview/start.tsx index a1d0de2632..c7e83d2e98 100644 --- a/app/react-native/src/preview/start.tsx +++ b/app/react-native/src/preview/start.tsx @@ -8,9 +8,7 @@ import { ClientApi, RenderContext, setGlobalRender } from '@storybook/client-api import type { ReactNativeFramework } from '../types/types-6.0'; import { View } from './View'; import { executeLoadableForChanges } from './executeLoadable'; -import type { ArgsStoryFn } from '@storybook/csf'; -// import createChannel from '@storybook/channel-websocket'; -// import getHost from './rn-host-detect'; +import type { ArgsStoryFn, ViewMode } from '@storybook/csf'; export const render: ArgsStoryFn = (args, context) => { const { id, component: Component } = context; @@ -23,48 +21,14 @@ export const render: ArgsStoryFn = (args, context) => { return ; }; -// const getServerChannel = ( -// params: { host?: string; port?: string; query?: string; secured?: boolean } = {} -// ) => { -// const host = getHost(params.host || 'localhost'); -// const port = `:${params.port || 7007}`; - -// const query = params.query || ''; - -// const websocketType = params.secured ? 'wss' : 'ws'; -// const url = `${websocketType}://${host}${port}/${query}`; - -// return createChannel({ -// url, -// async: true, -// onError: async () => {}, -// }); -// }; - export function start() { - // const params = {} as any; // TODO: can we get params from main.js - // let channel = params ? getServerChannel(params) : new Channel({ async: true }); + // TODO: can we get settings from main.js and set the channel here? const channel = new Channel({ async: true }); addons.setChannel(channel); const clientApi = new ClientApi(); - const preview = new PreviewWeb(); - - clientApi.storyStore = preview.storyStore; - setGlobalRender(render); - - preview.urlStore = { - selection: { storyId: '', viewMode: 'story' }, - selectionSpecifier: null, - setQueryParams: () => {}, - setSelection: (selection) => { - preview.urlStore.selection = selection; - }, - }; - - preview.view = { - ...preview.view, + const previewView = { prepareForStory: () => null, showNoPreview: () => {}, showPreparingStory: () => {}, @@ -74,17 +38,31 @@ export function start() { }, showStoryDuringRender: () => {}, showMain: () => {}, - // these are just to make typescript happy - showDocs: preview.view?.showDocs, - storyRoot: preview.view?.storyRoot, - prepareForDocs: preview.view?.prepareForDocs, - docsRoot: preview.view?.docsRoot, - checkIfLayoutExists: preview.view?.checkIfLayoutExists, - showMode: preview.view?.showMode, - showPreparingDocs: preview.view?.showPreparingDocs, - showStory: preview.view?.showStory, + checkIfLayoutExists: () => {}, + showStory: () => {}, + docsRoot: null, + prepareForDocs: () => null, + showDocs: () => {}, + preparingTimeout: setTimeout(() => {}, 0), + showMode: () => {}, + showPreparingDocs: () => {}, + storyRoot: null, + testing: false, + }; + + const urlStore = { + selection: { storyId: '', viewMode: 'story' as ViewMode }, + selectionSpecifier: null, + setQueryParams: () => {}, + setSelection: (selection) => { + preview.urlStore.selection = selection; + }, }; + const preview = new PreviewWeb(urlStore, previewView); + clientApi.storyStore = preview.storyStore; + setGlobalRender(render); + let initialized = false; function onStoriesChanged() { diff --git a/examples/native/package.json b/examples/native/package.json index bd20ada452..b88a77e0f7 100644 --- a/examples/native/package.json +++ b/examples/native/package.json @@ -38,16 +38,16 @@ "@react-native-async-storage/async-storage": "^1.17.10", "@react-native-community/datetimepicker": "^6.5.0", "@react-native-community/slider": "^4.3.1", - "@storybook/addon-actions": "^6.5.3", - "@storybook/addon-essentials": "^6.5.3", - "@storybook/addon-links": "^6.5.3", + "@storybook/addon-actions": "6.5.14-alpha.1", + "@storybook/addon-essentials": "6.5.14-alpha.1", + "@storybook/addon-links": "6.5.14-alpha.1", "@storybook/addon-ondevice-actions": "^6.0.1-beta.10", "@storybook/addon-ondevice-backgrounds": "^6.0.1-beta.10", "@storybook/addon-ondevice-controls": "^6.0.1-beta.10", "@storybook/addon-ondevice-notes": "^6.0.1-beta.10", - "@storybook/addons": "^6.5.3", - "@storybook/docs-tools": "^6.5.3", - "@storybook/react": "^6.5.3", + "@storybook/addons": "6.5.14-alpha.1", + "@storybook/docs-tools": "6.5.14-alpha.1", + "@storybook/react": "6.5.14-alpha.1", "@storybook/react-native": "^6.0.1-beta.10", "@storybook/react-native-server": "^6.0.1-beta.10", "react": "^18.2.0", diff --git a/package.json b/package.json index 679565d02c..e958047951 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,6 @@ "docs:build": "npm --prefix docs run build", "docs:dev": "npm --prefix docs run dev", "github-release": "github-release-from-changelog", - "postinstall": "patch-package", "lint": "yarn lint:js . && yarn lint:md .", "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.html,.ts,.tsx,.mjs --report-unused-disable-directives", "lint:js:fix": "yarn lint:js . --fix", @@ -103,7 +102,8 @@ "@types/react": "^18.0.21", "@typescript-eslint/parser": "^5.37.0", "@typescript-eslint/typescript-estree": "^4.26.1", - "react": "^18.2.0" + "react": "^18.2.0", + "telejson": "^7" }, "dependencies": { "@typescript-eslint/parser": "^4.26.1", @@ -137,7 +137,7 @@ "@types/react": "^18.0.21", "@types/react-native": "^0.70.4", "@types/semver": "^6.0.0", - "@types/webpack": "^4.41.0", + "@types/webpack": "^5.28.0", "@types/webpack-env": "^1.15.0", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^26.6.3", @@ -188,8 +188,6 @@ "node-cleanup": "^2.1.2", "node-fetch": "^2.6.0", "npmlog": "^4.1.2", - "patch-package": "^6.5.0", - "postinstall-postinstall": "^2.1.0", "prettier": "^2.4.1", "raf": "^3.4.0", "react": "^18.2.0", diff --git a/patches/@storybook+api+6.5.13.patch b/patches/@storybook+api+6.5.13.patch deleted file mode 100644 index 1c2a0d8930..0000000000 --- a/patches/@storybook+api+6.5.13.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/@storybook/api/dist/esm/modules/refs.js b/node_modules/@storybook/api/dist/esm/modules/refs.js -index 49f2aba..b441b81 100644 ---- a/node_modules/@storybook/api/dist/esm/modules/refs.js -+++ b/node_modules/@storybook/api/dist/esm/modules/refs.js -@@ -73,7 +73,7 @@ export var getSourceType = function getSourceType(source, refId) { - var localOrigin = location.origin, - localPathname = location.pathname; - -- var _URL = new URL(source), -+ var _URL = new URL(source || location.origin), - sourceOrigin = _URL.origin, - sourcePathname = _URL.pathname; - diff --git a/patches/telejson+6.0.8.patch b/patches/telejson+6.0.8.patch deleted file mode 100644 index ad2a7d2a52..0000000000 --- a/patches/telejson+6.0.8.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/node_modules/telejson/dist/cjs/index.js b/node_modules/telejson/dist/cjs/index.js -index d32dbcf..d2f1fd9 100644 ---- a/node_modules/telejson/dist/cjs/index.js -+++ b/node_modules/telejson/dist/cjs/index.js -@@ -39,8 +39,6 @@ function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !( - - function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } - --var isRunningInBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined'; // eslint-disable-next-line @typescript-eslint/ban-types, no-use-before-define -- - var isObject = _isobject["default"]; - - var removeCodeComments = function removeCodeComments(code) { -@@ -134,7 +132,7 @@ function convertUnconventionalData(data) { - // Plus we need to check if running in a browser to ensure `Event` exist and - // is really the dom Event class. - -- if (isRunningInBrowser && data instanceof Event) { -+ if (typeof Event !== "undefined" && data instanceof Event) { - result = (0, _domEvent.extractEventHiddenProperties)(result); - wasMutated = true; - } diff --git a/yarn.lock b/yarn.lock index 98e6c25ad7..73b8502df1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3244,18 +3244,18 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@storybook/addon-actions@6.5.13", "@storybook/addon-actions@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.5.13.tgz#84535dda78c7fe15fc61f19a23ed1440952f3c76" - integrity sha512-3Tji0gIy95havhTpSc6CsFl5lNxGn4O5Y1U9fyji+GRkKqDFOrvVLYAHPtLOpYdEI5tF0bDo+akiqfDouY8+eA== - dependencies: - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/core-events" "6.5.13" +"@storybook/addon-actions@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.5.14-alpha.1.tgz#aa070cb390e977d0292c8d35cd775eef5df4f1b0" + integrity sha512-O1o6k2qPQ+D3TKASRHzkocarjrxEatOlYzgZQeNfjlI7ozv/xmlwkWOYjV/CRCU1aKy2xysenCIhC18oIZnQFQ== + dependencies: + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/theming" "6.5.13" + "@storybook/theming" "6.5.14-alpha.1" core-js "^3.8.2" fast-deep-equal "^3.1.3" global "^4.4.0" @@ -3269,18 +3269,18 @@ util-deprecate "^1.0.2" uuid-browser "^3.1.0" -"@storybook/addon-backgrounds@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.5.13.tgz#37629db582501aa22bddf492a9f01d6614aaa993" - integrity sha512-b4JX7JMY7e50y1l6g71D+2XWV3GO0TO2z1ta8J6W4OQt8f44V7sSkRQaJUzXdLjQMrA+Anojuy1ZwPjVeLC6vg== +"@storybook/addon-backgrounds@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.5.14-alpha.1.tgz#b72c2a2082b4ec7152fca5d4f9288fbd0e8f3e24" + integrity sha512-y7nf4yF9zU9fGfmw9C/nXIVjGVtE6vWhbfcy1l9Kai2MYS5r5vPC2pAFa2nbfMSn8I1xc0xtG3xwV2Zoexc7Tg== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/theming" "6.5.13" + "@storybook/theming" "6.5.14-alpha.1" core-js "^3.8.2" global "^4.4.0" memoizerific "^1.11.3" @@ -3288,47 +3288,47 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/addon-controls@6.5.13", "@storybook/addon-controls@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.5.13.tgz#14c8f9379337768bf03f59d19f1a16f3c41418ab" - integrity sha512-lYq3uf2mlVevm0bi6ueL3H6TpUMRYW9s/pTNTVJT225l27kLdFR9wEKxAkCBrlKaTgDLJmzzDRsJE3NLZlR/5Q== +"@storybook/addon-controls@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.5.14-alpha.1.tgz#399ce2c23504a6da9db6972968991072175573d7" + integrity sha512-mLZxcgYfY2/mhcPkjZRkNCH+F+cUEZIbqe4apTmAek5HbgVuh9gCKsXH035p9hLSF64iK/KQ3T0PQad1OmCA3A== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/core-common" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/core-common" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/node-logger" "6.5.13" - "@storybook/store" "6.5.13" - "@storybook/theming" "6.5.13" + "@storybook/node-logger" "6.5.14-alpha.1" + "@storybook/store" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14-alpha.1" core-js "^3.8.2" lodash "^4.17.21" ts-dedent "^2.0.0" -"@storybook/addon-docs@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.5.13.tgz#fd82893946b0fa6f0657f16bf6a94637ab4b7532" - integrity sha512-RG/NjsheD9FixZ789RJlNyNccaR2Cuy7CtAwph4oUNi3aDFjtOI8Oe9L+FOT7qtVnZLw/YMjF+pZxoDqJNKLPw== +"@storybook/addon-docs@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.5.14-alpha.1.tgz#b47adeb3bacc06eaf9f0d1d976539122a5353678" + integrity sha512-zEWA4lEFNX7d60BOhQb4gG42b2St4/sbu2YPnOsQSVzsdVblDKPDxR4zXrM8qbBf9fr5avycZ1Q5++gHOCEW5g== dependencies: "@babel/plugin-transform-react-jsx" "^7.12.12" "@babel/preset-env" "^7.12.11" "@jest/transform" "^26.6.2" "@mdx-js/react" "^1.6.22" - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/core-common" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/core-common" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/docs-tools" "6.5.13" + "@storybook/docs-tools" "6.5.14-alpha.1" "@storybook/mdx1-csf" "^0.0.1" - "@storybook/node-logger" "6.5.13" - "@storybook/postinstall" "6.5.13" - "@storybook/preview-web" "6.5.13" - "@storybook/source-loader" "6.5.13" - "@storybook/store" "6.5.13" - "@storybook/theming" "6.5.13" + "@storybook/node-logger" "6.5.14-alpha.1" + "@storybook/postinstall" "6.5.14-alpha.1" + "@storybook/preview-web" "6.5.14-alpha.1" + "@storybook/source-loader" "6.5.14-alpha.1" + "@storybook/store" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14-alpha.1" babel-loader "^8.0.0" core-js "^3.8.2" fast-deep-equal "^3.1.3" @@ -3340,37 +3340,37 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/addon-essentials@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.5.13.tgz#274b8e6b556af4cd43b63fab361fa7d19c704e76" - integrity sha512-G9FVAWV7ixjVLWeLgIX+VT90tcAk6yQxfZQegfg5ucRilGysJCDaNnoab4xuuvm1R40TfFhba3iAGZtQYsddmw== - dependencies: - "@storybook/addon-actions" "6.5.13" - "@storybook/addon-backgrounds" "6.5.13" - "@storybook/addon-controls" "6.5.13" - "@storybook/addon-docs" "6.5.13" - "@storybook/addon-measure" "6.5.13" - "@storybook/addon-outline" "6.5.13" - "@storybook/addon-toolbars" "6.5.13" - "@storybook/addon-viewport" "6.5.13" - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/core-common" "6.5.13" - "@storybook/node-logger" "6.5.13" +"@storybook/addon-essentials@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.5.14-alpha.1.tgz#a951d2efcc16323ca727e22806617f0b433d40f2" + integrity sha512-3e/qOeVR6PONgDsftLNB/PeX2mHm0hr9oU7dHyZs3s3XZvya3g0DwoZQaGwAXkc9PUMrGY0vIQeXdr/NUCbgmw== + dependencies: + "@storybook/addon-actions" "6.5.14-alpha.1" + "@storybook/addon-backgrounds" "6.5.14-alpha.1" + "@storybook/addon-controls" "6.5.14-alpha.1" + "@storybook/addon-docs" "6.5.14-alpha.1" + "@storybook/addon-measure" "6.5.14-alpha.1" + "@storybook/addon-outline" "6.5.14-alpha.1" + "@storybook/addon-toolbars" "6.5.14-alpha.1" + "@storybook/addon-viewport" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/core-common" "6.5.14-alpha.1" + "@storybook/node-logger" "6.5.14-alpha.1" core-js "^3.8.2" regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-links@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.5.13.tgz#816816907e28ca1cccb58908360628d1b3914513" - integrity sha512-K/LYYu9R/Xoah5h9MNh4mSHOic3q5csqjderLqr2YW/KPYiuNubgvzEbAAbzI5xq5JrtAZqnINrZUv2A4CyYbQ== +"@storybook/addon-links@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.5.14-alpha.1.tgz#888e30e241c212cb468049f2e19a6ba49e6d0ab2" + integrity sha512-VP66X5w3kJuhT8vl5jJtIP+e0kJazJehUFKHjGCV+/SW6Uy2xdk2IxEge1GKDZxFym9s7BUx6Ba5HA5Z+epjIw== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/router" "6.5.13" + "@storybook/router" "6.5.14-alpha.1" "@types/qs" "^6.9.5" core-js "^3.8.2" global "^4.4.0" @@ -3379,95 +3379,95 @@ regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-measure@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-6.5.13.tgz#05c0e9813fee84a13ba1172444ea99ee083acdbd" - integrity sha512-pi5RFB9YTnESRFtYHAVRUrgEI5to0TFc4KndtwcCKt1fMJ8OFjXQeznEfdj95PFeUvW5TNUwjL38vK4LhicB+g== +"@storybook/addon-measure@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-6.5.14-alpha.1.tgz#ed5e091346a72cf303454cd4f37247297e7d3b57" + integrity sha512-NfGErLoZeOn5HatGln9lR6tJITlTXh1dUA0bj7AsHVa/mWbGRl1O2QZsV01F+0jg/MP7zJyJhm6VQcCwNkqaLg== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" core-js "^3.8.2" global "^4.4.0" -"@storybook/addon-outline@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-6.5.13.tgz#e4233e7d268cd0e1b814c253e8756fb459a341bf" - integrity sha512-8d8taPheO/tryflzXbj2QRuxHOIS8CtzRzcaglCcioqHEMhOIDOx9BdXKdheq54gdk/UN94HdGJUoVxYyXwZ4Q== +"@storybook/addon-outline@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-6.5.14-alpha.1.tgz#617850d5a5b04789421780ced4cfb069345cfe5f" + integrity sha512-9SyG9HQXlwUU3KPlVMO4Xi6FAiUeg0Ew2hedPdP685llRkICTWkpn7qIVv+Jp2jwm0PD99XMPgYd1MP97Iv6iw== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" core-js "^3.8.2" global "^4.4.0" regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-toolbars@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.5.13.tgz#0e67552786f08a6c0a443eaaef21ee565acca839" - integrity sha512-Qgr4wKRSP+gY1VaN7PYT4TM1um7KY341X3GHTglXLFHd8nDsCweawfV2shaX3WxCfZmVro8g4G+Oest30kLLCw== +"@storybook/addon-toolbars@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.5.14-alpha.1.tgz#59631722dbf3a6f457487511fa80b87fff9cbdbc" + integrity sha512-/f77jDFRWwiWxFLfjg70P1mhogQl5qHeTTW1I6anYsQMMe/7a23wPel7CvNoDSTMFQc4StHM9OSCyibyICT4Sg== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/theming" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14-alpha.1" core-js "^3.8.2" regenerator-runtime "^0.13.7" -"@storybook/addon-viewport@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.5.13.tgz#97771ed2f4ca1bef83d25174ce07db8557cdf795" - integrity sha512-KSfeuCSIjncwWGnUu6cZBx8WNqYvm5gHyFvkSPKEu0+MJtgncbUy7pl53lrEEr6QmIq0GRXvS3A0XzV8RCnrSA== - dependencies: - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/core-events" "6.5.13" - "@storybook/theming" "6.5.13" +"@storybook/addon-viewport@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.5.14-alpha.1.tgz#95f9c30a42cdc00e7b7fa49a2278def094e13896" + integrity sha512-YgmohIlH2KtQY7BDmhe/3MKmQfGWUKq7AXpDK5w7YM72yrLHwiNzLNJzAsg75w15tJSNBFIEKqotz15X1flJ6g== + dependencies: + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14-alpha.1" 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.5.13", "@storybook/addons@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.5.13.tgz#61ec5eab07879400d423d60bb397880d10ee5e73" - integrity sha512-18CqzNnrGMfeZtiKz+R/3rHtSNnfNwz6y6prIQIbWseK16jY8ELTfIFGviwO5V2OqpbHDQi5+xQQ63QAIb89YA== +"@storybook/addons@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.5.14-alpha.1.tgz#d27a40c179098143f06b9bea67fa466e95bc7cde" + integrity sha512-3jgjMb8zPhbEARvwF7GAPecgG6tigl/BeDSQYNbIPAb82sZwaOoHITqI3pzrUriBmz5Gh3LDzEvfpJ2Bgld9Xg== dependencies: - "@storybook/api" "6.5.13" - "@storybook/channels" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/channels" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/router" "6.5.13" - "@storybook/theming" "6.5.13" + "@storybook/router" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14-alpha.1" "@types/webpack-env" "^1.16.0" core-js "^3.8.2" global "^4.4.0" regenerator-runtime "^0.13.7" -"@storybook/api@6.5.13", "@storybook/api@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.5.13.tgz#8671e580721ff68d209fcde2975f967ae79b7d64" - integrity sha512-xVSmB7/IuFd6G7eiJjbI2MuS7SZunoUM6d+YCWpjiehfMeX47MXt1gZtOwFrgJC1ShZlefXFahq/dvxwtmWs+w== +"@storybook/api@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.5.14-alpha.1.tgz#a96037237b1234fff84019755e8ca61607a9b76a" + integrity sha512-+h9m/Dwro6YmJG24f0t1d6RZ/ytn7QOh9gitqE+JPOd2VZNoHCeUMqYD8XqBZXZN3odkWrn+Moh7Wb0TSBVcgQ== dependencies: - "@storybook/channels" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/channels" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/router" "6.5.13" + "@storybook/router" "6.5.14-alpha.1" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.5.13" + "@storybook/theming" "6.5.14-alpha.1" core-js "^3.8.2" fast-deep-equal "^3.1.3" global "^4.4.0" @@ -3479,28 +3479,28 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/builder-webpack4@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/builder-webpack4/-/builder-webpack4-6.5.13.tgz#35b22c49562d72934a0bc311657989f3b43be575" - integrity sha512-Agqy3IKPv3Nl8QqdS7PjtqLp+c0BD8+/3A2ki/YfKqVz+F+J34EpbZlh3uU053avm1EoNQHSmhZok3ZlWH6O7A== +"@storybook/builder-webpack4@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/builder-webpack4/-/builder-webpack4-6.5.14-alpha.1.tgz#cb051ac363c61245cb0967703692445b5f03ad67" + integrity sha512-lJJ/KsgihZr3Oum5R/IPy0vgZzd7oyyEpIA2pt6IJUzDhiJy/PHeYQEUWyhzysD90PQYq7gVhvTAvxkYH4V+SA== dependencies: "@babel/core" "^7.12.10" - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/channel-postmessage" "6.5.13" - "@storybook/channels" "6.5.13" - "@storybook/client-api" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/core-common" "6.5.13" - "@storybook/core-events" "6.5.13" - "@storybook/node-logger" "6.5.13" - "@storybook/preview-web" "6.5.13" - "@storybook/router" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/channel-postmessage" "6.5.14-alpha.1" + "@storybook/channels" "6.5.14-alpha.1" + "@storybook/client-api" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/core-common" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/node-logger" "6.5.14-alpha.1" + "@storybook/preview-web" "6.5.14-alpha.1" + "@storybook/router" "6.5.14-alpha.1" "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.13" - "@storybook/theming" "6.5.13" - "@storybook/ui" "6.5.13" + "@storybook/store" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14-alpha.1" + "@storybook/ui" "6.5.14-alpha.1" "@types/node" "^14.0.10 || ^16.0.0" "@types/webpack" "^4.41.26" autoprefixer "^9.8.6" @@ -3532,51 +3532,51 @@ webpack-hot-middleware "^2.25.1" webpack-virtual-modules "^0.2.2" -"@storybook/channel-postmessage@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.5.13.tgz#cdb36cf4180bd75687c0c4ec75248044ac975828" - integrity sha512-R79MBs0mQ7TV8M/a6x/SiTRyvZBidDfMEEthG7Cyo9p35JYiKOhj2535zhW4qlVMESBu95pwKYBibTjASoStPw== +"@storybook/channel-postmessage@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.5.14-alpha.1.tgz#bdd51108761f6e79fa43de47557808475df05e1e" + integrity sha512-TsoM3HCv9uV3FMZKhIxTWqbTfppE3ONlWTew0OJuSYM4dhcOIDRdp7MGAZ/7Htsz2+N9kIqtX0ZxmNX+siOOzg== dependencies: - "@storybook/channels" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/channels" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" core-js "^3.8.2" global "^4.4.0" qs "^6.10.0" telejson "^6.0.8" -"@storybook/channel-websocket@6.5.13", "@storybook/channel-websocket@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-6.5.13.tgz#b7a55149295a77004bb156a4ceefc44839f52bb3" - integrity sha512-kwh667H+tzCiNvs92GNwYOwVXdj9uHZyieRAN5rJtTBJ7XgLzGkpTEU50mWlbc0nDKhgE0qYvzyr5H393Iy5ug== +"@storybook/channel-websocket@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-6.5.14-alpha.1.tgz#059da9da079a052818465f0dea13cf05e3ee08ae" + integrity sha512-Rwan3UzzcEfCy2kPracu7QG0Hm2d2r1bBkzleZXpA9sRDhNsjDIUQWu+LvZcAa4J78hkl93z9j7Iik1gY77IKQ== dependencies: - "@storybook/channels" "6.5.13" - "@storybook/client-logger" "6.5.13" + "@storybook/channels" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" core-js "^3.8.2" global "^4.4.0" telejson "^6.0.8" -"@storybook/channels@6.5.13", "@storybook/channels@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.5.13.tgz#f3f86b90a7832484ee3dcbc6845f5a47f62f028f" - integrity sha512-sGYSilE30bz0jG+HdHnkv0B4XkAv2hP+KRZr4xmnv+MOOQpRnZpJ5Z3HVU16s17cj/83NWihKj6BuKcEVzyilg== +"@storybook/channels@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.5.14-alpha.1.tgz#96a1d37cdffbeefa09b6d125f821ca0642abc40f" + integrity sha512-KmC6170DZpqC69tmZnK7lBUNJ+pyBtI4ZucAjsrCZFYjYP+bV82mFSHVl/0I04U/r1iAWvOb1CYSXUFB1zkqkA== dependencies: core-js "^3.8.2" ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-api@6.5.13", "@storybook/client-api@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.5.13.tgz#0bd89339c08898e0409c5a1dd719ed4807b400cb" - integrity sha512-uH1mAWbidPiuuTdMUVEiuaNOfrYXm+9QLSP1MMYTKULqEOZI5MSOGkEDqRfVWxbYv/iWBOPTQ+OM9TQ6ecYacg== +"@storybook/client-api@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.5.14-alpha.1.tgz#f7e21f980b75671811fe3bb708c95c5b9ea2357c" + integrity sha512-3S1D7AjPOi54kAW4gApyKHyq+1OjWBPkJFJP/WTfnJ3Kbq6YJoi/pC2Xnxuv2MoLZVaxkzZhZ/tF48HAK2HkUw== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/channel-postmessage" "6.5.13" - "@storybook/channels" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/channel-postmessage" "6.5.14-alpha.1" + "@storybook/channels" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/store" "6.5.13" + "@storybook/store" "6.5.14-alpha.1" "@types/qs" "^6.9.5" "@types/webpack-env" "^1.16.0" core-js "^3.8.2" @@ -3591,43 +3591,43 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-logger@6.5.13", "@storybook/client-logger@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.5.13.tgz#83f332dd9bb4ff1696d16b0cc24561df90905264" - integrity sha512-F2SMW3LWFGXLm2ENTwTitrLWJgmMXRf3CWQXdN2EbkNCIBHy5Zcbt+91K4OX8e2e5h9gjGfrdYbyYDYOoUCEfA== +"@storybook/client-logger@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.5.14-alpha.1.tgz#80b7552e94abb199630bd72b3930f73ae7dfc966" + integrity sha512-bGjgfDOdycR5MQMtKS1AHSC5GEJHvl/+y55R29xbKqLDZNIE/12N3cu1TnI0LKs/qejTtxoZopJrhv+ncJYYlw== dependencies: core-js "^3.8.2" global "^4.4.0" -"@storybook/components@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.5.13.tgz#a05fc969458760b348d640f26c2cad310ab35030" - integrity sha512-6Hhx70JK5pGfKCkqMU4yq/BBH+vRTmzj7tZKfPwba+f8VmTMoOr/2ysTQFRtXryiHB6Z15xBYgfq5x2pIwQzLQ== +"@storybook/components@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.5.14-alpha.1.tgz#1af56a474d9b88a05b4014a315e54477406eb416" + integrity sha512-qKJBjgV2W+E+duDLJqw3vWLfMsTMbkf6ZmZPLG9CeYFphs97G14rEn0wm9WAzEUErQQVstYnGtvzqmJnx4kFYA== dependencies: - "@storybook/client-logger" "6.5.13" + "@storybook/client-logger" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/theming" "6.5.13" + "@storybook/theming" "6.5.14-alpha.1" core-js "^3.8.2" memoizerific "^1.11.3" qs "^6.10.0" regenerator-runtime "^0.13.7" util-deprecate "^1.0.2" -"@storybook/core-client@6.5.13", "@storybook/core-client@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-6.5.13.tgz#5e2a155af5773c4211a0e1fcd72e0cefea52b7ae" - integrity sha512-YuELbRokTBdqjbx/R4/7O4rou9kvbBIOJjlUkor9hdLLuJ3P0yGianERGNkZFfvcfMBAxU0p52o7QvDldSR3kA== - dependencies: - "@storybook/addons" "6.5.13" - "@storybook/channel-postmessage" "6.5.13" - "@storybook/channel-websocket" "6.5.13" - "@storybook/client-api" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/core-events" "6.5.13" +"@storybook/core-client@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-6.5.14-alpha.1.tgz#02ba996f1ab54ae9ff5cda60041cf95fc09d53a0" + integrity sha512-RlXWn0k+GjrJ1CV7bpM53vS8EmG3PQyZlpWKVLYF3n6aOhjrs2eDwn7iAMpw5cVXnfL38k/WTwaUONafx3FL8Q== + dependencies: + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/channel-postmessage" "6.5.14-alpha.1" + "@storybook/channel-websocket" "6.5.14-alpha.1" + "@storybook/client-api" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/preview-web" "6.5.13" - "@storybook/store" "6.5.13" - "@storybook/ui" "6.5.13" + "@storybook/preview-web" "6.5.14-alpha.1" + "@storybook/store" "6.5.14-alpha.1" + "@storybook/ui" "6.5.14-alpha.1" airbnb-js-shims "^2.2.1" ansi-to-html "^0.6.11" core-js "^3.8.2" @@ -3639,10 +3639,10 @@ unfetch "^4.2.0" util-deprecate "^1.0.2" -"@storybook/core-common@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-6.5.13.tgz#941fe2aea3326c2d524d095870a4150b9f9b1845" - integrity sha512-+DVZrRsteE9pw0X5MNffkdBgejQnbnL+UOG3qXkE9xxUamQALnuqS/w1BzpHE9WmOHuf7RWMKflyQEW3OLKAJg== +"@storybook/core-common@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-6.5.14-alpha.1.tgz#b4198d01118294bc43bd564bc1e051abe3c00b34" + integrity sha512-QC2/hEKgj87sb7//zWdElXfh/REw1x6LiL59QEdrzEH+FUnl1V6PJhotoit8vKPQdN8dCO044EKOVqasC9oRtg== dependencies: "@babel/core" "^7.12.10" "@babel/plugin-proposal-class-properties" "^7.12.1" @@ -3666,7 +3666,7 @@ "@babel/preset-react" "^7.12.10" "@babel/preset-typescript" "^7.12.7" "@babel/register" "^7.12.1" - "@storybook/node-logger" "6.5.13" + "@storybook/node-logger" "6.5.14-alpha.1" "@storybook/semver" "^7.3.2" "@types/node" "^14.0.10 || ^16.0.0" "@types/pretty-hrtime" "^1.0.0" @@ -3695,30 +3695,30 @@ util-deprecate "^1.0.2" webpack "4" -"@storybook/core-events@6.5.13", "@storybook/core-events@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.5.13.tgz#a8c0cc92694f09981ca6501d5c5ef328db18db8a" - integrity sha512-kL745tPpRKejzHToA3/CoBNbI+NPRVk186vGxXBmk95OEg0TlwgQExP8BnqEtLlRZMbW08e4+6kilc1M1M4N5w== +"@storybook/core-events@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.5.14-alpha.1.tgz#e5148ae2b160f2ef2341f011ddc618516ca83067" + integrity sha512-kc43GrlODGhJzckoskDglvECY3uTRMwWDqTw93ny0fadsJi6VNpuSTSTUpb+rCpxzFcBbrCH/nC1kFU8ybKXRA== dependencies: core-js "^3.8.2" -"@storybook/core-server@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-6.5.13.tgz#5f0f13b73122f73b9d27962616815305da2a5b28" - integrity sha512-vs7tu3kAnFwuINio1p87WyqDNlFyZESmeh9s7vvrZVbe/xS/ElqDscr9DT5seW+jbtxufAaHsx+JUTver1dheQ== +"@storybook/core-server@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-6.5.14-alpha.1.tgz#d90c02678c0e577b73770bf435f4e8825009a6c9" + integrity sha512-x6Dfog5eGWnPlWYBb3UURSpSA6kDKFRbYNhZFaRCztDa8uTJk5vRtY7+sJ00+ES7GN46KqYT435e3n15nMO/bw== dependencies: "@discoveryjs/json-ext" "^0.5.3" - "@storybook/builder-webpack4" "6.5.13" - "@storybook/core-client" "6.5.13" - "@storybook/core-common" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/builder-webpack4" "6.5.14-alpha.1" + "@storybook/core-client" "6.5.14-alpha.1" + "@storybook/core-common" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/csf-tools" "6.5.13" - "@storybook/manager-webpack4" "6.5.13" - "@storybook/node-logger" "6.5.13" + "@storybook/csf-tools" "6.5.14-alpha.1" + "@storybook/manager-webpack4" "6.5.14-alpha.1" + "@storybook/node-logger" "6.5.14-alpha.1" "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.13" - "@storybook/telemetry" "6.5.13" + "@storybook/store" "6.5.14-alpha.1" + "@storybook/telemetry" "6.5.14-alpha.1" "@types/node" "^14.0.10 || ^16.0.0" "@types/node-fetch" "^2.5.7" "@types/pretty-hrtime" "^1.0.0" @@ -3753,18 +3753,18 @@ ws "^8.2.3" x-default-browser "^0.4.0" -"@storybook/core@6.5.13", "@storybook/core@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.5.13.tgz#4c657c5d8d243f1187dad8763a275d555426957e" - integrity sha512-kw1lCgbsxzUimGww6t5rmuWJmFPe9kGGyzIqvj4RC4BBcEsP40LEu9XhSfvnb8vTOLIULFZeZpdRFfJs4TYbUw== +"@storybook/core@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.5.14-alpha.1.tgz#c595783820e3d0fbfc0ef91e808b0096ca24fb4b" + integrity sha512-QVESDt9/J3uiGPabEGbpXpKrU8SHUH0uGjcyZX+g0XrxKiVoH836CYbVFFMt9Zsl2f2PQ5bCCt56kWYgtDai4A== dependencies: - "@storybook/core-client" "6.5.13" - "@storybook/core-server" "6.5.13" + "@storybook/core-client" "6.5.14-alpha.1" + "@storybook/core-server" "6.5.14-alpha.1" -"@storybook/csf-tools@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-6.5.13.tgz#cb5cd26083a594bf31b19a66a250ad94863822f6" - integrity sha512-63Ev+VmBqzwSwfUzbuXOLKBD5dMTK2zBYLQ9anTVw70FuTikwTsGIbPgb098K0vsxRCgxl7KM7NpivHqtZtdjw== +"@storybook/csf-tools@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-6.5.14-alpha.1.tgz#90f45d0782cb0d423fd012929ea8c409ce5ee5e3" + integrity sha512-9qOmMuzu4bJ7Rkgwp12Q68DDxd7FQZqon1Bb9vBp4YD6jUFBTlmFsYDbr898FqKglwE6IFWcFANwAy7czrPHQw== dependencies: "@babel/core" "^7.12.10" "@babel/generator" "^7.12.11" @@ -3795,14 +3795,14 @@ dependencies: lodash "^4.17.15" -"@storybook/docs-tools@6.5.13", "@storybook/docs-tools@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-6.5.13.tgz#00c7041ac7bc827d12731face909351a5af0cb3f" - integrity sha512-hB+hk+895ny4SW84j3X5iV55DHs3bCfTOp7cDdcZJdQrlm0wuDb4A6d4ffNC7ZLh9VkUjU6ST4VEV5Bb0Cptow== +"@storybook/docs-tools@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-6.5.14-alpha.1.tgz#d765cebb15464db376f86794e430e0e75ee5b9fe" + integrity sha512-MgpbMX5OP10M5Vr+7+gEuRedD28gKTTplwA+bhWss7YfBqbAy0avM5G2lMJBTbAl/bvSywDapRGWnuxrMsH8VQ== dependencies: "@babel/core" "^7.12.10" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/store" "6.5.13" + "@storybook/store" "6.5.14-alpha.1" core-js "^3.8.2" doctrine "^3.0.0" lodash "^4.17.21" @@ -3831,20 +3831,20 @@ remark-lint "^8.0.0" remark-preset-lint-recommended "^5.0.0" -"@storybook/manager-webpack4@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/manager-webpack4/-/manager-webpack4-6.5.13.tgz#73350ac3e8a10494158df3c1ea01dd7f329bec8e" - integrity sha512-pURzS5W3XM0F7bCBWzpl7TRsuy+OXFwLXiWLaexuvo0POZe31Ueo2A1R4rx3MT5Iee8O9mYvG2XTmvK9MlLefQ== +"@storybook/manager-webpack4@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/manager-webpack4/-/manager-webpack4-6.5.14-alpha.1.tgz#3031545984edbdcff8c4fccd40a751b624c74ae4" + integrity sha512-ACaEpHUQiUrm1dg0vFlxmO035sXyJcqMJahDXBcKhPaTEe7vfBFnaeUD6kUqHBxiSBcCwCa6kY34iG4xINUmcA== dependencies: "@babel/core" "^7.12.10" "@babel/plugin-transform-template-literals" "^7.12.1" "@babel/preset-react" "^7.12.10" - "@storybook/addons" "6.5.13" - "@storybook/core-client" "6.5.13" - "@storybook/core-common" "6.5.13" - "@storybook/node-logger" "6.5.13" - "@storybook/theming" "6.5.13" - "@storybook/ui" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/core-client" "6.5.14-alpha.1" + "@storybook/core-common" "6.5.14-alpha.1" + "@storybook/node-logger" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14-alpha.1" + "@storybook/ui" "6.5.14-alpha.1" "@types/node" "^14.0.10 || ^16.0.0" "@types/webpack" "^4.41.26" babel-loader "^8.0.0" @@ -3889,10 +3889,10 @@ prettier ">=2.2.1 <=2.3.0" ts-dedent "^2.0.0" -"@storybook/node-logger@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.5.13.tgz#f4833ae220efe841747c4fead26419d6625af8d9" - integrity sha512-/r5aVZAqZRoy5FyNk/G4pj7yKJd3lJfPbAaOHVROv2IF7PJP/vtRaDkcfh0g2U6zwuDxGIqSn80j+qoEli9m5A== +"@storybook/node-logger@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.5.14-alpha.1.tgz#74cb7d6aa1139a0abbae2f7306952b40d1bf4534" + integrity sha512-2wFBDLOy2UfjU5SUyEtuq/wBpE9g3g4ECwC1VjtUx3AOQZk2fnea96UnyJs3sEdX51Aepg5egvp3mQ5JoUm/rg== dependencies: "@types/npmlog" "^4.1.2" chalk "^4.1.0" @@ -3900,24 +3900,24 @@ npmlog "^5.0.1" pretty-hrtime "^1.0.3" -"@storybook/postinstall@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.5.13.tgz#b57b68682b853fd451061c06becd1eff18a75cf8" - integrity sha512-qmqP39FGIP5NdhXC5IpAs9cFoYx9fg1psoQKwb9snYb98eVQU31uHc1W2MBUh3lG4AjAm7pQaXJci7ti4jOh3g== +"@storybook/postinstall@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.5.14-alpha.1.tgz#b5edf48ccc59f22079057362df24102903b0174f" + integrity sha512-sZ+jFDbI6FfsVa1kKdpp99uZ/D1BTxe/+UmbtxLz31a8NcZv7Z1kDiPHanb7Y8N1UlSN6DWoDMzfLNvKVYqa5g== dependencies: core-js "^3.8.2" -"@storybook/preview-web@6.5.13", "@storybook/preview-web@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-6.5.13.tgz#332cac4c95e3fd760c9eb8448dfa50fdb3b6255b" - integrity sha512-GNNYVzw4SmRua3dOc52Ye6Us4iQbq5GKQ56U3iwnzZM3TBdJB+Rft94Fn1/pypHujEHS8hl5Xgp9td6C1lLCow== +"@storybook/preview-web@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-6.5.14-alpha.1.tgz#14c686afcbe2cbda6a6cc2b421fdc2831c731cb2" + integrity sha512-OVYI1TwzALJI+nD55mSUdJJz1sEYQVXB4e7ueZJdgVe7iNSqwH9LjCGOIPPmbnZcVylPjQ1HxcO27Rh2zKcgVg== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/channel-postmessage" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/channel-postmessage" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/store" "6.5.13" + "@storybook/store" "6.5.14-alpha.1" ansi-to-html "^0.6.11" core-js "^3.8.2" global "^4.4.0" @@ -3942,24 +3942,24 @@ react-docgen-typescript "^2.1.1" tslib "^2.0.0" -"@storybook/react@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.5.13.tgz#9b02c4515b6c6a13ce92f1bb4869c20c8ae05dfa" - integrity sha512-4gO8qihEkVZ8RNm9iQd7G2iZz4rRAHizJ6T5m58Sn21fxfyg9zAMzhgd0JzXuPXR8lTTj4AvRyPv1Qx7b43smg== +"@storybook/react@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.5.14-alpha.1.tgz#facb1abe04c9f0acc81ecbd3408107dc4399f194" + integrity sha512-yUMBMReOk/lXoABnnyOiCOjAinUECB9pt2QCbM1iuHgSR0hIplmc6wmpfZrkUQXMG/Yynu6l8tm0iUFqxDBHaw== dependencies: "@babel/preset-flow" "^7.12.1" "@babel/preset-react" "^7.12.10" "@pmmmwh/react-refresh-webpack-plugin" "^0.5.3" - "@storybook/addons" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/core" "6.5.13" - "@storybook/core-common" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core" "6.5.14-alpha.1" + "@storybook/core-common" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/docs-tools" "6.5.13" - "@storybook/node-logger" "6.5.13" + "@storybook/docs-tools" "6.5.14-alpha.1" + "@storybook/node-logger" "6.5.14-alpha.1" "@storybook/react-docgen-typescript-plugin" "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0" "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.13" + "@storybook/store" "6.5.14-alpha.1" "@types/estree" "^0.0.51" "@types/node" "^14.14.20 || ^16.0.0" "@types/webpack-env" "^1.16.0" @@ -3983,12 +3983,12 @@ util-deprecate "^1.0.2" webpack ">=4.43.0 <6.0.0" -"@storybook/router@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.5.13.tgz#c8bfed96f2343b097d416cfc95194038365fce94" - integrity sha512-sf5aogfirH5ucD0d0hc2mKf2iyWsZsvXhr5kjxUQmgkcoflkGUWhc34sbSQVRQ1i8K5lkLIDH/q2s1Zr2SbzhQ== +"@storybook/router@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.5.14-alpha.1.tgz#910b34167454385c0051efa870861f9f879ba05b" + integrity sha512-8fvrObmdbq86mD93IBiI9S+RJiOBlVcU9odlFxDZYJnNvypCjqdrMyrCY6tN2VE86Fhb/d4B4TJ3TW9t81nbGg== dependencies: - "@storybook/client-logger" "6.5.13" + "@storybook/client-logger" "6.5.14-alpha.1" core-js "^3.8.2" memoizerific "^1.11.3" qs "^6.10.0" @@ -4002,30 +4002,30 @@ core-js "^3.6.5" find-up "^4.1.0" -"@storybook/source-loader@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.5.13.tgz#40e6e42888b8c12b43a505ffa6c6f1f2cebb0b0d" - integrity sha512-tHuM8PfeB/0m+JigbaFp+Ld0euFH+fgOObH2W9rjEXy5vnwmaeex/JAdCprv4oL+LcDQEERqNULUUNIvbcTPAg== +"@storybook/source-loader@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.5.14-alpha.1.tgz#57d3966cdcf5f2808349e76d53cc2d0f57be8e3e" + integrity sha512-JeMGRo4YpSdIWEVHEgCwTLIhiRW7cy+oSTg30dnM2f8Z45T4IOfkYECO1hXlZFOLNz/kZdt8OJlHXB3SHdzBNw== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/client-logger" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" core-js "^3.8.2" estraverse "^5.2.0" global "^4.4.0" - loader-utils "^2.0.0" + loader-utils "^2.0.4" lodash "^4.17.21" prettier ">=2.2.1 <=2.3.0" regenerator-runtime "^0.13.7" -"@storybook/store@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/store/-/store-6.5.13.tgz#0281bdf0e24c880f85ea75ae47b6a84e8545b5f8" - integrity sha512-GG6lm+8fBX1tNUnX7x3raBOjYhhf14bPWLtYiPlxDTFEMs3sJte7zWKZq6NQ79MoBLL6jjzTeolBfDCBw6fiWQ== +"@storybook/store@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/store/-/store-6.5.14-alpha.1.tgz#6666b4fa0fe44539f25445c45fd5a32093140428" + integrity sha512-m5I2nSDQs8EdugeTKgv5mJvYLm00/V6pDSCrk3YzCtSkOcPbvJr33+fDatGklHNOO65n+gXcnxCJiieBw+NY4A== dependencies: - "@storybook/addons" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/core-events" "6.5.13" + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" "@storybook/csf" "0.0.2--canary.4566f4d.1" core-js "^3.8.2" fast-deep-equal "^3.1.3" @@ -4039,13 +4039,13 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/telemetry@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-6.5.13.tgz#a190001f679ce7899c72b53710765685281fe567" - integrity sha512-PFJEfGbunmfFWabD3rdCF8EHH+45578OHOkMPpXJjqXl94vPQxUH2XTVKQgEQJbYrgX0Vx9Z4tSkdMHuzYDbWQ== +"@storybook/telemetry@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-6.5.14-alpha.1.tgz#8842bf7637d853aa8065713e223601011501e185" + integrity sha512-6lKRWjR6tQUiQwXuXlwHNASaZGUUWu9mAnFF9SjO8HDVxe6jef0qQIt4VWc747yP/l/mcL0gXVkXUy36jaRCxQ== dependencies: - "@storybook/client-logger" "6.5.13" - "@storybook/core-common" "6.5.13" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/core-common" "6.5.14-alpha.1" chalk "^4.1.0" core-js "^3.8.2" detect-package-manager "^2.0.1" @@ -4057,30 +4057,30 @@ read-pkg-up "^7.0.1" regenerator-runtime "^0.13.7" -"@storybook/theming@6.5.13": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.5.13.tgz#3f905eb9f72ddc28d096384290999057987f3083" - integrity sha512-oif5NGFAUQhizo50r+ctw2hZNLWV4dPHai+L/gFvbaSeRBeHSNkIcMoZ2FlrO566HdGZTDutYXcR+xus8rI28g== +"@storybook/theming@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.5.14-alpha.1.tgz#5dde9f1c26d4bfb8f768bedd7b9cf3ba1dcccd82" + integrity sha512-9rAtaaB5R54hSAOHQMr9mSuKnNM/m4OS5O5lpjjawmujz44GUn3UdrOzqbcw5+ryy4qdbKKzetz3X1g9t9FBkA== dependencies: - "@storybook/client-logger" "6.5.13" + "@storybook/client-logger" "6.5.14-alpha.1" core-js "^3.8.2" memoizerific "^1.11.3" regenerator-runtime "^0.13.7" -"@storybook/ui@6.5.13", "@storybook/ui@^6.5.3": - version "6.5.13" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.5.13.tgz#16b25fd839cdafc2b9989c548bc1ffb711b33dee" - integrity sha512-MklJuSg4Bc+MWjwhZVmZhJaucaeEBUMMa2V9oRWbIgZOdRHqdW72S2vCbaarDAYfBQdnfaoq1GkSQiw+EnWOzA== - dependencies: - "@storybook/addons" "6.5.13" - "@storybook/api" "6.5.13" - "@storybook/channels" "6.5.13" - "@storybook/client-logger" "6.5.13" - "@storybook/components" "6.5.13" - "@storybook/core-events" "6.5.13" - "@storybook/router" "6.5.13" +"@storybook/ui@6.5.14-alpha.1": + version "6.5.14-alpha.1" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.5.14-alpha.1.tgz#671c9044da786eb6e434a9a8d68d3bf2a95d1f7c" + integrity sha512-elSQtjvyOFdH5rzBgaeXu+Pti+MB9R+c0llcfPN5Obp7ORT9bInojbL36cosMxfu5iynpefQ/VYfgVzp0WdwKQ== + dependencies: + "@storybook/addons" "6.5.14-alpha.1" + "@storybook/api" "6.5.14-alpha.1" + "@storybook/channels" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/components" "6.5.14-alpha.1" + "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/router" "6.5.14-alpha.1" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.5.13" + "@storybook/theming" "6.5.14-alpha.1" core-js "^3.8.2" memoizerific "^1.11.3" qs "^6.10.0" @@ -4431,11 +4431,6 @@ dependencies: "@types/node" "*" -"@types/is-function@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/is-function/-/is-function-1.0.1.tgz#2d024eace950c836d9e3335a66b97960ae41d022" - integrity sha512-A79HEEiwXTFtfY+Bcbo58M2GRYzCr9itHWzbzHVFNEYCcoU/MMGwYYf721gBrnhpj1s6RGVVha/IgNFnR0Iw/Q== - "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.4" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" @@ -4737,7 +4732,7 @@ "@types/source-list-map" "*" source-map "^0.7.3" -"@types/webpack@^4.41.0", "@types/webpack@^4.41.26", "@types/webpack@^4.41.8": +"@types/webpack@^4.41.26", "@types/webpack@^4.41.8": version "4.41.33" resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.33.tgz#16164845a5be6a306bcbe554a8e67f9cac215ffc" integrity sha512-PPajH64Ft2vWevkerISMtnZ8rTs4YmRbs+23c402J0INmxDKCrhZNvwZYtzx96gY2wAtXdrK1BS2fiC8MlLr3g== @@ -4749,6 +4744,15 @@ anymatch "^3.0.0" source-map "^0.6.0" +"@types/webpack@^5.28.0": + version "5.28.0" + resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-5.28.0.tgz#78dde06212f038d77e54116cfe69e88ae9ed2c03" + integrity sha512-8cP0CzcxUiFuA9xGJkfeVpqmWTk9nx6CWwamRGCj95ph1SmlRRk9KlCZ6avhCbZd4L68LvYT6l1kpdEnQXrF8w== + dependencies: + "@types/node" "*" + tapable "^2.2.0" + webpack "^5" + "@types/ws@^8.5.1": version "8.5.3" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d" @@ -5232,11 +5236,6 @@ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== -"@yarnpkg/lockfile@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" - integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== - "@zkochan/cmd-shim@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e" @@ -7750,7 +7749,7 @@ cross-spawn@^4.0.2: lru-cache "^4.0.1" which "^1.2.9" -cross-spawn@^6.0.0, cross-spawn@^6.0.5: +cross-spawn@^6.0.0: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== @@ -9931,13 +9930,6 @@ find-versions@^4.0.0: dependencies: semver-regex "^3.1.2" -find-yarn-workspace-root@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd" - integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ== - dependencies: - micromatch "^4.0.2" - flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -10125,15 +10117,6 @@ fs-extra@^4.0.2: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" - integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs-extra@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" @@ -11687,11 +11670,6 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -is-function@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.2.tgz#4f097f30abf6efadac9833b17ca5dc03f8144e08" - integrity sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ== - is-generator-fn@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" @@ -11826,7 +11804,7 @@ is-promise@^2.1.0: resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== -is-regex@^1.0.4, is-regex@^1.0.5, is-regex@^1.1.0, is-regex@^1.1.1, is-regex@^1.1.2, is-regex@^1.1.4: +is-regex@^1.0.4, is-regex@^1.0.5, is-regex@^1.1.0, is-regex@^1.1.1, is-regex@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== @@ -11999,11 +11977,6 @@ isobject@^3.0.0, isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== -isobject@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-4.0.0.tgz#3f1c9155e73b192022a80819bacd0343711697b0" - integrity sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA== - isomorphic-unfetch@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f" @@ -13366,13 +13339,6 @@ kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== -klaw-sync@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" - integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== - dependencies: - graceful-fs "^4.1.11" - klaw@^1.0.0: version "1.3.1" resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" @@ -13627,6 +13593,15 @@ loader-utils@^2.0.0: emojis-list "^3.0.0" json5 "^2.1.2" +loader-utils@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" + integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== + dependencies: + big.js "^5.2.2" + emojis-list "^3.0.0" + json5 "^2.1.2" + locate-path@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" @@ -15445,7 +15420,7 @@ open@^6.2.0: dependencies: is-wsl "^1.1.0" -open@^7.0.3, open@^7.4.2: +open@^7.0.3: version "7.4.2" resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== @@ -15903,26 +15878,6 @@ pascalcase@^0.1.1: resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" integrity sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw== -patch-package@^6.5.0: - version "6.5.0" - resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.5.0.tgz#feb058db56f0005da59cfa316488321de585e88a" - integrity sha512-tC3EqJmo74yKqfsMzELaFwxOAu6FH6t+FzFOsnWAuARm7/n2xB5AOeOueE221eM9gtMuIKMKpF9tBy/X2mNP0Q== - dependencies: - "@yarnpkg/lockfile" "^1.1.0" - chalk "^4.1.2" - cross-spawn "^6.0.5" - find-yarn-workspace-root "^2.0.0" - fs-extra "^7.0.1" - is-ci "^2.0.0" - klaw-sync "^6.0.0" - minimist "^1.2.6" - open "^7.4.2" - rimraf "^2.6.3" - semver "^5.6.0" - slash "^2.0.0" - tmp "^0.0.33" - yaml "^1.10.2" - path-browserify@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" @@ -16219,11 +16174,6 @@ postcss@^7.0.14, postcss@^7.0.26, postcss@^7.0.32, postcss@^7.0.36, postcss@^7.0 picocolors "^0.2.1" source-map "^0.6.1" -postinstall-postinstall@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/postinstall-postinstall/-/postinstall-postinstall-2.1.0.tgz#4f7f77441ef539d1512c40bd04c71b06a4704ca3" - integrity sha512-7hQX6ZlZXIoRiWNrbMQaLzUUfH+sSx39u8EJ9HYuDc1kLo9IXKWjM5RSquZN1ad5GnH8CGFM78fsAAQi3OKEEQ== - prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" @@ -19021,18 +18971,11 @@ teeny-request@7.1.1: stream-events "^1.0.5" uuid "^8.0.0" -telejson@^6.0.8: - version "6.0.8" - resolved "https://registry.yarnpkg.com/telejson/-/telejson-6.0.8.tgz#1c432db7e7a9212c1fbd941c3e5174ec385148f7" - integrity sha512-nerNXi+j8NK1QEfBHtZUN/aLdDcyupA//9kAboYLrtzZlPLpUfqbVGWb9zz91f/mIjRbAYhbgtnJHY8I1b5MBg== +telejson@^6.0.8, telejson@^7: + version "7.0.3" + resolved "https://registry.yarnpkg.com/telejson/-/telejson-7.0.3.tgz#61236192ac6fd0c218f45b2952a11eef9f8744b3" + integrity sha512-Oj9M8IYGRiJVUY6jarU8EImAqys4hCDYoeNP4r6muMZKGukbsArbv1Z9lxKQtP7eLdRJCKvwI8TNCwjZxD0ryw== dependencies: - "@types/is-function" "^1.0.0" - global "^4.4.0" - is-function "^1.0.2" - is-regex "^1.1.2" - is-symbol "^1.0.3" - isobject "^4.0.0" - lodash "^4.17.21" memoizerific "^1.11.3" telnet-client@1.2.8: @@ -20491,6 +20434,36 @@ webpack@4, webpack@^4, webpack@^4.38.0: watchpack "^2.4.0" webpack-sources "^3.2.3" +webpack@^5: + version "5.75.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.75.0.tgz#1e440468647b2505860e94c9ff3e44d5b582c152" + integrity sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ== + dependencies: + "@types/eslint-scope" "^3.7.3" + "@types/estree" "^0.0.51" + "@webassemblyjs/ast" "1.11.1" + "@webassemblyjs/wasm-edit" "1.11.1" + "@webassemblyjs/wasm-parser" "1.11.1" + acorn "^8.7.1" + acorn-import-assertions "^1.7.6" + browserslist "^4.14.5" + chrome-trace-event "^1.0.2" + enhanced-resolve "^5.10.0" + es-module-lexer "^0.9.0" + eslint-scope "5.1.1" + events "^3.2.0" + glob-to-regexp "^0.4.1" + graceful-fs "^4.2.9" + json-parse-even-better-errors "^2.3.1" + loader-runner "^4.2.0" + mime-types "^2.1.27" + neo-async "^2.6.2" + schema-utils "^3.1.0" + tapable "^2.1.1" + terser-webpack-plugin "^5.1.3" + watchpack "^2.4.0" + webpack-sources "^3.2.3" + websocket-driver@>=0.5.1, websocket-driver@^0.7.4: version "0.7.4" resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" @@ -20872,7 +20845,7 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: +yaml@^1.10.0, yaml@^1.7.2: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== From 8eca81426476668b348625551a501648fd2762b0 Mon Sep 17 00:00:00 2001 From: Danny Date: Tue, 29 Nov 2022 21:36:14 +0000 Subject: [PATCH 11/16] fix:version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e958047951..ba3e6a29d1 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "@types/react": "^18.0.21", "@types/react-native": "^0.70.4", "@types/semver": "^6.0.0", - "@types/webpack": "^5.28.0", + "@types/webpack": "^4.41.0", "@types/webpack-env": "^1.15.0", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^26.6.3", From 38225774838f7163c7c7c96f4d4257f874a99004 Mon Sep 17 00:00:00 2001 From: Danny Date: Tue, 29 Nov 2022 21:37:09 +0000 Subject: [PATCH 12/16] lock --- yarn.lock | 41 +---------------------------------------- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/yarn.lock b/yarn.lock index 73b8502df1..09fdfc2e7c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4732,7 +4732,7 @@ "@types/source-list-map" "*" source-map "^0.7.3" -"@types/webpack@^4.41.26", "@types/webpack@^4.41.8": +"@types/webpack@^4.41.0", "@types/webpack@^4.41.26", "@types/webpack@^4.41.8": version "4.41.33" resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.33.tgz#16164845a5be6a306bcbe554a8e67f9cac215ffc" integrity sha512-PPajH64Ft2vWevkerISMtnZ8rTs4YmRbs+23c402J0INmxDKCrhZNvwZYtzx96gY2wAtXdrK1BS2fiC8MlLr3g== @@ -4744,15 +4744,6 @@ anymatch "^3.0.0" source-map "^0.6.0" -"@types/webpack@^5.28.0": - version "5.28.0" - resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-5.28.0.tgz#78dde06212f038d77e54116cfe69e88ae9ed2c03" - integrity sha512-8cP0CzcxUiFuA9xGJkfeVpqmWTk9nx6CWwamRGCj95ph1SmlRRk9KlCZ6avhCbZd4L68LvYT6l1kpdEnQXrF8w== - dependencies: - "@types/node" "*" - tapable "^2.2.0" - webpack "^5" - "@types/ws@^8.5.1": version "8.5.3" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d" @@ -20434,36 +20425,6 @@ webpack@4, webpack@^4, webpack@^4.38.0: watchpack "^2.4.0" webpack-sources "^3.2.3" -webpack@^5: - version "5.75.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.75.0.tgz#1e440468647b2505860e94c9ff3e44d5b582c152" - integrity sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ== - dependencies: - "@types/eslint-scope" "^3.7.3" - "@types/estree" "^0.0.51" - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/wasm-edit" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - acorn "^8.7.1" - acorn-import-assertions "^1.7.6" - browserslist "^4.14.5" - chrome-trace-event "^1.0.2" - enhanced-resolve "^5.10.0" - es-module-lexer "^0.9.0" - eslint-scope "5.1.1" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.9" - json-parse-even-better-errors "^2.3.1" - loader-runner "^4.2.0" - mime-types "^2.1.27" - neo-async "^2.6.2" - schema-utils "^3.1.0" - tapable "^2.1.1" - terser-webpack-plugin "^5.1.3" - watchpack "^2.4.0" - webpack-sources "^3.2.3" - websocket-driver@>=0.5.1, websocket-driver@^0.7.4: version "0.7.4" resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" From 85264b9cf900bededd8f1175fca601fe68516ac6 Mon Sep 17 00:00:00 2001 From: Danny Date: Wed, 30 Nov 2022 11:57:18 +0000 Subject: [PATCH 13/16] fix: linting --- addons/ondevice-controls/src/types/Object.tsx | 1 - addons/ondevice-notes/src/index.ts | 1 - scripts/run-registry.js | 1 - 3 files changed, 3 deletions(-) diff --git a/addons/ondevice-controls/src/types/Object.tsx b/addons/ondevice-controls/src/types/Object.tsx index cdfbfe7895..9986650fc6 100644 --- a/addons/ondevice-controls/src/types/Object.tsx +++ b/addons/ondevice-controls/src/types/Object.tsx @@ -37,7 +37,6 @@ const ObjectType = ({ arg, onChange, isPristine }: ObjectProps) => { const handleChange = (value) => { const withReplacedQuotes = value - // eslint-disable-next-line quotes .replace(/[\u2018\u2019]/g, "'") .replace(/[\u201C\u201D]/g, '"'); diff --git a/addons/ondevice-notes/src/index.ts b/addons/ondevice-notes/src/index.ts index f6b700faae..abad6a9843 100644 --- a/addons/ondevice-notes/src/index.ts +++ b/addons/ondevice-notes/src/index.ts @@ -1,6 +1,5 @@ import { logger } from '@storybook/client-logger'; if (__DEV__) { - // eslint-disable-next-line quotes logger.log("import '@storybook/addon-ondevice-notes/register' to register the notes addon"); } diff --git a/scripts/run-registry.js b/scripts/run-registry.js index 0ef37a1bbc..1161f443e7 100755 --- a/scripts/run-registry.js +++ b/scripts/run-registry.js @@ -41,7 +41,6 @@ const startVerdaccio = (port) => { new Promise((res, rej) => { setTimeout(() => { if (!resolved) { - // eslint-disable-next-line quotes rej(new Error("TIMEOUT - verdaccio didn't start within 60s")); resolved = true; From 1dd7cfd7634d51c3c5271f961323f9fcc02e03cf Mon Sep 17 00:00:00 2001 From: Danny Date: Wed, 30 Nov 2022 16:42:08 +0000 Subject: [PATCH 14/16] fix: new telejson version --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ba3e6a29d1..dfd44ffaa2 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "@typescript-eslint/parser": "^5.37.0", "@typescript-eslint/typescript-estree": "^4.26.1", "react": "^18.2.0", - "telejson": "^7" + "telejson": "^7.0.4" }, "dependencies": { "@typescript-eslint/parser": "^4.26.1", diff --git a/yarn.lock b/yarn.lock index 09fdfc2e7c..23a5bae6de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18962,10 +18962,10 @@ teeny-request@7.1.1: stream-events "^1.0.5" uuid "^8.0.0" -telejson@^6.0.8, telejson@^7: - version "7.0.3" - resolved "https://registry.yarnpkg.com/telejson/-/telejson-7.0.3.tgz#61236192ac6fd0c218f45b2952a11eef9f8744b3" - integrity sha512-Oj9M8IYGRiJVUY6jarU8EImAqys4hCDYoeNP4r6muMZKGukbsArbv1Z9lxKQtP7eLdRJCKvwI8TNCwjZxD0ryw== +telejson@^6.0.8, telejson@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/telejson/-/telejson-7.0.4.tgz#2e88c0af9566b4f687622ed490588312b2bec186" + integrity sha512-J4QEuCnYGXAI9KSN7RXK0a0cOW2ONpjc4IQbInGZ6c3stvplLAYyZjTnScrRd8deXVjNCFV1wXcLC7SObDuQYA== dependencies: memoizerific "^1.11.3" From 478877a9412727305f7f4da062c39d8d8fbb3939 Mon Sep 17 00:00:00 2001 From: Danny Date: Wed, 30 Nov 2022 16:43:42 +0000 Subject: [PATCH 15/16] fix: make server public --- app/react-native-server/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index 70049149e2..dfd1d2ae80 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -1,7 +1,7 @@ { "name": "@storybook/react-native-server", "version": "6.0.1-beta.10", - "private": "true", + "private": "false", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", From 189ad915898958b4bc00da6875f7bcfd909165c4 Mon Sep 17 00:00:00 2001 From: Danny Date: Fri, 2 Dec 2022 09:25:50 +0000 Subject: [PATCH 16/16] fix: use 6.5.14 --- addons/ondevice-actions/package.json | 8 +- addons/ondevice-backgrounds/package.json | 6 +- addons/ondevice-controls/package.json | 10 +- addons/ondevice-notes/package.json | 10 +- app/react-native-server/package.json | 12 +- app/react-native/package.json | 16 +- examples/native/.storybook/Storybook.tsx | 10 +- examples/native/package.json | 12 +- yarn.lock | 636 +++++++++++------------ 9 files changed, 363 insertions(+), 357 deletions(-) diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index aa38c6ca00..7d6b692f8c 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -26,15 +26,15 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.5.14-alpha.1", - "@storybook/core-events": "6.5.14-alpha.1", + "@storybook/addons": "^6.5.14", + "@storybook/core-events": "^6.5.14", "fast-deep-equal": "^2.0.1" }, "devDependencies": { - "@storybook/addon-actions": "6.5.14-alpha.1" + "@storybook/addon-actions": "^6.5.14" }, "peerDependencies": { - "@storybook/addon-actions": "6.5.14-alpha.1", + "@storybook/addon-actions": "^6.5.14", "react": "*", "react-native": "*" }, diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index 081211a161..05367d64ec 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -31,9 +31,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.5.14-alpha.1", - "@storybook/api": "6.5.14-alpha.1", - "@storybook/client-api": "6.5.14-alpha.1", + "@storybook/addons": "^6.5.14", + "@storybook/api": "^6.5.14", + "@storybook/client-api": "^6.5.14", "core-js": "^3.0.1", "prop-types": "^15.7.2" }, diff --git a/addons/ondevice-controls/package.json b/addons/ondevice-controls/package.json index 8d281ea5bd..fb74b0b49a 100644 --- a/addons/ondevice-controls/package.json +++ b/addons/ondevice-controls/package.json @@ -30,9 +30,9 @@ }, "dependencies": { "@emotion/native": "^10.0.14", - "@storybook/addons": "6.5.14-alpha.1", - "@storybook/client-logger": "6.5.14-alpha.1", - "@storybook/core-events": "6.5.14-alpha.1", + "@storybook/addons": "^6.5.14", + "@storybook/client-logger": "^6.5.14", + "@storybook/core-events": "^6.5.14", "core-js": "^3.0.1", "deep-equal": "^1.0.1", "prop-types": "^15.7.2", @@ -41,13 +41,13 @@ "tinycolor2": "^1.4.1" }, "devDependencies": { - "@storybook/addon-controls": "6.5.14-alpha.1", + "@storybook/addon-controls": "^6.5.14", "@types/react-native": "^0.70.4" }, "peerDependencies": { "@react-native-community/datetimepicker": "*", "@react-native-community/slider": "*", - "@storybook/addon-controls": "6.5.14-alpha.1", + "@storybook/addon-controls": "^6.5.14", "react": "*", "react-native": "*" }, diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index 150743aa90..095ed77060 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -29,11 +29,11 @@ }, "dependencies": { "@emotion/core": "^10.0.20", - "@storybook/addons": "6.5.14-alpha.1", - "@storybook/api": "6.5.14-alpha.1", - "@storybook/client-api": "6.5.14-alpha.1", - "@storybook/client-logger": "6.5.14-alpha.1", - "@storybook/core-events": "6.5.14-alpha.1", + "@storybook/addons": "^6.5.14", + "@storybook/api": "^6.5.14", + "@storybook/client-api": "^6.5.14", + "@storybook/client-logger": "^6.5.14", + "@storybook/core-events": "^6.5.14", "core-js": "^3.0.1", "prop-types": "^15.7.2", "simple-markdown": "^0.7.3" diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index dfd1d2ae80..4268339ae2 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -32,12 +32,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "6.5.14-alpha.1", - "@storybook/api": "6.5.14-alpha.1", - "@storybook/channel-websocket": "6.5.14-alpha.1", - "@storybook/core": "6.5.14-alpha.1", - "@storybook/core-events": "6.5.14-alpha.1", - "@storybook/ui": "6.5.14-alpha.1", + "@storybook/addons": "^6.5.14", + "@storybook/api": "^6.5.14", + "@storybook/channel-websocket": "^6.5.14", + "@storybook/core": "^6.5.14", + "@storybook/core-events": "^6.5.14", + "@storybook/ui": "^6.5.14", "commander": "^8.2.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/react-native/package.json b/app/react-native/package.json index d1c6a24ed3..f08cd1f67c 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -49,15 +49,15 @@ "dependencies": { "@emotion/core": "^10.0.20", "@emotion/native": "^10.0.14", - "@storybook/addons": "6.5.14-alpha.1", - "@storybook/channel-websocket": "6.5.14-alpha.1", - "@storybook/channels": "6.5.14-alpha.1", - "@storybook/client-api": "6.5.14-alpha.1", - "@storybook/client-logger": "6.5.14-alpha.1", - "@storybook/core-client": "6.5.14-alpha.1", - "@storybook/core-events": "6.5.14-alpha.1", + "@storybook/addons": "^6.5.14", + "@storybook/channel-websocket": "^6.5.14", + "@storybook/channels": "^6.5.14", + "@storybook/client-api": "^6.5.14", + "@storybook/client-logger": "^6.5.14", + "@storybook/core-client": "^6.5.14", + "@storybook/core-events": "^6.5.14", "@storybook/csf": "0.0.2--canary.7c6c115.0", - "@storybook/preview-web": "6.5.14-alpha.1", + "@storybook/preview-web": "^6.5.14", "chokidar": "^3.5.1", "commander": "^8.2.0", "emotion-theming": "^10.0.19", diff --git a/examples/native/.storybook/Storybook.tsx b/examples/native/.storybook/Storybook.tsx index a9ede4096e..c347d17105 100644 --- a/examples/native/.storybook/Storybook.tsx +++ b/examples/native/.storybook/Storybook.tsx @@ -3,11 +3,17 @@ import { getStorybookUI } from '@storybook/react-native'; import './doctools'; import './storybook.requires'; +// import { SafeAreaView } from 'react-native'; const StorybookUIRoot = getStorybookUI({ // initialSelection: { kind: 'TextInput', name: 'Basic' }, shouldPersistSelection: true, - onDeviceUI: true, + // onDeviceUI: false, + // enableWebsockets: true, }); -export default () => ; +export default () => ( + // + + // +); diff --git a/examples/native/package.json b/examples/native/package.json index b88a77e0f7..7471e6dc0f 100644 --- a/examples/native/package.json +++ b/examples/native/package.json @@ -38,16 +38,16 @@ "@react-native-async-storage/async-storage": "^1.17.10", "@react-native-community/datetimepicker": "^6.5.0", "@react-native-community/slider": "^4.3.1", - "@storybook/addon-actions": "6.5.14-alpha.1", - "@storybook/addon-essentials": "6.5.14-alpha.1", - "@storybook/addon-links": "6.5.14-alpha.1", + "@storybook/addon-actions": "^6.5.14", + "@storybook/addon-essentials": "^6.5.14", + "@storybook/addon-links": "^6.5.14", "@storybook/addon-ondevice-actions": "^6.0.1-beta.10", "@storybook/addon-ondevice-backgrounds": "^6.0.1-beta.10", "@storybook/addon-ondevice-controls": "^6.0.1-beta.10", "@storybook/addon-ondevice-notes": "^6.0.1-beta.10", - "@storybook/addons": "6.5.14-alpha.1", - "@storybook/docs-tools": "6.5.14-alpha.1", - "@storybook/react": "6.5.14-alpha.1", + "@storybook/addons": "^6.5.14", + "@storybook/docs-tools": "^6.5.14", + "@storybook/react": "^6.5.14", "@storybook/react-native": "^6.0.1-beta.10", "@storybook/react-native-server": "^6.0.1-beta.10", "react": "^18.2.0", diff --git a/yarn.lock b/yarn.lock index 23a5bae6de..54ba42393b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3244,18 +3244,18 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@storybook/addon-actions@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.5.14-alpha.1.tgz#aa070cb390e977d0292c8d35cd775eef5df4f1b0" - integrity sha512-O1o6k2qPQ+D3TKASRHzkocarjrxEatOlYzgZQeNfjlI7ozv/xmlwkWOYjV/CRCU1aKy2xysenCIhC18oIZnQFQ== - dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" +"@storybook/addon-actions@6.5.14", "@storybook/addon-actions@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.5.14.tgz#29dd6a27e4b373513190ffd8bc89c7a89a7e071c" + integrity sha512-fZt8bn+oCsVDv9yuZfKL4lq77V5EqW60khHpOxLRRK69hMsE+gaylK0O5l/pelVf3Jf3+TablUG+2xWTaJHGlQ== + dependencies: + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/theming" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14" core-js "^3.8.2" fast-deep-equal "^3.1.3" global "^4.4.0" @@ -3269,18 +3269,18 @@ util-deprecate "^1.0.2" uuid-browser "^3.1.0" -"@storybook/addon-backgrounds@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.5.14-alpha.1.tgz#b72c2a2082b4ec7152fca5d4f9288fbd0e8f3e24" - integrity sha512-y7nf4yF9zU9fGfmw9C/nXIVjGVtE6vWhbfcy1l9Kai2MYS5r5vPC2pAFa2nbfMSn8I1xc0xtG3xwV2Zoexc7Tg== +"@storybook/addon-backgrounds@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-6.5.14.tgz#de34ae41d2700d05acff2929b6b421ee78be417a" + integrity sha512-DZY8oizDTiNLsknyrCyjf6OirwyfrXB4+UCXKXT7Xp+S5PHsdHwBZUADgM6yIwLUjDXzcsL7Ok00C1zI9qERdg== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/theming" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14" core-js "^3.8.2" global "^4.4.0" memoizerific "^1.11.3" @@ -3288,47 +3288,47 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/addon-controls@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.5.14-alpha.1.tgz#399ce2c23504a6da9db6972968991072175573d7" - integrity sha512-mLZxcgYfY2/mhcPkjZRkNCH+F+cUEZIbqe4apTmAek5HbgVuh9gCKsXH035p9hLSF64iK/KQ3T0PQad1OmCA3A== +"@storybook/addon-controls@6.5.14", "@storybook/addon-controls@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-6.5.14.tgz#c3ad5f716a43032cb982f7b863d5a453ba73c788" + integrity sha512-p16k/69GjwVtnpEiz0fmb1qoqp/H2d5aaSGDt7VleeXsdhs4Kh0kJyxfLpekHmlzT+5IkO08Nm/U8tJOHbw4Hw== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/core-common" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/core-common" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/node-logger" "6.5.14-alpha.1" - "@storybook/store" "6.5.14-alpha.1" - "@storybook/theming" "6.5.14-alpha.1" + "@storybook/node-logger" "6.5.14" + "@storybook/store" "6.5.14" + "@storybook/theming" "6.5.14" core-js "^3.8.2" lodash "^4.17.21" ts-dedent "^2.0.0" -"@storybook/addon-docs@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.5.14-alpha.1.tgz#b47adeb3bacc06eaf9f0d1d976539122a5353678" - integrity sha512-zEWA4lEFNX7d60BOhQb4gG42b2St4/sbu2YPnOsQSVzsdVblDKPDxR4zXrM8qbBf9fr5avycZ1Q5++gHOCEW5g== +"@storybook/addon-docs@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.5.14.tgz#5df8bd132890828320cfb5b4769f098142e57a4c" + integrity sha512-gapuzDY+dqgS4/Ap9zj5L76OSExBYtVNYej9xTiF+v0Gh4/kty9FIGlVWiqskffOmixL4nlyImpfsSH8V0JnCw== dependencies: "@babel/plugin-transform-react-jsx" "^7.12.12" "@babel/preset-env" "^7.12.11" "@jest/transform" "^26.6.2" "@mdx-js/react" "^1.6.22" - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/core-common" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/core-common" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/docs-tools" "6.5.14-alpha.1" + "@storybook/docs-tools" "6.5.14" "@storybook/mdx1-csf" "^0.0.1" - "@storybook/node-logger" "6.5.14-alpha.1" - "@storybook/postinstall" "6.5.14-alpha.1" - "@storybook/preview-web" "6.5.14-alpha.1" - "@storybook/source-loader" "6.5.14-alpha.1" - "@storybook/store" "6.5.14-alpha.1" - "@storybook/theming" "6.5.14-alpha.1" + "@storybook/node-logger" "6.5.14" + "@storybook/postinstall" "6.5.14" + "@storybook/preview-web" "6.5.14" + "@storybook/source-loader" "6.5.14" + "@storybook/store" "6.5.14" + "@storybook/theming" "6.5.14" babel-loader "^8.0.0" core-js "^3.8.2" fast-deep-equal "^3.1.3" @@ -3340,37 +3340,37 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/addon-essentials@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.5.14-alpha.1.tgz#a951d2efcc16323ca727e22806617f0b433d40f2" - integrity sha512-3e/qOeVR6PONgDsftLNB/PeX2mHm0hr9oU7dHyZs3s3XZvya3g0DwoZQaGwAXkc9PUMrGY0vIQeXdr/NUCbgmw== - dependencies: - "@storybook/addon-actions" "6.5.14-alpha.1" - "@storybook/addon-backgrounds" "6.5.14-alpha.1" - "@storybook/addon-controls" "6.5.14-alpha.1" - "@storybook/addon-docs" "6.5.14-alpha.1" - "@storybook/addon-measure" "6.5.14-alpha.1" - "@storybook/addon-outline" "6.5.14-alpha.1" - "@storybook/addon-toolbars" "6.5.14-alpha.1" - "@storybook/addon-viewport" "6.5.14-alpha.1" - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/core-common" "6.5.14-alpha.1" - "@storybook/node-logger" "6.5.14-alpha.1" +"@storybook/addon-essentials@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.5.14.tgz#f0fb5738878e62d58dc9ce0e9305aa7b4488ff8c" + integrity sha512-6fmfDHbp1y/hF0GU0W95RLw4rzN3KGcEcpAZ8HbgTyXIF528j0hhlvkD5AjnQ5dVarlHdKAtMRZA9Y3OCEZD6A== + dependencies: + "@storybook/addon-actions" "6.5.14" + "@storybook/addon-backgrounds" "6.5.14" + "@storybook/addon-controls" "6.5.14" + "@storybook/addon-docs" "6.5.14" + "@storybook/addon-measure" "6.5.14" + "@storybook/addon-outline" "6.5.14" + "@storybook/addon-toolbars" "6.5.14" + "@storybook/addon-viewport" "6.5.14" + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/core-common" "6.5.14" + "@storybook/node-logger" "6.5.14" core-js "^3.8.2" regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-links@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.5.14-alpha.1.tgz#888e30e241c212cb468049f2e19a6ba49e6d0ab2" - integrity sha512-VP66X5w3kJuhT8vl5jJtIP+e0kJazJehUFKHjGCV+/SW6Uy2xdk2IxEge1GKDZxFym9s7BUx6Ba5HA5Z+epjIw== +"@storybook/addon-links@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.5.14.tgz#cf2fd95394d1c344391470d9937db7e127b6d754" + integrity sha512-Q4gNVFi3PqJH/YYmYJ6xX7a2VPZYs8QV97fMIjdg7/k4FLelSRj7QfsHc7jO2RGG2qQpenapO569jFoVNAW4/Q== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/router" "6.5.14-alpha.1" + "@storybook/router" "6.5.14" "@types/qs" "^6.9.5" core-js "^3.8.2" global "^4.4.0" @@ -3379,95 +3379,95 @@ regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-measure@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-6.5.14-alpha.1.tgz#ed5e091346a72cf303454cd4f37247297e7d3b57" - integrity sha512-NfGErLoZeOn5HatGln9lR6tJITlTXh1dUA0bj7AsHVa/mWbGRl1O2QZsV01F+0jg/MP7zJyJhm6VQcCwNkqaLg== +"@storybook/addon-measure@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-6.5.14.tgz#3dc5989dd540d23992eadc35e91e6d3a5122c97e" + integrity sha512-7JH35z7NRaNiOMYIG+tJQrQdV2fdURUK94g9x58rNBT4GCtXTclFvhWiwKHHT2CnM8xdYuKGMt3DY9U0urq3Gg== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" core-js "^3.8.2" global "^4.4.0" -"@storybook/addon-outline@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-6.5.14-alpha.1.tgz#617850d5a5b04789421780ced4cfb069345cfe5f" - integrity sha512-9SyG9HQXlwUU3KPlVMO4Xi6FAiUeg0Ew2hedPdP685llRkICTWkpn7qIVv+Jp2jwm0PD99XMPgYd1MP97Iv6iw== +"@storybook/addon-outline@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-6.5.14.tgz#b14fe67e90efc2757f406f01841f63686b8f3c41" + integrity sha512-eXkkRmSxfPIcztfcLxGO1Cj61Ohx4qKuYSjNh25CRc+HYbBjQkWyxOXZP+x4Ritx4IuQsgWiCJJO3/zdgXLRgw== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" core-js "^3.8.2" global "^4.4.0" regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" -"@storybook/addon-toolbars@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.5.14-alpha.1.tgz#59631722dbf3a6f457487511fa80b87fff9cbdbc" - integrity sha512-/f77jDFRWwiWxFLfjg70P1mhogQl5qHeTTW1I6anYsQMMe/7a23wPel7CvNoDSTMFQc4StHM9OSCyibyICT4Sg== +"@storybook/addon-toolbars@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-6.5.14.tgz#200bb8cfc771bb8d14c61d7810b02765a473458e" + integrity sha512-BZGQ9YadVRtSd5mpmrwnJta0wK1leX/vgziJX4gUKX2A5JX7VWsiswUGVukLVtE9Oa1jp3fJXE3O5Ip9moj0Ag== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/theming" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/theming" "6.5.14" core-js "^3.8.2" regenerator-runtime "^0.13.7" -"@storybook/addon-viewport@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.5.14-alpha.1.tgz#95f9c30a42cdc00e7b7fa49a2278def094e13896" - integrity sha512-YgmohIlH2KtQY7BDmhe/3MKmQfGWUKq7AXpDK5w7YM72yrLHwiNzLNJzAsg75w15tJSNBFIEKqotz15X1flJ6g== - dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" - "@storybook/theming" "6.5.14-alpha.1" +"@storybook/addon-viewport@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-6.5.14.tgz#992cc3a61cd231a6c5cdb76c9c206aad8d1ffdfb" + integrity sha512-QtcQZe5ahWcMr4oRgfjeCIJtweTitArc8x1cDfS8maEEy965JJGjrR9xBIOLaw6IEiRtBuvrewYAWbRLLsUE+g== + dependencies: + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/core-events" "6.5.14" + "@storybook/theming" "6.5.14" 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.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.5.14-alpha.1.tgz#d27a40c179098143f06b9bea67fa466e95bc7cde" - integrity sha512-3jgjMb8zPhbEARvwF7GAPecgG6tigl/BeDSQYNbIPAb82sZwaOoHITqI3pzrUriBmz5Gh3LDzEvfpJ2Bgld9Xg== +"@storybook/addons@6.5.14", "@storybook/addons@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.5.14.tgz#855ddd85533ffa596b7684f3df7b91b833fdf3f7" + integrity sha512-8wVy1eDKipj+dmWpVmmPa1p2jYVqDvrkWll4IsP/KU7AYFCiyCiVAd1ZPDv9EhDnwArfYYjrdJjAl6gmP0UMag== dependencies: - "@storybook/api" "6.5.14-alpha.1" - "@storybook/channels" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/api" "6.5.14" + "@storybook/channels" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/router" "6.5.14-alpha.1" - "@storybook/theming" "6.5.14-alpha.1" + "@storybook/router" "6.5.14" + "@storybook/theming" "6.5.14" "@types/webpack-env" "^1.16.0" core-js "^3.8.2" global "^4.4.0" regenerator-runtime "^0.13.7" -"@storybook/api@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.5.14-alpha.1.tgz#a96037237b1234fff84019755e8ca61607a9b76a" - integrity sha512-+h9m/Dwro6YmJG24f0t1d6RZ/ytn7QOh9gitqE+JPOd2VZNoHCeUMqYD8XqBZXZN3odkWrn+Moh7Wb0TSBVcgQ== +"@storybook/api@6.5.14", "@storybook/api@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.5.14.tgz#e0caaee2d8634857ac428acc93db62aba744c1c1" + integrity sha512-RpgEWV4mxD1mNsGWkjSNq3+B/LFNIhXZc4OapEEK5u0jgCZKB7OCsRL9NJZB5WfpyN+vx8SwbUTgo8DIkes3qw== dependencies: - "@storybook/channels" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/channels" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/router" "6.5.14-alpha.1" + "@storybook/router" "6.5.14" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14" core-js "^3.8.2" fast-deep-equal "^3.1.3" global "^4.4.0" @@ -3479,28 +3479,28 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/builder-webpack4@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/builder-webpack4/-/builder-webpack4-6.5.14-alpha.1.tgz#cb051ac363c61245cb0967703692445b5f03ad67" - integrity sha512-lJJ/KsgihZr3Oum5R/IPy0vgZzd7oyyEpIA2pt6IJUzDhiJy/PHeYQEUWyhzysD90PQYq7gVhvTAvxkYH4V+SA== +"@storybook/builder-webpack4@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/builder-webpack4/-/builder-webpack4-6.5.14.tgz#ff9e1f7b08c112462596ca9a30ce935669147894" + integrity sha512-0pv8BlsMeiP9VYU2CbCZaa3yXDt1ssb8OeTRDbFC0uFFb3eqslsH68I7XsC8ap/dr0RZR0Edtw0OW3HhkjUXXw== dependencies: "@babel/core" "^7.12.10" - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/channel-postmessage" "6.5.14-alpha.1" - "@storybook/channels" "6.5.14-alpha.1" - "@storybook/client-api" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/core-common" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" - "@storybook/node-logger" "6.5.14-alpha.1" - "@storybook/preview-web" "6.5.14-alpha.1" - "@storybook/router" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/channel-postmessage" "6.5.14" + "@storybook/channels" "6.5.14" + "@storybook/client-api" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/core-common" "6.5.14" + "@storybook/core-events" "6.5.14" + "@storybook/node-logger" "6.5.14" + "@storybook/preview-web" "6.5.14" + "@storybook/router" "6.5.14" "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.14-alpha.1" - "@storybook/theming" "6.5.14-alpha.1" - "@storybook/ui" "6.5.14-alpha.1" + "@storybook/store" "6.5.14" + "@storybook/theming" "6.5.14" + "@storybook/ui" "6.5.14" "@types/node" "^14.0.10 || ^16.0.0" "@types/webpack" "^4.41.26" autoprefixer "^9.8.6" @@ -3532,51 +3532,51 @@ webpack-hot-middleware "^2.25.1" webpack-virtual-modules "^0.2.2" -"@storybook/channel-postmessage@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.5.14-alpha.1.tgz#bdd51108761f6e79fa43de47557808475df05e1e" - integrity sha512-TsoM3HCv9uV3FMZKhIxTWqbTfppE3ONlWTew0OJuSYM4dhcOIDRdp7MGAZ/7Htsz2+N9kIqtX0ZxmNX+siOOzg== +"@storybook/channel-postmessage@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.5.14.tgz#17d6071b3563819092ef3e18f8ca7946c2532823" + integrity sha512-0Cmdze5G3Qwxf7yYPGlJxGiY+KiEUQ+8GfpohsKGfvrP8cfSrx6VhxupHA7hDNyRh75hqZq5BrkW4HO9Ypbt5A== dependencies: - "@storybook/channels" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/channels" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/core-events" "6.5.14" core-js "^3.8.2" global "^4.4.0" qs "^6.10.0" telejson "^6.0.8" -"@storybook/channel-websocket@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-6.5.14-alpha.1.tgz#059da9da079a052818465f0dea13cf05e3ee08ae" - integrity sha512-Rwan3UzzcEfCy2kPracu7QG0Hm2d2r1bBkzleZXpA9sRDhNsjDIUQWu+LvZcAa4J78hkl93z9j7Iik1gY77IKQ== +"@storybook/channel-websocket@6.5.14", "@storybook/channel-websocket@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-6.5.14.tgz#8b24fcf61a32623f2d03c6f3f962fc24855cff6e" + integrity sha512-ZyDL5PBFWuFQ15NBljhbOaD/3FAijXvLj5oxfNris2khdkqlP6/8JmcIvfohJJcqepGZHUF9H29OaUsRC35ftA== dependencies: - "@storybook/channels" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/channels" "6.5.14" + "@storybook/client-logger" "6.5.14" core-js "^3.8.2" global "^4.4.0" telejson "^6.0.8" -"@storybook/channels@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.5.14-alpha.1.tgz#96a1d37cdffbeefa09b6d125f821ca0642abc40f" - integrity sha512-KmC6170DZpqC69tmZnK7lBUNJ+pyBtI4ZucAjsrCZFYjYP+bV82mFSHVl/0I04U/r1iAWvOb1CYSXUFB1zkqkA== +"@storybook/channels@6.5.14", "@storybook/channels@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.5.14.tgz#dcb73496a771dafb77a9e25dce2ba1adaa352df9" + integrity sha512-hHpr4Sya6fuEDhy7vnfD2QnL5wy1CaAK9BC0FLupndXnQyKJtygfIaUP4a0B2KntuNPbzPhclb2Hb4yM7CExmQ== dependencies: core-js "^3.8.2" ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-api@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.5.14-alpha.1.tgz#f7e21f980b75671811fe3bb708c95c5b9ea2357c" - integrity sha512-3S1D7AjPOi54kAW4gApyKHyq+1OjWBPkJFJP/WTfnJ3Kbq6YJoi/pC2Xnxuv2MoLZVaxkzZhZ/tF48HAK2HkUw== +"@storybook/client-api@6.5.14", "@storybook/client-api@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.5.14.tgz#57a660810165126cdf3380cd04bf6c5f027eab5c" + integrity sha512-G5mBQCKn8/VqE9XDCL19ixcvu8YhaQZ0AE+EXGYXUsvPpyQ43oGoGJry5IqOzeRlc7dbglFWpMkB6PeeUD7aCw== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/channel-postmessage" "6.5.14-alpha.1" - "@storybook/channels" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/channel-postmessage" "6.5.14" + "@storybook/channels" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/store" "6.5.14-alpha.1" + "@storybook/store" "6.5.14" "@types/qs" "^6.9.5" "@types/webpack-env" "^1.16.0" core-js "^3.8.2" @@ -3591,43 +3591,43 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-logger@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.5.14-alpha.1.tgz#80b7552e94abb199630bd72b3930f73ae7dfc966" - integrity sha512-bGjgfDOdycR5MQMtKS1AHSC5GEJHvl/+y55R29xbKqLDZNIE/12N3cu1TnI0LKs/qejTtxoZopJrhv+ncJYYlw== +"@storybook/client-logger@6.5.14", "@storybook/client-logger@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.5.14.tgz#ec178f31e70969ae22399ce4207c05e4f1d480a8" + integrity sha512-r1pY69DGKzX9/GngkudthaaPxPlka16zjG7Y58psunwcoUuH3riAP1cjqhXt5+S8FKCNI/MGb82PLlCPX2Liuw== dependencies: core-js "^3.8.2" global "^4.4.0" -"@storybook/components@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.5.14-alpha.1.tgz#1af56a474d9b88a05b4014a315e54477406eb416" - integrity sha512-qKJBjgV2W+E+duDLJqw3vWLfMsTMbkf6ZmZPLG9CeYFphs97G14rEn0wm9WAzEUErQQVstYnGtvzqmJnx4kFYA== +"@storybook/components@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.5.14.tgz#e4d35b689674a16d88d0d16f50319865387497dd" + integrity sha512-wqB9CF3sjxtgffnDW1G/W5SsKumsFQ0ftn/3PdrsvKULu5LM5bjNEqC2cTCWrk9vQhj+EVQxzdVM/BlPl/lSwg== dependencies: - "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/theming" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14" core-js "^3.8.2" memoizerific "^1.11.3" qs "^6.10.0" regenerator-runtime "^0.13.7" util-deprecate "^1.0.2" -"@storybook/core-client@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-6.5.14-alpha.1.tgz#02ba996f1ab54ae9ff5cda60041cf95fc09d53a0" - integrity sha512-RlXWn0k+GjrJ1CV7bpM53vS8EmG3PQyZlpWKVLYF3n6aOhjrs2eDwn7iAMpw5cVXnfL38k/WTwaUONafx3FL8Q== - dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/channel-postmessage" "6.5.14-alpha.1" - "@storybook/channel-websocket" "6.5.14-alpha.1" - "@storybook/client-api" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" +"@storybook/core-client@6.5.14", "@storybook/core-client@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-6.5.14.tgz#ff8bd155750ca4644dba7e8ac53ed3ad1c414bda" + integrity sha512-d5mUgz1xSvrAdal8XKI5YOZOM/XUly90vis3DboeZRO58qSp+NH5xFYIBBED5qefDgmGU0Yv4rXHQlph96LSHQ== + dependencies: + "@storybook/addons" "6.5.14" + "@storybook/channel-postmessage" "6.5.14" + "@storybook/channel-websocket" "6.5.14" + "@storybook/client-api" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/preview-web" "6.5.14-alpha.1" - "@storybook/store" "6.5.14-alpha.1" - "@storybook/ui" "6.5.14-alpha.1" + "@storybook/preview-web" "6.5.14" + "@storybook/store" "6.5.14" + "@storybook/ui" "6.5.14" airbnb-js-shims "^2.2.1" ansi-to-html "^0.6.11" core-js "^3.8.2" @@ -3639,10 +3639,10 @@ unfetch "^4.2.0" util-deprecate "^1.0.2" -"@storybook/core-common@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-6.5.14-alpha.1.tgz#b4198d01118294bc43bd564bc1e051abe3c00b34" - integrity sha512-QC2/hEKgj87sb7//zWdElXfh/REw1x6LiL59QEdrzEH+FUnl1V6PJhotoit8vKPQdN8dCO044EKOVqasC9oRtg== +"@storybook/core-common@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-6.5.14.tgz#162f321d0c3011ece84b324f584c641c474e20d9" + integrity sha512-MrxhYXYrtN6z/+tydjPkCIwDQm5q8Jx+w4TPdLKBZu7vzfp6T3sT12Ym96j9MJ42CvE4vSDl/Njbw6C0D+yEVw== dependencies: "@babel/core" "^7.12.10" "@babel/plugin-proposal-class-properties" "^7.12.1" @@ -3666,7 +3666,7 @@ "@babel/preset-react" "^7.12.10" "@babel/preset-typescript" "^7.12.7" "@babel/register" "^7.12.1" - "@storybook/node-logger" "6.5.14-alpha.1" + "@storybook/node-logger" "6.5.14" "@storybook/semver" "^7.3.2" "@types/node" "^14.0.10 || ^16.0.0" "@types/pretty-hrtime" "^1.0.0" @@ -3695,30 +3695,30 @@ util-deprecate "^1.0.2" webpack "4" -"@storybook/core-events@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.5.14-alpha.1.tgz#e5148ae2b160f2ef2341f011ddc618516ca83067" - integrity sha512-kc43GrlODGhJzckoskDglvECY3uTRMwWDqTw93ny0fadsJi6VNpuSTSTUpb+rCpxzFcBbrCH/nC1kFU8ybKXRA== +"@storybook/core-events@6.5.14", "@storybook/core-events@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.5.14.tgz#5b4f94d336cd14f0e8e213a0f3cf9a098c45d1dc" + integrity sha512-PLu0M8Mqt9ruN5RupgcFKHEybiSm3CdWQyylWO5FRGg+WZV3BCm0aI8ujvO1GAm+YEi57Lull+M9d6NUycTpRg== dependencies: core-js "^3.8.2" -"@storybook/core-server@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-6.5.14-alpha.1.tgz#d90c02678c0e577b73770bf435f4e8825009a6c9" - integrity sha512-x6Dfog5eGWnPlWYBb3UURSpSA6kDKFRbYNhZFaRCztDa8uTJk5vRtY7+sJ00+ES7GN46KqYT435e3n15nMO/bw== +"@storybook/core-server@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-6.5.14.tgz#ba9ca39b41879aa657c524e3c0ac4c7b1abe9bbd" + integrity sha512-+Z3lHEsDpiBXt6xBwU5AVBoEkicndnHoiLwhEGPkfixy7POYEEny3cm54tteVxV8O5AHMwsHs54/QD+hHxAXnQ== dependencies: "@discoveryjs/json-ext" "^0.5.3" - "@storybook/builder-webpack4" "6.5.14-alpha.1" - "@storybook/core-client" "6.5.14-alpha.1" - "@storybook/core-common" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/builder-webpack4" "6.5.14" + "@storybook/core-client" "6.5.14" + "@storybook/core-common" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/csf-tools" "6.5.14-alpha.1" - "@storybook/manager-webpack4" "6.5.14-alpha.1" - "@storybook/node-logger" "6.5.14-alpha.1" + "@storybook/csf-tools" "6.5.14" + "@storybook/manager-webpack4" "6.5.14" + "@storybook/node-logger" "6.5.14" "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.14-alpha.1" - "@storybook/telemetry" "6.5.14-alpha.1" + "@storybook/store" "6.5.14" + "@storybook/telemetry" "6.5.14" "@types/node" "^14.0.10 || ^16.0.0" "@types/node-fetch" "^2.5.7" "@types/pretty-hrtime" "^1.0.0" @@ -3753,18 +3753,18 @@ ws "^8.2.3" x-default-browser "^0.4.0" -"@storybook/core@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.5.14-alpha.1.tgz#c595783820e3d0fbfc0ef91e808b0096ca24fb4b" - integrity sha512-QVESDt9/J3uiGPabEGbpXpKrU8SHUH0uGjcyZX+g0XrxKiVoH836CYbVFFMt9Zsl2f2PQ5bCCt56kWYgtDai4A== +"@storybook/core@6.5.14", "@storybook/core@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.5.14.tgz#8fa21c7539e2ffe8f9601d9542b0e627f7f9a349" + integrity sha512-5rjwZXk++NkKWCmHt/CC+h2L4ZbOYkLJpMmaB97CwgQCA6kaF8xuJqlAwG72VUH3oV+6RntW02X6/ypgX1atPw== dependencies: - "@storybook/core-client" "6.5.14-alpha.1" - "@storybook/core-server" "6.5.14-alpha.1" + "@storybook/core-client" "6.5.14" + "@storybook/core-server" "6.5.14" -"@storybook/csf-tools@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-6.5.14-alpha.1.tgz#90f45d0782cb0d423fd012929ea8c409ce5ee5e3" - integrity sha512-9qOmMuzu4bJ7Rkgwp12Q68DDxd7FQZqon1Bb9vBp4YD6jUFBTlmFsYDbr898FqKglwE6IFWcFANwAy7czrPHQw== +"@storybook/csf-tools@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-6.5.14.tgz#fe36c8570c1f9e27aa4536f09a729a61598a1255" + integrity sha512-PgCKgyfD6UD9aNilDxmKJRbCZwcZl8t8Orb6+vVGuzB5f0BV92NqnHS4sgAlFoZ+iqcQGUEU9vRIdUxNcyItaw== dependencies: "@babel/core" "^7.12.10" "@babel/generator" "^7.12.11" @@ -3795,14 +3795,14 @@ dependencies: lodash "^4.17.15" -"@storybook/docs-tools@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-6.5.14-alpha.1.tgz#d765cebb15464db376f86794e430e0e75ee5b9fe" - integrity sha512-MgpbMX5OP10M5Vr+7+gEuRedD28gKTTplwA+bhWss7YfBqbAy0avM5G2lMJBTbAl/bvSywDapRGWnuxrMsH8VQ== +"@storybook/docs-tools@6.5.14", "@storybook/docs-tools@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-6.5.14.tgz#68d9c156cdc80a906570807f1d116be103032656" + integrity sha512-qA0UWvrZ7XyIWD+01NGHiiGPSbfercrxjphM9wHgF6KrO6e5iykNKIEL4elsM+EV4szfhlalQdtpnwM7WtXODA== dependencies: "@babel/core" "^7.12.10" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/store" "6.5.14-alpha.1" + "@storybook/store" "6.5.14" core-js "^3.8.2" doctrine "^3.0.0" lodash "^4.17.21" @@ -3831,20 +3831,20 @@ remark-lint "^8.0.0" remark-preset-lint-recommended "^5.0.0" -"@storybook/manager-webpack4@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/manager-webpack4/-/manager-webpack4-6.5.14-alpha.1.tgz#3031545984edbdcff8c4fccd40a751b624c74ae4" - integrity sha512-ACaEpHUQiUrm1dg0vFlxmO035sXyJcqMJahDXBcKhPaTEe7vfBFnaeUD6kUqHBxiSBcCwCa6kY34iG4xINUmcA== +"@storybook/manager-webpack4@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/manager-webpack4/-/manager-webpack4-6.5.14.tgz#92cd3d34b9e28d7edd215b1e79b1f0757fb66eba" + integrity sha512-ixfJuaG0eiOlxn4i+LJNRUZkm+3WMsiaGUm0hw2XHF0pW3cBIA/+HyzkEwVh/fROHbsOERTkjNl0Ygl12Imw9w== dependencies: "@babel/core" "^7.12.10" "@babel/plugin-transform-template-literals" "^7.12.1" "@babel/preset-react" "^7.12.10" - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/core-client" "6.5.14-alpha.1" - "@storybook/core-common" "6.5.14-alpha.1" - "@storybook/node-logger" "6.5.14-alpha.1" - "@storybook/theming" "6.5.14-alpha.1" - "@storybook/ui" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/core-client" "6.5.14" + "@storybook/core-common" "6.5.14" + "@storybook/node-logger" "6.5.14" + "@storybook/theming" "6.5.14" + "@storybook/ui" "6.5.14" "@types/node" "^14.0.10 || ^16.0.0" "@types/webpack" "^4.41.26" babel-loader "^8.0.0" @@ -3889,10 +3889,10 @@ prettier ">=2.2.1 <=2.3.0" ts-dedent "^2.0.0" -"@storybook/node-logger@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.5.14-alpha.1.tgz#74cb7d6aa1139a0abbae2f7306952b40d1bf4534" - integrity sha512-2wFBDLOy2UfjU5SUyEtuq/wBpE9g3g4ECwC1VjtUx3AOQZk2fnea96UnyJs3sEdX51Aepg5egvp3mQ5JoUm/rg== +"@storybook/node-logger@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.5.14.tgz#5d85c475c0afd4124f86fae559bcb35db92f35b2" + integrity sha512-MbEEgUEfrDN8Y0vzZJqPcxwWvX0l8zAsXy6d/DORP2AmwuNmnWTy++BE9YhxH6HMdM1ivRDmBbT30+KBUWhnUA== dependencies: "@types/npmlog" "^4.1.2" chalk "^4.1.0" @@ -3900,24 +3900,24 @@ npmlog "^5.0.1" pretty-hrtime "^1.0.3" -"@storybook/postinstall@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.5.14-alpha.1.tgz#b5edf48ccc59f22079057362df24102903b0174f" - integrity sha512-sZ+jFDbI6FfsVa1kKdpp99uZ/D1BTxe/+UmbtxLz31a8NcZv7Z1kDiPHanb7Y8N1UlSN6DWoDMzfLNvKVYqa5g== +"@storybook/postinstall@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-6.5.14.tgz#492d45008c39c4274dfc1a69ef5f31981e913f99" + integrity sha512-vtnQczSSkz7aPIc2dsDaZWlCDAcJb258KGXk72w7MEY9/zLlr6tdQLI30B6SkRNFnR8fQQf4H2gbFq/GM0EF5A== dependencies: core-js "^3.8.2" -"@storybook/preview-web@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-6.5.14-alpha.1.tgz#14c686afcbe2cbda6a6cc2b421fdc2831c731cb2" - integrity sha512-OVYI1TwzALJI+nD55mSUdJJz1sEYQVXB4e7ueZJdgVe7iNSqwH9LjCGOIPPmbnZcVylPjQ1HxcO27Rh2zKcgVg== +"@storybook/preview-web@6.5.14", "@storybook/preview-web@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-6.5.14.tgz#acfd5e3ba72a00405f9ad5925a9a7844b36602c4" + integrity sha512-ey2E7222xw0itPgCWH7ZIrdgM1yCdYte/QxRvwv/O4us4SUs/RQaL1aoCD+hCRwd0BNyZUk/u1KnqB4y0MnHww== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/channel-postmessage" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/channel-postmessage" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/store" "6.5.14-alpha.1" + "@storybook/store" "6.5.14" ansi-to-html "^0.6.11" core-js "^3.8.2" global "^4.4.0" @@ -3942,24 +3942,24 @@ react-docgen-typescript "^2.1.1" tslib "^2.0.0" -"@storybook/react@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.5.14-alpha.1.tgz#facb1abe04c9f0acc81ecbd3408107dc4399f194" - integrity sha512-yUMBMReOk/lXoABnnyOiCOjAinUECB9pt2QCbM1iuHgSR0hIplmc6wmpfZrkUQXMG/Yynu6l8tm0iUFqxDBHaw== +"@storybook/react@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.5.14.tgz#9e5a93958c410c3f9d21374e30f68ac2960a9c91" + integrity sha512-SL0P5czN3g/IZAYw8ur9I/O8MPZI7Lyd46Pw+B1f7+Ou8eLmhqa8Uc8+3fU6v7ohtUDwsBiTsg3TAfTVEPog4A== dependencies: "@babel/preset-flow" "^7.12.1" "@babel/preset-react" "^7.12.10" "@pmmmwh/react-refresh-webpack-plugin" "^0.5.3" - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core" "6.5.14-alpha.1" - "@storybook/core-common" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/core" "6.5.14" + "@storybook/core-common" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/docs-tools" "6.5.14-alpha.1" - "@storybook/node-logger" "6.5.14-alpha.1" + "@storybook/docs-tools" "6.5.14" + "@storybook/node-logger" "6.5.14" "@storybook/react-docgen-typescript-plugin" "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0" "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.14-alpha.1" + "@storybook/store" "6.5.14" "@types/estree" "^0.0.51" "@types/node" "^14.14.20 || ^16.0.0" "@types/webpack-env" "^1.16.0" @@ -3983,12 +3983,12 @@ util-deprecate "^1.0.2" webpack ">=4.43.0 <6.0.0" -"@storybook/router@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.5.14-alpha.1.tgz#910b34167454385c0051efa870861f9f879ba05b" - integrity sha512-8fvrObmdbq86mD93IBiI9S+RJiOBlVcU9odlFxDZYJnNvypCjqdrMyrCY6tN2VE86Fhb/d4B4TJ3TW9t81nbGg== +"@storybook/router@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.5.14.tgz#8cb959c8cfece2a948cd6a4e14ac0fa1cece3095" + integrity sha512-AvHbpRUAHnzm5pmwFPjDR09uPjQITD6kA0QNa2pe+7/Q/b4k40z5dHvHZJ/YhWhwVwGqGBG20KdDOl30wLXAZw== dependencies: - "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14" core-js "^3.8.2" memoizerific "^1.11.3" qs "^6.10.0" @@ -4002,13 +4002,13 @@ core-js "^3.6.5" find-up "^4.1.0" -"@storybook/source-loader@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.5.14-alpha.1.tgz#57d3966cdcf5f2808349e76d53cc2d0f57be8e3e" - integrity sha512-JeMGRo4YpSdIWEVHEgCwTLIhiRW7cy+oSTg30dnM2f8Z45T4IOfkYECO1hXlZFOLNz/kZdt8OJlHXB3SHdzBNw== +"@storybook/source-loader@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/source-loader/-/source-loader-6.5.14.tgz#cf4e78166a40edd7dd3df3563face750f70c29df" + integrity sha512-0GKMZ6IMVGxfQn/RYdRdnzxCe4+zZsxHBY9SQB2bbYWyfjJQ5rCJvmYQuMAuuuUmXBv9gk50iJLwai+lb4tbFg== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/client-logger" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" core-js "^3.8.2" estraverse "^5.2.0" @@ -4018,14 +4018,14 @@ prettier ">=2.2.1 <=2.3.0" regenerator-runtime "^0.13.7" -"@storybook/store@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/store/-/store-6.5.14-alpha.1.tgz#6666b4fa0fe44539f25445c45fd5a32093140428" - integrity sha512-m5I2nSDQs8EdugeTKgv5mJvYLm00/V6pDSCrk3YzCtSkOcPbvJr33+fDatGklHNOO65n+gXcnxCJiieBw+NY4A== +"@storybook/store@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/store/-/store-6.5.14.tgz#92b67aac8c6a55beff934e135937a1c6e1e77879" + integrity sha512-s07Vw4nbShPYwBJmVXzptuyCkrDQD3khcrKB5L7NsHHgWsm2QI0OyiPMuMbSvgipjcMc/oRqdL3tFUeFak9EMg== dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" + "@storybook/addons" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/core-events" "6.5.14" "@storybook/csf" "0.0.2--canary.4566f4d.1" core-js "^3.8.2" fast-deep-equal "^3.1.3" @@ -4039,13 +4039,13 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/telemetry@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-6.5.14-alpha.1.tgz#8842bf7637d853aa8065713e223601011501e185" - integrity sha512-6lKRWjR6tQUiQwXuXlwHNASaZGUUWu9mAnFF9SjO8HDVxe6jef0qQIt4VWc747yP/l/mcL0gXVkXUy36jaRCxQ== +"@storybook/telemetry@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-6.5.14.tgz#b2e8a99ed36fc97451a1f695792a79605b5f7746" + integrity sha512-AVSw7WyKHrVbXMSZZ0fvg3oAb8xAS7OrmNU6++yUfbuqpF0JNtNkNnRSaJ4Nh7Vujzloy5jYhbpfY44nb/hsCw== dependencies: - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/core-common" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14" + "@storybook/core-common" "6.5.14" chalk "^4.1.0" core-js "^3.8.2" detect-package-manager "^2.0.1" @@ -4057,30 +4057,30 @@ read-pkg-up "^7.0.1" regenerator-runtime "^0.13.7" -"@storybook/theming@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.5.14-alpha.1.tgz#5dde9f1c26d4bfb8f768bedd7b9cf3ba1dcccd82" - integrity sha512-9rAtaaB5R54hSAOHQMr9mSuKnNM/m4OS5O5lpjjawmujz44GUn3UdrOzqbcw5+ryy4qdbKKzetz3X1g9t9FBkA== +"@storybook/theming@6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.5.14.tgz#4cc7e568b9641112f35abe0606cc6925952cb647" + integrity sha512-3ff6RLZGaIil/AFJ0/BRlE2hhdPrC5v6wGbRfroZVmGldRCxio/7+KAA3LH6cuHnjK5MeBcCBaHuxzXqGmbEFw== dependencies: - "@storybook/client-logger" "6.5.14-alpha.1" + "@storybook/client-logger" "6.5.14" core-js "^3.8.2" memoizerific "^1.11.3" regenerator-runtime "^0.13.7" -"@storybook/ui@6.5.14-alpha.1": - version "6.5.14-alpha.1" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.5.14-alpha.1.tgz#671c9044da786eb6e434a9a8d68d3bf2a95d1f7c" - integrity sha512-elSQtjvyOFdH5rzBgaeXu+Pti+MB9R+c0llcfPN5Obp7ORT9bInojbL36cosMxfu5iynpefQ/VYfgVzp0WdwKQ== - dependencies: - "@storybook/addons" "6.5.14-alpha.1" - "@storybook/api" "6.5.14-alpha.1" - "@storybook/channels" "6.5.14-alpha.1" - "@storybook/client-logger" "6.5.14-alpha.1" - "@storybook/components" "6.5.14-alpha.1" - "@storybook/core-events" "6.5.14-alpha.1" - "@storybook/router" "6.5.14-alpha.1" +"@storybook/ui@6.5.14", "@storybook/ui@^6.5.14": + version "6.5.14" + resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.5.14.tgz#8c03a37917adc0060b077d3acb7f0064ace68083" + integrity sha512-dXlCIULh8ytgdFrvVoheQLlZjAyyYmGCuw+6m+s+2yF/oUbFREG/5Zo9hDwlJ4ZiAyqNLkuwg2tnMYtjapZSog== + dependencies: + "@storybook/addons" "6.5.14" + "@storybook/api" "6.5.14" + "@storybook/channels" "6.5.14" + "@storybook/client-logger" "6.5.14" + "@storybook/components" "6.5.14" + "@storybook/core-events" "6.5.14" + "@storybook/router" "6.5.14" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.5.14-alpha.1" + "@storybook/theming" "6.5.14" core-js "^3.8.2" memoizerific "^1.11.3" qs "^6.10.0"