@refinedev/antd 5.20.0 → 5.22.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.
Files changed (73) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/dist/components/buttons/clone/index.d.ts +2 -2
  3. package/dist/components/buttons/create/index.d.ts +2 -2
  4. package/dist/components/buttons/delete/index.d.ts +1 -1
  5. package/dist/components/buttons/edit/index.d.ts +2 -2
  6. package/dist/components/buttons/export/index.d.ts +1 -1
  7. package/dist/components/buttons/import/index.d.ts +2 -2
  8. package/dist/components/buttons/list/index.d.ts +2 -2
  9. package/dist/components/buttons/refresh/index.d.ts +2 -2
  10. package/dist/components/buttons/save/index.d.ts +1 -1
  11. package/dist/components/buttons/show/index.d.ts +2 -2
  12. package/dist/components/fields/boolean/index.d.ts +1 -1
  13. package/dist/components/fields/date/index.d.ts +1 -1
  14. package/dist/components/fields/email/index.d.ts +1 -1
  15. package/dist/components/fields/file/index.d.ts +1 -1
  16. package/dist/components/fields/image/index.d.ts +1 -1
  17. package/dist/components/fields/markdown/index.d.ts +1 -1
  18. package/dist/components/fields/number/index.d.ts +1 -1
  19. package/dist/components/fields/tag/index.d.ts +1 -1
  20. package/dist/components/fields/text/index.d.ts +1 -1
  21. package/dist/components/fields/url/index.d.ts +1 -1
  22. package/dist/components/pages/auth/index.d.ts +1 -1
  23. package/dist/components/pages/error/index.d.ts +1 -1
  24. package/dist/components/pages/login/index.d.ts +1 -1
  25. package/dist/components/pages/ready/index.d.ts +0 -1
  26. package/dist/components/pages/ready/index.d.ts.map +1 -1
  27. package/dist/esm/index.js +1 -1
  28. package/dist/esm/index.js.map +1 -1
  29. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts +3 -3
  30. package/dist/hooks/form/useForm.d.ts +4 -4
  31. package/dist/hooks/form/useForm.d.ts.map +1 -1
  32. package/dist/hooks/form/useModalForm/useModalForm.d.ts +3 -3
  33. package/dist/hooks/form/useStepsForm/useStepsForm.d.ts +3 -3
  34. package/dist/hooks/form/useStepsForm/useStepsForm.d.ts.map +1 -1
  35. package/dist/hooks/import/index.d.ts +3 -3
  36. package/dist/hooks/list/useSimpleList/useSimpleList.d.ts +1 -1
  37. package/dist/hooks/modal/useModal/index.d.ts +1 -1
  38. package/dist/iife/index.js +6 -6
  39. package/dist/iife/index.js.map +1 -1
  40. package/dist/index.js +1 -1
  41. package/dist/index.js.map +1 -1
  42. package/package.json +2 -2
  43. package/src/components/buttons/clone/index.tsx +2 -2
  44. package/src/components/buttons/create/index.tsx +2 -2
  45. package/src/components/buttons/delete/index.tsx +1 -1
  46. package/src/components/buttons/edit/index.tsx +2 -2
  47. package/src/components/buttons/export/index.tsx +1 -1
  48. package/src/components/buttons/import/index.tsx +2 -2
  49. package/src/components/buttons/list/index.tsx +2 -2
  50. package/src/components/buttons/refresh/index.tsx +2 -2
  51. package/src/components/buttons/save/index.tsx +1 -1
  52. package/src/components/buttons/show/index.tsx +2 -2
  53. package/src/components/fields/boolean/index.tsx +1 -1
  54. package/src/components/fields/date/index.tsx +1 -1
  55. package/src/components/fields/email/index.tsx +1 -1
  56. package/src/components/fields/file/index.tsx +1 -1
  57. package/src/components/fields/image/index.tsx +1 -1
  58. package/src/components/fields/markdown/index.tsx +1 -1
  59. package/src/components/fields/number/index.tsx +1 -1
  60. package/src/components/fields/tag/index.tsx +1 -1
  61. package/src/components/fields/text/index.tsx +1 -1
  62. package/src/components/fields/url/index.tsx +1 -1
  63. package/src/components/pages/auth/index.tsx +1 -1
  64. package/src/components/pages/error/index.tsx +1 -1
  65. package/src/components/pages/login/index.tsx +1 -1
  66. package/src/components/pages/ready/index.tsx +0 -1
  67. package/src/hooks/form/useDrawerForm/useDrawerForm.ts +3 -3
  68. package/src/hooks/form/useForm.ts +7 -3
  69. package/src/hooks/form/useModalForm/useModalForm.ts +3 -3
  70. package/src/hooks/form/useStepsForm/useStepsForm.ts +4 -3
  71. package/src/hooks/import/index.tsx +3 -3
  72. package/src/hooks/list/useSimpleList/useSimpleList.ts +1 -1
  73. package/src/hooks/modal/useModal/index.tsx +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinedev/antd",
