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

feat(pagination+pagination-nav): remove need for custom active focus style #1384

Merged
merged 9 commits into from
Nov 21, 2017

Conversation

tmorehouse
Copy link
Member

@tmorehouse tmorehouse commented Nov 20, 2017

Avoids the need for custom CSS until properly addressed in Bootstrap V4.

Interim fix based on 2nd option at twbs/bootstrap#24838 (using the class btn-primary on the active page-link)

Since no custom style is required anymore, the SFC .vue files were replaced with .js files

Avoids the need for custom CSS until properly addressed in Bootstrap V4.

See twbs/bootstrap#24838
@tmorehouse tmorehouse changed the title [pagination-mixin] use btn-primary to get focus styling feat(pagination+pagination-nav): remove need for custom active focus style Nov 20, 2017
@codecov-io
Copy link

codecov-io commented Nov 20, 2017

Codecov Report

Merging #1384 into dev will decrease coverage by 0.17%.
The diff coverage is 51.72%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #1384      +/-   ##
==========================================
- Coverage   43.12%   42.95%   -0.18%     
==========================================
  Files         130      130              
  Lines        2887     2873      -14     
  Branches      892      889       -3     
==========================================
- Hits         1245     1234      -11     
+ Misses       1254     1249       -5     
- Partials      388      390       +2
Impacted Files Coverage Δ
src/mixins/pagination.js 51% <100%> (+0.49%) ⬆️
src/components/pagination/pagination.js 26.66% <26.66%> (ø)
src/components/pagination-nav/pagination-nav.js 76.92% <76.92%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6bfadf1...7065468. Read the comment docs.

@tmorehouse tmorehouse merged commit 1e1b099 into dev Nov 21, 2017
@tmorehouse tmorehouse deleted the pagination/focus branch November 21, 2017 13:21
pi0 pushed a commit that referenced this pull request Nov 29, 2017
…style (#1384)

* [pagination-mixin] use btn-primary to get focus styling

Avoids the need for custom CSS until properly addressed in Bootstrap V4.

See twbs/bootstrap#24838

* Update pagination-nav.js

* Delete pagination-nav.vue

* Update pagination.js

* Delete pagination.vue

* ESLint

* ESLint

* Include active style when pagination disabled

* Update pagination.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants