@firecms/collection_editor 3.0.0-canary.281 → 3.0.0-canary.283

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
@@ -2506,7 +2506,7 @@
2506
2506
  }
2507
2507
  let t6;
2508
2508
  if ($[9] !== includeName || $[10] !== property.name) {
2509
- t6 = includeName && /* @__PURE__ */ jsxRuntime.jsx(core.ErrorBoundary, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "body1", component: "span", className: "flex-grow pr-2", children: property.name ? property.name : " " }) });
2509
+ t6 = includeName && /* @__PURE__ */ jsxRuntime.jsx(core.ErrorBoundary, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "label", component: "span", className: "flex-grow pr-2", children: property.name ? property.name : " " }) });
2510
2510
  $[9] = includeName;
2511
2511
  $[10] = property.name;
2512
2512
  $[11] = t6;
@@ -2623,7 +2623,7 @@
2623
2623
  }
2624
2624
  let t3;
2625
2625
  if ($[5] !== propertyConfig) {
2626
- t3 = !propertyConfig && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 p-1 rounded-full shadow text-white bg-surface-500", children: /* @__PURE__ */ jsxRuntime.jsx(ui.FunctionsIcon, { color: "inherit", size: "medium" }) });
2626
+ t3 = !propertyConfig && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 flex items-center justify-center rounded-full shadow text-white bg-surface-500", children: /* @__PURE__ */ jsxRuntime.jsx(ui.FunctionsIcon, { color: "inherit", size: "small" }) });
2627
2627
  $[5] = propertyConfig;
2628
2628
  $[6] = t3;
2629
2629
  } else {
@@ -4909,7 +4909,7 @@
4909
4909
  } else if (selectedWidgetId === "user_select") {
4910
4910
  updatedProperty = core.mergeDeep(propertyData, {
4911
4911
  dataType: "string",
4912
- propertyConfig: "text_field",
4912
+ propertyConfig: "user_select",
4913
4913
  editable: propertyData.editable !== void 0 ? propertyData.editable : true,
4914
4914
  storage: void 0,
4915
4915
  multiline: void 0,
@@ -6487,9 +6487,9 @@
6487
6487
  url: "Text",
6488
6488
  email: "Text",
6489
6489
  switch: "Boolean",
6490
+ user_select: "Users",
6490
6491
  select: "Select",
6491
6492
  multi_select: "Select",
6492
- user_select: "Select",
6493
6493
  number_input: "Number",
6494
6494
  number_select: "Select",
6495
6495
  multi_number_select: "Select",
@@ -6763,7 +6763,7 @@
6763
6763
  const t4 = shouldWarnChangingDataType ? "secondary" : void 0;
6764
6764
  let t5;
6765
6765
  if ($[6] !== propertyConfig.name || $[7] !== t4) {
6766
- t5 = /* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { color: t4, children: propertyConfig.name });
6766
+ t5 = /* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "label", color: t4, children: propertyConfig.name });
6767
6767
  $[6] = propertyConfig.name;
6768
6768
  $[7] = t4;
6769
6769
  $[8] = t5;