@onsvisual/svelte-components 0.0.2 → 0.0.4
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/README.md +5 -3
- package/dist/@types/decorators/Blockquote/Blockquote.svelte.d.ts +27 -0
- package/dist/@types/index.d.ts +12 -12
- package/dist/@types/js/docsPage.d.ts +25 -0
- package/dist/@types/js/withParams.d.ts +15 -0
- package/dist/@types/layout/Divider/Divider.svelte.d.ts +33 -0
- package/dist/@types/layout/Filler/Filler.svelte.d.ts +41 -0
- package/dist/@types/layout/Grid/Grid.svelte.d.ts +45 -0
- package/dist/@types/layout/Hero/Hero.svelte.d.ts +43 -0
- package/dist/@types/layout/Scroller/Scroller.svelte.d.ts +51 -0
- package/dist/@types/layout/Scroller/ScrollerSection.svelte.d.ts +33 -0
- package/dist/@types/layout/Section/Section.svelte.d.ts +41 -0
- package/dist/@types/layout/TitleBlock/Meta.svelte.d.ts +23 -0
- package/dist/@types/layout/TitleBlock/TitleBlock.svelte.d.ts +23 -0
- package/dist/@types/wrappers/Embed/Embed.svelte.d.ts +27 -0
- package/dist/@types/wrappers/Main/Main.svelte.d.ts +27 -0
- package/dist/css/main.css +4 -55
- package/dist/decorators/Blockquote/Blockquote.svelte +27 -0
- package/dist/index.js +15 -13
- package/dist/js/docsPage.js +13 -0
- package/dist/js/utils.js +3 -0
- package/dist/js/withParams.js +46 -0
- package/dist/{components/layout → layout}/Accordion/AccordionItem.svelte +1 -1
- package/dist/layout/Divider/Divider.svelte +53 -0
- package/dist/layout/Filler/Filler.svelte +66 -0
- package/dist/{components/layout → layout}/Footer/Footer.svelte +1 -1
- package/dist/layout/Grid/Grid.svelte +111 -0
- package/dist/{components/layout → layout}/Header/Header.svelte +1 -1
- package/dist/layout/Hero/Hero.svelte +74 -0
- package/dist/layout/Scroller/Scroller.svelte +336 -0
- package/dist/layout/Scroller/ScrollerSection.svelte +61 -0
- package/dist/layout/Section/Section.svelte +65 -0
- package/dist/layout/TitleBlock/Meta.svelte +26 -0
- package/dist/layout/TitleBlock/TitleBlock.svelte +0 -0
- package/dist/{components/layout → wrappers}/Container/Container.svelte +4 -2
- package/dist/wrappers/Embed/Embed.svelte +21 -0
- package/dist/wrappers/Main/Main.svelte +3 -0
- package/package.json +34 -19
- /package/dist/@types/{components/ui → decorators}/Em/Em.svelte.d.ts +0 -0
- /package/dist/@types/{components/ui → inputs}/Button/Button.svelte.d.ts +0 -0
- /package/dist/@types/{components/ui → inputs}/Button/Icon.svelte.d.ts +0 -0
- /package/dist/@types/{components/ui → inputs}/Dropdown/Dropdown.svelte.d.ts +0 -0
- /package/dist/@types/{components/ui → inputs}/Input/Input.svelte.d.ts +0 -0
- /package/dist/@types/{components/ui → inputs}/Select/Select.svelte.d.ts +0 -0
- /package/dist/@types/{components/ui → inputs}/Textarea/Textarea.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → layout}/Accordion/Accordion.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → layout}/Accordion/AccordionItem.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → layout}/Footer/Footer.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → layout}/Footer/ONSLogo.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → layout}/Header/Header.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → layout}/Header/ONSLogo.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → layout}/Twisty/Twisty.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → wrappers}/Container/Container.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → wrappers}/Theme/Theme.svelte.d.ts +0 -0
- /package/dist/@types/{components/layout → wrappers}/Theme/themes.d.ts +0 -0
- /package/dist/{components/ui → decorators}/Em/Em.svelte +0 -0
- /package/dist/{components/ui → inputs}/Button/Button.svelte +0 -0
- /package/dist/{components/ui → inputs}/Button/Icon.svelte +0 -0
- /package/dist/{components/ui → inputs}/Dropdown/Dropdown.svelte +0 -0
- /package/dist/{components/ui → inputs}/Input/Input.svelte +0 -0
- /package/dist/{components/ui → inputs}/Select/Select.svelte +0 -0
- /package/dist/{components/ui → inputs}/Textarea/Textarea.svelte +0 -0
- /package/dist/{components/layout → layout}/Accordion/Accordion.svelte +0 -0
- /package/dist/{components/layout → layout}/Footer/ONSLogo.svelte +0 -0
- /package/dist/{components/layout → layout}/Header/ONSLogo.svelte +0 -0
- /package/dist/{components/layout → layout}/Twisty/Twisty.svelte +0 -0
- /package/dist/{components/layout → wrappers}/Theme/Theme.svelte +0 -0
- /package/dist/{components/layout → wrappers}/Theme/themes.js +0 -0
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @onsvisual/svelte-components
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@onsvisual/svelte-components)
|
|
4
|
+
|
|
5
|
+
A library of ONS Svelte components for projects large and small. Its codebase and docs borrow **heavily** from Reuters' fantastic [graphics-components](https://github.com/reuters-graphics/graphics-components) library.
|
|
2
6
|
|
|
3
|
-
[](https://badge.fury.io/js/@reuters-graphics%2Fgraphics-components)
|
|
4
7
|
|
|
5
|
-
This is a fork of the Reuters [graphics-components](https://github.com/reuters-graphics/graphics-components) repo, for experimentation.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} BlockquoteProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} BlockquoteEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} BlockquoteSlots */
|
|
4
|
+
export default class Blockquote extends SvelteComponentTyped<{
|
|
5
|
+
attribution?: string;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {
|
|
9
|
+
default: {};
|
|
10
|
+
}> {
|
|
11
|
+
}
|
|
12
|
+
export type BlockquoteProps = typeof __propDef.props;
|
|
13
|
+
export type BlockquoteEvents = typeof __propDef.events;
|
|
14
|
+
export type BlockquoteSlots = typeof __propDef.slots;
|
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
|
16
|
+
declare const __propDef: {
|
|
17
|
+
props: {
|
|
18
|
+
attribution?: string;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
default: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as Container } from "./
|
|
3
|
-
export { default as
|
|
4
|
-
export { default as
|
|
5
|
-
export { default as
|
|
6
|
-
export { default as Twisty } from "./
|
|
7
|
-
export { default as Button } from "./
|
|
8
|
-
export { default as Dropdown } from "./
|
|
9
|
-
export { default as Em } from "./
|
|
10
|
-
export { default as Input } from "./
|
|
11
|
-
export { default as Select } from "./
|
|
12
|
-
export { default as Textarea } from "./
|
|
1
|
+
export { default as Theme } from "./wrappers/Theme/Theme.svelte";
|
|
2
|
+
export { default as Container } from "./wrappers/Container/Container.svelte";
|
|
3
|
+
export { default as Accordion } from "./layout/Accordion/Accordion.svelte";
|
|
4
|
+
export { default as Footer } from "./layout/Footer/Footer.svelte";
|
|
5
|
+
export { default as Header } from "./layout/Header/Header.svelte";
|
|
6
|
+
export { default as Twisty } from "./layout/Twisty/Twisty.svelte";
|
|
7
|
+
export { default as Button } from "./inputs/Button/Button.svelte";
|
|
8
|
+
export { default as Dropdown } from "./inputs/Dropdown/Dropdown.svelte";
|
|
9
|
+
export { default as Em } from "./decorators/Em/Em.svelte";
|
|
10
|
+
export { default as Input } from "./inputs/Input/Input.svelte";
|
|
11
|
+
export { default as Select } from "./inputs/Select/Select.svelte";
|
|
12
|
+
export { default as Textarea } from "./inputs/Textarea/Textarea.svelte";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export namespace parameters {
|
|
2
|
+
let viewMode: string;
|
|
3
|
+
namespace previewTabs {
|
|
4
|
+
namespace canvas {
|
|
5
|
+
let hidden: boolean;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
let toolbar: {
|
|
9
|
+
zoom: {
|
|
10
|
+
hidden: boolean;
|
|
11
|
+
};
|
|
12
|
+
eject: {
|
|
13
|
+
hidden: boolean;
|
|
14
|
+
};
|
|
15
|
+
fullscreen: {
|
|
16
|
+
hidden: boolean;
|
|
17
|
+
};
|
|
18
|
+
"storybook/background": {
|
|
19
|
+
hidden: boolean;
|
|
20
|
+
};
|
|
21
|
+
"storybook/outline": {
|
|
22
|
+
hidden: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function withSource(source: object, otherOptions?: object): {
|
|
2
|
+
parameters: {
|
|
3
|
+
docs: any;
|
|
4
|
+
};
|
|
5
|
+
};
|
|
6
|
+
export function withStoryDocs(storyDocs: string, otherOptions?: object): {
|
|
7
|
+
parameters: {
|
|
8
|
+
docs: any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export function withComponentDocs(componentDocs: string, otherOptions?: object): {
|
|
12
|
+
parameters: {
|
|
13
|
+
docs: any;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} DividerProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} DividerEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} DividerSlots */
|
|
4
|
+
export default class Divider extends SvelteComponentTyped<{
|
|
5
|
+
theme?: "light" | "dark" | "lightblue";
|
|
6
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
7
|
+
marginTop?: boolean;
|
|
8
|
+
marginBottom?: boolean;
|
|
9
|
+
themeOverrides?: any;
|
|
10
|
+
hr?: boolean;
|
|
11
|
+
}, {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
}, {}> {
|
|
14
|
+
}
|
|
15
|
+
export type DividerProps = typeof __propDef.props;
|
|
16
|
+
export type DividerEvents = typeof __propDef.events;
|
|
17
|
+
export type DividerSlots = typeof __propDef.slots;
|
|
18
|
+
import { SvelteComponentTyped } from "svelte";
|
|
19
|
+
declare const __propDef: {
|
|
20
|
+
props: {
|
|
21
|
+
theme?: "light" | "dark" | "lightblue";
|
|
22
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
23
|
+
marginTop?: boolean;
|
|
24
|
+
marginBottom?: boolean;
|
|
25
|
+
themeOverrides?: object;
|
|
26
|
+
hr?: boolean;
|
|
27
|
+
};
|
|
28
|
+
events: {
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
};
|
|
31
|
+
slots: {};
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} FillerProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} FillerEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} FillerSlots */
|
|
4
|
+
export default class Filler extends SvelteComponentTyped<{
|
|
5
|
+
theme?: "light" | "dark" | "lightblue";
|
|
6
|
+
background?: string;
|
|
7
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
8
|
+
height?: "full" | "auto" | "tall";
|
|
9
|
+
marginTop?: boolean;
|
|
10
|
+
marginBottom?: boolean;
|
|
11
|
+
themeOverrides?: any;
|
|
12
|
+
id?: string;
|
|
13
|
+
}, {
|
|
14
|
+
[evt: string]: CustomEvent<any>;
|
|
15
|
+
}, {
|
|
16
|
+
default: {};
|
|
17
|
+
}> {
|
|
18
|
+
}
|
|
19
|
+
export type FillerProps = typeof __propDef.props;
|
|
20
|
+
export type FillerEvents = typeof __propDef.events;
|
|
21
|
+
export type FillerSlots = typeof __propDef.slots;
|
|
22
|
+
import { SvelteComponentTyped } from "svelte";
|
|
23
|
+
declare const __propDef: {
|
|
24
|
+
props: {
|
|
25
|
+
theme?: "light" | "dark" | "lightblue";
|
|
26
|
+
background?: string;
|
|
27
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
28
|
+
height?: "auto" | "tall" | "full";
|
|
29
|
+
marginTop?: boolean;
|
|
30
|
+
marginBottom?: boolean;
|
|
31
|
+
themeOverrides?: object;
|
|
32
|
+
id?: string;
|
|
33
|
+
};
|
|
34
|
+
events: {
|
|
35
|
+
[evt: string]: CustomEvent<any>;
|
|
36
|
+
};
|
|
37
|
+
slots: {
|
|
38
|
+
default: {};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} GridProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} GridEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} GridSlots */
|
|
4
|
+
export default class Grid extends SvelteComponentTyped<{
|
|
5
|
+
theme?: "light" | "dark" | "lightblue";
|
|
6
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
7
|
+
height?: string | number;
|
|
8
|
+
marginTop?: boolean;
|
|
9
|
+
marginBottom?: boolean;
|
|
10
|
+
themeOverrides?: any;
|
|
11
|
+
id?: string;
|
|
12
|
+
colwidth?: "narrow" | "medium" | "wide" | "full";
|
|
13
|
+
caption?: string;
|
|
14
|
+
gap?: number;
|
|
15
|
+
}, {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
}, {
|
|
18
|
+
default: {};
|
|
19
|
+
}> {
|
|
20
|
+
}
|
|
21
|
+
export type GridProps = typeof __propDef.props;
|
|
22
|
+
export type GridEvents = typeof __propDef.events;
|
|
23
|
+
export type GridSlots = typeof __propDef.slots;
|
|
24
|
+
import { SvelteComponentTyped } from "svelte";
|
|
25
|
+
declare const __propDef: {
|
|
26
|
+
props: {
|
|
27
|
+
theme?: "light" | "dark" | "lightblue";
|
|
28
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
29
|
+
height?: number | string;
|
|
30
|
+
marginTop?: boolean;
|
|
31
|
+
marginBottom?: boolean;
|
|
32
|
+
themeOverrides?: object;
|
|
33
|
+
id?: string;
|
|
34
|
+
colwidth?: "narrow" | "medium" | "wide" | "full";
|
|
35
|
+
caption?: string;
|
|
36
|
+
gap?: number;
|
|
37
|
+
};
|
|
38
|
+
events: {
|
|
39
|
+
[evt: string]: CustomEvent<any>;
|
|
40
|
+
};
|
|
41
|
+
slots: {
|
|
42
|
+
default: {};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} HeroProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} HeroEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} HeroSlots */
|
|
4
|
+
export default class Hero extends SvelteComponentTyped<{
|
|
5
|
+
theme?: "light" | "dark" | "lightblue";
|
|
6
|
+
background?: string;
|
|
7
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
8
|
+
height?: "full" | "auto" | "tall";
|
|
9
|
+
themeOverrides?: any;
|
|
10
|
+
title?: string;
|
|
11
|
+
id?: string;
|
|
12
|
+
lede?: string;
|
|
13
|
+
date?: string;
|
|
14
|
+
}, {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
}, {
|
|
17
|
+
default: {};
|
|
18
|
+
}> {
|
|
19
|
+
}
|
|
20
|
+
export type HeroProps = typeof __propDef.props;
|
|
21
|
+
export type HeroEvents = typeof __propDef.events;
|
|
22
|
+
export type HeroSlots = typeof __propDef.slots;
|
|
23
|
+
import { SvelteComponentTyped } from "svelte";
|
|
24
|
+
declare const __propDef: {
|
|
25
|
+
props: {
|
|
26
|
+
theme?: "light" | "dark" | "lightblue";
|
|
27
|
+
background?: string;
|
|
28
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
29
|
+
height?: "auto" | "tall" | "full";
|
|
30
|
+
themeOverrides?: object;
|
|
31
|
+
title?: string;
|
|
32
|
+
id?: string;
|
|
33
|
+
lede?: string;
|
|
34
|
+
date?: string;
|
|
35
|
+
};
|
|
36
|
+
events: {
|
|
37
|
+
[evt: string]: CustomEvent<any>;
|
|
38
|
+
};
|
|
39
|
+
slots: {
|
|
40
|
+
default: {};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} ScrollerProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} ScrollerEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} ScrollerSlots */
|
|
4
|
+
export default class Scroller extends SvelteComponentTyped<{
|
|
5
|
+
marginBottom?: boolean;
|
|
6
|
+
id?: string;
|
|
7
|
+
progress?: number;
|
|
8
|
+
splitscreen?: boolean;
|
|
9
|
+
threshold?: number;
|
|
10
|
+
count?: number;
|
|
11
|
+
index?: number;
|
|
12
|
+
sectionId?: string;
|
|
13
|
+
offset?: number;
|
|
14
|
+
visible?: boolean;
|
|
15
|
+
}, {
|
|
16
|
+
change: CustomEvent<any>;
|
|
17
|
+
} & {
|
|
18
|
+
[evt: string]: CustomEvent<any>;
|
|
19
|
+
}, {
|
|
20
|
+
background: {};
|
|
21
|
+
foreground: {};
|
|
22
|
+
}> {
|
|
23
|
+
}
|
|
24
|
+
export type ScrollerProps = typeof __propDef.props;
|
|
25
|
+
export type ScrollerEvents = typeof __propDef.events;
|
|
26
|
+
export type ScrollerSlots = typeof __propDef.slots;
|
|
27
|
+
import { SvelteComponentTyped } from "svelte";
|
|
28
|
+
declare const __propDef: {
|
|
29
|
+
props: {
|
|
30
|
+
marginBottom?: boolean;
|
|
31
|
+
id?: string;
|
|
32
|
+
progress?: number;
|
|
33
|
+
splitscreen?: boolean;
|
|
34
|
+
threshold?: number;
|
|
35
|
+
count?: number;
|
|
36
|
+
index?: number;
|
|
37
|
+
sectionId?: string;
|
|
38
|
+
offset?: number;
|
|
39
|
+
visible?: boolean;
|
|
40
|
+
};
|
|
41
|
+
events: {
|
|
42
|
+
change: CustomEvent<any>;
|
|
43
|
+
} & {
|
|
44
|
+
[evt: string]: CustomEvent<any>;
|
|
45
|
+
};
|
|
46
|
+
slots: {
|
|
47
|
+
background: {};
|
|
48
|
+
foreground: {};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} ScrollerSectionProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} ScrollerSectionEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} ScrollerSectionSlots */
|
|
4
|
+
export default class ScrollerSection extends SvelteComponentTyped<{
|
|
5
|
+
theme?: "light" | "dark" | "lightblue";
|
|
6
|
+
title?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
hideTitle?: boolean;
|
|
9
|
+
}, {
|
|
10
|
+
[evt: string]: CustomEvent<any>;
|
|
11
|
+
}, {
|
|
12
|
+
default: {};
|
|
13
|
+
}> {
|
|
14
|
+
}
|
|
15
|
+
export type ScrollerSectionProps = typeof __propDef.props;
|
|
16
|
+
export type ScrollerSectionEvents = typeof __propDef.events;
|
|
17
|
+
export type ScrollerSectionSlots = typeof __propDef.slots;
|
|
18
|
+
import { SvelteComponentTyped } from "svelte";
|
|
19
|
+
declare const __propDef: {
|
|
20
|
+
props: {
|
|
21
|
+
theme?: "light" | "dark" | "lightblue";
|
|
22
|
+
title?: string;
|
|
23
|
+
id?: string;
|
|
24
|
+
hideTitle?: boolean;
|
|
25
|
+
};
|
|
26
|
+
events: {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
28
|
+
};
|
|
29
|
+
slots: {
|
|
30
|
+
default: {};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} SectionProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} SectionEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} SectionSlots */
|
|
4
|
+
export default class Section extends SvelteComponentTyped<{
|
|
5
|
+
theme?: "light" | "dark" | "lightblue";
|
|
6
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
7
|
+
marginTop?: boolean;
|
|
8
|
+
marginBottom?: boolean;
|
|
9
|
+
themeOverrides?: any;
|
|
10
|
+
title?: string;
|
|
11
|
+
id?: string;
|
|
12
|
+
hideTitle?: boolean;
|
|
13
|
+
}, {
|
|
14
|
+
[evt: string]: CustomEvent<any>;
|
|
15
|
+
}, {
|
|
16
|
+
default: {};
|
|
17
|
+
}> {
|
|
18
|
+
}
|
|
19
|
+
export type SectionProps = typeof __propDef.props;
|
|
20
|
+
export type SectionEvents = typeof __propDef.events;
|
|
21
|
+
export type SectionSlots = typeof __propDef.slots;
|
|
22
|
+
import { SvelteComponentTyped } from "svelte";
|
|
23
|
+
declare const __propDef: {
|
|
24
|
+
props: {
|
|
25
|
+
theme?: "light" | "dark" | "lightblue";
|
|
26
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
27
|
+
marginTop?: boolean;
|
|
28
|
+
marginBottom?: boolean;
|
|
29
|
+
themeOverrides?: object;
|
|
30
|
+
title?: string;
|
|
31
|
+
id?: string;
|
|
32
|
+
hideTitle?: boolean;
|
|
33
|
+
};
|
|
34
|
+
events: {
|
|
35
|
+
[evt: string]: CustomEvent<any>;
|
|
36
|
+
};
|
|
37
|
+
slots: {
|
|
38
|
+
default: {};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} MetaProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} MetaEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} MetaSlots */
|
|
4
|
+
export default class Meta extends SvelteComponentTyped<{
|
|
5
|
+
meta?: any;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {}> {
|
|
9
|
+
}
|
|
10
|
+
export type MetaProps = typeof __propDef.props;
|
|
11
|
+
export type MetaEvents = typeof __propDef.events;
|
|
12
|
+
export type MetaSlots = typeof __propDef.slots;
|
|
13
|
+
import { SvelteComponentTyped } from "svelte";
|
|
14
|
+
declare const __propDef: {
|
|
15
|
+
props: {
|
|
16
|
+
meta?: any;
|
|
17
|
+
};
|
|
18
|
+
events: {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
};
|
|
21
|
+
slots: {};
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} TitleBlockProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} TitleBlockEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} TitleBlockSlots */
|
|
4
|
+
export default class TitleBlock extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {}> {
|
|
9
|
+
}
|
|
10
|
+
export type TitleBlockProps = typeof __propDef.props;
|
|
11
|
+
export type TitleBlockEvents = typeof __propDef.events;
|
|
12
|
+
export type TitleBlockSlots = typeof __propDef.slots;
|
|
13
|
+
import { SvelteComponentTyped } from "svelte";
|
|
14
|
+
declare const __propDef: {
|
|
15
|
+
props: {
|
|
16
|
+
[x: string]: never;
|
|
17
|
+
};
|
|
18
|
+
events: {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
};
|
|
21
|
+
slots: {};
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} EmbedProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} EmbedEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} EmbedSlots */
|
|
4
|
+
export default class Embed extends SvelteComponentTyped<{
|
|
5
|
+
pymChild?: any;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {
|
|
9
|
+
default: {};
|
|
10
|
+
}> {
|
|
11
|
+
}
|
|
12
|
+
export type EmbedProps = typeof __propDef.props;
|
|
13
|
+
export type EmbedEvents = typeof __propDef.events;
|
|
14
|
+
export type EmbedSlots = typeof __propDef.slots;
|
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
|
16
|
+
declare const __propDef: {
|
|
17
|
+
props: {
|
|
18
|
+
pymChild?: object;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
default: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} MainProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} MainEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} MainSlots */
|
|
4
|
+
export default class Main extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {
|
|
9
|
+
default: {};
|
|
10
|
+
}> {
|
|
11
|
+
}
|
|
12
|
+
export type MainProps = typeof __propDef.props;
|
|
13
|
+
export type MainEvents = typeof __propDef.events;
|
|
14
|
+
export type MainSlots = typeof __propDef.slots;
|
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
|
16
|
+
declare const __propDef: {
|
|
17
|
+
props: {
|
|
18
|
+
[x: string]: never;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
default: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|