@ajuhos/react-flow-chart
Advanced tools
Comparing version 0.0.33 to 0.0.34
{ | ||
"name": "@ajuhos/react-flow-chart", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "A flexible, stateless flow chart library for react.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -27,18 +27,18 @@ "use strict"; | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "top" }, | ||
React.createElement(__1.PortsGroupInnerDefault, { direction: "horizontal" }, | ||
React.createElement("div", null, | ||
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.PortsGroupInnerDefault, { direction: "horizontal" }, children.filter(function (child) { return ['input', 'top'].includes(child.props.port.type); })))), | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "bottom" }, | ||
React.createElement(__1.PortsGroupInnerDefault, { direction: "horizontal" }, | ||
React.createElement("div", null, | ||
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.PortsGroupInnerDefault, { direction: "horizontal" }, children.filter(function (child) { return ['output', 'bottom'].includes(child.props.port.type); })))), | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "right" }, | ||
React.createElement(__1.PortsGroupInnerDefault, { direction: "vertical" }, | ||
React.createElement("div", null, | ||
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.PortsGroupInnerDefault, { direction: "vertical" }, children.filter(function (child) { return ['right'].includes(child.props.port.type); })))), | ||
React.createElement(__1.PortsGroupDefault, { config: config, side: "left" }, | ||
React.createElement(__1.PortsGroupInnerDefault, { direction: "vertical" }, | ||
React.createElement("div", null, | ||
React.createElement(react_resize_observer_1.default, { onResize: function (rect) { setLeft(rect.height); } }), | ||
children.filter(function (child) { return ['left'].includes(child.props.port.type); }))))); | ||
React.createElement(__1.PortsGroupInnerDefault, { direction: "vertical" }, children.filter(function (child) { return ['left'].includes(child.props.port.type); })))))); | ||
}; | ||
//# sourceMappingURL=Ports.default.js.map |
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
188145