From 637cb42a4c3c2409c99777800d71d2f95a7dabfb Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 21 Mar 2022 16:50:41 +1100 Subject: [PATCH 01/12] Added an `external-docs` example to show the basic use case --- examples/external-docs/.babelrc | 7 + examples/external-docs/.storybook/main.ts | 39 ++ examples/external-docs/.storybook/preview.js | 19 + examples/external-docs/README.md | 3 + examples/external-docs/package.json | 38 ++ examples/external-docs/public/favicon.ico | Bin 0 -> 22382 bytes examples/external-docs/public/index.html | 43 ++ examples/external-docs/public/logo192.png | Bin 0 -> 5223 bytes examples/external-docs/public/logo512.png | Bin 0 -> 14385 bytes examples/external-docs/public/manifest.json | 25 + examples/external-docs/public/robots.txt | 2 + .../external-docs/src/AccountForm.stories.tsx | 96 +++ examples/external-docs/src/AccountForm.tsx | 552 ++++++++++++++++++ examples/external-docs/src/StoriesPage.tsx | 18 + examples/external-docs/src/blocks.tsx | 150 +++++ examples/external-docs/src/button.stories.tsx | 42 ++ examples/external-docs/src/button.tsx | 14 + .../src/emoji-button.stories.tsx | 8 + examples/external-docs/src/emoji-button.tsx | 19 + examples/external-docs/src/index.tsx | 9 + examples/external-docs/src/react-app-env.d.ts | 1 + examples/external-docs/tsconfig.json | 28 + nx.json | 4 + workspace.json | 4 + yarn.lock | 26 + 25 files changed, 1147 insertions(+) create mode 100644 examples/external-docs/.babelrc create mode 100644 examples/external-docs/.storybook/main.ts create mode 100644 examples/external-docs/.storybook/preview.js create mode 100644 examples/external-docs/README.md create mode 100644 examples/external-docs/package.json create mode 100644 examples/external-docs/public/favicon.ico create mode 100644 examples/external-docs/public/index.html create mode 100644 examples/external-docs/public/logo192.png create mode 100644 examples/external-docs/public/logo512.png create mode 100644 examples/external-docs/public/manifest.json create mode 100644 examples/external-docs/public/robots.txt create mode 100644 examples/external-docs/src/AccountForm.stories.tsx create mode 100644 examples/external-docs/src/AccountForm.tsx create mode 100644 examples/external-docs/src/StoriesPage.tsx create mode 100644 examples/external-docs/src/blocks.tsx create mode 100644 examples/external-docs/src/button.stories.tsx create mode 100644 examples/external-docs/src/button.tsx create mode 100644 examples/external-docs/src/emoji-button.stories.tsx create mode 100644 examples/external-docs/src/emoji-button.tsx create mode 100644 examples/external-docs/src/index.tsx create mode 100644 examples/external-docs/src/react-app-env.d.ts create mode 100644 examples/external-docs/tsconfig.json diff --git a/examples/external-docs/.babelrc b/examples/external-docs/.babelrc new file mode 100644 index 00000000000..202d425a099 --- /dev/null +++ b/examples/external-docs/.babelrc @@ -0,0 +1,7 @@ +{ + "presets": [ + "@babel/preset-env", + "@babel/preset-react", + "@babel/preset-typescript" + ] +} diff --git a/examples/external-docs/.storybook/main.ts b/examples/external-docs/.storybook/main.ts new file mode 100644 index 00000000000..2e82165e7ce --- /dev/null +++ b/examples/external-docs/.storybook/main.ts @@ -0,0 +1,39 @@ +import type { StorybookConfig } from '@storybook/react/types'; + +const config: StorybookConfig = { + stories: [ + { + directory: '../src', + titlePrefix: 'Demo', + }, + ], + logLevel: 'debug', + addons: [ + '@storybook/addon-essentials', + '@storybook/addon-storysource', + '@storybook/addon-storyshots', + '@storybook/addon-a11y', + ], + typescript: { + check: true, + checkOptions: {}, + reactDocgenTypescriptOptions: { + propFilter: (prop) => ['label', 'disabled'].includes(prop.name), + }, + }, + core: { + builder: { name: 'webpack4' }, + channelOptions: { allowFunction: false, maxDepth: 10 }, + }, + features: { + postcss: false, + // modernInlineRender: true, + storyStoreV7: !global.navigator?.userAgent?.match?.('jsdom'), + buildStoriesJson: true, + babelModeV7: true, + warnOnLegacyHierarchySeparator: false, + previewMdx2: true, + }, + framework: '@storybook/react', +}; +module.exports = config; diff --git a/examples/external-docs/.storybook/preview.js b/examples/external-docs/.storybook/preview.js new file mode 100644 index 00000000000..b9afa3a266a --- /dev/null +++ b/examples/external-docs/.storybook/preview.js @@ -0,0 +1,19 @@ +import React from 'react'; + +export const parameters = { + options: { + // storySortV6: (a, b) => ( + // a[1].kind === b[1].kind + // ? 0 + // : a[1].id.localeCompare(b[1].id, undefined, { numeric: true }); + // ), + // storySortV7: (a, b) => ( + // a.title === b.title + // ? 0 + // : a.id.localeCompare(b.id, undefined, { numeric: true }); + // ), + storySort: { + order: ['Examples', 'Docs', 'Demo'], + }, + }, +}; diff --git a/examples/external-docs/README.md b/examples/external-docs/README.md new file mode 100644 index 00000000000..5fe025e663f --- /dev/null +++ b/examples/external-docs/README.md @@ -0,0 +1,3 @@ +# Storybook External Docs Example + +This example demostrates using Stories in an app built outside of SB's build process. diff --git a/examples/external-docs/package.json b/examples/external-docs/package.json new file mode 100644 index 00000000000..9b00ddde70e --- /dev/null +++ b/examples/external-docs/package.json @@ -0,0 +1,38 @@ +{ + "name": "@storybook/external-docs", + "version": "6.5.0-alpha.49", + "private": true, + "scripts": { + "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook", + "debug": "cross-env NODE_OPTIONS=--inspect-brk STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011", + "sb": "node ../../lib/cli/bin/index.js", + "start": "SKIP_PREFLIGHT_CHECK=true react-scripts start", + "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 --no-manager-cache" + }, + "dependencies": { + "@storybook/components": "6.5.0-alpha.49", + "@storybook/csf": "0.0.2--canary.87bc651.0", + "@storybook/preview-web": "6.5.0-alpha.49", + "@storybook/react": "6.5.0-alpha.49", + "@storybook/store": "6.5.0-alpha.49", + "@storybook/theming": "6.5.0-alpha.49", + "formik": "^2.2.9", + "prop-types": "15.7.2", + "react": "16.14.0", + "react-dom": "16.14.0", + "react-scripts": "^4.0.2" + }, + "devDependencies": { + "@babel/preset-env": "^7.12.11", + "@babel/preset-react": "^7.12.10", + "@babel/preset-typescript": "^7.12.7", + "@testing-library/dom": "^7.31.2", + "@testing-library/user-event": "^13.1.9", + "@types/babel__preset-env": "^7", + "@types/react": "^16.14.23", + "@types/react-dom": "^16.9.14", + "cross-env": "^7.0.3", + "typescript": "^3.9.7", + "webpack": "4" + } +} diff --git a/examples/external-docs/public/favicon.ico b/examples/external-docs/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..c2c86b859eaa20639adf92ff979c2be8d580433e GIT binary patch literal 22382 zcmeI4_m@>g631uH?hiA>Aq+VTNjPWS;EE`MGJt>?K?MV56hy>`7*J7EOc)R|k_>>b z$<4tHZVqnp59+N?_4~fpbLZao?tAP3ciB0o&waPMLU(m_RdsdWX>0pJ+ZWq9JKOBp z-M02iZEdsK+SiSaLvu*!^O)cRqLua3I8RFCx>l&hKB3cjSJ6zFeF@g z-Gs36nhD|g14F_Mw~Y%=?H(G=J$G{N{wBO{Tt6;cedBoNG3#s7!}dd+;l&R-!|7k2 z?sd?+X~WpweMtCUw|1QO6L~CO(H*wFH7q>-#;|bd%84$Yt8W_b{pcmH3V-;myMJ_e z^?QTD_Jf^a*T)0Gv+oY^^3E>?gclEYhS$D7D6D^IbhSS&1LJ?`6%)e?*4H)nj&a-v zo*xk|xwJc6v~*Iq@Zw4So4V}>I>XI(j&+#JubSv`IO~jQ;koyRgfqSo<-O^d5#Dcb z5C5wp9R6oVxbUJ$UU&bqBYf9Ok?o-)PVW>NbII z{e>4i;msH>yKE^q}`n)~3y(=tTZv8hr`oUPd|2D?8HpUlhP8hSs4`1eJ{ez=j zM$8%VduIO-FS|Y-=<-3f$QW5y^|c~@Xx(6Xvubsmf98+5qu>0d9UZ*x)^U-q@RIpQ zH?F*Xg3AFO%n3#O(5)NSk1f`b?n9xK?VqCcPO7W??0!adbwmeM+w@9;XFg>ly# zFKc|;-l5@@?+gx)yfQp2yR5qqo;Cf@3ti#mZw_{S=e-gARPNc|3wox8_y624y#9kh z;gOxg!`nX_=(dag%$qy4I%n7_Y%+EUo4V!I;chQJ_)EWV&cZ2GxGa6W7mfe!ts}#G zf9x0LoL2E!Cr=NnYz^-HP5-d(xBcCgA)h_J8W8sXu79}RY{+R}F?(rqI{Va<9Ok~K zM-<8n{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w;BE^ zeSWu6*jvhfvri~XgS~+7fiu3J{8lsj1nyjjKmMmI|14aY`2r^^U-Br@zgsNVnQia$ zZgC^uxM^R6{*x;p4%GUm4cni`FH6sJRYn6knuJqqUp@vJM_1N0idKwLrYGuyxF-q?8KL+a+I8rUOfw_5oB2lD5f;d3X4 zJ5Ah&WdE1FA3)secO`Rp62r5<~m_U#9gdeUyLKJ9CbYQqHy>{e|9{^t8& zegB|7>&clAck|MNVbeFrktOvg3z02+fklW+i z75E(uea`*)|61hwI0Glv#osFTd$jcF+lgF`R(}5r_>AF1E=RLI|J&#PL|*%vcRjTR QPNaAH_W=L@JAozeZ|l@fegFUf literal 0 HcmV?d00001 diff --git a/examples/external-docs/public/index.html b/examples/external-docs/public/index.html new file mode 100644 index 00000000000..c240d2ca8b0 --- /dev/null +++ b/examples/external-docs/public/index.html @@ -0,0 +1,43 @@ + + + + + + + + + + + + + React App + + + +
+ + + diff --git a/examples/external-docs/public/logo192.png b/examples/external-docs/public/logo192.png new file mode 100644 index 0000000000000000000000000000000000000000..fbdb05d4eb6bd88ae0e8582b4f02cc01e761ea74 GIT binary patch literal 5223 zcmeH~_cI*)*1*@YI#DCa!)hyf?`2t?=xu|=VudKn>LqF-q9!`gdoOwPXhHOnAR$T! z!RjS?eLe5YeP`Yu?muwn&V0`~^F4Dub7s!B%sFrLb=Ap;8HfP@0GXzSis8NO{znLL z?==dTB@O`KcsnU8>pR)m0RWHRdB2*t``n|I9#1d|uyI%tNv9b9l$ZF!sUm-VV<4>q~ zrU@n>;sNHO;2{xc!L#1qcS>}u#c?1^z6QGmmy%OOT($Jt_A}N#t-Ngw8LLm8rmdTO zrA}+YORPtzSN+f=sri*`@{=IVbK}{Ew@FczIr|p zd@9}f8rv51jdo{GDK`skagBcsde+#I=Zm>N2e6%np$-5L0096(UjhJ^_pVSZ0N^bI z0BqR+05a(S0G)eQn}Hkv0L1D)F;=|~AeyTB@A_{A{(~!UcXu}t$m4c@*H66+b&UWZ zrS!dlD0O0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Tr1%WK}Je zU!5z)dFBOP1$fYyG31#Q#phz0U;>?|W{Hvd|k4zAwKjH-|W_BO!Uij_2L8vQe=58~Ser=x{ zy@=UvCYQd5moV>K&BZUME1M;XDwv4`-@v%^Gije4X6F%c(qM&%gE}}O??xg=N7&$a z4Kg+t^3=YbRagxZn}S^PrOvfrmG{zNUyTGrE}{{bsnSjrYX$doDL;E>{6p*)ZR%r= zuI<0eG@;*Vz_45XBeI&Z%IFlY+cW1ZS!la86M-$!d7atKYm>H05b%o`@@0D`pv%!pBKVNJew)_{2jxY?8OM} zyJ$gJ-`3U!H9P3TN%#QOi{h;dSHj^=cL;?&y<*7eDz0?w7|XU>^6`9Cm}mB*b@>4v z&Nr9eZZh27E&AlxWwZo-{R^Ve*q)Vb&P9IAnbJfltj3@gJnfN2Ef~$=`urk#v3x4` z>TayMeOQ#Gkeic?lIvgH^nGLf^Ejlx$S5HpKzI9oX5;iyg?rf}y-+fC7}UK1hzJQw z^9zgc3rQLaNy-Qb$%qK^-fJPDeELbt{|C6D?VTL_|2^M*dTsBFhEmPSEUAK6aGIH#>5~1 literal 0 HcmV?d00001 diff --git a/examples/external-docs/public/logo512.png b/examples/external-docs/public/logo512.png new file mode 100644 index 0000000000000000000000000000000000000000..917458c29a82e2ae8933f1a42acdc3bf050e393c GIT binary patch literal 14385 zcmc(`byQT}8$No5Aw)W)OOQ~Ij-f$PVgLaF>FyZ1Q|SIwirK8^|s+K$%N0Kk>%lRD1bW63aJzA!kaIQsp&B|bt^;W_Vcrt(YYQo^ji z&azXX!PlXjL;5XMT(G0PZu4$^ac-qg8z_{9iJ^JnK`F;?^v+4J+4yyUOkn}~BwQp{ z-!m|Z#Pjka6+X_QS8aeFQfRck6!g=SeDXp_forcuE6EsRtjfIaY)a;8ZAec1IEL^N*2bUw%-STM24%way#bBJGtgs3DK z`6xamwoFEQNx1v-ju7WHU|!%g$^>KXPM>($oi%y&-X zq5s4?W42p^ryu>Yj(}eADlW z2~~}?p;@>5^XcYq$4%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_kd#g{M$NW_tZ=*i}uc7ejPB=!PDB+&{8k5ZJ}V1s#af)%0iK ziS?yyS6#{)D%!fIL=40slO>KDni@}DbYP^m{cM>MF^eH>a1;ErL!I)&0?Q#CvS6gS z)R=tZ((WZ5t=+B>(shvDo3yI?NZ&uW4{=sYfXKr0jPkwblkbNNK|WY>0&3sWHTrzY>a;`5Q%XmA z6}ZT|3tomk@)9Hq(YAhi<)&i1c!dYZJglLiFOuVRr$vW7IPq?JXYi{@`Y z(sLcg@DS@i-Cx_4xZ?@FoKXpHvyUmeVwmge*cug6hV&UZzpnj-jo!3J{s2%yeNh6{ zKh{msZQq01eIc>9QZLL$+@ z2^T=M`>s*wZxltDjNI~8R>E&-Ug-5J*mg0qXFw=!2j&zQ5z1Tbhq74mLj@w~Ngild zkI*fMg&Mi=ge+|#!RbXrh=3maPWreYTaF!6MAt)4UHsj&Pa&vV!QF+_$o#9^G*CoU zPtOA_s$@U>wE zg0oHPA^E(}LY~QqP7HMPc!4yanvfKs5{uypRZ~yV8^j_r26+KP!8Y5z9VXQ26PSb+ ze3=t!ZZz0@X8<>Q4z-U%>i0U*8-XvH!z7-WL;fg;{{M1b1pvBb?wRX+w%p9>*HSP| zVE0xs^tQ3|ww186w0f^kgNKB5$ z|91`>TQ6%*M-OjDcQ?T6mC6g2mr4qv0^*{g&jon}3@YbUFo}VeN>IhB7Z#EK7k10x A82|tP literal 0 HcmV?d00001 diff --git a/examples/external-docs/public/manifest.json b/examples/external-docs/public/manifest.json new file mode 100644 index 00000000000..080d6c77ac2 --- /dev/null +++ b/examples/external-docs/public/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/examples/external-docs/public/robots.txt b/examples/external-docs/public/robots.txt new file mode 100644 index 00000000000..01b0f9a1073 --- /dev/null +++ b/examples/external-docs/public/robots.txt @@ -0,0 +1,2 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * diff --git a/examples/external-docs/src/AccountForm.stories.tsx b/examples/external-docs/src/AccountForm.stories.tsx new file mode 100644 index 00000000000..d670d64ee45 --- /dev/null +++ b/examples/external-docs/src/AccountForm.stories.tsx @@ -0,0 +1,96 @@ +/* eslint-disable storybook/await-interactions */ +/* eslint-disable storybook/use-storybook-testing-library */ +// @TODO: use addon-interactions and remove the rule disable above +import React from 'react'; +import { ComponentStoryObj, ComponentMeta } from '@storybook/react'; +import { screen } from '@testing-library/dom'; +import userEvent from '@testing-library/user-event'; +import { AccountForm } from './AccountForm'; + +export default { + // Title not needed due to CSF3 auto-title + // title: 'Demo/AccountForm', + component: AccountForm, + parameters: { + layout: 'centered', + }, +} as ComponentMeta; + +// export const Standard = (args: any) => ; +// Standard.args = { passwordVerification: false }; +// Standard.play = () => userEvent.type(screen.getByTestId('email'), 'michael@chromatic.com'); + +export const Standard: ComponentStoryObj = { + // render: (args: AccountFormProps) => , + args: { passwordVerification: false }, +}; + +export const StandardEmailFilled = { + ...Standard, + play: () => userEvent.type(screen.getByTestId('email'), 'michael@chromatic.com'), +}; + +export const StandardEmailFailed = { + ...Standard, + play: async () => { + await userEvent.type(screen.getByTestId('email'), 'michael@chromatic.com.com@com'); + await userEvent.type(screen.getByTestId('password1'), 'testpasswordthatwontfail'); + await userEvent.click(screen.getByTestId('submit')); + }, +}; + +export const StandardPasswordFailed = { + ...Standard, + play: async () => { + await StandardEmailFilled.play(); + await userEvent.type(screen.getByTestId('password1'), 'asdf'); + await userEvent.click(screen.getByTestId('submit')); + }, +}; + +export const StandardFailHover = { + ...StandardPasswordFailed, + play: async () => { + await StandardPasswordFailed.play(); + await sleep(100); + await userEvent.hover(screen.getByTestId('password-error-info')); + }, +}; + +export const Verification: ComponentStoryObj = { + args: { passwordVerification: true }, +}; + +export const VerificationPasssword1 = { + ...Verification, + play: async () => { + await StandardEmailFilled.play(); + await userEvent.type(screen.getByTestId('password1'), 'asdfasdf'); + await userEvent.click(screen.getByTestId('submit')); + }, +}; + +export const VerificationPasswordMismatch = { + ...Verification, + play: async () => { + await StandardEmailFilled.play(); + await userEvent.type(screen.getByTestId('password1'), 'asdfasdf'); + await userEvent.type(screen.getByTestId('password2'), 'asdf1234'); + await userEvent.click(screen.getByTestId('submit')); + }, +}; + +const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms)); + +export const VerificationSuccess = { + ...Verification, + play: async () => { + await StandardEmailFilled.play(); + await sleep(1000); + await userEvent.type(screen.getByTestId('password1'), 'asdfasdf', { delay: 50 }); + await sleep(1000); + await userEvent.type(screen.getByTestId('password2'), 'asdfasdf', { delay: 50 }); + await sleep(1000); + await userEvent.click(screen.getByTestId('submit')); + }, +}; diff --git a/examples/external-docs/src/AccountForm.tsx b/examples/external-docs/src/AccountForm.tsx new file mode 100644 index 00000000000..d5e612931ac --- /dev/null +++ b/examples/external-docs/src/AccountForm.tsx @@ -0,0 +1,552 @@ +import { keyframes, styled } from '@storybook/theming'; +import { + ErrorMessage, + Field as FormikInput, + Form as FormikForm, + Formik, + FormikProps, +} from 'formik'; +import React, { FC, HTMLAttributes, useCallback, useState } from 'react'; +import { Icons, WithTooltip } from '@storybook/components'; + +const errorMap = { + email: { + required: { + normal: 'Please enter your email address', + tooltip: + 'We do require an email address and a password as a minimum in order to be able to create an account for you to log in with', + }, + format: { + normal: 'Please enter a correctly formatted email address', + tooltip: + 'Your email address is formatted incorrectly and is not correct - please double check for misspelling', + }, + }, + password: { + required: { + normal: 'Please enter a password', + tooltip: 'A password is requried to create an account', + }, + length: { + normal: 'Please enter a password of minimum 6 characters', + tooltip: + 'For security reasons we enforce a password length of minimum 6 characters - but have no other requirements', + }, + }, + verifiedPassword: { + required: { + normal: 'Please verify your password', + tooltip: + 'Verification of your password is required to ensure no errors in the spelling of the password', + }, + match: { + normal: 'Your passwords do not match', + tooltip: + 'Your verification password has to match your password to make sure you have not misspelled', + }, + }, +}; + +// https://emailregex.com/ +const email99RegExp = new RegExp( + // eslint-disable-next-line no-useless-escape + /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ +); + +export interface AccountFormResponse { + success: boolean; +} + +export interface AccountFormValues { + email: string; + password: string; +} + +interface FormValues extends AccountFormValues { + verifiedPassword: string; +} + +interface FormErrors { + email?: string; + emailTooltip?: string; + password?: string; + passwordTooltip?: string; + verifiedPassword?: string; + verifiedPasswordTooltip?: string; +} + +export type AccountFormProps = { + passwordVerification?: boolean; + onSubmit?: (values: AccountFormValues) => void; + onTransactionStart?: (values: AccountFormValues) => void; + onTransactionEnd?: (values: AccountFormResponse) => void; +}; + +export const AccountForm: FC = ({ + passwordVerification, + onSubmit, + onTransactionStart, + onTransactionEnd, +}) => { + const [state, setState] = useState({ + transacting: false, + transactionSuccess: false, + transactionFailure: false, + }); + + const handleFormSubmit = useCallback( + async ({ email, password }: FormValues, { setSubmitting, resetForm }) => { + if (onSubmit) { + onSubmit({ email, password }); + } + + if (onTransactionStart) { + onTransactionStart({ email, password }); + } + + setSubmitting(true); + + setState({ + ...state, + transacting: true, + }); + + await new Promise((r) => setTimeout(r, 2100)); + + const success = Math.random() < 1; + + if (onTransactionEnd) { + onTransactionEnd({ success }); + } + + setSubmitting(false); + resetForm({ values: { email: '', password: '', verifiedPassword: '' } }); + + setState({ + ...state, + transacting: false, + transactionSuccess: success === true, + transactionFailure: success === false, + }); + }, + [setState, onTransactionEnd, onTransactionStart] + ); + + return ( + + + + Storybook icon + + + + + + + + <title>Storybook + + + + + + {!state.transactionSuccess && !state.transactionFailure && ( + Create an account to join the Storybook community + )} + + {state.transactionSuccess && !state.transactionFailure && ( + +

+ Everything is perfect. Your account is ready and we should probably get you started! +

+

So why don't you get started then?

+ { + setState({ + transacting: false, + transactionSuccess: false, + transactionFailure: false, + }); + }} + > + Go back + +
+ )} + {state.transactionFailure && !state.transactionSuccess && ( + +

What a mess, this API is not working

+

+ Someone should probably have a stern talking to about this, but it won't be me - coz + I'm gonna head out into the nice weather +

+ { + setState({ + transacting: false, + transactionSuccess: false, + transactionFailure: false, + }); + }} + > + Go back + +
+ )} + {!state.transactionSuccess && !state.transactionFailure && ( + { + const errors: FormErrors = {}; + + if (!email) { + errors.email = errorMap.email.required.normal; + errors.emailTooltip = errorMap.email.required.tooltip; + } else { + const validEmail = email.match(email99RegExp); + + if (validEmail === null) { + errors.email = errorMap.email.format.normal; + errors.emailTooltip = errorMap.email.format.tooltip; + } + } + + if (!password) { + errors.password = errorMap.password.required.normal; + errors.passwordTooltip = errorMap.password.required.tooltip; + } else if (password.length < 6) { + errors.password = errorMap.password.length.normal; + errors.passwordTooltip = errorMap.password.length.tooltip; + } + + if (passwordVerification && !verifiedPassword) { + errors.verifiedPassword = errorMap.verifiedPassword.required.normal; + errors.verifiedPasswordTooltip = errorMap.verifiedPassword.required.tooltip; + } else if (passwordVerification && password !== verifiedPassword) { + errors.verifiedPassword = errorMap.verifiedPassword.match.normal; + errors.verifiedPasswordTooltip = errorMap.verifiedPassword.match.tooltip; + } + + return errors; + }} + > + {({ errors: _errors, isSubmitting, dirty }: FormikProps) => { + const errors = _errors as FormErrors; + + return ( +
+ + + + {({ field }: { field: HTMLAttributes }) => ( + <> + + {errors.email && ( + {errors.emailTooltip}} + > + + + + + + )} + + )} + + + + + + {({ field }: { field: HTMLAttributes }) => ( + + )} + + {errors.password && ( + {errors.passwordTooltip}}> + + + + + + )} + + {passwordVerification && ( + + + + {({ field }: { field: HTMLAttributes }) => ( + + )} + + {errors.verifiedPassword && ( + {errors.verifiedPasswordTooltip}} + > + + + + + + )} + + )} + + + Create Account + + + Reset + + +
+ ); + }} +
+ )} +
+
+ ); +}; + +const Wrapper = styled.section(({ theme }) => ({ + fontFamily: theme.typography.fonts.base, + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + width: 450, + padding: 32, + backgroundColor: theme.background.content, + borderRadius: 7, +})); + +const Brand = styled.div({ + display: 'flex', + alignItems: 'center', + justifyContent: 'center', +}); + +const Title = styled.svg({ + height: 40, + zIndex: 1, + left: -32, + position: 'relative', +}); + +const logoAnimation = keyframes({ + '0': { + transform: 'rotateY(0deg)', + transformOrigin: '50% 5% 0', + }, + '100%': { + transform: 'rotateY(360deg)', + transformOrigin: '50% 5% 0', + }, +}); + +interface LogoProps { + transacting: boolean; +} + +const Logo = styled.svg( + ({ transacting }) => + transacting && { + animation: `${logoAnimation} 1250ms both infinite`, + }, + { height: 40, zIndex: 10, marginLeft: 32 } +); + +const Introduction = styled.p({ + marginTop: 20, + textAlign: 'center', +}); + +const Content = styled.div({ + display: 'flex', + alignItems: 'flex-start', + justifyContent: 'center', + width: 350, + minHeight: 189, + marginTop: 8, +}); + +const Presentation = styled.div({ + textAlign: 'center', +}); + +const Form = styled(FormikForm)({ + width: '100%', + alignSelf: 'flex-start', + '&[aria-disabled="true"]': { + opacity: 0.6, + }, +}); + +const FieldWrapper = styled.div({ + display: 'flex', + flexDirection: 'column', + justifyContent: 'stretch', + marginBottom: 10, +}); + +const Label = styled.label({ + fontSize: 13, + fontWeight: 500, + marginBottom: 6, +}); + +const Input = styled.input(({ theme }) => ({ + fontSize: 14, + color: theme.color.defaultText, + padding: '10px 15px', + borderRadius: 4, + appearance: 'none', + outline: 'none', + border: '0 none', + boxShadow: 'rgb(0 0 0 / 10%) 0px 0px 0px 1px inset', + '&:focus': { + boxShadow: 'rgb(30 167 253) 0px 0px 0px 1px inset', + }, + '&:active': { + boxShadow: 'rgb(30 167 253) 0px 0px 0px 1px inset', + }, + '&[aria-invalid="true"]': { + boxShadow: 'rgb(255 68 0) 0px 0px 0px 1px inset', + }, +})); + +const ErrorWrapper = styled.div({ + display: 'flex', + alignItems: 'flex-start', + fontSize: 11, + marginTop: 6, + cursor: 'help', +}); + +const ErrorIcon = styled(Icons)(({ theme }) => ({ + fill: theme.color.defaultText, + opacity: 0.8, + marginRight: 6, + marginLeft: 2, + marginTop: 1, +})); + +const ErrorTooltip = styled.div(({ theme }) => ({ + fontFamily: theme.typography.fonts.base, + fontSize: 13, + padding: 8, + maxWidth: 350, +})); + +const Actions = styled.div({ + alignSelf: 'stretch', + display: 'flex', + justifyContent: 'space-between', + marginTop: 24, +}); + +const Error = styled(ErrorMessage)({}); + +interface ButtonProps { + dirty?: boolean; +} + +const Button = styled.button({ + backgroundColor: 'transparent', + border: '0 none', + outline: 'none', + appearance: 'none', + fontWeight: 500, + fontSize: 12, + flexBasis: '50%', + cursor: 'pointer', + padding: '11px 16px', + borderRadius: 4, + textTransform: 'uppercase', + '&:focus': { + textDecoration: 'underline', + fontWeight: 700, + }, + '&:active': { + textDecoration: 'underline', + fontWeight: 700, + }, + '&[aria-disabled="true"]': { + cursor: 'default', + }, +}); + +const Submit = styled(Button)(({ theme, dirty }) => ({ + marginRight: 8, + backgroundColor: theme.color.secondary, + color: theme.color.inverseText, + opacity: dirty ? 1 : 0.6, + boxShadow: 'rgb(30 167 253 / 10%) 0 0 0 1px inset', +})); + +const Reset = styled(Button)(({ theme }) => ({ + marginLeft: 8, + boxShadow: 'rgb(30 167 253) 0 0 0 1px inset', + color: theme.color.secondary, +})); diff --git a/examples/external-docs/src/StoriesPage.tsx b/examples/external-docs/src/StoriesPage.tsx new file mode 100644 index 00000000000..42b7ab0ada7 --- /dev/null +++ b/examples/external-docs/src/StoriesPage.tsx @@ -0,0 +1,18 @@ +import React from 'react'; +import { DocsProvider, Meta, Story } from './blocks'; + +import meta, { WithArgs, Basic } from './button.stories'; +import EmojiMeta, { WithArgs as EmojiWithArgs } from './emoji-button.stories'; + +export default () => ( + +
+ + + + + + +
+
+); diff --git a/examples/external-docs/src/blocks.tsx b/examples/external-docs/src/blocks.tsx new file mode 100644 index 00000000000..6ce28ed9446 --- /dev/null +++ b/examples/external-docs/src/blocks.tsx @@ -0,0 +1,150 @@ +import React, { createContext, useContext, useState, useRef, useEffect } from 'react'; + +import { PreviewWeb } from '@storybook/preview-web'; +import { Path, ModuleExports, StoryIndex } from '@storybook/store'; +import { toId, AnyFramework, ComponentTitle, StoryId } from '@storybook/csf'; + +// @ts-ignore +import * as reactAnnotations from '@storybook/react/dist/esm/client/preview/config'; + +type StoryExport = any; +type MetaExport = any; +type ExportName = string; + +const projectAnnotations = { + ...reactAnnotations, +}; + +const DocsContext = createContext<{ + setMeta: (meta: MetaExport) => void; + addStory: (story: StoryExport, storyMeta?: MetaExport) => void; + renderStory: (story: StoryExport, element: HTMLElement) => void; +}>({ + setMeta: () => {}, + addStory: () => {}, + renderStory: () => {}, +}); + +export const DocsProvider: React.FC = ({ children }) => { + let pageMeta: MetaExport; + const setMeta = (m: MetaExport) => { + pageMeta = m; + }; + + let nextImportPath = 0; + const importPaths = new Map(); + const getImportPath = (meta: MetaExport) => { + if (!importPaths.has(meta)) { + importPaths.set(meta, `importPath-${nextImportPath}`); + nextImportPath += 1; + } + return importPaths.get(meta) as Path; + }; + + let nextTitle = 0; + const titles = new Map(); + const getTitle = (meta: MetaExport) => { + if (!titles.has(meta)) { + titles.set(meta, `title-${nextTitle}`); + nextTitle += 1; + } + return titles.get(meta); + }; + + let nextExportName = 0; + const exportNames = new Map(); + const getExportName = (story: StoryExport) => { + if (!exportNames.has(story)) { + exportNames.set(story, `export-${nextExportName}`); + nextExportName += 1; + } + return exportNames.get(story) as ExportName; + }; + + const storyIds = new Map(); + + const storyIndex: StoryIndex = { v: 3, stories: {} }; + const knownCsfFiles: Record = {}; + + const addStory = (storyExport: StoryExport, storyMeta?: MetaExport) => { + const meta = storyMeta || pageMeta; + const importPath: Path = getImportPath(meta); + const title: ComponentTitle = meta.title || getTitle(meta); + + const exportName = getExportName(storyExport); + const storyId = toId(title, exportName); + storyIds.set(storyExport, storyId); + + if (!knownCsfFiles[importPath]) { + knownCsfFiles[importPath] = { + default: meta, + }; + } + knownCsfFiles[importPath][exportName] = storyExport; + + storyIndex.stories[storyId] = { + id: storyId, + importPath, + title, + name: 'Name', + }; + }; + + let previewPromise: Promise>; + const getPreview = () => { + if (!previewPromise) { + previewPromise = (async () => { + const preview = new PreviewWeb(); + await preview.initialize({ + getStoryIndex: () => storyIndex, + importFn: (importPath) => { + console.log(knownCsfFiles, importPath); + return Promise.resolve(knownCsfFiles[importPath]); + }, + getProjectAnnotations: () => projectAnnotations, + }); + + return preview; + })(); + } + + return previewPromise; + }; + + const renderStory = async (storyExport: any, element: HTMLElement) => { + const preview = await getPreview(); + + const storyId = storyIds.get(storyExport); + if (!storyId) throw new Error(`Didn't find story id '${storyId}'`); + const story = await preview.storyStore.loadStory({ storyId }); + + console.log({ story }); + + preview.renderStoryToElement(story, element); + }; + + return ( + + {children} + + ); +}; + +export function Meta({ of }: { of: any }) { + const { setMeta } = useContext(DocsContext); + setMeta(of); + return null; +} + +export function Story({ of, meta }: { of: any; meta?: any }) { + const { addStory, renderStory } = useContext(DocsContext); + + addStory(of, meta); + + const ref = useRef(null); + useEffect(() => { + if (ref.current) renderStory(of, ref.current); + }); + + return
; +} diff --git a/examples/external-docs/src/button.stories.tsx b/examples/external-docs/src/button.stories.tsx new file mode 100644 index 00000000000..7005dc92658 --- /dev/null +++ b/examples/external-docs/src/button.stories.tsx @@ -0,0 +1,42 @@ +/* eslint-disable storybook/await-interactions */ +/* eslint-disable storybook/use-storybook-testing-library */ +// @TODO: use addon-interactions and remove the rule disable above +import React from 'react'; +import { Meta, ComponentStory } from '@storybook/react'; +import { screen } from '@testing-library/dom'; +import userEvent from '@testing-library/user-event'; +import { Button } from './button'; + +export default { + component: Button, + title: 'Examples / Button', + argTypes: { onClick: { action: 'click ' } }, + // render: () => <>hohoho, +} as Meta; + +export const WithArgs: ComponentStory = (args) => +); diff --git a/examples/external-docs/src/emoji-button.stories.tsx b/examples/external-docs/src/emoji-button.stories.tsx new file mode 100644 index 00000000000..1e0fd806113 --- /dev/null +++ b/examples/external-docs/src/emoji-button.stories.tsx @@ -0,0 +1,8 @@ +import React from 'react'; +import { EmojiButton } from './emoji-button'; + +export default { component: EmojiButton, title: 'Examples / Emoji Button' }; + +export const WithArgs = (args) => ; +WithArgs.args = { label: 'With args' }; +export const Basic = () => ; diff --git a/examples/external-docs/src/emoji-button.tsx b/examples/external-docs/src/emoji-button.tsx new file mode 100644 index 00000000000..716afa1238c --- /dev/null +++ b/examples/external-docs/src/emoji-button.tsx @@ -0,0 +1,19 @@ +import React from 'react'; +import PropTypes from 'prop-types'; + +export const EmojiButton = ({ label, ...props }) => ( + +); + +EmojiButton.propTypes = { + /** + * A label to show on the button + */ + label: PropTypes.string, +}; + +EmojiButton.defaultProps = { + label: 'Hello', +}; diff --git a/examples/external-docs/src/index.tsx b/examples/external-docs/src/index.tsx new file mode 100644 index 00000000000..81ba54ea69d --- /dev/null +++ b/examples/external-docs/src/index.tsx @@ -0,0 +1,9 @@ +/* global document */ + +import React from 'react'; +import ReactDOM from 'react-dom'; +import StoriesPage from './StoriesPage'; + +const App = () => ; + +ReactDOM.render(, document.getElementById('root')); diff --git a/examples/external-docs/src/react-app-env.d.ts b/examples/external-docs/src/react-app-env.d.ts new file mode 100644 index 00000000000..6431bc5fc6b --- /dev/null +++ b/examples/external-docs/src/react-app-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/examples/external-docs/tsconfig.json b/examples/external-docs/tsconfig.json new file mode 100644 index 00000000000..d72a6e61be0 --- /dev/null +++ b/examples/external-docs/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "esModuleInterop": true, + "jsx": "react", + "skipLibCheck": true, + "strict": true, + "target": "es5", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "noFallthroughCasesInSwitch": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true + }, + "include": [ + "src/*", + ".storybook/main.ts" + ] +} diff --git a/nx.json b/nx.json index 588fa7bfcf8..3545eaf1005 100644 --- a/nx.json +++ b/nx.json @@ -139,6 +139,10 @@ "@storybook/example-react-ts-webpack4": { "implicitDependencies": [] }, + "@storybook/external-docs": { + "implicitDependencies": [] + }, + "server-kitchen-sink": { "implicitDependencies": [] }, diff --git a/workspace.json b/workspace.json index 010773cb947..f02b363a625 100644 --- a/workspace.json +++ b/workspace.json @@ -161,6 +161,10 @@ "root": "examples/react-ts-webpack4", "type": "library" }, + "@storybook/external-docs": { + "root": "examples/external-docs", + "type": "library" + }, "server-kitchen-sink": { "root": "examples/server-kitchen-sink", "type": "library" diff --git a/yarn.lock b/yarn.lock index e5c24e26170..60597f4b72e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7711,6 +7711,32 @@ __metadata: languageName: node linkType: hard +"@storybook/external-docs@workspace:examples/external-docs": + version: 0.0.0-use.local + resolution: "@storybook/external-docs@workspace:examples/external-docs" + dependencies: + "@babel/preset-env": ^7.12.11 + "@babel/preset-react": ^7.12.10 + "@babel/preset-typescript": ^7.12.7 + "@storybook/preview-web": 6.5.0-alpha.49 + "@storybook/react": 6.5.0-alpha.49 + "@storybook/store": 6.5.0-alpha.49 + "@testing-library/dom": ^7.31.2 + "@testing-library/user-event": ^13.1.9 + "@types/babel__preset-env": ^7 + "@types/react": ^16.14.23 + "@types/react-dom": ^16.9.14 + cross-env: ^7.0.3 + formik: ^2.2.9 + prop-types: 15.7.2 + react: 16.14.0 + react-dom: 16.14.0 + react-scripts: ^4.0.2 + typescript: ^3.9.7 + webpack: 4 + languageName: unknown + linkType: soft + "@storybook/html@6.5.0-alpha.49, @storybook/html@workspace:*, @storybook/html@workspace:app/html": version: 0.0.0-use.local resolution: "@storybook/html@workspace:app/html" From beee1f608a5b243bb40f7012d7b8f740810bb3c9 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 21 Mar 2022 17:02:45 +1100 Subject: [PATCH 02/12] Add "routing" between two different pages --- .../{ => src}/.storybook/main.ts | 0 .../{ => src}/.storybook/preview.js | 9 +++++++++ .../external-docs/src/AccountForm.stories.tsx | 4 ++-- .../external-docs/src/SecondStoriesPage.tsx | 14 ++++++++++++++ examples/external-docs/src/blocks.tsx | 3 +++ .../src/emoji-button.stories.tsx | 2 +- examples/external-docs/src/emoji-button.tsx | 2 +- examples/external-docs/src/index.tsx | 19 +++++++++++++++++-- examples/external-docs/tsconfig.json | 3 +-- 9 files changed, 48 insertions(+), 8 deletions(-) rename examples/external-docs/{ => src}/.storybook/main.ts (100%) rename examples/external-docs/{ => src}/.storybook/preview.js (68%) create mode 100644 examples/external-docs/src/SecondStoriesPage.tsx diff --git a/examples/external-docs/.storybook/main.ts b/examples/external-docs/src/.storybook/main.ts similarity index 100% rename from examples/external-docs/.storybook/main.ts rename to examples/external-docs/src/.storybook/main.ts diff --git a/examples/external-docs/.storybook/preview.js b/examples/external-docs/src/.storybook/preview.js similarity index 68% rename from examples/external-docs/.storybook/preview.js rename to examples/external-docs/src/.storybook/preview.js index b9afa3a266a..47aa5c189bf 100644 --- a/examples/external-docs/.storybook/preview.js +++ b/examples/external-docs/src/.storybook/preview.js @@ -1,4 +1,5 @@ import React from 'react'; +import { ThemeProvider, convert, themes } from '@storybook/theming'; export const parameters = { options: { @@ -17,3 +18,11 @@ export const parameters = { }, }, }; + +export const decorators = [ + (StoryFn) => ( + + + + ), +]; diff --git a/examples/external-docs/src/AccountForm.stories.tsx b/examples/external-docs/src/AccountForm.stories.tsx index d670d64ee45..2d67351b620 100644 --- a/examples/external-docs/src/AccountForm.stories.tsx +++ b/examples/external-docs/src/AccountForm.stories.tsx @@ -48,6 +48,8 @@ export const StandardPasswordFailed = { }, }; +const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms)); + export const StandardFailHover = { ...StandardPasswordFailed, play: async () => { @@ -80,8 +82,6 @@ export const VerificationPasswordMismatch = { }, }; -const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms)); - export const VerificationSuccess = { ...Verification, play: async () => { diff --git a/examples/external-docs/src/SecondStoriesPage.tsx b/examples/external-docs/src/SecondStoriesPage.tsx new file mode 100644 index 00000000000..86b1e0217fd --- /dev/null +++ b/examples/external-docs/src/SecondStoriesPage.tsx @@ -0,0 +1,14 @@ +import React from 'react'; +import { DocsProvider, Meta, Story } from './blocks'; + +import meta, { Standard } from './AccountForm.stories'; + +export default () => ( + +
+ + + +
+
+); diff --git a/examples/external-docs/src/blocks.tsx b/examples/external-docs/src/blocks.tsx index 6ce28ed9446..defcb057e82 100644 --- a/examples/external-docs/src/blocks.tsx +++ b/examples/external-docs/src/blocks.tsx @@ -6,6 +6,8 @@ import { toId, AnyFramework, ComponentTitle, StoryId } from '@storybook/csf'; // @ts-ignore import * as reactAnnotations from '@storybook/react/dist/esm/client/preview/config'; +// @ts-ignore +import * as previewAnnotations from './.storybook/preview'; type StoryExport = any; type MetaExport = any; @@ -13,6 +15,7 @@ type ExportName = string; const projectAnnotations = { ...reactAnnotations, + ...previewAnnotations, }; const DocsContext = createContext<{ diff --git a/examples/external-docs/src/emoji-button.stories.tsx b/examples/external-docs/src/emoji-button.stories.tsx index 1e0fd806113..9fdbd03f2c2 100644 --- a/examples/external-docs/src/emoji-button.stories.tsx +++ b/examples/external-docs/src/emoji-button.stories.tsx @@ -3,6 +3,6 @@ import { EmojiButton } from './emoji-button'; export default { component: EmojiButton, title: 'Examples / Emoji Button' }; -export const WithArgs = (args) => ; +export const WithArgs = (args: any) => ; WithArgs.args = { label: 'With args' }; export const Basic = () => ; diff --git a/examples/external-docs/src/emoji-button.tsx b/examples/external-docs/src/emoji-button.tsx index 716afa1238c..f38ee88a0dd 100644 --- a/examples/external-docs/src/emoji-button.tsx +++ b/examples/external-docs/src/emoji-button.tsx @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -export const EmojiButton = ({ label, ...props }) => ( +export const EmojiButton = ({ label, ...props }: { label: string }) => ( diff --git a/examples/external-docs/src/index.tsx b/examples/external-docs/src/index.tsx index 81ba54ea69d..ec04c046a88 100644 --- a/examples/external-docs/src/index.tsx +++ b/examples/external-docs/src/index.tsx @@ -1,9 +1,24 @@ /* global document */ -import React from 'react'; +import React, { useState } from 'react'; import ReactDOM from 'react-dom'; import StoriesPage from './StoriesPage'; +import SecondStoriesPage from './SecondStoriesPage'; -const App = () => ; +const Router = ({ routes }: { routes: (() => JSX.Element)[] }) => { + const [routeNumber, setRoute] = useState(0); + const Route = routes[routeNumber]; + + console.log(routeNumber); + return ( +
+ + {/* eslint-disable-next-line react/button-has-type */} + +
+ ); +}; + +const App = () => ; ReactDOM.render(, document.getElementById('root')); diff --git a/examples/external-docs/tsconfig.json b/examples/external-docs/tsconfig.json index d72a6e61be0..aa78c17033b 100644 --- a/examples/external-docs/tsconfig.json +++ b/examples/external-docs/tsconfig.json @@ -8,7 +8,6 @@ "target": "es5", "lib": [ "dom", - "dom.iterable", "esnext" ], "allowJs": true, @@ -23,6 +22,6 @@ }, "include": [ "src/*", - ".storybook/main.ts" + "src/.storybook/main.ts" ] } From bd4da0e44a2f1fee0dd916d1b8c4b3bd0aed4fc8 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 21 Mar 2022 17:10:30 +1100 Subject: [PATCH 03/12] Store preview on window and simply change the index --- examples/external-docs/src/blocks.tsx | 38 ++++++++++++++++++++------- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/examples/external-docs/src/blocks.tsx b/examples/external-docs/src/blocks.tsx index defcb057e82..5853a5c526e 100644 --- a/examples/external-docs/src/blocks.tsx +++ b/examples/external-docs/src/blocks.tsx @@ -95,19 +95,37 @@ export const DocsProvider: React.FC = ({ children }) => { let previewPromise: Promise>; const getPreview = () => { + const importFn = (importPath: Path) => { + console.log(knownCsfFiles, importPath); + return Promise.resolve(knownCsfFiles[importPath]); + }; + if (!previewPromise) { previewPromise = (async () => { - const preview = new PreviewWeb(); - await preview.initialize({ - getStoryIndex: () => storyIndex, - importFn: (importPath) => { - console.log(knownCsfFiles, importPath); - return Promise.resolve(knownCsfFiles[importPath]); - }, - getProjectAnnotations: () => projectAnnotations, - }); + // @ts-ignore + // eslint-disable-next-line no-undef + if (window.preview) { + // @ts-ignore + // eslint-disable-next-line no-undef + (window.preview as PreviewWeb).onStoriesChanged({ + importFn, + storyIndex, + }); + } else { + const preview = new PreviewWeb(); + await preview.initialize({ + getStoryIndex: () => storyIndex, + importFn, + getProjectAnnotations: () => projectAnnotations, + }); + // @ts-ignore + // eslint-disable-next-line no-undef + window.preview = preview; + } - return preview; + // @ts-ignore + // eslint-disable-next-line no-undef + return window.preview; })(); } From 2021cf607215801f1c8bca9802620ee8a20826bd Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 28 Mar 2022 17:06:16 +1100 Subject: [PATCH 04/12] Refactored `PreviewWeb` into two pieces --- lib/preview-web/src/DocsRender.ts | 10 +- lib/preview-web/src/Preview.tsx | 347 +++++++++++++++++++++++++++++ lib/preview-web/src/PreviewWeb.tsx | 269 +++------------------- lib/preview-web/src/StoryRender.ts | 31 +-- lib/store/src/StoryStore.ts | 1 + lib/store/src/types.ts | 2 +- 6 files changed, 404 insertions(+), 256 deletions(-) create mode 100644 lib/preview-web/src/Preview.tsx diff --git a/lib/preview-web/src/DocsRender.ts b/lib/preview-web/src/DocsRender.ts index 57f6176cf95..d386611584e 100644 --- a/lib/preview-web/src/DocsRender.ts +++ b/lib/preview-web/src/DocsRender.ts @@ -4,15 +4,21 @@ import { Story, StoryStore, CSFFile } from '@storybook/store'; import { Channel } from '@storybook/addons'; import { DOCS_RENDERED } from '@storybook/core-events'; -import { DocsContextProps } from './types'; +import { Render, StoryRender } from './StoryRender'; +import type { DocsContextProps } from './types'; -export class DocsRender { +export class DocsRender implements Render { private canvasElement?: HTMLElement; private context?: DocsContextProps; public disableKeyListeners = false; + static fromStoryRender(storyRender: StoryRender) { + const { channel, store, id, story } = storyRender; + return new DocsRender(channel, store, id, story); + } + // eslint-disable-next-line no-useless-constructor constructor( private channel: Channel, diff --git a/lib/preview-web/src/Preview.tsx b/lib/preview-web/src/Preview.tsx new file mode 100644 index 00000000000..281760a86c9 --- /dev/null +++ b/lib/preview-web/src/Preview.tsx @@ -0,0 +1,347 @@ +// - [ ] Superclass of PreviewWeb that doesn’t: +// - [ ] Handle selection + render selected story +// - [ ] Emit SET_STORIES +// - [ ] Render docs +// - [ ] Render errors +// - [ ] Has no WEB VIEW +// - [ ] Deal with the URL +// - [ ] StoryRender should not import from DocsRender + +import dedent from 'ts-dedent'; +import global from 'global'; +import { SynchronousPromise } from 'synchronous-promise'; +import Events from '@storybook/core-events'; +import { logger } from '@storybook/client-logger'; +import { addons, Channel } from '@storybook/addons'; +import { AnyFramework, StoryId, ProjectAnnotations, Args, Globals } from '@storybook/csf'; +import { ModuleImportFn, Story, StoryStore, StoryIndex, PromiseLike } from '@storybook/store'; + +import { WebProjectAnnotations } from './types'; + +import { StoryRender } from './StoryRender'; +import { DocsRender } from './DocsRender'; + +const { fetch } = global; + +type MaybePromise = Promise | T; + +const STORY_INDEX_PATH = './stories.json'; + +export class Preview { + channel: Channel; + + serverChannel?: Channel; + + storyStore: StoryStore; + + getStoryIndex?: () => StoryIndex; + + importFn?: ModuleImportFn; + + renderToDOM: WebProjectAnnotations['renderToDOM']; + + storyRenders: StoryRender[] = []; + + previewEntryError?: Error; + + constructor() { + this.channel = addons.getChannel(); + if (global.FEATURES?.storyStoreV7 && addons.hasServerChannel()) { + this.serverChannel = addons.getServerChannel(); + } + this.storyStore = new StoryStore(); + } + + // INITIALIZATION + + // NOTE: the reason that the preview and store's initialization code is written in a promise + // style and not `async-await`, and the use of `SynchronousPromise`s is in order to allow + // storyshots to immediately call `raw()` on the store without waiting for a later tick. + // (Even simple things like `Promise.resolve()` and `await` involve the callback happening + // in the next promise "tick"). + // See the comment in `storyshots-core/src/api/index.ts` for more detail. + initialize({ + getStoryIndex, + importFn, + getProjectAnnotations, + }: { + // In the case of the v6 store, we can only get the index from the facade *after* + // getProjectAnnotations has been run, thus this slightly awkward approach + getStoryIndex?: () => StoryIndex; + importFn: ModuleImportFn; + getProjectAnnotations: () => MaybePromise>; + }) { + // We save these two on initialization in case `getProjectAnnotations` errors, + // in which case we may need them later when we recover. + this.getStoryIndex = getStoryIndex; + this.importFn = importFn; + + this.setupListeners(); + + return this.getProjectAnnotationsOrRenderError(getProjectAnnotations).then( + (projectAnnotations) => this.initializeWithProjectAnnotations(projectAnnotations) + ); + } + + setupListeners() { + this.serverChannel?.on(Events.STORY_INDEX_INVALIDATED, this.onStoryIndexChanged.bind(this)); + + this.channel.on(Events.UPDATE_GLOBALS, this.onUpdateGlobals.bind(this)); + this.channel.on(Events.UPDATE_STORY_ARGS, this.onUpdateArgs.bind(this)); + this.channel.on(Events.RESET_STORY_ARGS, this.onResetArgs.bind(this)); + this.channel.on(Events.FORCE_RE_RENDER, this.onForceReRender.bind(this)); + this.channel.on(Events.FORCE_REMOUNT, this.onForceRemount.bind(this)); + } + + getProjectAnnotationsOrRenderError( + getProjectAnnotations: () => MaybePromise> + ): PromiseLike> { + return SynchronousPromise.resolve() + .then(getProjectAnnotations) + .then((projectAnnotations) => { + this.renderToDOM = projectAnnotations.renderToDOM; + if (!this.renderToDOM) { + throw new Error(dedent` + Expected your framework's preset to export a \`renderToDOM\` field. + + Perhaps it needs to be upgraded for Storybook 6.4? + + More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field + `); + } + return projectAnnotations; + }) + .catch((err) => { + // This is an error extracting the projectAnnotations (i.e. evaluating the previewEntries) and + // needs to be show to the user as a simple error + this.renderPreviewEntryError('Error reading preview.js:', err); + throw err; + }); + } + + // If initialization gets as far as project annotations, this function runs. + initializeWithProjectAnnotations(projectAnnotations: WebProjectAnnotations) { + this.storyStore.setProjectAnnotations(projectAnnotations); + + this.setInitialGlobals(); + + let storyIndexPromise: PromiseLike; + if (global.FEATURES?.storyStoreV7) { + storyIndexPromise = this.getStoryIndexFromServer(); + } else { + if (!this.getStoryIndex) { + throw new Error('No `getStoryIndex` passed defined in v6 mode'); + } + storyIndexPromise = SynchronousPromise.resolve().then(this.getStoryIndex); + } + + return storyIndexPromise + .then((storyIndex: StoryIndex) => this.initializeWithStoryIndex(storyIndex)) + .catch((err) => { + this.renderPreviewEntryError('Error loading story index:', err); + throw err; + }); + } + + async setInitialGlobals() { + this.emitGlobals(); + } + + emitGlobals() { + this.channel.emit(Events.SET_GLOBALS, { + globals: this.storyStore.globals.get() || {}, + globalTypes: this.storyStore.projectAnnotations.globalTypes || {}, + }); + } + + async getStoryIndexFromServer() { + const result = await fetch(STORY_INDEX_PATH); + if (result.status === 200) return result.json() as StoryIndex; + + throw new Error(await result.text()); + } + + // If initialization gets as far as the story index, this function runs. + initializeWithStoryIndex(storyIndex: StoryIndex): PromiseLike { + return this.storyStore.initialize({ + storyIndex, + importFn: this.importFn, + cache: !global.FEATURES?.storyStoreV7, + }); + } + + // EVENT HANDLERS + + // This happens when a config file gets reloaded + async onGetProjectAnnotationsChanged({ + getProjectAnnotations, + }: { + getProjectAnnotations: () => MaybePromise>; + }) { + delete this.previewEntryError; + + const projectAnnotations = await this.getProjectAnnotationsOrRenderError(getProjectAnnotations); + if (!this.storyStore.projectAnnotations) { + await this.initializeWithProjectAnnotations(projectAnnotations); + return; + } + + await this.storyStore.setProjectAnnotations(projectAnnotations); + this.emitGlobals(); + } + + async onStoryIndexChanged() { + delete this.previewEntryError; + + if (!this.storyStore.projectAnnotations) { + // We haven't successfully set project annotations yet, + // we need to do that before we can do anything else. + return; + } + + try { + const storyIndex = await this.getStoryIndexFromServer(); + + // This is the first time the story index worked, let's load it into the store + if (!this.storyStore.storyIndex) { + await this.initializeWithStoryIndex(storyIndex); + } + + // Update the store with the new stories. + await this.onStoriesChanged({ storyIndex }); + } catch (err) { + this.renderPreviewEntryError('Error loading story index:', err); + throw err; + } + } + + // This happens when a glob gets HMR-ed + async onStoriesChanged({ + importFn, + storyIndex, + }: { + importFn?: ModuleImportFn; + storyIndex?: StoryIndex; + }) { + await this.storyStore.onStoriesChanged({ importFn, storyIndex }); + } + + async onUpdateGlobals({ globals }: { globals: Globals }) { + this.storyStore.globals.update(globals); + + await Promise.all(this.storyRenders.map((r) => r.rerender())); + + this.channel.emit(Events.GLOBALS_UPDATED, { + globals: this.storyStore.globals.get(), + initialGlobals: this.storyStore.globals.initialGlobals, + }); + } + + async onUpdateArgs({ storyId, updatedArgs }: { storyId: StoryId; updatedArgs: Args }) { + this.storyStore.args.update(storyId, updatedArgs); + + await Promise.all(this.storyRenders.filter((r) => r.id === storyId).map((r) => r.rerender())); + + this.channel.emit(Events.STORY_ARGS_UPDATED, { + storyId, + args: this.storyStore.args.get(storyId), + }); + } + + async onResetArgs({ storyId, argNames }: { storyId: string; argNames?: string[] }) { + // NOTE: we have to be careful here and avoid await-ing when updating a rendered's args. + // That's because below in `renderStoryToElement` we have also bound to this event and will + // render the story in the same tick. + // However, we can do that safely as the current story is available in `this.storyRenders` + const render = this.storyRenders.find((r) => r.id === storyId); + const { initialArgs } = render?.story || (await this.storyStore.loadStory({ storyId })); + + const argNamesToReset = argNames || Object.keys(this.storyStore.args.get(storyId)); + const updatedArgs = argNamesToReset.reduce((acc, argName) => { + acc[argName] = initialArgs[argName]; + return acc; + }, {} as Partial); + + await this.onUpdateArgs({ storyId, updatedArgs }); + } + + // ForceReRender does not include a story id, so we simply must + // re-render all stories in case they are relevant + async onForceReRender() { + await Promise.all(this.storyRenders.map((r) => r.rerender())); + } + + async onForceRemount({ storyId }: { storyId: StoryId }) { + await Promise.all(this.storyRenders.filter((r) => r.id === storyId).map((r) => r.remount())); + } + + // Used by docs' modernInlineRender to render a story to a given element + // Note this short-circuits the `prepare()` phase of the StoryRender, + // main to be consistent with the previous behaviour. In the future, + // we will change it to go ahead and load the story, which will end up being + // "instant", although async. + renderStoryToElement(story: Story, element: HTMLElement) { + const render = new StoryRender( + this.channel, + this.storyStore, + this.renderToDOM, + this.inlineStoryCallbacks(story.id), + story.id, + 'docs', + story + ); + render.renderToElement(element); + + this.storyRenders.push(render); + + return async () => { + await this.teardownRender(render); + }; + } + + async teardownRender( + render: StoryRender | DocsRender, + { viewModeChanged }: { viewModeChanged?: boolean } = {} + ) { + this.storyRenders = this.storyRenders.filter((r) => r !== render); + await render?.teardown({ viewModeChanged }); + } + + // API + async extract(options?: { includeDocsOnly: boolean }) { + if (this.previewEntryError) { + throw this.previewEntryError; + } + + if (!this.storyStore.projectAnnotations) { + // In v6 mode, if your preview.js throws, we never get a chance to initialize the preview + // or store, and the error is simply logged to the browser console. This is the best we can do + throw new Error(dedent`Failed to initialize Storybook. + + Do you have an error in your \`preview.js\`? Check your Storybook's browser console for errors.`); + } + + if (global.FEATURES?.storyStoreV7) { + await this.storyStore.cacheAllCSFFiles(); + } + + return this.storyStore.extract(options); + } + + // UTILITIES + inlineStoryCallbacks(storyId: StoryId) { + return { + showMain: () => {}, + showError: (err: { title: string; description: string }) => + logger.error(`Error rendering docs story (${storyId})`, err), + showException: (err: Error) => logger.error(`Error rendering docs story (${storyId})`, err), + }; + } + + renderPreviewEntryError(reason: string, err: Error) { + this.previewEntryError = err; + logger.error(reason); + logger.error(err); + this.channel.emit(Events.CONFIG_ERROR, err); + } +} diff --git a/lib/preview-web/src/PreviewWeb.tsx b/lib/preview-web/src/PreviewWeb.tsx index d164eaf6385..9fb46c77073 100644 --- a/lib/preview-web/src/PreviewWeb.tsx +++ b/lib/preview-web/src/PreviewWeb.tsx @@ -1,78 +1,52 @@ import deprecate from 'util-deprecate'; import dedent from 'ts-dedent'; import global from 'global'; -import { SynchronousPromise } from 'synchronous-promise'; import Events, { IGNORED_EXCEPTION } from '@storybook/core-events'; import { logger } from '@storybook/client-logger'; -import { addons, Channel } from '@storybook/addons'; import { AnyFramework, StoryId, ProjectAnnotations, Args, Globals } from '@storybook/csf'; import { ModuleImportFn, Selection, Story, - StoryStore, StorySpecifier, StoryIndex, + PromiseLike, } from '@storybook/store'; +import { Preview } from './Preview'; import { WebProjectAnnotations } from './types'; import { UrlStore } from './UrlStore'; import { WebView } from './WebView'; -import { PREPARE_ABORTED, StoryRender } from './StoryRender'; +import { PREPARE_ABORTED, Render, StoryRender } from './StoryRender'; import { DocsRender } from './DocsRender'; -const { window: globalWindow, fetch } = global; +const { window: globalWindow } = global; function focusInInput(event: Event) { const target = event.target as Element; return /input|textarea/i.test(target.tagName) || target.getAttribute('contenteditable') !== null; } -type PromiseLike = Promise | SynchronousPromise; type MaybePromise = Promise | T; -type StoryCleanupFn = () => MaybePromise; - -const STORY_INDEX_PATH = './stories.json'; - -type HTMLStoryRender = StoryRender; - -export class PreviewWeb { - channel: Channel; - - serverChannel?: Channel; +export class PreviewWeb extends Preview { urlStore: UrlStore; - storyStore: StoryStore; - view: WebView; - getStoryIndex?: () => StoryIndex; - - importFn?: ModuleImportFn; - - renderToDOM: WebProjectAnnotations['renderToDOM']; - previewEntryError?: Error; currentSelection: Selection; - currentRender: HTMLStoryRender | DocsRender; - - storyRenders: HTMLStoryRender[] = []; - - previousCleanup: StoryCleanupFn; + currentRender: Render; constructor() { - this.channel = addons.getChannel(); - if (global.FEATURES?.storyStoreV7 && addons.hasServerChannel()) { - this.serverChannel = addons.getServerChannel(); - } - this.view = new WebView(); + super(); + this.view = new WebView(); this.urlStore = new UrlStore(); - this.storyStore = new StoryStore(); + // Add deprecated APIs for back-compat // @ts-ignore this.storyStore.getSelection = deprecate( @@ -85,99 +59,19 @@ export class PreviewWeb { ); } - // INITIALIZATION - - // NOTE: the reason that the preview and store's initialization code is written in a promise - // style and not `async-await`, and the use of `SynchronousPromise`s is in order to allow - // storyshots to immediately call `raw()` on the store without waiting for a later tick. - // (Even simple things like `Promise.resolve()` and `await` involve the callback happening - // in the next promise "tick"). - // See the comment in `storyshots-core/src/api/index.ts` for more detail. - initialize({ - getStoryIndex, - importFn, - getProjectAnnotations, - }: { - // In the case of the v6 store, we can only get the index from the facade *after* - // getProjectAnnotations has been run, thus this slightly awkward approach - getStoryIndex?: () => StoryIndex; - importFn: ModuleImportFn; - getProjectAnnotations: () => MaybePromise>; - }) { - // We save these two on initialization in case `getProjectAnnotations` errors, - // in which case we may need them later when we recover. - this.getStoryIndex = getStoryIndex; - this.importFn = importFn; - - this.setupListeners(); - - return this.getProjectAnnotationsOrRenderError(getProjectAnnotations).then( - (projectAnnotations) => this.initializeWithProjectAnnotations(projectAnnotations) - ); - } - setupListeners() { - globalWindow.onkeydown = this.onKeydown.bind(this); + super.setupListeners(); - this.serverChannel?.on(Events.STORY_INDEX_INVALIDATED, this.onStoryIndexChanged.bind(this)); + globalWindow.onkeydown = this.onKeydown.bind(this); this.channel.on(Events.SET_CURRENT_STORY, this.onSetCurrentStory.bind(this)); this.channel.on(Events.UPDATE_QUERY_PARAMS, this.onUpdateQueryParams.bind(this)); - this.channel.on(Events.UPDATE_GLOBALS, this.onUpdateGlobals.bind(this)); - this.channel.on(Events.UPDATE_STORY_ARGS, this.onUpdateArgs.bind(this)); - this.channel.on(Events.RESET_STORY_ARGS, this.onResetArgs.bind(this)); - this.channel.on(Events.FORCE_RE_RENDER, this.onForceReRender.bind(this)); - this.channel.on(Events.FORCE_REMOUNT, this.onForceRemount.bind(this)); } - getProjectAnnotationsOrRenderError( - getProjectAnnotations: () => MaybePromise> - ): PromiseLike> { - return SynchronousPromise.resolve() - .then(getProjectAnnotations) - .then((projectAnnotations) => { - this.renderToDOM = projectAnnotations.renderToDOM; - if (!this.renderToDOM) { - throw new Error(dedent` - Expected your framework's preset to export a \`renderToDOM\` field. - - Perhaps it needs to be upgraded for Storybook 6.4? - - More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field - `); - } - return projectAnnotations; - }) - .catch((err) => { - // This is an error extracting the projectAnnotations (i.e. evaluating the previewEntries) and - // needs to be show to the user as a simple error - this.renderPreviewEntryError('Error reading preview.js:', err); - throw err; - }); - } - - // If initialization gets as far as project annotations, this function runs. initializeWithProjectAnnotations(projectAnnotations: WebProjectAnnotations) { - this.storyStore.setProjectAnnotations(projectAnnotations); - - this.setInitialGlobals(); - - let storyIndexPromise: PromiseLike; - if (global.FEATURES?.storyStoreV7) { - storyIndexPromise = this.getStoryIndexFromServer(); - } else { - if (!this.getStoryIndex) { - throw new Error('No `getStoryIndex` passed defined in v6 mode'); - } - storyIndexPromise = SynchronousPromise.resolve().then(this.getStoryIndex); - } - - return storyIndexPromise - .then((storyIndex: StoryIndex) => this.initializeWithStoryIndex(storyIndex)) - .catch((err) => { - this.renderPreviewEntryError('Error loading story index:', err); - throw err; - }); + return super + .initializeWithProjectAnnotations(projectAnnotations) + .then(() => this.setInitialGlobals()); } async setInitialGlobals() { @@ -188,35 +82,15 @@ export class PreviewWeb { this.emitGlobals(); } - emitGlobals() { - this.channel.emit(Events.SET_GLOBALS, { - globals: this.storyStore.globals.get() || {}, - globalTypes: this.storyStore.projectAnnotations.globalTypes || {}, - }); - } - - async getStoryIndexFromServer() { - const result = await fetch(STORY_INDEX_PATH); - if (result.status === 200) return result.json() as StoryIndex; - - throw new Error(await result.text()); - } - // If initialization gets as far as the story index, this function runs. - initializeWithStoryIndex(storyIndex: StoryIndex) { - return this.storyStore - .initialize({ - storyIndex, - importFn: this.importFn, - cache: !global.FEATURES?.storyStoreV7, - }) - .then(() => { - if (!global.FEATURES?.storyStoreV7) { - this.channel.emit(Events.SET_STORIES, this.storyStore.getSetStoriesPayload()); - } + initializeWithStoryIndex(storyIndex: StoryIndex): PromiseLike { + return super.initializeWithStoryIndex(storyIndex).then(() => { + if (!global.FEATURES?.storyStoreV7) { + this.channel.emit(Events.SET_STORIES, this.storyStore.getSetStoriesPayload()); + } - return this.selectSpecifiedStory(); - }); + return this.selectSpecifiedStory(); + }); } // Use the selection specifier to choose a story, then render it @@ -270,44 +144,11 @@ export class PreviewWeb { }: { getProjectAnnotations: () => MaybePromise>; }) { - delete this.previewEntryError; + await super.onGetProjectAnnotationsChanged({ getProjectAnnotations }); - const projectAnnotations = await this.getProjectAnnotationsOrRenderError(getProjectAnnotations); - if (!this.storyStore.projectAnnotations) { - await this.initializeWithProjectAnnotations(projectAnnotations); - return; - } - - await this.storyStore.setProjectAnnotations(projectAnnotations); - this.emitGlobals(); this.renderSelection(); } - async onStoryIndexChanged() { - delete this.previewEntryError; - - if (!this.storyStore.projectAnnotations) { - // We haven't successfully set project annotations yet, - // we need to do that before we can do anything else. - return; - } - - try { - const storyIndex = await this.getStoryIndexFromServer(); - - // This is the first time the story index worked, let's load it into the store - if (!this.storyStore.storyIndex) { - await this.initializeWithStoryIndex(storyIndex); - } - - // Update the store with the new stories. - await this.onStoriesChanged({ storyIndex }); - } catch (err) { - this.renderPreviewEntryError('Error loading story index:', err); - throw err; - } - } - // This happens when a glob gets HMR-ed async onStoriesChanged({ importFn, @@ -316,7 +157,8 @@ export class PreviewWeb { importFn?: ModuleImportFn; storyIndex?: StoryIndex; }) { - await this.storyStore.onStoriesChanged({ importFn, storyIndex }); + super.onStoriesChanged({ importFn, storyIndex }); + if (!global.FEATURES?.storyStoreV7) { this.channel.emit(Events.SET_STORIES, await this.storyStore.getSetStoriesPayload()); } @@ -350,22 +192,13 @@ export class PreviewWeb { } async onUpdateGlobals({ globals }: { globals: Globals }) { - this.storyStore.globals.update(globals); - - await Promise.all(this.storyRenders.map((r) => r.rerender())); + super.onUpdateGlobals({ globals }); if (this.currentRender instanceof DocsRender) await this.currentRender.rerender(); - - this.channel.emit(Events.GLOBALS_UPDATED, { - globals: this.storyStore.globals.get(), - initialGlobals: this.storyStore.globals.initialGlobals, - }); } async onUpdateArgs({ storyId, updatedArgs }: { storyId: StoryId; updatedArgs: Args }) { - this.storyStore.args.update(storyId, updatedArgs); - - await Promise.all(this.storyRenders.filter((r) => r.id === storyId).map((r) => r.rerender())); + super.onUpdateArgs({ storyId, updatedArgs }); // NOTE: we aren't checking to see the story args are targetted at the "right" story. // This is because we may render >1 story on the page and there is no easy way to keep track @@ -373,40 +206,6 @@ export class PreviewWeb { // However, in `modernInlineRender`, the individual stories track their own events as they // each call `renderStoryToElement` below. if (this.currentRender instanceof DocsRender) await this.currentRender.rerender(); - - this.channel.emit(Events.STORY_ARGS_UPDATED, { - storyId, - args: this.storyStore.args.get(storyId), - }); - } - - async onResetArgs({ storyId, argNames }: { storyId: string; argNames?: string[] }) { - // NOTE: we have to be careful here and avoid await-ing when updating the current story's args. - // That's because below in `renderStoryToElement` we have also bound to this event and will - // render the story in the same tick. - // However, we can do that safely as the current story is available in `this.currentRender.story` - const { initialArgs } = - storyId === this.currentRender?.id - ? this.currentRender.story - : await this.storyStore.loadStory({ storyId }); - - const argNamesToReset = argNames || Object.keys(this.storyStore.args.get(storyId)); - const updatedArgs = argNamesToReset.reduce((acc, argName) => { - acc[argName] = initialArgs[argName]; - return acc; - }, {} as Partial); - - await this.onUpdateArgs({ storyId, updatedArgs }); - } - - // ForceReRender does not include a story id, so we simply must - // re-render all stories in case they are relevant - async onForceReRender() { - await Promise.all(this.storyRenders.map((r) => r.rerender())); - } - - async onForceRemount({ storyId }: { storyId: StoryId }) { - await Promise.all(this.storyRenders.filter((r) => r.id === storyId).map((r) => r.remount())); } // RENDERING @@ -448,10 +247,7 @@ export class PreviewWeb { lastRender = null; } - const storyRender: PreviewWeb['currentRender'] = new StoryRender< - HTMLElement, - TFramework - >( + const storyRender = new StoryRender( this.channel, this.storyStore, this.renderToDOM, @@ -517,7 +313,7 @@ export class PreviewWeb { } if (selection.viewMode === 'docs' || parameters.docsOnly) { - this.currentRender = storyRender.toDocsRender(); + this.currentRender = DocsRender.fromStoryRender(storyRender); this.currentRender.renderToElement( this.view.prepareForDocs(), this.renderStoryToElement.bind(this) @@ -534,7 +330,7 @@ export class PreviewWeb { // we will change it to go ahead and load the story, which will end up being // "instant", although async. renderStoryToElement(story: Story, element: HTMLElement) { - const render = new StoryRender( + const render = new StoryRender( this.channel, this.storyStore, this.renderToDOM, @@ -553,7 +349,7 @@ export class PreviewWeb { } async teardownRender( - render: HTMLStoryRender | DocsRender, + render: Render, { viewModeChanged }: { viewModeChanged?: boolean } = {} ) { this.storyRenders = this.storyRenders.filter((r) => r !== render); @@ -600,11 +396,8 @@ export class PreviewWeb { } renderPreviewEntryError(reason: string, err: Error) { - this.previewEntryError = err; - logger.error(reason); - logger.error(err); + super.renderPreviewEntryError(reason, err); this.view.showErrorDisplay(err); - this.channel.emit(Events.CONFIG_ERROR, err); } renderMissingStory() { diff --git a/lib/preview-web/src/StoryRender.ts b/lib/preview-web/src/StoryRender.ts index 70d4e311570..d0ede7cc122 100644 --- a/lib/preview-web/src/StoryRender.ts +++ b/lib/preview-web/src/StoryRender.ts @@ -9,7 +9,6 @@ import { import { Story, RenderContext, StoryStore } from '@storybook/store'; import { Channel } from '@storybook/addons'; import { STORY_RENDER_PHASE_CHANGED, STORY_RENDERED } from '@storybook/core-events'; -import { DocsRender } from './DocsRender'; const { AbortController } = global; @@ -41,28 +40,34 @@ export type RenderContextCallbacks = Pick< export const PREPARE_ABORTED = new Error('prepareAborted'); -export class StoryRender< - CanvasElement extends HTMLElement | void, - TFramework extends AnyFramework -> { +export interface Render { + id: StoryId; + story?: Story; + isPreparing: () => boolean; + disableKeyListeners: boolean; + teardown: (options: { viewModeChanged: boolean }) => Promise; + renderToElement: (canvasElement: HTMLElement, renderStoryToElement?: any) => Promise; +} + +export class StoryRender implements Render { public story?: Story; public phase?: RenderPhase; private abortController?: AbortController; - private canvasElement?: CanvasElement; + private canvasElement?: HTMLElement; private notYetRendered = true; public disableKeyListeners = false; constructor( - private channel: Channel, - private store: StoryStore, + public channel: Channel, + public store: StoryStore, private renderToScreen: ( renderContext: RenderContext, - canvasElement: CanvasElement + canvasElement: HTMLElement ) => void | Promise, private callbacks: RenderContextCallbacks, public id: StoryId, @@ -104,7 +109,7 @@ export class StoryRender< } // The two story "renders" are equal and have both loaded the same story - isEqual(other?: StoryRender | DocsRender) { + isEqual(other?: Render) { return other && this.id === other.id && this.story && this.story === other.story; } @@ -116,15 +121,11 @@ export class StoryRender< return ['rendering', 'playing'].includes(this.phase); } - toDocsRender() { - return new DocsRender(this.channel, this.store, this.id, this.story); - } - context() { return this.store.getStoryContext(this.story); } - async renderToElement(canvasElement: CanvasElement) { + async renderToElement(canvasElement: HTMLElement) { this.canvasElement = canvasElement; // FIXME: this comment diff --git a/lib/store/src/StoryStore.ts b/lib/store/src/StoryStore.ts index 04b15b465a4..d76e91fa613 100644 --- a/lib/store/src/StoryStore.ts +++ b/lib/store/src/StoryStore.ts @@ -26,6 +26,7 @@ import type { Path, ExtractOptions, BoundStory, + PromiseLike, StoryIndex, StoryIndexEntry, V2CompatIndexEntry, diff --git a/lib/store/src/types.ts b/lib/store/src/types.ts index 98d39ec2b56..69b472c9cca 100644 --- a/lib/store/src/types.ts +++ b/lib/store/src/types.ts @@ -26,7 +26,7 @@ import type { export type { StoryId, Parameters }; export type Path = string; export type ModuleExports = Record; -type PromiseLike = Promise | SynchronousPromise; +export type PromiseLike = Promise | SynchronousPromise; export type ModuleImportFn = (path: Path) => PromiseLike; export type NormalizedProjectAnnotations = From 8b03965d3848acac7e1a82e59488e780a6d85f89 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 28 Mar 2022 17:11:24 +1100 Subject: [PATCH 05/12] Bare preview works with `external-docs` app --- examples/external-docs/src/blocks.tsx | 6 +++--- lib/preview-web/src/index.ts | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/external-docs/src/blocks.tsx b/examples/external-docs/src/blocks.tsx index 5853a5c526e..457d62e7ed1 100644 --- a/examples/external-docs/src/blocks.tsx +++ b/examples/external-docs/src/blocks.tsx @@ -1,6 +1,6 @@ import React, { createContext, useContext, useState, useRef, useEffect } from 'react'; -import { PreviewWeb } from '@storybook/preview-web'; +import { Preview } from '@storybook/preview-web'; import { Path, ModuleExports, StoryIndex } from '@storybook/store'; import { toId, AnyFramework, ComponentTitle, StoryId } from '@storybook/csf'; @@ -93,7 +93,7 @@ export const DocsProvider: React.FC = ({ children }) => { }; }; - let previewPromise: Promise>; + let previewPromise: Promise>; const getPreview = () => { const importFn = (importPath: Path) => { console.log(knownCsfFiles, importPath); @@ -112,7 +112,7 @@ export const DocsProvider: React.FC = ({ children }) => { storyIndex, }); } else { - const preview = new PreviewWeb(); + const preview = new Preview(); await preview.initialize({ getStoryIndex: () => storyIndex, importFn, diff --git a/lib/preview-web/src/index.ts b/lib/preview-web/src/index.ts index 78f8cd58974..c0212073168 100644 --- a/lib/preview-web/src/index.ts +++ b/lib/preview-web/src/index.ts @@ -1,3 +1,4 @@ +export { Preview } from './Preview'; export { PreviewWeb } from './PreviewWeb'; export { composeConfigs } from './composeConfigs'; From 6fb68dc8ce0f477341f698a1ffc1326889426e9d Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 28 Mar 2022 17:19:15 +1100 Subject: [PATCH 06/12] Remove comment --- lib/preview-web/src/Preview.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/preview-web/src/Preview.tsx b/lib/preview-web/src/Preview.tsx index 281760a86c9..4506dfcae6a 100644 --- a/lib/preview-web/src/Preview.tsx +++ b/lib/preview-web/src/Preview.tsx @@ -1,12 +1,3 @@ -// - [ ] Superclass of PreviewWeb that doesn’t: -// - [ ] Handle selection + render selected story -// - [ ] Emit SET_STORIES -// - [ ] Render docs -// - [ ] Render errors -// - [ ] Has no WEB VIEW -// - [ ] Deal with the URL -// - [ ] StoryRender should not import from DocsRender - import dedent from 'ts-dedent'; import global from 'global'; import { SynchronousPromise } from 'synchronous-promise'; From 16390bf871b3e942ab181ee000e1ce594c6f063d Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Tue, 29 Mar 2022 17:45:58 +1100 Subject: [PATCH 07/12] Fix Deepscaan --- .../external-docs/src/AccountForm.stories.tsx | 1 - examples/external-docs/src/blocks.tsx | 2 +- lib/preview-web/src/Preview.tsx | 4 +- yarn.lock | 728 +----------------- 4 files changed, 8 insertions(+), 727 deletions(-) diff --git a/examples/external-docs/src/AccountForm.stories.tsx b/examples/external-docs/src/AccountForm.stories.tsx index 2d67351b620..46fe06ff649 100644 --- a/examples/external-docs/src/AccountForm.stories.tsx +++ b/examples/external-docs/src/AccountForm.stories.tsx @@ -1,7 +1,6 @@ /* eslint-disable storybook/await-interactions */ /* eslint-disable storybook/use-storybook-testing-library */ // @TODO: use addon-interactions and remove the rule disable above -import React from 'react'; import { ComponentStoryObj, ComponentMeta } from '@storybook/react'; import { screen } from '@testing-library/dom'; import userEvent from '@testing-library/user-event'; diff --git a/examples/external-docs/src/blocks.tsx b/examples/external-docs/src/blocks.tsx index 457d62e7ed1..9a4281a209d 100644 --- a/examples/external-docs/src/blocks.tsx +++ b/examples/external-docs/src/blocks.tsx @@ -1,4 +1,4 @@ -import React, { createContext, useContext, useState, useRef, useEffect } from 'react'; +import React, { createContext, useContext, useRef, useEffect } from 'react'; import { Preview } from '@storybook/preview-web'; import { Path, ModuleExports, StoryIndex } from '@storybook/store'; diff --git a/lib/preview-web/src/Preview.tsx b/lib/preview-web/src/Preview.tsx index 4506dfcae6a..4d0511b4832 100644 --- a/lib/preview-web/src/Preview.tsx +++ b/lib/preview-web/src/Preview.tsx @@ -245,11 +245,11 @@ export class Preview { // render the story in the same tick. // However, we can do that safely as the current story is available in `this.storyRenders` const render = this.storyRenders.find((r) => r.id === storyId); - const { initialArgs } = render?.story || (await this.storyStore.loadStory({ storyId })); + const story = render?.story || (await this.storyStore.loadStory({ storyId })); const argNamesToReset = argNames || Object.keys(this.storyStore.args.get(storyId)); const updatedArgs = argNamesToReset.reduce((acc, argName) => { - acc[argName] = initialArgs[argName]; + acc[argName] = story.initialArgs[argName]; return acc; }, {} as Partial); diff --git a/yarn.lock b/yarn.lock index 934452fb183..9127a20de60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6832,28 +6832,6 @@ __metadata: languageName: node linkType: hard -"@storybook/addons@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/addons@npm:6.5.0-alpha.49" - dependencies: - "@storybook/api": 6.5.0-alpha.49 - "@storybook/channels": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/router": 6.5.0-alpha.49 - "@storybook/theming": 6.5.0-alpha.49 - "@types/webpack-env": ^1.16.0 - core-js: ^3.8.2 - global: ^4.4.0 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: f62eb64025d40441157c07702fc93880cfaf44cfb1edb324969faf0302f0c77842b4954a8b08817f50acce2ed46efed572984ee53a5675dd1a52fd2bd6bd6585 - languageName: node - linkType: hard - "@storybook/angular@6.5.0-alpha.51, @storybook/angular@workspace:*, @storybook/angular@workspace:app/angular": version: 0.0.0-use.local resolution: "@storybook/angular@workspace:app/angular" @@ -7003,34 +6981,6 @@ __metadata: languageName: node linkType: hard -"@storybook/api@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/api@npm:6.5.0-alpha.49" - dependencies: - "@storybook/channels": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/router": 6.5.0-alpha.49 - "@storybook/semver": ^7.3.2 - "@storybook/theming": 6.5.0-alpha.49 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - regenerator-runtime: ^0.13.7 - store2: ^2.12.0 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 908c93b5b46a948cdd9cc16e7d4149babb4f953cc79223248f0d146c2268d2a4bfde4fb603a726f837531088595c9d17126062413bca3f3df2d5fbca3552b36f - languageName: node - linkType: hard - "@storybook/babel-plugin-require-context-hook@npm:1.0.1": version: 1.0.1 resolution: "@storybook/babel-plugin-require-context-hook@npm:1.0.1" @@ -7103,67 +7053,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-webpack4@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/builder-webpack4@npm:6.5.0-alpha.49" - dependencies: - "@babel/core": ^7.12.10 - "@storybook/addons": 6.5.0-alpha.49 - "@storybook/api": 6.5.0-alpha.49 - "@storybook/channel-postmessage": 6.5.0-alpha.49 - "@storybook/channels": 6.5.0-alpha.49 - "@storybook/client-api": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/components": 6.5.0-alpha.49 - "@storybook/core-common": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - "@storybook/node-logger": 6.5.0-alpha.49 - "@storybook/preview-web": 6.5.0-alpha.49 - "@storybook/router": 6.5.0-alpha.49 - "@storybook/semver": ^7.3.2 - "@storybook/store": 6.5.0-alpha.49 - "@storybook/theming": 6.5.0-alpha.49 - "@storybook/ui": 6.5.0-alpha.49 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/webpack": ^4.41.26 - autoprefixer: ^9.8.6 - babel-loader: ^8.0.0 - case-sensitive-paths-webpack-plugin: ^2.3.0 - core-js: ^3.8.2 - css-loader: ^3.6.0 - file-loader: ^6.2.0 - find-up: ^5.0.0 - fork-ts-checker-webpack-plugin: ^4.1.6 - glob: ^7.1.6 - glob-promise: ^3.4.0 - global: ^4.4.0 - html-webpack-plugin: ^4.0.0 - pnp-webpack-plugin: 1.6.4 - postcss: ^7.0.36 - postcss-flexbugs-fixes: ^4.2.1 - postcss-loader: ^4.2.0 - raw-loader: ^4.0.2 - stable: ^0.1.8 - style-loader: ^1.3.0 - terser-webpack-plugin: ^4.2.3 - ts-dedent: ^2.0.0 - url-loader: ^4.1.1 - util-deprecate: ^1.0.2 - webpack: 4 - webpack-dev-middleware: ^3.7.3 - webpack-filter-warnings-plugin: ^1.2.1 - webpack-hot-middleware: ^2.25.1 - webpack-virtual-modules: ^0.2.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 3bf7a32cfab92efdefdfccb76b6afb23fd43e091de746a39abe60e9d3ca789fefb24935375866594f5faacf40e12c2f0c04aecc4543b42ee5c665d64e8cd8cc0 - languageName: node - linkType: hard - "@storybook/builder-webpack5@6.5.0-alpha.51, @storybook/builder-webpack5@workspace:lib/builder-webpack5": version: 0.0.0-use.local resolution: "@storybook/builder-webpack5@workspace:lib/builder-webpack5" @@ -7234,21 +7123,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-postmessage@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/channel-postmessage@npm:6.5.0-alpha.49" - dependencies: - "@storybook/channels": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - core-js: ^3.8.2 - global: ^4.4.0 - qs: ^6.10.0 - telejson: ^5.3.3 - checksum: 7d459d58dfe794dfdfa8eb0a113c0ddc71d169b99827e72f03ddcc29c4d5e5f10f819de506e9d62d00b25b0753b3980bc9088aab6223cd914c2ebbb4ed5c78e8 - languageName: node - linkType: hard - "@storybook/channel-websocket@6.5.0-alpha.51, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket": version: 0.0.0-use.local resolution: "@storybook/channel-websocket@workspace:lib/channel-websocket" @@ -7261,19 +7135,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-websocket@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/channel-websocket@npm:6.5.0-alpha.49" - dependencies: - "@storybook/channels": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - core-js: ^3.8.2 - global: ^4.4.0 - telejson: ^5.3.3 - checksum: 2c9ba7298c955ac15831479d319835c54ffc56b81ac1ea05e098ed7569b968e1e495a58dce09be2cda751d666915c38906e31c1f4e291a7303447616e99da229 - languageName: node - linkType: hard - "@storybook/channels@6.5.0-alpha.51, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": version: 0.0.0-use.local resolution: "@storybook/channels@workspace:lib/channels" @@ -7295,17 +7156,6 @@ __metadata: languageName: node linkType: hard -"@storybook/channels@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/channels@npm:6.5.0-alpha.49" - dependencies: - core-js: ^3.8.2 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - checksum: b02d9c4026609c7654c7174bcc29245e19ac3fa623f08fe68bb88f9198f7cb83d4ccff953bb29d655de370867ea74b35f2962b5ecae3e11adaee6fc2dd1da167 - languageName: node - linkType: hard - "@storybook/cli@6.5.0-alpha.51, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli": version: 0.0.0-use.local resolution: "@storybook/cli@workspace:lib/cli" @@ -7383,37 +7233,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/client-api@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/client-api@npm:6.5.0-alpha.49" - dependencies: - "@storybook/addons": 6.5.0-alpha.49 - "@storybook/channel-postmessage": 6.5.0-alpha.49 - "@storybook/channels": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/store": 6.5.0-alpha.49 - "@types/qs": ^6.9.5 - "@types/webpack-env": ^1.16.0 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - qs: ^6.10.0 - regenerator-runtime: ^0.13.7 - store2: ^2.12.0 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 18cc3263e6ec8c54dc523ad7febaa159dbe9ee4d0572f34a60d1a321d78b696d27d741433d791ecdddaeb9a569b7a0fa120a4298075ead970e8909f8189e7e72 - languageName: node - linkType: hard - "@storybook/client-logger@6.5.0-alpha.51, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": version: 0.0.0-use.local resolution: "@storybook/client-logger@workspace:lib/client-logger" @@ -7433,16 +7252,6 @@ __metadata: languageName: node linkType: hard -"@storybook/client-logger@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/client-logger@npm:6.5.0-alpha.49" - dependencies: - core-js: ^3.8.2 - global: ^4.4.0 - checksum: 5e476c0d22054afa19ae3b7cb3e72d201c3cc80c6308ad9c6946982c0bef0e56bbb71ee4348c0f256774b002b5ddd9ba696d064c4f294128db7ec189d1b93b05 - languageName: node - linkType: hard - "@storybook/codemod@6.5.0-alpha.51, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod": version: 0.0.0-use.local resolution: "@storybook/codemod@workspace:lib/codemod" @@ -7504,22 +7313,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/components@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/components@npm:6.5.0-alpha.49" - dependencies: - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/theming": 6.5.0-alpha.49 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 172f8c585cfec449a0ffe1e9cbd88dd20abae3f85453eceedfcc80981a682c549af4420ac99b6d93102ca25f393433d51b1e24b407f1534dfd24074ebbf96d6b - languageName: node - linkType: hard - "@storybook/core-client@6.5.0-alpha.51, @storybook/core-client@workspace:lib/core-client": version: 0.0.0-use.local resolution: "@storybook/core-client@workspace:lib/core-client" @@ -7554,41 +7347,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-client@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/core-client@npm:6.5.0-alpha.49" - dependencies: - "@storybook/addons": 6.5.0-alpha.49 - "@storybook/channel-postmessage": 6.5.0-alpha.49 - "@storybook/channel-websocket": 6.5.0-alpha.49 - "@storybook/client-api": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/preview-web": 6.5.0-alpha.49 - "@storybook/store": 6.5.0-alpha.49 - "@storybook/ui": 6.5.0-alpha.49 - airbnb-js-shims: ^2.2.1 - ansi-to-html: ^0.6.11 - core-js: ^3.8.2 - global: ^4.4.0 - lodash: ^4.17.21 - qs: ^6.10.0 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - unfetch: ^4.2.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - webpack: "*" - peerDependenciesMeta: - typescript: - optional: true - checksum: 541beb0dc5520321b3082d2566830e36ec3e4826da0957793662dc9dba5d141217d4a16e9c4a24f9e5c7c1191872d0f90925c728b2112c28c309d4722de5e917 - languageName: node - linkType: hard - "@storybook/core-common@6.5.0-alpha.51, @storybook/core-common@workspace:lib/core-common": version: 0.0.0-use.local resolution: "@storybook/core-common@workspace:lib/core-common" @@ -7658,70 +7416,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-common@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/core-common@npm:6.5.0-alpha.49" - dependencies: - "@babel/core": ^7.12.10 - "@babel/plugin-proposal-class-properties": ^7.12.1 - "@babel/plugin-proposal-decorators": ^7.12.12 - "@babel/plugin-proposal-export-default-from": ^7.12.1 - "@babel/plugin-proposal-nullish-coalescing-operator": ^7.12.1 - "@babel/plugin-proposal-object-rest-spread": ^7.12.1 - "@babel/plugin-proposal-optional-chaining": ^7.12.7 - "@babel/plugin-proposal-private-methods": ^7.12.1 - "@babel/plugin-proposal-private-property-in-object": ^7.12.1 - "@babel/plugin-syntax-dynamic-import": ^7.8.3 - "@babel/plugin-transform-arrow-functions": ^7.12.1 - "@babel/plugin-transform-block-scoping": ^7.12.12 - "@babel/plugin-transform-classes": ^7.12.1 - "@babel/plugin-transform-destructuring": ^7.12.1 - "@babel/plugin-transform-for-of": ^7.12.1 - "@babel/plugin-transform-parameters": ^7.12.1 - "@babel/plugin-transform-shorthand-properties": ^7.12.1 - "@babel/plugin-transform-spread": ^7.12.1 - "@babel/preset-env": ^7.12.11 - "@babel/preset-react": ^7.12.10 - "@babel/preset-typescript": ^7.12.7 - "@babel/register": ^7.12.1 - "@storybook/node-logger": 6.5.0-alpha.49 - "@storybook/semver": ^7.3.2 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/pretty-hrtime": ^1.0.0 - babel-loader: ^8.0.0 - babel-plugin-macros: ^3.0.1 - babel-plugin-polyfill-corejs3: ^0.1.0 - chalk: ^4.1.0 - core-js: ^3.8.2 - express: ^4.17.1 - file-system-cache: ^1.0.5 - find-up: ^5.0.0 - fork-ts-checker-webpack-plugin: ^6.0.4 - fs-extra: ^9.0.1 - glob: ^7.1.6 - handlebars: ^4.7.7 - interpret: ^2.2.0 - json5: ^2.1.3 - lazy-universal-dotenv: ^3.0.1 - picomatch: ^2.3.0 - pkg-dir: ^5.0.0 - pretty-hrtime: ^1.0.3 - resolve-from: ^5.0.0 - slash: ^3.0.0 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - webpack: 4 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: a24d0b571351e193660d63f921161fb9efcffdb17dece5616adcacf9eaddfe20dd2112495e898712e72574389609525c5b3471ae7f6f758ea21a9ccf400c0f85 - languageName: node - linkType: hard - "@storybook/core-events@6.5.0-alpha.51, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": version: 0.0.0-use.local resolution: "@storybook/core-events@workspace:lib/core-events" @@ -7739,15 +7433,6 @@ __metadata: languageName: node linkType: hard -"@storybook/core-events@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/core-events@npm:6.5.0-alpha.49" - dependencies: - core-js: ^3.8.2 - checksum: 9c1b08fbe687885c598426787a393f9a04d017dc0fbe8e25922abf9d24c6e6e8e2c3739079bad71bd43cff17f96698dd945e75b88986ea17389fd2963fcc61a1 - languageName: node - linkType: hard - "@storybook/core-server@6.5.0-alpha.51, @storybook/core-server@workspace:lib/core-server": version: 0.0.0-use.local resolution: "@storybook/core-server@workspace:lib/core-server" @@ -7815,68 +7500,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-server@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/core-server@npm:6.5.0-alpha.49" - dependencies: - "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-webpack4": 6.5.0-alpha.49 - "@storybook/core-client": 6.5.0-alpha.49 - "@storybook/core-common": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/csf-tools": 6.5.0-alpha.49 - "@storybook/manager-webpack4": 6.5.0-alpha.49 - "@storybook/node-logger": 6.5.0-alpha.49 - "@storybook/semver": ^7.3.2 - "@storybook/store": 6.5.0-alpha.49 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/node-fetch": ^2.5.7 - "@types/pretty-hrtime": ^1.0.0 - "@types/webpack": ^4.41.26 - better-opn: ^2.1.1 - boxen: ^5.1.2 - chalk: ^4.1.0 - cli-table3: ^0.6.1 - commander: ^6.2.1 - compression: ^1.7.4 - core-js: ^3.8.2 - cpy: ^8.1.2 - detect-port: ^1.3.0 - express: ^4.17.1 - fs-extra: ^9.0.1 - global: ^4.4.0 - globby: ^11.0.2 - ip: ^1.1.5 - lodash: ^4.17.21 - node-fetch: ^2.6.7 - open: ^8.4.0 - pretty-hrtime: ^1.0.3 - prompts: ^2.4.0 - regenerator-runtime: ^0.13.7 - serve-favicon: ^2.5.0 - slash: ^3.0.0 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - watchpack: ^2.2.0 - webpack: 4 - ws: ^8.2.3 - x-default-browser: ^0.4.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - "@storybook/builder-webpack5": - optional: true - "@storybook/manager-webpack5": - optional: true - typescript: - optional: true - checksum: 3325e61401c7a37e1c1cab205c77253dfbd3d737144eee966af7108d6de473a791b370e655fd4965a0566904486cc9b51eb2181a71293b5eebb5bfacff09a94c - languageName: node - linkType: hard - "@storybook/core@6.5.0-alpha.51, @storybook/core@workspace:*, @storybook/core@workspace:lib/core": version: 0.0.0-use.local resolution: "@storybook/core@workspace:lib/core" @@ -7897,27 +7520,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/core@npm:6.5.0-alpha.49" - dependencies: - "@storybook/core-client": 6.5.0-alpha.49 - "@storybook/core-server": 6.5.0-alpha.49 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - webpack: "*" - peerDependenciesMeta: - "@storybook/builder-webpack5": - optional: true - "@storybook/manager-webpack5": - optional: true - typescript: - optional: true - checksum: 4c34b5dbf8582a2736c285f1a1e0e45f9bdb1c7e41f7cfd219b314b6ac51e2e310fe89cd2c695db439b16d7e3492047a469d5570bf996ecb3852c7881f1bbe78 - languageName: node - linkType: hard - "@storybook/csf-tools@6.5.0-alpha.51, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": version: 0.0.0-use.local resolution: "@storybook/csf-tools@workspace:lib/csf-tools" @@ -7947,33 +7549,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/csf-tools@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/csf-tools@npm:6.5.0-alpha.49" - dependencies: - "@babel/core": ^7.12.10 - "@babel/generator": ^7.12.11 - "@babel/parser": ^7.12.11 - "@babel/plugin-transform-react-jsx": ^7.12.12 - "@babel/preset-env": ^7.12.11 - "@babel/traverse": ^7.12.11 - "@babel/types": ^7.12.11 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/mdx1-csf": canary - core-js: ^3.8.2 - fs-extra: ^9.0.1 - global: ^4.4.0 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - peerDependencies: - "@storybook/mdx2-csf": "*" - peerDependenciesMeta: - "@storybook/mdx2-csf": - optional: true - checksum: 4c2eb5617ebafc70ea96df4ec65081b0399790572b75f51f01243c3d8d033c91a8fdd951db66df6fb05c3809477bd8e9e51687d56dd101cbac6b19489f3dcac7 - languageName: node - linkType: hard - "@storybook/csf@npm:0.0.2--canary.507502b.0": version: 0.0.2--canary.507502b.0 resolution: "@storybook/csf@npm:0.0.2--canary.507502b.0" @@ -8040,21 +7615,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/docs-tools@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/docs-tools@npm:6.5.0-alpha.49" - dependencies: - "@babel/core": ^7.12.10 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/store": 6.5.0-alpha.49 - core-js: ^3.8.2 - doctrine: ^3.0.0 - lodash: ^4.17.21 - regenerator-runtime: ^0.13.7 - checksum: ab03841240d77eee22f9825cc4eb35123996b5b012fb2653aef71dfe2a4bc4e8c99b40cf8d63dec342194eab76f72bdbb22769e433e50bc6eece9ce8abe01534 - languageName: node - linkType: hard - "@storybook/ember-cli-storybook@npm:^0.2.1": version: 0.2.1 resolution: "@storybook/ember-cli-storybook@npm:0.2.1" @@ -8166,12 +7726,12 @@ __metadata: "@babel/preset-env": ^7.12.11 "@babel/preset-react": ^7.12.10 "@babel/preset-typescript": ^7.12.7 - "@storybook/components": 6.5.0-alpha.49 + "@storybook/components": 6.5.0-alpha.51 "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/preview-web": 6.5.0-alpha.49 - "@storybook/react": 6.5.0-alpha.49 - "@storybook/store": 6.5.0-alpha.49 - "@storybook/theming": 6.5.0-alpha.49 + "@storybook/preview-web": 6.5.0-alpha.51 + "@storybook/react": 6.5.0-alpha.51 + "@storybook/store": 6.5.0-alpha.51 + "@storybook/theming": 6.5.0-alpha.51 "@testing-library/dom": ^7.31.2 "@testing-library/user-event": ^13.1.9 "@types/babel__preset-env": ^7 @@ -8334,55 +7894,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/manager-webpack4@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/manager-webpack4@npm:6.5.0-alpha.49" - dependencies: - "@babel/core": ^7.12.10 - "@babel/plugin-transform-template-literals": ^7.12.1 - "@babel/preset-react": ^7.12.10 - "@storybook/addons": 6.5.0-alpha.49 - "@storybook/core-client": 6.5.0-alpha.49 - "@storybook/core-common": 6.5.0-alpha.49 - "@storybook/node-logger": 6.5.0-alpha.49 - "@storybook/theming": 6.5.0-alpha.49 - "@storybook/ui": 6.5.0-alpha.49 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/webpack": ^4.41.26 - babel-loader: ^8.0.0 - case-sensitive-paths-webpack-plugin: ^2.3.0 - chalk: ^4.1.0 - core-js: ^3.8.2 - css-loader: ^3.6.0 - express: ^4.17.1 - file-loader: ^6.2.0 - find-up: ^5.0.0 - fs-extra: ^9.0.1 - html-webpack-plugin: ^4.0.0 - node-fetch: ^2.6.7 - pnp-webpack-plugin: 1.6.4 - read-pkg-up: ^7.0.1 - regenerator-runtime: ^0.13.7 - resolve-from: ^5.0.0 - style-loader: ^1.3.0 - telejson: ^5.3.3 - terser-webpack-plugin: ^4.2.3 - ts-dedent: ^2.0.0 - url-loader: ^4.1.1 - util-deprecate: ^1.0.2 - webpack: 4 - webpack-dev-middleware: ^3.7.3 - webpack-virtual-modules: ^0.2.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: fd663d05042266f852929c22bdf4e58c1943fe1bafb35d65f7c98bafaee83fe79beb8cf149655e5b5093191b1e02a661ced471d3b8e60c9351a51551551d034b - languageName: node - linkType: hard - "@storybook/manager-webpack5@workspace:lib/manager-webpack5": version: 0.0.0-use.local resolution: "@storybook/manager-webpack5@workspace:lib/manager-webpack5" @@ -8493,19 +8004,6 @@ __metadata: languageName: node linkType: hard -"@storybook/node-logger@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/node-logger@npm:6.5.0-alpha.49" - dependencies: - "@types/npmlog": ^4.1.2 - chalk: ^4.1.0 - core-js: ^3.8.2 - npmlog: ^5.0.1 - pretty-hrtime: ^1.0.3 - checksum: b0fcda7e88e96a5f8acb197cbff7c2517d18d9aeb771d5569c65937769b710f63cf60704fece119f1172c4368cc29f0c03d323f3649bb9f1454bc03b9cb5a8ed - languageName: node - linkType: hard - "@storybook/postinstall@6.5.0-alpha.51, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall": version: 0.0.0-use.local resolution: "@storybook/postinstall@workspace:lib/postinstall" @@ -8605,33 +8103,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preview-web@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/preview-web@npm:6.5.0-alpha.49" - dependencies: - "@storybook/addons": 6.5.0-alpha.49 - "@storybook/channel-postmessage": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/store": 6.5.0-alpha.49 - ansi-to-html: ^0.6.11 - core-js: ^3.8.2 - global: ^4.4.0 - lodash: ^4.17.21 - qs: ^6.10.0 - regenerator-runtime: ^0.13.7 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - unfetch: ^4.2.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 3e582a68f59eaeda299a68c5d1e09f92b066b9dbc768692aef8dc99d0f83543427a9fcb35dd24241ebbfd1520d189eb3cbe6e750122ba39b1eb96452feb0f3e7 - languageName: node - linkType: hard - "@storybook/react-docgen-typescript-plugin@npm:1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0": version: 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0 resolution: "@storybook/react-docgen-typescript-plugin@npm:1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0" @@ -8715,71 +8186,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/react@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/react@npm:6.5.0-alpha.49" - 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.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/core": 6.5.0-alpha.49 - "@storybook/core-common": 6.5.0-alpha.49 - "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/docs-tools": 6.5.0-alpha.49 - "@storybook/node-logger": 6.5.0-alpha.49 - "@storybook/react-docgen-typescript-plugin": 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0 - "@storybook/semver": ^7.3.2 - "@storybook/store": 6.5.0-alpha.49 - "@types/estree": ^0.0.51 - "@types/node": ^14.14.20 || ^16.0.0 - "@types/webpack-env": ^1.16.0 - acorn: ^7.4.1 - acorn-jsx: ^5.3.1 - acorn-walk: ^7.2.0 - babel-plugin-add-react-displayname: ^0.0.5 - babel-plugin-react-docgen: ^4.2.1 - core-js: ^3.8.2 - escodegen: ^2.0.0 - global: ^4.4.0 - html-tags: ^3.1.0 - lodash: ^4.17.21 - prop-types: ^15.7.2 - react-element-to-jsx-string: ^14.3.4 - react-refresh: ^0.11.0 - read-pkg-up: ^7.0.1 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - webpack: ">=4.43.0 <6.0.0" - peerDependencies: - "@babel/core": ^7.11.5 - jest-specific-snapshot: ^4.0.0 - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - require-from-string: ^2.0.2 - peerDependenciesMeta: - "@babel/core": - optional: true - "@storybook/builder-webpack4": - optional: true - "@storybook/builder-webpack5": - optional: true - "@storybook/manager-webpack4": - optional: true - "@storybook/manager-webpack5": - optional: true - typescript: - optional: true - bin: - build-storybook: bin/build.js - start-storybook: bin/index.js - storybook-server: bin/index.js - checksum: 0c5d4f5643ff29b0d479e66409fe5d4c5b0c8aa69fabe0e714d9d97f54650819796cfa27887ed08afbefe4314c8fe9d5145f0fb7f9193fab155d971ee7e3c94e - languageName: node - linkType: hard - "@storybook/root@workspace:.": version: 0.0.0-use.local resolution: "@storybook/root@workspace:." @@ -9073,20 +8479,6 @@ __metadata: languageName: node linkType: hard -"@storybook/router@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/router@npm:6.5.0-alpha.49" - dependencies: - "@storybook/client-logger": 6.5.0-alpha.49 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 95f42555a36da68ddadb1a8c4a2ba028132fc95fbae79adeff900588bca2efc9b4218aaac38edf2fb8696718ec8f886838dcec875909b3944cf55f0befeca7e5 - languageName: node - linkType: hard - "@storybook/semver@npm:^7.3.2": version: 7.3.2 resolution: "@storybook/semver@npm:7.3.2" @@ -9177,32 +8569,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/store@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/store@npm:6.5.0-alpha.49" - dependencies: - "@storybook/addons": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - "@storybook/csf": 0.0.2--canary.87bc651.0 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - regenerator-runtime: ^0.13.7 - slash: ^3.0.0 - stable: ^0.1.8 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 7f81bc20f34dc97b2702e4cea993247ffd10696a28c92274cc8d6dcbcb9f4bc0250a3a76e28b833c30ab4ea38b68c9103ba3d4348dc580a98eec00d14bd748c3 - languageName: node - linkType: hard - "@storybook/svelte@6.5.0-alpha.51, @storybook/svelte@workspace:*, @storybook/svelte@workspace:app/svelte": version: 0.0.0-use.local resolution: "@storybook/svelte@workspace:app/svelte" @@ -9300,20 +8666,6 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/theming@npm:6.5.0-alpha.49" - dependencies: - "@storybook/client-logger": 6.5.0-alpha.49 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: de805497fb194121c099042541e087d937bc3bf5161f007f2ad025b830ae9676e4dcbfa2ed89482181032bad901b69740a807da6b3102c0bf80587b29d87ca84 - languageName: node - linkType: hard - "@storybook/ui@6.5.0-alpha.51, @storybook/ui@workspace:*, @storybook/ui@workspace:lib/ui": version: 0.0.0-use.local resolution: "@storybook/ui@workspace:lib/ui" @@ -9356,29 +8708,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/ui@npm:6.5.0-alpha.49": - version: 6.5.0-alpha.49 - resolution: "@storybook/ui@npm:6.5.0-alpha.49" - dependencies: - "@storybook/addons": 6.5.0-alpha.49 - "@storybook/api": 6.5.0-alpha.49 - "@storybook/channels": 6.5.0-alpha.49 - "@storybook/client-logger": 6.5.0-alpha.49 - "@storybook/components": 6.5.0-alpha.49 - "@storybook/core-events": 6.5.0-alpha.49 - "@storybook/router": 6.5.0-alpha.49 - "@storybook/semver": ^7.3.2 - "@storybook/theming": 6.5.0-alpha.49 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - resolve-from: ^5.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 470696a84c5b2be631029072475cd596dfb1bf4bc0b48f0c3292f90fc13a0bed12e237aae9c1460b8aebea54e2bd22e4a73a90a34189a964f5cbcd4739c51fe1 - languageName: node - linkType: hard - "@storybook/vue3@6.5.0-alpha.51, @storybook/vue3@workspace:app/vue3": version: 0.0.0-use.local resolution: "@storybook/vue3@workspace:app/vue3" @@ -21196,16 +20525,6 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.9.2": - version: 5.9.2 - resolution: "enhanced-resolve@npm:5.9.2" - dependencies: - graceful-fs: ^4.2.4 - tapable: ^2.2.0 - checksum: 0732469279b1ee1b4a46bacb84298d179e9285a6365f83f5076da5841f1213eeb8556b0761bf3a8c4b194e54f1fa7c4c6adbb294a34b8ef0334ab18d1b22554e - languageName: node - linkType: hard - "enquirer@npm:^2.3.5, enquirer@npm:^2.3.6, enquirer@npm:~2.3.6": version: 2.3.6 resolution: "enquirer@npm:2.3.6" @@ -47172,43 +46491,6 @@ __metadata: languageName: node linkType: hard -"webpack@npm:>=4.43.0 <6.0.0": - version: 5.70.0 - resolution: "webpack@npm:5.70.0" - 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.4.1 - acorn-import-assertions: ^1.7.6 - browserslist: ^4.14.5 - chrome-trace-event: ^1.0.2 - enhanced-resolve: ^5.9.2 - 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-better-errors: ^1.0.2 - 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.3.1 - webpack-sources: ^3.2.3 - peerDependenciesMeta: - webpack-cli: - optional: true - bin: - webpack: bin/webpack.js - checksum: 35daf94ac734f7c456a5065161e3cf2420bbf99c71369bec9d4f9045bd4e8aac7ff6568e1aa90da9e7af421f4ea695ca17a52c063e61b1b056441da884efde16 - languageName: node - linkType: hard - "webpack@npm:^5, webpack@npm:^5.1.0, webpack@npm:^5.9.0": version: 5.69.1 resolution: "webpack@npm:5.69.1" From 31c87052498af4721d563ec50d6fc1bb686f063e Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 29 Mar 2022 18:51:01 +0800 Subject: [PATCH 08/12] Fix storybook location --- examples/external-docs/{src => }/.storybook/main.ts | 0 examples/external-docs/{src => }/.storybook/preview.js | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename examples/external-docs/{src => }/.storybook/main.ts (100%) rename examples/external-docs/{src => }/.storybook/preview.js (100%) diff --git a/examples/external-docs/src/.storybook/main.ts b/examples/external-docs/.storybook/main.ts similarity index 100% rename from examples/external-docs/src/.storybook/main.ts rename to examples/external-docs/.storybook/main.ts diff --git a/examples/external-docs/src/.storybook/preview.js b/examples/external-docs/.storybook/preview.js similarity index 100% rename from examples/external-docs/src/.storybook/preview.js rename to examples/external-docs/.storybook/preview.js From 344bf730732b4a3be2d9b77a18a853c72a90f6e0 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 29 Mar 2022 19:11:30 +0800 Subject: [PATCH 09/12] Fix storybook location again --- examples/external-docs/package.json | 4 ++-- examples/external-docs/{ => src}/.storybook/main.ts | 0 examples/external-docs/{ => src}/.storybook/preview.js | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename examples/external-docs/{ => src}/.storybook/main.ts (100%) rename examples/external-docs/{ => src}/.storybook/preview.js (100%) diff --git a/examples/external-docs/package.json b/examples/external-docs/package.json index 52465900f32..72e60351415 100644 --- a/examples/external-docs/package.json +++ b/examples/external-docs/package.json @@ -3,11 +3,11 @@ "version": "6.5.0-alpha.51", "private": true, "scripts": { - "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook", + "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c src/.storybook", "debug": "cross-env NODE_OPTIONS=--inspect-brk STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011", "sb": "node ../../lib/cli/bin/index.js", "start": "SKIP_PREFLIGHT_CHECK=true react-scripts start", - "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 --no-manager-cache" + "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 --no-manager-cache -c src/.storybook" }, "dependencies": { "@storybook/components": "6.5.0-alpha.51", diff --git a/examples/external-docs/.storybook/main.ts b/examples/external-docs/src/.storybook/main.ts similarity index 100% rename from examples/external-docs/.storybook/main.ts rename to examples/external-docs/src/.storybook/main.ts diff --git a/examples/external-docs/.storybook/preview.js b/examples/external-docs/src/.storybook/preview.js similarity index 100% rename from examples/external-docs/.storybook/preview.js rename to examples/external-docs/src/.storybook/preview.js From 8d49c86e055512eebcfbef3ca04e34072804570d Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 4 Apr 2022 17:19:20 +1000 Subject: [PATCH 10/12] Move stuff around in `external-docs` --- examples/external-docs/package.json | 5 +- examples/external-docs/src/.storybook/main.ts | 9 +- .../external-docs/src/SecondStoriesPage.tsx | 2 +- examples/external-docs/src/StoriesPage.tsx | 4 +- .../{ => components}/AccountForm.stories.tsx | 0 .../src/{ => components}/AccountForm.tsx | 0 .../src/{ => components}/button.stories.tsx | 0 .../src/{ => components}/button.tsx | 0 .../{ => components}/emoji-button.stories.tsx | 0 .../src/{ => components}/emoji-button.tsx | 0 examples/external-docs/tsconfig.json | 5 +- yarn.lock | 333 ++++++++++++++++++ 12 files changed, 342 insertions(+), 16 deletions(-) rename examples/external-docs/src/{ => components}/AccountForm.stories.tsx (100%) rename examples/external-docs/src/{ => components}/AccountForm.tsx (100%) rename examples/external-docs/src/{ => components}/button.stories.tsx (100%) rename examples/external-docs/src/{ => components}/button.tsx (100%) rename examples/external-docs/src/{ => components}/emoji-button.stories.tsx (100%) rename examples/external-docs/src/{ => components}/emoji-button.tsx (100%) diff --git a/examples/external-docs/package.json b/examples/external-docs/package.json index 72e60351415..2ffeda49e73 100644 --- a/examples/external-docs/package.json +++ b/examples/external-docs/package.json @@ -3,13 +3,14 @@ "version": "6.5.0-alpha.51", "private": true, "scripts": { - "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c src/.storybook", + "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./src/.storybook", "debug": "cross-env NODE_OPTIONS=--inspect-brk STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011", "sb": "node ../../lib/cli/bin/index.js", "start": "SKIP_PREFLIGHT_CHECK=true react-scripts start", - "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 --no-manager-cache -c src/.storybook" + "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 --no-manager-cache -c ./src/.storybook" }, "dependencies": { + "@storybook/addon-essentials": "6.5.0-alpha.51", "@storybook/components": "6.5.0-alpha.51", "@storybook/csf": "0.0.2--canary.87bc651.0", "@storybook/preview-web": "6.5.0-alpha.51", diff --git a/examples/external-docs/src/.storybook/main.ts b/examples/external-docs/src/.storybook/main.ts index 2e82165e7ce..0465288c69c 100644 --- a/examples/external-docs/src/.storybook/main.ts +++ b/examples/external-docs/src/.storybook/main.ts @@ -3,17 +3,12 @@ import type { StorybookConfig } from '@storybook/react/types'; const config: StorybookConfig = { stories: [ { - directory: '../src', + directory: '../components', titlePrefix: 'Demo', }, ], logLevel: 'debug', - addons: [ - '@storybook/addon-essentials', - '@storybook/addon-storysource', - '@storybook/addon-storyshots', - '@storybook/addon-a11y', - ], + addons: ['@storybook/addon-essentials'], typescript: { check: true, checkOptions: {}, diff --git a/examples/external-docs/src/SecondStoriesPage.tsx b/examples/external-docs/src/SecondStoriesPage.tsx index 86b1e0217fd..e3b3bc3c201 100644 --- a/examples/external-docs/src/SecondStoriesPage.tsx +++ b/examples/external-docs/src/SecondStoriesPage.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { DocsProvider, Meta, Story } from './blocks'; -import meta, { Standard } from './AccountForm.stories'; +import meta, { Standard } from './components/AccountForm.stories'; export default () => ( diff --git a/examples/external-docs/src/StoriesPage.tsx b/examples/external-docs/src/StoriesPage.tsx index 42b7ab0ada7..75cd6b9126c 100644 --- a/examples/external-docs/src/StoriesPage.tsx +++ b/examples/external-docs/src/StoriesPage.tsx @@ -1,8 +1,8 @@ import React from 'react'; import { DocsProvider, Meta, Story } from './blocks'; -import meta, { WithArgs, Basic } from './button.stories'; -import EmojiMeta, { WithArgs as EmojiWithArgs } from './emoji-button.stories'; +import meta, { WithArgs, Basic } from './components/button.stories'; +import EmojiMeta, { WithArgs as EmojiWithArgs } from './components/emoji-button.stories'; export default () => ( diff --git a/examples/external-docs/src/AccountForm.stories.tsx b/examples/external-docs/src/components/AccountForm.stories.tsx similarity index 100% rename from examples/external-docs/src/AccountForm.stories.tsx rename to examples/external-docs/src/components/AccountForm.stories.tsx diff --git a/examples/external-docs/src/AccountForm.tsx b/examples/external-docs/src/components/AccountForm.tsx similarity index 100% rename from examples/external-docs/src/AccountForm.tsx rename to examples/external-docs/src/components/AccountForm.tsx diff --git a/examples/external-docs/src/button.stories.tsx b/examples/external-docs/src/components/button.stories.tsx similarity index 100% rename from examples/external-docs/src/button.stories.tsx rename to examples/external-docs/src/components/button.stories.tsx diff --git a/examples/external-docs/src/button.tsx b/examples/external-docs/src/components/button.tsx similarity index 100% rename from examples/external-docs/src/button.tsx rename to examples/external-docs/src/components/button.tsx diff --git a/examples/external-docs/src/emoji-button.stories.tsx b/examples/external-docs/src/components/emoji-button.stories.tsx similarity index 100% rename from examples/external-docs/src/emoji-button.stories.tsx rename to examples/external-docs/src/components/emoji-button.stories.tsx diff --git a/examples/external-docs/src/emoji-button.tsx b/examples/external-docs/src/components/emoji-button.tsx similarity index 100% rename from examples/external-docs/src/emoji-button.tsx rename to examples/external-docs/src/components/emoji-button.tsx diff --git a/examples/external-docs/tsconfig.json b/examples/external-docs/tsconfig.json index aa78c17033b..dc08a84bc28 100644 --- a/examples/external-docs/tsconfig.json +++ b/examples/external-docs/tsconfig.json @@ -20,8 +20,5 @@ "isolatedModules": true, "noEmit": true }, - "include": [ - "src/*", - "src/.storybook/main.ts" - ] + "include": [ "src/*"] } diff --git a/yarn.lock b/yarn.lock index 12edef074f5..2139cc5df36 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6244,6 +6244,40 @@ __metadata: languageName: unknown linkType: soft +"@storybook/addon-actions@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/addon-actions@npm:6.5.0-alpha.51" + dependencies: + "@storybook/addons": 6.5.0-alpha.51 + "@storybook/api": 6.5.0-alpha.51 + "@storybook/components": 6.5.0-alpha.51 + "@storybook/core-events": 6.5.0-alpha.51 + "@storybook/csf": 0.0.2--canary.507502b.0 + "@storybook/theming": 6.5.0-alpha.51 + core-js: ^3.8.2 + fast-deep-equal: ^3.1.3 + global: ^4.4.0 + lodash: ^4.17.21 + polished: ^4.0.5 + prop-types: ^15.7.2 + react-inspector: ^5.1.0 + regenerator-runtime: ^0.13.7 + telejson: ^5.3.3 + ts-dedent: ^2.0.0 + util-deprecate: ^1.0.2 + uuid-browser: ^3.1.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0 + react-dom: ^16.8.0 || ^17.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + checksum: f631ba6e4ea4434eca1bc9a1a223a2eb668b908956fe057ce250f9f1b8cf7612097a4ebe0cfa3e830d01ae66723eba715250487f006ff12c2521c4cad99277a4 + languageName: node + linkType: hard + "@storybook/addon-backgrounds@6.5.0-alpha.55, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds": version: 0.0.0-use.local resolution: "@storybook/addon-backgrounds@workspace:addons/backgrounds" @@ -6273,6 +6307,35 @@ __metadata: languageName: unknown linkType: soft +"@storybook/addon-backgrounds@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/addon-backgrounds@npm:6.5.0-alpha.51" + dependencies: + "@storybook/addons": 6.5.0-alpha.51 + "@storybook/api": 6.5.0-alpha.51 + "@storybook/client-logger": 6.5.0-alpha.51 + "@storybook/components": 6.5.0-alpha.51 + "@storybook/core-events": 6.5.0-alpha.51 + "@storybook/csf": 0.0.2--canary.507502b.0 + "@storybook/theming": 6.5.0-alpha.51 + 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 + peerDependencies: + react: ^16.8.0 || ^17.0.0 + react-dom: ^16.8.0 || ^17.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + checksum: 29102c3f1c4c104b024fcb79390ef9b1f94b86e89dedc22bb17d0c3e3ba47989fb86992daeb0ab3af8166f18d9dd1a5b8e13ecd02f6edb909ed0d85986665afd + languageName: node + linkType: hard + "@storybook/addon-controls@6.5.0-alpha.55, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls": version: 0.0.0-use.local resolution: "@storybook/addon-controls@workspace:addons/controls" @@ -6300,6 +6363,34 @@ __metadata: languageName: unknown linkType: soft +"@storybook/addon-controls@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/addon-controls@npm:6.5.0-alpha.51" + dependencies: + "@storybook/addons": 6.5.0-alpha.51 + "@storybook/api": 6.5.0-alpha.51 + "@storybook/client-logger": 6.5.0-alpha.51 + "@storybook/components": 6.5.0-alpha.51 + "@storybook/core-common": 6.5.0-alpha.51 + "@storybook/csf": 0.0.2--canary.507502b.0 + "@storybook/node-logger": 6.5.0-alpha.51 + "@storybook/store": 6.5.0-alpha.51 + "@storybook/theming": 6.5.0-alpha.51 + core-js: ^3.8.2 + lodash: ^4.17.21 + ts-dedent: ^2.0.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0 + react-dom: ^16.8.0 || ^17.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + checksum: 0d8cabc6a3102e5db0876e1add27ef8b9471c4529e2e79c323c5adcf18c743d39c8f4b522872ce70dc6bdb7342d0531596ef69b7a474017e37390d0892166cf7 + languageName: node + linkType: hard + "@storybook/addon-docs@6.5.0-alpha.55, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs": version: 0.0.0-use.local resolution: "@storybook/addon-docs@workspace:addons/docs" @@ -6349,6 +6440,58 @@ __metadata: languageName: unknown linkType: soft +"@storybook/addon-docs@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/addon-docs@npm:6.5.0-alpha.51" + 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.0-alpha.51 + "@storybook/api": 6.5.0-alpha.51 + "@storybook/components": 6.5.0-alpha.51 + "@storybook/core-common": 6.5.0-alpha.51 + "@storybook/core-events": 6.5.0-alpha.51 + "@storybook/csf": 0.0.2--canary.507502b.0 + "@storybook/docs-tools": 6.5.0-alpha.51 + "@storybook/mdx1-csf": canary + "@storybook/node-logger": 6.5.0-alpha.51 + "@storybook/postinstall": 6.5.0-alpha.51 + "@storybook/preview-web": 6.5.0-alpha.51 + "@storybook/source-loader": 6.5.0-alpha.51 + "@storybook/store": 6.5.0-alpha.51 + "@storybook/theming": 6.5.0-alpha.51 + core-js: ^3.8.2 + fast-deep-equal: ^3.1.3 + global: ^4.4.0 + lodash: ^4.17.21 + remark-external-links: ^8.0.0 + remark-slug: ^6.0.0 + ts-dedent: ^2.0.0 + util-deprecate: ^1.0.2 + peerDependencies: + "@storybook/mdx2-csf": "*" + react: ^16.8.0 || ^17.0.0 + react-dom: ^16.8.0 || ^17.0.0 + webpack: "*" + peerDependenciesMeta: + "@storybook/builder-webpack4": + optional: true + "@storybook/builder-webpack5": + optional: true + "@storybook/mdx2-csf": + optional: true + react: + optional: true + react-dom: + optional: true + webpack: + optional: true + checksum: cf32e04bb5b6b8291aed61fba229f81e5186750e6e493f1b58f515bfae31f6ea728a29f267c1ec4653a8e1cb826a3f21f3bbbefc4a02143bc37c336a5467d6ed + languageName: node + linkType: hard + "@storybook/addon-essentials@6.5.0-alpha.55, @storybook/addon-essentials@workspace:*, @storybook/addon-essentials@workspace:addons/essentials": version: 0.0.0-use.local resolution: "@storybook/addon-essentials@workspace:addons/essentials" @@ -6412,6 +6555,66 @@ __metadata: languageName: unknown linkType: soft +"@storybook/addon-essentials@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/addon-essentials@npm:6.5.0-alpha.51" + dependencies: + "@storybook/addon-actions": 6.5.0-alpha.51 + "@storybook/addon-backgrounds": 6.5.0-alpha.51 + "@storybook/addon-controls": 6.5.0-alpha.51 + "@storybook/addon-docs": 6.5.0-alpha.51 + "@storybook/addon-measure": 6.5.0-alpha.51 + "@storybook/addon-outline": 6.5.0-alpha.51 + "@storybook/addon-toolbars": 6.5.0-alpha.51 + "@storybook/addon-viewport": 6.5.0-alpha.51 + "@storybook/addons": 6.5.0-alpha.51 + "@storybook/api": 6.5.0-alpha.51 + "@storybook/core-common": 6.5.0-alpha.51 + "@storybook/node-logger": 6.5.0-alpha.51 + core-js: ^3.8.2 + regenerator-runtime: ^0.13.7 + ts-dedent: ^2.0.0 + peerDependencies: + "@babel/core": ^7.9.6 + peerDependenciesMeta: + "@storybook/angular": + optional: true + "@storybook/builder-manager4": + optional: true + "@storybook/builder-manager5": + optional: true + "@storybook/builder-webpack4": + optional: true + "@storybook/builder-webpack5": + optional: true + "@storybook/html": + optional: true + "@storybook/vue": + optional: true + "@storybook/vue3": + optional: true + "@storybook/web-components": + optional: true + lit: + optional: true + lit-html: + optional: true + react: + optional: true + react-dom: + optional: true + svelte: + optional: true + sveltedoc-parser: + optional: true + vue: + optional: true + webpack: + optional: true + checksum: 49161fdb9b6bcc2a780a49e8414337c1256e94d87f36ce8efb42cf0ba6f56a49afdb9285e220ffa0f657962b3115718ffbfa2079eea19944c05b6263f6722ebe + languageName: node + linkType: hard + "@storybook/addon-ie11@npm:0.0.7--canary.5e87b64.0": version: 0.0.7--canary.5e87b64.0 resolution: "@storybook/addon-ie11@npm:0.0.7--canary.5e87b64.0" @@ -6540,6 +6743,30 @@ __metadata: languageName: unknown linkType: soft +"@storybook/addon-measure@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/addon-measure@npm:6.5.0-alpha.51" + dependencies: + "@storybook/addons": 6.5.0-alpha.51 + "@storybook/api": 6.5.0-alpha.51 + "@storybook/client-logger": 6.5.0-alpha.51 + "@storybook/components": 6.5.0-alpha.51 + "@storybook/core-events": 6.5.0-alpha.51 + "@storybook/csf": 0.0.2--canary.507502b.0 + core-js: ^3.8.2 + global: ^4.4.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0 + react-dom: ^16.8.0 || ^17.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + checksum: bc671d83c5536d7636d5ae146234fc91589b9260718b806c8a163afca3a85df191a365a223c7a635968554b2fd536f0f86771bd5d5c450741ccd706b4d421024 + languageName: node + linkType: hard + "@storybook/addon-outline@6.5.0-alpha.55, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline": version: 0.0.0-use.local resolution: "@storybook/addon-outline@workspace:addons/outline" @@ -6566,6 +6793,32 @@ __metadata: languageName: unknown linkType: soft +"@storybook/addon-outline@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/addon-outline@npm:6.5.0-alpha.51" + dependencies: + "@storybook/addons": 6.5.0-alpha.51 + "@storybook/api": 6.5.0-alpha.51 + "@storybook/client-logger": 6.5.0-alpha.51 + "@storybook/components": 6.5.0-alpha.51 + "@storybook/core-events": 6.5.0-alpha.51 + "@storybook/csf": 0.0.2--canary.507502b.0 + core-js: ^3.8.2 + global: ^4.4.0 + regenerator-runtime: ^0.13.7 + ts-dedent: ^2.0.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0 + react-dom: ^16.8.0 || ^17.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + checksum: 5d6c5d795b1f64bd442aa40e0600cb1fb2877f3f58b1ac7ec38734a8a0ae0d84022da3e5c99849a0e7d2f77f1befc0b9a862d5423610bd3fd1a37d895fd56f50 + languageName: node + linkType: hard + "@storybook/addon-postcss@npm:^2.0.0": version: 2.0.0 resolution: "@storybook/addon-postcss@npm:2.0.0" @@ -6743,6 +6996,28 @@ __metadata: languageName: unknown linkType: soft +"@storybook/addon-toolbars@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/addon-toolbars@npm:6.5.0-alpha.51" + dependencies: + "@storybook/addons": 6.5.0-alpha.51 + "@storybook/api": 6.5.0-alpha.51 + "@storybook/components": 6.5.0-alpha.51 + "@storybook/theming": 6.5.0-alpha.51 + core-js: ^3.8.2 + regenerator-runtime: ^0.13.7 + peerDependencies: + react: ^16.8.0 || ^17.0.0 + react-dom: ^16.8.0 || ^17.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + checksum: e04bd5b8a8c898cc2feca113cb94b382cf82d1140d6ec9fac8831e253fc6dd5344e85a8729c1eaad564d5a59a6e26cef5bd29682092be7fce797db92fbacf197 + languageName: node + linkType: hard + "@storybook/addon-viewport@6.5.0-alpha.55, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport": version: 0.0.0-use.local resolution: "@storybook/addon-viewport@workspace:addons/viewport" @@ -6769,6 +7044,33 @@ __metadata: languageName: unknown linkType: soft +"@storybook/addon-viewport@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/addon-viewport@npm:6.5.0-alpha.51" + dependencies: + "@storybook/addons": 6.5.0-alpha.51 + "@storybook/api": 6.5.0-alpha.51 + "@storybook/client-logger": 6.5.0-alpha.51 + "@storybook/components": 6.5.0-alpha.51 + "@storybook/core-events": 6.5.0-alpha.51 + "@storybook/theming": 6.5.0-alpha.51 + core-js: ^3.8.2 + global: ^4.4.0 + memoizerific: ^1.11.3 + prop-types: ^15.7.2 + regenerator-runtime: ^0.13.7 + peerDependencies: + react: ^16.8.0 || ^17.0.0 + react-dom: ^16.8.0 || ^17.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + checksum: 827c34b52451b7a2aa6dedcedad89f61170e55f433cb37b03e03a33aaf16da4d7d497ef118ac84ccd5c08cab2cd294af360174c6117b6b01325a06df75411c59 + languageName: node + linkType: hard + "@storybook/addons@6.5.0-alpha.55, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons": version: 0.0.0-use.local resolution: "@storybook/addons@workspace:lib/addons" @@ -8147,6 +8449,7 @@ __metadata: "@babel/preset-env": ^7.12.11 "@babel/preset-react": ^7.12.10 "@babel/preset-typescript": ^7.12.7 + "@storybook/addon-essentials": 6.5.0-alpha.51 "@storybook/components": 6.5.0-alpha.51 "@storybook/csf": 0.0.2--canary.87bc651.0 "@storybook/preview-web": 6.5.0-alpha.51 @@ -8498,6 +8801,15 @@ __metadata: languageName: unknown linkType: soft +"@storybook/postinstall@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/postinstall@npm:6.5.0-alpha.51" + dependencies: + core-js: ^3.8.2 + checksum: daadffafd9ba9e9cd498dc35da2ad2c0bfdac464975fe631727e03420d1b364d832672b4b816156d42ce7f1fff2b3c7446048432f78b086f98afc9e017b63e5f + languageName: node + linkType: hard + "@storybook/preact@6.5.0-alpha.55, @storybook/preact@workspace:*, @storybook/preact@workspace:app/preact": version: 0.0.0-use.local resolution: "@storybook/preact@workspace:app/preact" @@ -9134,6 +9446,27 @@ __metadata: languageName: unknown linkType: soft +"@storybook/source-loader@npm:6.5.0-alpha.51": + version: 6.5.0-alpha.51 + resolution: "@storybook/source-loader@npm:6.5.0-alpha.51" + dependencies: + "@storybook/addons": 6.5.0-alpha.51 + "@storybook/client-logger": 6.5.0-alpha.51 + "@storybook/csf": 0.0.2--canary.507502b.0 + 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 + peerDependencies: + react: ^16.8.0 || ^17.0.0 + react-dom: ^16.8.0 || ^17.0.0 + checksum: 7c368a524b0ed289de2e3994d5b24c18353b3ee9f6eece2b35fbc2d997d44f3ce25bd79e61f223b3be88ec4e11adff526a3f425b5db76635277604ca64d4ea06 + languageName: node + linkType: hard + "@storybook/store@6.5.0-alpha.55, @storybook/store@workspace:*, @storybook/store@workspace:lib/store": version: 0.0.0-use.local resolution: "@storybook/store@workspace:lib/store" From 2e3164630f6422031ca451ac9926b8ea295426d0 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Mon, 4 Apr 2022 17:35:10 +1000 Subject: [PATCH 11/12] Update versions --- examples/external-docs/package.json | 14 +- yarn.lock | 1022 +-------------------------- 2 files changed, 13 insertions(+), 1023 deletions(-) diff --git a/examples/external-docs/package.json b/examples/external-docs/package.json index 2ffeda49e73..343e0032b54 100644 --- a/examples/external-docs/package.json +++ b/examples/external-docs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/external-docs", - "version": "6.5.0-alpha.51", + "version": "6.5.0-alpha.55", "private": true, "scripts": { "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./src/.storybook", @@ -10,13 +10,13 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 --no-manager-cache -c ./src/.storybook" }, "dependencies": { - "@storybook/addon-essentials": "6.5.0-alpha.51", - "@storybook/components": "6.5.0-alpha.51", + "@storybook/addon-essentials": "6.5.0-alpha.55", + "@storybook/components": "6.5.0-alpha.55", "@storybook/csf": "0.0.2--canary.87bc651.0", - "@storybook/preview-web": "6.5.0-alpha.51", - "@storybook/react": "6.5.0-alpha.51", - "@storybook/store": "6.5.0-alpha.51", - "@storybook/theming": "6.5.0-alpha.51", + "@storybook/preview-web": "6.5.0-alpha.55", + "@storybook/react": "6.5.0-alpha.55", + "@storybook/store": "6.5.0-alpha.55", + "@storybook/theming": "6.5.0-alpha.55", "formik": "^2.2.9", "prop-types": "15.7.2", "react": "16.14.0", diff --git a/yarn.lock b/yarn.lock index 2139cc5df36..2406479c5e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6244,40 +6244,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-actions@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addon-actions@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/theming": 6.5.0-alpha.51 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - polished: ^4.0.5 - prop-types: ^15.7.2 - react-inspector: ^5.1.0 - regenerator-runtime: ^0.13.7 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - uuid-browser: ^3.1.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: f631ba6e4ea4434eca1bc9a1a223a2eb668b908956fe057ce250f9f1b8cf7612097a4ebe0cfa3e830d01ae66723eba715250487f006ff12c2521c4cad99277a4 - languageName: node - linkType: hard - "@storybook/addon-backgrounds@6.5.0-alpha.55, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds": version: 0.0.0-use.local resolution: "@storybook/addon-backgrounds@workspace:addons/backgrounds" @@ -6307,35 +6273,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-backgrounds@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addon-backgrounds@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/theming": 6.5.0-alpha.51 - 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 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 29102c3f1c4c104b024fcb79390ef9b1f94b86e89dedc22bb17d0c3e3ba47989fb86992daeb0ab3af8166f18d9dd1a5b8e13ecd02f6edb909ed0d85986665afd - languageName: node - linkType: hard - "@storybook/addon-controls@6.5.0-alpha.55, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls": version: 0.0.0-use.local resolution: "@storybook/addon-controls@workspace:addons/controls" @@ -6363,34 +6300,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-controls@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addon-controls@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/core-common": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/node-logger": 6.5.0-alpha.51 - "@storybook/store": 6.5.0-alpha.51 - "@storybook/theming": 6.5.0-alpha.51 - core-js: ^3.8.2 - lodash: ^4.17.21 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 0d8cabc6a3102e5db0876e1add27ef8b9471c4529e2e79c323c5adcf18c743d39c8f4b522872ce70dc6bdb7342d0531596ef69b7a474017e37390d0892166cf7 - languageName: node - linkType: hard - "@storybook/addon-docs@6.5.0-alpha.55, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs": version: 0.0.0-use.local resolution: "@storybook/addon-docs@workspace:addons/docs" @@ -6440,58 +6349,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-docs@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addon-docs@npm:6.5.0-alpha.51" - 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.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/core-common": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/docs-tools": 6.5.0-alpha.51 - "@storybook/mdx1-csf": canary - "@storybook/node-logger": 6.5.0-alpha.51 - "@storybook/postinstall": 6.5.0-alpha.51 - "@storybook/preview-web": 6.5.0-alpha.51 - "@storybook/source-loader": 6.5.0-alpha.51 - "@storybook/store": 6.5.0-alpha.51 - "@storybook/theming": 6.5.0-alpha.51 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - remark-external-links: ^8.0.0 - remark-slug: ^6.0.0 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - "@storybook/mdx2-csf": "*" - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - webpack: "*" - peerDependenciesMeta: - "@storybook/builder-webpack4": - optional: true - "@storybook/builder-webpack5": - optional: true - "@storybook/mdx2-csf": - optional: true - react: - optional: true - react-dom: - optional: true - webpack: - optional: true - checksum: cf32e04bb5b6b8291aed61fba229f81e5186750e6e493f1b58f515bfae31f6ea728a29f267c1ec4653a8e1cb826a3f21f3bbbefc4a02143bc37c336a5467d6ed - languageName: node - linkType: hard - "@storybook/addon-essentials@6.5.0-alpha.55, @storybook/addon-essentials@workspace:*, @storybook/addon-essentials@workspace:addons/essentials": version: 0.0.0-use.local resolution: "@storybook/addon-essentials@workspace:addons/essentials" @@ -6555,66 +6412,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-essentials@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addon-essentials@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addon-actions": 6.5.0-alpha.51 - "@storybook/addon-backgrounds": 6.5.0-alpha.51 - "@storybook/addon-controls": 6.5.0-alpha.51 - "@storybook/addon-docs": 6.5.0-alpha.51 - "@storybook/addon-measure": 6.5.0-alpha.51 - "@storybook/addon-outline": 6.5.0-alpha.51 - "@storybook/addon-toolbars": 6.5.0-alpha.51 - "@storybook/addon-viewport": 6.5.0-alpha.51 - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/core-common": 6.5.0-alpha.51 - "@storybook/node-logger": 6.5.0-alpha.51 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - peerDependencies: - "@babel/core": ^7.9.6 - peerDependenciesMeta: - "@storybook/angular": - optional: true - "@storybook/builder-manager4": - optional: true - "@storybook/builder-manager5": - optional: true - "@storybook/builder-webpack4": - optional: true - "@storybook/builder-webpack5": - optional: true - "@storybook/html": - optional: true - "@storybook/vue": - optional: true - "@storybook/vue3": - optional: true - "@storybook/web-components": - optional: true - lit: - optional: true - lit-html: - optional: true - react: - optional: true - react-dom: - optional: true - svelte: - optional: true - sveltedoc-parser: - optional: true - vue: - optional: true - webpack: - optional: true - checksum: 49161fdb9b6bcc2a780a49e8414337c1256e94d87f36ce8efb42cf0ba6f56a49afdb9285e220ffa0f657962b3115718ffbfa2079eea19944c05b6263f6722ebe - languageName: node - linkType: hard - "@storybook/addon-ie11@npm:0.0.7--canary.5e87b64.0": version: 0.0.7--canary.5e87b64.0 resolution: "@storybook/addon-ie11@npm:0.0.7--canary.5e87b64.0" @@ -6743,30 +6540,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-measure@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addon-measure@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - core-js: ^3.8.2 - global: ^4.4.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: bc671d83c5536d7636d5ae146234fc91589b9260718b806c8a163afca3a85df191a365a223c7a635968554b2fd536f0f86771bd5d5c450741ccd706b4d421024 - languageName: node - linkType: hard - "@storybook/addon-outline@6.5.0-alpha.55, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline": version: 0.0.0-use.local resolution: "@storybook/addon-outline@workspace:addons/outline" @@ -6793,32 +6566,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-outline@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addon-outline@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - core-js: ^3.8.2 - global: ^4.4.0 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 5d6c5d795b1f64bd442aa40e0600cb1fb2877f3f58b1ac7ec38734a8a0ae0d84022da3e5c99849a0e7d2f77f1befc0b9a862d5423610bd3fd1a37d895fd56f50 - languageName: node - linkType: hard - "@storybook/addon-postcss@npm:^2.0.0": version: 2.0.0 resolution: "@storybook/addon-postcss@npm:2.0.0" @@ -6996,28 +6743,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-toolbars@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addon-toolbars@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/theming": 6.5.0-alpha.51 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: e04bd5b8a8c898cc2feca113cb94b382cf82d1140d6ec9fac8831e253fc6dd5344e85a8729c1eaad564d5a59a6e26cef5bd29682092be7fce797db92fbacf197 - languageName: node - linkType: hard - "@storybook/addon-viewport@6.5.0-alpha.55, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport": version: 0.0.0-use.local resolution: "@storybook/addon-viewport@workspace:addons/viewport" @@ -7044,33 +6769,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-viewport@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addon-viewport@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/theming": 6.5.0-alpha.51 - core-js: ^3.8.2 - global: ^4.4.0 - memoizerific: ^1.11.3 - prop-types: ^15.7.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 827c34b52451b7a2aa6dedcedad89f61170e55f433cb37b03e03a33aaf16da4d7d497ef118ac84ccd5c08cab2cd294af360174c6117b6b01325a06df75411c59 - languageName: node - linkType: hard - "@storybook/addons@6.5.0-alpha.55, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons": version: 0.0.0-use.local resolution: "@storybook/addons@workspace:lib/addons" @@ -7114,28 +6812,6 @@ __metadata: languageName: node linkType: hard -"@storybook/addons@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/addons@npm:6.5.0-alpha.51" - dependencies: - "@storybook/api": 6.5.0-alpha.51 - "@storybook/channels": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/router": 6.5.0-alpha.51 - "@storybook/theming": 6.5.0-alpha.51 - "@types/webpack-env": ^1.16.0 - core-js: ^3.8.2 - global: ^4.4.0 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 0a0a0e885981f689598c8553ad4ceee70ed5a79a170dc833a840b1523e3275e829c27498fae6c86a0f83719df0b1aa8515703adf007995e6d7c8f7ef56893b01 - languageName: node - linkType: hard - "@storybook/angular@6.5.0-alpha.55, @storybook/angular@workspace:*, @storybook/angular@workspace:app/angular": version: 0.0.0-use.local resolution: "@storybook/angular@workspace:app/angular" @@ -7285,34 +6961,6 @@ __metadata: languageName: node linkType: hard -"@storybook/api@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/api@npm:6.5.0-alpha.51" - dependencies: - "@storybook/channels": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/router": 6.5.0-alpha.51 - "@storybook/semver": ^7.3.2 - "@storybook/theming": 6.5.0-alpha.51 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - regenerator-runtime: ^0.13.7 - store2: ^2.12.0 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 61b4649f55154697c57ceb031c983de34f299bcb8533285c766ea92c8c938c25b75d7935708b19b1ffda4186cfd222d29e0a396d18548c71c8c9d79b2199114d - languageName: node - linkType: hard - "@storybook/babel-plugin-require-context-hook@npm:1.0.1": version: 1.0.1 resolution: "@storybook/babel-plugin-require-context-hook@npm:1.0.1" @@ -7385,67 +7033,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-webpack4@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/builder-webpack4@npm:6.5.0-alpha.51" - dependencies: - "@babel/core": ^7.12.10 - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/channel-postmessage": 6.5.0-alpha.51 - "@storybook/channels": 6.5.0-alpha.51 - "@storybook/client-api": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/core-common": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/node-logger": 6.5.0-alpha.51 - "@storybook/preview-web": 6.5.0-alpha.51 - "@storybook/router": 6.5.0-alpha.51 - "@storybook/semver": ^7.3.2 - "@storybook/store": 6.5.0-alpha.51 - "@storybook/theming": 6.5.0-alpha.51 - "@storybook/ui": 6.5.0-alpha.51 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/webpack": ^4.41.26 - autoprefixer: ^9.8.6 - babel-loader: ^8.0.0 - case-sensitive-paths-webpack-plugin: ^2.3.0 - core-js: ^3.8.2 - css-loader: ^3.6.0 - file-loader: ^6.2.0 - find-up: ^5.0.0 - fork-ts-checker-webpack-plugin: ^4.1.6 - glob: ^7.1.6 - glob-promise: ^3.4.0 - global: ^4.4.0 - html-webpack-plugin: ^4.0.0 - pnp-webpack-plugin: 1.6.4 - postcss: ^7.0.36 - postcss-flexbugs-fixes: ^4.2.1 - postcss-loader: ^4.2.0 - raw-loader: ^4.0.2 - stable: ^0.1.8 - style-loader: ^1.3.0 - terser-webpack-plugin: ^4.2.3 - ts-dedent: ^2.0.0 - url-loader: ^4.1.1 - util-deprecate: ^1.0.2 - webpack: 4 - webpack-dev-middleware: ^3.7.3 - webpack-filter-warnings-plugin: ^1.2.1 - webpack-hot-middleware: ^2.25.1 - webpack-virtual-modules: ^0.2.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: db2d962b055c8017b6adbe2b9283e53219b899db0ecaa856f915bda2afe092732102117d66e18bd46beb7797d252b885841dd993ffc353d95dd6f3e04005cc1f - languageName: node - linkType: hard - "@storybook/builder-webpack5@6.5.0-alpha.55, @storybook/builder-webpack5@workspace:lib/builder-webpack5": version: 0.0.0-use.local resolution: "@storybook/builder-webpack5@workspace:lib/builder-webpack5" @@ -7516,21 +7103,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-postmessage@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/channel-postmessage@npm:6.5.0-alpha.51" - dependencies: - "@storybook/channels": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - core-js: ^3.8.2 - global: ^4.4.0 - qs: ^6.10.0 - telejson: ^5.3.3 - checksum: 9e26f9be5746fe246243a73adf501062084b85c6d035aa4a77cd13416915bee937dc36e91434bea6d1f09d209e4284539f24703577d7fb64e27e3377e1ed29b6 - languageName: node - linkType: hard - "@storybook/channel-websocket@6.5.0-alpha.55, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket": version: 0.0.0-use.local resolution: "@storybook/channel-websocket@workspace:lib/channel-websocket" @@ -7543,19 +7115,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-websocket@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/channel-websocket@npm:6.5.0-alpha.51" - dependencies: - "@storybook/channels": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - core-js: ^3.8.2 - global: ^4.4.0 - telejson: ^5.3.3 - checksum: eaf2052cea667418118015d2ed8db7abd4e3b909e54d7b3bf81aeaaf1a1510d1ee180229e694d266c4430ddbc3637cdf4264647e1bbeed108b26de7b306afbb4 - languageName: node - linkType: hard - "@storybook/channels@6.5.0-alpha.55, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": version: 0.0.0-use.local resolution: "@storybook/channels@workspace:lib/channels" @@ -7577,17 +7136,6 @@ __metadata: languageName: node linkType: hard -"@storybook/channels@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/channels@npm:6.5.0-alpha.51" - dependencies: - core-js: ^3.8.2 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - checksum: ee69036c7f2e000e0fb5f19072fdf9a48007aea0b5f3572044278fe863a903cf35d431e8fe24cca273dbf9ea10fc593a3b6b3a7c69f181283ea087767f565c9d - languageName: node - linkType: hard - "@storybook/cli@6.5.0-alpha.55, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli": version: 0.0.0-use.local resolution: "@storybook/cli@workspace:lib/cli" @@ -7665,37 +7213,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/client-api@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/client-api@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/channel-postmessage": 6.5.0-alpha.51 - "@storybook/channels": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/store": 6.5.0-alpha.51 - "@types/qs": ^6.9.5 - "@types/webpack-env": ^1.16.0 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - qs: ^6.10.0 - regenerator-runtime: ^0.13.7 - store2: ^2.12.0 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: ab3b115847d064399a2b5b8053375196f547dc9330093c35c867c4b11d5c85f4cda8e9ebd1f8c0674b46338d04cf780109a79224696c58ffb5cc366c4e70f481 - languageName: node - linkType: hard - "@storybook/client-logger@6.5.0-alpha.55, @storybook/client-logger@^6.4.0 || >=6.5.0-0, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": version: 0.0.0-use.local resolution: "@storybook/client-logger@workspace:lib/client-logger" @@ -7836,41 +7353,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-client@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/core-client@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/channel-postmessage": 6.5.0-alpha.51 - "@storybook/channel-websocket": 6.5.0-alpha.51 - "@storybook/client-api": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/preview-web": 6.5.0-alpha.51 - "@storybook/store": 6.5.0-alpha.51 - "@storybook/ui": 6.5.0-alpha.51 - airbnb-js-shims: ^2.2.1 - ansi-to-html: ^0.6.11 - core-js: ^3.8.2 - global: ^4.4.0 - lodash: ^4.17.21 - qs: ^6.10.0 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - unfetch: ^4.2.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - webpack: "*" - peerDependenciesMeta: - typescript: - optional: true - checksum: 019f4d70a8afad4c8e26374afb031b9931755f2ab7a7f1493156e078fcbff1f9ecaf7a6891299ff159e3a0e27c1d1c11b0ee20aef0700bfa25414f862cddd747 - languageName: node - linkType: hard - "@storybook/core-common@6.5.0-alpha.55, @storybook/core-common@workspace:lib/core-common": version: 0.0.0-use.local resolution: "@storybook/core-common@workspace:lib/core-common" @@ -7940,70 +7422,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-common@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/core-common@npm:6.5.0-alpha.51" - dependencies: - "@babel/core": ^7.12.10 - "@babel/plugin-proposal-class-properties": ^7.12.1 - "@babel/plugin-proposal-decorators": ^7.12.12 - "@babel/plugin-proposal-export-default-from": ^7.12.1 - "@babel/plugin-proposal-nullish-coalescing-operator": ^7.12.1 - "@babel/plugin-proposal-object-rest-spread": ^7.12.1 - "@babel/plugin-proposal-optional-chaining": ^7.12.7 - "@babel/plugin-proposal-private-methods": ^7.12.1 - "@babel/plugin-proposal-private-property-in-object": ^7.12.1 - "@babel/plugin-syntax-dynamic-import": ^7.8.3 - "@babel/plugin-transform-arrow-functions": ^7.12.1 - "@babel/plugin-transform-block-scoping": ^7.12.12 - "@babel/plugin-transform-classes": ^7.12.1 - "@babel/plugin-transform-destructuring": ^7.12.1 - "@babel/plugin-transform-for-of": ^7.12.1 - "@babel/plugin-transform-parameters": ^7.12.1 - "@babel/plugin-transform-shorthand-properties": ^7.12.1 - "@babel/plugin-transform-spread": ^7.12.1 - "@babel/preset-env": ^7.12.11 - "@babel/preset-react": ^7.12.10 - "@babel/preset-typescript": ^7.12.7 - "@babel/register": ^7.12.1 - "@storybook/node-logger": 6.5.0-alpha.51 - "@storybook/semver": ^7.3.2 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/pretty-hrtime": ^1.0.0 - babel-loader: ^8.0.0 - babel-plugin-macros: ^3.0.1 - babel-plugin-polyfill-corejs3: ^0.1.0 - chalk: ^4.1.0 - core-js: ^3.8.2 - express: ^4.17.1 - file-system-cache: ^1.0.5 - find-up: ^5.0.0 - fork-ts-checker-webpack-plugin: ^6.0.4 - fs-extra: ^9.0.1 - glob: ^7.1.6 - handlebars: ^4.7.7 - interpret: ^2.2.0 - json5: ^2.1.3 - lazy-universal-dotenv: ^3.0.1 - picomatch: ^2.3.0 - pkg-dir: ^5.0.0 - pretty-hrtime: ^1.0.3 - resolve-from: ^5.0.0 - slash: ^3.0.0 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - webpack: 4 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 0032426efa880d255b6101ec8068530a79c25a816f19b9f13c60340142fa33121ffd951145efaa95feecce309acd540316a1ef59678b8bb229beda8892ba2cdb - languageName: node - linkType: hard - "@storybook/core-events@6.5.0-alpha.55, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": version: 0.0.0-use.local resolution: "@storybook/core-events@workspace:lib/core-events" @@ -8021,15 +7439,6 @@ __metadata: languageName: node linkType: hard -"@storybook/core-events@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/core-events@npm:6.5.0-alpha.51" - dependencies: - core-js: ^3.8.2 - checksum: 3d0e2dd715b4d1d801d1c90e18fa94cab122456ffb4b544d39fd4a394d72d6cf79bd6436cc6533aa481142b4f980e0d1d39230222f2bc5b90df5871aa95870d9 - languageName: node - linkType: hard - "@storybook/core-server@6.5.0-alpha.55, @storybook/core-server@workspace:lib/core-server": version: 0.0.0-use.local resolution: "@storybook/core-server@workspace:lib/core-server" @@ -8097,68 +7506,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-server@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/core-server@npm:6.5.0-alpha.51" - dependencies: - "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-webpack4": 6.5.0-alpha.51 - "@storybook/core-client": 6.5.0-alpha.51 - "@storybook/core-common": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/csf-tools": 6.5.0-alpha.51 - "@storybook/manager-webpack4": 6.5.0-alpha.51 - "@storybook/node-logger": 6.5.0-alpha.51 - "@storybook/semver": ^7.3.2 - "@storybook/store": 6.5.0-alpha.51 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/node-fetch": ^2.5.7 - "@types/pretty-hrtime": ^1.0.0 - "@types/webpack": ^4.41.26 - better-opn: ^2.1.1 - boxen: ^5.1.2 - chalk: ^4.1.0 - cli-table3: ^0.6.1 - commander: ^6.2.1 - compression: ^1.7.4 - core-js: ^3.8.2 - cpy: ^8.1.2 - detect-port: ^1.3.0 - express: ^4.17.1 - fs-extra: ^9.0.1 - global: ^4.4.0 - globby: ^11.0.2 - ip: ^1.1.5 - lodash: ^4.17.21 - node-fetch: ^2.6.7 - open: ^8.4.0 - pretty-hrtime: ^1.0.3 - prompts: ^2.4.0 - regenerator-runtime: ^0.13.7 - serve-favicon: ^2.5.0 - slash: ^3.0.0 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - watchpack: ^2.2.0 - webpack: 4 - ws: ^8.2.3 - x-default-browser: ^0.4.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - "@storybook/builder-webpack5": - optional: true - "@storybook/manager-webpack5": - optional: true - typescript: - optional: true - checksum: cdef6685388f6d3c2b10419a8dbd7e166e105bbbf40f256e0864082321013b7fd8d12da6a03ba0cf32bf03e7c38f293d5d325c54f39939cd093fca85af5e2e62 - languageName: node - linkType: hard - "@storybook/core@6.5.0-alpha.55, @storybook/core@workspace:*, @storybook/core@workspace:lib/core": version: 0.0.0-use.local resolution: "@storybook/core@workspace:lib/core" @@ -8179,27 +7526,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/core@npm:6.5.0-alpha.51" - dependencies: - "@storybook/core-client": 6.5.0-alpha.51 - "@storybook/core-server": 6.5.0-alpha.51 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - webpack: "*" - peerDependenciesMeta: - "@storybook/builder-webpack5": - optional: true - "@storybook/manager-webpack5": - optional: true - typescript: - optional: true - checksum: 4e92125a339e5efb171aeb45c74e489bc347b5c29ab7130b6a9bcf9f135ab6eafa2bbe239309ee6aa6a5a00b07959a1fc02855daa0004fcfca4799e16b5344e4 - languageName: node - linkType: hard - "@storybook/csf-tools@6.5.0-alpha.55, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": version: 0.0.0-use.local resolution: "@storybook/csf-tools@workspace:lib/csf-tools" @@ -8229,33 +7555,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/csf-tools@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/csf-tools@npm:6.5.0-alpha.51" - dependencies: - "@babel/core": ^7.12.10 - "@babel/generator": ^7.12.11 - "@babel/parser": ^7.12.11 - "@babel/plugin-transform-react-jsx": ^7.12.12 - "@babel/preset-env": ^7.12.11 - "@babel/traverse": ^7.12.11 - "@babel/types": ^7.12.11 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/mdx1-csf": canary - core-js: ^3.8.2 - fs-extra: ^9.0.1 - global: ^4.4.0 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - peerDependencies: - "@storybook/mdx2-csf": "*" - peerDependenciesMeta: - "@storybook/mdx2-csf": - optional: true - checksum: 7aceb7cd814d7d4f14ce58bd76ebe0ed5273edbdeab2cd78148ede1a2d9da99c91c126cf30708a59a06681b7ac4ffb92611e4e0c22493fa4734b6c6e9452ce54 - languageName: node - linkType: hard - "@storybook/csf@npm:0.0.2--canary.507502b.0": version: 0.0.2--canary.507502b.0 resolution: "@storybook/csf@npm:0.0.2--canary.507502b.0" @@ -8322,21 +7621,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/docs-tools@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/docs-tools@npm:6.5.0-alpha.51" - dependencies: - "@babel/core": ^7.12.10 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/store": 6.5.0-alpha.51 - core-js: ^3.8.2 - doctrine: ^3.0.0 - lodash: ^4.17.21 - regenerator-runtime: ^0.13.7 - checksum: 9c3e8d6f7581b16484c3cb804a3865bd01900ee961c44ded27c77a2b2ffd0c347525b4fe4e5db8a8782db075959712f5e7ec72ec5aa1c5d2ec500b3c93636617 - languageName: node - linkType: hard - "@storybook/ember-cli-storybook@npm:^0.2.1": version: 0.2.1 resolution: "@storybook/ember-cli-storybook@npm:0.2.1" @@ -8449,13 +7733,13 @@ __metadata: "@babel/preset-env": ^7.12.11 "@babel/preset-react": ^7.12.10 "@babel/preset-typescript": ^7.12.7 - "@storybook/addon-essentials": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 + "@storybook/addon-essentials": 6.5.0-alpha.55 + "@storybook/components": 6.5.0-alpha.55 "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/preview-web": 6.5.0-alpha.51 - "@storybook/react": 6.5.0-alpha.51 - "@storybook/store": 6.5.0-alpha.51 - "@storybook/theming": 6.5.0-alpha.51 + "@storybook/preview-web": 6.5.0-alpha.55 + "@storybook/react": 6.5.0-alpha.55 + "@storybook/store": 6.5.0-alpha.55 + "@storybook/theming": 6.5.0-alpha.55 "@testing-library/dom": ^7.31.2 "@testing-library/user-event": ^13.1.9 "@types/babel__preset-env": ^7 @@ -8618,55 +7902,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/manager-webpack4@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/manager-webpack4@npm:6.5.0-alpha.51" - dependencies: - "@babel/core": ^7.12.10 - "@babel/plugin-transform-template-literals": ^7.12.1 - "@babel/preset-react": ^7.12.10 - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/core-client": 6.5.0-alpha.51 - "@storybook/core-common": 6.5.0-alpha.51 - "@storybook/node-logger": 6.5.0-alpha.51 - "@storybook/theming": 6.5.0-alpha.51 - "@storybook/ui": 6.5.0-alpha.51 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/webpack": ^4.41.26 - babel-loader: ^8.0.0 - case-sensitive-paths-webpack-plugin: ^2.3.0 - chalk: ^4.1.0 - core-js: ^3.8.2 - css-loader: ^3.6.0 - express: ^4.17.1 - file-loader: ^6.2.0 - find-up: ^5.0.0 - fs-extra: ^9.0.1 - html-webpack-plugin: ^4.0.0 - node-fetch: ^2.6.7 - pnp-webpack-plugin: 1.6.4 - read-pkg-up: ^7.0.1 - regenerator-runtime: ^0.13.7 - resolve-from: ^5.0.0 - style-loader: ^1.3.0 - telejson: ^5.3.3 - terser-webpack-plugin: ^4.2.3 - ts-dedent: ^2.0.0 - url-loader: ^4.1.1 - util-deprecate: ^1.0.2 - webpack: 4 - webpack-dev-middleware: ^3.7.3 - webpack-virtual-modules: ^0.2.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: defe6eb3bfdb21c8ec0673583ed329abb4b6514cc28335d471754440bbfc1502627738f1c11118a7d322f32fe708c88f4163d39b0ef376e837d2e7aa276d4e8f - languageName: node - linkType: hard - "@storybook/manager-webpack5@workspace:lib/manager-webpack5": version: 0.0.0-use.local resolution: "@storybook/manager-webpack5@workspace:lib/manager-webpack5" @@ -8777,19 +8012,6 @@ __metadata: languageName: node linkType: hard -"@storybook/node-logger@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/node-logger@npm:6.5.0-alpha.51" - dependencies: - "@types/npmlog": ^4.1.2 - chalk: ^4.1.0 - core-js: ^3.8.2 - npmlog: ^5.0.1 - pretty-hrtime: ^1.0.3 - checksum: 2afa4b7b46b14a29639580063eff4dc403afcfe9e3c6451a757f598786aa7bc0213161affb12d718ab309ac1135170a2ba049b1659d019554eb939455339dedd - languageName: node - linkType: hard - "@storybook/postinstall@6.5.0-alpha.55, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall": version: 0.0.0-use.local resolution: "@storybook/postinstall@workspace:lib/postinstall" @@ -8801,15 +8023,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/postinstall@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/postinstall@npm:6.5.0-alpha.51" - dependencies: - core-js: ^3.8.2 - checksum: daadffafd9ba9e9cd498dc35da2ad2c0bfdac464975fe631727e03420d1b364d832672b4b816156d42ce7f1fff2b3c7446048432f78b086f98afc9e017b63e5f - languageName: node - linkType: hard - "@storybook/preact@6.5.0-alpha.55, @storybook/preact@workspace:*, @storybook/preact@workspace:app/preact": version: 0.0.0-use.local resolution: "@storybook/preact@workspace:app/preact" @@ -8898,33 +8111,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preview-web@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/preview-web@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/channel-postmessage": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/store": 6.5.0-alpha.51 - ansi-to-html: ^0.6.11 - core-js: ^3.8.2 - global: ^4.4.0 - lodash: ^4.17.21 - qs: ^6.10.0 - regenerator-runtime: ^0.13.7 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - unfetch: ^4.2.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: c852ff64af112700e260823eb139f28ca910e213a77b307e01bc8f3bec162f805e0e2124a03ccd27acb120154c9f96f9909407d8cd81222981674894e6545d5b - languageName: node - linkType: hard - "@storybook/react-docgen-typescript-plugin@npm:1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0": version: 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0 resolution: "@storybook/react-docgen-typescript-plugin@npm:1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0" @@ -9008,71 +8194,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/react@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/react@npm:6.5.0-alpha.51" - 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.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/core": 6.5.0-alpha.51 - "@storybook/core-common": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - "@storybook/docs-tools": 6.5.0-alpha.51 - "@storybook/node-logger": 6.5.0-alpha.51 - "@storybook/react-docgen-typescript-plugin": 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0 - "@storybook/semver": ^7.3.2 - "@storybook/store": 6.5.0-alpha.51 - "@types/estree": ^0.0.51 - "@types/node": ^14.14.20 || ^16.0.0 - "@types/webpack-env": ^1.16.0 - acorn: ^7.4.1 - acorn-jsx: ^5.3.1 - acorn-walk: ^7.2.0 - babel-plugin-add-react-displayname: ^0.0.5 - babel-plugin-react-docgen: ^4.2.1 - core-js: ^3.8.2 - escodegen: ^2.0.0 - global: ^4.4.0 - html-tags: ^3.1.0 - lodash: ^4.17.21 - prop-types: ^15.7.2 - react-element-to-jsx-string: ^14.3.4 - react-refresh: ^0.11.0 - read-pkg-up: ^7.0.1 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - webpack: ">=4.43.0 <6.0.0" - peerDependencies: - "@babel/core": ^7.11.5 - jest-specific-snapshot: ^4.0.0 - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - require-from-string: ^2.0.2 - peerDependenciesMeta: - "@babel/core": - optional: true - "@storybook/builder-webpack4": - optional: true - "@storybook/builder-webpack5": - optional: true - "@storybook/manager-webpack4": - optional: true - "@storybook/manager-webpack5": - optional: true - typescript: - optional: true - bin: - build-storybook: bin/build.js - start-storybook: bin/index.js - storybook-server: bin/index.js - checksum: 50c8ea99afeb8b0a8de15a30a939ba93aec2419396b2c5a49eedf38fd61f44cc5a7bf1b8356853b84ba70259a3ae8d706473cceeff7875b4975091bc324e74b3 - languageName: node - linkType: hard - "@storybook/root@workspace:.": version: 0.0.0-use.local resolution: "@storybook/root@workspace:." @@ -9367,20 +8488,6 @@ __metadata: languageName: node linkType: hard -"@storybook/router@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/router@npm:6.5.0-alpha.51" - dependencies: - "@storybook/client-logger": 6.5.0-alpha.51 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 673629e90039bc15df498d273f4267629903ab23e96b907117d4153904738ac70e8e12aa60a322d903d0a55c05f2975a6ac503043f11bc289afd467589d5d73e - languageName: node - linkType: hard - "@storybook/semver@npm:^7.3.2": version: 7.3.2 resolution: "@storybook/semver@npm:7.3.2" @@ -9446,27 +8553,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/source-loader@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/source-loader@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - 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 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: 7c368a524b0ed289de2e3994d5b24c18353b3ee9f6eece2b35fbc2d997d44f3ce25bd79e61f223b3be88ec4e11adff526a3f425b5db76635277604ca64d4ea06 - languageName: node - linkType: hard - "@storybook/store@6.5.0-alpha.55, @storybook/store@workspace:*, @storybook/store@workspace:lib/store": version: 0.0.0-use.local resolution: "@storybook/store@workspace:lib/store" @@ -9492,32 +8578,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/store@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/store@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/csf": 0.0.2--canary.507502b.0 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - regenerator-runtime: ^0.13.7 - slash: ^3.0.0 - stable: ^0.1.8 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: c7ed2937baaa73fdf77cdaf0d046ff998b5f16543c309990faf0cedc8ff93dc041f7cac1049b9b8d279295230891e00d485a6815d5b7e58e1cb8ecdc0d4033a0 - languageName: node - linkType: hard - "@storybook/svelte@6.5.0-alpha.55, @storybook/svelte@workspace:*, @storybook/svelte@workspace:app/svelte": version: 0.0.0-use.local resolution: "@storybook/svelte@workspace:app/svelte" @@ -9684,29 +8744,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/ui@npm:6.5.0-alpha.51": - version: 6.5.0-alpha.51 - resolution: "@storybook/ui@npm:6.5.0-alpha.51" - dependencies: - "@storybook/addons": 6.5.0-alpha.51 - "@storybook/api": 6.5.0-alpha.51 - "@storybook/channels": 6.5.0-alpha.51 - "@storybook/client-logger": 6.5.0-alpha.51 - "@storybook/components": 6.5.0-alpha.51 - "@storybook/core-events": 6.5.0-alpha.51 - "@storybook/router": 6.5.0-alpha.51 - "@storybook/semver": ^7.3.2 - "@storybook/theming": 6.5.0-alpha.51 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - resolve-from: ^5.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 - react-dom: ^16.8.0 || ^17.0.0 - checksum: ec04125de1bc9561a33f844c610caf5336cc29e1defaa52a65f8a84612c8045857801cd42428747c68953d485cb96ebe90d2f7116337dfc86ea46c166e01b9ce - languageName: node - linkType: hard - "@storybook/vue3@6.5.0-alpha.55, @storybook/vue3@workspace:app/vue3": version: 0.0.0-use.local resolution: "@storybook/vue3@workspace:app/vue3" @@ -21557,16 +20594,6 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.9.2": - version: 5.9.2 - resolution: "enhanced-resolve@npm:5.9.2" - dependencies: - graceful-fs: ^4.2.4 - tapable: ^2.2.0 - checksum: 0732469279b1ee1b4a46bacb84298d179e9285a6365f83f5076da5841f1213eeb8556b0761bf3a8c4b194e54f1fa7c4c6adbb294a34b8ef0334ab18d1b22554e - languageName: node - linkType: hard - "enquirer@npm:^2.3.5, enquirer@npm:^2.3.6, enquirer@npm:~2.3.6": version: 2.3.6 resolution: "enquirer@npm:2.3.6" @@ -47517,43 +46544,6 @@ __metadata: languageName: node linkType: hard -"webpack@npm:>=4.43.0 <6.0.0": - version: 5.71.0 - resolution: "webpack@npm:5.71.0" - 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.4.1 - acorn-import-assertions: ^1.7.6 - browserslist: ^4.14.5 - chrome-trace-event: ^1.0.2 - enhanced-resolve: ^5.9.2 - 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-better-errors: ^1.0.2 - 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.3.1 - webpack-sources: ^3.2.3 - peerDependenciesMeta: - webpack-cli: - optional: true - bin: - webpack: bin/webpack.js - checksum: 7edec6b81bd9d807b25e41ef96089f2bc394a5890a8725906d40d3125644557dc4171096058702ed5278c00731fefba21467eb7ca87b808eb1c96c2267a472b3 - languageName: node - linkType: hard - "webpack@npm:^5, webpack@npm:^5.1.0, webpack@npm:^5.9.0": version: 5.69.1 resolution: "webpack@npm:5.69.1" From 416bd4d956826e895d8ac41b29288b55d4090995 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Thu, 7 Apr 2022 14:28:43 +1000 Subject: [PATCH 12/12] Update package versions --- examples/external-docs/package.json | 12 +- yarn.lock | 1059 +-------------------------- 2 files changed, 12 insertions(+), 1059 deletions(-) diff --git a/examples/external-docs/package.json b/examples/external-docs/package.json index 1cbb6718c51..ad131088f16 100644 --- a/examples/external-docs/package.json +++ b/examples/external-docs/package.json @@ -10,13 +10,13 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 --no-manager-cache -c ./src/.storybook" }, "dependencies": { - "@storybook/addon-essentials": "6.5.0-alpha.57", - "@storybook/components": "6.5.0-alpha.57", + "@storybook/addon-essentials": "6.5.0-alpha.58", + "@storybook/components": "6.5.0-alpha.58", "@storybook/csf": "0.0.2--canary.87bc651.0", - "@storybook/preview-web": "6.5.0-alpha.57", - "@storybook/react": "6.5.0-alpha.57", - "@storybook/store": "6.5.0-alpha.57", - "@storybook/theming": "6.5.0-alpha.57", + "@storybook/preview-web": "6.5.0-alpha.58", + "@storybook/react": "6.5.0-alpha.58", + "@storybook/store": "6.5.0-alpha.58", + "@storybook/theming": "6.5.0-alpha.58", "formik": "^2.2.9", "prop-types": "15.7.2", "react": "16.14.0", diff --git a/yarn.lock b/yarn.lock index 4bfe7bb953f..e87284f01cf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6244,41 +6244,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-actions@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addon-actions@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/theming": 6.5.0-alpha.57 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - polished: ^4.0.5 - prop-types: ^15.7.2 - react-inspector: ^5.1.0 - regenerator-runtime: ^0.13.7 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - uuid-browser: ^3.1.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 5dbacb4a00b8ffcf47273bf34cfeb8a25e32a5af407614adda0e01c43e0aa0cb175fc5da29f726ccceccb1c923d9d7b72e5c178fbf448e2e383dbfe3fc9ef007 - languageName: node - linkType: hard - "@storybook/addon-backgrounds@6.5.0-alpha.58, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds": version: 0.0.0-use.local resolution: "@storybook/addon-backgrounds@workspace:addons/backgrounds" @@ -6308,35 +6273,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-backgrounds@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addon-backgrounds@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/theming": 6.5.0-alpha.57 - 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 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 5f6d607972cfe072509f948466f0fa8de0015afbd559304ae7cfd4f5716e6698f22e5e7ca5e8fd4c727d0c81d6967c2e69cc862a61a2a54d34079b30afa2747e - languageName: node - linkType: hard - "@storybook/addon-controls@6.5.0-alpha.58, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls": version: 0.0.0-use.local resolution: "@storybook/addon-controls@workspace:addons/controls" @@ -6364,34 +6300,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-controls@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addon-controls@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/core-common": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/node-logger": 6.5.0-alpha.57 - "@storybook/store": 6.5.0-alpha.57 - "@storybook/theming": 6.5.0-alpha.57 - core-js: ^3.8.2 - lodash: ^4.17.21 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 1bb782cd44d622ae2b96119c70771e24fc651330197560cd653655b98bb3169daef48cc76bc3153f8cad852027046168a35204c4dd08029a0d3afd70cd38953f - languageName: node - linkType: hard - "@storybook/addon-docs@6.5.0-alpha.58, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs": version: 0.0.0-use.local resolution: "@storybook/addon-docs@workspace:addons/docs" @@ -6441,53 +6349,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-docs@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addon-docs@npm:6.5.0-alpha.57" - 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.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/core-common": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/docs-tools": 6.5.0-alpha.57 - "@storybook/mdx1-csf": canary - "@storybook/node-logger": 6.5.0-alpha.57 - "@storybook/postinstall": 6.5.0-alpha.57 - "@storybook/preview-web": 6.5.0-alpha.57 - "@storybook/source-loader": 6.5.0-alpha.57 - "@storybook/store": 6.5.0-alpha.57 - "@storybook/theming": 6.5.0-alpha.57 - 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 - peerDependencies: - "@storybook/mdx2-csf": "*" - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - "@storybook/mdx2-csf": - optional: true - react: - optional: true - react-dom: - optional: true - checksum: 32d614db6ac1074868e51f6fc7ce706a01ac3401f947731843d3978131647ea82246ca75ea3df239a70bd7c65271a3d12ed9715710abf78a532bc436855f75ce - languageName: node - linkType: hard - "@storybook/addon-essentials@6.5.0-alpha.58, @storybook/addon-essentials@workspace:*, @storybook/addon-essentials@workspace:addons/essentials": version: 0.0.0-use.local resolution: "@storybook/addon-essentials@workspace:addons/essentials" @@ -6551,66 +6412,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-essentials@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addon-essentials@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addon-actions": 6.5.0-alpha.57 - "@storybook/addon-backgrounds": 6.5.0-alpha.57 - "@storybook/addon-controls": 6.5.0-alpha.57 - "@storybook/addon-docs": 6.5.0-alpha.57 - "@storybook/addon-measure": 6.5.0-alpha.57 - "@storybook/addon-outline": 6.5.0-alpha.57 - "@storybook/addon-toolbars": 6.5.0-alpha.57 - "@storybook/addon-viewport": 6.5.0-alpha.57 - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/core-common": 6.5.0-alpha.57 - "@storybook/node-logger": 6.5.0-alpha.57 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - peerDependencies: - "@babel/core": ^7.9.6 - peerDependenciesMeta: - "@storybook/angular": - optional: true - "@storybook/builder-manager4": - optional: true - "@storybook/builder-manager5": - optional: true - "@storybook/builder-webpack4": - optional: true - "@storybook/builder-webpack5": - optional: true - "@storybook/html": - optional: true - "@storybook/vue": - optional: true - "@storybook/vue3": - optional: true - "@storybook/web-components": - optional: true - lit: - optional: true - lit-html: - optional: true - react: - optional: true - react-dom: - optional: true - svelte: - optional: true - sveltedoc-parser: - optional: true - vue: - optional: true - webpack: - optional: true - checksum: 2fd482c5bf82b9b77f62823e3214e7392491d9892e4f4014017d0dbec228181dc36f7951c4667ee1459c0e970a8627e70a5eb5e62ada452c41925698d9db7784 - languageName: node - linkType: hard - "@storybook/addon-ie11@npm:0.0.7--canary.5e87b64.0": version: 0.0.7--canary.5e87b64.0 resolution: "@storybook/addon-ie11@npm:0.0.7--canary.5e87b64.0" @@ -6739,30 +6540,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-measure@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addon-measure@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - core-js: ^3.8.2 - global: ^4.4.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: fc8e20384268d4d40dcb29a8ecef16b28eea3c4f1796b4f2409bd736e4535dc560f526b6536eaf7a94895b4d20c79e2ffa53b5d745bd1b6766f60739ded304d6 - languageName: node - linkType: hard - "@storybook/addon-outline@6.5.0-alpha.58, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline": version: 0.0.0-use.local resolution: "@storybook/addon-outline@workspace:addons/outline" @@ -6789,32 +6566,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-outline@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addon-outline@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - core-js: ^3.8.2 - global: ^4.4.0 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 973da9f83e7df3acbc34c40b849c9418304b27842f7f717a681251a0a1c547638ccf379370d751778600c84b36f8ef404f526dd3aee9aee586dce810a516270a - languageName: node - linkType: hard - "@storybook/addon-postcss@npm:^2.0.0": version: 2.0.0 resolution: "@storybook/addon-postcss@npm:2.0.0" @@ -6992,29 +6743,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-toolbars@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addon-toolbars@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/theming": 6.5.0-alpha.57 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: cb6b408407de7e3838431b69c2e35cdd76cf2243fa770b8cdb1a2afd9b6747a50f12420ab2d45f1d3ee009c3caca8ddb0d861836dcb42143a629553fa56d661b - languageName: node - linkType: hard - "@storybook/addon-viewport@6.5.0-alpha.58, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport": version: 0.0.0-use.local resolution: "@storybook/addon-viewport@workspace:addons/viewport" @@ -7041,33 +6769,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-viewport@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addon-viewport@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/theming": 6.5.0-alpha.57 - core-js: ^3.8.2 - global: ^4.4.0 - memoizerific: ^1.11.3 - prop-types: ^15.7.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 01037f032c97d02ff1ecfd94aa5aa1c878cc214be1486b8fc25e071e76017cdf6a3a5c4d7213e30a7c10b2124ffc4dbdfa2c933f3142805fb9c1d3a5a68badc9 - languageName: node - linkType: hard - "@storybook/addons@6.5.0-alpha.58, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons": version: 0.0.0-use.local resolution: "@storybook/addons@workspace:lib/addons" @@ -7111,28 +6812,6 @@ __metadata: languageName: node linkType: hard -"@storybook/addons@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/addons@npm:6.5.0-alpha.57" - dependencies: - "@storybook/api": 6.5.0-alpha.57 - "@storybook/channels": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/router": 6.5.0-alpha.57 - "@storybook/theming": 6.5.0-alpha.57 - "@types/webpack-env": ^1.16.0 - core-js: ^3.8.2 - global: ^4.4.0 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 3efe2a891ad34e6563bc24fe88fc8770bd6f44a64cf78e3188f5407c3c9b08fce8dddc62b9e315b57c59c39283710a62899e3ef1b4c9a25d740926b5fa3af1c9 - languageName: node - linkType: hard - "@storybook/angular@6.5.0-alpha.58, @storybook/angular@workspace:*, @storybook/angular@workspace:app/angular": version: 0.0.0-use.local resolution: "@storybook/angular@workspace:app/angular" @@ -7282,34 +6961,6 @@ __metadata: languageName: node linkType: hard -"@storybook/api@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/api@npm:6.5.0-alpha.57" - dependencies: - "@storybook/channels": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/router": 6.5.0-alpha.57 - "@storybook/semver": ^7.3.2 - "@storybook/theming": 6.5.0-alpha.57 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - regenerator-runtime: ^0.13.7 - store2: ^2.12.0 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 622f55988e15124e1b122a9c030e0f4225423a0ea4ffd3f6c93383c21b7992fef1deb31a71414b135ca35345893eca3bcb7c0981fb96db439a1c9f87f8f53aa5 - languageName: node - linkType: hard - "@storybook/babel-plugin-require-context-hook@npm:1.0.1": version: 1.0.1 resolution: "@storybook/babel-plugin-require-context-hook@npm:1.0.1" @@ -7382,67 +7033,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-webpack4@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/builder-webpack4@npm:6.5.0-alpha.57" - dependencies: - "@babel/core": ^7.12.10 - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/channel-postmessage": 6.5.0-alpha.57 - "@storybook/channels": 6.5.0-alpha.57 - "@storybook/client-api": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/core-common": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/node-logger": 6.5.0-alpha.57 - "@storybook/preview-web": 6.5.0-alpha.57 - "@storybook/router": 6.5.0-alpha.57 - "@storybook/semver": ^7.3.2 - "@storybook/store": 6.5.0-alpha.57 - "@storybook/theming": 6.5.0-alpha.57 - "@storybook/ui": 6.5.0-alpha.57 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/webpack": ^4.41.26 - autoprefixer: ^9.8.6 - babel-loader: ^8.0.0 - case-sensitive-paths-webpack-plugin: ^2.3.0 - core-js: ^3.8.2 - css-loader: ^3.6.0 - file-loader: ^6.2.0 - find-up: ^5.0.0 - fork-ts-checker-webpack-plugin: ^4.1.6 - glob: ^7.1.6 - glob-promise: ^3.4.0 - global: ^4.4.0 - html-webpack-plugin: ^4.0.0 - pnp-webpack-plugin: 1.6.4 - postcss: ^7.0.36 - postcss-flexbugs-fixes: ^4.2.1 - postcss-loader: ^4.2.0 - raw-loader: ^4.0.2 - stable: ^0.1.8 - style-loader: ^1.3.0 - terser-webpack-plugin: ^4.2.3 - ts-dedent: ^2.0.0 - url-loader: ^4.1.1 - util-deprecate: ^1.0.2 - webpack: 4 - webpack-dev-middleware: ^3.7.3 - webpack-filter-warnings-plugin: ^1.2.1 - webpack-hot-middleware: ^2.25.1 - webpack-virtual-modules: ^0.2.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 774efbdd5f85db51894281bca5c696f4b04524d861f7c5b8d4832c8e252c057cba1e98701da7a78d696a545e14c872d8cd929acbf1c20ab05bf01485b9853999 - languageName: node - linkType: hard - "@storybook/builder-webpack5@6.5.0-alpha.58, @storybook/builder-webpack5@workspace:lib/builder-webpack5": version: 0.0.0-use.local resolution: "@storybook/builder-webpack5@workspace:lib/builder-webpack5" @@ -7513,21 +7103,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-postmessage@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/channel-postmessage@npm:6.5.0-alpha.57" - dependencies: - "@storybook/channels": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - core-js: ^3.8.2 - global: ^4.4.0 - qs: ^6.10.0 - telejson: ^5.3.3 - checksum: c6856a94908152d50920ff0d2d56c16511247c9ea4536dafd11e19115ab671127bb6a517e9c0631a96cbca613cf6d958e5c3e8565c3b50abb004c4e0ca8f692f - languageName: node - linkType: hard - "@storybook/channel-websocket@6.5.0-alpha.58, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket": version: 0.0.0-use.local resolution: "@storybook/channel-websocket@workspace:lib/channel-websocket" @@ -7540,19 +7115,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-websocket@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/channel-websocket@npm:6.5.0-alpha.57" - dependencies: - "@storybook/channels": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - core-js: ^3.8.2 - global: ^4.4.0 - telejson: ^5.3.3 - checksum: 0ac0205bd2c1a8004032df4ed10121f8c58aebb5e11745eee4a51df10817aa9e850056f3b3fce8a0ab172f7a2ef5adf38c1d16b629ac3337717d6959bbea50fc - languageName: node - linkType: hard - "@storybook/channels@6.5.0-alpha.58, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": version: 0.0.0-use.local resolution: "@storybook/channels@workspace:lib/channels" @@ -7574,17 +7136,6 @@ __metadata: languageName: node linkType: hard -"@storybook/channels@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/channels@npm:6.5.0-alpha.57" - dependencies: - core-js: ^3.8.2 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - checksum: cd49fe64a0938e00c6d800cc3cf2df6bf8b4cd1785e9164931fc4761e8c3cb33c828a6be7cf6d33a368bb7fdd8bfe17617ef8771e9107788ecccf5921a4b0f86 - languageName: node - linkType: hard - "@storybook/cli@6.5.0-alpha.58, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli": version: 0.0.0-use.local resolution: "@storybook/cli@workspace:lib/cli" @@ -7662,37 +7213,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/client-api@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/client-api@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/channel-postmessage": 6.5.0-alpha.57 - "@storybook/channels": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/store": 6.5.0-alpha.57 - "@types/qs": ^6.9.5 - "@types/webpack-env": ^1.16.0 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - qs: ^6.10.0 - regenerator-runtime: ^0.13.7 - store2: ^2.12.0 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 7178b3957f0e07321cb76db40ec3f5a6cd7e5eead003f339822af4e14fd576e556c7a691bfcdba3bfccf564fb742a0fff417b19b20a77f8a39d1fb628f4be3b3 - languageName: node - linkType: hard - "@storybook/client-logger@6.5.0-alpha.58, @storybook/client-logger@^6.4.0 || >=6.5.0-0, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": version: 0.0.0-use.local resolution: "@storybook/client-logger@workspace:lib/client-logger" @@ -7722,16 +7242,6 @@ __metadata: languageName: node linkType: hard -"@storybook/client-logger@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/client-logger@npm:6.5.0-alpha.57" - dependencies: - core-js: ^3.8.2 - global: ^4.4.0 - checksum: 0253b49699fbf45354a4885cb764a54a523592651033296e73cc8acbffdb06dd137505ad0a102250122505b5065eabffef564db1b5e236927c48b752b8bd6ee6 - languageName: node - linkType: hard - "@storybook/codemod@6.5.0-alpha.58, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod": version: 0.0.0-use.local resolution: "@storybook/codemod@workspace:lib/codemod" @@ -7809,22 +7319,6 @@ __metadata: languageName: node linkType: hard -"@storybook/components@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/components@npm:6.5.0-alpha.57" - dependencies: - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/theming": 6.5.0-alpha.57 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 278196b706a5b5db71c3b0d8cfa768bb958f373506c9eef7347a5f5241914ee53d554d434b94da16d39255cc3e52e71c35f8340ba05bbb0cb2fcc509fa549057 - languageName: node - linkType: hard - "@storybook/core-client@6.5.0-alpha.58, @storybook/core-client@workspace:lib/core-client": version: 0.0.0-use.local resolution: "@storybook/core-client@workspace:lib/core-client" @@ -7859,41 +7353,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-client@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/core-client@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/channel-postmessage": 6.5.0-alpha.57 - "@storybook/channel-websocket": 6.5.0-alpha.57 - "@storybook/client-api": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/preview-web": 6.5.0-alpha.57 - "@storybook/store": 6.5.0-alpha.57 - "@storybook/ui": 6.5.0-alpha.57 - airbnb-js-shims: ^2.2.1 - ansi-to-html: ^0.6.11 - core-js: ^3.8.2 - global: ^4.4.0 - lodash: ^4.17.21 - qs: ^6.10.0 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - unfetch: ^4.2.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - webpack: "*" - peerDependenciesMeta: - typescript: - optional: true - checksum: 473d78e2b7ee8786fae8d94d747fa4e9d3dc930c663bf8a0dad76a080eaaa6c87e4acd6d478e6a82044fa82a996280f6bbc24a0eaf9d74842ca6ecd55135293c - languageName: node - linkType: hard - "@storybook/core-common@6.5.0-alpha.58, @storybook/core-common@workspace:lib/core-common": version: 0.0.0-use.local resolution: "@storybook/core-common@workspace:lib/core-common" @@ -7963,70 +7422,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-common@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/core-common@npm:6.5.0-alpha.57" - dependencies: - "@babel/core": ^7.12.10 - "@babel/plugin-proposal-class-properties": ^7.12.1 - "@babel/plugin-proposal-decorators": ^7.12.12 - "@babel/plugin-proposal-export-default-from": ^7.12.1 - "@babel/plugin-proposal-nullish-coalescing-operator": ^7.12.1 - "@babel/plugin-proposal-object-rest-spread": ^7.12.1 - "@babel/plugin-proposal-optional-chaining": ^7.12.7 - "@babel/plugin-proposal-private-methods": ^7.12.1 - "@babel/plugin-proposal-private-property-in-object": ^7.12.1 - "@babel/plugin-syntax-dynamic-import": ^7.8.3 - "@babel/plugin-transform-arrow-functions": ^7.12.1 - "@babel/plugin-transform-block-scoping": ^7.12.12 - "@babel/plugin-transform-classes": ^7.12.1 - "@babel/plugin-transform-destructuring": ^7.12.1 - "@babel/plugin-transform-for-of": ^7.12.1 - "@babel/plugin-transform-parameters": ^7.12.1 - "@babel/plugin-transform-shorthand-properties": ^7.12.1 - "@babel/plugin-transform-spread": ^7.12.1 - "@babel/preset-env": ^7.12.11 - "@babel/preset-react": ^7.12.10 - "@babel/preset-typescript": ^7.12.7 - "@babel/register": ^7.12.1 - "@storybook/node-logger": 6.5.0-alpha.57 - "@storybook/semver": ^7.3.2 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/pretty-hrtime": ^1.0.0 - babel-loader: ^8.0.0 - babel-plugin-macros: ^3.0.1 - babel-plugin-polyfill-corejs3: ^0.1.0 - chalk: ^4.1.0 - core-js: ^3.8.2 - express: ^4.17.1 - file-system-cache: ^1.0.5 - find-up: ^5.0.0 - fork-ts-checker-webpack-plugin: ^6.0.4 - fs-extra: ^9.0.1 - glob: ^7.1.6 - handlebars: ^4.7.7 - interpret: ^2.2.0 - json5: ^2.1.3 - lazy-universal-dotenv: ^3.0.1 - picomatch: ^2.3.0 - pkg-dir: ^5.0.0 - pretty-hrtime: ^1.0.3 - resolve-from: ^5.0.0 - slash: ^3.0.0 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - webpack: 4 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 3b0e990590e20dac07f59ca630855d85c45025d54419ba57d7bd7e93564bb105043f3ceb0c9e7a9025957d47ef16d7b120f5ac640efe5d4ee9bbe766ccaa9f1b - languageName: node - linkType: hard - "@storybook/core-events@6.5.0-alpha.58, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": version: 0.0.0-use.local resolution: "@storybook/core-events@workspace:lib/core-events" @@ -8044,15 +7439,6 @@ __metadata: languageName: node linkType: hard -"@storybook/core-events@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/core-events@npm:6.5.0-alpha.57" - dependencies: - core-js: ^3.8.2 - checksum: d6a7003f3d85d6b8899a65c00a325b29bc0abc0729c3a731930deba684073c9fcb96f95308211b2e3ec0843ad6c0f970fce95f54ef5c854509d28559d2ebecff - languageName: node - linkType: hard - "@storybook/core-server@6.5.0-alpha.58, @storybook/core-server@workspace:lib/core-server": version: 0.0.0-use.local resolution: "@storybook/core-server@workspace:lib/core-server" @@ -8120,68 +7506,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-server@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/core-server@npm:6.5.0-alpha.57" - dependencies: - "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-webpack4": 6.5.0-alpha.57 - "@storybook/core-client": 6.5.0-alpha.57 - "@storybook/core-common": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/csf-tools": 6.5.0-alpha.57 - "@storybook/manager-webpack4": 6.5.0-alpha.57 - "@storybook/node-logger": 6.5.0-alpha.57 - "@storybook/semver": ^7.3.2 - "@storybook/store": 6.5.0-alpha.57 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/node-fetch": ^2.5.7 - "@types/pretty-hrtime": ^1.0.0 - "@types/webpack": ^4.41.26 - better-opn: ^2.1.1 - boxen: ^5.1.2 - chalk: ^4.1.0 - cli-table3: ^0.6.1 - commander: ^6.2.1 - compression: ^1.7.4 - core-js: ^3.8.2 - cpy: ^8.1.2 - detect-port: ^1.3.0 - express: ^4.17.1 - fs-extra: ^9.0.1 - global: ^4.4.0 - globby: ^11.0.2 - ip: ^1.1.5 - lodash: ^4.17.21 - node-fetch: ^2.6.7 - open: ^8.4.0 - pretty-hrtime: ^1.0.3 - prompts: ^2.4.0 - regenerator-runtime: ^0.13.7 - serve-favicon: ^2.5.0 - slash: ^3.0.0 - telejson: ^5.3.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - watchpack: ^2.2.0 - webpack: 4 - ws: ^8.2.3 - x-default-browser: ^0.4.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - "@storybook/builder-webpack5": - optional: true - "@storybook/manager-webpack5": - optional: true - typescript: - optional: true - checksum: 7c6f558f84ecef68ea7cfa1b724c040fa25456792604265210c4271de70db6ca21f93853b4f615f6cb591547a032bc91618991bcb44d9e49de8ecc9da1a29eb9 - languageName: node - linkType: hard - "@storybook/core@6.5.0-alpha.58, @storybook/core@workspace:*, @storybook/core@workspace:lib/core": version: 0.0.0-use.local resolution: "@storybook/core@workspace:lib/core" @@ -8202,27 +7526,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/core@npm:6.5.0-alpha.57" - dependencies: - "@storybook/core-client": 6.5.0-alpha.57 - "@storybook/core-server": 6.5.0-alpha.57 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - webpack: "*" - peerDependenciesMeta: - "@storybook/builder-webpack5": - optional: true - "@storybook/manager-webpack5": - optional: true - typescript: - optional: true - checksum: 2ae7e96ab87495bed1012c65dcdec02b45991b381c9dd286e62efd2a9a22b29730746c56805e1eb78016058f5052f29f9bf1b4fb7e7c4a0dd8116a4b75588710 - languageName: node - linkType: hard - "@storybook/csf-tools@6.5.0-alpha.58, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": version: 0.0.0-use.local resolution: "@storybook/csf-tools@workspace:lib/csf-tools" @@ -8252,33 +7555,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/csf-tools@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/csf-tools@npm:6.5.0-alpha.57" - dependencies: - "@babel/core": ^7.12.10 - "@babel/generator": ^7.12.11 - "@babel/parser": ^7.12.11 - "@babel/plugin-transform-react-jsx": ^7.12.12 - "@babel/preset-env": ^7.12.11 - "@babel/traverse": ^7.12.11 - "@babel/types": ^7.12.11 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/mdx1-csf": canary - core-js: ^3.8.2 - fs-extra: ^9.0.1 - global: ^4.4.0 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - peerDependencies: - "@storybook/mdx2-csf": "*" - peerDependenciesMeta: - "@storybook/mdx2-csf": - optional: true - checksum: c37ffebc33adb51c00838ac0f8a24892765065414e692b5ef1b4270cd2347f798e362b848c622a3ae6ddb56894badca9fb4d63662864019f050dc46e00e581ff - languageName: node - linkType: hard - "@storybook/csf@npm:0.0.2--canary.507502b.0": version: 0.0.2--canary.507502b.0 resolution: "@storybook/csf@npm:0.0.2--canary.507502b.0" @@ -8354,21 +7630,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/docs-tools@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/docs-tools@npm:6.5.0-alpha.57" - dependencies: - "@babel/core": ^7.12.10 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/store": 6.5.0-alpha.57 - core-js: ^3.8.2 - doctrine: ^3.0.0 - lodash: ^4.17.21 - regenerator-runtime: ^0.13.7 - checksum: 9a7e6edcb433dc55ec21b8653c0ac59d6f87538e5d849babe68e3c6404c227c8461c95ea648d83305cb4f00b78490ab55d296f7b1a00d7c1615bf96623718c91 - languageName: node - linkType: hard - "@storybook/ember-cli-storybook@npm:^0.2.1": version: 0.2.1 resolution: "@storybook/ember-cli-storybook@npm:0.2.1" @@ -8481,13 +7742,13 @@ __metadata: "@babel/preset-env": ^7.12.11 "@babel/preset-react": ^7.12.10 "@babel/preset-typescript": ^7.12.7 - "@storybook/addon-essentials": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 + "@storybook/addon-essentials": 6.5.0-alpha.58 + "@storybook/components": 6.5.0-alpha.58 "@storybook/csf": 0.0.2--canary.87bc651.0 - "@storybook/preview-web": 6.5.0-alpha.57 - "@storybook/react": 6.5.0-alpha.57 - "@storybook/store": 6.5.0-alpha.57 - "@storybook/theming": 6.5.0-alpha.57 + "@storybook/preview-web": 6.5.0-alpha.58 + "@storybook/react": 6.5.0-alpha.58 + "@storybook/store": 6.5.0-alpha.58 + "@storybook/theming": 6.5.0-alpha.58 "@testing-library/dom": ^7.31.2 "@testing-library/user-event": ^13.1.9 "@types/babel__preset-env": ^7 @@ -8650,55 +7911,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/manager-webpack4@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/manager-webpack4@npm:6.5.0-alpha.57" - dependencies: - "@babel/core": ^7.12.10 - "@babel/plugin-transform-template-literals": ^7.12.1 - "@babel/preset-react": ^7.12.10 - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/core-client": 6.5.0-alpha.57 - "@storybook/core-common": 6.5.0-alpha.57 - "@storybook/node-logger": 6.5.0-alpha.57 - "@storybook/theming": 6.5.0-alpha.57 - "@storybook/ui": 6.5.0-alpha.57 - "@types/node": ^14.0.10 || ^16.0.0 - "@types/webpack": ^4.41.26 - babel-loader: ^8.0.0 - case-sensitive-paths-webpack-plugin: ^2.3.0 - chalk: ^4.1.0 - core-js: ^3.8.2 - css-loader: ^3.6.0 - express: ^4.17.1 - file-loader: ^6.2.0 - find-up: ^5.0.0 - fs-extra: ^9.0.1 - html-webpack-plugin: ^4.0.0 - node-fetch: ^2.6.7 - pnp-webpack-plugin: 1.6.4 - read-pkg-up: ^7.0.1 - regenerator-runtime: ^0.13.7 - resolve-from: ^5.0.0 - style-loader: ^1.3.0 - telejson: ^5.3.3 - terser-webpack-plugin: ^4.2.3 - ts-dedent: ^2.0.0 - url-loader: ^4.1.1 - util-deprecate: ^1.0.2 - webpack: 4 - webpack-dev-middleware: ^3.7.3 - webpack-virtual-modules: ^0.2.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: b3a6aac069df6ef77faf11d143453c990222e5cbb0349a8c91828679412baae4d39956b535cec743179c13b73ef1081b0ab95c5d3a539c1f5de7877081fd7084 - languageName: node - linkType: hard - "@storybook/manager-webpack5@workspace:lib/manager-webpack5": version: 0.0.0-use.local resolution: "@storybook/manager-webpack5@workspace:lib/manager-webpack5" @@ -8809,19 +8021,6 @@ __metadata: languageName: node linkType: hard -"@storybook/node-logger@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/node-logger@npm:6.5.0-alpha.57" - dependencies: - "@types/npmlog": ^4.1.2 - chalk: ^4.1.0 - core-js: ^3.8.2 - npmlog: ^5.0.1 - pretty-hrtime: ^1.0.3 - checksum: 4494e4cf0504ff3a05d503d25f58ef9487a17f1cc707618b09900012d80b804a8b9c62d5d0fd996bdbf0596554508132f69fa9d68478eb16bd8e43eca3e6c441 - languageName: node - linkType: hard - "@storybook/postinstall@6.5.0-alpha.58, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall": version: 0.0.0-use.local resolution: "@storybook/postinstall@workspace:lib/postinstall" @@ -8833,15 +8032,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/postinstall@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/postinstall@npm:6.5.0-alpha.57" - dependencies: - core-js: ^3.8.2 - checksum: 66334a6a7967da913551383075774304287d8f77ae83554d11379e5ad763e4e8e0ea64abc5dc1c955291b364c95221ee3dfb6df3cd62242110bbac4f910fbdc7 - languageName: node - linkType: hard - "@storybook/preact@6.5.0-alpha.58, @storybook/preact@workspace:*, @storybook/preact@workspace:app/preact": version: 0.0.0-use.local resolution: "@storybook/preact@workspace:app/preact" @@ -8930,33 +8120,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preview-web@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/preview-web@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/channel-postmessage": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/store": 6.5.0-alpha.57 - ansi-to-html: ^0.6.11 - core-js: ^3.8.2 - global: ^4.4.0 - lodash: ^4.17.21 - qs: ^6.10.0 - regenerator-runtime: ^0.13.7 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - unfetch: ^4.2.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: e9b7efd476eddc9b0a96d95c07259ad355b67c3e47cd6b98f1890fe879188f21bda1099c3ae819b7f97a87073430da8c529a105f4a1a6b003b1c05854f64bb44 - languageName: node - linkType: hard - "@storybook/react-docgen-typescript-plugin@npm:1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0": version: 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0 resolution: "@storybook/react-docgen-typescript-plugin@npm:1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0" @@ -9041,71 +8204,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/react@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/react@npm:6.5.0-alpha.57" - 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.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/core": 6.5.0-alpha.57 - "@storybook/core-common": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - "@storybook/docs-tools": 6.5.0-alpha.57 - "@storybook/node-logger": 6.5.0-alpha.57 - "@storybook/react-docgen-typescript-plugin": 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0 - "@storybook/semver": ^7.3.2 - "@storybook/store": 6.5.0-alpha.57 - "@types/estree": ^0.0.51 - "@types/node": ^14.14.20 || ^16.0.0 - "@types/webpack-env": ^1.16.0 - acorn: ^7.4.1 - acorn-jsx: ^5.3.1 - acorn-walk: ^7.2.0 - babel-plugin-add-react-displayname: ^0.0.5 - babel-plugin-react-docgen: ^4.2.1 - core-js: ^3.8.2 - escodegen: ^2.0.0 - global: ^4.4.0 - html-tags: ^3.1.0 - lodash: ^4.17.21 - prop-types: ^15.7.2 - react-element-to-jsx-string: ^14.3.4 - react-refresh: ^0.11.0 - read-pkg-up: ^7.0.1 - regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - webpack: ">=4.43.0 <6.0.0" - peerDependencies: - "@babel/core": ^7.11.5 - jest-specific-snapshot: ^4.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - require-from-string: ^2.0.2 - peerDependenciesMeta: - "@babel/core": - optional: true - "@storybook/builder-webpack4": - optional: true - "@storybook/builder-webpack5": - optional: true - "@storybook/manager-webpack4": - optional: true - "@storybook/manager-webpack5": - optional: true - typescript: - optional: true - bin: - build-storybook: bin/build.js - start-storybook: bin/index.js - storybook-server: bin/index.js - checksum: 9197a0be83824c491aeadf72787f38f60ebefa9f07257a40390ed5cdbe8fb57cbbf69784c704410b87bd01f350d6db7e9a7f1b0908bf665dbbbd8303ca4d8e61 - languageName: node - linkType: hard - "@storybook/root@workspace:.": version: 0.0.0-use.local resolution: "@storybook/root@workspace:." @@ -9400,20 +8498,6 @@ __metadata: languageName: node linkType: hard -"@storybook/router@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/router@npm:6.5.0-alpha.57" - dependencies: - "@storybook/client-logger": 6.5.0-alpha.57 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 99ebc7e9ec27c5feaa85c8774fe3e980b5b91438819cd0b8a914f9dd01d5836ef57846e11602fe6f296d4291dbef660efe9a34273e8ccca98dfdabb38d08b9e8 - languageName: node - linkType: hard - "@storybook/semver@npm:^7.3.2": version: 7.3.2 resolution: "@storybook/semver@npm:7.3.2" @@ -9479,27 +8563,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/source-loader@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/source-loader@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - 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 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 4159072274906763275ed3251ee38d8eb4c281934e78653b464447ac05cb0314cb1bf4a41da90c53fd66e1d48af6ccaf9a09c42d5844ed98df95ec243e6bb6e4 - languageName: node - linkType: hard - "@storybook/store@6.5.0-alpha.58, @storybook/store@workspace:*, @storybook/store@workspace:lib/store": version: 0.0.0-use.local resolution: "@storybook/store@workspace:lib/store" @@ -9525,32 +8588,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/store@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/store@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/csf": 0.0.2--canary.7c6c115.0 - core-js: ^3.8.2 - fast-deep-equal: ^3.1.3 - global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - regenerator-runtime: ^0.13.7 - slash: ^3.0.0 - stable: ^0.1.8 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: ee2ebacddc9ac0fb58a06d6bd046675e7344f961df52469957079ab3a95404546cf4fe1b41512c371cd7c6e07ac306d56dadb3ba4c4f8a908d39042dec5bb724 - languageName: node - linkType: hard - "@storybook/svelte@6.5.0-alpha.58, @storybook/svelte@workspace:*, @storybook/svelte@workspace:app/svelte": version: 0.0.0-use.local resolution: "@storybook/svelte@workspace:app/svelte" @@ -9675,20 +8712,6 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/theming@npm:6.5.0-alpha.57" - dependencies: - "@storybook/client-logger": 6.5.0-alpha.57 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 41475843b76b50253d4255f1f0e6c16a495c770d56bf7bdcb4c3b6e4186ff400bba93a4ea4927bcec9daf68666b0fbd36062fbcd42bc0e4f6beb8273168b97a8 - languageName: node - linkType: hard - "@storybook/ui@6.5.0-alpha.58, @storybook/ui@workspace:*, @storybook/ui@workspace:lib/ui": version: 0.0.0-use.local resolution: "@storybook/ui@workspace:lib/ui" @@ -9731,29 +8754,6 @@ __metadata: languageName: unknown linkType: soft -"@storybook/ui@npm:6.5.0-alpha.57": - version: 6.5.0-alpha.57 - resolution: "@storybook/ui@npm:6.5.0-alpha.57" - dependencies: - "@storybook/addons": 6.5.0-alpha.57 - "@storybook/api": 6.5.0-alpha.57 - "@storybook/channels": 6.5.0-alpha.57 - "@storybook/client-logger": 6.5.0-alpha.57 - "@storybook/components": 6.5.0-alpha.57 - "@storybook/core-events": 6.5.0-alpha.57 - "@storybook/router": 6.5.0-alpha.57 - "@storybook/semver": ^7.3.2 - "@storybook/theming": 6.5.0-alpha.57 - core-js: ^3.8.2 - regenerator-runtime: ^0.13.7 - resolve-from: ^5.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 9ff3c8d45b758757baa6a7ada23ed1540219d48e753e05abe48ed549595d7629b64a5cd0c3b51d3f8c23cecd1ced22922f01bf0f167423f5e548ccd0cb70210e - languageName: node - linkType: hard - "@storybook/vue3@6.5.0-alpha.58, @storybook/vue3@workspace:app/vue3": version: 0.0.0-use.local resolution: "@storybook/vue3@workspace:app/vue3" @@ -21604,16 +20604,6 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.9.2": - version: 5.9.2 - resolution: "enhanced-resolve@npm:5.9.2" - dependencies: - graceful-fs: ^4.2.4 - tapable: ^2.2.0 - checksum: 0732469279b1ee1b4a46bacb84298d179e9285a6365f83f5076da5841f1213eeb8556b0761bf3a8c4b194e54f1fa7c4c6adbb294a34b8ef0334ab18d1b22554e - languageName: node - linkType: hard - "enquirer@npm:^2.3.5, enquirer@npm:^2.3.6, enquirer@npm:~2.3.6": version: 2.3.6 resolution: "enquirer@npm:2.3.6" @@ -47564,43 +46554,6 @@ __metadata: languageName: node linkType: hard -"webpack@npm:>=4.43.0 <6.0.0": - version: 5.71.0 - resolution: "webpack@npm:5.71.0" - 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.4.1 - acorn-import-assertions: ^1.7.6 - browserslist: ^4.14.5 - chrome-trace-event: ^1.0.2 - enhanced-resolve: ^5.9.2 - 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-better-errors: ^1.0.2 - 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.3.1 - webpack-sources: ^3.2.3 - peerDependenciesMeta: - webpack-cli: - optional: true - bin: - webpack: bin/webpack.js - checksum: 7edec6b81bd9d807b25e41ef96089f2bc394a5890a8725906d40d3125644557dc4171096058702ed5278c00731fefba21467eb7ca87b808eb1c96c2267a472b3 - languageName: node - linkType: hard - "webpack@npm:^5, webpack@npm:^5.1.0, webpack@npm:^5.9.0": version: 5.69.1 resolution: "webpack@npm:5.69.1"