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(tab-indicator): add new component #202

Merged
merged 13 commits into from
Aug 3, 2018
Merged

feat(tab-indicator): add new component #202

merged 13 commits into from
Aug 3, 2018

Conversation

moog16
Copy link

@moog16 moog16 commented Aug 2, 2018

fixes #149

@@ -0,0 +1,80 @@
# React Ripple
Copy link
Contributor

Choose a reason for hiding this comment

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

Wow.

get contentClasses() {
const {contentClassName, icon} = this.props;
return classnames('mdc-tab-indicator__content', contentClassName, {
'mdc-tab-indicator__content--icon': icon,
Copy link
Contributor

Choose a reason for hiding this comment

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

this is fine for now

But will you file a bug on MDCW to NOT put modifier classes on sub elements? I think this should have been mdc-tab-indicator--icon and mdc-tab-indicator--underline...but we missed it in the review

handleTransitionEnd = (e) => {
this.props.onTransitionEnd(e);

if (!this.allowTransitionEnd_) return;
Copy link
Contributor

Choose a reason for hiding this comment

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

can you file a bug in MDCW to remove the register/deregister pattern? And leave a note here to update MDCR once that bug is fixed in MDCW

Copy link
Author

Choose a reason for hiding this comment

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

I opened this material-components/material-components-web#3279, but all other components are being tracked in this issue

@codecov-io
Copy link

codecov-io commented Aug 3, 2018

Codecov Report

Merging #202 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #202      +/-   ##
==========================================
+ Coverage   98.69%   98.78%   +0.08%     
==========================================
  Files          20       21       +1     
  Lines         768      821      +53     
  Branches       69       76       +7     
==========================================
+ Hits          758      811      +53     
  Misses         10       10
Impacted Files Coverage Δ
packages/tab-indicator/index.js 100% <100%> (ø)

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 e619e52...2e29b2b. Read the comment docs.

@moog16 moog16 merged commit 220c823 into master Aug 3, 2018
@moog16 moog16 deleted the feat/tab-indicator branch August 3, 2018 22:24
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.

3 participants