100 KiB
@refinedev/mantine
2.29.2
Patch Changes
-
#5429
3bc130e475Thanks @alicanerdurmaz! - fix:useNotification.close("notification-key")not working. Resolves #5433 -
#5465
00e00cbd98Thanks @aliemir! - Fixed the type issue betweenremark-gfmandreact-markdown. #5463
2.29.1
Patch Changes
-
#5425
190af9fce2Thanks @aliemir! - Updated@refinedev/corepeer dependencies to latest (^4.46.1) -
Updated dependencies [
190af9fce2]:
2.29.0
Minor Changes
-
#5307
f8e407f850Thanks @jackprogramsjp! - feat: addedhideFormprops forLoginPageandRegisterPageforAuthPagefeature.Now with the
hideFormprops feature, you can be able to hide the forms (like email/password) to only show the OAuth providers. This avoids having to make your own entire AuthPage.
Patch Changes
-
#5269
a23a0945d3Thanks @BatuhanW! - feat: add "autoComplete" field for Login pages. -
#5325
7ff54b2060Thanks @alicanerdurmaz! - fix:<AuthPage />styling issues on mobile screens.chore: new tests are added to
<AuthPage />.
2.28.21
Patch Changes
- #5259
eac3df87ffbThanks @aliemir! - Updated<AutoSaveIndicator />component to extend the<AutoSaveIndicator />from@refinedev/corewith custom elements and render appropriate element based on the state.
2.28.20
Patch Changes
-
#5199
2b8d658a17aThanks @aliemir! - Updated the return type of theuseSelecthook to only include properties that actually being returned from the hook. Previously, the return type included all properties of theSelectcomponent, which was not correct. -
#5199
2b8d658a17aThanks @aliemir! - NowuseSelecthook accepts 4th generic typeTOptionwhich allows you to change the type of options. By defaultTOptionwill be equal toBaseOptiontype which is{ label: any; value: any; }. If you want to change the type of options, you can do it like this:In PR #5160 the type convertion of the options are tried to be resolved by string conversion. This is not correct due to the fact that the
valueproperty of the option can be of any type. This was breaking the connection between the forms and the select inputs.This change is reverted in the
@refinedev/core, now changed the types and the logic to reflect the correct values of options with the ability to change it via 4th generic typeTOptionofuseSelecthook.Mantine's
<Select />component only allows values to bestring. In a case of avaluenot beingstring, you'll be able to manipulate the options via mapping the options before using them.Here's how to get the proper types for the options and fix the value type issue:
import { Select } from "@mantine/core"; import { HttpError } from "@refinedev/core"; import { useSelect } from "@refinedev/mantine"; type IPost = { id: number; title: string; description: string; }; type IOption = { value: IPost["id"]; label: IPost["title"] }; const MyComponent = () => { const { selectProps } = useSelect<IPost, HttpError, IPost, IOption>({ resource: "posts", }); // This will result in `selectProps.data` to be of type `IOption[]`. // <Select /> will not accept `value` as `number` so you'll have to map the options. return ( <Select {...selectProps} data={selectProps.data.map((option) => ({ ...option, value: option.value.toString(), }))} /> ); }; -
#5201
760cfbaaa2aThanks @aliemir! - Updated initial value setting logic inuseFormto handle nested objects properly.
2.28.19
Patch Changes
-
#5199
2b8d658a17aThanks @aliemir! - Updated the return type of theuseSelecthook to only include properties that actually being returned from the hook. Previously, the return type included all properties of theSelectcomponent, which was not correct. -
#5199
2b8d658a17aThanks @aliemir! - NowuseSelecthook accepts 4th generic typeTOptionwhich allows you to change the type of options. By defaultTOptionwill be equal toBaseOptiontype which is{ label: any; value: any; }. If you want to change the type of options, you can do it like this:In PR #5160 the type convertion of the options are tried to be resolved by string conversion. This is not correct due to the fact that the
valueproperty of the option can be of any type. This was breaking the connection between the forms and the select inputs.This change is reverted in the
@refinedev/core, now changed the types and the logic to reflect the correct values of options with the ability to change it via 4th generic typeTOptionofuseSelecthook.Mantine's
<Select />component only allows values to bestring. In a case of avaluenot beingstring, you'll be able to manipulate the options via mapping the options before using them.Here's how to get the proper types for the options and fix the value type issue:
import { Select } from "@mantine/core"; import { HttpError } from "@refinedev/core"; import { useSelect } from "@refinedev/mantine"; type IPost = { id: number; title: string; description: string; }; type IOption = { value: IPost["id"]; label: IPost["title"] }; const MyComponent = () => { const { selectProps } = useSelect<IPost, HttpError, IPost, IOption>({ resource: "posts", }); // This will result in `selectProps.data` to be of type `IOption[]`. // <Select /> will not accept `value` as `number` so you'll have to map the options. return ( <Select {...selectProps} data={selectProps.data.map((option) => ({ ...option, value: option.value.toString(), }))} /> ); }; -
#5201
760cfbaaa2aThanks @aliemir! - Updated initial value setting logic inuseFormto handle nested objects properly.
2.28.18
Patch Changes
- #5188
fc276fe53dbThanks @BatuhanW! - chore: update README installation command
2.28.17
Patch Changes
- #5188
fc276fe53dbThanks @BatuhanW! - chore: update README installation command
2.28.16
Patch Changes
-
#5026
a605e4cd318Thanks @alicanerdurmaz! - feat: deprecated<ThemedLayout />and<Layout />components removed fromswizzle. From now on, users can swizzle<ThemedLayoutV2 />component instead.feat: swizzled
<ThemedLayoutV2 />component destination changed tosrc/components/layout/fromsrc/components/themedLayout.
2.28.15
Patch Changes
-
#5026
a605e4cd318Thanks @alicanerdurmaz! - feat: deprecated<ThemedLayout />and<Layout />components removed fromswizzle. From now on, users can swizzle<ThemedLayoutV2 />component instead.feat: swizzled
<ThemedLayoutV2 />component destination changed tosrc/components/layout/fromsrc/components/themedLayout.
2.28.14
Patch Changes
-
#5022
80513a4e42fThanks @BatuhanW! - chore: update README.md- fix grammar errors.
- make all README.md files consistent.
- add code example code snippets.
2.28.13
Patch Changes
-
#5022
80513a4e42fThanks @BatuhanW! - chore: update README.md- fix grammar errors.
- make all README.md files consistent.
- add code example code snippets.
2.28.12
Patch Changes
- #4975
ff66a862e46Thanks @aliemir! - Updated dependency of@tabler/iconstov1.119.0to fix the issue of using misconfigured versions. (Fixes #4921)
2.28.11
Patch Changes
- #4975
ff66a862e46Thanks @aliemir! - Updated dependency of@tabler/iconstov1.119.0to fix the issue of using misconfigured versions. (Fixes #4921)
2.28.10
Patch Changes
- #4964
85b1ac0db5fThanks @BatuhanW! - chore: update @refinedev/core peer dependency versions.
2.28.9
Patch Changes
- #4964
85b1ac0db5fThanks @BatuhanW! - chore: update @refinedev/core peer dependency versions.
2.28.8
Patch Changes
- #4903
e327cadc011Thanks @yildirayunlu! - feat: addinvalidateOnUnmountprop touseFormhook. feat: addinvalidateOnUnmountandinvalidateOnCloseprop touseModalFormanduseDrawerFormhooks. From now on, you can use the use this props to invalidate queries upon unmount or close.
2.28.7
Patch Changes
- #4903
e327cadc011Thanks @yildirayunlu! - feat: addinvalidateOnUnmountprop touseFormhook. feat: addinvalidateOnUnmountandinvalidateOnCloseprop touseModalFormanduseDrawerFormhooks. From now on, you can use the use this props to invalidate queries upon unmount or close.
2.28.6
Patch Changes
-
#4953
07dd28d4142Thanks @alicanerdurmaz! - fixed: broken Mantine documentation links on JSDoc. -
Updated dependencies [
04837c62077]:
2.28.5
Patch Changes
-
#4953
07dd28d4142Thanks @alicanerdurmaz! - fixed: broken Mantine documentation links on JSDoc. -
Updated dependencies [
04837c62077]:
2.28.4
Patch Changes
- #4948
8e5efffbb23Thanks @aliemir! - Keep the hook and component names in builds for better debugging.
2.28.3
Patch Changes
- #4948
8e5efffbb23Thanks @aliemir! - Keep the hook and component names in builds for better debugging.
2.28.2
Patch Changes
-
#4788
38680378c7aThanks @salihozdemir! - fix: fix incorrect usage of collapse icon in<HeaderV2 />fix: render user avatar and name in
<HeaderV2 />based on user data fromauthProvider.
2.28.1
Patch Changes
-
#4788
38680378c7aThanks @salihozdemir! - fix: fix incorrect usage of collapse icon in<HeaderV2 />fix: render user avatar and name in
<HeaderV2 />based on user data fromauthProvider.
2.28.0
Minor Changes
- #4775
3052fb22449Thanks @alicanerdurmaz! - fixed:<RefreshButton />does not refresh content #4618. From now,<RefreshButton />usesuseInvalidatehook to refresh data instead ofuseOne.
Patch Changes
-
#4773
2af96197629Thanks @alicanerdurmaz! - fixed: antduseModalFormsends request twice whensyncWithLocationis true -
Updated dependencies [
3052fb22449]:
2.27.0
Minor Changes
- #4775
3052fb22449Thanks @alicanerdurmaz! - fixed:<RefreshButton />does not refresh content #4618. From now,<RefreshButton />usesuseInvalidatehook to refresh data instead ofuseOne.
Patch Changes
-
#4773
2af96197629Thanks @alicanerdurmaz! - fixed: antduseModalFormsends request twice whensyncWithLocationis true -
Updated dependencies [
3052fb22449]:
2.26.0
Minor Changes
- #4741
026ccf34356Thanks @aliemir! - AddedsideEffects: falsetopackage.jsonto help bundlers tree-shake unused code.
2.25.0
Minor Changes
- #4741
026ccf34356Thanks @aliemir! - AddedsideEffects: falsetopackage.jsonto help bundlers tree-shake unused code.
2.24.0
Minor Changes
-
#4652
96af6d25b7aThanks @alicanerdurmaz! - feat: when thedataProviderreturns rejected promise witherrorsfield,useFormwill automatically update the error state with the rejectederrorsfield.Refer to the server-side form validation documentation for more information. →
-
#4591
f8891ead2bdThanks @yildirayunlu! - feat:autoSavefeature forEdit. useForm, useDrawerForm, useModalForm, useStepsForm hooks now acceptautoSaveobject.enabledis a boolean value anddebounceis a number value in milliseconds.debounceis optional and default value is1000.const { autoSaveProps } = useForm({ refineCoreProps: { autoSave: { enabled: true, debounce: 2000, // not required, default is 1000 }, } }); return ( <Edit saveButtonProps={saveButtonProps} // pass autoSaveProps to Edit component autoSaveProps={autoSaveProps} > // form fields </Edit> );feat: Add
<AutoSaveIndicator>component. It comes automatically whenautoSavePropsis given to theEditpage. However, this component can be used to position it in a different place.import { AutoSaveIndicator } from "@refinedev/mantine"; const { autoSaveProps } = useForm({ refineCoreProps: { autoSave: { enabled: true, debounce: 2000, // not required, default is 1000 }, } }); return ( <div> <AutoSaveIndicator {...autoSaveProps}> </div> );
Patch Changes
- Updated dependencies [
f8891ead2bd]:
2.23.0
Minor Changes
-
#4652
96af6d25b7aThanks @alicanerdurmaz! - feat: when thedataProviderreturns rejected promise witherrorsfield,useFormwill automatically update the error state with the rejectederrorsfield.Refer to the server-side form validation documentation for more information. →
-
#4591
f8891ead2bdThanks @yildirayunlu! - feat:autoSavefeature forEdit. useForm, useDrawerForm, useModalForm, useStepsForm hooks now acceptautoSaveobject.enabledis a boolean value anddebounceis a number value in milliseconds.debounceis optional and default value is1000.const { autoSaveProps } = useForm({ refineCoreProps: { autoSave: { enabled: true, debounce: 2000, // not required, default is 1000 }, } }); return ( <Edit saveButtonProps={saveButtonProps} // pass autoSaveProps to Edit component autoSaveProps={autoSaveProps} > // form fields </Edit> );feat: Add
<AutoSaveIndicator>component. It comes automatically whenautoSavePropsis given to theEditpage. However, this component can be used to position it in a different place.import { AutoSaveIndicator } from "@refinedev/mantine"; const { autoSaveProps } = useForm({ refineCoreProps: { autoSave: { enabled: true, debounce: 2000, // not required, default is 1000 }, } }); return ( <div> <AutoSaveIndicator {...autoSaveProps}> </div> );
Patch Changes
- Updated dependencies [
f8891ead2bd]:
2.22.2
Patch Changes
-
#4629
58cc48b7b8fThanks @alicanerdurmaz! - fixed:descriptionprop does not show up in Mantine notification. With this fix, you can now usedescriptionprop to show a description in the notification.import { useNotification } from "@refinedev/core"; const { open } = useNotification(); open?.({ description: "This is a description", message: "This is a message", type: "progress", });
2.22.1
Patch Changes
-
#4629
58cc48b7b8fThanks @alicanerdurmaz! - fixed:descriptionprop does not show up in Mantine notification. With this fix, you can now usedescriptionprop to show a description in the notification.import { useNotification } from "@refinedev/core"; const { open } = useNotification(); open?.({ description: "This is a description", message: "This is a message", type: "progress", });
2.22.0
Minor Changes
-
#4502
c7872ca621fThanks @Mr0nline! - feat: ability to tweak active sider items navigationVisiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.
Patch Changes
- Updated dependencies [
c7872ca621f]:
2.21.0
Minor Changes
-
#4502
c7872ca621fThanks @Mr0nline! - feat: ability to tweak active sider items navigationVisiting active sider items triggers page reloads due to them being links. We can now provide activeItemDisabled prop to disable such reloads.
Patch Changes
- Updated dependencies [
c7872ca621f]:
2.20.0
Minor Changes
-
#4523
18d446b1069Thanks @yildirayunlu! - feat: implement following hooks haveuseLoadingOvertimehook
Patch Changes
-
#4527
ceadcd29fc9Thanks @salihozdemir! - fix: prioritization of forgottenidentifierIf
identifieris provided, it will be used instead ofname.import { DeleteButton } from "@refinedev/mantine"; <DeleteButton resource="identifier-value" recordItemId="123" />;fix: use translate keys with
identifierPreviously, the translate keys were generated using resource
name. This caused issues when you had multipleresourceusage with the same name. Now thetranslatekeys are generated usingidentifierif it's present.
2.19.0
Minor Changes
-
#4523
18d446b1069Thanks @yildirayunlu! - feat: implement following hooks haveuseLoadingOvertimehook
Patch Changes
-
#4527
ceadcd29fc9Thanks @salihozdemir! - fix: prioritization of forgottenidentifierIf
identifieris provided, it will be used instead ofname.import { DeleteButton } from "@refinedev/mantine"; <DeleteButton resource="identifier-value" recordItemId="123" />;fix: use translate keys with
identifierPreviously, the translate keys were generated using resource
name. This caused issues when you had multipleresourceusage with the same name. Now thetranslatekeys are generated usingidentifierif it's present.
2.18.0
Minor Changes
-
#4449
cc84d61bc5cThanks @BatuhanW! - feat: updated Create, List, Show, Edit, Delete, Clone buttons to respect new globalaccessControlProviderconfiguration.fix: Delete button's text wasn't rendered as
reasonfield ofaccessControlProvider.Given the following
canmethod:const accessControlProvider: IAccessControlContext = { can: async (): Promise<CanReturnType> => { return { can: false, reason: "Access Denied!" }; }, };If user is unauthorized,
Deletebutton's text should beAccess Denied!instead of defaultDelete.This is the default behaviour for Create, List, Show, Edit, Delete, Clone buttons already.
2.17.0
Minor Changes
-
#4449
cc84d61bc5cThanks @BatuhanW! - feat: updated Create, List, Show, Edit, Delete, Clone buttons to respect new globalaccessControlProviderconfiguration.fix: Delete button's text wasn't rendered as
reasonfield ofaccessControlProvider.Given the following
canmethod:const accessControlProvider: IAccessControlContext = { can: async (): Promise<CanReturnType> => { return { can: false, reason: "Access Denied!" }; }, };If user is unauthorized,
Deletebutton's text should beAccess Denied!instead of defaultDelete.This is the default behaviour for Create, List, Show, Edit, Delete, Clone buttons already.
2.16.2
Patch Changes
- #4431
c29a3618cf6Thanks @aliemir! - Updated the TSDoc comments to fix the broken links in the documentation.
2.16.1
Patch Changes
- #4431
c29a3618cf6Thanks @aliemir! - Updated the TSDoc comments to fix the broken links in the documentation.
2.16.0
Minor Changes
-
#4404
f67967e8c87Thanks @salihozdemir! - refactor: fix name and state inconsistency in<ThemedLayoutV2>useSiderVisibleis deprecated, instead we created a new hookuseThemedLayoutContextfor it.useThemedLayoutContextsimilar touseSiderVisiblebut it returns more meaningful state names. However,useSiderVisibleis still available for backward compatibility.Updated
SiderandHamburgerMenucomponents usinguseThemedLayoutContext.import { useThemedLayoutContext } from "@refinedev/mantine"; const { siderCollapsed, setSiderCollapsed, mobileSiderOpen, setMobileSiderOpen, } = useThemedLayoutContext();
2.15.0
Minor Changes
-
#4404
f67967e8c87Thanks @salihozdemir! - refactor: fix name and state inconsistency in<ThemedLayoutV2>useSiderVisibleis deprecated, instead we created a new hookuseThemedLayoutContextfor it.useThemedLayoutContextsimilar touseSiderVisiblebut it returns more meaningful state names. However,useSiderVisibleis still available for backward compatibility.Updated
SiderandHamburgerMenucomponents usinguseThemedLayoutContext.import { useThemedLayoutContext } from "@refinedev/mantine"; const { siderCollapsed, setSiderCollapsed, mobileSiderOpen, setMobileSiderOpen, } = useThemedLayoutContext();
2.14.4
Patch Changes
- #4391
5fcc36c0272Thanks @alicanerdurmaz! - added: name attribute to input fields inforgotPassword,registerandupdatePasswordforms
2.14.3
Patch Changes
- #4391
5fcc36c0272Thanks @alicanerdurmaz! - added: name attribute to input fields inforgotPassword,registerandupdatePasswordforms
2.14.2
Patch Changes
- #4316
4690c627e05Thanks @yildirayunlu! - fix: fixedclassNamefor easier selection of all buttons and titles of CRUD components
2.14.1
Patch Changes
- #4316
4690c627e05Thanks @yildirayunlu! - fix: fixedclassNamefor easier selection of all buttons and titles of CRUD components
2.14.0
Minor Changes
-
#4306
e6eb4dea627Thanks @yildirayunlu! - feat:syncWithLocation.syncIddefault totrueforuseModalForm. -
#4303
0c569f42b4eThanks @alicanerdurmaz! - feat: added default button props into the renderer functionsheaderButtonsandfooterButtonsin CRUD components. Now, customization of the header and footer buttons can be achieved without losing the default functionality.import { DeleteButton, EditButton, ListButton, RefreshButton, Show, } from "@refinedev/mantine"; const PostShow = () => { return ( <Show headerButtons={({ deleteButtonProps, editButtonProps, listButtonProps, refreshButtonProps, }) => { return ( <> {/* custom components */} {listButtonProps && ( <ListButton {...listButtonProps} meta={{ foo: "bar" }} /> )} {editButtonProps && ( <EditButton {...editButtonProps} meta={{ foo: "bar" }} /> )} {deleteButtonProps && ( <DeleteButton {...deleteButtonProps} meta={{ foo: "bar" }} /> )} <RefreshButton {...refreshButtonProps} meta={{ foo: "bar" }} /> </> ); }} > {/* ... */} </Show> ); };
Patch Changes
-
#4312
9a5f79186c1Thanks @yildirayunlu! - feat: addedclassNamefor easier selection of all buttons and titles of CRUD components -
Updated dependencies [
0c569f42b4e,9a5f79186c1]:
2.13.0
Minor Changes
-
#4306
e6eb4dea627Thanks @yildirayunlu! - feat:syncWithLocation.syncIddefault totrueforuseModalForm. -
#4303
0c569f42b4eThanks @alicanerdurmaz! - feat: added default button props into the renderer functionsheaderButtonsandfooterButtonsin CRUD components. Now, customization of the header and footer buttons can be achieved without losing the default functionality.import { DeleteButton, EditButton, ListButton, RefreshButton, Show, } from "@refinedev/mantine"; const PostShow = () => { return ( <Show headerButtons={({ deleteButtonProps, editButtonProps, listButtonProps, refreshButtonProps, }) => { return ( <> {/* custom components */} {listButtonProps && ( <ListButton {...listButtonProps} meta={{ foo: "bar" }} /> )} {editButtonProps && ( <EditButton {...editButtonProps} meta={{ foo: "bar" }} /> )} {deleteButtonProps && ( <DeleteButton {...deleteButtonProps} meta={{ foo: "bar" }} /> )} <RefreshButton {...refreshButtonProps} meta={{ foo: "bar" }} /> </> ); }} > {/* ... */} </Show> ); };
Patch Changes
-
#4312
9a5f79186c1Thanks @yildirayunlu! - feat: addedclassNamefor easier selection of all buttons and titles of CRUD components -
Updated dependencies [
0c569f42b4e,9a5f79186c1]:
2.12.9
Patch Changes
-
#4295
7f24a6a2b14Thanks @salihozdemir! - chore: bump to latest version of@refinedev/ui-types -
Updated dependencies [
dc62abc890f]:
2.12.8
Patch Changes
- #4295
7f24a6a2b14Thanks @salihozdemir! - chore: bump to latest version of@refinedev/ui-types
2.12.7
Patch Changes
-
#4277
7172c1b42d2Thanks @salihozdemir! - fix: renamed the<ThemedHeaderV2/>propisStickytostickyTo provide backwards compatibility, the old prop name is still supported, but it is deprecated and will be removed in the next major version.
Example:
import { Refine } from "@refinedev/core"; import { ThemedLayoutV2, ThemedHeaderV2 } from "@refinedev/antd"; // or @refinedev/chakra-ui, @refinedev/mui, @refinedev/mantine const App: React.FC = () => { return ( <Refine ... > <ThemedLayoutV2 Header={() => <ThemedHeaderV2 sticky />} > {/* ... */} </ThemedLayoutV2> </Refine> ); };
2.12.6
Patch Changes
-
#4277
7172c1b42d2Thanks @salihozdemir! - fix: renamed the<ThemedHeaderV2/>propisStickytostickyTo provide backwards compatibility, the old prop name is still supported, but it is deprecated and will be removed in the next major version.
Example:
import { Refine } from "@refinedev/core"; import { ThemedLayoutV2, ThemedHeaderV2 } from "@refinedev/antd"; // or @refinedev/chakra-ui, @refinedev/mui, @refinedev/mantine const App: React.FC = () => { return ( <Refine ... > <ThemedLayoutV2 Header={() => <ThemedHeaderV2 sticky />} > {/* ... */} </ThemedLayoutV2> </Refine> ); };
2.12.5
Patch Changes
-
#4277
7172c1b42d2Thanks @salihozdemir! - fix: renamed the<ThemedHeaderV2/>propisStickytostickyTo provide backwards compatibility, the old prop name is still supported, but it is deprecated and will be removed in the next major version.
Example:
import { Refine } from "@refinedev/core"; import { ThemedLayoutV2, ThemedHeaderV2 } from "@refinedev/antd"; // or @refinedev/chakra-ui, @refinedev/mui, @refinedev/mantine const App: React.FC = () => { return ( <Refine ... > <ThemedLayoutV2 Header={() => <ThemedHeaderV2 sticky />} > {/* ... */} </ThemedLayoutV2> </Refine> ); };
2.12.4
Patch Changes
- #4255
9694245718cThanks @alicanerdurmaz! - fixed:ThemedLayoutContextProviderimport path in internal usage.
2.12.3
Patch Changes
- #4255
9694245718cThanks @alicanerdurmaz! - fixed:ThemedLayoutContextProviderimport path in internal usage.
2.12.2
Patch Changes
- #4241
fbe109b5a8bThanks @salihozdemir! - Added new generic types to theuseFormhooks. Now you can pass the query types and the mutation types to the hook.
2.12.1
Patch Changes
- #4241
fbe109b5a8bThanks @salihozdemir! - Added new generic types to theuseFormhooks. Now you can pass the query types and the mutation types to the hook.
2.12.0
Minor Changes
-
#4232
c99bc0ad7f7Thanks @alicanerdurmaz! - feat:initialSiderCollapsedadded toRefineThemedLayoutV2Propsto control initial state of<ThemedSiderV2>. From now on, you can control the initial collapsed state of<ThemedSiderV2>by passing theinitialSiderCollapsedprop to<ThemedLayoutV2>.<ThemedLayoutV2 initialSiderCollapsed={true} // This will make the sider collapsed by default > {/* .. */} </ThemedLayoutV2> -
#4209
3f4b5fef76fThanks @yildirayunlu! - feat: addisStickyprop toThemedHeaderV2componentimport { ThemedHeaderV2, ThemedLayoutV2 } from "@refinedev/mantine"; const CustomHeader = () => <ThemedHeaderV2 isSticky={true} />; const App = () => ( <Refine> // ... <ThemedLayoutV2 Header={CustomHeader}> <Outlet /> </ThemedLayoutV2> // ... </Refine> );
Patch Changes
-
#4223
c2ca3a67b22Thanks @aliemir! - Fixed theErrorComponentheight overflow issue which was causing header to be unresponsive. -
Updated dependencies [
c99bc0ad7f7,3f4b5fef76f]:
2.11.0
Minor Changes
-
#4232
c99bc0ad7f7Thanks @alicanerdurmaz! - feat:initialSiderCollapsedadded toRefineThemedLayoutV2Propsto control initial state of<ThemedSiderV2>. From now on, you can control the initial collapsed state of<ThemedSiderV2>by passing theinitialSiderCollapsedprop to<ThemedLayoutV2>.<ThemedLayoutV2 initialSiderCollapsed={true} // This will make the sider collapsed by default > {/* .. */} </ThemedLayoutV2> -
#4209
3f4b5fef76fThanks @yildirayunlu! - feat: addisStickyprop toThemedHeaderV2componentimport { ThemedHeaderV2, ThemedLayoutV2 } from "@refinedev/mantine"; const CustomHeader = () => <ThemedHeaderV2 isSticky={true} />; const App = () => ( <Refine> // ... <ThemedLayoutV2 Header={CustomHeader}> <Outlet /> </ThemedLayoutV2> // ... </Refine> );
Patch Changes
-
#4223
c2ca3a67b22Thanks @aliemir! - Fixed theErrorComponentheight overflow issue which was causing header to be unresponsive. -
Updated dependencies [
c99bc0ad7f7,3f4b5fef76f]:
2.10.0
Minor Changes
-
#4176
13448252cd7Thanks @yildirayunlu! - feat: addThemedLayoutV2andHamburgerMenucomponentThemeLayoutis deprecated. AddedThemedLayoutV2instead. This update fixed some UI problems in the layout. Also, with the new<HamburgerMenu />component, it's easier to collapse/uncollapse theSider.See here for detailed migration guideline.
2.9.0
Minor Changes
-
#4176
13448252cd7Thanks @yildirayunlu! - feat: addThemedLayoutV2andHamburgerMenucomponentThemeLayoutis deprecated. AddedThemedLayoutV2instead. This update fixed some UI problems in the layout. Also, with the new<HamburgerMenu />component, it's easier to collapse/uncollapse theSider.See here for detailed migration guideline.
2.8.0
Minor Changes
-
#4113
1c13602e308Thanks @salihozdemir! - Added missing third generic parameter to hooks which are usinguseQueryinternally.For example:
import { useOne, HttpError } from "@refinedev/core"; const { data } = useOne<{ count: string }, HttpError, { count: number }>({ resource: "product-count", queryOptions: { select: (rawData) => { return { data: { count: Number(rawData?.data?.count), }, }; }, }, }); console.log(typeof data?.data.count); // number -
#4131
0e7ee8876dfThanks @alicanerdurmaz! - - Fixed:<ThemedSider>logout icon alignment.<LogoutButton>icon changed to<IconPower>fromIconLogout.
Patch Changes
- #4113
1c13602e308Thanks @salihozdemir! - Updated the generic type name of hooks that useuseQueryto synchronize generic type names withtanstack-query.
2.7.4
Patch Changes
- #4122
a36b17e86baThanks @alicanerdurmaz! - - Fixed:warnWhenUnsavedChangeswas throwing even when there were no changes.
2.7.3
Patch Changes
- #4122
a36b17e86baThanks @alicanerdurmaz! - - Fixed:warnWhenUnsavedChangeswas throwing even when there were no changes.
2.7.2
Patch Changes
- #4120
1f310bd7b69Thanks @aliemir! - Fix brokenuseModalFormwithcreateactions.
2.7.1
Patch Changes
- #4120
1f310bd7b69Thanks @aliemir! - Fix brokenuseModalFormwithcreateactions.
2.7.0
Minor Changes
- #4072
fad40e6237fThanks @alicanerdurmaz! - -<Layout>is deprecated. use<ThemedLayout>instead with 100% backward compatibility. - https://refine.dev/docs/api-reference/mantine/components/mantine-themed-layout
Patch Changes
- #4114
afdaed3dd83Thanks @aliemir! - UpdateduseModalFormhook'smodal.showmethod to check if there's anidpresent or provided. If there is, it will continue to show the modal. If not, the modal will not show. (Resolves #4062)
2.6.0
Minor Changes
- #4072
fad40e6237fThanks @alicanerdurmaz! - -<Layout>is deprecated. use<ThemedLayout>instead with 100% backward compatibility. - https://refine.dev/docs/api-reference/mantine/components/mantine-themed-layout
Patch Changes
- #4114
afdaed3dd83Thanks @aliemir! - UpdateduseModalFormhook'smodal.showmethod to check if there's anidpresent or provided. If there is, it will continue to show the modal. If not, the modal will not show. (Resolves #4062)
2.5.2
Patch Changes
-
#4076
0c787747f38Thanks @alicanerdurmaz! - - ThewrapperStylesproperties of<ThemedSider>'s<ThemedTitle>have been moved to the parent component. As a result, it is now possible to pass a custom<Title>component to<ThemedLayout>that will be styled correctly. -
#4083
7dbb4b0d400Thanks @alicanerdurmaz! - -ThemedTitlecursor is now a pointer when hovering over the logo.
2.5.1
Patch Changes
-
#4076
0c787747f38Thanks @alicanerdurmaz! - - ThewrapperStylesproperties of<ThemedSider>'s<ThemedTitle>have been moved to the parent component. As a result, it is now possible to pass a custom<Title>component to<ThemedLayout>that will be styled correctly. -
#4083
7dbb4b0d400Thanks @alicanerdurmaz! - -ThemedTitlecursor is now a pointer when hovering over the logo.
2.5.0
Minor Changes
-
#3996
327be2be623Thanks @alicanerdurmaz! - -RefineThemesadded. It contains predefined colors for the Mantine components.import { Refine } from "@refinedev/core"; import { RefineThemes } from "@refinedev/mantine"; import dataProvider from "@refinedev/simple-rest"; const App = () => { // --- return ( <MantineProvider theme={RefineThemes.Magenta}> <Refine dataProvider={dataProvider("YOUR_API_URL")}> {/** your app here */} </Refine> </MantineProvider> ); };- default title with icon added to
AuthPage. It uses<ThemedTitle>component from@refinedev/mantine. You can remove it by settingtitleprop tofalse.
import { AuthPage, ThemedTitle } from "@refinedev/mantine"; const MyLoginPage = () => { return ( <AuthPage type="login" title={ <ThemedTitle title="My Title" icon={<img src="https://refine.dev/img/logo.png" />} /> } /> ); };titleprop added toAuthPage'srenderContentprop to use in the custom content.
import { Box, Text } from "@mantine/core"; import { AuthPage } from "@refinedev/mantine"; const MyLoginPage = () => { return ( <AuthPage contentProps={{ style: { width: "400px", }, }} renderContent={( content: React.ReactNode, title: React.ReactNode, ) => { return ( <Box bg="white" borderRadius="md" px="5" display="flex" flexDirection="column" justifyContent="center" alignItems="center" > {title} <Text>Extra Header</Text> {content} <Text>Extra Footer</Text> </Box> ); }} /> ); };-
<ThemedLayout>,<ThemedSider>,<ThemedTitle>,<ThemedHeader>created to use theme colors. -
<EditButton>in<Show>color changed tobrand. -
<CreateButton>color changed tobrand. -
<AuthPage>component uses colors from the theme. -
<ThemedTitle>added toAuthPage
- default title with icon added to
Patch Changes
- #3974
4dcc20d6a60Thanks @salihozdemir! - Deprecated theWelcomePagecomponent. It'll be used from@refinedev/coreinstead.
2.4.0
Minor Changes
-
#3996
327be2be623Thanks @alicanerdurmaz! - -RefineThemesadded. It contains predefined colors for the Mantine components.import { Refine } from "@refinedev/core"; import { RefineThemes } from "@refinedev/mantine"; import dataProvider from "@refinedev/simple-rest"; const App = () => { // --- return ( <MantineProvider theme={RefineThemes.Magenta}> <Refine dataProvider={dataProvider("YOUR_API_URL")}> {/** your app here */} </Refine> </MantineProvider> ); };- default title with icon added to
AuthPage. It uses<ThemedTitle>component from@refinedev/mantine. You can remove it by settingtitleprop tofalse.
import { AuthPage, ThemedTitle } from "@refinedev/mantine"; const MyLoginPage = () => { return ( <AuthPage type="login" title={ <ThemedTitle title="My Title" icon={<img src="https://refine.dev/img/logo.png" />} /> } /> ); };titleprop added toAuthPage'srenderContentprop to use in the custom content.
import { Box, Text } from "@mantine/core"; import { AuthPage } from "@refinedev/mantine"; const MyLoginPage = () => { return ( <AuthPage contentProps={{ style: { width: "400px", }, }} renderContent={( content: React.ReactNode, title: React.ReactNode, ) => { return ( <Box bg="white" borderRadius="md" px="5" display="flex" flexDirection="column" justifyContent="center" alignItems="center" > {title} <Text>Extra Header</Text> {content} <Text>Extra Footer</Text> </Box> ); }} /> ); };-
<ThemedLayout>,<ThemedSider>,<ThemedTitle>,<ThemedHeader>created to use theme colors. -
<EditButton>in<Show>color changed tobrand. -
<CreateButton>color changed tobrand. -
<AuthPage>component uses colors from the theme. -
<ThemedTitle>added toAuthPage
- default title with icon added to
Patch Changes
- #3974
4dcc20d6a60Thanks @salihozdemir! - Deprecated theWelcomePagecomponent. It'll be used from@refinedev/coreinstead.
2.3.7
Patch Changes
-
#3975
b1e6e32f9a1Thanks @alicanerdurmaz! - - Fixed the unsaved changes dialog is popping up unexpectedly when the user clicks the logs out.- The `<ThemedSider>`'s `onClick` handler was changed to use the `window.confirm` API to manage the confirmation dialog.<RefineThemes>colors updated to match the new theme colors.
-
Updated dependencies [
2798f715361]:- @refinedev/ui-types@1.5.0
2.3.6
Patch Changes
-
#3975
b1e6e32f9a1Thanks @alicanerdurmaz! - - Fixed the unsaved changes dialog is popping up unexpectedly when the user clicks the logs out.- The `<ThemedSider>`'s `onClick` handler was changed to use the `window.confirm` API to manage the confirmation dialog.<RefineThemes>colors updated to match the new theme colors.
-
Updated dependencies [
2798f715361]:- @refinedev/ui-types@1.4.0
2.3.5
Patch Changes
- #3956
c54714ed9abThanks @salihozdemir! - Fixed an issue where the<NumberField />component would throw an error if thevalueprop was set toundefined.
2.3.4
Patch Changes
- #3956
c54714ed9abThanks @salihozdemir! - Fixed an issue where the<NumberField />component would throw an error if thevalueprop was set toundefined.
2.3.3
Patch Changes
- #3954
7dc9686f83bThanks @salihozdemir! - Fixed an issue where the form dirty state was not reset after setting initial values. This caused the form to be dirty even though changes were not made. For this reason, the<UnSavedChangesNotifier>always warned when user tried to leave page.
2.3.2
Patch Changes
-
#3948
b4950503334Thanks @salihozdemir! - Fixed the unsaved changes dialog is popping up unexpectedly when the user clicks the delete button or logs out, when the form is dirty.- The
<DeleteButton>already has a confirmation dialog, so the alert was removed. - The
<Sider>'sonClickhandler was changed to use thewindow.confirmAPI to manage the confirmation dialog.
- The
2.3.1
Patch Changes
-
#3948
b4950503334Thanks @salihozdemir! - Fixed the unsaved changes dialog is popping up unexpectedly when the user clicks the delete button or logs out, when the form is dirty.- The
<DeleteButton>already has a confirmation dialog, so the alert was removed. - The
<Sider>'sonClickhandler was changed to use thewindow.confirmAPI to manage the confirmation dialog.
- The
2.3.0
Minor Changes
- #3912
0ffe70308b2Thanks @alicanerdurmaz! - -titleprop added toAuthPage'srenderContentprop to use in the custom content.titleprop added toAuthPageto render a custom title.- ⚠️ These features have not been implemented yet. Only types were added. It will be implemented in the next release.
Patch Changes
- Updated dependencies [
0ffe70308b2]:- @refinedev/ui-types@1.3.0
2.2.0
Minor Changes
- #3912
0ffe70308b2Thanks @alicanerdurmaz! - -titleprop added toAuthPage'srenderContentprop to use in the custom content.titleprop added toAuthPageto render a custom title.- ⚠️ These features have not been implemented yet. Only types were added. It will be implemented in the next release.
Patch Changes
- Updated dependencies [
0ffe70308b2]:- @refinedev/ui-types@1.2.0
2.1.0
Minor Changes
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
metaprop is added. To ensure backward compatibility,metaDataprop will be used ifmetaprop is not provided. -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Updated the components to match the changes in routing system of
@refinedev/core.metaproperty in componentsThis includes
metaprops in buttons andSidercomponent.metaproperty can be used to pass additional parameters to the navigation paths.For a
postsresource definition like this:<Refine resources={[ { name: "posts", list: "/posts", show: "/:authorId/posts/:id", } ]} >You can pass
authorIdto theShowButtoncomponent like this:<ShowButton resource="posts" id="1" meta={{ authorId: 123 }}>This will navigate to
/123/posts/1path.syncWithLocationsupport inuseModalFormhookuseModalFormhook now supportsyncWithLocationprop. This prop can be used to sync the visibility state of them with the location via query params.You can pass a boolean or an object with
keyandsyncIdproperties.-
keyis used to define the query param key. Default value is inferred from the resource and the action. For exampleposts-createforpostsresource andcreateaction. -
syncIdis used to include theidproperty in the query param key. Default value isfalse. This is useful foreditandcloneactions.
Removed props
ignoreAccessControlProviderprop is removed from buttons. -
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
useSelect'ssortprop is now deprecated. Usesortersprop instead.
useSelect({ - sort, + sorters, }) -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
<ReadyPage>isnow deprecated.- Created a
<WelcomePage>component to welcome users.
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
🪄 Migrating your project automatically with refine-codemod ✨
@refinedev/codemodpackage handles the breaking changes for your project automatically, without any manual steps. It migrates your project from3.x.xto4.x.x.Just
cdinto root folder of your project (wherepackage.jsonis contained) and run this command:npx @refinedev/codemod@latest refine3-to-refine4And it's done. Now your project uses
refine@4.x.x.📝 Changelog
All Mantine components re-exported from
@refinedev/mantinehave been removed. You should import them from Mantine packages directly.If the packages are not installed, you can install them with your package manager:
You don't have to install all of these packages below. Only install the packages you use.
npm install @mantine/core@5 @emotion/react @mantine/hooks@5 @mantine/notifications@5 @mantine/form@5 # or pnpm add @mantine/core@5 @emotion/react @mantine/hooks@5 @mantine/notifications@5 @mantine/form@5 # or yarn add @mantine/core@5 @emotion/react @mantine/hooks@5 @mantine/notifications@5 @mantine/form@5After that, you can import them from related packages directly.
- import { - MantineProvider, - NotificationsProvider, - TextInput, - Select, - List, - useSelect, - } from "@refinedev/mantine"; + import { useSelect, List } from "@refinedev/mantine"; + import { MantineProvider, TextInput, Select } from "@mantine/core"; + import { NotificationsProvider } from "@mantine/notifications"; -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Added legacy auth provider and new auth provider support to all components and hooks.
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Updated buttons with
resourceproperty.resourceNameOrRouteNameis now deprecated but kept working until next major version. -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Moving to the
@refinedevscope 🎉🎉Moved to the
@refinedevscope and updated our packages to use the new scope. From now on, all packages will be published under the@refinedevscope with their new names.Now, we're also removing the
refineprefix from all packages. So, the@pankod/refine-corepackage is now@refinedev/core,@pankod/refine-antdis now@refinedev/antd, and so on.
Patch Changes
1.17.0
Minor Changes
- #3822
0baa99ba787Thanks @BatuhanW! - - refine v4 release announcement added to "postinstall". - refine v4 is released 🎉 The new version is 100% backward compatible. You can upgrade to v4 with a single command! See the migration guide here: https://refine.dev/docs/migration-guide/3x-to-4x
Patch Changes
- Updated dependencies [
0baa99ba787]:
1.16.0
Minor Changes
- #3822
0baa99ba787Thanks @BatuhanW! - - refine v4 release announcement added to "postinstall". - refine v4 is released 🎉 The new version is 100% backward compatible. You can upgrade to v4 with a single command! See the migration guide here: https://refine.dev/docs/migration-guide/3x-to-4x
Patch Changes
- Updated dependencies [
0baa99ba787]:
1.15.10
Patch Changes
- #3606
00c9a5c471aThanks @aliemir! - Fixed the issue withdisabledstate inDeleteButton's still opening the popover.
1.15.9
Patch Changes
- #3606
00c9a5c471aThanks @aliemir! - Fixed the issue withdisabledstate inDeleteButton's still opening the popover.
1.15.8
Patch Changes
- #3382
6604586b030Thanks @alicanerdurmaz! - added: description ofStepPropsto the jsDoc of theuseStepFormhook.
1.15.7
Patch Changes
- #3382
6604586b030Thanks @alicanerdurmaz! - added: description ofStepPropsto the jsDoc of theuseStepFormhook.
1.15.6
Patch Changes
- #3396
bb2774e3941Thanks @omeraplak! - fix:onSubmitis set to nullable on<AuthPage>
1.15.5
Patch Changes
- #3396
bb2774e3941Thanks @omeraplak! - fix:onSubmitis set to nullable on<AuthPage>
1.15.4
Patch Changes
- #3228
5aabfa19493Thanks @aliemir! - Fixed useForm's saveButtonProps.onClick event type
1.15.3
Patch Changes
- #3228
5aabfa19493Thanks @aliemir! - Fixed useForm's saveButtonProps.onClick event type
1.15.2
Patch Changes
-
#3220
b867497f469Thanks @aliemir! - Updated image links inREADME.MDwith CDN -
Updated dependencies [
b867497f469]:
1.15.1
Patch Changes
-
#3220
b867497f469Thanks @aliemir! - Updated image links inREADME.MDwith CDN -
Updated dependencies [
b867497f469]:
1.15.0
Minor Changes
- #3159
af2eefb32a4Thanks @aliemir! - UpdatedLoginPageandReadyPageto use refine logos from CDN rather than bundled svg files.
1.14.0
Minor Changes
- #3159
af2eefb32a4Thanks @aliemir! - UpdatedLoginPageandReadyPageto use refine logos from CDN rather than bundled svg files.
1.13.4
Patch Changes
- #3128
db1000a7628Thanks @alicanerdurmaz! - Fixed:crudcomponents import path changed to relative path due to export issues on build.
1.13.3
Patch Changes
- #3128
db1000a7628Thanks @alicanerdurmaz! - Fixed:crudcomponents import path changed to relative path due to export issues on build.
1.13.2
Patch Changes
- #3109
16549ed3012Thanks @aliemir! - Updatedswizzleitems and their messages to include extra information and usage examples.
1.13.1
Patch Changes
- #3109
16549ed3012Thanks @aliemir! - Updatedswizzleitems and their messages to include extra information and usage examples.
1.13.0
Minor Changes
- #3062
6c2ed708a9aThanks @aliemir! - - Updated components and their type imports to make them compatible withswizzlefeature.- Added
refine.config.jsto configure theswizzlefeature.
- Added
1.12.0
Minor Changes
- #3062
6c2ed708a9aThanks @aliemir! - - Updated components and their type imports to make them compatible withswizzlefeature.- Added
refine.config.jsto configure theswizzlefeature.
- Added
1.11.8
Patch Changes
-
#3027
177d0a764feThanks @aliemir! - FixLayoutcomponent forTableoverflows.Tablewas not respecting the flex layout even insideScrollAreacomponent. This was causing the table to overflow the parent container. -
#3027
177d0a764feThanks @aliemir! - Fixed shrink issue for Layout -
#3027
177d0a764feThanks @aliemir! - Added...restprops toMarkdownFieldcomponent -
#3027
177d0a764feThanks @aliemir! - FixedTagFieldprop types.
1.11.7
Patch Changes
-
#3027
177d0a764feThanks @aliemir! - FixLayoutcomponent forTableoverflows.Tablewas not respecting the flex layout even insideScrollAreacomponent. This was causing the table to overflow the parent container. -
#3027
177d0a764feThanks @aliemir! - Fixed shrink issue for Layout -
#3027
177d0a764feThanks @aliemir! - Added...restprops toMarkdownFieldcomponent -
#3027
177d0a764feThanks @aliemir! - FixedTagFieldprop types.
1.11.6
Patch Changes
- #3011
593531713c3Thanks @aliemir! - Fixed<NumberField />type for missingvalueprop type, which was erroring out when using<NumberField />.
1.11.5
Patch Changes
- #3011
593531713c3Thanks @aliemir! - Fixed<NumberField />type for missingvalueprop type, which was erroring out when using<NumberField />.
1.11.4
Patch Changes
-
#2969
a9459550a4Thanks @omeraplak! - FixedtransformValuesgenerics inuseForm,useModalFormanduseStepFormhooks. -
#2969
a9459550a4Thanks @omeraplak! - Fixed peerDependencies of packages
1.11.3
Patch Changes
-
#2969
a9459550a4Thanks @omeraplak! - FixedtransformValuesgenerics inuseForm,useModalFormanduseStepFormhooks. -
#2969
a9459550a4Thanks @omeraplak! - Fixed peerDependencies of packages
1.11.2
Patch Changes
- #2970
513c078df1Thanks @salihozdemir! - Added padding to ReadyPage component.
1.11.1
Patch Changes
- #2970
513c078df1Thanks @salihozdemir! - Added padding to ReadyPage component.
1.11.0
Minor Changes
-
#2872
da3fc4a702Thanks @TDP17! - Feat: Added ability to manage breadcrumb component globally via optionsThe option set in individual CRUD components takes priority over the global option
1.10.0
Minor Changes
-
#2872
da3fc4a702Thanks @TDP17! - Feat: Added ability to manage breadcrumb component globally via optionsThe option set in individual CRUD components takes priority over the global option
1.9.5
Patch Changes
-
#2857
1d8b1820f4Thanks @salihozdemir! - Fixed the<ReadyPage />mobile view. -
#2857
1d8b1820f4Thanks @salihozdemir! - Fixed the<ErrorComponent />responsive view.
1.9.4
Patch Changes
-
#2857
1d8b1820f4Thanks @salihozdemir! - Fixed the<ReadyPage />mobile view. -
#2857
1d8b1820f4Thanks @salihozdemir! - Fixed the<ErrorComponent />responsive view.
1.9.3
Patch Changes
- #2869
d64e4a02c3Thanks @alicanerdurmaz! - chore: @mantine/* package version fixed to 5.5.6 due to useForm issue
1.9.2
Patch Changes
- #2856
21d0f19863Thanks @alicanerdurmaz! - fixed: Mantine UserFormInput requires 2 type argument(s).
1.9.1
Patch Changes
- #2856
21d0f19863Thanks @alicanerdurmaz! - fixed: Mantine UserFormInput requires 2 type argument(s).
1.9.0
Minor Changes
-
#2839
5388a338abThanks @aliemir! - DeprecationignoreAccessControlProviderprop on buttons is deprecated. UseaccessContro.enabledinstead.Features
accessControl.enabledprop is added to buttons to enable/disable access control for buttons.accessControl.hideIfUnauthorizedprop is added to buttons to hide the button if access is denied. -
#2836
e43e9a17aeThanks @alicanerdurmaz! - added locales prop to date fields
Patch Changes
-
#2838
f7968fa16fThanks @aliemir! - Fixed #2828 - Buttons were not respecting access control when navigating to a new page. Now, if button is disabled, it will not also block the navigation not just the onClick event. -
#2818
295fc2f773Thanks @salihozdemir! - Added missingTitlecomponent export. -
Updated dependencies [
476285e342,5388a338ab,e43e9a17ae]:
1.8.0
Minor Changes
- #2836
e43e9a17aeThanks @alicanerdurmaz! - added locales prop to date fields
Patch Changes
- Updated dependencies [
e43e9a17ae]:
1.7.0
Minor Changes
-
#2839
5388a338abThanks @aliemir! - DeprecationignoreAccessControlProviderprop on buttons is deprecated. UseaccessContro.enabledinstead.Features
accessControl.enabledprop is added to buttons to enable/disable access control for buttons.accessControl.hideIfUnauthorizedprop is added to buttons to hide the button if access is denied.
Patch Changes
-
#2838
f7968fa16fThanks @aliemir! - Fixed #2828 - Buttons were not respecting access control when navigating to a new page. Now, if button is disabled, it will not also block the navigation not just the onClick event. -
#2818
295fc2f773Thanks @salihozdemir! - Added missingTitlecomponent export. -
Updated dependencies [
476285e342,5388a338ab]:
1.6.13
Patch Changes
-
- Updated the default false icon for the BooleanField component to be a cross instead of a minus.
- Updated the TextField export name to be "TextField" instead of "TextFieldComponent".
- Fixed the tsdoc links for the field components.
1.6.12
Patch Changes
- #2799
78b61da700Thanks @salihozdemir! - - Updated the default false icon for the BooleanField component to be a cross instead of a minus.- Updated the TextField export name to be "TextField" instead of "TextFieldComponent".
- Fixed the tsdoc links for the field components.
1.6.11
Patch Changes
- Add primary color to
<SaveButton/>'s<ActionIcon/>component.
1.6.10
Patch Changes
- #2758
3960549907Thanks @salihozdemir! - Add primary color to<SaveButton/>'s<ActionIcon/>component.
1.6.9
Patch Changes
- Fixed incorrectly used hooks in AuthPage component
1.6.8
Patch Changes
- #2769
501aebe997Thanks @dgelineau! - Fixed incorrectly used hooks in AuthPage component
1.6.7
Patch Changes
- Fixed responsive design for mobile devices
1.6.6
Patch Changes
- #2748
0eaddb65eeThanks @salihozdemir! - Fixed responsive design for mobile devices
1.6.5
Patch Changes
-
- Added
<LoadingOverlay />component to basic view components. - Update
goBackprop usage, now it can be passed to<ActionButton />'s children. - Fixed the issue that when
titleprop is passed to basic views, the back button is not shown. - Default title size decreased from
h2toh3.
- Added
- Updated dependencies []:
1.6.4
Patch Changes
- #2718
d78d2a2a99Thanks @salihozdemir! - - Added<LoadingOverlay />component to basic view components.- Update
goBackprop usage, now it can be passed to<ActionButton />'s children. - Fixed the issue that when
titleprop is passed to basic views, the back button is not shown. - Default title size decreased from
h2toh3.
- Update
- Updated dependencies [
d78d2a2a99]:
1.6.3
Patch Changes
- Fixed
providersproperty empty array state in<AuthPage />component
1.6.2
Patch Changes
- Fixed
providersproperty empty array state in<AuthPage />component
1.6.1
Patch Changes
- #2712
c434055011Thanks @omeraplak! - Fixedprovidersproperty empty array state in<AuthPage />component
1.6.0
Minor Changes
- Updated
formPropsproperty on<AuthPage />component
Patch Changes
- Added
clearableprop touseSelecthook that istrueby default.
1.5.0
Minor Changes
- #2663
c624a52b23Thanks @yildirayunlu! - UpdatedformPropsproperty on<AuthPage />component
Patch Changes
- #2701
ddd9eb3affThanks @salihozdemir! - Addedclearableprop touseSelecthook that istrueby default.
1.4.0
Minor Changes
-
- Added new component core and mantine support.
- Move Auth types
@pankod/refine-ui-typesto@pankod/refine-core
1.3.0
Minor Changes
- #2627
c5fb45d61fThanks @yildirayunlu! - - Added new component core and mantine support.- Move Auth types
@pankod/refine-ui-typesto@pankod/refine-core
- Move Auth types
1.2.0
Minor Changes
- First release of
@pankod/refine-mantine🎉
1.1.0
Minor Changes
- #2505
a4dbb63c88Thanks @salihozdemir! - First release of@pankod/refine-mantine🎉
1.0.6
Patch Changes
- Updated dependencies []:
1.0.5
Patch Changes
- Updated dependencies [
a65525de6f]:
1.0.4
Patch Changes
- Updated dependencies []:
- @pankod/refine-ui-types@0.9.0
1.0.3
Patch Changes
- Updated dependencies [
ad99916d6d]:- @pankod/refine-ui-types@0.8.0
1.0.2
Patch Changes
-
Fixed version of react-router to
6.3.0 -
Updated dependencies []:
- @pankod/refine-ui-types@0.7.0
1.0.1
Patch Changes
- #2501
4095a578d4Thanks @omeraplak! - Fixed version of react-router to6.3.0