@builder.io/sdk-qwik 0.12.2 → 0.12.4

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.
Files changed (27) hide show
  1. package/lib/browser/index.qwik.cjs +255 -128
  2. package/lib/browser/index.qwik.mjs +256 -129
  3. package/lib/edge/index.qwik.cjs +255 -128
  4. package/lib/edge/index.qwik.mjs +256 -129
  5. package/lib/node/index.qwik.cjs +255 -128
  6. package/lib/node/index.qwik.mjs +256 -129
  7. package/package.json +1 -1
  8. package/types/src/blocks/button/button.d.ts +0 -1
  9. package/types/src/blocks/button/button.types.d.ts +2 -1
  10. package/types/src/blocks/columns/columns.d.ts +1 -1
  11. package/types/src/blocks/columns/columns.types.d.ts +3 -3
  12. package/types/src/blocks/symbol/symbol.types.d.ts +2 -2
  13. package/types/src/components/block/block.d.ts +1 -0
  14. package/types/src/components/block/components/block-wrapper.d.ts +1 -0
  15. package/types/src/components/block/components/component-ref/component-ref.helpers.d.ts +2 -2
  16. package/types/src/components/block/components/repeated-block.d.ts +3 -5
  17. package/types/src/components/blocks/blocks.types.d.ts +1 -0
  18. package/types/src/components/content-variants/content-variants.types.d.ts +6 -2
  19. package/types/src/constants/sdk-version.d.ts +1 -1
  20. package/types/src/functions/get-block-properties.d.ts +1 -2
  21. package/types/src/functions/get-class-prop-name.d.ts +1 -0
  22. package/types/src/functions/get-style.d.ts +12 -0
  23. package/types/src/functions/transform-block-properties.d.ts +2 -2
  24. package/types/src/functions/transform-style-property.d.ts +7 -0
  25. package/types/src/helpers/omit.d.ts +1 -0
  26. package/types/src/types/builder-block.d.ts +1 -0
  27. package/types/src/types/builder-props.d.ts +3 -0
@@ -5,42 +5,85 @@ const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
5
5
  const nodeEvaluate = require("./node-evaluate-4014c795.cjs");
6
6
  const build = require("@builder.io/qwik/build");
7
7
  require("node:module");
