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

@devexpress/dx-react-chart

Package Overview
Dependencies
Maintainers
24
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devexpress/dx-react-chart - npm Package Compare versions

Comparing version 1.3.0-beta.2 to 1.3.0

37

dist/dx-react-chart.es.js
/**
* Bundle of @devexpress/dx-react-chart
* Generated: 2018-05-24
* Version: 1.3.0-beta.2
* Generated: 2018-06-04
* Version: 1.3.0
* License: https://js.devexpress.com/Licensing

@@ -11,3 +11,3 @@ */

import { Action, Getter, Plugin, PluginHost, Template, TemplateConnector, TemplatePlaceholder, createStateHelper } from '@devexpress/dx-react-core';
import { BOTTOM, HORIZONTAL, LEFT, RIGHT, TOP, axesData, axisCoordinates, bBoxes, barPointAttributes, checkZeroStart, coordinates, domains, findSeriesByName, lineAttributes, palette, pieAttributes, pointAttributes, processData, seriesData, seriesWithStacks, stacks, xyScales } from '@devexpress/dx-chart-core';
import { BOTTOM, HORIZONTAL, LEFT, RIGHT, TOP, axesData, axisCoordinates, axisName, bBoxes, barPointAttributes, checkZeroStart, coordinates, domains, findSeriesByName, lineAttributes, palette, pieAttributes, pointAttributes, processData, seriesData, seriesWithStacks, stacks, xyScales } from '@devexpress/dx-chart-core';

@@ -276,6 +276,11 @@ var asyncGenerator = function () {

var getArgumentAxisName = function getArgumentAxisName(_ref) {
var argumentAxisName = _ref.argumentAxisName;
return axisName(argumentAxisName);
};
return createElement(
Plugin,
null,
createElement(Getter, { name: 'data', value: data })
createElement(Getter, { name: 'data', value: data }),
createElement(Getter, { name: 'argumentAxisName', computed: getArgumentAxisName })
);

@@ -805,3 +810,4 @@ }

text = _props.text,
position = _props.position;
position = _props.position,
restProps = objectWithoutProperties(_props, ['textComponent', 'text', 'position']);

@@ -816,3 +822,3 @@ var placeholder = position;

createElement(TemplatePlaceholder, null),
createElement(Text, { text: text })
createElement(Text, _extends({ text: text }, restProps))
)

@@ -854,3 +860,3 @@ );

argumentField = _props.argumentField,
axisName = _props.axisName,
axisName$$1 = _props.axisName,
stackProp = _props.stack,

@@ -862,3 +868,3 @@ restProps = objectWithoutProperties(_props, ['name', 'point', 'barWidth', 'groupWidth', 'valueField', 'argumentField', 'axisName', 'stack']);

return seriesData(series, {
valueField: valueField, argumentField: argumentField, name: name, axisName: axisName, stack: stackProp
valueField: valueField, argumentField: argumentField, name: name, axisName: axisName$$1, stack: stackProp
});

@@ -869,3 +875,3 @@ };

startFromZero = _ref2$startFromZero === undefined ? {} : _ref2$startFromZero;
return checkZeroStart(startFromZero, axisName, pathType);
return checkZeroStart(startFromZero, axisName$$1, pathType);
};

@@ -898,3 +904,3 @@ return createElement(

var scales = xyScales(domains$$1, argumentAxisName, axisName, layouts.pane || { width: width, height: height }, stacks$$1, groupWidth, barWidth);
var scales = xyScales(domains$$1, argumentAxisName, axisName$$1, layouts.pane || { width: width, height: height }, stacks$$1, groupWidth, barWidth);
var coord = coordinates(data, scales, argumentField, valueField, name);

@@ -1405,4 +1411,4 @@ var size = point.size;

name = _props.name,
Root = _props.rootComponent,
Line = _props.lineComponent;
Line = _props.lineComponent,
restProps = objectWithoutProperties(_props, ['placeholder', 'name', 'lineComponent']);

@@ -1435,3 +1441,3 @@ return createElement(

return createElement(
Root,
Fragment,
null,

@@ -1444,3 +1450,3 @@ coordinates$$1.ticks.map(function (_ref3) {

text = _ref3.text;
return createElement(Line, {
return createElement(Line, _extends({
key: text,

@@ -1451,3 +1457,3 @@ x1: orientation === 'horizontal' ? x1 : width,

y2: y2
});
}, restProps));
})

@@ -1467,3 +1473,2 @@ );

placeholder: string,
rootComponent: func.isRequired,
lineComponent: func.isRequired

@@ -1470,0 +1475,0 @@ };

/**
* Bundle of @devexpress/dx-react-chart
* Generated: 2018-05-24
* Version: 1.3.0-beta.2
* Generated: 2018-06-04
* Version: 1.3.0
* License: https://js.devexpress.com/Licensing

@@ -276,6 +276,11 @@ */

var getArgumentAxisName = function getArgumentAxisName(_ref) {
var argumentAxisName = _ref.argumentAxisName;
return dxChartCore.axisName(argumentAxisName);
};
return React.createElement(
dxReactCore.Plugin,
null,
React.createElement(dxReactCore.Getter, { name: 'data', value: data })
React.createElement(dxReactCore.Getter, { name: 'data', value: data }),
React.createElement(dxReactCore.Getter, { name: 'argumentAxisName', computed: getArgumentAxisName })
);

@@ -805,3 +810,4 @@ }

