ywana-core8 0.0.915 → 0.0.916

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3018,7 +3018,7 @@ var Viewer = function Viewer(_ref) {
3018
3018
  */
3019
3019
  var Kanban = function Kanban(_ref) {
3020
3020
  var children = _ref.children;
3021
- useMemo(function () {
3021
+ var hasSwimlanes = useMemo(function () {
3022
3022
  var found = React.Children.map(children, function (child) {
3023
3023
  if (child.type.name === KanbanSwimlane.name) {
3024
3024
  return child;
@@ -3026,8 +3026,9 @@ var Kanban = function Kanban(_ref) {
3026
3026
  });
3027
3027
  return found.length > 0;
3028
3028
  });
3029
+ var style = hasSwimlanes ? "with-swimlanes" : "";
3029
3030
  return /*#__PURE__*/React.createElement("div", {
3030
- className: "kanban with-swimlanes"
3031
+ className: "kanban " + style
3031
3032
  }, children);
3032
3033
  };
3033
3034
  var KanbanHeader = function KanbanHeader(props) {