@popmenu/admin-ui 0.20.0 → 0.21.0
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/components/Dialog/index.d.ts +1 -0
- package/build/components/DialogActions/DialogActions.d.ts +3 -0
- package/build/components/DialogActions/index.d.ts +2 -0
- package/build/components/DialogContent/index.d.ts +1 -0
- package/build/components/DialogTitle/index.d.ts +1 -0
- package/build/components/index.d.ts +4 -0
- package/build/index.es.js +22 -8
- package/build/index.es.js.map +1 -1
- package/build/index.js +42 -7
- package/build/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Dialog, DialogProps } from '@popmenu/common-ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DialogContent, DialogContentProps } from '@popmenu/common-ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DialogTitle, DialogTitleProps } from '@popmenu/common-ui';
|
|
@@ -9,3 +9,7 @@ export { default as FullScreenStepper, FullScreenStepperProps, FullScreenStepper
|
|
|
9
9
|
export { default as FullScreenStepperContent } from './FullScreenStepperContent';
|
|
10
10
|
export { default as SelectableCard, SelectableCardProps } from './SelectableCard';
|
|
11
11
|
export { default as Toast, ToastProps } from './Toast';
|
|
12
|
+
export { DialogTitle, DialogTitleProps } from './DialogTitle';
|
|
13
|
+
export { DialogActions, DialogActionsProps } from './DialogActions';
|
|
14
|
+
export { Dialog, DialogProps } from './Dialog';
|
|
15
|
+
export { DialogContent, DialogContentProps } from './DialogContent';
|
package/build/index.es.js
CHANGED
|
@@ -22,9 +22,10 @@ import FormControlLabel from '@material-ui/core/FormControlLabel';
|
|
|
22
22
|
import '@material-ui/core/Chip';
|
|
23
23
|
import '@material-ui/core/Collapse';
|
|
24
24
|
import Dialog from '@material-ui/core/Dialog';
|
|
25
|
-
|
|
26
|
-
import '@material-ui/core/
|
|
27
|
-
|
|
25
|
+
export { default as Dialog } from '@material-ui/core/Dialog';
|
|
26
|
+
import CommonDialogActions from '@material-ui/core/DialogActions';
|
|
27
|
+
export { default as DialogContent } from '@material-ui/core/DialogContent';
|
|
28
|
+
export { default as DialogTitle } from '@material-ui/core/DialogTitle';
|
|
28
29
|
import '@material-ui/core/Drawer';
|
|
29
30
|
import '@material-ui/core/FormControl';
|
|
30
31
|
import '@material-ui/core/Grid';
|
|
@@ -341,7 +342,7 @@ var Typography = forwardRef(function (props, ref) {
|
|
|
341
342
|
});
|
|
342
343
|
Typography.displayName = 'Typography';
|
|
343
344
|
|
|
344
|
-
var useStyles$1 = makeStyles(function (_a) {
|
|
345
|
+
var useStyles$1$1 = makeStyles(function (_a) {
|
|
345
346
|
var spacing = _a.spacing;
|
|
346
347
|
return ({
|
|
347
348
|
root: {
|
|
@@ -355,7 +356,7 @@ var useStyles$1 = makeStyles(function (_a) {
|
|
|
355
356
|
});
|
|
356
357
|
var Paper = forwardRef(function (props, ref) {
|
|
357
358
|
var legacyStyles = props.legacyStyles, restProps = __rest(props, ["legacyStyles"]);
|
|
358
|
-
var classes = useStyles$1(props);
|
|
359
|
+
var classes = useStyles$1$1(props);
|
|
359
360
|
return React__default.createElement(Paper$1, __assign({}, ref, { classes: __assign({}, (legacyStyles && classes)) }, restProps));
|
|
360
361
|
});
|
|
361
362
|
Paper.displayName = 'Paper';
|
|
@@ -1228,14 +1229,14 @@ var StepperActionsPreviousButton = function (props) {
|
|
|
1228
1229
|
return displayPreviousButton ? (React__default.createElement(Button, __assign$1({ variant: "tertiary", disabled: stepCursor === 1 }, augmentedPreviousButtonProps), previousButtonText || 'previous')) : null;
|
|
1229
1230
|
};
|
|
1230
1231
|
|
|
1231
|
-
var useStyles = makeStyles$1({
|
|
1232
|
+
var useStyles$1 = makeStyles$1({
|
|
1232
1233
|
root: {
|
|
1233
1234
|
fontStyle: 'italic',
|
|
1234
1235
|
},
|
|
1235
1236
|
});
|
|
1236
1237
|
var StepperActionsStatusText = function (props) {
|
|
1237
1238
|
var statusText = props.statusText;
|
|
1238
|
-
var classes = useStyles(props);
|
|
1239
|
+
var classes = useStyles$1(props);
|
|
1239
1240
|
return statusText ? (React__default.createElement(Typography, { classes: { root: classes.root }, variant: "body2" }, statusText)) : null;
|
|
1240
1241
|
};
|
|
1241
1242
|
|
|
@@ -1521,6 +1522,19 @@ Toast.defaultProps = {
|
|
|
1521
1522
|
};
|
|
1522
1523
|
Toast.displayName = 'Toast';
|
|
1523
1524
|
|
|
1525
|
+
var useStyles = makeStyles(function (_a) {
|
|
1526
|
+
var palette = _a.palette;
|
|
1527
|
+
return ({
|
|
1528
|
+
root: {
|
|
1529
|
+
background: palette.grey['100'],
|
|
1530
|
+
},
|
|
1531
|
+
});
|
|
1532
|
+
});
|
|
1533
|
+
var DialogActions = function (props) {
|
|
1534
|
+
var classes = useStyles(props);
|
|
1535
|
+
return React__default.createElement(CommonDialogActions, __assign$1({ classes: classes }, props));
|
|
1536
|
+
};
|
|
1537
|
+
|
|
1524
1538
|
var useFullScreenStepperContext = function () { return useContext(FullScreenStepperContext); };
|
|
1525
1539
|
|
|
1526
1540
|
/**
|
|
@@ -1785,5 +1799,5 @@ var adminLight = createTheme(adminLightOptions);
|
|
|
1785
1799
|
var adminDarkOptions = __assign$1(__assign$1(__assign$1(__assign$1(__assign$1({ themeName: 'Admin Dark', palette: __assign$1(__assign$1({}, basePalette), adminDarkPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps), adminOverrides);
|
|
1786
1800
|
var adminDark = createTheme(adminDarkOptions);
|
|
1787
1801
|
|
|
1788
|
-
export { Alert, AlertDialog, AlertDialogHeader, AlertTitle, Button, ButtonGroup, FeatureIntro, FullScreenStepper, FullScreenStepperContent, FullScreenStepperContext, SelectableCard, Toast, adminDark, adminDarkOptions, adminLight, adminLightOptions, useFullScreenStepperContext, useSelectableCard };
|
|
1802
|
+
export { Alert, AlertDialog, AlertDialogHeader, AlertTitle, Button, ButtonGroup, DialogActions, FeatureIntro, FullScreenStepper, FullScreenStepperContent, FullScreenStepperContext, SelectableCard, Toast, adminDark, adminDarkOptions, adminLight, adminLightOptions, useFullScreenStepperContext, useSelectableCard };
|
|
1789
1803
|
//# sourceMappingURL=index.es.js.map
|