@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.
package/changelog/0.2.72.md
CHANGED
|
@@ -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 `[]`.
|
package/changelog/README.md
CHANGED
package/package.json
CHANGED
|
@@ -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
|
|