@fuaran-ui/conformance 0.8.0 → 0.18.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.
Files changed (97) hide show
  1. package/corpus/lenient/lenient-image-caption-envelope.expected.json +1 -0
  2. package/corpus/lenient/lenient-image-caption-envelope.json +1 -0
  3. package/corpus/lenient/lenient-image-empty-srcset.expected.json +1 -0
  4. package/corpus/lenient/lenient-image-empty-srcset.json +1 -0
  5. package/corpus/lenient/lenient-image-explicit-defaults.expected.json +1 -0
  6. package/corpus/lenient/lenient-image-explicit-defaults.json +1 -0
  7. package/corpus/lenient/lenient-image-explicit-expandable-false.expected.json +1 -0
  8. package/corpus/lenient/lenient-image-explicit-expandable-false.json +1 -0
  9. package/corpus/lenient/lenient-shape-a11y-label-bare-scalar.expected.json +1 -0
  10. package/corpus/lenient/lenient-shape-a11y-label-bare-scalar.json +1 -0
  11. package/corpus/manifest.json +674 -9
  12. package/corpus/nodes/a11y-alert-assertive.json +1 -0
  13. package/corpus/nodes/a11y-button-named.json +1 -0
  14. package/corpus/nodes/a11y-image-decorative.json +1 -0
  15. package/corpus/nodes/a11y-link-labelled.json +1 -0
  16. package/corpus/nodes/a11y-wrapper-all-slots.json +1 -0
  17. package/corpus/nodes/a11y-wrapper-state-bound.json +1 -0
  18. package/corpus/nodes/drawing-nonfinite-sentinels.json +1 -0
  19. package/corpus/nodes/form-field-rules.json +1 -0
  20. package/corpus/nodes/frag-stdlib-confirm-action-pair-ref.json +1 -0
  21. package/corpus/nodes/frag-stdlib-confirm-action-pair.json +1 -0
  22. package/corpus/nodes/frag-stdlib-empty-state-panel-ref.json +1 -0
  23. package/corpus/nodes/frag-stdlib-empty-state-panel.json +1 -0
  24. package/corpus/nodes/frag-stdlib-filter-bar-ref.json +1 -0
  25. package/corpus/nodes/frag-stdlib-filter-bar.json +1 -0
  26. package/corpus/nodes/frag-stdlib-kpi-strip-ref.json +1 -0
  27. package/corpus/nodes/frag-stdlib-kpi-strip.json +1 -0
  28. package/corpus/nodes/frag-stdlib-labelled-metric-row-ref.json +1 -0
  29. package/corpus/nodes/frag-stdlib-labelled-metric-row.json +1 -0
  30. package/corpus/nodes/frag-stdlib-loading-placeholder-ref.json +1 -0
  31. package/corpus/nodes/frag-stdlib-loading-placeholder.json +1 -0
  32. package/corpus/nodes/frag-stdlib-metric-card-ref.json +1 -0
  33. package/corpus/nodes/frag-stdlib-metric-card.json +1 -0
  34. package/corpus/nodes/frag-stdlib-section-header-ref.json +1 -0
  35. package/corpus/nodes/frag-stdlib-section-header.json +1 -0
  36. package/corpus/nodes/grid-reorderable.json +1 -0
  37. package/corpus/nodes/image-caption-1.json +1 -0
  38. package/corpus/nodes/image-caption-i18n-1.json +1 -0
  39. package/corpus/nodes/image-expandable-1.json +1 -0
  40. package/corpus/nodes/image-expandable-figure-1.json +1 -0
  41. package/corpus/nodes/image-presentation-1.json +1 -0
  42. package/corpus/nodes/image-srcset-1.json +1 -0
  43. package/corpus/nodes/limit-node-depth-at-max.json +1 -0
  44. package/corpus/nodes/masonry-1.json +1 -0
  45. package/corpus/nodes/masonry-gap.json +1 -0
  46. package/corpus/nodes/media-audio-1.json +1 -0
  47. package/corpus/nodes/media-video-1.json +1 -0
  48. package/corpus/nodes/media-video-autoplay-1.json +1 -0
  49. package/corpus/nodes/media-video-poster-1.json +1 -0
  50. package/corpus/nodes/metric-inverted-polarity.json +1 -0
  51. package/corpus/nodes/metric-nonfinite-sentinel.json +1 -0
  52. package/corpus/nodes/shared-source-seeded-pair.json +1 -0
  53. package/corpus/nodes/spark-nonfinite-sentinel.json +1 -0
  54. package/corpus/reject/reject-a11y-hidden-nonbool.json +1 -0
  55. package/corpus/reject/reject-a11y-labelledby-nonstring.json +1 -0
  56. package/corpus/reject/reject-a11y-liveregion-nonstring.json +1 -0
  57. package/corpus/reject/reject-a11y-liveregion-unknown.json +1 -0
  58. package/corpus/reject/reject-a11y-not-object.json +1 -0
  59. package/corpus/reject/reject-a11y-role-nonstring.json +1 -0
  60. package/corpus/reject/reject-binding-float-bool.json +1 -0
  61. package/corpus/reject/reject-binding-float-sentinel-case.json +1 -0
  62. package/corpus/reject/reject-binding-float-string.json +1 -0
  63. package/corpus/reject/reject-binding-int-bool.json +1 -0
  64. package/corpus/reject/reject-binding-int-sentinel-string.json +1 -0
  65. package/corpus/reject/reject-box-masonry-nonpositive-cols.json +1 -0
  66. package/corpus/reject/reject-fieldrule-empty.json +1 -0
  67. package/corpus/reject/reject-fieldrule-length-unordered.json +1 -0
  68. package/corpus/reject/reject-formfield-near-miss-validation.json +1 -0
  69. package/corpus/reject/reject-image-expandable-nonbool.json +1 -0
  70. package/corpus/reject/reject-image-srcset-nonpositive-width.json +1 -0
  71. package/corpus/reject/reject-image-srcset-null.json +1 -0
  72. package/corpus/reject/reject-limit-json-depth-at-max.json +1 -0
  73. package/corpus/reject/reject-limit-json-depth.json +1 -0
  74. package/corpus/reject/reject-limit-node-depth.json +1 -0
  75. package/corpus/reject/reject-limit-op-depth.json +1 -0
  76. package/corpus/reject/reject-media-autoplay-nonbool.json +1 -0
  77. package/corpus/reject/reject-media-missing-label.json +1 -0
  78. package/corpus/reject/reject-nearmiss-a11y-aria-hidden.json +1 -0
  79. package/corpus/reject/reject-nearmiss-a11y-arialabel.json +1 -0
  80. package/corpus/reject/reject-nearmiss-a11y-live.json +1 -0
  81. package/corpus/reject/reject-nearmiss-a11y-liveregion-case.json +1 -0
  82. package/corpus/reject/reject-op-insertchild-empty-childid.json +1 -1
  83. package/corpus/reject/reject-op-insertchild-missing-parentid.json +1 -1
  84. package/corpus/reject/reject-op-insertchild-retired-position.json +1 -0
  85. package/corpus/reject/reject-op-movenode-retired-newposition.json +1 -0
  86. package/corpus/reject/reject-unknown-image-aspect.json +1 -0
  87. package/corpus/reject/reject-unknown-media-kind.json +1 -0
  88. package/corpus/reject/reject-unknown-trend-polarity.json +1 -0
  89. package/corpus/schema.json +3476 -115
  90. package/dist/cli.js +7 -1
  91. package/dist/cli.js.map +1 -1
  92. package/dist/index.cjs +7 -1
  93. package/dist/index.cjs.map +1 -1
  94. package/dist/index.js +7 -1
  95. package/dist/index.js.map +1 -1
  96. package/package.json +3 -3
  97. package/corpus/reject/reject-transform-source-empty-wrapper.json +0 -1
@@ -0,0 +1 @@
1
+ {"accessibility":{"liveRegion":"assertive","role":"alert"},"id":"a11y-alert-assertive","kind":{"$type":"Callout","body":"The file exceeded the size limit.","dismissable":true,"heading":"Upload failed","icon":"alert","tone":"Critical"}}
@@ -0,0 +1 @@
1
+ {"accessibility":{"label":{"$type":"Static","value":"Refresh revenue figures"},"role":"button"},"id":"a11y-button-named","kind":{"$type":"Button","icon":"refresh","label":"Refresh","onClick":{"$type":"Chain","ops":[]},"variant":"Secondary"}}
@@ -0,0 +1 @@
1
+ {"accessibility":{"hidden":{"$type":"Static","value":true}},"id":"a11y-image-decorative","kind":{"$type":"Image","alt":"","src":{"$type":"Static","value":"/img/section-divider.svg"},"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"accessibility":{"label":{"$type":"Static","value":"Read the 2026 annual report (PDF)"}},"id":"a11y-link-labelled","kind":{"$type":"Link","download":false,"href":{"$type":"Static","value":"/reports/2026-annual.pdf"},"label":"Read more"}}
@@ -0,0 +1 @@
1
+ {"accessibility":{"describedBy":"a11y-wrapper-note","hidden":{"$type":"Static","value":false},"label":{"$type":"Static","value":"Channel performance summary"},"labelledBy":"a11y-wrapper-heading","liveRegion":"polite","role":"region"},"id":"a11y-wrapper-all-slots","kind":{"$type":"Box","children":[{"id":"a11y-wrapper-heading","kind":{"$type":"Heading","level":2,"text":"Channel performance","variant":"Standard"}},{"id":"a11y-wrapper-note","kind":{"$type":"Markdown","text":"Updated hourly."}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"accessibility":{"hidden":{"$type":"State","defaultValue":false,"key":"footerCollapsed"},"label":{"$type":"State","defaultValue":"Site footer","key":"footerLabel"},"liveRegion":"off","role":"doc-pageFooter"},"id":"a11y-wrapper-state-bound","kind":{"$type":"Box","children":[{"id":"a11y-footer-note","kind":{"$type":"Markdown","text":"Updated hourly."}}],"layout":{"$type":"Flex","direction":"Horizontal","wrap":false},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"drawing-nonfinite-sentinels","kind":{"$type":"Drawing","shapes":[{"$type":"Circle","cx":"NaN","cy":50,"r":20,"style":{}}],"style":{},"title":"Non-finite sentinels at typed float slots","viewBox":{"height":120,"minX":"-Infinity","minY":"NaN","width":"Infinity"}}}
@@ -0,0 +1 @@
1
+ {"id":"form-field-rules","kind":{"$type":"Form","fields":[{"id":"work-email","kind":{"$type":"Text"},"label":"Work email","required":true,"rule":{"format":"email"}},{"id":"postcode","kind":{"$type":"Text"},"label":"Postcode","required":true,"rule":{"message":"Enter a UK postcode, e.g. EH1 1YZ","pattern":"[A-Z]{1,2}[0-9][A-Z0-9]? ?[0-9][A-Z]{2}"}},{"id":"username","kind":{"$type":"Text"},"label":"Username","required":true,"rule":{"maxLength":24,"minLength":3}},{"id":"hire-start-date","kind":{"$type":"Date","variant":"Date"},"label":"Start date","required":true},{"id":"hire-end-date","kind":{"$type":"Date","variant":"Date"},"label":"End date","required":true,"rule":{"compare":{"against":{"$type":"State","key":"hire-start-date"},"op":"gte"},"message":"End date must be on or after the start date"}}],"onSubmit":{"$type":"Chain","ops":[]},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-confirm-action-pair-ref","kind":{"$type":"FragmentRef","args":{"cancelLabel":{"$type":"Str","value":"Keep it"},"confirmLabel":{"$type":"Str","value":"Delete report"}},"name":"confirm-action-pair"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-confirm-action-pair","kind":{"$type":"FragmentDecl","body":{"id":"confirm-action-pair","kind":{"$type":"Box","children":[{"accessibility":{"role":"button"},"id":"confirm-action-pair-confirm","kind":{"$type":"Button","label":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Confirm","key":"confirmLabel"}},"onClick":{"$type":"SetState","key":"confirm-action-pair.confirmed","value":true},"variant":"Primary"}},{"accessibility":{"role":"button"},"id":"confirm-action-pair-cancel","kind":{"$type":"Button","label":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Cancel","key":"cancelLabel"}},"onClick":{"$type":"SetState","key":"confirm-action-pair.confirmed","value":false},"variant":"Secondary"}}],"layout":{"$type":"Flex","direction":"Horizontal","wrap":false},"role":"Group"}},"effect":{"determinism":"Deterministic","hostEffect":"WritesHost"},"holes":[{"$type":"Value","default":{"$type":"Str","value":"Confirm"},"name":"confirmLabel","space":{"$type":"StringLen","maxLen":24,"minLen":1}},{"$type":"Value","default":{"$type":"Str","value":"Cancel"},"name":"cancelLabel","space":{"$type":"StringLen","maxLen":24,"minLen":1}}],"name":"confirm-action-pair"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-empty-state-panel-ref","kind":{"$type":"FragmentRef","args":{"action":{"$type":"SlotArg","tree":{"accessibility":{"role":"button"},"id":"raise","kind":{"$type":"Button","label":"Raise one","onClick":{"$type":"Chain","ops":[]},"variant":"Primary"}}},"title":{"$type":"Str","value":"No incidents"}},"name":"empty-state-panel"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-empty-state-panel","kind":{"$type":"FragmentDecl","body":{"accessibility":{"role":"region"},"id":"empty-state-panel","kind":{"$type":"Box","children":[{"id":"empty-state-panel-title","kind":{"$type":"Heading","level":3,"text":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Nothing here yet","key":"title"}},"variant":"Standard"}},{"id":"empty-state-panel-body","kind":{"$type":"Markdown","text":{"$type":"Bound","binding":{"$type":"State","defaultValue":"There is nothing to show for the current selection.","key":"body"}}}},{"id":"empty-state-panel-action","kind":{"$type":"FragmentRef","name":"action"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Card"}},"holes":[{"$type":"Value","default":{"$type":"Str","value":"Nothing here yet"},"name":"title","space":{"$type":"StringLen","maxLen":60,"minLen":1}},{"$type":"Value","default":{"$type":"Str","value":"There is nothing to show for the current selection."},"name":"body","space":{"$type":"StringLen","maxLen":160,"minLen":1}},{"$type":"Slot","kindConstraint":"Button","name":"action"}],"name":"empty-state-panel"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-filter-bar-ref","kind":{"$type":"FragmentRef","args":{"searchLabel":{"$type":"Str","value":"Find an incident"},"statusLabel":{"$type":"Str","value":"State"}},"name":"filter-bar"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-filter-bar","kind":{"$type":"FragmentDecl","body":{"id":"filter-bar","kind":{"$type":"Filters","items":[{"kind":{"$type":"Text"},"label":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Search","key":"searchLabel"}},"name":"search"},{"kind":{"$type":"Choice","options":{"$type":"Static","value":[{"label":"Open","value":"open"},{"label":"Closed","value":"closed"}]}},"label":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Status","key":"statusLabel"}},"name":"status"}]}},"effect":{"determinism":"Deterministic","hostEffect":"ReadsHost"},"holes":[{"$type":"Value","default":{"$type":"Str","value":"Search"},"name":"searchLabel","space":{"$type":"StringLen","maxLen":32,"minLen":1}},{"$type":"Value","default":{"$type":"Str","value":"Status"},"name":"statusLabel","space":{"$type":"StringLen","maxLen":32,"minLen":1}}],"name":"filter-bar"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-kpi-strip-ref","kind":{"$type":"FragmentRef","args":{"count":{"$type":"Int","value":3},"heading":{"$type":"Str","value":"This week"}},"name":"kpi-strip"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-kpi-strip","kind":{"$type":"FragmentDecl","body":{"id":"kpi-strip","kind":{"$type":"Box","children":[{"id":"kpi-strip-heading","kind":{"$type":"Heading","level":3,"text":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Key figures","key":"heading"}},"variant":"Eyebrow"}},{"accessibility":{"liveRegion":"polite"},"id":"kpi-strip-metric-1","kind":{"$type":"Metric","format":{"$type":"Number","decimals":0},"label":{"$type":"Bound","binding":{"$type":"State","defaultValue":"KPI 1","key":"kpi-1-label"}},"value":{"$type":"State","defaultValue":0,"key":"kpi-1-value"}}}],"layout":{"$type":"Flex","direction":"Horizontal","wrap":false},"role":"Group"}},"holes":[{"$type":"Value","default":{"$type":"Str","value":"Key figures"},"name":"heading","space":{"$type":"StringLen","maxLen":40,"minLen":1}},{"$type":"Repeat","countSpace":{"$type":"IntRange","max":6,"min":1},"name":"count"}],"name":"kpi-strip"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-labelled-metric-row-ref","kind":{"$type":"FragmentRef","args":{"label":{"$type":"Str","value":"Open incidents"},"value":{"$type":"Float","value":42}},"name":"labelled-metric-row"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-labelled-metric-row","kind":{"$type":"FragmentDecl","body":{"id":"labelled-metric-row-row","kind":{"$type":"LabelValueRow","format":{"$type":"Number","decimals":0},"label":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Metric","key":"label"}},"value":{"$type":"State","defaultValue":0,"key":"value"}}},"holes":[{"$type":"Value","default":{"$type":"Str","value":"Metric"},"name":"label","space":{"$type":"StringLen","maxLen":48,"minLen":1}},{"$type":"Value","name":"value","space":{"$type":"FloatRange","max":1000000,"min":-1000000}}],"name":"labelled-metric-row"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-loading-placeholder-ref","kind":{"$type":"FragmentRef","args":{"rows":{"$type":"Int","value":4}},"name":"loading-placeholder"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-loading-placeholder","kind":{"$type":"FragmentDecl","body":{"id":"loading-placeholder","kind":{"$type":"Skeleton","rows":3}},"holes":[{"$type":"Repeat","countSpace":{"$type":"IntRange","max":8,"min":1},"name":"rows"}],"name":"loading-placeholder"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-metric-card-ref","kind":{"$type":"FragmentRef","args":{"caption":{"$type":"Str","value":"minutes, vs. 162 last month"},"title":{"$type":"Str","value":"Mean time to resolve"},"value":{"$type":"Float","value":137}},"name":"metric-card"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-metric-card","kind":{"$type":"FragmentDecl","body":{"accessibility":{"role":"region"},"id":"metric-card","kind":{"$type":"Box","children":[{"accessibility":{"liveRegion":"polite"},"id":"metric-card-value","kind":{"$type":"Metric","format":{"$type":"Number","decimals":0},"label":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Summary","key":"title"}},"value":{"$type":"State","defaultValue":0,"key":"value"}}},{"id":"metric-card-caption","kind":{"$type":"Markdown","text":{"$type":"Bound","binding":{"$type":"State","defaultValue":"vs. previous period","key":"caption"}}}}],"heading":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Summary","key":"title"}},"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Card"}},"holes":[{"$type":"Value","default":{"$type":"Str","value":"Summary"},"name":"title","space":{"$type":"StringLen","maxLen":48,"minLen":1}},{"$type":"Value","name":"value","space":{"$type":"FloatRange","max":1000000,"min":-1000000}},{"$type":"Value","default":{"$type":"Str","value":"vs. previous period"},"name":"caption","space":{"$type":"StringLen","maxLen":80,"minLen":1}}],"name":"metric-card"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-section-header-ref","kind":{"$type":"FragmentRef","args":{"eyebrow":{"$type":"Str","value":"Operations"},"level":{"$type":"Int","value":2},"title":{"$type":"Str","value":"Incident summary"}},"name":"section-header"}}
@@ -0,0 +1 @@
1
+ {"id":"frag-stdlib-section-header","kind":{"$type":"FragmentDecl","body":{"id":"section-header","kind":{"$type":"Box","children":[{"id":"section-header-eyebrow","kind":{"$type":"Heading","level":2,"text":{"$type":"Bound","binding":{"$type":"State","defaultValue":"Section","key":"eyebrow"}},"variant":"Eyebrow"}},{"id":"section-header-title","kind":{"$type":"Heading","level":2,"text":{"$type":"Bound","binding":{"$type":"State","defaultValue":"","key":"title"}},"variant":"Standard"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}},"holes":[{"$type":"Value","default":{"$type":"Str","value":"Section"},"name":"eyebrow","space":{"$type":"StringLen","maxLen":32,"minLen":1}},{"$type":"Value","name":"title","space":{"$type":"StringLen","maxLen":80,"minLen":1}},{"$type":"Value","default":{"$type":"Int","value":2},"name":"level","space":{"$type":"IntRange","max":4,"min":1}}],"name":"section-header"}}
@@ -0,0 +1 @@
1
+ {"id":"grid-reorderable","kind":{"$type":"DataGrid","columns":[{"field":"task","kind":{"$type":"Text"},"label":"Task"},{"field":"rank","kind":{"$type":"Numeric"},"label":"Rank"}],"editStateKey":"sprint-order","reorderable":true,"rowKeyField":"task","source":{"$type":"State","defaultValue":[{"rank":1,"task":"Design"},{"rank":2,"task":"Build"},{"rank":3,"task":"Verify"}],"key":"sprint-order"}}}
@@ -0,0 +1 @@
1
+ {"id":"image-caption-1","kind":{"$type":"Image","alt":"Fishing boats moored at first light","caption":"The harbour at dawn, 1908. Oil on canvas.","src":{"$type":"Static","value":"/harbour.jpg"},"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"id":"image-caption-i18n-1","kind":{"$type":"Image","alt":"Fishing boats moored at first light","caption":{"$type":"I18n","args":{"year":1908},"key":"gallery.caption.harbour"},"src":{"$type":"Static","value":"/harbour.jpg"},"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"id":"image-expandable-1","kind":{"$type":"Image","alt":"Fishing boats moored at first light","expandable":true,"src":{"$type":"Static","value":"/harbour.jpg"},"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"id":"image-expandable-figure-1","kind":{"$type":"Image","alt":"Fishing boats moored at first light","aspectRatio":"FourThree","caption":"The harbour at dawn, 1908. Oil on canvas.","expandable":true,"fit":"Cover","loading":"Lazy","src":{"$type":"Static","value":"/harbour.jpg"},"srcSet":[{"src":{"$type":"Static","value":"/harbour-400.jpg"},"width":400},{"src":{"$type":"Static","value":"/harbour-800.jpg"},"width":800}],"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"id":"image-presentation-1","kind":{"$type":"Image","alt":"The harbour at dawn","aspectRatio":"SixteenNine","fit":"Cover","loading":"Lazy","src":{"$type":"Static","value":"/hero.jpg"},"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"id":"image-srcset-1","kind":{"$type":"Image","alt":"Fishing boats moored at first light","src":{"$type":"Static","value":"/harbour.jpg"},"srcSet":[{"src":{"$type":"Static","value":"/harbour-1600.jpg"},"width":1600},{"src":{"$type":"Static","value":"/harbour-800.jpg"},"width":800},{"src":{"$type":"Static","value":"/harbour-400.jpg"},"width":400}],"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"id":"n0","kind":{"$type":"Box","children":[{"id":"n1","kind":{"$type":"Box","children":[{"id":"n2","kind":{"$type":"Box","children":[{"id":"n3","kind":{"$type":"Box","children":[{"id":"n4","kind":{"$type":"Box","children":[{"id":"n5","kind":{"$type":"Box","children":[{"id":"n6","kind":{"$type":"Box","children":[{"id":"n7","kind":{"$type":"Box","children":[{"id":"n8","kind":{"$type":"Box","children":[{"id":"n9","kind":{"$type":"Box","children":[{"id":"n10","kind":{"$type":"Box","children":[{"id":"n11","kind":{"$type":"Box","children":[{"id":"n12","kind":{"$type":"Box","children":[{"id":"n13","kind":{"$type":"Box","children":[{"id":"n14","kind":{"$type":"Box","children":[{"id":"n15","kind":{"$type":"Box","children":[{"id":"n16","kind":{"$type":"Box","children":[{"id":"n17","kind":{"$type":"Box","children":[{"id":"n18","kind":{"$type":"Box","children":[{"id":"n19","kind":{"$type":"Box","children":[{"id":"n20","kind":{"$type":"Box","children":[{"id":"n21","kind":{"$type":"Box","children":[{"id":"n22","kind":{"$type":"Box","children":[{"id":"leaf","kind":{"$type":"Box","children":[],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"masonry-1","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}},{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"layout":{"$type":"Masonry","cols":3},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"masonry-gap","kind":{"$type":"Box","children":[{"id":"metric-1","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":0.07},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":1234.5}}},{"id":"markdown-1","kind":{"$type":"Markdown","text":"Updated hourly."}}],"layout":{"$type":"Masonry","cols":4,"gap":16},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"media-audio-1","kind":{"$type":"Media","kind":{"$type":"Audio"},"label":"Curator's commentary","src":{"$type":"Static","value":"/commentary.mp3"}}}
@@ -0,0 +1 @@
1
+ {"id":"media-video-1","kind":{"$type":"Media","kind":{"$type":"Video"},"label":"Studio walkthrough","src":{"$type":"Static","value":"/walkthrough.mp4"}}}
@@ -0,0 +1 @@
1
+ {"id":"media-video-autoplay-1","kind":{"$type":"Media","controls":false,"kind":{"$type":"Video","autoplay":true},"label":"Ambient loop","loop":true,"src":{"$type":"Static","value":"/ambient.mp4"}}}
@@ -0,0 +1 @@
1
+ {"id":"media-video-poster-1","kind":{"$type":"Media","kind":{"$type":"Video","poster":{"$type":"Static","value":"/walkthrough-poster.jpg"}},"label":"Studio walkthrough","src":{"$type":"Static","value":"/walkthrough.mp4"}}}
@@ -0,0 +1 @@
1
+ {"id":"metric-inverted-polarity","kind":{"$type":"Metric","format":{"$type":"Duration","style":"Compact","unit":"Minutes"},"label":"Avg wait","subtext":"still above target","tone":"Warning","trend":{"$type":"Static","value":-0.0734},"trendFormat":{"$type":"Percent","decimals":2},"trendPolarity":"LowerIsBetter","value":{"$type":"Static","value":80}}}
@@ -0,0 +1 @@
1
+ {"id":"metric-nonfinite-sentinel","kind":{"$type":"Metric","format":{"$type":"Currency","code":"GBP"},"icon":"trending-up","label":"Revenue","subtext":"vs last month","tone":"Brand","trend":{"$type":"Static","value":"NaN"},"trendFormat":{"$type":"Percent","decimals":1},"value":{"$type":"Static","value":"Infinity"}}}
@@ -0,0 +1 @@
1
+ {"id":"shared-source-seeded-pair","kind":{"$type":"Box","children":[{"id":"member-grid","kind":{"$type":"DataGrid","columns":[{"field":"team","kind":{"$type":"Text"},"label":"Team"}],"rowKeyField":"team","source":{"$type":"State","defaultValue":[{"team":"Ops"},{"team":"Research"}],"key":"members"}}},{"id":"member-count","kind":{"$type":"Badge","label":{"$type":"Bound","binding":{"$type":"Transform","pipeline":[{"$type":"groupBy","aggs":[{"fn":"count","name":"n","of":"team"}],"keys":[]}],"source":{"$type":"State","defaultValue":[],"key":"members"}}},"variant":"Info"}}],"layout":{"$type":"Auto"},"role":"Dashboard"}}
@@ -0,0 +1 @@
1
+ {"id":"spark-nonfinite-sentinel","kind":{"$type":"Sparkline","source":{"$type":"Static","value":[1,"NaN",3,"Infinity","-Infinity",5]}}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":{"hidden":"yes"}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":{"labelledBy":["h1"]}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":{"liveRegion":true}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":{"liveRegion":"urgent"}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":"Home"}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":{"role":42}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Metric","format":{"$type":"None"},"label":{"$type":"Literal","text":"L"},"trend":{"$type":"Static","value":true},"value":{"$type":"Static","value":1.0}}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Progress","fraction":"nan"}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Metric","format":{"$type":"None"},"label":{"$type":"Literal","text":"L"},"value":{"$type":"Static","value":"lots"}}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Tabs","activeIndex":{"$type":"Static","value":true},"children":[{"id":"m1","kind":{"$type":"Markdown","text":"x"}}]}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Stepper","activeStep":{"$type":"Static","value":"NaN"},"children":[{"id":"m1","kind":{"$type":"Markdown","text":"x"}}]}}
@@ -0,0 +1 @@
1
+ {"id":"m","kind":{"$type":"Box","children":[],"layout":{"$type":"Masonry","cols":0},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"id":"f1","kind":{"$type":"Form","fields":[{"id":"email","kind":{"$type":"Text"},"label":"Work email","required":true,"rule":{"message":"Must be a valid email"}}],"onSubmit":{"$type":"Dispatch"},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"f1","kind":{"$type":"Form","fields":[{"id":"username","kind":{"$type":"Text"},"label":"Username","required":true,"rule":{"minLength":24,"maxLength":3}}],"onSubmit":{"$type":"Dispatch"},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"f1","kind":{"$type":"Form","fields":[{"id":"email","kind":{"$type":"Text"},"label":"Work email","required":true,"validation":{"format":"email"}}],"onSubmit":{"$type":"Dispatch"},"submitLabel":"Save"}}
@@ -0,0 +1 @@
1
+ {"id":"i","kind":{"$type":"Image","alt":{"$type":"Literal","text":"Hero"},"expandable":"true","src":{"$type":"Static","value":"/hero.jpg"},"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"id":"i","kind":{"$type":"Image","alt":{"$type":"Literal","text":"Hero"},"src":{"$type":"Static","value":"/hero.jpg"},"srcSet":[{"src":{"$type":"Static","value":"/hero-800.jpg"},"width":800},{"src":{"$type":"Static","value":"/hero-0.jpg"},"width":0}],"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"id":"i","kind":{"$type":"Image","alt":{"$type":"Literal","text":"Hero"},"src":{"$type":"Static","value":"/hero.jpg"},"srcSet":null,"variant":"Default"}}
@@ -0,0 +1 @@
1
+ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
@@ -0,0 +1 @@
1
+ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
@@ -0,0 +1 @@
1
+ {"id":"n0","kind":{"$type":"Box","children":[{"id":"n1","kind":{"$type":"Box","children":[{"id":"n2","kind":{"$type":"Box","children":[{"id":"n3","kind":{"$type":"Box","children":[{"id":"n4","kind":{"$type":"Box","children":[{"id":"n5","kind":{"$type":"Box","children":[{"id":"n6","kind":{"$type":"Box","children":[{"id":"n7","kind":{"$type":"Box","children":[{"id":"n8","kind":{"$type":"Box","children":[{"id":"n9","kind":{"$type":"Box","children":[{"id":"n10","kind":{"$type":"Box","children":[{"id":"n11","kind":{"$type":"Box","children":[{"id":"n12","kind":{"$type":"Box","children":[{"id":"n13","kind":{"$type":"Box","children":[{"id":"n14","kind":{"$type":"Box","children":[{"id":"n15","kind":{"$type":"Box","children":[{"id":"n16","kind":{"$type":"Box","children":[{"id":"n17","kind":{"$type":"Box","children":[{"id":"n18","kind":{"$type":"Box","children":[{"id":"n19","kind":{"$type":"Box","children":[{"id":"n20","kind":{"$type":"Box","children":[{"id":"n21","kind":{"$type":"Box","children":[{"id":"n22","kind":{"$type":"Box","children":[{"id":"n23","kind":{"$type":"Box","children":[{"id":"leaf","kind":{"$type":"Box","children":[],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}],"layout":{"$type":"Flex","direction":"Vertical","wrap":false},"role":"Group"}}
@@ -0,0 +1 @@
1
+ {"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"Batch","ops":[{"$type":"RemoveNode","target":"x"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}
@@ -0,0 +1 @@
1
+ {"id":"m","kind":{"$type":"Media","kind":{"$type":"Video","autoplay":"true"},"label":"Ambient loop","src":{"$type":"Static","value":"/ambient.mp4"}}}
@@ -0,0 +1 @@
1
+ {"id":"m","kind":{"$type":"Media","kind":{"$type":"Video"},"src":{"$type":"Static","value":"/clip.mp4"}}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":{"aria-hidden":true}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":{"ariaLabel":"Notifications"}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":{"live":"polite"}}
@@ -0,0 +1 @@
1
+ {"id":"n1","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"accessibility":{"liveregion":"assertive"}}
@@ -1 +1 @@
1
- {"$type":"InsertChild","parentId":"x","position":0,"child":{"id":"","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}}
1
+ {"$type":"InsertChild","parentId":"x","child":{"id":"","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}}
@@ -1 +1 @@
1
- {"$type":"InsertChild","position":0,"child":{"id":"new","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}}
1
+ {"$type":"InsertChild","child":{"id":"new","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}}
@@ -0,0 +1 @@
1
+ {"$type":"InsertChild","parentId":"x","position":0,"child":{"id":"new","kind":{"$type":"Markdown","text":{"$type":"Literal","text":"x"}},"state":{},"style":{"emphasis":"Normal","tone":"Default","weight":"Standard"}}}
@@ -0,0 +1 @@
1
+ {"$type":"MoveNode","newParentId":"q","newPosition":2,"target":"n"}
@@ -0,0 +1 @@
1
+ {"id":"i","kind":{"$type":"Image","alt":{"$type":"Literal","text":"Hero"},"aspectRatio":"16/9","src":{"$type":"Static","value":"/hero.jpg"},"variant":"Default"}}
@@ -0,0 +1 @@
1
+ {"id":"m","kind":{"$type":"Media","kind":{"$type":"Stream"},"label":"Live feed","src":{"$type":"Static","value":"/live.m3u8"}}}
@@ -0,0 +1 @@
1
+ {"id":"m","kind":{"$type":"Metric","label":"Avg wait","trend":{"$type":"Static","value":-0.0734},"trendPolarity":"Neutral","value":{"$type":"Static","value":80}}}