@simpleform/render 3.0.12 → 3.0.14
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 +4 -20
- package/README_CN.md +1 -559
- package/lib/index.js +1 -1
- package/lib/utils/ReactIs.d.ts +1 -3
- package/package.json +5 -3
package/lib/utils/ReactIs.d.ts
CHANGED
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare function
|
|
2
|
-
export declare function isFunctionComponent(component: any): boolean;
|
|
3
|
-
export declare function isReactComponent(component: any): any;
|
|
1
|
+
export declare function isValidComponent(component?: any): boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simpleform/render",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.14",
|
|
4
4
|
"description": "dynamic rendering core of simple form",
|
|
5
5
|
"author": "mezhanglei <496623925@qq.com>",
|
|
6
6
|
"homepage": "https://github.com/mezhanglei/simpleform#readme",
|
|
@@ -36,14 +36,16 @@
|
|
|
36
36
|
"csslint:fix": "stylelint src/**/*.{css,scss,less} --fix"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
+
"@types/react-is": "^18.2.4",
|
|
39
40
|
"antd": "^5.11.1",
|
|
40
41
|
"history": "^5.3.0",
|
|
41
42
|
"react": "^18.2.0",
|
|
42
43
|
"react-dom": "^18.2.0",
|
|
44
|
+
"react-is": "^18.2.0",
|
|
43
45
|
"react-router-dom": "^6.19.0"
|
|
44
46
|
},
|
|
45
47
|
"dependencies": {
|
|
46
|
-
"@simpleform/form": "^2.0.
|
|
48
|
+
"@simpleform/form": "^2.0.17",
|
|
47
49
|
"classnames": "^2.3.2",
|
|
48
50
|
"copy-anything": "^3.0.5",
|
|
49
51
|
"react-fast-compare": "^3.2.2"
|
|
@@ -54,4 +56,4 @@
|
|
|
54
56
|
"react-dom": ">=16.8.0",
|
|
55
57
|
"react-router-dom": ">=5.0.0"
|
|
56
58
|
}
|
|
57
|
-
}
|
|
59
|
+
}
|