@reuters-graphics/graphics-components 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components/@types/global.d.ts +2 -2
- package/dist/@types/components/Analytics/Analytics.svelte.d.ts +3 -3
- package/dist/@types/components/Article/Article.svelte.d.ts +3 -3
- package/dist/@types/components/BeforeAfter/BeforeAfter.svelte.d.ts +3 -3
- package/dist/@types/components/Block/Block.svelte.d.ts +3 -3
- package/dist/@types/components/BodyText/BodyText.svelte.d.ts +3 -3
- package/dist/@types/components/DatawrapperChart/DatawrapperChart.svelte.d.ts +3 -3
- package/dist/@types/components/DocumentCloud/DocumentCloud.svelte.d.ts +3 -3
- package/dist/@types/components/EmbedPreviewerLink/EmbedPreviewerLink.svelte.d.ts +3 -3
- package/dist/@types/components/FeaturePhoto/FeaturePhoto.svelte.d.ts +3 -3
- package/dist/@types/components/GraphicBlock/AriaHidden.svelte.d.ts +3 -3
- package/dist/@types/components/GraphicBlock/GraphicBlock.svelte.d.ts +3 -3
- package/dist/@types/components/GraphicBlock/TextBlock.svelte.d.ts +3 -3
- package/dist/@types/components/Headline/Headline.svelte.d.ts +3 -3
- package/dist/@types/components/Hero/Hero.svelte.d.ts +3 -3
- package/dist/@types/components/NoteText/NoteText.svelte.d.ts +3 -3
- package/dist/@types/components/PhotoCarousel/PhotoCarousel.svelte.d.ts +3 -3
- package/dist/@types/components/PhotoPack/PhotoPack.svelte.d.ts +3 -3
- package/dist/@types/components/PymChild/PymChild.svelte.d.ts +3 -3
- package/dist/@types/components/ReferralBlock/ReferralBlock.svelte.d.ts +3 -3
- package/dist/@types/components/ReutersGraphicsLogo/ReutersGraphicsLogo.svelte.d.ts +3 -3
- package/dist/@types/components/ReutersLogo/ReutersLogo.svelte.d.ts +3 -3
- package/dist/@types/components/SEO/SEO.svelte.d.ts +3 -3
- package/dist/@types/components/Scroller/Background.svelte.d.ts +3 -3
- package/dist/@types/components/Scroller/Embedded/Background.svelte.d.ts +3 -3
- package/dist/@types/components/Scroller/Embedded/Foreground.svelte.d.ts +3 -3
- package/dist/@types/components/Scroller/Embedded/index.svelte.d.ts +3 -3
- package/dist/@types/components/Scroller/Foreground.svelte.d.ts +3 -3
- package/dist/@types/components/Scroller/Scroller.svelte.d.ts +3 -3
- package/dist/@types/components/Scroller/docProps.d.ts +1 -1
- package/dist/@types/components/{Table → SearchInput}/MagnifyingGlass.svelte.d.ts +6 -2
- package/dist/@types/components/SearchInput/SearchInput.svelte.d.ts +22 -0
- package/dist/@types/components/{Table → SearchInput}/X.svelte.d.ts +6 -2
- package/dist/@types/components/Sharer/Sharer.svelte.d.ts +6 -2
- package/dist/@types/components/SimpleTimeline/SimpleTimeline.svelte.d.ts +3 -3
- package/dist/@types/components/SiteFooter/SiteFooter.svelte.d.ts +3 -3
- package/dist/@types/components/SiteFooter/svgs/Graphics.svelte.d.ts +6 -2
- package/dist/@types/components/SiteFooter/svgs/Pictures.svelte.d.ts +6 -2
- package/dist/@types/components/SiteFooter/svgs/Videos.svelte.d.ts +6 -2
- package/dist/@types/components/SiteHeader/NavBar/NavDropdown/Spinner/index.svelte.d.ts +6 -2
- package/dist/@types/components/SiteHeader/SiteHeader.svelte.d.ts +4 -4
- package/dist/@types/components/SiteHeader/svgs/Close.svelte.d.ts +6 -2
- package/dist/@types/components/SiteHeadline/SiteHeadline.svelte.d.ts +3 -3
- package/dist/@types/components/Spinner/Spinner.svelte.d.ts +3 -3
- package/dist/@types/components/Table/LeftArrow.svelte.d.ts +6 -2
- package/dist/@types/components/Table/Pagination.svelte.d.ts +3 -3
- package/dist/@types/components/Table/RightArrow.svelte.d.ts +6 -2
- package/dist/@types/components/Table/Select.svelte.d.ts +3 -3
- package/dist/@types/components/Table/SortArrow.svelte.d.ts +3 -3
- package/dist/@types/components/Table/Table.svelte.d.ts +3 -3
- package/dist/@types/components/Theme/Theme.svelte.d.ts +3 -3
- package/dist/@types/components/Theme/themes/light.d.ts +2 -2
- package/dist/@types/components/ToolsHeader/ToolsHeader.svelte.d.ts +3 -3
- package/dist/@types/components/Video/Video.svelte.d.ts +3 -3
- package/dist/@types/components/Visible/Visible.svelte.d.ts +3 -3
- package/dist/@types/index.d.ts +1 -0
- package/dist/components/@types/global.js +1 -0
- package/dist/components/Analytics/providers/chartbeat.js +3 -2
- package/dist/components/Analytics/providers/ga.js +2 -1
- package/dist/components/Analytics/providers/index.js +1 -0
- package/dist/components/BodyText/BodyText.svelte +4 -4
- package/dist/components/PhotoPack/docProps.js +1 -0
- package/dist/components/ReferralBlock/ReferralBlock.svelte +3 -3
- package/dist/components/Scroller/Embedded/Foreground.svelte +4 -4
- package/dist/components/Scroller/docProps.js +1 -0
- package/dist/components/{Table/Search.svelte → SearchInput/SearchInput.svelte} +4 -3
- package/dist/components/SiteFooter/CompanyLinks.svelte +1 -1
- package/dist/components/SiteFooter/LegalLinks.svelte +3 -11
- package/dist/components/SiteHeader/MobileMenu/index.svelte +0 -1
- package/dist/components/SiteHeader/NavBar/NavDropdown/Spinner/index.svelte +2 -8
- package/dist/components/SiteHeader/NavBar/NavDropdown/index.svelte +1 -11
- package/dist/components/SiteHeader/SiteHeader.svelte +0 -1
- package/dist/components/Spinner/Spinner.svelte +2 -8
- package/dist/components/Table/Table.svelte +7 -7
- package/dist/components/Theme/@types/component.js +1 -0
- package/dist/components/ToolsHeader/ToolsHeader.svelte +0 -1
- package/dist/index.js +1 -0
- package/package.json +53 -47
- package/dist/@types/components/Table/Search.svelte.d.ts +0 -21
- /package/dist/components/{Table → SearchInput}/MagnifyingGlass.svelte +0 -0
- /package/dist/components/{Table → SearchInput}/X.svelte +0 -0
|
@@ -2,14 +2,14 @@ import type { ComponentType } from 'svelte';
|
|
|
2
2
|
/**
|
|
3
3
|
* Used for the list of <option> tags nested in a <select> input.
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export type Option = {
|
|
6
6
|
value: string;
|
|
7
7
|
text: string;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
10
|
* Used for any props that restrict width of a container to one of pre-fab widths.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type ContainerWidth = 'narrower' | 'narrow' | 'normal' | 'wide' | 'wider' | 'widest' | 'fluid';
|
|
13
13
|
/**
|
|
14
14
|
* A step in the Scroller component.
|
|
15
15
|
*/
|
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
17
|
+
export type AnalyticsProps = typeof __propDef.props;
|
|
18
|
+
export type AnalyticsEvents = typeof __propDef.events;
|
|
19
|
+
export type AnalyticsSlots = typeof __propDef.slots;
|
|
20
20
|
/** `Analytics` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-Analytics--default) */
|
|
21
21
|
export default class Analytics extends SvelteComponentTyped<AnalyticsProps, AnalyticsEvents, AnalyticsSlots> {
|
|
22
22
|
}
|
|
@@ -24,9 +24,9 @@ declare const __propDef: {
|
|
|
24
24
|
default: {};
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
27
|
+
export type ArticleProps = typeof __propDef.props;
|
|
28
|
+
export type ArticleEvents = typeof __propDef.events;
|
|
29
|
+
export type ArticleSlots = typeof __propDef.slots;
|
|
30
30
|
/** `Article` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/layout-article--default) */
|
|
31
31
|
export default class Article extends SvelteComponentTyped<ArticleProps, ArticleEvents, ArticleSlots> {
|
|
32
32
|
}
|
|
@@ -49,9 +49,9 @@ declare const __propDef: {
|
|
|
49
49
|
caption: {};
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
-
export
|
|
53
|
-
export
|
|
54
|
-
export
|
|
52
|
+
export type BeforeAfterProps = typeof __propDef.props;
|
|
53
|
+
export type BeforeAfterEvents = typeof __propDef.events;
|
|
54
|
+
export type BeforeAfterSlots = typeof __propDef.slots;
|
|
55
55
|
/** `BeforeAfter` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-beforeafter--default) */
|
|
56
56
|
export default class BeforeAfter extends SvelteComponentTyped<BeforeAfterProps, BeforeAfterEvents, BeforeAfterSlots> {
|
|
57
57
|
}
|
|
@@ -16,9 +16,9 @@ declare const __propDef: {
|
|
|
16
16
|
default: {};
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
19
|
+
export type BlockProps = typeof __propDef.props;
|
|
20
|
+
export type BlockEvents = typeof __propDef.events;
|
|
21
|
+
export type BlockSlots = typeof __propDef.slots;
|
|
22
22
|
/** `Block` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/layout-block--default) */
|
|
23
23
|
export default class Block extends SvelteComponentTyped<BlockProps, BlockEvents, BlockSlots> {
|
|
24
24
|
}
|
|
@@ -12,9 +12,9 @@ declare const __propDef: {
|
|
|
12
12
|
};
|
|
13
13
|
slots: {};
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
15
|
+
export type BodyTextProps = typeof __propDef.props;
|
|
16
|
+
export type BodyTextEvents = typeof __propDef.events;
|
|
17
|
+
export type BodyTextSlots = typeof __propDef.slots;
|
|
18
18
|
/** `BodyText` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-bodytext--default) */
|
|
19
19
|
export default class BodyText extends SvelteComponentTyped<BodyTextProps, BodyTextEvents, BodyTextSlots> {
|
|
20
20
|
}
|
|
@@ -44,9 +44,9 @@ declare const __propDef: {
|
|
|
44
44
|
notes: {};
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
|
-
export
|
|
48
|
-
export
|
|
49
|
-
export
|
|
47
|
+
export type DatawrapperChartProps = typeof __propDef.props;
|
|
48
|
+
export type DatawrapperChartEvents = typeof __propDef.events;
|
|
49
|
+
export type DatawrapperChartSlots = typeof __propDef.slots;
|
|
50
50
|
/** `DatawrapperChart` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-DatawrapperChart--default) */
|
|
51
51
|
export default class DatawrapperChart extends SvelteComponentTyped<DatawrapperChartProps, DatawrapperChartEvents, DatawrapperChartSlots> {
|
|
52
52
|
}
|
|
@@ -21,9 +21,9 @@ declare const __propDef: {
|
|
|
21
21
|
};
|
|
22
22
|
slots: {};
|
|
23
23
|
};
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
24
|
+
export type DocumentCloudProps = typeof __propDef.props;
|
|
25
|
+
export type DocumentCloudEvents = typeof __propDef.events;
|
|
26
|
+
export type DocumentCloudSlots = typeof __propDef.slots;
|
|
27
27
|
/** `DocumentCloud` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-DocumentCloud--default) */
|
|
28
28
|
export default class DocumentCloud extends SvelteComponentTyped<DocumentCloudProps, DocumentCloudEvents, DocumentCloudSlots> {
|
|
29
29
|
}
|
|
@@ -8,9 +8,9 @@ declare const __propDef: {
|
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
11
|
+
export type EmbedPreviewerLinkProps = typeof __propDef.props;
|
|
12
|
+
export type EmbedPreviewerLinkEvents = typeof __propDef.events;
|
|
13
|
+
export type EmbedPreviewerLinkSlots = typeof __propDef.slots;
|
|
14
14
|
export default class EmbedPreviewerLink extends SvelteComponentTyped<EmbedPreviewerLinkProps, EmbedPreviewerLinkEvents, EmbedPreviewerLinkSlots> {
|
|
15
15
|
}
|
|
16
16
|
export {};
|
|
@@ -35,9 +35,9 @@ declare const __propDef: {
|
|
|
35
35
|
};
|
|
36
36
|
slots: {};
|
|
37
37
|
};
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
38
|
+
export type FeaturePhotoProps = typeof __propDef.props;
|
|
39
|
+
export type FeaturePhotoEvents = typeof __propDef.events;
|
|
40
|
+
export type FeaturePhotoSlots = typeof __propDef.slots;
|
|
41
41
|
/** `FeaturePhoto` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-FeaturePhoto--default) */
|
|
42
42
|
export default class FeaturePhoto extends SvelteComponentTyped<FeaturePhotoProps, FeaturePhotoEvents, FeaturePhotoSlots> {
|
|
43
43
|
}
|
|
@@ -12,9 +12,9 @@ declare const __propDef: {
|
|
|
12
12
|
default: {};
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
15
|
+
export type AriaHiddenProps = typeof __propDef.props;
|
|
16
|
+
export type AriaHiddenEvents = typeof __propDef.events;
|
|
17
|
+
export type AriaHiddenSlots = typeof __propDef.slots;
|
|
18
18
|
export default class AriaHidden extends SvelteComponentTyped<AriaHiddenProps, AriaHiddenEvents, AriaHiddenSlots> {
|
|
19
19
|
}
|
|
20
20
|
export {};
|
|
@@ -56,9 +56,9 @@ declare const __propDef: {
|
|
|
56
56
|
notes: {};
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
export
|
|
60
|
-
export
|
|
61
|
-
export
|
|
59
|
+
export type GraphicBlockProps = typeof __propDef.props;
|
|
60
|
+
export type GraphicBlockEvents = typeof __propDef.events;
|
|
61
|
+
export type GraphicBlockSlots = typeof __propDef.slots;
|
|
62
62
|
/** `GraphicBlock` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-GraphicBlock--default) */
|
|
63
63
|
export default class GraphicBlock extends SvelteComponentTyped<GraphicBlockProps, GraphicBlockEvents, GraphicBlockSlots> {
|
|
64
64
|
}
|
|
@@ -11,9 +11,9 @@ declare const __propDef: {
|
|
|
11
11
|
default: {};
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
14
|
+
export type TextBlockProps = typeof __propDef.props;
|
|
15
|
+
export type TextBlockEvents = typeof __propDef.events;
|
|
16
|
+
export type TextBlockSlots = typeof __propDef.slots;
|
|
17
17
|
export default class TextBlock extends SvelteComponentTyped<TextBlockProps, TextBlockEvents, TextBlockSlots> {
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
@@ -25,9 +25,9 @@ declare const __propDef: {
|
|
|
25
25
|
dateline: {};
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
28
|
+
export type HeadlineProps = typeof __propDef.props;
|
|
29
|
+
export type HeadlineEvents = typeof __propDef.events;
|
|
30
|
+
export type HeadlineSlots = typeof __propDef.slots;
|
|
31
31
|
/** `Headline` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-Headline--default) */
|
|
32
32
|
export default class Headline extends SvelteComponentTyped<HeadlineProps, HeadlineEvents, HeadlineSlots> {
|
|
33
33
|
}
|
|
@@ -33,9 +33,9 @@ declare const __propDef: {
|
|
|
33
33
|
dek: {};
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
36
|
+
export type HeroProps = typeof __propDef.props;
|
|
37
|
+
export type HeroEvents = typeof __propDef.events;
|
|
38
|
+
export type HeroSlots = typeof __propDef.slots;
|
|
39
39
|
export default class Hero extends SvelteComponentTyped<HeroProps, HeroEvents, HeroSlots> {
|
|
40
40
|
}
|
|
41
41
|
export {};
|
|
@@ -12,9 +12,9 @@ declare const __propDef: {
|
|
|
12
12
|
};
|
|
13
13
|
slots: {};
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
15
|
+
export type NoteTextProps = typeof __propDef.props;
|
|
16
|
+
export type NoteTextEvents = typeof __propDef.events;
|
|
17
|
+
export type NoteTextSlots = typeof __propDef.slots;
|
|
18
18
|
/** `NoteText` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-NoteText--default) */
|
|
19
19
|
export default class NoteText extends SvelteComponentTyped<NoteTextProps, NoteTextEvents, NoteTextSlots> {
|
|
20
20
|
}
|
|
@@ -61,9 +61,9 @@ declare const __propDef: {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
-
export
|
|
65
|
-
export
|
|
66
|
-
export
|
|
64
|
+
export type PhotoCarouselProps = typeof __propDef.props;
|
|
65
|
+
export type PhotoCarouselEvents = typeof __propDef.events;
|
|
66
|
+
export type PhotoCarouselSlots = typeof __propDef.slots;
|
|
67
67
|
/** `PhotoCarousel` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-PhotoCarousel--default) */
|
|
68
68
|
export default class PhotoCarousel extends SvelteComponentTyped<PhotoCarouselProps, PhotoCarouselEvents, PhotoCarouselSlots> {
|
|
69
69
|
}
|
|
@@ -42,9 +42,9 @@ declare const __propDef: {
|
|
|
42
42
|
};
|
|
43
43
|
slots: {};
|
|
44
44
|
};
|
|
45
|
-
export
|
|
46
|
-
export
|
|
47
|
-
export
|
|
45
|
+
export type PhotoPackProps = typeof __propDef.props;
|
|
46
|
+
export type PhotoPackEvents = typeof __propDef.events;
|
|
47
|
+
export type PhotoPackSlots = typeof __propDef.slots;
|
|
48
48
|
/** `PhotoPack` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-PhotoPack--default) */
|
|
49
49
|
export default class PhotoPack extends SvelteComponentTyped<PhotoPackProps, PhotoPackEvents, PhotoPackSlots> {
|
|
50
50
|
}
|
|
@@ -8,9 +8,9 @@ declare const __propDef: {
|
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
11
|
+
export type PymChildProps = typeof __propDef.props;
|
|
12
|
+
export type PymChildEvents = typeof __propDef.events;
|
|
13
|
+
export type PymChildSlots = typeof __propDef.slots;
|
|
14
14
|
/** `PymChild` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/utilities-PymChild--default) */
|
|
15
15
|
export default class PymChild extends SvelteComponentTyped<PymChildProps, PymChildEvents, PymChildSlots> {
|
|
16
16
|
}
|
|
@@ -29,9 +29,9 @@ declare const __propDef: {
|
|
|
29
29
|
};
|
|
30
30
|
slots: {};
|
|
31
31
|
};
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
32
|
+
export type ReferralBlockProps = typeof __propDef.props;
|
|
33
|
+
export type ReferralBlockEvents = typeof __propDef.events;
|
|
34
|
+
export type ReferralBlockSlots = typeof __propDef.slots;
|
|
35
35
|
/** `ReferralBlock` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-ReferralBlock--default) */
|
|
36
36
|
export default class ReferralBlock extends SvelteComponentTyped<ReferralBlockProps, ReferralBlockEvents, ReferralBlockSlots> {
|
|
37
37
|
}
|
|
@@ -11,9 +11,9 @@ declare const __propDef: {
|
|
|
11
11
|
};
|
|
12
12
|
slots: {};
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
14
|
+
export type ReutersGraphicsLogoProps = typeof __propDef.props;
|
|
15
|
+
export type ReutersGraphicsLogoEvents = typeof __propDef.events;
|
|
16
|
+
export type ReutersGraphicsLogoSlots = typeof __propDef.slots;
|
|
17
17
|
/** `ReutersGraphicsLogo` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-ReutersGraphicsLogo--default) */
|
|
18
18
|
export default class ReutersGraphicsLogo extends SvelteComponentTyped<ReutersGraphicsLogoProps, ReutersGraphicsLogoEvents, ReutersGraphicsLogoSlots> {
|
|
19
19
|
}
|
|
@@ -10,9 +10,9 @@ declare const __propDef: {
|
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
13
|
+
export type ReutersLogoProps = typeof __propDef.props;
|
|
14
|
+
export type ReutersLogoEvents = typeof __propDef.events;
|
|
15
|
+
export type ReutersLogoSlots = typeof __propDef.slots;
|
|
16
16
|
/** `ReutersLogo` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-ReutersLogo--default) */
|
|
17
17
|
export default class ReutersLogo extends SvelteComponentTyped<ReutersLogoProps, ReutersLogoEvents, ReutersLogoSlots> {
|
|
18
18
|
}
|
|
@@ -61,9 +61,9 @@ declare const __propDef: {
|
|
|
61
61
|
};
|
|
62
62
|
slots: {};
|
|
63
63
|
};
|
|
64
|
-
export
|
|
65
|
-
export
|
|
66
|
-
export
|
|
64
|
+
export type SeoProps = typeof __propDef.props;
|
|
65
|
+
export type SeoEvents = typeof __propDef.events;
|
|
66
|
+
export type SeoSlots = typeof __propDef.slots;
|
|
67
67
|
/** `SEO` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-SEO--default) */
|
|
68
68
|
export default class Seo extends SvelteComponentTyped<SeoProps, SeoEvents, SeoSlots> {
|
|
69
69
|
}
|
|
@@ -12,9 +12,9 @@ declare const __propDef: {
|
|
|
12
12
|
};
|
|
13
13
|
slots: {};
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
15
|
+
export type BackgroundProps = typeof __propDef.props;
|
|
16
|
+
export type BackgroundEvents = typeof __propDef.events;
|
|
17
|
+
export type BackgroundSlots = typeof __propDef.slots;
|
|
18
18
|
export default class Background extends SvelteComponentTyped<BackgroundProps, BackgroundEvents, BackgroundSlots> {
|
|
19
19
|
}
|
|
20
20
|
export {};
|
|
@@ -11,9 +11,9 @@ declare const __propDef: {
|
|
|
11
11
|
};
|
|
12
12
|
slots: {};
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
14
|
+
export type BackgroundProps = typeof __propDef.props;
|
|
15
|
+
export type BackgroundEvents = typeof __propDef.events;
|
|
16
|
+
export type BackgroundSlots = typeof __propDef.slots;
|
|
17
17
|
export default class Background extends SvelteComponentTyped<BackgroundProps, BackgroundEvents, BackgroundSlots> {
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
@@ -10,9 +10,9 @@ declare const __propDef: {
|
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
13
|
+
export type ForegroundProps = typeof __propDef.props;
|
|
14
|
+
export type ForegroundEvents = typeof __propDef.events;
|
|
15
|
+
export type ForegroundSlots = typeof __propDef.slots;
|
|
16
16
|
export default class Foreground extends SvelteComponentTyped<ForegroundProps, ForegroundEvents, ForegroundSlots> {
|
|
17
17
|
}
|
|
18
18
|
export {};
|
|
@@ -11,9 +11,9 @@ declare const __propDef: {
|
|
|
11
11
|
};
|
|
12
12
|
slots: {};
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
14
|
+
export type IndexProps = typeof __propDef.props;
|
|
15
|
+
export type IndexEvents = typeof __propDef.events;
|
|
16
|
+
export type IndexSlots = typeof __propDef.slots;
|
|
17
17
|
export default class Index extends SvelteComponentTyped<IndexProps, IndexEvents, IndexSlots> {
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
@@ -9,9 +9,9 @@ declare const __propDef: {
|
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type ForegroundProps = typeof __propDef.props;
|
|
13
|
+
export type ForegroundEvents = typeof __propDef.events;
|
|
14
|
+
export type ForegroundSlots = typeof __propDef.slots;
|
|
15
15
|
export default class Foreground extends SvelteComponentTyped<ForegroundProps, ForegroundEvents, ForegroundSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -69,9 +69,9 @@ declare const __propDef: {
|
|
|
69
69
|
};
|
|
70
70
|
slots: {};
|
|
71
71
|
};
|
|
72
|
-
export
|
|
73
|
-
export
|
|
74
|
-
export
|
|
72
|
+
export type ScrollerProps = typeof __propDef.props;
|
|
73
|
+
export type ScrollerEvents = typeof __propDef.events;
|
|
74
|
+
export type ScrollerSlots = typeof __propDef.slots;
|
|
75
75
|
/** `Scroller` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-Scroller--default) */
|
|
76
76
|
export default class Scroller extends SvelteComponentTyped<ScrollerProps, ScrollerEvents, ScrollerSlots> {
|
|
77
77
|
}
|
|
@@ -23,7 +23,7 @@ export declare const getScrollerPropsFromDoc: (docBlock: Block, aiCharts: AiChar
|
|
|
23
23
|
stackBackground: boolean;
|
|
24
24
|
embeddedLayout: string;
|
|
25
25
|
steps: {
|
|
26
|
-
background: ComponentType
|
|
26
|
+
background: ComponentType;
|
|
27
27
|
backgroundProps: {
|
|
28
28
|
assetsPath: string;
|
|
29
29
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @typedef {typeof __propDef.props} MagnifyingGlassProps */
|
|
2
2
|
/** @typedef {typeof __propDef.events} MagnifyingGlassEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} MagnifyingGlassSlots */
|
|
4
|
-
export default class MagnifyingGlass extends SvelteComponentTyped<{
|
|
4
|
+
export default class MagnifyingGlass extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
}, {}> {
|
|
7
9
|
}
|
|
@@ -10,7 +12,9 @@ export type MagnifyingGlassEvents = typeof __propDef.events;
|
|
|
10
12
|
export type MagnifyingGlassSlots = typeof __propDef.slots;
|
|
11
13
|
import { SvelteComponentTyped } from "svelte";
|
|
12
14
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
15
|
+
props: {
|
|
16
|
+
[x: string]: never;
|
|
17
|
+
};
|
|
14
18
|
events: {
|
|
15
19
|
[evt: string]: CustomEvent<any>;
|
|
16
20
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
/**
|
|
5
|
+
* The placeholder text that appears in the search box.
|
|
6
|
+
* @type {string}
|
|
7
|
+
*/ searchPlaceholder?: string;
|
|
8
|
+
};
|
|
9
|
+
events: {
|
|
10
|
+
search: CustomEvent<any>;
|
|
11
|
+
} & {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {};
|
|
15
|
+
};
|
|
16
|
+
export type SearchInputProps = typeof __propDef.props;
|
|
17
|
+
export type SearchInputEvents = typeof __propDef.events;
|
|
18
|
+
export type SearchInputSlots = typeof __propDef.slots;
|
|
19
|
+
/** `SearchInput` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-SearchInput--default) */
|
|
20
|
+
export default class SearchInput extends SvelteComponentTyped<SearchInputProps, SearchInputEvents, SearchInputSlots> {
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @typedef {typeof __propDef.props} XProps */
|
|
2
2
|
/** @typedef {typeof __propDef.events} XEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} XSlots */
|
|
4
|
-
export default class X extends SvelteComponentTyped<{
|
|
4
|
+
export default class X extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
}, {}> {
|
|
7
9
|
}
|
|
@@ -10,7 +12,9 @@ export type XEvents = typeof __propDef.events;
|
|
|
10
12
|
export type XSlots = typeof __propDef.slots;
|
|
11
13
|
import { SvelteComponentTyped } from "svelte";
|
|
12
14
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
15
|
+
props: {
|
|
16
|
+
[x: string]: never;
|
|
17
|
+
};
|
|
14
18
|
events: {
|
|
15
19
|
[evt: string]: CustomEvent<any>;
|
|
16
20
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @typedef {typeof __propDef.props} SharerProps */
|
|
2
2
|
/** @typedef {typeof __propDef.events} SharerEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} SharerSlots */
|
|
4
|
-
export default class Sharer extends SvelteComponentTyped<{
|
|
4
|
+
export default class Sharer extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
}, {}> {
|
|
7
9
|
}
|
|
@@ -10,7 +12,9 @@ export type SharerEvents = typeof __propDef.events;
|
|
|
10
12
|
export type SharerSlots = typeof __propDef.slots;
|
|
11
13
|
import { SvelteComponentTyped } from "svelte";
|
|
12
14
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
15
|
+
props: {
|
|
16
|
+
[x: string]: never;
|
|
17
|
+
};
|
|
14
18
|
events: {
|
|
15
19
|
[evt: string]: CustomEvent<any>;
|
|
16
20
|
};
|
|
@@ -34,9 +34,9 @@ declare const __propDef: {
|
|
|
34
34
|
};
|
|
35
35
|
slots: {};
|
|
36
36
|
};
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
37
|
+
export type SimpleTimelineProps = typeof __propDef.props;
|
|
38
|
+
export type SimpleTimelineEvents = typeof __propDef.events;
|
|
39
|
+
export type SimpleTimelineSlots = typeof __propDef.slots;
|
|
40
40
|
/** `SimpleTimeline` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-SimpleTimeline--default) */
|
|
41
41
|
export default class SimpleTimeline extends SvelteComponentTyped<SimpleTimelineProps, SimpleTimelineEvents, SimpleTimelineSlots> {
|
|
42
42
|
}
|
|
@@ -15,9 +15,9 @@ declare const __propDef: {
|
|
|
15
15
|
};
|
|
16
16
|
slots: {};
|
|
17
17
|
};
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
18
|
+
export type SiteFooterProps = typeof __propDef.props;
|
|
19
|
+
export type SiteFooterEvents = typeof __propDef.events;
|
|
20
|
+
export type SiteFooterSlots = typeof __propDef.slots;
|
|
21
21
|
/** `SiteFooter` [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-SiteFooter--default) */
|
|
22
22
|
export default class SiteFooter extends SvelteComponentTyped<SiteFooterProps, SiteFooterEvents, SiteFooterSlots> {
|
|
23
23
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @typedef {typeof __propDef.props} GraphicsProps */
|
|
2
2
|
/** @typedef {typeof __propDef.events} GraphicsEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} GraphicsSlots */
|
|
4
|
-
export default class Graphics extends SvelteComponentTyped<{
|
|
4
|
+
export default class Graphics extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
}, {}> {
|
|
7
9
|
}
|
|
@@ -10,7 +12,9 @@ export type GraphicsEvents = typeof __propDef.events;
|
|
|
10
12
|
export type GraphicsSlots = typeof __propDef.slots;
|
|
11
13
|
import { SvelteComponentTyped } from "svelte";
|
|
12
14
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
15
|
+
props: {
|
|
16
|
+
[x: string]: never;
|
|
17
|
+
};
|
|
14
18
|
events: {
|
|
15
19
|
[evt: string]: CustomEvent<any>;
|
|
16
20
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @typedef {typeof __propDef.props} PicturesProps */
|
|
2
2
|
/** @typedef {typeof __propDef.events} PicturesEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} PicturesSlots */
|
|
4
|
-
export default class Pictures extends SvelteComponentTyped<{
|
|
4
|
+
export default class Pictures extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
}, {}> {
|
|
7
9
|
}
|
|
@@ -10,7 +12,9 @@ export type PicturesEvents = typeof __propDef.events;
|
|
|
10
12
|
export type PicturesSlots = typeof __propDef.slots;
|
|
11
13
|
import { SvelteComponentTyped } from "svelte";
|
|
12
14
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
15
|
+
props: {
|
|
16
|
+
[x: string]: never;
|
|
17
|
+
};
|
|
14
18
|
events: {
|
|
15
19
|
[evt: string]: CustomEvent<any>;
|
|
16
20
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @typedef {typeof __propDef.props} VideosProps */
|
|
2
2
|
/** @typedef {typeof __propDef.events} VideosEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} VideosSlots */
|
|
4
|
-
export default class Videos extends SvelteComponentTyped<{
|
|
4
|
+
export default class Videos extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
}, {}> {
|
|
7
9
|
}
|
|
@@ -10,7 +12,9 @@ export type VideosEvents = typeof __propDef.events;
|
|
|
10
12
|
export type VideosSlots = typeof __propDef.slots;
|
|
11
13
|
import { SvelteComponentTyped } from "svelte";
|
|
12
14
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
15
|
+
props: {
|
|
16
|
+
[x: string]: never;
|
|
17
|
+
};
|
|
14
18
|
events: {
|
|
15
19
|
[evt: string]: CustomEvent<any>;
|
|
16
20
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @typedef {typeof __propDef.props} IndexProps */
|
|
2
2
|
/** @typedef {typeof __propDef.events} IndexEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} IndexSlots */
|
|
4
|
-
export default class Index extends SvelteComponentTyped<{
|
|
4
|
+
export default class Index extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
}, {}> {
|
|
7
9
|
}
|
|
@@ -10,7 +12,9 @@ export type IndexEvents = typeof __propDef.events;
|
|
|
10
12
|
export type IndexSlots = typeof __propDef.slots;
|
|
11
13
|
import { SvelteComponentTyped } from "svelte";
|
|
12
14
|
declare const __propDef: {
|
|
13
|
-
props: {
|
|
15
|
+
props: {
|
|
16
|
+
[x: string]: never;
|
|
17
|
+
};
|
|
14
18
|
events: {
|
|
15
19
|
[evt: string]: CustomEvent<any>;
|
|
16
20
|
};
|