-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: Update existing toasts #27827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Update existing toasts #27827
Conversation
Creates a new `updateToast` controller to content or any options of an existing toast.
📊 Bundle size report🤖 This report was generated against 4b272c20e14f6438bd64461f9e4438e2d1d2020e |
packages/react-components/react-toast/stories/Toast/UpdateToast.stories.tsx
Outdated
Show resolved
Hide resolved
…t.stories.tsx Co-authored-by: Oleksandr Fediashov <[email protected]>
packages/react-components/react-toast/stories/Toast/UpdateToast.stories.tsx
Show resolved
Hide resolved
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 4b272c20e14f6438bd64461f9e4438e2d1d2020e (build) |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit c6a236b:
|
* feat/drawer-header: feat: Update existing toasts (microsoft#27827) bugfix: fix horizontal overflow on tree (microsoft#27825) feat: Allow toast options to be configured from the toaster (microsoft#27820) feat: creates TreeItemAside component (microsoft#27701) fix: generate API fix: use composition to build DrawerHeaderTitle Virtualizer: Dynamic scroll view and optimizations (microsoft#27298) bugfix(react-dialog): change DialogTitle default action icon size (microsoft#27815) feat: Implement Toast pause (microsoft#27811) fix: ToolbarToggleButton should not follow Toolbar size (microsoft#27797) feat: defers useControllableState state to initializer method (microsoft#27717) feat: Implement toast dismiss (microsoft#27810)
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
Adds the new `limit` prop to `Toaster` which will limit the number of visible toasts on the page. This is done internally using a priority queue based on the creation date. This will also support toast priorities in the queue. Addresses microsoft#27827
* feat: Implement limit for toast stacking Adds the new `limit` prop to `Toaster` which will limit the number of visible toasts on the page. This is done internally using a priority queue based on the creation date. This will also support toast priorities in the queue. Addresses #27827 * changefile * update md
|
Hey, I can't see "Toast" component on this page: https://react.fluentui.dev/ to be able to show it to my team. |
@Belvahuabai the toast is still a WIP, we expect to release it as a preview component soon |
Creates a new
updateToastcontroller to content or any options of an existing toast.Addresses #27776