react-grid-layout 1.2.5 → 1.3.0
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/.flowconfig +1 -3
- package/CHANGELOG.md +22 -0
- package/README.md +51 -11
- package/build/GridItem.js +1 -1
- package/build/ReactGridLayout.js +296 -317
- package/build/ReactGridLayoutPropTypes.js +6 -0
- package/build/ResponsiveReactGridLayout.js +9 -3
- package/build/calculateUtils.js +6 -6
- package/build/components/WidthProvider.js +4 -2
- package/build/fastRGLPropsEqual.js +1 -1
- package/build/utils.js +24 -30
- package/dist/react-grid-layout.min.js +1 -1
- package/dist/react-grid-layout.min.js.map +1 -1
- package/foo.html +388 -0
- package/lib/ReactGridLayout.jsx +93 -58
- package/lib/ReactGridLayoutPropTypes.js +33 -12
- package/lib/ResponsiveReactGridLayout.jsx +7 -1
- package/lib/utils.js +27 -22
- package/package.json +29 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-grid-layout",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A draggable and resizable grid layout with responsive breakpoints, for React.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -39,49 +39,49 @@
|
|
|
39
39
|
"lodash.isequal": "^4.0.0",
|
|
40
40
|
"prop-types": "^15.0.0",
|
|
41
41
|
"react-draggable": "^4.0.0",
|
|
42
|
-
"react-resizable": "^3.0.
|
|
42
|
+
"react-resizable": "^3.0.4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@babel/cli": "^7.
|
|
46
|
-
"@babel/core": "^7.
|
|
47
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
48
|
-
"@babel/plugin-transform-flow-comments": "^7.
|
|
49
|
-
"@babel/preset-env": "^7.
|
|
50
|
-
"@babel/preset-flow": "^7.
|
|
51
|
-
"@babel/preset-react": "^7.
|
|
52
|
-
"@babel/register": "^7.
|
|
53
|
-
"@webpack-cli/serve": "^1.
|
|
45
|
+
"@babel/cli": "^7.14.8",
|
|
46
|
+
"@babel/core": "^7.15.0",
|
|
47
|
+
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
48
|
+
"@babel/plugin-transform-flow-comments": "^7.14.5",
|
|
49
|
+
"@babel/preset-env": "^7.15.0",
|
|
50
|
+
"@babel/preset-flow": "^7.14.5",
|
|
51
|
+
"@babel/preset-react": "^7.14.5",
|
|
52
|
+
"@babel/register": "^7.15.3",
|
|
53
|
+
"@webpack-cli/serve": "^1.5.2",
|
|
54
54
|
"babel-eslint": "^10.1.0",
|
|
55
|
-
"babel-jest": "^
|
|
55
|
+
"babel-jest": "^27.0.6",
|
|
56
56
|
"babel-loader": "^8.2.2",
|
|
57
57
|
"babel-plugin-preval": "^5.0.0",
|
|
58
|
-
"css-loader": "^
|
|
58
|
+
"css-loader": "^6.2.0",
|
|
59
59
|
"ejs": "^3.1.6",
|
|
60
60
|
"enzyme": "^3.11.0",
|
|
61
61
|
"enzyme-adapter-react-16": "^1.15.6",
|
|
62
62
|
"enzyme-to-json": "^3.6.2",
|
|
63
|
-
"eslint": "^7.
|
|
64
|
-
"eslint-plugin-flowtype": "^5.
|
|
65
|
-
"eslint-plugin-mocha": "^
|
|
66
|
-
"eslint-plugin-react": "^7.
|
|
67
|
-
"exports-loader": "^
|
|
68
|
-
"flow-bin": "^0.
|
|
69
|
-
"husky": "^
|
|
70
|
-
"imports-loader": "^
|
|
71
|
-
"jest": "^
|
|
72
|
-
"lint-staged": "^11.
|
|
63
|
+
"eslint": "^7.32.0",
|
|
64
|
+
"eslint-plugin-flowtype": "^5.9.0",
|
|
65
|
+
"eslint-plugin-mocha": "^9.0.0",
|
|
66
|
+
"eslint-plugin-react": "^7.24.0",
|
|
67
|
+
"exports-loader": "^3.0.0",
|
|
68
|
+
"flow-bin": "^0.158.0",
|
|
69
|
+
"husky": "^7.0.2",
|
|
70
|
+
"imports-loader": "^3.0.0",
|
|
71
|
+
"jest": "^27.0.6",
|
|
72
|
+
"lint-staged": "^11.1.2",
|
|
73
73
|
"lodash": "^4.17.21",
|
|
74
74
|
"opener": "^1.5.2",
|
|
75
|
-
"prettier": "^2.3.
|
|
75
|
+
"prettier": "^2.3.2",
|
|
76
76
|
"react": "^16.13.1",
|
|
77
77
|
"react-dom": "^16.13.1",
|
|
78
78
|
"react-hot-loader": "^4.13.0",
|
|
79
79
|
"react-transform-hmr": "^1.0.2",
|
|
80
|
-
"style-loader": "^2.
|
|
80
|
+
"style-loader": "^3.2.1",
|
|
81
81
|
"timsort": "^0.3.0",
|
|
82
|
-
"webpack": "^5.
|
|
83
|
-
"webpack-cli": "^4.
|
|
84
|
-
"webpack-dev-server": "^
|
|
82
|
+
"webpack": "^5.51.1",
|
|
83
|
+
"webpack-cli": "^4.8.0",
|
|
84
|
+
"webpack-dev-server": "^4.0.0"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"react": ">= 16.3.0",
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"testMatch": [
|
|
101
101
|
"<rootDir>/test/spec/*.js"
|
|
102
102
|
],
|
|
103
|
+
"testEnvironment": "jsdom",
|
|
103
104
|
"testURL": "http://localhost"
|
|
104
105
|
},
|
|
105
106
|
"lint-staged": {
|