31 KiB
@refinedev/ui-types
1.22.4
Patch Changes
- #5425
190af9fce2Thanks @aliemir! - Updated@refinedev/corepeer dependencies to latest (^4.46.1)
1.22.3
Patch Changes
-
#5208
72f9f608f42Thanks @BatuhanW! - chore: update commit frequency branch from next to master on README. -
Updated dependencies [
72f9f608f42]:
1.22.2
Patch Changes
-
#4951
04837c62077Thanks @aliemir! - Remove redundant lodash plugin for esbuild and use the shared plugins instead -
Updated dependencies [
04837c62077]:
1.22.1
Patch Changes
-
#4951
04837c62077Thanks @aliemir! - Remove redundant lodash plugin for esbuild and use the shared plugins instead -
Updated dependencies [
04837c62077]:
1.22.0
Minor Changes
- #4775
3052fb22449Thanks @alicanerdurmaz! - feat:metais deprecated fromRefineRefreshButtonProps.<RefreshButton />will useuseInvalidatesinstead ofuseOne.
Patch Changes
- Updated dependencies [
3052fb22449]:
1.21.0
Minor Changes
- #4775
3052fb22449Thanks @alicanerdurmaz! - feat:metais deprecated fromRefineRefreshButtonProps.<RefreshButton />will useuseInvalidatesinstead ofuseOne.
Patch Changes
- Updated dependencies [
3052fb22449]:
1.20.0
Minor Changes
- #4591
f8891ead2bdThanks @yildirayunlu! - feat: addautoSavePropsprop type onRefineCrudEditPropsinterface.
Patch Changes
- Updated dependencies [
3af99896101,96af6d25b7a,96af6d25b7a,f8891ead2bd,3442f4bd00a]:
1.19.0
Minor Changes
- #4591
f8891ead2bdThanks @yildirayunlu! - feat: addautoSavePropsprop type onRefineCrudEditPropsinterface.
Patch Changes
- Updated dependencies [
3af99896101,96af6d25b7a,96af6d25b7a,f8891ead2bd,3442f4bd00a]:
1.18.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 [
c3c0deed564,8c2b3be35b0,5bb6f47a4d4]:
1.17.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 [
5bb6f47a4d4]:
1.16.0
Minor Changes
-
#4303
0c569f42b4eThanks @alicanerdurmaz! - feat: added crud component types. NowActionButtonRendererhas a new generic typeTExtraProps. This will allow us to pass extra props to the renderer.feat: added
TEditButtonProps,TDeleteButtonProps,TRefreshButtonProps, and,TListButtonPropsgeneric types toRefineCrudShowProps. NowRefineCrudShowPropscan take generic types for all the buttons.
Patch Changes
- #4312
9a5f79186c1Thanks @yildirayunlu! - feat: addedclassNamefor easier selection of all buttons and titles of CRUD components
1.15.0
Minor Changes
-
#4303
0c569f42b4eThanks @alicanerdurmaz! - feat: added crud component types. NowActionButtonRendererhas a new generic typeTExtraProps. This will allow us to pass extra props to the renderer.feat: added
TEditButtonProps,TDeleteButtonProps,TRefreshButtonProps, and,TListButtonPropsgeneric types toRefineCrudShowProps. NowRefineCrudShowPropscan take generic types for all the buttons.
Patch Changes
- #4312
9a5f79186c1Thanks @yildirayunlu! - feat: addedclassNamefor easier selection of all buttons and titles of CRUD components
1.14.0
Minor Changes
-
#4291
dc62abc890fThanks @salihozdemir! - feat: added a new prop thatstickytoRefineThemedLayoutV2HeaderPropstypefix: deprecated the
isStickprop ofRefineThemedLayoutV2HeaderPropstypeTo provide backwards compatibility,
isStickyis still supported, but it is deprecated and will be removed in the next major version.
1.13.0
Minor Changes
-
#4291
dc62abc890fThanks @salihozdemir! - feat: added a new prop thatstickytoRefineThemedLayoutV2HeaderPropstypefix: deprecated the
isStickprop ofRefineThemedLayoutV2HeaderPropstypeTo provide backwards compatibility,
isStickyis still supported, but it is deprecated and will be removed in the next major version.
1.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: addisStickytoRefineThemedLayoutV2HeaderPropstype
1.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: addisStickytoRefineThemedLayoutV2HeaderPropstype
1.10.0
Minor Changes
- #4163
deec38a034aThanks @yildirayunlu! - refactor: deprecatedRefineThemedLayoutProps,RefineThemedLayoutSiderPropsandRefineThemedLayoutHeaderPropsforThemedLayoutV2
1.9.0
Minor Changes
- #4163
deec38a034aThanks @yildirayunlu! - refactor: deprecatedRefineThemedLayoutProps,RefineThemedLayoutSiderPropsandRefineThemedLayoutHeaderPropsforThemedLayoutV2
1.8.0
Minor Changes
- #4163
deec38a034aThanks @yildirayunlu! - refactor: deprecatedRefineThemedLayoutProps,RefineThemedLayoutSiderPropsandRefineThemedLayoutHeaderPropsforThemedLayoutV2
1.7.0
Minor Changes
- #4153
8d9c408d089Thanks @yildirayunlu! - feat: addRefineThemedLayoutV2Props,RefineThemedLayoutV2SiderProps,RefineThemedLayoutV2HeaderPropstypes forThemedLayoutV2
1.6.0
Minor Changes
- #4153
8d9c408d089Thanks @yildirayunlu! - feat: addRefineThemedLayoutV2Props,RefineThemedLayoutV2SiderProps,RefineThemedLayoutV2HeaderPropstypes forThemedLayoutV2
1.5.0
Minor Changes
-
#3971
2798f715361Thanks @alicanerdurmaz! - - New props added toRefineThemedLayoutHeaderProps:- `isSiderOpen` prop is added to check the visibility of the sider from `<ThemedHeader>`. - `onToggleSiderClick` prop is added to control the visibility of the sider from `<ThemedHeader>`. - `toggleSiderIcon` prop is added to change the icon of the toggle sider button.- New props added to
RefineThemedLayoutSiderProps:isSiderOpenprop is added to check the visibility of the sider from a parent component.onToggleSiderClickprop is added to control the visibility of the sider from a parent component.
- New props added to
Patch Changes
- Updated dependencies [
d7d68e3ff68]:- @refinedev/core@4.5.4
1.4.0
Minor Changes
-
#3971
2798f715361Thanks @alicanerdurmaz! - - New props added toRefineThemedLayoutHeaderProps:- `isSiderOpen` prop is added to check the visibility of the sider from `<ThemedHeader>`. - `onToggleSiderClick` prop is added to control the visibility of the sider from `<ThemedHeader>`. - `toggleSiderIcon` prop is added to change the icon of the toggle sider button.- New props added to
RefineThemedLayoutSiderProps:isSiderOpenprop is added to check the visibility of the sider from a parent component.onToggleSiderClickprop is added to control the visibility of the sider from a parent component.
- New props added to
Patch Changes
- Updated dependencies [
d7d68e3ff68]:- @refinedev/core@4.5.3
1.3.0
Minor Changes
- #3912
0ffe70308b2Thanks @alicanerdurmaz! - - Themed Layout types added. -RefineThemedLayoutSiderProps,RefineThemedLayoutHeaderProps,RefineThemedLayoutProps,RefineLayoutThemedTitleProps.
Patch Changes
- Updated dependencies [
0ffe70308b2]:- @refinedev/core@4.5.0
1.2.0
Minor Changes
- #3912
0ffe70308b2Thanks @alicanerdurmaz! - - Themed Layout types added. -RefineThemedLayoutSiderProps,RefineThemedLayoutHeaderProps,RefineThemedLayoutProps,RefineLayoutThemedTitleProps.
Patch Changes
- Updated dependencies [
0ffe70308b2]:- @refinedev/core@4.4.0
1.1.0
Minor Changes
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
resourceNameOrRouteNameprop is deprecated in buttons.resourceprop is added to replaceresourceNameOrRouteNameprop.resourceprop can also useidentifierproperty of the resource.
-
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. -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
metaprop is added to common button prop types.
Patch Changes
0.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]:
0.15.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]:
0.14.2
Patch Changes
-
#3220
b867497f469Thanks @aliemir! - Updated image links inREADME.MDwith CDN -
Updated dependencies [
a47f17931a8,b867497f469]:
0.14.1
Patch Changes
-
#3220
b867497f469Thanks @aliemir! - Updated image links inREADME.MDwith CDN -
Updated dependencies [
a47f17931a8,b867497f469]:
0.14.0
Minor Changes
-
#2839
5388a338abThanks @aliemir! - AddaccessControlprop to buttons and deprecateignoreAccessControlProviderprop. -
#2836
e43e9a17aeThanks @alicanerdurmaz! - added locales prop to date fields
Patch Changes
-
#2834
476285e342Thanks @alicanerdurmaz! - updated ui-types JSDoc -
Updated dependencies [
5388a338ab]:
0.13.0
Minor Changes
- #2836
e43e9a17aeThanks @alicanerdurmaz! - added locales prop to date fields
0.12.0
Minor Changes
- #2839
5388a338abThanks @aliemir! - AddaccessControlprop to buttons and deprecateignoreAccessControlProviderprop.
Patch Changes
-
#2834
476285e342Thanks @alicanerdurmaz! - updated ui-types JSDoc -
Updated dependencies [
5388a338ab]:
0.11.6
Patch Changes
-
Added descriptions to ui-types
-
Updated dependencies []:
0.11.5
Patch Changes
-
#2786
19124711a7Thanks @alicanerdurmaz! - Added descriptions to ui-types -
Updated dependencies [
addff64c77]:
0.11.4
Patch Changes
- Added tsdoc comments to crud component interfaces.
0.11.3
Patch Changes
- #2718
d78d2a2a99Thanks @salihozdemir! - Added tsdoc comments to crud component interfaces.
0.11.2
Patch Changes
-
Removed redundant type inheritance and type casting
-
Updated dependencies []:
0.11.1
Patch Changes
-
#2586
d7c8b7642bThanks @necatiozmen! - Removed redundant type inheritance and type casting -
Updated dependencies [
d7c8b7642b]:
0.11.0
Minor Changes
- Add
providerssupport on AuthPage register page.
0.10.0
Minor Changes
- #2551
a65525de6fThanks @yildirayunlu! - Addproviderssupport on AuthPage register page.
0.9.2
Patch Changes
-
Removed unused
updatePasswordLinkandonSubmitprops from auth pages.Renamed
RefineResetPasswordFormTypestoRefineForgotPasswordFormTypes.Renamed
resetPasswordLinktoforgotPasswordLink. -
Updated dependencies []:
0.9.1
Patch Changes
-
#2524
27bf81bebbThanks @biskuvit! - Removed unusedupdatePasswordLinkandonSubmitprops from auth pages.Renamed
RefineResetPasswordFormTypestoRefineForgotPasswordFormTypes.Renamed
resetPasswordLinktoforgotPasswordLink. -
Updated dependencies [
27bf81bebb]:
0.9.0
Minor Changes
- Added
formPropsproperty toRefineAuthPageProps,RefineForgotPasswordPageProps,RefineRegisterPageProps, andRefineUpdatePasswordPageProps
0.8.0
Minor Changes
- #2516
ad99916d6dThanks @omeraplak! - AddedformPropsproperty toRefineAuthPageProps,RefineForgotPasswordPageProps,RefineRegisterPageProps, andRefineUpdatePasswordPageProps
0.7.0
Minor Changes
- Updated
Sidertypes forrenderprops.
Patch Changes
-
Updated
rendermethod type withcollapsedprop inRefineLayoutSiderProps. -
Added new types for
<AuthPage>. You can see following new types:RefineAuthPagePropsexport type RefineAuthPageProps< TWrapperProps extends {} = Record<keyof any, unknown>, TContentProps extends {} = Record<keyof any, unknown>, > = ( | PropsWithChildren<{ type?: "login"; providers?: IProvider[]; registerLink?: React.ReactNode; forgotPasswordLink?: React.ReactNode; rememberMe?: React.ReactNode; onSubmit?: (formValues: RefineLoginFormTypes) => void; }> | PropsWithChildren<{ type: "register"; loginLink?: React.ReactNode; updatePasswordLink?: React.ReactNode; onSubmit?: (formValues: RefineRegisterFormTypes) => void; }> | PropsWithChildren<{ type: "forgotPassword"; loginLink?: React.ReactNode; onSubmit?: (formValues: RefineForgotPasswordFormTypes) => void; }> | PropsWithChildren<{ type: "updatePassword"; onSubmit?: (formValues: RefineUpdatePasswordFormTypes) => void; }> ) & { wrapperProps?: TWrapperProps; contentProps?: TContentProps; renderContent?: (content: React.ReactNode) => React.ReactNode; }; -
Updated dependencies []:
0.6.2
Patch Changes
-
#2447
628a37a675Thanks @biskuvit! - Added new types for<AuthPage>. You can see following new types:RefineAuthPagePropsexport type RefineAuthPageProps< TWrapperProps extends {} = Record<keyof any, unknown>, TContentProps extends {} = Record<keyof any, unknown>, > = ( | PropsWithChildren<{ type?: "login"; providers?: IProvider[]; registerLink?: React.ReactNode; forgotPasswordLink?: React.ReactNode; rememberMe?: React.ReactNode; onSubmit?: (formValues: RefineLoginFormTypes) => void; }> | PropsWithChildren<{ type: "register"; loginLink?: React.ReactNode; updatePasswordLink?: React.ReactNode; onSubmit?: (formValues: RefineRegisterFormTypes) => void; }> | PropsWithChildren<{ type: "forgotPassword"; loginLink?: React.ReactNode; onSubmit?: (formValues: RefineForgotPasswordFormTypes) => void; }> | PropsWithChildren<{ type: "updatePassword"; onSubmit?: (formValues: RefineUpdatePasswordFormTypes) => void; }> ) & { wrapperProps?: TWrapperProps; contentProps?: TContentProps; renderContent?: (content: React.ReactNode) => React.ReactNode; }; -
Updated dependencies [
628a37a675]:
0.6.1
Patch Changes
- #2492
7d5bf3023dThanks @ozkalai! - Updatedrendermethod type withcollapsedprop inRefineLayoutSiderProps.
0.6.0
Minor Changes
- #2454
72487a4126Thanks @ozkalai! - UpdatedSidertypes forrenderprops.
0.5.0
Minor Changes
- Update type declaration generation with
tscinstead oftsupfor better navigation throughout projects source code.
Patch Changes
-
Update
TestWrapperprops withchildrenprop type. -
Updated dependencies []:
0.4.0
Minor Changes
- #2440
0150dcd070Thanks @aliemir! - Update type declaration generation withtscinstead oftsupfor better navigation throughout projects source code.
Patch Changes
-
#2440
0150dcd070Thanks @aliemir! - UpdateTestWrapperprops withchildrenprop type. -
Updated dependencies [
0150dcd070,f2faf99f25,0150dcd070,2c428b3105]:
0.3.0
Minor Changes
- Added unified types for common UI components and their props to simplify the process of adding a new UI framework and also to keep existing ui frameworks easy to maintain.
Patch Changes
- Updated dependencies []:
0.2.0
Minor Changes
- #2216
201846c77dThanks @aliemir! - Added unified types for common UI components and their props to simplify the process of adding a new UI framework and also to keep existing ui frameworks easy to maintain.