@firecms/collection_editor 3.0.0-canary.160 → 3.0.0-canary.162

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
@@ -442,7 +442,7 @@
442
442
  const t57 = !values.sideDialogWidth;
443
443
  let t58;
444
444
  if ($[83] === Symbol.for("react.memo_cache_sentinel")) {
445
- t58 = /* @__PURE__ */ jsxRuntime.jsx(ui.ClearIcon, { size: "small" });
445
+ t58 = /* @__PURE__ */ jsxRuntime.jsx(ui.CloseIcon, { size: "small" });
446
446
  $[83] = t58;
447
447
  } else {
448
448
  t58 = $[83];
@@ -1043,7 +1043,7 @@
1043
1043
  let t6;
1044
1044
  if ($[15] !== allowDataInference || $[16] !== disabled || $[17] !== inferValues || $[18] !== inferring) {
1045
1045
  t6 = allowDataInference && /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { loading: inferring, disabled: disabled || inferring, variant: "text", size: "small", onClick: inferValues, children: [
1046
- inferring ? /* @__PURE__ */ jsxRuntime.jsx(ui.CircularProgress, { size: "small" }) : /* @__PURE__ */ jsxRuntime.jsx(ui.AutoAwesomeIcon, {}),
1046
+ inferring ? /* @__PURE__ */ jsxRuntime.jsx(ui.CircularProgress, { size: "small" }) : /* @__PURE__ */ jsxRuntime.jsx(ui.AutorenewIcon, {}),
1047
1047
  "Infer values from data"
1048
1048
  ] });
1049
1049
  $[15] = allowDataInference;
@@ -1215,7 +1215,7 @@
1215
1215
  const t7 = `${enumValuesPath}[${index}].label`;
1216
1216
  let t8;
1217
1217
  if ($[15] !== inferredEntry) {
1218
- t8 = inferredEntry && /* @__PURE__ */ jsxRuntime.jsx(ui.AutoAwesomeIcon, { size: "small" });
1218
+ t8 = inferredEntry && /* @__PURE__ */ jsxRuntime.jsx(ui.AutorenewIcon, { size: "small" });
1219
1219
  $[15] = inferredEntry;
1220
1220
  $[16] = t8;
1221
1221
  } else {
@@ -1893,7 +1893,7 @@
1893
1893
  T1 = ui.ExpandablePanel;
1894
1894
  if ($[37] === Symbol.for("react.memo_cache_sentinel")) {
1895
1895
  t13 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500", children: [
1896
- /* @__PURE__ */ jsxRuntime.jsx(ui.FileUploadIcon, {}),
1896
+ /* @__PURE__ */ jsxRuntime.jsx(ui.CloudUploadIcon, {}),
1897
1897
  /* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "subtitle2", className: "ml-2", children: "File upload config" })
1898
1898
  ] });
1899
1899
  $[37] = t13;
@@ -2409,7 +2409,7 @@
2409
2409
  }
2410
2410
  let t4;
2411
2411
  if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
2412
- t4 = /* @__PURE__ */ jsxRuntime.jsx(ui.RemoveCircleIcon, { color: "disabled", size: "small", className: "absolute -right-2 -top-2" });
2412
+ t4 = /* @__PURE__ */ jsxRuntime.jsx(ui.DoNotDisturbOnIcon, { color: "disabled", size: "small", className: "absolute -right-2 -top-2" });
2413
2413
  $[7] = t4;
2414
2414
  } else {
2415
2415
  t4 = $[7];
@@ -2742,7 +2742,7 @@
2742
2742
  }
2743
2743
  let t6;
2744
2744
  if ($[31] !== isPropertyInferred) {
2745
- t6 = isPropertyInferred && /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: "Inferred property", children: /* @__PURE__ */ jsxRuntime.jsx(ui.AutoAwesomeIcon, { size: "small", className: "p-2" }) });
2745
+ t6 = isPropertyInferred && /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: "Inferred property", children: /* @__PURE__ */ jsxRuntime.jsx(ui.AutorenewIcon, { size: "small", className: "p-2" }) });
2746
2746
  $[31] = isPropertyInferred;
2747
2747
  $[32] = t6;
