@popmenu/admin-ui 0.40.0 → 0.40.3
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/build/index.es.js +14 -8
- package/build/index.es.js.map +1 -1
- package/build/index.js +14 -8
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -1660,20 +1660,26 @@ var PageBody = function (props) {
|
|
|
1660
1660
|
return (React__default['default'].createElement(core.Box, __assign$1({ py: 2, px: 5.5, maxWidth: 1100, width: "100%" }, restProps), children));
|
|
1661
1661
|
};
|
|
1662
1662
|
|
|
1663
|
-
var usePageSectionStyles = core.makeStyles(function () {
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1663
|
+
var usePageSectionStyles = core.makeStyles(function (_a) {
|
|
1664
|
+
var spacing = _a.spacing;
|
|
1665
|
+
return ({
|
|
1666
|
+
root: {
|
|
1667
|
+
background: function (_a) {
|
|
1668
|
+
var uncontained = _a.uncontained;
|
|
1669
|
+
return (uncontained ? 'transparent' : undefined);
|
|
1670
|
+
},
|
|
1668
1671
|
},
|
|
1669
|
-
|
|
1670
|
-
|
|
1672
|
+
cardContent: {
|
|
1673
|
+
padding: spacing(4),
|
|
1674
|
+
},
|
|
1675
|
+
});
|
|
1676
|
+
});
|
|
1671
1677
|
|
|
1672
1678
|
var PageSection = React.forwardRef(function (props, ref) {
|
|
1673
1679
|
var children = props.children; props.uncontained; var restProps = __rest$1(props, ["children", "uncontained"]);
|
|
1674
1680
|
var classes = usePageSectionStyles(props);
|
|
1675
1681
|
return (React__default['default'].createElement(Card__default['default'], __assign$1({ classes: { root: classes.root }, ref: ref }, restProps),
|
|
1676
|
-
React__default['default'].createElement(CardContent__default['default'],
|
|
1682
|
+
React__default['default'].createElement(CardContent__default['default'], { classes: { root: classes.cardContent } }, children)));
|
|
1677
1683
|
});
|
|
1678
1684
|
PageSection.displayName = 'PageSection';
|
|
1679
1685
|
|