8
- const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
9
- qwik.useStylesScopedQrl(/* @__PURE__ */ qwik.inlinedQrl(STYLES$3, "Button_component_useStylesScoped_a1JZ0Q0Q2Oc"));
8
+ const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set([
9
+ "area",
10
+ "base",
11
+ "br",
12
+ "col",
13
+ "embed",
14
+ "hr",
15
+ "img",
16
+ "input",
17
+ "keygen",
18
+ "link",
19
+ "meta",
20
+ "param",
21
+ "source",
22
+ "track",
23
+ "wbr"
24
+ ]);
25
+ const isEmptyElement = (tagName) => {
26
+ return typeof tagName === "string" && EMPTY_HTML_ELEMENTS.has(tagName.toLowerCase());
27
+ };
28
+ const DynamicRenderer = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
29
+ qwik._jsxBranch();
10
30
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
11
- children: props.link ? /* @__PURE__ */ qwik._jsxS("a", {
31
+ children: !isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */ qwik._jsxC(props.TagName, {
12
32
  ...props.attributes,
13
- children: qwik._fnSignal((p0) => p0.text, [
14
- props
15
- ], "p0.text")
16
- }, {
17
- href: qwik._fnSignal((p0) => p0.link, [
18
- props
19
- ], "p0.link"),
20
- role: "button",
21
- target: qwik._fnSignal((p0) => p0.openLinkInNewTab ? "_blank" : void 0, [
22
- props
23
- ], 'p0.openLinkInNewTab?"_blank":undefined')
24
- }, 0, "jc_0") : /* @__PURE__ */ qwik._jsxS("button", {
33
+ ...props.actionAttributes,
34
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_0")
35
+ }, 0, "yW_1") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
25
36
  ...props.attributes,
26
- children: qwik._fnSignal((p0) => p0.text, [
27
- props
28
- ], "p0.text")
29
- }, {
30
- class: qwik._fnSignal((p0) => p0.attributes.class + " button-Button", [
31
- props
32
- ], 'p0.attributes.class+" button-Button"'),
33
- style: qwik._fnSignal((p0) => p0.attributes.style, [
37
+ ...props.actionAttributes,
38
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_2")
39
+ }, 0, "yW_3") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
40
+ ...props.attributes,
41
+ ...props.actionAttributes
42
+ }, 0, "yW_4")
43
+ }, 1, "yW_5");
44
+ }, "DynamicRenderer_component_1Co0xkmyAfQ"));
45
+ const TARGET = "qwik";
46
+ const getClassPropName = () => {
47
+ switch (TARGET) {
48
+ case "react":
49
+ case "reactNative":
50
+ case "rsc":
51
+ return "className";
52
+ case "svelte":
53
+ case "vue":
54
+ case "solid":
55
+ case "qwik":
56
+ return "class";
57
+ }
58
+ };
59
+ const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
60
+ return /* @__PURE__ */ qwik._jsxC(DynamicRenderer, {
61
+ get TagName() {
62
+ return props.link ? props.builderLinkComponent || "a" : "button";
63
+ },
64
+ actionAttributes: {},
65
+ attributes: {
66
+ ...props.attributes,
67
+ [getClassPropName()]: `${props.link ? "" : "builder-button"} ${props.attributes[getClassPropName()] || ""}`,
68
+ ...props.link ? {
69
+ href: props.link,
70
+ target: props.openLinkInNewTab ? "_blank" : void 0,
71
+ role: "link"
72
+ } : {
73
+ role: "button"
74
+ }
75
+ },
76
+ children: qwik._fnSignal((p0) => p0.text, [
77
+ props
78
+ ], "p0.text"),
79
+ [qwik._IMMUTABLE]: {
80
+ TagName: qwik._fnSignal((p0) => p0.link ? p0.builderLinkComponent || "a" : "button", [
34
81
  props
35
- ], "p0.attributes.style")
36
- }, 0, null)
37
- }, 1, "jc_1");
82
+ ], 'p0.link?p0.builderLinkComponent||"a":"button"'),
83
+ actionAttributes: qwik._IMMUTABLE
84
+ }
85
+ }, 3, "jc_0");
38
86
  }, "Button_component_gJoMUICXoUQ"));
39
- const STYLES$3 = `
40
- .button-Button {
41
- all: unset;
42
- }
43
- `;
44
87
  const builderContext = qwik.createContextId("Builder");
45
88
  const ComponentsContext = qwik.createContextId("Components");
