@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.es.js CHANGED
@@ -6997,7 +6997,7 @@ function StorageUpload$1({
6997
6997
  onDropRejected: (fileRejections, event) => {
6998
6998
  for (const fileRejection of fileRejections) {
6999
6999
  for (const error2 of fileRejection.errors) {
7000
- console.log("Error uploading file: ", error2);
7000
+ console.error("Error uploading file: ", error2);
7001
7001
  if (error2.code === "file-too-large") {
7002
7002
  snackbarContext.open({
7003
7003
  type: "error",
@@ -7161,7 +7161,6 @@ const TableReferenceFieldInternal = React__default.memo(
7161
7161
  updateValue(entity ? getReferenceFrom(entity) : null);
7162
7162
  }, [updateValue]);
7163
7163
  const onMultipleEntitiesSelected = useCallback((entities) => {
7164
- console.log("onMultipleEntitiesSelected", entities);
7165
7164
  updateValue(entities.map((e) => getReferenceFrom(e)));
7166
7165
  }, [updateValue]);
7167
7166
  const selectedEntityIds = internalValue ? Array.isArray(internalValue) ? internalValue.map((ref) => ref.id) : internalValue.id ? [internalValue.id] : [] : [];
@@ -9602,7 +9601,6 @@ function StringNumberFilterField({
9602
9601
  }
9603
9602
  }
9604
9603
  const multiple = multipleSelectOperations$1.includes(operation);
9605
- console.log("internalValue", { internalValue });
9606
9604
  return /* @__PURE__ */ jsxs("div", { className: "flex w-[440px]", children: [
9607
9605
  /* @__PURE__ */ jsx("div", { className: "w-[80px]", children: /* @__PURE__ */ jsx(
9608
9606
  Select,
@@ -11532,7 +11530,6 @@ function DefaultHomePage({
11532
11530
  setFilteredUrls(null);
11533
11531
  } else {
11534
11532
  const searchResult = fuse.current?.search(value);
11535
- console.log("Search result", searchResult);
11536
11533
  if (searchResult) {
11537
11534
  setFilteredUrls(searchResult.map((e) => e.item.url));
11538
11535
  }
@@ -12333,7 +12330,6 @@ const EntityCollectionView = React__default.memo(
12333
12330
  tableController.setPopupCell?.(void 0);
12334
12331
  }, [tableController.setPopupCell]);
12335
12332
  const onEntityClick = useCallback((clickedEntity) => {
12336
- console.log("Entity clicked", clickedEntity);
12337
12333
  const collection2 = collectionRef.current;
12338
12334
  setHighlightedEntity(clickedEntity);
12339
12335
  analyticsController.onAnalyticsEvent?.("edit_entity_clicked", {
@@ -13746,7 +13742,6 @@ function SearchIconsView({
13746
13742
  };
13747
13743
  }, [query, updateSearchResults]);
13748
13744
  const icons = keys === null ? coolIconKeys : keys;
13749
- console.log("Icons", icons);
13750
13745
  return /* @__PURE__ */ jsxs(Fragment, { children: [
13751
13746
  /* @__PURE__ */ jsx(
13752
13747
  SearchBar,
@@ -14437,7 +14432,7 @@ function FileDropComponent({
14437
14432
  onDropRejected: (fileRejections, event) => {
14438
14433
  for (const fileRejection of fileRejections) {
14439
14434
  for (const error of fileRejection.errors) {
14440
- console.log("Error uploading file: ", error);
14435
+ console.error("Error uploading file: ", error);
14441
14436
  if (error.code === "file-too-large") {
14442
14437
  snackbarContext.open({
14443
14438
  type: "error",
@@ -17494,7 +17489,6 @@ function EntityEditViewInner({
17494
17489
  if (onUpdate)
17495
17490
  onUpdate({ entity: updatedEntity });
17496
17491
  if (closeAfterSave) {
17497
- console.log("Closing side dialog");
17498
17492
  sideDialogContext.setBlocked(false);
17499
17493
  sideDialogContext.close(true);
17500
17494
  onClose?.();
@@ -18344,7 +18338,6 @@ function SideDialogView({
18344
18338
  const handleDrawerCloseOk = () => {
18345
18339
  setBlocked(false);
18346
18340
  setDrawerCloseRequested(false);
18347
- console.log("handleDrawerCloseOk");
18348
18341
  sideDialogsController.close();
18349
18342
  panel?.onClose?.();
18350
18343
  };
@@ -19527,7 +19520,7 @@ function DefaultDrawer({
19527
19520
  Object.values(navigationEntries).filter((e) => e.group === group).map((view, index) => /* @__PURE__ */ jsx(
19528
19521
  DrawerNavigationItem,
19529
19522
  {
19530
- icon: /* @__PURE__ */ jsx(IconForView, { collectionOrView: view.collection ?? view.view }),
19523
+ icon: /* @__PURE__ */ jsx(IconForView, { collectionOrView: view.collection ?? view.view, size: "small" }),
19531
19524
  tooltipsOpen,
19532
19525
  adminMenuOpen,
19533
19526
  drawerOpen,