@kickstartds/ds-agency-premium 1.1.1--canary.2.81.0 → 1.1.1--canary.2.88.0
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/PageIntroProps-f13f3e7c.d.ts +14 -0
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +631 -0
- package/dist/components/blog-overview/blog-overview.schema.json +35 -0
- package/dist/components/blog-post/blog-post.schema.dereffed.json +406 -0
- package/dist/components/blog-post/blog-post.schema.json +28 -0
- package/dist/components/headline/index.d.ts +48 -1
- package/dist/components/page/page.schema.dereffed.json +700 -705
- package/dist/components/page/page.schema.json +3 -40
- package/dist/components/page-intro/index.d.ts +1 -14
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/section/index.d.ts +7 -6
- package/dist/components/section/section.schema.dereffed.json +664 -662
- package/dist/components/section/section.schema.json +16 -13
- package/dist/components/seo/seo.schema.dereffed.json +42 -0
- package/dist/components/seo/seo.schema.json +36 -0
- package/dist/components/settings/settings.schema.dereffed.json +426 -0
- package/dist/components/settings/settings.schema.json +19 -0
- package/dist/tokens/themes.css +21 -21
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/package.json +1 -1
- package/dist/HeadlineProps-d413a2cc.d.ts +0 -48
- package/dist/components/component-teaser/component-teaser.schema.dereffed.json +0 -43
- package/dist/components/component-teaser/component-teaser.schema.json +0 -40
- package/dist/components/teaser-component/component-teaser.css +0 -33
- package/dist/components/teaser-component/index.d.ts +0 -41
- package/dist/components/teaser-component/index.js +0 -18
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
+
*/
|
|
6
|
+
interface PageIntroProps {
|
|
7
|
+
headline?: string;
|
|
8
|
+
sub?: string;
|
|
9
|
+
link?: {
|
|
10
|
+
href?: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export { PageIntroProps };
|
|
@@ -0,0 +1,631 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/cms/blog-overview.schema.json",
|
|
4
|
+
"title": "Blog Overview",
|
|
5
|
+
"description": "Abstracts a blog overview concept into JSON schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"seo"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"latest": {
|
|
12
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
13
|
+
"$id": "http://schema.mydesignsystem.com/blog-teaser.schema.json",
|
|
14
|
+
"title": "Blog Teaser",
|
|
15
|
+
"description": "Display a blog teaser with date, tags, headline, teaser text and author",
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"date": {
|
|
19
|
+
"title": "Date",
|
|
20
|
+
"description": "The date of the blog post",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "date",
|
|
23
|
+
"examples": [
|
|
24
|
+
"12/30/2022"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"tags": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"title": "Tags",
|
|
30
|
+
"description": "The tags for the blog post",
|
|
31
|
+
"items": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"examples": [
|
|
34
|
+
"tech",
|
|
35
|
+
"programming"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"headline": {
|
|
40
|
+
"title": "Headline",
|
|
41
|
+
"description": "The headline of the blog post",
|
|
42
|
+
"type": "string",
|
|
43
|
+
"examples": [
|
|
44
|
+
"This is a blog post headline"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"teaserText": {
|
|
48
|
+
"title": "Teaser Text",
|
|
49
|
+
"description": "The teaser text of the blog post",
|
|
50
|
+
"type": "string",
|
|
51
|
+
"examples": [
|
|
52
|
+
"This is a teaser text for the blog post"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"image": {
|
|
56
|
+
"title": "Image",
|
|
57
|
+
"description": "The preview image for the blog post",
|
|
58
|
+
"type": "string",
|
|
59
|
+
"format": "image",
|
|
60
|
+
"examples": [
|
|
61
|
+
"img/close-up-young-business-team-working.png"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"link": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"title": "Link",
|
|
67
|
+
"description": "URL and label for the blog post linked",
|
|
68
|
+
"properties": {
|
|
69
|
+
"url": {
|
|
70
|
+
"title": "URL",
|
|
71
|
+
"description": "The blog entry URL to link",
|
|
72
|
+
"type": "string",
|
|
73
|
+
"format": "uri",
|
|
74
|
+
"examples": [
|
|
75
|
+
"https://example.com"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"label": {
|
|
79
|
+
"title": "Label",
|
|
80
|
+
"description": "The label to use for the link",
|
|
81
|
+
"type": "string",
|
|
82
|
+
"examples": [
|
|
83
|
+
"Read more"
|
|
84
|
+
],
|
|
85
|
+
"default": "Read more"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"additionalProperties": false,
|
|
89
|
+
"required": [
|
|
90
|
+
"url"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"readingTime": {
|
|
94
|
+
"title": "Reading Time",
|
|
95
|
+
"description": "Time to read for the blog post",
|
|
96
|
+
"type": "string",
|
|
97
|
+
"examples": [
|
|
98
|
+
"5 min read"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"author": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"title": "Author",
|
|
104
|
+
"description": "The author of the blog post",
|
|
105
|
+
"properties": {
|
|
106
|
+
"name": {
|
|
107
|
+
"title": "Name",
|
|
108
|
+
"description": "The name of the author",
|
|
109
|
+
"type": "string",
|
|
110
|
+
"examples": [
|
|
111
|
+
"John Doe"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"title": {
|
|
115
|
+
"title": "Title",
|
|
116
|
+
"description": "The title of the author",
|
|
117
|
+
"type": "string",
|
|
118
|
+
"examples": [
|
|
119
|
+
"CEO"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"image": {
|
|
123
|
+
"title": "Image",
|
|
124
|
+
"description": "The image URL of the author",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"examples": [
|
|
127
|
+
"img/people/author-emily.png"
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"additionalProperties": false,
|
|
132
|
+
"required": [
|
|
133
|
+
"name"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"type": {
|
|
137
|
+
"const": "blog-teaser"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"additionalProperties": false,
|
|
141
|
+
"required": [
|
|
142
|
+
"headline",
|
|
143
|
+
"teaserText"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"list": {
|
|
147
|
+
"type": "array",
|
|
148
|
+
"title": "Posts",
|
|
149
|
+
"description": "Collection of posts to list on the page",
|
|
150
|
+
"items": {
|
|
151
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
152
|
+
"$id": "http://schema.mydesignsystem.com/blog-teaser.schema.json",
|
|
153
|
+
"title": "Blog Teaser",
|
|
154
|
+
"description": "Display a blog teaser with date, tags, headline, teaser text and author",
|
|
155
|
+
"type": "object",
|
|
156
|
+
"properties": {
|
|
157
|
+
"date": {
|
|
158
|
+
"title": "Date",
|
|
159
|
+
"description": "The date of the blog post",
|
|
160
|
+
"type": "string",
|
|
161
|
+
"format": "date",
|
|
162
|
+
"examples": [
|
|
163
|
+
"12/30/2022"
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
"tags": {
|
|
167
|
+
"type": "array",
|
|
168
|
+
"title": "Tags",
|
|
169
|
+
"description": "The tags for the blog post",
|
|
170
|
+
"items": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"examples": [
|
|
173
|
+
"tech",
|
|
174
|
+
"programming"
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"headline": {
|
|
179
|
+
"title": "Headline",
|
|
180
|
+
"description": "The headline of the blog post",
|
|
181
|
+
"type": "string",
|
|
182
|
+
"examples": [
|
|
183
|
+
"This is a blog post headline"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"teaserText": {
|
|
187
|
+
"title": "Teaser Text",
|
|
188
|
+
"description": "The teaser text of the blog post",
|
|
189
|
+
"type": "string",
|
|
190
|
+
"examples": [
|
|
191
|
+
"This is a teaser text for the blog post"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"image": {
|
|
195
|
+
"title": "Image",
|
|
196
|
+
"description": "The preview image for the blog post",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"format": "image",
|
|
199
|
+
"examples": [
|
|
200
|
+
"img/close-up-young-business-team-working.png"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"link": {
|
|
204
|
+
"type": "object",
|
|
205
|
+
"title": "Link",
|
|
206
|
+
"description": "URL and label for the blog post linked",
|
|
207
|
+
"properties": {
|
|
208
|
+
"url": {
|
|
209
|
+
"title": "URL",
|
|
210
|
+
"description": "The blog entry URL to link",
|
|
211
|
+
"type": "string",
|
|
212
|
+
"format": "uri",
|
|
213
|
+
"examples": [
|
|
214
|
+
"https://example.com"
|
|
215
|
+
]
|
|
216
|
+
},
|
|
217
|
+
"label": {
|
|
218
|
+
"title": "Label",
|
|
219
|
+
"description": "The label to use for the link",
|
|
220
|
+
"type": "string",
|
|
221
|
+
"examples": [
|
|
222
|
+
"Read more"
|
|
223
|
+
],
|
|
224
|
+
"default": "Read more"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"additionalProperties": false,
|
|
228
|
+
"required": [
|
|
229
|
+
"url"
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"readingTime": {
|
|
233
|
+
"title": "Reading Time",
|
|
234
|
+
"description": "Time to read for the blog post",
|
|
235
|
+
"type": "string",
|
|
236
|
+
"examples": [
|
|
237
|
+
"5 min read"
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
"author": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"title": "Author",
|
|
243
|
+
"description": "The author of the blog post",
|
|
244
|
+
"properties": {
|
|
245
|
+
"name": {
|
|
246
|
+
"title": "Name",
|
|
247
|
+
"description": "The name of the author",
|
|
248
|
+
"type": "string",
|
|
249
|
+
"examples": [
|
|
250
|
+
"John Doe"
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"title": {
|
|
254
|
+
"title": "Title",
|
|
255
|
+
"description": "The title of the author",
|
|
256
|
+
"type": "string",
|
|
257
|
+
"examples": [
|
|
258
|
+
"CEO"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
"image": {
|
|
262
|
+
"title": "Image",
|
|
263
|
+
"description": "The image URL of the author",
|
|
264
|
+
"type": "string",
|
|
265
|
+
"examples": [
|
|
266
|
+
"img/people/author-emily.png"
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"additionalProperties": false,
|
|
271
|
+
"required": [
|
|
272
|
+
"name"
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
"type": {
|
|
276
|
+
"const": "blog-teaser"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"additionalProperties": false,
|
|
280
|
+
"required": [
|
|
281
|
+
"headline",
|
|
282
|
+
"teaserText"
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"more": {
|
|
287
|
+
"type": "array",
|
|
288
|
+
"title": "Posts",
|
|
289
|
+
"description": "Collection of posts to list on the page",
|
|
290
|
+
"items": {
|
|
291
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
292
|
+
"$id": "http://schema.mydesignsystem.com/blog-teaser.schema.json",
|
|
293
|
+
"title": "Blog Teaser",
|
|
294
|
+
"description": "Display a blog teaser with date, tags, headline, teaser text and author",
|
|
295
|
+
"type": "object",
|
|
296
|
+
"properties": {
|
|
297
|
+
"date": {
|
|
298
|
+
"title": "Date",
|
|
299
|
+
"description": "The date of the blog post",
|
|
300
|
+
"type": "string",
|
|
301
|
+
"format": "date",
|
|
302
|
+
"examples": [
|
|
303
|
+
"12/30/2022"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
"tags": {
|
|
307
|
+
"type": "array",
|
|
308
|
+
"title": "Tags",
|
|
309
|
+
"description": "The tags for the blog post",
|
|
310
|
+
"items": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"examples": [
|
|
313
|
+
"tech",
|
|
314
|
+
"programming"
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"headline": {
|
|
319
|
+
"title": "Headline",
|
|
320
|
+
"description": "The headline of the blog post",
|
|
321
|
+
"type": "string",
|
|
322
|
+
"examples": [
|
|
323
|
+
"This is a blog post headline"
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
"teaserText": {
|
|
327
|
+
"title": "Teaser Text",
|
|
328
|
+
"description": "The teaser text of the blog post",
|
|
329
|
+
"type": "string",
|
|
330
|
+
"examples": [
|
|
331
|
+
"This is a teaser text for the blog post"
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
"image": {
|
|
335
|
+
"title": "Image",
|
|
336
|
+
"description": "The preview image for the blog post",
|
|
337
|
+
"type": "string",
|
|
338
|
+
"format": "image",
|
|
339
|
+
"examples": [
|
|
340
|
+
"img/close-up-young-business-team-working.png"
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
"link": {
|
|
344
|
+
"type": "object",
|
|
345
|
+
"title": "Link",
|
|
346
|
+
"description": "URL and label for the blog post linked",
|
|
347
|
+
"properties": {
|
|
348
|
+
"url": {
|
|
349
|
+
"title": "URL",
|
|
350
|
+
"description": "The blog entry URL to link",
|
|
351
|
+
"type": "string",
|
|
352
|
+
"format": "uri",
|
|
353
|
+
"examples": [
|
|
354
|
+
"https://example.com"
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
"label": {
|
|
358
|
+
"title": "Label",
|
|
359
|
+
"description": "The label to use for the link",
|
|
360
|
+
"type": "string",
|
|
361
|
+
"examples": [
|
|
362
|
+
"Read more"
|
|
363
|
+
],
|
|
364
|
+
"default": "Read more"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"additionalProperties": false,
|
|
368
|
+
"required": [
|
|
369
|
+
"url"
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
"readingTime": {
|
|
373
|
+
"title": "Reading Time",
|
|
374
|
+
"description": "Time to read for the blog post",
|
|
375
|
+
"type": "string",
|
|
376
|
+
"examples": [
|
|
377
|
+
"5 min read"
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
"author": {
|
|
381
|
+
"type": "object",
|
|
382
|
+
"title": "Author",
|
|
383
|
+
"description": "The author of the blog post",
|
|
384
|
+
"properties": {
|
|
385
|
+
"name": {
|
|
386
|
+
"title": "Name",
|
|
387
|
+
"description": "The name of the author",
|
|
388
|
+
"type": "string",
|
|
389
|
+
"examples": [
|
|
390
|
+
"John Doe"
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
"title": {
|
|
394
|
+
"title": "Title",
|
|
395
|
+
"description": "The title of the author",
|
|
396
|
+
"type": "string",
|
|
397
|
+
"examples": [
|
|
398
|
+
"CEO"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"image": {
|
|
402
|
+
"title": "Image",
|
|
403
|
+
"description": "The image URL of the author",
|
|
404
|
+
"type": "string",
|
|
405
|
+
"examples": [
|
|
406
|
+
"img/people/author-emily.png"
|
|
407
|
+
]
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"additionalProperties": false,
|
|
411
|
+
"required": [
|
|
412
|
+
"name"
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
"type": {
|
|
416
|
+
"const": "blog-teaser"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"additionalProperties": false,
|
|
420
|
+
"required": [
|
|
421
|
+
"headline",
|
|
422
|
+
"teaserText"
|
|
423
|
+
]
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"cta": {
|
|
427
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
428
|
+
"$id": "http://schema.mydesignsystem.com/cta.schema.json",
|
|
429
|
+
"title": "Cta",
|
|
430
|
+
"type": "object",
|
|
431
|
+
"properties": {
|
|
432
|
+
"headline": {
|
|
433
|
+
"title": "Component Headline",
|
|
434
|
+
"description": "Headline for the Component element",
|
|
435
|
+
"type": "string",
|
|
436
|
+
"examples": [
|
|
437
|
+
"Headline"
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
"sub": {
|
|
441
|
+
"title": "Component Subheadline",
|
|
442
|
+
"description": "Subheadline below the component headline",
|
|
443
|
+
"type": "string",
|
|
444
|
+
"examples": [
|
|
445
|
+
"Subheadline"
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
"text": {
|
|
449
|
+
"title": "Component Text",
|
|
450
|
+
"description": "Info text for the component element",
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
"highlightText": {
|
|
454
|
+
"type": "boolean",
|
|
455
|
+
"title": "Highlight Text",
|
|
456
|
+
"description": "Visually highlight the text",
|
|
457
|
+
"default": false
|
|
458
|
+
},
|
|
459
|
+
"colorNeutral": {
|
|
460
|
+
"title": "Color Neutral",
|
|
461
|
+
"description": "Make the text and buttons color neutral",
|
|
462
|
+
"default": false,
|
|
463
|
+
"type": "boolean"
|
|
464
|
+
},
|
|
465
|
+
"fullWidth": {
|
|
466
|
+
"title": "Width",
|
|
467
|
+
"description": "Set the width of the content to the full width of the element",
|
|
468
|
+
"type": "boolean",
|
|
469
|
+
"default": false
|
|
470
|
+
},
|
|
471
|
+
"buttons": {
|
|
472
|
+
"type": "array",
|
|
473
|
+
"items": {
|
|
474
|
+
"title": "Button",
|
|
475
|
+
"type": "object",
|
|
476
|
+
"properties": {
|
|
477
|
+
"label": {
|
|
478
|
+
"type": "string",
|
|
479
|
+
"title": "Label",
|
|
480
|
+
"description": "Text content to display inside the button",
|
|
481
|
+
"examples": [
|
|
482
|
+
"Book a meeting"
|
|
483
|
+
]
|
|
484
|
+
},
|
|
485
|
+
"icon": {
|
|
486
|
+
"type": "string",
|
|
487
|
+
"title": "Icon",
|
|
488
|
+
"description": "Choose an icon"
|
|
489
|
+
},
|
|
490
|
+
"target": {
|
|
491
|
+
"type": "string",
|
|
492
|
+
"title": "Target",
|
|
493
|
+
"description": "Target that should be linked, makes the button behave like a link semantically",
|
|
494
|
+
"format": "uri"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"additionalProperties": false
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"backgroundColor": {
|
|
501
|
+
"title": "Background color",
|
|
502
|
+
"description": "Background color for the whole element",
|
|
503
|
+
"type": "string",
|
|
504
|
+
"format": "color"
|
|
505
|
+
},
|
|
506
|
+
"backgroundImage": {
|
|
507
|
+
"title": "Background image",
|
|
508
|
+
"description": "Background image for the whole element",
|
|
509
|
+
"type": "string",
|
|
510
|
+
"format": "image"
|
|
511
|
+
},
|
|
512
|
+
"image": {
|
|
513
|
+
"title": "Image",
|
|
514
|
+
"description": "Image displayed alongside the text content",
|
|
515
|
+
"type": "object",
|
|
516
|
+
"properties": {
|
|
517
|
+
"src": {
|
|
518
|
+
"title": "Image source",
|
|
519
|
+
"description": "Image source to use",
|
|
520
|
+
"type": "string",
|
|
521
|
+
"format": "image"
|
|
522
|
+
},
|
|
523
|
+
"padding": {
|
|
524
|
+
"title": "Padding",
|
|
525
|
+
"description": "Toggle padding of the image",
|
|
526
|
+
"type": "boolean",
|
|
527
|
+
"default": true
|
|
528
|
+
},
|
|
529
|
+
"alt": {
|
|
530
|
+
"title": "Alt text",
|
|
531
|
+
"description": "Image description",
|
|
532
|
+
"type": "string"
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"additionalProperties": false
|
|
536
|
+
},
|
|
537
|
+
"order": {
|
|
538
|
+
"title": "Order",
|
|
539
|
+
"description": "Choose what comes first on mobile and desktop: image or text",
|
|
540
|
+
"type": "object",
|
|
541
|
+
"properties": {
|
|
542
|
+
"mobileImageLast": {
|
|
543
|
+
"title": "Mobile image after text",
|
|
544
|
+
"description": "Switch to displaying the image after the text on mobile",
|
|
545
|
+
"type": "boolean",
|
|
546
|
+
"default": false
|
|
547
|
+
},
|
|
548
|
+
"desktopImageLast": {
|
|
549
|
+
"title": "Desktop image after text",
|
|
550
|
+
"description": "Switch to displaying the image after the text on desktop",
|
|
551
|
+
"type": "boolean",
|
|
552
|
+
"default": true
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"additionalProperties": false
|
|
556
|
+
},
|
|
557
|
+
"textAlign": {
|
|
558
|
+
"title": "Text Alignment",
|
|
559
|
+
"description": "Choose the alginment of the text",
|
|
560
|
+
"enum": [
|
|
561
|
+
"left",
|
|
562
|
+
"center"
|
|
563
|
+
],
|
|
564
|
+
"type": "string",
|
|
565
|
+
"default": "left"
|
|
566
|
+
},
|
|
567
|
+
"contentAlign": {
|
|
568
|
+
"title": "Vertical alignment of the content",
|
|
569
|
+
"description": "Select a vertical alignment for the image",
|
|
570
|
+
"type": "string",
|
|
571
|
+
"enum": [
|
|
572
|
+
"center",
|
|
573
|
+
"top",
|
|
574
|
+
"bottom"
|
|
575
|
+
],
|
|
576
|
+
"default": "center"
|
|
577
|
+
},
|
|
578
|
+
"type": {
|
|
579
|
+
"const": "cta"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"additionalProperties": false
|
|
583
|
+
},
|
|
584
|
+
"seo": {
|
|
585
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
586
|
+
"$id": "http://schema.mydesignsystem.com/cms/seo.schema.json",
|
|
587
|
+
"title": "Seo",
|
|
588
|
+
"description": "Abstracts SEO settings for a website into JSON schema",
|
|
589
|
+
"type": "object",
|
|
590
|
+
"required": [
|
|
591
|
+
"title"
|
|
592
|
+
],
|
|
593
|
+
"properties": {
|
|
594
|
+
"title": {
|
|
595
|
+
"type": "string",
|
|
596
|
+
"title": "Title",
|
|
597
|
+
"description": "Title used for the page"
|
|
598
|
+
},
|
|
599
|
+
"description": {
|
|
600
|
+
"type": "string",
|
|
601
|
+
"title": "Description",
|
|
602
|
+
"description": "Description used for the page"
|
|
603
|
+
},
|
|
604
|
+
"keywords": {
|
|
605
|
+
"type": "string",
|
|
606
|
+
"title": "Keywords",
|
|
607
|
+
"description": "Keywords used for the page"
|
|
608
|
+
},
|
|
609
|
+
"image": {
|
|
610
|
+
"type": "string",
|
|
611
|
+
"title": "Preview Image",
|
|
612
|
+
"description": "Preview image used for the page",
|
|
613
|
+
"format": "image"
|
|
614
|
+
},
|
|
615
|
+
"cardImage": {
|
|
616
|
+
"type": "string",
|
|
617
|
+
"title": "Card Preview Image",
|
|
618
|
+
"description": "Card preview image (larger, e.g. Twitter) used for the page"
|
|
619
|
+
},
|
|
620
|
+
"type": {
|
|
621
|
+
"const": "seo"
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
"additionalProperties": false
|
|
625
|
+
},
|
|
626
|
+
"type": {
|
|
627
|
+
"const": "blog-overview"
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
"additionalProperties": false
|
|
631
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/cms/blog-overview.schema.json",
|
|
4
|
+
"title": "Blog Overview",
|
|
5
|
+
"description": "Abstracts a blog overview concept into JSON schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["seo"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"latest": {
|
|
10
|
+
"$ref": "http://schema.mydesignsystem.com/blog-teaser.schema.json"
|
|
11
|
+
},
|
|
12
|
+
"list": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"title": "Posts",
|
|
15
|
+
"description": "Collection of posts to list on the page",
|
|
16
|
+
"items": {
|
|
17
|
+
"$ref": "http://schema.mydesignsystem.com/blog-teaser.schema.json"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"more": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"title": "Posts",
|
|
23
|
+
"description": "Collection of posts to list on the page",
|
|
24
|
+
"items": {
|
|
25
|
+
"$ref": "http://schema.mydesignsystem.com/blog-teaser.schema.json"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"cta": {
|
|
29
|
+
"$ref": "http://schema.mydesignsystem.com/cta.schema.json"
|
|
30
|
+
},
|
|
31
|
+
"seo": {
|
|
32
|
+
"$ref": "http://schema.mydesignsystem.com/cms/seo.schema.json"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|