tek-wallet 0.0.294 → 0.0.295
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.
|
@@ -34,7 +34,9 @@ var AppBackDrop = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
34
34
|
open: function () { return setIsOpen(true); },
|
|
35
35
|
close: function () { return setIsOpen(false); },
|
|
36
36
|
}); });
|
|
37
|
-
return ((0, jsx_runtime_1.jsx)(material_2.Backdrop, __assign({ sx: __assign({ color: "text.white", zIndex: theme.zIndex.drawer + 1
|
|
37
|
+
return ((0, jsx_runtime_1.jsx)(material_2.Backdrop, __assign({ sx: __assign({ color: "text.white", zIndex: theme.zIndex.drawer + 1, "& .MuiBackdrop-root": {
|
|
38
|
+
backdropFilter: "blur(12px)",
|
|
39
|
+
} }, sx) }, rest, { open: isOpen, children: (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { color: "inherit" }) })));
|
|
38
40
|
});
|
|
39
41
|
AppBackDrop.displayName = "AppBackDrop";
|
|
40
42
|
exports.default = AppBackDrop;
|
|
@@ -21,12 +21,18 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
}
|
|
22
22
|
return t;
|
|
23
23
|
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
24
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
28
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
26
29
|
var material_1 = require("@mui/material");
|
|
30
|
+
var Text_1 = __importDefault(require("../Text"));
|
|
27
31
|
function DialogContentLayout(props) {
|
|
28
32
|
var content = props.content, actions = props.actions, sx = props.sx, rest = __rest(props, ["content", "actions", "sx"]);
|
|
29
33
|
var theme = (0, material_1.useTheme)();
|
|
30
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ sx: __assign(__assign(__assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g12,
|
|
34
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ sx: __assign(__assign(__assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g12, borderRadius: theme.mixins.theBorderRadius.r12, backgroundColor: theme.palette.background.black, boxShadow: theme.shadows[1] }), theme.mixins.dialogContent), sx) }, rest, { children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
|
|
35
|
+
padding: theme.mixins.customPadding.p12,
|
|
36
|
+
}, children: content }), !!actions && (0, jsx_runtime_1.jsx)(material_1.Divider, {}), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: { px: theme.mixins.customPadding.p12 }, children: actions })] })));
|
|
31
37
|
}
|
|
32
38
|
exports.default = DialogContentLayout;
|
package/dist/theme/mui/theme.js
CHANGED