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(rtl): add icon-start and icon-end attributes #11737

Merged
merged 5 commits into from
Jun 2, 2017

Conversation

AmitMY
Copy link
Contributor

@AmitMY AmitMY commented May 20, 2017

Short description of what this resolves:

icons position on rtl

Changes proposed in this pull request:

  • add icon-start and icon-end notations
  • deprecate icon-left and icon-right
  • replace in all core ionic files usage of icon-left and icon-right

Why not fully support icon-left and icon-right?

Because it is a css styling only, there will need to be use of float or dir which are both undesired, so the only remaining option is to deprecate the old way

Ionic Version: 3.x

@AmitMY AmitMY changed the title fix(rtl): add icon-start and icon-end notations fix(rtl): add icon-start and icon-end attributes May 20, 2017
@AmitMY
Copy link
Contributor Author

AmitMY commented Jun 1, 2017

@brandyscarney If icon was already fixed in v4, and already has side as "start"/"end", please close this PR, as it is not add any functionality, just name change

@brandyscarney
Copy link
Member

@AmitMY I'm good with merging it for the rename so master has it, but can you separate out the changes to the e2e tests into a different PR? I want to run snapshot with the new css & old markup and make sure it still looks the same.

@AmitMY
Copy link
Contributor Author

AmitMY commented Jun 1, 2017

@brandyscarney I reverted all of the changes to the testing

@brandyscarney brandyscarney merged commit a40b872 into ionic-team:master Jun 2, 2017
AmitMY added a commit to AmitMY/ionic that referenced this pull request Jun 6, 2017
* feat(icon): add start/end

* fix(icon): add all relevant deprecations

* fix(deprecation): add deprecation to missing selector

* revert(tests): revert icon-start/end from tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants