@functionalcms/svelte-components 2.0.6 → 2.0.7
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/components/Box.svelte +3 -13
- package/dist/components/Box.svelte.d.ts +14 -20
- package/dist/components/Hero.svelte +1 -5
- package/dist/components/Hero.svelte.d.ts +8 -17
- package/dist/components/SimpleFooter.svelte +3 -13
- package/dist/components/SimpleFooter.svelte.d.ts +14 -17
- package/package.json +1 -1
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
export let url;
|
|
6
|
-
/**
|
|
7
|
-
* @type {url}
|
|
8
|
-
*/
|
|
9
|
-
export let logoSrc;
|
|
10
|
-
/**
|
|
11
|
-
* @type {string}
|
|
12
|
-
*/
|
|
13
|
-
export let logoAlt;
|
|
1
|
+
<script>export let url;
|
|
2
|
+
export let logoSrc;
|
|
3
|
+
export let logoAlt;
|
|
14
4
|
</script>
|
|
15
5
|
|
|
16
6
|
<article class="box">
|
|
@@ -1,26 +1,15 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} BoxProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} BoxEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} BoxSlots */
|
|
4
|
-
export default class Box extends SvelteComponent<{
|
|
5
|
-
url: string;
|
|
6
|
-
logoSrc: string;
|
|
7
|
-
logoAlt: string;
|
|
8
|
-
}, {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
}, {
|
|
11
|
-
header: {};
|
|
12
|
-
default: {};
|
|
13
|
-
}> {
|
|
14
|
-
}
|
|
15
|
-
export type BoxProps = typeof __propDef.props;
|
|
16
|
-
export type BoxEvents = typeof __propDef.events;
|
|
17
|
-
export type BoxSlots = typeof __propDef.slots;
|
|
18
1
|
import { SvelteComponent } from "svelte";
|
|
19
2
|
declare const __propDef: {
|
|
20
3
|
props: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
4
|
+
/**
|
|
5
|
+
* @type {string}
|
|
6
|
+
*/ url: string;
|
|
7
|
+
/**
|
|
8
|
+
* @type {url}
|
|
9
|
+
*/ logoSrc: string;
|
|
10
|
+
/**
|
|
11
|
+
* @type {string}
|
|
12
|
+
*/ logoAlt: string;
|
|
24
13
|
};
|
|
25
14
|
events: {
|
|
26
15
|
[evt: string]: CustomEvent<any>;
|
|
@@ -30,4 +19,9 @@ declare const __propDef: {
|
|
|
30
19
|
default: {};
|
|
31
20
|
};
|
|
32
21
|
};
|
|
22
|
+
export type BoxProps = typeof __propDef.props;
|
|
23
|
+
export type BoxEvents = typeof __propDef.events;
|
|
24
|
+
export type BoxSlots = typeof __propDef.slots;
|
|
25
|
+
export default class Box extends SvelteComponent<BoxProps, BoxEvents, BoxSlots> {
|
|
26
|
+
}
|
|
33
27
|
export {};
|
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} HeroProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} HeroEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} HeroSlots */
|
|
4
|
-
export default class Hero extends SvelteComponent<{
|
|
5
|
-
url: string;
|
|
6
|
-
}, {
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {
|
|
9
|
-
header: {};
|
|
10
|
-
default: {};
|
|
11
|
-
link: {};
|
|
12
|
-
}> {
|
|
13
|
-
}
|
|
14
|
-
export type HeroProps = typeof __propDef.props;
|
|
15
|
-
export type HeroEvents = typeof __propDef.events;
|
|
16
|
-
export type HeroSlots = typeof __propDef.slots;
|
|
17
1
|
import { SvelteComponent } from "svelte";
|
|
18
2
|
declare const __propDef: {
|
|
19
3
|
props: {
|
|
20
|
-
|
|
4
|
+
/**
|
|
5
|
+
* @type {string}
|
|
6
|
+
*/ url: string;
|
|
21
7
|
};
|
|
22
8
|
events: {
|
|
23
9
|
[evt: string]: CustomEvent<any>;
|
|
@@ -28,4 +14,9 @@ declare const __propDef: {
|
|
|
28
14
|
link: {};
|
|
29
15
|
};
|
|
30
16
|
};
|
|
17
|
+
export type HeroProps = typeof __propDef.props;
|
|
18
|
+
export type HeroEvents = typeof __propDef.events;
|
|
19
|
+
export type HeroSlots = typeof __propDef.slots;
|
|
20
|
+
export default class Hero extends SvelteComponent<HeroProps, HeroEvents, HeroSlots> {
|
|
21
|
+
}
|
|
31
22
|
export {};
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
export let companyName = ""
|
|
6
|
-
/**
|
|
7
|
-
* @type {string}
|
|
8
|
-
*/
|
|
9
|
-
export let motto = ""
|
|
10
|
-
/**
|
|
11
|
-
* @type {string}
|
|
12
|
-
*/
|
|
13
|
-
export let logoUrl: string
|
|
1
|
+
<script>export let companyName = "";
|
|
2
|
+
export let motto = "";
|
|
3
|
+
export let logoUrl;
|
|
14
4
|
</script>
|
|
15
5
|
|
|
16
6
|
<footer class="footer">
|
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} SimpleFooterProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} SimpleFooterEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} SimpleFooterSlots */
|
|
4
|
-
export default class SimpleFooter extends SvelteComponent<{
|
|
5
|
-
logoUrl: string;
|
|
6
|
-
companyName?: string | undefined;
|
|
7
|
-
motto?: string | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
}, {}> {
|
|
11
|
-
}
|
|
12
|
-
export type SimpleFooterProps = typeof __propDef.props;
|
|
13
|
-
export type SimpleFooterEvents = typeof __propDef.events;
|
|
14
|
-
export type SimpleFooterSlots = typeof __propDef.slots;
|
|
15
1
|
import { SvelteComponent } from "svelte";
|
|
16
2
|
declare const __propDef: {
|
|
17
3
|
props: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
/**
|
|
5
|
+
* @type {string}
|
|
6
|
+
*/ companyName?: string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* @type {string}
|
|
9
|
+
*/ motto?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* @type {string}
|
|
12
|
+
*/ logoUrl: string;
|
|
21
13
|
};
|
|
22
14
|
events: {
|
|
23
15
|
[evt: string]: CustomEvent<any>;
|
|
24
16
|
};
|
|
25
17
|
slots: {};
|
|
26
18
|
};
|
|
19
|
+
export type SimpleFooterProps = typeof __propDef.props;
|
|
20
|
+
export type SimpleFooterEvents = typeof __propDef.events;
|
|
21
|
+
export type SimpleFooterSlots = typeof __propDef.slots;
|
|
22
|
+
export default class SimpleFooter extends SvelteComponent<SimpleFooterProps, SimpleFooterEvents, SimpleFooterSlots> {
|
|
23
|
+
}
|
|
27
24
|
export {};
|