source: imaps-frontend/node_modules/@use-gesture/core/CHANGELOG.md

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 6.3 KB
Line 
1# @use-gesture/core
2
3## 10.3.1
4
5### Patch Changes
6
7- 6f6f4a5b4: fix(types): compatibility with @types/react >=18.2.66
8
9## 10.3.0
10
11### Minor Changes
12
13- 1ee9f42e3: Fix: touch support is reverted to only checking TouchEvent support #626
14
15### Patch Changes
16
17- c19ff0b24: feat: modifierKey can be an array via @BJvdA
18
19## 10.2.27
20
21### Patch Changes
22
23- 0dce2216c: detect lost pointer capture in PinchEngine
24- 957aee8b5: fix: don't block events with similar timestamps #581
25- 51c6cfcf4: chore: upgrade to typescript 5.0
26
27## 10.2.26
28
29### Patch Changes
30
31- db0d934eb: fix: add a try catch when calculating the distance and angle as apparently some events might be undefined on Windows #551
32- 43e751a51: fix: calculate swipe from raw movement (\_movement) #592
33
34## 10.2.25
35
36### Patch Changes
37
38- 3701753ea: fix: set startTime inside start function
39
40## 10.2.24
41
42### Patch Changes
43
44- 60aae2149: feat: Added option to configure keyboard displacement in the drag gesture
45
46## 10.2.23
47
48### Patch Changes
49
50- 79684a05f: types: add package exports
51
52## 10.2.22
53
54### Patch Changes
55
56- c6215e8ad: fix: properly resolve pointer.keys config
57
58## 10.2.21
59
60### Patch Changes
61
62- 6f4c09b55: fix: rolls back wheel-based pinch movement to bounds (thanks [@Andarist](https://github.com/Andarist)!)
63- 854f4dfc1: feat (pinch):
64
65 - `pinchOnwheel: false` prevents pinching with wheel.
66
67## 10.2.20
68
69### Patch Changes
70
71- de807fddc: fix: applying a new config to useGesture / Gesture shouldn't throw an error.
72
73## 10.2.19
74
75### Patch Changes
76
77- c7cb407bd: ts: Typescript 4.8 introduced a new mapping definition for NonNullable which breaks the package types.
78
79 ```ts
80 // Native NonNullable Utility Type
81
82 // definition on 4.7 and lower
83 type NonNullable<T> = T extends null | undefined ? never : T
84
85 // definition from 4.8
86 type NonNullable<T> = T & {}
87 ```
88
89 This fix reverts the definition of NonNullable so that it works.
90 More information here: https://github.com/pmndrs/use-gesture/issues/501#issuecomment-1229486104
91
92## 10.2.18
93
94### Patch Changes
95
96- 115ee1f59: fix: don't let Enter key preventDefault on onClick when filterTaps is true.
97
98## 10.2.17
99
100### Patch Changes
101
102- 48dc6a102: feat: add option to remove arrow keys listeners for the drag gesture.
103- d73ee4e34: Always trigger wheel events on pinch
104
105## 10.2.16
106
107### Patch Changes
108
109- a521a171f: types: remove React types dependency on core package
110
111## 10.2.15
112
113### Patch Changes
114
115- be1703a6d: fix: reset \_preventScroll when setting up scroll prevention to avoid side effects
116
117## 10.2.14
118
119### Patch Changes
120
121- e82f1c220: fix: improve detection for drag gesture, also fixes #494
122
123## 10.2.13
124
125### Patch Changes
126
127- 6896094b3: fix: preventScroll should resist to multiple fingers drag
128- 15724eb5c: - Have `delta` increment on first keydown for drag
129 - Fix `config.bounds` type for drag gestures
130 - Add `eventOptions` option for each gesture
131
132## 10.2.12
133
134### Patch Changes
135
136- 91651b202: Fix config types
137
138## 10.2.11
139
140### Patch Changes
141
142- 670e6e2db: - fix: trigger `pointerDown` event when `triggerAllEvents` and `delay` options are set
143 - fix: disable scroll prevention when the event type is `'mouse'`
144 - feat: add `axisThreshold` property to set a threshold for axis calculation (can be set per device for the drag gesture)
145 - fix: axis are now calculated on pixel movement rather than on transformed movement
146- 5979b1add: feat: add modifierKey for wheel option. Defaults to `'ctrlKey'`.
147
148## 10.2.10
149
150### Patch Changes
151
152- f593dbe09: - fix: increase `PINCH_WHEEL_RATIO` to `100` to slow down zoom on wheel-based devices.
153 - fix: force drag to start no matter the threshold when delay is reached.
154 - fix: improve `preventScroll`.
155
156## 10.2.9
157
158### Patch Changes
159
160- d86df73b9: feat: add `pointer.mouse` option to force mouse listeners instead of pointers when possible.
161
162## 10.2.8
163
164### Patch Changes
165
166- 2c0fde118: fix: delta is now derived from the `offset` value _after_ it is clamped by bounds.
167
168## 10.2.7
169
170### Patch Changes
171
172- 2d943428c: Fix a bug when a touch identifier is equal to `0`
173
174## 10.2.6
175
176### Patch Changes
177
178- 916d178c6: fix: make sure the drag gesture is ended when `touchcancel` event is triggered.
179
180## 10.2.5
181
182### Patch Changes
183
184- cd5533a4c: fix: change TouchEvent detection
185- 548a90985: [Drag] feat: Adding a custom threshold to taps when filtering them (`tapThreshold`)
186- c5067dce0: feat: add `overflow` state attribute telling when offset is overflowing bounds.
187 [Wheel] fix: only update `offset` when it stays within bounds.
188- 4eaabaf1a: fix: add `lostpointercapture` listener for cases when the `pointerup` event is missed.
189
190## 10.2.4
191
192### Patch Changes
193
194- ae631004a: fix: change isNaN to Number.isNaN in dev mode
195
196## 10.2.3
197
198### Patch Changes
199
200- 8302c5bfd: fix: prevent deprecated resolvers from applying in dev mode
201
202## 10.2.2
203
204### Patch Changes
205
206- cffaba5ae: fix: logic error in intent detection
207
208## 10.2.1
209
210### Patch Changes
211
212- 2f0cd466b: fix: release pointerId when PointerEvent is canceled. Should fix [#376](https://github.com/pmndrs/use-gesture/issues/376).
213
214## 10.2.0
215
216### Minor Changes
217
218- b4e6181e7: Fix: should fix `transform` function doesn't have [0,0] origin. This required some pretty drastic internal changes hence the minor version bump.
219
220## 10.1.6
221
222### Patch Changes
223
224- 9883b1c78: types: fix ReactDOMAttributes type
225
226## 10.1.5
227
228### Patch Changes
229
230- 55505c071: fix: `event.buttons` condition was preventing `pointer.touch` from behaving properly.
231
232## 10.1.4
233
234### Patch Changes
235
236- 090ba6b62: feat: allow pointer.buttons to accept an array or -1
237
238## 10.1.3
239
240### Patch Changes
241
242- a9f99ce3c: feat: warn in dev mode if transform function return invalid values
243
244## 10.1.2
245
246### Patch Changes
247
248- ed0073543: fix: add threshold to config resolver
249
250## 10.1.1
251
252### Patch Changes
253
254- 8a0bfacb0: fix: Remove the console output statement.
255- 8a0bfacb0: fix: Remove the console output statement.
256
257## 10.1.0
258
259### Minor Changes
260
261- b67543ff7: Feat (drag): add the `pointer.buttons` in order to customize which [buttons combination](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons) will trigger the drag gesture.
262
263## 10.0.3
264
265### Patch Changes
266
267- de01d7dbb: Sets state `canceled` / `_active` attributes synchronously with `cancel()`.
268
269## 10.0.2
270
271### Patch Changes
272
273- a219d3f69: fix: make sure delay still set first to true when moving so that onDragStart can fire.
274
275## 10.0.1
276
277### Patch Changes
278
279- c00c7b1: fix: add movement to offset when using wheel-based browsers on pinch
Note: See TracBrowser for help on using the repository browser.