@diagc/cli 1.10.1 → 1.11.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.
@@ -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, input.plane);
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagc/cli",
3
- "version": "1.10.1",
3
+ "version": "1.11.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.10.1"
48
+ "@diagc/core": "1.11.0"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"