@functionalcms/svelte-components 3.2.0 → 3.2.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.
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
css = '',
|
|
10
10
|
justify = Justify.Between,
|
|
11
11
|
alignItems = AlignItmes.Center,
|
|
12
|
-
orientation = Orientation.DynamicRow
|
|
12
|
+
orientation = Orientation.DynamicRow,
|
|
13
|
+
...otherProps
|
|
13
14
|
}: {
|
|
14
15
|
items: Array<ShowItem>;
|
|
15
16
|
renderItem: any;
|
|
@@ -17,17 +18,13 @@
|
|
|
17
18
|
justify: Justify;
|
|
18
19
|
alignItems: AlignItmes;
|
|
19
20
|
orientation: Orientation;
|
|
21
|
+
otherProps: any;
|
|
20
22
|
} = $props();
|
|
21
|
-
// export let items: Array<ShowItem> = [];
|
|
22
|
-
// export let css: string = '';
|
|
23
|
-
// export let justify: Justify = Justify.Between;
|
|
24
|
-
// export let alignItems: AlignItmes = AlignItmes.Center;
|
|
25
|
-
// export let orientation: Orientation = Orientation.DynamicRow;
|
|
26
23
|
|
|
27
24
|
let galleryKlasses = mergedClasses('flex', css, `${orientation}`, `${justify}`, `${alignItems}`);
|
|
28
25
|
</script>
|
|
29
26
|
|
|
30
|
-
<Card css={galleryKlasses}>
|
|
27
|
+
<Card css={galleryKlasses} {otherProps}>
|
|
31
28
|
{#each items as entry}
|
|
32
29
|
{@render renderItem(entry)}
|
|
33
30
|
{/each}
|