A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.
MIT License
Bot releases are visible (Hide)
Published by refine-bot over 1 year ago
#4381 500cf2becc2
Thanks @yildirayunlu! - feat: support i18n
Supports i18n if i18nProvider
is defined.
Updated dependencies [500cf2becc2
, 28fe67047a0
]:
Published by refine-bot over 1 year ago
#4313 28fe67047a0
Thanks @abdellah711! - feat: implement generateDefaultDocumentTitle
function
This function generates a default document title based on the current route by following these rules (resource
in this case is "Post"):
Posts | refine
#{id} Edit Post | refine
#{id} Show Post | refine
Create new Post | refine
resource
) -> refine
500cf2becc2
Thanks @yildirayunlu! - feat: export TranslationContext
Published by refine-bot over 1 year ago
#4382 83ff1076f5c
Thanks @aliemir! - Updated the inference process for list
and create
actions to use all items in the list instead of just the first item. This is done to avoid breaking the output when a single record is corrupted or wrongfully inferred.
Now, for the list
and create
actions, each item in the list response will be used to infer the fields then the most repeated fields will be accepted as the type for the field.
8b3137e9e9d
Thanks @aliemir! - Fixed the code generation issue with Mantine's create
and edit
inferencers when used with meta
values.Published by refine-bot over 1 year ago
9f33a3a6c12
Thanks @aliemir! - Bumped version of superplate-cli
to latest version.Published by refine-bot over 1 year ago
bf4011f1d00
Thanks @aliemir! - Updated @mui/material
and @mui/icons-material
imports to use subpath imports.Published by refine-bot over 1 year ago
bf4011f1d00
Thanks @aliemir! - Updated @mui/material
and @mui/icons-material
imports to use subpath imports.Published by refine-bot over 1 year ago
79955f1dfef
Thanks @BatuhanW! - feat: added proxy command to CLIPublished by refine-bot over 1 year ago
4690c627e05
Thanks @yildirayunlu! - fix: fixed className
for easier selection of all buttons and titles of CRUD componentsPublished by refine-bot over 1 year ago
4690c627e05
Thanks @yildirayunlu! - fix: fixed className
for easier selection of all buttons and titles of CRUD componentsPublished by refine-bot over 1 year ago
4690c627e05
Thanks @yildirayunlu! - fix: fixed className
for easier selection of all buttons and titles of CRUD componentsPublished by refine-bot over 1 year ago
4690c627e05
Thanks @yildirayunlu! - fix: fixed className
for easier selection of all buttons and titles of CRUD componentsPublished by refine-bot over 1 year ago
#4303 0c569f42b4e
Thanks @alicanerdurmaz! - feat: added crud component types.
Now ActionButtonRenderer
has a new generic type TExtraProps
. This will allow us to pass extra props to the renderer.
feat: added TEditButtonProps
, TDeleteButtonProps
, TRefreshButtonProps
, and, TListButtonProps
generic types to RefineCrudShowProps
.
Now RefineCrudShowProps
can take generic types for all the buttons.
9a5f79186c1
Thanks @yildirayunlu! - feat: added className
for easier selection of all buttons and titles of CRUD componentsPublished by refine-bot over 1 year ago
0c569f42b4e
Thanks @alicanerdurmaz! - added: button props tests for headerButtons
and footerButtons
renderer functions0c569f42b4e
, 9a5f79186c1
]:
Published by refine-bot over 1 year ago
e6eb4dea627
Thanks @yildirayunlu! - feat: syncWithLocation.syncId
default to true
for useModalForm
.Published by refine-bot over 1 year ago
#4303 0c569f42b4e
Thanks @alicanerdurmaz! - feat: added default button props into the renderer functions headerButtons
and footerButtons
in 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/mui";
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>
);
};
#4312 9a5f79186c1
Thanks @yildirayunlu! - feat: added className
for easier selection of all buttons and titles of CRUD components
Updated dependencies [0c569f42b4e
, e6eb4dea627
, 9a5f79186c1
]:
Published by refine-bot over 1 year ago
#4306 e6eb4dea627
Thanks @yildirayunlu! - feat: syncWithLocation.syncId
default to true
for useModalForm
.
#4303 0c569f42b4e
Thanks @alicanerdurmaz! - feat: added default button props into the renderer functions headerButtons
and footerButtons
in 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>
);
};
#4312 9a5f79186c1
Thanks @yildirayunlu! - feat: added className
for easier selection of all buttons and titles of CRUD components
Updated dependencies [0c569f42b4e
, 9a5f79186c1
]:
Published by refine-bot over 1 year ago
#4303 0c569f42b4e
Thanks @alicanerdurmaz! - feat: added default button props into the renderer functions headerButtons
and footerButtons
in 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/chakra-ui";
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>
);
};
#4312 9a5f79186c1
Thanks @yildirayunlu! - feat: added className
for easier selection of all buttons and titles of CRUD components
Updated dependencies [0c569f42b4e
, e6eb4dea627
, 9a5f79186c1
]:
Published by refine-bot over 1 year ago
#4303 0c569f42b4e
Thanks @alicanerdurmaz! - feat: added default button props into the renderer functions headerButtons
and footerButtons
in 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/antd";
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>
);
};
#4306 e6eb4dea627
Thanks @yildirayunlu! - feat: syncWithLocation.syncId
default to true
for useDrawerForm
and useModalForm
.
#4312 9a5f79186c1
Thanks @yildirayunlu! - feat: added className
for easier selection of all buttons and titles of CRUD components
Updated dependencies [0c569f42b4e
, 9a5f79186c1
]:
Published by refine-bot over 1 year ago
7fa008b7ff7
Thanks @salihozdemir! - refactor: minimized the packages scopePublished by refine-bot over 1 year ago
#4291 dc62abc890f
Thanks @salihozdemir! - feat: added a new prop that sticky
to RefineThemedLayoutV2HeaderProps
type
fix: deprecated the isStick
prop of RefineThemedLayoutV2HeaderProps
type
To provide backwards compatibility, isSticky
is still supported, but it is deprecated and will be removed in the next major version.