text = _props.text,
position = _props.position;
position = _props.position,
restProps = objectWithoutProperties(_props, ['textComponent', 'text', 'position']);

@@ -816,3 +822,3 @@ var placeholder = position;

React.createElement(dxReactCore.TemplatePlaceholder, null),
React.createElement(Text, { text: text })
React.createElement(Text, _extends({ text: text }, restProps))
)

@@ -854,3 +860,3 @@ );

argumentField = _props.argumentField,
axisName = _props.axisName,
axisName$$1 = _props.axisName,
stackProp = _props.stack,

@@ -862,3 +868,3 @@ restProps = objectWithoutProperties(_props, ['name', 'point', 'barWidth', 'groupWidth', 'valueField', 'argumentField', 'axisName', 'stack']);

return dxChartCore.seriesData(series, {
valueField: valueField, argumentField: argumentField, name: name, axisName: axisName, stack: stackProp
valueField: valueField, argumentField: argumentField, name: name, axisName: axisName$$1, stack: stackProp
});

@@ -869,3 +875,3 @@ };

startFromZero = _ref2$startFromZero === undefined ? {} : _ref2$startFromZero;
return dxChartCore.checkZeroStart(startFromZero, axisName, pathType);
return dxChartCore.checkZeroStart(startFromZero, axisName$$1, pathType);
};

@@ -898,3 +904,3 @@ return React.createElement(

var scales = dxChartCore.xyScales(domains$$1, argumentAxisName, axisName, layouts.pane || { width: width, height: height }, stacks$$1, groupWidth, barWidth);
var scales = dxChartCore.xyScales(domains$$1, argumentAxisName, axisName$$1, layouts.pane || { width: width, height: height }, stacks$$1, groupWidth, barWidth);
var coord = dxChartCore.coordinates(data, scales, argumentField, valueField, name);

@@ -1405,4 +1411,4 @@ var size = point.size;

name = _props.name,
Root = _props.rootComponent,
Line = _props.lineComponent;
Line = _props.lineComponent,
restProps = objectWithoutProperties(_props, ['placeholder', 'name', 'lineComponent']);

@@ -1435,3 +1441,3 @@ return React.createElement(

return React.createElement(
Root,
React.Fragment,
null,

@@ -1444,3 +1450,3 @@ coordinates$$1.ticks.map(function (_ref3) {

text = _ref3.text;
return React.createElement(Line, {
return React.createElement(Line, _extends({
key: text,

@@ -1451,3 +1457,3 @@ x1: orientation === 'horizontal' ? x1 : width,

y2: y2
});
}, restProps));
})

@@ -1467,3 +1473,2 @@ );

placeholder: PropTypes.string,
rootComponent: PropTypes.func.isRequired,
lineComponent: PropTypes.func.isRequired

@@ -1470,0 +1475,0 @@ };

{
"name": "@devexpress/dx-react-chart",
"version": "1.3.0-beta.2",
"version": "1.3.0",
"description": "Composable plugin-based chart component for React",

@@ -44,5 +44,5 @@ "author": {

"devDependencies": {
"@devexpress/dx-testing": "1.3.0-beta.2",
"babel-core": "^6.26.0",
"babel-jest": "^22.1.0",
"@devexpress/dx-testing": "1.3.0",
"babel-core": "^6.26.3",
"babel-jest": "^23.0.1",
"babel-plugin-external-helpers": "^6.22.0",

@@ -53,24 +53,24 @@ "babel-plugin-transform-object-rest-spread": "^6.26.0",

"babel-preset-react": "^6.24.1",
"core-js": "^2.5.3",
"core-js": "^2.5.7",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.16.0",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-filenames": "^1.2.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.15.1",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jest": "^21.17.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.6.1",
"jest": "^22.1.4",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-test-renderer": "^16.3.2",
"eslint-plugin-react": "^7.8.2",
"jest": "^23.1.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-test-renderer": "^16.4.0",
"rollup": "0.50.0",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-license": "^0.6.0",
"rollup-plugin-node-resolve": "^3.0.2"
"rollup-plugin-node-resolve": "^3.3.0"
},
"dependencies": {
"@devexpress/dx-chart-core": "1.3.0-beta.2",
"@devexpress/dx-chart-core": "1.3.0",
"d3-scale": "^2.0.0",

@@ -80,3 +80,3 @@ "prop-types": "^15.6.1"

"peerDependencies": {
"@devexpress/dx-react-core": "1.3.0-beta.2",
"@devexpress/dx-react-core": "1.3.0",
"react": "^16.2.0",

@@ -83,0 +83,0 @@ "react-dom": "^16.2.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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