Fix ParticipantChip and stories imports (#4974)

- Fix ParticipantChip
- Fix stories imports after some component have been moved to twenty UI
This commit is contained in:
bosiraphael
2024-04-15 18:09:05 +02:00
committed by GitHub
parent db2935b877
commit d7d9f0c16b
83 changed files with 189 additions and 216 deletions

View File

@ -1,6 +1,5 @@
import { Meta, StoryObj } from '@storybook/react';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { ComponentDecorator } from 'twenty-ui';
import { Card } from '../Card';
import { CardContent } from '../CardContent';

View File

@ -1,9 +1,8 @@
import { DragDropContext, Droppable } from '@hello-pangea/dnd';
import { Meta, StoryObj } from '@storybook/react';
import { IconBell } from 'twenty-ui';
import { ComponentDecorator, IconBell } from 'twenty-ui';
import { MenuItemDraggable } from '@/ui/navigation/menu-item/components/MenuItemDraggable';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { DraggableItem } from '../components/DraggableItem';

View File

@ -1,9 +1,8 @@
import { action } from '@storybook/addon-actions';
import { Meta, StoryObj } from '@storybook/react';
import { IconBell } from 'twenty-ui';
import { ComponentDecorator, IconBell } from 'twenty-ui';
import { MenuItemDraggable } from '@/ui/navigation/menu-item/components/MenuItemDraggable';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { DraggableItem } from '../components/DraggableItem';
import { DraggableList } from '../components/DraggableList';

View File

@ -1,6 +1,5 @@
import { Meta, StoryObj } from '@storybook/react';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { ComponentDecorator } from 'twenty-ui';
import { DropdownMenuInput } from '../DropdownMenuInput';

View File

@ -1,6 +1,5 @@
import { Meta, StoryObj } from '@storybook/react';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { ComponentDecorator } from 'twenty-ui';
import { ConfirmationModal } from '../ConfirmationModal';

View File

@ -1,6 +1,5 @@
import { Meta, StoryObj } from '@storybook/react';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { ComponentDecorator } from 'twenty-ui';
import { Modal } from '../Modal';
import { ModalHotkeyScope } from '../types/ModalHotkeyScope';

View File

@ -1,9 +1,10 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconCheckbox } from 'twenty-ui';
import { CatalogDecorator } from '~/testing/decorators/CatalogDecorator';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { CatalogStory } from '~/testing/types';
import {
CatalogDecorator,
CatalogStory,
ComponentDecorator,
IconCheckbox,
} from 'twenty-ui';
import { Tab } from '../Tab';

View File

@ -1,9 +1,8 @@
import { Meta, StoryObj } from '@storybook/react';
import { expect, within } from '@storybook/test';
import { IconCheckbox } from 'twenty-ui';
import { ComponentDecorator, IconCheckbox } from 'twenty-ui';
import { RecoilScope } from '@/ui/utilities/recoil-scope/components/RecoilScope';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { TabList } from '../TabList';

View File

@ -1,6 +1,5 @@
import { Meta, StoryObj } from '@storybook/react';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { ComponentDecorator } from 'twenty-ui';
import { Table } from '../Table';
import { TableCell } from '../TableCell';