@kickstartds/ds-agency-premium 1.0.7--canary.2.66.0 → 1.0.8--canary.74.1ba3a97.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/index.d.ts +2 -3
- package/dist/components/page-wrapper/index.js +6 -471
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/raw-page-wrapper/index.d.ts +3 -0
- package/dist/components/raw-page-wrapper/index.js +492 -0
- 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/static/tokens-google.css +1553 -0
- package/dist/static/tokens-lughausen.css +1549 -0
- package/dist/static/tokens-telekom.css +1549 -0
- package/dist/static/tokens.css +1554 -0
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/package.json +3 -6
- 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
- package/dist/tokens/themes.css +0 -4657
- package/dist/tokens/themes.css.d.ts +0 -0
- package/dist/tokens/themes.css.js +0 -1
|
@@ -162,15 +162,9 @@
|
|
|
162
162
|
"description": "Allowed components for content",
|
|
163
163
|
"items": {
|
|
164
164
|
"anyOf": [
|
|
165
|
-
{
|
|
166
|
-
"$ref": "http://schema.mydesignsystem.com/hero.schema.json"
|
|
167
|
-
},
|
|
168
165
|
{
|
|
169
166
|
"$ref": "http://schema.mydesignsystem.com/cta.schema.json"
|
|
170
167
|
},
|
|
171
|
-
{
|
|
172
|
-
"$ref": "http://schema.mydesignsystem.com/mosaic.schema.json"
|
|
173
|
-
},
|
|
174
168
|
{
|
|
175
169
|
"$ref": "http://schema.mydesignsystem.com/faq.schema.json"
|
|
176
170
|
},
|
|
@@ -181,11 +175,26 @@
|
|
|
181
175
|
"$ref": "http://schema.mydesignsystem.com/gallery.schema.json"
|
|
182
176
|
},
|
|
183
177
|
{
|
|
184
|
-
"$ref": "http://schema.mydesignsystem.com/
|
|
178
|
+
"$ref": "http://schema.mydesignsystem.com/hero.schema.json"
|
|
185
179
|
},
|
|
186
180
|
{
|
|
187
181
|
"$ref": "http://schema.mydesignsystem.com/image-story.schema.json"
|
|
188
182
|
},
|
|
183
|
+
{
|
|
184
|
+
"$ref": "http://schema.mydesignsystem.com/image-text.schema.json"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"$ref": "http://schema.mydesignsystem.com/logos.schema.json"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"$ref": "http://schema.mydesignsystem.com/mosaic.schema.json"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"$ref": "http://schema.mydesignsystem.com/page-intro.schema.json"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"$ref": "http://schema.mydesignsystem.com/slider.schema.json"
|
|
197
|
+
},
|
|
189
198
|
{
|
|
190
199
|
"$ref": "http://schema.mydesignsystem.com/split.schema.json"
|
|
191
200
|
},
|
|
@@ -203,12 +212,6 @@
|
|
|
203
212
|
},
|
|
204
213
|
{
|
|
205
214
|
"$ref": "http://schema.mydesignsystem.com/video-curtain.schema.json"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"$ref": "http://schema.mydesignsystem.com/image-text.schema.json"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"$ref": "http://schema.mydesignsystem.com/logos.schema.json"
|
|
212
215
|
}
|
|
213
216
|
]
|
|
214
217
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/cms/seo.schema.json",
|
|
4
|
+
"title": "Seo",
|
|
5
|
+
"description": "Abstracts SEO settings for a website into JSON schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"title"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"title": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"title": "Title",
|
|
14
|
+
"description": "Title used for the page"
|
|
15
|
+
},
|
|
16
|
+
"description": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"title": "Description",
|
|
19
|
+
"description": "Description used for the page"
|
|
20
|
+
},
|
|
21
|
+
"keywords": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"title": "Keywords",
|
|
24
|
+
"description": "Keywords used for the page"
|
|
25
|
+
},
|
|
26
|
+
"image": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"title": "Preview Image",
|
|
29
|
+
"description": "Preview image used for the page",
|
|
30
|
+
"format": "image"
|
|
31
|
+
},
|
|
32
|
+
"cardImage": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"title": "Card Preview Image",
|
|
35
|
+
"description": "Card preview image (larger, e.g. Twitter) used for the page"
|
|
36
|
+
},
|
|
37
|
+
"type": {
|
|
38
|
+
"const": "seo"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/cms/seo.schema.json",
|
|
4
|
+
"title": "Seo",
|
|
5
|
+
"description": "Abstracts SEO settings for a website into JSON schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["title"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"title": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"title": "Title",
|
|
12
|
+
"description": "Title used for the page"
|
|
13
|
+
},
|
|
14
|
+
"description": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "Description",
|
|
17
|
+
"description": "Description used for the page"
|
|
18
|
+
},
|
|
19
|
+
"keywords": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"title": "Keywords",
|
|
22
|
+
"description": "Keywords used for the page"
|
|
23
|
+
},
|
|
24
|
+
"image": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"title": "Preview Image",
|
|
27
|
+
"description": "Preview image used for the page",
|
|
28
|
+
"format": "image"
|
|
29
|
+
},
|
|
30
|
+
"cardImage": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"title": "Card Preview Image",
|
|
33
|
+
"description": "Card preview image (larger, e.g. Twitter) used for the page"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/cms/settings.schema.json",
|
|
4
|
+
"title": "Settings",
|
|
5
|
+
"description": "Abstracts global settings made for a website into JSON Schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"header",
|
|
9
|
+
"footer",
|
|
10
|
+
"seo"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"header": {
|
|
14
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
15
|
+
"$id": "http://schema.mydesignsystem.com/header.schema.json",
|
|
16
|
+
"title": "Header",
|
|
17
|
+
"type": "object",
|
|
18
|
+
"properties": {
|
|
19
|
+
"logo": {
|
|
20
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
21
|
+
"$id": "http://schema.kickstartds.com/base/picture.schema.json",
|
|
22
|
+
"title": "Picture",
|
|
23
|
+
"description": "Base component to display a picture",
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"src": {
|
|
27
|
+
"title": "Source",
|
|
28
|
+
"description": "Picture source",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": "image",
|
|
31
|
+
"examples": [
|
|
32
|
+
"https://picsum.photos/seed/kdspicture/300/300"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"srcSet": {
|
|
36
|
+
"title": "Picture sourceset",
|
|
37
|
+
"description": "Use a srcSet to display picture",
|
|
38
|
+
"type": "string",
|
|
39
|
+
"format": "image"
|
|
40
|
+
},
|
|
41
|
+
"alt": {
|
|
42
|
+
"title": "Alt text",
|
|
43
|
+
"description": "Alt text to display for picture",
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"width": {
|
|
47
|
+
"title": "Width",
|
|
48
|
+
"description": "Width of the picture",
|
|
49
|
+
"type": "integer",
|
|
50
|
+
"minimum": 0,
|
|
51
|
+
"examples": [
|
|
52
|
+
300
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"height": {
|
|
56
|
+
"title": "Height",
|
|
57
|
+
"description": "Height of the picture",
|
|
58
|
+
"type": "integer",
|
|
59
|
+
"minimum": 0,
|
|
60
|
+
"examples": [
|
|
61
|
+
300
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"className": {
|
|
65
|
+
"title": "Additional Classes",
|
|
66
|
+
"description": "Add additional css classes that should be applied to the button",
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"component": {
|
|
70
|
+
"title": "`ks-component` attribute",
|
|
71
|
+
"description": "Optional custom component identifier",
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"id": {
|
|
75
|
+
"title": "Id",
|
|
76
|
+
"description": "Add id attribute to the image",
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"itemProp": {
|
|
80
|
+
"title": "`itemprop` attribute",
|
|
81
|
+
"description": "Define an itemprop attribute for the picture",
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"style": {
|
|
85
|
+
"title": "`style` attribute",
|
|
86
|
+
"description": "Define a style attribute for the picture",
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"noscript": {
|
|
90
|
+
"title": "Noscript",
|
|
91
|
+
"description": "Render noscript fallback",
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"default": true
|
|
94
|
+
},
|
|
95
|
+
"lazy": {
|
|
96
|
+
"title": "Lazy",
|
|
97
|
+
"description": "Load the picture lazily",
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"default": true
|
|
100
|
+
},
|
|
101
|
+
"sources": {
|
|
102
|
+
"title": "Sources",
|
|
103
|
+
"description": "Additional sources. This will result in a `picture`-Element",
|
|
104
|
+
"type": "array",
|
|
105
|
+
"items": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"srcSet": {
|
|
109
|
+
"title": "Picture sourceset",
|
|
110
|
+
"description": "Use a srcSet to display picture",
|
|
111
|
+
"type": "string",
|
|
112
|
+
"format": "image"
|
|
113
|
+
},
|
|
114
|
+
"media": {
|
|
115
|
+
"title": "TODO MEDIA TITLE",
|
|
116
|
+
"description": "TODO MEDIA DESCRIPTION",
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
"type": {
|
|
120
|
+
"title": "TODO TYPE TITLE",
|
|
121
|
+
"description": "TODO TYPE DESCRIPTION",
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"additionalProperties": false
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"pictureClassName": {
|
|
129
|
+
"title": "`class` attribute",
|
|
130
|
+
"description": "Set additional class(es) to the picture",
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"type": {
|
|
134
|
+
"const": "picture"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"additionalProperties": false
|
|
138
|
+
},
|
|
139
|
+
"logoHref": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"default": "/"
|
|
142
|
+
},
|
|
143
|
+
"floating": {
|
|
144
|
+
"type": "boolean",
|
|
145
|
+
"title": "Floating",
|
|
146
|
+
"description": "Make the header float over the first Section",
|
|
147
|
+
"default": false
|
|
148
|
+
},
|
|
149
|
+
"navItems": {
|
|
150
|
+
"type": "array",
|
|
151
|
+
"items": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"href": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
"label": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"additionalProperties": false,
|
|
162
|
+
"required": [
|
|
163
|
+
"href",
|
|
164
|
+
"label"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"examples": [
|
|
168
|
+
[
|
|
169
|
+
{
|
|
170
|
+
"href": "#about",
|
|
171
|
+
"label": "About us"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"href": "#services",
|
|
175
|
+
"label": "Our Services"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"href": "#project",
|
|
179
|
+
"label": "Project"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"href": "#showcase",
|
|
183
|
+
"label": "Showcase"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"href": "#blog",
|
|
187
|
+
"label": "Blog"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
"type": {
|
|
193
|
+
"const": "header"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"additionalProperties": false,
|
|
197
|
+
"required": [
|
|
198
|
+
"logo"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
"footer": {
|
|
202
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
203
|
+
"$id": "http://schema.mydesignsystem.com/footer.schema.json",
|
|
204
|
+
"title": "Footer",
|
|
205
|
+
"type": "object",
|
|
206
|
+
"properties": {
|
|
207
|
+
"logo": {
|
|
208
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
209
|
+
"$id": "http://schema.kickstartds.com/base/picture.schema.json",
|
|
210
|
+
"title": "Picture",
|
|
211
|
+
"description": "Base component to display a picture",
|
|
212
|
+
"type": "object",
|
|
213
|
+
"properties": {
|
|
214
|
+
"src": {
|
|
215
|
+
"title": "Source",
|
|
216
|
+
"description": "Picture source",
|
|
217
|
+
"type": "string",
|
|
218
|
+
"format": "image",
|
|
219
|
+
"examples": [
|
|
220
|
+
"https://picsum.photos/seed/kdspicture/300/300"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"srcSet": {
|
|
224
|
+
"title": "Picture sourceset",
|
|
225
|
+
"description": "Use a srcSet to display picture",
|
|
226
|
+
"type": "string",
|
|
227
|
+
"format": "image"
|
|
228
|
+
},
|
|
229
|
+
"alt": {
|
|
230
|
+
"title": "Alt text",
|
|
231
|
+
"description": "Alt text to display for picture",
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"width": {
|
|
235
|
+
"title": "Width",
|
|
236
|
+
"description": "Width of the picture",
|
|
237
|
+
"type": "integer",
|
|
238
|
+
"minimum": 0,
|
|
239
|
+
"examples": [
|
|
240
|
+
300
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"height": {
|
|
244
|
+
"title": "Height",
|
|
245
|
+
"description": "Height of the picture",
|
|
246
|
+
"type": "integer",
|
|
247
|
+
"minimum": 0,
|
|
248
|
+
"examples": [
|
|
249
|
+
300
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"className": {
|
|
253
|
+
"title": "Additional Classes",
|
|
254
|
+
"description": "Add additional css classes that should be applied to the button",
|
|
255
|
+
"type": "string"
|
|
256
|
+
},
|
|
257
|
+
"component": {
|
|
258
|
+
"title": "`ks-component` attribute",
|
|
259
|
+
"description": "Optional custom component identifier",
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
"id": {
|
|
263
|
+
"title": "Id",
|
|
264
|
+
"description": "Add id attribute to the image",
|
|
265
|
+
"type": "string"
|
|
266
|
+
},
|
|
267
|
+
"itemProp": {
|
|
268
|
+
"title": "`itemprop` attribute",
|
|
269
|
+
"description": "Define an itemprop attribute for the picture",
|
|
270
|
+
"type": "string"
|
|
271
|
+
},
|
|
272
|
+
"style": {
|
|
273
|
+
"title": "`style` attribute",
|
|
274
|
+
"description": "Define a style attribute for the picture",
|
|
275
|
+
"type": "string"
|
|
276
|
+
},
|
|
277
|
+
"noscript": {
|
|
278
|
+
"title": "Noscript",
|
|
279
|
+
"description": "Render noscript fallback",
|
|
280
|
+
"type": "boolean",
|
|
281
|
+
"default": true
|
|
282
|
+
},
|
|
283
|
+
"lazy": {
|
|
284
|
+
"title": "Lazy",
|
|
285
|
+
"description": "Load the picture lazily",
|
|
286
|
+
"type": "boolean",
|
|
287
|
+
"default": true
|
|
288
|
+
},
|
|
289
|
+
"sources": {
|
|
290
|
+
"title": "Sources",
|
|
291
|
+
"description": "Additional sources. This will result in a `picture`-Element",
|
|
292
|
+
"type": "array",
|
|
293
|
+
"items": {
|
|
294
|
+
"type": "object",
|
|
295
|
+
"properties": {
|
|
296
|
+
"srcSet": {
|
|
297
|
+
"title": "Picture sourceset",
|
|
298
|
+
"description": "Use a srcSet to display picture",
|
|
299
|
+
"type": "string",
|
|
300
|
+
"format": "image"
|
|
301
|
+
},
|
|
302
|
+
"media": {
|
|
303
|
+
"title": "TODO MEDIA TITLE",
|
|
304
|
+
"description": "TODO MEDIA DESCRIPTION",
|
|
305
|
+
"type": "string"
|
|
306
|
+
},
|
|
307
|
+
"type": {
|
|
308
|
+
"title": "TODO TYPE TITLE",
|
|
309
|
+
"description": "TODO TYPE DESCRIPTION",
|
|
310
|
+
"type": "string"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"additionalProperties": false
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"pictureClassName": {
|
|
317
|
+
"title": "`class` attribute",
|
|
318
|
+
"description": "Set additional class(es) to the picture",
|
|
319
|
+
"type": "string"
|
|
320
|
+
},
|
|
321
|
+
"type": {
|
|
322
|
+
"const": "picture"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"additionalProperties": false
|
|
326
|
+
},
|
|
327
|
+
"logoHref": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"default": "/"
|
|
330
|
+
},
|
|
331
|
+
"navItems": {
|
|
332
|
+
"type": "array",
|
|
333
|
+
"items": {
|
|
334
|
+
"type": "object",
|
|
335
|
+
"properties": {
|
|
336
|
+
"href": {
|
|
337
|
+
"type": "string"
|
|
338
|
+
},
|
|
339
|
+
"label": {
|
|
340
|
+
"type": "string"
|
|
341
|
+
},
|
|
342
|
+
"target": {
|
|
343
|
+
"type": "string"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"additionalProperties": false,
|
|
347
|
+
"required": [
|
|
348
|
+
"href",
|
|
349
|
+
"label"
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
"examples": [
|
|
353
|
+
[
|
|
354
|
+
{
|
|
355
|
+
"href": "#privacy-policy",
|
|
356
|
+
"label": "Privacy policy"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"href": "#changelog",
|
|
360
|
+
"label": "Changelog"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"href": "https://main--64f08cbba622af835d382b4f.chromatic.com/",
|
|
364
|
+
"label": "Storybook",
|
|
365
|
+
"target": "_blank"
|
|
366
|
+
}
|
|
367
|
+
]
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
"type": {
|
|
371
|
+
"const": "footer"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"required": [
|
|
375
|
+
"logo"
|
|
376
|
+
],
|
|
377
|
+
"additionalProperties": false
|
|
378
|
+
},
|
|
379
|
+
"seo": {
|
|
380
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
381
|
+
"$id": "http://schema.mydesignsystem.com/cms/seo.schema.json",
|
|
382
|
+
"title": "Seo",
|
|
383
|
+
"description": "Abstracts SEO settings for a website into JSON schema",
|
|
384
|
+
"type": "object",
|
|
385
|
+
"required": [
|
|
386
|
+
"title"
|
|
387
|
+
],
|
|
388
|
+
"properties": {
|
|
389
|
+
"title": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"title": "Title",
|
|
392
|
+
"description": "Title used for the page"
|
|
393
|
+
},
|
|
394
|
+
"description": {
|
|
395
|
+
"type": "string",
|
|
396
|
+
"title": "Description",
|
|
397
|
+
"description": "Description used for the page"
|
|
398
|
+
},
|
|
399
|
+
"keywords": {
|
|
400
|
+
"type": "string",
|
|
401
|
+
"title": "Keywords",
|
|
402
|
+
"description": "Keywords used for the page"
|
|
403
|
+
},
|
|
404
|
+
"image": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"title": "Preview Image",
|
|
407
|
+
"description": "Preview image used for the page",
|
|
408
|
+
"format": "image"
|
|
409
|
+
},
|
|
410
|
+
"cardImage": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"title": "Card Preview Image",
|
|
413
|
+
"description": "Card preview image (larger, e.g. Twitter) used for the page"
|
|
414
|
+
},
|
|
415
|
+
"type": {
|
|
416
|
+
"const": "seo"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"additionalProperties": false
|
|
420
|
+
},
|
|
421
|
+
"type": {
|
|
422
|
+
"const": "settings"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"additionalProperties": false
|
|
426
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/cms/settings.schema.json",
|
|
4
|
+
"title": "Settings",
|
|
5
|
+
"description": "Abstracts global settings made for a website into JSON Schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["header", "footer", "seo"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"header": {
|
|
10
|
+
"$ref": "http://schema.mydesignsystem.com/header.schema.json"
|
|
11
|
+
},
|
|
12
|
+
"footer": {
|
|
13
|
+
"$ref": "http://schema.mydesignsystem.com/footer.schema.json"
|
|
14
|
+
},
|
|
15
|
+
"seo": {
|
|
16
|
+
"$ref": "http://schema.mydesignsystem.com/cms/seo.schema.json"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|