@faasjs/ant-design 0.0.3-beta.26 → 0.0.3-beta.27
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/dist/index.d.ts +7 -0
- package/dist/index.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,9 @@ import { DescriptionsProps, DrawerProps as DrawerProps$1, FormItemProps as FormI
|
|
|
5
5
|
export { Drawer, Modal } from 'antd';
|
|
6
6
|
import { FaasDataWrapperProps } from '@faasjs/react';
|
|
7
7
|
export { FaasDataInjection, FaasDataWrapperProps } from '@faasjs/react';
|
|
8
|
+
import * as antd_es_form_context from 'antd/es/form/context';
|
|
9
|
+
import * as antd_es_form_ErrorList from 'antd/es/form/ErrorList';
|
|
10
|
+
import * as antd_es_form from 'antd/es/form';
|
|
8
11
|
import * as rc_field_form_es_useWatch from 'rc-field-form/es/useWatch';
|
|
9
12
|
import * as antd_es_form_hooks_useFormInstance from 'antd/es/form/hooks/useFormInstance';
|
|
10
13
|
import * as antd_es_form_Form from 'antd/es/form/Form';
|
|
@@ -283,6 +286,10 @@ declare namespace Form {
|
|
|
283
286
|
var useForm: typeof antd_es_form_Form.useForm;
|
|
284
287
|
var useFormInstance: typeof antd_es_form_hooks_useFormInstance.default;
|
|
285
288
|
var useWatch: typeof rc_field_form_es_useWatch.default;
|
|
289
|
+
var Item: typeof FormItem;
|
|
290
|
+
var List: react.FC<antd_es_form.FormListProps>;
|
|
291
|
+
var ErrorList: typeof antd_es_form_ErrorList.default;
|
|
292
|
+
var Provider: react.FC<antd_es_form_context.FormProviderProps>;
|
|
286
293
|
}
|
|
287
294
|
|
|
288
295
|
interface LinkProps {
|
package/dist/index.js
CHANGED
|
@@ -867,6 +867,10 @@ function Form(props) {
|
|
|
867
867
|
Form.useForm = import_antd7.Form.useForm;
|
|
868
868
|
Form.useFormInstance = import_antd7.Form.useFormInstance;
|
|
869
869
|
Form.useWatch = import_antd7.Form.useWatch;
|
|
870
|
+
Form.Item = FormItem;
|
|
871
|
+
Form.List = import_antd7.Form.List;
|
|
872
|
+
Form.ErrorList = import_antd7.Form.ErrorList;
|
|
873
|
+
Form.Provider = import_antd7.Form.Provider;
|
|
870
874
|
|
|
871
875
|
// src/Link.tsx
|
|
872
876
|
var import_react_router_dom = require("react-router-dom");
|
package/dist/index.mjs
CHANGED
|
@@ -853,6 +853,10 @@ function Form(props) {
|
|
|
853
853
|
Form.useForm = AntdForm2.useForm;
|
|
854
854
|
Form.useFormInstance = AntdForm2.useFormInstance;
|
|
855
855
|
Form.useWatch = AntdForm2.useWatch;
|
|
856
|
+
Form.Item = FormItem;
|
|
857
|
+
Form.List = AntdForm2.List;
|
|
858
|
+
Form.ErrorList = AntdForm2.ErrorList;
|
|
859
|
+
Form.Provider = AntdForm2.Provider;
|
|
856
860
|
|
|
857
861
|
// src/Link.tsx
|
|
858
862
|
import { Link as RouterLink } from "react-router-dom";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faasjs/ant-design",
|
|
3
|
-
"version": "0.0.3-beta.
|
|
3
|
+
"version": "0.0.3-beta.27",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"lodash-es": "*",
|
|
29
29
|
"react": "*",
|
|
30
30
|
"react-dom": "*",
|
|
31
|
-
"@faasjs/react": "^0.0.3-beta.
|
|
31
|
+
"@faasjs/react": "^0.0.3-beta.27",
|
|
32
32
|
"react-router-dom": "*",
|
|
33
33
|
"dayjs": "*"
|
|
34
34
|
},
|