-
Notifications
You must be signed in to change notification settings - Fork 210
feat(toast): S2 migration #3643
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4414661
feat(toast): S2 migration
cdransf fdb0d15
fix(toast): vertical and horizontal spacing
cdransf fe1f2cb
chore(toast): remove unused properties
cdransf cf674bb
chore(toast): additional spacing refinements and explanatory comments
cdransf b8df74c
marissa wip
marissahuysentruyt f6c246e
styles wip
marissahuysentruyt a633da4
chore(toast): add .spectrum-Toast--noButton for SWC use
cdransf c8a36af
fix(toast): update toast test case message w/out button
cdransf 899a1ea
fix(toast): update toast has button story
cdransf 5a807ef
fix(toast): scope close button styles to toast
cdransf 1641138
fix(toast): clean up a few typos
cdransf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| --- | ||
| "@spectrum-css/toast": major | ||
| --- | ||
|
|
||
| #### S2 toast migration | ||
|
|
||
| This migrates the `toast` component to S2. Custom properties have been remapped per the design spec. Mods have been added and placeholder icons have been updated from the new workflow icons. The toast no longer supports a divider. | ||
|
|
||
| ##### Tokens | ||
|
|
||
| | Before | After | | ||
| | ---------------------------- | ---------------------------- | | ||
| | --spectrum-corner-radius-100 | --spectrum-corner-radius-800 | | ||
|
|
||
| ##### Mods | ||
|
|
||
| The following mods have been added. | ||
|
|
||
| `--mod-toast-font-family` | ||
| `--mod-toast-font-style` | ||
| `--mod-toast-icon-block-size` | ||
| `--mod-toast-spacing-action-button-to-close` | ||
| `--mod-toast-spacing-bottom-edge-to-close-button` | ||
| `--mod-toast-spacing-close-button-to-edge` | ||
| `--mod-toast-spacing-text-to-close-button` | ||
| `--mod-toast-spacing-top-edge-to-close-button` | ||
|
|
||
| ##### Passthroughs | ||
|
|
||
| The following passthrough has been added. | ||
|
|
||
| `--mod-closebutton-icon-color-default` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.