Update storybook to v9 (#4645)
* chore: Update storybook to v9 * Pin next-export-i18n + remove outdated mock library * Replace old mocking library with MSW * Resolve knip unused code warnings
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Meta } from '@storybook/react';
|
||||
import { Meta } from '@storybook/nextjs';
|
||||
import { Logo } from '../components/ui/Logo/Logo';
|
||||
|
||||
const meta = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useEffect } from 'react';
|
||||
import { StoryFn, Meta } from '@storybook/react';
|
||||
import { StoryFn, Meta } from '@storybook/nextjs';
|
||||
import { RecoilRoot, useSetRecoilState } from 'recoil';
|
||||
import ReadOnlyPage from '../pages/embed/chat/readonly/index';
|
||||
import { ChatMessage } from '../interfaces/chat-message.model';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useEffect } from 'react';
|
||||
import { StoryFn, Meta } from '@storybook/react';
|
||||
import { StoryFn, Meta } from '@storybook/nextjs';
|
||||
import { RecoilRoot, useRecoilState, useSetRecoilState } from 'recoil';
|
||||
import ReadWritePage from '../pages/embed/chat/readwrite/index';
|
||||
import { ChatMessage } from '../interfaces/chat-message.model';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Meta, StoryObj } from '@storybook/react';
|
||||
import { Meta, StoryObj } from '@storybook/nextjs';
|
||||
import { Translation } from '../components/ui/Translation/Translation';
|
||||
import { Localization } from '../types/localization';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Meta } from '@storybook/react';
|
||||
import { Meta } from '@storybook/nextjs';
|
||||
import ConfigFederation from '../pages/admin/config-federation';
|
||||
|
||||
const meta = {
|
||||
|
||||
Reference in New Issue
Block a user