@popmenu/admin-ui 0.20.0 → 0.22.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 +52 -14
- package/build/index.es.js.map +1 -1
- package/build/index.js +72 -13
- package/build/index.js.map +1 -1
- package/build/theme/adminDarkTheme.d.ts +0 -1
- package/build/theme/adminLightTheme.d.ts +1 -1
- package/package.json +2 -2
- package/build/theme/overrides.d.ts +0 -3
|
@@ -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';
|
|
@@ -716,6 +717,34 @@ var Tooltip = forwardRef(function (props, ref) {
|
|
|
716
717
|
});
|
|
717
718
|
Tooltip.displayName = 'Tooltip';
|
|
718
719
|
|
|
720
|
+
makeStyles(function () { return ({
|
|
721
|
+
root: {
|
|
722
|
+
height: 56,
|
|
723
|
+
},
|
|
724
|
+
}); });
|
|
725
|
+
makeStyles(function (theme) { return ({
|
|
726
|
+
root: {
|
|
727
|
+
height: '100%',
|
|
728
|
+
width: 'min-content',
|
|
729
|
+
borderRadius: theme.spacing(1),
|
|
730
|
+
},
|
|
731
|
+
input: {
|
|
732
|
+
'&::-webkit-clear-button, &::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {
|
|
733
|
+
display: 'none',
|
|
734
|
+
},
|
|
735
|
+
'-moz-appearance': 'textfield',
|
|
736
|
+
minWidth: 40,
|
|
737
|
+
padding: 0,
|
|
738
|
+
textAlign: 'center',
|
|
739
|
+
},
|
|
740
|
+
adornedStart: {
|
|
741
|
+
padding: 0,
|
|
742
|
+
},
|
|
743
|
+
adornedEnd: {
|
|
744
|
+
padding: 0,
|
|
745
|
+
},
|
|
746
|
+
}); });
|
|
747
|
+
|
|
719
748
|
var _path$4n, _path2$1p;
|
|
720
749
|
|
|
721
750
|
function _extends$4E() { _extends$4E = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4E.apply(this, arguments); }
|
|
@@ -1228,14 +1257,14 @@ var StepperActionsPreviousButton = function (props) {
|
|
|
1228
1257
|
return displayPreviousButton ? (React__default.createElement(Button, __assign$1({ variant: "tertiary", disabled: stepCursor === 1 }, augmentedPreviousButtonProps), previousButtonText || 'previous')) : null;
|
|
1229
1258
|
};
|
|
1230
1259
|
|
|
1231
|
-
var useStyles = makeStyles$1({
|
|
1260
|
+
var useStyles$1 = makeStyles$1({
|
|
1232
1261
|
root: {
|
|
1233
1262
|
fontStyle: 'italic',
|
|
1234
1263
|
},
|
|
1235
1264
|
});
|
|
1236
1265
|
var StepperActionsStatusText = function (props) {
|
|
1237
1266
|
var statusText = props.statusText;
|
|
1238
|
-
var classes = useStyles(props);
|
|
1267
|
+
var classes = useStyles$1(props);
|
|
1239
1268
|
return statusText ? (React__default.createElement(Typography, { classes: { root: classes.root }, variant: "body2" }, statusText)) : null;
|
|
1240
1269
|
};
|
|
1241
1270
|
|
|
@@ -1521,6 +1550,19 @@ Toast.defaultProps = {
|
|
|
1521
1550
|
};
|
|
1522
1551
|
Toast.displayName = 'Toast';
|
|
1523
1552
|
|
|
1553
|
+
var useStyles = makeStyles(function (_a) {
|
|
1554
|
+
var palette = _a.palette;
|
|
1555
|
+
return ({
|
|
1556
|
+
root: {
|
|
1557
|
+
background: palette.grey['100'],
|
|
1558
|
+
},
|
|
1559
|
+
});
|
|
1560
|
+
});
|
|
1561
|
+
var DialogActions = function (props) {
|
|
1562
|
+
var classes = useStyles(props);
|
|
1563
|
+
return React__default.createElement(CommonDialogActions, __assign$1({ classes: classes }, props));
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1524
1566
|
var useFullScreenStepperContext = function () { return useContext(FullScreenStepperContext); };
|
|
1525
1567
|
|
|
1526
1568
|
/**
|
|
@@ -1775,15 +1817,11 @@ var adminThemeDefaultProps = {
|
|
|
1775
1817
|
},
|
|
1776
1818
|
};
|
|
1777
1819
|
|
|
1778
|
-
var
|
|
1779
|
-
overrides: {},
|
|
1780
|
-
};
|
|
1781
|
-
|
|
1782
|
-
var adminLightOptions = __assign$1(__assign$1(__assign$1(__assign$1(__assign$1({ themeName: 'Admin Light', palette: __assign$1(__assign$1({}, basePalette), adminLightPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps), adminOverrides);
|
|
1820
|
+
var adminLightOptions = __assign$1(__assign$1(__assign$1(__assign$1({ themeName: 'Admin Light', palette: __assign$1(__assign$1({}, basePalette), adminLightPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
|
|
1783
1821
|
var adminLight = createTheme(adminLightOptions);
|
|
1784
1822
|
|
|
1785
|
-
var adminDarkOptions = __assign$1(__assign$1(__assign$1(__assign$1(
|
|
1823
|
+
var adminDarkOptions = __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);
|
|
1786
1824
|
var adminDark = createTheme(adminDarkOptions);
|
|
1787
1825
|
|
|
1788
|
-
export { Alert, AlertDialog, AlertDialogHeader, AlertTitle, Button, ButtonGroup, FeatureIntro, FullScreenStepper, FullScreenStepperContent, FullScreenStepperContext, SelectableCard, Toast, adminDark, adminDarkOptions, adminLight, adminLightOptions, useFullScreenStepperContext, useSelectableCard };
|
|
1826
|
+
export { Alert, AlertDialog, AlertDialogHeader, AlertTitle, Button, ButtonGroup, DialogActions, FeatureIntro, FullScreenStepper, FullScreenStepperContent, FullScreenStepperContext, SelectableCard, Toast, adminDark, adminDarkOptions, adminLight, adminLightOptions, useFullScreenStepperContext, useSelectableCard };
|
|
1789
1827
|
//# sourceMappingURL=index.es.js.map
|