@meltemi/diagrams-canvas 1.11.5 → 1.11.7
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/README.md +4 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The canvas: the browser application that draws a diagram beside its code and turns every gesture
|
|
4
4
|
(move, resize, route, label, group, align, play) into a small edit of the text. It runs in a host
|
|
5
|
-
that implements `CanvasHostApi`, such as the VS Code webview or the
|
|
5
|
+
that implements `CanvasHostApi`, such as the VS Code webview or the web app, and styles itself
|
|
6
6
|
with `canvas.css`.
|
|
7
7
|
|
|
8
8
|
It is part of [Meltemi Diagrams](https://github.com/askenaz-dev/meltemi-diagrams#readme), diagrams as code with a canvas, motion and
|
|
@@ -71,19 +71,19 @@ The properties panel folds to a rail from the button in its head and unfolds fro
|
|
|
71
71
|
button or the toolbar's toggle, one choice kept with the canvas's state (`PersistedState.inspector`,
|
|
72
72
|
read as a boolean only). A host folds it too with `app.setInspectorCollapsed(collapsed)` and reads
|
|
73
73
|
`app.inspectorCollapsed`; a host that binds a key of its own for it names the key in
|
|
74
|
-
`host.keys.inspector` (the
|
|
74
|
+
`host.keys.inspector` (the web app passes "Ctrl+Alt+B"), and the canvas's tooltips show it.
|
|
75
75
|
|
|
76
76
|
Every toolbar button's name says what it does, without its key; its `title` adds the key in
|
|
77
77
|
parentheses and `aria-keyshortcuts` says it. The package exports the bubble that shows those titles,
|
|
78
78
|
`Tooltips` (`new Tooltips(root, { except })`, 400 ms after the pointer rests, `TOOLTIP_DELAY`), so a
|
|
79
|
-
host draws its own controls' tooltips the same way (the
|
|
79
|
+
host draws its own controls' tooltips the same way (the web app uses `{ except: "#app" }`, and
|
|
80
80
|
the canvas keeps its own), and `ariaKeyshortcuts(shown)`, which writes a shown key ("Ctrl+Alt+B",
|
|
81
81
|
"Mayús+1") as `aria-keyshortcuts` wants it ("Control+Alt+B", "Shift+1").
|
|
82
82
|
|
|
83
83
|
## Documentation
|
|
84
84
|
|
|
85
85
|
- [Editor guide](https://github.com/askenaz-dev/meltemi-diagrams/blob/main/docs/editor.md)
|
|
86
|
-
- [
|
|
86
|
+
- [The web app](https://github.com/askenaz-dev/meltemi-diagrams/blob/main/docs/web-app.md)
|
|
87
87
|
- [All documentation](https://github.com/askenaz-dev/meltemi-diagrams/blob/main/docs/README.md)
|
|
88
88
|
|
|
89
89
|
## Licence
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meltemi/diagrams-canvas",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.7",
|
|
4
4
|
"description": "The canvas of Meltemi Diagrams: the browser application that draws and edits diagrams beside their code, hosted by the VS Code extension and the playground.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
"canvas.css"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@meltemi/diagrams-editor": "1.11.
|
|
32
|
-
"@meltemi/diagrams-
|
|
33
|
-
"@meltemi/diagrams-
|
|
34
|
-
"@meltemi/diagrams-render": "1.11.
|
|
31
|
+
"@meltemi/diagrams-editor": "1.11.7",
|
|
32
|
+
"@meltemi/diagrams-motion": "1.11.7",
|
|
33
|
+
"@meltemi/diagrams-i18n": "1.11.7",
|
|
34
|
+
"@meltemi/diagrams-render": "1.11.7"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"meltemiRelease": {
|
|
40
40
|
"repository": "askenaz-dev/meltemi-diagrams",
|
|
41
|
-
"sha": "
|
|
42
|
-
"tag": "v1.11.
|
|
41
|
+
"sha": "b2b6a9afb41c74aebbdec1a5eb366b8cf958a00f",
|
|
42
|
+
"tag": "v1.11.7"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsc -p tsconfig.build.json",
|