Repository navigation
fix(components): update to include mode classes on missing components - #17838
Merged
Merged
Conversation
rename to checkModeClasses
liamdebeasi
reviewed
Mar 20, 2019
liamdebeasi
left a comment
Contributor
There was a problem hiding this comment.
Looking really good!
removes calls to `createThemedClasses`
brandyscarney
marked this pull request as ready for review
March 21, 2019 22:16
updates to add a line for necessary mode classes
liamdebeasi
approved these changes
Mar 25, 2019
Member
Author
Member
Author
|
The bug in my last comment is directly related to #17876 |
Member
Author
|
@liamdebeasi Could you take another look at this? I think the classes themselves are all good, I added it to ionicons and updated the dependency. I reverted the change with title because I think trying to remove the mode classes may be a breaking change and I want to investigate that more. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Short description of what this resolves:
Adds the mode class to the components that don't have it & need it, for example:
⬇️⬇️⬇️
Removed mode-less component classes from the internal CSS & component:
⬇️⬇️⬇️
Changes proposed in this pull request:
.card-content,.footer) and, if it was being used to target the element in the CSS, replaced it with the element's tag:ion-card-contention-footerion-headerion-infinite-scroll-contention-item-groupion-listion-pickerion-refresherion-slidesion-split-paneitemis added as a class to the following:ion-itemion-item-dividerion-item-groupbuttonis added as a class to the following:ion-buttonion-back-buttonion-menu-buttoncard-content-md) still for internal styling:ion-card-contention-footerion-headerion-infinite-scroll-contention-item-groupion-item-optionsion-listion-pickerion-refresherion-slidesion-split-paneFixes: #17608
Components that do not need mode classes ✅
action-sheet-controlleralert-controllerkeyboard-controllerloading-controllermenu-controllermodal-controllernav-popnav-pushnav-set-rootnavpicker-controllerplatformpopover-controllerroute-redirectrouterouter-outletroutertabtabstoast-controllervirtual-scrollComponents lacking mode classes ❌
✅ - component has classes added for mode (
ios,md)📝 - e2e test checking for classes has been added
action-sheetscopedalertscopedanchorshadowappavatarshadowback-buttonscopedbackdropshadowbadgeshadowbuttonshadowbuttonsscopedcard-contentcard-headershadowcard-subtitleshadowcard-titleshadowcardscopedcheckboxshadowchipshadowcolcontentshadowdatetimeshadowfab-buttonshadowfab-listshadowfabfootergridshadowheadericonimgshadowinfinite-scrollinfinite-scroll-contentinputscopeditem-dividershadowitem-optionshadowitem-optionsitem-slidingitemshadowitem-grouplabelscopedlistlist-headershadowloadingscopedmenu-buttonshadowmenu-toggleshadowmenushadowmodalscopednoteshadowpickerscopedpicker-columnpopoverscopedprogress-barshadowradio-groupradioshadowrangeshadowrefresherrefresher-contentreorder-groupreordershadowripple-effectshadowrowshadowsearchbarscopedsegment-buttonshadowsegmentscopedselect-optionshadowselect-popoverscopedselectshadowskeleton-textshadowslideslidesshadowspinnershadowsplit-panetab-barshadowtab-buttonshadowtextshadowtextareascopedthumbnailshadowtitleshadowtoastshadowtoggleshadowtoolbarshadow