@builder.io/sdk-react-nextjs 0.13.0 → 0.13.2
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-159cd63c.cjs → USE_CLIENT_BUNDLE-65d8df10.cjs} +1 -1
- package/lib/{node/USE_CLIENT_BUNDLE-354a3b9c.js → browser/USE_CLIENT_BUNDLE-660c05f1.js} +5 -5
- package/lib/{edge/USE_SERVER_BUNDLE-b7a4b5c9.cjs → browser/USE_SERVER_BUNDLE-2e3b6eff.cjs} +1 -1
- package/lib/{edge/USE_SERVER_BUNDLE-e82f4d04.js → browser/USE_SERVER_BUNDLE-7204eec6.js} +1 -1
- package/lib/browser/{bundle-2b431a2f.js → bundle-0a12b387.js} +270 -270
- package/lib/browser/{bundle-f3f9789e.cjs → bundle-af821e69.cjs} +17 -17
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +8 -8
- package/lib/{node/USE_CLIENT_BUNDLE-79508098.cjs → edge/USE_CLIENT_BUNDLE-4ecfa86c.cjs} +1 -1
- package/lib/{browser/USE_CLIENT_BUNDLE-21701cae.js → edge/USE_CLIENT_BUNDLE-a2d2d15f.js} +5 -5
- package/lib/{node/USE_SERVER_BUNDLE-81b76cf3.js → edge/USE_SERVER_BUNDLE-1a4a2318.js} +1 -1
- package/lib/{node/USE_SERVER_BUNDLE-2d5ccb94.cjs → edge/USE_SERVER_BUNDLE-7fb84390.cjs} +1 -1
- package/lib/edge/{bundle-27694b25.cjs → bundle-ab7ced06.cjs} +20 -20
- package/lib/edge/{bundle-85928e24.js → bundle-d76f7298.js} +298 -298
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +8 -8
- package/lib/{edge/USE_CLIENT_BUNDLE-45eaf3a0.js → node/USE_CLIENT_BUNDLE-2b075311.js} +5 -5
- package/lib/{edge/USE_CLIENT_BUNDLE-4cfda43e.cjs → node/USE_CLIENT_BUNDLE-902511d8.cjs} +1 -1
- package/lib/{browser/USE_SERVER_BUNDLE-37ad955b.js → node/USE_SERVER_BUNDLE-2a94723d.js} +1 -1
- package/lib/{browser/USE_SERVER_BUNDLE-316838af.cjs → node/USE_SERVER_BUNDLE-c44d2651.cjs} +1 -1
- package/lib/node/{bundle-48c4d422.cjs → bundle-2f991b0d.cjs} +5 -5
- package/lib/node/{bundle-7efdf8b6.js → bundle-903b1df4.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/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/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/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/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
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
export
|
|
2
|
+
export type DropzoneProps = PropsWithBuilderData<{
|
|
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 { PropsWithBuilderData } from "../../types/builder-props.js";
|
|
10
7
|
declare function Slot(props: DropzoneProps): React.JSX.Element;
|
|
11
8
|
export default Slot;
|
|
@@ -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.2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const get: (obj: any, path: string, defaultValue?: any) => any;
|