@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/dist/cloudcannon-config.latest.schema.json +1942 -248
- package/dist/cloudcannon-config.legacy-eleventy.schema.json +1942 -248
- package/dist/cloudcannon-config.legacy-hugo.schema.json +1942 -248
- package/dist/cloudcannon-config.legacy-jekyll.schema.json +1942 -248
- package/dist/cloudcannon-config.legacy-reader.schema.json +1942 -248
- package/package.json +1 -1
- package/src/configuration.d.ts +2 -2
- package/src/editables.d.ts +15 -1
- package/src/icon.d.ts +1701 -240
- package/src/index.d.ts +1 -0
- package/src/inputs.d.ts +6 -0
- package/src/javascript-api.d.ts +180 -0
- package/src/preview.d.ts +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcannon/configuration-types",
|
|
3
|
-
"version": "0.0.
|
|
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>",
|
package/src/configuration.d.ts
CHANGED
|
@@ -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
|
|
251
|
-
*
|
|
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).
|
package/src/editables.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface Editables {
|
|
|
24
24
|
text?: TextEditable;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export interface
|
|
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;
|