@firecms/core 3.0.0-canary.60 → 3.0.0-canary.61

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@firecms/core",
3
3
  "type": "module",
4
- "version": "3.0.0-canary.60",
4
+ "version": "3.0.0-canary.61",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -46,8 +46,8 @@
46
46
  "./package.json": "./package.json"
47
47
  },
48
48
  "dependencies": {
49
- "@firecms/formex": "^3.0.0-canary.60",
50
- "@firecms/ui": "^3.0.0-canary.60",
49
+ "@firecms/formex": "^3.0.0-canary.61",
50
+ "@firecms/ui": "^3.0.0-canary.61",
51
51
  "@fontsource/jetbrains-mono": "^5.0.20",
52
52
  "@hello-pangea/dnd": "^16.6.0",
53
53
  "@radix-ui/react-portal": "^1.0.4",
@@ -111,7 +111,7 @@
111
111
  "dist",
112
112
  "src"
113
113
  ],
114
- "gitHead": "b93bb64369b81ae43a6e0e0ae4748a818af6d7ae",
114
+ "gitHead": "bd4ff11fc59df78b8967e20c2229afab86e35d81",
115
115
  "publishConfig": {
116
116
  "access": "public"
117
117
  },
@@ -132,13 +132,12 @@ export type EntityFormSaveParams<M extends Record<string, any>> = {
132
132
  * @constructor
133
133
  * @group Components
134
134
  */
135
- export const EntityForm = EntityFormInternal;
136
- // export const EntityForm = React.memo<EntityFormProps<any>>(EntityFormInternal,
137
- // (a: EntityFormProps<any>, b: EntityFormProps<any>) => {
138
- // return a.status === b.status &&
139
- // a.path === b.path &&
140
- // equal(a.entity?.values, b.entity?.values);
141
- // }) as typeof EntityFormInternal;
135
+ export const EntityForm = React.memo<EntityFormProps<any>>(EntityFormInternal,
136
+ (a: EntityFormProps<any>, b: EntityFormProps<any>) => {
137
+ return a.status === b.status &&
138
+ a.path === b.path &&
139
+ equal(a.entity?.values, b.entity?.values);
140
+ }) as typeof EntityFormInternal;
142
141
 
143
142
  function getDataSourceEntityValues<M extends object>(initialResolvedCollection: ResolvedEntityCollection,
144
143
  status: "new" | "existing" | "copy",