spectrum-css icon indicating copy to clipboard operation
spectrum-css copied to clipboard

feat(toast)!: migrate toast to core tokens

Open yosevu opened this issue 3 years ago • 8 comments

Description

This PR migrates the Toast component to core-tokens.

  • Removes deprecated variants (warning, error, success)

How and where has this been tested?

  • Tested locally referencing the Components batch 2 XD file.
  • Tested with VoiceOver on Safari
  • Tested WHCM with forced colors in Chrome Emulation

Screenshots

To-do list

~~- [ ] If my change impacts other components, I have tested to make sure they don't break.~~ ~~- [ ] If my change impacts documentation, I have updated the documentation accordingly.~~

  • [x] I have read the CONTRIBUTING document.
  • [x] I have tested these changes in Windows High Contrast mode.
  • [x] This pull request is ready to merge.

yosevu avatar Jul 27 '22 11:07 yosevu

🚀 Deployed on https://pr-1483--spectrum-css.netlify.app

github-actions[bot] avatar Jul 27 '22 11:07 github-actions[bot]

Beta released: - @spectrum-css/[email protected]

pfulton avatar Aug 03 '22 16:08 pfulton

New beta released due to faulty build: - @spectrum-css/[email protected]

pfulton avatar Aug 05 '22 18:08 pfulton

@yosevu We're seeing some size changes and close button issues when we try to integrate this with the Spectrum Web Components project.

Here's my draft PR where you can take a look at their VRT results.

Would you mind double-checking on the sizing and maybe also try bringing in the latest release of the CloseButton? That might actually help things.

pfulton avatar Aug 05 '22 21:08 pfulton

I updated the token used for the padding-inline of the close button. I believe this was the issue based on the comment in @pfulton draft PR. Would you mind taking a look confirm it @bernhard-adobe? I also updated to the latest CloseButton package.

Design: Screen Shot 2022-08-10 at 10 14 35 PM Beta: Screen Shot 2022-08-10 at 10 17 39 PM Updated: Screen Shot 2022-08-10 at 10 16 48 PM

yosevu avatar Aug 10 '22 13:08 yosevu

VRT is: https://spectrum-visual-regression.ci.corp.adobe.com/view/Spectrum%20CSS/job/css-vrt-test/31/

bernhard-adobe avatar Aug 10 '22 22:08 bernhard-adobe

VRT test is https://spectrum-visual-regression.ci.corp.adobe.com/view/Spectrum%20CSS/job/css-vrt-test/31/artifact/backstop_data/html_report/index.html 2022-08-10 -- 1483 - toast.zip

bernhard-adobe avatar Aug 11 '22 05:08 bernhard-adobe

Released: 8.0.0-beta.2

pfulton avatar Aug 16 '22 16:08 pfulton

Could I get a new release for this @pfulton or @GarthDB?

yosevu avatar Sep 09 '22 14:09 yosevu

Released: @spectrum-css/[email protected]

pfulton avatar Sep 12 '22 15:09 pfulton

I think we're ready to merge this in and graduate the release.

pfulton avatar Sep 28 '22 17:09 pfulton