Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component structure #197

Merged
merged 3 commits into from
Nov 19, 2024
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
5 changes: 5 additions & 0 deletions .changeset/rare-queens-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@reuters-graphics/graphics-components': patch
---

Patches up component docs links
1 change: 1 addition & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const parameters = {
options: {
// https://storybook.js.org/docs/svelte/writing-stories/naming-components-and-hierarchy#sorting-stories
storySort: {
method: 'alphabetical-by-kind',
includeNames: true,
order: [
'Intro',
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdSlot/InlineAd.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { withComponentDocs } from './../../docs/utils/withParams';

export const meta = {
title: 'Components/InlineAd',
title: 'Components/Ads & analytics/InlineAd',
component: InlineAd,
...withComponentDocs(adDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdSlot/InlineAd.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `InlineAd` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-InlineAd--default) -->
<!-- @component `InlineAd` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-ads-analytics-inlinead--docs) -->
<script lang="ts">
import Block from '../Block/Block.svelte';
import type { InlineAd } from './@types/ads';
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdSlot/LeaderboardAd.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { withComponentDocs } from './../../docs/utils/withParams';

export const meta = {
title: 'Components/LeaderboardAd',
title: 'Components/Ads & analytics/LeaderboardAd',
component: LeaderboardAd,
...withComponentDocs(adDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdSlot/LeaderboardAd.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `LeaderboardAd` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-LeaderboardAd--default) -->
<!-- @component `LeaderboardAd` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-ads-analytics-leaderboardad--docs) -->
<script lang="ts">
import type { LeaderboardAd } from './@types/ads';
import ResponsiveAd from './ResponsiveAd.svelte';
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdSlot/SponsorshipAd.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { withComponentDocs } from './../../docs/utils/withParams';

export const meta = {
title: 'Components/SponsorshipAd',
title: 'Components/Ads & analytics/SponsorshipAd',
component: SponsorshipAd,
...withComponentDocs(adDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdSlot/SponsorshipAd.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `SponsorshipAd` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-SponsorshipAd--default) -->
<!-- @component `SponsorshipAd` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-ads-analytics-sponsorshipad--docs) -->
<script lang="ts">
import Block from '../Block/Block.svelte';
import type { SponsorshipAd } from './@types/ads';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Analytics/Analytics.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { withComponentDocs, withStoryDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/Analytics',
title: 'Components/Ads & analytics/Analytics',
component: Analytics,
...withComponentDocs(componentDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/Analytics/Analytics.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
</script>

<!-- @component `Analytics` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-Analytics--default) -->
<!-- @component `Analytics` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-ads-analytics-analytics--docs) -->
<script lang="ts">
interface Author {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Article/Article.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { withComponentDocs, withStoryDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/Article',
title: 'Components/Page Layout/Article',
component: Article,
...withComponentDocs(componentDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/Article/Article.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `Article` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/layout-article--default) -->
<!-- @component `Article` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-page-layout-article--docs) -->
<script lang="ts">
/** Set to true for embeddables. */
export let embedded: boolean = false;
Expand Down
2 changes: 1 addition & 1 deletion src/components/BeforeAfter/BeforeAfter.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { withComponentDocs, withStoryDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/BeforeAfter',
title: 'Components/Graphics/BeforeAfter',
component: BeforeAfter,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/BeforeAfter/BeforeAfter.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `BeforeAfter` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-beforeafter--default) -->
<!-- @component `BeforeAfter` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-graphics-beforeafter--docs) -->
<script lang="ts">
import { throttle } from 'lodash-es';
import { onMount } from 'svelte';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Block/Block.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import { withComponentDocs, withStoryDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/Block',
title: 'Components/Page layout/Block',
component: Block,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Block/Block.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `Block` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/layout-block--default) -->
<!-- @component `Block` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-page-layout-block--docs) -->
<script lang="ts">
import type { ContainerWidth } from '../@types/global';

Expand Down
2 changes: 1 addition & 1 deletion src/components/BodyText/BodyText.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { withComponentDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/BodyText',
title: 'Components/Text elements/BodyText',
component: BodyText,
...withComponentDocs(componentDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/BodyText/BodyText.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `BodyText` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-bodytext--default) -->
<!-- @component `BodyText` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-text-elements-bodytext--docs) -->
<script lang="ts">
import Markdown from '../Markdown/Markdown.svelte';
/**
Expand Down
2 changes: 1 addition & 1 deletion src/components/Byline/Byline.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { withComponentDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/Byline',
title: 'Components/Text elements/Byline',
component: Byline,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
1 change: 1 addition & 0 deletions src/components/Byline/Byline.svelte
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- @component `Byline` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-text-elements-byline--docs) -->
<script lang="ts">
import Block from '../Block/Block.svelte';
import slugify from 'slugify';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
} from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/DatawrapperChart',
title: 'Components/Graphics/DatawrapperChart',
component: DatawrapperChart,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/DatawrapperChart/DatawrapperChart.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `DatawrapperChart` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-DatawrapperChart--default) -->
<!-- @component `DatawrapperChart` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-graphics-datawrapperchart--docs) -->
<script lang="ts">
import { onMount, onDestroy } from 'svelte';
import GraphicBlock from '../GraphicBlock/GraphicBlock.svelte';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { withComponentDocs } from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/DocumentCloud',
title: 'Components/Multimedia/DocumentCloud',
component: DocumentCloud,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/DocumentCloud/DocumentCloud.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `DocumentCloud` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-DocumentCloud--default) -->
<!-- @component `DocumentCloud` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-multimedia-documentcloud--docs) -->
<script lang="ts">
import type { ContainerWidth } from '../@types/global';
/** ✏️ DOCUMENT your chart's props using TypeScript and JSDoc comments like below! */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { withComponentDocs } from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/EmbedPreviewerLink',
title: 'Components/Utilities/EmbedPreviewerLink',
component: EmbedPreviewerLink,
...withComponentDocs(componentDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/EndNotes/EndNotes.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { withComponentDocs } from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/EndNotes',
title: 'Components/Text elements/EndNotes',
component: EndNotes,
...withComponentDocs(componentDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/EndNotes/EndNotes.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `EndNotes` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-EndNotes--default) -->
<!-- @component `EndNotes` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-text-elements-endnotes--docs) -->
<script lang="ts">
interface EndNote {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/components/FeaturePhoto/FeaturePhoto.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
} from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/FeaturePhoto',
title: 'Components/Multimedia/FeaturePhoto',
component: FeaturePhoto,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/FeaturePhoto/FeaturePhoto.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `FeaturePhoto` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-FeaturePhoto--default) -->
<!-- @component `FeaturePhoto` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-multimedia-featurephoto--docs) -->
<script lang="ts">
import { onMount } from 'svelte';
import Block from '../Block/Block.svelte';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Framer/Framer.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { withComponentDocs } from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/Framer',
title: 'Components/Utilities/Framer',
component: Framer,
...withComponentDocs(componentDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/GraphicBlock/GraphicBlock.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import { withComponentDocs, withStoryDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/GraphicBlock',
title: 'Components/Graphics/GraphicBlock',
component: GraphicBlock,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/GraphicBlock/GraphicBlock.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `GraphicBlock` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-GraphicBlock--default) -->
<!-- @component `GraphicBlock` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-graphics-graphicblock--docs) -->
<script lang="ts">
import type { ContainerWidth } from '../@types/global';

Expand Down
2 changes: 1 addition & 1 deletion src/components/Headline/Headline.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
} from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/Headline',
title: 'Components/Text elements/Headline',
component: Headline,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Headline/Headline.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `Headline` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-Headline--default) -->
<!-- @component `Headline` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-text-elements-headline--docs) -->
<script lang="ts">
import type { HeadlineSize } from './../@types/global';

Expand Down
2 changes: 1 addition & 1 deletion src/components/HeroHeadline/Hero.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
} from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/HeroHeadline',
title: 'Components/Text elements/HeroHeadline',
component: HeroHeadline,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/HeroHeadline/Hero.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `HeroHeadline` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-HeroHeadline--default) -->
<!-- @component `HeroHeadline` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-text-elements-heroheadline--docs) -->
<script lang="ts">
import type { HeadlineSize } from '../@types/global';

Expand Down
2 changes: 1 addition & 1 deletion src/components/InfoBox/InfoBox.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { withComponentDocs } from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/InfoBox',
title: 'Components/Text elements/InfoBox',
component: InfoBox,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/InfoBox/InfoBox.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `EndNotes` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-InfoBox--default) -->
<!-- @component `InfoBox` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-text-elements-infobox--docs) -->
<script lang="ts">
import type { ContainerWidth } from '../@types/global';

Expand Down
2 changes: 1 addition & 1 deletion src/components/Markdown/Markdown.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { withComponentDocs } from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/Markdown',
title: 'Components/Text elements/Markdown',
component: Markdown,
...withComponentDocs(componentDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/Markdown/Markdown.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `Markdown` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-Markdown--default) -->
<!-- @component `Markdown` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-text-elements-markdown--docs) -->
<script lang="ts">
import type { Action } from 'svelte/action';
import { marked } from 'marked';
Expand Down
2 changes: 1 addition & 1 deletion src/components/PaddingReset/PaddingReset.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { withComponentDocs } from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/PaddingReset',
title: 'Components/Page layout/PaddingReset',
component: PaddingReset,
...withComponentDocs(componentDocs),
};
Expand Down
1 change: 1 addition & 0 deletions src/components/PaddingReset/PaddingReset.svelte
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- @component `PaddingReset` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-page-layout-paddingreset--docs) -->
<script>
/**
* If parent container is fluid, which resets the padding around contained elements.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import { withComponentDocs, withStoryDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/PhotoCarousel',
title: 'Components/Multimedia/PhotoCarousel',
component: PhotoCarousel,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/PhotoCarousel/PhotoCarousel.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `PhotoCarousel` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-PhotoCarousel--default) -->
<!-- @component `PhotoCarousel` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-multimedia-photocarousel--docs) -->
<script lang="ts">
type ContainerWidth = 'normal' | 'wide' | 'wider' | 'widest' | 'fluid';

Expand Down
2 changes: 1 addition & 1 deletion src/components/PhotoPack/PhotoPack.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import { withComponentDocs, withStoryDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/PhotoPack',
title: 'Components/Multimedia/PhotoPack',
component: PhotoPack,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/PhotoPack/PhotoPack.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `PhotoPack` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-PhotoPack--default) -->
<!-- @component `PhotoPack` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-multimedia-photopack--docs) -->
<script lang="ts">
interface Image {
src: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/PymChild/PymChild.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { withComponentDocs } from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/PymChild',
title: 'Components/Utilities/PymChild',
component: PymChild,
...withComponentDocs(componentDocs),
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/PymChild/PymChild.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `PymChild` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/utilities-PymChild--default) -->
<!-- @component `PymChild` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-utilities-pymchild--docs) -->
<script lang="ts">
/** Pym.js polling interval */
export let polling: number = 500;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import { withComponentDocs, withStoryDocs } from '$docs/utils/withParams.js';

export const meta = {
title: 'Components/ReferralBlock',
title: 'Components/Page furniture/ReferralBlock',
component: ReferralBlock,
...withComponentDocs(componentDocs),
argTypes: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ReferralBlock/ReferralBlock.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `ReferralBlock` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-ReferralBlock--default) -->
<!-- @component `ReferralBlock` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-page-furniture-referralblock--docs) -->
<script lang="ts">
/** ✏️ DOCUMENT your chart's props using TypeScript and JSDoc comments like below! */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { withComponentDocs } from '$lib/docs/utils/withParams.js';

export const meta = {
title: 'Components/ReutersGraphicsLogo',
title: 'Components/Logos/ReutersGraphicsLogo',
component: ReutersGraphicsLogo,
...withComponentDocs(componentDocs),
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- @component `ReutersGraphicsLogo` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-ReutersGraphicsLogo--default) -->
<!-- @component `ReutersGraphicsLogo` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-logos-reutersgraphicslogo--docs) -->
<script lang="ts">
/** "Kinesis" colour */
export let logoColour: string = '#FA6400';
Expand Down
Loading