Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-boxplot

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-boxplot - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

10

CHANGELOG.md

@@ -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

10

dist/index.es.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc