@firecms/collection_editor 3.0.0-canary.52 → 3.0.0-canary.53
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/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firecms/collection_editor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0-canary.
|
|
4
|
+
"version": "3.0.0-canary.53",
|
|
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_import_export": "^3.0.0-canary.
|
|
11
|
-
"@firecms/formex": "^3.0.0-canary.
|
|
12
|
-
"@firecms/schema_inference": "^3.0.0-canary.
|
|
13
|
-
"@firecms/ui": "^3.0.0-canary.
|
|
10
|
+
"@firecms/data_import_export": "^3.0.0-canary.53",
|
|
11
|
+
"@firecms/formex": "^3.0.0-canary.53",
|
|
12
|
+
"@firecms/schema_inference": "^3.0.0-canary.53",
|
|
13
|
+
"@firecms/ui": "^3.0.0-canary.53",
|
|
14
14
|
"json5": "^2.2.3",
|
|
15
15
|
"prism-react-renderer": "^2.3.1"
|
|
16
16
|
},
|
|
@@ -54,24 +54,24 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@jest/globals": "^29.7.0",
|
|
57
|
-
"@types/react": "^18.3.
|
|
57
|
+
"@types/react": "^18.3.3",
|
|
58
58
|
"@types/react-dom": "^18.3.0",
|
|
59
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
60
|
-
"@typescript-eslint/parser": "^7.
|
|
61
|
-
"@vitejs/plugin-react": "^4.
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
60
|
+
"@typescript-eslint/parser": "^7.11.0",
|
|
61
|
+
"@vitejs/plugin-react": "^4.3.0",
|
|
62
62
|
"eslint": "^8.57.0",
|
|
63
63
|
"eslint-config-standard": "^17.1.0",
|
|
64
64
|
"eslint-plugin-import": "^2.29.1",
|
|
65
65
|
"eslint-plugin-n": "^16.6.2",
|
|
66
|
-
"eslint-plugin-promise": "^6.
|
|
67
|
-
"eslint-plugin-react": "^7.34.
|
|
66
|
+
"eslint-plugin-promise": "^6.2.0",
|
|
67
|
+
"eslint-plugin-react": "^7.34.2",
|
|
68
68
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
69
69
|
"jest": "^29.7.0",
|
|
70
|
-
"react-router": "^6.23.
|
|
71
|
-
"react-router-dom": "^6.23.
|
|
72
|
-
"ts-jest": "^29.1.
|
|
70
|
+
"react-router": "^6.23.1",
|
|
71
|
+
"react-router-dom": "^6.23.1",
|
|
72
|
+
"ts-jest": "^29.1.4",
|
|
73
73
|
"typescript": "^5.4.5",
|
|
74
|
-
"vite": "^5.2.
|
|
74
|
+
"vite": "^5.2.12",
|
|
75
75
|
"vite-plugin-fonts": "^0.7.0"
|
|
76
76
|
},
|
|
77
77
|
"files": [
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "5d6f89260a9582eaac7ee9a77c48c8f340bc29d3"
|
|
85
85
|
}
|
|
@@ -369,7 +369,7 @@ function CollectionEditorInternal<M extends Record<string, any>>({
|
|
|
369
369
|
};
|
|
370
370
|
|
|
371
371
|
const onSubmit = (newCollectionState: PersistedCollection<M>, formexController: FormexController<PersistedCollection<M>>) => {
|
|
372
|
-
console.
|
|
372
|
+
console.debug("Submitting collection", newCollectionState);
|
|
373
373
|
try {
|
|
374
374
|
|
|
375
375
|
if (!isNewCollection) {
|
|
@@ -45,9 +45,6 @@ export function PropertyFieldPreview({
|
|
|
45
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
|
-
if(hasError)
|
|
49
|
-
console.log("PropertyFieldPreview", property)
|
|
50
|
-
|
|
51
48
|
return <ErrorBoundary>
|
|
52
49
|
<div
|
|
53
50
|
onClick={onClick}
|