@functionalcms/svelte-components 3.2.3 → 3.2.5

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,7 @@
9
9
  isShadow?: boolean;
10
10
  isBorder?: boolean;
11
11
  isRounded?: boolean;
12
- isWrap? : boolean;
12
+ noWrap? : boolean;
13
13
  orientation?: Orientation;
14
14
  type?: string;
15
15
  css?: string;
@@ -22,7 +22,7 @@
22
22
  isShadow = false,
23
23
  isBorder = false,
24
24
  isRounded = false,
25
- isWrap = false,
25
+ noWrap = false,
26
26
  orientation = Orientation.Column,
27
27
  type = '',
28
28
  css = ''
@@ -37,7 +37,7 @@
37
37
  isBorder ? 'card-border' : '',
38
38
  type ? `card-${type}` : '',
39
39
  `${orientation}`,
40
- isWrap ? `card-wrap` : '',
40
+ noWrap ? `` : 'card-wrap',
41
41
  css ? `${css}` : ''
42
42
  );
43
43
  </script>
@@ -61,7 +61,7 @@
61
61
  size = '',
62
62
  type = 'text',
63
63
  value = $bindable(''),
64
- ...restProps
64
+ ...restProps
65
65
  }: {
66
66
  label: string,
67
67
  id: string,
@@ -11,7 +11,7 @@
11
11
  justify: Justify;
12
12
  alignItems: AlignItmes;
13
13
  orientation: Orientation;
14
- otherProps: any;
14
+ restProps: any;
15
15
  }
16
16
 
17
17
  let {
@@ -21,15 +21,13 @@
21
21
  justify = Justify.Between,
22
22
  alignItems = AlignItmes.Center,
23
23
  orientation = Orientation.DynamicRow,
24
- ...otherProps
24
+ ...restProps
25
25
  }: GaleryProps = $props();
26
26
 
27
27
  let galleryKlasses = mergedClasses('flex', css, `${orientation}`, `${justify}`, `${alignItems}`);
28
-
29
- console.log(otherProps);
30
28
  </script>
31
29
 
32
- <Card css={galleryKlasses}>
30
+ <Card css={galleryKlasses} {...restProps}>
33
31
  {#each items as entry}
34
32
  {@render renderItem(entry)}
35
33
  {/each}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "3.2.3",
3
+ "version": "3.2.5",
4
4
  "watch": {
5
5
  "build": {
6
6
  "patterns": [