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
ff43684f787
Thanks @salihozdemir! - fix: fixed an issue that caused the duplicate field errorPublished by refine-bot over 1 year ago
#4213 db3b63c1e71
Thanks @02JanDal! - feat: added select field capability to data provider mutation methods
Now you can pass select
field to create
, update
createMany
and updateMany
methods of data provider to get fields you need from the response.
For example:
useCreate({
resource: "posts",
variables: {
title: "Hello World",
content: "Lorem ipsum dolor sit amet",
},
meta: {
select: "title, content",
},
});
Published by refine-bot over 1 year ago
9694245718c
Thanks @alicanerdurmaz! - fixed: ThemedLayoutContextProvider
import path in internal usage.Published by refine-bot over 1 year ago
9694245718c
Thanks @alicanerdurmaz! - fixed: ThemedLayoutContextProvider
import path in internal usage.Published by refine-bot over 1 year ago
9694245718c
Thanks @alicanerdurmaz! - fixed: ThemedLayoutContextProvider
import path in internal usage.Published by refine-bot over 1 year ago
fbe109b5a8b
Thanks @salihozdemir! - Added new generic types to the useForm
hooks. Now you can pass the query types and the mutation types to the hook.Published by refine-bot over 1 year ago
fbe109b5a8b
Thanks @salihozdemir! - Added new generic types to the useForm
hooks. Now you can pass the query types and the mutation types to the hook.Published by refine-bot over 1 year ago
fbe109b5a8b
Thanks @salihozdemir! - Added new generic types to the useForm
hooks. Now you can pass the query types and the mutation types to the hook.Published by refine-bot over 1 year ago
#4241 fbe109b5a8b
Thanks @salihozdemir! - Added new generic types to the useForm
hooks. Now you can pass the query types and the mutation types to the hook.
import { useForm } from "@refinedev/core";
useForm<
TQueryFnData,
TError,
TVariables,
TData,
TResponse,
TResponseError
>();
Published by refine-bot over 1 year ago
#4232 c99bc0ad7f7
Thanks @alicanerdurmaz! - feat: initialSiderCollapsed
added to RefineThemedLayoutV2Props
to control initial state of <ThemedSiderV2>
.
From now on, you can control the initial collapsed state of <ThemedSiderV2>
by passing the initialSiderCollapsed
prop to <ThemedLayoutV2>
.
<ThemedLayoutV2
initialSiderCollapsed={true} // This will make the sider collapsed by default
>
{/* .. */}
</ThemedLayoutV2>
#4209 3f4b5fef76f
Thanks @yildirayunlu! - feat: add isSticky
prop to ThemedHeaderV2
component
import { ThemedHeaderV2, ThemedLayoutV2 } from "@refinedev/chakra-ui";
const CustomHeader = () => <ThemedHeaderV2 isSticky={true} />;
const App = () => (
<Refine>
// ...
<ThemedLayoutV2 Header={CustomHeader}>
<Outlet />
</ThemedLayoutV2>
// ...
</Refine>
);
#4223 c2ca3a67b22
Thanks @aliemir! - Fixed the ErrorComponent
height overflow issue which was causing header to be unresponsive.
Updated dependencies [c99bc0ad7f7
, 3f4b5fef76f
]:
Published by refine-bot over 1 year ago
#4209 3f4b5fef76f
Thanks @yildirayunlu! - feat: add isSticky
prop to ThemedHeaderV2
component
import { ThemedHeaderV2, ThemedLayoutV2 } from "@refinedev/antd";
const CustomHeader = () => <ThemedHeaderV2 isSticky={true} />;
const App = () => (
<Refine>
// ...
<ThemedLayoutV2 Header={CustomHeader}>
<Outlet />
</ThemedLayoutV2>
// ...
</Refine>
);
#4232 c99bc0ad7f7
Thanks @alicanerdurmaz! - feat: initialSiderCollapsed
added to RefineThemedLayoutV2Props
to control initial state of <ThemedSiderV2>
.
From now on, you can control the initial collapsed state of <ThemedSiderV2>
by passing the initialSiderCollapsed
prop to <ThemedLayoutV2>
.
<ThemedLayoutV2
initialSiderCollapsed={true} // This will make the sider collapsed by default
>
{/* .. */}
</ThemedLayoutV2>
c99bc0ad7f7
, 3f4b5fef76f
]:
Published by refine-bot over 1 year ago
#4232 c99bc0ad7f7
Thanks @alicanerdurmaz! - feat: initialSiderCollapsed
added to RefineThemedLayoutV2Props
to control initial state of <ThemedSiderV2>
.
From now on, you can control the initial collapsed state of <ThemedSiderV2>
by passing the initialSiderCollapsed
prop to <ThemedLayoutV2>
.
<ThemedLayoutV2
initialSiderCollapsed={true} // This will make the sider collapsed by default
>
{/* .. */}
</ThemedLayoutV2>
#4209 3f4b5fef76f
Thanks @yildirayunlu! - feat: add isSticky
prop to ThemedHeaderV2
component. Default is true
.
import { ThemedHeaderV2, ThemedLayoutV2 } from "@refinedev/mui";
const CustomHeader = () => <ThemedHeaderV2 isSticky={false} />;
const App = () => (
<Refine>
// ...
<ThemedLayoutV2 Header={CustomHeader}>
<Outlet />
</ThemedLayoutV2>
// ...
</Refine>
);
c99bc0ad7f7
, 3f4b5fef76f
]:
Published by refine-bot over 1 year ago
#4232 c99bc0ad7f7
Thanks @alicanerdurmaz! - feat: initialSiderCollapsed
added to RefineThemedLayoutV2Props
to control initial state of <ThemedSiderV2>
.
From now on, you can control the initial collapsed state of <ThemedSiderV2>
by passing the initialSiderCollapsed
prop to <ThemedLayoutV2>
.
<ThemedLayoutV2
initialSiderCollapsed={true} // This will make the sider collapsed by default
>
{/* .. */}
</ThemedLayoutV2>
#4209 3f4b5fef76f
Thanks @yildirayunlu! - feat: add isSticky
prop to ThemedHeaderV2
component
import { ThemedHeaderV2, ThemedLayoutV2 } from "@refinedev/mantine";
const CustomHeader = () => <ThemedHeaderV2 isSticky={true} />;
const App = () => (
<Refine>
// ...
<ThemedLayoutV2 Header={CustomHeader}>
<Outlet />
</ThemedLayoutV2>
// ...
</Refine>
);
#4223 c2ca3a67b22
Thanks @aliemir! - Fixed the ErrorComponent
height overflow issue which was causing header to be unresponsive.
Updated dependencies [c99bc0ad7f7
, 3f4b5fef76f
]:
Published by refine-bot over 1 year ago
#4232 c99bc0ad7f7
Thanks @alicanerdurmaz! - feat: initialSiderCollapsed
added to RefineThemedLayoutV2Props
to control initial state of <ThemedSiderV2>
.
From now on, you can control the initial collapsed state of <ThemedSiderV2>
by passing the initialSiderCollapsed
prop to <ThemedLayoutV2>
.
<ThemedLayoutV2
initialSiderCollapsed={true} // This will make the sider collapsed by default
>
{/* .. */}
</ThemedLayoutV2>
#4209 3f4b5fef76f
Thanks @yildirayunlu! - feat: add isSticky
to RefineThemedLayoutV2HeaderProps
type
Published by refine-bot over 1 year ago
dca1d8b7ca8
Thanks @mattbho! - Custom GraphQL data provider now allow users to provide a custom InputType via the meta field.Published by refine-bot over 1 year ago
#4194 8df15fe0e4e
Thanks @alicanerdurmaz! - feat: sorters.mode
prop added to useTable
and useDataGrid
hooks. This prop handles the sorting mode of the table. It can be either server
or off
.
sorters
are not sent to the server. You can use the sorters
value to sort the records on the client side.sorters
value.feat:filters.mode
prop added to useTable
and useDataGrid
hooks. This prop handles the filtering mode of the table. It can be either server
or off
.
filters
are not sent to the server. You can use the filters
value to filter the records on the client side.filters
value.b992e11e338
]:
Published by refine-bot over 1 year ago
#4194 8df15fe0e4e
Thanks @alicanerdurmaz! - feat: sorters.mode
prop added to useTable
and useDataGrid
hooks. This prop handles the sorting mode of the table. It can be either server
or off
.
sorters
are not sent to the server. You can use the sorters
value to sort the records on the client side.sorters
value.feat:filters.mode
prop added to useTable
and useDataGrid
hooks. This prop handles the filtering mode of the table. It can be either server
or off
.
filters
are not sent to the server. You can use the filters
value to filter the records on the client side.filters
value.Published by refine-bot over 1 year ago
#4194 8df15fe0e4e
Thanks @alicanerdurmaz! - feat: sorters.mode
prop added to useTable
and useDataGrid
hooks. This prop handles the sorting mode of the table. It can be either server
or off
.
sorters
are not sent to the server. You can use the sorters
value to sort the records on the client side.sorters
value.feat:filters.mode
prop added to useTable
and useDataGrid
hooks. This prop handles the filtering mode of the table. It can be either server
or off
.
filters
are not sent to the server. You can use the filters
value to filter the records on the client side.filters
value.8df15fe0e4e
Thanks @alicanerdurmaz! - fix: filters
, sorters
, current
, and, pageSize
removed from useMeta
returned object.Published by refine-bot over 1 year ago
#4194 8df15fe0e4e
Thanks @alicanerdurmaz! - feat: sorters.mode
prop added to useTable
and useDataGrid
hooks. This prop handles the sorting mode of the table. It can be either server
or off
.
sorters
are not sent to the server. You can use the sorters
value to sort the records on the client side.sorters
value.feat:filters.mode
prop added to useTable
and useDataGrid
hooks. This prop handles the filtering mode of the table. It can be either server
or off
.
filters
are not sent to the server. You can use the filters
value to filter the records on the client side.filters
value.Published by refine-bot over 1 year ago
b992e11e338
Thanks @alicanerdurmaz! - fixed: The values of the registered fields were set using the reset()
function. This has been changed to use getValues()
instead. This fixes an issue where the values of the registered fields' dirty state were not being set correctly.