@firecms/core 3.0.0-canary.212 → 3.0.0-canary.214

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.212",
4
+ "version": "3.0.0-canary.214",
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.212",
54
- "@firecms/formex": "^3.0.0-canary.212",
55
- "@firecms/ui": "^3.0.0-canary.212",
53
+ "@firecms/editor": "^3.0.0-canary.214",
54
+ "@firecms/formex": "^3.0.0-canary.214",
55
+ "@firecms/ui": "^3.0.0-canary.214",
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": "fd7800ae484cdf583e8bf91fb9bf9d17b1dddecc",
108
+ "gitHead": "255b71517080aaba37ba66335b110ac62ba3b507",
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 justify-center gap-1"
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={"Unsaved changes"} className={"inline"}>
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
- {entity
178
- ? entity.id
179
- : <Skeleton/>
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
 
@@ -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={"Unsaved changes"}
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"}/>
@@ -23,7 +23,7 @@ export function MultiSelectFieldBinding({
23
23
  disabled,
24
24
  property,
25
25
  includeDescription,
26
- size = "medium",
26
+ size = "large",
27
27
  autoFocus
28
28
  }: FieldProps<EnumType[], any, any>) {
29
29
 
@@ -83,7 +83,7 @@ export function MultiSelectFieldBinding({
83
83
  <>
84
84
  <MultiSelect
85
85
  className={"w-full mt-2"}
86
- size={size === "medium" ? "medium" : "small"}
86
+ size={size}
87
87
  value={validValue ? value.map((v) => v.toString()) : []}
88
88
  disabled={disabled}
89
89
  modalPopover={true}