fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

feat: Implement ToastLayout, remove ToastAlert

Open ling1726 opened this issue 2 years ago • 3 comments

Implements the ToastLayout component along with ToastTitle, ToastBody and ToastFooter.

This PR removes the existing ToastAlert component, because the new layout component handles all layout cases specified by design.

Title only:

image

With body and footer:

image

Addresse #26638

ling1726 avatar Jun 02 '23 11:06 ling1726

📊 Bundle size report

🤖 This report was generated against 54316f1ded96bffa3505140ec68031afd0cebdb6

fabricteam avatar Jun 02 '23 11:06 fabricteam

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 09a39ed708838a10f67898744ebd37fa0f42848c:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

codesandbox-ci[bot] avatar Jun 02 '23 11:06 codesandbox-ci[bot]

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 8b6d1d1fee189c864aa6a201888ed94f61b6dc7d (build)

size-auditor[bot] avatar Jun 02 '23 11:06 size-auditor[bot]