ywana-core8 0.1.64 → 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 +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.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
|
|