Skip to content

style(Progress): refactor, update typings and remove propTypes #1269

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

Merged
merged 1 commit into from
Feb 2, 2017

Conversation

layershifter
Copy link
Member

This PR is part of work for removing propTypes in production bundle (#524, #731).
Also, cleanups and updates typings for #1072.


This PR contains serious refactoring of component, need your review @levithomason

inverted, label, percent, precision, progress, size, success, total, value, warning,
} = props
/**
* A progress bar shows the progression of a task.
Copy link
Member Author

Choose a reason for hiding this comment

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

Comment for docs.

@codecov-io
Copy link

Codecov Report

Merging #1269 into master will increase coverage by -0.01%.

@@            Coverage Diff            @@
##           master   #1269      +/-   ##
=========================================
- Coverage   95.91%   95.9%   -0.01%     
=========================================
  Files         882     882              
  Lines        4917    4914       -3     
=========================================
- Hits         4716    4713       -3     
  Misses        201     201
Impacted Files Coverage Δ
src/modules/Progress/Progress.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 1cdabd2...fa3a9db. Read the comment docs.

@levithomason
Copy link
Member

Tests are passing, I looked it over, and I also pulled this branch down to try it out. Looks great, let's merge and see how we did :)

@levithomason levithomason merged commit 5026979 into master Feb 2, 2017
@levithomason levithomason deleted the style/progress branch February 2, 2017 09:09
@levithomason
Copy link
Member

Released in [email protected].

harel pushed a commit to harel/Semantic-UI-React that referenced this pull request Feb 18, 2017
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.

3 participants