@kumwe/studio-testkit 0.1.0-alpha.8 → 0.1.0-beta.2
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/README.md +79 -19
- package/THIRD_PARTY_NOTICES.md +9 -0
- package/conformance/authoring-web/non-drag-move-equivalence.json +199 -0
- package/conformance/renderer-web/blob-default-deny.json +62 -0
- package/conformance/renderer-web/chart-fallback.json +54 -0
- package/conformance/renderer-web/complete-catalog.json +649 -0
- package/conformance/renderer-web/escaped-heading.json +43 -0
- package/conformance/renderer-web/interactive-behaviors.json +284 -0
- package/conformance/renderer-web/presentation-capabilities.json +104 -0
- package/conformance/renderer-web/responsive-grid.json +48 -0
- package/conformance/renderer-web/security-fallbacks.json +184 -0
- package/conformance/rich-text/advanced.first-party.json +67 -0
- package/corpus-manifest.json +190 -2
- package/dist/contextual-conformance.d.ts +81 -0
- package/dist/contextual-conformance.d.ts.map +1 -0
- package/dist/contextual-conformance.js +1 -0
- package/dist/host-testbed.d.ts +47 -4
- package/dist/host-testbed.d.ts.map +1 -1
- package/dist/host-testbed.js +1 -742
- package/dist/http-authoring-contract.d.ts +3 -0
- package/dist/http-authoring-contract.d.ts.map +1 -0
- package/dist/http-authoring-contract.js +1 -0
- package/dist/http-host-adapter.d.ts +12 -64
- package/dist/http-host-adapter.d.ts.map +1 -1
- package/dist/http-host-adapter.js +1 -256
- package/dist/http-host-responder.d.ts +58 -0
- package/dist/http-host-responder.d.ts.map +1 -0
- package/dist/http-host-responder.js +1 -0
- package/dist/index.d.ts +49 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -174
- package/dist/web-conformance.d.ts +112 -0
- package/dist/web-conformance.d.ts.map +1 -0
- package/dist/web-conformance.js +1 -0
- package/fixtures/authoring-message-catalog.en.json +1093 -0
- package/fixtures/authoring-save.plan.example.json +48 -0
- package/fixtures/authoring-session.example.json +212 -0
- package/fixtures/authoring-target.example.json +34 -0
- package/fixtures/host-operations.example.json +77 -0
- package/fixtures/plugin.example.json +12 -0
- package/fixtures/reusable-content-type.example.json +26 -0
- package/fixtures/studio-deployment.hosted.example.json +152 -0
- package/fixtures/studio-deployment.standalone.example.json +9 -0
- package/invalid/authoring-save.plan-missing-coordinates.json +16 -0
- package/invalid/authoring-save.plan-missing-successor-context.json +28 -0
- package/invalid/authoring-save.request-plan-missing-successor-context.json +26 -0
- package/invalid/authoring-session.missing-entry-state.json +9 -0
- package/invalid/authoring-target.missing-resource-types.json +24 -0
- package/invalid/binding-projection-vector.unknown-status.json +85 -0
- package/invalid/host-error.retry-delay-without-retry.json +16 -0
- package/invalid/host-error.retry-delay-wrong-category.json +16 -0
- package/invalid/host-error.revision-without-conflict.json +16 -0
- package/invalid/reusable-content-type.entry-values.json +32 -0
- package/invalid/studio-chart.script-config.json +10 -0
- package/invalid/studio-deployment.long-lived-token.json +24 -0
- package/invalid/studio-deployment.missing-required.json +5 -0
- package/invalid/studio-deployment.unknown-member.json +15 -0
- package/invalid/studio-drawing.svg-payload.json +10 -0
- package/invalid/studio-money.float.json +8 -0
- package/invalid/studio-presentation.css-injection.json +8 -0
- package/invalid/studio-table.html-cell.json +8 -0
- package/package.json +8 -4
- package/studio-release.json +35 -0
- package/vectors/authoring-http/transport-matrix.json +237 -0
- package/vectors/binding-projection/app-content-fields.resolved.json +286 -0
- package/vectors/binding-projection/field-removed.diagnostic.json +135 -0
- package/vectors/binding-projection/model-revision-mismatch.diagnostic.json +124 -0
- package/vectors/host/model.get.stored.json +37 -0
- package/vectors/host/model.list.authorized.json +31 -0
- package/dist/host-testbed.js.map +0 -1
- package/dist/http-host-adapter.js.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "renderer-web/complete-catalog",
|
|
3
|
+
"coverage": {
|
|
4
|
+
"blockTypes": [
|
|
5
|
+
"studio.core/accordion",
|
|
6
|
+
"studio.core/accordion-item",
|
|
7
|
+
"studio.core/article",
|
|
8
|
+
"studio.core/attachment",
|
|
9
|
+
"studio.core/audio",
|
|
10
|
+
"studio.core/badge",
|
|
11
|
+
"studio.core/call-to-action",
|
|
12
|
+
"studio.core/callout",
|
|
13
|
+
"studio.core/card",
|
|
14
|
+
"studio.core/chart",
|
|
15
|
+
"studio.core/code",
|
|
16
|
+
"studio.core/columns",
|
|
17
|
+
"studio.core/content-collection",
|
|
18
|
+
"studio.core/content-reference",
|
|
19
|
+
"studio.core/countdown",
|
|
20
|
+
"studio.core/cover",
|
|
21
|
+
"studio.core/description-item",
|
|
22
|
+
"studio.core/description-list",
|
|
23
|
+
"studio.core/diagram",
|
|
24
|
+
"studio.core/dialog",
|
|
25
|
+
"studio.core/divider",
|
|
26
|
+
"studio.core/drawing",
|
|
27
|
+
"studio.core/embed",
|
|
28
|
+
"studio.core/gallery",
|
|
29
|
+
"studio.core/grid",
|
|
30
|
+
"studio.core/heading",
|
|
31
|
+
"studio.core/icon",
|
|
32
|
+
"studio.core/image",
|
|
33
|
+
"studio.core/label",
|
|
34
|
+
"studio.core/math",
|
|
35
|
+
"studio.core/money",
|
|
36
|
+
"studio.core/navigation",
|
|
37
|
+
"studio.core/navigation-item",
|
|
38
|
+
"studio.core/notice",
|
|
39
|
+
"studio.core/popover",
|
|
40
|
+
"studio.core/progress",
|
|
41
|
+
"studio.core/rich-text",
|
|
42
|
+
"studio.core/search",
|
|
43
|
+
"studio.core/section",
|
|
44
|
+
"studio.core/spinner",
|
|
45
|
+
"studio.core/stack",
|
|
46
|
+
"studio.core/tab",
|
|
47
|
+
"studio.core/table",
|
|
48
|
+
"studio.core/tabs",
|
|
49
|
+
"studio.core/video"
|
|
50
|
+
],
|
|
51
|
+
"behaviors": [],
|
|
52
|
+
"presentation": [],
|
|
53
|
+
"security": ["typed-data-fallback"]
|
|
54
|
+
},
|
|
55
|
+
"roots": [
|
|
56
|
+
{
|
|
57
|
+
"authoring": { "mode": "structural" },
|
|
58
|
+
"bindings": {},
|
|
59
|
+
"id": "section",
|
|
60
|
+
"properties": {},
|
|
61
|
+
"slots": { "content": [] },
|
|
62
|
+
"type": "studio.core/section",
|
|
63
|
+
"version": "1.0.0"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"authoring": { "mode": "structural" },
|
|
67
|
+
"bindings": {},
|
|
68
|
+
"id": "stack",
|
|
69
|
+
"properties": { "direction": "block" },
|
|
70
|
+
"slots": { "items": [] },
|
|
71
|
+
"type": "studio.core/stack",
|
|
72
|
+
"version": "1.0.0"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"authoring": { "mode": "structural" },
|
|
76
|
+
"bindings": {},
|
|
77
|
+
"id": "grid",
|
|
78
|
+
"properties": { "collapse": "stack", "columns": 1 },
|
|
79
|
+
"slots": { "items": [] },
|
|
80
|
+
"type": "studio.core/grid",
|
|
81
|
+
"version": "1.0.0"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"authoring": { "mode": "structural" },
|
|
85
|
+
"bindings": {},
|
|
86
|
+
"id": "columns",
|
|
87
|
+
"properties": { "collapse": "stack", "columns": 1 },
|
|
88
|
+
"slots": { "items": [] },
|
|
89
|
+
"type": "studio.core/columns",
|
|
90
|
+
"version": "1.0.0"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"authoring": { "mode": "structural" },
|
|
94
|
+
"bindings": {},
|
|
95
|
+
"id": "accordion",
|
|
96
|
+
"properties": { "allow-multiple": false },
|
|
97
|
+
"slots": { "items": [] },
|
|
98
|
+
"type": "studio.core/accordion",
|
|
99
|
+
"version": "1.0.0"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"authoring": { "mode": "structural" },
|
|
103
|
+
"bindings": {},
|
|
104
|
+
"id": "accordion-item",
|
|
105
|
+
"properties": { "expanded": false },
|
|
106
|
+
"slots": { "content": [] },
|
|
107
|
+
"type": "studio.core/accordion-item",
|
|
108
|
+
"version": "1.0.0"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"authoring": { "mode": "structural" },
|
|
112
|
+
"bindings": {},
|
|
113
|
+
"id": "article",
|
|
114
|
+
"properties": {},
|
|
115
|
+
"slots": { "content": [] },
|
|
116
|
+
"type": "studio.core/article",
|
|
117
|
+
"version": "1.0.0"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"authoring": { "mode": "content" },
|
|
121
|
+
"bindings": {},
|
|
122
|
+
"id": "attachment",
|
|
123
|
+
"properties": { "download": true },
|
|
124
|
+
"slots": {},
|
|
125
|
+
"type": "studio.core/attachment",
|
|
126
|
+
"version": "1.0.0"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"authoring": { "mode": "content" },
|
|
130
|
+
"bindings": {},
|
|
131
|
+
"id": "audio",
|
|
132
|
+
"properties": { "autoplay": false, "controls": true },
|
|
133
|
+
"slots": {},
|
|
134
|
+
"type": "studio.core/audio",
|
|
135
|
+
"version": "1.0.0"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"authoring": { "mode": "content" },
|
|
139
|
+
"bindings": {},
|
|
140
|
+
"id": "badge",
|
|
141
|
+
"properties": { "appearance": "solid", "tone": "neutral" },
|
|
142
|
+
"slots": {},
|
|
143
|
+
"type": "studio.core/badge",
|
|
144
|
+
"version": "1.0.0"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"authoring": { "mode": "content" },
|
|
148
|
+
"bindings": {},
|
|
149
|
+
"id": "call-to-action",
|
|
150
|
+
"properties": { "appearance": "primary", "href": "" },
|
|
151
|
+
"slots": {},
|
|
152
|
+
"type": "studio.core/call-to-action",
|
|
153
|
+
"version": "1.0.0"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"authoring": { "mode": "content" },
|
|
157
|
+
"bindings": {},
|
|
158
|
+
"id": "callout",
|
|
159
|
+
"properties": { "tone": "information" },
|
|
160
|
+
"slots": {},
|
|
161
|
+
"type": "studio.core/callout",
|
|
162
|
+
"version": "1.0.0"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"authoring": { "mode": "structural" },
|
|
166
|
+
"bindings": {},
|
|
167
|
+
"id": "card",
|
|
168
|
+
"properties": { "appearance": "plain" },
|
|
169
|
+
"slots": { "actions": [] },
|
|
170
|
+
"type": "studio.core/card",
|
|
171
|
+
"version": "1.0.0"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"authoring": { "mode": "content" },
|
|
175
|
+
"bindings": {},
|
|
176
|
+
"id": "chart",
|
|
177
|
+
"properties": {},
|
|
178
|
+
"slots": {},
|
|
179
|
+
"type": "studio.core/chart",
|
|
180
|
+
"version": "1.0.0"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"authoring": { "mode": "content" },
|
|
184
|
+
"bindings": {},
|
|
185
|
+
"id": "code",
|
|
186
|
+
"properties": { "language": "text", "show-line-numbers": false },
|
|
187
|
+
"slots": {},
|
|
188
|
+
"type": "studio.core/code",
|
|
189
|
+
"version": "1.0.0"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"authoring": { "mode": "content" },
|
|
193
|
+
"bindings": {},
|
|
194
|
+
"id": "content-collection",
|
|
195
|
+
"properties": { "limit": 12, "presentation": "cards" },
|
|
196
|
+
"slots": {},
|
|
197
|
+
"type": "studio.core/content-collection",
|
|
198
|
+
"version": "1.0.0"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"authoring": { "mode": "content" },
|
|
202
|
+
"bindings": {},
|
|
203
|
+
"id": "content-reference",
|
|
204
|
+
"properties": { "presentation": "summary" },
|
|
205
|
+
"slots": {},
|
|
206
|
+
"type": "studio.core/content-reference",
|
|
207
|
+
"version": "1.0.0"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"authoring": { "mode": "content" },
|
|
211
|
+
"bindings": {},
|
|
212
|
+
"id": "countdown",
|
|
213
|
+
"properties": { "display": "compact", "expired-behavior": "zero" },
|
|
214
|
+
"slots": {},
|
|
215
|
+
"type": "studio.core/countdown",
|
|
216
|
+
"version": "1.0.0"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"authoring": { "mode": "structural" },
|
|
220
|
+
"bindings": {},
|
|
221
|
+
"id": "cover",
|
|
222
|
+
"properties": { "alignment": "center", "overlay": "medium" },
|
|
223
|
+
"slots": { "content": [] },
|
|
224
|
+
"type": "studio.core/cover",
|
|
225
|
+
"version": "1.0.0"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"authoring": { "mode": "content" },
|
|
229
|
+
"bindings": {},
|
|
230
|
+
"id": "description-item",
|
|
231
|
+
"properties": {},
|
|
232
|
+
"slots": {},
|
|
233
|
+
"type": "studio.core/description-item",
|
|
234
|
+
"version": "1.0.0"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"authoring": { "mode": "structural" },
|
|
238
|
+
"bindings": {},
|
|
239
|
+
"id": "description-list",
|
|
240
|
+
"properties": {},
|
|
241
|
+
"slots": {
|
|
242
|
+
"items": [
|
|
243
|
+
{
|
|
244
|
+
"authoring": { "mode": "content" },
|
|
245
|
+
"bindings": {},
|
|
246
|
+
"id": "description-list-item",
|
|
247
|
+
"properties": {},
|
|
248
|
+
"slots": {},
|
|
249
|
+
"type": "studio.core/description-item",
|
|
250
|
+
"version": "1.0.0"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
"type": "studio.core/description-list",
|
|
255
|
+
"version": "1.0.0"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"authoring": { "mode": "content" },
|
|
259
|
+
"bindings": {},
|
|
260
|
+
"id": "diagram",
|
|
261
|
+
"properties": { "theme": "neutral" },
|
|
262
|
+
"slots": {},
|
|
263
|
+
"type": "studio.core/diagram",
|
|
264
|
+
"version": "1.0.0"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"authoring": { "mode": "structural" },
|
|
268
|
+
"bindings": {},
|
|
269
|
+
"id": "dialog",
|
|
270
|
+
"properties": { "modal": true, "presentation": "modal" },
|
|
271
|
+
"slots": { "content": [] },
|
|
272
|
+
"type": "studio.core/dialog",
|
|
273
|
+
"version": "1.0.0"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"authoring": { "mode": "content" },
|
|
277
|
+
"bindings": {},
|
|
278
|
+
"id": "divider",
|
|
279
|
+
"properties": { "style": "solid" },
|
|
280
|
+
"slots": {},
|
|
281
|
+
"type": "studio.core/divider",
|
|
282
|
+
"version": "1.0.0"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"authoring": { "mode": "content" },
|
|
286
|
+
"bindings": {},
|
|
287
|
+
"id": "drawing",
|
|
288
|
+
"properties": {},
|
|
289
|
+
"slots": {},
|
|
290
|
+
"type": "studio.core/drawing",
|
|
291
|
+
"version": "1.0.0"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"authoring": { "mode": "content" },
|
|
295
|
+
"bindings": {},
|
|
296
|
+
"id": "embed",
|
|
297
|
+
"properties": { "aspect-ratio": "16:9" },
|
|
298
|
+
"slots": {},
|
|
299
|
+
"type": "studio.core/embed",
|
|
300
|
+
"version": "1.0.0"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"authoring": { "mode": "content" },
|
|
304
|
+
"bindings": {},
|
|
305
|
+
"id": "gallery",
|
|
306
|
+
"properties": { "autoplay": false, "columns": 4, "lightbox": false, "presentation": "grid" },
|
|
307
|
+
"slots": {},
|
|
308
|
+
"type": "studio.core/gallery",
|
|
309
|
+
"version": "1.0.0"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"authoring": { "mode": "content" },
|
|
313
|
+
"bindings": {},
|
|
314
|
+
"id": "heading",
|
|
315
|
+
"properties": { "level": 2 },
|
|
316
|
+
"slots": {},
|
|
317
|
+
"type": "studio.core/heading",
|
|
318
|
+
"version": "1.0.0"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"authoring": { "mode": "content" },
|
|
322
|
+
"bindings": {},
|
|
323
|
+
"id": "icon",
|
|
324
|
+
"properties": { "decorative": true, "name": "symbol" },
|
|
325
|
+
"slots": {},
|
|
326
|
+
"type": "studio.core/icon",
|
|
327
|
+
"version": "1.0.0"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"authoring": { "mode": "content" },
|
|
331
|
+
"bindings": {},
|
|
332
|
+
"id": "image",
|
|
333
|
+
"properties": { "fit": "cover", "loading": "lazy" },
|
|
334
|
+
"slots": {},
|
|
335
|
+
"type": "studio.core/image",
|
|
336
|
+
"version": "1.0.0"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"authoring": { "mode": "content" },
|
|
340
|
+
"bindings": {},
|
|
341
|
+
"id": "label",
|
|
342
|
+
"properties": { "tone": "neutral" },
|
|
343
|
+
"slots": {},
|
|
344
|
+
"type": "studio.core/label",
|
|
345
|
+
"version": "1.0.0"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"authoring": { "mode": "content" },
|
|
349
|
+
"bindings": {},
|
|
350
|
+
"id": "math",
|
|
351
|
+
"properties": { "display-mode": true },
|
|
352
|
+
"slots": {},
|
|
353
|
+
"type": "studio.core/math",
|
|
354
|
+
"version": "1.0.0"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"authoring": { "mode": "content" },
|
|
358
|
+
"bindings": {},
|
|
359
|
+
"id": "money",
|
|
360
|
+
"properties": {},
|
|
361
|
+
"slots": {},
|
|
362
|
+
"type": "studio.core/money",
|
|
363
|
+
"version": "1.0.0"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"authoring": { "mode": "structural" },
|
|
367
|
+
"bindings": {},
|
|
368
|
+
"id": "navigation",
|
|
369
|
+
"properties": { "presentation": "nav" },
|
|
370
|
+
"slots": { "items": [] },
|
|
371
|
+
"type": "studio.core/navigation",
|
|
372
|
+
"version": "1.0.0"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"authoring": { "mode": "structural" },
|
|
376
|
+
"bindings": {},
|
|
377
|
+
"id": "navigation-item",
|
|
378
|
+
"properties": { "current": false, "href": "" },
|
|
379
|
+
"slots": { "children": [] },
|
|
380
|
+
"type": "studio.core/navigation-item",
|
|
381
|
+
"version": "1.0.0"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"authoring": { "mode": "content" },
|
|
385
|
+
"bindings": {},
|
|
386
|
+
"id": "notice",
|
|
387
|
+
"properties": { "dismissible": false, "tone": "information" },
|
|
388
|
+
"slots": {},
|
|
389
|
+
"type": "studio.core/notice",
|
|
390
|
+
"version": "1.0.0"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"authoring": { "mode": "structural" },
|
|
394
|
+
"bindings": {},
|
|
395
|
+
"id": "popover",
|
|
396
|
+
"properties": { "dismiss-on-blur": true, "placement": "auto", "presentation": "popover" },
|
|
397
|
+
"slots": { "content": [] },
|
|
398
|
+
"type": "studio.core/popover",
|
|
399
|
+
"version": "1.0.0"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"authoring": { "mode": "content" },
|
|
403
|
+
"bindings": {},
|
|
404
|
+
"id": "progress",
|
|
405
|
+
"properties": { "maximum": 100 },
|
|
406
|
+
"slots": {},
|
|
407
|
+
"type": "studio.core/progress",
|
|
408
|
+
"version": "1.0.0"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"authoring": { "mode": "content" },
|
|
412
|
+
"bindings": {},
|
|
413
|
+
"id": "rich-text",
|
|
414
|
+
"properties": {},
|
|
415
|
+
"slots": {},
|
|
416
|
+
"type": "studio.core/rich-text",
|
|
417
|
+
"version": "1.0.0"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"authoring": { "mode": "content" },
|
|
421
|
+
"bindings": {},
|
|
422
|
+
"id": "search",
|
|
423
|
+
"properties": { "action": "", "query-parameter": "q" },
|
|
424
|
+
"slots": {},
|
|
425
|
+
"type": "studio.core/search",
|
|
426
|
+
"version": "1.0.0"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"authoring": { "mode": "content" },
|
|
430
|
+
"bindings": {},
|
|
431
|
+
"id": "spinner",
|
|
432
|
+
"properties": { "active": true, "size": "medium" },
|
|
433
|
+
"slots": {},
|
|
434
|
+
"type": "studio.core/spinner",
|
|
435
|
+
"version": "1.0.0"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"authoring": { "mode": "structural" },
|
|
439
|
+
"bindings": {},
|
|
440
|
+
"id": "tab",
|
|
441
|
+
"properties": {},
|
|
442
|
+
"slots": { "content": [] },
|
|
443
|
+
"type": "studio.core/tab",
|
|
444
|
+
"version": "1.0.0"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"authoring": { "mode": "content" },
|
|
448
|
+
"bindings": {},
|
|
449
|
+
"id": "table",
|
|
450
|
+
"properties": {},
|
|
451
|
+
"slots": {},
|
|
452
|
+
"type": "studio.core/table",
|
|
453
|
+
"version": "1.0.0"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"authoring": { "mode": "structural" },
|
|
457
|
+
"bindings": {},
|
|
458
|
+
"id": "tabs",
|
|
459
|
+
"properties": { "activation": "automatic" },
|
|
460
|
+
"slots": { "items": [] },
|
|
461
|
+
"type": "studio.core/tabs",
|
|
462
|
+
"version": "1.0.0"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"authoring": { "mode": "content" },
|
|
466
|
+
"bindings": {},
|
|
467
|
+
"id": "video",
|
|
468
|
+
"properties": { "autoplay": false, "controls": true, "muted": false },
|
|
469
|
+
"slots": {},
|
|
470
|
+
"type": "studio.core/video",
|
|
471
|
+
"version": "1.0.0"
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"bindings": [
|
|
475
|
+
{
|
|
476
|
+
"nodeId": "chart",
|
|
477
|
+
"port": "chart",
|
|
478
|
+
"value": {
|
|
479
|
+
"type": "bar",
|
|
480
|
+
"labels": ["A"],
|
|
481
|
+
"datasets": [{ "label": "Series", "values": [1] }]
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
{ "nodeId": "countdown", "port": "target", "value": "2099-01-01T00:00:00.000Z" },
|
|
485
|
+
{
|
|
486
|
+
"nodeId": "drawing",
|
|
487
|
+
"port": "drawing",
|
|
488
|
+
"value": {
|
|
489
|
+
"alt": "Line",
|
|
490
|
+
"height": 10,
|
|
491
|
+
"strokes": [
|
|
492
|
+
{
|
|
493
|
+
"color": "#112233",
|
|
494
|
+
"points": [
|
|
495
|
+
{ "x": 0, "y": 0 },
|
|
496
|
+
{ "x": 10, "y": 10 }
|
|
497
|
+
],
|
|
498
|
+
"width": 1
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
"width": 10
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{ "nodeId": "money", "port": "amount", "value": { "amount": "10.00", "currency": "NAD" } },
|
|
505
|
+
{ "nodeId": "progress", "port": "value", "value": 50 },
|
|
506
|
+
{
|
|
507
|
+
"nodeId": "rich-text",
|
|
508
|
+
"port": "content",
|
|
509
|
+
"value": {
|
|
510
|
+
"type": "doc",
|
|
511
|
+
"content": [
|
|
512
|
+
{
|
|
513
|
+
"type": "callout",
|
|
514
|
+
"attrs": { "tone": "warning" },
|
|
515
|
+
"content": [
|
|
516
|
+
{
|
|
517
|
+
"type": "paragraph",
|
|
518
|
+
"content": [
|
|
519
|
+
{
|
|
520
|
+
"type": "text",
|
|
521
|
+
"text": "Mind the gap",
|
|
522
|
+
"marks": [{ "type": "highlight", "attrs": { "tone": "accent" } }]
|
|
523
|
+
}
|
|
524
|
+
]
|
|
525
|
+
}
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"type": "checklist",
|
|
530
|
+
"content": [
|
|
531
|
+
{
|
|
532
|
+
"type": "checklistItem",
|
|
533
|
+
"attrs": { "checked": true, "level": 1 },
|
|
534
|
+
"content": [{ "type": "text", "text": "Done" }]
|
|
535
|
+
}
|
|
536
|
+
]
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"type": "table",
|
|
540
|
+
"attrs": { "header": true },
|
|
541
|
+
"content": [
|
|
542
|
+
{
|
|
543
|
+
"type": "tableRow",
|
|
544
|
+
"content": [
|
|
545
|
+
{
|
|
546
|
+
"type": "tableCell",
|
|
547
|
+
"content": [{ "type": "text", "text": "Name" }]
|
|
548
|
+
}
|
|
549
|
+
]
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
|
+
},
|
|
553
|
+
{ "type": "codeBlock", "attrs": { "language": "typescript" }, "text": "const n = 42;" }
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
{ "nodeId": "table", "port": "table", "value": { "columns": ["Column"], "rows": [["Cell"]] } }
|
|
558
|
+
],
|
|
559
|
+
"media": [],
|
|
560
|
+
"expect": {
|
|
561
|
+
"activationMarkers": [],
|
|
562
|
+
"cssBytes": 6670,
|
|
563
|
+
"cssSha256": "70fe07a971ba06957822200dbea9f45a8cb14f6958543d8900d515ecfa2b4b01",
|
|
564
|
+
"htmlBytes": 9998,
|
|
565
|
+
"htmlSha256": "6d6f642b205a7a9b3e566c9437ead74aad325e064aeed464f0945cf6354e7652",
|
|
566
|
+
"publicStyleAsset": {
|
|
567
|
+
"path": "assets/studio-public-70fe07a971ba0695.min.css",
|
|
568
|
+
"role": "public-style",
|
|
569
|
+
"mediaType": "text/css",
|
|
570
|
+
"bytes": 6670,
|
|
571
|
+
"budgetBytes": 262144,
|
|
572
|
+
"contentHash": "70fe07a971ba06957822200dbea9f45a8cb14f6958543d8900d515ecfa2b4b01",
|
|
573
|
+
"integrity": "sha256-cP4HqXG6BpV4IiANvqn0WoyxT2lYVD2JANUV7PorSwE=",
|
|
574
|
+
"minified": true
|
|
575
|
+
},
|
|
576
|
+
"htmlContains": [
|
|
577
|
+
"data-studio-block=\"section\"",
|
|
578
|
+
"data-studio-block=\"stack\"",
|
|
579
|
+
"data-studio-block=\"grid\"",
|
|
580
|
+
"data-studio-block=\"columns\"",
|
|
581
|
+
"data-studio-block=\"accordion\"",
|
|
582
|
+
"data-studio-block=\"accordion-item\"",
|
|
583
|
+
"data-studio-block=\"article\"",
|
|
584
|
+
"data-studio-block=\"attachment\"",
|
|
585
|
+
"data-studio-block=\"audio\"",
|
|
586
|
+
"data-studio-block=\"badge\"",
|
|
587
|
+
"data-studio-block=\"call-to-action\"",
|
|
588
|
+
"data-studio-block=\"callout\"",
|
|
589
|
+
"data-studio-block=\"card\"",
|
|
590
|
+
"data-studio-block=\"chart\"",
|
|
591
|
+
"data-studio-block=\"code\"",
|
|
592
|
+
"data-studio-block=\"content-collection\"",
|
|
593
|
+
"data-studio-block=\"content-reference\"",
|
|
594
|
+
"data-studio-block=\"countdown\"",
|
|
595
|
+
"data-studio-block=\"cover\"",
|
|
596
|
+
"data-studio-block=\"description-item\"",
|
|
597
|
+
"data-studio-block=\"description-list\"",
|
|
598
|
+
"data-studio-block=\"diagram\"",
|
|
599
|
+
"data-studio-block=\"dialog\"",
|
|
600
|
+
"data-studio-block=\"divider\"",
|
|
601
|
+
"data-studio-block=\"drawing\"",
|
|
602
|
+
"data-studio-block=\"embed\"",
|
|
603
|
+
"data-studio-block=\"gallery\"",
|
|
604
|
+
"data-studio-block=\"heading\"",
|
|
605
|
+
"data-studio-block=\"icon\"",
|
|
606
|
+
"data-studio-block=\"image\"",
|
|
607
|
+
"data-studio-block=\"label\"",
|
|
608
|
+
"data-studio-block=\"math\"",
|
|
609
|
+
"data-studio-block=\"money\"",
|
|
610
|
+
"data-studio-block=\"navigation\"",
|
|
611
|
+
"data-studio-block=\"navigation-item\"",
|
|
612
|
+
"data-studio-block=\"notice\"",
|
|
613
|
+
"data-studio-block=\"popover\"",
|
|
614
|
+
"data-studio-block=\"progress\"",
|
|
615
|
+
"data-studio-block=\"rich-text\"",
|
|
616
|
+
"data-studio-block=\"search\"",
|
|
617
|
+
"data-studio-block=\"spinner\"",
|
|
618
|
+
"data-studio-block=\"tab\"",
|
|
619
|
+
"data-studio-block=\"table\"",
|
|
620
|
+
"data-studio-block=\"tabs\"",
|
|
621
|
+
"data-studio-block=\"video\"",
|
|
622
|
+
"<article>",
|
|
623
|
+
"<dl><div data-studio-description-item data-studio-block=\"description-item\" data-studio-node=\"description-list-item\"",
|
|
624
|
+
"<hr",
|
|
625
|
+
"data-studio-icon=\"symbol\"",
|
|
626
|
+
"<nav data-studio-navigation=\"nav\"",
|
|
627
|
+
"<progress",
|
|
628
|
+
"<form role=\"search\"",
|
|
629
|
+
"data-studio-spinner",
|
|
630
|
+
"<table data-studio-table>",
|
|
631
|
+
"data-studio-rich-text-callout data-studio-tone=\"warning\"",
|
|
632
|
+
"<mark data-studio-tone=\"accent\">Mind the gap</mark>",
|
|
633
|
+
"data-studio-rich-text-checklist-item data-studio-checked=\"true\" data-studio-level=\"1\"",
|
|
634
|
+
"data-studio-level=\"1\" aria-level=\"2\"",
|
|
635
|
+
"data-studio-rich-text-checklist-level=\"1\"",
|
|
636
|
+
"<label><input type=\"checkbox\" disabled checked><span data-studio-rich-text-checklist-content>Done</span></label>",
|
|
637
|
+
"<table data-studio-rich-text-table><thead>",
|
|
638
|
+
"<pre><code data-language=\"typescript\">const n = 42;</code></pre>"
|
|
639
|
+
],
|
|
640
|
+
"htmlExcludes": ["Unsupported Studio block", "<script", "onerror=", "javascript:"],
|
|
641
|
+
"cssContains": [
|
|
642
|
+
"data-studio-cover",
|
|
643
|
+
"data-studio-navigation",
|
|
644
|
+
"data-studio-spinner",
|
|
645
|
+
"prefers-reduced-motion"
|
|
646
|
+
],
|
|
647
|
+
"enhancements": ["chart", "countdown", "diagram", "dialog", "math", "popover"]
|
|
648
|
+
}
|
|
649
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "renderer-web/escaped-heading",
|
|
3
|
+
"coverage": {
|
|
4
|
+
"blockTypes": ["studio.core/heading"],
|
|
5
|
+
"behaviors": [],
|
|
6
|
+
"presentation": [],
|
|
7
|
+
"security": ["escaped-text"]
|
|
8
|
+
},
|
|
9
|
+
"roots": [
|
|
10
|
+
{
|
|
11
|
+
"authoring": { "mode": "content" },
|
|
12
|
+
"bindings": {},
|
|
13
|
+
"id": "heading",
|
|
14
|
+
"properties": { "level": 2 },
|
|
15
|
+
"slots": {},
|
|
16
|
+
"type": "studio.core/heading",
|
|
17
|
+
"version": "1.0.0"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"bindings": [{ "nodeId": "heading", "port": "text", "value": "<script>alert(1)</script>" }],
|
|
21
|
+
"media": [],
|
|
22
|
+
"expect": {
|
|
23
|
+
"activationMarkers": [],
|
|
24
|
+
"cssBytes": 6320,
|
|
25
|
+
"cssSha256": "8d4d00dfa489396dc0a4207b3d1efa207d7658e325c9db4bba2e74b91a607649",
|
|
26
|
+
"htmlBytes": 175,
|
|
27
|
+
"htmlSha256": "5e07f38d13c0b830e6d9f1703ca7e0a5253aa96bcdea4b02153813e2464ed8a6",
|
|
28
|
+
"publicStyleAsset": {
|
|
29
|
+
"path": "assets/studio-public-8d4d00dfa489396d.min.css",
|
|
30
|
+
"role": "public-style",
|
|
31
|
+
"mediaType": "text/css",
|
|
32
|
+
"bytes": 6320,
|
|
33
|
+
"budgetBytes": 262144,
|
|
34
|
+
"contentHash": "8d4d00dfa489396dc0a4207b3d1efa207d7658e325c9db4bba2e74b91a607649",
|
|
35
|
+
"integrity": "sha256-jU0A36SJOW3ApCB7PR76IH12WOMlydtLui50uRpgdkk=",
|
|
36
|
+
"minified": true
|
|
37
|
+
},
|
|
38
|
+
"htmlContains": ["<script>alert(1)</script>"],
|
|
39
|
+
"htmlExcludes": ["<script"],
|
|
40
|
+
"cssContains": ["prefers-reduced-motion"],
|
|
41
|
+
"enhancements": []
|
|
42
|
+
}
|
|
43
|
+
}
|