@builder.io/sdk-react-native 1.0.12 → 1.0.14
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/commonjs/blocks/symbol/symbol.js +1 -1
- package/lib/browser/commonjs/blocks/symbol/symbol.js.map +1 -1
- package/lib/browser/commonjs/components/content/components/enable-editor.js +0 -10
- package/lib/browser/commonjs/components/content/components/enable-editor.js.map +1 -1
- package/lib/browser/commonjs/components/content/components/styles.helpers.js +23 -1
- package/lib/browser/commonjs/components/content/components/styles.helpers.js.map +1 -1
- package/lib/browser/commonjs/components/content/components/styles.js +1 -17
- package/lib/browser/commonjs/components/content/components/styles.js.map +1 -1
- package/lib/browser/commonjs/components/content/content.js +1 -0
- package/lib/browser/commonjs/components/content/content.js.map +1 -1
- package/lib/browser/commonjs/components/content-variants/content-variants.js +3 -1
- package/lib/browser/commonjs/components/content-variants/content-variants.js.map +1 -1
- package/lib/browser/commonjs/constants/sdk-version.js +1 -1
- package/lib/browser/module/blocks/symbol/symbol.js +1 -1
- package/lib/browser/module/blocks/symbol/symbol.js.map +1 -1
- package/lib/browser/module/components/content/components/enable-editor.js +0 -10
- package/lib/browser/module/components/content/components/enable-editor.js.map +1 -1
- package/lib/browser/module/components/content/components/styles.helpers.js +21 -0
- package/lib/browser/module/components/content/components/styles.helpers.js.map +1 -1
- package/lib/browser/module/components/content/components/styles.js +2 -18
- package/lib/browser/module/components/content/components/styles.js.map +1 -1
- package/lib/browser/module/components/content/content.js +1 -0
- package/lib/browser/module/components/content/content.js.map +1 -1
- package/lib/browser/module/components/content-variants/content-variants.js +3 -1
- package/lib/browser/module/components/content-variants/content-variants.js.map +1 -1
- package/lib/browser/module/constants/sdk-version.js +1 -1
- package/lib/browser/typescript/components/content/components/enable-editor.d.ts +1 -1
- package/lib/browser/typescript/components/content/components/enable-editor.d.ts.map +1 -1
- package/lib/browser/typescript/components/content/components/styles.d.ts +1 -0
- package/lib/browser/typescript/components/content/components/styles.d.ts.map +1 -1
- package/lib/browser/typescript/components/content/components/styles.helpers.d.ts +1 -0
- package/lib/browser/typescript/components/content/components/styles.helpers.d.ts.map +1 -1
- package/lib/browser/typescript/components/content/content.d.ts.map +1 -1
- package/lib/browser/typescript/components/content/contentProps.types.d.ts +6 -1
- package/lib/browser/typescript/components/content/contentProps.types.d.ts.map +1 -1
- package/lib/browser/typescript/components/content-variants/content-variants.d.ts +1 -1
- package/lib/browser/typescript/components/content-variants/content-variants.d.ts.map +1 -1
- package/lib/browser/typescript/constants/sdk-version.d.ts +1 -1
- package/lib/edge/commonjs/blocks/symbol/symbol.js +1 -1
- package/lib/edge/commonjs/blocks/symbol/symbol.js.map +1 -1
- package/lib/edge/commonjs/components/content/components/enable-editor.js +0 -10
- package/lib/edge/commonjs/components/content/components/enable-editor.js.map +1 -1
- package/lib/edge/commonjs/components/content/components/styles.helpers.js +23 -1
- package/lib/edge/commonjs/components/content/components/styles.helpers.js.map +1 -1
- package/lib/edge/commonjs/components/content/components/styles.js +1 -17
- package/lib/edge/commonjs/components/content/components/styles.js.map +1 -1
- package/lib/edge/commonjs/components/content/content.js +1 -0
- package/lib/edge/commonjs/components/content/content.js.map +1 -1
- package/lib/edge/commonjs/components/content-variants/content-variants.js +3 -1
- package/lib/edge/commonjs/components/content-variants/content-variants.js.map +1 -1
- package/lib/edge/commonjs/constants/sdk-version.js +1 -1
- package/lib/edge/module/blocks/symbol/symbol.js +1 -1
- package/lib/edge/module/blocks/symbol/symbol.js.map +1 -1
- package/lib/edge/module/components/content/components/enable-editor.js +0 -10
- package/lib/edge/module/components/content/components/enable-editor.js.map +1 -1
- package/lib/edge/module/components/content/components/styles.helpers.js +21 -0
- package/lib/edge/module/components/content/components/styles.helpers.js.map +1 -1
- package/lib/edge/module/components/content/components/styles.js +2 -18
- package/lib/edge/module/components/content/components/styles.js.map +1 -1
- package/lib/edge/module/components/content/content.js +1 -0
- package/lib/edge/module/components/content/content.js.map +1 -1
- package/lib/edge/module/components/content-variants/content-variants.js +3 -1
- package/lib/edge/module/components/content-variants/content-variants.js.map +1 -1
- package/lib/edge/module/constants/sdk-version.js +1 -1
- package/lib/edge/typescript/components/content/components/enable-editor.d.ts +1 -1
- package/lib/edge/typescript/components/content/components/enable-editor.d.ts.map +1 -1
- package/lib/edge/typescript/components/content/components/styles.d.ts +1 -0
- package/lib/edge/typescript/components/content/components/styles.d.ts.map +1 -1
- package/lib/edge/typescript/components/content/components/styles.helpers.d.ts +1 -0
- package/lib/edge/typescript/components/content/components/styles.helpers.d.ts.map +1 -1
- package/lib/edge/typescript/components/content/content.d.ts.map +1 -1
- package/lib/edge/typescript/components/content/contentProps.types.d.ts +6 -1
- package/lib/edge/typescript/components/content/contentProps.types.d.ts.map +1 -1
- package/lib/edge/typescript/components/content-variants/content-variants.d.ts +1 -1
- package/lib/edge/typescript/components/content-variants/content-variants.d.ts.map +1 -1
- package/lib/edge/typescript/constants/sdk-version.d.ts +1 -1
- package/lib/node/commonjs/blocks/symbol/symbol.js +1 -1
- package/lib/node/commonjs/blocks/symbol/symbol.js.map +1 -1
- package/lib/node/commonjs/components/content/components/enable-editor.js +0 -10
- package/lib/node/commonjs/components/content/components/enable-editor.js.map +1 -1
- package/lib/node/commonjs/components/content/components/styles.helpers.js +23 -1
- package/lib/node/commonjs/components/content/components/styles.helpers.js.map +1 -1
- package/lib/node/commonjs/components/content/components/styles.js +1 -17
- package/lib/node/commonjs/components/content/components/styles.js.map +1 -1
- package/lib/node/commonjs/components/content/content.js +1 -0
- package/lib/node/commonjs/components/content/content.js.map +1 -1
- package/lib/node/commonjs/components/content-variants/content-variants.js +3 -1
- package/lib/node/commonjs/components/content-variants/content-variants.js.map +1 -1
- package/lib/node/commonjs/constants/sdk-version.js +1 -1
- package/lib/node/module/blocks/symbol/symbol.js +1 -1
- package/lib/node/module/blocks/symbol/symbol.js.map +1 -1
- package/lib/node/module/components/content/components/enable-editor.js +0 -10
- package/lib/node/module/components/content/components/enable-editor.js.map +1 -1
- package/lib/node/module/components/content/components/styles.helpers.js +21 -0
- package/lib/node/module/components/content/components/styles.helpers.js.map +1 -1
- package/lib/node/module/components/content/components/styles.js +2 -18
- package/lib/node/module/components/content/components/styles.js.map +1 -1
- package/lib/node/module/components/content/content.js +1 -0
- package/lib/node/module/components/content/content.js.map +1 -1
- package/lib/node/module/components/content-variants/content-variants.js +3 -1
- package/lib/node/module/components/content-variants/content-variants.js.map +1 -1
- package/lib/node/module/constants/sdk-version.js +1 -1
- package/lib/node/typescript/components/content/components/enable-editor.d.ts +1 -1
- package/lib/node/typescript/components/content/components/enable-editor.d.ts.map +1 -1
- package/lib/node/typescript/components/content/components/styles.d.ts +1 -0
- package/lib/node/typescript/components/content/components/styles.d.ts.map +1 -1
- package/lib/node/typescript/components/content/components/styles.helpers.d.ts +1 -0
- package/lib/node/typescript/components/content/components/styles.helpers.d.ts.map +1 -1
- package/lib/node/typescript/components/content/content.d.ts.map +1 -1
- package/lib/node/typescript/components/content/contentProps.types.d.ts +6 -1
- package/lib/node/typescript/components/content/contentProps.types.d.ts.map +1 -1
- package/lib/node/typescript/components/content-variants/content-variants.d.ts +1 -1
- package/lib/node/typescript/components/content-variants/content-variants.d.ts.map +1 -1
- package/lib/node/typescript/constants/sdk-version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","InlinedStyles","getCss","getFontCss","ContentStyles","props","injectedStyles","setInjectedStyles","cssCode","contentId","customFonts","trim","createElement","styles"],"sourceRoot":"../../../../../../src","sources":["components/content/components/styles.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAS9B,SAASC,QAAQ,QAAQ,OAAO;
|
|
1
|
+
{"version":3,"names":["React","useState","InlinedStyles","getCss","getDefaultStyles","getFontCss","ContentStyles","props","injectedStyles","setInjectedStyles","cssCode","contentId","customFonts","isNestedRender","trim","createElement","styles"],"sourceRoot":"../../../../../../src","sources":["components/content/components/styles.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAS9B,SAASC,QAAQ,QAAQ,OAAO;AAShC,OAAOC,aAAa;AAEpB,SAASC,MAAM,EAAEC,gBAAgB,EAAEC,UAAU;AAE7C,SAASC,aAAaA,CAACC,KAAY,EAAE;EACnC,MAAM,CAACC,cAAc,EAAEC,iBAAiB,CAAC,GAAGR,QAAQ,CAAC,MAClD;AACL,EAAEE,MAAM,CAAC;IACPO,OAAO,EAAEH,KAAK,CAACG,OAAO;IACtBC,SAAS,EAAEJ,KAAK,CAACI;EACnB,CAAC,CAAE;AACH,EAAEN,UAAU,CAAC;IACXO,WAAW,EAAEL,KAAK,CAACK;EACrB,CAAC,CAAE;AACH,EAAER,gBAAgB,CAACG,KAAK,CAACM,cAAc,CAAE;AACzC,CAAC,CAACC,IAAI,CAAC,CACL,CAAC;EAED,oBAAOd,KAAA,CAAAe,aAAA,CAACb,aAAa;IAACc,MAAM,EAAER;EAAe,CAAE,CAAC;AAClD;AAEA,eAAeF,aAAa"}
|
|
@@ -87,6 +87,7 @@ function ContentComponent(props) {
|
|
|
87
87
|
}, props.isSsrAbTest ? /*#__PURE__*/React.createElement(InlinedScript, {
|
|
88
88
|
scriptStr: scriptStr
|
|
89
89
|
}) : null, TARGET !== "reactNative" ? /*#__PURE__*/React.createElement(ContentStyles, {
|
|
90
|
+
isNestedRender: props.isNestedRender,
|
|
90
91
|
contentId: (_builderContextSignal = builderContextSignal.content) === null || _builderContextSignal === void 0 ? void 0 : _builderContextSignal.id,
|
|
91
92
|
cssCode: (_builderContextSignal2 = builderContextSignal.content) === null || _builderContextSignal2 === void 0 || (_builderContextSignal2 = _builderContextSignal2.data) === null || _builderContextSignal2 === void 0 ? void 0 : _builderContextSignal2.cssCode,
|
|
92
93
|
customFonts: (_builderContextSignal3 = builderContextSignal.content) === null || _builderContextSignal3 === void 0 || (_builderContextSignal3 = _builderContextSignal3.data) === null || _builderContextSignal3 === void 0 ? void 0 : _builderContextSignal3.customFonts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","ScrollView","useState","getDefaultRegisteredComponents","TARGET","ComponentsContext","serializeComponentInfo","Blocks","getUpdateVariantVisibilityScript","InlinedScript","EnableEditor","ContentStyles","getContentInitialValue","getRootStateInitialValue","ContentComponent","props","_builderContextSignal","_builderContextSignal2","_builderContextSignal3","_builderContextSignal4","scriptStr","setScriptStr","_props$content","_props$content2","variationId","content","testVariationId","contentId","id","contentSetState","newRootState","setBuilderContextSignal","PREVIOUS_VALUE","rootState","registeredComponents","setRegisteredComponents","customComponents","reduce","acc","component","info","name","builderContextSignal","data","localState","undefined","locale","rootSetState","context","apiKey","apiVersion","componentInfos","_","inheritedStyles","BlocksWrapper","blocksWrapper","BlocksWrapperProps","blocksWrapperProps","createElement","Provider","value","model","canTrack","enrich","showContent","contentWrapper","contentWrapperProps","linkComponent","trustedHosts","isSsrAbTest","cssCode","customFonts","blocks"],"sourceRoot":"../../../../../src","sources":["components/content/content.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAEEC,UAAU,QAKL,cAAc;AACrB,SAASC,QAAQ,QAAoB,OAAO;AAC5C,SAASC,8BAA8B;AACvC,SAASC,MAAM;AACf,OAAOC,iBAAiB;AAMxB,SAASC,sBAAsB;AAG/B,OAAOC,MAAM;AACb,SAASC,gCAAgC;AACzC,OAAOC,aAAa;AACpB,OAAOC,YAAY;AACnB,OAAOC,aAAa;AACpB,SACEC,sBAAsB,EACtBC,wBAAwB;AAK1B,SAASC,gBAAgBA,CAACC,KAAmB,EAAE;EAAA,IAAAC,qBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA;EAC7C,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGnB,QAAQ,CAAC;IAAA,IAAAoB,cAAA,EAAAC,eAAA;IAAA,OACzCf,gCAAgC,CAAC;MAC/B;MACAgB,WAAW,GAAAF,cAAA,GAAEP,KAAK,CAACU,OA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,aAAa,EAAEpD,KAAK,CAACoD,aAAc;IACnCC,YAAY,EAAErD,KAAK,CAACqD,YAAa;IAE/BrC,uBAAuB,EAAEA;EAAuB,GAGjDhB,KAAK,CAACsD,WAAW,gBAAGrE,KAAA,CAAA0D,aAAA,CAACjD,aAAa;IAACW,SAAS,EAAEA;EAAU,CAAE,CAAC,GAAG,IAAI,EAClEhB,MAAM,KAAK,aAAa,gBACvBJ,KAAA,CAAA0D,aAAA,CAAC/C,aAAa;
|
|
1
|
+
{"version":3,"names":["React","ScrollView","useState","getDefaultRegisteredComponents","TARGET","ComponentsContext","serializeComponentInfo","Blocks","getUpdateVariantVisibilityScript","InlinedScript","EnableEditor","ContentStyles","getContentInitialValue","getRootStateInitialValue","ContentComponent","props","_builderContextSignal","_builderContextSignal2","_builderContextSignal3","_builderContextSignal4","scriptStr","setScriptStr","_props$content","_props$content2","variationId","content","testVariationId","contentId","id","contentSetState","newRootState","setBuilderContextSignal","PREVIOUS_VALUE","rootState","registeredComponents","setRegisteredComponents","customComponents","reduce","acc","component","info","name","builderContextSignal","data","localState","undefined","locale","rootSetState","context","apiKey","apiVersion","componentInfos","_","inheritedStyles","BlocksWrapper","blocksWrapper","BlocksWrapperProps","blocksWrapperProps","createElement","Provider","value","model","canTrack","enrich","showContent","contentWrapper","contentWrapperProps","linkComponent","trustedHosts","isSsrAbTest","isNestedRender","cssCode","customFonts","blocks"],"sourceRoot":"../../../../../src","sources":["components/content/content.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAEEC,UAAU,QAKL,cAAc;AACrB,SAASC,QAAQ,QAAoB,OAAO;AAC5C,SAASC,8BAA8B;AACvC,SAASC,MAAM;AACf,OAAOC,iBAAiB;AAMxB,SAASC,sBAAsB;AAG/B,OAAOC,MAAM;AACb,SAASC,gCAAgC;AACzC,OAAOC,aAAa;AACpB,OAAOC,YAAY;AACnB,OAAOC,aAAa;AACpB,SACEC,sBAAsB,EACtBC,wBAAwB;A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5BA,sBAAA,CAA8BwB,IAAI,cAAAxB,sBAAA,uBAAlCA,sBAAA,CAAoCsD,MAAO;IACnDzB,OAAO,EAAEN,oBAAqB;IAC9BR,oBAAoB,EAAEA,oBAAqB;IAC3CiC,aAAa,EAAEpD,KAAK,CAACoD;EAAc,CACpC,CACW,CACY,CAAC;AAEjC;AAEA,eAAerD,gBAAgB"}
|
|
@@ -38,7 +38,7 @@ function ContentVariants(props) {
|
|
|
38
38
|
* We unmount the non-winning variants post-hydration in Vue.
|
|
39
39
|
*/
|
|
40
40
|
}, []);
|
|
41
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, !props.
|
|
41
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, !props.isNestedRender && TARGET !== "reactNative" ? /*#__PURE__*/React.createElement(InlinedScript, {
|
|
42
42
|
scriptStr: getScriptString()
|
|
43
43
|
}) : null, shouldRenderVariants ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(InlinedStyles, {
|
|
44
44
|
id: `variants-styles-${(_props$content3 = props.content) === null || _props$content3 === void 0 ? void 0 : _props$content3.id}`,
|
|
@@ -46,6 +46,7 @@ function ContentVariants(props) {
|
|
|
46
46
|
}), /*#__PURE__*/React.createElement(InlinedScript, {
|
|
47
47
|
scriptStr: updateCookieAndStylesScriptStr()
|
|
48
48
|
}), (_getVariants = getVariants(props.content)) === null || _getVariants === void 0 ? void 0 : _getVariants.map(variant => /*#__PURE__*/React.createElement(ContentComponent, {
|
|
49
|
+
isNestedRender: props.isNestedRender,
|
|
49
50
|
key: variant.testVariationId,
|
|
50
51
|
content: variant,
|
|
51
52
|
showContent: false,
|
|
@@ -66,6 +67,7 @@ function ContentVariants(props) {
|
|
|
66
67
|
contentWrapperProps: props.contentWrapperProps,
|
|
67
68
|
trustedHosts: props.trustedHosts
|
|
68
69
|
}))) : null, /*#__PURE__*/React.createElement(ContentComponent, {
|
|
70
|
+
isNestedRender: props.isNestedRender,
|
|
69
71
|
content: defaultContent(),
|
|
70
72
|
showContent: true,
|
|
71
73
|
model: props.model,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useEffect","TARGET","handleABTestingSync","getDefaultCanTrack","ContentComponent","InlinedScript","InlinedStyles","checkShouldRenderVariants","getScriptString","getUpdateCookieAndStylesScript","getVariants","ContentVariants","props","_props$content3","_getVariants","shouldRenderVariants","setShouldRenderVariants","canTrack","content","updateCookieAndStylesScriptStr","_props$content","map","value","id","testVariationId","testRatio","hideVariantsStyleString","join","defaultContent","_props$content2","item","createElement","Fragment","
|
|
1
|
+
{"version":3,"names":["React","useState","useEffect","TARGET","handleABTestingSync","getDefaultCanTrack","ContentComponent","InlinedScript","InlinedStyles","checkShouldRenderVariants","getScriptString","getUpdateCookieAndStylesScript","getVariants","ContentVariants","props","_props$content3","_getVariants","shouldRenderVariants","setShouldRenderVariants","canTrack","content","updateCookieAndStylesScriptStr","_props$content","map","value","id","testVariationId","testRatio","hideVariantsStyleString","join","defaultContent","_props$content2","item","createElement","Fragment","isNestedRender","scriptStr","styles","variant","key","showContent","model","data","context","apiKey","apiVersion","customComponents","linkComponent","locale","enrich","isSsrAbTest","blocksWrapper","blocksWrapperProps","contentWrapper","contentWrapperProps","trustedHosts"],"sourceRoot":"../../../../../src","sources":["components/content-variants/content-variants.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAS9B,SAASC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAQ3C,SAASC,MAAM;AACf,SAASC,mBAAmB;AAC5B,SAASC,kBAAkB;AAC3B,OAAOC,gBAAgB;AACvB,OAAOC,aAAa;AACpB,OAAOC,aAAa;AAEpB,SACEC,yBAAyB,EACzBC,eAAe,EACfC,8BAA8B,EAC9BC,WAAW;AAGb,SAASC,eAAeA,CAACC,KAA4B,EAAE;EAAA,IAAAC,eAAA,EAAAC,YAAA;EACrD,MAAM,CAACC,oBAAoB,EAAEC,uBAAuB,CAAC,GAAGjB,QAA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version.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
type BuilderEditorProps = Omit<ContentProps, "customComponents" | "apiVersion" | "isSsrAbTest" | "blocksWrapper" | "blocksWrapperProps"> & {
|
|
2
|
+
type BuilderEditorProps = Omit<ContentProps, "customComponents" | "apiVersion" | "isSsrAbTest" | "blocksWrapper" | "blocksWrapperProps" | "isNestedRender"> & {
|
|
3
3
|
builderContextSignal: BuilderContextInterface;
|
|
4
4
|
setBuilderContextSignal?: (signal: any) => any;
|
|
5
5
|
children?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable-editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/content/components/enable-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,KAAK,kBAAkB,GAAG,IAAI,CAC5B,YAAY,EACV,kBAAkB,GAClB,YAAY,GACZ,aAAa,GACb,eAAe,GACf,oBAAoB,
|
|
1
|
+
{"version":3,"file":"enable-editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/content/components/enable-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,KAAK,kBAAkB,GAAG,IAAI,CAC5B,YAAY,EACV,kBAAkB,GAClB,YAAY,GACZ,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,CACnB,GAAG;IACF,oBAAoB,EAAE,uBAAuB,CAAC;IAC9C,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC;IAC/C,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAuBzE,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,qBAAqB,CAAC;AAE7B,iBAAS,YAAY,CAAC,KAAK,EAAE,kBAAkB,qBAsZ9C;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/content/components/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/content/components/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAGD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,qBAelC;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -13,4 +13,5 @@ export declare const getCss: ({ cssCode, contentId }: {
|
|
|
13
13
|
cssCode?: string;
|
|
14
14
|
contentId?: string;
|
|
15
15
|
}) => string;
|
|
16
|
+
export declare const getDefaultStyles: (isNested: boolean | undefined) => "" | "\n.builder-button {\n all: unset;\n}\n\n.builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {\n margin: 0;\n}\n.builder-text > p, .builder-text > .builder-paragraph {\n color: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n font-weight: inherit;\n font-size: inherit;\n text-align: inherit;\n font-family: inherit;\n}\n";
|
|
16
17
|
//# sourceMappingURL=styles.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/components/content/components/styles.helpers.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE;QACN,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH;AAuCD,eAAO,MAAM,UAAU;kBAGP,UAAU,EAAE;YAQ3B,CAAC;AACF,eAAO,MAAM,MAAM;cAIP,MAAM;gBACJ,MAAM;YAanB,CAAA"}
|
|
1
|
+
{"version":3,"file":"styles.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/components/content/components/styles.helpers.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE;QACN,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH;AAuCD,eAAO,MAAM,UAAU;kBAGP,UAAU,EAAE;YAQ3B,CAAC;AACF,eAAO,MAAM,MAAM;cAIP,MAAM;gBACJ,MAAM;YAanB,CAAC;AAmBF,eAAO,MAAM,gBAAgB,aAAc,OAAO,GAAG,SAAS,gYAE7D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../src/components/content/content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA8B/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGvD,iBAAS,gBAAgB,CAAC,KAAK,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../src/components/content/content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA8B/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGvD,iBAAS,gBAAgB,CAAC,KAAK,EAAE,YAAY,qBA0G5C;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -8,6 +8,11 @@ interface InternalRenderProps {
|
|
|
8
8
|
* This is in a separate file so that we can override it (most notably in Vue,
|
|
9
9
|
* where prop types cannot be wrapped by generics like `EnforcePartials`).
|
|
10
10
|
*/
|
|
11
|
-
export type ContentProps = InternalRenderProps & EnforcePartials<ContentVariantsPrps
|
|
11
|
+
export type ContentProps = InternalRenderProps & EnforcePartials<ContentVariantsPrps> & {
|
|
12
|
+
/**
|
|
13
|
+
* For internal use only. Do not provide this prop.
|
|
14
|
+
*/
|
|
15
|
+
isNestedRender?: boolean;
|
|
16
|
+
};
|
|
12
17
|
export {};
|
|
13
18
|
//# sourceMappingURL=contentProps.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contentProps.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/content/contentProps.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACzF,UAAU,mBAAmB;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"contentProps.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/content/contentProps.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACzF,UAAU,mBAAmB;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG,eAAe,CAAC,mBAAmB,CAAC,GAAG;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAA"}
|
|
@@ -3,7 +3,7 @@ type VariantsProviderProps = ContentVariantsPrps & {
|
|
|
3
3
|
/**
|
|
4
4
|
* For internal use only. Do not provide this prop.
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
isNestedRender?: boolean;
|
|
7
7
|
};
|
|
8
8
|
import type { ContentVariantsPrps } from "./content-variants.types.js";
|
|
9
9
|
declare function ContentVariants(props: VariantsProviderProps): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-variants.d.ts","sourceRoot":"","sources":["../../../../../src/components/content-variants/content-variants.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,KAAK,qBAAqB,GAAG,mBAAmB,GAAG;IACjD;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"content-variants.d.ts","sourceRoot":"","sources":["../../../../../src/components/content-variants/content-variants.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,KAAK,qBAAqB,GAAG,mBAAmB,GAAG;IACjD;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAOF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAQvE,iBAAS,eAAe,CAAC,KAAK,EAAE,qBAAqB,qBAwGpD;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.14";
|
|
2
2
|
//# sourceMappingURL=sdk-version.d.ts.map
|
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": "1.0.
|
|
4
|
+
"version": "1.0.14",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/react-native",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|