@cocreate/position 2.0.0 → 2.0.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/CHANGELOG.md +7 -0
- package/package.json +4 -4
- package/src/index.js +10 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.0.1](https://github.com/CoCreateJS/position/compare/v2.0.0...v2.0.1) (2026-11-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* upgrade CoCreate dependencies to v2 ([1e9e672](https://github.com/CoCreateJS/position/commit/1e9e672477e29ddb6706d5ce700b960a678d3b86))
|
|
7
|
+
|
|
1
8
|
# [2.0.0](https://github.com/CoCreateJS/position/compare/v1.12.0...v2.0.0) (2026-11-02)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/position",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Declarative DOM positioning, dragging, snapping, and drag-and-drop for web interfaces.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"positioning",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
"main": "./src/index.js",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@cocreate/observer": "^
|
|
44
|
-
"@cocreate/utils": "^
|
|
43
|
+
"@cocreate/observer": "^2.0.0",
|
|
44
|
+
"@cocreate/utils": "^2.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@cocreate/webpack": "^
|
|
47
|
+
"@cocreate/webpack": "^2.0.0",
|
|
48
48
|
"playwright-core": "^1.64.1"
|
|
49
49
|
},
|
|
50
50
|
"allowScripts": {
|
package/src/index.js
CHANGED
|
@@ -130,80 +130,70 @@ export default { init, initElement, initElements, loadDraggable, loadSnappable,
|
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
132
|
* @name clonable-query
|
|
133
|
-
* @kind
|
|
134
|
-
* @attribute
|
|
133
|
+
* @kind attribute
|
|
135
134
|
* @environment client
|
|
136
135
|
*/
|
|
137
136
|
|
|
138
137
|
/**
|
|
139
138
|
*
|
|
140
139
|
* @name draggable
|
|
141
|
-
* @kind
|
|
142
|
-
* @attribute
|
|
140
|
+
* @kind attribute
|
|
143
141
|
* @environment client
|
|
144
142
|
*/
|
|
145
143
|
|
|
146
144
|
/**
|
|
147
145
|
*
|
|
148
146
|
* @name draggable-query
|
|
149
|
-
* @kind
|
|
150
|
-
* @attribute
|
|
147
|
+
* @kind attribute
|
|
151
148
|
* @environment client
|
|
152
149
|
*/
|
|
153
150
|
|
|
154
151
|
/**
|
|
155
152
|
*
|
|
156
153
|
* @name droppable-query
|
|
157
|
-
* @kind
|
|
158
|
-
* @attribute
|
|
154
|
+
* @kind attribute
|
|
159
155
|
* @environment client
|
|
160
156
|
*/
|
|
161
157
|
|
|
162
158
|
/**
|
|
163
159
|
*
|
|
164
160
|
* @name position-box
|
|
165
|
-
* @kind
|
|
166
|
-
* @attribute
|
|
161
|
+
* @kind attribute
|
|
167
162
|
* @environment client
|
|
168
163
|
*/
|
|
169
164
|
|
|
170
165
|
/**
|
|
171
166
|
*
|
|
172
167
|
* @name position-element
|
|
173
|
-
* @kind
|
|
174
|
-
* @attribute
|
|
168
|
+
* @kind attribute
|
|
175
169
|
* @environment client
|
|
176
170
|
*/
|
|
177
171
|
|
|
178
172
|
/**
|
|
179
173
|
*
|
|
180
174
|
* @name position-events
|
|
181
|
-
* @kind
|
|
182
|
-
* @attribute
|
|
175
|
+
* @kind attribute
|
|
183
176
|
* @environment client
|
|
184
177
|
*/
|
|
185
178
|
|
|
186
179
|
/**
|
|
187
180
|
*
|
|
188
181
|
* @name position-query
|
|
189
|
-
* @kind
|
|
190
|
-
* @attribute
|
|
182
|
+
* @kind attribute
|
|
191
183
|
* @environment client
|
|
192
184
|
*/
|
|
193
185
|
|
|
194
186
|
/**
|
|
195
187
|
*
|
|
196
188
|
* @name position-reference
|
|
197
|
-
* @kind
|
|
198
|
-
* @attribute
|
|
189
|
+
* @kind attribute
|
|
199
190
|
* @environment client
|
|
200
191
|
*/
|
|
201
192
|
|
|
202
193
|
/**
|
|
203
194
|
*
|
|
204
195
|
* @name snappable-query
|
|
205
|
-
* @kind
|
|
206
|
-
* @attribute
|
|
196
|
+
* @kind attribute
|
|
207
197
|
* @environment client
|
|
208
198
|
*/
|
|
209
199
|
|