46
89
  function getBlockComponentOptions(block) {
@@ -72,7 +115,6 @@ const set = (obj, _path, value) => {
72
115
  function isBrowser() {
73
116
  return typeof window !== "undefined" && typeof document !== "undefined";
74
117
  }
75
- const TARGET = "qwik";
76
118
  function isIframe() {
77
119
  return isBrowser() && window.self !== window.top;
78
120
  }
@@ -582,6 +624,29 @@ function getBlockActions(options) {
582
624
  }
583
625
  return obj;
584
626
  }
627
+ function transformStyleProperty({ style }) {
628
+ return style;
629
+ }
630
+ const getStyle = ({ block, context }) => {
631
+ return mapStyleObjToStrIfNeeded(transformStyleProperty({
632
+ style: block.style || {},
633
+ context,
634
+ block
635
+ }));
636
+ };
637
+ function mapStyleObjToStrIfNeeded(style) {
638
+ switch (TARGET) {
639
+ case "svelte":
640
+ case "vue":
641
+ case "solid":
642
+ return convertStyleMapToCSSArray(style).join(" ");
643
+ case "qwik":
644
+ case "reactNative":
645
+ case "react":
646
+ case "rsc":
647
+ return style;
648
+ }
649
+ }
585
650
  function transformBlockProperties({ properties }) {
586
651
  return properties;
587
652
  }
@@ -596,8 +661,11 @@ function getBlockProperties({ block, context }) {
596
661
  ...extractRelevantRootBlockProperties(block),
597
662
  ...block.properties,
598
663
  "builder-id": block.id,
599
- style: block.style ? getStyleAttribute(block.style) : void 0,
600
- class: [
664
+ style: getStyle({
665
+ block,
666
+ context
667
+ }),
668
+ [getClassPropName()]: [
601
669
  block.id,
602
670
  "builder-block",
603
671
  block.class,
@@ -610,56 +678,6 @@ function getBlockProperties({ block, context }) {
610
678
  block
611
679
  });
612
680
  }
613
- function getStyleAttribute(style) {
614
- switch (TARGET) {
615
- case "svelte":
616
- case "vue":
617
- case "solid":
618
- return convertStyleMapToCSSArray(style).join(" ");
619
- case "qwik":
620
- case "reactNative":
621
- case "react":
622
- case "rsc":
623
- return style;
624
- }
625
- }
626
- const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set([
627
- "area",
628
- "base",
629
- "br",
630
- "col",
631
- "embed",
632
- "hr",
633
- "img",
634
- "input",
635
- "keygen",
636
- "link",
637
- "meta",
638
- "param",
639
- "source",
640
- "track",
641
- "wbr"
642
- ]);
643
- const isEmptyElement = (tagName) => {
644
- return typeof tagName === "string" && EMPTY_HTML_ELEMENTS.has(tagName.toLowerCase());
645
- };
646
- const DynamicRenderer = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
647
- qwik._jsxBranch();
648
- return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
649
- children: !isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */ qwik._jsxC(props.TagName, {
650
- ...props.attributes,
651
- ...props.actionAttributes,
652
- children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_0")
653
- }, 0, "yW_1") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
654
- ...props.attributes,
655
- ...props.actionAttributes,
656
- children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_2")
657
- }, 0, "yW_3") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
658
- ...props.attributes,
659
- ...props.actionAttributes
660
- }, 0, "yW_4")
661
- }, 1, "yW_5");
662
- }, "DynamicRenderer_component_1Co0xkmyAfQ"));
663
681
  const BlockWrapper = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
664
682
  return /* @__PURE__ */ qwik._jsxC(DynamicRenderer, {
665
683
  get TagName() {
@@ -738,6 +756,7 @@ const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
738
756
  builderBlock: props.builderBlock,
739
757
  context: props.context,
740
758
  componentRef: props.componentRef,
759
+ linkComponent: props.linkComponent,
741
760
  includeBlockProps: props.includeBlockProps,
742
761
  isInteractive: props.isInteractive,
743
762
  contextValue: props.context
@@ -751,10 +770,16 @@ const ComponentRef = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
751
770
  get registeredComponents() {
752
771
  return props.registeredComponents;
753
772
  },
773
+ get linkComponent() {
774
+ return props.linkComponent;
775
+ },
754
776
  [qwik._IMMUTABLE]: {
755
777
  context: qwik._fnSignal((p0) => p0.context, [
756
778
  props
757
779
  ], "p0.context"),
780
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
781
+ props
782
+ ], "p0.linkComponent"),
758
783
  registeredComponents: qwik._fnSignal((p0) => p0.registeredComponents, [
759
784
  props
760
785
  ], "p0.registeredComponents")
@@ -779,6 +804,9 @@ const RepeatedBlock = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inl
779
804
  get registeredComponents() {
780
805
  return props.registeredComponents;
781
806
  },
807
+ get linkComponent() {
808
+ return props.linkComponent;
809
+ },
782
810
  [qwik._IMMUTABLE]: {
783
811
  block: qwik._fnSignal((p0) => p0.block, [
784
812
  props
@@ -786,6 +814,9 @@ const RepeatedBlock = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inl
786
814
  context: qwik._fnSignal((p0) => p0.store, [
787
815
  state
788
816
  ], "p0.store"),
817
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
818
+ props
819
+ ], "p0.linkComponent"),
789
820
  registeredComponents: qwik._fnSignal((p0) => p0.registeredComponents, [
790
821
  props
791
822
  ], "p0.registeredComponents")
@@ -832,9 +863,14 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
832
863
  props
833
864
  ]));
