react-vis
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -187,4 +187,4 @@ 'use strict'; | ||
value: function _getOrientationStyle(orientation, x, y) { | ||
var xCSS = void 0; | ||
var yCSS = void 0; | ||
var xCSS = undefined; | ||
var yCSS = undefined; | ||
@@ -191,0 +191,0 @@ if (orientation === ORIENTATION_BOTTOMLEFT || orientation === ORIENTATION_BOTTOMRIGHT) { |
@@ -66,3 +66,3 @@ 'use strict'; | ||
var ticksTotal = void 0; | ||
var ticksTotal = undefined; | ||
if (innerHeight < 700) { | ||
@@ -69,0 +69,0 @@ if (innerHeight > 300) { |
@@ -128,3 +128,3 @@ 'use strict'; | ||
var cellContent = void 0; | ||
var cellContent = undefined; | ||
if (cell instanceof Object) { | ||
@@ -131,0 +131,0 @@ cellContent = cell; |
@@ -114,3 +114,3 @@ 'use strict'; | ||
*/ | ||
var SCALE_FUNCTIONS = (_SCALE_FUNCTIONS = {}, _defineProperty(_SCALE_FUNCTIONS, LINEAR_SCALE_TYPE, _d3Scale2.default.scaleLinear), _defineProperty(_SCALE_FUNCTIONS, ORDINAL_SCALE_TYPE, _d3Scale2.default.scaleOrdinal), _defineProperty(_SCALE_FUNCTIONS, CATEGORY_SCALE_TYPE, _d3Scale2.default.scaleOrdinal), _defineProperty(_SCALE_FUNCTIONS, LOG_SCALE_TYPE, _d3Scale2.default.scaleLog), _defineProperty(_SCALE_FUNCTIONS, TIME_SCALE_TYPE, _d3Scale2.default.scaleTime), _defineProperty(_SCALE_FUNCTIONS, TIME_UTC_SCALE_TYPE, _d3Scale2.default.scaleUtc), _SCALE_FUNCTIONS); | ||
var SCALE_FUNCTIONS = (_SCALE_FUNCTIONS = {}, _defineProperty(_SCALE_FUNCTIONS, LINEAR_SCALE_TYPE, _d3Scale2.default.scaleLinear), _defineProperty(_SCALE_FUNCTIONS, ORDINAL_SCALE_TYPE, _d3Scale2.default.scalePoint), _defineProperty(_SCALE_FUNCTIONS, CATEGORY_SCALE_TYPE, _d3Scale2.default.scaleOrdinal), _defineProperty(_SCALE_FUNCTIONS, LOG_SCALE_TYPE, _d3Scale2.default.scaleLog), _defineProperty(_SCALE_FUNCTIONS, TIME_SCALE_TYPE, _d3Scale2.default.scaleTime), _defineProperty(_SCALE_FUNCTIONS, TIME_UTC_SCALE_TYPE, _d3Scale2.default.scaleUtc), _SCALE_FUNCTIONS); | ||
@@ -131,6 +131,6 @@ /** | ||
if (scaleFn) { | ||
var nextValue = void 0; | ||
var nextValue = undefined; | ||
var currentValue = scaleFn(values[0]); | ||
var distance = Infinity; | ||
var nextDistance = void 0; | ||
var nextDistance = undefined; | ||
@@ -164,6 +164,3 @@ for (var i = 1; i < values.length; i++) { | ||
if (type !== ORDINAL_SCALE_TYPE) { | ||
return SCALE_FUNCTIONS[type]().domain(domain).range(range); | ||
} | ||
return SCALE_FUNCTIONS[type]().domain(domain).rangePoints(range, 1); | ||
return SCALE_FUNCTIONS[type]().domain(domain).range(range); | ||
} | ||
@@ -180,3 +177,3 @@ | ||
function _getDomainByAttr(allData, attr, type) { | ||
var domain = void 0; | ||
var domain = undefined; | ||
var attr0 = attr + '0'; | ||
@@ -183,0 +180,0 @@ |
@@ -145,3 +145,3 @@ 'use strict'; | ||
children.forEach(function (child) { | ||
var props = void 0; | ||
var props = undefined; | ||
if (isSeriesChild(child)) { | ||
@@ -148,0 +148,0 @@ var seriesTypeInfo = seriesTypesInfo[child.type.displayName]; |
{ | ||
"name": "react-vis", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Anton Bulyenov <antonb@uber.com>", |
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
1687340
37309
50
1