pcm-shared-components 0.0.145 → 0.0.148
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.
|
@@ -118,6 +118,9 @@ export const GenericAppBar = props => {
|
|
|
118
118
|
[compTheme.breakpoints.up("md")]: {
|
|
119
119
|
display: "none"
|
|
120
120
|
}
|
|
121
|
+
},
|
|
122
|
+
gutters: {
|
|
123
|
+
paddingRight: 6
|
|
121
124
|
}
|
|
122
125
|
}));
|
|
123
126
|
const classes = useStyles(); //---------------------------------------------------
|
|
@@ -305,7 +308,8 @@ export const GenericAppBar = props => {
|
|
|
305
308
|
}, /*#__PURE__*/React.createElement(AppBar, {
|
|
306
309
|
position: "static"
|
|
307
310
|
}, /*#__PURE__*/React.createElement(Toolbar, {
|
|
308
|
-
variant: "dense"
|
|
311
|
+
variant: "dense",
|
|
312
|
+
className: classes.gutters
|
|
309
313
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(CloseContext, appBarMenu.closeMenu)), /*#__PURE__*/React.createElement(TitleContext, null), /*#__PURE__*/React.createElement("div", {
|
|
310
314
|
className: classes.grow
|
|
311
315
|
}), /*#__PURE__*/React.createElement("div", {
|
|
@@ -148,7 +148,7 @@ export const GenericDialogWindow = props => {
|
|
|
148
148
|
onClose: closeDialog,
|
|
149
149
|
onBackdropClick: "false",
|
|
150
150
|
maxWidth: dialogSize,
|
|
151
|
-
fullScreen: dialogSize ? false : true,
|
|
151
|
+
fullScreen: dialogSize && !fullWidth ? false : true,
|
|
152
152
|
fullWidth: fullWidth,
|
|
153
153
|
className: ""
|
|
154
154
|
}, /*#__PURE__*/React.createElement(GenericAppBar, {
|
|
@@ -56,9 +56,9 @@ export const ReusablePopupMenu = props => {
|
|
|
56
56
|
|
|
57
57
|
return child;
|
|
58
58
|
});
|
|
59
|
-
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
59
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, childrenWithProps, /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
60
60
|
theme: componentTheme
|
|
61
|
-
},
|
|
61
|
+
}, /*#__PURE__*/React.createElement(ReusableMenu, hocProps)));
|
|
62
62
|
};
|
|
63
63
|
export default ReusablePopupMenu;
|
|
64
64
|
export const createReusablePopupMenuObject = (onClick = undefined, icon = undefined, name = undefined, isChecked = undefined) => {
|