Skip to content

Commit

Permalink
bump to v0.4.3, update CHANGELOG, rebuild docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Delany committed Mar 12, 2018
1 parent fac4214 commit f5a9821
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 40 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.4.3 (2016-03-12)
- 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
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
</div>

<div class="container-fluid" id="container">Loading...</div>
<script type="text/javascript" src="bundle.996e7ea6f0297d20bdd2.js"></script></body>
<script type="text/javascript" src="bundle.15d66e377be929f65496.js"></script></body>
</html>
2 changes: 1 addition & 1 deletion docs/src/docs/SankeyDiagram/propDocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@
"name": "func"
},
"required": false,
"description": "Accessor function `nodeLabelText(node, graph)` which returns the content to be used for node labels.\nThe function may return a string/number (rendered as SVG `<text>`),\nor arbitrary React HTML element(s) (rendered as HTML wrapped in SVG `<foreignObject>`).",
"description": "Accessor function `nodeLabelText(node, graph)` which returns the content to be used for node labels.\nThe function may return a string/number (rendered as SVG `<text>`),\nor arbitrary React SVG element(s) (rendered as-is inside the SVG).\nNOTE: in the latter case (returning arbitrary SVG), `nodeLabelPlacement`, `nodeLabelDistance`,\n`nodeLabelClassName` and `nodeLabelStyle` props will not be applied -\nuser is responsible for all positioning and attributes on this element.",
"defaultValue": {
"value": "(node, graph, props) => {\n if (_.has(node, \"name\")) return node.name;\n if (_.has(node, \"label\")) return node.label;\n return getValue(props.nodeId, node, graph, props);\n}",
"computed": false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "reactochart",
"description": "Reactochart - React Charts, graphs and data visualization",
"author": "Dan Delany <[email protected]>",
"version": "0.4.2",
"version": "0.4.3",
"main": "index.js",
"files": [
"*.js",
Expand Down

0 comments on commit f5a9821

Please sign in to comment.