@builder.io/sdk-react 1.0.17 → 1.0.19-dev-1

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 (91) hide show
  1. package/lib/browser/blocks-exports.cjs +14 -14
  2. package/lib/browser/blocks-exports.mjs +350 -339
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +22 -21
  5. package/lib/browser/init.cjs +1 -0
  6. package/lib/browser/init.mjs +13 -0
  7. package/lib/browser/{server-entry-a7b75909.cjs → server-entry-1a86f409.cjs} +1 -1
  8. package/lib/browser/{server-entry-064a8b7f.js → server-entry-cfff49d1.js} +1 -1
  9. package/lib/browser/server-entry.cjs +1 -1
  10. package/lib/browser/server-entry.mjs +1 -1
  11. package/lib/edge/{blocks-1f59d1c0.cjs → blocks-0397d1b3.cjs} +9 -9
  12. package/lib/edge/{blocks-fe027bf7.js → blocks-055d1c68.js} +209 -223
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +27 -13
  15. package/lib/edge/{button-8fdd068a.js → button-14d13356.js} +3 -3
  16. package/lib/edge/{button-36ac5d97.cjs → button-58695538.cjs} +1 -1
  17. package/lib/edge/{columns-4f789807.js → columns-41560f8a.js} +48 -47
  18. package/lib/edge/columns-88c413d0.cjs +28 -0
  19. package/lib/edge/{content-variants-a26825d5.js → content-variants-8d6bee85.js} +75 -75
  20. package/lib/edge/{content-variants-87f99284.cjs → content-variants-b0cbabea.cjs} +5 -5
  21. package/lib/edge/dynamic-blocks-exports.cjs +2 -0
  22. package/lib/edge/dynamic-blocks-exports.mjs +4 -1
  23. package/lib/edge/{dynamic-renderer-b29b45ca.cjs → dynamic-renderer-1c9f24c0.cjs} +1 -1
  24. package/lib/edge/dynamic-renderer-96ba4e48.js +8 -0
  25. package/lib/edge/form-489500da.cjs +1 -0
  26. package/lib/edge/{form-004ab04e.js → form-56a68fe5.js} +69 -58
  27. package/lib/edge/{get-class-prop-name-ee5eac9d.js → get-class-prop-name-859a7f60.js} +1 -1
  28. package/lib/edge/{get-class-prop-name-522545c4.cjs → get-class-prop-name-f1301669.cjs} +1 -1
  29. package/lib/edge/{image-0008c792.js → image-2cc909d9.js} +25 -25
  30. package/lib/edge/image-7e1361ce.cjs +17 -0
  31. package/lib/edge/{img-d311451e.cjs → img-0c1e53c0.cjs} +1 -1
  32. package/lib/edge/{img-5d36c59d.js → img-b4ff1bef.js} +1 -1
  33. package/lib/edge/index.cjs +1 -1
  34. package/lib/edge/index.mjs +22 -21
  35. package/lib/edge/init.cjs +1 -0
  36. package/lib/edge/init.mjs +13 -0
  37. package/lib/edge/{input-34a4e538.cjs → input-2103da14.cjs} +1 -1
  38. package/lib/edge/{input-211240f4.js → input-c6fee09c.js} +1 -1
  39. package/lib/edge/{select-a425b313.cjs → select-b8ad0a4c.cjs} +1 -1
  40. package/lib/edge/{select-e592f42a.js → select-f260d051.js} +1 -1
  41. package/lib/edge/{server-entry-04a076eb.cjs → server-entry-00891f33.cjs} +1 -1
  42. package/lib/edge/{server-entry-633c4fab.js → server-entry-d46a218d.js} +1 -1
  43. package/lib/edge/server-entry.cjs +1 -1
  44. package/lib/edge/server-entry.mjs +1 -1
  45. package/lib/edge/slot-6546a4c9.cjs +1 -0
  46. package/lib/edge/{slot-20e9bd0c.js → slot-6b53b8c4.js} +7 -6
  47. package/lib/edge/{symbol-8aa6a69b.js → symbol-324dadc8.js} +2 -2
  48. package/lib/edge/{symbol-441a42f8.cjs → symbol-636383eb.cjs} +1 -1
  49. package/lib/edge/video-64014cc4.cjs +1 -0
  50. package/lib/edge/{video-58c2cc8d.js → video-d02ff89b.js} +15 -15
  51. package/lib/node/blocks-exports.cjs +32 -72
  52. package/lib/node/blocks-exports.mjs +902 -1017
  53. package/lib/node/index.cjs +1 -1
  54. package/lib/node/index.mjs +24 -22
  55. package/lib/node/init.cjs +1 -0
  56. package/lib/node/init.mjs +9 -0
  57. package/lib/node/node-runtime-1ca09d03.js +137 -0
  58. package/lib/node/node-runtime-87cf9b13.cjs +41 -0
  59. package/lib/node/{server-entry-a2617044.js → server-entry-8c84ddbd.js} +1 -1
  60. package/lib/node/{server-entry-e66a06c7.cjs → server-entry-ff6fc2b4.cjs} +1 -1
  61. package/lib/node/server-entry.cjs +1 -1
  62. package/lib/node/server-entry.mjs +1 -1
  63. package/package.json +6 -1
  64. package/types/blocks/form/component-info.d.ts +2 -0
  65. package/types/blocks/form/form.d.ts +3 -0
  66. package/types/blocks/input/component-info.d.ts +2 -0
  67. package/types/blocks/input/input.d.ts +15 -0
  68. package/types/blocks/select/component-info.d.ts +2 -0
  69. package/types/blocks/select/select.d.ts +16 -0
  70. package/types/blocks/submit-button/component-info.d.ts +2 -0
  71. package/types/blocks/submit-button/submit-button.d.ts +10 -0
  72. package/types/components/content/components/context-updater.d.ts +5 -0
  73. package/types/components/dynamic-renderer.d.ts +3 -0
  74. package/types/constants/sdk-version.d.ts +1 -1
  75. package/types/context/index.d.ts +1 -0
  76. package/types/functions/evaluate/node-runtime/init.d.ts +10 -0
  77. package/types/functions/evaluate/node-runtime/node-runtime.d.ts +6 -0
  78. package/types/functions/get-content/types.d.ts +3 -3
  79. package/types/functions/get-react-native-block-styles.d.ts +15 -0
  80. package/types/functions/sanitize-react-native-block-styles.d.ts +3 -0
  81. package/types/functions/sanitize-rn-allowed-css.d.ts +8 -0
  82. package/types/index-helpers/blocks-exports.d.ts +4 -0
  83. package/types/node-runtime/index.d.ts +1 -0
  84. package/types/node-runtime/node-runtime.d.ts +9 -0
  85. package/types/node-runtime.d.ts +1 -0
  86. package/lib/edge/columns-36bdc015.cjs +0 -28
  87. package/lib/edge/dynamic-renderer-8b343325.js +0 -8
  88. package/lib/edge/form-6b599bb9.cjs +0 -1
  89. package/lib/edge/image-ee3dd857.cjs +0 -17
  90. package/lib/edge/slot-1547b467.cjs +0 -1
  91. package/lib/edge/video-e20dcbbc.cjs +0 -1
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");require("./server-entry-04a076eb.cjs");const o=e.lazy(()=>Promise.resolve().then(()=>require("./button-36ac5d97.cjs"))),t=e.lazy(()=>Promise.resolve().then(()=>require("./columns-36bdc015.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./fragment-b6e3a326.cjs"))),n=e.lazy(()=>Promise.resolve().then(()=>require("./image-ee3dd857.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./section-d655ea14.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./symbol-441a42f8.cjs"))),c=e.lazy(()=>Promise.resolve().then(()=>require("./text-e6dbb721.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./video-e20dcbbc.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./blocks-1f59d1c0.cjs")).then(r=>r.blocks)),m=e.lazy(()=>Promise.resolve().then(()=>require("./content-variants-87f99284.cjs")));exports.Blocks=a;exports.Button=o;exports.Columns=t;exports.Content=m;exports.Fragment=s;exports.Image=n;exports.Section=i;exports.Symbol=l;exports.Text=c;exports.Video=u;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");require("./server-entry-00891f33.cjs");const t=e.lazy(()=>Promise.resolve().then(()=>require("./button-58695538.cjs"))),r=e.lazy(()=>Promise.resolve().then(()=>require("./columns-88c413d0.cjs"))),n=e.lazy(()=>Promise.resolve().then(()=>require("./fragment-b6e3a326.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./image-7e1361ce.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./section-d655ea14.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./symbol-636383eb.cjs"))),c=e.lazy(()=>Promise.resolve().then(()=>require("./text-e6dbb721.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./video-64014cc4.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./blocks-0397d1b3.cjs")).then(o=>o.blocks)),m=e.lazy(()=>Promise.resolve().then(()=>require("./content-variants-b0cbabea.cjs"))),y=e.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{}});exports.Blocks=u;exports.BuilderContext=y;exports.Button=t;exports.Columns=r;exports.Content=m;exports.Fragment=n;exports.Image=s;exports.Section=i;exports.Symbol=l;exports.Text=c;exports.Video=a;
@@ -1,16 +1,30 @@
1
1
  "use client";
