@firecms/collection_editor 3.0.0-tw4.3 → 3.0.0
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 +7 -7
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +8 -8
- package/src/ui/PropertyAddColumnComponent.tsx +1 -1
- package/src/ui/collection_editor/CollectionDetailsForm.tsx +1 -1
- package/src/ui/collection_editor/CollectionEditorWelcomeView.tsx +1 -1
- package/src/ui/collection_editor/CollectionPropertiesEditorForm.tsx +1 -1
- package/src/ui/collection_editor/PropertyFieldPreview.tsx +1 -1
- package/src/ui/collection_editor/properties/StoragePropertyField.tsx +1 -1
- package/src/ui/collection_editor/properties/validation/ValidationPanel.tsx +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
}
|
|
500
500
|
let t41;
|
|
501
501
|
if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
|
|
502
|
-
t41 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500
|
|
502
|
+
t41 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500", children: [
|
|
503
503
|
/* @__PURE__ */ jsxRuntime.jsx(ui.SettingsIcon, {}),
|
|
504
504
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "subtitle2", className: "ml-2", children: "Advanced" })
|
|
505
505
|
] });
|
|
@@ -1995,7 +1995,7 @@
|
|
|
1995
1995
|
} = t0;
|
|
1996
1996
|
let t1;
|
|
1997
1997
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1998
|
-
t1 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500
|
|
1998
|
+
t1 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500", children: [
|
|
1999
1999
|
/* @__PURE__ */ jsxRuntime.jsx(ui.RuleIcon, {}),
|
|
2000
2000
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "subtitle2", className: "ml-4", children: "Validation" })
|
|
2001
2001
|
] });
|
|
@@ -2190,7 +2190,7 @@
|
|
|
2190
2190
|
t21 = "col-span-12";
|
|
2191
2191
|
T1 = ui.ExpandablePanel;
|
|
2192
2192
|
if ($[55] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2193
|
-
t20 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500
|
|
2193
|
+
t20 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500", children: [
|
|
2194
2194
|
/* @__PURE__ */ jsxRuntime.jsx(ui.CloudUploadIcon, {}),
|
|
2195
2195
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "subtitle2", className: "ml-4", children: "File upload config" })
|
|
2196
2196
|
] });
|
|
@@ -2783,7 +2783,7 @@
|
|
|
2783
2783
|
}
|
|
2784
2784
|
const propertyConfig = t1;
|
|
2785
2785
|
editableProperty(property);
|
|
2786
|
-
const borderColorClass = hasError ? "border-red-500 dark:border-red-500 border-opacity-100 dark:border-opacity-100
|
|
2786
|
+
const borderColorClass = hasError ? "border-red-500 dark:border-red-500 border-opacity-100 dark:border-opacity-100 ring-0 dark:ring-0" : selected ? "border-primary" : "border-transparent";
|
|
2787
2787
|
let t2;
|
|
2788
2788
|
if ($[3] !== propertyConfig) {
|
|
2789
2789
|
t2 = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "m-4", children: /* @__PURE__ */ jsxRuntime.jsx(core.PropertyConfigBadge, { propertyConfig }) });
|
|
@@ -7501,7 +7501,7 @@
|
|
|
7501
7501
|
setSelectedPropertyKey(propertyKey_2);
|
|
7502
7502
|
setSelectedPropertyNamespace(namespace_5);
|
|
7503
7503
|
};
|
|
7504
|
-
const body = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-12 gap-2 h-full bg-
|
|
7504
|
+
const body = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-12 gap-2 h-full bg-white dark:bg-surface-950", children: [
|
|
7505
7505
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ui.cls("bg-surface-50 dark:bg-surface-900", "p-4 md:p-8 pb-20 md:pb-20", "col-span-12 lg:col-span-5 h-full overflow-auto", !asDialog && "border-r " + ui.defaultBorderMixin), children: [
|
|
7506
7506
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex my-2", children: [
|
|
7507
7507
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-grow mb-4", children: [
|
|
@@ -8800,7 +8800,7 @@
|
|
|
8800
8800
|
} = t0;
|
|
8801
8801
|
let t1;
|
|
8802
8802
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
8803
|
-
t1 = ui.cls("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", "text-
|
|
8803
|
+
t1 = ui.cls("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", "text-surface-700 dark:text-surface-accent-300", "hover:border-primary-dark hover:text-primary-dark dark:hover:text-primary focus:ring-primary hover:ring-1 hover:ring-primary", "border-surface-400 dark:border-surface-600 ");
|
|
8804
8804
|
$[0] = t1;
|
|
8805
8805
|
} else {
|
|
8806
8806
|
t1 = $[0];
|
|
@@ -11048,7 +11048,7 @@
|
|
|
11048
11048
|
}
|
|
11049
11049
|
let t4;
|
|
11050
11050
|
if ($[6] !== t2) {
|
|
11051
|
-
t4 = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-0.5 w-20 h-full flex items-center justify-center cursor-pointer bg-surface-100 bg-opacity-40
|
|
11051
|
+
t4 = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-0.5 w-20 h-full flex items-center justify-center cursor-pointer bg-surface-100 bg-opacity-40 hover:bg-surface-100 dark:bg-surface-950 dark:bg-opacity-40 dark:hover:bg-surface-950", onClick: t2, children: t3 });
|
|
11052
11052
|
$[6] = t2;
|
|
11053
11053
|
$[7] = t4;
|
|
11054
11054
|
} else {
|