tek-wallet 0.0.806 → 0.0.807

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.
Files changed (189) hide show
  1. package/dist/components/TekWallet/components/index.d.ts +2 -1
  2. package/dist/components/TekWallet/components/index.js +2 -1
  3. package/dist/components/TekWallet/components/layouts/ChildPageLayout/index.js +3 -3
  4. package/dist/components/TekWallet/components/layouts/DefaultPageLayout/index.js +3 -3
  5. package/dist/components/TekWallet/components/ui/ActivitiesTypeSlice/index.js +12 -8
  6. package/dist/components/TekWallet/components/ui/ActivityDetail/index.js +17 -19
  7. package/dist/components/TekWallet/components/ui/ActivityItem/index.js +13 -13
  8. package/dist/components/TekWallet/components/ui/AmountGroupAndChart/index.js +3 -3
  9. package/dist/components/TekWallet/components/ui/AnalyticGroup/index.js +20 -20
  10. package/dist/components/TekWallet/components/ui/AnalyticGroupCenter/index.js +9 -8
  11. package/dist/components/TekWallet/components/ui/AppBackDrop/index.js +3 -3
  12. package/dist/components/TekWallet/components/ui/AppDialog/index.js +3 -3
  13. package/dist/components/TekWallet/components/ui/AssetViewHeader/index.js +9 -8
  14. package/dist/components/TekWallet/components/ui/BackHeader/index.js +6 -6
  15. package/dist/components/TekWallet/components/ui/BottomActionLayout/index.js +3 -3
  16. package/dist/components/TekWallet/components/ui/Button/index.js +4 -4
  17. package/dist/components/TekWallet/components/ui/CardToken/index.js +8 -8
  18. package/dist/components/TekWallet/components/ui/Column/index.js +3 -3
  19. package/dist/components/TekWallet/components/ui/ConfirmByPasscode/index.js +6 -4
  20. package/dist/components/TekWallet/components/ui/ConfirmLayout/index.js +3 -3
  21. package/dist/components/TekWallet/components/ui/ConfirmSwapToken/Result.js +17 -17
  22. package/dist/components/TekWallet/components/ui/ConfirmTransfer/index.js +3 -3
  23. package/dist/components/TekWallet/components/ui/CopyTextComponent/index.js +6 -6
  24. package/dist/components/TekWallet/components/ui/CustomTooltip/index.js +4 -2
  25. package/dist/components/TekWallet/components/ui/DetailSwap/index.js +9 -9
  26. package/dist/components/TekWallet/components/ui/DialogContentLayout/index.js +6 -6
  27. package/dist/components/TekWallet/components/ui/DrawerDrag/index.js +3 -3
  28. package/dist/components/TekWallet/components/ui/EmptyData/index.js +3 -3
  29. package/dist/components/TekWallet/components/ui/Fees/index.js +25 -25
  30. package/dist/components/TekWallet/components/ui/FeesAutoDebounce/index.js +24 -25
  31. package/dist/components/TekWallet/components/ui/FiatDeposit/components/shareAction.js +4 -6
  32. package/dist/components/TekWallet/components/ui/FiatDeposit/components/shareDrawer.js +2 -5
  33. package/dist/components/TekWallet/components/ui/FiatDeposit/components/shareImage.js +1 -2
  34. package/dist/components/TekWallet/components/ui/FiatDeposit/index.js +28 -26
  35. package/dist/components/TekWallet/components/ui/Formatter/index.js +3 -0
  36. package/dist/components/TekWallet/components/ui/FunctionItem/index.js +4 -5
  37. package/dist/components/TekWallet/components/ui/Icon/index.js +1 -1
  38. package/dist/components/TekWallet/components/ui/IconText/index.js +3 -3
  39. package/dist/components/TekWallet/components/ui/IncomeWallet/components/AnalyticGroup.js +19 -20
  40. package/dist/components/TekWallet/components/ui/IncomeWallet/components/BalanceChart.js +5 -5
  41. package/dist/components/TekWallet/components/ui/IncomeWallet/components/FunctionItem.js +3 -3
  42. package/dist/components/TekWallet/components/ui/IncomeWallet/components/HistoryItem.js +3 -3
  43. package/dist/components/TekWallet/components/ui/IncomeWallet/components/WealthDeposit.js +3 -1
  44. package/dist/components/TekWallet/components/ui/IncomeWallet/components/WealthWithdraw.js +3 -1
  45. package/dist/components/TekWallet/components/ui/IncomeWallet/components/history/index.js +3 -3
  46. package/dist/components/TekWallet/components/ui/IncomeWallet/index.js +10 -10
  47. package/dist/components/TekWallet/components/ui/InlineTitleValue/index.js +3 -3
  48. package/dist/components/TekWallet/components/ui/Input/index.js +5 -5
  49. package/dist/components/TekWallet/components/ui/LineValue/index.js +3 -3
  50. package/dist/components/TekWallet/components/ui/ListItemCustom/index.js +8 -6
  51. package/dist/components/TekWallet/components/ui/LoadingLayout/index.js +3 -3
  52. package/dist/components/TekWallet/components/ui/LockToken/index.js +4 -4
  53. package/dist/components/TekWallet/components/ui/ModalCheckboxToken/index.js +22 -22
  54. package/dist/components/TekWallet/components/ui/ModalDateFilter/index.js +11 -11
  55. package/dist/components/TekWallet/components/ui/ModalLayout/index.js +3 -3
  56. package/dist/components/TekWallet/components/ui/ModalSelectToken/index.js +12 -12
  57. package/dist/components/TekWallet/components/ui/ModalStatusFilter/index.js +16 -16
  58. package/dist/components/TekWallet/components/ui/ModalTitle/index.js +3 -3
  59. package/dist/components/TekWallet/components/ui/NeonLineChart/index.js +4 -4
  60. package/dist/components/TekWallet/components/ui/NetworkSelection/index.js +5 -5
  61. package/dist/components/TekWallet/components/ui/OTP/index.js +24 -18
  62. package/dist/components/TekWallet/components/ui/PageHeader/index.js +3 -3
  63. package/dist/components/TekWallet/components/ui/QRCode/index.js +3 -1
  64. package/dist/components/TekWallet/components/ui/QrCodeReader/index.js +2 -3
  65. package/dist/components/TekWallet/components/ui/ReceiveDirectly/index.d.ts +26 -0
  66. package/dist/components/TekWallet/components/ui/ReceiveDirectly/index.js +365 -0
  67. package/dist/components/TekWallet/components/ui/ReceiveFunction/components/HelpView.js +4 -4
  68. package/dist/components/TekWallet/components/ui/ReceiveFunction/components/SortGroup.js +4 -4
  69. package/dist/components/TekWallet/components/ui/ReceiveFunction/components/SortTool.js +7 -12
  70. package/dist/components/TekWallet/components/ui/ReceiveFunction/index.js +39 -56
  71. package/dist/components/TekWallet/components/ui/ReceiveHistory/ReceiveCardHistory.js +13 -13
  72. package/dist/components/TekWallet/components/ui/ReceiveHistory/ReceiveHistoryDetails.js +22 -29
  73. package/dist/components/TekWallet/components/ui/ReceiveHistory/index.js +19 -19
  74. package/dist/components/TekWallet/components/ui/Row/index.js +3 -3
  75. package/dist/components/TekWallet/components/ui/ScanQRToSend/index.js +7 -7
  76. package/dist/components/TekWallet/components/ui/SearchBar.d.ts +10 -0
  77. package/dist/components/TekWallet/components/ui/SearchBar.js +42 -0
  78. package/dist/components/TekWallet/components/ui/SendExternalToken/index.js +7 -7
  79. package/dist/components/TekWallet/components/ui/SendInternalToken/index.js +5 -5
  80. package/dist/components/TekWallet/components/ui/SmartList/index.js +3 -3
  81. package/dist/components/TekWallet/components/ui/StatusDisplay/index.js +7 -7
  82. package/dist/components/TekWallet/components/ui/SvgPath/index.js +27 -27
  83. package/dist/components/TekWallet/components/ui/SwiperControlled/index.js +1 -3
  84. package/dist/components/TekWallet/components/ui/TimeFilter/index.js +9 -8
  85. package/dist/components/TekWallet/components/ui/TimeText/index.js +1 -1
  86. package/dist/components/TekWallet/components/ui/TokenItem/index.js +7 -15
  87. package/dist/components/TekWallet/components/ui/TokenSelection/index.js +5 -5
  88. package/dist/components/TekWallet/components/ui/TokensBoard/index.js +12 -12
  89. package/dist/components/TekWallet/components/ui/TransferConfirmation/index.js +3 -3
  90. package/dist/components/TekWallet/components/ui/TransferInternal/index.js +3 -3
  91. package/dist/components/TekWallet/components/ui/UpdateLockToken/index.js +4 -4
  92. package/dist/components/TekWallet/components/ui/UserInfo/index.js +4 -4
  93. package/dist/components/TekWallet/components/ui/WaitingData/index.js +13 -12
  94. package/dist/components/TekWallet/components/ui/WithdrawFunction/components/selectToken.js +11 -11
  95. package/dist/components/TekWallet/components/ui/WithdrawFunction/components/sendForm.js +30 -30
  96. package/dist/components/TekWallet/components/ui/WithdrawFunction/components/sortByBalance.js +3 -3
  97. package/dist/components/TekWallet/components/ui/WithdrawFunction/components/sortByToken.js +3 -3
  98. package/dist/components/TekWallet/components/ui/WithdrawFunction/components/summary/infoSummary.js +8 -8
  99. package/dist/components/TekWallet/components/ui/WithdrawFunction/index.js +9 -9
  100. package/dist/components/TekWallet/components/views/ActivityView/index.js +4 -4
  101. package/dist/components/TekWallet/components/views/AssetView/Menu.js +3 -3
  102. package/dist/components/TekWallet/components/views/AssetView/index.js +12 -12
  103. package/dist/components/TekWallet/components/views/AuthView/index.js +4 -4
  104. package/dist/components/TekWallet/components/views/AuthViewSignIn/index.js +4 -4
  105. package/dist/components/TekWallet/components/views/ChangePasscodeView/index.js +8 -6
  106. package/dist/components/TekWallet/components/views/CreateWalletView/index.js +4 -4
  107. package/dist/components/TekWallet/components/views/DetailActivityView/LoadingView.js +4 -4
  108. package/dist/components/TekWallet/components/views/GetSeedPhraseWalletView/index.js +7 -7
  109. package/dist/components/TekWallet/components/views/ImportWalletView/index.js +4 -7
  110. package/dist/components/TekWallet/components/views/SendExternalView/components/Form.js +32 -37
  111. package/dist/components/TekWallet/components/views/SendExternalView/components/Result.js +16 -16
  112. package/dist/components/TekWallet/components/views/SendExternalView/components/SelectNetwork.js +3 -3
  113. package/dist/components/TekWallet/components/views/SendExternalView/components/SelectToken.js +7 -32
  114. package/dist/components/TekWallet/components/views/SendExternalView/components/Summary.js +12 -12
  115. package/dist/components/TekWallet/components/views/SendExternalView/index.js +3 -3
  116. package/dist/components/TekWallet/components/views/SendInternalView/components/AmountForm.js +26 -24
  117. package/dist/components/TekWallet/components/views/SendInternalView/components/Form.js +27 -33
  118. package/dist/components/TekWallet/components/views/SendInternalView/components/Result.js +14 -14
  119. package/dist/components/TekWallet/components/views/SendInternalView/components/SelectToken.js +7 -32
  120. package/dist/components/TekWallet/components/views/SendInternalView/components/Summary.js +10 -10
  121. package/dist/components/TekWallet/components/views/SendInternalView/index.js +3 -3
  122. package/dist/components/TekWallet/components/views/SettingView/index.js +4 -13
  123. package/dist/components/TekWallet/components/views/SwapView/components/FromCard/FromCardSkeleton.js +7 -8
  124. package/dist/components/TekWallet/components/views/SwapView/components/FromCard/index.js +20 -25
  125. package/dist/components/TekWallet/components/views/SwapView/components/SelectToken.js +7 -32
  126. package/dist/components/TekWallet/components/views/SwapView/components/Summary.js +36 -39
  127. package/dist/components/TekWallet/components/views/SwapView/components/ToCard/index.js +7 -7
  128. package/dist/components/TekWallet/components/views/SwapView/index.js +12 -10
  129. package/dist/components/TekWallet/hooks/useValidateAmount.js +3 -3
  130. package/dist/components/TekWallet/hooks/useWarningWrongPasscode.js +5 -5
  131. package/dist/components/TekWallet/index.d.ts +2 -0
  132. package/dist/components/TekWallet/index.js +2 -12
  133. package/dist/components/TekWallet/layouts/ChildPageLayout/index.js +3 -3
  134. package/dist/components/TekWallet/providers/RealtimeProvider/index.js +15 -13
  135. package/dist/components/TekWallet/providers/TekWalletProvider/index.d.ts +9 -1
  136. package/dist/components/TekWallet/providers/TekWalletProvider/index.js +11 -4
  137. package/dist/components/TekWallet/providers/index.d.ts +0 -1
  138. package/dist/components/TekWallet/providers/index.js +0 -1
  139. package/dist/components/TekWallet/theme/mui/components/index.d.ts +133 -0
  140. package/dist/components/TekWallet/theme/mui/components/index.js +14 -0
  141. package/dist/components/TekWallet/theme/mui/components/overrides/Button.d.ts +142 -0
  142. package/dist/components/TekWallet/theme/mui/components/overrides/Button.js +84 -0
  143. package/dist/components/TekWallet/theme/mui/components/overrides/Drawer.d.ts +4 -0
  144. package/dist/components/TekWallet/theme/mui/components/overrides/Drawer.js +9 -0
  145. package/dist/components/TekWallet/theme/mui/components/overrides/Paper.d.ts +3 -0
  146. package/dist/components/TekWallet/theme/mui/components/overrides/Paper.js +15 -0
  147. package/dist/components/TekWallet/theme/mui/components/overrides/SnackBar.d.ts +3 -0
  148. package/dist/components/TekWallet/theme/mui/components/overrides/SnackBar.js +32 -0
  149. package/dist/components/TekWallet/theme/mui/fixed-mixins.d.ts +2 -0
  150. package/dist/components/TekWallet/theme/mui/fixed-mixins.js +218 -0
  151. package/dist/components/TekWallet/theme/mui/index.d.ts +3 -3
  152. package/dist/components/TekWallet/theme/mui/index.js +16 -32
  153. package/dist/components/TekWallet/theme/mui/palette.d.ts +34 -0
  154. package/dist/components/TekWallet/theme/mui/palette.js +133 -0
  155. package/dist/components/TekWallet/theme/mui/shadows/index.d.ts +3 -0
  156. package/dist/components/TekWallet/theme/mui/shadows/index.js +64 -0
  157. package/dist/components/TekWallet/theme/mui/spacing.d.ts +1 -0
  158. package/dist/components/TekWallet/theme/mui/spacing.js +5 -0
  159. package/dist/components/TekWallet/theme/mui/theme.d.ts +9 -442
  160. package/dist/components/TekWallet/theme/mui/theme.js +38 -415
  161. package/dist/components/TekWallet/theme/mui/type.d.ts +5 -0
  162. package/dist/components/TekWallet/theme/mui/type.js +9 -0
  163. package/dist/components/TekWallet/theme/mui/typography.d.ts +27 -0
  164. package/dist/components/TekWallet/theme/mui/typography.js +30 -0
  165. package/dist/components/TekWallet/theme/mui/utils/deepMergeTheme.d.ts +2 -0
  166. package/dist/components/TekWallet/theme/mui/utils/deepMergeTheme.js +7 -0
  167. package/dist/components/TekWallet/utils/getContractColor.d.ts +1 -0
  168. package/dist/components/TekWallet/utils/getContractColor.js +30 -0
  169. package/package.json +1 -1
  170. package/dist/components/TekWallet/components/ui/CardHistorySwap/index.d.ts +0 -12
  171. package/dist/components/TekWallet/components/ui/CardHistorySwap/index.js +0 -75
  172. package/dist/components/TekWallet/components/ui/DetailSwapResult/index.d.ts +0 -8
  173. package/dist/components/TekWallet/components/ui/DetailSwapResult/index.js +0 -122
  174. package/dist/components/TekWallet/components/ui/HistorySwap/index.d.ts +0 -16
  175. package/dist/components/TekWallet/components/ui/HistorySwap/index.js +0 -434
  176. package/dist/components/TekWallet/components/ui/SwapFunction/index.d.ts +0 -16
  177. package/dist/components/TekWallet/components/ui/SwapFunction/index.js +0 -271
  178. package/dist/components/TekWallet/components/ui/SwapToken/index.d.ts +0 -31
  179. package/dist/components/TekWallet/components/ui/SwapToken/index.js +0 -293
  180. package/dist/components/TekWallet/providers/ThemeProvider/index.d.ts +0 -8
  181. package/dist/components/TekWallet/providers/ThemeProvider/index.js +0 -43
  182. package/dist/components/TekWallet/theme/mui/deposit-fiat-theme/components.d.ts +0 -3
  183. package/dist/components/TekWallet/theme/mui/deposit-fiat-theme/components.js +0 -158
  184. package/dist/components/TekWallet/theme/mui/deposit-fiat-theme/palette.d.ts +0 -55
  185. package/dist/components/TekWallet/theme/mui/deposit-fiat-theme/palette.js +0 -45
  186. package/dist/components/TekWallet/theme/mui/deposit-fiat-theme/theme.d.ts +0 -2
  187. package/dist/components/TekWallet/theme/mui/deposit-fiat-theme/theme.js +0 -13
  188. package/dist/components/TekWallet/theme/mui/deposit-fiat-theme/typography.d.ts +0 -39
  189. package/dist/components/TekWallet/theme/mui/deposit-fiat-theme/typography.js +0 -65
