@firecms/collection_editor 3.0.0-rc.4 → 3.0.0-tw4.2
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 +15 -15
- 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", children: [
|
|
502
|
+
t41 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500 text-text-secondary dark:text-text-secondary-dark", 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", children: [
|
|
1998
|
+
t1 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500 text-text-secondary dark:text-text-secondary-dark", 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", children: [
|
|
2193
|
+
t20 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row text-surface-500 text-text-secondary dark:text-text-secondary-dark", 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 ring-0 dark:ring-0" : selected ? "border-primary" : "border-transparent";
|
|
2786
|
+
const borderColorClass = hasError ? "border-red-500 dark:border-red-500 border-opacity-100 dark:border-opacity-100 border-red-500/100 dark:border-red-500/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-surface dark:bg-surface-dark", 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: [
|
|
@@ -8863,7 +8863,7 @@
|
|
|
8863
8863
|
} = t0;
|
|
8864
8864
|
let t1;
|
|
8865
8865
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
8866
|
-
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-
|
|
8866
|
+
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-text-secondary dark:text-text-secondary-dark", "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 ");
|
|
8867
8867
|
$[0] = t1;
|
|
8868
8868
|
} else {
|
|
8869
8869
|
t1 = $[0];
|
|
@@ -11103,7 +11103,7 @@
|
|
|
11103
11103
|
}
|
|
11104
11104
|
let t4;
|
|
11105
11105
|
if ($[6] !== t2) {
|
|
11106
|
-
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 });
|
|
11106
|
+
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 bg-surface-100/40 hover:bg-surface-100 dark:bg-surface-950 dark:bg-opacity-40 dark:bg-surface-950/40 dark:hover:bg-surface-950", onClick: t2, children: t3 });
|
|
11107
11107
|
$[6] = t2;
|
|
11108
11108
|
$[7] = t4;
|
|
11109
11109
|
} else {
|