@cocreate/resize 1.1.18 → 1.1.22
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/CHANGELOG.md +28 -0
- package/CoCreate.config.js +2 -1
- package/package.json +3 -3
- package/src/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## [1.1.22](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.21...v1.1.22) (2021-09-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update dependencies ([eab87c8](https://github.com/CoCreate-app/CoCreate-resize/commit/eab87c82c7d6ec9a12d4db7ee2e27b851ff4e5cd))
|
|
7
|
+
|
|
8
|
+
## [1.1.21](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.20...v1.1.21) (2021-09-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update dependencies ([5f6af9c](https://github.com/CoCreate-app/CoCreate-resize/commit/5f6af9c9c8297161dddba49296e97a2fcfc48739))
|
|
14
|
+
|
|
15
|
+
## [1.1.20](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.19...v1.1.20) (2021-09-14)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* passive eventListeners ([64ce8cf](https://github.com/CoCreate-app/CoCreate-resize/commit/64ce8cf6e9a03d7c1cfdb97f19159e376e979f89))
|
|
21
|
+
|
|
22
|
+
## [1.1.19](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.18...v1.1.19) (2021-09-14)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* add cocreate.app to domains ([70380a9](https://github.com/CoCreate-app/CoCreate-resize/commit/70380a9f7a6091dfb0d7a964496d2cda59b82cd5))
|
|
28
|
+
|
|
1
29
|
## [1.1.18](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.17...v1.1.18) (2021-09-13)
|
|
2
30
|
|
|
3
31
|
|
package/CoCreate.config.js
CHANGED
|
@@ -14,12 +14,13 @@ module.exports = {
|
|
|
14
14
|
"name": "index.html",
|
|
15
15
|
"path": "/docs/resize/index.html",
|
|
16
16
|
"domains": [
|
|
17
|
+
"cocreate.app",
|
|
17
18
|
"general.cocreate.app"
|
|
18
19
|
],
|
|
19
20
|
"directory": "/docs/resize",
|
|
20
21
|
"content-type": "text/html",
|
|
21
22
|
"public": "true",
|
|
22
|
-
"website_id": "
|
|
23
|
+
"website_id": "614298c2829b690010a5c031"
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/resize",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.22",
|
|
4
4
|
"description": "A light weight resize handler make any element resizable by adding data attributes or usinng init object. Great for Customized text box or text area.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"resize",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"webpack-log": "^3.0.1"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@cocreate/docs": "^1.2.
|
|
64
|
-
"@cocreate/observer": "^1.3.
|
|
63
|
+
"@cocreate/docs": "^1.2.22",
|
|
64
|
+
"@cocreate/observer": "^1.3.20"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/src/index.js
CHANGED
|
@@ -336,7 +336,7 @@ CoCreateResize.prototype = {
|
|
|
336
336
|
addListenerMulti: function(element, eventNames, listener) {
|
|
337
337
|
var events = eventNames.split(' ');
|
|
338
338
|
for (var i = 0, iLen = events.length; i < iLen; i++) {
|
|
339
|
-
element.addEventListener(events[i], listener, false);
|
|
339
|
+
element.addEventListener(events[i], listener, { passive: false });
|
|
340
340
|
}
|
|
341
341
|
},
|
|
342
342
|
|
|
@@ -344,7 +344,7 @@ CoCreateResize.prototype = {
|
|
|
344
344
|
removeListenerMulti: function(element, eventNames, listener) {
|
|
345
345
|
var events = eventNames.split(' ');
|
|
346
346
|
for (var i = 0, iLen = events.length; i < iLen; i++) {
|
|
347
|
-
element.removeEventListener(events[i], listener, false);
|
|
347
|
+
element.removeEventListener(events[i], listener, { passive: false });
|
|
348
348
|
}
|
|
349
349
|
},
|
|
350
350
|
|