@thi.ng/rdom-canvas 0.5.35 → 0.5.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-11-01T11:05:34Z
3
+ - **Last updated**: 2023-11-09T10:28:19Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [0.5.36](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.5.36) (2023-11-09)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
17
+
12
18
  ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.5.0) (2023-04-08)
13
19
 
14
20
  #### 🚀 Features
package/README.md CHANGED
@@ -119,7 +119,7 @@ For Node.js REPL:
119
119
  const rdomCanvas = await import("@thi.ng/rdom-canvas");
120
120
  ```
121
121
 
122
- Package sizes (brotli'd, pre-treeshake): ESM: 596 bytes
122
+ Package sizes (brotli'd, pre-treeshake): ESM: 703 bytes
123
123
 
124
124
  ## Dependencies
125
125
 
package/index.js CHANGED
@@ -24,6 +24,11 @@ import { reactive } from "@thi.ng/rstream/stream";
24
24
  */
25
25
  export const $canvas = (body, size, attribs) => $subWithID(body, new $Canvas(size, attribs), __nextID("canvas", body));
26
26
  export class $Canvas extends Component {
27
+ attribs;
28
+ ctx;
29
+ inner;
30
+ size;
31
+ sizeSub;
27
32
  constructor(size, attribs = {}) {
28
33
  super();
29
34
  this.attribs = attribs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rdom-canvas",
3
- "version": "0.5.35",
3
+ "version": "0.5.38",
4
4
  "description": "@thi.ng/rdom component wrapper for @thi.ng/hiccup-canvas and declarative canvas drawing",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -28,26 +28,25 @@
28
28
  "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
29
29
  "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
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",
31
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
33
32
  "pub": "yarn npm publish --access public",
34
- "test": "testament test"
33
+ "test": "bun test"
35
34
  },
36
35
  "dependencies": {
37
- "@thi.ng/adapt-dpi": "^2.2.22",
38
- "@thi.ng/api": "^8.9.6",
39
- "@thi.ng/associative": "^6.3.17",
40
- "@thi.ng/checks": "^3.4.6",
41
- "@thi.ng/hiccup-canvas": "^2.4.5",
42
- "@thi.ng/rdom": "^0.12.20",
43
- "@thi.ng/rstream": "^8.2.7"
36
+ "@thi.ng/adapt-dpi": "^2.2.24",
37
+ "@thi.ng/api": "^8.9.8",
38
+ "@thi.ng/associative": "^6.3.20",
39
+ "@thi.ng/checks": "^3.4.8",
40
+ "@thi.ng/hiccup-canvas": "^2.4.8",
41
+ "@thi.ng/rdom": "^0.13.0",
42
+ "@thi.ng/rstream": "^8.2.10"
44
43
  },
45
44
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.38.0",
47
- "@thi.ng/testament": "^0.3.24",
45
+ "@microsoft/api-extractor": "^7.38.2",
46
+ "@thi.ng/testament": "^0.4.1",
48
47
  "rimraf": "^5.0.5",
49
48
  "tools": "^0.0.1",
50
- "typedoc": "^0.25.2",
49
+ "typedoc": "^0.25.3",
51
50
  "typescript": "^5.2.2"
52
51
  },
53
52
  "keywords": [
@@ -89,5 +88,5 @@
89
88
  "status": "alpha",
90
89
  "year": 2020
91
90
  },
92
- "gitHead": "336bd1bf95825b3c318a3ab49c54451c94aaa883\n"
91
+ "gitHead": "2be4c38c9680da929339bd164acfb69ebb1fd3d0\n"
93
92
  }