38 KiB
@refinedev/ui-types
1.22.9
Patch Changes
-
6bd14228760d3e1e205ea9248e427f9afa2ec046
Thanks @BatuhanW! - chore(ThemedTitleProps): update icon and text tsdoc descriptionsUpdated TSDoc descriptions of the
icon
andtext
props in theRefineLayoutThemedTitleProps
interface to provide default values and how they are used in the component. -
6bd14228760d3e1e205ea9248e427f9afa2ec046
Thanks @BatuhanW! - chore: addedtype
qualifier 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
903ea231538b00ce02ddc9394c72848ec1e90772
Thanks @aliemir! - chore(ThemedTitleProps): update icon and text tsdoc descriptionsUpdated TSDoc descriptions of the
icon
andtext
props in theRefineLayoutThemedTitleProps
interface to provide default values and how they are used in the component. -
#5945
90930b381d8d369c63bc59beedf69c391875166d
Thanks @aliemir! - chore: addedtype
qualifier 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
db9756e7908
Thanks @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.mts
declaration 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
ba719f6ea26
Thanks @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
0c197d82393
Thanks @aliemir! - refactor: package bundles and package.json configuration for exportsPreviously, Refine packages had exported ESM and CJS bundles with same
.js
extension and same types for both with.d.ts
extensions. 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.mjs
extension and CJS bundles with.cjs
extension. Also types are now exported with both.d.mts
and.d.cts
extensions.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.json
files of the packages to support the new extensions and types. All Refine packages now includeexports
fields in their configuration to make sure the correct bundle is picked up by the bundlers and compilers. -
#5754
56ed144a0f5
Thanks @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
190af9fce2
Thanks @aliemir! - Updated@refinedev/core
peer dependencies to latest (^4.46.1
)
1.22.3
Patch Changes
-
#5208
72f9f608f42
Thanks @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
04837c62077
Thanks @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
04837c62077
Thanks @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
3052fb22449
Thanks @alicanerdurmaz! - feat:meta
is deprecated fromRefineRefreshButtonProps
.<RefreshButton />
will useuseInvalidates
instead ofuseOne
.
Patch Changes
- Updated dependencies [
3052fb22449
]:- @refinedev/core@4.34.0
1.21.0
Minor Changes
- #4775
3052fb22449
Thanks @alicanerdurmaz! - feat:meta
is deprecated fromRefineRefreshButtonProps
.<RefreshButton />
will useuseInvalidates
instead ofuseOne
.
Patch Changes
- Updated dependencies [
3052fb22449
]:- @refinedev/core@4.33.0
1.20.0
Minor Changes
- #4591
f8891ead2bd
Thanks @yildirayunlu! - feat: addautoSaveProps
prop type onRefineCrudEditProps
interface.
Patch Changes
- Updated dependencies [
3af99896101
,96af6d25b7a
,96af6d25b7a
,f8891ead2bd
,3442f4bd00a
]:- @refinedev/core@4.28.0
1.19.0
Minor Changes
- #4591
f8891ead2bd
Thanks @yildirayunlu! - feat: addautoSaveProps
prop type onRefineCrudEditProps
interface.
Patch Changes
- Updated dependencies [
3af99896101
,96af6d25b7a
,96af6d25b7a
,f8891ead2bd
,3442f4bd00a
]:- @refinedev/core@4.27.0
1.18.0
Minor Changes
-
#4502
c7872ca621f
Thanks @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
c7872ca621f
Thanks @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
0c569f42b4e
Thanks @alicanerdurmaz! - feat: added crud component types. NowActionButtonRenderer
has a new generic typeTExtraProps
. This will allow us to pass extra props to the renderer.feat: added
TEditButtonProps
,TDeleteButtonProps
,TRefreshButtonProps
, and,TListButtonProps
generic types toRefineCrudShowProps
. NowRefineCrudShowProps
can take generic types for all the buttons.
Patch Changes
- #4312
9a5f79186c1
Thanks @yildirayunlu! - feat: addedclassName
for easier selection of all buttons and titles of CRUD components
1.15.0
Minor Changes
-
#4303
0c569f42b4e
Thanks @alicanerdurmaz! - feat: added crud component types. NowActionButtonRenderer
has a new generic typeTExtraProps
. This will allow us to pass extra props to the renderer.feat: added
TEditButtonProps
,TDeleteButtonProps
,TRefreshButtonProps
, and,TListButtonProps
generic types toRefineCrudShowProps
. NowRefineCrudShowProps
can take generic types for all the buttons.
Patch Changes
- #4312
9a5f79186c1
Thanks @yildirayunlu! - feat: addedclassName
for easier selection of all buttons and titles of CRUD components
1.14.0
Minor Changes
-
#4291
dc62abc890f
Thanks @salihozdemir! - feat: added a new prop thatsticky
toRefineThemedLayoutV2HeaderProps
typefix: deprecated the
isStick
prop ofRefineThemedLayoutV2HeaderProps
typeTo provide backwards compatibility,
isSticky
is still supported, but it is deprecated and will be removed in the next major version.
1.13.0
Minor Changes
-
#4291
dc62abc890f
Thanks @salihozdemir! - feat: added a new prop thatsticky
toRefineThemedLayoutV2HeaderProps
typefix: deprecated the
isStick
prop ofRefineThemedLayoutV2HeaderProps
typeTo provide backwards compatibility,
isSticky
is still supported, but it is deprecated and will be removed in the next major version.
1.12.0
Minor Changes
-
#4232
c99bc0ad7f7
Thanks @alicanerdurmaz! - feat:initialSiderCollapsed
added toRefineThemedLayoutV2Props
to control initial state of<ThemedSiderV2>
. From now on, you can control the initial collapsed state of<ThemedSiderV2>
by passing theinitialSiderCollapsed
prop to<ThemedLayoutV2>
.<ThemedLayoutV2 initialSiderCollapsed={true} // This will make the sider collapsed by default > {/* .. */} </ThemedLayoutV2>
-
#4209
3f4b5fef76f
Thanks @yildirayunlu! - feat: addisSticky
toRefineThemedLayoutV2HeaderProps
type
1.11.0
Minor Changes
-
#4232
c99bc0ad7f7
Thanks @alicanerdurmaz! - feat:initialSiderCollapsed
added toRefineThemedLayoutV2Props
to control initial state of<ThemedSiderV2>
. From now on, you can control the initial collapsed state of<ThemedSiderV2>
by passing theinitialSiderCollapsed
prop to<ThemedLayoutV2>
.<ThemedLayoutV2 initialSiderCollapsed={true} // This will make the sider collapsed by default > {/* .. */} </ThemedLayoutV2>
-
#4209
3f4b5fef76f
Thanks @yildirayunlu! - feat: addisSticky
toRefineThemedLayoutV2HeaderProps
type
1.10.0
Minor Changes
- #4163
deec38a034a
Thanks @yildirayunlu! - refactor: deprecatedRefineThemedLayoutProps
,RefineThemedLayoutSiderProps
andRefineThemedLayoutHeaderProps
forThemedLayoutV2
1.9.0
Minor Changes
- #4163
deec38a034a
Thanks @yildirayunlu! - refactor: deprecatedRefineThemedLayoutProps
,RefineThemedLayoutSiderProps
andRefineThemedLayoutHeaderProps
forThemedLayoutV2
1.8.0
Minor Changes
- #4163
deec38a034a
Thanks @yildirayunlu! - refactor: deprecatedRefineThemedLayoutProps
,RefineThemedLayoutSiderProps
andRefineThemedLayoutHeaderProps
forThemedLayoutV2
1.7.0
Minor Changes
- #4153
8d9c408d089
Thanks @yildirayunlu! - feat: addRefineThemedLayoutV2Props
,RefineThemedLayoutV2SiderProps
,RefineThemedLayoutV2HeaderProps
types forThemedLayoutV2
1.6.0
Minor Changes
- #4153
8d9c408d089
Thanks @yildirayunlu! - feat: addRefineThemedLayoutV2Props
,RefineThemedLayoutV2SiderProps
,RefineThemedLayoutV2HeaderProps
types forThemedLayoutV2
1.5.0
Minor Changes
-
#3971
2798f715361
Thanks @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
:isSiderOpen
prop is added to check the visibility of the sider from a parent component.onToggleSiderClick
prop 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
2798f715361
Thanks @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
:isSiderOpen
prop is added to check the visibility of the sider from a parent component.onToggleSiderClick
prop 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
0ffe70308b2
Thanks @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
0ffe70308b2
Thanks @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!
resourceNameOrRouteName
prop is deprecated in buttons.resource
prop is added to replaceresourceNameOrRouteName
prop.resource
prop can also useidentifier
property of the resource.
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Moving to the
@refinedev
scope 🎉🎉Moved to the
@refinedev
scope and updated our packages to use the new scope. From now on, all packages will be published under the@refinedev
scope with their new names.Now, we're also removing the
refine
prefix from all packages. So, the@pankod/refine-core
package is now@refinedev/core
,@pankod/refine-antd
is now@refinedev/antd
, and so on. -
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk!
meta
prop is added to common button prop types.
Patch Changes
0.16.0
Minor Changes
- #3822
0baa99ba787
Thanks @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
0baa99ba787
Thanks @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
b867497f469
Thanks @aliemir! - Updated image links inREADME.MD
with CDN -
Updated dependencies [
a47f17931a8
,b867497f469
]:- @pankod/refine-core@3.90.6
0.14.1
Patch Changes
-
#3220
b867497f469
Thanks @aliemir! - Updated image links inREADME.MD
with CDN -
Updated dependencies [
a47f17931a8
,b867497f469
]:- @pankod/refine-core@3.90.5
0.14.0
Minor Changes
-
#2839
5388a338ab
Thanks @aliemir! - AddaccessControl
prop to buttons and deprecateignoreAccessControlProvider
prop. -
#2836
e43e9a17ae
Thanks @alicanerdurmaz! - added locales prop to date fields
Patch Changes
-
#2834
476285e342
Thanks @alicanerdurmaz! - updated ui-types JSDoc -
Updated dependencies [
5388a338ab
]:- @pankod/refine-core@3.86.2
0.13.0
Minor Changes
- #2836
e43e9a17ae
Thanks @alicanerdurmaz! - added locales prop to date fields
0.12.0
Minor Changes
- #2839
5388a338ab
Thanks @aliemir! - AddaccessControl
prop to buttons and deprecateignoreAccessControlProvider
prop.
Patch Changes
-
#2834
476285e342
Thanks @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
19124711a7
Thanks @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
d78d2a2a99
Thanks @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
d7c8b7642b
Thanks @necatiozmen! - Removed redundant type inheritance and type casting -
Updated dependencies [
d7c8b7642b
]:- @pankod/refine-core@3.74.1
0.11.0
Minor Changes
- Add
providers
support on AuthPage register page.
0.10.0
Minor Changes
- #2551
a65525de6f
Thanks @yildirayunlu! - Addproviders
support on AuthPage register page.
0.9.2
Patch Changes
-
Removed unused
updatePasswordLink
andonSubmit
props from auth pages.Renamed
RefineResetPasswordFormTypes
toRefineForgotPasswordFormTypes
.Renamed
resetPasswordLink
toforgotPasswordLink
. -
Updated dependencies []:
- @pankod/refine-core@3.71.0
0.9.1
Patch Changes
-
#2524
27bf81bebb
Thanks @biskuvit! - Removed unusedupdatePasswordLink
andonSubmit
props from auth pages.Renamed
RefineResetPasswordFormTypes
toRefineForgotPasswordFormTypes
.Renamed
resetPasswordLink
toforgotPasswordLink
. -
Updated dependencies [
27bf81bebb
]:- @pankod/refine-core@3.70.0
0.9.0
Minor Changes
- Added
formProps
property toRefineAuthPageProps
,RefineForgotPasswordPageProps
,RefineRegisterPageProps
, andRefineUpdatePasswordPageProps
0.8.0
Minor Changes
- #2516
ad99916d6d
Thanks @omeraplak! - AddedformProps
property toRefineAuthPageProps
,RefineForgotPasswordPageProps
,RefineRegisterPageProps
, andRefineUpdatePasswordPageProps
0.7.0
Minor Changes
- Updated
Sider
types forrender
props.
Patch Changes
-
Updated
render
method type withcollapsed
prop inRefineLayoutSiderProps
. -
Added new types for
<AuthPage>
. You can see following new types:RefineAuthPageProps
export 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
628a37a675
Thanks @biskuvit! - Added new types for<AuthPage>
. You can see following new types:RefineAuthPageProps
export 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
7d5bf3023d
Thanks @ozkalai! - Updatedrender
method type withcollapsed
prop inRefineLayoutSiderProps
.
0.6.0
Minor Changes
- #2454
72487a4126
Thanks @ozkalai! - UpdatedSider
types forrender
props.
0.5.0
Minor Changes
- Update type declaration generation with
tsc
instead oftsup
for better navigation throughout projects source code.
Patch Changes
-
Update
TestWrapper
props withchildren
prop type. -
Updated dependencies []:
- @pankod/refine-core@3.67.0
0.4.0
Minor Changes
- #2440
0150dcd070
Thanks @aliemir! - Update type declaration generation withtsc
instead oftsup
for better navigation throughout projects source code.
Patch Changes
-
#2440
0150dcd070
Thanks @aliemir! - UpdateTestWrapper
props withchildren
prop 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
201846c77d
Thanks @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.