2
- import { lazy as t } from "react";
3
- import "./server-entry-633c4fab.js";
4
- const m = t(() => import("./button-8fdd068a.js")), i = t(() => import("./columns-4f789807.js")), c = t(() => import("./fragment-1492bc7f.js")), a = t(() => import("./image-0008c792.js")), r = t(() => import("./section-d83e2dd3.js")), e = t(() => import("./symbol-8aa6a69b.js")), p = t(() => import("./text-5915f038.js")), l = t(() => import("./video-58c2cc8d.js")), b = t(() => import("./blocks-fe027bf7.js").then((o) => o.blocks)), u = t(() => import("./content-variants-a26825d5.js"));
2
+ import { lazy as t, createContext as n } from "react";
3
+ import "./server-entry-d46a218d.js";
4
+ const i = t(() => import("./button-14d13356.js")), r = t(() => import("./columns-41560f8a.js")), a = t(() => import("./fragment-1492bc7f.js")), c = t(() => import("./image-2cc909d9.js")), m = t(() => import("./section-d83e2dd3.js")), p = t(() => import("./symbol-324dadc8.js")), l = t(() => import("./text-5915f038.js")), u = t(() => import("./video-d02ff89b.js")), d = t(() => import("./blocks-055d1c68.js").then((o) => o.blocks)), x = t(() => import("./content-variants-8d6bee85.js")), S = n({
5
+ content: null,
6
+ context: {},
7
+ localState: void 0,
8
+ rootSetState() {
9
+ },
10
+ rootState: {},
11
+ apiKey: null,
12
+ apiVersion: void 0,
13
+ componentInfos: {},
14
+ inheritedStyles: {},
15
+ BlocksWrapper: "div",
16
+ BlocksWrapperProps: {}
17
+ });
5
18
  export {
6
- b as Blocks,
7
- m as Button,
8
- i as Columns,
9
- u as Content,
10
- c as Fragment,
11
- a as Image,
12
- r as Section,
13
- e as Symbol,
14
- p as Text,
15
- l as Video
19
+ d as Blocks,
20
+ S as BuilderContext,
21
+ i as Button,
22
+ r as Columns,
23
+ x as Content,
24
+ a as Fragment,
25
+ c as Image,
26
+ m as Section,
27
+ p as Symbol,
28
+ l as Text,
29
+ u as Video
16
30
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { DynamicRenderer as i } from "./dynamic-renderer-8b343325.js";
3
- import { getClassPropName as e } from "./get-class-prop-name-ee5eac9d.js";
4
- import "./server-entry-633c4fab.js";
2
+ import { DynamicRenderer as i } from "./dynamic-renderer-96ba4e48.js";
3
+ import { getClassPropName as e } from "./get-class-prop-name-859a7f60.js";
4
+ import "./server-entry-d46a218d.js";
5
5
  function u(t) {
6
6
  return /* @__PURE__ */ n(
7
7
  i,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),i=require("./dynamic-renderer-b29b45ca.cjs"),t=require("./get-class-prop-name-522545c4.cjs");require("./server-entry-04a076eb.cjs");function r(e){return n.jsx(i.DynamicRenderer,{attributes:{...e.attributes,[t.getClassPropName()]:`${e.link?"":"builder-button"} ${e.attributes[t.getClassPropName()]||""}`,...e.link?{href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"link"}:{role:"button"}},TagName:e.link?e.builderLinkComponent||"a":"button",actionAttributes:{},children:e.text})}exports.default=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),i=require("./dynamic-renderer-1c9f24c0.cjs"),t=require("./get-class-prop-name-f1301669.cjs");require("./server-entry-00891f33.cjs");function r(e){return n.jsx(i.DynamicRenderer,{attributes:{...e.attributes,[t.getClassPropName()]:`${e.link?"":"builder-button"} ${e.attributes[t.getClassPropName()]||""}`,...e.link?{href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"link"}:{role:"button"}},TagName:e.link?e.builderLinkComponent||"a":"button",actionAttributes:{},children:e.text})}exports.default=r;
@@ -1,83 +1,84 @@
1
- import { jsxs as g, Fragment as v, jsx as r } from "react/jsx-runtime";
2
- import { useState as s } from "react";
3
- import { InlinedStyles as w, mapStyleObjToStrIfNeeded as $, Blocks as B, getSizesForBreakpoints as z } from "./blocks-fe027bf7.js";
4
- import { DynamicRenderer as L } from "./dynamic-renderer-8b343325.js";
5
- import { getClassPropName as W } from "./get-class-prop-name-ee5eac9d.js";
6
- import "./server-entry-633c4fab.js";
7
- function O(t) {
8
- var f;
9
- const [c, A] = s(
1
+ import { jsxs as g, Fragment as y, jsx as o } from "react/jsx-runtime";
2
+ import { useState as a } from "react";
3
+ import { InlinedStyles as w, mapStyleObjToStrIfNeeded as $, Blocks as B, getSizesForBreakpoints as z } from "./blocks-055d1c68.js";
4
+ import { DynamicRenderer as L } from "./dynamic-renderer-96ba4e48.js";
5
+ import { getClassPropName as W } from "./get-class-prop-name-859a7f60.js";
6
+ import "./blocks-exports.mjs";
7
+ import "./server-entry-d46a218d.js";
8
+ function R(t) {
9
+ var k;
10
+ const [c, A] = a(
10
11
  () => typeof t.space == "number" ? t.space || 0 : 20
11
- ), [o, D] = s(() => t.columns || []), [m, F] = s(
12
+ ), [r, D] = a(() => t.columns || []), [m, F] = a(
12
13
  () => t.stackColumnsAt || "tablet"
13
14
  );
14
- function y(e) {
15
- var n;
16
- return ((n = o[e]) == null ? void 0 : n.width) || 100 / o.length;
17
- }
18
15
  function S(e) {
19
- const n = c * (o.length - 1) / o.length;
20
- return `calc(${y(e)}% - ${n}px)`;
16
+ var i;
17
+ return ((i = r[e]) == null ? void 0 : i.width) || 100 / r.length;
18
+ }
19
+ function x(e) {
20
+ const i = c * (r.length - 1) / r.length;
21
+ return `calc(${S(e)}% - ${i}px)`;
21
22
  }
22
- function a({
23
+ function s({
23
24
  stackedStyle: e,
24
- desktopStyle: n
25
+ desktopStyle: i
25
26
  }) {
26
- return m === "tablet" ? e : n;
27
+ return m === "tablet" ? e : i;
27
28
  }
28
29
  function d({
29
30
  stackedStyle: e,
30
- desktopStyle: n
31
+ desktopStyle: i
31
32
  }) {
32
- return m === "never" ? n : e;
33
+ return m === "never" ? i : e;
33
34
  }
34
- const [u, N] = s(
35
+ const [u, N] = a(
35
36
  () => t.stackColumnsAt === "never" ? "row" : t.reverseColumnsWhenStacked ? "column-reverse" : "column"
36
37
  );
37
- function x() {
38
+ function C() {
38
39
  return {
39
40
  "--flex-dir": u,
40
- "--flex-dir-tablet": a({
41
+ "--flex-dir-tablet": s({
41
42
  stackedStyle: u,
42
43
  desktopStyle: "row"
43
44
  })
44
45
  };
45
46
  }
46
- function C(e) {
47
- const n = e === 0 ? 0 : c, i = S(e), l = `${n}px`, k = "100%", h = 0;
47
+ function p(e) {
48
+ const i = e === 0 ? 0 : c, n = x(e), l = `${i}px`, f = "100%", h = 0;
48
49
  return {
49
50
  ...{
50
51
  display: "flex",
51
52
  flexDirection: "column",
52
53
  alignItems: "stretch"
53
54
  },
54
- width: i,
55
+ width: n,
55
56
  ["marginLeft"]: l,
56
57
  "--column-width-mobile": d({
57
- stackedStyle: k,
58
- desktopStyle: i
58
+ stackedStyle: f,
59
+ desktopStyle: n
59
60
  }),
60
61
  "--column-margin-left-mobile": d({
61
62
  stackedStyle: h,
62
63
  desktopStyle: l
63
64
  }),
64
- "--column-width-tablet": a({
65
- stackedStyle: k,
66
- desktopStyle: i
65
+ "--column-width-tablet": s({
66
+ stackedStyle: f,
67
+ desktopStyle: n
67
68
  }),
68
- "--column-margin-left-tablet": a({
69
+ "--column-margin-left-tablet": s({
69
70
  stackedStyle: h,
70
71
  desktopStyle: l
71
72
  })
72
73
  };
73
74
  }
74
75
  function b(e) {
75
- var i, l;
76
+ var n, l;
76
77
  return z(
77
- ((l = (i = t.builderContext.content) == null ? void 0 : i.meta) == null ? void 0 : l.breakpoints) || {}
78
+ ((l = (n = t.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : l.breakpoints) || {}
78
79
  )[e].max;
79
80
  }
80
- function p() {
81
+ function v() {
81
82
  return `
82
83
  @media (max-width: ${b("medium")}px) {
83
84
  .${t.builderBlock.id}-breakpoints {
@@ -104,15 +105,15 @@ function O(t) {
104
105
  },
105
106
  `;
106
107
  }
107
- return /* @__PURE__ */ g(v, { children: [
108
+ return /* @__PURE__ */ g(y, { children: [
108
109
  /* @__PURE__ */ g(
109
110
  "div",
110
111
  {
111
- className: `builder-columns ${t.builderBlock.id}-breakpoints div-003f4b1c`,
112
- style: x(),
112
+ className: `builder-columns ${t.builderBlock.id}-breakpoints div-7a098ce6`,
113
+ style: C(),
113
114
  children: [
114
- /* @__PURE__ */ r(w, { id: "builderio-columns", styles: p() }),
115
- (f = t.columns) == null ? void 0 : f.map((e, n) => /* @__PURE__ */ r(
115
+ /* @__PURE__ */ o(y, { children: /* @__PURE__ */ o(w, { id: "builderio-columns", styles: v() }) }),
116
+ (k = t.columns) == null ? void 0 : k.map((e, i) => /* @__PURE__ */ o(
116
117
  L,
117
118
  {
118
119
  TagName: e.link ? t.builderLinkComponent || "a" : "div",
@@ -122,12 +123,12 @@ function O(t) {
122
123
  href: e.link
123
124
  } : {},
124
125
  [W()]: "builder-column",
125
- style: $(C(n))
126
+ style: $(p(i))
126
127
  },
127
- children: /* @__PURE__ */ r(
128
+ children: /* @__PURE__ */ o(
128
129
  B,
129
130
  {
130
- path: `component.options.columns.${n}.blocks`,
131
+ path: `component.options.columns.${i}.blocks`,
131
132
  parent: t.builderBlock.id,
132
133
  styleProp: {
133
134
  flexGrow: "1"
@@ -139,17 +140,17 @@ function O(t) {
139
140
  }
140
141
  )
141
142
  },
142
- n
143
+ i
143
144
  ))
144
145
  ]
145
146
  }
146
147
  ),
147
- /* @__PURE__ */ r("style", { children: `.div-003f4b1c {
148
+ /* @__PURE__ */ o("style", { children: `.div-7a098ce6 {
148
149
  display: flex;
149
150
  line-height: normal;
150
151
  }` })
151
152
  ] });
152
153
  }
153
154
  export {
154
- O as default
155
+ R as default
155
156
  };
@@ -0,0 +1,28 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),s=require("react"),a=require("./blocks-0397d1b3.cjs"),w=require("./dynamic-renderer-1c9f24c0.cjs"),$=require("./get-class-prop-name-f1301669.cjs");require("./blocks-exports.cjs");require("./server-entry-00891f33.cjs");function j(e){var f;const[u,p]=s.useState(()=>typeof e.space=="number"?e.space||0:20),[o,B]=s.useState(()=>e.columns||[]),[d,q]=s.useState(()=>e.stackColumnsAt||"tablet");function S(t){var n;return((n=o[t])==null?void 0:n.width)||100/o.length}function y(t){const n=u*(o.length-1)/o.length;return`calc(${S(t)}% - ${n}px)`}function c({stackedStyle:t,desktopStyle:n}){return d==="tablet"?t:n}function m({stackedStyle:t,desktopStyle:n}){return d==="never"?n:t}const[b,z]=s.useState(()=>e.stackColumnsAt==="never"?"row":e.reverseColumnsWhenStacked?"column-reverse":"column");function x(){return{"--flex-dir":b,"--flex-dir-tablet":c({stackedStyle:b,desktopStyle:"row"})}}function C(t){const n=t===0?0:u,l=y(t),r=`${n}px`,g="100%",h=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:l,["marginLeft"]:r,"--column-width-mobile":m({stackedStyle:g,desktopStyle:l}),"--column-margin-left-mobile":m({stackedStyle:h,desktopStyle:r}),"--column-width-tablet":c({stackedStyle:g,desktopStyle:l}),"--column-margin-left-tablet":c({stackedStyle:h,desktopStyle:r})}}function k(t){var l,r;return a.getSizesForBreakpoints(((r=(l=e.builderContext.content)==null?void 0:l.meta)==null?void 0:r.breakpoints)||{})[t].max}function v(){return`
2
+ @media (max-width: ${k("medium")}px) {
3
+ .${e.builderBlock.id}-breakpoints {
4
+ flex-direction: var(--flex-dir-tablet);
5
+ align-items: stretch;
6
+ }
7
+
8
+ .${e.builderBlock.id}-breakpoints > .builder-column {
9
+ width: var(--column-width-tablet) !important;
10
+ margin-left: var(--column-margin-left-tablet) !important;
11
+ }
12
+ }
13
+
14
+ @media (max-width: ${k("small")}px) {
15
+ .${e.builderBlock.id}-breakpoints {
16
+ flex-direction: var(--flex-dir);
17
+ align-items: stretch;
18
+ }
19
+
20
+ .${e.builderBlock.id}-breakpoints > .builder-column {
21
+ width: var(--column-width-mobile) !important;
22
+ margin-left: var(--column-margin-left-mobile) !important;
23
+ }
24
+ },
25
+ `}return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:`builder-columns ${e.builderBlock.id}-breakpoints div-7a098ce6`,style:x(),children:[i.jsx(i.Fragment,{children:i.jsx(a.InlinedStyles,{id:"builderio-columns",styles:v()})}),(f=e.columns)==null?void 0:f.map((t,n)=>i.jsx(w.DynamicRenderer,{TagName:t.link?e.builderLinkComponent||"a":"div",actionAttributes:{},attributes:{...t.link?{href:t.link}:{},[$.getClassPropName()]:"builder-column",style:a.mapStyleObjToStrIfNeeded(C(n))},children:i.jsx(a.Blocks,{path:`component.options.columns.${n}.blocks`,parent:e.builderBlock.id,styleProp:{flexGrow:"1"},context:e.builderContext,registeredComponents:e.builderComponents,linkComponent:e.builderLinkComponent,blocks:t.blocks})},n))]}),i.jsx("style",{children:`.div-7a098ce6 {
26
+ display: flex;
27
+ line-height: normal;
28
+ }`})]})}exports.default=j;