@builder.io/sdk-react-nextjs 0.13.1 → 0.13.3
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/{USE_CLIENT_BUNDLE-0e2e786f.js → USE_CLIENT_BUNDLE-04cd188b.js} +7 -7
- package/lib/{node/USE_CLIENT_BUNDLE-d6e6f95b.cjs → browser/USE_CLIENT_BUNDLE-dcad73d0.cjs} +1 -1
- package/lib/{edge/USE_SERVER_BUNDLE-2f4d4c84.js → browser/USE_SERVER_BUNDLE-498895bc.js} +1 -1
- package/lib/{edge/USE_SERVER_BUNDLE-eebc5fb9.cjs → browser/USE_SERVER_BUNDLE-f6de6931.cjs} +1 -1
- package/lib/browser/{bundle-8768227a.cjs → bundle-09521c43.cjs} +17 -17
- package/lib/browser/{bundle-a759c640.js → bundle-16af19fc.js} +270 -270
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +8 -8
- package/lib/{browser/USE_CLIENT_BUNDLE-1c19fc49.cjs → edge/USE_CLIENT_BUNDLE-403b6348.cjs} +1 -1
- package/lib/{node/USE_CLIENT_BUNDLE-ea8e582d.js → edge/USE_CLIENT_BUNDLE-5b75ae27.js} +7 -7
- package/lib/{node/USE_SERVER_BUNDLE-18bb0dcb.js → edge/USE_SERVER_BUNDLE-1f2bfec0.js} +1 -1
- package/lib/{node/USE_SERVER_BUNDLE-78694df8.cjs → edge/USE_SERVER_BUNDLE-c05264ac.cjs} +1 -1
- package/lib/edge/{bundle-67a092ad.cjs → bundle-10fb1352.cjs} +23 -23
- package/lib/edge/{bundle-117e4014.js → bundle-32e28c53.js} +298 -298
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +8 -8
- package/lib/{edge/USE_CLIENT_BUNDLE-d79f63a1.cjs → node/USE_CLIENT_BUNDLE-85cf7e92.cjs} +1 -1
- package/lib/{edge/USE_CLIENT_BUNDLE-3b67982b.js → node/USE_CLIENT_BUNDLE-d1e6dcd3.js} +7 -7
- package/lib/{browser/USE_SERVER_BUNDLE-eda321c7.cjs → node/USE_SERVER_BUNDLE-1aafe1f0.cjs} +1 -1
- package/lib/{browser/USE_SERVER_BUNDLE-c5bf5f08.js → node/USE_SERVER_BUNDLE-601fafbe.js} +1 -1
- package/lib/node/{bundle-1f2f3033.cjs → bundle-3f825965.cjs} +5 -5
- package/lib/node/{bundle-457b4e1d.js → bundle-42fea3bc.js} +108 -108
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +8 -8
- package/package.json +1 -1
- package/types/cjs/blocks/columns/columns.d.ts +1 -2
- package/types/cjs/blocks/columns/columns.types.d.ts +2 -2
- package/types/cjs/blocks/form/form/component-info.d.ts +2 -0
- package/types/cjs/blocks/form/form/form.d.ts +33 -0
- package/types/cjs/blocks/form/input/component-info.d.ts +2 -0
- package/types/cjs/blocks/form/input/input.d.ts +15 -0
- package/types/cjs/blocks/form/select/component-info.d.ts +2 -0
- package/types/cjs/blocks/form/select/select.d.ts +16 -0
- package/types/cjs/blocks/form/submit-button/component-info.d.ts +2 -0
- package/types/cjs/blocks/form/submit-button/submit-button.d.ts +10 -0
- package/types/cjs/blocks/slot/slot.d.ts +3 -6
- package/types/cjs/blocks/symbol/symbol.d.ts +1 -2
- package/types/cjs/blocks/symbol/symbol.types.d.ts +2 -2
- package/types/cjs/components/block/components/block-wrapper.d.ts +2 -2
- package/types/cjs/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
- package/types/cjs/components/block/components/interactive-element.d.ts +3 -2
- package/types/cjs/components/blocks/blocks-wrapper.d.ts +2 -2
- package/types/cjs/components/content/content.types.d.ts +1 -8
- package/types/cjs/components/content/contentProps.types.d.ts +12 -0
- package/types/cjs/components/dynamic-renderer/dynamic-renderer.d.ts +4 -3
- package/types/cjs/constants/extra-components.d.ts +7 -0
- package/types/cjs/constants/sdk-version.d.ts +1 -1
- package/types/cjs/functions/get-env.d.ts +2 -0
- package/types/cjs/functions/get.d.ts +1 -0
- package/types/cjs/types/builder-props.d.ts +1 -1
- package/types/cjs/types/input.d.ts +1 -0
- package/types/cjs/types/typescript.d.ts +0 -3
- package/types/esm/blocks/columns/columns.d.ts +1 -2
- package/types/esm/blocks/columns/columns.types.d.ts +2 -2
- package/types/esm/blocks/form/form/component-info.d.ts +2 -0
- package/types/esm/blocks/form/form/form.d.ts +33 -0
- package/types/esm/blocks/form/input/component-info.d.ts +2 -0
- package/types/esm/blocks/form/input/input.d.ts +15 -0
- package/types/esm/blocks/form/select/component-info.d.ts +2 -0
- package/types/esm/blocks/form/select/select.d.ts +16 -0
- package/types/esm/blocks/form/submit-button/component-info.d.ts +2 -0
- package/types/esm/blocks/form/submit-button/submit-button.d.ts +10 -0
- package/types/esm/blocks/slot/slot.d.ts +3 -6
- package/types/esm/blocks/symbol/symbol.d.ts +1 -2
- package/types/esm/blocks/symbol/symbol.types.d.ts +2 -2
- package/types/esm/components/block/components/block-wrapper.d.ts +2 -2
- package/types/esm/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
- package/types/esm/components/block/components/interactive-element.d.ts +3 -2
- package/types/esm/components/blocks/blocks-wrapper.d.ts +2 -2
- package/types/esm/components/content/content.types.d.ts +1 -8
- package/types/esm/components/content/contentProps.types.d.ts +12 -0
- package/types/esm/components/dynamic-renderer/dynamic-renderer.d.ts +4 -3
- package/types/esm/constants/extra-components.d.ts +7 -0
- package/types/esm/constants/sdk-version.d.ts +1 -1
- package/types/esm/functions/get-env.d.ts +2 -0
- package/types/esm/functions/get.d.ts +1 -0
- package/types/esm/types/builder-props.d.ts +1 -1
- package/types/esm/types/input.d.ts +1 -0
- package/types/esm/types/typescript.d.ts +0 -3
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import type { BuilderRenderState } from '../../context/types.js';
|
|
2
|
-
|
|
3
|
-
import type { ContentVariantsPrps } from '../content-variants/content-variants.types.js';
|
|
4
|
-
interface InternalRenderProps {
|
|
5
|
-
showContent: boolean;
|
|
6
|
-
isSsrAbTest: boolean;
|
|
7
|
-
}
|
|
8
|
-
export type ContentProps = InternalRenderProps & EnforcePartials<ContentVariantsPrps>;
|
|
2
|
+
export type { ContentProps } from './contentProps.types.js';
|
|
9
3
|
export interface BuilderComponentStateChange {
|
|
10
4
|
state: BuilderRenderState;
|
|
11
5
|
ref: {
|
|
@@ -17,4 +11,3 @@ export interface BuilderComponentStateChange {
|
|
|
17
11
|
};
|
|
18
12
|
};
|
|
19
13
|
}
|
|
20
|
-
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { EnforcePartials } from '../../types/enforced-partials.js';
|
|
2
|
+
import type { ContentVariantsPrps } from '../content-variants/content-variants.types.js';
|
|
3
|
+
interface InternalRenderProps {
|
|
4
|
+
showContent: boolean;
|
|
5
|
+
isSsrAbTest: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* This is in a separate file so that we can override it (most notably in Vue,
|
|
9
|
+
* where prop types cannot be wrapped by generics like `EnforcePartials`).
|
|
10
|
+
*/
|
|
11
|
+
export type ContentProps = InternalRenderProps & EnforcePartials<ContentVariantsPrps>;
|
|
12
|
+
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export interface DynamicRendererProps {
|
|
3
|
+
children?: any;
|
|
4
4
|
TagName: any;
|
|
5
5
|
attributes: any;
|
|
6
6
|
actionAttributes: any;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
|
+
declare function DynamicRenderer(props: DynamicRendererProps): React.JSX.Element;
|
|
8
9
|
export default DynamicRenderer;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* These are in a separate file because React Native does not support them (yet).
|
|
3
|
+
* Having them in a separate file allows us to override it to be empty in the
|
|
4
|
+
* React Native SDK.
|
|
5
|
+
*/
|
|
6
|
+
import type { RegisteredComponent } from '../context/types.js';
|
|
7
|
+
export declare const getExtraComponents: () => RegisteredComponent[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.13.
|
|
1
|
+
export declare const SDK_VERSION = "0.13.3";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const get: (obj: any, path: string, defaultValue?: any) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BuilderContextInterface, RegisteredComponents } from '../context/types.js';
|
|
2
2
|
import type { BuilderBlock } from './builder-block.js';
|
|
3
|
-
export type
|
|
3
|
+
export type BuilderDataProps = {
|
|
4
4
|
builderBlock: BuilderBlock;
|
|
5
5
|
builderContext: BuilderContextInterface;
|
|
6
6
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { PropsWithBuilderData } from "../../types/builder-props.js";
|
|
3
2
|
import type { ColumnProps } from "./columns.types.js";
|
|
4
|
-
declare function Columns(props:
|
|
3
|
+
declare function Columns(props: ColumnProps): React.JSX.Element;
|
|
5
4
|
export default Columns;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { BuilderBlock } from '../../types/builder-block.js';
|
|
2
|
-
import type { BuilderComponentsProp, BuilderLinkComponentProp } from '../../types/builder-props.js';
|
|
2
|
+
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props.js';
|
|
3
3
|
type Column = {
|
|
4
4
|
blocks: BuilderBlock[];
|
|
5
5
|
width?: number;
|
|
6
6
|
link?: string;
|
|
7
7
|
};
|
|
8
8
|
type StackColumnsAt = 'tablet' | 'mobile' | 'never';
|
|
9
|
-
export interface ColumnProps extends BuilderComponentsProp, BuilderLinkComponentProp {
|
|
9
|
+
export interface ColumnProps extends BuilderComponentsProp, BuilderLinkComponentProp, BuilderDataProps {
|
|
10
10
|
columns?: Column[];
|
|
11
11
|
space?: number;
|
|
12
12
|
stackColumnsAt?: StackColumnsAt;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
4
|
+
*/
|
|
5
|
+
export type FormProps = BuilderDataProps & BuilderComponentsProp & BuilderLinkComponentProp & {
|
|
6
|
+
attributes?: any;
|
|
7
|
+
name?: string;
|
|
8
|
+
action?: string;
|
|
9
|
+
validate?: boolean;
|
|
10
|
+
method?: string;
|
|
11
|
+
sendSubmissionsTo?: string;
|
|
12
|
+
sendSubmissionsToEmail?: string;
|
|
13
|
+
sendWithJs?: boolean;
|
|
14
|
+
contentType?: string;
|
|
15
|
+
customHeaders?: {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
18
|
+
successUrl?: string;
|
|
19
|
+
previewState?: FormState;
|
|
20
|
+
successMessage?: BuilderBlock[];
|
|
21
|
+
errorMessage?: BuilderBlock[];
|
|
22
|
+
sendingMessage?: BuilderBlock[];
|
|
23
|
+
resetFormOnSubmit?: boolean;
|
|
24
|
+
errorMessagePath?: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
28
|
+
*/
|
|
29
|
+
export type FormState = "unsubmitted" | "sending" | "success" | "error";
|
|
30
|
+
import type { BuilderBlock } from "../../../types/builder-block.js";
|
|
31
|
+
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from "../../../types/builder-props.js";
|
|
32
|
+
declare function FormComponent(props: FormProps): React.JSX.Element;
|
|
33
|
+
export default FormComponent;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
4
|
+
*/
|
|
5
|
+
export interface FormInputProps {
|
|
6
|
+
type?: string;
|
|
7
|
+
attributes?: any;
|
|
8
|
+
name?: string;
|
|
9
|
+
value?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare function FormInputComponent(props: FormInputProps): React.JSX.Element;
|
|
15
|
+
export default FormInputComponent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
4
|
+
*/
|
|
5
|
+
export interface FormSelectProps {
|
|
6
|
+
options?: {
|
|
7
|
+
name?: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}[];
|
|
10
|
+
attributes?: any;
|
|
11
|
+
name?: string;
|
|
12
|
+
value?: string;
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function SelectComponent(props: FormSelectProps): React.JSX.Element;
|
|
16
|
+
export default SelectComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
4
|
+
*/
|
|
5
|
+
export interface ButtonProps {
|
|
6
|
+
attributes?: any;
|
|
7
|
+
text?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function SubmitButton(props: ButtonProps): React.JSX.Element;
|
|
10
|
+
export default SubmitButton;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
export
|
|
2
|
+
export type DropzoneProps = BuilderDataProps & {
|
|
3
3
|
name: string;
|
|
4
|
-
builderBlock: BuilderBlock;
|
|
5
|
-
builderContext: BuilderContextInterface;
|
|
6
4
|
attributes: any;
|
|
7
|
-
}
|
|
8
|
-
import type {
|
|
9
|
-
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
5
|
+
};
|
|
6
|
+
import type { BuilderDataProps } from "../../types/builder-props.js";
|
|
10
7
|
declare function Slot(props: DropzoneProps): React.JSX.Element;
|
|
11
8
|
export default Slot;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { PropsWithBuilderData } from "../../types/builder-props.js";
|
|
3
2
|
import type { SymbolProps } from "./symbol.types.js";
|
|
4
|
-
declare function Symbol(props:
|
|
3
|
+
declare function Symbol(props: SymbolProps): Promise<React.JSX.Element>;
|
|
5
4
|
export default Symbol;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BuilderContent } from '../../types/builder-content.js';
|
|
2
|
-
import type { BuilderComponentsProp, BuilderLinkComponentProp } from '../../types/builder-props.js';
|
|
2
|
+
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props.js';
|
|
3
3
|
interface SymbolInfo {
|
|
4
4
|
model?: string;
|
|
5
5
|
entry?: string;
|
|
@@ -8,7 +8,7 @@ interface SymbolInfo {
|
|
|
8
8
|
inline?: boolean;
|
|
9
9
|
dynamic?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export interface SymbolProps extends BuilderComponentsProp, BuilderLinkComponentProp {
|
|
11
|
+
export interface SymbolProps extends BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp {
|
|
12
12
|
symbol?: SymbolInfo;
|
|
13
13
|
dataOnly?: boolean;
|
|
14
14
|
dynamic?: boolean;
|
|
@@ -4,12 +4,12 @@ type BlockWrapperProps = {
|
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
context: BuilderContextInterface;
|
|
6
6
|
linkComponent: any;
|
|
7
|
+
children?: any;
|
|
7
8
|
};
|
|
8
9
|
/**
|
|
9
10
|
* This component renders a block's wrapper HTML element (from the block's `tagName` property).
|
|
10
11
|
*/
|
|
11
12
|
import type { BuilderContextInterface } from "../../../context/types.js";
|
|
12
13
|
import type { BuilderBlock } from "../../../types/builder-block.js";
|
|
13
|
-
|
|
14
|
-
declare function BlockWrapper(props: PropsWithChildren<BlockWrapperProps>): React.JSX.Element;
|
|
14
|
+
declare function BlockWrapper(props: BlockWrapperProps): React.JSX.Element;
|
|
15
15
|
export default BlockWrapper;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { BuilderContextInterface, RegisteredComponents } from '../../../../context/types.js';
|
|
2
2
|
import type { BuilderBlock } from '../../../../types/builder-block.js';
|
|
3
|
-
import type {
|
|
3
|
+
import type { BuilderDataProps } from '../../../../types/builder-props.js';
|
|
4
4
|
import type { InteractiveElementProps } from '../interactive-element.js';
|
|
5
|
-
type ComponentOptions =
|
|
5
|
+
type ComponentOptions = BuilderDataProps & {
|
|
6
6
|
[index: string]: any;
|
|
7
7
|
attributes?: {
|
|
8
8
|
[index: string]: any;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
export interface ComponentProps {
|
|
12
12
|
componentRef: any;
|
|
13
13
|
componentOptions: ComponentOptions;
|
|
@@ -5,9 +5,10 @@ export type InteractiveElementProps = {
|
|
|
5
5
|
context: BuilderContextInterface;
|
|
6
6
|
wrapperProps: Dictionary<any>;
|
|
7
7
|
includeBlockProps: boolean;
|
|
8
|
+
children?: any;
|
|
8
9
|
};
|
|
9
10
|
import type { BuilderContextInterface } from "../../../context/types.js";
|
|
10
11
|
import type { BuilderBlock } from "../../../types/builder-block.js";
|
|
11
|
-
import type { Dictionary
|
|
12
|
-
declare function InteractiveElement(props:
|
|
12
|
+
import type { Dictionary } from "../../../types/typescript.js";
|
|
13
|
+
declare function InteractiveElement(props: InteractiveElementProps): React.JSX.Element;
|
|
13
14
|
export default InteractiveElement;
|
|
@@ -12,8 +12,8 @@ export type BlocksWrapperProps = {
|
|
|
12
12
|
* Additonal props to pass to `blocksWrapper`. Defaults to `{}`.
|
|
13
13
|
*/
|
|
14
14
|
BlocksWrapperProps: any;
|
|
15
|
+
children?: any;
|
|
15
16
|
};
|
|
16
17
|
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
17
|
-
|
|
18
|
-
declare function BlocksWrapper(props: PropsWithChildren<BlocksWrapperProps>): React.JSX.Element;
|
|
18
|
+
declare function BlocksWrapper(props: BlocksWrapperProps): React.JSX.Element;
|
|
19
19
|
export default BlocksWrapper;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import type { BuilderRenderState } from '../../context/types.js';
|
|
2
|
-
|
|
3
|
-
import type { ContentVariantsPrps } from '../content-variants/content-variants.types.js';
|
|
4
|
-
interface InternalRenderProps {
|
|
5
|
-
showContent: boolean;
|
|
6
|
-
isSsrAbTest: boolean;
|
|
7
|
-
}
|
|
8
|
-
export type ContentProps = InternalRenderProps & EnforcePartials<ContentVariantsPrps>;
|
|
2
|
+
export type { ContentProps } from './contentProps.types.js';
|
|
9
3
|
export interface BuilderComponentStateChange {
|
|
10
4
|
state: BuilderRenderState;
|
|
11
5
|
ref: {
|
|
@@ -17,4 +11,3 @@ export interface BuilderComponentStateChange {
|
|
|
17
11
|
};
|
|
18
12
|
};
|
|
19
13
|
}
|
|
20
|
-
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { EnforcePartials } from '../../types/enforced-partials.js';
|
|
2
|
+
import type { ContentVariantsPrps } from '../content-variants/content-variants.types.js';
|
|
3
|
+
interface InternalRenderProps {
|
|
4
|
+
showContent: boolean;
|
|
5
|
+
isSsrAbTest: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* This is in a separate file so that we can override it (most notably in Vue,
|
|
9
|
+
* where prop types cannot be wrapped by generics like `EnforcePartials`).
|
|
10
|
+
*/
|
|
11
|
+
export type ContentProps = InternalRenderProps & EnforcePartials<ContentVariantsPrps>;
|
|
12
|
+
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export interface DynamicRendererProps {
|
|
3
|
+
children?: any;
|
|
4
4
|
TagName: any;
|
|
5
5
|
attributes: any;
|
|
6
6
|
actionAttributes: any;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
|
+
declare function DynamicRenderer(props: DynamicRendererProps): React.JSX.Element;
|
|
8
9
|
export default DynamicRenderer;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* These are in a separate file because React Native does not support them (yet).
|
|
3
|
+
* Having them in a separate file allows us to override it to be empty in the
|
|
4
|
+
* React Native SDK.
|
|
5
|
+
*/
|
|
6
|
+
import type { RegisteredComponent } from '../context/types.js';
|
|
7
|
+
export declare const getExtraComponents: () => RegisteredComponent[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.13.
|
|
1
|
+
export declare const SDK_VERSION = "0.13.3";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const get: (obj: any, path: string, defaultValue?: any) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BuilderContextInterface, RegisteredComponents } from '../context/types.js';
|
|
2
2
|
import type { BuilderBlock } from './builder-block.js';
|
|
3
|
-
export type
|
|
3
|
+
export type BuilderDataProps = {
|
|
4
4
|
builderBlock: BuilderBlock;
|
|
5
5
|
builderContext: BuilderContextInterface;
|
|
6
6
|
};
|