tek-wallet 0.0.368 → 0.0.370

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.
@@ -72,8 +72,8 @@ var labels = [
72
72
  ];
73
73
  var defaultTimeRange = TimeFilter_2.TimeFilterType.SEVEN_DAYS;
74
74
  var variants = {
75
- hidden: { opacity: 0 },
76
- visible: { opacity: 1 },
75
+ hidden: { opacity: 0, display: "none" },
76
+ visible: { opacity: 1, display: "block" },
77
77
  };
78
78
  var AmountGroupAndChart = function (props) {
79
79
  var _a = (0, react_1.useState)(false), expandAreaChart = _a[0], setExpandAreaChart = _a[1];
@@ -117,6 +117,11 @@ var AmountGroupAndChart = function (props) {
117
117
  ease: "linear",
118
118
  delay: expandAreaChart ? 0.5 : 0,
119
119
  },
120
+ display: {
121
+ duration: 0,
122
+ ease: "linear",
123
+ delay: expandAreaChart ? 0 : 0.25,
124
+ },
120
125
  }, children: (0, jsx_runtime_1.jsx)(TimeFilter_1.default, { hideAll: true, initialValue: defaultTimeRange, onChange: handleChangeTimeRange }) })] }), (0, jsx_runtime_1.jsx)(Icon_1.default, { sx: {
121
126
  alignSelf: "center",
122
127
  transition: "all 0.5s ease-in-out",
@@ -273,7 +273,7 @@ var ReceiveFunction = (0, react_1.forwardRef)(function (props, ref) {
273
273
  alignItems: "center",
274
274
  minHeight: "2rem",
275
275
  mb: theme.mixins.customMargin.m20,
276
- }, overrideBack: handleBack, hideBack: currentStep === ReceiveStep.SELECT_TOKEN, center: RECEIVE_STEP_NAME[currentStep], children: (0, jsx_runtime_1.jsx)(CloseModal_1.default, { sx: { marginLeft: "auto" }, onClick: close }) }), children: (0, jsx_runtime_1.jsxs)(SwiperControlled_1.default, { ref: swiperRef, swiperProps: {
276
+ }, overrideBack: handleBack, hideBack: currentStep === ReceiveStep.SELECT_METHOD, center: RECEIVE_STEP_NAME[currentStep], children: (0, jsx_runtime_1.jsx)(CloseModal_1.default, { sx: { marginLeft: "auto" }, onClick: close }) }), children: (0, jsx_runtime_1.jsxs)(SwiperControlled_1.default, { ref: swiperRef, swiperProps: {
277
277
  autoHeight: true,
278
278
  spaceBetween: 32,
279
279
  }, disableSwipe: true, children: [(0, jsx_runtime_1.jsx)(react_2.SwiperSlide, { children: (0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { height: "fit-content" }), children: Object.values(ReceiveMethods).map(function (item, index) {
@@ -34,6 +34,9 @@ var AssetView = function () {
34
34
  display: "grid",
35
35
  gridTemplateColumns: "repeat(4, 1fr)",
36
36
  gap: theme.mixins.gaps.g12,
37
+ position: "relative",
38
+ zIndex: 50,
39
+ my: theme.mixins.customMargin.m20,
37
40
  }, children: [(0, jsx_runtime_1.jsx)(ReceiveFunction_1.default, { children: (0, jsx_runtime_1.jsx)(material_1.ListItem, { children: (0, jsx_runtime_1.jsx)(FunctionItem_1.default, { icon: (0, getIcon_1.default)("receive"), label: "Receive", sx: { width: "100%" } }) }) }), (0, jsx_runtime_1.jsx)(WithdrawFunction_1.default, { children: (0, jsx_runtime_1.jsx)(material_1.ListItem, { children: (0, jsx_runtime_1.jsx)(FunctionItem_1.default, { icon: (0, getIcon_1.default)("withdraw"), label: "Withdraw", sx: { width: "100%" } }) }) }), (0, jsx_runtime_1.jsx)(material_1.ListItem, { children: (0, jsx_runtime_1.jsx)(FunctionItem_1.default, { icon: (0, getIcon_1.default)("fortune", "gif"), label: "Fortune", sx: { width: "100%" } }) }), (0, jsx_runtime_1.jsx)(material_1.ListItem, { children: (0, jsx_runtime_1.jsx)(FunctionItem_1.default, { icon: (0, getIcon_1.default)("p2p", "gif"), label: "P2P", sx: { width: "100%" } }) })] }), (0, jsx_runtime_1.jsx)(TokensBoard_1.default, {})] }))] }));
38
41
  };
39
42
  exports.default = AssetView;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.368",
3
+ "version": "0.0.370",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",