forked from spotify/reactochart
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kris Salvador
authored
May 21, 2018
1 parent
b13aab4
commit 94c453c
Showing
2 changed files
with
57 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,61 @@ | ||
## 0.4.6 (2018-05-21) | ||
|
||
* [#63](https://github.com/spotify/reactochart/pull/63) Include css in root | ||
* [#65](https://github.com/spotify/reactochart/pull/65) Test for AreaBarChart | ||
* [#66](https://github.com/spotify/reactochart/pull/66) Namespace CSS | ||
* [#67](https://github.com/spotify/reactochart/pull/67) Add disableMouseWheelZoom to ZoomContainer | ||
|
||
## 0.4.5 (2018-04-18) | ||
- [#56](https://github.com/spotify/reactochart/pull/56) Add `react-docgen` to devDependencies. | ||
|
||
* [#56](https://github.com/spotify/reactochart/pull/56) Add `react-docgen` to devDependencies. | ||
|
||
## 0.4.4 (2018-04-10) | ||
- [#55](https://github.com/spotify/reactochart/pull/55) Add `controlled` prop to `ZoomContainer` so it can be controlled by props instead of internal state. | ||
|
||
* [#55](https://github.com/spotify/reactochart/pull/55) Add `controlled` prop to `ZoomContainer` so it can be controlled by props instead of internal state. | ||
|
||
## 0.4.3 (2018-03-12) | ||
- [#54](https://github.com/spotify/reactochart/pull/54) Fix for non-string `SankeyDiagram` `nodeLabelText` prop (see 0.4.2 notes) - now rendered as SVG instead of HTML wrapped in `<foreignObject>` | ||
|
||
* [#54](https://github.com/spotify/reactochart/pull/54) Fix for non-string `SankeyDiagram` `nodeLabelText` prop (see 0.4.2 notes) - now rendered as SVG instead of HTML wrapped in `<foreignObject>` | ||
|
||
## 0.4.2 (2018-02-27) | ||
- Added CHANGELOG file | ||
- [#52](https://github.com/spotify/reactochart/pull/52) New `SankeyDiagram` features | ||
- `marginTop`, `marginBottom`, marginLeft`, `marginRight` props for leaving internal empty space around the diagram | ||
- `nodeLabelText` prop may now be a function which returns an arbitrary HTML component (instead of only a string) | ||
- [#53](https://github.com/spotify/reactochart/pull/53) Documentation typo fixes | ||
|
||
* Added CHANGELOG file | ||
* [#52](https://github.com/spotify/reactochart/pull/52) New `SankeyDiagram` features | ||
* `marginTop`, `marginBottom`, marginLeft`,`marginRight` props for leaving internal empty space around the diagram | ||
* `nodeLabelText` prop may now be a function which returns an arbitrary HTML component (instead of only a string) | ||
* [#53](https://github.com/spotify/reactochart/pull/53) Documentation typo fixes | ||
|
||
## 0.4.1 (2018-01-26) | ||
- [#49](https://github.com/spotify/reactochart/pull/49) New `SankeyDiagram` prop `shouldClone`, to control whether data should be cloned or mutated in place | ||
|
||
* [#49](https://github.com/spotify/reactochart/pull/49) New `SankeyDiagram` prop `shouldClone`, to control whether data should be cloned or mutated in place | ||
|
||
## 0.4.0 (2018-01-03) | ||
- [#47](https://github.com/spotify/reactochart/issues/47) API Changes - see ticket for detailed discussion | ||
- `getThing` getter props renamed to just `thing` - now accept either a constant value or accessor function (when possible) | ||
- Deprecated string/number/null shorthand for getter props | ||
- Deprecated combined `thing={{x:..., y:...}}` props in favor of separate `xThing` and `yThing` props | ||
- Deprecated combined `thing={{top:..., bottom:..., left:..., right:...}}` props in favor of separate `thingTop`, `thingBottom`, `thingLeft`, `thingRight` props | ||
- New chart component: `SankeyDiagram` | ||
- Improved documentation and test coverage | ||
- Added markdown support in docs (including for component prop docs) | ||
- Removed compiled library files from repo - build library on `prepublish` instead | ||
|
||
* [#47](https://github.com/spotify/reactochart/issues/47) API Changes - see ticket for detailed discussion | ||
* `getThing` getter props renamed to just `thing` - now accept either a constant value or accessor function (when possible) | ||
* Deprecated string/number/null shorthand for getter props | ||
* Deprecated combined `thing={{x:..., y:...}}` props in favor of separate `xThing` and `yThing` props | ||
* Deprecated combined `thing={{top:..., bottom:..., left:..., right:...}}` props in favor of separate `thingTop`, `thingBottom`, `thingLeft`, `thingRight` props | ||
* New chart component: `SankeyDiagram` | ||
* Improved documentation and test coverage | ||
* Added markdown support in docs (including for component prop docs) | ||
* Removed compiled library files from repo - build library on `prepublish` instead | ||
|
||
## 0.3.1 (2017-11-15) | ||
- Improved test coverage & docs for `Bar` and `BarChart` components | ||
- Fixed incorrect `react` peerDependency version | ||
- Added missing `sinon` devDependency | ||
- Added `yarn` lock file | ||
|
||
* Improved test coverage & docs for `Bar` and `BarChart` components | ||
* Fixed incorrect `react` peerDependency version | ||
* Added missing `sinon` devDependency | ||
* Added `yarn` lock file | ||
|
||
## 0.3.0 (2017-08-10) | ||
- New documentation, including tutorials and interactive examples | ||
- New chart components: `ColorHeatmap`, `FunnelChart` | ||
- Unified branches from several contributors (see [#45](https://github.com/spotify/reactochart/pull/45) for details) | ||
- Added `className` and `style` props to `AreaHeatmap` | ||
- Added `style` prop to `LineChart` | ||
- Added `pointStyle` prop to `ScatterPlot` | ||
- Changed `MarkerLineChart` to use `horizontal` prop, rather than `orientation`, for consistency | ||
- Fixed missing import in `Scale` | ||
- Fixed incorrect propTypes in `ScatterPlot` and `YAxis` | ||
|
||
* New documentation, including tutorials and interactive examples | ||
* New chart components: `ColorHeatmap`, `FunnelChart` | ||
* Unified branches from several contributors (see [#45](https://github.com/spotify/reactochart/pull/45) for details) | ||
* Added `className` and `style` props to `AreaHeatmap` | ||
* Added `style` prop to `LineChart` | ||
* Added `pointStyle` prop to `ScatterPlot` | ||
* Changed `MarkerLineChart` to use `horizontal` prop, rather than `orientation`, for consistency | ||
* Fixed missing import in `Scale` | ||
* Fixed incorrect propTypes in `ScatterPlot` and `YAxis` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,10 @@ | |
"name": "reactochart", | ||
"description": "Reactochart - React Charts, graphs and data visualization", | ||
"author": "Dan Delany <[email protected]>", | ||
"version": "0.4.5", | ||
"contributors": ["Kris Salvador <[email protected]>"], | ||
"version": "0.4.6", | ||
"main": "index.js", | ||
"files": [ | ||
"*.js", | ||
"*.js.map", | ||
"styles.css", | ||
"utils/", | ||
"src/" | ||
], | ||
"files": ["*.js", "*.js.map", "styles.css", "utils/", "src/"], | ||
"engines": { | ||
"node": ">=4.0.0" | ||
}, | ||
|
@@ -23,14 +18,18 @@ | |
"docs": "npm run make-docs && npm run build-docs", | ||
"build-lib": "npm run clean && babel src --out-dir ./ --source-maps", | ||
"build-css": "lessc ./styles/charts.less ./styles.css", | ||
"build-docs": "BABEL_ENV=production webpack --config webpack.config.build.js", | ||
"build-docs": | ||
"BABEL_ENV=production webpack --config webpack.config.build.js", | ||
"make-docs": "node scripts/makeDocs.js", | ||
"clean": "node scripts/clean.js", | ||
"serve": "python -m SimpleHTTPServer", | ||
"test": "npm run test-jsdom-and-lint", | ||
"test-browser": "webpack-dev-server --config tests/browser/webpack.config.test.js", | ||
"test-jsdom-and-lint": "env NODE_PATH=$NODE_PATH:$PWD/src BABEL_ENV=production mocha --compilers js:babel-register --require tests/jsdom/setup.js --recursive tests/jsdom/spec tests/eslint.spec.js", | ||
"test-watch": "env NODE_PATH=$NODE_PATH:$PWD/src BABEL_ENV=production mocha --watch --compilers js:babel-register --require tests/jsdom/setup.js --recursive tests/jsdom/spec" | ||
"test-browser": | ||
"webpack-dev-server --config tests/browser/webpack.config.test.js", | ||
"test-jsdom-and-lint": | ||
"env NODE_PATH=$NODE_PATH:$PWD/src BABEL_ENV=production mocha --compilers js:babel-register --require tests/jsdom/setup.js --recursive tests/jsdom/spec tests/eslint.spec.js", | ||
"test-watch": | ||
"env NODE_PATH=$NODE_PATH:$PWD/src BABEL_ENV=production mocha --watch --compilers js:babel-register --require tests/jsdom/setup.js --recursive tests/jsdom/spec" | ||
}, | ||
"dependencies": { | ||
"d3": "^4.4.0", | ||
|