@kumwe/studio-testkit 0.1.0-alpha.10
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/LICENSE +21 -0
- package/README.md +138 -0
- 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 +47 -0
- package/conformance/renderer-web/chart-fallback.json +39 -0
- package/conformance/renderer-web/complete-catalog.json +634 -0
- package/conformance/renderer-web/escaped-heading.json +28 -0
- package/conformance/renderer-web/interactive-behaviors.json +226 -0
- package/conformance/renderer-web/presentation-capabilities.json +76 -0
- package/conformance/renderer-web/responsive-grid.json +33 -0
- package/conformance/renderer-web/security-fallbacks.json +169 -0
- package/conformance/rich-text/advanced.first-party.json +67 -0
- package/conformance/rich-text/blocks.structural.json +57 -0
- package/conformance/rich-text/document.multi-block.json +74 -0
- package/conformance/rich-text/embed.hard-break.json +24 -0
- package/conformance/rich-text/marks.nested.json +29 -0
- package/conformance/rich-text/offsets.astral.json +24 -0
- package/conformance/rich-text/paragraph.plain.json +20 -0
- package/conformance/rich-text/spans.adjacent.json +27 -0
- package/corpus-manifest.json +1212 -0
- package/dist/host-testbed.d.ts +71 -0
- package/dist/host-testbed.d.ts.map +1 -0
- package/dist/host-testbed.js +782 -0
- package/dist/host-testbed.js.map +1 -0
- package/dist/http-host-adapter.d.ts +74 -0
- package/dist/http-host-adapter.d.ts.map +1 -0
- package/dist/http-host-adapter.js +264 -0
- package/dist/http-host-adapter.js.map +1 -0
- package/dist/index.d.ts +112 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +211 -0
- package/dist/index.js.map +1 -0
- package/dist/web-conformance.d.ts +105 -0
- package/dist/web-conformance.d.ts.map +1 -0
- package/dist/web-conformance.js +72 -0
- package/dist/web-conformance.js.map +1 -0
- package/fixtures/authoring-message-catalog.en.json +649 -0
- package/fixtures/block.grid.example.json +76 -0
- package/fixtures/block.price.example.json +69 -0
- package/fixtures/blueprint.product.example.json +92 -0
- package/fixtures/command.move-node.example.json +18 -0
- package/fixtures/content-model.product.example.json +141 -0
- package/fixtures/design-vocabulary.example.json +85 -0
- package/fixtures/entry.product.example.json +55 -0
- package/fixtures/field-adapter.example.json +27 -0
- package/fixtures/host-capabilities.example.json +42 -0
- package/fixtures/host-error.conflict.example.json +23 -0
- package/fixtures/host-operations.example.json +270 -0
- package/fixtures/inspector.example.json +17 -0
- package/fixtures/media-asset.example.json +29 -0
- package/fixtures/media-asset.processing.example.json +15 -0
- package/fixtures/media-reference.example.json +26 -0
- package/fixtures/media-upload-grant.example.json +14 -0
- package/fixtures/media-upload-session.transferring.example.json +22 -0
- package/fixtures/migration.example.json +22 -0
- package/fixtures/pattern.example.json +49 -0
- package/fixtures/plugin.example.json +49 -0
- package/fixtures/preview.render.example.json +15 -0
- package/fixtures/provenance.example.json +38 -0
- package/fixtures/rich-text.example.json +48 -0
- package/fixtures/studio-config.example.json +139 -0
- package/fixtures/theme.example.json +123 -0
- package/fixtures/unresolved-contribution.example.json +23 -0
- package/invalid/binding-projection-vector.unknown-status.json +85 -0
- package/invalid/blueprint.control-character-member.json +59 -0
- package/invalid/blueprint.forbidden-property-member.json +61 -0
- package/invalid/blueprint.invalid-node-id.json +57 -0
- package/invalid/blueprint.invalid-slot-name.json +59 -0
- package/invalid/blueprint.published-empty-roots.json +45 -0
- package/invalid/blueprint.revoking-slot-marker.json +57 -0
- package/invalid/blueprint.unknown-member.json +58 -0
- package/invalid/command-vector.unknown-error-code.json +103 -0
- package/invalid/command.empty-batch.json +17 -0
- package/invalid/command.forbidden-id-map-member.json +20 -0
- package/invalid/command.malformed-size-role.json +18 -0
- package/invalid/command.negative-position.json +20 -0
- package/invalid/command.nested-batch.json +24 -0
- package/invalid/command.pattern-in-batch.json +40 -0
- package/invalid/command.reset-inherited-property-in-batch.json +24 -0
- package/invalid/command.unknown-member.json +23 -0
- package/invalid/command.wrong-contract-version.json +22 -0
- package/invalid/content-model.published-empty.json +22 -0
- package/invalid/design-vocabulary.unknown-control-kind.json +38 -0
- package/invalid/entry.forbidden-value-member.json +23 -0
- package/invalid/entry.invalid-locale.json +59 -0
- package/invalid/host-capabilities.invalid-protocol-version.json +40 -0
- package/invalid/host-sequence.pending-expectation.json +52 -0
- package/invalid/host-sequence.preview-render-missing-request-id.json +50 -0
- package/invalid/inspector.empty-block-types.json +20 -0
- package/invalid/media-reference.missing-accessibility.json +25 -0
- package/invalid/media-upload-grant.insecure-url.json +14 -0
- package/invalid/media-upload-session.complete-without-asset.json +20 -0
- package/invalid/migration.empty-artifact-kinds.json +22 -0
- package/invalid/preview-message.activated-unknown-interaction.json +16 -0
- package/invalid/preview-message.duplicate-marker.json +24 -0
- package/invalid/preview-message.invalid-digest.json +19 -0
- package/invalid/preview-message.invalid-marker-grammar.json +19 -0
- package/invalid/preview-message.missing-marker-map.json +20 -0
- package/invalid/preview-message.missing-render-request-id.json +18 -0
- package/invalid/preview-message.unknown-type.json +13 -0
- package/invalid/preview-message.viewport-height-too-small.json +13 -0
- package/invalid/preview-message.viewport-role-and-size.json +16 -0
- package/invalid/preview-message.viewport-unsafe-role.json +13 -0
- package/invalid/rich-text.embedded-html.json +13 -0
- package/invalid/rich-text.unknown-mark.json +19 -0
- package/invalid/studio-chart.script-config.json +10 -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/invalid/theme.unknown-member.json +128 -0
- package/package.json +54 -0
- package/studio-release.json +18 -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/canonical/array-order.json +13 -0
- package/vectors/canonical/control-characters.json +13 -0
- package/vectors/canonical/depth-exceeded.json +21 -0
- package/vectors/canonical/empty-containers.json +14 -0
- package/vectors/canonical/forbidden-member.json +14 -0
- package/vectors/canonical/member-order.json +16 -0
- package/vectors/canonical/negative-zero.json +13 -0
- package/vectors/canonical/nested-order.json +19 -0
- package/vectors/canonical/non-ascii.json +13 -0
- package/vectors/canonical/numbers.json +16 -0
- package/vectors/canonical/string-escapes.json +13 -0
- package/vectors/canonical/surrogate-pair.json +13 -0
- package/vectors/command/apply-pattern.colliding-id.error.json +97 -0
- package/vectors/command/apply-pattern.incomplete-id-map.error.json +111 -0
- package/vectors/command/apply-pattern.two-roots.json +259 -0
- package/vectors/command/batch.atomic-failure.error.json +100 -0
- package/vectors/command/batch.insert-and-configure.json +197 -0
- package/vectors/command/batch.size-roles.json +180 -0
- package/vectors/command/duplicate-node.existing-id.error.json +88 -0
- package/vectors/command/duplicate-node.explicit-destination.json +183 -0
- package/vectors/command/duplicate-node.incomplete-id-map.error.json +91 -0
- package/vectors/command/duplicate-node.subtree.json +201 -0
- package/vectors/command/insert-node.duplicate-id.error.json +87 -0
- package/vectors/command/insert-node.inner-duplicate-id.error.json +115 -0
- package/vectors/command/insert-node.invalid-index.error.json +87 -0
- package/vectors/command/insert-node.root.json +162 -0
- package/vectors/command/insert-node.slot.json +167 -0
- package/vectors/command/mode.blueprint.set-field-value.error.json +76 -0
- package/vectors/command/mode.blueprint.set-property.json +131 -0
- package/vectors/command/mode.content.insert-node.error.json +88 -0
- package/vectors/command/mode.hybrid.batch-atomic.error.json +158 -0
- package/vectors/command/mode.hybrid.insert-allowed.json +263 -0
- package/vectors/command/mode.hybrid.insert-designer-slot.error.json +145 -0
- package/vectors/command/mode.hybrid.insert-disallowed-type.error.json +145 -0
- package/vectors/command/mode.hybrid.insert-roots.error.json +143 -0
- package/vectors/command/mode.hybrid.remove-locked.error.json +130 -0
- package/vectors/command/mode.hybrid.reorder-with-locked.json +239 -0
- package/vectors/command/mode.hybrid.set-property.error.json +132 -0
- package/vectors/command/mode.hybrid.slot-marker-disallowed.error.json +125 -0
- package/vectors/command/mode.hybrid.slot-marker-insert.json +223 -0
- package/vectors/command/mode.hybrid.slot-marker-other-slot.error.json +125 -0
- package/vectors/command/mode.model.remove-node.error.json +75 -0
- package/vectors/command/mode.read-only.set-property.error.json +77 -0
- package/vectors/command/move-node.into-self.error.json +95 -0
- package/vectors/command/move-node.reparent.json +196 -0
- package/vectors/command/move-node.within-roots.json +188 -0
- package/vectors/command/remove-binding.base.json +159 -0
- package/vectors/command/remove-binding.missing.error.json +75 -0
- package/vectors/command/remove-node.empties-slot.json +167 -0
- package/vectors/command/remove-node.missing.error.json +74 -0
- package/vectors/command/remove-node.nested.json +192 -0
- package/vectors/command/reorder-children.not-permutation.error.json +85 -0
- package/vectors/command/reorder-children.roots.json +182 -0
- package/vectors/command/reorder-children.slot.json +192 -0
- package/vectors/command/reset-inherited-property.missing.error.json +82 -0
- package/vectors/command/reset-inherited-property.single-viewport.json +151 -0
- package/vectors/command/reset-inherited-property.two-viewports.json +168 -0
- package/vectors/command/restore-node.inner-duplicate-id.error.json +115 -0
- package/vectors/command/restore-node.subtree-into-slot.json +195 -0
- package/vectors/command/set-binding.add.json +159 -0
- package/vectors/command/set-binding.replace.json +178 -0
- package/vectors/command/set-property.add.json +143 -0
- package/vectors/command/set-property.replace.json +146 -0
- package/vectors/command/set-property.viewport-add.json +148 -0
- package/vectors/command/set-size-role.base.json +144 -0
- package/vectors/command/set-size-role.duplicate.json +148 -0
- package/vectors/command/set-size-role.viewport-add.json +154 -0
- package/vectors/command/unset-property.base.json +143 -0
- package/vectors/command/unset-property.missing.error.json +75 -0
- package/vectors/command/unset-property.viewport.json +154 -0
- package/vectors/command/unset-size-role.missing.error.json +78 -0
- package/vectors/command/unset-size-role.viewport.json +154 -0
- package/vectors/host/artifact.dependencies.result.json +35 -0
- package/vectors/host/artifact.load.stored.json +36 -0
- package/vectors/host/artifact.load.unknown.error.json +37 -0
- package/vectors/host/artifact.publish.accepted.json +37 -0
- package/vectors/host/artifact.publish.forbidden.error.json +37 -0
- package/vectors/host/artifact.publish.stale.error.json +38 -0
- package/vectors/host/artifact.save.accepted.json +38 -0
- package/vectors/host/artifact.save.forbidden.error.json +38 -0
- package/vectors/host/artifact.save.stale.error.json +39 -0
- package/vectors/host/artifact.unpublish.stale.error.json +38 -0
- package/vectors/host/envelope.malformed-context.error.json +36 -0
- package/vectors/host/envelope.protocol-version.error.json +36 -0
- package/vectors/host/envelope.stale-generation.error.json +36 -0
- package/vectors/host/localization.messages.unknown-locale.error.json +36 -0
- package/vectors/host/media.abort-upload.unknown.error.json +35 -0
- package/vectors/host/media.authorize-upload.granted.json +37 -0
- package/vectors/host/media.authorize-upload.path-filename.error.json +39 -0
- package/vectors/host/media.authorize-upload.too-large.error.json +38 -0
- package/vectors/host/media.complete-upload.unknown.error.json +36 -0
- package/vectors/host/media.get.unknown.json +34 -0
- package/vectors/host/media.import-external.private-host.error.json +36 -0
- package/vectors/host/media.list.cursor.error.json +36 -0
- package/vectors/host/media.list.limit.error.json +35 -0
- package/vectors/host/media.upload-status.unknown.error.json +35 -0
- package/vectors/host/model.get.stored.json +37 -0
- package/vectors/host/model.list.authorized.json +31 -0
- package/vectors/host/permission.explain.withheld.json +34 -0
- package/vectors/host/permission.refresh.snapshot.json +31 -0
- package/vectors/host/recovery.load.absent.json +31 -0
- package/vectors/host/telemetry.emit.accepted.json +37 -0
- package/vectors/host/telemetry.emit.non-primitive.error.json +40 -0
- package/vectors/host-sequence/artifact.publish.changed-intent.sequence.json +75 -0
- package/vectors/host-sequence/artifact.publish.idempotent-replay.sequence.json +111 -0
- package/vectors/host-sequence/preview.cancel.cross-context.sequence.json +78 -0
- package/vectors/host-sequence/preview.render.cancelled.sequence.json +75 -0
- package/vectors/host-sequence/recovery.store.canonical-number.sequence.json +72 -0
- package/vectors/host-sequence/recovery.store.changed-context.sequence.json +61 -0
- package/vectors/host-sequence/recovery.store.rate-limited.sequence.json +93 -0
- package/vectors/host-sequence/recovery.store.resource-scope.sequence.json +61 -0
- package/vectors/host-sequence/recovery.store.wrong-operation-id.sequence.json +56 -0
- package/vectors/media/accept.plan-deterministic.json +26 -0
- package/vectors/media/accept.size-at-boundary.json +26 -0
- package/vectors/media/cancel.complete-noop.json +30 -0
- package/vectors/media/cancel.requested.json +30 -0
- package/vectors/media/cancel.transferring.json +30 -0
- package/vectors/media/cancel.verifying.json +30 -0
- package/vectors/media/reject.disallowed-kind.json +23 -0
- package/vectors/media/reject.filename-empty.json +22 -0
- package/vectors/media/reject.filename-path.json +23 -0
- package/vectors/media/reject.size-one-byte-over.json +23 -0
- package/vectors/media/retry.fresh-session.json +26 -0
- package/vectors/preview/canonical-preorder.json +102 -0
- package/vectors/preview/empty-draft.json +36 -0
- package/vectors/schema-profile/alternative-limit.accepted.json +95 -0
- package/vectors/schema-profile/alternative-limit.rejected.json +92 -0
- package/vectors/schema-profile/array-composition.accepted.json +35 -0
- package/vectors/schema-profile/byte-limit.accepted.json +30 -0
- package/vectors/schema-profile/byte-limit.rejected.json +26 -0
- package/vectors/schema-profile/closed-object.accepted.json +38 -0
- package/vectors/schema-profile/decimal-multiple.accepted.json +54 -0
- package/vectors/schema-profile/depth-limit.accepted.json +90 -0
- package/vectors/schema-profile/depth-limit.rejected.json +88 -0
- package/vectors/schema-profile/description-limit.accepted.json +29 -0
- package/vectors/schema-profile/description-limit.rejected.json +25 -0
- package/vectors/schema-profile/diagnostic-precedence.rejected.json +26 -0
- package/vectors/schema-profile/duplicate-dependent-required.rejected.json +21 -0
- package/vectors/schema-profile/duplicate-required.rejected.json +18 -0
- package/vectors/schema-profile/empty-combinator.rejected.json +17 -0
- package/vectors/schema-profile/empty-enum.rejected.json +17 -0
- package/vectors/schema-profile/enum-limit.accepted.json +89 -0
- package/vectors/schema-profile/enum-limit.rejected.json +84 -0
- package/vectors/schema-profile/examples-limit.accepted.json +35 -0
- package/vectors/schema-profile/examples-limit.rejected.json +31 -0
- package/vectors/schema-profile/format-keyword.rejected.json +17 -0
- package/vectors/schema-profile/forward-reference-path-precedence.rejected.json +20 -0
- package/vectors/schema-profile/invalid-pointer.rejected.json +18 -0
- package/vectors/schema-profile/json-depth-limit.accepted.json +278 -0
- package/vectors/schema-profile/json-depth-limit.rejected.json +276 -0
- package/vectors/schema-profile/json-item-limit.accepted.json +686 -0
- package/vectors/schema-profile/json-item-limit.rejected.json +682 -0
- package/vectors/schema-profile/json-property-limit.accepted.json +1031 -0
- package/vectors/schema-profile/json-property-limit.rejected.json +1028 -0
- package/vectors/schema-profile/local-reference.accepted.json +28 -0
- package/vectors/schema-profile/memoized-diagnostic.accepted.json +31 -0
- package/vectors/schema-profile/node-limit.accepted.json +1097 -0
- package/vectors/schema-profile/node-limit.rejected.json +1094 -0
- package/vectors/schema-profile/non-object-root.rejected.json +9 -0
- package/vectors/schema-profile/non-schema-reference.rejected.json +21 -0
- package/vectors/schema-profile/object-key-limit.accepted.json +32 -0
- package/vectors/schema-profile/object-key-limit.rejected.json +28 -0
- package/vectors/schema-profile/open-root.rejected.json +13 -0
- package/vectors/schema-profile/percent-encoded-pointer.rejected.json +26 -0
- package/vectors/schema-profile/property-name-limit.accepted.json +543 -0
- package/vectors/schema-profile/property-name-limit.rejected.json +536 -0
- package/vectors/schema-profile/recursive-diagnostic-precedence.rejected.json +30 -0
- package/vectors/schema-profile/recursive-reference.rejected.json +24 -0
- package/vectors/schema-profile/reference-fanout.accepted.json +662 -0
- package/vectors/schema-profile/reference-length-limit.accepted.json +45 -0
- package/vectors/schema-profile/reference-length-limit.rejected.json +39 -0
- package/vectors/schema-profile/reference-limit.accepted.json +416 -0
- package/vectors/schema-profile/reference-limit.rejected.json +415 -0
- package/vectors/schema-profile/reference-vs-keyword-precedence.rejected.json +22 -0
- package/vectors/schema-profile/reserved-pointer.rejected.json +26 -0
- package/vectors/schema-profile/root-diagnostic-precedence.rejected.json +16 -0
- package/vectors/schema-profile/root-vs-reference-precedence.rejected.json +19 -0
- package/vectors/schema-profile/schema-map-limit.accepted.json +539 -0
- package/vectors/schema-profile/schema-map-limit.rejected.json +536 -0
- package/vectors/schema-profile/semantic-recursion-precedence.rejected.json +21 -0
- package/vectors/schema-profile/semantic-reference-precedence.rejected.json +21 -0
- package/vectors/schema-profile/title-limit.accepted.json +29 -0
- package/vectors/schema-profile/title-limit.rejected.json +25 -0
- package/vectors/schema-profile/unresolved-reference.rejected.json +17 -0
- package/vectors/schema-profile/unsafe-dependent-required.rejected.json +24 -0
- package/vectors/schema-profile/unsafe-member.rejected.json +17 -0
- package/vectors/schema-profile/unsafe-required.rejected.json +17 -0
|
@@ -0,0 +1,634 @@
|
|
|
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
|
+
"htmlContains": [
|
|
562
|
+
"data-studio-block=\"section\"",
|
|
563
|
+
"data-studio-block=\"stack\"",
|
|
564
|
+
"data-studio-block=\"grid\"",
|
|
565
|
+
"data-studio-block=\"columns\"",
|
|
566
|
+
"data-studio-block=\"accordion\"",
|
|
567
|
+
"data-studio-block=\"accordion-item\"",
|
|
568
|
+
"data-studio-block=\"article\"",
|
|
569
|
+
"data-studio-block=\"attachment\"",
|
|
570
|
+
"data-studio-block=\"audio\"",
|
|
571
|
+
"data-studio-block=\"badge\"",
|
|
572
|
+
"data-studio-block=\"call-to-action\"",
|
|
573
|
+
"data-studio-block=\"callout\"",
|
|
574
|
+
"data-studio-block=\"card\"",
|
|
575
|
+
"data-studio-block=\"chart\"",
|
|
576
|
+
"data-studio-block=\"code\"",
|
|
577
|
+
"data-studio-block=\"content-collection\"",
|
|
578
|
+
"data-studio-block=\"content-reference\"",
|
|
579
|
+
"data-studio-block=\"countdown\"",
|
|
580
|
+
"data-studio-block=\"cover\"",
|
|
581
|
+
"data-studio-block=\"description-item\"",
|
|
582
|
+
"data-studio-block=\"description-list\"",
|
|
583
|
+
"data-studio-block=\"diagram\"",
|
|
584
|
+
"data-studio-block=\"dialog\"",
|
|
585
|
+
"data-studio-block=\"divider\"",
|
|
586
|
+
"data-studio-block=\"drawing\"",
|
|
587
|
+
"data-studio-block=\"embed\"",
|
|
588
|
+
"data-studio-block=\"gallery\"",
|
|
589
|
+
"data-studio-block=\"heading\"",
|
|
590
|
+
"data-studio-block=\"icon\"",
|
|
591
|
+
"data-studio-block=\"image\"",
|
|
592
|
+
"data-studio-block=\"label\"",
|
|
593
|
+
"data-studio-block=\"math\"",
|
|
594
|
+
"data-studio-block=\"money\"",
|
|
595
|
+
"data-studio-block=\"navigation\"",
|
|
596
|
+
"data-studio-block=\"navigation-item\"",
|
|
597
|
+
"data-studio-block=\"notice\"",
|
|
598
|
+
"data-studio-block=\"popover\"",
|
|
599
|
+
"data-studio-block=\"progress\"",
|
|
600
|
+
"data-studio-block=\"rich-text\"",
|
|
601
|
+
"data-studio-block=\"search\"",
|
|
602
|
+
"data-studio-block=\"spinner\"",
|
|
603
|
+
"data-studio-block=\"tab\"",
|
|
604
|
+
"data-studio-block=\"table\"",
|
|
605
|
+
"data-studio-block=\"tabs\"",
|
|
606
|
+
"data-studio-block=\"video\"",
|
|
607
|
+
"<article>",
|
|
608
|
+
"<dl><div data-studio-description-item data-studio-block=\"description-item\" data-studio-node=\"description-list-item\"",
|
|
609
|
+
"<hr",
|
|
610
|
+
"data-studio-icon=\"symbol\"",
|
|
611
|
+
"<nav data-studio-navigation=\"nav\"",
|
|
612
|
+
"<progress",
|
|
613
|
+
"<form role=\"search\"",
|
|
614
|
+
"data-studio-spinner",
|
|
615
|
+
"<table data-studio-table>",
|
|
616
|
+
"data-studio-rich-text-callout data-studio-tone=\"warning\"",
|
|
617
|
+
"<mark data-studio-tone=\"accent\">Mind the gap</mark>",
|
|
618
|
+
"data-studio-rich-text-checklist-item data-studio-checked=\"true\" data-studio-level=\"1\"",
|
|
619
|
+
"data-studio-level=\"1\" aria-level=\"2\"",
|
|
620
|
+
"data-studio-rich-text-checklist-level=\"1\"",
|
|
621
|
+
"<label><input type=\"checkbox\" disabled checked><span data-studio-rich-text-checklist-content>Done</span></label>",
|
|
622
|
+
"<table data-studio-rich-text-table><thead>",
|
|
623
|
+
"<pre><code data-language=\"typescript\">const n = 42;</code></pre>"
|
|
624
|
+
],
|
|
625
|
+
"htmlExcludes": ["Unsupported Studio block", "<script", "onerror=", "javascript:"],
|
|
626
|
+
"cssContains": [
|
|
627
|
+
"data-studio-cover",
|
|
628
|
+
"data-studio-navigation",
|
|
629
|
+
"data-studio-spinner",
|
|
630
|
+
"prefers-reduced-motion"
|
|
631
|
+
],
|
|
632
|
+
"enhancements": ["chart", "countdown", "diagram", "dialog", "math", "popover", "tabs"]
|
|
633
|
+
}
|
|
634
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
"htmlContains": ["<script>alert(1)</script>"],
|
|
24
|
+
"htmlExcludes": ["<script"],
|
|
25
|
+
"cssContains": ["prefers-reduced-motion"],
|
|
26
|
+
"enhancements": []
|
|
27
|
+
}
|
|
28
|
+
}
|