Skip to content

fix(antd, mantine): respect notification type in providers (#7477) - #7508

Open
sloemo01 wants to merge 2 commits into
refinedev:mainfrom
sloemo01:fix/notification-type-antd-mantine
Open

fix(antd, mantine): respect notification type in providers (#7477)#7508
sloemo01 wants to merge 2 commits into
refinedev:mainfrom
sloemo01:fix/notification-type-antd-mantine

Conversation

@sloemo01

@sloemo01 sloemo01 commented Jul 25, 2026

Copy link
Copy Markdown

Fixes #7477

Summary of Changes:

  • @refinedev/antd: Updated useNotificationProvider to call notification.success or notification.error when a notification type is passed, preventing Ant Design from ignoring type when passed inside generic notification.open(). Updated corresponding unit test assertions.
  • @refinedev/mantine: Updated useNotificationProvider so neutral or unspecified notification types no longer default to red error icons/styles.

@changeset-bot

changeset-bot Bot commented Jul 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fde5bec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@refinedev/antd Patch
@refinedev/mantine Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@sloemo01 sloemo01 changed the title fix(antd, mantine): respect notification type in providers fix(antd, mantine): respect notification type in providers (#7477) Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] notification type is not respected in @refinedev/antd and @refinedev/mantine

1 participant