Skip to content

feat(item): add styles for disabled state in ionic theme #29583

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

Merged
merged 12 commits into from
Jun 6, 2024
Merged

Conversation

rugoncalves
Copy link

Issue number: internal


What is the new behavior?

  • Added scss for the disabled state of ion-item for the Ionic theme
  • Added disabled elements to test page

Does this introduce a breaking change?

  • Yes
  • No

Copy link

vercel bot commented Jun 4, 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 Jun 6, 2024 5:37pm

@github-actions github-actions bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package labels Jun 4, 2024
@rugoncalves rugoncalves marked this pull request as ready for review June 4, 2024 13:49
@rugoncalves rugoncalves requested a review from a team as a code owner June 4, 2024 13:49
@rugoncalves rugoncalves requested a review from BenOsodrac June 4, 2024 13:49
@rugoncalves rugoncalves changed the base branch from main to next June 4, 2024 13:55
@github-actions github-actions bot removed package: angular @ionic/angular package package: vue @ionic/vue package labels Jun 4, 2024
Copy link
Member

Choose a reason for hiding this comment

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

Do we plan to add e2e tests for this component later? We could probably just add the ionic theme here: https://github.com/ionic-team/ionic-framework/blob/next/core/src/components/item/test/disabled/item.e2e.ts

Copy link
Author

Choose a reason for hiding this comment

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

@gnbm thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

@rugoncalves Ideally, IMO we should have them separated. But for the sake of speed, I agree with @brandyscarney about adding it to that file.

Copy link
Author

Choose a reason for hiding this comment

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

Thank you @brandyscarney for the help on this. @gnbm automated screenshot tests are running on the ionic theme for the disabled state.

Co-authored-by: Brandy Carney <[email protected]>
@rugoncalves rugoncalves merged commit 00a6b2d into next Jun 6, 2024
46 checks passed
@rugoncalves rugoncalves deleted the ROU-10764 branch June 6, 2024 19:48
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.

5 participants