github refinedev/refine @refinedev/antd@5.16.0

Minor Changes

  • #4272 420d2442741 Thanks @salihozdemir! - feat: added the fixed prop to the <ThemedSiderV2/> to allow the sider to be fixed

    The prop is optional and defaults to false. You can see the usage as follows:

    import { Refine } from "@refinedev/core";
    import { ThemedLayoutV2, ThemedSiderV2 } from "@refinedev/antd";
    
    const App: React.FC = () => {
        return (
            <Refine
             ...
            >
                <ThemedLayoutV2 Sider={() => <ThemedSiderV2 fixed />}>
                    {/* ... */}
                </ThemedLayoutV2>
            </Refine>
        );
    };
  • #4278 b14f2ad8a70 Thanks @alicanerdurmaz! - feat: added autoSubmitClose prop to useEditableTable.
    Now you can choose whether to close the table's row after submitting the form or not.

    const editableTable = useEditableTable({
        autoSubmitClose: false,
    });

Patch Changes

  • #4267 5e128c76c16 Thanks @yildirayunlu! - fix: onFinish prop override on useDrawerForm and useModalForm hook

    When override onFinish prop using the useDrawerForm and useModalForm hooks, the modal not close after submit the form.

  • #4277 7172c1b42d2 Thanks @salihozdemir! - fix: renamed the <ThemedHeaderV2/> prop isSticky to sticky

    To provide backwards compatibility, the old prop name is still supported, but it is deprecated and will be removed in the next major version.

    Example:

    import { Refine } from "@refinedev/core";
    import { ThemedLayoutV2, ThemedHeaderV2 } from "@refinedev/antd"; // or @refinedev/chakra-ui, @refinedev/mui, @refinedev/mantine
    
    const App: React.FC = () => {
        return (
            <Refine
                ...
            >
                <ThemedLayoutV2
                    Header={() => <ThemedHeaderV2 sticky />}
                >
                    {/* ... */}
                </ThemedLayoutV2>
            </Refine>
        );
    };

Don't miss a new refine release

NewReleases is sending notifications on new releases.