Skip to content

refactor(): remove no-border references#18954

Merged
liamdebeasi merged 5 commits into
nextfrom
remove-no-border-ref
Oct 1, 2019
Merged

refactor(): remove no-border references#18954
liamdebeasi merged 5 commits into
nextfrom
remove-no-border-ref

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented Jul 30, 2019

Copy link
Copy Markdown
Contributor

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

no-border references existed in the CSS for ion-footer and ion-header, and references existed in tests for ion-searchbar and ion-content

What is the new behavior?

There are no more references to no-border

Alternative: Use .ion-no-border

Does this introduce a breaking change?

  • Yes
  • No

Other information

@brandyscarney

Copy link
Copy Markdown
Member

What's the alternative here?

@liamdebeasi

Copy link
Copy Markdown
Contributor Author

@brandyscarney You can use --border-width on the toolbar instead

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I spoke with Liam about this on Slack, since this is working in v4 without any deprecation warnings we want to add a feature to hide the border using a boolean CSS variable like the following:

--show-border: 0;

Which would act to hide the border (by calculating against the height). This would allow the users an alternative over targeting the display in the ::after or ::before for md.

@brandyscarney brandyscarney force-pushed the next branch 2 times, most recently from bc99f4e to 76f1747 Compare September 27, 2019 19:52
@liamdebeasi

Copy link
Copy Markdown
Contributor Author

Updated branch to add .ion-no-border class with usage in different frameworks

@liamdebeasi liamdebeasi merged commit d9f6119 into next Oct 1, 2019
@liamdebeasi liamdebeasi deleted the remove-no-border-ref branch October 1, 2019 13:45
brandyscarney pushed a commit that referenced this pull request Oct 7, 2019
)

* remove no border ref

* change to dispaly

* update usage
brandyscarney pushed a commit that referenced this pull request Oct 8, 2019
)

* remove no border ref

* change to dispaly

* update usage
brandyscarney pushed a commit that referenced this pull request Oct 9, 2019
)

* remove no border ref

* change to dispaly

* update usage
brandyscarney pushed a commit that referenced this pull request Oct 10, 2019
)

* remove no border ref

* change to dispaly

* update usage
elylucas pushed a commit that referenced this pull request Oct 30, 2019
)

* remove no border ref

* change to dispaly

* update usage
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