@builder.io/sdk-react 0.1.3 → 0.1.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.
- package/dist/react/blocks/columns/columns.js +2 -2
- package/dist/react/blocks/form/form.js +2 -2
- package/dist/react/blocks/symbol/symbol.js +1 -1
- package/dist/react/components/render-block/block-styles.js +1 -1
- package/dist/react/components/render-block/render-block.js +3 -3
- package/dist/react/components/render-block/render-component.js +2 -2
- package/dist/react/components/render-block/render-repeated-block.js +1 -1
- package/dist/react/components/render-blocks.js +2 -2
- package/dist/react/components/render-content/components/render-styles.js +1 -1
- package/dist/react/components/render-content/index.js +1 -1
- package/dist/react/components/render-content/render-content.js +2 -2
- package/dist/react/components/render-inlined-styles.js +2 -2
- package/dist/react/constants/builder-registered-components.js +11 -11
- package/dist/react/index-helpers/blocks-exports.js +10 -10
- package/dist/rsc/blocks/columns/columns.js +2 -2
- package/dist/rsc/blocks/form/form.js +2 -2
- package/dist/rsc/blocks/symbol/symbol.js +1 -1
- package/dist/rsc/components/render-block/block-styles.js +1 -1
- package/dist/rsc/components/render-block/render-block.js +3 -3
- package/dist/rsc/components/render-block/render-component.js +2 -2
- package/dist/rsc/components/render-block/render-repeated-block.js +1 -1
- package/dist/rsc/components/render-blocks.js +2 -2
- package/dist/rsc/components/render-content/components/render-styles.js +1 -1
- package/dist/rsc/components/render-content/index.js +1 -1
- package/dist/rsc/components/render-content/render-content.js +2 -2
- package/dist/rsc/components/render-inlined-styles.js +2 -2
- package/dist/rsc/constants/builder-registered-components.js +11 -11
- package/dist/rsc/index-helpers/blocks-exports.js +10 -10
- package/package.json +1 -1
- package/packages/react/src/blocks/columns/columns.jsx +2 -2
- package/packages/react/src/blocks/form/form.jsx +2 -2
- package/packages/react/src/blocks/symbol/symbol.jsx +1 -1
- package/packages/react/src/components/render-block/block-styles.jsx +1 -1
- package/packages/react/src/components/render-block/render-block.jsx +3 -3
- package/packages/react/src/components/render-block/render-component.jsx +2 -2
- package/packages/react/src/components/render-block/render-repeated-block.jsx +1 -1
- package/packages/react/src/components/render-blocks.jsx +2 -2
- package/packages/react/src/components/render-content/components/render-styles.jsx +1 -1
- package/packages/react/src/components/render-content/index.js +1 -1
- package/packages/react/src/components/render-content/render-content.jsx +2 -2
- package/packages/react/src/components/render-inlined-styles.jsx +2 -2
- package/packages/react/src/constants/builder-registered-components.js +11 -11
- package/packages/react/src/index-helpers/blocks-exports.js +10 -10
- package/packages/rsc/src/blocks/columns/columns.jsx +2 -2
- package/packages/rsc/src/blocks/form/form.jsx +2 -2
- package/packages/rsc/src/blocks/symbol/symbol.jsx +1 -1
- package/packages/rsc/src/components/render-block/block-styles.jsx +1 -1
- package/packages/rsc/src/components/render-block/render-block.jsx +3 -3
- package/packages/rsc/src/components/render-block/render-component.jsx +2 -2
- package/packages/rsc/src/components/render-block/render-repeated-block.jsx +1 -1
- package/packages/rsc/src/components/render-blocks.jsx +2 -2
- package/packages/rsc/src/components/render-content/components/render-styles.jsx +1 -1
- package/packages/rsc/src/components/render-content/index.js +1 -1
- package/packages/rsc/src/components/render-content/render-content.jsx +2 -2
- package/packages/rsc/src/components/render-inlined-styles.jsx +2 -4
- package/packages/rsc/src/constants/builder-registered-components.js +11 -11
- package/packages/rsc/src/index-helpers/blocks-exports.js +10 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderBlocks from "../../components/render-blocks
|
|
2
|
+
import RenderBlocks from "../../components/render-blocks";
|
|
3
3
|
import { getSizesForBreakpoints } from "../../constants/device-sizes";
|
|
4
|
-
import RenderInlinedStyles from "../../components/render-inlined-styles
|
|
4
|
+
import RenderInlinedStyles from "../../components/render-inlined-styles";
|
|
5
5
|
import { TARGET } from "../../constants/target.js";
|
|
6
6
|
import { convertStyleMapToCSS } from "../../helpers/css";
|
|
7
7
|
export default function Columns(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useState, useContext, useRef } from "react";
|
|
3
|
-
import RenderBlock from "../../components/render-block/render-block
|
|
4
|
-
import BuilderBlocks from "../../components/render-blocks
|
|
3
|
+
import RenderBlock from "../../components/render-block/render-block";
|
|
4
|
+
import BuilderBlocks from "../../components/render-blocks";
|
|
5
5
|
import { isEditing } from "../../functions/is-editing.js";
|
|
6
6
|
export default function FormComponent(props) {
|
|
7
7
|
const formRef = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useState, useContext, useEffect } from "react";
|
|
3
|
-
import RenderContent from "../../components/render-content/render-content
|
|
3
|
+
import RenderContent from "../../components/render-content/render-content";
|
|
4
4
|
import BuilderContext from "../../context/builder.context.js";
|
|
5
5
|
import { getContent } from "../../functions/get-content/index.js";
|
|
6
6
|
import { TARGET } from "../../constants/target";
|
|
@@ -3,7 +3,7 @@ import { getMaxWidthQueryForSize, getSizesForBreakpoints, } from "../../constant
|
|
|
3
3
|
import { TARGET } from "../../constants/target.js";
|
|
4
4
|
import { getProcessedBlock } from "../../functions/get-processed-block.js";
|
|
5
5
|
import { createCssClass } from "../../helpers/css.js";
|
|
6
|
-
import RenderInlinedStyles from "../render-inlined-styles
|
|
6
|
+
import RenderInlinedStyles from "../render-inlined-styles";
|
|
7
7
|
export default function BlockStyles(props) {
|
|
8
8
|
function useBlock() {
|
|
9
9
|
return getProcessedBlock({
|
|
@@ -5,12 +5,12 @@ import { getBlockComponentOptions } from "../../functions/get-block-component-op
|
|
|
5
5
|
import { getBlockProperties } from "../../functions/get-block-properties.js";
|
|
6
6
|
import { getBlockTag } from "../../functions/get-block-tag.js";
|
|
7
7
|
import { getProcessedBlock } from "../../functions/get-processed-block.js";
|
|
8
|
-
import BlockStyles from "./block-styles
|
|
8
|
+
import BlockStyles from "./block-styles";
|
|
9
9
|
import { getComponent, getRepeatItemData, isEmptyHtmlElement, } from "./render-block.helpers.js";
|
|
10
|
-
import RenderRepeatedBlock from "./render-repeated-block
|
|
10
|
+
import RenderRepeatedBlock from "./render-repeated-block";
|
|
11
11
|
import { TARGET } from "../../constants/target.js";
|
|
12
12
|
import { extractTextStyles } from "../../functions/extract-text-styles.js";
|
|
13
|
-
import RenderComponent from "./render-component
|
|
13
|
+
import RenderComponent from "./render-component";
|
|
14
14
|
import { getReactNativeBlockStyles } from "../../functions/get-react-native-block-styles.js";
|
|
15
15
|
export default function RenderBlock(props) {
|
|
16
16
|
const [component, setComponent] = useState(() => getComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import BlockStyles from "./block-styles
|
|
3
|
-
import RenderBlock from "./render-block
|
|
2
|
+
import BlockStyles from "./block-styles";
|
|
3
|
+
import RenderBlock from "./render-block";
|
|
4
4
|
export default function RenderComponent(props) {
|
|
5
5
|
const ComponentRefRef = props.componentRef;
|
|
6
6
|
return (React.createElement(React.Fragment, null, props.componentRef ? (React.createElement(React.Fragment, null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useContext } from "react";
|
|
3
3
|
import BuilderContext from "../../context/builder.context.js";
|
|
4
|
-
import RenderBlock from "./render-block
|
|
4
|
+
import RenderBlock from "./render-block";
|
|
5
5
|
export default function RenderRepeatedBlock(props) {
|
|
6
6
|
return (React.createElement(BuilderContext.Provider, { value: {
|
|
7
7
|
content: props.repeatContext.content,
|
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { useContext } from "react";
|
|
3
3
|
import BuilderContext from "../context/builder.context.js";
|
|
4
4
|
import { isEditing } from "../functions/is-editing.js";
|
|
5
|
-
import BlockStyles from "./render-block/block-styles
|
|
6
|
-
import RenderBlock from "./render-block/render-block
|
|
5
|
+
import BlockStyles from "./render-block/block-styles";
|
|
6
|
+
import RenderBlock from "./render-block/render-block";
|
|
7
7
|
export default function RenderBlocks(props) {
|
|
8
8
|
function className() {
|
|
9
9
|
return "builder-blocks" + (!props.blocks?.length ? " no-blocks" : "");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderInlinedStyles from "../../render-inlined-styles
|
|
2
|
+
import RenderInlinedStyles from "../../render-inlined-styles";
|
|
3
3
|
export default function RenderContentStyles(props) {
|
|
4
4
|
function getCssFromFont(font) {
|
|
5
5
|
// TODO: compute what font sizes are used and only load those.......
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { default as default2 } from "./render-content
|
|
1
|
+
import { default as default2 } from "./render-content";
|
|
2
2
|
export { default2 as default };
|
|
@@ -10,8 +10,8 @@ import { isEditing } from "../../functions/is-editing.js";
|
|
|
10
10
|
import { isPreviewing } from "../../functions/is-previewing.js";
|
|
11
11
|
import { components, createRegisterComponentMessage, } from "../../functions/register-component.js";
|
|
12
12
|
import { _track } from "../../functions/track/index.js";
|
|
13
|
-
import RenderBlocks from "../render-blocks
|
|
14
|
-
import RenderContentStyles from "./components/render-styles
|
|
13
|
+
import RenderBlocks from "../render-blocks";
|
|
14
|
+
import RenderContentStyles from "./components/render-styles";
|
|
15
15
|
import builderContext from "../../context/builder.context.js";
|
|
16
16
|
import { registerInsertMenu, setupBrowserForEditing, } from "../../scripts/init-editing.js";
|
|
17
17
|
import { checkIsDefined } from "../../helpers/nullable.js";
|
|
@@ -10,6 +10,6 @@ export default function RenderInlinedStyles(props) {
|
|
|
10
10
|
return "sty" + "le";
|
|
11
11
|
}
|
|
12
12
|
const TagRef = tag();
|
|
13
|
-
return (React.createElement(React.Fragment, null, TARGET === "svelte" ? (React.createElement(React.Fragment, null,
|
|
14
|
-
React.createElement(
|
|
13
|
+
return (React.createElement(React.Fragment, null, TARGET === "svelte" || TARGET === "qwik" ? (React.createElement(React.Fragment, null,
|
|
14
|
+
React.createElement(TagRef, { dangerouslySetInnerHTML: { __html: props.styles } }))) : (React.createElement(TagRef, null, props.styles))));
|
|
15
15
|
}
|
|
@@ -14,27 +14,27 @@ var __spreadValues = (a, b) => {
|
|
|
14
14
|
}
|
|
15
15
|
return a;
|
|
16
16
|
};
|
|
17
|
-
import { default as Button } from "../blocks/button/button
|
|
17
|
+
import { default as Button } from "../blocks/button/button";
|
|
18
18
|
import { componentInfo as buttonComponentInfo } from "../blocks/button/component-info.js";
|
|
19
|
-
import { default as Columns } from "../blocks/columns/columns
|
|
19
|
+
import { default as Columns } from "../blocks/columns/columns";
|
|
20
20
|
import { componentInfo as columnsComponentInfo } from "../blocks/columns/component-info.js";
|
|
21
21
|
import { componentInfo as fragmentComponentInfo } from "../blocks/fragment/component-info.js";
|
|
22
|
-
import { default as Fragment } from "../blocks/fragment/fragment
|
|
22
|
+
import { default as Fragment } from "../blocks/fragment/fragment";
|
|
23
23
|
import { componentInfo as imageComponentInfo } from "../blocks/image/component-info.js";
|
|
24
|
-
import { default as Image } from "../blocks/image/image
|
|
24
|
+
import { default as Image } from "../blocks/image/image";
|
|
25
25
|
import { componentInfo as sectionComponentInfo } from "../blocks/section/component-info.js";
|
|
26
|
-
import { default as Section } from "../blocks/section/section
|
|
26
|
+
import { default as Section } from "../blocks/section/section";
|
|
27
27
|
import { componentInfo as symbolComponentInfo } from "../blocks/symbol/component-info.js";
|
|
28
|
-
import { default as Symbol } from "../blocks/symbol/symbol
|
|
28
|
+
import { default as Symbol } from "../blocks/symbol/symbol";
|
|
29
29
|
import { componentInfo as textComponentInfo } from "../blocks/text/component-info.js";
|
|
30
|
-
import { default as Text } from "../blocks/text/text
|
|
30
|
+
import { default as Text } from "../blocks/text/text";
|
|
31
31
|
import { componentInfo as videoComponentInfo } from "../blocks/video/component-info.js";
|
|
32
|
-
import { default as Video } from "../blocks/video/video
|
|
32
|
+
import { default as Video } from "../blocks/video/video";
|
|
33
33
|
import { componentInfo as embedComponentInfo } from "../blocks/embed/component-info.js";
|
|
34
|
-
import { default as embed } from "../blocks/embed/embed
|
|
35
|
-
import { default as Img } from "../blocks/img/img
|
|
34
|
+
import { default as embed } from "../blocks/embed/embed";
|
|
35
|
+
import { default as Img } from "../blocks/img/img";
|
|
36
36
|
import { componentInfo as imgComponentInfo } from "../blocks/img/component-info.js";
|
|
37
|
-
import { default as customCode } from "../blocks/custom-code/custom-code
|
|
37
|
+
import { default as customCode } from "../blocks/custom-code/custom-code";
|
|
38
38
|
import { componentInfo as customCodeInfo } from "../blocks/custom-code/component-info.js";
|
|
39
39
|
const getDefaultRegisteredComponents = () => [
|
|
40
40
|
__spreadValues({ component: Columns }, columnsComponentInfo),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { default as default2 } from "../blocks/columns/columns
|
|
2
|
-
import { default as default3 } from "../blocks/image/image
|
|
3
|
-
import { default as default4 } from "../blocks/text/text
|
|
4
|
-
import { default as default5 } from "../blocks/video/video
|
|
5
|
-
import { default as default6 } from "../blocks/symbol/symbol
|
|
6
|
-
import { default as default7 } from "../blocks/button/button
|
|
7
|
-
import { default as default8 } from "../blocks/section/section
|
|
8
|
-
import { default as default9 } from "../blocks/fragment/fragment
|
|
9
|
-
import { default as default10 } from "../components/render-content/render-content
|
|
10
|
-
import { default as default11 } from "../components/render-blocks
|
|
1
|
+
import { default as default2 } from "../blocks/columns/columns";
|
|
2
|
+
import { default as default3 } from "../blocks/image/image";
|
|
3
|
+
import { default as default4 } from "../blocks/text/text";
|
|
4
|
+
import { default as default5 } from "../blocks/video/video";
|
|
5
|
+
import { default as default6 } from "../blocks/symbol/symbol";
|
|
6
|
+
import { default as default7 } from "../blocks/button/button";
|
|
7
|
+
import { default as default8 } from "../blocks/section/section";
|
|
8
|
+
import { default as default9 } from "../blocks/fragment/fragment";
|
|
9
|
+
import { default as default10 } from "../components/render-content/render-content";
|
|
10
|
+
import { default as default11 } from "../components/render-blocks";
|
|
11
11
|
export { default7 as Button, default2 as Columns, default9 as Fragment, default3 as Image, default11 as RenderBlocks, default10 as RenderContent, default8 as Section, default6 as Symbol, default4 as Text, default5 as Video };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderBlocks from "../../components/render-blocks
|
|
2
|
+
import RenderBlocks from "../../components/render-blocks";
|
|
3
3
|
import { getSizesForBreakpoints } from "../../constants/device-sizes";
|
|
4
|
-
import RenderInlinedStyles from "../../components/render-inlined-styles
|
|
4
|
+
import RenderInlinedStyles from "../../components/render-inlined-styles";
|
|
5
5
|
import { TARGET } from "../../constants/target.js";
|
|
6
6
|
import { convertStyleMapToCSS } from "../../helpers/css";
|
|
7
7
|
export default function Columns(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderBlock from "../../components/render-block/render-block
|
|
3
|
-
import BuilderBlocks from "../../components/render-blocks
|
|
2
|
+
import RenderBlock from "../../components/render-block/render-block";
|
|
3
|
+
import BuilderBlocks from "../../components/render-blocks";
|
|
4
4
|
import { isEditing } from "../../functions/is-editing.js";
|
|
5
5
|
export default function FormComponent(props) {
|
|
6
6
|
const _context = { ...props["_context"] };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderContent from "../../components/render-content/render-content
|
|
2
|
+
import RenderContent from "../../components/render-content/render-content";
|
|
3
3
|
import BuilderContext from "../../context/builder.context.js";
|
|
4
4
|
import { getContent } from "../../functions/get-content/index.js";
|
|
5
5
|
import { TARGET } from "../../constants/target";
|
|
@@ -3,7 +3,7 @@ import { getMaxWidthQueryForSize, getSizesForBreakpoints, } from "../../constant
|
|
|
3
3
|
import { TARGET } from "../../constants/target.js";
|
|
4
4
|
import { getProcessedBlock } from "../../functions/get-processed-block.js";
|
|
5
5
|
import { createCssClass } from "../../helpers/css.js";
|
|
6
|
-
import RenderInlinedStyles from "../render-inlined-styles
|
|
6
|
+
import RenderInlinedStyles from "../render-inlined-styles";
|
|
7
7
|
export default function BlockStyles(props) {
|
|
8
8
|
const _context = { ...props["_context"] };
|
|
9
9
|
const state = {
|
|
@@ -4,12 +4,12 @@ import { getBlockComponentOptions } from "../../functions/get-block-component-op
|
|
|
4
4
|
import { getBlockProperties } from "../../functions/get-block-properties.js";
|
|
5
5
|
import { getBlockTag } from "../../functions/get-block-tag.js";
|
|
6
6
|
import { getProcessedBlock } from "../../functions/get-processed-block.js";
|
|
7
|
-
import BlockStyles from "./block-styles
|
|
7
|
+
import BlockStyles from "./block-styles";
|
|
8
8
|
import { getComponent, getRepeatItemData, isEmptyHtmlElement, } from "./render-block.helpers.js";
|
|
9
|
-
import RenderRepeatedBlock from "./render-repeated-block
|
|
9
|
+
import RenderRepeatedBlock from "./render-repeated-block";
|
|
10
10
|
import { TARGET } from "../../constants/target.js";
|
|
11
11
|
import { extractTextStyles } from "../../functions/extract-text-styles.js";
|
|
12
|
-
import RenderComponent from "./render-component
|
|
12
|
+
import RenderComponent from "./render-component";
|
|
13
13
|
import { getReactNativeBlockStyles } from "../../functions/get-react-native-block-styles.js";
|
|
14
14
|
export default function RenderBlock(props) {
|
|
15
15
|
const _context = { ...props["_context"] };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import BlockStyles from "./block-styles
|
|
3
|
-
import RenderBlock from "./render-block
|
|
2
|
+
import BlockStyles from "./block-styles";
|
|
3
|
+
import RenderBlock from "./render-block";
|
|
4
4
|
export default function RenderComponent(props) {
|
|
5
5
|
const _context = { ...props["_context"] };
|
|
6
6
|
const ComponentRefRef = props.componentRef;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import BuilderContext from "../../context/builder.context.js";
|
|
3
|
-
import RenderBlock from "./render-block
|
|
3
|
+
import RenderBlock from "./render-block";
|
|
4
4
|
export default function RenderRepeatedBlock(props) {
|
|
5
5
|
const _context = { ...props["_context"] };
|
|
6
6
|
_context.BuilderContext = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import BuilderContext from "../context/builder.context.js";
|
|
3
3
|
import { isEditing } from "../functions/is-editing.js";
|
|
4
|
-
import BlockStyles from "./render-block/block-styles
|
|
5
|
-
import RenderBlock from "./render-block/render-block
|
|
4
|
+
import BlockStyles from "./render-block/block-styles";
|
|
5
|
+
import RenderBlock from "./render-block/render-block";
|
|
6
6
|
export default function RenderBlocks(props) {
|
|
7
7
|
const _context = { ...props["_context"] };
|
|
8
8
|
const state = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderInlinedStyles from "../../render-inlined-styles
|
|
2
|
+
import RenderInlinedStyles from "../../render-inlined-styles";
|
|
3
3
|
export default function RenderContentStyles(props) {
|
|
4
4
|
const _context = { ...props["_context"] };
|
|
5
5
|
const state = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { default as default2 } from "./render-content
|
|
1
|
+
import { default as default2 } from "./render-content";
|
|
2
2
|
export { default2 as default };
|
|
@@ -9,8 +9,8 @@ import { isEditing } from "../../functions/is-editing.js";
|
|
|
9
9
|
import { isPreviewing } from "../../functions/is-previewing.js";
|
|
10
10
|
import { components, createRegisterComponentMessage, } from "../../functions/register-component.js";
|
|
11
11
|
import { _track } from "../../functions/track/index.js";
|
|
12
|
-
import RenderBlocks from "../render-blocks
|
|
13
|
-
import RenderContentStyles from "./components/render-styles
|
|
12
|
+
import RenderBlocks from "../render-blocks";
|
|
13
|
+
import RenderContentStyles from "./components/render-styles";
|
|
14
14
|
import builderContext from "../../context/builder.context.js";
|
|
15
15
|
import { registerInsertMenu, setupBrowserForEditing, } from "../../scripts/init-editing.js";
|
|
16
16
|
import { checkIsDefined } from "../../helpers/nullable.js";
|
|
@@ -13,6 +13,6 @@ export default function RenderInlinedStyles(props) {
|
|
|
13
13
|
},
|
|
14
14
|
};
|
|
15
15
|
const TagRef = state.tag;
|
|
16
|
-
return (React.createElement(React.Fragment, null, TARGET === "svelte" ? (React.createElement(React.Fragment, null,
|
|
17
|
-
React.createElement(
|
|
16
|
+
return (React.createElement(React.Fragment, null, TARGET === "svelte" || TARGET === "qwik" ? (React.createElement(React.Fragment, null,
|
|
17
|
+
React.createElement(TagRef, { dangerouslySetInnerHTML: { __html: props.styles } }))) : (React.createElement(TagRef, null, props.styles))));
|
|
18
18
|
}
|
|
@@ -14,27 +14,27 @@ var __spreadValues = (a, b) => {
|
|
|
14
14
|
}
|
|
15
15
|
return a;
|
|
16
16
|
};
|
|
17
|
-
import { default as Button } from "../blocks/button/button
|
|
17
|
+
import { default as Button } from "../blocks/button/button";
|
|
18
18
|
import { componentInfo as buttonComponentInfo } from "../blocks/button/component-info.js";
|
|
19
|
-
import { default as Columns } from "../blocks/columns/columns
|
|
19
|
+
import { default as Columns } from "../blocks/columns/columns";
|
|
20
20
|
import { componentInfo as columnsComponentInfo } from "../blocks/columns/component-info.js";
|
|
21
21
|
import { componentInfo as fragmentComponentInfo } from "../blocks/fragment/component-info.js";
|
|
22
|
-
import { default as Fragment } from "../blocks/fragment/fragment
|
|
22
|
+
import { default as Fragment } from "../blocks/fragment/fragment";
|
|
23
23
|
import { componentInfo as imageComponentInfo } from "../blocks/image/component-info.js";
|
|
24
|
-
import { default as Image } from "../blocks/image/image
|
|
24
|
+
import { default as Image } from "../blocks/image/image";
|
|
25
25
|
import { componentInfo as sectionComponentInfo } from "../blocks/section/component-info.js";
|
|
26
|
-
import { default as Section } from "../blocks/section/section
|
|
26
|
+
import { default as Section } from "../blocks/section/section";
|
|
27
27
|
import { componentInfo as symbolComponentInfo } from "../blocks/symbol/component-info.js";
|
|
28
|
-
import { default as Symbol } from "../blocks/symbol/symbol
|
|
28
|
+
import { default as Symbol } from "../blocks/symbol/symbol";
|
|
29
29
|
import { componentInfo as textComponentInfo } from "../blocks/text/component-info.js";
|
|
30
|
-
import { default as Text } from "../blocks/text/text
|
|
30
|
+
import { default as Text } from "../blocks/text/text";
|
|
31
31
|
import { componentInfo as videoComponentInfo } from "../blocks/video/component-info.js";
|
|
32
|
-
import { default as Video } from "../blocks/video/video
|
|
32
|
+
import { default as Video } from "../blocks/video/video";
|
|
33
33
|
import { componentInfo as embedComponentInfo } from "../blocks/embed/component-info.js";
|
|
34
|
-
import { default as embed } from "../blocks/embed/embed
|
|
35
|
-
import { default as Img } from "../blocks/img/img
|
|
34
|
+
import { default as embed } from "../blocks/embed/embed";
|
|
35
|
+
import { default as Img } from "../blocks/img/img";
|
|
36
36
|
import { componentInfo as imgComponentInfo } from "../blocks/img/component-info.js";
|
|
37
|
-
import { default as customCode } from "../blocks/custom-code/custom-code
|
|
37
|
+
import { default as customCode } from "../blocks/custom-code/custom-code";
|
|
38
38
|
import { componentInfo as customCodeInfo } from "../blocks/custom-code/component-info.js";
|
|
39
39
|
const getDefaultRegisteredComponents = () => [
|
|
40
40
|
__spreadValues({ component: Columns }, columnsComponentInfo),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { default as default2 } from "../blocks/columns/columns
|
|
2
|
-
import { default as default3 } from "../blocks/image/image
|
|
3
|
-
import { default as default4 } from "../blocks/text/text
|
|
4
|
-
import { default as default5 } from "../blocks/video/video
|
|
5
|
-
import { default as default6 } from "../blocks/symbol/symbol
|
|
6
|
-
import { default as default7 } from "../blocks/button/button
|
|
7
|
-
import { default as default8 } from "../blocks/section/section
|
|
8
|
-
import { default as default9 } from "../blocks/fragment/fragment
|
|
9
|
-
import { default as default10 } from "../components/render-content/render-content
|
|
10
|
-
import { default as default11 } from "../components/render-blocks
|
|
1
|
+
import { default as default2 } from "../blocks/columns/columns";
|
|
2
|
+
import { default as default3 } from "../blocks/image/image";
|
|
3
|
+
import { default as default4 } from "../blocks/text/text";
|
|
4
|
+
import { default as default5 } from "../blocks/video/video";
|
|
5
|
+
import { default as default6 } from "../blocks/symbol/symbol";
|
|
6
|
+
import { default as default7 } from "../blocks/button/button";
|
|
7
|
+
import { default as default8 } from "../blocks/section/section";
|
|
8
|
+
import { default as default9 } from "../blocks/fragment/fragment";
|
|
9
|
+
import { default as default10 } from "../components/render-content/render-content";
|
|
10
|
+
import { default as default11 } from "../components/render-blocks";
|
|
11
11
|
export { default7 as Button, default2 as Columns, default9 as Fragment, default3 as Image, default11 as RenderBlocks, default10 as RenderContent, default8 as Section, default6 as Symbol, default4 as Text, default5 as Video };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderBlocks from "../../components/render-blocks
|
|
2
|
+
import RenderBlocks from "../../components/render-blocks";
|
|
3
3
|
import { getSizesForBreakpoints } from "../../constants/device-sizes";
|
|
4
|
-
import RenderInlinedStyles from "../../components/render-inlined-styles
|
|
4
|
+
import RenderInlinedStyles from "../../components/render-inlined-styles";
|
|
5
5
|
import { TARGET } from "../../constants/target.js";
|
|
6
6
|
import { convertStyleMapToCSS } from "../../helpers/css";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useState, useContext, useRef } from "react";
|
|
3
|
-
import RenderBlock from "../../components/render-block/render-block
|
|
4
|
-
import BuilderBlocks from "../../components/render-blocks
|
|
3
|
+
import RenderBlock from "../../components/render-block/render-block";
|
|
4
|
+
import BuilderBlocks from "../../components/render-blocks";
|
|
5
5
|
import { isEditing } from "../../functions/is-editing.js";
|
|
6
6
|
|
|
7
7
|
export default function FormComponent(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useState, useContext, useEffect } from "react";
|
|
3
|
-
import RenderContent from "../../components/render-content/render-content
|
|
3
|
+
import RenderContent from "../../components/render-content/render-content";
|
|
4
4
|
import BuilderContext from "../../context/builder.context.js";
|
|
5
5
|
import { getContent } from "../../functions/get-content/index.js";
|
|
6
6
|
import { TARGET } from "../../constants/target";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import { TARGET } from "../../constants/target.js";
|
|
7
7
|
import { getProcessedBlock } from "../../functions/get-processed-block.js";
|
|
8
8
|
import { createCssClass } from "../../helpers/css.js";
|
|
9
|
-
import RenderInlinedStyles from "../render-inlined-styles
|
|
9
|
+
import RenderInlinedStyles from "../render-inlined-styles";
|
|
10
10
|
|
|
11
11
|
export default function BlockStyles(props) {
|
|
12
12
|
function useBlock() {
|
|
@@ -5,16 +5,16 @@ import { getBlockComponentOptions } from "../../functions/get-block-component-op
|
|
|
5
5
|
import { getBlockProperties } from "../../functions/get-block-properties.js";
|
|
6
6
|
import { getBlockTag } from "../../functions/get-block-tag.js";
|
|
7
7
|
import { getProcessedBlock } from "../../functions/get-processed-block.js";
|
|
8
|
-
import BlockStyles from "./block-styles
|
|
8
|
+
import BlockStyles from "./block-styles";
|
|
9
9
|
import {
|
|
10
10
|
getComponent,
|
|
11
11
|
getRepeatItemData,
|
|
12
12
|
isEmptyHtmlElement,
|
|
13
13
|
} from "./render-block.helpers.js";
|
|
14
|
-
import RenderRepeatedBlock from "./render-repeated-block
|
|
14
|
+
import RenderRepeatedBlock from "./render-repeated-block";
|
|
15
15
|
import { TARGET } from "../../constants/target.js";
|
|
16
16
|
import { extractTextStyles } from "../../functions/extract-text-styles.js";
|
|
17
|
-
import RenderComponent from "./render-component
|
|
17
|
+
import RenderComponent from "./render-component";
|
|
18
18
|
import { getReactNativeBlockStyles } from "../../functions/get-react-native-block-styles.js";
|
|
19
19
|
|
|
20
20
|
export default function RenderBlock(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import BlockStyles from "./block-styles
|
|
3
|
-
import RenderBlock from "./render-block
|
|
2
|
+
import BlockStyles from "./block-styles";
|
|
3
|
+
import RenderBlock from "./render-block";
|
|
4
4
|
|
|
5
5
|
export default function RenderComponent(props) {
|
|
6
6
|
const ComponentRefRef = props.componentRef;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useContext } from "react";
|
|
3
3
|
import BuilderContext from "../../context/builder.context.js";
|
|
4
|
-
import RenderBlock from "./render-block
|
|
4
|
+
import RenderBlock from "./render-block";
|
|
5
5
|
|
|
6
6
|
export default function RenderRepeatedBlock(props) {
|
|
7
7
|
return (
|
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { useContext } from "react";
|
|
3
3
|
import BuilderContext from "../context/builder.context.js";
|
|
4
4
|
import { isEditing } from "../functions/is-editing.js";
|
|
5
|
-
import BlockStyles from "./render-block/block-styles
|
|
6
|
-
import RenderBlock from "./render-block/render-block
|
|
5
|
+
import BlockStyles from "./render-block/block-styles";
|
|
6
|
+
import RenderBlock from "./render-block/render-block";
|
|
7
7
|
|
|
8
8
|
export default function RenderBlocks(props) {
|
|
9
9
|
function className() {
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
createRegisterComponentMessage,
|
|
14
14
|
} from "../../functions/register-component.js";
|
|
15
15
|
import { _track } from "../../functions/track/index.js";
|
|
16
|
-
import RenderBlocks from "../render-blocks
|
|
17
|
-
import RenderContentStyles from "./components/render-styles
|
|
16
|
+
import RenderBlocks from "../render-blocks";
|
|
17
|
+
import RenderContentStyles from "./components/render-styles";
|
|
18
18
|
import builderContext from "../../context/builder.context.js";
|
|
19
19
|
import {
|
|
20
20
|
registerInsertMenu,
|
|
@@ -16,9 +16,9 @@ export default function RenderInlinedStyles(props) {
|
|
|
16
16
|
|
|
17
17
|
return (
|
|
18
18
|
<>
|
|
19
|
-
{TARGET === "svelte" ? (
|
|
19
|
+
{TARGET === "svelte" || TARGET === "qwik" ? (
|
|
20
20
|
<>
|
|
21
|
-
<
|
|
21
|
+
<TagRef dangerouslySetInnerHTML={{ __html: props.styles }} />
|
|
22
22
|
</>
|
|
23
23
|
) : (
|
|
24
24
|
<TagRef>{props.styles}</TagRef>
|
|
@@ -14,27 +14,27 @@ var __spreadValues = (a, b) => {
|
|
|
14
14
|
}
|
|
15
15
|
return a;
|
|
16
16
|
};
|
|
17
|
-
import { default as Button } from "../blocks/button/button
|
|
17
|
+
import { default as Button } from "../blocks/button/button";
|
|
18
18
|
import { componentInfo as buttonComponentInfo } from "../blocks/button/component-info.js";
|
|
19
|
-
import { default as Columns } from "../blocks/columns/columns
|
|
19
|
+
import { default as Columns } from "../blocks/columns/columns";
|
|
20
20
|
import { componentInfo as columnsComponentInfo } from "../blocks/columns/component-info.js";
|
|
21
21
|
import { componentInfo as fragmentComponentInfo } from "../blocks/fragment/component-info.js";
|
|
22
|
-
import { default as Fragment } from "../blocks/fragment/fragment
|
|
22
|
+
import { default as Fragment } from "../blocks/fragment/fragment";
|
|
23
23
|
import { componentInfo as imageComponentInfo } from "../blocks/image/component-info.js";
|
|
24
|
-
import { default as Image } from "../blocks/image/image
|
|
24
|
+
import { default as Image } from "../blocks/image/image";
|
|
25
25
|
import { componentInfo as sectionComponentInfo } from "../blocks/section/component-info.js";
|
|
26
|
-
import { default as Section } from "../blocks/section/section
|
|
26
|
+
import { default as Section } from "../blocks/section/section";
|
|
27
27
|
import { componentInfo as symbolComponentInfo } from "../blocks/symbol/component-info.js";
|
|
28
|
-
import { default as Symbol } from "../blocks/symbol/symbol
|
|
28
|
+
import { default as Symbol } from "../blocks/symbol/symbol";
|
|
29
29
|
import { componentInfo as textComponentInfo } from "../blocks/text/component-info.js";
|
|
30
|
-
import { default as Text } from "../blocks/text/text
|
|
30
|
+
import { default as Text } from "../blocks/text/text";
|
|
31
31
|
import { componentInfo as videoComponentInfo } from "../blocks/video/component-info.js";
|
|
32
|
-
import { default as Video } from "../blocks/video/video
|
|
32
|
+
import { default as Video } from "../blocks/video/video";
|
|
33
33
|
import { componentInfo as embedComponentInfo } from "../blocks/embed/component-info.js";
|
|
34
|
-
import { default as embed } from "../blocks/embed/embed
|
|
35
|
-
import { default as Img } from "../blocks/img/img
|
|
34
|
+
import { default as embed } from "../blocks/embed/embed";
|
|
35
|
+
import { default as Img } from "../blocks/img/img";
|
|
36
36
|
import { componentInfo as imgComponentInfo } from "../blocks/img/component-info.js";
|
|
37
|
-
import { default as customCode } from "../blocks/custom-code/custom-code
|
|
37
|
+
import { default as customCode } from "../blocks/custom-code/custom-code";
|
|
38
38
|
import { componentInfo as customCodeInfo } from "../blocks/custom-code/component-info.js";
|
|
39
39
|
const getDefaultRegisteredComponents = () => [
|
|
40
40
|
__spreadValues({ component: Columns }, columnsComponentInfo),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { default as default2 } from "../blocks/columns/columns
|
|
2
|
-
import { default as default3 } from "../blocks/image/image
|
|
3
|
-
import { default as default4 } from "../blocks/text/text
|
|
4
|
-
import { default as default5 } from "../blocks/video/video
|
|
5
|
-
import { default as default6 } from "../blocks/symbol/symbol
|
|
6
|
-
import { default as default7 } from "../blocks/button/button
|
|
7
|
-
import { default as default8 } from "../blocks/section/section
|
|
8
|
-
import { default as default9 } from "../blocks/fragment/fragment
|
|
9
|
-
import { default as default10 } from "../components/render-content/render-content
|
|
10
|
-
import { default as default11 } from "../components/render-blocks
|
|
1
|
+
import { default as default2 } from "../blocks/columns/columns";
|
|
2
|
+
import { default as default3 } from "../blocks/image/image";
|
|
3
|
+
import { default as default4 } from "../blocks/text/text";
|
|
4
|
+
import { default as default5 } from "../blocks/video/video";
|
|
5
|
+
import { default as default6 } from "../blocks/symbol/symbol";
|
|
6
|
+
import { default as default7 } from "../blocks/button/button";
|
|
7
|
+
import { default as default8 } from "../blocks/section/section";
|
|
8
|
+
import { default as default9 } from "../blocks/fragment/fragment";
|
|
9
|
+
import { default as default10 } from "../components/render-content/render-content";
|
|
10
|
+
import { default as default11 } from "../components/render-blocks";
|
|
11
11
|
export {
|
|
12
12
|
default7 as Button,
|
|
13
13
|
default2 as Columns,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderBlocks from "../../components/render-blocks
|
|
2
|
+
import RenderBlocks from "../../components/render-blocks";
|
|
3
3
|
import { getSizesForBreakpoints } from "../../constants/device-sizes";
|
|
4
|
-
import RenderInlinedStyles from "../../components/render-inlined-styles
|
|
4
|
+
import RenderInlinedStyles from "../../components/render-inlined-styles";
|
|
5
5
|
import { TARGET } from "../../constants/target.js";
|
|
6
6
|
import { convertStyleMapToCSS } from "../../helpers/css";
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderBlock from "../../components/render-block/render-block
|
|
3
|
-
import BuilderBlocks from "../../components/render-blocks
|
|
2
|
+
import RenderBlock from "../../components/render-block/render-block";
|
|
3
|
+
import BuilderBlocks from "../../components/render-blocks";
|
|
4
4
|
import { isEditing } from "../../functions/is-editing.js";
|
|
5
5
|
|
|
6
6
|
export default function FormComponent(props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import RenderContent from "../../components/render-content/render-content
|
|
2
|
+
import RenderContent from "../../components/render-content/render-content";
|
|
3
3
|
import BuilderContext from "../../context/builder.context.js";
|
|
4
4
|
import { getContent } from "../../functions/get-content/index.js";
|
|
5
5
|
import { TARGET } from "../../constants/target";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import { TARGET } from "../../constants/target.js";
|
|
7
7
|
import { getProcessedBlock } from "../../functions/get-processed-block.js";
|
|
8
8
|
import { createCssClass } from "../../helpers/css.js";
|
|
9
|
-
import RenderInlinedStyles from "../render-inlined-styles
|
|
9
|
+
import RenderInlinedStyles from "../render-inlined-styles";
|
|
10
10
|
|
|
11
11
|
export default function BlockStyles(props) {
|
|
12
12
|
const _context = { ...props["_context"] };
|
|
@@ -4,16 +4,16 @@ import { getBlockComponentOptions } from "../../functions/get-block-component-op
|
|
|
4
4
|
import { getBlockProperties } from "../../functions/get-block-properties.js";
|
|
5
5
|
import { getBlockTag } from "../../functions/get-block-tag.js";
|
|
6
6
|
import { getProcessedBlock } from "../../functions/get-processed-block.js";
|
|
7
|
-
import BlockStyles from "./block-styles
|
|
7
|
+
import BlockStyles from "./block-styles";
|
|
8
8
|
import {
|
|
9
9
|
getComponent,
|
|
10
10
|
getRepeatItemData,
|
|
11
11
|
isEmptyHtmlElement,
|
|
12
12
|
} from "./render-block.helpers.js";
|
|
13
|
-
import RenderRepeatedBlock from "./render-repeated-block
|
|
13
|
+
import RenderRepeatedBlock from "./render-repeated-block";
|
|
14
14
|
import { TARGET } from "../../constants/target.js";
|
|
15
15
|
import { extractTextStyles } from "../../functions/extract-text-styles.js";
|
|
16
|
-
import RenderComponent from "./render-component
|
|
16
|
+
import RenderComponent from "./render-component";
|
|
17
17
|
import { getReactNativeBlockStyles } from "../../functions/get-react-native-block-styles.js";
|
|
18
18
|
|
|
19
19
|
export default function RenderBlock(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import BlockStyles from "./block-styles
|
|
3
|
-
import RenderBlock from "./render-block
|
|
2
|
+
import BlockStyles from "./block-styles";
|
|
3
|
+
import RenderBlock from "./render-block";
|
|
4
4
|
|
|
5
5
|
export default function RenderComponent(props) {
|
|
6
6
|
const _context = { ...props["_context"] };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import BuilderContext from "../../context/builder.context.js";
|
|
3
|
-
import RenderBlock from "./render-block
|
|
3
|
+
import RenderBlock from "./render-block";
|
|
4
4
|
|
|
5
5
|
export default function RenderRepeatedBlock(props) {
|
|
6
6
|
const _context = { ...props["_context"] };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import BuilderContext from "../context/builder.context.js";
|
|
3
3
|
import { isEditing } from "../functions/is-editing.js";
|
|
4
|
-
import BlockStyles from "./render-block/block-styles
|
|
5
|
-
import RenderBlock from "./render-block/render-block
|
|
4
|
+
import BlockStyles from "./render-block/block-styles";
|
|
5
|
+
import RenderBlock from "./render-block/render-block";
|
|
6
6
|
|
|
7
7
|
export default function RenderBlocks(props) {
|
|
8
8
|
const _context = { ...props["_context"] };
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
createRegisterComponentMessage,
|
|
13
13
|
} from "../../functions/register-component.js";
|
|
14
14
|
import { _track } from "../../functions/track/index.js";
|
|
15
|
-
import RenderBlocks from "../render-blocks
|
|
16
|
-
import RenderContentStyles from "./components/render-styles
|
|
15
|
+
import RenderBlocks from "../render-blocks";
|
|
16
|
+
import RenderContentStyles from "./components/render-styles";
|
|
17
17
|
import builderContext from "../../context/builder.context.js";
|
|
18
18
|
import {
|
|
19
19
|
registerInsertMenu,
|
|
@@ -19,11 +19,9 @@ export default function RenderInlinedStyles(props) {
|
|
|
19
19
|
|
|
20
20
|
return (
|
|
21
21
|
<>
|
|
22
|
-
{TARGET === "svelte" ? (
|
|
22
|
+
{TARGET === "svelte" || TARGET === "qwik" ? (
|
|
23
23
|
<>
|
|
24
|
-
<
|
|
25
|
-
dangerouslySetInnerHTML={{ __html: state.injectedStyleScript }}
|
|
26
|
-
/>
|
|
24
|
+
<TagRef dangerouslySetInnerHTML={{ __html: props.styles }} />
|
|
27
25
|
</>
|
|
28
26
|
) : (
|
|
29
27
|
<TagRef>{props.styles}</TagRef>
|
|
@@ -14,27 +14,27 @@ var __spreadValues = (a, b) => {
|
|
|
14
14
|
}
|
|
15
15
|
return a;
|
|
16
16
|
};
|
|
17
|
-
import { default as Button } from "../blocks/button/button
|
|
17
|
+
import { default as Button } from "../blocks/button/button";
|
|
18
18
|
import { componentInfo as buttonComponentInfo } from "../blocks/button/component-info.js";
|
|
19
|
-
import { default as Columns } from "../blocks/columns/columns
|
|
19
|
+
import { default as Columns } from "../blocks/columns/columns";
|
|
20
20
|
import { componentInfo as columnsComponentInfo } from "../blocks/columns/component-info.js";
|
|
21
21
|
import { componentInfo as fragmentComponentInfo } from "../blocks/fragment/component-info.js";
|
|
22
|
-
import { default as Fragment } from "../blocks/fragment/fragment
|
|
22
|
+
import { default as Fragment } from "../blocks/fragment/fragment";
|
|
23
23
|
import { componentInfo as imageComponentInfo } from "../blocks/image/component-info.js";
|
|
24
|
-
import { default as Image } from "../blocks/image/image
|
|
24
|
+
import { default as Image } from "../blocks/image/image";
|
|
25
25
|
import { componentInfo as sectionComponentInfo } from "../blocks/section/component-info.js";
|
|
26
|
-
import { default as Section } from "../blocks/section/section
|
|
26
|
+
import { default as Section } from "../blocks/section/section";
|
|
27
27
|
import { componentInfo as symbolComponentInfo } from "../blocks/symbol/component-info.js";
|
|
28
|
-
import { default as Symbol } from "../blocks/symbol/symbol
|
|
28
|
+
import { default as Symbol } from "../blocks/symbol/symbol";
|
|
29
29
|
import { componentInfo as textComponentInfo } from "../blocks/text/component-info.js";
|
|
30
|
-
import { default as Text } from "../blocks/text/text
|
|
30
|
+
import { default as Text } from "../blocks/text/text";
|
|
31
31
|
import { componentInfo as videoComponentInfo } from "../blocks/video/component-info.js";
|
|
32
|
-
import { default as Video } from "../blocks/video/video
|
|
32
|
+
import { default as Video } from "../blocks/video/video";
|
|
33
33
|
import { componentInfo as embedComponentInfo } from "../blocks/embed/component-info.js";
|
|
34
|
-
import { default as embed } from "../blocks/embed/embed
|
|
35
|
-
import { default as Img } from "../blocks/img/img
|
|
34
|
+
import { default as embed } from "../blocks/embed/embed";
|
|
35
|
+
import { default as Img } from "../blocks/img/img";
|
|
36
36
|
import { componentInfo as imgComponentInfo } from "../blocks/img/component-info.js";
|
|
37
|
-
import { default as customCode } from "../blocks/custom-code/custom-code
|
|
37
|
+
import { default as customCode } from "../blocks/custom-code/custom-code";
|
|
38
38
|
import { componentInfo as customCodeInfo } from "../blocks/custom-code/component-info.js";
|
|
39
39
|
const getDefaultRegisteredComponents = () => [
|
|
40
40
|
__spreadValues({ component: Columns }, columnsComponentInfo),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { default as default2 } from "../blocks/columns/columns
|
|
2
|
-
import { default as default3 } from "../blocks/image/image
|
|
3
|
-
import { default as default4 } from "../blocks/text/text
|
|
4
|
-
import { default as default5 } from "../blocks/video/video
|
|
5
|
-
import { default as default6 } from "../blocks/symbol/symbol
|
|
6
|
-
import { default as default7 } from "../blocks/button/button
|
|
7
|
-
import { default as default8 } from "../blocks/section/section
|
|
8
|
-
import { default as default9 } from "../blocks/fragment/fragment
|
|
9
|
-
import { default as default10 } from "../components/render-content/render-content
|
|
10
|
-
import { default as default11 } from "../components/render-blocks
|
|
1
|
+
import { default as default2 } from "../blocks/columns/columns";
|
|
2
|
+
import { default as default3 } from "../blocks/image/image";
|
|
3
|
+
import { default as default4 } from "../blocks/text/text";
|
|
4
|
+
import { default as default5 } from "../blocks/video/video";
|
|
5
|
+
import { default as default6 } from "../blocks/symbol/symbol";
|
|
6
|
+
import { default as default7 } from "../blocks/button/button";
|
|
7
|
+
import { default as default8 } from "../blocks/section/section";
|
|
8
|
+
import { default as default9 } from "../blocks/fragment/fragment";
|
|
9
|
+
import { default as default10 } from "../components/render-content/render-content";
|
|
10
|
+
import { default as default11 } from "../components/render-blocks";
|
|
11
11
|
export {
|
|
12
12
|
default7 as Button,
|
|
13
13
|
default2 as Columns,
|