@firecms/core 3.0.0-canary.125 → 3.0.0-canary.126

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.umd.js CHANGED
@@ -7001,7 +7001,7 @@
7001
7001
  onDropRejected: (fileRejections, event) => {
7002
7002
  for (const fileRejection of fileRejections) {
7003
7003
  for (const error2 of fileRejection.errors) {
7004
- console.log("Error uploading file: ", error2);
7004
+ console.error("Error uploading file: ", error2);
7005
7005
  if (error2.code === "file-too-large") {
7006
7006
  snackbarContext.open({
7007
7007
  type: "error",
@@ -7165,7 +7165,6 @@
7165
7165
  updateValue(entity ? getReferenceFrom(entity) : null);
7166
7166
  }, [updateValue]);
7167
7167
  const onMultipleEntitiesSelected = React.useCallback((entities) => {
7168
- console.log("onMultipleEntitiesSelected", entities);
7169
7168
  updateValue(entities.map((e) => getReferenceFrom(e)));
7170
7169
  }, [updateValue]);
7171
7170
  const selectedEntityIds = internalValue ? Array.isArray(internalValue) ? internalValue.map((ref) => ref.id) : internalValue.id ? [internalValue.id] : [] : [];
@@ -9606,7 +9605,6 @@
9606
9605
  }
9607
9606
  }
9608
9607
  const multiple = multipleSelectOperations$1.includes(operation);
9609
- console.log("internalValue", { internalValue });
9610
9608
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-[440px]", children: [
9611
9609
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-[80px]", children: /* @__PURE__ */ jsxRuntime.jsx(
9612
9610
  ui.Select,
@@ -11536,7 +11534,6 @@
11536
11534
  setFilteredUrls(null);
11537
11535
  } else {
11538
11536
  const searchResult = fuse.current?.search(value);
11539
- console.log("Search result", searchResult);
11540
11537
  if (searchResult) {
11541
11538
  setFilteredUrls(searchResult.map((e) => e.item.url));
11542
11539
  }
@@ -12337,7 +12334,6 @@
12337
12334
  tableController.setPopupCell?.(void 0);
12338
12335
  }, [tableController.setPopupCell]);
12339
12336
  const onEntityClick = React.useCallback((clickedEntity) => {
12340
- console.log("Entity clicked", clickedEntity);
12341
12337
  const collection2 = collectionRef.current;
12342
12338
  setHighlightedEntity(clickedEntity);
12343
12339
  analyticsController.onAnalyticsEvent?.("edit_entity_clicked", {
@@ -13750,7 +13746,6 @@
13750
13746
  };
13751
13747
  }, [query, updateSearchResults]);
13752
13748
  const icons = keys === null ? ui.coolIconKeys : keys;
13753
- console.log("Icons", icons);
13754
13749
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
13755
13750
  /* @__PURE__ */ jsxRuntime.jsx(
13756
13751
  ui.SearchBar,
@@ -14441,7 +14436,7 @@
14441
14436
  onDropRejected: (fileRejections, event) => {
14442
14437
  for (const fileRejection of fileRejections) {
14443
14438
  for (const error of fileRejection.errors) {
14444
- console.log("Error uploading file: ", error);
14439
+ console.error("Error uploading file: ", error);
14445
14440
  if (error.code === "file-too-large") {
14446
14441
  snackbarContext.open({
14447
14442
  type: "error",
@@ -17498,7 +17493,6 @@
17498
17493
  if (onUpdate)
17499
17494
  onUpdate({ entity: updatedEntity });
17500
17495
  if (closeAfterSave) {
17501
- console.log("Closing side dialog");
17502
17496
  sideDialogContext.setBlocked(false);
17503
17497
  sideDialogContext.close(true);
17504
17498
  onClose?.();
@@ -18348,7 +18342,6 @@
18348
18342
  const handleDrawerCloseOk = () => {
18349
18343
  setBlocked(false);
18350
18344
  setDrawerCloseRequested(false);
18351
- console.log("handleDrawerCloseOk");
18352
18345
  sideDialogsController.close();
18353
18346
  panel?.onClose?.();
18354
18347
  };
@@ -19531,7 +19524,7 @@
19531
19524
  Object.values(navigationEntries).filter((e) => e.group === group).map((view, index) => /* @__PURE__ */ jsxRuntime.jsx(
19532
19525
  DrawerNavigationItem,
19533
19526
  {
19534
- icon: /* @__PURE__ */ jsxRuntime.jsx(IconForView, { collectionOrView: view.collection ?? view.view }),
19527
+ icon: /* @__PURE__ */ jsxRuntime.jsx(IconForView, { collectionOrView: view.collection ?? view.view, size: "small" }),
19535
19528
  tooltipsOpen,
19536
19529
  adminMenuOpen,
19537
19530
  drawerOpen,