@cocreate/resize 2.0.0 → 2.0.2
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 +14 -0
- package/package.json +3 -3
- package/src/index.js +7 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.0.2](https://github.com/CoCreateJS/resize/compare/v2.0.1...v2.0.2) (2026-11-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump CoCreate dependency versions ([c2e85fc](https://github.com/CoCreateJS/resize/commit/c2e85fcaaf5a3557f43ce2a120deee62e928d2b3))
|
|
7
|
+
|
|
8
|
+
## [2.0.1](https://github.com/CoCreateJS/resize/compare/v2.0.0...v2.0.1) (2026-11-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* upgrade CoCreate dependencies to v2 ([653b009](https://github.com/CoCreateJS/resize/commit/653b0095d04816b070c1fc8d6a69d3219442f35a))
|
|
14
|
+
|
|
1
15
|
# [2.0.0](https://github.com/CoCreateJS/resize/compare/v1.16.0...v2.0.0) (2026-11-02)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/resize",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"main": "src/index.js",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@cocreate/webpack": "^
|
|
39
|
+
"@cocreate/webpack": "^2.0.1",
|
|
40
40
|
"css-loader": "^5.1.3",
|
|
41
41
|
"esbuild": "^0.25.2",
|
|
42
42
|
"esbuild-loader": "^4.3.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"webpack-log": "^3.0.1"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@cocreate/observer": "^
|
|
49
|
+
"@cocreate/observer": "^2.0.1"
|
|
50
50
|
},
|
|
51
51
|
"allowScripts": {
|
|
52
52
|
"@cocreate/observer@1.19.0": true,
|
package/src/index.js
CHANGED
|
@@ -708,8 +708,7 @@ export default coCreateResize;
|
|
|
708
708
|
/**
|
|
709
709
|
* Preserves the element's original class value while resize updates grid sizing.
|
|
710
710
|
* @name class
|
|
711
|
-
* @kind
|
|
712
|
-
* @attribute
|
|
711
|
+
* @kind attribute
|
|
713
712
|
* @environment client
|
|
714
713
|
* @type {string}
|
|
715
714
|
*/
|
|
@@ -717,8 +716,7 @@ export default coCreateResize;
|
|
|
717
716
|
/**
|
|
718
717
|
* Internal marker applied to this module's injected style element.
|
|
719
718
|
* @name component
|
|
720
|
-
* @kind
|
|
721
|
-
* @attribute
|
|
719
|
+
* @kind attribute
|
|
722
720
|
* @environment client
|
|
723
721
|
* @type {string}
|
|
724
722
|
* @private
|
|
@@ -727,8 +725,7 @@ export default coCreateResize;
|
|
|
727
725
|
/**
|
|
728
726
|
* Enables automatic content-based resizing when set to "auto". This applies to textareas and multiple selects.
|
|
729
727
|
* @name height
|
|
730
|
-
* @kind
|
|
731
|
-
* @attribute
|
|
728
|
+
* @kind attribute
|
|
732
729
|
* @environment client
|
|
733
730
|
* @type {string}
|
|
734
731
|
* @acceptedValues auto
|
|
@@ -739,8 +736,7 @@ export default coCreateResize;
|
|
|
739
736
|
/**
|
|
740
737
|
* Runtime state marker added while a resize gesture is active.
|
|
741
738
|
* @name resizing
|
|
742
|
-
* @kind
|
|
743
|
-
* @attribute
|
|
739
|
+
* @kind attribute
|
|
744
740
|
* @environment client
|
|
745
741
|
* @type {boolean}
|
|
746
742
|
*/
|
|
@@ -748,8 +744,7 @@ export default coCreateResize;
|
|
|
748
744
|
/**
|
|
749
745
|
* Inline styles updated with the element's resized dimensions and grid span.
|
|
750
746
|
* @name style
|
|
751
|
-
* @kind
|
|
752
|
-
* @attribute
|
|
747
|
+
* @kind attribute
|
|
753
748
|
* @environment client
|
|
754
749
|
* @type {string}
|
|
755
750
|
*/
|
|
@@ -758,8 +753,7 @@ export default coCreateResize;
|
|
|
758
753
|
* Enables interactive resizing unless explicitly set to "false".
|
|
759
754
|
*
|
|
760
755
|
* @name resizable
|
|
761
|
-
* @kind
|
|
762
|
-
* @attribute
|
|
756
|
+
* @kind attribute
|
|
763
757
|
* @environment client
|
|
764
758
|
* @type {boolean}
|
|
765
759
|
* @acceptedValues false
|
|
@@ -771,8 +765,7 @@ export default coCreateResize;
|
|
|
771
765
|
* Marks a child element as a resize handle and selects its drag direction.
|
|
772
766
|
*
|
|
773
767
|
* @name resize
|
|
774
|
-
* @kind
|
|
775
|
-
* @attribute
|
|
768
|
+
* @kind attribute
|
|
776
769
|
* @environment client
|
|
777
770
|
* @type {string}
|
|
778
771
|
* @acceptedValues left, right, top, bottom
|