834
865
  const Tag = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
835
- const [props2] = qwik.useLexicalScope();
866
+ var _a2;
867
+ const [processedBlock2, props2] = qwik.useLexicalScope();
868
+ const shouldUseLink = props2.block.tagName === "a" || ((_a2 = processedBlock2.value.properties) == null ? void 0 : _a2.href) || processedBlock2.value.href;
869
+ if (shouldUseLink)
870
+ return props2.linkComponent || "a";
836
871
  return props2.block.tagName || "div";
837
872
  }, "Block_component_Tag_useComputed_eQnDgbcBW2A", [
873
+ processedBlock,
838
874
  props
839
875
  ]));
840
876
  const canShowBlock = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
@@ -864,7 +900,7 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
864
900
  repeatItem
865
901
  ]));
866
902
  const componentRefProps = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
867
- var _a2, _b, _c, _d, _e;
903
+ var _a2, _b, _c, _d, _e, _f, _g, _h;
868
904
  const [blockComponent2, processedBlock2, props2, state2] = qwik.useLexicalScope();
869
905
  return {
870
906
  blockChildren: processedBlock2.value.children ?? [],
@@ -872,15 +908,19 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
872
908
  componentOptions: {
873
909
  ...getBlockComponentOptions(processedBlock2.value),
874
910
  builderContext: props2.context,
875
- ...((_b = blockComponent2.value) == null ? void 0 : _b.name) === "Symbol" || ((_c = blockComponent2.value) == null ? void 0 : _c.name) === "Columns" ? {
911
+ ...((_b = blockComponent2.value) == null ? void 0 : _b.name) === "Core:Button" || ((_c = blockComponent2.value) == null ? void 0 : _c.name) === "Symbol" || ((_d = blockComponent2.value) == null ? void 0 : _d.name) === "Columns" ? {
912
+ builderLinkComponent: props2.linkComponent
913
+ } : {},
914
+ ...((_e = blockComponent2.value) == null ? void 0 : _e.name) === "Symbol" || ((_f = blockComponent2.value) == null ? void 0 : _f.name) === "Columns" ? {
876
915
  builderComponents: props2.registeredComponents
877
916
  } : {}
878
917
  },
879
918
  context: state2.childrenContext,
919
+ linkComponent: props2.linkComponent,
880
920
  registeredComponents: props2.registeredComponents,
881
921
  builderBlock: processedBlock2.value,
882
- includeBlockProps: ((_d = blockComponent2.value) == null ? void 0 : _d.noWrap) === true,
883
- isInteractive: !((_e = blockComponent2.value) == null ? void 0 : _e.isRSC)
922
+ includeBlockProps: ((_g = blockComponent2.value) == null ? void 0 : _g.noWrap) === true,
923
+ isInteractive: !((_h = blockComponent2.value) == null ? void 0 : _h.isRSC)
884
924
  };
885
925
  }, "Block_component_componentRefProps_useComputed_Ikbl8VO04ho", [
886
926
  blockComponent,
@@ -917,6 +957,9 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
917
957
  get context() {
918
958
  return props.context;
919
959
  },
960
+ get linkComponent() {
961
+ return props.linkComponent;
962
+ },
920
963
  children: [
921
964
  /* @__PURE__ */ qwik._jsxC(ComponentRef, {
922
965
  get componentRef() {
@@ -934,6 +977,9 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
934
977
  get registeredComponents() {
935
978
  return componentRefProps.value.registeredComponents;
936
979
  },
980
+ get linkComponent() {
981
+ return componentRefProps.value.linkComponent;
982
+ },
937
983
  get builderBlock() {
938
984
  return componentRefProps.value.builderBlock;
939
985
  },
@@ -965,6 +1011,9 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
965
1011
  isInteractive: qwik._fnSignal((p0) => p0.value.isInteractive, [
966
1012
  componentRefProps
967
1013
  ], "p0.value.isInteractive"),
1014
+ linkComponent: qwik._fnSignal((p0) => p0.value.linkComponent, [
1015
+ componentRefProps
1016
+ ], "p0.value.linkComponent"),
968
1017
  registeredComponents: qwik._fnSignal((p0) => p0.value.registeredComponents, [
969
1018
  componentRefProps
970
1019
  ], "p0.value.registeredComponents")
@@ -979,10 +1028,16 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
979
1028
  get registeredComponents() {
980
1029
  return props.registeredComponents;
981
1030
  },
1031
+ get linkComponent() {
1032
+ return props.linkComponent;
1033
+ },
982
1034
  [qwik._IMMUTABLE]: {
983
1035
  context: qwik._fnSignal((p0) => p0.childrenContext, [
984
1036
  state
985
1037
  ], "p0.childrenContext"),
1038
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
1039
+ props
1040
+ ], "p0.linkComponent"),
986
1041
  registeredComponents: qwik._fnSignal((p0) => p0.registeredComponents, [
987
1042
  props
988
1043
  ], "p0.registeredComponents")
@@ -999,7 +1054,10 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
999
1054
  ], "p0.value"),
1000
1055
  context: qwik._fnSignal((p0) => p0.context, [
1001
1056
  props
1002
- ], "p0.context")
1057
+ ], "p0.context"),
1058
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
1059
+ props
1060
+ ], "p0.linkComponent")
1003
1061
  }
