react-boxplot
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -7,2 +7,9 @@ Changelog | ||
[1.1.0] | ||
------- | ||
For compatibility with CSS in JS, pass through `className` property from | ||
Boxplot to the enclosed svg element. | ||
[1.0.0] | ||
@@ -25,4 +32,5 @@ ------- | ||
[Unreleased]: https://github.com/paulmelnikow/icedfrisby-nock/compare/1.0.0...HEAD | ||
[Unreleased]: https://github.com/paulmelnikow/icedfrisby-nock/compare/1.1.0...HEAD | ||
[1.1.0]: https://github.com/paulmelnikow/icedfrisby-nock/compare/1.0.0...0.1.0 | ||
[1.0.0]: https://github.com/paulmelnikow/icedfrisby-nock/compare/1.0.0...0.4.0 | ||
[0.4.0]: https://github.com/paulmelnikow/icedfrisby-nock/compare/0.4.0...0.3.1 |
@@ -30,3 +30,4 @@ /** | ||
outlierRadius = _ref.outlierRadius, | ||
outlierStyle = _ref.outlierStyle; | ||
outlierStyle = _ref.outlierStyle, | ||
className = _ref.className; | ||
@@ -60,3 +61,3 @@ var xMax = void 0, | ||
'svg', | ||
{ width: width, height: height }, | ||
{ width: width, height: height, className: className }, | ||
React.createElement( | ||
@@ -153,3 +154,6 @@ 'g', | ||
outlierRadius: PropTypes.number, | ||
outlierStyle: PropTypes.object | ||
outlierStyle: PropTypes.object, | ||
// Pass through, to support styled-components. | ||
className: PropTypes.string | ||
}, | ||
@@ -156,0 +160,0 @@ |
@@ -34,3 +34,4 @@ 'use strict'; | ||
outlierRadius = _ref.outlierRadius, | ||
outlierStyle = _ref.outlierStyle; | ||
outlierStyle = _ref.outlierStyle, | ||
className = _ref.className; | ||
@@ -64,3 +65,3 @@ var xMax = void 0, | ||
'svg', | ||
{ width: width, height: height }, | ||
{ width: width, height: height, className: className }, | ||
React.createElement( | ||
@@ -157,3 +158,6 @@ 'g', | ||
outlierRadius: PropTypes.number, | ||
outlierStyle: PropTypes.object | ||
outlierStyle: PropTypes.object, | ||
// Pass through, to support styled-components. | ||
className: PropTypes.string | ||
}, | ||
@@ -160,0 +164,0 @@ |
{ | ||
"name": "react-boxplot", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Simple SVG box plots in React", | ||
@@ -5,0 +5,0 @@ "author": "Paul Melnikow <github@paulmelnikow.com>", |
react-boxplot | ||
============= | ||
> Simple SVG box plots in React | ||
Simple SVG box plots in React. | ||
@@ -46,3 +46,3 @@ [![NPM](https://img.shields.io/npm/v/react-boxplot.svg)](https://www.npmjs.com/package/react-boxplot) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
``` | ||
```jsx | ||
class Example extends Component { | ||
@@ -81,12 +81,15 @@ render () { | ||
In one terminal, start the build for the library: | ||
```sh | ||
yarn install | ||
yarn | ||
yarn start | ||
``` | ||
Or, using npm: | ||
And, in a second terminal, start the build for the example app: | ||
```sh | ||
npm install | ||
npm run start | ||
cd example | ||
yarn | ||
yarn start | ||
``` | ||
@@ -93,0 +96,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18998
377
112
0