tek-wallet 0.0.758 → 0.0.759

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.
@@ -143,8 +143,8 @@ function NeonLineChart(_a) {
143
143
  return -1;
144
144
  }
145
145
  }, [minValue, data]);
146
- return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign({ position: "relative" }, sx), children: [showMinMaxValues && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, { className: "absolute top-0 w-fit z-50", style: {
147
- left: "".concat((maxIndex / chartLength) * 100, "%"),
146
+ return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign({ position: "relative" }, sx), children: [showMinMaxValues && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, { className: "absolute top-0 w-fit z-[9999]", style: {
147
+ left: "".concat(Math.min((maxIndex / chartLength) * 100, 90), "%"),
148
148
  }, initial: {
149
149
  scale: 0,
150
150
  translateX: "-50%",
@@ -159,8 +159,8 @@ function NeonLineChart(_a) {
159
159
  duration: 0.4,
160
160
  ease: "easeInOut",
161
161
  delay: 0.4,
162
- }, children: (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.value), children: (0, jsx_runtime_1.jsx)(Formatter_1.default, { value: maxValue }) }) }), (0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, { className: "absolute bottom-0 w-fit z-50", style: {
163
- left: "".concat((minIndex / chartLength) * 100, "%"),
162
+ }, children: (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.value), children: (0, jsx_runtime_1.jsx)(Formatter_1.default, { value: maxValue }) }) }), (0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, { className: "absolute bottom-0 w-fit z-[9999]", style: {
163
+ left: "".concat(Math.min((minIndex / chartLength) * 100, 90), "%"),
164
164
  }, initial: {
165
165
  scale: 0,
166
166
  translateX: "-50%",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.758",
3
+ "version": "0.0.759",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",