@fuaran-ui/conformance 0.4.0 → 0.5.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.
@@ -1 +1 @@
1
- {"id":"len-460-g","kind":{"$type":"DataGrid","columns":[{"kind":{"$type":"Text"},"label":"Channel"}],"source":{"$type":"Static","value":"<opaque>"}}}
1
+ {"id":"len-460-g","kind":{"$type":"DataGrid","columns":[{"kind":{"$type":"Text"},"label":"Channel"}],"source":{"$type":"Static","value":[]}}}
@@ -0,0 +1 @@
1
+ {"id":"len-rows-opq","kind":{"$type":"DataGrid","columns":[{"field":"dept","kind":{"$type":"Text"},"label":"Dept"}],"rowKeyField":"dept","source":{"$type":"State","defaultValue":[],"key":"rows"}}}
@@ -0,0 +1 @@
1
+ {"id":"len-rows-opq","kind":{"$type":"DataGrid","columns":[{"field":"dept","kind":{"$type":"Text"},"label":"Dept"}],"rowKeyField":"dept","source":{"$type":"State","defaultValue":"<opaque>","key":"rows"}}}
@@ -1 +1 @@
1
- {"id":"len-dg","kind":{"$type":"DataGrid","columns":[{"field":"name","kind":{"$type":"Text"},"label":"Name"}],"source":{"$type":"Static","value":"<opaque>"}}}
1
+ {"id":"len-dg","kind":{"$type":"DataGrid","columns":[{"field":"name","kind":{"$type":"Text"},"label":"Name"}],"source":{"$type":"Static","value":[{"name":"A"}]}}}
@@ -464,6 +464,14 @@
464
464
  "expectedFile": "lenient/lenient-596-form-explicit-auto-state.expected.json",
465
465
  "description": "Phase 596 — a form field's explicit auto-shape value (State(field id, placeholder)) normalises to the omitted-value canonical form"
466
466
  },
467
+ {
468
+ "id": "lenient-665-rows-opaque-sentinel",
469
+ "kind": "lenient-accept",
470
+ "decoder": "node",
471
+ "inputFile": "lenient/lenient-665-rows-opaque-sentinel.json",
472
+ "expectedFile": "lenient/lenient-665-rows-opaque-sentinel.expected.json",
473
+ "description": "fuaran#665 read-compat: the legacy \"<opaque>\" rows sentinel decodes to the empty typed feed and re-encodes as []"
474
+ },
467
475
  {
468
476
  "id": "lenient-alias-call-url",
469
477
  "kind": "lenient-accept",
@@ -928,6 +936,14 @@
928
936
  "expectedFile": "nodes/chart-1.json",
929
937
  "description": "Visualisation/Chart"
930
938
  },
939
+ {
940
+ "id": "chart-state-rows",
941
+ "kind": "node-round-trip",
942
+ "decoder": "node",
943
+ "inputFile": "nodes/chart-state-rows.json",
944
+ "expectedFile": "nodes/chart-state-rows.json",
945
+ "description": "Visualisation/Chart (Phase 663/665 — chart on the editable grid's state key)"
946
+ },
931
947
  {
932
948
  "id": "code-1",
933
949
  "kind": "node-round-trip",
@@ -1216,6 +1232,14 @@
1216
1232
  "expectedFile": "nodes/grid-1.json",
1217
1233
  "description": "Visualisation/Grid"
1218
1234
  },
1235
+ {
1236
+ "id": "grid-editable-state",
1237
+ "kind": "node-round-trip",
1238
+ "decoder": "node",
1239
+ "inputFile": "nodes/grid-editable-state.json",
1240
+ "expectedFile": "nodes/grid-editable-state.json",
1241
+ "description": "Visualisation/Grid (Phase 663/665 — editable State-sourced grid, typed rows on the wire)"
1242
+ },
1219
1243
  {
1220
1244
  "id": "grid-field-named",
1221
1245
  "kind": "node-round-trip",
@@ -1 +1 @@
1
- {"id":"chart-1","kind":{"$type":"Chart","kind":"Line","source":{"$type":"Static","value":"<opaque>"},"stacked":true,"title":"Channel mix","xField":"month","yFields":["revenue","cost"]}}
1
+ {"id":"chart-1","kind":{"$type":"Chart","kind":"Line","source":{"$type":"Static","value":[{"cost":420,"month":"Jan","revenue":980},{"cost":390,"month":"Feb","revenue":1105}]},"stacked":true,"title":"Channel mix","xField":"month","yFields":["revenue","cost"]}}
@@ -0,0 +1 @@
1
+ {"id":"chart-state-rows","kind":{"$type":"Chart","kind":"Bar","source":{"$type":"State","defaultValue":[{"month":"Jan","revenue":980},{"month":"Feb","revenue":1105}],"key":"planRows"},"stacked":false,"xField":"month","yFields":["revenue"]}}
@@ -1 +1 @@
1
- {"id":"grid-1","kind":{"$type":"DataGrid","columns":[{"kind":{"$type":"Text"},"label":"Channel","value":"<closure>"}],"rowKey":"<closure>","source":{"$type":"Static","value":"<opaque>"}}}
1
+ {"id":"grid-1","kind":{"$type":"DataGrid","columns":[{"kind":{"$type":"Text"},"label":"Channel","value":"<closure>"}],"rowKey":"<closure>","source":{"$type":"Static","value":[{"channel":"Direct","revenue":1200},{"channel":"Referral","revenue":830}]}}}
@@ -0,0 +1 @@
1
+ {"id":"grid-editable-state","kind":{"$type":"DataGrid","columns":[{"field":"month","kind":{"$type":"Text"},"label":"Month"},{"field":"revenue","kind":{"$type":"Numeric"},"label":"Revenue"}],"editable":true,"rowKeyField":"month","source":{"$type":"State","defaultValue":[{"month":"Jan","revenue":980},{"month":"Feb","revenue":1105}],"key":"planRows"}}}
@@ -1 +1 @@
1
- {"id":"table-1","kind":{"$type":"DataGrid","columns":[],"source":{"$type":"Static","value":"<opaque>"},"staticRows":{"headers":["Term","Definition"],"rows":[["MVU","Model-View-Update"],["DSL","Domain-specific language"]]}}}
1
+ {"id":"table-1","kind":{"$type":"DataGrid","columns":[],"source":{"$type":"Static","value":[]},"staticRows":{"headers":["Term","Definition"],"rows":[["MVU","Model-View-Update"],["DSL","Domain-specific language"]]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuaran-ui/conformance",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Third-party certification kit for the Fuaran UI wire format — runs any candidate implementation (via a small decode/encode adapter) over the bundled canonical fixture corpus and emits a per-leg pass/fail conformance report naming the corpus version. See CONFORMANCE.md for the certification procedure.",
5
5
  "keywords": [
6
6
  "fuaran",
@@ -43,8 +43,8 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^22.10.2",
46
- "@fuaran-ui/ops": "0.4.0",
47
- "@fuaran-ui/schema": "0.4.0"
46
+ "@fuaran-ui/ops": "0.5.0",
47
+ "@fuaran-ui/schema": "0.5.0"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"