@cloudcannon/configuration-types 0.0.24 → 0.0.26

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudcannon/configuration-types",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "type": "module",
5
5
  "description": "Contains TypeScript declarations and generates JSONSchema files for the CloudCannon configuration file.",
6
6
  "author": "CloudCannon <support@cloudcannon.com>",
@@ -247,8 +247,8 @@ export interface CollectionConfig extends Cascade, WithPreview {
247
247
  * For more information about the preview icon, please read our documentation on the
248
248
  * [`preview`](https://cloudcannon.com/documentation/articles/configure-your-card-previews/) key.
249
249
  *
250
- * Values can be from [Google's Material Icons
251
- * library](https://fonts.google.com/icons?icon.set=Material+Icons&icon.style=Rounded).
250
+ * Values are from [Google's Material
251
+ * Symbols](https://fonts.google.com/icons?icon.set=Material+Symbols&icon.style=Rounded).
252
252
  *
253
253
  * By default, CloudCannon uses `notes` with some exceptions (e.g., `data_usage` for the `data`
254
254
  * Collection).
@@ -24,7 +24,7 @@ export interface Editables {
24
24
  text?: TextEditable;
25
25
  }
26
26
 
27
- export interface BlockEditable extends ImageResizeable, TextEditable {
27
+ export interface ToolbarOptions {
28
28
  /**
29
29
  * Enables a control to wrap blocks of text in block quotes.
30
30
  *
@@ -145,8 +145,22 @@ export interface BlockEditable extends ImageResizeable, TextEditable {
145
145
  * @default false
146
146
  */
147
147
  table?: boolean;
148
+ /**
149
+ * Enables a control to join the selected block with the block above it.
150
+ *
151
+ * @default false
152
+ */
153
+ join_above?: boolean;
154
+ /**
155
+ * Enables a control to join the selected block with the block below it.
156
+ *
157
+ * @default false
158
+ */
159
+ join_below?: boolean;
148
160
  }
149
161
 
162
+ export type BlockEditable = ImageResizeable & TextEditable & ToolbarOptions;
163
+
150
164
  export type ImageEditable = ImageResizeable & WithPaths;
151
165
 
152
166
  export type LinkEditable = WithPaths;