@builder.io/sdk-react-nextjs 0.16.16 → 0.16.17
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/browser/components/blocks/blocks-wrapper.cjs +1 -1
- package/lib/browser/components/blocks/blocks-wrapper.mjs +15 -11
- package/lib/browser/components/blocks/blocks.cjs +1 -1
- package/lib/browser/components/blocks/blocks.mjs +5 -4
- package/lib/browser/constants/sdk-version.cjs +1 -1
- package/lib/browser/constants/sdk-version.mjs +1 -1
- package/lib/edge/components/blocks/blocks-wrapper.cjs +1 -1
- package/lib/edge/components/blocks/blocks-wrapper.mjs +15 -11
- package/lib/edge/components/blocks/blocks.cjs +1 -1
- package/lib/edge/components/blocks/blocks.mjs +5 -4
- package/lib/edge/constants/sdk-version.cjs +1 -1
- package/lib/edge/constants/sdk-version.mjs +1 -1
- package/lib/node/components/blocks/blocks-wrapper.cjs +1 -1
- package/lib/node/components/blocks/blocks-wrapper.mjs +15 -11
- package/lib/node/components/blocks/blocks.cjs +1 -1
- package/lib/node/components/blocks/blocks.mjs +5 -4
- package/lib/node/constants/sdk-version.cjs +1 -1
- package/lib/node/constants/sdk-version.mjs +1 -1
- package/package.json +1 -1
- package/types/cjs/components/blocks/blocks-wrapper.d.ts +1 -0
- package/types/cjs/components/blocks/blocks.types.d.ts +2 -1
- package/types/cjs/constants/sdk-version.d.ts +1 -1
- package/types/esm/components/blocks/blocks-wrapper.d.ts +1 -0
- package/types/esm/components/blocks/blocks.types.d.ts +2 -1
- package/types/esm/constants/sdk-version.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use client";"use strict";const l=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";const l=require("react/jsx-runtime"),c=require("react"),i=require("../../functions/is-editing.cjs");function d(e){const r=c.useRef(null);function s(){var t;return["builder-blocks",(t=e.blocks)!=null&&t.length?"":"no-blocks",e.classNameProp].filter(Boolean).join(" ")}function a(){var t,n;i.isEditing()&&!((t=e.blocks)!=null&&t.length)&&((n=window.parent)==null||n.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}function o(){var t,n;i.isEditing()&&!((t=e.blocks)!=null&&t.length)&&((n=window.parent)==null||n.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return c.useEffect(()=>{},[]),l.jsxs(l.Fragment,{children:[l.jsx(e.BlocksWrapper,{ref:r,className:s()+" props-blocks-wrapper-43ec7ac8","builder-path":e.path,"builder-parent-id":e.parent,style:e.styleProp,onClick:t=>a(),onMouseEnter:t=>o(),onKeyPress:t=>a(),...e.BlocksWrapperProps,children:e.children}),l.jsx("style",{children:`.props-blocks-wrapper-43ec7ac8 {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: stretch;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as s, Fragment as d, jsx as a } from "react/jsx-runtime";
|
|
3
3
|
import { useRef as u, useEffect as f } from "react";
|
|
4
|
-
import { isEditing as
|
|
4
|
+
import { isEditing as r } from "../../functions/is-editing.mjs";
|
|
5
5
|
function h(e) {
|
|
6
6
|
const c = u(null);
|
|
7
7
|
function i() {
|
|
8
8
|
var t;
|
|
9
|
-
return
|
|
9
|
+
return [
|
|
10
|
+
"builder-blocks",
|
|
11
|
+
(t = e.blocks) != null && t.length ? "" : "no-blocks",
|
|
12
|
+
e.classNameProp
|
|
13
|
+
].filter(Boolean).join(" ");
|
|
10
14
|
}
|
|
11
15
|
function l() {
|
|
12
16
|
var t, n;
|
|
13
|
-
|
|
17
|
+
r() && !((t = e.blocks) != null && t.length) && ((n = window.parent) == null || n.postMessage(
|
|
14
18
|
{
|
|
15
19
|
type: "builder.clickEmptyBlocks",
|
|
16
20
|
data: {
|
|
@@ -21,9 +25,9 @@ function h(e) {
|
|
|
21
25
|
"*"
|
|
22
26
|
));
|
|
23
27
|
}
|
|
24
|
-
function
|
|
28
|
+
function o() {
|
|
25
29
|
var t, n;
|
|
26
|
-
|
|
30
|
+
r() && !((t = e.blocks) != null && t.length) && ((n = window.parent) == null || n.postMessage(
|
|
27
31
|
{
|
|
28
32
|
type: "builder.hoverEmptyBlocks",
|
|
29
33
|
data: {
|
|
@@ -35,23 +39,23 @@ function h(e) {
|
|
|
35
39
|
));
|
|
36
40
|
}
|
|
37
41
|
return f(() => {
|
|
38
|
-
}, []), /* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
42
|
+
}, []), /* @__PURE__ */ s(d, { children: [
|
|
43
|
+
/* @__PURE__ */ a(
|
|
40
44
|
e.BlocksWrapper,
|
|
41
45
|
{
|
|
42
46
|
ref: c,
|
|
43
|
-
className: i() + " props-blocks-wrapper-
|
|
47
|
+
className: i() + " props-blocks-wrapper-43ec7ac8",
|
|
44
48
|
"builder-path": e.path,
|
|
45
49
|
"builder-parent-id": e.parent,
|
|
46
50
|
style: e.styleProp,
|
|
47
51
|
onClick: (t) => l(),
|
|
48
|
-
onMouseEnter: (t) =>
|
|
52
|
+
onMouseEnter: (t) => o(),
|
|
49
53
|
onKeyPress: (t) => l(),
|
|
50
54
|
...e.BlocksWrapperProps,
|
|
51
55
|
children: e.children
|
|
52
56
|
}
|
|
53
57
|
),
|
|
54
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ a("style", { children: `.props-blocks-wrapper-43ec7ac8 {
|
|
55
59
|
display: flex;
|
|
56
60
|
flex-direction: column;
|
|
57
61
|
align-items: stretch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),l=require("../block/block.cjs"),s=require("./blocks-wrapper.cjs");function
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),l=require("../block/block.cjs"),s=require("./blocks-wrapper.cjs");function a(e){var n,c,r;return t.jsx(s,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,classNameProp:e.className,BlocksWrapper:(n=e.context)==null?void 0:n.BlocksWrapper,BlocksWrapperProps:(c=e.context)==null?void 0:c.BlocksWrapperProps,children:e.blocks?t.jsx(t.Fragment,{children:(r=e.blocks)==null?void 0:r.map(o=>t.jsx(l,{block:o,linkComponent:e.linkComponent,context:e.context,registeredComponents:e.registeredComponents},o.id))}):null})}module.exports=a;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx as t, Fragment as c } from "react/jsx-runtime";
|
|
2
2
|
import a from "../block/block.mjs";
|
|
3
|
-
import
|
|
4
|
-
function
|
|
3
|
+
import m from "./blocks-wrapper.mjs";
|
|
4
|
+
function B(e) {
|
|
5
5
|
var o, n, r;
|
|
6
6
|
return /* @__PURE__ */ t(
|
|
7
|
-
|
|
7
|
+
m,
|
|
8
8
|
{
|
|
9
9
|
blocks: e.blocks,
|
|
10
10
|
parent: e.parent,
|
|
11
11
|
path: e.path,
|
|
12
12
|
styleProp: e.styleProp,
|
|
13
|
+
classNameProp: e.className,
|
|
13
14
|
BlocksWrapper: (o = e.context) == null ? void 0 : o.BlocksWrapper,
|
|
14
15
|
BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
|
|
15
16
|
children: e.blocks ? /* @__PURE__ */ t(c, { children: (r = e.blocks) == null ? void 0 : r.map((l) => /* @__PURE__ */ t(
|
|
@@ -26,5 +27,5 @@ function p(e) {
|
|
|
26
27
|
);
|
|
27
28
|
}
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
B as default
|
|
30
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.16.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.16.17";exports.SDK_VERSION=e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use client";"use strict";const l=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";const l=require("react/jsx-runtime"),c=require("react"),i=require("../../functions/is-editing.cjs");function d(e){const r=c.useRef(null);function s(){var t;return["builder-blocks",(t=e.blocks)!=null&&t.length?"":"no-blocks",e.classNameProp].filter(Boolean).join(" ")}function a(){var t,n;i.isEditing()&&!((t=e.blocks)!=null&&t.length)&&((n=window.parent)==null||n.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}function o(){var t,n;i.isEditing()&&!((t=e.blocks)!=null&&t.length)&&((n=window.parent)==null||n.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return c.useEffect(()=>{},[]),l.jsxs(l.Fragment,{children:[l.jsx(e.BlocksWrapper,{ref:r,className:s()+" props-blocks-wrapper-43ec7ac8","builder-path":e.path,"builder-parent-id":e.parent,style:e.styleProp,onClick:t=>a(),onMouseEnter:t=>o(),onKeyPress:t=>a(),...e.BlocksWrapperProps,children:e.children}),l.jsx("style",{children:`.props-blocks-wrapper-43ec7ac8 {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: stretch;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as s, Fragment as d, jsx as a } from "react/jsx-runtime";
|
|
3
3
|
import { useRef as u, useEffect as f } from "react";
|
|
4
|
-
import { isEditing as
|
|
4
|
+
import { isEditing as r } from "../../functions/is-editing.mjs";
|
|
5
5
|
function h(e) {
|
|
6
6
|
const c = u(null);
|
|
7
7
|
function i() {
|
|
8
8
|
var t;
|
|
9
|
-
return
|
|
9
|
+
return [
|
|
10
|
+
"builder-blocks",
|
|
11
|
+
(t = e.blocks) != null && t.length ? "" : "no-blocks",
|
|
12
|
+
e.classNameProp
|
|
13
|
+
].filter(Boolean).join(" ");
|
|
10
14
|
}
|
|
11
15
|
function l() {
|
|
12
16
|
var t, n;
|
|
13
|
-
|
|
17
|
+
r() && !((t = e.blocks) != null && t.length) && ((n = window.parent) == null || n.postMessage(
|
|
14
18
|
{
|
|
15
19
|
type: "builder.clickEmptyBlocks",
|
|
16
20
|
data: {
|
|
@@ -21,9 +25,9 @@ function h(e) {
|
|
|
21
25
|
"*"
|
|
22
26
|
));
|
|
23
27
|
}
|
|
24
|
-
function
|
|
28
|
+
function o() {
|
|
25
29
|
var t, n;
|
|
26
|
-
|
|
30
|
+
r() && !((t = e.blocks) != null && t.length) && ((n = window.parent) == null || n.postMessage(
|
|
27
31
|
{
|
|
28
32
|
type: "builder.hoverEmptyBlocks",
|
|
29
33
|
data: {
|
|
@@ -35,23 +39,23 @@ function h(e) {
|
|
|
35
39
|
));
|
|
36
40
|
}
|
|
37
41
|
return f(() => {
|
|
38
|
-
}, []), /* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
42
|
+
}, []), /* @__PURE__ */ s(d, { children: [
|
|
43
|
+
/* @__PURE__ */ a(
|
|
40
44
|
e.BlocksWrapper,
|
|
41
45
|
{
|
|
42
46
|
ref: c,
|
|
43
|
-
className: i() + " props-blocks-wrapper-
|
|
47
|
+
className: i() + " props-blocks-wrapper-43ec7ac8",
|
|
44
48
|
"builder-path": e.path,
|
|
45
49
|
"builder-parent-id": e.parent,
|
|
46
50
|
style: e.styleProp,
|
|
47
51
|
onClick: (t) => l(),
|
|
48
|
-
onMouseEnter: (t) =>
|
|
52
|
+
onMouseEnter: (t) => o(),
|
|
49
53
|
onKeyPress: (t) => l(),
|
|
50
54
|
...e.BlocksWrapperProps,
|
|
51
55
|
children: e.children
|
|
52
56
|
}
|
|
53
57
|
),
|
|
54
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ a("style", { children: `.props-blocks-wrapper-43ec7ac8 {
|
|
55
59
|
display: flex;
|
|
56
60
|
flex-direction: column;
|
|
57
61
|
align-items: stretch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),l=require("../block/block.cjs"),s=require("./blocks-wrapper.cjs");function
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),l=require("../block/block.cjs"),s=require("./blocks-wrapper.cjs");function a(e){var n,c,r;return t.jsx(s,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,classNameProp:e.className,BlocksWrapper:(n=e.context)==null?void 0:n.BlocksWrapper,BlocksWrapperProps:(c=e.context)==null?void 0:c.BlocksWrapperProps,children:e.blocks?t.jsx(t.Fragment,{children:(r=e.blocks)==null?void 0:r.map(o=>t.jsx(l,{block:o,linkComponent:e.linkComponent,context:e.context,registeredComponents:e.registeredComponents},o.id))}):null})}module.exports=a;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx as t, Fragment as c } from "react/jsx-runtime";
|
|
2
2
|
import a from "../block/block.mjs";
|
|
3
|
-
import
|
|
4
|
-
function
|
|
3
|
+
import m from "./blocks-wrapper.mjs";
|
|
4
|
+
function B(e) {
|
|
5
5
|
var o, n, r;
|
|
6
6
|
return /* @__PURE__ */ t(
|
|
7
|
-
|
|
7
|
+
m,
|
|
8
8
|
{
|
|
9
9
|
blocks: e.blocks,
|
|
10
10
|
parent: e.parent,
|
|
11
11
|
path: e.path,
|
|
12
12
|
styleProp: e.styleProp,
|
|
13
|
+
classNameProp: e.className,
|
|
13
14
|
BlocksWrapper: (o = e.context) == null ? void 0 : o.BlocksWrapper,
|
|
14
15
|
BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
|
|
15
16
|
children: e.blocks ? /* @__PURE__ */ t(c, { children: (r = e.blocks) == null ? void 0 : r.map((l) => /* @__PURE__ */ t(
|
|
@@ -26,5 +27,5 @@ function p(e) {
|
|
|
26
27
|
);
|
|
27
28
|
}
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
B as default
|
|
30
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.16.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.16.17";exports.SDK_VERSION=e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use client";"use strict";const l=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";const l=require("react/jsx-runtime"),c=require("react"),i=require("../../functions/is-editing.cjs");function d(e){const r=c.useRef(null);function s(){var t;return["builder-blocks",(t=e.blocks)!=null&&t.length?"":"no-blocks",e.classNameProp].filter(Boolean).join(" ")}function a(){var t,n;i.isEditing()&&!((t=e.blocks)!=null&&t.length)&&((n=window.parent)==null||n.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}function o(){var t,n;i.isEditing()&&!((t=e.blocks)!=null&&t.length)&&((n=window.parent)==null||n.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return c.useEffect(()=>{},[]),l.jsxs(l.Fragment,{children:[l.jsx(e.BlocksWrapper,{ref:r,className:s()+" props-blocks-wrapper-43ec7ac8","builder-path":e.path,"builder-parent-id":e.parent,style:e.styleProp,onClick:t=>a(),onMouseEnter:t=>o(),onKeyPress:t=>a(),...e.BlocksWrapperProps,children:e.children}),l.jsx("style",{children:`.props-blocks-wrapper-43ec7ac8 {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: stretch;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as s, Fragment as d, jsx as a } from "react/jsx-runtime";
|
|
3
3
|
import { useRef as u, useEffect as f } from "react";
|
|
4
|
-
import { isEditing as
|
|
4
|
+
import { isEditing as r } from "../../functions/is-editing.mjs";
|
|
5
5
|
function h(e) {
|
|
6
6
|
const c = u(null);
|
|
7
7
|
function i() {
|
|
8
8
|
var t;
|
|
9
|
-
return
|
|
9
|
+
return [
|
|
10
|
+
"builder-blocks",
|
|
11
|
+
(t = e.blocks) != null && t.length ? "" : "no-blocks",
|
|
12
|
+
e.classNameProp
|
|
13
|
+
].filter(Boolean).join(" ");
|
|
10
14
|
}
|
|
11
15
|
function l() {
|
|
12
16
|
var t, n;
|
|
13
|
-
|
|
17
|
+
r() && !((t = e.blocks) != null && t.length) && ((n = window.parent) == null || n.postMessage(
|
|
14
18
|
{
|
|
15
19
|
type: "builder.clickEmptyBlocks",
|
|
16
20
|
data: {
|
|
@@ -21,9 +25,9 @@ function h(e) {
|
|
|
21
25
|
"*"
|
|
22
26
|
));
|
|
23
27
|
}
|
|
24
|
-
function
|
|
28
|
+
function o() {
|
|
25
29
|
var t, n;
|
|
26
|
-
|
|
30
|
+
r() && !((t = e.blocks) != null && t.length) && ((n = window.parent) == null || n.postMessage(
|
|
27
31
|
{
|
|
28
32
|
type: "builder.hoverEmptyBlocks",
|
|
29
33
|
data: {
|
|
@@ -35,23 +39,23 @@ function h(e) {
|
|
|
35
39
|
));
|
|
36
40
|
}
|
|
37
41
|
return f(() => {
|
|
38
|
-
}, []), /* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
42
|
+
}, []), /* @__PURE__ */ s(d, { children: [
|
|
43
|
+
/* @__PURE__ */ a(
|
|
40
44
|
e.BlocksWrapper,
|
|
41
45
|
{
|
|
42
46
|
ref: c,
|
|
43
|
-
className: i() + " props-blocks-wrapper-
|
|
47
|
+
className: i() + " props-blocks-wrapper-43ec7ac8",
|
|
44
48
|
"builder-path": e.path,
|
|
45
49
|
"builder-parent-id": e.parent,
|
|
46
50
|
style: e.styleProp,
|
|
47
51
|
onClick: (t) => l(),
|
|
48
|
-
onMouseEnter: (t) =>
|
|
52
|
+
onMouseEnter: (t) => o(),
|
|
49
53
|
onKeyPress: (t) => l(),
|
|
50
54
|
...e.BlocksWrapperProps,
|
|
51
55
|
children: e.children
|
|
52
56
|
}
|
|
53
57
|
),
|
|
54
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ a("style", { children: `.props-blocks-wrapper-43ec7ac8 {
|
|
55
59
|
display: flex;
|
|
56
60
|
flex-direction: column;
|
|
57
61
|
align-items: stretch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),l=require("../block/block.cjs"),s=require("./blocks-wrapper.cjs");function
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),l=require("../block/block.cjs"),s=require("./blocks-wrapper.cjs");function a(e){var n,c,r;return t.jsx(s,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,classNameProp:e.className,BlocksWrapper:(n=e.context)==null?void 0:n.BlocksWrapper,BlocksWrapperProps:(c=e.context)==null?void 0:c.BlocksWrapperProps,children:e.blocks?t.jsx(t.Fragment,{children:(r=e.blocks)==null?void 0:r.map(o=>t.jsx(l,{block:o,linkComponent:e.linkComponent,context:e.context,registeredComponents:e.registeredComponents},o.id))}):null})}module.exports=a;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx as t, Fragment as c } from "react/jsx-runtime";
|
|
2
2
|
import a from "../block/block.mjs";
|
|
3
|
-
import
|
|
4
|
-
function
|
|
3
|
+
import m from "./blocks-wrapper.mjs";
|
|
4
|
+
function B(e) {
|
|
5
5
|
var o, n, r;
|
|
6
6
|
return /* @__PURE__ */ t(
|
|
7
|
-
|
|
7
|
+
m,
|
|
8
8
|
{
|
|
9
9
|
blocks: e.blocks,
|
|
10
10
|
parent: e.parent,
|
|
11
11
|
path: e.path,
|
|
12
12
|
styleProp: e.styleProp,
|
|
13
|
+
classNameProp: e.className,
|
|
13
14
|
BlocksWrapper: (o = e.context) == null ? void 0 : o.BlocksWrapper,
|
|
14
15
|
BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
|
|
15
16
|
children: e.blocks ? /* @__PURE__ */ t(c, { children: (r = e.blocks) == null ? void 0 : r.map((l) => /* @__PURE__ */ t(
|
|
@@ -26,5 +27,5 @@ function p(e) {
|
|
|
26
27
|
);
|
|
27
28
|
}
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
B as default
|
|
30
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.16.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.16.17";exports.SDK_VERSION=e;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builder.io/sdk-react-nextjs",
|
|
3
3
|
"description": "Builder.io RSC SDK for NextJS App Directory",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.17",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/nextjs",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -13,6 +13,7 @@ export type BlocksWrapperProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
BlocksWrapperProps: any;
|
|
15
15
|
children?: any;
|
|
16
|
+
classNameProp?: string;
|
|
16
17
|
};
|
|
17
18
|
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
18
19
|
declare function BlocksWrapper(props: BlocksWrapperProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { BuilderContextInterface, RegisteredComponents } from '../../context/types.js';
|
|
2
2
|
import type { BlocksWrapperProps } from './blocks-wrapper.js';
|
|
3
|
-
export type BlocksProps = Partial<Omit<BlocksWrapperProps, 'BlocksWrapper' | 'BlocksWrapperProps'>> & {
|
|
3
|
+
export type BlocksProps = Partial<Omit<BlocksWrapperProps, 'BlocksWrapper' | 'BlocksWrapperProps' | 'classNameProp'>> & {
|
|
4
4
|
context?: BuilderContextInterface;
|
|
5
5
|
registeredComponents?: RegisteredComponents;
|
|
6
6
|
linkComponent?: any;
|
|
7
|
+
className?: string;
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.16.
|
|
1
|
+
export declare const SDK_VERSION = "0.16.17";
|
|
@@ -13,6 +13,7 @@ export type BlocksWrapperProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
BlocksWrapperProps: any;
|
|
15
15
|
children?: any;
|
|
16
|
+
classNameProp?: string;
|
|
16
17
|
};
|
|
17
18
|
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
18
19
|
declare function BlocksWrapper(props: BlocksWrapperProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { BuilderContextInterface, RegisteredComponents } from '../../context/types.js';
|
|
2
2
|
import type { BlocksWrapperProps } from './blocks-wrapper.js';
|
|
3
|
-
export type BlocksProps = Partial<Omit<BlocksWrapperProps, 'BlocksWrapper' | 'BlocksWrapperProps'>> & {
|
|
3
|
+
export type BlocksProps = Partial<Omit<BlocksWrapperProps, 'BlocksWrapper' | 'BlocksWrapperProps' | 'classNameProp'>> & {
|
|
4
4
|
context?: BuilderContextInterface;
|
|
5
5
|
registeredComponents?: RegisteredComponents;
|
|
6
6
|
linkComponent?: any;
|
|
7
|
+
className?: string;
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.16.
|
|
1
|
+
export declare const SDK_VERSION = "0.16.17";
|