utopia-ui 3.0.0-alpha.101 → 3.0.0-alpha.102

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.
package/dist/index.js CHANGED
@@ -1096,9 +1096,6 @@ function HeaderView(_a) {
1096
1096
  return [2 /*return*/];
1097
1097
  });
1098
1098
  }); };
1099
- useEffect(function () {
1100
- console.log(api);
1101
- }, [api, item]);
1102
1099
  return (jsxs(Fragment, { children: [jsxs("div", __assign({ className: 'tw-grid tw-grid-cols-6 tw-pb-2' }, { children: [jsx("div", __assign({ className: 'tw-col-span-5' }, { children: jsxs("div", __assign({ className: "tw-flex tw-flex-row" }, { children: [avatar ?
1103
1100
  jsx("div", __assign({ className: "tw-w-10 tw-min-w-[2.5em] tw-rounded-full" }, { children: jsx("img", { className: "tw-rounded-full", src: "".concat(avatar, "?width=80&height=80") }) }))
1104
1101
  :
@@ -4235,9 +4232,9 @@ function OverlayUserSettings() {
4235
4232
  }
4236
4233
 
4237
4234
  function ActionButton(_a) {
4238
- var item = _a.item, triggerAddButton = _a.triggerAddButton, triggerItemSelected = _a.triggerItemSelected, existingRelations = _a.existingRelations, itemType = _a.itemType, color = _a.color, _b = _a.collection, collection = _b === void 0 ? "items" : _b;
4235
+ var item = _a.item, triggerAddButton = _a.triggerAddButton, triggerItemSelected = _a.triggerItemSelected, existingRelations = _a.existingRelations, itemType = _a.itemType, _b = _a.color, color = _b === void 0 ? "#3D3846" : _b, _c = _a.collection, collection = _c === void 0 ? "items" : _c;
4239
4236
  var hasUserPermission = useHasUserPermission();
4240
- var _c = useState(false), modalOpen = _c[0], setModalOpen = _c[1];
4237
+ var _d = useState(false), modalOpen = _d[0], setModalOpen = _d[1];
4241
4238
  var items = useItems();
4242
4239
  var filterdItems = items.filter(function (i) { return i.type == itemType; }).filter(function (i) { return !existingRelations.some(function (s) { return s.id == i.id; }); }).filter(function (i) { return i.id != item.id; });
4243
4240
  return (jsx(Fragment, { children: hasUserPermission(collection, "create") &&