tek-wallet 0.0.237 → 0.0.239
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.
|
@@ -28,9 +28,51 @@ var react_1 = require("react");
|
|
|
28
28
|
var Input = (0, react_1.forwardRef)(function (props, inputRef) {
|
|
29
29
|
var inputRest = props.inputRest, leftPart = props.leftPart, rightPart = props.rightPart, sx = props.sx, inputSx = props.inputSx, rest = __rest(props, ["inputRest", "leftPart", "rightPart", "sx", "inputSx"]);
|
|
30
30
|
var theme = (0, material_1.useTheme)();
|
|
31
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ ref: inputRef, sx: __assign(__assign(__assign({}, theme.mixins.row), { gap: theme.mixins.gaps.g12, borderRadius: theme.mixins.theBorderRadius.r12, padding: 0, backgroundColor: "background.white16", border: "1px solid ".concat(theme.palette.border.white24), backdropFilter: "blur(10px)" }), sx) }, rest, { children: [leftPart, (0, jsx_runtime_1.jsx)(material_1.TextField, __assign({}, inputRest, {
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ ref: inputRef, sx: __assign(__assign(__assign({}, theme.mixins.row), { gap: theme.mixins.gaps.g12, borderRadius: theme.mixins.theBorderRadius.r12, padding: 0, backgroundColor: "background.white16", border: "1px solid ".concat(theme.palette.border.white24), backdropFilter: "blur(10px)" }), sx) }, rest, { children: [leftPart, (0, jsx_runtime_1.jsx)(material_1.TextField, __assign({}, inputRest, {
|
|
32
|
+
// variant="outlined"
|
|
33
|
+
sx: __assign({
|
|
34
|
+
// backgroundColor: "transparent",
|
|
35
|
+
// border: "none",
|
|
36
|
+
// outline: "none",
|
|
37
|
+
// flex: 1,
|
|
38
|
+
// height: "fit-content",
|
|
39
|
+
// minHeight: "unset",
|
|
40
|
+
// "& .MuiInputBase-input": {
|
|
41
|
+
// border: "none",
|
|
42
|
+
// outline: "none",
|
|
43
|
+
// color: theme.palette.text.white,
|
|
44
|
+
// fontSize: theme.typography.fontSize16,
|
|
45
|
+
// lineHeight: theme.typography.leading140,
|
|
46
|
+
// fontWeight: theme.typography.fontWeight400,
|
|
47
|
+
// padding: `${theme.mixins.customPadding.p8} ${theme.mixins.customPadding.p12}`,
|
|
48
|
+
// height: "fit-content",
|
|
49
|
+
// minHeight: "unset",
|
|
50
|
+
// },
|
|
51
|
+
// "& .Mui-focused": {
|
|
52
|
+
// border: "none !important",
|
|
53
|
+
// outline: "none !important",
|
|
54
|
+
// },
|
|
55
|
+
// "& .MuiInputBase-input::placeholder": {
|
|
56
|
+
// color: theme.palette.text.white64,
|
|
57
|
+
// fontSize: theme.typography.fontSize14,
|
|
58
|
+
// },
|
|
59
|
+
// ...inputSx,
|
|
60
|
+
backgroundColor: "transparent", flex: 1, height: "fit-content", minHeight: "unset", "& .MuiOutlinedInput-root": {
|
|
61
|
+
// Chỉnh sửa root của input (outlined)
|
|
62
|
+
border: "none", // Xóa border
|
|
63
|
+
outline: "none", // Xóa outline
|
|
64
|
+
"&:hover": {
|
|
65
|
+
// Xóa border khi hover
|
|
66
|
+
border: "none !important",
|
|
67
|
+
},
|
|
68
|
+
"&.Mui-focused": {
|
|
69
|
+
// Xóa border và outline khi focused
|
|
70
|
+
border: "none !important",
|
|
71
|
+
outline: "none !important",
|
|
72
|
+
},
|
|
73
|
+
}, "& .MuiInputBase-input": {
|
|
74
|
+
border: "none", // Xóa border của input
|
|
75
|
+
outline: "none", // Xóa outline của input
|
|
34
76
|
color: theme.palette.text.white,
|
|
35
77
|
fontSize: theme.typography.fontSize16,
|
|
36
78
|
lineHeight: theme.typography.leading140,
|
|
@@ -38,9 +80,6 @@ var Input = (0, react_1.forwardRef)(function (props, inputRef) {
|
|
|
38
80
|
padding: "".concat(theme.mixins.customPadding.p8, " ").concat(theme.mixins.customPadding.p12),
|
|
39
81
|
height: "fit-content",
|
|
40
82
|
minHeight: "unset",
|
|
41
|
-
}, "& .Mui-focused": {
|
|
42
|
-
border: "none !important",
|
|
43
|
-
outline: "none !important",
|
|
44
83
|
}, "& .MuiInputBase-input::placeholder": {
|
|
45
84
|
color: theme.palette.text.white64,
|
|
46
85
|
fontSize: theme.typography.fontSize14,
|