react-resizable 3.0.5 → 3.1.1
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/.claude/settings.local.json +18 -0
- package/CHANGELOG.md +15 -0
- package/CLAUDE.md +71 -0
- package/README.md +1 -1
- package/build/Resizable.js +121 -115
- package/build/Resizable.js.flow +15 -2
- package/build/ResizableBox.js +56 -59
- package/build/propTypes.js +14 -15
- package/build/propTypes.js.flow +2 -1
- package/build/utils.js +7 -7
- package/dist/bundle.js +488 -6
- package/package.json +28 -28
- package/.eslintrc +0 -38
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-resizable",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "A component that is resizable with handles.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"build-example": "webpack",
|
|
12
12
|
"dev": "webpack serve --open",
|
|
13
13
|
"prepublishOnly": "npm run build",
|
|
14
|
-
"validate": "yarn check",
|
|
15
14
|
"preversion": "npm run lint",
|
|
16
15
|
"version": "git add CHANGELOG.md",
|
|
17
16
|
"postversion": "git push && git push --tags",
|
|
@@ -33,48 +32,49 @@
|
|
|
33
32
|
},
|
|
34
33
|
"homepage": "https://github.com/react-grid-layout/react-resizable",
|
|
35
34
|
"devDependencies": {
|
|
36
|
-
"@babel/cli": "^7.
|
|
37
|
-
"@babel/core": "^7.
|
|
38
|
-
"@babel/eslint-parser": "^7.
|
|
35
|
+
"@babel/cli": "^7.28.3",
|
|
36
|
+
"@babel/core": "^7.28.5",
|
|
37
|
+
"@babel/eslint-parser": "^7.28.5",
|
|
39
38
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
40
39
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
|
41
|
-
"@babel/preset-env": "^7.
|
|
42
|
-
"@babel/preset-flow": "^7.
|
|
43
|
-
"@babel/preset-react": "^7.
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"eslint
|
|
40
|
+
"@babel/preset-env": "^7.28.5",
|
|
41
|
+
"@babel/preset-flow": "^7.27.1",
|
|
42
|
+
"@babel/preset-react": "^7.28.5",
|
|
43
|
+
"@testing-library/dom": "^10.4.1",
|
|
44
|
+
"@testing-library/jest-dom": "^6.1.0",
|
|
45
|
+
"@testing-library/react": "^16.3.1",
|
|
46
|
+
"@testing-library/user-event": "^14.5.0",
|
|
47
|
+
"babel-loader": "^10.0.0",
|
|
48
|
+
"cross-env": "^10.1.0",
|
|
49
|
+
"css-loader": "^7.1.2",
|
|
50
|
+
"eslint": "^9.39.2",
|
|
51
|
+
"eslint-plugin-jest": "^29.11.3",
|
|
52
|
+
"eslint-plugin-react": "^7.37.5",
|
|
52
53
|
"flow-bin": "^0.153.0",
|
|
53
|
-
"jest": "^
|
|
54
|
-
"jest-environment-jsdom": "^
|
|
54
|
+
"jest": "^30.2.0",
|
|
55
|
+
"jest-environment-jsdom": "^30.2.0",
|
|
55
56
|
"lodash": "^4.17.20",
|
|
56
57
|
"pre-commit": "^1.1.2",
|
|
57
|
-
"react": "^
|
|
58
|
-
"react-dom": "^
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"webpack": "^
|
|
62
|
-
"webpack-
|
|
63
|
-
"webpack-dev-server": "^4.13.1"
|
|
58
|
+
"react": "^19.2.3",
|
|
59
|
+
"react-dom": "^19.2.3",
|
|
60
|
+
"style-loader": "^4.0.0",
|
|
61
|
+
"webpack": "^5.104.1",
|
|
62
|
+
"webpack-cli": "^6.0.1",
|
|
63
|
+
"webpack-dev-server": "^5.2.2"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"prop-types": "15.x",
|
|
67
|
-
"react-draggable": "^4.0
|
|
67
|
+
"react-draggable": "^4.5.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"react": ">= 16.3"
|
|
70
|
+
"react": ">= 16.3",
|
|
71
|
+
"react-dom": ">= 16.3"
|
|
71
72
|
},
|
|
72
73
|
"publishConfig": {
|
|
73
74
|
"registry": "https://registry.npmjs.org"
|
|
74
75
|
},
|
|
75
76
|
"pre-commit": [
|
|
76
77
|
"lint",
|
|
77
|
-
"validate",
|
|
78
78
|
"test"
|
|
79
79
|
]
|
|
80
80
|
}
|
package/.eslintrc
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"parser": "@babel/eslint-parser",
|
|
4
|
-
"plugins": [
|
|
5
|
-
"react"
|
|
6
|
-
],
|
|
7
|
-
"extends": [
|
|
8
|
-
"eslint:recommended",
|
|
9
|
-
"plugin:jest/recommended"
|
|
10
|
-
],
|
|
11
|
-
"rules": {
|
|
12
|
-
"strict": 0,
|
|
13
|
-
"quotes": [0, "single"],
|
|
14
|
-
"curly": [1, "multi-line"],
|
|
15
|
-
"camelcase": 0,
|
|
16
|
-
"comma-dangle": 0,
|
|
17
|
-
"dot-notation": 0,
|
|
18
|
-
"no-console": 0,
|
|
19
|
-
"no-use-before-define": [1, "nofunc"],
|
|
20
|
-
"no-underscore-dangle": 0,
|
|
21
|
-
"no-unused-vars": 0,
|
|
22
|
-
"new-cap": 0,
|
|
23
|
-
"react/jsx-uses-vars": 1,
|
|
24
|
-
"semi": [1, "always"]
|
|
25
|
-
},
|
|
26
|
-
"env": {
|
|
27
|
-
"browser": true,
|
|
28
|
-
"node": true,
|
|
29
|
-
"jest": true
|
|
30
|
-
},
|
|
31
|
-
"globals": {
|
|
32
|
-
// For Flow
|
|
33
|
-
"ReactElement": false,
|
|
34
|
-
"ReactClass": false,
|
|
35
|
-
"SyntheticEvent": false,
|
|
36
|
-
"ClientRect": false
|
|
37
|
-
}
|
|
38
|
-
}
|