Skip to content

Commit

Permalink
docs: Includes EvaluationForm in remaining components
Browse files Browse the repository at this point in the history
  • Loading branch information
alizeleal committed Feb 1, 2024
1 parent ae708a7 commit 7f674dc
Show file tree
Hide file tree
Showing 25 changed files with 111 additions and 8 deletions.
7 changes: 6 additions & 1 deletion stories/Alert/Alert.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import {
WithIcon
} from './Alert.stories.jsx';

import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Alert" component={Alert} />

<Header title="Alert">
Expand Down Expand Up @@ -60,4 +63,6 @@ import Alert from '@catho/quantum/Alert';

<Canvas>
<Story of={WithIcon} />
</Canvas>
</Canvas>

<EvaluationForm componentName="Alert" />
4 changes: 4 additions & 0 deletions stories/Avatar/Avatar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {
WithHrefAndToggleAndIcon,
CombinedWithPopover,
} from './Avatar.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Avatar" component={Avatar} />

Expand Down Expand Up @@ -68,3 +70,5 @@ import Avatar from '@catho/quantum/Avatar';
<Canvas>
<Story of={CombinedWithPopover} />
</Canvas>

<EvaluationForm componentName="Avatar" />
3 changes: 3 additions & 0 deletions stories/Badge/Badge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {
Dot,
Inverted
} from './Badge.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Badge" component={Badge} />

Expand Down Expand Up @@ -69,3 +71,4 @@ import Badge from '@catho/quantum/Badge';
<Story of={Inverted} />
</Canvas>

<EvaluationForm componentName="Badge" />
5 changes: 5 additions & 0 deletions stories/Breadcrumbs/Breadcrumbs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import {
Default
} from './Breadcrumbs.stories.jsx';

import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Breadcrumbs" component={Breadcrumbs} />

<Header title="Breadcrumbs">
Expand Down Expand Up @@ -36,3 +39,5 @@ import Breadcrumbs from '@catho/quantum/Breadcrumbs';
<Canvas>
<Story of={Default} />
</Canvas>

<EvaluationForm componentName="Breadcrumbs" />
5 changes: 5 additions & 0 deletions stories/Button/Button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import {
WithIcon
} from './Button.stories.jsx';

import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Button" component={Button} />

