@builder.io/sdk-react-native 0.5.6-0 → 0.5.6

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.
@@ -296,7 +296,7 @@ function EnableEditor(props) {
296
296
  };
297
297
  }, []);
298
298
  return (React.createElement(builder_context_js_1.default.Provider, { value: props.builderContextSignal }, props.builderContextSignal.content ? (React.createElement(React.Fragment, null,
299
- React.createElement(react_native_1.View, { key: forceReRenderCount, ref: elementRef, onClick: (event) => onClick(event), "builder-content-id": (_e = props.builderContextSignal.content) === null || _e === void 0 ? void 0 : _e.id, "builder-model": props.model, ...{
299
+ React.createElement(react_native_1.ScrollView, { key: forceReRenderCount, ref: elementRef, onClick: (event) => onClick(event), "builder-content-id": (_e = props.builderContextSignal.content) === null || _e === void 0 ? void 0 : _e.id, "builder-model": props.model, ...{
300
300
  // currently, we can't set the actual ID here. // we don't need it right now, we just need to identify content divs for testing.
301
301
  dataSet: {
302
302
  "builder-content-id": "",
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- const SDK_VERSION = "UNKNOWN_VERSION";
5
- exports.SDK_VERSION = SDK_VERSION;
4
+ exports.SDK_VERSION = "0.5.6";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-react-native",
3
3
  "description": "Builder.io SDK for React Native",
4
- "version": "0.5.6-0",
4
+ "version": "0.5.6",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -320,7 +320,7 @@ function EnableEditor(props) {
320
320
  <builderContext.Provider value={props.builderContextSignal}>
321
321
  {props.builderContextSignal.content ? (
322
322
  <>
323
- <View
323
+ <ScrollView
324
324
  key={forceReRenderCount}
325
325
  ref={elementRef}
326
326
  onClick={(event) => onClick(event)}
@@ -340,7 +340,7 @@ function EnableEditor(props) {
340
340
  })}
341
341
  >
342
342
  {props.children}
343
- </View>
343
+ </ScrollView>
344
344
  </>
345
345
  ) : null}
346
346
  </builderContext.Provider>
@@ -1,2 +1 @@
1
- const SDK_VERSION = "UNKNOWN_VERSION";
2
- export { SDK_VERSION }
1
+ export const SDK_VERSION = "0.5.6"