@xmachines/play-vue 1.0.0-beta.44 → 1.0.0-beta.46

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.
Files changed (2) hide show
  1. package/README.md +9 -4
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -212,7 +212,7 @@ Batteries-included composite provider. Wraps `ActorProvider` + `JSONUIProvider`.
212
212
 
213
213
  **`actor`** — A `PlayerActor` (or any `AbstractActor & Viewable`). Provides the `currentView` signal.
214
214
 
215
- **`registryResult`** — The full `DefineRegistryResult` returned by `defineRegistry(catalog, { components, actions })` from `@xmachines/play-vue`. Pass `.vue` SFCs directly — they are auto-wrapped via `h(SFC, ctx)` so `useBoundProp` and other composables work inside `<script setup>`.
215
+ **`registryResult`** — The full `DefineRegistryResult` returned by `defineRegistry(catalog, { components, actions })` from.
216
216
 
217
217
  **`store`** (optional) — Controls per-view UI state (`$state` bindings, form values):
218
218
 
@@ -306,7 +306,7 @@ const registryResult = defineRegistry(catalog, {
306
306
  });
307
307
  ```
308
308
 
309
- `onRenderError` is typed as `RenderErrorHandler` and exported from `@xmachines/play-vue`.
309
+ `onRenderError` is typed as `RenderErrorHandler` and exported from.
310
310
 
311
311
  ---
312
312
 
@@ -345,5 +345,10 @@ Priority: **route param fills `undefined` slots; explicit non-`undefined` spec p
345
345
  - Vue reactivity is only used to trigger re-renders — not for business logic
346
346
  - `actor.currentView` (TC39 Signal) is bridged to Vue's reactive system inside `PlayRenderer`
347
347
  - Per-view UI state lives in an `@xstate/store` atom, not in Vue reactive state
348
- - `@json-render/vue` drives rendering; `PlayRenderer` is the signal bridge — import `defineRegistry`, `ComponentFn`, `ComponentContext`, and `useBoundProp` from `@xmachines/play-vue`
349
- - Vue views should be `.vue` SFCs using `ComponentContext<MyCatalog, "X">` — `defineRegistry` from `@xmachines/play-vue` auto-wraps them via `h(SFC, ctx)`, giving each SFC its own `setup()` context where `useBoundProp` and Vue composables work correctly
348
+ - `@json-render/vue` drives rendering; `PlayRenderer` is the signal bridge — import `defineRegistry`, `ComponentFn`, `ComponentContext`, and `useBoundProp` from
349
+ - Vue views should be `.vue` SFCs using `ComponentContext<MyCatalog, "X">` — `defineRegistry` from and Vue composables work correctly
350
+
351
+ ## Learn More
352
+
353
+ - [Demo](examples/demo/README.md)
354
+ - [Vue Router adapter](../play-vue-router/README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmachines/play-vue",
3
- "version": "1.0.0-beta.44",
3
+ "version": "1.0.0-beta.46",
4
4
  "description": "Vue renderer for XMachines Play architecture",
5
5
  "keywords": [
6
6
  "reactive",
@@ -42,9 +42,9 @@
42
42
  "prepublishOnly": "npm run build"
43
43
  },
44
44
  "dependencies": {
45
- "@xmachines/play": "1.0.0-beta.44",
46
- "@xmachines/play-actor": "1.0.0-beta.44",
47
- "@xmachines/play-signals": "1.0.0-beta.44"
45
+ "@xmachines/play": "1.0.0-beta.46",
46
+ "@xmachines/play-actor": "1.0.0-beta.46",
47
+ "@xmachines/play-signals": "1.0.0-beta.46"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@json-render/core": "^0.18.0",
@@ -53,7 +53,7 @@
53
53
  "@types/node": "^25.6.0",
54
54
  "@vitejs/plugin-vue": "^6.0.5",
55
55
  "@vue/test-utils": "^2.4.6",
56
- "@xmachines/shared": "1.0.0-beta.44",
56
+ "@xmachines/shared": "1.0.0-beta.46",
57
57
  "@xstate/store": "^3.17.0",
58
58
  "oxfmt": "^0.45.0",
59
59
  "oxlint": "^1.60.0",