@vnejs/docs 0.2.72 → 0.2.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.
@@ -1,4 +1,4 @@
1
1
  # 0.2.72
2
2
 
3
- - `cli/desktop` — `runTauri` opens the game in a Tauri window. Loading `runTauri` does not load Electron. `cargo` is taken from `~/.cargo/bin` when it is not on `PATH`. The shell uses `tauri` 2.12 and `tauri-build` 2.7. API: `runTauri({ rootDir, file, port, isProd, onBeforeQuit })`.
3
+ - `cli/desktop` — `runTauri` opens the game in a Tauri window. Loading `runTauri` does not load Electron. `cargo` is taken from `~/.cargo/bin` when it is not on `PATH`. The shell uses `tauri` 2.12 and `tauri-build` 2.7. The npm package ships `src` and the Tauri shell sources, not `shell/src-tauri/target`. API: `runTauri({ rootDir, file, port, isProd, onBeforeQuit })`.
4
4
  - `core/platforms`, `platform/desktop` — `PLATFORMS.DESKTOP` (`"desktop"`) replaces `PLATFORMS.ELECTRON` (`"electron"`). The host plugin is `@vnejs/plugins.platform.desktop`. API: `PLATFORMS.DESKTOP`, `EVENTS.DESKTOP.CONFIG` (`vne:desktop:config`), `SETTINGS.DESKTOP.CONFIG_APPLIED` (`vne:desktop:config_applied`).
@@ -0,0 +1,4 @@
1
+ # 0.2.73
2
+
3
+ - `uis/react` — `SmoothText` is wrapped in `React.memo`, same pattern as `Char`. Unchanged `tokens` / `tokensVisibleForce` skip the character walk.
4
+ - `views`, `views.scenario`, `views.screens` — view files drop props-bag `useMemo` and click `useCallback` that nothing compared by reference. Kept: `targetControls` in `controls.hints` (effect hide timer), `boardPieces` in `checkers` (piece animation effect), and a module-level empty tokens array in `views.scenario/interface` so inactive `SmoothText` keeps a stable `[]`.
@@ -2,6 +2,7 @@
2
2
 
3
3
  Engine and public API changes. One file per `@vnejs/docs` release. Newest first.
4
4
 
5
+ - [0.2.73](./0.2.73.md)
5
6
  - [0.2.72](./0.2.72.md)
6
7
  - [0.2.71](./0.2.71.md)
7
8
  - [0.2.68](./0.2.68.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/docs",
3
- "version": "0.2.72",
3
+ "version": "0.2.73",
4
4
  "description": "VNEJS documentation for engine consumers and coding agents",
5
5
  "files": [
6
6
  "*.md",
@@ -62,7 +62,7 @@ None.
62
62
  | `interface.scenario` | `$ interface`: `LINE_EXEC_REG` → SHOW / HIDE / VIEW per `CONST.INTERFACE.EXEC_ACTIONS`. |
63
63
  | `interface.actions` | VISIBLE / TEXT_HIDE / VIEW through `globalState.interface`. |
64
64
  | `interface.actions.show` | Subscribes to `SHOW` and `HIDE`. On `GATE` (`breakFollowing`): if the interface is already in the target state or a show/hide cycle is running, other subscribers on these events are not called. Showing a hidden layer sends `VISIBLE`. |
65
- | `interface.view` | `isForce` reaches `SmoothText` in `InterfaceViewDialog`, `InterfaceViewLine`, and `InterfaceViewWall`. |
65
+ | `interface.view` | `isForce` reaches `SmoothText` in `InterfaceViewDialog`, `InterfaceViewLine`, and `InterfaceViewWall`. Inactive views pass a stable empty tokens array so `SmoothText` memo can skip. |
66
66
 
67
67
  ## Compatibility
68
68