refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.

MIT License

Downloads
1.1M
Stars
25.3K
Committers
269

Bot releases are visible (Hide)

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - [email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Minor Changes

  • #5609 fd38d9c71a6 Thanks @Cavdy! - feat: ability to pass an argument to usePermissions #5607

    Ability to pass an argument or parameters to usePermissions hook

    const params = { tenantId: "id" };
    usePermissions({ params });
    

    Resolves #5607

  • #5610 17c39ee2ee0 Thanks @Conqxeror! - feat: allow passing function to optionLabel and optionValue props for useSelect hook.

    const { options } = useSelect({
      optionLabel: (item) => `${item.firstName} ${item.lastName}`,
      optionValue: (item) => item.id,
    });
    

    feat: add searchField prop to useSelect hook.

    Can be used to specify which field will be searched with value given to onSearch function.

    const { onSearch } = useSelect({ searchField: "name" });
    
    onSearch("John"); // Searchs by `name` field with value John.
    

    By default, it uses optionLabel's value, if optionLabel is a string. Uses title field otherwise.

    // When `optionLabel` is string.
    const { onSearch } = useSelect({ optionLabel: "name" });
    
    onSearch("John"); // Searchs by `name` field with value John.
    
    // When `optionLabel` is function.
    const { onSearch } = useSelect({
      optionLabel: (item) => `${item.id} - ${item.name}`,
    });
    
    onSearch("John"); // Searchs by `title` field with value John.
    

    Resolves #4880

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 8 months ago

Patch Changes

  • #5640 e504c5b043c Thanks @BatuhanW! - feat: added "integration" option to "add" command.

    Now you can run the following command to add integration into your existing project:

    > npm run refine add integration
    
    ? Which integration do you want to add? (Use arrow keys)
     Ant Design - Setup Ant Design with Refine
      React Router - Setup routing with React Router
    

    For now, Ant Design integration doesn't support NextJS and Remix projects.

refine - [email protected]

Published by refine-bot 9 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 9 months ago

Patch Changes

refine - @refinedev/[email protected]

Published by refine-bot 9 months ago

Patch Changes