@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.es.js
CHANGED
|
@@ -1608,20 +1608,26 @@ var PageBody = function (props) {
|
|
|
1608
1608
|
return (React__default.createElement(Box, __assign$1({ py: 2, px: 5.5, maxWidth: 1100, width: "100%" }, restProps), children));
|
|
1609
1609
|
};
|
|
1610
1610
|
|
|
1611
|
-
var usePageSectionStyles = makeStyles(function () {
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1611
|
+
var usePageSectionStyles = makeStyles(function (_a) {
|
|
1612
|
+
var spacing = _a.spacing;
|
|
1613
|
+
return ({
|
|
1614
|
+
root: {
|
|
1615
|
+
background: function (_a) {
|
|
1616
|
+
var uncontained = _a.uncontained;
|
|
1617
|
+
return (uncontained ? 'transparent' : undefined);
|
|
1618
|
+
},
|
|
1616
1619
|
},
|
|
1617
|
-
|
|
1618
|
-
|
|
1620
|
+
cardContent: {
|
|
1621
|
+
padding: spacing(4),
|
|
1622
|
+
},
|
|
1623
|
+
});
|
|
1624
|
+
});
|
|
1619
1625
|
|
|
1620
1626
|
var PageSection = forwardRef(function (props, ref) {
|
|
1621
1627
|
var children = props.children; props.uncontained; var restProps = __rest$1(props, ["children", "uncontained"]);
|
|
1622
1628
|
var classes = usePageSectionStyles(props);
|
|
1623
1629
|
return (React__default.createElement(Card, __assign$1({ classes: { root: classes.root }, ref: ref }, restProps),
|
|
1624
|
-
React__default.createElement(CardContent,
|
|
1630
|
+
React__default.createElement(CardContent, { classes: { root: classes.cardContent } }, children)));
|
|
1625
1631
|
});
|
|
1626
1632
|
PageSection.displayName = 'PageSection';
|
|
1627
1633
|
|