tek-wallet 0.0.340 → 0.0.341
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.
|
@@ -46,7 +46,7 @@ Button.Primary.displayName = "Button.Primary";
|
|
|
46
46
|
Button.Secondary = function (props) {
|
|
47
47
|
var sx = props.sx, rest = __rest(props, ["sx"]);
|
|
48
48
|
var theme = (0, material_1.useTheme)();
|
|
49
|
-
return ((0, jsx_runtime_1.jsx)(Button, __assign({}, rest, { variant: "outlined", color: "secondary", sx: __assign({ borderRadius: theme.mixins.theBorderRadius.full }, sx) })));
|
|
49
|
+
return ((0, jsx_runtime_1.jsx)(Button, __assign({}, rest, { variant: "outlined", color: "secondary", sx: __assign({ borderRadius: theme.mixins.theBorderRadius.full, borderColor: "currentColor" }, sx) })));
|
|
50
50
|
};
|
|
51
51
|
Button.Secondary.displayName = "Button.Secondary";
|
|
52
52
|
Button.Text = function (props) {
|
|
@@ -31,8 +31,12 @@ var Text_1 = __importDefault(require("../Text"));
|
|
|
31
31
|
function DialogContentLayout(props) {
|
|
32
32
|
var content = props.content, actions = props.actions, sx = props.sx, rest = __rest(props, ["content", "actions", "sx"]);
|
|
33
33
|
var theme = (0, material_1.useTheme)();
|
|
34
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ sx: __assign(__assign(__assign(__assign({}, theme.mixins.column), { 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: {
|
|
34
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ sx: __assign(__assign(__assign(__assign({}, theme.mixins.column), { borderRadius: theme.mixins.theBorderRadius.r12, backgroundColor: theme.palette.background.black, boxShadow: theme.shadows[1], minWidth: "60%" }), theme.mixins.dialogContent), sx) }, rest, { children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
|
|
35
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: {
|
|
36
|
+
}, children: content }), !!actions && (0, jsx_runtime_1.jsx)(material_1.Divider, {}), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: {
|
|
37
|
+
px: theme.mixins.customPadding.p12,
|
|
38
|
+
width: "100%",
|
|
39
|
+
height: "fit-content",
|
|
40
|
+
}, children: actions })] })));
|
|
37
41
|
}
|
|
38
42
|
exports.default = DialogContentLayout;
|
|
@@ -186,6 +186,7 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
186
186
|
setAmountError(undefined);
|
|
187
187
|
setAmountErrorMessage(undefined);
|
|
188
188
|
setHiddenError(true);
|
|
189
|
+
setRecipientAddressError(undefined);
|
|
189
190
|
};
|
|
190
191
|
var gotoStep = function (step) {
|
|
191
192
|
var _a;
|