@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.52",
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.52",
11
- "@firecms/formex": "^3.0.0-canary.52",
12
- "@firecms/schema_inference": "^3.0.0-canary.52",
13
- "@firecms/ui": "^3.0.0-canary.52",
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.1",
57
+ "@types/react": "^18.3.3",
58
58
  "@types/react-dom": "^18.3.0",
59
- "@typescript-eslint/eslint-plugin": "^7.8.0",
60
- "@typescript-eslint/parser": "^7.8.0",
61
- "@vitejs/plugin-react": "^4.2.1",
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.1.1",
67
- "eslint-plugin-react": "^7.34.1",
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.0",
71
- "react-router-dom": "^6.23.0",
72
- "ts-jest": "^29.1.2",
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.11",
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": "f48ab87b5a5ad7f68ee4093aa1d624b0bddd7589"
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.log("Submitting collection", newCollectionState);
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}