ywana-core8 0.1.64 → 0.1.66
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +6 -0
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/site.css +6 -0
- package/src/site/site.js +2 -1
package/dist/index.umd.js
CHANGED
@@ -3712,6 +3712,7 @@
|
|
3712
3712
|
* SitePage
|
3713
3713
|
*/
|
3714
3714
|
var SitePage = function SitePage(_ref8) {
|
3715
|
+
var _current$props;
|
3715
3716
|
var children = _ref8.children,
|
3716
3717
|
init = _ref8.init;
|
3717
3718
|
var context = React.useContext(SiteContext);
|
@@ -3748,8 +3749,9 @@
|
|
3748
3749
|
var _child$props;
|
3749
3750
|
return ((_child$props = child.props) == null ? void 0 : _child$props.id) === displayedPage;
|
3750
3751
|
});
|
3752
|
+
var fullscreen = current == null ? void 0 : (_current$props = current.props) == null ? void 0 : _current$props.fullscreen;
|
3751
3753
|
return /*#__PURE__*/React__default["default"].createElement("main", {
|
3752
|
-
className: "site-page-container " + (isExiting ? 'page-out' : 'page-in')
|
3754
|
+
className: "site-page-container " + (isExiting ? 'page-out' : 'page-in') + " " + (fullscreen ? 'fullscreen' : '')
|
3753
3755
|
}, current);
|
3754
3756
|
};
|
3755
3757
|
|