@builder.io/sdk-react 0.0.1-4 → 0.0.1-5
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/package.json
CHANGED
|
@@ -20,7 +20,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20
20
|
import * as React from "react";
|
|
21
21
|
import { useState, useContext, useEffect } from "react";
|
|
22
22
|
import RenderContent from "../../components/render-content/render-content.js";
|
|
23
|
-
import BuilderContext from "../../context/builder.context";
|
|
23
|
+
import BuilderContext from "../../context/builder.context.js";
|
|
24
24
|
import { getContent } from "../../functions/get-content/index.js";
|
|
25
25
|
function Symbol(props) {
|
|
26
26
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import BuilderContext from "../../context/builder.context";
|
|
2
|
+
import BuilderContext from "../../context/builder.context.js";
|
|
3
3
|
import RenderBlock from "./render-block.js";
|
|
4
4
|
function RenderRepeatedBlock(props) {
|
|
5
5
|
return /* @__PURE__ */ React.createElement(BuilderContext.Provider, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useContext } from "react";
|
|
3
|
-
import BuilderContext from "../context/builder.context";
|
|
3
|
+
import BuilderContext from "../context/builder.context.js";
|
|
4
4
|
import { isEditing } from "../functions/is-editing.js";
|
|
5
5
|
import BlockStyles from "./render-block/block-styles.js";
|
|
6
6
|
import RenderBlock from "./render-block/render-block.js";
|
|
@@ -41,7 +41,7 @@ import * as React from "react";
|
|
|
41
41
|
import { useState, useRef, useEffect } from "react";
|
|
42
42
|
import { getDefaultRegisteredComponents } from "../../constants/builder-registered-components.js";
|
|
43
43
|
import { TARGET } from "../../constants/target.js";
|
|
44
|
-
import BuilderContext from "../../context/builder.context";
|
|
44
|
+
import BuilderContext from "../../context/builder.context.js";
|
|
45
45
|
import { evaluate } from "../../functions/evaluate.js";
|
|
46
46
|
import { getContent } from "../../functions/get-content/index.js";
|
|
47
47
|
import { getFetch } from "../../functions/get-fetch.js";
|