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 styles for soft shape in ionic theme #29552

Merged
merged 18 commits into from
May 28, 2024
Merged

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented May 23, 2024

Issue number: internal


What is the current behavior?

Avatar does not have styles for the "soft" shape in the ionic theme.

What is the new behavior?

  • Adds the styles for the soft shape (border radius)
    • The xsmall and small sizes have a different border radius than the larger sizes
  • Adds e2e tests for the soft shape

Does this introduce a breaking change?

  • Yes
  • No

Other information

Preview

Copy link

vercel bot commented May 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 28, 2024 5:53pm

@github-actions github-actions bot added the package: core @ionic/core package label May 23, 2024
@brandyscarney brandyscarney changed the base branch from ROU-10738 to ROU-10740 May 23, 2024 21:13
</style>

<div id="container">
<ion-avatar shape="soft" size="xsmall">AB</ion-avatar>
Copy link
Member Author

Choose a reason for hiding this comment

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

I added the xsmall and small sizes to this shape's tests only because it has a different border radius than the other sizes.

@brandyscarney brandyscarney marked this pull request as ready for review May 23, 2024 21:26
@brandyscarney brandyscarney requested a review from a team as a code owner May 23, 2024 21:26
Base automatically changed from ROU-10740 to next May 28, 2024 17:46
@brandyscarney brandyscarney merged commit 2d249d8 into next May 28, 2024
47 checks passed
@brandyscarney brandyscarney deleted the ROU-10739 branch May 28, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants