@firecms/core 3.0.0-canary.259 → 3.0.0-canary.260

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.
@@ -23,6 +23,9 @@ export type Role = {
23
23
  * @see stripCollectionPath
24
24
  */
25
25
  collectionPermissions?: Record<string, Permissions>;
26
+ /**
27
+ * Permissions related to editing the collections
28
+ */
26
29
  config?: {
27
30
  createCollections?: boolean;
28
31
  editCollections?: boolean | "own";
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.259",
4
+ "version": "3.0.0-canary.260",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -53,9 +53,9 @@
53
53
  "@dnd-kit/core": "^6.3.1",
54
54
  "@dnd-kit/modifiers": "^9.0.0",
55
55
  "@dnd-kit/sortable": "^10.0.0",
56
- "@firecms/editor": "^3.0.0-canary.259",
57
- "@firecms/formex": "^3.0.0-canary.259",
58
- "@firecms/ui": "^3.0.0-canary.259",
56
+ "@firecms/editor": "^3.0.0-canary.260",
57
+ "@firecms/formex": "^3.0.0-canary.260",
58
+ "@firecms/ui": "^3.0.0-canary.260",
59
59
  "@radix-ui/react-portal": "^1.1.3",
60
60
  "clsx": "^2.1.1",
61
61
  "date-fns": "^3.6.0",
@@ -107,7 +107,7 @@
107
107
  "dist",
108
108
  "src"
109
109
  ],
110
- "gitHead": "a4ab5e6aacfb9e10ee8c1c72354c939fb2275ab0",
110
+ "gitHead": "7aaa0b7c9b66161c75aebbf6660d1fd838ffb342",
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  },
@@ -179,10 +179,15 @@ function buildBottomActions<M extends object>({
179
179
 
180
180
  {pluginActions}
181
181
 
182
- <Button variant="text" disabled={disabled || isSubmitting} type="reset">
182
+ <Button variant="text"
183
+ color="primary"
184
+ disabled={disabled || isSubmitting}
185
+ type="reset">
183
186
  {status === "existing" ? "Discard" : "Clear"}
184
187
  </Button>
185
- <Button variant={canClose ? "text" : "filled"} color="primary" type="submit"
188
+ <Button variant={canClose ? "text" : "filled"}
189
+ color="primary"
190
+ type="submit"
186
191
  disabled={disabled || isSubmitting}
187
192
  onClick={() => {
188
193
  sideDialogContext.setPendingClose(false);
@@ -30,6 +30,9 @@ export type Role = {
30
30
  */
31
31
  collectionPermissions?: Record<string, Permissions>;
32
32
 
33
+ /**
34
+ * Permissions related to editing the collections
35
+ */
33
36
  config?: {
34
37
 
35
38
  createCollections?: boolean;