Skip to content

fix: notification type not correctly rendered in antd and mantine providers#7489

Open
deepshekhardas wants to merge 1 commit into
refinedev:mainfrom
deepshekhardas:fix/notification-type-rendering
Open

fix: notification type not correctly rendered in antd and mantine providers#7489
deepshekhardas wants to merge 1 commit into
refinedev:mainfrom
deepshekhardas:fix/notification-type-rendering

Conversation

@deepshekhardas

Copy link
Copy Markdown

Summary

  • @refinedev/antd: notificationProvider now calls the notification.success / notification.error / notification.info / notification.warning shortcut methods instead of passing an unsupported type option to notification.open(). antd's open() has no type option, so it was silently dropped and every non-progress notification rendered with no icon/color.
  • @refinedev/mantine: notificationProvider now maps each notification type to its own color and icon (via a notificationStyleByType map) instead of collapsing every non-success type into the same red/error styling.
  • @refinedev/core: widened OpenNotificationParams.type to "success" | "error" | "progress" | "info" | "warning" and made it optional.

Fixes #7477
Resolves #6326

@changeset-bot

changeset-bot Bot commented Jul 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9c5979d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

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 [FEAT] Notification types

1 participant