@thi.ng/rstream-gestures 4.0.8 → 4.1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +154 -83
  2. package/README.md +1 -1
  3. package/package.json +90 -85
package/CHANGELOG.md CHANGED
@@ -1,169 +1,240 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
+
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
11
+
12
+ ## [4.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@4.1.0) (2021-11-17)
13
+
14
+ #### 🚀 Features
5
15
 
6
- ## [4.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@4.0.7...@thi.ng/rstream-gestures@4.0.8) (2021-11-03)
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
7
21
 
8
- **Note:** Version bump only for package @thi.ng/rstream-gestures
22
+ #### ♻️ Refactoring
9
23
 
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
10
30
 
31
+ ### [4.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@4.0.1) (2021-10-13)
11
32
 
33
+ #### ♻️ Refactoring
12
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
13
38
 
14
- # [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@3.0.34...@thi.ng/rstream-gestures@4.0.0) (2021-10-12)
39
+ # [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@4.0.0) (2021-10-12)
15
40
 
41
+ #### 🛑 Breaking changes
16
42
 
17
- ### Build System
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
18
55
 
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
56
+ #### ♻️ Refactoring
20
57
 
58
+ - update imports in various pkgs (rstream) ([342cf54](https://github.com/thi-ng/umbrella/commit/342cf54))
59
+ - update imports (transducers) ([7fc60cd](https://github.com/thi-ng/umbrella/commit/7fc60cd))
60
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
61
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
62
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
63
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
21
64
 
22
- ### BREAKING CHANGES
65
+ ### [3.0.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@3.0.6) (2021-02-20)
23
66
 
24
- * discontinue CommonJS & UMD versions
67
+ #### ♻️ Refactoring
25
68
 
26
- - only ESM modules will be published from now on
27
- - CJS obsolete due to ESM support in recent versions of node:
28
- - i.e. launch NodeJS via:
29
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
30
- - in the node REPL use `await import(...)` instead of `require()`
31
- - UMD obsolete due to widespread browser support for ESM
69
+ - simplify gestureStream() ([2ea805a](https://github.com/thi-ng/umbrella/commit/2ea805a))
32
70
 
33
- Also:
34
- - normalize/restructure/reorg all package.json files
35
- - cleanup all build scripts, remove obsolete
36
- - switch from mocha to @thi.ng/testament for all tests
71
+ # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@3.0.0) (2020-12-22)
37
72
 
73
+ #### 🛑 Breaking changes
38
74
 
75
+ - fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace GestureType enum ([80ef1e1](https://github.com/thi-ng/umbrella/commit/80ef1e1))
76
+ - BREAKING CHANGE: replace GestureType w/ type alias
39
77
 
78
+ ### [2.0.45](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.45) (2020-12-07)
40
79
 
80
+ #### ♻️ Refactoring
41
81
 
82
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
42
83
 
43
- # [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@2.0.45...@thi.ng/rstream-gestures@3.0.0) (2020-12-22)
84
+ ### [2.0.40](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.40) (2020-09-27)
44
85
 
45
- ### Code Refactoring
86
+ #### 🩹 Bug fixes
46
87
 
47
- - **rstream-gestures:** fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace GestureType enum ([80ef1e1](https://github.com/thi-ng/umbrella/commit/80ef1e1558070421cf6ed2d707a55b91fe1c290d))
88
+ - use correct event var ([6c7c0a9](https://github.com/thi-ng/umbrella/commit/6c7c0a9))
89
+ - for some reason used global `event` instead of actual `e`
48
90
 
49
- ### BREAKING CHANGES
91
+ ### [2.0.36](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.36) (2020-08-17)
50
92
 
51
- - **rstream-gestures:** replace GestureType w/ type alias
93
+ #### 🩹 Bug fixes
52
94
 
53
- ## [2.0.40](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@2.0.39...@thi.ng/rstream-gestures@2.0.40) (2020-09-27)
95
+ - don't cache DPR value ([bffbedb](https://github.com/thi-ng/umbrella/commit/bffbedb))
96
+ - fixes issue when window is moved between displays
97
+ w/ different densities
54
98
 
55
- ### Bug Fixes
99
+ ### [2.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.9) (2020-04-05)
56
100
 
57
- - **rstream-gestures:** use correct event var ([6c7c0a9](https://github.com/thi-ng/umbrella/commit/6c7c0a941c06945dea997d5b4ae950379a54c422))
101
+ #### ♻️ Refactoring
58
102
 
59
- ## [2.0.36](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@2.0.35...@thi.ng/rstream-gestures@2.0.36) (2020-08-17)
103
+ - switch to non-const enums ([68702ca](https://github.com/thi-ng/umbrella/commit/68702ca))
60
104
 
61
- ### Bug Fixes
105
+ ### [2.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.2) (2020-02-25)
62
106
 
63
- - **rstream-gestures:** don't cache DPR value ([bffbedb](https://github.com/thi-ng/umbrella/commit/bffbedb0589bd173de0aa49293b110461b33d579))
107
+ #### ♻️ Refactoring
64
108
 
65
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.3.0...@thi.ng/rstream-gestures@2.0.0) (2020-01-24)
109
+ - update imports ([1682d8f](https://github.com/thi-ng/umbrella/commit/1682d8f))
66
110
 
67
- ### Bug Fixes
111
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.0) (2020-01-24)
68
112
 
69
- - **rstream-gestures:** remove duplicate MOVE events ([0c8da9b](https://github.com/thi-ng/umbrella/commit/0c8da9b235be37082f514b515917b82a630095d0))
70
- - fixed the bug allowing the user to drag without pressing anything and improved types ([e5a9996](https://github.com/thi-ng/umbrella/commit/e5a9996b73a6284b115d7ef601f3b032a1bdc3fb))
113
+ #### 🛑 Breaking changes
71
114
 
72
- ### Features
115
+ - add multitouch support, almost complete pkg rewrite ([031d89b](https://github.com/thi-ng/umbrella/commit/031d89b))
116
+ - rewrite gestureStream()
117
+ - update GestureEvent/GestureInfo structure
118
+ - add new GestureStreamOpts
119
+ - TODO update docs / docstrings
120
+ - BREAKING CHANGE: New `GestureEvent` & `GestureInfo` data formats,
121
+ add multitouch support
73
122
 
74
- - **rstream-gestures:** add multitouch support, almost complete pkg rewrite ([031d89b](https://github.com/thi-ng/umbrella/commit/031d89bd3ada19c5aee158545bfec11e06a70a5f))
75
- - **rstream-gestures:** update deps, zoom delta calc, GestureInfo ([6bbbd55](https://github.com/thi-ng/umbrella/commit/6bbbd550e2d29e183a8a23447f003f9e31589112))
123
+ #### 🚀 Features
76
124
 
77
- ### BREAKING CHANGES
125
+ - update deps, zoom delta calc, GestureInfo ([6bbbd55](https://github.com/thi-ng/umbrella/commit/6bbbd55))
126
+ - make GestureInfo `click` & `delta` fields optional (already only present
127
+ if GestureType.DRAG)
128
+ - use @acarabott's zoom delta calc
78
129
 
79
- - **rstream-gestures:** New `GestureEvent` & `GestureInfo` data formats, add multitouch support
130
+ #### 🩹 Bug fixes
80
131
 
81
- # [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.2.6...@thi.ng/rstream-gestures@1.3.0) (2019-11-30)
132
+ - remove duplicate MOVE events ([0c8da9b](https://github.com/thi-ng/umbrella/commit/0c8da9b))
133
+ - add check if target element is `document.body`
134
+ - if so don't add temp mousemove listener
135
+ - fixed the bug allowing the user to drag without pressing anything and improved types ([e5a9996](https://github.com/thi-ng/umbrella/commit/e5a9996))
82
136
 
83
- ### Features
137
+ #### ♻️ Refactoring
84
138
 
85
- - **rstream-gestures:** add `buttons` to GestureInfo ([2d837e2](https://github.com/thi-ng/umbrella/commit/2d837e2858754f50e24afc1f939755d1a3096d43))
139
+ - split into sep files, add docs/readme ([37b1c7b](https://github.com/thi-ng/umbrella/commit/37b1c7b))
86
140
 
87
- # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.1.4...@thi.ng/rstream-gestures@1.2.0) (2019-07-07)
141
+ ### [1.2.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.2.4) (2019-08-21)
88
142
 
89
- ### Features
143
+ #### 🚀 Features
90
144
 
91
- - **rstream-gestures:** enable TS strict compiler flags (refactor) ([412dd46](https://github.com/thi-ng/umbrella/commit/412dd46))
145
+ - add `buttons` to GestureInfo ([2d837e2](https://github.com/thi-ng/umbrella/commit/2d837e2))
146
+ - active touch events (touchstart/move) will set buttons = 1
92
147
 
93
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.21...@thi.ng/rstream-gestures@1.1.0) (2019-04-11)
148
+ ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.2.0) (2019-07-07)
94
149
 
95
- ### Features
150
+ #### 🚀 Features
96
151
 
97
- - **rstream-gestures:** add zoomDelta output ([68c4b45](https://github.com/thi-ng/umbrella/commit/68c4b45))
152
+ - enable TS strict compiler flags (refactor) ([412dd46](https://github.com/thi-ng/umbrella/commit/412dd46))
98
153
 
99
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.6.9...@thi.ng/rstream-gestures@1.0.0) (2019-01-21)
154
+ #### ♻️ Refactoring
100
155
 
101
- ### Bug Fixes
156
+ - TS strictNullChecks ([bac2904](https://github.com/thi-ng/umbrella/commit/bac2904))
102
157
 
103
- - **rstream-gestures:** disable __GestureType reverse enum export ([19449e8](https://github.com/thi-ng/umbrella/commit/19449e8))
158
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.1.0) (2019-04-11)
104
159
 
105
- ### Build System
160
+ #### 🚀 Features
161
+
162
+ - add zoomDelta output ([68c4b45](https://github.com/thi-ng/umbrella/commit/68c4b45))
163
+
164
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.0.0) (2019-01-21)
165
+
166
+ #### 🛑 Breaking changes
106
167
 
107
168
  - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
169
+ - BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
170
+ - build scripts now first build ES6 modules in package root, then call
171
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
172
+ - all imports MUST be updated to only refer to package level
173
+ (not individual files anymore). tree shaking in user land will get rid of
174
+ all unused imported symbols
175
+
176
+ #### 🩹 Bug fixes
108
177
 
109
- ### BREAKING CHANGES
178
+ - disable __GestureType reverse enum export ([19449e8](https://github.com/thi-ng/umbrella/commit/19449e8))
110
179
 
111
- - enable multi-outputs (ES6 modules, CJS, UMD)
112
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
113
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols
180
+ #### ♻️ Refactoring
114
181
 
115
- # [0.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.5.18...@thi.ng/rstream-gestures@0.6.0) (2018-11-24)
182
+ - use arrow fns ([8904cb4](https://github.com/thi-ng/umbrella/commit/8904cb4))
116
183
 
117
- ### Features
184
+ ## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.6.0) (2018-11-24)
118
185
 
119
- - **rstream-gestures:** add absZoom option (abs vs. relative) ([bab55c3](https://github.com/thi-ng/umbrella/commit/bab55c3))
186
+ #### 🚀 Features
120
187
 
121
- ## [0.5.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.5.15...@thi.ng/rstream-gestures@0.5.16) (2018-10-24)
188
+ - add absZoom option (abs vs. relative) ([bab55c3](https://github.com/thi-ng/umbrella/commit/bab55c3))
122
189
 
123
- ### Bug Fixes
190
+ ### [0.5.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.5.16) (2018-10-24)
124
191
 
125
- - **rstream-gestures:** fix incorrect local position when scrolled ([f1f6af4](https://github.com/thi-ng/umbrella/commit/f1f6af4))
192
+ #### 🩹 Bug fixes
126
193
 
127
- ## [0.5.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.5.9...@thi.ng/rstream-gestures@0.5.10) (2018-09-24)
194
+ - fix incorrect local position when scrolled ([f1f6af4](https://github.com/thi-ng/umbrella/commit/f1f6af4))
195
+ fixes: https://github.com/thi-ng/umbrella/issues/56
196
+ uses getBoundingClientRect() instead of offsetLeft / offsetTop
128
197
 
129
- ### Performance Improvements
198
+ ### [0.5.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.5.10) (2018-09-24)
130
199
 
131
- - **rstream-gestures:** `GestureType` => const enum ([8e4fc90](https://github.com/thi-ng/umbrella/commit/8e4fc90))
200
+ #### Performance improvements
132
201
 
133
- # [0.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.4.18...@thi.ng/rstream-gestures@0.5.0) (2018-08-27)
202
+ - `GestureType` => const enum ([8e4fc90](https://github.com/thi-ng/umbrella/commit/8e4fc90))
203
+ - export `__GestureType` for reverse lookups
134
204
 
135
- ### Features
205
+ ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.5.0) (2018-08-27)
136
206
 
137
- - **rstream-gestures:** add options for local & scaled positions ([ccc40a9](https://github.com/thi-ng/umbrella/commit/ccc40a9))
207
+ #### 🚀 Features
138
208
 
139
- ## [0.4.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.4.5...@thi.ng/rstream-gestures@0.4.6) (2018-07-13)
209
+ - add options for local & scaled positions ([ccc40a9](https://github.com/thi-ng/umbrella/commit/ccc40a9))
210
+ - add `local` and `scale` options & docs
140
211
 
141
- ### Bug Fixes
212
+ ### [0.4.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.4.6) (2018-07-13)
142
213
 
143
- - **rstream-gestures:** touchevent check in safari ([ee48a94](https://github.com/thi-ng/umbrella/commit/ee48a94))
214
+ #### 🩹 Bug fixes
144
215
 
145
- # [0.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.3.16...@thi.ng/rstream-gestures@0.4.0) (2018-07-04)
216
+ - touchevent check in safari ([ee48a94](https://github.com/thi-ng/umbrella/commit/ee48a94))
146
217
 
147
- ### Features
218
+ ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.4.0) (2018-07-04)
148
219
 
149
- - **rstream-gestures:** add event & preventDefault opts, update docs ([de17340](https://github.com/thi-ng/umbrella/commit/de17340))
220
+ #### 🚀 Features
150
221
 
151
- ## [0.3.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.3.15...@thi.ng/rstream-gestures@0.3.16) (2018-07-03)
222
+ - add event & preventDefault opts, update docs ([de17340](https://github.com/thi-ng/umbrella/commit/de17340))
152
223
 
153
- # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.2.5...@thi.ng/rstream-gestures@0.3.0) (2018-05-09)
224
+ ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.3.0) (2018-05-09)
154
225
 
155
- ### Features
226
+ #### 🚀 Features
156
227
 
157
- - **rstream-gestures:** add zoom smooth config option, update readme ([053c8c6](https://github.com/thi-ng/umbrella/commit/053c8c6))
228
+ - add zoom smooth config option, update readme ([053c8c6](https://github.com/thi-ng/umbrella/commit/053c8c6))
158
229
 
159
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.1.9...@thi.ng/rstream-gestures@0.2.0) (2018-04-24)
230
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.2.0) (2018-04-24)
160
231
 
161
- ### Features
232
+ #### 🚀 Features
162
233
 
163
- - **rstream-gestures:** allows partial opts, add ID option ([3408c13](https://github.com/thi-ng/umbrella/commit/3408c13))
234
+ - allows partial opts, add ID option ([3408c13](https://github.com/thi-ng/umbrella/commit/3408c13))
164
235
 
165
- # 0.1.0 (2018-04-14)
236
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.1.0) (2018-04-14)
166
237
 
167
- ### Features
238
+ #### 🚀 Features
168
239
 
169
- - **rstream-gestures:** initial import [@thi](https://github.com/thi).ng/rstream-gestures ([de1ac7b](https://github.com/thi-ng/umbrella/commit/de1ac7b))
240
+ - 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/README.md CHANGED
@@ -69,7 +69,7 @@ node --experimental-repl-await
69
69
  > const rstreamGestures = await import("@thi.ng/rstream-gestures");
70
70
  ```
71
71
 
72
- Package sizes (gzipped, pre-treeshake): ESM: 1.19 KB
72
+ Package sizes (gzipped, pre-treeshake): ESM: 1.16 KB
73
73
 
74
74
  ## Dependencies
75
75
 
package/package.json CHANGED
@@ -1,90 +1,95 @@
1
1
  {
2
- "name": "@thi.ng/rstream-gestures",
3
- "version": "4.0.8",
4
- "description": "Unified mouse, mouse wheel & multi-touch event stream abstraction",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/rstream-gestures",
3
+ "version": "4.1.2",
4
+ "description": "Unified mouse, mouse wheel & multi-touch event stream abstraction",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/rstream-gestures#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/rstream-gestures#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/api": "^8.1.0",
38
- "@thi.ng/checks": "^3.0.6",
39
- "@thi.ng/math": "^5.0.7",
40
- "@thi.ng/rstream": "^7.0.8",
41
- "@thi.ng/transducers": "^8.0.7"
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/api": "^8.3.2",
38
+ "@thi.ng/checks": "^3.1.2",
39
+ "@thi.ng/math": "^5.1.2",
40
+ "@thi.ng/rstream": "^7.2.0",
41
+ "@thi.ng/transducers": "^8.1.2"
42
+ },
43
+ "devDependencies": {
44
+ "@microsoft/api-extractor": "^7.18.19",
45
+ "@thi.ng/testament": "^0.2.2",
46
+ "rimraf": "^3.0.2",
47
+ "tools": "^0.0.1",
48
+ "typedoc": "^0.22.9",
49
+ "typescript": "^4.5.2"
50
+ },
51
+ "keywords": [
52
+ "animation",
53
+ "dataflow",
54
+ "event",
55
+ "interaction",
56
+ "mouse",
57
+ "mousewheel",
58
+ "multitouch",
59
+ "reactive",
60
+ "rstream",
61
+ "stream",
62
+ "touch",
63
+ "typescript"
64
+ ],
65
+ "publishConfig": {
66
+ "access": "public"
67
+ },
68
+ "engines": {
69
+ "node": ">=12.7"
70
+ },
71
+ "files": [
72
+ "*.js",
73
+ "*.d.ts"
74
+ ],
75
+ "exports": {
76
+ ".": {
77
+ "import": "./index.js"
42
78
  },
43
- "devDependencies": {
44
- "@thi.ng/testament": "^0.1.6"
79
+ "./api": {
80
+ "import": "./api.js"
45
81
  },
46
- "keywords": [
47
- "animation",
48
- "dataflow",
49
- "event",
50
- "interaction",
51
- "mouse",
52
- "mousewheel",
53
- "multitouch",
54
- "reactive",
55
- "rstream",
56
- "stream",
57
- "touch",
58
- "typescript"
82
+ "./gesture-stream": {
83
+ "import": "./gesture-stream.js"
84
+ }
85
+ },
86
+ "thi.ng": {
87
+ "parent": "@thi.ng/rstream",
88
+ "related": [
89
+ "hdom",
90
+ "rdom"
59
91
  ],
60
- "publishConfig": {
61
- "access": "public"
62
- },
63
- "engines": {
64
- "node": ">=12.7"
65
- },
66
- "files": [
67
- "*.js",
68
- "*.d.ts"
69
- ],
70
- "exports": {
71
- ".": {
72
- "import": "./index.js"
73
- },
74
- "./api": {
75
- "import": "./api.js"
76
- },
77
- "./gesture-stream": {
78
- "import": "./gesture-stream.js"
79
- }
80
- },
81
- "thi.ng": {
82
- "parent": "@thi.ng/rstream",
83
- "related": [
84
- "hdom",
85
- "rdom"
86
- ],
87
- "year": 2018
88
- },
89
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
90
- }
92
+ "year": 2018
93
+ },
94
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
95
+ }