@thi.ng/hdom-canvas 4.1.121 → 4.1.123
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 +5 -12
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
<!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
|
|
3
|
-
> [!IMPORTANT]
|
|
4
|
-
> ‼️ Announcing the thi.ng user survey 2024 📋
|
|
5
|
-
>
|
|
6
|
-
> [Please participate in the survey here!](https://forms.gle/XacbSDEmQMPZg8197)\
|
|
7
|
-
> (open until end of February)
|
|
8
|
-
>
|
|
9
|
-
> **To achieve a better sample size, I'd highly appreciate if you could
|
|
10
|
-
> circulate the link to this survey in your own networks.**
|
|
11
|
-
>
|
|
12
|
-
> [Discussion](https://github.com/thi-ng/umbrella/discussions/447)
|
|
13
|
-
|
|
14
3
|
# 
|
|
15
4
|
|
|
16
5
|
[](https://www.npmjs.com/package/@thi.ng/hdom-canvas)
|
|
@@ -22,7 +11,7 @@
|
|
|
22
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
23
12
|
> and anti-framework.
|
|
24
13
|
>
|
|
25
|
-
> 🚀
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring me on
|
|
26
15
|
> GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
|
|
27
16
|
|
|
28
17
|
- [About](#about)
|
|
@@ -220,6 +209,8 @@ set to `false` to skip unnecessary diffing and force redraws.
|
|
|
220
209
|
To disable the automatic background clearing of the canvas, set the `__clear` attribute to `false`.
|
|
221
210
|
|
|
222
211
|
```ts
|
|
212
|
+
import { canvas } from "@thi.ng/hdom-components";
|
|
213
|
+
|
|
223
214
|
[canvas, { width: 100, height: 100, __clear: false }, ...]
|
|
224
215
|
```
|
|
225
216
|
|
|
@@ -231,6 +222,8 @@ context accordingly before any shapes are processed. For fullscreen
|
|
|
231
222
|
canvases simply set the `width` & `height` attribs to:
|
|
232
223
|
|
|
233
224
|
```ts
|
|
225
|
+
import { canvas } from "@thi.ng/hdom-components";
|
|
226
|
+
|
|
234
227
|
[canvas,
|
|
235
228
|
{
|
|
236
229
|
width: window.innerWidth,
|
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.123",
|
|
4
4
|
"description": "@thi.ng/hdom component wrapper for declarative canvas scenegraphs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"test": "bun test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@thi.ng/api": "^8.9.
|
|
42
|
-
"@thi.ng/checks": "^3.5.
|
|
43
|
-
"@thi.ng/diff": "^5.1.
|
|
44
|
-
"@thi.ng/errors": "^2.4.
|
|
45
|
-
"@thi.ng/hdom": "^9.4.
|
|
46
|
-
"@thi.ng/hiccup-canvas": "^2.5.
|
|
41
|
+
"@thi.ng/api": "^8.9.27",
|
|
42
|
+
"@thi.ng/checks": "^3.5.1",
|
|
43
|
+
"@thi.ng/diff": "^5.1.60",
|
|
44
|
+
"@thi.ng/errors": "^2.4.19",
|
|
45
|
+
"@thi.ng/hdom": "^9.4.20",
|
|
46
|
+
"@thi.ng/hiccup-canvas": "^2.5.22"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
],
|
|
93
93
|
"year": 2018
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "df9e312af741d87e6b450afcfea6a6e381662b1e\n"
|
|
96
96
|
}
|