@functionalcms/svelte-components 2.18.0 → 2.18.1
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/Banner.svelte +12 -14
- package/dist/components/Banner.svelte.d.ts +8 -6
- package/dist/components/Link.svelte +23 -26
- package/dist/components/Link.svelte.d.ts +19 -17
- package/dist/components/Logo.svelte.d.ts +3 -1
- package/dist/components/SimpleFooter.svelte.d.ts +4 -2
- package/dist/components/Spacer.svelte.d.ts +4 -2
- package/dist/components/Well.svelte +7 -8
- package/dist/components/Well.svelte.d.ts +6 -4
- package/dist/components/blog/BlogDescription.svelte.d.ts +2 -0
- package/dist/components/blog/BlogTitle.svelte.d.ts +4 -2
- package/dist/components/layouts/DefaultLayout.svelte +1 -2
- package/dist/components/layouts/DefaultLayout.svelte.d.ts +6 -4
- package/dist/components/layouts/TwoColumnsLayout.svelte.d.ts +4 -2
- package/dist/components/menu/ColumnMenu.svelte.d.ts +5 -3
- package/dist/components/menu/DynamicMenu.svelte +3 -6
- package/dist/components/menu/DynamicMenu.svelte.d.ts +5 -3
- package/dist/components/menu/FlatMenu.svelte.d.ts +5 -3
- package/dist/components/menu/HamburgerMenu.svelte.d.ts +7 -5
- package/dist/components/menu/authentication.js +1 -2
- package/dist/components/presentation/Carusel.svelte.d.ts +4 -2
- package/dist/components/presentation/Gallery.svelte +7 -8
- package/dist/components/presentation/Gallery.svelte.d.ts +7 -5
- package/dist/stores/meta.d.ts +0 -1
- package/dist/stores/pages.d.ts +0 -1
- package/dist/stores/title.d.ts +0 -1
- package/package.json +1 -1
|
@@ -23,20 +23,18 @@ export let bannerCss = "";
|
|
|
23
23
|
export let justify = Justify.Start;
|
|
24
24
|
export let alignItems = AlignItmes.Start;
|
|
25
25
|
export let orientation = Orientation.Column;
|
|
26
|
-
$:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
bannerCss
|
|
39
|
-
].filter((c) => c).join(" ");
|
|
26
|
+
$: klasses = [
|
|
27
|
+
"flex",
|
|
28
|
+
"well",
|
|
29
|
+
css ? css : "",
|
|
30
|
+
`${orientation}`,
|
|
31
|
+
`${justify}`,
|
|
32
|
+
`${alignItems}`
|
|
33
|
+
].filter((c) => c).join(" ");
|
|
34
|
+
$: bannerKlasses = [
|
|
35
|
+
"banner",
|
|
36
|
+
bannerCss
|
|
37
|
+
].filter((c) => c).join(" ");
|
|
40
38
|
</script>
|
|
41
39
|
<div class={bannerKlasses} style="--functional-banner-background: {background};" >
|
|
42
40
|
<div class={klasses}>
|
|
@@ -2,12 +2,12 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import { Justify, AlignItmes, Orientation } from "./Styling.js";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
background?: string
|
|
6
|
-
css?: string
|
|
7
|
-
bannerCss?: string
|
|
8
|
-
justify?: Justify
|
|
9
|
-
alignItems?: AlignItmes
|
|
10
|
-
orientation?: Orientation
|
|
5
|
+
background?: string;
|
|
6
|
+
css?: string;
|
|
7
|
+
bannerCss?: string;
|
|
8
|
+
justify?: Justify;
|
|
9
|
+
alignItems?: AlignItmes;
|
|
10
|
+
orientation?: Orientation;
|
|
11
11
|
};
|
|
12
12
|
events: {
|
|
13
13
|
[evt: string]: CustomEvent<any>;
|
|
@@ -15,6 +15,8 @@ declare const __propDef: {
|
|
|
15
15
|
slots: {
|
|
16
16
|
default: {};
|
|
17
17
|
};
|
|
18
|
+
exports?: {} | undefined;
|
|
19
|
+
bindings?: string | undefined;
|
|
18
20
|
};
|
|
19
21
|
export type BannerProps = typeof __propDef.props;
|
|
20
22
|
export type BannerEvents = typeof __propDef.events;
|
|
@@ -307,32 +307,29 @@ export let size = ComponentSize.Normal;
|
|
|
307
307
|
export let justify = Justify.Center;
|
|
308
308
|
export let alignItems = AlignItmes.Center;
|
|
309
309
|
export let orientation = Orientation.Row;
|
|
310
|
-
$:
|
|
311
|
-
|
|
312
|
-
$:
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
`${alignItems}`,
|
|
334
|
-
css ? css : ""
|
|
335
|
-
].filter((c) => c).join(" ");
|
|
310
|
+
$: isSmall = size === ComponentSize.Small;
|
|
311
|
+
$: isLarge = size === ComponentSize.Large;
|
|
312
|
+
$: klasses = [
|
|
313
|
+
"btn",
|
|
314
|
+
isPrimary ? "btn-primary" : "",
|
|
315
|
+
isDisabled ? "disabled" : "",
|
|
316
|
+
isBordered ? "btn-bordered" : "",
|
|
317
|
+
isSecondary ? "btn-secondary" : "",
|
|
318
|
+
idRounded ? "btn-rounded" : "",
|
|
319
|
+
idPill ? "btn-pill" : "",
|
|
320
|
+
idBlock ? "btn-block" : "",
|
|
321
|
+
idCapsule ? "btn-capsule" : "",
|
|
322
|
+
idCircle ? "btn-circle" : "",
|
|
323
|
+
idGrouped ? "btn-grouped" : "",
|
|
324
|
+
isLarge ? "btn-large" : "",
|
|
325
|
+
isSmall ? "btn-small" : "",
|
|
326
|
+
isLarge && isCircle ? "btn-large btn-circle-large" : "",
|
|
327
|
+
isSmall && idCircle ? "btn-small btn-circle-small" : "",
|
|
328
|
+
`${orientation}`,
|
|
329
|
+
`${justify}`,
|
|
330
|
+
`${alignItems}`,
|
|
331
|
+
css ? css : ""
|
|
332
|
+
].filter((c) => c).join(" ");
|
|
336
333
|
</script>
|
|
337
334
|
<a class={klasses} href={href}>
|
|
338
335
|
<slot />
|
|
@@ -2,23 +2,23 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import { AlignItmes, ComponentSize, Justify, Orientation } from './Styling.js';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
css?: string
|
|
6
|
-
href?: string
|
|
7
|
-
isPrimary?: boolean
|
|
8
|
-
isDisabled?: boolean
|
|
9
|
-
isBordered?: boolean
|
|
10
|
-
isSecondary?: boolean
|
|
11
|
-
idRounded?: boolean
|
|
12
|
-
idPill?: boolean
|
|
13
|
-
idBlock?: boolean
|
|
14
|
-
idCapsule?: boolean
|
|
15
|
-
idCircle?: boolean
|
|
16
|
-
idGrouped?: boolean
|
|
17
|
-
isCircle?: boolean
|
|
18
|
-
size?: ComponentSize
|
|
19
|
-
justify?: Justify
|
|
20
|
-
alignItems?: AlignItmes
|
|
21
|
-
orientation?: Orientation
|
|
5
|
+
css?: string;
|
|
6
|
+
href?: string;
|
|
7
|
+
isPrimary?: boolean;
|
|
8
|
+
isDisabled?: boolean;
|
|
9
|
+
isBordered?: boolean;
|
|
10
|
+
isSecondary?: boolean;
|
|
11
|
+
idRounded?: boolean;
|
|
12
|
+
idPill?: boolean;
|
|
13
|
+
idBlock?: boolean;
|
|
14
|
+
idCapsule?: boolean;
|
|
15
|
+
idCircle?: boolean;
|
|
16
|
+
idGrouped?: boolean;
|
|
17
|
+
isCircle?: boolean;
|
|
18
|
+
size?: ComponentSize;
|
|
19
|
+
justify?: Justify;
|
|
20
|
+
alignItems?: AlignItmes;
|
|
21
|
+
orientation?: Orientation;
|
|
22
22
|
};
|
|
23
23
|
events: {
|
|
24
24
|
[evt: string]: CustomEvent<any>;
|
|
@@ -26,6 +26,8 @@ declare const __propDef: {
|
|
|
26
26
|
slots: {
|
|
27
27
|
default: {};
|
|
28
28
|
};
|
|
29
|
+
exports?: {} | undefined;
|
|
30
|
+
bindings?: string | undefined;
|
|
29
31
|
};
|
|
30
32
|
export type LinkProps = typeof __propDef.props;
|
|
31
33
|
export type LinkEvents = typeof __propDef.events;
|
|
@@ -9,12 +9,14 @@ declare const __propDef: {
|
|
|
9
9
|
*/ logoUrl: string;
|
|
10
10
|
/**
|
|
11
11
|
* @type {string}
|
|
12
|
-
*/ css?: string
|
|
12
|
+
*/ css?: string;
|
|
13
13
|
};
|
|
14
14
|
events: {
|
|
15
15
|
[evt: string]: CustomEvent<any>;
|
|
16
16
|
};
|
|
17
17
|
slots: {};
|
|
18
|
+
exports?: {} | undefined;
|
|
19
|
+
bindings?: string | undefined;
|
|
18
20
|
};
|
|
19
21
|
export type LogoProps = typeof __propDef.props;
|
|
20
22
|
export type LogoEvents = typeof __propDef.events;
|
|
@@ -3,10 +3,10 @@ declare const __propDef: {
|
|
|
3
3
|
props: {
|
|
4
4
|
/**
|
|
5
5
|
* @type {string}
|
|
6
|
-
*/ companyName?: string
|
|
6
|
+
*/ companyName?: string;
|
|
7
7
|
/**
|
|
8
8
|
* @type {string}
|
|
9
|
-
*/ motto?: string
|
|
9
|
+
*/ motto?: string;
|
|
10
10
|
/**
|
|
11
11
|
* @type {string}
|
|
12
12
|
*/ logoUrl: string;
|
|
@@ -15,6 +15,8 @@ declare const __propDef: {
|
|
|
15
15
|
[evt: string]: CustomEvent<any>;
|
|
16
16
|
};
|
|
17
17
|
slots: {};
|
|
18
|
+
exports?: {} | undefined;
|
|
19
|
+
bindings?: string | undefined;
|
|
18
20
|
};
|
|
19
21
|
export type SimpleFooterProps = typeof __propDef.props;
|
|
20
22
|
export type SimpleFooterEvents = typeof __propDef.events;
|
|
@@ -2,13 +2,15 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import { Sizes } from "./Styling";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
width?: Sizes
|
|
6
|
-
height?: Sizes
|
|
5
|
+
width?: Sizes;
|
|
6
|
+
height?: Sizes;
|
|
7
7
|
};
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
|
+
exports?: {} | undefined;
|
|
13
|
+
bindings?: string | undefined;
|
|
12
14
|
};
|
|
13
15
|
export type SpacerProps = typeof __propDef.props;
|
|
14
16
|
export type SpacerEvents = typeof __propDef.events;
|
|
@@ -17,14 +17,13 @@ export let css = "";
|
|
|
17
17
|
export let orientation = Orientation.Column;
|
|
18
18
|
export let justify = Justify.Start;
|
|
19
19
|
export let alignItems = AlignItmes.Start;
|
|
20
|
-
$:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
].filter((c) => c).join(" ");
|
|
20
|
+
$: klasses = [
|
|
21
|
+
"flex",
|
|
22
|
+
css ? css : "",
|
|
23
|
+
`${orientation}`,
|
|
24
|
+
`${justify}`,
|
|
25
|
+
`${alignItems}`
|
|
26
|
+
].filter((c) => c).join(" ");
|
|
28
27
|
</script>
|
|
29
28
|
|
|
30
29
|
<div class={klasses}>
|
|
@@ -2,10 +2,10 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import { AlignItmes, Justify, Orientation } from "./Styling.js";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
css?: string
|
|
6
|
-
orientation?: Orientation
|
|
7
|
-
justify?: Justify
|
|
8
|
-
alignItems?: AlignItmes
|
|
5
|
+
css?: string;
|
|
6
|
+
orientation?: Orientation;
|
|
7
|
+
justify?: Justify;
|
|
8
|
+
alignItems?: AlignItmes;
|
|
9
9
|
};
|
|
10
10
|
events: {
|
|
11
11
|
[evt: string]: CustomEvent<any>;
|
|
@@ -13,6 +13,8 @@ declare const __propDef: {
|
|
|
13
13
|
slots: {
|
|
14
14
|
default: {};
|
|
15
15
|
};
|
|
16
|
+
exports?: {} | undefined;
|
|
17
|
+
bindings?: string | undefined;
|
|
16
18
|
};
|
|
17
19
|
export type WellProps = typeof __propDef.props;
|
|
18
20
|
export type WellEvents = typeof __propDef.events;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
|
-
slug?: string
|
|
5
|
-
path?: string
|
|
4
|
+
slug?: string;
|
|
5
|
+
path?: string;
|
|
6
6
|
title: string;
|
|
7
7
|
};
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
|
+
exports?: {} | undefined;
|
|
13
|
+
bindings?: string | undefined;
|
|
12
14
|
};
|
|
13
15
|
export type BlogTitleProps = typeof __propDef.props;
|
|
14
16
|
export type BlogTitleEvents = typeof __propDef.events;
|
|
@@ -17,8 +17,7 @@ export let robots = "index, follow";
|
|
|
17
17
|
export let headerIsSticky = false;
|
|
18
18
|
export let tracker = "";
|
|
19
19
|
export let canonicalUrl = "";
|
|
20
|
-
$:
|
|
21
|
-
headerCss = headerIsSticky ? "sticky" : "";
|
|
20
|
+
$: headerCss = headerIsSticky ? "sticky" : "";
|
|
22
21
|
</script>
|
|
23
22
|
|
|
24
23
|
<svelte:head>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
|
-
robots?: string
|
|
5
|
-
headerIsSticky?: boolean
|
|
6
|
-
tracker?: string
|
|
7
|
-
canonicalUrl?: string
|
|
4
|
+
robots?: string;
|
|
5
|
+
headerIsSticky?: boolean;
|
|
6
|
+
tracker?: string;
|
|
7
|
+
canonicalUrl?: string;
|
|
8
8
|
};
|
|
9
9
|
events: {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
@@ -15,6 +15,8 @@ declare const __propDef: {
|
|
|
15
15
|
footer: {};
|
|
16
16
|
sticky_footer: {};
|
|
17
17
|
};
|
|
18
|
+
exports?: {} | undefined;
|
|
19
|
+
bindings?: string | undefined;
|
|
18
20
|
};
|
|
19
21
|
export type DefaultLayoutProps = typeof __propDef.props;
|
|
20
22
|
export type DefaultLayoutEvents = typeof __propDef.events;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
|
-
leftCss?: string
|
|
5
|
-
rightCss?: string
|
|
4
|
+
leftCss?: string;
|
|
5
|
+
rightCss?: string;
|
|
6
6
|
};
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
@@ -11,6 +11,8 @@ declare const __propDef: {
|
|
|
11
11
|
left: {};
|
|
12
12
|
right: {};
|
|
13
13
|
};
|
|
14
|
+
exports?: {} | undefined;
|
|
15
|
+
bindings?: string | undefined;
|
|
14
16
|
};
|
|
15
17
|
export type TwoColumnsLayoutProps = typeof __propDef.props;
|
|
16
18
|
export type TwoColumnsLayoutEvents = typeof __propDef.events;
|
|
@@ -2,14 +2,16 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import { HeaderNavigationItem } from './Menu.js';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
css?: string
|
|
6
|
-
localPages?: HeaderNavigationItem
|
|
7
|
-
includeSubpagesForSelect?: boolean
|
|
5
|
+
css?: string;
|
|
6
|
+
localPages?: Array<HeaderNavigationItem>;
|
|
7
|
+
includeSubpagesForSelect?: boolean;
|
|
8
8
|
};
|
|
9
9
|
events: {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
11
11
|
};
|
|
12
12
|
slots: {};
|
|
13
|
+
exports?: {} | undefined;
|
|
14
|
+
bindings?: string | undefined;
|
|
13
15
|
};
|
|
14
16
|
export type ColumnMenuProps = typeof __propDef.props;
|
|
15
17
|
export type ColumnMenuEvents = typeof __propDef.events;
|
|
@@ -6,12 +6,9 @@ import { page } from "$app/stores";
|
|
|
6
6
|
export let css = "";
|
|
7
7
|
export let navCss = "";
|
|
8
8
|
export let localPages = [];
|
|
9
|
-
$:
|
|
10
|
-
|
|
11
|
-
$:
|
|
12
|
-
pagesVisiblity = isAuthenticated(page);
|
|
13
|
-
$:
|
|
14
|
-
visibleNavItems = selectVisible(activePages, pagesVisiblity);
|
|
9
|
+
$: activePages = !localPages || localPages.length == 0 ? $pagesStore : localPages;
|
|
10
|
+
$: pagesVisiblity = isAuthenticated($page);
|
|
11
|
+
$: visibleNavItems = selectVisible(activePages, pagesVisiblity);
|
|
15
12
|
const klasses = ["flex", "flex-dynamic-row", css ? css : ""].filter((c) => c).join(" ");
|
|
16
13
|
</script>
|
|
17
14
|
|
|
@@ -2,9 +2,9 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import { HeaderNavigationItem } from './Menu.js';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
css?: string
|
|
6
|
-
navCss?: string
|
|
7
|
-
localPages?: HeaderNavigationItem
|
|
5
|
+
css?: string;
|
|
6
|
+
navCss?: string;
|
|
7
|
+
localPages?: Array<HeaderNavigationItem>;
|
|
8
8
|
};
|
|
9
9
|
events: {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
@@ -17,6 +17,8 @@ declare const __propDef: {
|
|
|
17
17
|
pages: any[];
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
+
exports?: {} | undefined;
|
|
21
|
+
bindings?: string | undefined;
|
|
20
22
|
};
|
|
21
23
|
export type DynamicMenuProps = typeof __propDef.props;
|
|
22
24
|
export type DynamicMenuEvents = typeof __propDef.events;
|
|
@@ -2,14 +2,16 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import { HeaderNavigationItem } from './Menu.js';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
css?: string
|
|
6
|
-
localPages?: HeaderNavigationItem
|
|
7
|
-
includeSubpagesForSelect?: boolean
|
|
5
|
+
css?: string;
|
|
6
|
+
localPages?: Array<HeaderNavigationItem>;
|
|
7
|
+
includeSubpagesForSelect?: boolean;
|
|
8
8
|
};
|
|
9
9
|
events: {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
11
11
|
};
|
|
12
12
|
slots: {};
|
|
13
|
+
exports?: {} | undefined;
|
|
14
|
+
bindings?: string | undefined;
|
|
13
15
|
};
|
|
14
16
|
export type FlatMenuProps = typeof __propDef.props;
|
|
15
17
|
export type FlatMenuEvents = typeof __propDef.events;
|
|
@@ -3,16 +3,18 @@ import { HeaderNavigationItem } from './Menu.js';
|
|
|
3
3
|
import { Placement } from '../Styling.js';
|
|
4
4
|
declare const __propDef: {
|
|
5
5
|
props: {
|
|
6
|
-
css?: string
|
|
7
|
-
noBorder?: boolean
|
|
8
|
-
placement?: Placement
|
|
9
|
-
localPages?: HeaderNavigationItem
|
|
10
|
-
includeSubpagesForSelect?: boolean
|
|
6
|
+
css?: string;
|
|
7
|
+
noBorder?: boolean;
|
|
8
|
+
placement?: Placement;
|
|
9
|
+
localPages?: Array<HeaderNavigationItem>;
|
|
10
|
+
includeSubpagesForSelect?: boolean;
|
|
11
11
|
};
|
|
12
12
|
events: {
|
|
13
13
|
[evt: string]: CustomEvent<any>;
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
|
+
exports?: {} | undefined;
|
|
17
|
+
bindings?: string | undefined;
|
|
16
18
|
};
|
|
17
19
|
export type HamburgerMenuProps = typeof __propDef.props;
|
|
18
20
|
export type HamburgerMenuEvents = typeof __propDef.events;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Visiblity } from '@functionalcms/svelte-components';
|
|
2
2
|
import { get } from 'svelte/store';
|
|
3
3
|
export function isAuthenticated(page) {
|
|
4
|
-
const
|
|
5
|
-
const isAuthenticated = pageStore?.data?.session != null;
|
|
4
|
+
const isAuthenticated = page?.data?.session != null;
|
|
6
5
|
const visibility = isAuthenticated ? Visiblity.Authenticated : Visiblity.NotAuthenticated;
|
|
7
6
|
return visibility;
|
|
8
7
|
}
|
|
@@ -2,13 +2,15 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import type { CaruseleItem } from "./Carusele";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
items?: CaruseleItem
|
|
6
|
-
perPage?: number
|
|
5
|
+
items?: Array<CaruseleItem>;
|
|
6
|
+
perPage?: number;
|
|
7
7
|
};
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
|
+
exports?: {} | undefined;
|
|
13
|
+
bindings?: string | undefined;
|
|
12
14
|
};
|
|
13
15
|
export type CaruselProps = typeof __propDef.props;
|
|
14
16
|
export type CaruselEvents = typeof __propDef.events;
|
|
@@ -5,14 +5,13 @@ export let css = "";
|
|
|
5
5
|
export let justify = Justify.Between;
|
|
6
6
|
export let alignItems = AlignItmes.Center;
|
|
7
7
|
export let orientation = Orientation.DynamicRow;
|
|
8
|
-
$:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
].filter((c) => c).join(" ");
|
|
8
|
+
$: galleryKlasses = [
|
|
9
|
+
"flex",
|
|
10
|
+
css,
|
|
11
|
+
`${orientation}`,
|
|
12
|
+
`${justify}`,
|
|
13
|
+
`${alignItems}`
|
|
14
|
+
].filter((c) => c).join(" ");
|
|
16
15
|
</script>
|
|
17
16
|
<Card css={galleryKlasses}>
|
|
18
17
|
{#each items as item}
|
|
@@ -3,11 +3,11 @@ import type { ShowItem } from './ShowItem.js';
|
|
|
3
3
|
import { AlignItmes, Justify, Orientation } from '../Styling.js';
|
|
4
4
|
declare const __propDef: {
|
|
5
5
|
props: {
|
|
6
|
-
items?: ShowItem
|
|
7
|
-
css?: string
|
|
8
|
-
justify?: Justify
|
|
9
|
-
alignItems?: AlignItmes
|
|
10
|
-
orientation?: Orientation
|
|
6
|
+
items?: Array<ShowItem>;
|
|
7
|
+
css?: string;
|
|
8
|
+
justify?: Justify;
|
|
9
|
+
alignItems?: AlignItmes;
|
|
10
|
+
orientation?: Orientation;
|
|
11
11
|
};
|
|
12
12
|
events: {
|
|
13
13
|
[evt: string]: CustomEvent<any>;
|
|
@@ -17,6 +17,8 @@ declare const __propDef: {
|
|
|
17
17
|
item: ShowItem;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
+
exports?: {} | undefined;
|
|
21
|
+
bindings?: string | undefined;
|
|
20
22
|
};
|
|
21
23
|
export type GalleryProps = typeof __propDef.props;
|
|
22
24
|
export type GalleryEvents = typeof __propDef.events;
|
package/dist/stores/meta.d.ts
CHANGED
package/dist/stores/pages.d.ts
CHANGED
package/dist/stores/title.d.ts
CHANGED