@thi.ng/rstream-gestures 5.0.105 → 5.0.106

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +3 -231
  2. package/package.json +8 -9
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:53Z
3
+ - **Last updated**: 2025-01-23T13:39:11Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
7
+ Only versions published since **2022-01-01** are listed here.
8
+ Please consult the Git history for older version information.
7
9
  See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
10
 
9
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
@@ -40,233 +42,3 @@ and/or version bumps of transitive dependencies.
40
42
  #### ♻️ Refactoring
41
43
 
42
44
  - update stream ID handling ([2c9fa02](https://github.com/thi-ng/umbrella/commit/2c9fa02))
43
-
44
- ## [4.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@4.1.0) (2021-11-17)
45
-
46
- #### 🚀 Features
47
-
48
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
49
- Improving the overall build ergonomics
50
- - introduced a tools workspaces
51
- - imported it in all needed packages/examples
52
- - inclusive project root
53
-
54
- #### ♻️ Refactoring
55
-
56
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
57
- this commit reverts (partly) changes made in:
58
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
59
- overall purpose is better testament ergonomics:
60
- instead of having to pass NODE_OPTIONS with every invocation
61
- having a binary to handle this for us.
62
-
63
- ### [4.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@4.0.1) (2021-10-13)
64
-
65
- #### ♻️ Refactoring
66
-
67
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
68
- - add .js suffix for all relative imports
69
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
70
-
71
- # [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@4.0.0) (2021-10-12)
72
-
73
- #### 🛑 Breaking changes
74
-
75
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
76
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
77
- - only ESM modules will be published from now on
78
- - CJS obsolete due to ESM support in recent versions of node:
79
- - i.e. launch NodeJS via:
80
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
81
- - in the node REPL use `await import(...)` instead of `require()`
82
- - UMD obsolete due to widespread browser support for ESM
83
- Also:
84
- - normalize/restructure/reorg all package.json files
85
- - cleanup all build scripts, remove obsolete
86
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
87
-
88
- #### ♻️ Refactoring
89
-
90
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
91
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
92
- - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
93
- - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
94
- - update imports (transducers) ([7fc60cd](https://github.com/thi-ng/umbrella/commit/7fc60cd))
95
- - update imports in various pkgs (rstream) ([342cf54](https://github.com/thi-ng/umbrella/commit/342cf54))
96
-
97
- ### [3.0.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@3.0.6) (2021-02-20)
98
-
99
- #### ♻️ Refactoring
100
-
101
- - simplify gestureStream() ([2ea805a](https://github.com/thi-ng/umbrella/commit/2ea805a))
102
-
103
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@3.0.0) (2020-12-22)
104
-
105
- #### 🛑 Breaking changes
106
-
107
- - fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace GestureType enum ([80ef1e1](https://github.com/thi-ng/umbrella/commit/80ef1e1))
108
- - BREAKING CHANGE: replace GestureType w/ type alias
109
-
110
- ### [2.0.45](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.45) (2020-12-07)
111
-
112
- #### ♻️ Refactoring
113
-
114
- - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
115
-
116
- ### [2.0.40](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.40) (2020-09-27)
117
-
118
- #### 🩹 Bug fixes
119
-
120
- - use correct event var ([6c7c0a9](https://github.com/thi-ng/umbrella/commit/6c7c0a9))
121
- - for some reason used global `event` instead of actual `e`
122
-
123
- ### [2.0.36](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.36) (2020-08-17)
124
-
125
- #### 🩹 Bug fixes
126
-
127
- - don't cache DPR value ([bffbedb](https://github.com/thi-ng/umbrella/commit/bffbedb))
128
- - fixes issue when window is moved between displays
129
- w/ different densities
130
-
131
- ### [2.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.9) (2020-04-05)
132
-
133
- #### ♻️ Refactoring
134
-
135
- - switch to non-const enums ([68702ca](https://github.com/thi-ng/umbrella/commit/68702ca))
136
-
137
- ### [2.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.2) (2020-02-25)
138
-
139
- #### ♻️ Refactoring
140
-
141
- - update imports ([1682d8f](https://github.com/thi-ng/umbrella/commit/1682d8f))
142
-
143
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.0) (2020-01-24)
144
-
145
- #### 🛑 Breaking changes
146
-
147
- - add multitouch support, almost complete pkg rewrite ([031d89b](https://github.com/thi-ng/umbrella/commit/031d89b))
148
- - rewrite gestureStream()
149
- - update GestureEvent/GestureInfo structure
150
- - add new GestureStreamOpts
151
- - TODO update docs / docstrings
152
- - BREAKING CHANGE: New `GestureEvent` & `GestureInfo` data formats,
153
- add multitouch support
154
-
155
- #### 🚀 Features
156
-
157
- - update deps, zoom delta calc, GestureInfo ([6bbbd55](https://github.com/thi-ng/umbrella/commit/6bbbd55))
158
- - make GestureInfo `click` & `delta` fields optional (already only present
159
- if GestureType.DRAG)
160
- - use @acarabott's zoom delta calc
161
-
162
- #### 🩹 Bug fixes
163
-
164
- - fixed the bug allowing the user to drag without pressing anything and improved types ([e5a9996](https://github.com/thi-ng/umbrella/commit/e5a9996))
165
- - remove duplicate MOVE events ([0c8da9b](https://github.com/thi-ng/umbrella/commit/0c8da9b))
166
- - add check if target element is `document.body`
167
- - if so don't add temp mousemove listener
168
-
169
- #### ♻️ Refactoring
170
-
171
- - split into sep files, add docs/readme ([37b1c7b](https://github.com/thi-ng/umbrella/commit/37b1c7b))
172
-
173
- ### [1.2.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.2.4) (2019-08-21)
174
-
175
- #### 🚀 Features
176
-
177
- - add `buttons` to GestureInfo ([2d837e2](https://github.com/thi-ng/umbrella/commit/2d837e2))
178
- - active touch events (touchstart/move) will set buttons = 1
179
-
180
- ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.2.0) (2019-07-07)
181
-
182
- #### 🚀 Features
183
-
184
- - enable TS strict compiler flags (refactor) ([412dd46](https://github.com/thi-ng/umbrella/commit/412dd46))
185
-
186
- #### ♻️ Refactoring
187
-
188
- - TS strictNullChecks ([bac2904](https://github.com/thi-ng/umbrella/commit/bac2904))
189
-
190
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.1.0) (2019-04-11)
191
-
192
- #### 🚀 Features
193
-
194
- - add zoomDelta output ([68c4b45](https://github.com/thi-ng/umbrella/commit/68c4b45))
195
-
196
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.0.0) (2019-01-21)
197
-
198
- #### 🛑 Breaking changes
199
-
200
- - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
201
- - BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
202
- - build scripts now first build ES6 modules in package root, then call
203
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
204
- - all imports MUST be updated to only refer to package level
205
- (not individual files anymore). tree shaking in user land will get rid of
206
- all unused imported symbols
207
-
208
- #### 🩹 Bug fixes
209
-
210
- - disable __GestureType reverse enum export ([19449e8](https://github.com/thi-ng/umbrella/commit/19449e8))
211
-
212
- #### ♻️ Refactoring
213
-
214
- - use arrow fns ([8904cb4](https://github.com/thi-ng/umbrella/commit/8904cb4))
215
-
216
- ## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.6.0) (2018-11-24)
217
-
218
- #### 🚀 Features
219
-
220
- - add absZoom option (abs vs. relative) ([bab55c3](https://github.com/thi-ng/umbrella/commit/bab55c3))
221
-
222
- ### [0.5.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.5.16) (2018-10-24)
223
-
224
- #### 🩹 Bug fixes
225
-
226
- - fix incorrect local position when scrolled ([f1f6af4](https://github.com/thi-ng/umbrella/commit/f1f6af4))
227
- fixes: https://github.com/thi-ng/umbrella/issues/56
228
- uses getBoundingClientRect() instead of offsetLeft / offsetTop
229
-
230
- ### [0.5.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.5.10) (2018-09-24)
231
-
232
- #### ⏱ Performance improvements
233
-
234
- - `GestureType` => const enum ([8e4fc90](https://github.com/thi-ng/umbrella/commit/8e4fc90))
235
- - export `__GestureType` for reverse lookups
236
-
237
- ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.5.0) (2018-08-27)
238
-
239
- #### 🚀 Features
240
-
241
- - add options for local & scaled positions ([ccc40a9](https://github.com/thi-ng/umbrella/commit/ccc40a9))
242
- - add `local` and `scale` options & docs
243
-
244
- ### [0.4.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.4.6) (2018-07-13)
245
-
246
- #### 🩹 Bug fixes
247
-
248
- - touchevent check in safari ([ee48a94](https://github.com/thi-ng/umbrella/commit/ee48a94))
249
-
250
- ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.4.0) (2018-07-04)
251
-
252
- #### 🚀 Features
253
-
254
- - add event & preventDefault opts, update docs ([de17340](https://github.com/thi-ng/umbrella/commit/de17340))
255
-
256
- ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.3.0) (2018-05-09)
257
-
258
- #### 🚀 Features
259
-
260
- - add zoom smooth config option, update readme ([053c8c6](https://github.com/thi-ng/umbrella/commit/053c8c6))
261
-
262
- ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.2.0) (2018-04-24)
263
-
264
- #### 🚀 Features
265
-
266
- - allows partial opts, add ID option ([3408c13](https://github.com/thi-ng/umbrella/commit/3408c13))
267
-
268
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.1.0) (2018-04-14)
269
-
270
- #### 🚀 Features
271
-
272
- - initial import [@thi.ng/rstream-gestures](https://github.com/thi-ng/umbrella/tree/main/packages/rstream-gestures) ([de1ac7b](https://github.com/thi-ng/umbrella/commit/de1ac7b))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rstream-gestures",
3
- "version": "5.0.105",
3
+ "version": "5.0.106",
4
4
  "description": "Unified mouse, mouse wheel & multi-touch event stream abstraction",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -44,17 +44,16 @@
44
44
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
45
45
  },
46
46
  "dependencies": {
47
- "@thi.ng/api": "^8.11.17",
48
- "@thi.ng/checks": "^3.6.20",
49
- "@thi.ng/math": "^5.11.17",
50
- "@thi.ng/rstream": "^9.2.6",
51
- "@thi.ng/transducers": "^9.2.15"
47
+ "@thi.ng/api": "^8.11.18",
48
+ "@thi.ng/checks": "^3.6.21",
49
+ "@thi.ng/math": "^5.11.18",
50
+ "@thi.ng/rstream": "^9.2.7",
51
+ "@thi.ng/transducers": "^9.2.16"
52
52
  },
53
53
  "devDependencies": {
54
- "@microsoft/api-extractor": "^7.48.1",
55
54
  "esbuild": "^0.24.2",
56
55
  "typedoc": "^0.27.6",
57
- "typescript": "^5.7.2"
56
+ "typescript": "^5.7.3"
58
57
  },
59
58
  "keywords": [
60
59
  "animation",
@@ -100,5 +99,5 @@
100
99
  ],
101
100
  "year": 2018
102
101
  },
103
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
102
+ "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
104
103
  }