@plasmicapp/react-web 0.2.228 → 0.2.229
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/index.cjs.js +13 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/react-web.esm.js +13 -1
- package/dist/react-web.esm.js.map +1 -1
- package/package.json +3 -3
- package/skinny/dist/index.js +2 -2
- package/skinny/dist/plume/checkbox/index.js +1 -1
- package/skinny/dist/plume/menu/index.js +1 -1
- package/skinny/dist/plume/menu-button/index.js +1 -1
- package/skinny/dist/plume/select/index.js +1 -1
- package/skinny/dist/plume/switch/index.js +1 -1
- package/skinny/dist/{ssr-04cb202c.js → ssr-b32a66e3.js} +15 -3
- package/skinny/dist/{ssr-04cb202c.js.map → ssr-b32a66e3.js.map} +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1675,7 +1675,19 @@ function PlasmicRootProvider(props) {
|
|
|
1675
1675
|
React__namespace.createElement(dataSourcesContext.PlasmicDataSourceContextProvider, { value: dataSourceContextValue },
|
|
1676
1676
|
React__namespace.createElement(PlasmicTranslatorContext.Provider, { value: (_a = props.i18n) !== null && _a !== void 0 ? _a : props.translator },
|
|
1677
1677
|
React__namespace.createElement(PlasmicHeadContext.Provider, { value: props.Head },
|
|
1678
|
-
React__namespace.createElement(
|
|
1678
|
+
React__namespace.createElement(SafePlasmicLinkProvider, { Link: (_b = props.Link) !== null && _b !== void 0 ? _b : PlasmicLinkInternal }, children))))))));
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* A PlasmicLinkProvider that anticipates PlasmicLinkProvider may not exist yet from
|
|
1682
|
+
* @plasmicapp/host if the user is using an older version
|
|
1683
|
+
*/
|
|
1684
|
+
function SafePlasmicLinkProvider(props) {
|
|
1685
|
+
if (host.PlasmicLinkProvider) {
|
|
1686
|
+
return React__namespace.createElement(host.PlasmicLinkProvider, __assign({}, props));
|
|
1687
|
+
}
|
|
1688
|
+
else {
|
|
1689
|
+
return React__namespace.createElement(React__namespace.Fragment, null, props.children);
|
|
1690
|
+
}
|
|
1679
1691
|
}
|
|
1680
1692
|
var useIsSSR = ssr.useIsSSR;
|
|
1681
1693
|
function useHasPlasmicRoot() {
|