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,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,

View File

@ -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';

View File

@ -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';

View File

@ -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';

View File

@ -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';

View File

@ -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,

View File

@ -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';

View File

@ -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,

View File

@ -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,

View File

@ -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';

View File

@ -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,

View File

@ -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';

View File

@ -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';