Skip to content
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(Avatar): add in expanded size range #1734

Merged
merged 2 commits into from
Sep 6, 2023
Merged

Conversation

booc0mtaco
Copy link
Contributor

Summary:

  • support for xs, xl, xxl, and xxxl

Test Plan:

  • Wrote automated tests
  • CI tests / new tests are not applicable
  • Manually tested my changes, but I want to keep the details secret
  • Manually tested my changes, and here are the details:
    • Check with design to confirm type and icon sizes

- support for xs, xl, xxl, and xxxl
@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Merging #1734 (f7968f2) into next (345bdbf) will decrease coverage by 0.04%.
Report is 8 commits behind head on next.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             next    #1734      +/-   ##
==========================================
- Coverage   92.32%   92.28%   -0.04%     
==========================================
  Files         146      146              
  Lines        2579     2579              
  Branches      665      665              
==========================================
- Hits         2381     2380       -1     
  Misses        183      183              
- Partials       15       16       +1     
Files Changed Coverage Δ
src/components/Avatar/Avatar.tsx 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link

github-actions bot commented Aug 23, 2023

size-limit report 📦

Path Size
components 95.29 KB (0%)
styles 32.77 KB (+0.28% 🔺)

@booc0mtaco booc0mtaco added the needs-design Design work pending label Sep 1, 2023
@booc0mtaco booc0mtaco marked this pull request as ready for review September 1, 2023 23:35
@booc0mtaco booc0mtaco requested a review from a team September 5, 2023 17:38
Comment on lines +78 to +79
height: calc(var(--eds-size-base-unit) * 20);
width: calc(var(--eds-size-base-unit) * 20);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just because there is no --eds-size-20?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct. I didn't want to create a token for that yet since we might move to t-shirt sizes instead of fixed constants

@booc0mtaco booc0mtaco merged commit 7af6e5e into next Sep 6, 2023
@booc0mtaco booc0mtaco deleted the aholloway/EDS-1104 branch September 6, 2023 18:46
@booc0mtaco booc0mtaco mentioned this pull request Sep 7, 2023
booc0mtaco added a commit that referenced this pull request Sep 7, 2023
## [13.2.0](v13.1.1...v13.2.0) (2023-09-07)


### Features

* **Avatar:** add in expanded size range ([#1734](#1734)) ([7af6e5e](7af6e5e))
* **tokens:** add tooling for EDS theming ([#1738](#1738)) ([91497bf](91497bf))


### Bug Fixes

* opt our rollup CJS build into TS's module interop behavior ([#1747](#1747)) ([2b0855e](2b0855e))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-design Design work pending
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant