adobe / spectrum-web-components

Spectrum Web Components
https://opensource.adobe.com/spectrum-web-components/
Apache License 2.0
1.3k stars 205 forks source link

fix(slider): update slider config to process the tick css correctly #4905

Closed Rajdeepc closed 3 weeks ago

Rajdeepc commented 3 weeks ago

Description

sp-slider tick UI was distorted due to addition of a new attribute from the latest foundation release of @spectrum-css/slider where the spectrum-config was not parsing the css correctly and was overriding the .controls display attribute from inline-block to flex

Related issue(s)

Motivation and context

How has this been tested?

Screenshots (if appropriate)

Types of changes

Checklist

Best practices

This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against main.

github-actions[bot] commented 3 weeks ago

Branch preview

Visual regression test results When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs: - [High Contrast Mode | Medium | LTR](https://fb80e8d05731e2c09aeb1ce7b435b0da--spectrum-web-components.netlify.app/review/) - [Spectrum | Light | Medium | LTR](https://e5f0d7a8d0e6ececd5996d2ef08d995d--spectrum-web-components.netlify.app/review/) - [Spectrum | Light | Medium | RTL](https://5d377fabcb83efe06db8e3331f3b2c94--spectrum-web-components.netlify.app/review/) - [Spectrum | Light | Large | LTR](https://26283b2679fb4eb981d5d7c7141f2903--spectrum-web-components.netlify.app/review/) - [Spectrum | Light | Large | RTL](https://92b71c8196e88718265089281d24d1a7--spectrum-web-components.netlify.app/review/) - [Spectrum | Dark | Medium | LTR](https://ae9721860fd011f42aadb1030a73c010--spectrum-web-components.netlify.app/review/) - [Spectrum | Dark | Medium | RTL](https://a7118768ca3bf2086f6443a948983911--spectrum-web-components.netlify.app/review/) - [Spectrum | Dark | Large | LTR](https://14104fc2f860ad4e858285d4b28077d6--spectrum-web-components.netlify.app/review/) - [Spectrum | Dark | Large | RTL](https://15d83b967ff82222c3fda878cd664622--spectrum-web-components.netlify.app/review/) - [Express | Light | Medium | LTR](https://0af33c47d366ef2f3cfaf872a19429e2--spectrum-web-components.netlify.app/review/) - [Express | Light | Medium | RTL](https://7166f42a1e7c470e41190ff8bc6ce735--spectrum-web-components.netlify.app/review/) - [Express | Light | Large | LTR](https://0de8bdf61da25910b50eed0bedf73c62--spectrum-web-components.netlify.app/review/) - [Express | Light | Large | RTL](https://461cf8d32b6f8a4ad6bd6967a4d03425--spectrum-web-components.netlify.app/review/) - [Express | Dark | Medium | LTR](https://bba89308b444789e9dacef6e7af10514--spectrum-web-components.netlify.app/review/) - [Express | Dark | Medium | RTL](https://29a96f89440a71efd3a650bdb07a7389--spectrum-web-components.netlify.app/review/) - [Express | Dark | Large | LTR](https://872b5c2c718dfcf0ac0974e213a78647--spectrum-web-components.netlify.app/review/) - [Express | Dark | Large | RTL](https://e3bf04627c6127465cfea64811f3e2ad--spectrum-web-components.netlify.app/review/) - [Spectrum-two | Light | Medium | LTR](https://fc27f70508de5a197e7d186347c5930a--spectrum-web-components.netlify.app/review/) - [Spectrum-two | Light | Medium | RTL](https://02ae3cb9e0ec87f6a48e381ca1d41375--spectrum-web-components.netlify.app/review/) - [Spectrum-two | Light | Large | LTR](https://25dc5f9ac4b79837668f8b9b8c6e0442--spectrum-web-components.netlify.app/review/) - [Spectrum-two | Light | Large | RTL](https://55e160815bcf4a581889abe4640d4e3c--spectrum-web-components.netlify.app/review/) - [Spectrum-two | Dark | Medium | LTR](https://ff9b917feca97d153687b137168d5e65--spectrum-web-components.netlify.app/review/) - [Spectrum-two | Dark | Medium | RTL](https://ac80207c8f4095e71fe20f3c2087027a--spectrum-web-components.netlify.app/review/) - [Spectrum-two | Dark | Large | LTR](https://5541be0ab6eb00c89d5124499a88b767--spectrum-web-components.netlify.app/review/) - [Spectrum-two | Dark | Large | RTL](https://a0a4891c6b7ed418b881dede31a17ce4--spectrum-web-components.netlify.app/review/)
github-actions[bot] commented 3 weeks ago

Tachometer results

Chrome ## slider [_permalink_](#user-content-slider) ### test-basic | Version | Bytes | Avg Time | vs remote | vs branch | |---|---|---|---|---| | npm latest | 742 kB | 78.37ms - 80.80ms | - | faster βœ”
2% - 7%
1.81ms - 5.77ms | | branch | 717 kB | 81.82ms - 84.94ms | slower ❌
2% - 7%
1.81ms - 5.77ms | - |
Firefox ## slider [_permalink_](#user-content-slider) ### test-basic | Version | Bytes | Avg Time | vs remote | vs branch | |---|---|---|---|---| | npm latest | 742 kB | 163.79ms - 173.57ms | - | unsure πŸ”
-7% - +1%
-11.38ms - +2.50ms | | branch | 717 kB | 168.19ms - 178.05ms | unsure πŸ”
-2% - +7%
-2.50ms - +11.38ms | - |
coveralls commented 3 weeks ago

Pull Request Test Coverage Report for Build 11741716272

Details


Totals Coverage Status
Change from base Build 11739806566: 0.0%
Covered Lines: 32314
Relevant Lines: 32732

πŸ’› - Coveralls
github-actions[bot] commented 3 weeks ago

Lighthouse scores

Category Latest (report) Main (report) Branch (report)
Performance 0.99 0.99 0.99
Accessibility 1 1 1
Best Practices 1 1 1
SEO 1 0.92 0.92
PWA 1 1 1
What is this? [Lighthouse](https://github.com/GoogleChrome/lighthouse) scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on main ("Main"). Higher scores are better, but *note that the SEO scores on Netlify URLs are artifically constrained to 0.92.*

Transfer Size

Category Latest Main Branch
Total 250.779 kB 236.435 kB πŸ† 236.672 kB
Scripts 60.764 kB 54.082 kB πŸ† 54.249 kB
Stylesheet 54.015 kB 47.956 kB 47.922 kB πŸ†
Document 6.207 kB 5.441 kB πŸ† 5.493 kB
Font 126.824 kB 126.606 kB πŸ† 126.659 kB

Request Count

Category Latest Main Branch
Total 52 52 52
Scripts 41 41 41
Stylesheet 5 5 5
Document 1 1 1
Font 2 2 2