@altnovatrail/canvas 0.3.27 → 0.3.28
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/lib/element/index.d.ts +3 -3
- package/lib/element/index.js +3 -3
- package/lib/element/tools.js +3 -3
- package/package.json +3 -3
package/lib/element/index.d.ts
CHANGED
|
@@ -180,9 +180,9 @@ export declare class NovatrailCanvas extends HTMLElement implements CanvasElemen
|
|
|
180
180
|
* The element's `lang` came, changed or went: its buttons and a workbook's boxes are labelled in
|
|
181
181
|
* it, or in English for a language their labels are not in, and for none (R28, R36). Or
|
|
182
182
|
* `tools-hidden` did: while the element has it, the bar is out of sight and of the accessibility
|
|
183
|
-
* tree, as `app` hides it on a phone under its tutor's sheet (R84;
|
|
184
|
-
* attribute the element had before it was defined comes here just after the
|
|
185
|
-
* reads no attribute.
|
|
183
|
+
* tree, as `app` hides it on a phone under its tutor's sheet (R84; the 2026-11-17 amendment to
|
|
184
|
+
* R36 spec). An attribute the element had before it was defined comes here just after the
|
|
185
|
+
* constructor, which reads no attribute.
|
|
186
186
|
*/
|
|
187
187
|
attributeChangedCallback(name: string): void;
|
|
188
188
|
/**
|
package/lib/element/index.js
CHANGED
|
@@ -952,9 +952,9 @@ export class NovatrailCanvas extends HTMLElement {
|
|
|
952
952
|
* The element's `lang` came, changed or went: its buttons and a workbook's boxes are labelled in
|
|
953
953
|
* it, or in English for a language their labels are not in, and for none (R28, R36). Or
|
|
954
954
|
* `tools-hidden` did: while the element has it, the bar is out of sight and of the accessibility
|
|
955
|
-
* tree, as `app` hides it on a phone under its tutor's sheet (R84;
|
|
956
|
-
* attribute the element had before it was defined comes here just after the
|
|
957
|
-
* reads no attribute.
|
|
955
|
+
* tree, as `app` hides it on a phone under its tutor's sheet (R84; the 2026-11-17 amendment to
|
|
956
|
+
* R36 spec). An attribute the element had before it was defined comes here just after the
|
|
957
|
+
* constructor, which reads no attribute.
|
|
958
958
|
*/
|
|
959
959
|
attributeChangedCallback(name) {
|
|
960
960
|
if (name === "tools-hidden") {
|
package/lib/element/tools.js
CHANGED
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
// part, and Demo, a disclosure button that hides the whole demo and shows it again, are actions,
|
|
21
21
|
// not tools (R42; R90 spec): each shows its label beside its icon, a stop of Tab of its own, in a
|
|
22
22
|
// row of glass at the bottom of the element, and after a line the slot `actions`, where the
|
|
23
|
-
// consumer puts its own buttons — app's Continue —, as the mockup has one row (R84;
|
|
24
|
-
//
|
|
25
|
-
// shown. This module is no entry point of the package.
|
|
23
|
+
// consumer puts its own buttons — app's Continue —, as the mockup has one row (R84; the
|
|
24
|
+
// 2026-11-17 amendment to R36 spec). A button that goes gives its stop of Tab and the focus to
|
|
25
|
+
// the first button shown. This module is no entry point of the package.
|
|
26
26
|
import { SVG, write } from "./attributes.js";
|
|
27
27
|
import { ICONS, ROW } from "./icons.js";
|
|
28
28
|
import { labelsFor } from "./labels.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altnovatrail/canvas",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.28",
|
|
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,12 +26,12 @@
|
|
|
26
26
|
"./lib/element/index.js"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@altnovatrail/spec": "0.18.
|
|
29
|
+
"@altnovatrail/spec": "0.18.14",
|
|
30
30
|
"perfect-freehand": "1.2.3",
|
|
31
31
|
"rbush": "4.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@altnovatrail/contracts": "0.18.
|
|
34
|
+
"@altnovatrail/contracts": "0.18.14",
|
|
35
35
|
"@biomejs/biome": "2.6.6",
|
|
36
36
|
"@bufbuild/protobuf": "2.17.0",
|
|
37
37
|
"@iconify-json/material-symbols": "1.2.98",
|