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

react-vis

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-vis - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

17

dist/lib/radial-chart/radial-chart.js

@@ -236,2 +236,3 @@ 'use strict';

opacityRange: _theme.OPACITY_RANGE,
_opacityValue: 1,
colorRange: _theme.DISCRETE_COLOR_RANGE,

@@ -298,16 +299,2 @@ colorType: 'category'

/**
* Get the attribute value if it is available.
* @param {string} attr Attribute name.
* @returns {*} Attribute value if available, fallback value or undefined
* otherwise.
* @protected
*/
}, {
key: '_getAttributeValue',
value: function _getAttributeValue(attr) {
return (0, _scalesUtils.getAttributeValue)(this.state.scaleProps, attr);
}
/**
* Update the radial chart. Assign new styles and positions to the sections.

@@ -336,3 +323,3 @@ * @private

var sections = _d3.default.select(container).selectAll('path').data(pie(data)).on('click', this._sectionClick).on('mouseover', this._sectionMouseOver).on('mouseout', this._sectionMouseOut);
this._applyTransition(sections).attr('d', arc).style('opacity', this._getAttributeValue('opacity')).style('fill', this._getAttributeFunctor('fill') || this._getAttributeFunctor('color')).style('stroke', this._getAttributeFunctor('stroke'));
this._applyTransition(sections).attr('d', arc).style('opacity', this._getAttributeFunctor('opacity')).style('fill', this._getAttributeFunctor('fill') || this._getAttributeFunctor('color')).style('stroke', this._getAttributeFunctor('stroke'));
}

@@ -339,0 +326,0 @@ }, {

2

package.json
{
"name": "react-vis",
"version": "0.3.2",
"version": "0.3.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Anton Bulyenov <antonb@uber.com>",

@@ -1,6 +0,6 @@

# react-vis ![Build Status](https://travis-ci.org/uber-common/react-vis.svg?branch=master)
# react-vis ![Build Status](https://travis-ci.org/uber/react-vis.svg?branch=master)
![Demo of XYPlot](docs/assets/react-vis.gif?raw=true)
See the live demo at http://uber-common.github.io/react-vis/
See the live demo at http://uber.github.io/react-vis

@@ -85,2 +85,8 @@ ## Overview

### 0.3.2
* `colorRange`, `colorDomain`, `colorType`, `opacityRange`, `opacityDomain` and `opacityType` properties are now supported for the Treemap scales (more info about scales is [here](docs/scales-and-data.md)).
* Basic mouse interactions for arcs were added to `RadialChart`: now `onSectionClick`, `onSectionMouseOver` and `onSectionMouseOut` are supported.
* Several children-related bugs are fixed (see [#54](https://github.com/uber-common/react-vis/issues/54) and [#47](https://github.com/uber-common/react-vis/issues/47)).
### 0.3.1

@@ -87,0 +93,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