@fileverse-dev/dsheet 1.1.51 → 1.1.52

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 (2) hide show
  1. package/dist/index.es.js +2 -2
  2. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -157934,7 +157934,7 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
157934
157934
  }, D = function(L) {
157935
157935
  v && (L.preventDefault(), i.current = !0, o(function(S) {
157936
157936
  var I, C, k = L.clientX - h.x, E = L.clientY - h.y, A = ((I = w.current) === null || I === void 0 ? void 0 : I.offsetWidth) || 0, _ = ((C = w.current) === null || C === void 0 ? void 0 : C.offsetHeight) || 0;
157937
- return k + g.x + 150 > window.innerWidth - A && (k = S.x), E + g.y + 200 > window.innerHeight - _ && (E = S.y), k + g.x < 0 && (k = S.x), E + g.y < 0 && (E = S.y), {
157937
+ return k + g.x + 320 > window.innerWidth - A && (k = S.x), E + g.y + 275 > window.innerHeight - _ && (E = S.y), k + g.x - 35 < 0 && (k = S.x), E + g.y - 60 < 0 && (E = S.y), {
157938
157938
  x: k,
157939
157939
  y: E
157940
157940
  };
@@ -157945,7 +157945,7 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
157945
157945
  var S = L.touches[0];
157946
157946
  o(function(I) {
157947
157947
  var C, k, E = S.clientX - h.x, A = S.clientY - h.y, _ = ((C = w.current) === null || C === void 0 ? void 0 : C.offsetWidth) || 0, B = ((k = w.current) === null || k === void 0 ? void 0 : k.offsetHeight) || 0;
157948
- return E + g.x + 100 > window.innerWidth - _ && (E = I.x), A + g.y + 200 > window.innerHeight - B && (A = I.y), E + g.x < 0 && (E = I.x), A + g.y < 0 && (A = I.y), {
157948
+ return E + g.x + 250 > window.innerWidth - _ && (E = I.x), A + g.y + 220 > window.innerHeight - B && (A = I.y), E + g.x - 10 < 0 && (E = I.x), A + g.y - 25 < 0 && (A = I.y), {
157949
157949
  x: E,
157950
157950
  y: A
157951
157951
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "1.1.51",
5
+ "version": "1.1.52",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@fileverse-dev/dsheets-templates": "^0.0.21",
37
37
  "@fileverse-dev/formulajs": "^4.4.20",
38
- "@fileverse-dev/fortune-react": "^1.1.60",
38
+ "@fileverse-dev/fortune-react": "^1.1.62",
39
39
  "@fileverse/ui": "^4.1.7-patch-21",
40
40
  "classnames": "^2.5.1",
41
41
  "exceljs": "^4.4.0",