@unoverse-platform/studio 0.1.72 → 0.1.73

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unoverse-platform/studio",
3
- "version": "0.1.72",
3
+ "version": "0.1.73",
4
4
  "type": "module",
5
5
  "description": "Unoverse Studio: the local authoring app. Reads your own rx/ folder, no backend.",
6
6
  "scripts": {
@@ -43,8 +43,8 @@ states:
43
43
  - **Top-level order IS the priority ladder**, base first. The app can be in ONE
44
44
  state at a time: it walks the list top-down and enters the first of its states that
45
45
  ANY hosted component currently matches. The ladder is DERIVED from the tree; never
46
- author `stateOrder` (that field survives only as the legacy form for apps
47
- without a tree).
46
+ author `stateOrder`. It is now a LINT ERROR beside a tree (`file.mjs`), after two
47
+ client components ran on one for months because nothing enforced the rule.
48
48
  - **Nesting IS containment, enforced by compilation.** A declared base substate
49
49
  (`welcome`) is stripped from every non-base arrangement; no hand-written guard ever
50
50
  polices it. The substate's file keeps its own condition (`visibleWhen: isEmpty`).
@@ -76,8 +76,9 @@ design/<project>/apps/<name>/
76
76
  products.yaml # state "products" → core + cards rail
77
77
  detail.yaml # state "detail" → core + full record page
78
78
  components/ # app-local partials (core, header, composer-bar, turns…)
79
- states/ # base substates' drawings (welcome): included plainly by the
80
- # chrome, own condition inside, containment compiled from the tree
79
+ # NO states/ folder: every drawing lives in layouts/. A substate's
80
+ # drawing is axis-prefixed (step-register, callState-idle) and named
81
+ # by its `layout:` key, so layouts/ reads at a glance.
81
82
  ```
82
83
 
83
84
  Each layout = a complete arrangement: `$include: components/core` + that state's