@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.
Files changed (51) hide show
  1. package/lib/browser/{USE_CLIENT_BUNDLE-159cd63c.cjs → USE_CLIENT_BUNDLE-65d8df10.cjs} +1 -1
  2. package/lib/{node/USE_CLIENT_BUNDLE-354a3b9c.js → browser/USE_CLIENT_BUNDLE-660c05f1.js} +5 -5
  3. package/lib/{edge/USE_SERVER_BUNDLE-b7a4b5c9.cjs → browser/USE_SERVER_BUNDLE-2e3b6eff.cjs} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-e82f4d04.js → browser/USE_SERVER_BUNDLE-7204eec6.js} +1 -1
  5. package/lib/browser/{bundle-2b431a2f.js → bundle-0a12b387.js} +270 -270
  6. package/lib/browser/{bundle-f3f9789e.cjs → bundle-af821e69.cjs} +17 -17
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +8 -8
  9. package/lib/{node/USE_CLIENT_BUNDLE-79508098.cjs → edge/USE_CLIENT_BUNDLE-4ecfa86c.cjs} +1 -1
  10. package/lib/{browser/USE_CLIENT_BUNDLE-21701cae.js → edge/USE_CLIENT_BUNDLE-a2d2d15f.js} +5 -5
  11. package/lib/{node/USE_SERVER_BUNDLE-81b76cf3.js → edge/USE_SERVER_BUNDLE-1a4a2318.js} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-2d5ccb94.cjs → edge/USE_SERVER_BUNDLE-7fb84390.cjs} +1 -1
  13. package/lib/edge/{bundle-27694b25.cjs → bundle-ab7ced06.cjs} +20 -20
  14. package/lib/edge/{bundle-85928e24.js → bundle-d76f7298.js} +298 -298
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +8 -8
  17. package/lib/{edge/USE_CLIENT_BUNDLE-45eaf3a0.js → node/USE_CLIENT_BUNDLE-2b075311.js} +5 -5
  18. package/lib/{edge/USE_CLIENT_BUNDLE-4cfda43e.cjs → node/USE_CLIENT_BUNDLE-902511d8.cjs} +1 -1
  19. package/lib/{browser/USE_SERVER_BUNDLE-37ad955b.js → node/USE_SERVER_BUNDLE-2a94723d.js} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-316838af.cjs → node/USE_SERVER_BUNDLE-c44d2651.cjs} +1 -1
  21. package/lib/node/{bundle-48c4d422.cjs → bundle-2f991b0d.cjs} +5 -5
  22. package/lib/node/{bundle-7efdf8b6.js → bundle-903b1df4.js} +108 -108
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +8 -8
  25. package/package.json +1 -1
  26. package/types/cjs/blocks/form/form/component-info.d.ts +2 -0
  27. package/types/cjs/blocks/form/form/form.d.ts +33 -0
  28. package/types/cjs/blocks/form/input/component-info.d.ts +2 -0
  29. package/types/cjs/blocks/form/input/input.d.ts +15 -0
  30. package/types/cjs/blocks/form/select/component-info.d.ts +2 -0
  31. package/types/cjs/blocks/form/select/select.d.ts +16 -0
  32. package/types/cjs/blocks/form/submit-button/component-info.d.ts +2 -0
  33. package/types/cjs/blocks/form/submit-button/submit-button.d.ts +10 -0
  34. package/types/cjs/blocks/slot/slot.d.ts +3 -6
  35. package/types/cjs/constants/extra-components.d.ts +7 -0
  36. package/types/cjs/constants/sdk-version.d.ts +1 -1
  37. package/types/cjs/functions/get-env.d.ts +2 -0
  38. package/types/cjs/functions/get.d.ts +1 -0
  39. package/types/esm/blocks/form/form/component-info.d.ts +2 -0
  40. package/types/esm/blocks/form/form/form.d.ts +33 -0
  41. package/types/esm/blocks/form/input/component-info.d.ts +2 -0
  42. package/types/esm/blocks/form/input/input.d.ts +15 -0
  43. package/types/esm/blocks/form/select/component-info.d.ts +2 -0
  44. package/types/esm/blocks/form/select/select.d.ts +16 -0
  45. package/types/esm/blocks/form/submit-button/component-info.d.ts +2 -0
  46. package/types/esm/blocks/form/submit-button/submit-button.d.ts +10 -0
  47. package/types/esm/blocks/slot/slot.d.ts +3 -6
  48. package/types/esm/constants/extra-components.d.ts +7 -0
  49. package/types/esm/constants/sdk-version.d.ts +1 -1
  50. package/types/esm/functions/get-env.d.ts +2 -0
  51. package/types/esm/functions/get.d.ts +1 -0
@@ -1,11 +1,8 @@
1
1
  import * as React from "react";
2
- export interface DropzoneProps {
2
+ export type DropzoneProps = PropsWithBuilderData<{
3
3
  name: string;
4
- builderBlock: BuilderBlock;
5
- builderContext: BuilderContextInterface;
6
4
  attributes: any;
7
- }
8
- import type { BuilderContextInterface } from "../../context/types.js";
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.0";
1
+ export declare const SDK_VERSION = "0.13.2";
@@ -0,0 +1,2 @@
1
+ export declare const validEnvList: string[];
2
+ export declare const getEnv: () => string;
@@ -0,0 +1 @@
1
+ export declare const get: (obj: any, path: string, defaultValue?: any) => any;