@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/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firecms/collection_editor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"main": "./dist/index.umd.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"source": "src/index.ts",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@firecms/data_export": "^3.0.0
|
|
11
|
-
"@firecms/data_import": "^3.0.0
|
|
12
|
-
"@firecms/data_import_export": "^3.0.0
|
|
13
|
-
"@firecms/formex": "^3.0.0
|
|
14
|
-
"@firecms/schema_inference": "^3.0.0
|
|
15
|
-
"@firecms/ui": "^3.0.0
|
|
10
|
+
"@firecms/data_export": "^3.0.0",
|
|
11
|
+
"@firecms/data_import": "^3.0.0",
|
|
12
|
+
"@firecms/data_import_export": "^3.0.0",
|
|
13
|
+
"@firecms/formex": "^3.0.0",
|
|
14
|
+
"@firecms/schema_inference": "^3.0.0",
|
|
15
|
+
"@firecms/ui": "^3.0.0",
|
|
16
16
|
"json5": "^2.2.3",
|
|
17
17
|
"prism-react-renderer": "^2.4.1"
|
|
18
18
|
},
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"publishConfig": {
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "d106a7fde537c4330ae4ba5471c74d4536dea710"
|
|
73
73
|
}
|
|
@@ -29,7 +29,7 @@ export function PropertyAddColumnComponent({
|
|
|
29
29
|
asChild={true}
|
|
30
30
|
title={canEditCollection ? "Add new property" : "You don't have permission to add new properties"}>
|
|
31
31
|
<div
|
|
32
|
-
className={"p-0.5 w-20 h-full flex items-center justify-center cursor-pointer bg-surface-100 bg-opacity-40
|
|
32
|
+
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"}
|
|
33
33
|
// className={onHover ? "bg-white dark:bg-surface-950" : undefined}
|
|
34
34
|
onClick={() => {
|
|
35
35
|
collectionEditorController.editProperty({
|
|
@@ -241,7 +241,7 @@ export function CollectionDetailsForm({
|
|
|
241
241
|
expanded={advancedPanelExpanded}
|
|
242
242
|
onExpandedChange={setAdvancedPanelExpanded}
|
|
243
243
|
title={
|
|
244
|
-
<div className="flex flex-row text-surface-500
|
|
244
|
+
<div className="flex flex-row text-surface-500">
|
|
245
245
|
<SettingsIcon/>
|
|
246
246
|
<Typography variant={"subtitle2"}
|
|
247
247
|
className="ml-2">
|
|
@@ -156,7 +156,7 @@ export function TemplateButton({
|
|
|
156
156
|
onClick={onClick}
|
|
157
157
|
className={cls(
|
|
158
158
|
"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",
|
|
159
|
-
"text-
|
|
159
|
+
"text-surface-700 dark:text-surface-accent-300",
|
|
160
160
|
"hover:border-primary-dark hover:text-primary-dark dark:hover:text-primary focus:ring-primary hover:ring-1 hover:ring-primary",
|
|
161
161
|
"border-surface-400 dark:border-surface-600 "
|
|
162
162
|
)}
|
|
@@ -303,7 +303,7 @@ export function CollectionPropertiesEditorForm({
|
|
|
303
303
|
};
|
|
304
304
|
|
|
305
305
|
const body = (
|
|
306
|
-
<div className={"grid grid-cols-12 gap-2 h-full bg-
|
|
306
|
+
<div className={"grid grid-cols-12 gap-2 h-full bg-white dark:bg-surface-950"}>
|
|
307
307
|
<div className={cls(
|
|
308
308
|
"bg-surface-50 dark:bg-surface-900",
|
|
309
309
|
"p-4 md:p-8 pb-20 md:pb-20",
|
|
@@ -42,7 +42,7 @@ export function PropertyFieldPreview({
|
|
|
42
42
|
const disabled = !editableProperty(property);
|
|
43
43
|
|
|
44
44
|
const borderColorClass = hasError
|
|
45
|
-
? "border-red-500 dark:border-red-500 border-opacity-100 dark:border-opacity-100
|
|
45
|
+
? "border-red-500 dark:border-red-500 border-opacity-100 dark:border-opacity-100 ring-0 dark:ring-0"
|
|
46
46
|
: (selected ? "border-primary" : "border-transparent");
|
|
47
47
|
|
|
48
48
|
return <ErrorBoundary>
|
|
@@ -87,7 +87,7 @@ export function StoragePropertyField({
|
|
|
87
87
|
|
|
88
88
|
<ExpandablePanel
|
|
89
89
|
title={
|
|
90
|
-
<div className="flex flex-row text-surface-500
|
|
90
|
+
<div className="flex flex-row text-surface-500">
|
|
91
91
|
<CloudUploadIcon/>
|
|
92
92
|
<Typography variant={"subtitle2"}
|
|
93
93
|
className="ml-4">
|
|
@@ -12,7 +12,7 @@ export function ValidationPanel({
|
|
|
12
12
|
asField={true}
|
|
13
13
|
innerClassName="p-4"
|
|
14
14
|
title={
|
|
15
|
-
<div className="flex flex-row text-surface-500
|
|
15
|
+
<div className="flex flex-row text-surface-500">
|
|
16
16
|
<RuleIcon/>
|
|
17
17
|
<Typography variant={"subtitle2"}
|
|
18
18
|
className="ml-4">
|