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
@@ -1,9 +1,10 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconSearch } from 'twenty-ui';
import { CatalogDecorator } from '~/testing/decorators/CatalogDecorator';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { CatalogStory } from '~/testing/types';
import {
CatalogDecorator,
CatalogStory,
ComponentDecorator,
IconSearch,
} from 'twenty-ui';
import {
Button,
@@ -1,9 +1,12 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconCheckbox, IconNotes, IconTimelineEvent } 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,
IconNotes,
IconTimelineEvent,
} from 'twenty-ui';
import { Button, ButtonAccent, ButtonSize, ButtonVariant } from '../Button';
import { ButtonGroup } from '../ButtonGroup';
@@ -1,6 +1,5 @@
import { Meta, StoryObj } from '@storybook/react';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { ComponentDecorator } from 'twenty-ui';
import { ColorPickerButton } from '../ColorPickerButton';
@@ -1,9 +1,10 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconSearch } from 'twenty-ui';
import { CatalogDecorator } from '~/testing/decorators/CatalogDecorator';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { CatalogStory } from '~/testing/types';
import {
CatalogDecorator,
CatalogStory,
ComponentDecorator,
IconSearch,
} from 'twenty-ui';
import { FloatingButton, FloatingButtonSize } from '../FloatingButton';
@@ -1,9 +1,12 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconCheckbox, IconNotes, IconTimelineEvent } 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,
IconNotes,
IconTimelineEvent,
} from 'twenty-ui';
import { FloatingButton, FloatingButtonSize } from '../FloatingButton';
import { FloatingButtonGroup } from '../FloatingButtonGroup';
@@ -1,9 +1,10 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconSearch } from 'twenty-ui';
import { CatalogDecorator } from '~/testing/decorators/CatalogDecorator';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { CatalogStory } from '~/testing/types';
import {
CatalogDecorator,
CatalogStory,
ComponentDecorator,
IconSearch,
} from 'twenty-ui';
import {
FloatingIconButton,
@@ -1,9 +1,12 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconCheckbox, IconNotes, IconTimelineEvent } 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,
IconNotes,
IconTimelineEvent,
} from 'twenty-ui';
import { FloatingIconButtonSize } from '../FloatingIconButton';
import { FloatingIconButtonGroup } from '../FloatingIconButtonGroup';
@@ -1,9 +1,10 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconSearch } from 'twenty-ui';
import { CatalogDecorator } from '~/testing/decorators/CatalogDecorator';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { CatalogStory } from '~/testing/types';
import {
CatalogDecorator,
CatalogStory,
ComponentDecorator,
IconSearch,
} from 'twenty-ui';
import {
IconButton,
@@ -1,9 +1,12 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconCheckbox, IconNotes, IconTimelineEvent } 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,
IconNotes,
IconTimelineEvent,
} from 'twenty-ui';
import {
IconButtonAccent,
@@ -1,9 +1,10 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconSearch } from 'twenty-ui';
import { CatalogDecorator } from '~/testing/decorators/CatalogDecorator';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { CatalogStory } from '~/testing/types';
import {
CatalogDecorator,
CatalogStory,
ComponentDecorator,
IconSearch,
} from 'twenty-ui';
import { LightButton, LightButtonAccent } from '../LightButton';
@@ -1,9 +1,10 @@
import { Meta, StoryObj } from '@storybook/react';
import { IconSearch } from 'twenty-ui';
import { CatalogDecorator } from '~/testing/decorators/CatalogDecorator';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { CatalogStory } from '~/testing/types';
import {
CatalogDecorator,
CatalogStory,
ComponentDecorator,
IconSearch,
} from 'twenty-ui';
import {
LightIconButton,
@@ -1,8 +1,6 @@
import { Meta, StoryObj } from '@storybook/react';
import { expect, fn, userEvent, within } from '@storybook/test';
import { IconBrandGoogle } from 'twenty-ui';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { ComponentDecorator, IconBrandGoogle } from 'twenty-ui';
import { MainButton } from '../MainButton';
@@ -1,8 +1,6 @@
import { Meta, StoryObj } from '@storybook/react';
import { expect, fn, userEvent, within } from '@storybook/test';
import { IconArrowRight } from 'twenty-ui';
import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import { ComponentDecorator, IconArrowRight } from 'twenty-ui';
import { RoundedIconButton } from '../RoundedIconButton';