diff --git a/.yarnrc.yml b/.yarnrc.yml index edf5b783..2d667395 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,3 +1,3 @@ -nodeLinker: node-modules +nodeLinker: pnp yarnPath: .yarn/releases/yarn-3.6.1.cjs diff --git a/package.json b/package.json index 8646ebd8..306ee999 100644 --- a/package.json +++ b/package.json @@ -55,16 +55,20 @@ "@storybook/addon-a11y": "7.4.0", "@storybook/addon-coverage": "^0.0.9", "@storybook/addon-designs": "^7.0.5", + "@storybook/addon-docs": "^7.5.1", "@storybook/addon-essentials": "7.4.0", "@storybook/addon-interactions": "7.4.0", "@storybook/addon-storyshots": "7.4.0", + "@storybook/addon-viewport": "^7.5.1", "@storybook/blocks": "7.4.0", + "@storybook/components": "^7.5.1", "@storybook/jest": "^0.2.2", "@storybook/react": "7.4.0", "@storybook/react-vite": "7.4.0", "@storybook/test-runner": "0.13.0", "@storybook/testing-library": "^0.2.0", "@storybook/testing-react": "2.0.0", + "@storybook/theming": "^7.5.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^12.1.2", "@testing-library/user-event": "^13.5.0", diff --git a/yarn.lock b/yarn.lock index dbbe6cee..81cd3ff1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3488,6 +3488,36 @@ __metadata: languageName: node linkType: hard +"@storybook/addon-docs@npm:^7.5.1": + version: 7.5.1 + resolution: "@storybook/addon-docs@npm:7.5.1" + dependencies: + "@jest/transform": ^29.3.1 + "@mdx-js/react": ^2.1.5 + "@storybook/blocks": 7.5.1 + "@storybook/client-logger": 7.5.1 + "@storybook/components": 7.5.1 + "@storybook/csf-plugin": 7.5.1 + "@storybook/csf-tools": 7.5.1 + "@storybook/global": ^5.0.0 + "@storybook/mdx2-csf": ^1.0.0 + "@storybook/node-logger": 7.5.1 + "@storybook/postinstall": 7.5.1 + "@storybook/preview-api": 7.5.1 + "@storybook/react-dom-shim": 7.5.1 + "@storybook/theming": 7.5.1 + "@storybook/types": 7.5.1 + fs-extra: ^11.1.0 + remark-external-links: ^8.0.0 + remark-slug: ^6.0.0 + 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 + checksum: 2acdcc4c286cb20a91e08801a0fdcb0b0a9954cb162866a122c73c3c57e84bdd9c47f898c7fc8f4fa13b8f440a43d6f718819c65c8a98fc64c0f18d6b856ae80 + languageName: node + linkType: hard + "@storybook/addon-essentials@npm:7.4.0": version: 7.4.0 resolution: "@storybook/addon-essentials@npm:7.4.0" @@ -3719,6 +3749,31 @@ __metadata: languageName: node linkType: hard +"@storybook/addon-viewport@npm:^7.5.1": + version: 7.5.1 + resolution: "@storybook/addon-viewport@npm:7.5.1" + dependencies: + "@storybook/client-logger": 7.5.1 + "@storybook/components": 7.5.1 + "@storybook/core-events": 7.5.1 + "@storybook/global": ^5.0.0 + "@storybook/manager-api": 7.5.1 + "@storybook/preview-api": 7.5.1 + "@storybook/theming": 7.5.1 + memoizerific: ^1.11.3 + prop-types: ^15.7.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: 31bae0fedffdb014d5a882ae848745c950b79d8287854e9affe9549239eac7f186918830f956fbb9d63009f2aae87872ecce32a66521a3c17c3eb25c77946c54 + 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" @@ -3760,6 +3815,40 @@ __metadata: languageName: node linkType: hard +"@storybook/blocks@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/blocks@npm:7.5.1" + dependencies: + "@storybook/channels": 7.5.1 + "@storybook/client-logger": 7.5.1 + "@storybook/components": 7.5.1 + "@storybook/core-events": 7.5.1 + "@storybook/csf": ^0.1.0 + "@storybook/docs-tools": 7.5.1 + "@storybook/global": ^5.0.0 + "@storybook/manager-api": 7.5.1 + "@storybook/preview-api": 7.5.1 + "@storybook/theming": 7.5.1 + "@storybook/types": 7.5.1 + "@types/lodash": ^4.14.167 + color-convert: ^2.0.1 + dequal: ^2.0.2 + lodash: ^4.17.21 + markdown-to-jsx: ^7.1.8 + memoizerific: ^1.11.3 + polished: ^4.2.2 + react-colorful: ^5.1.2 + telejson: ^7.2.0 + tocbot: ^4.20.1 + 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: 9cbfca47667b8b641503cc26be4d1ba2e785250113deb9ec8ad77091222555e6724168f0186324548bf7bafdddb4b117aca77dc0250925d8017a4605ff731510 + languageName: node + linkType: hard + "@storybook/builder-manager@npm:7.4.0": version: 7.4.0 resolution: "@storybook/builder-manager@npm:7.4.0" @@ -3837,6 +3926,20 @@ __metadata: languageName: node linkType: hard +"@storybook/channels@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/channels@npm:7.5.1" + dependencies: + "@storybook/client-logger": 7.5.1 + "@storybook/core-events": 7.5.1 + "@storybook/global": ^5.0.0 + qs: ^6.10.0 + telejson: ^7.2.0 + tiny-invariant: ^1.3.1 + checksum: 2f5f68caff1e84e75aa6df12192e464cd0cb370a425d4c72c72a5e15f1c1d2b64fd64a6adaa4cfffef8ecfc63edb42b4032365977705c7b10b51795f8ec55cdd + languageName: node + linkType: hard + "@storybook/cli@npm:7.4.0": version: 7.4.0 resolution: "@storybook/cli@npm:7.4.0" @@ -3907,6 +4010,15 @@ __metadata: languageName: node linkType: hard +"@storybook/client-logger@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/client-logger@npm:7.5.1" + dependencies: + "@storybook/global": ^5.0.0 + checksum: 9e937b933f8a0063bb31d9bb3b8374903ce9a88a77517915ac899fe6958f1aa5e256af09bbcfbc0351d9f03cd421e952cb2cb5000cb0144cdccc0949438e2784 + languageName: node + linkType: hard + "@storybook/codemod@npm:7.4.0": version: 7.4.0 resolution: "@storybook/codemod@npm:7.4.0" @@ -3950,6 +4062,27 @@ __metadata: languageName: node linkType: hard +"@storybook/components@npm:7.5.1, @storybook/components@npm:^7.5.1": + version: 7.5.1 + resolution: "@storybook/components@npm:7.5.1" + dependencies: + "@radix-ui/react-select": ^1.2.2 + "@radix-ui/react-toolbar": ^1.0.4 + "@storybook/client-logger": 7.5.1 + "@storybook/csf": ^0.1.0 + "@storybook/global": ^5.0.0 + "@storybook/theming": 7.5.1 + "@storybook/types": 7.5.1 + memoizerific: ^1.11.3 + use-resize-observer: ^9.1.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: 7af78446886f1476502cf456aacc104a226e4872cfc8b59956ac6a7ca674545e94cbe1f94953e27f533ff3f684cf53518ecd3e67b68fb83b5f7350d0eb2163eb + languageName: node + linkType: hard + "@storybook/core-client@npm:7.4.0": version: 7.4.0 resolution: "@storybook/core-client@npm:7.4.0" @@ -3990,6 +4123,37 @@ __metadata: languageName: node linkType: hard +"@storybook/core-common@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/core-common@npm:7.5.1" + dependencies: + "@storybook/core-events": 7.5.1 + "@storybook/node-logger": 7.5.1 + "@storybook/types": 7.5.1 + "@types/find-cache-dir": ^3.2.1 + "@types/node": ^18.0.0 + "@types/node-fetch": ^2.6.4 + "@types/pretty-hrtime": ^1.0.0 + chalk: ^4.1.0 + esbuild: ^0.18.0 + esbuild-register: ^3.5.0 + file-system-cache: 2.3.0 + find-cache-dir: ^3.0.0 + find-up: ^5.0.0 + fs-extra: ^11.1.0 + glob: ^10.0.0 + handlebars: ^4.7.7 + lazy-universal-dotenv: ^4.0.0 + node-fetch: ^2.0.0 + picomatch: ^2.3.0 + pkg-dir: ^5.0.0 + pretty-hrtime: ^1.0.3 + resolve-from: ^5.0.0 + ts-dedent: ^2.0.0 + checksum: 935a90cb754c15142e2029c3700f0b70ea9a1fa077f25604c7a3544b29a746d865d8cca22b8e46d93e2169d593ca528a9e0cd942a49a47087d044108c347751a + languageName: node + linkType: hard + "@storybook/core-events@npm:7.4.0": version: 7.4.0 resolution: "@storybook/core-events@npm:7.4.0" @@ -3999,6 +4163,15 @@ __metadata: languageName: node linkType: hard +"@storybook/core-events@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/core-events@npm:7.5.1" + dependencies: + ts-dedent: ^2.0.0 + checksum: 26fbb71ba1cc44a50a890377efcbc7e57f9f388174e5b37cda1fdfdb8abb266162fb18d0414535fe469fe048057c53e5b6d6c304486fc943af04ea729ce77be0 + languageName: node + linkType: hard + "@storybook/core-server@npm:7.4.0": version: 7.4.0 resolution: "@storybook/core-server@npm:7.4.0" @@ -4072,6 +4245,16 @@ __metadata: languageName: node linkType: hard +"@storybook/csf-plugin@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/csf-plugin@npm:7.5.1" + dependencies: + "@storybook/csf-tools": 7.5.1 + unplugin: ^1.3.1 + checksum: beaea3e56b8c17c54c50d9581a09c399327e54c0368901c9063e4ccd139d2f50894718d68cdcc1ef21cfeee7dff31ec6b81b0f0559261095426dfc150ade743c + languageName: node + linkType: hard + "@storybook/csf-tools@npm:7.4.0, @storybook/csf-tools@npm:^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0": version: 7.4.0 resolution: "@storybook/csf-tools@npm:7.4.0" @@ -4089,6 +4272,23 @@ __metadata: languageName: node linkType: hard +"@storybook/csf-tools@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/csf-tools@npm:7.5.1" + dependencies: + "@babel/generator": ^7.22.9 + "@babel/parser": ^7.22.7 + "@babel/traverse": ^7.22.8 + "@babel/types": ^7.22.5 + "@storybook/csf": ^0.1.0 + "@storybook/types": 7.5.1 + fs-extra: ^11.1.0 + recast: ^0.23.1 + ts-dedent: ^2.0.0 + checksum: aaa9acc1d01e823090a84df6ad0a8491c7be95ee058a800857dad498de227475979c3892b4f397b2224885b98438c90fa5ffb2cbb6c2a0b91e38f6644a9ccc92 + languageName: node + linkType: hard + "@storybook/csf@npm:^0.0.1": version: 0.0.1 resolution: "@storybook/csf@npm:0.0.1" @@ -4128,6 +4328,20 @@ __metadata: languageName: node linkType: hard +"@storybook/docs-tools@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/docs-tools@npm:7.5.1" + dependencies: + "@storybook/core-common": 7.5.1 + "@storybook/preview-api": 7.5.1 + "@storybook/types": 7.5.1 + "@types/doctrine": ^0.0.3 + doctrine: ^3.0.0 + lodash: ^4.17.21 + checksum: e402bb1a16e0fd6e5e406167be7471d667acd4c5b99922df48737ceec5d4511089cab7e572505e4715107fdedf3e8a213bdf174c22475371abc5e9522f162895 + languageName: node + linkType: hard + "@storybook/expect@npm:storybook-jest": version: 27.5.2-0 resolution: "@storybook/expect@npm:27.5.2-0" @@ -4195,6 +4409,32 @@ __metadata: languageName: node linkType: hard +"@storybook/manager-api@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/manager-api@npm:7.5.1" + dependencies: + "@storybook/channels": 7.5.1 + "@storybook/client-logger": 7.5.1 + "@storybook/core-events": 7.5.1 + "@storybook/csf": ^0.1.0 + "@storybook/global": ^5.0.0 + "@storybook/router": 7.5.1 + "@storybook/theming": 7.5.1 + "@storybook/types": 7.5.1 + dequal: ^2.0.2 + lodash: ^4.17.21 + memoizerific: ^1.11.3 + semver: ^7.3.7 + store2: ^2.14.2 + telejson: ^7.2.0 + 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 + checksum: 85c7e66d7e6df6ba862bc2fb2a80143f1854210883cdcfd58b5e67a76c2e02e8da514346af8d3e2a9bfc81c3bc168ecc51e2ccc24dda5b5b05c39fde00175687 + languageName: node + linkType: hard + "@storybook/manager@npm:7.4.0": version: 7.4.0 resolution: "@storybook/manager@npm:7.4.0" @@ -4216,6 +4456,13 @@ __metadata: languageName: node linkType: hard +"@storybook/node-logger@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/node-logger@npm:7.5.1" + checksum: 8c476e49a1ec19adba4c532476d4e5ccf58c8be16f7b70064a127f86a5d8bcf5c5bb947f18b0cb10c59cf3143b1f832379797009071ead5a586060afe9158760 + languageName: node + linkType: hard + "@storybook/postinstall@npm:7.4.0": version: 7.4.0 resolution: "@storybook/postinstall@npm:7.4.0" @@ -4223,6 +4470,13 @@ __metadata: languageName: node linkType: hard +"@storybook/postinstall@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/postinstall@npm:7.5.1" + checksum: 7a4487395bc7047d6f0b59d1662e11298bbbbb75997f243e68c07fe46ca468aef11c2ff021230ac5b37ca900664fcdb3218e8cb5db8938790cf2ec1b756adf62 + languageName: node + linkType: hard + "@storybook/preview-api@npm:7.4.0, @storybook/preview-api@npm:^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0": version: 7.4.0 resolution: "@storybook/preview-api@npm:7.4.0" @@ -4245,6 +4499,28 @@ __metadata: languageName: node linkType: hard +"@storybook/preview-api@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/preview-api@npm:7.5.1" + dependencies: + "@storybook/channels": 7.5.1 + "@storybook/client-logger": 7.5.1 + "@storybook/core-events": 7.5.1 + "@storybook/csf": ^0.1.0 + "@storybook/global": ^5.0.0 + "@storybook/types": 7.5.1 + "@types/qs": ^6.9.5 + dequal: ^2.0.2 + lodash: ^4.17.21 + memoizerific: ^1.11.3 + qs: ^6.10.0 + synchronous-promise: ^2.0.15 + ts-dedent: ^2.0.0 + util-deprecate: ^1.0.2 + checksum: ec4b24b314109c7a726dd4f87542af80732c94af165754f11a4ea61f44d11f5bcf05cb4f75bf249cec5e5ee016a790496ea4315c409044da7f766c49ff121258 + languageName: node + linkType: hard + "@storybook/preview@npm:7.4.0": version: 7.4.0 resolution: "@storybook/preview@npm:7.4.0" @@ -4262,6 +4538,16 @@ __metadata: languageName: node linkType: hard +"@storybook/react-dom-shim@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/react-dom-shim@npm:7.5.1" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: 0b973a4cbe8cd3da1d33e6d6bf1f028d1ef4de54b2255286b41a0a20387426fd5c71c7025e817a48784441e46f8a039ab5fa3654b0fcd870cbb6eb03a4919cc2 + languageName: node + linkType: hard + "@storybook/react-vite@npm:7.4.0": version: 7.4.0 resolution: "@storybook/react-vite@npm:7.4.0" @@ -4332,6 +4618,20 @@ __metadata: languageName: node linkType: hard +"@storybook/router@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/router@npm:7.5.1" + dependencies: + "@storybook/client-logger": 7.5.1 + memoizerific: ^1.11.3 + qs: ^6.10.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: 833f9c041b2dc15dd7bebba182ecce4a4ae1f12c572934ae111dd7b0bd0beddf22567c5781c678b6aa09f4ef4aa6a53e1c1bef4477822391f4c4899268b352c0 + languageName: node + linkType: hard + "@storybook/telemetry@npm:7.4.0": version: 7.4.0 resolution: "@storybook/telemetry@npm:7.4.0" @@ -4426,6 +4726,21 @@ __metadata: languageName: node linkType: hard +"@storybook/theming@npm:7.5.1, @storybook/theming@npm:^7.5.1": + version: 7.5.1 + resolution: "@storybook/theming@npm:7.5.1" + dependencies: + "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 + "@storybook/client-logger": 7.5.1 + "@storybook/global": ^5.0.0 + memoizerific: ^1.11.3 + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: 0d2643dea9b3a9b48691131c539c76533a9ccdd46662cc30c1e2109d6bd239b5e77d56b739e30e270ae4379435a78c30c85a10ed758c2f820073af67bc59daa4 + languageName: node + linkType: hard + "@storybook/types@npm:7.4.0": version: 7.4.0 resolution: "@storybook/types@npm:7.4.0" @@ -4439,6 +4754,18 @@ __metadata: languageName: node linkType: hard +"@storybook/types@npm:7.5.1": + version: 7.5.1 + resolution: "@storybook/types@npm:7.5.1" + dependencies: + "@storybook/channels": 7.5.1 + "@types/babel__core": ^7.0.0 + "@types/express": ^4.7.0 + file-system-cache: 2.3.0 + checksum: 9134bd288760df17c36b1d05fa856b86463460ba5de29817156230cef717a0bd836c8637a638d28a87124470919133a897b94278de00be92823d24088f63622c + languageName: node + linkType: hard + "@svgr/babel-plugin-add-jsx-attribute@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:6.5.1" @@ -5227,6 +5554,13 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^18.0.0": + version: 18.18.6 + resolution: "@types/node@npm:18.18.6" + checksum: a847639b8455fd3dfa6dbc2917274c82c9db789f1d41aaf69f94ac6c9e54c3c1dd29be6e1e1ccd7c17e54db3d78d7011bc4e70544c6447ceca253dccc0a187e1 + languageName: node + linkType: hard + "@types/normalize-package-data@npm:^2.4.0": version: 2.4.1 resolution: "@types/normalize-package-data@npm:2.4.1" @@ -7421,16 +7755,20 @@ __metadata: "@storybook/addon-a11y": 7.4.0 "@storybook/addon-coverage": ^0.0.9 "@storybook/addon-designs": ^7.0.5 + "@storybook/addon-docs": ^7.5.1 "@storybook/addon-essentials": 7.4.0 "@storybook/addon-interactions": 7.4.0 "@storybook/addon-storyshots": 7.4.0 + "@storybook/addon-viewport": ^7.5.1 "@storybook/blocks": 7.4.0 + "@storybook/components": ^7.5.1 "@storybook/jest": ^0.2.2 "@storybook/react": 7.4.0 "@storybook/react-vite": 7.4.0 "@storybook/test-runner": 0.13.0 "@storybook/testing-library": ^0.2.0 "@storybook/testing-react": 2.0.0 + "@storybook/theming": ^7.5.1 "@testing-library/jest-dom": ^5.16.5 "@testing-library/react": ^12.1.2 "@testing-library/user-event": ^13.5.0 @@ -8334,6 +8672,17 @@ __metadata: languageName: node linkType: hard +"esbuild-register@npm:^3.5.0": + version: 3.5.0 + resolution: "esbuild-register@npm:3.5.0" + dependencies: + debug: ^4.3.4 + peerDependencies: + esbuild: ">=0.12 <1" + checksum: f4307753c9672a2c901d04a1165031594a854f0a4c6f4c1db08aa393b68a193d38f2df483dc8ca0513e89f7b8998415e7e26fb9830989fb8cdccc5fb5f181c6b + languageName: node + linkType: hard + "esbuild@npm:^0.18.0, esbuild@npm:^0.18.10": version: 0.18.15 resolution: "esbuild@npm:0.18.15"