@thi.ng/hdom-canvas 4.1.37 → 4.1.38
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 +1 -1
- package/README.md +9 -19
- package/package.json +16 -13
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/hdom-canvas)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -23,13 +23,11 @@ This project is part of the
|
|
|
23
23
|
- [SVG conversion](#svg-conversion)
|
|
24
24
|
- [Supported shape types](#supported-shape-types)
|
|
25
25
|
- [Authors](#authors)
|
|
26
|
-
- [Maintainer](#maintainer)
|
|
27
|
-
- [Contributors](#contributors)
|
|
28
26
|
- [License](#license)
|
|
29
27
|
|
|
30
28
|
## About
|
|
31
29
|
|
|
32
|
-
|
|
30
|
+
@thi.ng/hdom component wrapper for declarative canvas scenegraphs
|
|
33
31
|
|
|
34
32
|
This package provides a [re-usable canvas
|
|
35
33
|
component](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom-canvas/src/index.ts#L66),
|
|
@@ -56,7 +54,7 @@ package for better re-usability, also outside without hdom.
|
|
|
56
54
|
- [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/develop/packages/geom) - Functional, polymorphic API for 2D geometry types & SVG generation
|
|
57
55
|
- [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom) - Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors
|
|
58
56
|
- [@thi.ng/hiccup-canvas](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-canvas) - Hiccup shape tree renderer for vanilla Canvas 2D contexts
|
|
59
|
-
- [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) &
|
|
57
|
+
- [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) & related tooling
|
|
60
58
|
- [@thi.ng/rdom-canvas](https://github.com/thi-ng/umbrella/tree/develop/packages/rdom-canvas) - [@thi.ng/rdom](https://github.com/thi-ng/umbrella/tree/develop/packages/rdom) component wrapper for [@thi.ng/hiccup-canvas](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-canvas) and declarative canvas drawing
|
|
61
59
|
|
|
62
60
|
## Installation
|
|
@@ -75,11 +73,8 @@ ES module import:
|
|
|
75
73
|
|
|
76
74
|
For Node.js REPL:
|
|
77
75
|
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
node --experimental-repl-await
|
|
81
|
-
|
|
82
|
-
> const hdomCanvas = await import("@thi.ng/hdom-canvas");
|
|
76
|
+
```js
|
|
77
|
+
const hdomCanvas = await import("@thi.ng/hdom-canvas");
|
|
83
78
|
```
|
|
84
79
|
|
|
85
80
|
Package sizes (brotli'd, pre-treeshake): ESM: 824 bytes
|
|
@@ -288,13 +283,8 @@ transformations.
|
|
|
288
283
|
|
|
289
284
|
## Authors
|
|
290
285
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
- Karsten Schmidt ([@postspectacular](https://github.com/postspectacular))
|
|
294
|
-
|
|
295
|
-
### Contributors
|
|
296
|
-
|
|
297
|
-
- Arthur Carabott ([@acarabott](https://github.com/acarabott))
|
|
286
|
+
- [Karsten Schmidt](https://thi.ng) (Main author)
|
|
287
|
+
- [Arthur Carabott](https://github.com/acarabott)
|
|
298
288
|
|
|
299
289
|
If this project contributes to an academic publication, please cite it as:
|
|
300
290
|
|
|
@@ -309,4 +299,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
309
299
|
|
|
310
300
|
## License
|
|
311
301
|
|
|
312
|
-
© 2018 - 2022 Karsten Schmidt // Apache
|
|
302
|
+
© 2018 - 2022 Karsten Schmidt // Apache License 2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hdom-canvas",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.38",
|
|
4
4
|
"description": "@thi.ng/hdom component wrapper for declarative canvas scenegraphs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -21,7 +21,10 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
|
+
"contributors": [
|
|
26
|
+
"Arthur Carabott (https://github.com/acarabott)"
|
|
27
|
+
],
|
|
25
28
|
"license": "Apache-2.0",
|
|
26
29
|
"scripts": {
|
|
27
30
|
"build": "yarn clean && tsc --declaration",
|
|
@@ -34,20 +37,20 @@
|
|
|
34
37
|
"test": "testament test"
|
|
35
38
|
},
|
|
36
39
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/diff": "^5.1.
|
|
40
|
-
"@thi.ng/errors": "^2.2.
|
|
41
|
-
"@thi.ng/hdom": "^9.
|
|
42
|
-
"@thi.ng/hiccup-canvas": "^2.1.
|
|
40
|
+
"@thi.ng/api": "^8.6.0",
|
|
41
|
+
"@thi.ng/checks": "^3.3.5",
|
|
42
|
+
"@thi.ng/diff": "^5.1.19",
|
|
43
|
+
"@thi.ng/errors": "^2.2.6",
|
|
44
|
+
"@thi.ng/hdom": "^9.2.0",
|
|
45
|
+
"@thi.ng/hiccup-canvas": "^2.1.38"
|
|
43
46
|
},
|
|
44
47
|
"devDependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "^7.33.
|
|
46
|
-
"@thi.ng/testament": "^0.3.
|
|
48
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
49
|
+
"@thi.ng/testament": "^0.3.7",
|
|
47
50
|
"rimraf": "^3.0.2",
|
|
48
51
|
"tools": "^0.0.1",
|
|
49
|
-
"typedoc": "^0.23.
|
|
50
|
-
"typescript": "^4.
|
|
52
|
+
"typedoc": "^0.23.22",
|
|
53
|
+
"typescript": "^4.9.4"
|
|
51
54
|
},
|
|
52
55
|
"keywords": [
|
|
53
56
|
"array",
|
|
@@ -89,5 +92,5 @@
|
|
|
89
92
|
],
|
|
90
93
|
"year": 2018
|
|
91
94
|
},
|
|
92
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
|
|
93
96
|
}
|