1004
1062
  }, 1, "jN_2") : (repeatItem.value || []).map((data, index) => {
1005
1063
  return /* @__PURE__ */ qwik._jsxC(RepeatedBlock, {
@@ -1012,8 +1070,14 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
1012
1070
  get registeredComponents() {
1013
1071
  return props.registeredComponents;
1014
1072
  },
1073
+ get linkComponent() {
1074
+ return props.linkComponent;
1075
+ },
1015
1076
  [qwik._IMMUTABLE]: {
1016
1077
  block: qwik._wrapProp(data, "block"),
1078
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
1079
+ props
1080
+ ], "p0.linkComponent"),
1017
1081
  registeredComponents: qwik._fnSignal((p0) => p0.registeredComponents, [
1018
1082
  props
1019
1083
  ], "p0.registeredComponents"),
@@ -1036,6 +1100,9 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
1036
1100
  get registeredComponents() {
1037
1101
  return componentRefProps.value.registeredComponents;
1038
1102
  },
1103
+ get linkComponent() {
1104
+ return componentRefProps.value.linkComponent;
1105
+ },
1039
1106
  get builderBlock() {
1040
1107
  return componentRefProps.value.builderBlock;
1041
1108
  },
@@ -1067,6 +1134,9 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
1067
1134
  isInteractive: qwik._fnSignal((p0) => p0.value.isInteractive, [
1068
1135
  componentRefProps
1069
1136
  ], "p0.value.isInteractive"),
1137
+ linkComponent: qwik._fnSignal((p0) => p0.value.linkComponent, [
1138
+ componentRefProps
1139
+ ], "p0.value.linkComponent"),
1070
1140
  registeredComponents: qwik._fnSignal((p0) => p0.value.registeredComponents, [
1071
1141
  componentRefProps
1072
1142
  ], "p0.value.registeredComponents")
@@ -1194,6 +1264,9 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
1194
1264
  children: props.blocks ? (props.blocks || []).map((block) => {
1195
1265
  return /* @__PURE__ */ qwik._jsxC(Block, {
1196
1266
  block,
1267
+ get linkComponent() {
1268
+ return props.linkComponent;
1269
+ },
1197
1270
  get context() {
1198
1271
  return props.context || builderContext$1;
1199
1272
  },
@@ -1205,6 +1278,9 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
1205
1278
  builderContext$1,
1206
1279
  props
1207
1280
  ], "p1.context||p0"),
1281
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
1282
+ props
1283
+ ], "p0.linkComponent"),
1208
1284
  registeredComponents: qwik._fnSignal((p0, p1) => p1.registeredComponents || p0.registeredComponents, [
1209
1285
  componentsContext,
1210
1286
  props
@@ -1264,7 +1340,13 @@ const columnCssVars = function columnCssVars2(props, state, index) {
1264
1340
  const mobileWidth = "100%";
1265
1341
  const mobileMarginLeft = 0;
1266
1342
  const marginLeftKey = "margin-left";
1343
+ const sharedStyles = {
1344
+ display: "flex",
1345
+ flexDirection: "column",
1346
+ alignItems: "stretch"
1347
+ };
1267
1348
  return {
1349
+ ...sharedStyles,
1268
1350
  width,
1269
1351
  [marginLeftKey]: gutterPixels,
1270
1352
  "--column-width-mobile": getMobileStyle(props, state, {
@@ -1362,40 +1444,56 @@ const Columns = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQr
1362
1444
  }
1363
1445
  }, 3, "c0_0"),
1364
1446
  (props.columns || []).map((column, index) => {
1365
- return /* @__PURE__ */ qwik.createElement("div", {
1366
- class: "builder-column div-Columns-2",
1367
- style: columnCssVars(props, state, index),
1368
- key: index
1369
- }, /* @__PURE__ */ qwik._jsxC(Blocks, {
1370
- path: `component.options.columns.${index}.blocks`,
1371
- get parent() {
1372
- return props.builderBlock.id;
1373
- },
1374
- get styleProp() {
1375
- return {
1376
- flexGrow: "1"
1377
- };
1378
- },
1379
- get context() {
1380
- return props.builderContext;
1447
+ return /* @__PURE__ */ qwik._jsxC(DynamicRenderer, {
1448
+ TagName: column.link ? props.builderLinkComponent || "a" : "div",
1449
+ actionAttributes: {},
1450
+ attributes: {
1451
+ ...column.link ? {
1452
+ href: column.link
1453
+ } : {},
1454
+ [getClassPropName()]: "builder-column",
1455
+ style: mapStyleObjToStrIfNeeded(columnCssVars(props, state, index))
1381
1456
  },
1382
- get registeredComponents() {
1383
- return props.builderComponents;
1384
- },
1385
- blocks: deoptSignal(column.blocks),
1457
+ children: /* @__PURE__ */ qwik._jsxC(Blocks, {
1458
+ path: `component.options.columns.${index}.blocks`,
1459
+ get parent() {
1460
+ return props.builderBlock.id;
1461
+ },
1462
+ get styleProp() {
1463
+ return {
1464
+ flexGrow: "1"
1465
+ };
1466
+ },
1467
+ get context() {
1468
+ return props.builderContext;
1469
+ },
1470
+ get registeredComponents() {
1471
+ return props.builderComponents;
1472
+ },
1473
+ get linkComponent() {
1474
+ return props.builderLinkComponent;
1475
+ },
1476
+ blocks: deoptSignal(column.blocks),
1477
+ [qwik._IMMUTABLE]: {
1478
+ context: qwik._fnSignal((p0) => p0.builderContext, [
1479
+ props
1480
+ ], "p0.builderContext"),
1481
+ linkComponent: qwik._fnSignal((p0) => p0.builderLinkComponent, [
1482
+ props
1483
+ ], "p0.builderLinkComponent"),
1484
+ parent: qwik._fnSignal((p0) => p0.builderBlock.id, [
1485
+ props
1486
+ ], "p0.builderBlock.id"),
1487
+ registeredComponents: qwik._fnSignal((p0) => p0.builderComponents, [
1488
+ props
1489
+ ], "p0.builderComponents"),
1490
+ styleProp: qwik._IMMUTABLE
1491
+ }
1492
+ }, 3, "c0_1"),
1386
1493
  [qwik._IMMUTABLE]: {
1387
- context: qwik._fnSignal((p0) => p0.builderContext, [
1388
- props
1389
- ], "p0.builderContext"),
1390
- parent: qwik._fnSignal((p0) => p0.builderBlock.id, [
1391
- props
1392
- ], "p0.builderBlock.id"),
1393
- registeredComponents: qwik._fnSignal((p0) => p0.builderComponents, [
1394
- props
1395
- ], "p0.builderComponents"),
1396
- styleProp: qwik._IMMUTABLE
1494
+ actionAttributes: qwik._IMMUTABLE
1397
1495
  }
1398
- }, 3, "c0_1"));
1496
+ }, 1, index);
1399
1497
  })
1400
1498
  ], 1, "c0_2");
1401
1499
  }, "Columns_component_7yLj4bxdI6c"));
@@ -1404,11 +1502,6 @@ const STYLES$1 = `
1404
1502
  display: flex;
1405
1503
  line-height: normal;
1406
1504
  }
1407
- .div-Columns-2 {
1408
- display: flex;
1409
- flex-direction: column;
1410
- align-items: stretch;
1411
- }
1412
1505
  `;
1413
1506
  const FragmentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
1414
1507
  return /* @__PURE__ */ qwik._jsxQ("span", null, null, /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "oj_0"), 1, "oj_1");
@@ -3331,7 +3424,7 @@ const getInteractionPropertiesForEvent = (event) => {
3331
3424
  }
3332
3425
  };
