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

@ajuhos/react-flow-chart

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ajuhos/react-flow-chart - npm Package Compare versions

Comparing version 0.0.31 to 0.0.32

2

package.json
{
"name": "@ajuhos/react-flow-chart",
"version": "0.0.31",
"version": "0.0.32",
"description": "A flexible, stateless flow chart library for react.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -27,14 +27,18 @@ "use strict";

React.createElement(__1.PortsGroupDefault, { config: config, side: "top" },
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("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.PortsGroupDefault, { config: config, side: "bottom" },
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("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.PortsGroupDefault, { config: config, side: "right" },
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("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.PortsGroupDefault, { config: config, side: "left" },
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("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); })))));
};
//# sourceMappingURL=Ports.default.js.map

@@ -12,12 +12,12 @@ "use strict";

if (props.side === 'top') {
return styled_components_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-width: 100%;\n left: 0;\n top: -12px;\n flex-direction: row;\n > div {\n margin: 0 3px;\n }\n "], ["\n min-width: 100%;\n left: 0;\n top: -12px;\n flex-direction: row;\n > div {\n margin: 0 3px;\n }\n "])));
return styled_components_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n left: 0;\n top: -12px;\n flex-direction: row;\n align-items: center;\n > div {\n margin: 0 3px;\n }\n "], ["\n width: 100%;\n left: 0;\n top: -12px;\n flex-direction: row;\n align-items: center;\n > div {\n margin: 0 3px;\n }\n "])));
}
else if (props.side === 'bottom') {
return styled_components_1.css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n min-width: 100%;\n left: 0;\n bottom: -12px;\n flex-direction: row;\n > div {\n margin: 0 3px;\n }\n "], ["\n min-width: 100%;\n left: 0;\n bottom: -12px;\n flex-direction: row;\n > div {\n margin: 0 3px;\n }\n "])));
return styled_components_1.css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n left: 0;\n bottom: -12px;\n flex-direction: row;\n align-items: center;\n > div {\n margin: 0 3px;\n }\n "], ["\n width: 100%;\n left: 0;\n bottom: -12px;\n flex-direction: row;\n align-items: center;\n > div {\n margin: 0 3px;\n }\n "])));
}
else if (props.side === 'left') {
return styled_components_1.css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n min-height: 100%;\n top: 0;\n left: -12px;\n flex-direction: column;\n > div {\n margin: 3px 0;\n }\n "], ["\n min-height: 100%;\n top: 0;\n left: -12px;\n flex-direction: column;\n > div {\n margin: 3px 0;\n }\n "])));
return styled_components_1.css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 100%;\n top: 0;\n left: -12px;\n flex-direction: column;\n align-items: center;\n > div {\n margin: 3px 0;\n }\n "], ["\n height: 100%;\n top: 0;\n left: -12px;\n flex-direction: column;\n align-items: center;\n > div {\n margin: 3px 0;\n }\n "])));
}
else {
return styled_components_1.css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n min-height: 100%;\n top: 0;\n right: -12px;\n flex-direction: column;\n > div {\n margin: 3px 0;\n }\n "], ["\n min-height: 100%;\n top: 0;\n right: -12px;\n flex-direction: column;\n > div {\n margin: 3px 0;\n }\n "])));
return styled_components_1.css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n top: 0;\n right: -12px;\n flex-direction: column;\n align-items: center;\n > div {\n margin: 3px 0;\n }\n "], ["\n height: 100%;\n top: 0;\n right: -12px;\n flex-direction: column;\n align-items: center;\n > div {\n margin: 3px 0;\n }\n "])));
}

@@ -24,0 +24,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