@@ -1,3 +0,0 @@
1
- import type { Theme } from "@mui/material";
2
- import type { Components, CssVarsTheme } from "@mui/material/styles";
3
- export declare const components: Components<Omit<Theme, "components" | "palette"> & CssVarsTheme> | undefined;
@@ -1,158 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.components = void 0;
15
- exports.components = {
16
- MuiCssBaseline: {
17
- styleOverrides: {
18
- "*": {
19
- fontFamily: "inherit",
20
- color: "inherit",
21
- },
22
- },
23
- },
24
- MuiButton: {
25
- styleOverrides: {
26
- root: function (_a) {
27
- var theme = _a.theme;
28
- return (__assign(__assign({}, theme.typography.supportButton), { fontWeight: 600, textTransform: "none", padding: theme.spacing(".75rem", 2), minHeight: 0, minWidth: 0, borderRadius: ".75rem" }));
29
- },
30
- endIcon: function (_a) {
31
- var theme = _a.theme;
32
- return ({
33
- marginLeft: theme.spacing(0.5),
34
- });
35
- },
36
- },
37
- defaultProps: {
38
- variant: "contained",
39
- color: "primary",
40
- loadingPosition: "center",
41
- },
42
- variants: [
43
- {
44
- props: { variant: "icon" },
45
- style: function (_a) {
46
- var theme = _a.theme;
47
- return (__assign(__assign({}, theme.typography.supportButton), { textTransform: "none", padding: theme.spacing(0), minWidth: "unset", width: "fit-content" }));
48
- },
49
- },
50
- {
51
- props: { variant: "text" },
52
- style: function (_a) {
53
- var theme = _a.theme;
54
- return (__assign(__assign({}, theme.typography.supportButton), { textTransform: "none", padding: theme.spacing(0), minWidth: "2rem", width: "fit-content" }));
55
- },
56
- },
57
- {
58
- props: { size: "small" },
59
- style: function (_a) {
60
- var theme = _a.theme;
61
- return (__assign(__assign({}, theme.typography.content01), { textTransform: "none", borderRadius: ".5rem", padding: theme.spacing(".25rem", "1rem"), width: "fit-content" }));
62
- },
63
- },
64
- {
65
- props: { disabled: true },
66
- style: function (_a) {
67
- var theme = _a.theme;
68
- return ({
69
- backgroundColor: "".concat(theme.palette.accent3.main, " !important"),
70
- color: "".concat(theme.palette.accent.main, " !important"),
71
- });
72
- },
73
- },
74
- {
75
- props: { loading: true, color: "primary" },
76
- style: function () { return ({
77
- background: "linear-gradient(0deg, rgba(30, 72, 65, 0.20) 0%, rgba(30, 72, 65, 0.20) 100%), #FFF !important",
78
- color: "#044C2F80 !important",
79
- }); },
80
- },
81
- {
82
- props: { loading: true, color: "secondary" },
83
- style: function () { return ({
84
- background: "linear-gradient(0deg, rgba(197, 233, 159, 0.20) 0%, rgba(197, 233, 159, 0.20) 100%), #FFF !important",
85
- color: "#044C2F80 !important",
86
- }); },
87
- },
88
- {
89
- props: { loading: true, variant: "outlined" },
90
- style: function (_a) {
91
- var theme = _a.theme;
92
- return ({
93
- background: "".concat(theme.palette.negative.main, " !important"),
94
- color: "#8EA3A0 !important",
95
- borderColor: "#A3AFAD !important",
96
- });
97
- },
98
- },
99
- {
100
- props: { loading: true, size: "small", color: "primary" },
101
- style: function () { return ({
102
- color: "transparent !important",
103
- "& .MuiCircularProgress-circle": {
104
- stroke: "#8EA3A0",
105
- },
106
- }); },
107
- },
108
- {
109
- props: { loading: true, size: "small", color: "secondary" },
110
- style: function () { return ({
111
- color: "transparent !important",
112
- "& .MuiCircularProgress-circle": {
113
- stroke: "#044C2F80",
114
- },
115
- }); },
116
- },
117
- {
118
- props: { loading: true, size: "small", color: "secondary" },
119
- style: function () { return ({
120
- color: "transparent !important",
121
- "& .MuiCircularProgress-circle": {
122
- stroke: "#8EA3A0",
123
- },
124
- }); },
125
- },
126
- ],
127
- },
128
- MuiSwipeableDrawer: {
129
- defaultProps: {
130
- anchor: "bottom",
131
- },
132
- },
133
- MuiDrawer: {
134
- styleOverrides: {
135
- root: function (_a) {
136
- var theme = _a.theme;
137
- return ({
138
- "& .MuiDrawer-paperAnchorRight": {
139
- backgroundColor: theme.palette.negative.main,
140
- left: 0,
141
- },
142
- });
143
- },
144
- },
145
- },
146
- MuiDivider: {
147
- styleOverrides: {
148
- root: function (_a) {
149
- var theme = _a.theme;
150
- return ({
151
- backgroundColor: theme.palette.accent3.main,
152
- color: theme.palette.accent3.main,
153
- opacity: 0.5,
154
- });
155
- },
156
- },
157
- },
158
- };
@@ -1,55 +0,0 @@
1
- import type { PaletteColor, PaletteOptions } from "@mui/material";
2
- import "@mui/material/styles";
3
- declare module "@mui/material/styles" {
4
- interface Palette {
5
- tertiary: Partial<PaletteColor>;
6
- positive: Partial<PaletteColor>;
7
- negative: Partial<PaletteColor>;
8
- accent: Partial<PaletteColor>;
9
- accent2: Partial<PaletteColor>;
10
- accent3: Partial<PaletteColor>;
11
- }
12
- interface PaletteOptions {
13
- tertiary?: Partial<PaletteColor>;
14
- positive?: Partial<PaletteColor>;
15
- negative?: Partial<PaletteColor>;
16
- accent?: Partial<PaletteColor>;
17
- accent2?: Partial<PaletteColor>;
18
- accent3?: Partial<PaletteColor>;
19
- }
20
- interface TypographyPropsColorOverrides {
21
- tertiary?: Partial<PaletteColor>;
22
- positive?: Partial<PaletteColor>;
23
- negative?: Partial<PaletteColor>;
24
- accent?: Partial<PaletteColor>;
25
- accent2?: Partial<PaletteColor>;
26
- accent3?: Partial<PaletteColor>;
27
- }
28
- }
29
- declare module "@mui/material/Button" {
30
- interface ButtonPropsColorOverrides {
31
- tertiary: true;
32
- positive: true;
33
- negative: true;
34
- accent: true;
35
- accent2: true;
36
- accent3: true;
37
- }
38
- interface ButtonPropsVariantOverrides {
39
- icon: true;
40
- text: true;
41
- outlined: true;
42
- contained: true;
43
- }
44
- }
45
- declare module "@mui/material/Typography" {
46
- interface TypographyPropsColorOverrides {
47
- tertiary: true;
48
- positive: true;
49
- negative: true;
50
- accent: true;
51
- accent2: true;
52
- accent3: true;
53
- }
54
- }
55
- export declare const palette: PaletteOptions;
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.palette = void 0;
4
- require("@mui/material/styles");
5
- exports.palette = {
6
- primary: {
7
- main: "#044C2F",
8
- contrastText: "#BBF49C",
9
- },
10
- secondary: {
11
- main: "#BBF49C",
12
- contrastText: "#044C2F",
13
- },
14
- tertiary: {
15
- main: "#ECF4E9",
16
- },
17
- positive: {
18
- main: "#121212",
19
- },
20
- negative: {
21
- main: "#FFFFFF",
22
- contrastText: "#044C2F",
23
- },
24
- accent: {
25
- main: "#A3A3A3",
26
- },
27
- accent2: {
28
- main: "#6B7271",
29
- },
30
- accent3: {
31
- main: "#E5E6E6",
32
- },
33
- error: {
34
- main: "#FF434E",
35
- },
36
- success: {
37
- main: "#1EA031",
38
- },
39
- warning: {
40
- main: "#EEAF00",
41
- },
42
- info: {
43
- main: "#29C8F0",
44
- },
45
- };
@@ -1,2 +0,0 @@
1
- declare const theme: import("@mui/material/styles").Theme;
2
- export default theme;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var styles_1 = require("@mui/material/styles");
4
- var components_1 = require("./components");
5
- var palette_1 = require("./palette");
6
- var typography_1 = require("./typography");
7
- var theme = (0, styles_1.createTheme)({
8
- typography: typography_1.typography,
9
- cssVariables: true,
10
- palette: palette_1.palette,
11
- components: components_1.components,
12
- });
13
- exports.default = theme;
@@ -1,39 +0,0 @@
1
- import type { Palette } from "@mui/material";
2
- import type { PaletteColor, TypographyVariantsOptions } from "@mui/material/styles";
3
- declare module "@mui/material/styles" {
4
- interface TypographyVariants {
5
- title01: React.CSSProperties;
6
- title02: React.CSSProperties;
7
- title03: React.CSSProperties;
8
- content02: React.CSSProperties;
9
- content01: React.CSSProperties;
10
- supportLabel: React.CSSProperties;
11
- supportButton: React.CSSProperties;
12
- }
13
- interface TypographyPropsColorOverrides {
14
- accent2?: Partial<PaletteColor>;
15
- accent3?: Partial<PaletteColor>;
16
- }
17
- interface TypographyVariantsOptions {
18
- title01?: React.CSSProperties;
19
- title02?: React.CSSProperties;
20
- title03?: React.CSSProperties;
21
- content02?: React.CSSProperties;
22
- content01?: React.CSSProperties;
23
- supportLabel?: React.CSSProperties;
24
- supportButton?: React.CSSProperties;
25
- }
26
- }
27
- declare module "@mui/material/Typography" {
28
- interface TypographyPropsVariantOverrides {
29
- title01: true;
30
- title02: true;
31
- title03: true;
32
- content02: true;
33
- content01: true;
34
- supportLabel: true;
35
- supportButton: true;
36
- h3: false;
37
- }
38
- }
39
- export declare const typography: TypographyVariantsOptions | ((palette: Palette) => TypographyVariantsOptions);
@@ -1,65 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.typography = void 0;
4
- exports.typography = {
5
- fontFamily: '"Urbanist", Helvetica',
6
- fontSize: 16,
7
- content01: {
8
- fontSize: ".75rem",
9
- fontWeight: 600,
10
- lineHeight: 1.4,
11
- letterSpacing: "0rem",
12
- fontStyle: "normal",
13
- },
14
- content02: {
15
- fontSize: ".688rem",
16
- fontWeight: 500,
17
- lineHeight: "170%",
18
- letterSpacing: "0.028rem",
19
- fontStyle: "normal",
20
- },
21
- supportButton: {
22
- fontSize: "0.875rem",
23
- fontWeight: 600,
24
- lineHeight: "120%",
25
- letterSpacing: "0rem",
26
- fontStyle: "normal",
27
- },
28
- supportLabel: {
29
- fontSize: "0.625rem",
30
- fontWeight: 600,
31
- lineHeight: 1.2,
32
- letterSpacing: "0rem",
33
- fontStyle: "normal",
34
- },
35
- title01: {
36
- fontSize: "1rem",
37
- fontWeight: 700,
38
- lineHeight: 1.4,
39
- letterSpacing: "0rem",
40
- fontStyle: "normal",
41
- },
42
- title02: {
43
- fontSize: "0.875rem",
44
- fontWeight: 700,
45
- lineHeight: 1.4,
46
- letterSpacing: "0.035rem",
47
- fontStyle: "normal",
48
- },
49
- title03: {
50
- fontSize: "0.813rem",
51
- fontWeight: 500,
52
- lineHeight: 1.4,
53
- letterSpacing: "0rem",
54
- fontStyle: "normal",
55
- },
56
- // Map the content02 typography to body2 for use in the component
57
- body2: {
58
- fontFamily: '"Urbanist", Helvetica',
59
- fontSize: "0.688rem",
60
- fontWeight: 500,
61
- lineHeight: 1.4,
62
- letterSpacing: "0.028rem",
63
- fontStyle: "normal",
64
- },
65
- };