tek-wallet 0.0.236 → 0.0.238

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,14 +28,54 @@ 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, { variant: "outlined", sx: __assign({ backgroundColor: "transparent", border: "none", outline: "none", flex: 1, height: "fit-content", minHeight: "unset", "& .MuiInputBase-input": {
32
- border: "none",
33
- outline: "none",
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, { variant: "outlined", sx: __assign({
32
+ // backgroundColor: "transparent",
33
+ // border: "none",
34
+ // outline: "none",
35
+ // flex: 1,
36
+ // height: "fit-content",
37
+ // minHeight: "unset",
38
+ // "& .MuiInputBase-input": {
39
+ // border: "none",
40
+ // outline: "none",
41
+ // color: theme.palette.text.white,
42
+ // fontSize: theme.typography.fontSize16,
43
+ // lineHeight: theme.typography.leading140,
44
+ // fontWeight: theme.typography.fontWeight400,
45
+ // padding: `${theme.mixins.customPadding.p8} ${theme.mixins.customPadding.p12}`,
46
+ // height: "fit-content",
47
+ // minHeight: "unset",
48
+ // },
49
+ // "& .Mui-focused": {
50
+ // border: "none !important",
51
+ // outline: "none !important",
52
+ // },
53
+ // "& .MuiInputBase-input::placeholder": {
54
+ // color: theme.palette.text.white64,
55
+ // fontSize: theme.typography.fontSize14,
56
+ // },
57
+ // ...inputSx,
58
+ backgroundColor: "transparent", flex: 1, height: "fit-content", minHeight: "unset", "& .MuiOutlinedInput-root": {
59
+ // Chỉnh sửa root của input (outlined)
60
+ border: "none", // Xóa border
61
+ outline: "none", // Xóa outline
62
+ "&:hover": {
63
+ // Xóa border khi hover
64
+ border: "none !important",
65
+ },
66
+ "&.Mui-focused": {
67
+ // Xóa border và outline khi focused
68
+ border: "none !important",
69
+ outline: "none !important",
70
+ },
71
+ }, "& .MuiInputBase-input": {
72
+ border: "none", // Xóa border của input
73
+ outline: "none", // Xóa outline của input
34
74
  color: theme.palette.text.white,
35
75
  fontSize: theme.typography.fontSize16,
36
76
  lineHeight: theme.typography.leading140,
37
77
  fontWeight: theme.typography.fontWeight400,
38
- padding: theme.mixins.customPadding.p12,
78
+ padding: "".concat(theme.mixins.customPadding.p8, " ").concat(theme.mixins.customPadding.p12),
39
79
  height: "fit-content",
40
80
  minHeight: "unset",
41
81
  }, "& .MuiInputBase-input::placeholder": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.236",
3
+ "version": "0.0.238",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",