@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.es.js
CHANGED
|
@@ -495,7 +495,7 @@ function CollectionDetailsForm(t0) {
|
|
|
495
495
|
}
|
|
496
496
|
let t41;
|
|
497
497
|
if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
|
|
498
|
-
t41 = /* @__PURE__ */ jsxs("div", { className: "flex flex-row text-surface-500
|
|
498
|
+
t41 = /* @__PURE__ */ jsxs("div", { className: "flex flex-row text-surface-500", children: [
|
|
499
499
|
/* @__PURE__ */ jsx(SettingsIcon, {}),
|
|
500
500
|
/* @__PURE__ */ jsx(Typography, { variant: "subtitle2", className: "ml-2", children: "Advanced" })
|
|
501
501
|
] });
|
|
@@ -1991,7 +1991,7 @@ function ValidationPanel(t0) {
|
|
|
1991
1991
|
} = t0;
|
|
1992
1992
|
let t1;
|
|
1993
1993
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1994
|
-
t1 = /* @__PURE__ */ jsxs("div", { className: "flex flex-row text-surface-500
|
|
1994
|
+
t1 = /* @__PURE__ */ jsxs("div", { className: "flex flex-row text-surface-500", children: [
|
|
1995
1995
|
/* @__PURE__ */ jsx(RuleIcon, {}),
|
|
1996
1996
|
/* @__PURE__ */ jsx(Typography, { variant: "subtitle2", className: "ml-4", children: "Validation" })
|
|
1997
1997
|
] });
|
|
@@ -2186,7 +2186,7 @@ function StoragePropertyField(t0) {
|
|
|
2186
2186
|
t21 = "col-span-12";
|
|
2187
2187
|
T1 = ExpandablePanel;
|
|
2188
2188
|
if ($[55] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2189
|
-
t20 = /* @__PURE__ */ jsxs("div", { className: "flex flex-row text-surface-500
|
|
2189
|
+
t20 = /* @__PURE__ */ jsxs("div", { className: "flex flex-row text-surface-500", children: [
|
|
2190
2190
|
/* @__PURE__ */ jsx(CloudUploadIcon, {}),
|
|
2191
2191
|
/* @__PURE__ */ jsx(Typography, { variant: "subtitle2", className: "ml-4", children: "File upload config" })
|
|
2192
2192
|
] });
|
|
@@ -2779,7 +2779,7 @@ function PropertyFieldPreview(t0) {
|
|
|
2779
2779
|
}
|
|
2780
2780
|
const propertyConfig = t1;
|
|
2781
2781
|
editableProperty(property);
|
|
2782
|
-
const borderColorClass = hasError ? "border-red-500 dark:border-red-500 border-opacity-100 dark:border-opacity-100
|
|
2782
|
+
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";
|
|
2783
2783
|
let t2;
|
|
2784
2784
|
if ($[3] !== propertyConfig) {
|
|
2785
2785
|
t2 = /* @__PURE__ */ jsx("div", { className: "m-4", children: /* @__PURE__ */ jsx(PropertyConfigBadge, { propertyConfig }) });
|
|
@@ -7497,7 +7497,7 @@ function CollectionPropertiesEditorForm({
|
|
|
7497
7497
|
setSelectedPropertyKey(propertyKey_2);
|
|
7498
7498
|
setSelectedPropertyNamespace(namespace_5);
|
|
7499
7499
|
};
|
|
7500
|
-
const body = /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-12 gap-2 h-full bg-
|
|
7500
|
+
const body = /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-12 gap-2 h-full bg-white dark:bg-surface-950", children: [
|
|
7501
7501
|
/* @__PURE__ */ jsxs("div", { className: 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 " + defaultBorderMixin), children: [
|
|
7502
7502
|
/* @__PURE__ */ jsxs("div", { className: "flex my-2", children: [
|
|
7503
7503
|
/* @__PURE__ */ jsxs("div", { className: "flex-grow mb-4", children: [
|
|
@@ -8796,7 +8796,7 @@ function TemplateButton(t0) {
|
|
|
8796
8796
|
} = t0;
|
|
8797
8797
|
let t1;
|
|
8798
8798
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
8799
|
-
t1 = 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-
|
|
8799
|
+
t1 = 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 ");
|
|
8800
8800
|
$[0] = t1;
|
|
8801
8801
|
} else {
|
|
8802
8802
|
t1 = $[0];
|
|
@@ -11044,7 +11044,7 @@ function PropertyAddColumnComponent(t0) {
|
|
|
11044
11044
|
}
|
|
11045
11045
|
let t4;
|
|
11046
11046
|
if ($[6] !== t2) {
|
|
11047
|
-
t4 = /* @__PURE__ */ jsx("div", { className: "p-0.5 w-20 h-full flex items-center justify-center cursor-pointer bg-surface-100 bg-opacity-40
|
|
11047
|
+
t4 = /* @__PURE__ */ 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 });
|
|
11048
11048
|
$[6] = t2;
|
|
11049
11049
|
$[7] = t4;
|
|
11050
11050
|
} else {
|