@firecms/collection_editor 3.0.0-alpha.79 → 3.0.0-alpha.80
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 +3 -12
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
- package/src/ui/collection_editor/CollectionEditorWelcomeView.tsx +4 -20
- package/src/ui/collection_editor/CollectionPropertiesEditorForm.tsx +1 -1
- package/src/ui/collection_editor/properties/ReferencePropertyField.tsx +0 -2
package/dist/index.es.js
CHANGED
|
@@ -1884,7 +1884,6 @@ function qi({
|
|
|
1884
1884
|
error: l,
|
|
1885
1885
|
...a
|
|
1886
1886
|
}) {
|
|
1887
|
-
console.log("error", l);
|
|
1888
1887
|
const s = Me();
|
|
1889
1888
|
if (!s)
|
|
1890
1889
|
return /* @__PURE__ */ e("div", { className: "col-span-12", children: /* @__PURE__ */ e(tt, {}) });
|
|
@@ -2916,7 +2915,7 @@ function Xi({
|
|
|
2916
2915
|
setFieldTouched: P,
|
|
2917
2916
|
errors: x,
|
|
2918
2917
|
dirty: N
|
|
2919
|
-
} = H(), h = De(), b = Tr(
|
|
2918
|
+
} = H(), h = De(), b = Tr(), C = !b, [f, _] = Y(), [z, S] = Y(), [F, U] = Y(), V = z ? oe(z, F) : void 0, T = V ? k(y.properties, V.replaceAll(".", ".properties.")) : void 0, [M, w] = Y(!1), [A, fe] = Y(!1), [Pe, D] = Y(!1), [K, ie] = Y([]), pe = G.useRef(y.propertiesOrder ? { "": y.propertiesOrder } : {});
|
|
2920
2919
|
ue(() => {
|
|
2921
2920
|
l && l(N);
|
|
2922
2921
|
}, [N]);
|
|
@@ -4009,20 +4008,12 @@ function dt({
|
|
|
4009
4008
|
className: Ce(
|
|
4010
4009
|
"my-2 rounded-md border mx-0 p-6 px-4 focus:outline-none transition ease-in-out duration-150 flex flex-row gap-4 items-center",
|
|
4011
4010
|
"text-gray-700 dark:text-gray-300",
|
|
4012
|
-
"hover:border-
|
|
4013
|
-
// "border-transparent hover:bg-primary hover:bg-opacity-10",
|
|
4014
|
-
// "my-2 cursor-pointer max-w-sm p-6 border border-solid rounded-lg flex flex-row gap-4 items-center bg-gray-50 dark:bg-gray-800 ",
|
|
4011
|
+
"hover:border-primary-dark hover:text-primary-dark dark:hover:text-primary focus:ring-primary hover:ring-1 hover:ring-primary",
|
|
4015
4012
|
"border-gray-400 dark:border-gray-600 "
|
|
4016
4013
|
),
|
|
4017
4014
|
children: [
|
|
4018
4015
|
i,
|
|
4019
|
-
/* @__PURE__ */ e(
|
|
4020
|
-
"div",
|
|
4021
|
-
{
|
|
4022
|
-
className: "flex flex-col items-start",
|
|
4023
|
-
children: /* @__PURE__ */ e(O, { variant: "subtitle1", children: t })
|
|
4024
|
-
}
|
|
4025
|
-
)
|
|
4016
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col items-start", children: /* @__PURE__ */ e(O, { variant: "subtitle1", children: t }) })
|
|
4026
4017
|
]
|
|
4027
4018
|
}
|
|
4028
4019
|
) });
|