<Header title="Button">
Expand Down Expand Up @@ -76,3 +79,5 @@ The full catalogue of icons can be found [here](?path=/docs/foundation-icons--pa
<Canvas>
<Story of={WithIcon}/>
</Canvas>

<EvaluationForm componentName="Button" />
6 changes: 5 additions & 1 deletion stories/Button/SocialButton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import {
Google,
Facebook
} from './SocialButton.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Button/Social" component={SocialButton} />

Expand Down Expand Up @@ -38,4 +40,6 @@ import SocialButton from '@catho/quantum/SocialButton';

<Canvas>
<Story of={Facebook}/>
</Canvas>
</Canvas>

<EvaluationForm componentName="SocialButton" />
4 changes: 4 additions & 0 deletions stories/Card/Card.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import {
CompoundComponentsList,
AdvancedCard
} from './Card.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Card" component={Card} />

Expand Down Expand Up @@ -66,3 +68,5 @@ We provide a few components to build your Card.
<Canvas>
<Story of={AdvancedCard}/>
</Canvas>

<EvaluationForm componentName="Card" />
4 changes: 4 additions & 0 deletions stories/Carousel/Carousel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import Carousel from '../../components/Carousel';
import Alert from '../../components/Alert';
import { Default, WithSmallCards, WithLargeCards, WithEllipsisForLongTexts } from './Carousel.stories.jsx';
import { Header } from '../shared';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Carousel" component={Carousel} />

Expand Down Expand Up @@ -83,3 +85,5 @@ import Carousel from '@catho/quantum/Carousel';
<Canvas>
<Story of={WithEllipsisForLongTexts}/>
</Canvas>

<EvaluationForm componentName="Carousel" />
4 changes: 4 additions & 0 deletions stories/ChargeBar/ChargeBar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs';
import { Header } from '../shared';
import ChargeBar from '../../components/ChargeBar';
import { Default, WithSkin, WithProgressPercent, WithLabel } from './ChargeBar.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="ChargeBar" component={ChargeBar} />

Expand Down Expand Up @@ -47,3 +49,5 @@ import ChargeBar from '@catho/quantum/ChargeBar';
<Canvas>
<Story of={WithLabel}/>
</Canvas>

<EvaluationForm componentName="ChargeBar" />
6 changes: 6 additions & 0 deletions stories/Dialog/Dialog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import {
CloseOnTime,
DisableClickOutside
} from './Dialog.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'



<Meta title="Dialog" component={Dialog} />

Expand Down Expand Up @@ -93,3 +96,6 @@ export default function SimpleDialog() {
<Canvas withSource="none">
<Story of={DisableClickOutside}/>
</Canvas>


<EvaluationForm componentName="Dialog" />
6 changes: 5 additions & 1 deletion stories/Hamburger/Hamburguer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs';
import { Header } from '../shared';
import { Hamburger } from '../../components';
import { Default, Opened, Inverted, WithNotificationIcon } from './Hamburger.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Hamburger" component={Hamburger} />

Expand Down Expand Up @@ -45,4 +47,6 @@ import { Hamburger } from '@catho/quantum/Hamburger';

<Canvas>
<Story of={WithNotificationIcon} />
</Canvas>
</Canvas>

<EvaluationForm componentName="Hamburguer" />
6 changes: 5 additions & 1 deletion stories/Loaders/CircularLoader.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import Header from '../shared/Header';
import CircularLoader from '../../components/CircularLoader';
import { Default, WithSkin, WithSize } from './CircularLoader.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Loaders/CircularLoader" component={CircularLoader} />

Expand Down Expand Up @@ -40,4 +42,6 @@ import CircularLoader from '@catho/quantum/CircularLoader';

<Canvas>
<Story of={WithSize}/>
</Canvas>
</Canvas>

<EvaluationForm componentName="CircularLoader" />
4 changes: 4 additions & 0 deletions stories/Loaders/ProgressBar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import Header from '../shared/Header';
import ProgressBar from '../../components/ProgressBar';
import { Default, WithProgressPercent, WithProgressText, WithLabel} from './ProgressBar.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Loaders/ProgressBar" component={ProgressBar} />

Expand Down Expand Up @@ -48,3 +50,5 @@ import ProgressBar from '@catho/quantum/ProgressBar';
<Canvas>
<Story of={WithLabel}/>
</Canvas>

<EvaluationForm componentName="ProgressBar" />
4 changes: 4 additions & 0 deletions stories/Loaders/Skeleton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import Header from '../shared/Header';

import Skeleton from '../../components/Skeleton';
import { Default, WithType, WithSize } from './Skeleton.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Loaders/Skeleton" component={Skeleton} />

Expand Down Expand Up @@ -43,3 +45,5 @@ import Skeleton from '@catho/quantum/Skeleton';
<Story of={WithSize}/>
</Canvas>

<EvaluationForm componentName="Skeleton" />

4 changes: 4 additions & 0 deletions stories/Modal/Modal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import {
AdvancedModal,
} from './Modal.stories.jsx';

import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Modal" component={Modal} />

<Header title="Modal">
Expand Down Expand Up @@ -112,6 +115,7 @@ export default function AdvancedModal() {
<Story of={AdvancedModal}/>
</Canvas>
<EvaluationForm componentName="Modal" />
Expand Down
7 changes: 6 additions & 1 deletion stories/Pagination/Pagination.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import Header from '../shared/Header';
import { Alert } from '../../components';
import Pagination from '../../components/Pagination';
import { Default, WithSeveralPagesAndActivePage, WithCustomNextAndPrevButtonText, HideLastPage, WithPageHref, MobileWithCustomHelperText, ControlledPagination } from './Pagination.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'



<Meta title="Pagination" component={Pagination} />

Expand Down Expand Up @@ -72,4 +75,6 @@ import Pagination from '@catho/quantum/Pagination';

<Canvas>
<Story of={ControlledPagination} />
</Canvas>
</Canvas>

<EvaluationForm componentName="Pagination" />
6 changes: 5 additions & 1 deletion stories/Popover/Popover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import {
Inverted,
Visible
} from './Popover.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Popover" component={Popover} />

Expand Down Expand Up @@ -60,4 +62,6 @@ import Popover from '@catho/quantum/Popover';

<Canvas>
<Story of={Visible} />
</Canvas>
</Canvas>

<EvaluationForm componentName="Popover" />
6 changes: 5 additions & 1 deletion stories/Score/Score.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {
WithSkin,
WithCustomText
} from './Score.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="RingGraph/Score" component={Score} />

Expand Down Expand Up @@ -52,4 +54,6 @@ import { Score } from '@catho/quantum';

<Canvas>
<Story of={WithCustomText} />
</Canvas>
</Canvas>

<EvaluationForm componentName="Score" />
4 changes: 4 additions & 0 deletions stories/SegmentedControl/SegmentedControl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import {
DarkThemeWith3ItemsAndNoItemChecked,
DarkThemeWith5ItemsAndNoItemChecked
} from './SegmentedControl.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="SegmentedControl" component={SegmentedControl} />

Expand Down Expand Up @@ -61,3 +63,5 @@ import SegmentedControl from '@catho/quantum/SegmentedControl';
<Canvas>
<Story of={DarkThemeWith5ItemsAndNoItemChecked} />
</Canvas>

<EvaluationForm componentName="SegmentedControl" />
6 changes: 5 additions & 1 deletion stories/SnackBar/SnackBar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import {
Inverted,
WithActionTrigger
} from './SnackBar.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="SnackBar" component={SnackBar} />

Expand Down Expand Up @@ -198,4 +200,6 @@ export default function Template () {

<Canvas withSource="none">
<Story of={WithActionTrigger} />
</Canvas>
</Canvas>

<EvaluationForm componentName="SnackBar" />
3 changes: 3 additions & 0 deletions stories/Socials/Socials.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {
WithSize,
AllItems
} from './Socials.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Socials" component={Socials} />

Expand Down Expand Up @@ -56,6 +58,7 @@ import Socials from '@catho/quantum/Socials';
</Canvas>


<EvaluationForm componentName="Socials" />



Expand Down
5 changes: 5 additions & 0 deletions stories/Stepper/Stepper.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import {
WithI18n,
WithTotal
} from './Stepper.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'



<Meta title="RingGraph/Stepper" component={Stepper} />

Expand Down Expand Up @@ -77,6 +80,8 @@ import Stepper from '@catho/quantum/Stepper';
<Story of={WithI18n} />
</Canvas>

<EvaluationForm componentName="Stepper" />




3 changes: 3 additions & 0 deletions stories/TabbedView/TabbedView.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import {
ActiveTab,
WithIconAndBadge
} from './TabbedView.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="TabbedView" component={TabbedView} />

Expand Down Expand Up @@ -75,5 +77,6 @@ import { TabbedView } from '@catho/quantum/TabbedView';
<Story of={WithIconAndBadge} />
</Canvas>

<EvaluationForm componentName="TabbedView" />


3 changes: 3 additions & 0 deletions stories/Tag/Tag.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {
Bold,
WithSize
} from './Tag.stories.jsx';
import EvaluationForm from '../../stories/shared/EvaluationForm'


<Meta title="Tag" component={Tag} />

Expand Down Expand Up @@ -70,3 +72,4 @@ import Tag from '@catho/quantum/Tag';
</Canvas>


<EvaluationForm componentName="Tag" />
Loading

0 comments on commit 7f674dc

Please sign in to comment.