Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
import GenericNoResults from '../GenericNoResults/GenericNoResults';

export default {
title: 'Components/GenericTable',
component: GenericTable,
parameters: {
layout: 'padded',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryObj } from '@storybook/react';
import GenericUpsellModal from '.';

const meta = {
title: 'Components/GenericUpsellModal',
component: GenericUpsellModal,
args: {
onClose: action('onClose'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import RetentionPolicyCallout from './RetentionPolicyCallout';
import { createFakeRoom } from '../../../tests/mocks/data';

export default {
title: 'Info Panel/InfoPanel',
component: InfoPanel,
subcomponents: {
InfoPanelAction: InfoPanelAction as ComponentType<any>,
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/components/ListItem.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import ListItem from './Sidebar/ListItem';

export default {
title: 'Components/ListItem',
component: Tile,
parameters: {
docs: {
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/components/MarkdownText.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import outdent from 'outdent';
import MarkdownText from './MarkdownText';

const meta = {
title: 'Components/MarkdownText',
component: MarkdownText,
parameters: {
layout: 'padded',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const AppRoot = mockAppRoot()
.build();

const meta = {
title: 'Components/OutboundMessage/OutboundMessageWizard',
component: OutboundMessageWizard,
subcomponents: {
RecipientStep,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const mockWizardApi = {
};

const meta = {
title: 'Components/OutboundMessage/OutboundMessageWizard/Steps/MessageStep',
component: MessageStep,
parameters: {
controls: { hideNoControlsWarning: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const AppRoot = mockAppRoot()
.build();

const meta = {
title: 'Components/OutboundMessage/OutboundMessageWizard/Steps/RecipientStep',
component: RecipientStep,
parameters: {
controls: { hideNoControlsWarning: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const AppRoot = mockAppRoot()
.build();

const meta = {
title: 'Components/OutboundMessage/OutboundMessageWizard/Steps/RepliesStep',
component: RepliesStep,
parameters: {
controls: { hideNoControlsWarning: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const mockWizardApi = {
};

const meta = {
title: 'Components/OutboundMessage/OutboundMessageWizard/Steps/ReviewStep',
component: ReviewStep,
parameters: {
controls: { hideNoControlsWarning: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ g.__meteor_runtime_config__ = {
};

export default {
title: 'Outbound Message/OutboundMessageUpsellModal',
component: OutboundMessageUpsellModal,
args: {
onClose: action('onClose'),
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/components/Page/Page.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { ComponentType } from 'react';
import { Page, PageContent, PageHeader, PageScrollableContent, PageScrollableContentWithShadow } from '.';

export default {
title: 'Components/Page',
component: Page,
subcomponents: {
PageContent: PageContent as ComponentType<any>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import SidebarTogglerButton from './SidebarTogglerButton';

export default {
title: 'Components/SidebarToggler/SidebarTogglerButton',
component: SidebarTogglerButton,
parameters: {
layout: 'centered',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import SidebarTogglerButton from './SidebarTogglerButton';

export default {
title: 'Components/SidebarToggler/SidebarTogglerButtonV2',
component: SidebarTogglerButton,
parameters: {
layout: 'centered',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const user = {
};

export default {
title: 'Components/UserCard',
component: UserCard,
parameters: {
layout: 'centered',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import * as Status from '../UserStatus';
import UserInfo from './UserInfo';

export default {
title: 'Room/Contextual Bar/UserInfo',
component: UserInfo,
parameters: {
layout: 'fullscreen',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import ConnectionStatusBar from './ConnectionStatusBar';

export default {
title: 'Components/ConnectionStatusBar',
component: ConnectionStatusBar,
parameters: {
layout: 'fullscreen',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import Counter from './Counter';

export default {
title: 'Components/Data/Counter',
component: Counter,
parameters: {
layout: 'centered',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import CounterSet from './CounterSet';

export default {
title: 'Components/Data/CounterSet',
component: CounterSet,
parameters: {
layout: 'padded',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Growth from './Growth';
import { useAutoSequence } from '../../stories/hooks/useAutoSequence';

export default {
title: 'Components/Data/Growth',
component: Growth,
parameters: {
layout: 'centered',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import NegativeGrowthSymbol from './NegativeGrowthSymbol';
import { useAutoSequence } from '../../stories/hooks/useAutoSequence';

export default {
title: 'Components/Data/NegativeGrowthSymbol',
component: NegativeGrowthSymbol,
parameters: {
layout: 'centered',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import PositiveGrowthSymbol from './PositiveGrowthSymbol';
import { useAutoSequence } from '../../stories/hooks/useAutoSequence';

export default {
title: 'Components/Data/PositiveGrowthSymbol',
component: PositiveGrowthSymbol,
parameters: {
layout: 'centered',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import MessageAction from './MessageAction';

export default {
title: 'components/message/content/actions/MessageAction',
component: MessageAction,
args: {
runAction: (_action: string) => action(_action),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import MessageRoles from './MessageRoles';

export default {
title: 'components/message/header/MessageRoles',
component: MessageRoles,
decorators: [(fn) => <Box>{fn()}</Box>], // TODO: workaround for missing Fuselage default stylesheet
} satisfies Meta<typeof MessageRoles>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { ComponentProps } from 'react';
import ThreadMessagePreviewBody from './ThreadMessagePreviewBody';

export default {
title: 'Components/ThreadMessagePreviewBody',
component: ThreadMessagePreviewBody,
parameters: {
layout: 'fullscreen',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import BusinessHoursMultiple from './BusinessHoursMultiple';

export default {
title: 'Enterprise/Omnichannel/BusinessHoursMultiple',
component: BusinessHoursMultiple,
parameters: {
layout: 'fullscreen',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import BusinessHoursTable from './BusinessHoursTable';

export default {
title: 'Enterprise/Omnichannel/BusinessHoursTable',
component: BusinessHoursTable,
parameters: {
actions: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import CannedResponsesComposer from './CannedResponsesComposer';

export default {
title: 'Enterprise/Omnichannel/CannedResponsesComposer',
component: CannedResponsesComposer,
} satisfies Meta<typeof CannedResponsesComposer>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import CannedResponse from './CannedResponse';

export default {
title: 'Omnichannel/CannedResponse',
component: CannedResponse,
parameters: {
actions: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import CannedResponseList from './CannedResponseList';
import { Contextualbar } from '../../../../components/Contextualbar';

export default {
title: 'Omnichannel/CannedResponseList',
component: CannedResponseList,
parameters: {
actions: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import Item from './Item';

export default {
title: 'Enterprise/Omnichannel/Item',
component: Item,
parameters: {
actions: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import CreateCannedResponseModal from './CreateCannedResponseModal';

export default {
title: 'Enterprise/Omnichannel/CreateCannedResponseModal',
component: CreateCannedResponseModal,
parameters: {
actions: {
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/sidebar/Item/Condensed.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Condensed from './Condensed';
import * as Status from '../../components/UserStatus';

export default {
title: 'Sidebar/Condensed',
component: Condensed,
args: {
clickable: true,
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/sidebar/Item/Extended.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Extended from './Extended';
import * as Status from '../../components/UserStatus';

export default {
title: 'Sidebar/Extended',
component: Extended,
decorators: [
(fn) => (
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/sidebar/Item/Medium.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Medium from './Medium';
import * as Status from '../../components/UserStatus';

export default {
title: 'Sidebar/Medium',
component: Medium,
args: {
title: 'John Doe',
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/sidebar/Sidebar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import type { ContextType } from 'react';
import Sidebar from './SidebarRegion';

export default {
title: 'Sidebar',
component: Sidebar,
} satisfies Meta<typeof Sidebar>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const callerDefault = {
};

export default {
title: 'Sidebar/Footer/VoipFooter',
component: VoipFooter,
parameters: {
controls: { expanded: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import CreateChanelModal from './CreateChannelModal';
import CreateChannelModalV2 from '../../../NavBarV2/NavBarPagesGroup/actions/CreateChannelModal';

export default {
title: 'views/sidebar/CreateChanelModal',
component: CreateChanelModal,
} satisfies Meta<typeof CreateChanelModal>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import CreateTeamModal from './CreateTeamModal';
import CreateTeamModalV2 from '../../../NavBarV2/NavBarPagesGroup/actions/CreateTeamModal';

export default {
title: 'views/sidebar/CreateTeamModal',
component: CreateTeamModal,
} satisfies Meta<typeof CreateTeamModal>;

Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/sidebarv2/Item/Condensed.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Condensed from './Condensed';
import * as Status from '../../components/UserStatus';

export default {
title: 'SidebarV2/Condensed',
component: Condensed,
args: {
clickable: true,
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/sidebarv2/Item/Extended.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Extended from './Extended';
import * as Status from '../../components/UserStatus';

export default {
title: 'SidebarV2/Extended',
component: Extended,
decorators: [
(fn) => (
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/sidebarv2/Item/Medium.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Medium from './Medium';
import * as Status from '../../components/UserStatus';

export default {
title: 'SidebarV2/Medium',
component: Medium,
args: {
title: 'John Doe',
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/client/sidebarv2/Sidebar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import type { ContextType } from 'react';
import Sidebar from './SidebarRegion';

export default {
title: 'SidebarV2',
component: Sidebar,
} satisfies Meta<typeof Sidebar>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const callerDefault = {
};

export default {
title: 'SidebarV2/Footer/VoipFooter',
component: VoipFooter,
parameters: {
controls: { expanded: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { ReactElement } from 'react';
import EngagementDashboardPage from './EngagementDashboardPage';

export default {
title: 'Enterprise/Admin/Engagement Dashboard/EngagementDashboardPage',
component: EngagementDashboardPage,
decorators: [(fn): ReactElement => <div children={fn()} style={{ height: '100vh' }} />],
} satisfies Meta<typeof EngagementDashboardPage>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import ChannelsTab from './ChannelsOverview';

export default {
title: 'Enterprise/Admin/Engagement Dashboard/ChannelsTab',
component: ChannelsTab,
decorators: [(fn) => <Margins children={fn()} all='x24' />],
} satisfies Meta<typeof ChannelsTab>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import LegendSymbol from './LegendSymbol';
import { monochromaticColors, polychromaticColors } from './colors';

export default {
title: 'Enterprise/Admin/Engagement Dashboard/LegendSymbol',
component: LegendSymbol,
decorators: [(fn): ReactElement => <Margins children={fn()} all='x16' />],
} satisfies Meta<typeof LegendSymbol>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import MessagesTab from './MessagesTab';

export default {
title: 'Enterprise/Admin/Engagement Dashboard/MessagesTab',
component: MessagesTab,
decorators: [(fn) => <Margins children={fn()} all='x24' />],
} satisfies Meta<typeof MessagesTab>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { ReactElement } from 'react';
import UsersTab from './UsersTab';

export default {
title: 'Enterprise/Admin/Engagement Dashboard/UsersTab',
component: UsersTab,
decorators: [(fn): ReactElement => <Margins children={fn()} all='x24' />],
} satisfies Meta<typeof UsersTab>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { Meta, StoryFn } from '@storybook/react';
import FederationDashboardPage from './FederationDashboardPage';

export default {
title: 'Admin/Federation Dashboard/FederationDashboardPage',
component: FederationDashboardPage,
parameters: {
layout: 'fullscreen',
Expand Down
Loading
Loading