3
- "version": "5.20.0",
3
+ "version": "5.22.0",
4
4
  "description": "refine is a React-based framework for building internal tools, rapidly. It ships with Ant Design System, an enterprise-level UI toolkit.",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "devDependencies": {
26
26
  "@refinedev/cli": "^2.5.3",
27
27
  "@refinedev/ui-tests": "^1.5.0",
28
- "@refinedev/core": "^4.16.4",
28
+ "@refinedev/core": "^4.18.0",
29
29
  "@esbuild-plugins/node-resolve": "^0.1.4",
30
30
  "@testing-library/jest-dom": "^5.16.4",
31
31
  "@testing-library/react": "^13.1.1",
@@ -19,10 +19,10 @@ import { CloneButtonProps } from "../types";
19
19
 
20
20
  /**
21
21
  * `<CloneButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button> component`}.
22
- * It uses the {@link https://refine.dev/docs/core/hooks/navigation/useNavigation#clone `clone`} method from {@link https://refine.dev/docs/core/hooks/navigation/useNavigation useNavigation} under the hood.
22
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#clone `clone`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation useNavigation} under the hood.
23
23
  * It can be useful when redirecting the app to the create page with the record id route of resource.
24
24
  *
25
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/clone-button} for more details.
25
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/clone-button} for more details.
26
26
  */
27
27
  export const CloneButton: React.FC<CloneButtonProps> = ({
28
28
  resourceNameOrRouteName: propResourceNameOrRouteName,
@@ -19,10 +19,10 @@ import { CreateButtonProps } from "../types";
19
19
 
20
20
  /**
21
21
  * <CreateButton> uses Ant Design's {@link https://ant.design/components/button/ `<Button> component`}.
22
- * It uses the {@link https://refine.dev/docs/core/hooks/navigation/useNavigation#create `create`} method from {@link https://refine.dev/docs/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
22
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#create `create`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
23
23
  * It can be useful to redirect the app to the create page route of resource}.
24
24
  *
25
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/create-button} for more details.
25
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/create-button} for more details.
26
26
  */
27
27
  export const CreateButton: React.FC<CreateButtonProps> = ({
28
28
  resource: resourceNameFromProps,
@@ -21,7 +21,7 @@ import { DeleteButtonProps } from "../types";
21
21
  * `<DeleteButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} and {@link https://ant.design/components/button/ `<Popconfirm>`} components.
22
22
  * When you try to delete something, a pop-up shows up and asks for confirmation. When confirmed it executes the `useDelete` method provided by your `dataProvider`.
23
23
  *
24
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/delete-button} for more details.
24
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/delete-button} for more details.
25
25
  */
26
26
  export const DeleteButton: React.FC<DeleteButtonProps> = ({
27
27
  resource: resourceNameFromProps,
@@ -19,10 +19,10 @@ import { EditButtonProps } from "../types";
19
19
 
20
20
  /**
21
21
  * `<EditButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} component.
22
- * It uses the {@link https://refine.dev/docs/core/hooks/navigation/useNavigation#edit `edit`} method from {@link https://refine.dev/docs/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
22
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#edit `edit`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
23
23
  * It can be useful when redirecting the app to the edit page with the record id route of resource}.
24
24
  *
25
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/edit-button} for more details.
25
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/edit-button} for more details.
26
26
  */
27
27
  export const EditButton: React.FC<EditButtonProps> = ({
28
28
  resource: resourceNameFromProps,
@@ -13,7 +13,7 @@ import { ExportButtonProps } from "../types";
13
13
  * `<ExportButton>` is an Ant Design {@link https://ant.design/components/button/ `<Button>`} with a default export icon and a default text with "Export".
14
14
  * It only has presentational value.
15
15
  *
16
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/export-button} for more details.
16
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/export-button} for more details.
17
17
  */
18
18
  export const ExportButton: React.FC<ExportButtonProps> = ({
19
19
  hideText = false,
@@ -10,11 +10,11 @@ import {
10
10
  import { ImportButtonProps } from "../types";
11
11
 
12
12
  /**
13
- * `<ImportButton>` is compatible with the {@link https://refine.dev/docs/ui-frameworks/antd/hooks/import/useImport `useImport`} hook and is meant to be used as it's upload button.
13
+ * `<ImportButton>` is compatible with the {@link https://refine.dev/docs/api-reference/antd/hooks/import/useImport `useImport`} hook and is meant to be used as it's upload button.
14
14
  * It uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} and {@link https://ant.design/components/upload/ `<Upload>`} components.
15
15
  * It wraps a `<Button>` component with an `<Upload>` component and accepts properties for `<Button>` and `<Upload>` components separately.
16
16
  *
17
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/import-button} for more details.
17
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/import-button} for more details.
18
18
  */
19
19
  export const ImportButton: React.FC<ImportButtonProps> = ({
20
20
  uploadProps,
@@ -21,10 +21,10 @@ import { ListButtonProps } from "../types";
21
21
 
22
22
  /**
23
23
  * `<ListButton>` is using Ant Design's {@link https://ant.design/components/button/ `<Button>`} component.
24
- * It uses the {@link https://refine.dev/docs/core/hooks/navigation/useNavigation#list `list`} method from {@link https://refine.dev/docs/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
24
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#list `list`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
25
25
  * It can be useful when redirecting the app to the list page route of resource}.
26
26
  *
27
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/list-button} for more details.
27
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/list-button} for more details.
28
28
  */
29
29
  export const ListButton: React.FC<ListButtonProps> = ({
30
30
  resource: resourceNameFromProps,
@@ -16,9 +16,9 @@ import { RefreshButtonProps } from "../types";
16
16
 
17
17
  /**
18
18
  * `<RefreshButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} component
19
- * to update the data shown on the page via the {@link https://refine.dev/docs/core/hooks/data/useOne `useOne`} method provided by your dataProvider.
19
+ * to update the data shown on the page via the {@link https://refine.dev/docs/api-reference/core/hooks/data/useOne `useOne`} method provided by your dataProvider.
20
20
  *
21
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/refresh-button} for more details.
21
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/refresh-button} for more details.
22
22
  */
23
23
  export const RefreshButton: React.FC<RefreshButtonProps> = ({
24
24
  resource: resourceNameFromProps,
@@ -13,7 +13,7 @@ import { SaveButtonProps } from "../types";
13
13
  * `<SaveButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} component.
14
14
  * It uses it for presantation purposes only. Some of the hooks that refine has adds features to this button.
15
15
  *
16
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/save-button} for more details.
16
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/save-button} for more details.
17
17
  */
18
18
  export const SaveButton: React.FC<SaveButtonProps> = ({
19
19
  hideText = false,
@@ -19,10 +19,10 @@ import { ShowButtonProps } from "../types";
19
19
 
20
20
  /**
21
21
  * `<ShowButton>` uses Ant Design's {@link https://ant.design/components/button/ `<Button>`} component.
22
- * It uses the {@link https://refine.dev/docs/core/hooks/navigation/useNavigation#show `show`} method from {@link https://refine.dev/docs/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
22
+ * It uses the {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation#show `show`} method from {@link https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation `useNavigation`} under the hood.
23
23
  * It can be useful when redirecting the app to the show page with the record id route of resource.
24
24
  *
25
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/buttons/show-button} for more details.
25
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/buttons/show-button} for more details.
26
26
  */
27
27
  export const ShowButton: React.FC<ShowButtonProps> = ({
28
28
  resource: resourceNameFromProps,
@@ -8,7 +8,7 @@ import { BooleanFieldProps } from "../types";
8
8
  /**
9
9
  * This field is used to display boolean values. It uses the {@link https://ant.design/components/tooltip/#header `<Tooltip>`} values from Ant Design.
10
10
  *
11
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/boolean} for more details.
11
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/boolean} for more details.
12
12
  */
13
13
  export const BooleanField: React.FC<BooleanFieldProps> = ({
14
14
  value,
@@ -13,7 +13,7 @@ import { DateFieldProps } from "../types";
13
13
  /**
14
14
  * This field is used to display dates. It uses {@link https://day.js.org/docs/en/display/format `Day.js`} to display date format.
15
15
  *
16
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/date} for more details.
16
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/date} for more details.
17
17
  */
18
18
  export const DateField: React.FC<DateFieldProps> = ({
19
19
  value,
@@ -9,7 +9,7 @@ import { EmailFieldProps } from "../types";
9
9
  * This field is used to display email values. It uses the {@link https://ant.design/components/typography/#FAQ `<Link>`} component
10
10
  * of {@link https://ant.design/components/typography `<Typography>`} from Ant Design.
11
11
  *
12
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/email} for more details.
12
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/email} for more details.
13
13
  */
14
14
  export const EmailField: React.FC<EmailFieldProps> = ({ value, ...rest }) => {
15
15
  return (
@@ -6,7 +6,7 @@ import { FileFieldProps } from "../types";
6
6
  /**
7
7
  * This field is used to display files and uses {@link https://ant.design/components/typography `<Typography.Link>`} from Ant Design.
8
8
  *
9
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/file} for more details.
9
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/file} for more details.
10
10
  */
11
11
  export const FileField: React.FC<FileFieldProps> = ({
12
12
  title,
@@ -6,7 +6,7 @@ import { ImageFieldProps } from "../types";
6
6
  /**
7
7
  * This field is used to display images and uses {@link https://ant.design/components/image/#header `<Image>`} from Ant Design.
8
8
  *
9
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/image} for more details.
9
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/image} for more details.
10
10
  */
11
11
  export const ImageField: React.FC<ImageFieldProps> = ({
12
12
  value,
@@ -7,7 +7,7 @@ import { RefineFieldMarkdownProps } from "../types";
7
7
  /**
8
8
  * This field lets you display markdown content. It supports {@link https://github.github.com/gfm/ GitHub Flavored Markdown}.
9
9
  *
10
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/markdown} for more details.
10
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/markdown} for more details.
11
11
  */
12
12
  export const MarkdownField: React.FC<RefineFieldMarkdownProps> = ({
13
13
  value = "",
@@ -16,7 +16,7 @@ import { NumberFieldProps } from "../types";
16
16
  /**
17
17
  * This field is used to display a number formatted according to the browser locale, right aligned. and uses {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl `Intl`} to display date format.
18
18
  *
19
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/number} for more details.
19
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/number} for more details.
20
20
  */
21
21
  export const NumberField: React.FC<NumberFieldProps> = ({
22
22
  value,
@@ -6,7 +6,7 @@ import { TagFieldProps } from "../types";
6
6
  /**
7
7
  * This field lets you display a value in a tag. It uses Ant Design's {@link https://ant.design/components/tag/ `<Tag>`} component.
8
8
  *
9
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/tag} for more details.
9
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/tag} for more details.
10
10
  */
11
11
  export const TagField: React.FC<TagFieldProps> = ({ value, ...rest }) => {
12
12
  return <Tag {...rest}>{value?.toString()}</Tag>;
@@ -8,7 +8,7 @@ import { TextFieldProps } from "../types";
8
8
  /**
9
9
  * This field lets you show basic text. It uses Ant Design's {@link https://ant.design/components/typography/#Typography.Text `<Typography.Text>`} component.
10
10
  *
11
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/text} for more details.
11
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/text} for more details.
12
12
  */
13
13
  export const TextField: React.FC<TextFieldProps> = ({ value, ...rest }) => {
14
14
  return <Text {...rest}>{value}</Text>;
@@ -9,7 +9,7 @@ import { UrlFieldProps } from "../types";
9
9
  * This field lets you embed a link. It uses Ant Design's {@link https://ant.design/components/typography/ `<Typography.Link>`} component.
10
10
  * You can pass a URL in its `value` property and you can show a text in its place by passing any `children`.
11
11
  *
12
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/url} for more details.
12
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/fields/url} for more details.
13
13
  */
14
14
  export const UrlField: React.FC<UrlFieldProps> = ({
15
15
  children,
@@ -20,7 +20,7 @@ export type AuthProps = AuthPageProps<LayoutProps, CardProps, FormProps> & {
20
20
  /**
21
21
  * **refine** has a default auth page form served on the `/login` route when the `authProvider` configuration is provided.
22
22
  *
23
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/components/authpage/} for more details.
23
+ * @see {@link https://refine.dev/docs/api-reference/antd/components/antd-auth-page/} for more details.
24
24
  */
25
25
  export const AuthPage: React.FC<AuthProps> = (props) => {
26
26
  const { type } = props;
@@ -11,7 +11,7 @@ const { Text } = Typography;
11
11
  * When the app is navigated to a non-existent route, refine shows a default error page.
12
12
  * A custom error component can be used for this error page.
13
13
  *
14
- * @see {@link https://refine.dev/docs/api-references/components/refine-config#catchall} for more details.
14
+ * @see {@link https://refine.dev/docs/packages/documentation/routers/} for more details.
15
15
  */
16
16
  export const ErrorComponent: React.FC<RefineErrorPageProps> = () => {
17
17
  const [errorMessage, setErrorMessage] = useState<string>();
@@ -31,7 +31,7 @@ export interface ILoginForm {
31
31
  * @deprecated LoginPage is deprecated. Use AuthPage instead. @see {@link https://refine.dev/docs/api-reference/antd/components/antd-auth-page} for more details.
32
32
  * **refine** has a default login page form which is served on `/login` route when the `authProvider` configuration is provided.
33
33
  *
34
- * @see {@link https://refine.dev/docs/api-references/components/refine-config#loginpage} for more details.
34
+ * @see {@link https://refine.dev/docs/api-reference/core/components/refine-config/#loginpage} for more details.
35
35
  */
36
36
  export const LoginPage: React.FC<LoginPageProps> = () => {
37
37
  const [form] = Form.useForm<ILoginForm>();
@@ -38,7 +38,6 @@ const { Title } = Typography;
38
38
  /**
39
39
  * **refine** shows a default ready page on root route when no `resources` is passed to the `<Refine>` component as a property.
40
40
  *
41
- * @see {@link https://refine.dev/docs/api-references/components/refine-config#readypage} for more details.
42
41
  * @deprecated `ReadyPage` is deprecated and will be removed in the next major release.
43
42
  */
44
43
  export const ReadyPage: React.FC<RefineReadyPageProps> = () => {
@@ -83,10 +83,10 @@ export type UseDrawerFormReturnType<
83
83
  /**
84
84
  * `useDrawerForm` hook allows you to manage a form within a drawer. It returns Ant Design {@link https://ant.design/components/form/ Form} and {@link https://ant.design/components/drawer/ Drawer} components props.
85
85
  *
86
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/hooks/form/useDrawerForm} for more details.
86
+ * @see {@link https://refine.dev/docs/api-reference/antd/hooks/form/useDrawerForm} for more details.
87
87
  *
88
- * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-references/interfaceReferences#baserecord `BaseRecord`}
89
- * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-references/interfaceReferences#httperror `HttpError`}
88
+ * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}
89
+ * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences/#httperror `HttpError`}
90
90
  * @typeParam TVariables - Values for params. default `{}`
91
91
  *
92
92
  *
@@ -65,10 +65,10 @@ export type UseFormReturnType<
65
65
  /**
66
66
  * `useForm` is used to manage forms. It uses Ant Design {@link https://ant.design/components/form/ Form} data scope management under the hood and returns the required props for managing the form actions.
67
67
  *
68
- * @see {@link https://refine.dev/docs/api-references/hooks/form/useForm} for more details.
68
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/useForm} for more details.
69
69
  *
70
- * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-references/interfaceReferences#baserecord `BaseRecord`}
71
- * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-references/interfaceReferences#httperror `HttpError`}
70
+ * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}
71
+ * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences/#httperror `HttpError`}
72
72
  * @typeParam TVariables - Values for params. default `{}`
73
73
  * @typeParam TData - Result data returned by the `select` function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}. Defaults to `TQueryFnData`
74
74
  * @typeParam TResponse - Result data returned by the mutation function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}. Defaults to `TData`
@@ -95,6 +95,8 @@ export const useForm = <
95
95
  errorNotification,
96
96
  meta,
97
97
  metaData,
98
+ queryMeta,
99
+ mutationMeta,
98
100
  liveMode,
99
101
  liveParams,
100
102
  mutationMode,
@@ -146,6 +148,8 @@ export const useForm = <
146
148
  errorNotification,
147
149
  meta: pickNotDeprecated(meta, metaData),
148
150
  metaData: pickNotDeprecated(meta, metaData),
151
+ queryMeta,
152
+ mutationMeta,
149
153
  liveMode,
150
154
  liveParams,
151
155
  mutationMode,
@@ -92,10 +92,10 @@ export type UseModalFormProps<
92
92
  /**
93
93
  * `useModalForm` hook allows you to manage a form within a modal. It returns Ant Design {@link https://ant.design/components/form/ Form} and {@link https://ant.design/components/modal/ Modal} components props.
94
94
  *
95
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/hooks/form/useModalForm} for more details.
95
+ * @see {@link https://refine.dev/docs/api-reference/antd/hooks/form/useModalForm} for more details.
96
96
  *
97
- * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-references/interfaceReferences#baserecord `BaseRecord`}
98
- * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-references/interfaceReferences#httperror `HttpError`}
97
+ * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}
98
+ * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences/#httperror `HttpError`}
99
99
  * @typeParam TVariables - Values for params. default `{}`
100
100
  *
101
101
  *
@@ -74,10 +74,10 @@ export type UseStepsFormProps<
74
74
  /**
75
75
  * `useStepsForm` hook allows you to split your form under an Ant Design based {@link https://ant.design/components/steps/ Steps} component and provides you with a few useful functionalities that will help you manage your form.
76
76
  *
77
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/hooks/form/useStepsForm} for more details.
77
+ * @see {@link https://refine.dev/docs/api-reference/antd/hooks/form/useStepsForm} for more details.
78
78
  *
79
- * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-references/interfaceReferences#baserecord `BaseRecord`}
80
- * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-references/interfaceReferences#httperror `HttpError`}
79
+ * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}
80
+ * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences/#httperror `HttpError`}
81
81
  * @typeParam TVariables - Values for params. default `{}`
82
82
  *
83
83
  *
@@ -130,6 +130,7 @@ export const useStepsForm = <
130
130
  return {
131
131
  ...useFormProps,
132
132
  ...stepsPropsSunflower,
133
+ formLoading: useFormProps.formLoading,
133
134
  formProps: {
134
135
  ...stepsPropsSunflower.formProps,
135
136
  ...useFormProps.formProps,
@@ -14,11 +14,11 @@ import {
14
14
  /**
15
15
  * `useImport` hook allows you to handle your csv import logic easily.
16
16
  *
17
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/hooks/import/useImport} for more details.
17
+ * @see {@link https://refine.dev/docs/api-reference/antd/hooks/import/useImport} for more details.
18
18
  *
19
19
  * @typeParam TItem - Interface of parsed csv data
20
- * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-references/interfaceReferences#baserecord `BaseRecord`}
21
- * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-references/interfaceReferences#httperror `HttpError`}
20
+ * @typeParam TData - Result data of the query extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}
21
+ * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences/#httperror `HttpError`}
22
22
  * @typeParam TVariables - Values for mutation function
23
23
  *
24
24
  */
@@ -35,7 +35,7 @@ export type useSimpleListReturnType<
35
35
  * By using `useSimpleList` you get props for your records from API in accordance with Ant Design {@link https://ant.design/components/list/ `<List>`} component.
36
36
  * All features such as pagination, sorting come out of the box.
37
37
  *
38
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/hooks/list/useSimpleList} for more details.
38
+ * @see {@link https://refine.dev/docs/api-reference/antd/hooks/list/useSimpleList} for more details.
39
39
  *
40
40
  * @typeParam TQueryFnData - Result data returned by the query function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}
41
41
  * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#httperror `HttpError`}
@@ -18,7 +18,7 @@ export type useModalProps = {
18
18
  /**
19
19
  * By using `useModal` you get props for your records from API in accordance with Ant Design {@link https://ant.design/components/modal/ `<Modal>`} component.
20
20
  *
21
- * @see {@link https://refine.dev/docs/ui-frameworks/antd/hooks/ui/useModal} for more details.
21
+ * @see {@link https://refine.dev/docs/api-reference/antd/hooks/ui/useModal} for more details.
22
22
  */
23
23
  export const useModal = ({
24
24
  modalProps = {},