@firecms/core 3.0.0-canary.213 → 3.0.0-canary.215
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.
|
|
4
|
+
"version": "3.0.0-canary.215",
|
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
|
6
6
|
"funding": {
|
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"./package.json": "./package.json"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@firecms/editor": "^3.0.0-canary.
|
|
54
|
-
"@firecms/formex": "^3.0.0-canary.
|
|
55
|
-
"@firecms/ui": "^3.0.0-canary.
|
|
53
|
+
"@firecms/editor": "^3.0.0-canary.215",
|
|
54
|
+
"@firecms/formex": "^3.0.0-canary.215",
|
|
55
|
+
"@firecms/ui": "^3.0.0-canary.215",
|
|
56
56
|
"@hello-pangea/dnd": "^17.0.0",
|
|
57
57
|
"@radix-ui/react-portal": "^1.1.3",
|
|
58
58
|
"clsx": "^2.1.1",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"dist",
|
|
106
106
|
"src"
|
|
107
107
|
],
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "e04e9ae0e4c6b351f6a77f30295445bededef042",
|
|
109
109
|
"publishConfig": {
|
|
110
110
|
"access": "public"
|
|
111
111
|
},
|
|
@@ -165,19 +165,21 @@ export const EntityCollectionRowActions = function EntityCollectionRowActions({
|
|
|
165
165
|
|
|
166
166
|
{!hideId && size !== "xs" && (
|
|
167
167
|
<div
|
|
168
|
-
className="w-[138px] overflow-hidden truncate font-mono text-xs text-text-secondary dark:text-text-secondary-dark max-w-full text-ellipsis px-2 align-center flex items-center
|
|
168
|
+
className="w-[138px] overflow-hidden truncate font-mono text-xs text-text-secondary dark:text-text-secondary-dark max-w-full text-ellipsis px-2 align-center flex items-center gap-1"
|
|
169
169
|
onClick={(event) => {
|
|
170
170
|
event.stopPropagation();
|
|
171
171
|
}}>
|
|
172
|
-
{hasDraft && <Tooltip title={"
|
|
172
|
+
{hasDraft && <Tooltip title={"Local unsaved changes"} className={"inline"}>
|
|
173
173
|
<Chip colorScheme={"orangeDarker"} className={"p-0.5"}>
|
|
174
174
|
<EditIcon size={12}/>
|
|
175
175
|
</Chip>
|
|
176
176
|
</Tooltip>}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
177
|
+
<span className="min-w-0 truncate text-center">
|
|
178
|
+
{entity
|
|
179
|
+
? entity.id
|
|
180
|
+
: <Skeleton/>
|
|
181
|
+
}
|
|
182
|
+
</span>
|
|
181
183
|
</div>
|
|
182
184
|
)}
|
|
183
185
|
|
package/src/form/EntityForm.tsx
CHANGED
|
@@ -693,7 +693,7 @@ export function EntityForm<M extends Record<string, any>>({
|
|
|
693
693
|
<div className={cls("flex flex-col w-full pt-12 pb-16 px-4 sm:px-8 md:px-10")}>
|
|
694
694
|
|
|
695
695
|
{formContext.formex.dirty
|
|
696
|
-
? <Tooltip title={"
|
|
696
|
+
? <Tooltip title={"Local unsaved changes"}
|
|
697
697
|
className={"self-end sticky top-4 z-10"}>
|
|
698
698
|
<Chip size={"small"} colorScheme={"orangeDarker"}>
|
|
699
699
|
<EditIcon size={"smallest"}/>
|