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

fix(item-option): add styling for slots other than icon-only #17711

Merged
merged 15 commits into from Mar 15, 2019

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Mar 7, 2019

Styles the item option properly when icons are slotted. This was not working before at all for top and bottom slots.

Also:

  • removes the e2e test from item/sliding in favor of all of them being under item-sliding
  • adds more usage examples for all framewroks
  • updates the styling for an anchor option so that it displays properly
  • updates the standalone e2e test to take screenshots of the start icon, top icon, and anchor options
  • updates the interactive e2e test to work locally
  • cleaned up the CSS for start/end icons
  • verified the styles for ben approval 💪

Screen Shot 2019-03-11 at 1 20 08 PM

closes #17737 fixes #17402

it was not working before this at all, also removes the e2e test from item/sliding in favor of all of them being under item-sliding, and adds JS usage

TODO:
- add e2e test with screenshots of this
- verify / clean up CSS design
- add other usage examples
@brandyscarney brandyscarney marked this pull request as ready for review March 11, 2019 17:24
Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

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

This looks really good! Just need to DRY up the test helpers a bit 🎉

core/src/components/item-sliding/test/standalone/e2e.ts Outdated Show resolved Hide resolved
@brandyscarney
Copy link
Member Author

Good to merge once the build passes 👍

@brandyscarney brandyscarney merged commit 14f758c into master Mar 15, 2019
@brandyscarney brandyscarney deleted the docs-item-sliding branch March 15, 2019 17:47
kiku-jw pushed a commit to kiku-jw/ionic that referenced this pull request May 16, 2019
…eam#17711)

styles the item option properly when icons are slotted. This was not working before at all for `top` and `bottom` slots.

- removes the e2e test from item/sliding in favor of all of them being under item-sliding
- adds more usage examples for all frameworks
- updates the styling for an anchor option so that it displays properly
- updates the standalone e2e test to take screenshots of the start icon, top icon, and anchor options
- updates the interactive e2e test to work locally
- cleaned up the CSS for start/end icons
- verified the styles for ben approval 💪

closes ionic-team#17737 fixes ionic-team#17402
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
3 participants