@faasjs/ant-design 3.0.0-canary.1 → 3.0.0-canary.3

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 CHANGED
@@ -30,6 +30,35 @@ type FaasItemProps = {
30
30
  }
31
31
  ```
32
32
 
33
+ ## Functions
34
+
35
+ - [App](functions/App.md)
36
+ - [Blank](functions/Blank.md)
37
+ - [ConfigProvider](functions/ConfigProvider.md)
38
+ - [Description](functions/Description.md)
39
+ - [Drawer](functions/Drawer.md)
40
+ - [ErrorBoundary](functions/ErrorBoundary.md)
41
+ - [faas](functions/faas.md)
42
+ - [FaasDataWrapper](functions/FaasDataWrapper.md)
43
+ - [Form](functions/Form.md)
44
+ - [FormItem](functions/FormItem.md)
45
+ - [Link](functions/Link.md)
46
+ - [Loading](functions/Loading.md)
47
+ - [Modal](functions/Modal.md)
48
+ - [PageNotFound](functions/PageNotFound.md)
49
+ - [Routes](functions/Routes.md)
50
+ - [Table](functions/Table.md)
51
+ - [Tabs](functions/Tabs.md)
52
+ - [Title](functions/Title.md)
53
+ - [transferOptions](functions/transferOptions.md)
54
+ - [transferValue](functions/transferValue.md)
55
+ - [useApp](functions/useApp.md)
56
+ - [useConfigContext](functions/useConfigContext.md)
57
+ - [useDrawer](functions/useDrawer.md)
58
+ - [useFaas](functions/useFaas.md)
59
+ - [useModal](functions/useModal.md)
60
+ - [withFaasData](functions/withFaasData.md)
61
+
33
62
  ## Interfaces
34
63
 
35
64
  - [AppProps](interfaces/AppProps.md)
@@ -81,32 +110,3 @@ type FaasItemProps = {
81
110
  ## Variables
82
111
 
83
112
  - [ConfigContext](variables/ConfigContext.md)
84
-
85
- ## Functions
86
-
87
- - [App](functions/App.md)
88
- - [Blank](functions/Blank.md)
89
- - [ConfigProvider](functions/ConfigProvider.md)
90
- - [Description](functions/Description.md)
91
- - [Drawer](functions/Drawer.md)
92
- - [ErrorBoundary](functions/ErrorBoundary.md)
93
- - [faas](functions/faas.md)
94
- - [FaasDataWrapper](functions/FaasDataWrapper.md)
95
- - [Form](functions/Form.md)
96
- - [FormItem](functions/FormItem.md)
97
- - [Link](functions/Link.md)
98
- - [Loading](functions/Loading.md)
99
- - [Modal](functions/Modal.md)
100
- - [PageNotFound](functions/PageNotFound.md)
101
- - [Routes](functions/Routes.md)
102
- - [Table](functions/Table.md)
103
- - [Tabs](functions/Tabs.md)
104
- - [Title](functions/Title.md)
105
- - [transferOptions](functions/transferOptions.md)
106
- - [transferValue](functions/transferValue.md)
107
- - [useApp](functions/useApp.md)
108
- - [useConfigContext](functions/useConfigContext.md)
109
- - [useDrawer](functions/useDrawer.md)
110
- - [useFaas](functions/useFaas.md)
111
- - [useModal](functions/useModal.md)
112
- - [withFaasData](functions/withFaasData.md)
package/dist/index.d.mts CHANGED
@@ -572,7 +572,7 @@ type FormSubmitProps = {
572
572
  * ```
573
573
  */
574
574
  to?: {
575
- action: string;
575
+ action: FaasAction | string;
576
576
  /** params will overwrite form values before submit */
577
577
  params?: Record<string, any>;
578
578
  then?: (result: any) => void;
package/dist/index.d.ts CHANGED
@@ -572,7 +572,7 @@ type FormSubmitProps = {
572
572
  * ```
573
573
  */
574
574
  to?: {
575
- action: string;
575
+ action: FaasAction | string;
576
576
  /** params will overwrite form values before submit */
577
577
  params?: Record<string, any>;
578
578
  then?: (result: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/ant-design",
3
- "version": "3.0.0-canary.1",
3
+ "version": "3.0.0-canary.3",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -38,7 +38,7 @@
38
38
  "lodash-es": "*"
39
39
  },
40
40
  "peerDependencies": {
41
- "@faasjs/react": "3.0.0-canary.1",
41
+ "@faasjs/react": "3.0.0-canary.3",
42
42
  "antd": "*",
43
43
  "react": "*",
44
44
  "react-dom": "*",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/lodash-es": "*",
49
- "@faasjs/react": "3.0.0-canary.1",
49
+ "@faasjs/react": "3.0.0-canary.3",
50
50
  "antd": "*",
51
51
  "react": "*",
52
52
  "react-dom": "*",