ywana-core8 0.1.63 → 0.1.65

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 CHANGED
@@ -3719,6 +3719,7 @@ var SiteMenu = function SiteMenu(_ref6) {
3719
3719
  * SitePage
3720
3720
  */
3721
3721
  var SitePage = function SitePage(_ref8) {
3722
+ var _current$props;
3722
3723
  var children = _ref8.children,
3723
3724
  init = _ref8.init;
3724
3725
  var context = React.useContext(SiteContext);
@@ -3755,8 +3756,9 @@ var SitePage = function SitePage(_ref8) {
3755
3756
  var _child$props;
3756
3757
  return ((_child$props = child.props) == null ? void 0 : _child$props.id) === displayedPage;
3757
3758
  });
3759
+ var fullscreen = current == null ? void 0 : (_current$props = current.props) == null ? void 0 : _current$props.fullscreen;
3758
3760
  return /*#__PURE__*/React__default["default"].createElement("main", {
3759
- className: "site-page-container " + (isExiting ? 'page-out' : 'page-in')
3761
+ className: "site-page-container " + (isExiting ? 'page-out' : 'page-in') + " " + (fullscreen ? 'fullscreen' : '')
3760
3762
  }, current);
3761
3763
  };
3762
3764