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

style(Card): update typings and propTypes usage #1284

Merged
merged 1 commit into from
Feb 5, 2017
Merged

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.

@codecov-io
Copy link

codecov-io commented Feb 5, 2017

Codecov Report

Merging #1284 into master will increase coverage by <.01%.

@@            Coverage Diff             @@
##           master    #1284      +/-   ##
==========================================
+ Coverage   95.91%   95.92%   +<.01%     
==========================================
  Files         883      883              
  Lines        4926     4928       +2     
==========================================
+ Hits         4725     4727       +2     
  Misses        201      201
Impacted Files Coverage Δ
src/views/Card/CardGroup.js 100% <ø> (ø)
src/views/Card/Card.js 100% <ø> (ø)
src/views/Card/CardContent.js 100% <ø> (ø)
src/views/Card/CardMeta.js 100% <100%> (ø)
src/views/Card/CardHeader.js 100% <100%> (ø)
src/views/Card/CardDescription.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 ced73f2...f3d30e4. Read the comment docs.

common.propKeyOnlyToClassName(Card, 'centered')
common.propKeyOnlyToClassName(Card, 'fluid')
common.propKeyOnlyToClassName(Card, 'raised')
common.rendersChildren(Card)

common.propValueOnlyToClassName(Card, 'color', SUI.COLORS)
Copy link
Member Author

Choose a reason for hiding this comment

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

Missing test for color prop.

Copy link
Member

Choose a reason for hiding this comment

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

❤️

common.propKeyOnlyToClassName(Card, 'centered')
common.propKeyOnlyToClassName(Card, 'fluid')
common.propKeyOnlyToClassName(Card, 'raised')
common.rendersChildren(Card)

common.propValueOnlyToClassName(Card, 'color', SUI.COLORS)
Copy link
Member

Choose a reason for hiding this comment

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

❤️

@levithomason levithomason merged commit 070178e into master Feb 5, 2017
@levithomason levithomason deleted the style/card branch February 5, 2017 23:06
@levithomason
Copy link
Member

Released in semantic-ui-react@0.64.8.

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