@altnovatrail/spec 0.18.9 → 0.18.11
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/canvas/index.d.ts +7 -1
- package/package.json +1 -1
package/canvas/index.d.ts
CHANGED
|
@@ -321,7 +321,13 @@ export type Media = (ref: string) => Promise<Blob>;
|
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
323
|
* The element `<novatrail-canvas>` as its contract with app has it. The language of its buttons is
|
|
324
|
-
* its own attribute `lang`.
|
|
324
|
+
* its own attribute `lang`. While it has the boolean attribute `tools-hidden`, its bar of tools — and
|
|
325
|
+
* on a worked example its row, with the slot `actions` — is out of sight and out of the
|
|
326
|
+
* accessibility tree: app sets it on a phone while its tutor's sheet is open. Among the style properties `--novatrail-canvas-*` that app sets, `--novatrail-canvas-accent`
|
|
327
|
+
* is the accent of the tool in use and of the focus ring, `--novatrail-canvas-glass` the fill of the
|
|
328
|
+
* bar's glass, and `--novatrail-canvas-top` the offset of the band in whose middle the bar stands. On
|
|
329
|
+
* a worked example, app puts its own "Continue" into the element's named slot `actions`, a child
|
|
330
|
+
* `<button slot="actions">`, in one row after the element's Next and Demo (R36).
|
|
325
331
|
*/
|
|
326
332
|
export interface CanvasElement extends HTMLElement {
|
|
327
333
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altnovatrail/spec",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.11",
|
|
4
4
|
"description": "The types of NovaTrail's module format for TypeScript, generated from its schemas: the parts of a module and their open views, the canonical view, the inventory, the module index and the test vectors. And the types of the element <novatrail-canvas>, the contract of the canvas and the app. And the types of the admission table, which says which AI provider may serve which age category. And the numbers and widths of the workbook's page and its test vectors, as JSON, by which a canvas lays the page out. And the types of the deployment configuration, the file /deployment.json that the app reads at its start. And the types of the legal texts' passport, which names each text, its versions and the sets of texts of the samples page. And the types of the table of the age of digital consent, which gives each country's age with the law that sets it. And the types of the files of an export, the file the owner of an account gets of a profile or of the account.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|