@altnovatrail/canvas 0.3.29 → 0.3.31

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/NOTICE CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  The package embeds icons of Material Symbols, by Google, under the Apache License, Version 2.0,
4
4
  the license in LICENSE: https://github.com/google/material-design-icons. They come from the npm
5
- package @iconify-json/material-symbols 1.2.98, and the package holds only the icons of its
5
+ package @iconify-json/material-symbols 1.2.99, and the package holds only the icons of its
6
6
  own buttons.
package/README.md CHANGED
@@ -19,8 +19,6 @@ The NovaTrail canvases: the UI package `@altnovatrail/canvas`, which the app bui
19
19
 
20
20
  canvas knows no accounts, no api and no subject, and holds no data of its own: nothing on the tutor's layer ever changes the learner's work.
21
21
 
22
- ## Its place in NovaTrail
23
-
24
22
  canvas is a component of [NovaTrail](https://github.com/altnovatrail/spec), a universal open platform for adaptive learning, interactive lessons and AI tutoring. Its card is [architecture 3.2 spec](https://github.com/altnovatrail/spec/blob/main/docs/architecture.md#32-canvas--canvases).
25
23
 
26
24
  - **app** builds the package in and gives it the task and the tutor's marks; app keeps the learner's strokes on the device and sends the picture of the work to api, since canvas itself calls no network.
@@ -1,4 +1,4 @@
1
- // Written by scripts/icons.ts — `just icons` — from @iconify-json/material-symbols 1.2.98:
1
+ // Written by scripts/icons.ts — `just icons` — from @iconify-json/material-symbols 1.2.99:
2
2
  // Material Symbols by Google, under the Apache License 2.0 (R46 in docs/decisions.md; R78 spec).
3
3
  // ci-lint fails unless it is what the script writes, so it is never edited by hand. This module is
4
4
  // no entry point of the package.
@@ -215,7 +215,8 @@ export declare class NovatrailCanvas extends HTMLElement implements CanvasElemen
215
215
  exportWork(): Promise<ExportedWork | null>;
216
216
  /**
217
217
  * The picture of the work, for the `picture` of a stored work that app puts on the server
218
- * (contracts/README.md spec, section 15; R83): the PNG of the strokes the surface shows, with no
218
+ * (contracts/README.md spec, section 15; R83), a method of the agreement with app (the second
219
+ * 2026-11-17 amendment to R36 spec): the PNG of the strokes the surface shows, with no
219
220
  * condition — the whole sheet, or the workbook's whole page with its draft, one pixel a unit,
220
221
  * 1000 × 1400, whatever is filled and whether the work was sent to be checked or not; an empty
221
222
  * surface, and a worked example's, is white. The strokes are those `exportWork()` takes, as the
@@ -1038,7 +1038,8 @@ export class NovatrailCanvas extends HTMLElement {
1038
1038
  }
1039
1039
  /**
1040
1040
  * The picture of the work, for the `picture` of a stored work that app puts on the server
1041
- * (contracts/README.md spec, section 15; R83): the PNG of the strokes the surface shows, with no
1041
+ * (contracts/README.md spec, section 15; R83), a method of the agreement with app (the second
1042
+ * 2026-11-17 amendment to R36 spec): the PNG of the strokes the surface shows, with no
1042
1043
  * condition — the whole sheet, or the workbook's whole page with its draft, one pixel a unit,
1043
1044
  * 1000 × 1400, whatever is filled and whether the work was sent to be checked or not; an empty
1044
1045
  * surface, and a worked example's, is white. The strokes are those `exportWork()` takes, as the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altnovatrail/canvas",
3
- "version": "0.3.29",
3
+ "version": "0.3.31",
4
4
  "description": "NovaTrail's canvases: the workplace of a task, where the learner writes, draws and types.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -26,15 +26,15 @@
26
26
  "./lib/element/index.js"
27
27
  ],
28
28
  "dependencies": {
29
- "@altnovatrail/spec": "0.18.14",
29
+ "@altnovatrail/spec": "0.18.27",
30
30
  "perfect-freehand": "1.2.3",
31
31
  "rbush": "4.0.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@altnovatrail/contracts": "0.18.14",
34
+ "@altnovatrail/contracts": "0.18.27",
35
35
  "@biomejs/biome": "2.6.6",
36
36
  "@bufbuild/protobuf": "2.17.0",
37
- "@iconify-json/material-symbols": "1.2.98",
37
+ "@iconify-json/material-symbols": "1.2.99",
38
38
  "@iconify/utils": "3.1.7",
39
39
  "@types/mdast": "4.0.4",
40
40
  "@types/node": "24.19.2",