@ai-matrx/records-ui 0.110.11 → 0.110.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @ai-matrx/records-ui
2
2
 
3
+ ## 0.110.12
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/records-ui/v0.110.10..npm/records-ui/v0.110.12 -- apps/shared/records-ui`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.110.11
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/index.cjs CHANGED
@@ -12862,8 +12862,9 @@ function FieldEditor(props) {
12862
12862
  const sensitivities = onEntity ? SENSITIVITIES.filter((row) => row.value === "public" || row.value === "internal") : SENSITIVITIES;
12863
12863
  const copyOf = field2 ? void 0 : props.copyOf;
12864
12864
  const start = field2 ?? copyOf;
12865
- const [label, setLabel] = (0, import_react65.useState)(field2?.label ?? (copyOf ? `${copyOf.label} (1)` : ""));
12866
- const [type, setType] = (0, import_react65.useState)(() => startingType(start));
12865
+ const startAs = start ? void 0 : props.startAs;
12866
+ const [label, setLabel] = (0, import_react65.useState)(field2?.label ?? (copyOf ? `${copyOf.label} (1)` : startAs?.label ?? ""));
12867
+ const [type, setType] = (0, import_react65.useState)(() => startAs ? startAs.type : startingType(start));
12867
12868
  const [required, setRequired] = (0, import_react65.useState)(start?.required ?? false);
12868
12869
  const [multi, setMulti] = (0, import_react65.useState)(start?.multi ?? false);
12869
12870
  const [dated, setDated] = (0, import_react65.useState)(start?.dated ?? false);