3333
3426
  };
3334
- const SDK_VERSION = "0.12.2";
3427
+ const SDK_VERSION = "0.12.4";
3335
3428
  const registry = {};
3336
3429
  function register(type, info) {
3337
3430
  let typeList = registry[type];
@@ -3858,6 +3951,10 @@ ${getFontCss({
3858
3951
  customFonts: props.customFonts
3859
3952
  })}
3860
3953
 
3954
+ .builder-button {
3955
+ all: unset;
3956
+ }
3957
+
3861
3958
  .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
3862
3959
  margin: 0;
3863
3960
  }
@@ -4014,6 +4111,9 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
4014
4111
  get contentWrapperProps() {
4015
4112
  return props.contentWrapperProps;
4016
4113
  },
4114
+ get linkComponent() {
4115
+ return props.linkComponent;
4116
+ },
4017
4117
  get trustedHosts() {
4018
4118
  return props.trustedHosts;
4019
4119
  },
@@ -4073,6 +4173,9 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
4073
4173
  get registeredComponents() {
4074
4174
  return state.registeredComponents;
4075
4175
  },
4176
+ get linkComponent() {
4177
+ return props.linkComponent;
4178
+ },
4076
4179
  [qwik._IMMUTABLE]: {
4077
4180
  blocks: qwik._fnSignal((p0) => {
4078
4181
  var _a2, _b2;
@@ -4083,6 +4186,9 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
4083
4186
  context: qwik._fnSignal((p0) => p0.builderContextSignal, [
4084
4187
  state
4085
4188
  ], "p0.builderContextSignal"),
4189
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
4190
+ props
4191
+ ], "p0.linkComponent"),
4086
4192
  registeredComponents: qwik._fnSignal((p0) => p0.registeredComponents, [
4087
4193
  state
4088
4194
  ], "p0.registeredComponents")
@@ -4120,6 +4226,9 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
4120
4226
  includeRefs: qwik._fnSignal((p0) => p0.includeRefs, [
4121
4227
  props
4122
4228
  ], "p0.includeRefs"),
4229
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
4230
+ props
4231
+ ], "p0.linkComponent"),
4123
4232
  locale: qwik._fnSignal((p0) => p0.locale, [
4124
4233
  props
4125
4234
  ], "p0.locale"),
