@monotykamary/dsh-client-ui-renderer 0.1.0-rc.9 → 0.1.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.
package/README.i18n.yaml CHANGED
@@ -3,4 +3,4 @@
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/client/ui-renderer/README.md
5
5
  README.md: 604b563b5b0e5c4e8ac99ed27dda1b16ada1443b
6
- README.zh.md: d711def4ed6c75085a77a82928e2773c2c4d8e78
6
+ README.zh.md: 2f8a71fb4100922aa18458cb272d6024c250cc84
package/README.zh.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](README.md) | 中文
4
4
 
5
- 负责 React 渲染层的浏览器 Cordis 插件。[`dsh-client-web`](../web/README.md) 渲染不依赖框架的启动页并加载完整的客户端插件名册;所有 entry 激活后,它调用 `ctx.uiRenderer.mount(container)`。本包提供该服务、安装 slot 渲染器、hydrate 现有启动 DOM、在下一次绘制前切换到组装完成的应用,并返回 React 根的卸载 disposer。
5
+ 负责 React 渲染层的浏览器 Cordis 插件。[`dsh-client-web`](../web/README.zh.md) 渲染不依赖框架的启动页并加载完整的客户端插件名册;所有 entry 激活后,它调用 `ctx.uiRenderer.mount(container)`。本包提供该服务、安装 slot 渲染器、hydrate 现有启动 DOM、在下一次绘制前切换到组装完成的应用,并返回 React 根的卸载 disposer。
6
6
 
7
7
  client entry 还持有 slot outlet、会话 provider 以及 observable 到 uSES 绑定的 React 实现。业务插件通过带类型的 slot `hooks` 传递裸 observable source;渲染器在 outlet 处完成绑定。插件在 `slots`、`sessions` 和 `layout` 就绪后激活,投影当前会话标题,并执行全程序唯一一次上下文级 `renderSlot('root')` 调用。React、React DOM、Cordis、ui-slots 和 ui-primitives 通过 web 外壳的静态模块表保持同一浏览器身份;本包则以动态客户端 bundle 到达。
8
8
 
package/lib/client.js CHANGED
@@ -12,7 +12,7 @@ window.__ModuleLoader__.load({
12
12
  let react_dom_client = require("react-dom/client");
13
13
  let react_jsx_runtime = require("react/jsx-runtime");
14
14
  let _monotykamary_dsh_client_ui_slots = require("@monotykamary/dsh-client-ui-slots");
15
- //#region ../../../../../../../Library/pnpm/store/v11/links/@/use-sync-external-store/1.2.0/a9a76b595d3a7829a4b24b4d9eaaf6f4abecceea73ded26120b3386303ce5091/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js
15
+ //#region ../../../node_modules/.pnpm/use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js
16
16
  /**
17
17
  * @license React
18
18
  * use-sync-external-store-shim.production.min.js
@@ -68,12 +68,12 @@ window.__ModuleLoader__.load({
68
68
  exports.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u;
69
69
  }));
70
70
  //#endregion
71
- //#region ../../../../../../../Library/pnpm/store/v11/links/@/use-sync-external-store/1.2.0/a9a76b595d3a7829a4b24b4d9eaaf6f4abecceea73ded26120b3386303ce5091/node_modules/use-sync-external-store/shim/index.js
71
+ //#region ../../../node_modules/.pnpm/use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store/shim/index.js
72
72
  var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
73
73
  module.exports = require_use_sync_external_store_shim_production_min();
74
74
  }));
75
75
  //#endregion
76
- //#region ../../../../../../../Library/pnpm/store/v11/links/@/use-sync-external-store/1.2.0/a9a76b595d3a7829a4b24b4d9eaaf6f4abecceea73ded26120b3386303ce5091/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js
76
+ //#region ../../../node_modules/.pnpm/use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js
77
77
  /**
78
78
  * @license React
79
79
  * use-sync-external-store-shim/with-selector.production.min.js
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@monotykamary/dsh-client-ui-renderer",
3
3
  "description": "Browser UI renderer: React slot bindings, ctx.uiRenderer, and the assembled application root",
4
- "version": "0.1.0-rc.9",
4
+ "version": "0.1.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -43,8 +43,8 @@
43
43
  "use-sync-external-store": "1.2.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@monotykamary/dsh-client-runtime": "^0.1.0-rc.9",
47
- "@monotykamary/dsh-invariants": "^0.1.0-rc.9",
46
+ "@monotykamary/dsh-client-runtime": "^0.1.0",
47
+ "@monotykamary/dsh-invariants": "^0.1.0",
48
48
  "@monotykamary/cordis": "^4.0.1"
49
49
  },
50
50
  "devDependencies": {
@@ -52,11 +52,11 @@
52
52
  "@types/react-dom": "~18.3.0",
53
53
  "react": "^18.2.0",
54
54
  "react-dom": "^18.2.0",
55
- "@monotykamary/dsh-client-runtime": "^0.1.0-rc.9",
56
- "@monotykamary/dsh-client-test-runtime": "^0.1.0-rc.9",
57
- "@monotykamary/dsh-invariants": "^0.1.0-rc.9",
58
- "@monotykamary/cordis": "^4.0.1",
59
- "@monotykamary/dsh-client-ui-slots": "^0.1.0-rc.9"
55
+ "@monotykamary/dsh-client-runtime": "^0.1.0",
56
+ "@monotykamary/dsh-client-test-runtime": "^0.1.0",
57
+ "@monotykamary/dsh-invariants": "^0.1.0",
58
+ "@monotykamary/dsh-client-ui-slots": "^0.1.0",
59
+ "@monotykamary/cordis": "^4.0.1"
60
60
  },
61
61
  "files": [
62
62
  "lib/index.js",