@yft-design/engine 0.0.19 → 0.0.21
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.md +2 -2
- package/dist/EngineCanvas.d.ts +1 -0
- package/dist/index.js +39 -39
- package/dist/render/multiPage.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
yft-design 的 WebGL2 画布引擎。接受 fabric toObject 格式的 JSON(`objects` 数组),输出 GL 画布 / 位图(任意倍率 FBO 读回)/ SVG(纯数据序列化器)。
|
|
4
4
|
|
|
5
|
-
> **当前状态**:独立仓(GitHub `more-strive/yft-design-engine`,私有),npm 发布走 `@yft-design/engine`(public)——推 `v*` tag 触发 [publish.yml](.github/workflows/publish.yml):tag/版本一致性校验 → typecheck → 全量测试 → build → 闭包预检 → publish。主仓自批次 350 起撤出 workspace,从 registry 消费(`^0.0.
|
|
5
|
+
> **当前状态**:独立仓(GitHub `more-strive/yft-design-engine`,私有),npm 发布走 `@yft-design/engine`(public)——推 `v*` tag 触发 [publish.yml](.github/workflows/publish.yml):tag/版本一致性校验 → typecheck → 全量测试 → build → 闭包预检 → publish。主仓自批次 350 起撤出 workspace,从 registry 消费(`^0.0.21`),不再吃本地源码。包内单测自持:`pnpm install && pnpm test`。
|
|
6
6
|
|
|
7
7
|
## 构建产物(批次418 bundle 化)
|
|
8
8
|
|
|
@@ -38,7 +38,7 @@ yft-design 的 WebGL2 画布引擎。接受 fabric toObject 格式的 JSON(`ob
|
|
|
38
38
|
|
|
39
39
|
```jsonc
|
|
40
40
|
// yft-design-pro/package.json
|
|
41
|
-
"@yft-design/engine": "^0.0.
|
|
41
|
+
"@yft-design/engine": "^0.0.21"
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
```ts
|
package/dist/EngineCanvas.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export declare class EngineCanvas implements PointerHost, TextEditingHost, Sourc
|
|
|
57
57
|
private readonly workspaceBackdrop;
|
|
58
58
|
private readonly bus;
|
|
59
59
|
private readonly multiPage;
|
|
60
|
+
documentFlowEnabled: boolean;
|
|
60
61
|
readonly dpr: number;
|
|
61
62
|
readonly mobileControls: boolean;
|
|
62
63
|
readonly interactive: boolean;
|