@@ -4237,6 +4346,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
4237
4346
  get customComponents() {
4238
4347
  return props.customComponents;
4239
4348
  },
4349
+ get linkComponent() {
4350
+ return props.linkComponent;
4351
+ },
4240
4352
  get canTrack() {
4241
4353
  return props.canTrack;
4242
4354
  },
@@ -4307,6 +4419,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
4307
4419
  isSsrAbTest: qwik._fnSignal((p0) => p0.shouldRenderVariants, [
4308
4420
  state
4309
4421
  ], "p0.shouldRenderVariants"),
4422
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
4423
+ props
4424
+ ], "p0.linkComponent"),
4310
4425
  locale: qwik._fnSignal((p0) => p0.locale, [
4311
4426
  props
4312
4427
  ], "p0.locale"),
@@ -4345,6 +4460,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
4345
4460
  get customComponents() {
4346
4461
  return props.customComponents;
4347
4462
  },
4463
+ get linkComponent() {
4464
+ return props.linkComponent;
4465
+ },
4348
4466
  get canTrack() {
4349
4467
  return props.canTrack;
4350
4468
  },
@@ -4418,6 +4536,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
4418
4536
  isSsrAbTest: qwik._fnSignal((p0) => p0.shouldRenderVariants, [
4419
4537
  state
4420
4538
  ], "p0.shouldRenderVariants"),
