ywana-core8 0.0.915 → 0.0.917

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) {
@@ -5346,7 +5347,7 @@ var TaskContextProvider = function TaskContextProvider(props) {
5346
5347
  _props$frequency = props.frequency,
5347
5348
  frequency = _props$frequency === void 0 ? 1000 : _props$frequency,
5348
5349
  children = props.children;
5349
- var API = CollectionAPI$1(url, host);
5350
+ var API = CollectionAPI$1(url, host, null);
5350
5351
  var _useState = useState({}),
5351
5352
  listeners = _useState[0],
5352
5353
  setListeners = _useState[1];