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

🚀 [shape] add <Area /> and tests #183

Merged
merged 1 commit into from
Oct 31, 2017

Conversation

williaster
Copy link
Collaborator

🚀 Enhancements

This PR adds a new <Area /> component (+ tests) to the @vx/shape package to support confidence bands, which the current <AreaClosed /> component doesn't support. I left the current <AreaClosed /> component in addition to the new component to avoid breaking changes and because I think there's merit having specialized components for this.

Tested with jest and functionally / visually with a linked @data-ui library:
screen shot 2017-10-31 at 11 00 32 am

[shape][area] more proptypes

[shape][area][tests] fix test
@@ -67,6 +67,15 @@ Object.defineProperty(exports, 'LinkRadial', {
}
});

var _Area = require('./shapes/Area');
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not sure how the build file got in, but looks like it's been there for a while. let me know if you want me to remove it here!

Copy link
Member

Choose a reason for hiding this comment

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

🤦‍♂️ my fault. I'll fix this.

Copy link
Member

@hshoff hshoff left a comment

Choose a reason for hiding this comment

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

Woooo!

@@ -67,6 +67,15 @@ Object.defineProperty(exports, 'LinkRadial', {
}
});

var _Area = require('./shapes/Area');
Copy link
Member

Choose a reason for hiding this comment

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

🤦‍♂️ my fault. I'll fix this.

@hshoff hshoff added this to the v0.0.145 milestone Oct 31, 2017
@hshoff hshoff merged commit c10b3f3 into airbnb:master Oct 31, 2017
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