@thi.ng/hdom-components 5.0.8 → 5.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 +162 -71
  2. package/README.md +1 -1
  3. package/package.json +105 -100
package/CHANGELOG.md CHANGED
@@ -1,141 +1,232 @@
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
+ ## [5.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@5.1.0) (2021-11-17)
13
+
14
+ #### 🚀 Features
5
15
 
6
- ## [5.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@5.0.7...@thi.ng/hdom-components@5.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/hdom-components
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
+ ### [5.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@5.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
- # [5.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@4.0.48...@thi.ng/hdom-components@5.0.0) (2021-10-12)
39
+ # [5.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@5.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
+ - dedupe toggle() internals ([4b09d0e](https://github.com/thi-ng/umbrella/commit/4b09d0e))
59
+ - update imports (transducers) ([4707563](https://github.com/thi-ng/umbrella/commit/4707563))
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
+ ### [4.0.17](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@4.0.17) (2020-12-07)
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
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
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
+ # [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@4.0.0) (2020-06-07)
37
72
 
73
+ #### 🛑 Breaking changes
38
74
 
75
+ - remove adaptDPI() ([2b89ad4](https://github.com/thi-ng/umbrella/commit/2b89ad4))
76
+ - BREAKING CHANGE: re-use adaptDPI() from new [@thi.ng/adapt-dpi](https://github.com/thi-ng/umbrella/tree/main/packages/adapt-dpi) pkg
77
+ - update deps
39
78
 
79
+ ### [3.2.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.2.9) (2020-05-14)
40
80
 
81
+ #### ♻️ Refactoring
41
82
 
83
+ - remove obsolete pager defaults ([f198835](https://github.com/thi-ng/umbrella/commit/f198835))
42
84
 
43
- # [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.2.12...@thi.ng/hdom-components@4.0.0) (2020-06-07)
85
+ ## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.2.0) (2020-03-06)
44
86
 
45
- ### Code Refactoring
87
+ #### 🚀 Features
46
88
 
47
- - **hdom-components:** remove adaptDPI() ([2b89ad4](https://github.com/thi-ng/umbrella/commit/2b89ad4135b9c765436fd4a496eecb080a9f59fa))
89
+ - import slideToggleDot/Rect() components ([a2d0158](https://github.com/thi-ng/umbrella/commit/a2d0158))
48
90
 
49
- ### BREAKING CHANGES
91
+ #### 🩹 Bug fixes
50
92
 
51
- - **hdom-components:** re-use adaptDPI() from new @thi.ng/adapt-dpi pkg
52
- - update deps
93
+ - fix total size calc in slideToggleRect() ([8f58b09](https://github.com/thi-ng/umbrella/commit/8f58b09))
53
94
 
54
- # [3.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.1.13...@thi.ng/hdom-components@3.2.0) (2020-03-06)
95
+ ### [3.1.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.1.10) (2020-02-25)
55
96
 
56
- ### Bug Fixes
97
+ #### ♻️ Refactoring
57
98
 
58
- - **hdom-components:** fix total size calc in slideToggleRect() ([8f58b09](https://github.com/thi-ng/umbrella/commit/8f58b0992396357f4e06a7c2d835a751ef848dfd))
99
+ - update imports ([b94f90b](https://github.com/thi-ng/umbrella/commit/b94f90b))
59
100
 
60
- ### Features
101
+ ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.1.0) (2019-07-07)
61
102
 
62
- - **hdom-components:** import slideToggleDot/Rect() components ([a2d0158](https://github.com/thi-ng/umbrella/commit/a2d015863ddea9e7a883dc9e0ce0e2e9a38497ae))
103
+ #### 🚀 Features
63
104
 
64
- # [3.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.0.20...@thi.ng/hdom-components@3.1.0) (2019-07-07)
105
+ - enable TS strict compiler flags (refactor) ([6233ba2](https://github.com/thi-ng/umbrella/commit/6233ba2))
65
106
 
66
- ### Bug Fixes
107
+ #### 🩹 Bug fixes
67
108
 
68
- - **hdom-components:** update CanvasHandler args ([080411f](https://github.com/thi-ng/umbrella/commit/080411f))
109
+ - update CanvasHandler args ([080411f](https://github.com/thi-ng/umbrella/commit/080411f))
69
110
 
70
- ### Features
111
+ #### ♻️ Refactoring
71
112
 
72
- - **hdom-components:** enable TS strict compiler flags (refactor) ([6233ba2](https://github.com/thi-ng/umbrella/commit/6233ba2))
113
+ - TS strictNullChecks ([112f41e](https://github.com/thi-ng/umbrella/commit/112f41e))
73
114
 
74
- ## [3.0.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.0.16...@thi.ng/hdom-components@3.0.17) (2019-04-16)
115
+ ### [3.0.17](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.0.17) (2019-04-16)
75
116
 
76
- ### Bug Fixes
117
+ #### 🩹 Bug fixes
77
118
 
78
- - **hdom-components:** `this` handling in CanvasHandlers ([f104b64](https://github.com/thi-ng/umbrella/commit/f104b64))
119
+ - `this` handling in CanvasHandlers ([f104b64](https://github.com/thi-ng/umbrella/commit/f104b64))
120
+ - call all given handlers as method, not as standalone fn
79
121
 
80
- # [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@2.4.6...@thi.ng/hdom-components@3.0.0) (2019-01-21)
122
+ ### [3.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.0.9) (2019-03-10)
81
123
 
82
- ### Build System
124
+ #### ♻️ Refactoring
125
+
126
+ - update Fn args in various packages ([e453ac3](https://github.com/thi-ng/umbrella/commit/e453ac3))
127
+
128
+ # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.0.0) (2019-01-21)
129
+
130
+ #### 🛑 Breaking changes
83
131
 
84
132
  - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
133
+ - BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
134
+ - build scripts now first build ES6 modules in package root, then call
135
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
136
+ - all imports MUST be updated to only refer to package level
137
+ (not individual files anymore). tree shaking in user land will get rid of
138
+ all unused imported symbols
139
+
140
+ ## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.4.0) (2018-12-14)
141
+
142
+ #### 🚀 Features
143
+
144
+ - merge button & button group attribs ([da441c1](https://github.com/thi-ng/umbrella/commit/da441c1))
145
+
146
+ ## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.3.0) (2018-12-13)
147
+
148
+ #### 🚀 Features
149
+
150
+ - add FPS counter & sparkline components, update deps ([ebd3380](https://github.com/thi-ng/umbrella/commit/ebd3380))
151
+ - add mergeAttribs() helper
152
+
153
+ #### ♻️ Refactoring
154
+
155
+ - emit int coords for sparkline ([73a298d](https://github.com/thi-ng/umbrella/commit/73a298d))
85
156
 
86
- ### BREAKING CHANGES
157
+ ### [2.2.11](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.2.11) (2018-10-17)
87
158
 
88
- - enable multi-outputs (ES6 modules, CJS, UMD)
89
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
90
- - 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
159
+ #### 🩹 Bug fixes
91
160
 
92
- # [2.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@2.3.0...@thi.ng/hdom-components@2.4.0) (2018-12-14)
161
+ - add Canvas2DContextAttributes (removed in TS3.1) ([775cc8a](https://github.com/thi-ng/umbrella/commit/775cc8a))
93
162
 
94
- ### Features
163
+ ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.2.0) (2018-08-27)
95
164
 
96
- - **hdom-components:** merge button & button group attribs ([da441c1](https://github.com/thi-ng/umbrella/commit/da441c1))
165
+ #### 🚀 Features
97
166
 
98
- # [2.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@2.2.15...@thi.ng/hdom-components@2.3.0) (2018-12-13)
167
+ - add HDPI adaptation helper for canvas comps ([135d6f1](https://github.com/thi-ng/umbrella/commit/135d6f1))
168
+ - add adaptDPI() and automatically call from init()
99
169
 
100
- ### Features
170
+ #### 🩹 Bug fixes
101
171
 
102
- - **hdom-components:** add FPS counter & sparkline components, update deps ([ebd3380](https://github.com/thi-ng/umbrella/commit/ebd3380))
172
+ - call canvas update from init() ([b25edbe](https://github.com/thi-ng/umbrella/commit/b25edbe))
173
+ - previously update() was only called from 2nd frame onward
103
174
 
104
- ## [2.2.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@2.2.10...@thi.ng/hdom-components@2.2.11) (2018-10-17)
175
+ ### [2.1.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.1.12) (2018-08-24)
105
176
 
106
- ### Bug Fixes
177
+ #### ♻️ Refactoring
107
178
 
108
- - **hdom-components:** add Canvas2DContextAttributes (removed in TS3.1) ([775cc8a](https://github.com/thi-ng/umbrella/commit/775cc8a))
179
+ - update/replace deps (iterators => transducers) ([c17cb08](https://github.com/thi-ng/umbrella/commit/c17cb08))
109
180
 
110
- # [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@2.1.13...@thi.ng/hdom-components@2.2.0) (2018-08-27)
181
+ ### [2.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.1.1) (2018-05-10)
111
182
 
112
- ### Bug Fixes
183
+ #### ♻️ Refactoring
113
184
 
114
- - **hdom-components:** call canvas update from init() ([b25edbe](https://github.com/thi-ng/umbrella/commit/b25edbe))
185
+ - update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
186
+ - add ButtonGroup type alias ([b4476cb](https://github.com/thi-ng/umbrella/commit/b4476cb))
115
187
 
116
- ### Features
188
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.1.0) (2018-05-09)
117
189
 
118
- - **hdom-components:** add HDPI adaptation helper for canvas comps ([135d6f1](https://github.com/thi-ng/umbrella/commit/135d6f1))
190
+ #### 🚀 Features
119
191
 
120
- # [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@2.0.3...@thi.ng/hdom-components@2.1.0) (2018-05-09)
192
+ - add buttonGroup ([c0950d6](https://github.com/thi-ng/umbrella/commit/c0950d6))
193
+ - add notification component ([a11803c](https://github.com/thi-ng/umbrella/commit/a11803c))
194
+ - add button component ([cef3c6a](https://github.com/thi-ng/umbrella/commit/cef3c6a))
195
+ - add title component ([f9a2daf](https://github.com/thi-ng/umbrella/commit/f9a2daf))
196
+ - add pager component, add [@thi.ng/iterators](https://github.com/thi-ng/umbrella/tree/main/packages/iterators) dep ([efb288d](https://github.com/thi-ng/umbrella/commit/efb288d))
121
197
 
122
- ### Features
198
+ #### ♻️ Refactoring
123
199
 
124
- - **hdom-components:** add button component ([cef3c6a](https://github.com/thi-ng/umbrella/commit/cef3c6a))
125
- - **hdom-components:** add buttonGroup ([c0950d6](https://github.com/thi-ng/umbrella/commit/c0950d6))
126
- - **hdom-components:** add notification component ([a11803c](https://github.com/thi-ng/umbrella/commit/a11803c))
127
- - **hdom-components:** add pager component, add [@thi](https://github.com/thi).ng/iterators dep ([efb288d](https://github.com/thi-ng/umbrella/commit/efb288d))
128
- - **hdom-components:** add title component ([f9a2daf](https://github.com/thi-ng/umbrella/commit/f9a2daf))
200
+ - remove CanvasOpts, update re-exports ([cefb199](https://github.com/thi-ng/umbrella/commit/cefb199))
201
+ - update notification & appLink comps ([4f8e7ba](https://github.com/thi-ng/umbrella/commit/4f8e7ba))
202
+ - update button args ([ec41eb9](https://github.com/thi-ng/umbrella/commit/ec41eb9))
203
+ - make pager more customizable ([334a4d2](https://github.com/thi-ng/umbrella/commit/334a4d2))
129
204
 
130
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@1.1.2...@thi.ng/hdom-components@2.0.0) (2018-04-08)
205
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.0.0) (2018-04-08)
131
206
 
132
- ### Code Refactoring
207
+ #### 🛑 Breaking changes
133
208
 
134
- - **hdom-components:** remove svg, update canvas (hdom context support) ([86d1f0d](https://github.com/thi-ng/umbrella/commit/86d1f0d))
135
- - **hdom-components:** update dropdown components ([0873832](https://github.com/thi-ng/umbrella/commit/0873832))
209
+ - update dropdown components ([0873832](https://github.com/thi-ng/umbrella/commit/0873832))
210
+ - BREAKING CHANGE: add hdom context arg as first arg to `dropdown` and
211
+ `groupedDropdown`
212
+ - update canvas handlers, add webgl2 version ([7c88a3f](https://github.com/thi-ng/umbrella/commit/7c88a3f))
213
+ - add CanvasHandlers interface
214
+ - update canvas component to pass component args to handlers
215
+ - add/compute `time` arg (in addition to `frame`)
216
+ - add support for `release` handlers to cleanup webgl resources
217
+ - add `canvasWebGL2`
218
+ - add/update docs
219
+ - BREAKING CHANGE: canvas user handlers passed as object and taking
220
+ different / more args
221
+ - remove svg, update canvas (hdom context support) ([86d1f0d](https://github.com/thi-ng/umbrella/commit/86d1f0d))
222
+ - remove entire svg.ts
223
+ - remove [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/main/packages/hiccup) dependency
224
+ - update readme
225
+ - BREAKING CHANGE: SVG functionality has been moved to new
226
+ [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/main/packages/hiccup-svg) package. Canvas component user fns have new args
136
227
 
137
- ### Features
228
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@1.1.0) (2018-03-29)
138
229
 
139
- - **hdom-components:** update canvas handlers, add webgl2 version ([7c88a3f](https://github.com/thi-ng/umbrella/commit/7c88a3f))
230
+ #### 🚀 Features
140
231
 
141
- ### BREAKING CHANGES
232
+ - add svg line() ([6cbacec](https://github.com/thi-ng/umbrella/commit/6cbacec))
package/README.md CHANGED
@@ -66,7 +66,7 @@ node --experimental-repl-await
66
66
  > const hdomComponents = await import("@thi.ng/hdom-components");
67
67
  ```
68
68
 
69
- Package sizes (gzipped, pre-treeshake): ESM: 2.21 KB
69
+ Package sizes (gzipped, pre-treeshake): ESM: 2.24 KB
70
70
 
71
71
  ## Dependencies
72
72
 
package/package.json CHANGED
@@ -1,109 +1,114 @@
1
1
  {
2
- "name": "@thi.ng/hdom-components",
3
- "version": "5.0.8",
4
- "description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
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/hdom-components",
3
+ "version": "5.1.2",
4
+ "description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
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/hdom-components#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/hdom-components#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 utils",
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"
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 utils",
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/adapt-dpi": "^2.1.2",
38
+ "@thi.ng/api": "^8.3.2",
39
+ "@thi.ng/checks": "^3.1.2",
40
+ "@thi.ng/math": "^5.1.2",
41
+ "@thi.ng/transducers": "^8.1.2",
42
+ "@thi.ng/transducers-stats": "^2.1.2"
43
+ },
44
+ "devDependencies": {
45
+ "@microsoft/api-extractor": "^7.18.19",
46
+ "@thi.ng/testament": "^0.2.2",
47
+ "rimraf": "^3.0.2",
48
+ "tools": "^0.0.1",
49
+ "typedoc": "^0.22.9",
50
+ "typescript": "^4.5.2"
51
+ },
52
+ "keywords": [
53
+ "browser",
54
+ "typescript"
55
+ ],
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "engines": {
60
+ "node": ">=12.7"
61
+ },
62
+ "files": [
63
+ "*.js",
64
+ "*.d.ts",
65
+ "utils"
66
+ ],
67
+ "exports": {
68
+ ".": {
69
+ "import": "./index.js"
35
70
  },
36
- "dependencies": {
37
- "@thi.ng/adapt-dpi": "^2.0.6",
38
- "@thi.ng/api": "^8.1.0",
39
- "@thi.ng/checks": "^3.0.6",
40
- "@thi.ng/math": "^5.0.7",
41
- "@thi.ng/transducers": "^8.0.7",
42
- "@thi.ng/transducers-stats": "^2.0.8"
71
+ "./button-group": {
72
+ "import": "./button-group.js"
43
73
  },
44
- "devDependencies": {
45
- "@thi.ng/testament": "^0.1.6"
74
+ "./button": {
75
+ "import": "./button.js"
46
76
  },
47
- "keywords": [
48
- "browser",
49
- "typescript"
50
- ],
51
- "publishConfig": {
52
- "access": "public"
77
+ "./canvas": {
78
+ "import": "./canvas.js"
53
79
  },
54
- "engines": {
55
- "node": ">=12.7"
80
+ "./dropdown": {
81
+ "import": "./dropdown.js"
56
82
  },
57
- "files": [
58
- "*.js",
59
- "*.d.ts",
60
- "utils"
61
- ],
62
- "exports": {
63
- ".": {
64
- "import": "./index.js"
65
- },
66
- "./button-group": {
67
- "import": "./button-group.js"
68
- },
69
- "./button": {
70
- "import": "./button.js"
71
- },
72
- "./canvas": {
73
- "import": "./canvas.js"
74
- },
75
- "./dropdown": {
76
- "import": "./dropdown.js"
77
- },
78
- "./fps-counter": {
79
- "import": "./fps-counter.js"
80
- },
81
- "./link": {
82
- "import": "./link.js"
83
- },
84
- "./notification": {
85
- "import": "./notification.js"
86
- },
87
- "./pager": {
88
- "import": "./pager.js"
89
- },
90
- "./sparkline": {
91
- "import": "./sparkline.js"
92
- },
93
- "./title": {
94
- "import": "./title.js"
95
- },
96
- "./toggle": {
97
- "import": "./toggle.js"
98
- },
99
- "./utils/merge-attribs": {
100
- "import": "./utils/merge-attribs.js"
101
- }
83
+ "./fps-counter": {
84
+ "import": "./fps-counter.js"
102
85
  },
103
- "thi.ng": {
104
- "parent": "@thi.ng/hdom",
105
- "status": "beta",
106
- "year": 2018
86
+ "./link": {
87
+ "import": "./link.js"
107
88
  },
108
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
109
- }
89
+ "./notification": {
90
+ "import": "./notification.js"
91
+ },
92
+ "./pager": {
93
+ "import": "./pager.js"
94
+ },
95
+ "./sparkline": {
96
+ "import": "./sparkline.js"
97
+ },
98
+ "./title": {
99
+ "import": "./title.js"
100
+ },
101
+ "./toggle": {
102
+ "import": "./toggle.js"
103
+ },
104
+ "./utils/merge-attribs": {
105
+ "import": "./utils/merge-attribs.js"
106
+ }
107
+ },
108
+ "thi.ng": {
109
+ "parent": "@thi.ng/hdom",
110
+ "status": "beta",
111
+ "year": 2018
112
+ },
113
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
114
+ }