38 KiB
@refinedev/ui-types
1.22.9
Patch Changes
-
6bd14228760d3e1e205ea9248e427f9afa2ec046Thanks @BatuhanW! - chore(ThemedTitleProps): update icon and text tsdoc descriptionsUpdated TSDoc descriptions of the
iconandtextprops in theRefineLayoutThemedTitlePropsinterface to provide default values and how they are used in the component. -
6bd14228760d3e1e205ea9248e427f9afa2ec046Thanks @BatuhanW! - chore: addedtypequalifier to imports used as type only.- import { A } from "./example.ts"; + import type { A } from "./example.ts"; -
Updated dependencies [
6bd14228760d3e1e205ea9248e427f9afa2ec046,6bd14228760d3e1e205ea9248e427f9afa2ec046,6bd14228760d3e1e205ea9248e427f9afa2ec046,6bd14228760d3e1e205ea9248e427f9afa2ec046,6bd14228760d3e1e205ea9248e427f9afa2ec046,6bd14228760d3e1e205ea9248e427f9afa2ec046]:- @refinedev/core@4.51.0
1.22.8
Patch Changes
-
#5945
903ea231538b00ce02ddc9394c72848ec1e90772Thanks @aliemir! - chore(ThemedTitleProps): update icon and text tsdoc descriptionsUpdated TSDoc descriptions of the
iconandtextprops in theRefineLayoutThemedTitlePropsinterface to provide default values and how they are used in the component. -
#5945
90930b381d8d369c63bc59beedf69c391875166dThanks @aliemir! - chore: addedtypequalifier to imports used as type only.- import { A } from "./example.ts"; + import type { A } from "./example.ts"; -
Updated dependencies [
a39f1952554120893ea83db904037917fc293dc6,208f77177f9821ee1860ffe031e6b2a9645d1bb6,903ea231538b00ce02ddc9394c72848ec1e90772,84cac61b84ab872394424ebf358eeb380f40121d,4cc74478cbec8caa3023a50ce62f1d5b2f7158a5,90930b381d8d369c63bc59beedf69c391875166d]:- @refinedev/core@4.50.0
1.22.7
Patch Changes
-
#5928
db9756e7908Thanks @aliemir! - fix: type errors on typescript <5Due to the changes in #5881, typescript users below version 5 are facing type errors. This PR fixes the type errors by updating the file extensions required by the
d.mtsdeclaration files to provide a compatible declarations for both typescript 4 and 5 users. -
Updated dependencies [
db9756e7908]:- @refinedev/core@4.49.2
1.22.6
Patch Changes
-
#5881
ba719f6ea26Thanks @aliemir! - fix: declaration files in node10, node16 and nodenext module resolutions -
Updated dependencies [
1c9a95f22ab,0a76576da0f,8d2dd4376f6,1c9a95f22ab,ba719f6ea26,9a0c1c8414a]:- @refinedev/core@4.49.1
1.22.5
Patch Changes
-
#5765
0c197d82393Thanks @aliemir! - refactor: package bundles and package.json configuration for exportsPreviously, Refine packages had exported ESM and CJS bundles with same
.jsextension and same types for both with.d.tsextensions. This was causing issues with bundlers and compilers to pick up the wrong files for the wrong environment. Now we're outputting ESM bundles with.mjsextension and CJS bundles with.cjsextension. Also types are now exported with both.d.mtsand.d.ctsextensions.In older versions ESM and CJS outputs of some packages were using wrong imports/requires to dependencies causing errors in some environments. This will be fixed since now we're also enforcing the module type with extensions.
Above mentioned changes also supported with changes in
package.jsonfiles of the packages to support the new extensions and types. All Refine packages now includeexportsfields in their configuration to make sure the correct bundle is picked up by the bundlers and compilers. -
#5754
56ed144a0f5Thanks @alicanerdurmaz! - chore: TypeScript upgraded to v5.x.x. #5752 -
Updated dependencies [
4e8188a6652,10ba9c34490,2b5ac6f5409,0c197d82393,0c197d82393,404b2ef5e1b,56ed144a0f5,0c197d82393,10ba9c34490,38f129f40ee,f32512b9042]:- @refinedev/core@4.49.0
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]:- @refinedev/core@4.44.12
1.22.2
Patch Changes
-
#4951
04837c62077Thanks @aliemir! - Remove redundant lodash plugin for esbuild and use the shared plugins instead -
Updated dependencies [
04837c62077]:- @refinedev/core@4.38.4
1.22.1
Patch Changes
-
#4951
04837c62077Thanks @aliemir! - Remove redundant lodash plugin for esbuild and use the shared plugins instead -
Updated dependencies [
04837c62077]:- @refinedev/core@4.38.3
1.22.0
Minor Changes
- #4775
3052fb22449Thanks @alicanerdurmaz! - feat:metais deprecated fromRefineRefreshButtonProps.<RefreshButton />will useuseInvalidatesinstead ofuseOne.
Patch Changes
- Updated dependencies [
3052fb22449]:- @refinedev/core@4.34.0
1.21.0
Minor Changes
- #4775
3052fb22449Thanks @alicanerdurmaz! - feat:metais deprecated fromRefineRefreshButtonProps.<RefreshButton />will useuseInvalidatesinstead ofuseOne.
Patch Changes
- Updated dependencies [
3052fb22449]:- @refinedev/core@4.33.0
1.20.0
Minor Changes
- #4591
f8891ead2bdThanks @yildirayunlu! - feat: addautoSavePropsprop type onRefineCrudEditPropsinterface.
Patch Changes
- Updated dependencies [
3af99896101,96af6d25b7a,96af6d25b7a,f8891ead2bd,3442f4bd00a]:- @refinedev/core@4.28.0
1.19.0
Minor Changes
- #4591
f8891ead2bdThanks @yildirayunlu! - feat: addautoSavePropsprop type onRefineCrudEditPropsinterface.
Patch Changes
- Updated dependencies [
3af99896101,96af6d25b7a,96af6d25b7a,f8891ead2bd,3442f4bd00a]:- @refinedev/core@4.27.0
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]:- @refinedev/core@4.26.0
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]:- @refinedev/core@4.25.1
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]:- @pankod/refine-core@3.103.0
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]:- @pankod/refine-core@3.102.0
0.14.2
Patch Changes
-
#3220
b867497f469Thanks @aliemir! - Updated image links inREADME.MDwith CDN -
Updated dependencies [
a47f17931a8,b867497f469]:- @pankod/refine-core@3.90.6
0.14.1
Patch Changes
-
#3220
b867497f469Thanks @aliemir! - Updated image links inREADME.MDwith CDN -
Updated dependencies [
a47f17931a8,b867497f469]:- @pankod/refine-core@3.90.5
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]:- @pankod/refine-core@3.86.2
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]:- @pankod/refine-core@3.86.1
0.11.6
Patch Changes
-
Added descriptions to ui-types
-
Updated dependencies []:
- @pankod/refine-core@3.86.0
0.11.5
Patch Changes
-
#2786
19124711a7Thanks @alicanerdurmaz! - Added descriptions to ui-types -
Updated dependencies [
addff64c77]:- @pankod/refine-core@3.85.0
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 []:
- @pankod/refine-core@3.74.2
0.11.1
Patch Changes
-
#2586
d7c8b7642bThanks @necatiozmen! - Removed redundant type inheritance and type casting -
Updated dependencies [
d7c8b7642b]:- @pankod/refine-core@3.74.1
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 []:
- @pankod/refine-core@3.71.0
0.9.1
Patch Changes
-
#2524
27bf81bebbThanks @biskuvit! - Removed unusedupdatePasswordLinkandonSubmitprops from auth pages.Renamed
RefineResetPasswordFormTypestoRefineForgotPasswordFormTypes.Renamed
resetPasswordLinktoforgotPasswordLink. -
Updated dependencies [
27bf81bebb]:- @pankod/refine-core@3.70.0
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 []:
- @pankod/refine-core@3.69.9
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]:- @pankod/refine-core@3.69.7
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 []:
- @pankod/refine-core@3.67.0
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]:- @pankod/refine-core@3.66.0
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 []:
- @pankod/refine-core@3.56.2
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.