diff --git a/package.json b/package.json index fe33bfdb5..b6799cd1a 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "@nuxtjs/seo": "2.0.0-rc.18", "@storybook/core-client": "7.6.17", "@storybook/core-server": "7.6.20", - "@storybook/types": "8.2.9", + "@storybook/types": "7.6.20", "@storybook/vue3": "7.6.20", "@storybook/vue3-vite": "7.6.20", "@tailwindcss/forms": "0.5.7", diff --git a/pages/_storybook/external-iframe.vue b/pages/_storybook/external-iframe.vue index 14cc8b615..cdd8a06f9 100644 --- a/pages/_storybook/external-iframe.vue +++ b/pages/_storybook/external-iframe.vue @@ -40,6 +40,7 @@ export function renderToCanvas( ): void { const element = storyFn() + // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition if (!element) { showError({ title: `Expecting a Vue component from the story: "${name}" of "${title}".`, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac3c9b350..aed95e14a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -204,8 +204,8 @@ importers: specifier: 7.6.20 version: 7.6.20 '@storybook/types': - specifier: 8.2.9 - version: 8.2.9(storybook@7.6.20) + specifier: 7.6.20 + version: 7.6.20 '@storybook/vue3': specifier: 7.6.20 version: 7.6.20(vue@3.4.37(typescript@5.5.4)) @@ -3391,11 +3391,6 @@ packages: '@storybook/types@7.6.20': resolution: {integrity: sha512-GncdY3x0LpbhmUAAJwXYtJDUQEwfF175gsjH0/fxPkxPoV7Sef9TM41jQLJW/5+6TnZoCZP/+aJZTJtq3ni23Q==} - '@storybook/types@8.2.9': - resolution: {integrity: sha512-FlrnZiI9lzvfA2k+VHxZ5P9JHXIbNUKIV6/469FwKlPiMhZrt9094O1lSKOfGo409mwBKDBm5X0hThbNc9ZnoQ==} - peerDependencies: - storybook: ^8.2.9 - '@storybook/vue3-vite@7.6.20': resolution: {integrity: sha512-uWqgOExT70CTCFPr+MPZmqdi7saETFxrGUfhORqXW/mjIw9uLccGgIQuwUbIl0YXg3LhVSBvHYKRZgPbI9jkVw==} engines: {node: ^14.18 || >=16} @@ -14610,10 +14605,6 @@ snapshots: '@types/express': 4.17.21 file-system-cache: 2.3.0 - '@storybook/types@8.2.9(storybook@7.6.20)': - dependencies: - storybook: 7.6.20 - '@storybook/vue3-vite@7.6.20(typescript@5.5.4)(vite@5.4.0(@types/node@20.14.15)(terser@5.31.1))(vue@3.4.37(typescript@5.5.4))': dependencies: '@storybook/builder-vite': 7.6.20(typescript@5.5.4)(vite@5.4.0(@types/node@20.14.15)(terser@5.31.1))