refine-mantine 1.0.0-dev.1 → 1.0.0-dev.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ActionIconProps, AnchorProps, AppShellFooterProps, AppShellHeaderProps, AppShellMainProps, AppShellNavbarConfiguration, AppShellNavbarProps, AppShellProps, AppShellSectionProps, BadgeProps, BoxProps, BreadcrumbsProps, ButtonProps, CardProps, GroupProps, LoadingOverlayProps, NotificationProps, PinInputProps, PopoverProps, ScrollAreaProps, StackProps, TextInputProps } from "@mantine/core";
2
2
  import { AuthProvider, AutoSaveIndicatorProps as AutoSaveIndicatorProps$1, BaseRecord, HttpError, LoginFormTypes, NotificationProvider, OAuthProvider, RegisterFormTypes, UseFormProps as UseFormProps$1, UseFormReturnType as UseFormReturnType$1, useMenu, useTranslate } from "@refinedev/core";
3
3
  import { IconProps } from "@tabler/icons-react";
4
- import * as react_jsx_runtime1 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
  import { RefineBreadcrumbProps, RefineCreateButtonProps, RefineCrudCreateProps, RefineCrudEditProps, RefineCrudListProps, RefineCrudShowProps, RefineDeleteButtonProps, RefineEditButtonProps, RefineListButtonProps, RefineRefreshButtonProps, RefineSaveButtonProps, RefineShowButtonProps } from "@refinedev/ui-types";
6
6
  import React$1, { ReactNode } from "react";
7
7
  import { FormValidateInput, UseFormInput, UseFormReturnType as UseFormReturnType$2 } from "@mantine/form";
@@ -137,19 +137,19 @@ declare const Message: React.FC<MessageProps>;
137
137
  //#region src/components/table/ColumnFilter.d.ts
138
138
  declare const ColumnFilter: <T extends object>(p: {
139
139
  column: Column<T>;
140
- }) => react_jsx_runtime1.JSX.Element | null;
140
+ }) => react_jsx_runtime0.JSX.Element | null;
141
141
  //#endregion
142
142
  //#region src/components/table/ColumnSorter.d.ts
143
143
  declare const ColumnSorter: <T extends object>(p: {
144
144
  column: Column<T>;
145
- }) => react_jsx_runtime1.JSX.Element | null;
145
+ }) => react_jsx_runtime0.JSX.Element | null;
146
146
  //#endregion
147
147
  //#region src/components/table/Table.d.ts
148
148
  declare const Table: <TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError>({
149
149
  props
150
150
  }: {
151
151
  props: UseTableReturnType<TData, TError>;
152
- }) => react_jsx_runtime1.JSX.Element;
152
+ }) => react_jsx_runtime0.JSX.Element;
153
153
  //#endregion
154
154
  //#region src/components/notification/AutoSaveIndicator.d.ts
155
155
  interface AutoSaveIndicatorProps {
@@ -160,7 +160,7 @@ interface AutoSaveIndicatorProps {
160
160
  declare const AutoSaveIndicator: React$1.FC<AutoSaveIndicatorProps>;
161
161
  //#endregion
162
162
  //#region src/components/ColorSchemeToggle.d.ts
163
- declare function ColorSchemeToggle(): react_jsx_runtime1.JSX.Element;
163
+ declare function ColorSchemeToggle(): react_jsx_runtime0.JSX.Element;
164
164
  //#endregion
165
165
  //#region src/hooks/useForm.d.ts
166
166
  type FormVariableType<TVariables, TTransformed> = ReturnType<NonNullable<UseFormInput<TVariables, (values: TVariables) => TTransformed>["transformValues"]>>;
package/dist/index.js CHANGED
@@ -1142,8 +1142,7 @@ const useForm = ({ refineCoreProps, disableServerSideValidation: disableServerSi
1142
1142
  useEffect(() => {
1143
1143
  if (isValuesChanged && refineCoreProps?.autoSave && values) {
1144
1144
  setWarnWhen(false);
1145
- const transformedValues = rest.transformValues ? rest.transformValues(values) : values;
1146
- handleAutoSave(transformedValues);
1145
+ handleAutoSave(rest.transformValues ? rest.transformValues(values) : values);
1147
1146
  }
1148
1147
  }, [values]);
1149
1148
  const onSubmit = (handleSubmit, handleValidationFailure) => async (e) => {
package/package.json CHANGED
@@ -37,22 +37,21 @@
37
37
  "@mantine/form": "^8.3.5",
38
38
  "@mantine/hooks": "^8.3.5",
39
39
  "@mantine/notifications": "^8.3.5",
40
- "@refinedev/core": "^5.0.4",
41
- "@refinedev/react-router": "^2.0.2",
42
- "@refinedev/react-table": "^6.0.0",
43
- "@refinedev/simple-rest": "^6.0.0",
44
- "@refinedev/ui-types": "^2.0.0",
40
+ "@refinedev/core": "^5.0.5",
41
+ "@refinedev/react-router": "^2.0.3",
42
+ "@refinedev/react-table": "^6.0.1",
43
+ "@refinedev/simple-rest": "^6.0.1",
45
44
  "@storybook/addon-storysource": "^8.6.14",
46
- "@storybook/addon-themes": "^9.1.11",
47
- "@storybook/react": "^9.1.11",
48
- "@storybook/react-vite": "^9.1.11",
45
+ "@storybook/addon-themes": "^9.1.15",
46
+ "@storybook/react": "^9.1.15",
47
+ "@storybook/react-vite": "^9.1.15",
49
48
  "@tabler/icons-react": "^3.35.0",
50
- "@tanstack/react-query": "^5.90.3",
49
+ "@tanstack/react-query": "^5.90.5",
51
50
  "@tanstack/react-table": "^8.21.3",
52
- "@types/node": "^24.7.2",
51
+ "@types/node": "^24.9.1",
53
52
  "@types/react": "^19.2.2",
54
53
  "@types/react-dom": "^19.2.2",
55
- "@vitejs/plugin-react": "^5.0.4",
54
+ "@vitejs/plugin-react": "^5.1.0",
56
55
  "husky": "^9.1.7",
57
56
  "postcss": "^8.5.6",
58
57
  "postcss-preset-mantine": "1.18.0",
@@ -62,10 +61,10 @@
62
61
  "react-router": "^7.9.4",
63
62
  "react-router-dom": "^7.9.4",
64
63
  "semantic-release": "^25.0.1",
65
- "storybook": "^9.1.11",
66
- "tsdown": "^0.15.7",
64
+ "storybook": "^9.1.15",
65
+ "tsdown": "^0.15.10",
67
66
  "typescript": "^5.9.3",
68
- "vite": "^7.1.10",
67
+ "vite": "^7.1.12",
69
68
  "vite-tsconfig-paths": "^5.1.4"
70
69
  },
71
70
  "packageManager": "yarn@4.9.4",
@@ -85,5 +84,8 @@
85
84
  }
86
85
  ]
87
86
  },
88
- "version": "1.0.0-dev.1"
87
+ "dependencies": {
88
+ "@refinedev/ui-types": "^2.0.1"
89
+ },
90
+ "version": "1.0.0-dev.2"
89
91
  }