@builder.io/sdk-svelte 4.0.4 → 4.0.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.
@@ -186,5 +186,6 @@ $: flexDir = () => {
186
186
  .div {
187
187
  display: flex;
188
188
  line-height: normal;
189
+ height: 100%;
189
190
  }
190
191
  </style>
@@ -2,16 +2,19 @@
2
2
  import Block from "../../block.svelte";
3
3
  import InteractiveElement from "../interactive-element.svelte";
4
4
  import { getWrapperProps } from "./component-ref.helpers";
5
+ export let componentOptions;
6
+ export let blockChildren;
5
7
  export let isInteractive;
6
8
  export let componentRef;
7
- export let componentOptions;
8
9
  export let builderBlock;
9
10
  export let context;
10
11
  export let linkComponent;
11
12
  export let includeBlockProps;
12
- export let blockChildren;
13
13
  export let registeredComponents;
14
+ let shouldUpdate = false;
14
15
  let Wrapper = isInteractive ? InteractiveElement : componentRef;
16
+ function onUpdateFn_0(..._args) { }
17
+ $: onUpdateFn_0(...[componentOptions, blockChildren]);
15
18
  </script>
16
19
 
17
20
  {#if componentRef}
@@ -2,14 +2,14 @@ import { SvelteComponent } from "svelte";
2
2
  import type { ComponentProps } from "./component-ref.helpers";
3
3
  declare const __propDef: {
4
4
  props: {
5
+ componentOptions: ComponentProps["componentOptions"];
6
+ blockChildren: ComponentProps["blockChildren"];
5
7
  isInteractive: ComponentProps["isInteractive"];
6
8
  componentRef: ComponentProps["componentRef"];
7
- componentOptions: ComponentProps["componentOptions"];
8
9
  builderBlock: ComponentProps["builderBlock"];
9
10
  context: ComponentProps["context"];
10
11
  linkComponent: ComponentProps["linkComponent"];
11
12
  includeBlockProps: ComponentProps["includeBlockProps"];
12
- blockChildren: ComponentProps["blockChildren"];
13
13
  registeredComponents: ComponentProps["registeredComponents"];
14
14
  };
15
15
  events: {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.0.4";
1
+ export declare const SDK_VERSION = "4.0.5";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.0.4";
1
+ export const SDK_VERSION = "4.0.5";
@@ -186,5 +186,6 @@ $: flexDir = () => {
186
186
  .div {
187
187
  display: flex;
188
188
  line-height: normal;
189
+ height: 100%;
189
190
  }
190
191
  </style>
@@ -2,16 +2,19 @@
2
2
  import Block from "../../block.svelte";
3
3
  import InteractiveElement from "../interactive-element.svelte";
4
4
  import { getWrapperProps } from "./component-ref.helpers";
5
+ export let componentOptions;
6
+ export let blockChildren;
5
7
  export let isInteractive;
6
8
  export let componentRef;
7
- export let componentOptions;
8
9
  export let builderBlock;
9
10
  export let context;
10
11
  export let linkComponent;
11
12
  export let includeBlockProps;
12
- export let blockChildren;
13
13
  export let registeredComponents;
14
+ let shouldUpdate = false;
14
15
  let Wrapper = isInteractive ? InteractiveElement : componentRef;
16
+ function onUpdateFn_0(..._args) { }
17
+ $: onUpdateFn_0(...[componentOptions, blockChildren]);
15
18
  </script>
16
19
 
17
20
  {#if componentRef}
@@ -2,14 +2,14 @@ import { SvelteComponent } from "svelte";
2
2
  import type { ComponentProps } from "./component-ref.helpers";
3
3
  declare const __propDef: {
4
4
  props: {
5
+ componentOptions: ComponentProps["componentOptions"];
6
+ blockChildren: ComponentProps["blockChildren"];
5
7
  isInteractive: ComponentProps["isInteractive"];
6
8
  componentRef: ComponentProps["componentRef"];
7
- componentOptions: ComponentProps["componentOptions"];
8
9
  builderBlock: ComponentProps["builderBlock"];
9
10
  context: ComponentProps["context"];
10
11
  linkComponent: ComponentProps["linkComponent"];
11
12
  includeBlockProps: ComponentProps["includeBlockProps"];
12
- blockChildren: ComponentProps["blockChildren"];
13
13
  registeredComponents: ComponentProps["registeredComponents"];
14
14
  };
15
15
  events: {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.0.4";
1
+ export declare const SDK_VERSION = "4.0.5";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.0.4";
1
+ export const SDK_VERSION = "4.0.5";
@@ -186,5 +186,6 @@ $: flexDir = () => {
186
186
  .div {
187
187
  display: flex;
188
188
  line-height: normal;
189
+ height: 100%;
189
190
  }
190
191
  </style>
@@ -2,16 +2,19 @@
2
2
  import Block from "../../block.svelte";
3
3
  import InteractiveElement from "../interactive-element.svelte";
4
4
  import { getWrapperProps } from "./component-ref.helpers";
5
+ export let componentOptions;
6
+ export let blockChildren;
5
7
  export let isInteractive;
6
8
  export let componentRef;
7
- export let componentOptions;
8
9
  export let builderBlock;
9
10
  export let context;
10
11
  export let linkComponent;
11
12
  export let includeBlockProps;
12
- export let blockChildren;
13
13
  export let registeredComponents;
14
+ let shouldUpdate = false;
14
15
  let Wrapper = isInteractive ? InteractiveElement : componentRef;
16
+ function onUpdateFn_0(..._args) { }
17
+ $: onUpdateFn_0(...[componentOptions, blockChildren]);
15
18
  </script>
16
19
 
17
20
  {#if componentRef}
@@ -2,14 +2,14 @@ import { SvelteComponent } from "svelte";
2
2
  import type { ComponentProps } from "./component-ref.helpers";
3
3
  declare const __propDef: {
4
4
  props: {
5
+ componentOptions: ComponentProps["componentOptions"];
6
+ blockChildren: ComponentProps["blockChildren"];
5
7
  isInteractive: ComponentProps["isInteractive"];
6
8
  componentRef: ComponentProps["componentRef"];
7
- componentOptions: ComponentProps["componentOptions"];
8
9
  builderBlock: ComponentProps["builderBlock"];
9
10
  context: ComponentProps["context"];
10
11
  linkComponent: ComponentProps["linkComponent"];
11
12
  includeBlockProps: ComponentProps["includeBlockProps"];
12
- blockChildren: ComponentProps["blockChildren"];
13
13
  registeredComponents: ComponentProps["registeredComponents"];
14
14
  };
15
15
  events: {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.0.4";
1
+ export declare const SDK_VERSION = "4.0.5";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.0.4";
1
+ export const SDK_VERSION = "4.0.5";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-svelte",
3
3
  "description": "Builder.io SDK for Svelte",
4
- "version": "4.0.4",
4
+ "version": "4.0.5",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "lib",
@@ -210,5 +210,6 @@
210
210
  .div {
211
211
  display: flex;
212
212
  line-height: normal;
213
+ height: 100%;
213
214
  }
214
215
  </style>
@@ -5,17 +5,22 @@
5
5
  import type { ComponentProps } from "./component-ref.helpers";
6
6
  import { getWrapperProps } from "./component-ref.helpers";
7
7
 
8
+ export let componentOptions: ComponentProps["componentOptions"];
9
+ export let blockChildren: ComponentProps["blockChildren"];
8
10
  export let isInteractive: ComponentProps["isInteractive"];
9
11
  export let componentRef: ComponentProps["componentRef"];
10
- export let componentOptions: ComponentProps["componentOptions"];
11
12
  export let builderBlock: ComponentProps["builderBlock"];
12
13
  export let context: ComponentProps["context"];
13
14
  export let linkComponent: ComponentProps["linkComponent"];
14
15
  export let includeBlockProps: ComponentProps["includeBlockProps"];
15
- export let blockChildren: ComponentProps["blockChildren"];
16
16
  export let registeredComponents: ComponentProps["registeredComponents"];
17
17
 
18
+ let shouldUpdate = false;
18
19
  let Wrapper = isInteractive ? InteractiveElement : componentRef;
20
+
21
+ function onUpdateFn_0(..._args: any[]) {}
22
+
23
+ $: onUpdateFn_0(...[componentOptions, blockChildren]);
19
24
  </script>
20
25
 
21
26
  {#if componentRef}
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.0.4"
1
+ export const SDK_VERSION = "4.0.5"