@diagc/cli 1.10.2 → 1.12.0
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/assets/guide/state-machine.md +4 -4
- package/assets/studio/assets/index-DzatglmD.js +115 -0
- package/assets/studio/assets/{index-C7-EMlhy.css → index-Gusa04bf.css} +1 -1
- package/assets/studio/index.html +2 -2
- package/assets/viewer/index.html +36 -36
- package/assets/viewer/shared/viewer.css +1 -1
- package/assets/viewer/shared/viewer.js +35 -35
- package/dist/text/scene.js +1 -1
- package/dist/text/vocabulary.js +1 -0
- package/package.json +2 -2
- package/assets/studio/assets/index-DToUORSE.js +0 -115
package/dist/text/scene.js
CHANGED
|
@@ -12,7 +12,7 @@ const DIRECTIONS = new Set(['DOWN', 'UP', 'LEFT', 'RIGHT']);
|
|
|
12
12
|
/** The way the plane flows: its saved layout setting, else the model's default. */
|
|
13
13
|
function directionOf(input) {
|
|
14
14
|
const saved = input.overlay?.settings?.[layoutPlaneKey(input.model, input.plane)]?.direction;
|
|
15
|
-
return saved !== undefined && DIRECTIONS.has(saved) ? saved : defaultLayoutDirection(input.model
|
|
15
|
+
return saved !== undefined && DIRECTIONS.has(saved) ? saved : defaultLayoutDirection(input.model);
|
|
16
16
|
}
|
|
17
17
|
/** How the scene is laid out: its plane's flow, and room for DOS's shadows. */
|
|
18
18
|
const flowOf = (input) => ({
|
package/dist/text/vocabulary.js
CHANGED
|
@@ -109,6 +109,7 @@ export const TYPE_LOOKS = {
|
|
|
109
109
|
'sm-machine': box('', open),
|
|
110
110
|
'sm-state': shaped('rounded', ''),
|
|
111
111
|
'sm-region': box('', { ...dashed, ...open }),
|
|
112
|
+
'sm-zone': box('', open),
|
|
112
113
|
'sm-initial': shaped('dot', '', { legend: 'Initial state' }),
|
|
113
114
|
'sm-final': shaped('dot', '', { legend: 'Final state' }),
|
|
114
115
|
'sm-choice': shaped('diamond', '', { legend: 'Choice' }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diagc/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "Author software-architecture diagrams as code, compile them to a validated model, edit them in a local studio, and publish pages and images.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"author": "Bogdan Frankovskyi",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"fast-glob": "^3.3.0",
|
|
46
46
|
"jiti": "^2.0.0",
|
|
47
47
|
"playwright-core": "^1.62.0",
|
|
48
|
-
"@diagc/core": "1.
|
|
48
|
+
"@diagc/core": "1.12.0"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|