Skip to content

Conversation

@OS-martacarlos
Copy link

Issue number: internal


What is the current behavior?

Spinners inside buttons don't have any specific styling.

What is the new behavior?

According to the design, for the ionic theme, the size of spinners inside buttons need specific values. To accommodate those:

  • Added new rules for the spinner inside buttons
  • Adding a new testing page and screenshot tests

Does this introduce a breaking change?

  • Yes
  • No

@OS-martacarlos OS-martacarlos requested a review from a team as a code owner March 7, 2025 09:38
@OS-martacarlos OS-martacarlos requested a review from gnbm March 7, 2025 09:38
@vercel
Copy link

vercel bot commented Mar 7, 2025

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 Mar 11, 2025 3:36pm

@github-actions github-actions bot added the package: core @ionic/core package label Mar 7, 2025
also update e2e tests spanshots
import { expect } from '@playwright/test';
import { configs, test } from '@utils/test/playwright';

configs({ modes: ['ionic-md', 'ionic-ios'] }).forEach(({ config, screenshot, title }) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Since the functionality doesn't change, we don't need to test for all the modes. I also realize that we don't need to test RTL since functionality doesn't change.

I suggest only testing ionic-md. Make sure to remove the snapshots for ionic-ios and RTL.

Suggested change
configs({ modes: ['ionic-md', 'ionic-ios'] }).forEach(({ config, screenshot, title }) => {
configs({ modes: ['ionic-md'], directions: ['ltr'] }).forEach(({ config, screenshot, title }) => {

OS-martacarlos and others added 2 commits March 11, 2025 09:49
Co-authored-by: Maria Hutt <thetaPC@users.noreply.github.com>
Copy link
Contributor

Choose a reason for hiding this comment

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

The RTL snapshots need to be removed since those aren't being tested.

Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM

@OS-martacarlos OS-martacarlos merged commit aa5d109 into next Mar 11, 2025
47 checks passed
@OS-martacarlos OS-martacarlos deleted the ROU-11613 branch March 11, 2025 16:56
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.

4 participants