@viewfly/platform-browser 2.0.2 → 2.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.
@@ -20,6 +20,7 @@ declare function createApp<T extends NativeNode>(root: ViewFlyNode, config?: Par
20
20
 
21
21
  /**
22
22
  * 用于创建脱离当前 DOM 树的子节点,常用于弹窗等
23
+ * @deprecated 即将弃用,请使用 @viewfly/core 模块的 Portal 组件实现
23
24
  * @param childRender
24
25
  * @param host
25
26
  * @example
@@ -207,6 +207,7 @@ function createApp(root, config = true) {
207
207
 
208
208
  /**
209
209
  * 用于创建脱离当前 DOM 树的子节点,常用于弹窗等
210
+ * @deprecated 即将弃用,请使用 @viewfly/core 模块的 Portal 组件实现
210
211
  * @param childRender
211
212
  * @param host
212
213
  * @example
package/bundles/index.js CHANGED
@@ -209,6 +209,7 @@ function createApp(root, config = true) {
209
209
 
210
210
  /**
211
211
  * 用于创建脱离当前 DOM 树的子节点,常用于弹窗等
212
+ * @deprecated 即将弃用,请使用 @viewfly/core 模块的 Portal 组件实现
212
213
  * @param childRender
213
214
  * @param host
214
215
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/platform-browser",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "description": "This project is used to enable the Viewfly framework to run in a browser.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -14,7 +14,7 @@
14
14
  "license": "MIT",
15
15
  "keywords": [],
16
16
  "dependencies": {
17
- "@viewfly/core": "^2.0.0",
17
+ "@viewfly/core": "^2.1.0",
18
18
  "csstype": "^3.1.2"
19
19
  },
20
20
  "devDependencies": {