From 6e348c3d68365981bdf87a74be46c0caad578845 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Tue, 17 Dec 2024 15:16:24 +0100 Subject: [PATCH] update to Storybook 8.5 beta --- .eslintrc.js => .eslintrc.mjs | 0 .husky/pre-commit | 3 - .storybook/interaction.tsx | 2 +- .storybook/main.ts | 2 +- .storybook/vitest.setup.ts | 3 +- chromatic.config.json | 6 +- package.json | 27 +-- yarn.lock | 422 ++++++++++++++++------------------ 8 files changed, 223 insertions(+), 242 deletions(-) rename .eslintrc.js => .eslintrc.mjs (100%) diff --git a/.eslintrc.js b/.eslintrc.mjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.mjs diff --git a/.husky/pre-commit b/.husky/pre-commit index d0612ad3..87ea02a1 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npm run pre-commit diff --git a/.storybook/interaction.tsx b/.storybook/interaction.tsx index 5245d22a..39e28350 100644 --- a/.storybook/interaction.tsx +++ b/.storybook/interaction.tsx @@ -103,7 +103,7 @@ async function mouseTo( export const demoModeLoader: Loader = async (context) => { // @ts-expect-error add module augmentation for types - const shouldUseDemoMode = import.meta.env.STORYBOOK && !globalThis.test && !isChromatic(); + const shouldUseDemoMode = import.meta.env.STORYBOOK && !globalThis.test && !isChromatic() && !globalThis.__vitest_browser__; if (shouldUseDemoMode && context.args.demoMode || context.parameters.test?.demoMode || context.globals.interactionsDemoMode) { const user = userEvent.setup(); diff --git a/.storybook/main.ts b/.storybook/main.ts index de1b9291..90a8785b 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -8,9 +8,9 @@ const config: StorybookConfig = { '../src/**/*.stories.@(js|jsx|ts|tsx)', ], addons: [ + '@storybook/addon-essentials', '@storybook/experimental-addon-test', '@chromatic-com/storybook', - '@storybook/addon-essentials', '@storybook/addon-a11y', '@storybook/addon-designs', ], diff --git a/.storybook/vitest.setup.ts b/.storybook/vitest.setup.ts index 201b49eb..0d8ac36b 100644 --- a/.storybook/vitest.setup.ts +++ b/.storybook/vitest.setup.ts @@ -1,7 +1,8 @@ +import * as a11yAddonAnnotations from "@storybook/addon-a11y/preview"; import { beforeAll } from 'vitest'; import { setProjectAnnotations } from '@storybook/react'; import * as projectAnnotations from './preview'; -const project = setProjectAnnotations([projectAnnotations]); +const project = setProjectAnnotations([a11yAddonAnnotations, projectAnnotations]); beforeAll(project.beforeAll); diff --git a/chromatic.config.json b/chromatic.config.json index 688b9a62..5c13502f 100644 --- a/chromatic.config.json +++ b/chromatic.config.json @@ -1,3 +1,5 @@ { - "projectId": "Project:5f84c5baa35bdd0022a7684f" -} + "projectId": "Project:5f84c5baa35bdd0022a7684f", + "onlyChanged": true, + "zip": true +} \ No newline at end of file diff --git a/package.json b/package.json index 1558eed4..f538234c 100644 --- a/package.json +++ b/package.json @@ -40,9 +40,6 @@ "test-storybook:ci": "concurrently --kill-others --success first --names \"SB,TEST\" --prefix-colors \"magenta,blue\" \"yarn build-storybook:test && npx serve build/storybook --listen 6006 --no-request-logging\" \"wait-on tcp:6006 && yarn test-storybook\"", "test-storybook:json:ci": "concurrently --kill-others --success first --names \"SB,TEST\" --prefix-colors \"magenta,blue\" \"yarn build-storybook:test && npx serve build/storybook --listen 6006 --no-request-logging\" \"wait-on tcp:6006 && SKIP_SNAPSHOTS=true yarn test-storybook:json\"" }, - "eslintConfig": { - "extends": "react-app" - }, "browserslist": { "production": [ ">0.2%", @@ -59,19 +56,19 @@ "@babel/core": "^7.14.6", "@chromatic-com/storybook": "^3.2.1", "@ladle/react": "^4.1.2", - "@storybook/addon-a11y": "^8.4.0", + "@storybook/addon-a11y": "^8.5.0-beta.1", "@storybook/addon-coverage": "^1.0.4", "@storybook/addon-designs": "^8.0.3", - "@storybook/addon-essentials": "^8.4.0", - "@storybook/addon-themes": "^8.4.0", - "@storybook/blocks": "^8.4.0", - "@storybook/experimental-addon-test": "^8.4.0", - "@storybook/manager-api": "^8.4.0", - "@storybook/react": "^8.4.0", - "@storybook/react-vite": "^8.4.0", - "@storybook/test": "^8.4.0", + "@storybook/addon-essentials": "^8.5.0-beta.1", + "@storybook/addon-themes": "^8.5.0-beta.1", + "@storybook/blocks": "^8.5.0-beta.1", + "@storybook/experimental-addon-test": "^8.5.0-beta.1", + "@storybook/manager-api": "^8.5.0-beta.1", + "@storybook/react": "^8.5.0-beta.1", + "@storybook/react-vite": "^8.5.0-beta.1", + "@storybook/test": "^8.5.0-beta.1", "@storybook/test-runner": "^0.19.1", - "@storybook/theming": "^8.4.0", + "@storybook/theming": "^8.5.0-beta.1", "@testing-library/jest-dom": "^6.4.6", "@testing-library/react": "^16.0.0", "@testing-library/react-hooks": "^8.0.1", @@ -115,7 +112,7 @@ "prettier": "^3.2.5", "react-is": "^18.3.1", "react-test-renderer": "^18.3.1", - "storybook": "^8.4.0", + "storybook": "^8.5.0-beta.1", "vite": "^4.0.0", "vite-plugin-svgr": "^4.2.0", "vite-tsconfig-paths": "^4.3.2", @@ -135,4 +132,4 @@ "resolutions": { "@use-it/event-listener@npm:^0.1.2": "patch:@use-it/event-listener@npm%3A0.1.7#~/.yarn/patches/@use-it-event-listener-npm-0.1.7-56ef42a654.patch" } -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index e8c52b1f..5bd2aa7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1471,21 +1471,19 @@ __metadata: languageName: node linkType: hard -"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.0": - version: 0.3.0 - resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.3.0" +"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.4.2": + version: 0.4.2 + resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.4.2" dependencies: - glob: "npm:^7.2.0" - glob-promise: "npm:^4.2.0" magic-string: "npm:^0.27.0" react-docgen-typescript: "npm:^2.2.2" peerDependencies: typescript: ">= 4.3.x" - vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/31098ad8fcc2440437534599c111d9f2951dd74821e8ba46c521b969bae4c918d830b7bb0484efbad29a51711bb62d3bc623d5a1ed5b1695b5b5594ea9dd4ca0 + checksum: 10c0/355d13ad92a9da786b561a25250e6c94a8e51d235ced345e54ebfe709abc45ab60c2a8d06599df6ec0441fba01720f189883429943cb62dff9a4c31b59f0939c languageName: node linkType: hard @@ -2011,21 +2009,23 @@ __metadata: languageName: node linkType: hard -"@storybook/addon-a11y@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-a11y@npm:8.4.0" +"@storybook/addon-a11y@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-a11y@npm:8.5.0-beta.1" dependencies: - "@storybook/addon-highlight": "npm:8.4.0" + "@storybook/addon-highlight": "npm:8.5.0-beta.1" + "@storybook/test": "npm:8.5.0-beta.1" axe-core: "npm:^4.2.0" + vitest-axe: "npm:^0.1.0" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/458de1d4461f10b46936afbd71d63ba9550eb5d34a875dd622fa67e62542f0eb03e76ca8af5045da815a8e05756402c056be43092062d48e0278404a9b37b62a + storybook: ^8.5.0-beta.1 + checksum: 10c0/2c867488af0d1fec4d5ac4b0bc3a1928b9a49678710a5e6286f26264bc4af634749517459110ebd76534e3253b4d1d609946c65498725425982f78b239b48a1a languageName: node linkType: hard -"@storybook/addon-actions@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-actions@npm:8.4.0" +"@storybook/addon-actions@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-actions@npm:8.5.0-beta.1" dependencies: "@storybook/global": "npm:^5.0.0" "@types/uuid": "npm:^9.0.1" @@ -2033,34 +2033,34 @@ __metadata: polished: "npm:^4.2.2" uuid: "npm:^9.0.0" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/26ee043879a598a2917cb8aadcd895e22a6d39daa887c414f7097c6e3bda0cea9e894b75702a0c6ad24b4ff42e685f48aba9e75943645c65b73e12056ef74379 + storybook: ^8.5.0-beta.1 + checksum: 10c0/7576b1568e95972afc34f2d9d3cb2c3d8f5f3f3e2ca3b47b2ad862dcf2f75c49a3c027a3f912b2d3ef70546d2e2e6aee672e1bf4d4daa59bf2c212108163aa67 languageName: node linkType: hard -"@storybook/addon-backgrounds@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-backgrounds@npm:8.4.0" +"@storybook/addon-backgrounds@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-backgrounds@npm:8.5.0-beta.1" dependencies: "@storybook/global": "npm:^5.0.0" memoizerific: "npm:^1.11.3" ts-dedent: "npm:^2.0.0" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/d34bf49721db95feecd7aef4ef191b33048c823c75d371a3662394ed530c31e93702447daaf00e73d88840c0397c492f22a61a433e9dbaf3b0f95e2d335e844a + storybook: ^8.5.0-beta.1 + checksum: 10c0/546c7b9fbea4195d60fdd4ea5a5f18ca03260a76cc7d4122295865bc7b64ea2693ca16a9168db741d04790529132a542aeb2aa29346a8638e9c1cb754b237c67 languageName: node linkType: hard -"@storybook/addon-controls@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-controls@npm:8.4.0" +"@storybook/addon-controls@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-controls@npm:8.5.0-beta.1" dependencies: "@storybook/global": "npm:^5.0.0" dequal: "npm:^2.0.2" ts-dedent: "npm:^2.0.0" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/9bf0a48180c3688eaf6ae0ceb0012d86b1bc33501e53c63774f26db1c32ead4c14978723d43a0f894ece1ba5cf7ab644280fb8644d5e318f7bb52a88ff1c30e9 + storybook: ^8.5.0-beta.1 + checksum: 10c0/66c9a2aa494da369c1b3cbb5217610e8b44eef2b6483ebadede240beaa55d8f461e5cce7d2f21ca72acc01947b96a628d87c1adaac708dae6ac366362a444fb2 languageName: node linkType: hard @@ -2106,140 +2106,140 @@ __metadata: languageName: node linkType: hard -"@storybook/addon-docs@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-docs@npm:8.4.0" +"@storybook/addon-docs@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-docs@npm:8.5.0-beta.1" dependencies: "@mdx-js/react": "npm:^3.0.0" - "@storybook/blocks": "npm:8.4.0" - "@storybook/csf-plugin": "npm:8.4.0" - "@storybook/react-dom-shim": "npm:8.4.0" + "@storybook/blocks": "npm:8.5.0-beta.1" + "@storybook/csf-plugin": "npm:8.5.0-beta.1" + "@storybook/react-dom-shim": "npm:8.5.0-beta.1" react: "npm:^16.8.0 || ^17.0.0 || ^18.0.0" react-dom: "npm:^16.8.0 || ^17.0.0 || ^18.0.0" ts-dedent: "npm:^2.0.0" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/4286a387c5b1edc5cfaad5727e42a560a329bdcf966e23ccb3ca31680e6564ef3a1f74e7e717d5839dcb95872319392feb4ed65f96c92ed7171c8a73482d363d + storybook: ^8.5.0-beta.1 + checksum: 10c0/cc450e9f7fd301a2a4486604aa22a880573d6ca731183e194e5d1e71c3e017df5ff786416162d02755713c7048a2b16357266221ee669bb43649e84ab91ad3fc languageName: node linkType: hard -"@storybook/addon-essentials@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-essentials@npm:8.4.0" - dependencies: - "@storybook/addon-actions": "npm:8.4.0" - "@storybook/addon-backgrounds": "npm:8.4.0" - "@storybook/addon-controls": "npm:8.4.0" - "@storybook/addon-docs": "npm:8.4.0" - "@storybook/addon-highlight": "npm:8.4.0" - "@storybook/addon-measure": "npm:8.4.0" - "@storybook/addon-outline": "npm:8.4.0" - "@storybook/addon-toolbars": "npm:8.4.0" - "@storybook/addon-viewport": "npm:8.4.0" +"@storybook/addon-essentials@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-essentials@npm:8.5.0-beta.1" + dependencies: + "@storybook/addon-actions": "npm:8.5.0-beta.1" + "@storybook/addon-backgrounds": "npm:8.5.0-beta.1" + "@storybook/addon-controls": "npm:8.5.0-beta.1" + "@storybook/addon-docs": "npm:8.5.0-beta.1" + "@storybook/addon-highlight": "npm:8.5.0-beta.1" + "@storybook/addon-measure": "npm:8.5.0-beta.1" + "@storybook/addon-outline": "npm:8.5.0-beta.1" + "@storybook/addon-toolbars": "npm:8.5.0-beta.1" + "@storybook/addon-viewport": "npm:8.5.0-beta.1" ts-dedent: "npm:^2.0.0" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/f2909089c13d6d16658e5e4f59d41995bea74d0e318f1263541af960a8ad795887d0cebbc37197e8b532373965225d41a12ede727be023cd079ed7a6940e666a + storybook: ^8.5.0-beta.1 + checksum: 10c0/e685e2c56faecff201b7cb9a33cb4644cac86c5d6cb68e83b64930595026bf7bd0444584367a0f89ae65f49ad2735610efe767fbc1b78e8e2fefb322ebaad908 languageName: node linkType: hard -"@storybook/addon-highlight@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-highlight@npm:8.4.0" +"@storybook/addon-highlight@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-highlight@npm:8.5.0-beta.1" dependencies: "@storybook/global": "npm:^5.0.0" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/8f5e09f03593cd4c7e2ff0f17680b31b3c764103cd302f20a9e1ec8f1e02fccb51445b5b3640eaefeb412ff868bf03951ffd8edaa3ada03ef2b3d90aabd3bfd8 + storybook: ^8.5.0-beta.1 + checksum: 10c0/edc43053c1332132d47d8a0ca4ae3211a5ecc2c2d78c3982093f9ea88c8ce2b0eec6436fa94e8ecf296133e0be2c07e142367fe4277d7e19bf088b81eb8c52d0 languageName: node linkType: hard -"@storybook/addon-measure@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-measure@npm:8.4.0" +"@storybook/addon-measure@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-measure@npm:8.5.0-beta.1" dependencies: "@storybook/global": "npm:^5.0.0" tiny-invariant: "npm:^1.3.1" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/946d7b02a77181007ea47ffd1ba54c10194748e2f219a4391aee5dc91ca6e76b8395fdb4533135f9592b57a2ef1532bc7729ef1b79dc1650181e87eafa467c3f + storybook: ^8.5.0-beta.1 + checksum: 10c0/0bff3ef8b7702026e279acd31cca734cad837b029fd34485f47d7f4b240f30570054e509f93ec95820d3ccbc2d94e246e3a7db5a9e673b1e1f0c49a4b1fb00d8 languageName: node linkType: hard -"@storybook/addon-outline@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-outline@npm:8.4.0" +"@storybook/addon-outline@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-outline@npm:8.5.0-beta.1" dependencies: "@storybook/global": "npm:^5.0.0" ts-dedent: "npm:^2.0.0" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/cf40b83ac66524374d9dfc4d8ab871bdea8c0a36042173158f2786abe4b7b1c6d4b54a2d8aa48cc424bb29ee20006e6460190d9ab9e488e8f95b546e47f376f3 + storybook: ^8.5.0-beta.1 + checksum: 10c0/1a136c138b7b6dd7d0fbbcd18dedfa1525929ead803c9bb63d1493459e7e22786d016df5facc3eb32236f5deecbdb541e7dd558f186810aa9342feb31bb1aec4 languageName: node linkType: hard -"@storybook/addon-themes@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-themes@npm:8.4.0" +"@storybook/addon-themes@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-themes@npm:8.5.0-beta.1" dependencies: ts-dedent: "npm:^2.0.0" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/2a00928d9d32e0cebc638cd5c6f12ac06df2cadb93c7abcedfd679ddd9b07d8895de44ba5f9fa79bf2acb58a4b7d3efb7271e877210d33379c3f66591b3c181d + storybook: ^8.5.0-beta.1 + checksum: 10c0/17cf35455d8091ad667ad650a92afbb0246ed71fef38179c0374c57aaca71e49d3ef04513459e19ae254f7975f2f69c139983f7b031b490cea8feafa89b200bc languageName: node linkType: hard -"@storybook/addon-toolbars@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-toolbars@npm:8.4.0" +"@storybook/addon-toolbars@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-toolbars@npm:8.5.0-beta.1" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/bbe9f2cd207a55cb2b71b959f6f13a37841dcadc0d3151e14eb95bb3e26f0637236db20d9c7b52138fddecca742746068851f78c7d7a7aa47544e07096861a2d + storybook: ^8.5.0-beta.1 + checksum: 10c0/33ff152a19ef46c9b980c0cc77f2a5366f43848d7a190eb4c0e011df2913d9172cc65d947cede907798b47112db277d2cfac83a16c47d53d9e86feb8eff4a1e5 languageName: node linkType: hard -"@storybook/addon-viewport@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/addon-viewport@npm:8.4.0" +"@storybook/addon-viewport@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/addon-viewport@npm:8.5.0-beta.1" dependencies: memoizerific: "npm:^1.11.3" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/1c4b2cdd9dbf3a7fd3b857fbf86417f23670d534a747da2695a6e77d3d032a5b45791d3045cce2d57c7a1b5be01c10368e14144d2ae2b3f41be3fe69338fe212 + storybook: ^8.5.0-beta.1 + checksum: 10c0/7ca44208f2651d4111ea4d64f68730a2270078bb1e7f2db480f37e2fd8bd534d0c77b2b99f3344884730bd675424ea44cc8ab19a302805996e86ccab3706f7af languageName: node linkType: hard -"@storybook/blocks@npm:8.4.0, @storybook/blocks@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/blocks@npm:8.4.0" +"@storybook/blocks@npm:8.5.0-beta.1, @storybook/blocks@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/blocks@npm:8.5.0-beta.1" dependencies: - "@storybook/csf": "npm:^0.1.11" + "@storybook/csf": "npm:0.1.12" "@storybook/icons": "npm:^1.2.12" ts-dedent: "npm:^2.0.0" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - storybook: ^8.4.0 + storybook: ^8.5.0-beta.1 peerDependenciesMeta: react: optional: true react-dom: optional: true - checksum: 10c0/2a64e1b17911c2afc175955eabbe763b5010782e1ba48c2f5179c76c35733b63c95cda517c391de69ce20767c168daafa9cbda5b7f7ff5a847b453ca430f265a + checksum: 10c0/085ae1bdf63d402af00ee648acd8fb71583a8aa11fd623bd41c3920988bbd926c9b8c43bd109c6dd9da0f97d35b4cf96ad047ba135cbc73b40c6132a5fe23ccb languageName: node linkType: hard -"@storybook/builder-vite@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/builder-vite@npm:8.4.0" +"@storybook/builder-vite@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/builder-vite@npm:8.5.0-beta.1" dependencies: - "@storybook/csf-plugin": "npm:8.4.0" + "@storybook/csf-plugin": "npm:8.5.0-beta.1" browser-assert: "npm:^1.2.1" ts-dedent: "npm:^2.0.0" peerDependencies: - storybook: ^8.4.0 - vite: ^4.0.0 || ^5.0.0 - checksum: 10c0/76da5c41431d2bce122ebf72cefa707eccb1ddca6114a60699e64565799993fcbb2f361ffa74e9ac5766f20c8fdb8c3d3f6eedb1a13f91732fb41db9c6252450 + storybook: ^8.5.0-beta.1 + vite: ^4.0.0 || ^5.0.0 || ^6.0.0 + checksum: 10c0/59ba94313964ae8c7b09199bbe2a0cb5d32ab8532a9dc3f1a9d110293ab1d5a718595e330c3951b7b09be05d9261bbe4e55a29659bf0fcc7d4f0a424e5bf2dde languageName: node linkType: hard @@ -2252,12 +2252,12 @@ __metadata: languageName: node linkType: hard -"@storybook/components@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/components@npm:8.4.0" +"@storybook/components@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/components@npm:8.5.0-beta.1" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/6fba19e0ca5b556d09f3783a37125263805cad86660de18d5003f63592c8046180ecf829206a83280416057f91504faeb9b9aaef0b0d7db37f952a4c138db980 + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + checksum: 10c0/262a42f8c5902fc481bd816cb0eb16d674de807d22111cad6126f3198d9422279f911ccddbef84d4568d835ffb65559840539ea91c83b475644d38e4d65067ab languageName: node linkType: hard @@ -2270,11 +2270,11 @@ __metadata: languageName: node linkType: hard -"@storybook/core@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/core@npm:8.4.0" +"@storybook/core@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/core@npm:8.5.0-beta.1" dependencies: - "@storybook/csf": "npm:^0.1.11" + "@storybook/csf": "npm:0.1.12" better-opn: "npm:^3.0.2" browser-assert: "npm:^1.2.1" esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0" @@ -2290,18 +2290,18 @@ __metadata: peerDependenciesMeta: prettier: optional: true - checksum: 10c0/0363e7f45d8345e03529d8460f347d75ec533092c22f1a676b095252e75a0d3a8aed7e72d7b34bb1b52e07aea2c687b3e5313974207eb1fd0b90fea1ee44509a + checksum: 10c0/b9086ae40212f7b5a09c66571f6830c2fdc86015783d1f28aeecbaf350d1b6b3052ec6449bc7fcc9582f266c6e4db0498ef62a59ed542122ce95169620358766 languageName: node linkType: hard -"@storybook/csf-plugin@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/csf-plugin@npm:8.4.0" +"@storybook/csf-plugin@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/csf-plugin@npm:8.5.0-beta.1" dependencies: unplugin: "npm:^1.3.1" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/60f7f68a2b017f566dc589e9bbdcc4237fa7bdf7a82c99967595c8fd71a502dd5fd0f41fb2761fa7cabc171d44483de457a96cb1978fc63e0723cd15aba4608c + storybook: ^8.5.0-beta.1 + checksum: 10c0/f03f241b5051417408123419882b96427914d759a75d90fab15ced9e3057b5a58f1b0928ed35686ac370eb358708117580d9452e36b4c38639e70097b014eb40 languageName: node linkType: hard @@ -2314,6 +2314,15 @@ __metadata: languageName: node linkType: hard +"@storybook/csf@npm:0.1.12": + version: 0.1.12 + resolution: "@storybook/csf@npm:0.1.12" + dependencies: + type-fest: "npm:^2.19.0" + checksum: 10c0/3d96a976ada67eb683279338d1eb6aa730b228107d4c4f6616ea7b94061899c1fdc11957a756e7bc0708d18cb39af0010c865d124efd84559cd82dcb2d8bc959 + languageName: node + linkType: hard + "@storybook/csf@npm:^0.1.11": version: 0.1.11 resolution: "@storybook/csf@npm:0.1.11" @@ -2323,23 +2332,22 @@ __metadata: languageName: node linkType: hard -"@storybook/experimental-addon-test@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/experimental-addon-test@npm:8.4.0" +"@storybook/experimental-addon-test@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/experimental-addon-test@npm:8.5.0-beta.1" dependencies: - "@storybook/csf": "npm:^0.1.11" + "@storybook/csf": "npm:0.1.12" "@storybook/global": "npm:^5.0.0" "@storybook/icons": "npm:^1.2.12" - "@storybook/instrumenter": "npm:8.4.0" - "@storybook/test": "npm:8.4.0" - "@storybook/theming": "npm:8.4.0" + "@storybook/instrumenter": "npm:8.5.0-beta.1" + "@storybook/test": "npm:8.5.0-beta.1" polished: "npm:^4.2.2" prompts: "npm:^2.4.0" ts-dedent: "npm:^2.2.0" peerDependencies: "@vitest/browser": ^2.1.1 "@vitest/runner": ^2.1.1 - storybook: ^8.4.0 + storybook: ^8.5.0-beta.1 vitest: ^2.1.1 peerDependenciesMeta: "@vitest/browser": @@ -2348,7 +2356,7 @@ __metadata: optional: true vitest: optional: true - checksum: 10c0/cab701a7216d05f1309fb48a6d3ef6d78d6b862ee1f1863784df2e25fdda625e342a0e4844dbdb8e9f3d3ee7999fc7952d1cbe8940c7cc82a4d4f4e19e3ed07e + checksum: 10c0/e38a9daf89db21e5d9bece114cea0641847cc2004eda7558c0ca7029912db9088f665347b4fc2926a67e404635c2803bfb5b194170199e8e0b8b82ae7c64c7fc languageName: node linkType: hard @@ -2369,24 +2377,33 @@ __metadata: languageName: node linkType: hard -"@storybook/instrumenter@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/instrumenter@npm:8.4.0" +"@storybook/instrumenter@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/instrumenter@npm:8.5.0-beta.1" dependencies: "@storybook/global": "npm:^5.0.0" "@vitest/utils": "npm:^2.1.1" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/b402715ed0d9f0f92546ad1d69078673177d8af16756f7ad9b711275b18c192c9fbb612a9eec81ef8afd73b27ff4d4697457c5c1ae55149d35083b972457f230 + storybook: ^8.5.0-beta.1 + checksum: 10c0/c6165999e022ce65011e1f98edc1a9219c277637c745d49c9210afdc5ec5d908e231ead751147acf94c47633705a9596230588d4eb710fe0d0ff2333c624f8d7 languageName: node linkType: hard -"@storybook/manager-api@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/manager-api@npm:8.4.0" +"@storybook/manager-api@npm:8.5.0-beta.1, @storybook/manager-api@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/manager-api@npm:8.5.0-beta.1" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/819257b2b919a0a37b6f66fc0006d97f62157e8c8451257b3ed42455f64c60f76c4adf02641770bfeb3ade806698bac8892d4b5ae8620af532007c902eea2c32 + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + checksum: 10c0/9aa1b46c870640f66f72ffa963c16801fa21af77e021b6fe4be5c04ce167095cdbdc4babf1ef0efe854bad88b1e805ec9613b5fa2fa69d9ce4d3f680163372f4 + languageName: node + linkType: hard + +"@storybook/preview-api@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/preview-api@npm:8.5.0-beta.1" + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + checksum: 10c0/8157ed9241d069c7264b92aa396534a71cb4bd9e8cd1c0be7ff9dd484ab689b0e745522013ca0a0ca65d9525467e94df6fd1ee7719b1fab6a62c5d3f4149acb0 languageName: node linkType: hard @@ -2399,70 +2416,65 @@ __metadata: languageName: node linkType: hard -"@storybook/preview-api@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/preview-api@npm:8.4.0" - peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/9571df165e7d2deb26e4362867b3278d9d2de7ed83a9d7c32a27e3225e4c0681a442e513fc39c99636c73145c227c394faca1403edfcf68d804666852199e79c - languageName: node - linkType: hard - -"@storybook/react-dom-shim@npm:8.4.0": - version: 8.4.0 - resolution: "@storybook/react-dom-shim@npm:8.4.0" +"@storybook/react-dom-shim@npm:8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/react-dom-shim@npm:8.5.0-beta.1" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - storybook: ^8.4.0 - checksum: 10c0/8bdb2bf29cd7732fb5b78ab2ab49f6ab5fb313396dac3df558ce0611aee66259264bf0f3cc5bddf52f8bdad82269db39643ae9517e97ae6fe6fe7aa17a3c1832 + storybook: ^8.5.0-beta.1 + checksum: 10c0/d65546f23fceb8b64c417b8e3ad120d78a7231606b78d0c87e4a89dc45f1378582188cbfff66b13ddc9d5cc4b2dfe33cdf0e5e9d2c1b9011fd303019ce82e718 languageName: node linkType: hard -"@storybook/react-vite@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/react-vite@npm:8.4.0" +"@storybook/react-vite@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/react-vite@npm:8.5.0-beta.1" dependencies: - "@joshwooding/vite-plugin-react-docgen-typescript": "npm:0.3.0" + "@joshwooding/vite-plugin-react-docgen-typescript": "npm:0.4.2" "@rollup/pluginutils": "npm:^5.0.2" - "@storybook/builder-vite": "npm:8.4.0" - "@storybook/react": "npm:8.4.0" + "@storybook/builder-vite": "npm:8.5.0-beta.1" + "@storybook/react": "npm:8.5.0-beta.1" find-up: "npm:^5.0.0" magic-string: "npm:^0.30.0" react-docgen: "npm:^7.0.0" resolve: "npm:^1.22.8" tsconfig-paths: "npm:^4.2.0" peerDependencies: + "@storybook/test": 8.5.0-beta.1 react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - storybook: ^8.4.0 - vite: ^4.0.0 || ^5.0.0 - checksum: 10c0/ee2eda314134cc08a464fce1b05f3f28c75f14361fd6616769b3d098e78482d7a3419a660d607ad4c592a92cf8c951532dc81cf581025227dbde48612bd9a76c + storybook: ^8.5.0-beta.1 + vite: ^4.0.0 || ^5.0.0 || ^6.0.0 + peerDependenciesMeta: + "@storybook/test": + optional: true + checksum: 10c0/d6e4fc55528a07b5dd62ed1e85661ed1a1f1ee35640cd621797ea1b99f357f159531a678e84452175040a91d7bb3f04ebb2a374b81d237a7ae938d2d1a20e7c0 languageName: node linkType: hard -"@storybook/react@npm:8.4.0, @storybook/react@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/react@npm:8.4.0" +"@storybook/react@npm:8.5.0-beta.1, @storybook/react@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/react@npm:8.5.0-beta.1" dependencies: - "@storybook/components": "npm:^8.4.0" + "@storybook/components": "npm:8.5.0-beta.1" "@storybook/global": "npm:^5.0.0" - "@storybook/manager-api": "npm:^8.4.0" - "@storybook/preview-api": "npm:^8.4.0" - "@storybook/react-dom-shim": "npm:8.4.0" - "@storybook/theming": "npm:^8.4.0" + "@storybook/manager-api": "npm:8.5.0-beta.1" + "@storybook/preview-api": "npm:8.5.0-beta.1" + "@storybook/react-dom-shim": "npm:8.5.0-beta.1" + "@storybook/theming": "npm:8.5.0-beta.1" peerDependencies: - "@storybook/test": 8.4.0 + "@storybook/test": 8.5.0-beta.1 react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - storybook: ^8.4.0 + storybook: ^8.5.0-beta.1 typescript: ">= 4.2.x" peerDependenciesMeta: "@storybook/test": optional: true typescript: optional: true - checksum: 10c0/9928a06bcb9e8b0070cf30f1b9de1e5a3648879584b885c19d6abb8eff629253e3f7a18aa4becf119bfd358573419a9e1a1151b5f8b8bd29b7df5a42c2529834 + checksum: 10c0/21238b5ef2270b71a1955b09f468cd8005730da76e121a21ffb22e757722863958349a66d3a23ec8781e48e2f474b791142284ad2418986ee2411597ecee2f16 languageName: node linkType: hard @@ -2507,30 +2519,30 @@ __metadata: languageName: node linkType: hard -"@storybook/test@npm:8.4.0, @storybook/test@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/test@npm:8.4.0" +"@storybook/test@npm:8.5.0-beta.1, @storybook/test@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/test@npm:8.5.0-beta.1" dependencies: - "@storybook/csf": "npm:^0.1.11" + "@storybook/csf": "npm:0.1.12" "@storybook/global": "npm:^5.0.0" - "@storybook/instrumenter": "npm:8.4.0" + "@storybook/instrumenter": "npm:8.5.0-beta.1" "@testing-library/dom": "npm:10.4.0" "@testing-library/jest-dom": "npm:6.5.0" "@testing-library/user-event": "npm:14.5.2" "@vitest/expect": "npm:2.0.5" "@vitest/spy": "npm:2.0.5" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/015140374b9dce28c36bc783393d86976e8a1297ac28007834f867ecedb3c5f570914f441becc8e59558bdec57e7df40e9ea55516159f5456c214a89444e8da5 + storybook: ^8.5.0-beta.1 + checksum: 10c0/b877eba9f19e07649c4ba6663474772dd6149c74585c531b2f4035609698d26f42167abe843b56c85a12df64697f1d40ffd68bfe237112ae80484bd76c16b713 languageName: node linkType: hard -"@storybook/theming@npm:8.4.0, @storybook/theming@npm:^8.4.0": - version: 8.4.0 - resolution: "@storybook/theming@npm:8.4.0" +"@storybook/theming@npm:8.5.0-beta.1, @storybook/theming@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "@storybook/theming@npm:8.5.0-beta.1" peerDependencies: - storybook: ^8.4.0 - checksum: 10c0/70333803b3d59967b23d34674869ba446d1aaa1af9538de12f28ba2e1a7d701f97099be979e817edf79c97f5698a0a8f5766184da33b707876f8f8006115ac37 + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + checksum: 10c0/61d7c225cf1f3e7a4181b16fa038e664ca4d318086bb7ea7fb5de54cfa0fb17ac52b6492c31af420122729571f358b53aea69dd8d493f3783484b680c9e4d063 languageName: node linkType: hard @@ -3026,16 +3038,6 @@ __metadata: languageName: node linkType: hard -"@types/glob@npm:^7.1.3": - version: 7.2.0 - resolution: "@types/glob@npm:7.2.0" - dependencies: - "@types/minimatch": "npm:*" - "@types/node": "npm:*" - checksum: 10c0/a8eb5d5cb5c48fc58c7ca3ff1e1ddf771ee07ca5043da6e4871e6757b4472e2e73b4cfef2644c38983174a4bc728c73f8da02845c28a1212f98cabd293ecae98 - languageName: node - linkType: hard - "@types/graceful-fs@npm:^4.1.3": version: 4.1.9 resolution: "@types/graceful-fs@npm:4.1.9" @@ -3119,13 +3121,6 @@ __metadata: languageName: node linkType: hard -"@types/minimatch@npm:*": - version: 5.1.2 - resolution: "@types/minimatch@npm:5.1.2" - checksum: 10c0/83cf1c11748891b714e129de0585af4c55dd4c2cafb1f1d5233d79246e5e1e19d1b5ad9e8db449667b3ffa2b6c80125c429dbee1054e9efb45758dbc4e118562 - languageName: node - linkType: hard - "@types/ms@npm:*": version: 0.7.34 resolution: "@types/ms@npm:0.7.34" @@ -5065,19 +5060,19 @@ __metadata: "@chromatic-com/storybook": "npm:^3.2.1" "@ladle/react": "npm:^4.1.2" "@reduxjs/toolkit": "npm:^2.2.3" - "@storybook/addon-a11y": "npm:^8.4.0" + "@storybook/addon-a11y": "npm:^8.5.0-beta.1" "@storybook/addon-coverage": "npm:^1.0.4" "@storybook/addon-designs": "npm:^8.0.3" - "@storybook/addon-essentials": "npm:^8.4.0" - "@storybook/addon-themes": "npm:^8.4.0" - "@storybook/blocks": "npm:^8.4.0" - "@storybook/experimental-addon-test": "npm:^8.4.0" - "@storybook/manager-api": "npm:^8.4.0" - "@storybook/react": "npm:^8.4.0" - "@storybook/react-vite": "npm:^8.4.0" - "@storybook/test": "npm:^8.4.0" + "@storybook/addon-essentials": "npm:^8.5.0-beta.1" + "@storybook/addon-themes": "npm:^8.5.0-beta.1" + "@storybook/blocks": "npm:^8.5.0-beta.1" + "@storybook/experimental-addon-test": "npm:^8.5.0-beta.1" + "@storybook/manager-api": "npm:^8.5.0-beta.1" + "@storybook/react": "npm:^8.5.0-beta.1" + "@storybook/react-vite": "npm:^8.5.0-beta.1" + "@storybook/test": "npm:^8.5.0-beta.1" "@storybook/test-runner": "npm:^0.19.1" - "@storybook/theming": "npm:^8.4.0" + "@storybook/theming": "npm:^8.5.0-beta.1" "@testing-library/jest-dom": "npm:^6.4.6" "@testing-library/react": "npm:^16.0.0" "@testing-library/react-hooks": "npm:^8.0.1" @@ -5131,7 +5126,7 @@ __metadata: react-router-dom: "npm:^6.23.0" react-test-renderer: "npm:^18.3.1" react-transition-group: "npm:^4.4.5" - storybook: "npm:^8.4.0" + storybook: "npm:^8.5.0-beta.1" styled-components: "npm:^5.3.3" typescript: "npm:^5.4.5" use-dark-mode: "npm:^2.3.1" @@ -7191,17 +7186,6 @@ __metadata: languageName: node linkType: hard -"glob-promise@npm:^4.2.0": - version: 4.2.2 - resolution: "glob-promise@npm:4.2.2" - dependencies: - "@types/glob": "npm:^7.1.3" - peerDependencies: - glob: ^7.1.6 - checksum: 10c0/3eb01bed2901539365df6a4d27800afb8788840647d01f9bf3500b3de756597f2ff4b8c823971ace34db228c83159beca459dc42a70968d4e9c8200ed2cc96bd - languageName: node - linkType: hard - "glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.4.1": version: 10.4.5 resolution: "glob@npm:10.4.5" @@ -7231,7 +7215,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": +"glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -12776,11 +12760,11 @@ __metadata: languageName: node linkType: hard -"storybook@npm:^8.4.0": - version: 8.4.0 - resolution: "storybook@npm:8.4.0" +"storybook@npm:^8.5.0-beta.1": + version: 8.5.0-beta.1 + resolution: "storybook@npm:8.5.0-beta.1" dependencies: - "@storybook/core": "npm:8.4.0" + "@storybook/core": "npm:8.5.0-beta.1" peerDependencies: prettier: ^2 || ^3 peerDependenciesMeta: @@ -12790,7 +12774,7 @@ __metadata: getstorybook: ./bin/index.cjs sb: ./bin/index.cjs storybook: ./bin/index.cjs - checksum: 10c0/9e1443aa19bc7e31f5aaddd9559dd774030c132632a995ec21bcdc389aea2edb09287b20f542ce7a9c5fe926e5b97d9fe740c10b889d52efcbd50c2138f70957 + checksum: 10c0/00bf9cd2d3b983328cfa30d30e18412ff24c0159672c9c6d5ffbd9f7777b053b72d56977df6001b9d827858383cfc756b410468a3b1e3dfba4ce66e1d6a9757a languageName: node linkType: hard