@builder.io/sdk-solid 2.0.28 → 2.0.29

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
@@ -4548,6 +4548,13 @@ function BlocksWrapper(props) {
4548
4548
  props.classNameProp
4549
4549
  ].filter(Boolean).join(" ");
4550
4550
  });
4551
+ const dataPath = createMemo6(() => {
4552
+ if (!props.path) {
4553
+ return void 0;
4554
+ }
4555
+ const pathPrefix = "component.options.";
4556
+ return props.path.startsWith(pathPrefix) ? props.path : `${pathPrefix}${props.path || ""}`;
4557
+ });
4551
4558
  function onClick() {
4552
4559
  if (isEditing() && !props.blocks?.length) {
4553
4560
  window.parent?.postMessage(
@@ -4555,7 +4562,7 @@ function BlocksWrapper(props) {
4555
4562
  type: "builder.clickEmptyBlocks",
4556
4563
  data: {
4557
4564
  parentElementId: props.parent,
4558
- dataPath: props.path
4565
+ dataPath: dataPath()
4559
4566
  }
4560
4567
  },
4561
4568
  "*"
@@ -4569,7 +4576,7 @@ function BlocksWrapper(props) {
4569
4576
  type: "builder.hoverEmptyBlocks",
4570
4577
  data: {
4571
4578
  parentElementId: props.parent,
4572
- dataPath: props.path
4579
+ dataPath: dataPath()
4573
4580
  }
4574
4581
  },
4575
4582
  "*"
@@ -4581,9 +4588,9 @@ function BlocksWrapper(props) {
4581
4588
  });
4582
4589
  return <>
4583
4590
  <Dynamic4
4584
- class={className() + " dynamic-6567ee94"}
4591
+ class={className() + " dynamic-5b6a86b6"}
4585
4592
  ref={blocksWrapperRef}
4586
- builder-path={props.path}
4593
+ builder-path={dataPath()}
4587
4594
  builder-parent-id={props.parent}
4588
4595
  {...{}}
4589
4596
  style={props.styleProp}
@@ -4593,7 +4600,7 @@ function BlocksWrapper(props) {
4593
4600
  {...props.BlocksWrapperProps}
4594
4601
  component={props.BlocksWrapper}
4595
4602
  >{props.children}</Dynamic4>
4596
- <style>{`.dynamic-6567ee94 {
4603
+ <style>{`.dynamic-5b6a86b6 {
4597
4604
  display: flex;
4598
4605
  flex-direction: column;
4599
4606
  align-items: stretch;
@@ -4758,7 +4765,7 @@ function Columns(props) {
4758
4765
  }
4759
4766
  return <>
4760
4767
  <div
4761
- class={getColumnsClass(props.builderBlock?.id) + " div-a1dad3b8"}
4768
+ class={getColumnsClass(props.builderBlock?.id) + " div-2ac94efa"}
4762
4769
  style={columnsCssVars()}
4763
4770
  {...{}}
4764
4771
  >
@@ -4775,7 +4782,7 @@ function Columns(props) {
4775
4782
  actionAttributes={{}}
4776
4783
  attributes={getAttributes(column, index)}
4777
4784
  ><Blocks_default
4778
- path={`component.options.columns.${index}.blocks`}
4785
+ path={`columns.${index}.blocks`}
4779
4786
  parent={props.builderBlock.id}
4780
4787
  styleProp={{
4781
4788
  flexGrow: "1"
@@ -4787,7 +4794,7 @@ function Columns(props) {
4787
4794
  /></Dynamic_renderer_default>;
4788
4795
  }}</For4>
4789
4796
  </div>
4790
- <style>{`.div-a1dad3b8 {
4797
+ <style>{`.div-2ac94efa {
4791
4798
  display: flex;
4792
4799
  line-height: normal;
4793
4800
  }`}</style>
@@ -5418,9 +5425,11 @@ function Accordion(props) {
5418
5425
  class={getAccordionTitleClassName(index)}
5419
5426
  style={{
5420
5427
  ...accordionTitleStyles(),
5421
- width: props.grid ? props.gridRowWidth : void 0,
5422
- ...{
5423
- order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
5428
+ ...props.grid && {
5429
+ width: props.gridRowWidth,
5430
+ ...{
5431
+ order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
5432
+ }
5424
5433
  }
5425
5434
  }}
5426
5435
  data-index={index}
@@ -6159,7 +6168,7 @@ function Tabs(props) {
6159
6168
  onClick={(event) => onClick(index)}
6160
6169
  ><Blocks_default
6161
6170
  parent={props.builderBlock.id}
6162
- path={`component.options.tabs.${index}.label`}
6171
+ path={`tabs.${index}.label`}
6163
6172
  blocks={tab.label}
6164
6173
  context={props.builderContext}
6165
6174
  registeredComponents={props.builderComponents}
@@ -6168,7 +6177,7 @@ function Tabs(props) {
6168
6177
  }}</For6></div>
6169
6178
  <Show10 when={activeTabContent(activeTab())}><div><Blocks_default
6170
6179
  parent={props.builderBlock.id}
6171
- path={`component.options.tabs.${activeTab()}.content`}
6180
+ path={`tabs.${activeTab()}.content`}
6172
6181
  blocks={activeTabContent(activeTab())}
6173
6182
  context={props.builderContext}
6174
6183
  registeredComponents={props.builderComponents}
@@ -7443,7 +7452,7 @@ function getPreviewContent(_searchParams) {
7443
7452
  }
7444
7453
 
7445
7454
  // src/constants/sdk-version.ts
7446
- var SDK_VERSION = "2.0.28";
7455
+ var SDK_VERSION = "2.0.29";
7447
7456
 
7448
7457
  // src/helpers/sdk-headers.ts
7449
7458
  var getSdkHeaders = () => ({
package/lib/edge/index.js CHANGED
@@ -4698,7 +4698,7 @@ function Block(props) {
4698
4698
  });
4699
4699
  }
4700
4700
  var block_default = Block;
4701
- var _tmpl$2 = /* @__PURE__ */ template(`<style>.dynamic-6567ee94 {
4701
+ var _tmpl$2 = /* @__PURE__ */ template(`<style>.dynamic-5b6a86b6 {
4702
4702
  display: flex;
4703
4703
  flex-direction: column;
4704
4704
  align-items: stretch;
@@ -4707,13 +4707,20 @@ function BlocksWrapper(props) {
4707
4707
  const className = createMemo(() => {
4708
4708
  return ["builder-blocks", !props.blocks?.length ? "no-blocks" : "", props.classNameProp].filter(Boolean).join(" ");
4709
4709
  });
4710
+ const dataPath = createMemo(() => {
4711
+ if (!props.path) {
4712
+ return void 0;
4713
+ }
4714
+ const pathPrefix = "component.options.";
4715
+ return props.path.startsWith(pathPrefix) ? props.path : `${pathPrefix}${props.path || ""}`;
4716
+ });
4710
4717
  function onClick() {
4711
4718
  if (isEditing() && !props.blocks?.length) {
4712
4719
  window.parent?.postMessage({
4713
4720
  type: "builder.clickEmptyBlocks",
4714
4721
  data: {
4715
4722
  parentElementId: props.parent,
4716
- dataPath: props.path
4723
+ dataPath: dataPath()
4717
4724
  }
4718
4725
  }, "*");
4719
4726
  }
@@ -4724,7 +4731,7 @@ function BlocksWrapper(props) {
4724
4731
  type: "builder.hoverEmptyBlocks",
4725
4732
  data: {
4726
4733
  parentElementId: props.parent,
4727
- dataPath: props.path
4734
+ dataPath: dataPath()
4728
4735
  }
4729
4736
  }, "*");
4730
4737
  }
@@ -4734,14 +4741,14 @@ function BlocksWrapper(props) {
4734
4741
  });
4735
4742
  return [createComponent(Dynamic, mergeProps({
4736
4743
  get ["class"]() {
4737
- return className() + " dynamic-6567ee94";
4744
+ return className() + " dynamic-5b6a86b6";
4738
4745
  },
4739
4746
  ref(r$) {
4740
4747
  const _ref$ = blocksWrapperRef;
4741
4748
  typeof _ref$ === "function" ? _ref$(r$) : blocksWrapperRef = r$;
4742
4749
  },
4743
4750
  get ["builder-path"]() {
4744
- return props.path;
4751
+ return dataPath();
4745
4752
  },
4746
4753
  get ["builder-parent-id"]() {
4747
4754
  return props.parent;
@@ -4833,7 +4840,7 @@ var getColumnsClass = (id2) => {
4833
4840
 
4834
4841
  // src/blocks/columns/columns.tsx
4835
4842
  var _tmpl$3 = /* @__PURE__ */ template(`<div>`);
4836
- var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-a1dad3b8 {
4843
+ var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-2ac94efa {
4837
4844
  display: flex;
4838
4845
  line-height: normal;
4839
4846
  }`);
@@ -4962,7 +4969,7 @@ function Columns(props) {
4962
4969
  const _el$ = _tmpl$3();
4963
4970
  spread(_el$, mergeProps({
4964
4971
  get ["class"]() {
4965
- return getColumnsClass(props.builderBlock?.id) + " div-a1dad3b8";
4972
+ return getColumnsClass(props.builderBlock?.id) + " div-2ac94efa";
4966
4973
  },
4967
4974
  get style() {
4968
4975
  return columnsCssVars();
@@ -4999,7 +5006,7 @@ function Columns(props) {
4999
5006
  },
5000
5007
  get children() {
5001
5008
  return createComponent(blocks_default, {
5002
- path: `component.options.columns.${index}.blocks`,
5009
+ path: `columns.${index}.blocks`,
5003
5010
  get parent() {
5004
5011
  return props.builderBlock.id;
5005
5012
  },
@@ -5692,9 +5699,11 @@ function Accordion(props) {
5692
5699
  effect((_p$) => {
5693
5700
  const _v$ = getAccordionTitleClassName(index), _v$2 = {
5694
5701
  ...accordionTitleStyles(),
5695
- width: props.grid ? props.gridRowWidth : void 0,
5696
- ...{
5697
- order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
5702
+ ...props.grid && {
5703
+ width: props.gridRowWidth,
5704
+ ...{
5705
+ order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
5706
+ }
5698
5707
  }
5699
5708
  };
5700
5709
  _v$ !== _p$._v$ && className(_el$2, _p$._v$ = _v$);
@@ -6466,7 +6475,7 @@ function Tabs(props) {
6466
6475
  get parent() {
6467
6476
  return props.builderBlock.id;
6468
6477
  },
6469
- path: `component.options.tabs.${index}.label`,
6478
+ path: `tabs.${index}.label`,
6470
6479
  get blocks() {
6471
6480
  return tab.label;
6472
6481
  },
@@ -6506,7 +6515,7 @@ function Tabs(props) {
6506
6515
  return props.builderBlock.id;
6507
6516
  },
6508
6517
  get path() {
6509
- return `component.options.tabs.${activeTab()}.content`;
6518
+ return `tabs.${activeTab()}.content`;
6510
6519
  },
6511
6520
  get blocks() {
6512
6521
  return activeTabContent(activeTab());
@@ -7947,7 +7956,7 @@ function getPreviewContent(_searchParams) {
7947
7956
  }
7948
7957
 
7949
7958
  // src/constants/sdk-version.ts
7950
- var SDK_VERSION = "2.0.28";
7959
+ var SDK_VERSION = "2.0.29";
7951
7960
 
7952
7961
  // src/helpers/sdk-headers.ts
7953
7962
  var getSdkHeaders = () => ({
@@ -4542,6 +4542,13 @@ function BlocksWrapper(props) {
4542
4542
  props.classNameProp
4543
4543
  ].filter(Boolean).join(" ");
4544
4544
  });
4545
+ const dataPath = createMemo6(() => {
4546
+ if (!props.path) {
4547
+ return void 0;
4548
+ }
4549
+ const pathPrefix = "component.options.";
4550
+ return props.path.startsWith(pathPrefix) ? props.path : `${pathPrefix}${props.path || ""}`;
4551
+ });
4545
4552
  function onClick() {
4546
4553
  if (isEditing() && !props.blocks?.length) {
4547
4554
  window.parent?.postMessage(
@@ -4549,7 +4556,7 @@ function BlocksWrapper(props) {
4549
4556
  type: "builder.clickEmptyBlocks",
4550
4557
  data: {
4551
4558
  parentElementId: props.parent,
4552
- dataPath: props.path
4559
+ dataPath: dataPath()
4553
4560
  }
4554
4561
  },
4555
4562
  "*"
@@ -4563,7 +4570,7 @@ function BlocksWrapper(props) {
4563
4570
  type: "builder.hoverEmptyBlocks",
4564
4571
  data: {
4565
4572
  parentElementId: props.parent,
4566
- dataPath: props.path
4573
+ dataPath: dataPath()
4567
4574
  }
4568
4575
  },
4569
4576
  "*"
@@ -4575,9 +4582,9 @@ function BlocksWrapper(props) {
4575
4582
  });
4576
4583
  return <>
4577
4584
  <Dynamic4
4578
- class={className() + " dynamic-6567ee94"}
4585
+ class={className() + " dynamic-5b6a86b6"}
4579
4586
  ref={blocksWrapperRef}
4580
- builder-path={props.path}
4587
+ builder-path={dataPath()}
4581
4588
  builder-parent-id={props.parent}
4582
4589
  {...{}}
4583
4590
  style={props.styleProp}
@@ -4587,7 +4594,7 @@ function BlocksWrapper(props) {
4587
4594
  {...props.BlocksWrapperProps}
4588
4595
  component={props.BlocksWrapper}
4589
4596
  >{props.children}</Dynamic4>
4590
- <style>{`.dynamic-6567ee94 {
4597
+ <style>{`.dynamic-5b6a86b6 {
4591
4598
  display: flex;
4592
4599
  flex-direction: column;
4593
4600
  align-items: stretch;
@@ -4752,7 +4759,7 @@ function Columns(props) {
4752
4759
  }
4753
4760
  return <>
4754
4761
  <div
4755
- class={getColumnsClass(props.builderBlock?.id) + " div-a1dad3b8"}
4762
+ class={getColumnsClass(props.builderBlock?.id) + " div-2ac94efa"}
4756
4763
  style={columnsCssVars()}
4757
4764
  {...{}}
4758
4765
  >
@@ -4769,7 +4776,7 @@ function Columns(props) {
4769
4776
  actionAttributes={{}}
4770
4777
  attributes={getAttributes(column, index)}
4771
4778
  ><Blocks_default
4772
- path={`component.options.columns.${index}.blocks`}
4779
+ path={`columns.${index}.blocks`}
4773
4780
  parent={props.builderBlock.id}
4774
4781
  styleProp={{
4775
4782
  flexGrow: "1"
@@ -4781,7 +4788,7 @@ function Columns(props) {
4781
4788
  /></Dynamic_renderer_default>;
4782
4789
  }}</For4>
4783
4790
  </div>
4784
- <style>{`.div-a1dad3b8 {
4791
+ <style>{`.div-2ac94efa {
4785
4792
  display: flex;
4786
4793
  line-height: normal;
4787
4794
  }`}</style>
@@ -5411,9 +5418,11 @@ function Accordion(props) {
5411
5418
  class={getAccordionTitleClassName(index)}
5412
5419
  style={{
5413
5420
  ...accordionTitleStyles(),
5414
- width: props.grid ? props.gridRowWidth : void 0,
5415
- ...{
5416
- order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
5421
+ ...props.grid && {
5422
+ width: props.gridRowWidth,
5423
+ ...{
5424
+ order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
5425
+ }
5417
5426
  }
5418
5427
  }}
5419
5428
  data-index={index}
@@ -6151,7 +6160,7 @@ function Tabs(props) {
6151
6160
  onClick={(event) => onClick(index)}
6152
6161
  ><Blocks_default
6153
6162
  parent={props.builderBlock.id}
6154
- path={`component.options.tabs.${index}.label`}
6163
+ path={`tabs.${index}.label`}
6155
6164
  blocks={tab.label}
6156
6165
  context={props.builderContext}
6157
6166
  registeredComponents={props.builderComponents}
@@ -6160,7 +6169,7 @@ function Tabs(props) {
6160
6169
  }}</For6></div>
6161
6170
  <Show10 when={activeTabContent(activeTab())}><div><Blocks_default
6162
6171
  parent={props.builderBlock.id}
6163
- path={`component.options.tabs.${activeTab()}.content`}
6172
+ path={`tabs.${activeTab()}.content`}
6164
6173
  blocks={activeTabContent(activeTab())}
6165
6174
  context={props.builderContext}
6166
6175
  registeredComponents={props.builderComponents}
@@ -7433,7 +7442,7 @@ function getPreviewContent(_searchParams) {
7433
7442
  }
7434
7443
 
7435
7444
  // src/constants/sdk-version.ts
7436
- var SDK_VERSION = "2.0.28";
7445
+ var SDK_VERSION = "2.0.29";
7437
7446
 
7438
7447
  // src/helpers/sdk-headers.ts
7439
7448
  var getSdkHeaders = () => ({
package/lib/node/dev.js CHANGED
@@ -1690,7 +1690,7 @@ function Block(props) {
1690
1690
  });
1691
1691
  }
1692
1692
  var block_default = Block;
1693
- var _tmpl$2 = /* @__PURE__ */ template(`<style>.dynamic-6567ee94 {
1693
+ var _tmpl$2 = /* @__PURE__ */ template(`<style>.dynamic-5b6a86b6 {
1694
1694
  display: flex;
1695
1695
  flex-direction: column;
1696
1696
  align-items: stretch;
@@ -1699,13 +1699,20 @@ function BlocksWrapper(props) {
1699
1699
  const className = createMemo(() => {
1700
1700
  return ["builder-blocks", !props.blocks?.length ? "no-blocks" : "", props.classNameProp].filter(Boolean).join(" ");
1701
1701
  });
1702
+ const dataPath = createMemo(() => {
1703
+ if (!props.path) {
1704
+ return void 0;
1705
+ }
1706
+ const pathPrefix = "component.options.";
1707
+ return props.path.startsWith(pathPrefix) ? props.path : `${pathPrefix}${props.path || ""}`;
1708
+ });
1702
1709
  function onClick() {
1703
1710
  if (isEditing() && !props.blocks?.length) {
1704
1711
  window.parent?.postMessage({
1705
1712
  type: "builder.clickEmptyBlocks",
1706
1713
  data: {
1707
1714
  parentElementId: props.parent,
1708
- dataPath: props.path
1715
+ dataPath: dataPath()
1709
1716
  }
1710
1717
  }, "*");
1711
1718
  }
@@ -1716,7 +1723,7 @@ function BlocksWrapper(props) {
1716
1723
  type: "builder.hoverEmptyBlocks",
1717
1724
  data: {
1718
1725
  parentElementId: props.parent,
1719
- dataPath: props.path
1726
+ dataPath: dataPath()
1720
1727
  }
1721
1728
  }, "*");
1722
1729
  }
@@ -1726,14 +1733,14 @@ function BlocksWrapper(props) {
1726
1733
  });
1727
1734
  return [createComponent(Dynamic, mergeProps({
1728
1735
  get ["class"]() {
1729
- return className() + " dynamic-6567ee94";
1736
+ return className() + " dynamic-5b6a86b6";
1730
1737
  },
1731
1738
  ref(r$) {
1732
1739
  const _ref$ = blocksWrapperRef;
1733
1740
  typeof _ref$ === "function" ? _ref$(r$) : blocksWrapperRef = r$;
1734
1741
  },
1735
1742
  get ["builder-path"]() {
1736
- return props.path;
1743
+ return dataPath();
1737
1744
  },
1738
1745
  get ["builder-parent-id"]() {
1739
1746
  return props.parent;
@@ -1825,7 +1832,7 @@ var getColumnsClass = (id) => {
1825
1832
 
1826
1833
  // src/blocks/columns/columns.tsx
1827
1834
  var _tmpl$3 = /* @__PURE__ */ template(`<div>`);
1828
- var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-a1dad3b8 {
1835
+ var _tmpl$22 = /* @__PURE__ */ template(`<style>.div-2ac94efa {
1829
1836
  display: flex;
1830
1837
  line-height: normal;
1831
1838
  }`);
@@ -1954,7 +1961,7 @@ function Columns(props) {
1954
1961
  const _el$ = _tmpl$3();
1955
1962
  spread(_el$, mergeProps({
1956
1963
  get ["class"]() {
1957
- return getColumnsClass(props.builderBlock?.id) + " div-a1dad3b8";
1964
+ return getColumnsClass(props.builderBlock?.id) + " div-2ac94efa";
1958
1965
  },
1959
1966
  get style() {
1960
1967
  return columnsCssVars();
@@ -1991,7 +1998,7 @@ function Columns(props) {
1991
1998
  },
1992
1999
  get children() {
1993
2000
  return createComponent(blocks_default, {
1994
- path: `component.options.columns.${index}.blocks`,
2001
+ path: `columns.${index}.blocks`,
1995
2002
  get parent() {
1996
2003
  return props.builderBlock.id;
1997
2004
  },
@@ -2685,9 +2692,11 @@ function Accordion(props) {
2685
2692
  effect((_p$) => {
2686
2693
  const _v$ = getAccordionTitleClassName(index), _v$2 = {
2687
2694
  ...accordionTitleStyles(),
2688
- width: props.grid ? props.gridRowWidth : void 0,
2689
- ...{
2690
- order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
2695
+ ...props.grid && {
2696
+ width: props.gridRowWidth,
2697
+ ...{
2698
+ order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
2699
+ }
2691
2700
  }
2692
2701
  };
2693
2702
  _v$ !== _p$._v$ && className(_el$2, _p$._v$ = _v$);
@@ -3460,7 +3469,7 @@ function Tabs(props) {
3460
3469
  get parent() {
3461
3470
  return props.builderBlock.id;
3462
3471
  },
3463
- path: `component.options.tabs.${index}.label`,
3472
+ path: `tabs.${index}.label`,
3464
3473
  get blocks() {
3465
3474
  return tab.label;
3466
3475
  },
@@ -3500,7 +3509,7 @@ function Tabs(props) {
3500
3509
  return props.builderBlock.id;
3501
3510
  },
3502
3511
  get path() {
3503
- return `component.options.tabs.${activeTab()}.content`;
3512
+ return `tabs.${activeTab()}.content`;
3504
3513
  },
3505
3514
  get blocks() {
3506
3515
  return activeTabContent(activeTab());
@@ -4943,7 +4952,7 @@ function getPreviewContent(_searchParams) {
4943
4952
  }
4944
4953
 
4945
4954
  // src/constants/sdk-version.ts
4946
- var SDK_VERSION = "2.0.28";
4955
+ var SDK_VERSION = "2.0.29";
4947
4956
 
4948
4957
  // src/helpers/sdk-headers.ts
4949
4958
  var getSdkHeaders = () => ({
package/lib/node/dev.jsx CHANGED
@@ -1534,6 +1534,13 @@ function BlocksWrapper(props) {
1534
1534
  props.classNameProp
1535
1535
  ].filter(Boolean).join(" ");
1536
1536
  });
1537
+ const dataPath = createMemo6(() => {
1538
+ if (!props.path) {
1539
+ return void 0;
1540
+ }
1541
+ const pathPrefix = "component.options.";
1542
+ return props.path.startsWith(pathPrefix) ? props.path : `${pathPrefix}${props.path || ""}`;
1543
+ });
1537
1544
  function onClick() {
1538
1545
  if (isEditing() && !props.blocks?.length) {
1539
1546
  window.parent?.postMessage(
@@ -1541,7 +1548,7 @@ function BlocksWrapper(props) {
1541
1548
  type: "builder.clickEmptyBlocks",
1542
1549
  data: {
1543
1550
  parentElementId: props.parent,
1544
- dataPath: props.path
1551
+ dataPath: dataPath()
1545
1552
  }
1546
1553
  },
1547
1554
  "*"
@@ -1555,7 +1562,7 @@ function BlocksWrapper(props) {
1555
1562
  type: "builder.hoverEmptyBlocks",
1556
1563
  data: {
1557
1564
  parentElementId: props.parent,
1558
- dataPath: props.path
1565
+ dataPath: dataPath()
1559
1566
  }
1560
1567
  },
1561
1568
  "*"
@@ -1567,9 +1574,9 @@ function BlocksWrapper(props) {
1567
1574
  });
1568
1575
  return <>
1569
1576
  <Dynamic4
1570
- class={className() + " dynamic-6567ee94"}
1577
+ class={className() + " dynamic-5b6a86b6"}
1571
1578
  ref={blocksWrapperRef}
1572
- builder-path={props.path}
1579
+ builder-path={dataPath()}
1573
1580
  builder-parent-id={props.parent}
1574
1581
  {...{}}
1575
1582
  style={props.styleProp}
@@ -1579,7 +1586,7 @@ function BlocksWrapper(props) {
1579
1586
  {...props.BlocksWrapperProps}
1580
1587
  component={props.BlocksWrapper}
1581
1588
  >{props.children}</Dynamic4>
1582
- <style>{`.dynamic-6567ee94 {
1589
+ <style>{`.dynamic-5b6a86b6 {
1583
1590
  display: flex;
1584
1591
  flex-direction: column;
1585
1592
  align-items: stretch;
@@ -1744,7 +1751,7 @@ function Columns(props) {
1744
1751
  }
1745
1752
  return <>
1746
1753
  <div
1747
- class={getColumnsClass(props.builderBlock?.id) + " div-a1dad3b8"}
1754
+ class={getColumnsClass(props.builderBlock?.id) + " div-2ac94efa"}
1748
1755
  style={columnsCssVars()}
1749
1756
  {...{}}
1750
1757
  >
@@ -1761,7 +1768,7 @@ function Columns(props) {
1761
1768
  actionAttributes={{}}
1762
1769
  attributes={getAttributes(column, index)}
1763
1770
  ><Blocks_default
1764
- path={`component.options.columns.${index}.blocks`}
1771
+ path={`columns.${index}.blocks`}
1765
1772
  parent={props.builderBlock.id}
1766
1773
  styleProp={{
1767
1774
  flexGrow: "1"
@@ -1773,7 +1780,7 @@ function Columns(props) {
1773
1780
  /></Dynamic_renderer_default>;
1774
1781
  }}</For4>
1775
1782
  </div>
1776
- <style>{`.div-a1dad3b8 {
1783
+ <style>{`.div-2ac94efa {
1777
1784
  display: flex;
1778
1785
  line-height: normal;
1779
1786
  }`}</style>
@@ -2404,9 +2411,11 @@ function Accordion(props) {
2404
2411
  class={getAccordionTitleClassName(index)}
2405
2412
  style={{
2406
2413
  ...accordionTitleStyles(),
2407
- width: props.grid ? props.gridRowWidth : void 0,
2408
- ...{
2409
- order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
2414
+ ...props.grid && {
2415
+ width: props.gridRowWidth,
2416
+ ...{
2417
+ order: openGridItemOrder() !== null ? convertOrderNumberToString(index) : convertOrderNumberToString(index + 1)
2418
+ }
2410
2419
  }
2411
2420
  }}
2412
2421
  data-index={index}
@@ -3145,7 +3154,7 @@ function Tabs(props) {
3145
3154
  onClick={(event) => onClick(index)}
3146
3155
  ><Blocks_default
3147
3156
  parent={props.builderBlock.id}
3148
- path={`component.options.tabs.${index}.label`}
3157
+ path={`tabs.${index}.label`}
3149
3158
  blocks={tab.label}
3150
3159
  context={props.builderContext}
3151
3160
  registeredComponents={props.builderComponents}
@@ -3154,7 +3163,7 @@ function Tabs(props) {
3154
3163
  }}</For6></div>
3155
3164
  <Show10 when={activeTabContent(activeTab())}><div><Blocks_default
3156
3165
  parent={props.builderBlock.id}
3157
- path={`component.options.tabs.${activeTab()}.content`}
3166
+ path={`tabs.${activeTab()}.content`}
3158
3167
  blocks={activeTabContent(activeTab())}
3159
3168
  context={props.builderContext}
3160
3169
  registeredComponents={props.builderComponents}
@@ -4429,7 +4438,7 @@ function getPreviewContent(_searchParams) {
4429
4438
  }
4430
4439
 
4431
4440
  // src/constants/sdk-version.ts
4432
- var SDK_VERSION = "2.0.28";
4441
+ var SDK_VERSION = "2.0.29";
4433
4442
 
4434
4443
  // src/helpers/sdk-headers.ts
4435
4444
  var getSdkHeaders = () => ({