2748
2748
  } else {
@@ -4943,7 +4943,7 @@
4943
4943
  T1 = ui.ExpandablePanel;
4944
4944
  if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
4945
4945
  t12 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500", children: [
4946
- /* @__PURE__ */ jsxRuntime.jsx(ui.FileUploadIcon, {}),
4946
+ /* @__PURE__ */ jsxRuntime.jsx(ui.CloudUploadIcon, {}),
4947
4947
  /* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "subtitle2", className: "ml-2", children: "File upload config" })
4948
4948
  ] });
4949
4949
  $[26] = t12;
@@ -6366,7 +6366,7 @@
6366
6366
  }
6367
6367
  let t3;
6368
6368
  if ($[4] !== shouldWarnChangingDataType) {
6369
- t3 = shouldWarnChangingDataType && /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: "This widget uses a different data type than the initially selected widget. This can cause errors with existing data.", children: /* @__PURE__ */ jsxRuntime.jsx(ui.WarningOffIcon, { size: "smallest", className: "w-4" }) });
6369
+ t3 = shouldWarnChangingDataType && /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: "This widget uses a different data type than the initially selected widget. This can cause errors with existing data.", children: /* @__PURE__ */ jsxRuntime.jsx(ui.WarningIcon, { size: "smallest", className: "w-4" }) });
6370
6370
  $[4] = shouldWarnChangingDataType;
6371
6371
  $[5] = t3;
6372
6372
  } else {
@@ -6829,7 +6829,7 @@
6829
6829
  extraIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "ml-4", children: extraIcon }),
6830
6830
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-1 mt-2 flex flex-row gap-2", children: [
6831
6831
  /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: "Get the code for this collection", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { variant: "filled", disabled: inferringProperties, onClick: () => setCodeDialogOpen(true), children: /* @__PURE__ */ jsxRuntime.jsx(ui.CodeIcon, {}) }) }),
6832
- inferPropertiesFromData && /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: "Add new properties based on data", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { variant: "filled", disabled: inferringProperties, onClick: inferPropertiesFromData, children: inferringProperties ? /* @__PURE__ */ jsxRuntime.jsx(ui.CircularProgress, { size: "small" }) : /* @__PURE__ */ jsxRuntime.jsx(ui.AutoAwesomeIcon, {}) }) }),
6832
+ inferPropertiesFromData && /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: "Add new properties based on data", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { variant: "filled", disabled: inferringProperties, onClick: inferPropertiesFromData, children: inferringProperties ? /* @__PURE__ */ jsxRuntime.jsx(ui.CircularProgress, { size: "small" }) : /* @__PURE__ */ jsxRuntime.jsx(ui.AutorenewIcon, {}) }) }),
6833
6833
  /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: "Add new property", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outlined", onClick: () => setNewPropertyDialogOpen(true), children: /* @__PURE__ */ jsxRuntime.jsx(ui.AddIcon, {}) }) })
6834
6834
  ] })
6835
6835
  ] }),
@@ -9281,7 +9281,7 @@
9281
9281
  isNewCollection && currentView === "import_data_preview" && /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "filled", color: "primary", onClick: () => {
9282
9282
  setNextMode();
9283
9283
  }, children: "Next" }),
9284
- isNewCollection && (currentView === "details" || currentView === "properties") && /* @__PURE__ */ jsxRuntime.jsxs(ui.LoadingButton, { variant: "filled", color: "primary", type: "submit", loading: isSubmitting, disabled: isSubmitting || currentView === "details" && !validValues, startIcon: currentView === "properties" ? /* @__PURE__ */ jsxRuntime.jsx(ui.DoneIcon, {}) : void 0, children: [
9284
+ isNewCollection && (currentView === "details" || currentView === "properties") && /* @__PURE__ */ jsxRuntime.jsxs(ui.LoadingButton, { variant: "filled", color: "primary", type: "submit", loading: isSubmitting, disabled: isSubmitting || currentView === "details" && !validValues, startIcon: currentView === "properties" ? /* @__PURE__ */ jsxRuntime.jsx(ui.CheckIcon, {}) : void 0, children: [
9285
9285
  currentView === "details" && "Next",
9286
9286
  currentView === "properties" && "Create collection"
9287
9287
  ] }),