4539
+ linkComponent: qwik._fnSignal((p0) => p0.linkComponent, [
4540
+ props
4541
+ ], "p0.linkComponent"),
4421
4542
  locale: qwik._fnSignal((p0) => p0.locale, [
4422
4543
  props
4423
4544
  ], "p0.locale"),
@@ -4468,7 +4589,7 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
4468
4589
  var _a2, _b;
4469
4590
  const [props2] = qwik.useLexicalScope();
4470
4591
  return [
4471
- props2.attributes.class,
4592
+ props2.attributes[getClassPropName()],
4472
4593
  "builder-symbol",
4473
4594
  ((_a2 = props2.symbol) == null ? void 0 : _a2.inline) ? "builder-inline-symbol" : void 0,
4474
4595
  ((_b = props2.symbol) == null ? void 0 : _b.dynamic) || props2.dynamic ? "builder-dynamic-symbol" : void 0
@@ -4521,6 +4642,9 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
4521
4642
  get content() {
4522
4643
  return state.contentToUse;
4523
4644
  },
4645
+ get linkComponent() {
4646
+ return props.builderLinkComponent;
4647
+ },
4524
4648
  [qwik._IMMUTABLE]: {
4525
4649
  apiKey: qwik._fnSignal((p0) => p0.builderContext.apiKey, [
4526
4650
  props
@@ -4554,6 +4678,9 @@ const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
4554
4678
  props,
4555
4679
  state
4556
4680
  ], "{...p0.symbol?.data,...p0.builderContext.localState,...p1.contentToUse?.data?.state}"),
4681
+ linkComponent: qwik._fnSignal((p0) => p0.builderLinkComponent, [
4682
+ props
4683
+ ], "p0.builderLinkComponent"),
4557
4684
  model: qwik._fnSignal((p0) => {
4558
4685
  var _a2;
4559
4686
  return (_a2 = p0.symbol) == null ? void 0 : _a2.model;