@builder.io/sdk-solid 4.0.4 → 4.0.6

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/lib/edge/dev.jsx CHANGED
@@ -4379,7 +4379,14 @@ function BlockWrapper(props) {
4379
4379
  var Block_wrapper_default = BlockWrapper;
4380
4380
 
4381
4381
  // src/components/block/components/component-ref/component-ref.tsx
4382
- import { Show as Show4, For, createSignal as createSignal3 } from "solid-js";
4382
+ import {
4383
+ Show as Show4,
4384
+ For,
4385
+ on,
4386
+ createEffect,
4387
+ createMemo as createMemo3,
4388
+ createSignal as createSignal3
4389
+ } from "solid-js";
4383
4390
  import { Dynamic as Dynamic3 } from "solid-js/web";
4384
4391
 
4385
4392
  // src/components/block/components/interactive-element.tsx
@@ -4463,9 +4470,27 @@ var getWrapperProps = ({
4463
4470
 
4464
4471
  // src/components/block/components/component-ref/component-ref.tsx
4465
4472
  function ComponentRef(props) {
4473
+ const [shouldUpdate, setShouldUpdate] = createSignal3(false);
4466
4474
  const [Wrapper, setWrapper] = createSignal3(
4467
4475
  props.isInteractive ? interactive_element_default : props.componentRef
4468
4476
  );
4477
+ const onUpdateFn_0_props_componentOptions = createMemo3(
4478
+ () => props.componentOptions
4479
+ );
4480
+ const onUpdateFn_0_props_blockChildren = createMemo3(
4481
+ () => props.blockChildren
4482
+ );
4483
+ function onUpdateFn_0() {
4484
+ }
4485
+ createEffect(
4486
+ on(
4487
+ () => [
4488
+ onUpdateFn_0_props_componentOptions(),
4489
+ onUpdateFn_0_props_blockChildren()
4490
+ ],
4491
+ onUpdateFn_0
4492
+ )
4493
+ );
4469
4494
  return <><Show4 when={props.componentRef}><Dynamic3
4470
4495
  {...getWrapperProps({
4471
4496
  componentOptions: props.componentOptions,
@@ -4663,7 +4688,7 @@ function Block(props) {
4663
4688
  var Block_default = Block;
4664
4689
 
4665
4690
  // src/components/blocks/blocks-wrapper.tsx
4666
- import { onMount as onMount3, on as on2, createEffect as createEffect2, createMemo as createMemo6, createSignal as createSignal6 } from "solid-js";
4691
+ import { onMount as onMount3, on as on3, createEffect as createEffect3, createMemo as createMemo6, createSignal as createSignal6 } from "solid-js";
4667
4692
  import { Dynamic as Dynamic4 } from "solid-js/web";
4668
4693
  function BlocksWrapper(props) {
4669
4694
  const [shouldUpdate, setShouldUpdate] = createSignal6(false);
@@ -4716,7 +4741,7 @@ function BlocksWrapper(props) {
4716
4741
  const onUpdateFn_0_props_blocks = createMemo6(() => props.blocks);
4717
4742
  function onUpdateFn_0() {
4718
4743
  }
4719
- createEffect2(on2(() => [onUpdateFn_0_props_blocks()], onUpdateFn_0));
4744
+ createEffect3(on3(() => [onUpdateFn_0_props_blocks()], onUpdateFn_0));
4720
4745
  return <>
4721
4746
  <Dynamic4
4722
4747
  class={className() + " dynamic-023c60f2"}
@@ -4896,7 +4921,7 @@ function Columns(props) {
4896
4921
  }
4897
4922
  return <>
4898
4923
  <div
4899
- class={getColumnsClass(props.builderBlock?.id) + " div-6331dfc5"}
4924
+ class={getColumnsClass(props.builderBlock?.id) + " div-7612d942"}
4900
4925
  style={columnsCssVars()}
4901
4926
  {...{}}
4902
4927
  >
@@ -4925,9 +4950,10 @@ function Columns(props) {
4925
4950
  /></Dynamic_renderer_default>;
4926
4951
  }}</For4>
4927
4952
  </div>
4928
- <style>{`.div-6331dfc5 {
4953
+ <style>{`.div-7612d942 {
4929
4954
  display: flex;
4930
4955
  line-height: normal;
4956
+ height: 100%;
4931
4957
  }`}</style>
4932
4958
  </>;
4933
4959
  }
@@ -5105,7 +5131,7 @@ function SectionComponent(props) {
5105
5131
  var section_default = SectionComponent;
5106
5132
 
5107
5133
  // src/blocks/symbol/symbol.tsx
5108
- import { onMount as onMount9, on as on6, createEffect as createEffect6, createMemo as createMemo20, createSignal as createSignal20 } from "solid-js";
5134
+ import { onMount as onMount9, on as on7, createEffect as createEffect7, createMemo as createMemo20, createSignal as createSignal20 } from "solid-js";
5109
5135
 
5110
5136
  // src/components/content-variants/content-variants.tsx
5111
5137
  import { Show as Show16, For as For9, onMount as onMount8, createSignal as createSignal19, createMemo as createMemo19 } from "solid-js";
@@ -6818,7 +6844,7 @@ var componentInfo12 = {
6818
6844
  };
6819
6845
 
6820
6846
  // src/blocks/custom-code/custom-code.tsx
6821
- import { onMount as onMount5, on as on3, createEffect as createEffect3, createMemo as createMemo12, createSignal as createSignal12 } from "solid-js";
6847
+ import { onMount as onMount5, on as on4, createEffect as createEffect4, createMemo as createMemo12, createSignal as createSignal12 } from "solid-js";
6822
6848
  function CustomCode(props) {
6823
6849
  const [scriptsInserted, setScriptsInserted] = createSignal12([]);
6824
6850
  const [scriptsRun, setScriptsRun] = createSignal12([]);
@@ -6868,7 +6894,7 @@ function CustomCode(props) {
6868
6894
  runScripts();
6869
6895
  }
6870
6896
  }
6871
- createEffect3(on3(() => [onUpdateFn_0_props_code()], onUpdateFn_0));
6897
+ createEffect4(on4(() => [onUpdateFn_0_props_code()], onUpdateFn_0));
6872
6898
  return <><div
6873
6899
  class={"builder-custom-code" + (props.replaceNodes ? " replace-nodes" : "")}
6874
6900
  ref={elementRef}
@@ -6896,7 +6922,7 @@ var componentInfo13 = {
6896
6922
  };
6897
6923
 
6898
6924
  // src/blocks/embed/embed.tsx
6899
- import { on as on4, createEffect as createEffect4, createMemo as createMemo13, createSignal as createSignal13 } from "solid-js";
6925
+ import { on as on5, createEffect as createEffect5, createMemo as createMemo13, createSignal as createSignal13 } from "solid-js";
6900
6926
 
6901
6927
  // src/blocks/embed/helpers.ts
6902
6928
  var SCRIPT_MIME_TYPES = ["text/javascript", "application/javascript", "application/ecmascript"];
@@ -6938,8 +6964,8 @@ function Embed(props) {
6938
6964
  findAndRunScripts();
6939
6965
  }
6940
6966
  }
6941
- createEffect4(
6942
- on4(() => [onUpdateFn_0_elem(), onUpdateFn_0_ranInitFn__()], onUpdateFn_0)
6967
+ createEffect5(
6968
+ on5(() => [onUpdateFn_0_elem(), onUpdateFn_0_ranInitFn__()], onUpdateFn_0)
6943
6969
  );
6944
6970
  return <><div class="builder-embed" ref={elem} innerHTML={props.content} /></>;
6945
6971
  }
@@ -8031,8 +8057,8 @@ var getUpdateVariantVisibilityScript = ({
8031
8057
  import {
8032
8058
  Show as Show14,
8033
8059
  onMount as onMount7,
8034
- on as on5,
8035
- createEffect as createEffect5,
8060
+ on as on6,
8061
+ createEffect as createEffect6,
8036
8062
  createMemo as createMemo16,
8037
8063
  createSignal as createSignal16
8038
8064
  } from "solid-js";
@@ -8044,7 +8070,7 @@ function getPreviewContent(_searchParams) {
8044
8070
  }
8045
8071
 
8046
8072
  // src/constants/sdk-version.ts
8047
- var SDK_VERSION = "4.0.4";
8073
+ var SDK_VERSION = "4.0.6";
8048
8074
 
8049
8075
  // src/helpers/sdk-headers.ts
8050
8076
  var getSdkHeaders = () => ({
@@ -8200,7 +8226,7 @@ var generateContentUrl = (options) => {
8200
8226
  }
8201
8227
  if (enrich)
8202
8228
  url.searchParams.set("enrich", String(enrich));
8203
- url.searchParams.set("omit", omit2 || "meta.componentsUsed");
8229
+ url.searchParams.set("omit", omit2 ?? "meta.componentsUsed");
8204
8230
  if (fields) {
8205
8231
  url.searchParams.set("fields", fields);
8206
8232
  }
@@ -9136,15 +9162,15 @@ function EnableEditor(props) {
9136
9162
  mergeNewContent(props.content);
9137
9163
  }
9138
9164
  }
9139
- createEffect5(on5(() => [onUpdateFn_0_props_content()], onUpdateFn_0));
9165
+ createEffect6(on6(() => [onUpdateFn_0_props_content()], onUpdateFn_0));
9140
9166
  const onUpdateFn_1_props_builderContextSignal_rootState = createMemo16(
9141
9167
  () => props.builderContextSignal.rootState
9142
9168
  );
9143
9169
  function onUpdateFn_1() {
9144
9170
  emitStateUpdate();
9145
9171
  }
9146
- createEffect5(
9147
- on5(
9172
+ createEffect6(
9173
+ on6(
9148
9174
  () => [onUpdateFn_1_props_builderContextSignal_rootState()],
9149
9175
  onUpdateFn_1
9150
9176
  )
@@ -9155,7 +9181,7 @@ function EnableEditor(props) {
9155
9181
  mergeNewRootState(props.data);
9156
9182
  }
9157
9183
  }
9158
- createEffect5(on5(() => [onUpdateFn_2_props_data()], onUpdateFn_2));
9184
+ createEffect6(on6(() => [onUpdateFn_2_props_data()], onUpdateFn_2));
9159
9185
  const onUpdateFn_3_props_locale = createMemo16(() => props.locale);
9160
9186
  function onUpdateFn_3() {
9161
9187
  if (props.locale) {
@@ -9164,7 +9190,7 @@ function EnableEditor(props) {
9164
9190
  });
9165
9191
  }
9166
9192
  }
9167
- createEffect5(on5(() => [onUpdateFn_3_props_locale()], onUpdateFn_3));
9193
+ createEffect6(on6(() => [onUpdateFn_3_props_locale()], onUpdateFn_3));
9168
9194
  return <><builder_context_default.Provider value={props.builderContextSignal}><Show14
9169
9195
  when={props.builderContextSignal.content || needsElementRefDivForEditing()}
9170
9196
  ><Dynamic5
@@ -9542,7 +9568,7 @@ function Symbol2(props) {
9542
9568
  function onUpdateFn_0() {
9543
9569
  setContent();
9544
9570
  }
9545
- createEffect6(on6(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
9571
+ createEffect7(on7(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
9546
9572
  return <><div class={className()} {...{}} {...props.attributes} {...{}}><Content_variants_default
9547
9573
  nonce={props.builderContext.nonce}
9548
9574
  isNestedRender={true}
package/lib/edge/index.js CHANGED
@@ -4477,7 +4477,13 @@ var getWrapperProps = ({
4477
4477
 
4478
4478
  // src/components/block/components/component-ref/component-ref.tsx
4479
4479
  function ComponentRef(props) {
4480
+ createSignal(false);
4480
4481
  const [Wrapper, setWrapper] = createSignal(props.isInteractive ? interactive_element_default : props.componentRef);
4482
+ const onUpdateFn_0_props_componentOptions = createMemo(() => props.componentOptions);
4483
+ const onUpdateFn_0_props_blockChildren = createMemo(() => props.blockChildren);
4484
+ function onUpdateFn_0() {
4485
+ }
4486
+ createEffect(on(() => [onUpdateFn_0_props_componentOptions(), onUpdateFn_0_props_blockChildren()], onUpdateFn_0));
4481
4487
  return createComponent(Show, {
4482
4488
  get when() {
4483
4489
  return props.componentRef;
@@ -4961,9 +4967,10 @@ var getColumnsClass = (id2) => {
4961
4967
 
4962
4968
  // src/blocks/columns/columns.tsx
4963
4969
  var _tmpl$3 = /* @__PURE__ */ template(`<div>`);
4964
- var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-6331dfc5 {
4970
+ var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-7612d942 {
4965
4971
  display: flex;
4966
4972
  line-height: normal;
4973
+ height: 100%;
4967
4974
  }`);
4968
4975
  function Columns(props) {
4969
4976
  const gutterSize = createMemo(() => {
@@ -5090,7 +5097,7 @@ function Columns(props) {
5090
5097
  const _el$ = _tmpl$3();
5091
5098
  spread(_el$, mergeProps({
5092
5099
  get ["class"]() {
5093
- return getColumnsClass(props.builderBlock?.id) + " div-6331dfc5";
5100
+ return getColumnsClass(props.builderBlock?.id) + " div-7612d942";
5094
5101
  },
5095
5102
  get style() {
5096
5103
  return columnsCssVars();
@@ -8521,7 +8528,7 @@ function getPreviewContent(_searchParams) {
8521
8528
  }
8522
8529
 
8523
8530
  // src/constants/sdk-version.ts
8524
- var SDK_VERSION = "4.0.4";
8531
+ var SDK_VERSION = "4.0.6";
8525
8532
 
8526
8533
  // src/helpers/sdk-headers.ts
8527
8534
  var getSdkHeaders = () => ({
@@ -8675,7 +8682,7 @@ var generateContentUrl = (options) => {
8675
8682
  }
8676
8683
  if (enrich)
8677
8684
  url.searchParams.set("enrich", String(enrich));
8678
- url.searchParams.set("omit", omit2 || "meta.componentsUsed");
8685
+ url.searchParams.set("omit", omit2 ?? "meta.componentsUsed");
8679
8686
  if (fields) {
8680
8687
  url.searchParams.set("fields", fields);
8681
8688
  }
@@ -4372,7 +4372,14 @@ function BlockWrapper(props) {
4372
4372
  var Block_wrapper_default = BlockWrapper;
4373
4373
 
4374
4374
  // src/components/block/components/component-ref/component-ref.tsx
4375
- import { Show as Show4, For, createSignal as createSignal3 } from "solid-js";
4375
+ import {
4376
+ Show as Show4,
4377
+ For,
4378
+ on,
4379
+ createEffect,
4380
+ createMemo as createMemo3,
4381
+ createSignal as createSignal3
4382
+ } from "solid-js";
4376
4383
  import { Dynamic as Dynamic3 } from "solid-js/web";
4377
4384
 
4378
4385
  // src/components/block/components/interactive-element.tsx
@@ -4456,9 +4463,27 @@ var getWrapperProps = ({
4456
4463
 
4457
4464
  // src/components/block/components/component-ref/component-ref.tsx
4458
4465
  function ComponentRef(props) {
4466
+ const [shouldUpdate, setShouldUpdate] = createSignal3(false);
4459
4467
  const [Wrapper, setWrapper] = createSignal3(
4460
4468
  props.isInteractive ? interactive_element_default : props.componentRef
4461
4469
  );
4470
+ const onUpdateFn_0_props_componentOptions = createMemo3(
4471
+ () => props.componentOptions
4472
+ );
4473
+ const onUpdateFn_0_props_blockChildren = createMemo3(
4474
+ () => props.blockChildren
4475
+ );
4476
+ function onUpdateFn_0() {
4477
+ }
4478
+ createEffect(
4479
+ on(
4480
+ () => [
4481
+ onUpdateFn_0_props_componentOptions(),
4482
+ onUpdateFn_0_props_blockChildren()
4483
+ ],
4484
+ onUpdateFn_0
4485
+ )
4486
+ );
4462
4487
  return <><Show4 when={props.componentRef}><Dynamic3
4463
4488
  {...getWrapperProps({
4464
4489
  componentOptions: props.componentOptions,
@@ -4656,7 +4681,7 @@ function Block(props) {
4656
4681
  var Block_default = Block;
4657
4682
 
4658
4683
  // src/components/blocks/blocks-wrapper.tsx
4659
- import { onMount as onMount3, on as on2, createEffect as createEffect2, createMemo as createMemo6, createSignal as createSignal6 } from "solid-js";
4684
+ import { onMount as onMount3, on as on3, createEffect as createEffect3, createMemo as createMemo6, createSignal as createSignal6 } from "solid-js";
4660
4685
  import { Dynamic as Dynamic4 } from "solid-js/web";
4661
4686
  function BlocksWrapper(props) {
4662
4687
  const [shouldUpdate, setShouldUpdate] = createSignal6(false);
@@ -4709,7 +4734,7 @@ function BlocksWrapper(props) {
4709
4734
  const onUpdateFn_0_props_blocks = createMemo6(() => props.blocks);
4710
4735
  function onUpdateFn_0() {
4711
4736
  }
4712
- createEffect2(on2(() => [onUpdateFn_0_props_blocks()], onUpdateFn_0));
4737
+ createEffect3(on3(() => [onUpdateFn_0_props_blocks()], onUpdateFn_0));
4713
4738
  return <>
4714
4739
  <Dynamic4
4715
4740
  class={className() + " dynamic-023c60f2"}
@@ -4889,7 +4914,7 @@ function Columns(props) {
4889
4914
  }
4890
4915
  return <>
4891
4916
  <div
4892
- class={getColumnsClass(props.builderBlock?.id) + " div-6331dfc5"}
4917
+ class={getColumnsClass(props.builderBlock?.id) + " div-7612d942"}
4893
4918
  style={columnsCssVars()}
4894
4919
  {...{}}
4895
4920
  >
@@ -4918,9 +4943,10 @@ function Columns(props) {
4918
4943
  /></Dynamic_renderer_default>;
4919
4944
  }}</For4>
4920
4945
  </div>
4921
- <style>{`.div-6331dfc5 {
4946
+ <style>{`.div-7612d942 {
4922
4947
  display: flex;
4923
4948
  line-height: normal;
4949
+ height: 100%;
4924
4950
  }`}</style>
4925
4951
  </>;
4926
4952
  }
@@ -5097,7 +5123,7 @@ function SectionComponent(props) {
5097
5123
  var section_default = SectionComponent;
5098
5124
 
5099
5125
  // src/blocks/symbol/symbol.tsx
5100
- import { onMount as onMount9, on as on6, createEffect as createEffect6, createMemo as createMemo20, createSignal as createSignal20 } from "solid-js";
5126
+ import { onMount as onMount9, on as on7, createEffect as createEffect7, createMemo as createMemo20, createSignal as createSignal20 } from "solid-js";
5101
5127
 
5102
5128
  // src/components/content-variants/content-variants.tsx
5103
5129
  import { Show as Show16, For as For9, onMount as onMount8, createSignal as createSignal19, createMemo as createMemo19 } from "solid-js";
@@ -6809,7 +6835,7 @@ var componentInfo12 = {
6809
6835
  };
6810
6836
 
6811
6837
  // src/blocks/custom-code/custom-code.tsx
6812
- import { onMount as onMount5, on as on3, createEffect as createEffect3, createMemo as createMemo12, createSignal as createSignal12 } from "solid-js";
6838
+ import { onMount as onMount5, on as on4, createEffect as createEffect4, createMemo as createMemo12, createSignal as createSignal12 } from "solid-js";
6813
6839
  function CustomCode(props) {
6814
6840
  const [scriptsInserted, setScriptsInserted] = createSignal12([]);
6815
6841
  const [scriptsRun, setScriptsRun] = createSignal12([]);
@@ -6859,7 +6885,7 @@ function CustomCode(props) {
6859
6885
  runScripts();
6860
6886
  }
6861
6887
  }
6862
- createEffect3(on3(() => [onUpdateFn_0_props_code()], onUpdateFn_0));
6888
+ createEffect4(on4(() => [onUpdateFn_0_props_code()], onUpdateFn_0));
6863
6889
  return <><div
6864
6890
  class={"builder-custom-code" + (props.replaceNodes ? " replace-nodes" : "")}
6865
6891
  ref={elementRef}
@@ -6887,7 +6913,7 @@ var componentInfo13 = {
6887
6913
  };
6888
6914
 
6889
6915
  // src/blocks/embed/embed.tsx
6890
- import { on as on4, createEffect as createEffect4, createMemo as createMemo13, createSignal as createSignal13 } from "solid-js";
6916
+ import { on as on5, createEffect as createEffect5, createMemo as createMemo13, createSignal as createSignal13 } from "solid-js";
6891
6917
 
6892
6918
  // src/blocks/embed/helpers.ts
6893
6919
  var SCRIPT_MIME_TYPES = ["text/javascript", "application/javascript", "application/ecmascript"];
@@ -6929,8 +6955,8 @@ function Embed(props) {
6929
6955
  findAndRunScripts();
6930
6956
  }
6931
6957
  }
6932
- createEffect4(
6933
- on4(() => [onUpdateFn_0_elem(), onUpdateFn_0_ranInitFn__()], onUpdateFn_0)
6958
+ createEffect5(
6959
+ on5(() => [onUpdateFn_0_elem(), onUpdateFn_0_ranInitFn__()], onUpdateFn_0)
6934
6960
  );
6935
6961
  return <><div class="builder-embed" ref={elem} innerHTML={props.content} /></>;
6936
6962
  }
@@ -8021,8 +8047,8 @@ var getUpdateVariantVisibilityScript = ({
8021
8047
  import {
8022
8048
  Show as Show14,
8023
8049
  onMount as onMount7,
8024
- on as on5,
8025
- createEffect as createEffect5,
8050
+ on as on6,
8051
+ createEffect as createEffect6,
8026
8052
  createMemo as createMemo16,
8027
8053
  createSignal as createSignal16
8028
8054
  } from "solid-js";
@@ -8034,7 +8060,7 @@ function getPreviewContent(_searchParams) {
8034
8060
  }
8035
8061
 
8036
8062
  // src/constants/sdk-version.ts
8037
- var SDK_VERSION = "4.0.4";
8063
+ var SDK_VERSION = "4.0.6";
8038
8064
 
8039
8065
  // src/helpers/sdk-headers.ts
8040
8066
  var getSdkHeaders = () => ({
@@ -8188,7 +8214,7 @@ var generateContentUrl = (options) => {
8188
8214
  }
8189
8215
  if (enrich)
8190
8216
  url.searchParams.set("enrich", String(enrich));
8191
- url.searchParams.set("omit", omit2 || "meta.componentsUsed");
8217
+ url.searchParams.set("omit", omit2 ?? "meta.componentsUsed");
8192
8218
  if (fields) {
8193
8219
  url.searchParams.set("fields", fields);
8194
8220
  }
@@ -9119,15 +9145,15 @@ function EnableEditor(props) {
9119
9145
  mergeNewContent(props.content);
9120
9146
  }
9121
9147
  }
9122
- createEffect5(on5(() => [onUpdateFn_0_props_content()], onUpdateFn_0));
9148
+ createEffect6(on6(() => [onUpdateFn_0_props_content()], onUpdateFn_0));
9123
9149
  const onUpdateFn_1_props_builderContextSignal_rootState = createMemo16(
9124
9150
  () => props.builderContextSignal.rootState
9125
9151
  );
9126
9152
  function onUpdateFn_1() {
9127
9153
  emitStateUpdate();
9128
9154
  }
9129
- createEffect5(
9130
- on5(
9155
+ createEffect6(
9156
+ on6(
9131
9157
  () => [onUpdateFn_1_props_builderContextSignal_rootState()],
9132
9158
  onUpdateFn_1
9133
9159
  )
@@ -9138,7 +9164,7 @@ function EnableEditor(props) {
9138
9164
  mergeNewRootState(props.data);
9139
9165
  }
9140
9166
  }
9141
- createEffect5(on5(() => [onUpdateFn_2_props_data()], onUpdateFn_2));
9167
+ createEffect6(on6(() => [onUpdateFn_2_props_data()], onUpdateFn_2));
9142
9168
  const onUpdateFn_3_props_locale = createMemo16(() => props.locale);
9143
9169
  function onUpdateFn_3() {
9144
9170
  if (props.locale) {
@@ -9147,7 +9173,7 @@ function EnableEditor(props) {
9147
9173
  });
9148
9174
  }
9149
9175
  }
9150
- createEffect5(on5(() => [onUpdateFn_3_props_locale()], onUpdateFn_3));
9176
+ createEffect6(on6(() => [onUpdateFn_3_props_locale()], onUpdateFn_3));
9151
9177
  return <><builder_context_default.Provider value={props.builderContextSignal}><Show14
9152
9178
  when={props.builderContextSignal.content || needsElementRefDivForEditing()}
9153
9179
  ><Dynamic5
@@ -9525,7 +9551,7 @@ function Symbol2(props) {
9525
9551
  function onUpdateFn_0() {
9526
9552
  setContent();
9527
9553
  }
9528
- createEffect6(on6(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
9554
+ createEffect7(on7(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
9529
9555
  return <><div class={className()} {...{}} {...props.attributes} {...{}}><Content_variants_default
9530
9556
  nonce={props.builderContext.nonce}
9531
9557
  isNestedRender={true}
package/lib/node/dev.js CHANGED
@@ -1474,7 +1474,13 @@ var getWrapperProps = ({
1474
1474
 
1475
1475
  // src/components/block/components/component-ref/component-ref.tsx
1476
1476
  function ComponentRef(props) {
1477
+ createSignal(false);
1477
1478
  const [Wrapper, setWrapper] = createSignal(props.isInteractive ? interactive_element_default : props.componentRef);
1479
+ const onUpdateFn_0_props_componentOptions = createMemo(() => props.componentOptions);
1480
+ const onUpdateFn_0_props_blockChildren = createMemo(() => props.blockChildren);
1481
+ function onUpdateFn_0() {
1482
+ }
1483
+ createEffect(on(() => [onUpdateFn_0_props_componentOptions(), onUpdateFn_0_props_blockChildren()], onUpdateFn_0));
1478
1484
  return createComponent(Show, {
1479
1485
  get when() {
1480
1486
  return props.componentRef;
@@ -1958,9 +1964,10 @@ var getColumnsClass = (id) => {
1958
1964
 
1959
1965
  // src/blocks/columns/columns.tsx
1960
1966
  var _tmpl$3 = /* @__PURE__ */ template(`<div>`);
1961
- var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-6331dfc5 {
1967
+ var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-7612d942 {
1962
1968
  display: flex;
1963
1969
  line-height: normal;
1970
+ height: 100%;
1964
1971
  }`);
1965
1972
  function Columns(props) {
1966
1973
  const gutterSize = createMemo(() => {
@@ -2087,7 +2094,7 @@ function Columns(props) {
2087
2094
  const _el$ = _tmpl$3();
2088
2095
  spread(_el$, mergeProps({
2089
2096
  get ["class"]() {
2090
- return getColumnsClass(props.builderBlock?.id) + " div-6331dfc5";
2097
+ return getColumnsClass(props.builderBlock?.id) + " div-7612d942";
2091
2098
  },
2092
2099
  get style() {
2093
2100
  return columnsCssVars();
@@ -5521,7 +5528,7 @@ function getPreviewContent(_searchParams) {
5521
5528
  }
5522
5529
 
5523
5530
  // src/constants/sdk-version.ts
5524
- var SDK_VERSION = "4.0.4";
5531
+ var SDK_VERSION = "4.0.6";
5525
5532
 
5526
5533
  // src/helpers/sdk-headers.ts
5527
5534
  var getSdkHeaders = () => ({
@@ -5677,7 +5684,7 @@ var generateContentUrl = (options) => {
5677
5684
  }
5678
5685
  if (enrich)
5679
5686
  url.searchParams.set("enrich", String(enrich));
5680
- url.searchParams.set("omit", omit2 || "meta.componentsUsed");
5687
+ url.searchParams.set("omit", omit2 ?? "meta.componentsUsed");
5681
5688
  if (fields) {
5682
5689
  url.searchParams.set("fields", fields);
5683
5690
  }