@plasmicapp/loader-react 1.0.58 → 1.0.59
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/dist/loader-react.cjs.development.js +4 -4
- package/dist/loader-react.cjs.development.js.map +1 -1
- package/dist/loader-react.cjs.production.min.js +1 -1
- package/dist/loader-react.cjs.production.min.js.map +1 -1
- package/dist/loader-react.esm.js +5 -5
- package/dist/loader-react.esm.js.map +1 -1
- package/dist/loader.d.ts +3 -3
- package/package.json +4 -4
|
@@ -1431,7 +1431,7 @@ var InternalPlasmicComponentLoader = /*#__PURE__*/function () {
|
|
|
1431
1431
|
}));
|
|
1432
1432
|
};
|
|
1433
1433
|
|
|
1434
|
-
_proto.
|
|
1434
|
+
_proto.registerGlobalContext = function registerGlobalContext(context, meta) {
|
|
1435
1435
|
var _meta$importPath2;
|
|
1436
1436
|
|
|
1437
1437
|
this.substituteComponent(context, {
|
|
@@ -1439,7 +1439,7 @@ var InternalPlasmicComponentLoader = /*#__PURE__*/function () {
|
|
|
1439
1439
|
isCode: true
|
|
1440
1440
|
}); // Import path is not used as we will use component substitution
|
|
1441
1441
|
|
|
1442
|
-
host.
|
|
1442
|
+
host.registerGlobalContext(context, _extends({}, meta, {
|
|
1443
1443
|
importPath: (_meta$importPath2 = meta.importPath) != null ? _meta$importPath2 : ''
|
|
1444
1444
|
}));
|
|
1445
1445
|
};
|
|
@@ -1903,8 +1903,8 @@ var PlasmicComponentLoader = /*#__PURE__*/function () {
|
|
|
1903
1903
|
}
|
|
1904
1904
|
};
|
|
1905
1905
|
|
|
1906
|
-
_proto2.
|
|
1907
|
-
this.__internal.
|
|
1906
|
+
_proto2.registerGlobalContext = function registerGlobalContext(context, meta) {
|
|
1907
|
+
this.__internal.registerGlobalContext(context, meta);
|
|
1908
1908
|
}
|
|
1909
1909
|
/**
|
|
1910
1910
|
* Pre-fetches component data needed to for PlasmicLoader to render
|