@ajuhos/react-flow-chart
Advanced tools
Comparing version 0.0.36 to 0.0.37
{ | ||
"name": "@ajuhos/react-flow-chart", | ||
"version": "0.0.36", | ||
"version": "0.0.37", | ||
"description": "A flexible, stateless flow chart library for react.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -26,12 +26,12 @@ "use strict"; | ||
return (React.createElement("div", null, | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "top", style: { marginLeft: top / 2 } }, | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "top", style: { marginLeft: -top / 2 } }, | ||
React.createElement(react_resize_observer_1.default, { onResize: function (rect) { setTop(rect.width); } }), | ||
children.filter(function (child) { return ['input', 'top'].includes(child.props.port.type); })), | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "bottom", style: { marginLeft: bottom / 2 } }, | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "bottom", style: { marginLeft: -bottom / 2 } }, | ||
React.createElement(react_resize_observer_1.default, { onResize: function (rect) { setBottom(rect.width); } }), | ||
children.filter(function (child) { return ['output', 'bottom'].includes(child.props.port.type); })), | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "right", style: { marginTop: right / 2 } }, | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "right", style: { marginTop: -right / 2 } }, | ||
React.createElement(react_resize_observer_1.default, { onResize: function (rect) { setRight(rect.height); } }), | ||
children.filter(function (child) { return ['right'].includes(child.props.port.type); })), | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "left", style: { marginTop: left / 2 } }, | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "left", style: { marginTop: -left / 2 } }, | ||
React.createElement(react_resize_observer_1.default, { onResize: function (rect) { setLeft(rect.height); } }), | ||
@@ -38,0 +38,0 @@ children.filter(function (child) { return ['left'].includes(child.props.port.type); })))); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186809