@etsoo/react 1.8.33 → 1.8.35

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.8.33",
3
+ "version": "1.8.35",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -40,12 +40,12 @@
40
40
  "@emotion/css": "^11.13.5",
41
41
  "@emotion/react": "^11.13.5",
42
42
  "@emotion/styled": "^11.13.5",
43
- "@etsoo/appscript": "^1.6.19",
44
- "@etsoo/notificationbase": "^1.1.59",
45
- "@etsoo/shared": "^1.2.62",
43
+ "@etsoo/appscript": "^1.6.21",
44
+ "@etsoo/notificationbase": "^1.1.60",
45
+ "@etsoo/shared": "^1.2.64",
46
46
  "react": "^18.3.1",
47
47
  "react-dom": "^18.3.1",
48
- "react-router-dom": "^7.3.0",
48
+ "react-router-dom": "^7.4.1",
49
49
  "react-window": "^1.8.11"
50
50
  },
51
51
  "overrides": {
@@ -54,19 +54,19 @@
54
54
  "@emotion/react": "$@emotion/react"
55
55
  },
56
56
  "devDependencies": {
57
- "@babel/cli": "^7.25.9",
57
+ "@babel/cli": "^7.27.0",
58
58
  "@babel/core": "^7.26.10",
59
59
  "@babel/plugin-transform-runtime": "^7.26.10",
60
60
  "@babel/preset-env": "^7.26.9",
61
- "@babel/runtime-corejs3": "^7.26.10",
61
+ "@babel/runtime-corejs3": "^7.27.0",
62
62
  "@testing-library/jest-dom": "^6.6.3",
63
63
  "@testing-library/react": "^16.2.0",
64
- "@types/react": "^18.3.18",
64
+ "@types/react": "^18.3.20",
65
65
  "@types/react-dom": "^18.3.1",
66
66
  "@types/react-window": "^1.8.8",
67
67
  "@vitejs/plugin-react": "^4.3.4",
68
68
  "jsdom": "^26.0.0",
69
69
  "typescript": "^5.8.2",
70
- "vitest": "^3.0.9"
70
+ "vitest": "^3.1.1"
71
71
  }
72
72
  }
@@ -92,7 +92,7 @@ const calculateBatchSize = (
92
92
  height: number,
93
93
  itemSize: ((index: number) => number) | number
94
94
  ) => {
95
- const size = Utils.getResult(itemSize, 0);
95
+ const size = Utils.getResult<number>(itemSize, 0);
96
96
  return 2 + Math.ceil(height / size);
97
97
  };
98
98