@sentropic/design-system-elements 0.0.0-stage → 0.2.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 (79) hide show
  1. package/LICENSE +21 -0
  2. package/LICENSE.THIRD-PARTY.md +4734 -0
  3. package/README.md +189 -2
  4. package/catalog.json +1234 -0
  5. package/dist/browser/assets/bpmn-CZlEAdL6.ttf +0 -0
  6. package/dist/browser/assets/bpmn-DaGVGZ7K.woff +0 -0
  7. package/dist/browser/assets/bpmn-DaJ2be00.woff2 +0 -0
  8. package/dist/browser/chunks/BpmnRenderUtil-WMCgqGDs.js +1 -0
  9. package/dist/browser/chunks/BpmnUpdater-C-UNbzXl.js +1 -0
  10. package/dist/browser/chunks/LabelUtil-7QpE43Ed.js +1 -0
  11. package/dist/browser/chunks/LayoutUtil-hAMJmJFU.js +1 -0
  12. package/dist/browser/chunks/ModelUtil-CMh7LuN4.js +1 -0
  13. package/dist/browser/chunks/Modeler-BfAmwsmK.js +389 -0
  14. package/dist/browser/chunks/Viewer-eYLzc3fD.js +4 -0
  15. package/dist/browser/chunks/bpmn-canvas-DeAWdJFy.js +2207 -0
  16. package/dist/browser/chunks/colored-CSIQaGsQ.js +1 -0
  17. package/dist/browser/chunks/dist-Co2MgHWm.js +1 -0
  18. package/dist/browser/chunks/dist-O6_2ByYB.js +1 -0
  19. package/dist/browser/chunks/dist-kvAYI1vo.js +1 -0
  20. package/dist/browser/chunks/entropic-CM5BHERN.js +2173 -0
  21. package/dist/browser/chunks/focus-renderer-0elVToA2.js +10 -0
  22. package/dist/browser/chunks/forge-B8hrW4lA.js +2173 -0
  23. package/dist/browser/chunks/layout-q0TR9-aY.js +1 -0
  24. package/dist/browser/chunks/legend-CXdfCBh6.js +1 -0
  25. package/dist/browser/chunks/textMetrics-BrMS6-sA.js +2 -0
  26. package/dist/browser/chunks/tokens-DFPpCvf1.js +1 -0
  27. package/dist/browser/elements.js +2221 -0
  28. package/dist/browser/sri.json +166 -0
  29. package/dist/contracts/bar-chart.d.ts +158 -0
  30. package/dist/contracts/bar-chart.js +117 -0
  31. package/dist/contracts/bpmn-canvas.d.ts +39 -0
  32. package/dist/contracts/bpmn-canvas.js +77 -0
  33. package/dist/contracts/decision-dossier.d.ts +43 -0
  34. package/dist/contracts/decision-dossier.js +133 -0
  35. package/dist/contracts/index.d.ts +28 -0
  36. package/dist/contracts/index.js +35 -0
  37. package/dist/contracts/types.d.ts +129 -0
  38. package/dist/contracts/types.js +16 -0
  39. package/dist/element/f1/f1-to-xml.d.ts +51 -0
  40. package/dist/element/f1/f1-to-xml.js +220 -0
  41. package/dist/element/markdown/minimal-markdown.d.ts +31 -0
  42. package/dist/element/markdown/minimal-markdown.js +98 -0
  43. package/dist/element/theme/theme-scoping.d.ts +27 -0
  44. package/dist/element/theme/theme-scoping.js +39 -0
  45. package/dist/generated/a2ui-common-types.d.ts +25 -0
  46. package/dist/generated/a2ui-common-types.js +367 -0
  47. package/dist/generator/canonical.d.ts +21 -0
  48. package/dist/generator/canonical.js +36 -0
  49. package/dist/generator/emit.d.ts +48 -0
  50. package/dist/generator/emit.js +400 -0
  51. package/dist/generator/main.d.ts +19 -0
  52. package/dist/generator/main.js +67 -0
  53. package/dist/generator/parity.d.ts +55 -0
  54. package/dist/generator/parity.js +223 -0
  55. package/dist/index.d.ts +11 -0
  56. package/dist/index.js +10 -0
  57. package/dist/ports/bpmn-canvas.d.ts +34 -0
  58. package/dist/ports/bpmn-canvas.js +36 -0
  59. package/dist/ports/focus.d.ts +40 -0
  60. package/dist/ports/focus.js +49 -0
  61. package/dist/ports/types.d.ts +36 -0
  62. package/dist/ports/types.js +12 -0
  63. package/dist/structure/ajv.d.ts +41 -0
  64. package/dist/structure/ajv.js +108 -0
  65. package/dist/structure/interpreter.d.ts +47 -0
  66. package/dist/structure/interpreter.js +576 -0
  67. package/dist/validate/diagnostics.d.ts +63 -0
  68. package/dist/validate/diagnostics.js +56 -0
  69. package/dist/validate/envelope.d.ts +92 -0
  70. package/dist/validate/envelope.js +306 -0
  71. package/dist/validate/index.d.ts +22 -0
  72. package/dist/validate/index.js +24 -0
  73. package/dist/validate/structure.d.ts +32 -0
  74. package/dist/validate/structure.js +13 -0
  75. package/envelope.json +43 -0
  76. package/package.json +54 -4
  77. package/schemas/BarChart.v1.json +556 -0
  78. package/schemas/BpmnCanvas.v1.json +139 -0
  79. package/schemas/DecisionDossier.v1.json +635 -0
package/catalog.json ADDED
@@ -0,0 +1,1234 @@
1
+ {
2
+ "$defs": {
3
+ "CatalogComponentCommon": {
4
+ "properties": {
5
+ "weight": {
6
+ "description": "The relative weight of this component within a Row or Column. This is similar to the CSS 'flex-grow' property. Note: this may ONLY be set when the component is a direct descendant of a Row or Column.",
7
+ "type": "number"
8
+ }
9
+ },
10
+ "type": "object"
11
+ },
12
+ "DecisionDossierDocument": {
13
+ "$defs": {
14
+ "amendmentStep": {
15
+ "additionalProperties": false,
16
+ "properties": {
17
+ "at": {
18
+ "type": "string"
19
+ },
20
+ "author": {
21
+ "type": "string"
22
+ },
23
+ "summary": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "required": [
28
+ "at",
29
+ "author",
30
+ "summary"
31
+ ],
32
+ "type": "object"
33
+ },
34
+ "amendmentTraceNode": {
35
+ "additionalProperties": false,
36
+ "properties": {
37
+ "id": {
38
+ "type": "string"
39
+ },
40
+ "kind": {
41
+ "const": "amendmentTrace"
42
+ },
43
+ "steps": {
44
+ "items": {
45
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/amendmentStep"
46
+ },
47
+ "type": "array"
48
+ },
49
+ "targetRef": {
50
+ "type": "string"
51
+ }
52
+ },
53
+ "required": [
54
+ "id",
55
+ "kind",
56
+ "steps",
57
+ "targetRef"
58
+ ],
59
+ "type": "object"
60
+ },
61
+ "comprehensionEvidence": {
62
+ "additionalProperties": false,
63
+ "properties": {
64
+ "dossierHash": {
65
+ "type": "string"
66
+ },
67
+ "signature": {
68
+ "type": "string"
69
+ },
70
+ "subject": {
71
+ "type": "string"
72
+ }
73
+ },
74
+ "required": [
75
+ "dossierHash",
76
+ "subject"
77
+ ],
78
+ "type": "object"
79
+ },
80
+ "diagramNode": {
81
+ "additionalProperties": false,
82
+ "properties": {
83
+ "alt": {
84
+ "type": "string"
85
+ },
86
+ "id": {
87
+ "type": "string"
88
+ },
89
+ "kind": {
90
+ "const": "diagram"
91
+ },
92
+ "scene": {
93
+ "description": "diagram-core SemanticDocument, profile generic@1, without views, geometry or layout hints. Opaque JSON until the design-system publishes its authoritative schema; no Focus-specific scene model.",
94
+ "type": "object"
95
+ },
96
+ "source": {
97
+ "type": "string"
98
+ },
99
+ "syntax": {
100
+ "enum": [
101
+ "mermaid",
102
+ "plantuml"
103
+ ]
104
+ },
105
+ "targetRef": {
106
+ "type": "string"
107
+ }
108
+ },
109
+ "required": [
110
+ "alt",
111
+ "id",
112
+ "kind",
113
+ "source",
114
+ "syntax",
115
+ "targetRef"
116
+ ],
117
+ "type": "object"
118
+ },
119
+ "glossaryEntry": {
120
+ "additionalProperties": false,
121
+ "properties": {
122
+ "definition": {
123
+ "type": "string"
124
+ },
125
+ "term": {
126
+ "type": "string"
127
+ }
128
+ },
129
+ "required": [
130
+ "definition",
131
+ "term"
132
+ ],
133
+ "type": "object"
134
+ },
135
+ "interaction": {
136
+ "additionalProperties": false,
137
+ "properties": {
138
+ "enabled": {
139
+ "const": false
140
+ },
141
+ "label": {
142
+ "type": "string"
143
+ },
144
+ "name": {
145
+ "type": "string"
146
+ },
147
+ "targetRef": {
148
+ "type": "string"
149
+ }
150
+ },
151
+ "required": [
152
+ "enabled",
153
+ "label",
154
+ "name",
155
+ "targetRef"
156
+ ],
157
+ "type": "object"
158
+ },
159
+ "optionNode": {
160
+ "additionalProperties": false,
161
+ "properties": {
162
+ "annotation": {
163
+ "enum": [
164
+ "accept",
165
+ "comment",
166
+ "none",
167
+ "reject"
168
+ ]
169
+ },
170
+ "annotationComment": {
171
+ "type": "string"
172
+ },
173
+ "body": {
174
+ "type": "string"
175
+ },
176
+ "consequence": {
177
+ "type": "string"
178
+ },
179
+ "id": {
180
+ "type": "string"
181
+ },
182
+ "kind": {
183
+ "const": "option"
184
+ },
185
+ "label": {
186
+ "type": "string"
187
+ },
188
+ "targetRef": {
189
+ "type": "string"
190
+ }
191
+ },
192
+ "required": [
193
+ "annotation",
194
+ "id",
195
+ "kind",
196
+ "label",
197
+ "targetRef"
198
+ ],
199
+ "type": "object"
200
+ },
201
+ "optionSetNode": {
202
+ "additionalProperties": false,
203
+ "properties": {
204
+ "id": {
205
+ "type": "string"
206
+ },
207
+ "kind": {
208
+ "const": "optionSet"
209
+ },
210
+ "options": {
211
+ "items": {
212
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/optionNode"
213
+ },
214
+ "type": "array"
215
+ },
216
+ "questionId": {
217
+ "type": "string"
218
+ },
219
+ "targetRef": {
220
+ "type": "string"
221
+ },
222
+ "title": {
223
+ "type": "string"
224
+ }
225
+ },
226
+ "required": [
227
+ "id",
228
+ "kind",
229
+ "options",
230
+ "targetRef"
231
+ ],
232
+ "type": "object"
233
+ },
234
+ "outcomeNode": {
235
+ "additionalProperties": false,
236
+ "properties": {
237
+ "id": {
238
+ "type": "string"
239
+ },
240
+ "kind": {
241
+ "const": "outcome"
242
+ },
243
+ "modality": {
244
+ "enum": [
245
+ "amendment",
246
+ "comment",
247
+ "decision",
248
+ "orientation"
249
+ ]
250
+ },
251
+ "questionId": {
252
+ "type": "string"
253
+ },
254
+ "statement": {
255
+ "type": "string"
256
+ },
257
+ "targetRef": {
258
+ "type": "string"
259
+ }
260
+ },
261
+ "required": [
262
+ "id",
263
+ "kind",
264
+ "modality",
265
+ "statement",
266
+ "targetRef"
267
+ ],
268
+ "type": "object"
269
+ },
270
+ "proseNode": {
271
+ "additionalProperties": false,
272
+ "properties": {
273
+ "id": {
274
+ "type": "string"
275
+ },
276
+ "kind": {
277
+ "const": "prose"
278
+ },
279
+ "markdown": {
280
+ "type": "string"
281
+ },
282
+ "questionId": {
283
+ "type": "string"
284
+ },
285
+ "targetRef": {
286
+ "type": "string"
287
+ }
288
+ },
289
+ "required": [
290
+ "id",
291
+ "kind",
292
+ "markdown",
293
+ "targetRef"
294
+ ],
295
+ "type": "object"
296
+ },
297
+ "provenance": {
298
+ "additionalProperties": false,
299
+ "properties": {
300
+ "comprehensionEvidence": {
301
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/comprehensionEvidence"
302
+ },
303
+ "readAt": {
304
+ "type": "string"
305
+ },
306
+ "source": {
307
+ "type": "string"
308
+ }
309
+ },
310
+ "required": [
311
+ "readAt",
312
+ "source"
313
+ ],
314
+ "type": "object"
315
+ },
316
+ "questionNode": {
317
+ "additionalProperties": false,
318
+ "properties": {
319
+ "answer": {
320
+ "type": "string"
321
+ },
322
+ "context": {
323
+ "type": "string"
324
+ },
325
+ "id": {
326
+ "type": "string"
327
+ },
328
+ "kind": {
329
+ "const": "question"
330
+ },
331
+ "question": {
332
+ "type": "string"
333
+ },
334
+ "readingTimeMinutes": {
335
+ "type": "number"
336
+ },
337
+ "recommendedAnswer": {
338
+ "type": "string"
339
+ },
340
+ "recommendedOptionId": {
341
+ "type": "string"
342
+ },
343
+ "state": {
344
+ "enum": [
345
+ "answered",
346
+ "open",
347
+ "validated"
348
+ ]
349
+ },
350
+ "targetRef": {
351
+ "type": "string"
352
+ }
353
+ },
354
+ "required": [
355
+ "id",
356
+ "kind",
357
+ "question",
358
+ "state",
359
+ "targetRef"
360
+ ],
361
+ "type": "object"
362
+ },
363
+ "readability": {
364
+ "additionalProperties": false,
365
+ "properties": {
366
+ "glossary": {
367
+ "items": {
368
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/glossaryEntry"
369
+ },
370
+ "type": "array"
371
+ },
372
+ "noOwnerRequest": {
373
+ "type": "boolean"
374
+ },
375
+ "ownerRequestQuote": {
376
+ "type": "string"
377
+ },
378
+ "readingBudgetMinutes": {
379
+ "type": "number"
380
+ },
381
+ "stakes": {
382
+ "type": "string"
383
+ },
384
+ "stakesLevel": {
385
+ "enum": [
386
+ "high",
387
+ "low",
388
+ "medium"
389
+ ]
390
+ }
391
+ },
392
+ "type": "object"
393
+ },
394
+ "section": {
395
+ "oneOf": [
396
+ {
397
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/proseNode"
398
+ },
399
+ {
400
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/questionNode"
401
+ },
402
+ {
403
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/optionSetNode"
404
+ },
405
+ {
406
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/outcomeNode"
407
+ },
408
+ {
409
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/amendmentTraceNode"
410
+ },
411
+ {
412
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/diagramNode"
413
+ }
414
+ ]
415
+ }
416
+ },
417
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
418
+ "additionalProperties": false,
419
+ "description": "Read-only decision-dossier snapshot published by @sentropic/focus. Closed: unknown fields refuse. Snapshot interactions are disabled metadata (enabled:false); live decisions, signatures and amendments require separately qualified runtime capabilities.",
420
+ "properties": {
421
+ "amendmentTrace": {
422
+ "items": {
423
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/amendmentStep"
424
+ },
425
+ "type": "array"
426
+ },
427
+ "cursor": {
428
+ "type": "string"
429
+ },
430
+ "hash": {
431
+ "type": "string"
432
+ },
433
+ "interactions": {
434
+ "items": {
435
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/interaction"
436
+ },
437
+ "type": "array"
438
+ },
439
+ "provenance": {
440
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/provenance"
441
+ },
442
+ "readability": {
443
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/readability"
444
+ },
445
+ "ref": {
446
+ "type": "string"
447
+ },
448
+ "sections": {
449
+ "items": {
450
+ "$ref": "#/$defs/DecisionDossierDocument/$defs/section"
451
+ },
452
+ "type": "array"
453
+ },
454
+ "subject": {
455
+ "type": "string"
456
+ },
457
+ "title": {
458
+ "type": "string"
459
+ }
460
+ },
461
+ "required": [
462
+ "amendmentTrace",
463
+ "cursor",
464
+ "hash",
465
+ "interactions",
466
+ "provenance",
467
+ "ref",
468
+ "sections",
469
+ "subject",
470
+ "title"
471
+ ],
472
+ "title": "DecisionDossierDocument",
473
+ "type": "object"
474
+ },
475
+ "anyComponent": {
476
+ "oneOf": [
477
+ {
478
+ "$ref": "#/components/BarChart"
479
+ },
480
+ {
481
+ "$ref": "#/components/BpmnCanvas"
482
+ },
483
+ {
484
+ "$ref": "#/components/DecisionDossier"
485
+ }
486
+ ]
487
+ },
488
+ "theme": {
489
+ "properties": {
490
+ "themeId": {
491
+ "type": "string"
492
+ }
493
+ },
494
+ "type": "object"
495
+ }
496
+ },
497
+ "$id": "https://design-system.sent-tech.ca/catalogs/elements/v1/catalog.json",
498
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
499
+ "catalogId": "https://design-system.sent-tech.ca/catalogs/elements/v1/catalog.json",
500
+ "components": {
501
+ "BarChart": {
502
+ "allOf": [
503
+ {
504
+ "$ref": "https://a2ui.org/specification/v0_9_1/common_types.json#/$defs/ComponentCommon"
505
+ },
506
+ {
507
+ "$ref": "#/$defs/CatalogComponentCommon"
508
+ },
509
+ {
510
+ "properties": {
511
+ "accessibility": {
512
+ "additionalProperties": false,
513
+ "properties": {
514
+ "description": {
515
+ "type": "string"
516
+ },
517
+ "label": {
518
+ "type": "string"
519
+ }
520
+ },
521
+ "type": "object"
522
+ },
523
+ "annotations": {
524
+ "description": "Annotation overlay in data space (see ChartAnnotation).",
525
+ "items": {
526
+ "anyOf": [
527
+ {
528
+ "additionalProperties": false,
529
+ "properties": {
530
+ "kind": {
531
+ "const": "point",
532
+ "type": "string"
533
+ },
534
+ "label": {
535
+ "type": "string"
536
+ },
537
+ "marker": {
538
+ "description": "Marker glyph for a point annotation.",
539
+ "enum": [
540
+ "circle",
541
+ "diamond",
542
+ "square"
543
+ ],
544
+ "type": "string"
545
+ },
546
+ "x": {
547
+ "type": [
548
+ "number",
549
+ "string"
550
+ ]
551
+ },
552
+ "y": {
553
+ "type": "number"
554
+ }
555
+ },
556
+ "required": [
557
+ "kind",
558
+ "x",
559
+ "y"
560
+ ],
561
+ "type": "object"
562
+ },
563
+ {
564
+ "additionalProperties": false,
565
+ "properties": {
566
+ "anchor": {
567
+ "enum": [
568
+ "end",
569
+ "middle",
570
+ "start"
571
+ ],
572
+ "type": "string"
573
+ },
574
+ "kind": {
575
+ "const": "label",
576
+ "type": "string"
577
+ },
578
+ "text": {
579
+ "type": "string"
580
+ },
581
+ "x": {
582
+ "type": [
583
+ "number",
584
+ "string"
585
+ ]
586
+ },
587
+ "y": {
588
+ "type": "number"
589
+ }
590
+ },
591
+ "required": [
592
+ "kind",
593
+ "text",
594
+ "x",
595
+ "y"
596
+ ],
597
+ "type": "object"
598
+ },
599
+ {
600
+ "additionalProperties": false,
601
+ "properties": {
602
+ "axis": {
603
+ "enum": [
604
+ "x",
605
+ "y"
606
+ ],
607
+ "type": "string"
608
+ },
609
+ "kind": {
610
+ "const": "line",
611
+ "type": "string"
612
+ },
613
+ "label": {
614
+ "type": "string"
615
+ },
616
+ "value": {
617
+ "type": "number"
618
+ }
619
+ },
620
+ "required": [
621
+ "axis",
622
+ "kind",
623
+ "value"
624
+ ],
625
+ "type": "object"
626
+ },
627
+ {
628
+ "additionalProperties": false,
629
+ "properties": {
630
+ "axis": {
631
+ "enum": [
632
+ "x",
633
+ "y"
634
+ ],
635
+ "type": "string"
636
+ },
637
+ "from": {
638
+ "type": "number"
639
+ },
640
+ "kind": {
641
+ "const": "region",
642
+ "type": "string"
643
+ },
644
+ "label": {
645
+ "type": "string"
646
+ },
647
+ "to": {
648
+ "type": "number"
649
+ }
650
+ },
651
+ "required": [
652
+ "axis",
653
+ "from",
654
+ "kind",
655
+ "to"
656
+ ],
657
+ "type": "object"
658
+ },
659
+ {
660
+ "additionalProperties": false,
661
+ "properties": {
662
+ "kind": {
663
+ "const": "shape",
664
+ "type": "string"
665
+ },
666
+ "label": {
667
+ "type": "string"
668
+ },
669
+ "points": {
670
+ "items": {
671
+ "additionalProperties": false,
672
+ "properties": {
673
+ "x": {
674
+ "type": [
675
+ "number",
676
+ "string"
677
+ ]
678
+ },
679
+ "y": {
680
+ "type": "number"
681
+ }
682
+ },
683
+ "required": [
684
+ "x",
685
+ "y"
686
+ ],
687
+ "type": "object"
688
+ },
689
+ "type": "array"
690
+ }
691
+ },
692
+ "required": [
693
+ "kind",
694
+ "points"
695
+ ],
696
+ "type": "object"
697
+ }
698
+ ],
699
+ "description": "Annotation overlay in data space, discriminated on `kind`. The `x` coordinate is categorical for this chart: it matches a bar by its `label` and is ignored otherwise; `y` and every value-axis number are numeric."
700
+ },
701
+ "type": "array"
702
+ },
703
+ "bands": {
704
+ "description": "Shaded value-axis bands.",
705
+ "items": {
706
+ "additionalProperties": false,
707
+ "description": "A shaded band between two value-axis positions.",
708
+ "properties": {
709
+ "from": {
710
+ "description": "Band start in value-axis units.",
711
+ "type": "number"
712
+ },
713
+ "label": {
714
+ "description": "Human-readable band label.",
715
+ "type": "string"
716
+ },
717
+ "to": {
718
+ "description": "Band end in value-axis units.",
719
+ "type": "number"
720
+ },
721
+ "tone": {
722
+ "description": "Feedback-token tone for the band.",
723
+ "enum": [
724
+ "error",
725
+ "info",
726
+ "neutral",
727
+ "success",
728
+ "warning"
729
+ ],
730
+ "type": "string"
731
+ }
732
+ },
733
+ "required": [
734
+ "from",
735
+ "to"
736
+ ],
737
+ "type": "object"
738
+ },
739
+ "type": "array"
740
+ },
741
+ "component": {
742
+ "const": "BarChart"
743
+ },
744
+ "data": {
745
+ "description": "The bars, in draw order. Required.",
746
+ "items": {
747
+ "additionalProperties": false,
748
+ "description": "One bar: its label is also its selection key.",
749
+ "properties": {
750
+ "errorHigh": {
751
+ "description": "Upper error-bar extent (value-axis units). Drawn only when finite.",
752
+ "type": "number"
753
+ },
754
+ "errorLow": {
755
+ "description": "Lower error-bar extent (value-axis units). Drawn only when finite.",
756
+ "type": "number"
757
+ },
758
+ "label": {
759
+ "description": "The bar's category label; also its key for selection and hover.",
760
+ "type": "string"
761
+ },
762
+ "tone": {
763
+ "description": "Explicit categorical tone; the palette default when absent.",
764
+ "enum": [
765
+ "category1",
766
+ "category2",
767
+ "category3",
768
+ "category4",
769
+ "category5",
770
+ "category6",
771
+ "category7",
772
+ "category8"
773
+ ],
774
+ "type": "string"
775
+ },
776
+ "value": {
777
+ "description": "The bar's value (value-axis units).",
778
+ "type": "number"
779
+ }
780
+ },
781
+ "required": [
782
+ "label",
783
+ "value"
784
+ ],
785
+ "type": "object"
786
+ },
787
+ "type": "array"
788
+ },
789
+ "dataLabels": {
790
+ "anyOf": [
791
+ {
792
+ "type": "boolean"
793
+ },
794
+ {
795
+ "additionalProperties": false,
796
+ "properties": {
797
+ "position": {
798
+ "description": "Placement hint; the chart's default when absent.",
799
+ "enum": [
800
+ "auto",
801
+ "center",
802
+ "inside",
803
+ "outside",
804
+ "top"
805
+ ],
806
+ "type": "string"
807
+ }
808
+ },
809
+ "type": "object"
810
+ }
811
+ ],
812
+ "description": "Per-bar value labels; absent or false renders none."
813
+ },
814
+ "domain": {
815
+ "description": "Fixed value-axis domain [min, max]; the auto data range when absent.",
816
+ "items": {
817
+ "type": "number"
818
+ },
819
+ "maxItems": 2,
820
+ "minItems": 2,
821
+ "type": "array"
822
+ },
823
+ "goalLine": {
824
+ "additionalProperties": false,
825
+ "description": "A single goal line, emphasised above the bars.",
826
+ "properties": {
827
+ "label": {
828
+ "description": "Human-readable goal label.",
829
+ "type": "string"
830
+ },
831
+ "value": {
832
+ "description": "Position of the goal line in value-axis units.",
833
+ "type": "number"
834
+ }
835
+ },
836
+ "required": [
837
+ "value"
838
+ ],
839
+ "type": "object"
840
+ },
841
+ "height": {
842
+ "description": "Fixed pixel height; the component's default when absent.",
843
+ "type": "number"
844
+ },
845
+ "hoverKey": {
846
+ "description": "Controlled synchronised hover key (a bar's label, or null for none).",
847
+ "type": [
848
+ "null",
849
+ "string"
850
+ ]
851
+ },
852
+ "invertAxis": {
853
+ "description": "Inverts the value axis (high values toward the origin). Default false.",
854
+ "type": "boolean"
855
+ },
856
+ "keyboardNav": {
857
+ "description": "Keyboard navigation of the data points (roving tabindex).",
858
+ "type": "boolean"
859
+ },
860
+ "label": {
861
+ "description": "Human-readable chart label (also the accessible name). Required.",
862
+ "type": "string"
863
+ },
864
+ "orientation": {
865
+ "description": "Bar direction; \"vertical\" by default.",
866
+ "enum": [
867
+ "horizontal",
868
+ "vertical"
869
+ ],
870
+ "type": "string"
871
+ },
872
+ "referenceLines": {
873
+ "description": "Reference lines on the value axis.",
874
+ "items": {
875
+ "additionalProperties": false,
876
+ "description": "A reference line on one axis (default axis: \"y\").",
877
+ "properties": {
878
+ "axis": {
879
+ "description": "Which axis the line spans; \"y\" by default.",
880
+ "enum": [
881
+ "x",
882
+ "y"
883
+ ],
884
+ "type": "string"
885
+ },
886
+ "label": {
887
+ "description": "Human-readable line label.",
888
+ "type": "string"
889
+ },
890
+ "tone": {
891
+ "description": "Feedback-token tone for the line.",
892
+ "enum": [
893
+ "error",
894
+ "info",
895
+ "neutral",
896
+ "success",
897
+ "warning"
898
+ ],
899
+ "type": "string"
900
+ },
901
+ "value": {
902
+ "description": "Position of the line in value-axis units.",
903
+ "type": "number"
904
+ }
905
+ },
906
+ "required": [
907
+ "value"
908
+ ],
909
+ "type": "object"
910
+ },
911
+ "type": "array"
912
+ },
913
+ "scale": {
914
+ "description": "Value-axis scale; \"linear\" by default, \"log\" needs positive values.",
915
+ "enum": [
916
+ "linear",
917
+ "log"
918
+ ],
919
+ "type": "string"
920
+ },
921
+ "selectedKeys": {
922
+ "description": "Keys of the currently selected bars (a bar's key is its label). Controlled.",
923
+ "items": {
924
+ "type": "string"
925
+ },
926
+ "type": "array"
927
+ },
928
+ "showLegend": {
929
+ "description": "Accepted for cross-chart parity; BarChart has no separate legend surface.",
930
+ "type": "boolean"
931
+ },
932
+ "width": {
933
+ "description": "Fixed pixel width; the container's when absent.",
934
+ "type": "number"
935
+ }
936
+ },
937
+ "required": [
938
+ "component",
939
+ "data",
940
+ "label"
941
+ ],
942
+ "type": "object"
943
+ }
944
+ ],
945
+ "type": "object",
946
+ "unevaluatedProperties": false,
947
+ "x-sentropic": {
948
+ "contract": "1.0",
949
+ "element": "st-bar-chart",
950
+ "engine": "core",
951
+ "events": [
952
+ "select"
953
+ ],
954
+ "example": {
955
+ "component": "BarChart",
956
+ "data": [
957
+ {
958
+ "label": "Q1",
959
+ "value": 12
960
+ },
961
+ {
962
+ "label": "Q2",
963
+ "value": 18
964
+ },
965
+ {
966
+ "label": "Q3",
967
+ "value": 9
968
+ }
969
+ ],
970
+ "dataLabels": true,
971
+ "id": "root",
972
+ "label": "Revenue (M€)",
973
+ "referenceLines": [
974
+ {
975
+ "label": "Target",
976
+ "value": 15
977
+ }
978
+ ]
979
+ },
980
+ "fallback": "svg",
981
+ "parity": {
982
+ "angular": {
983
+ "comparedProps": 17,
984
+ "file": "packages/components-angular/src/BarChart.ts",
985
+ "status": "match",
986
+ "type": "BarChartProps"
987
+ },
988
+ "react": {
989
+ "comparedProps": 17,
990
+ "file": "packages/components-react/src/BarChart.tsx",
991
+ "note": "Own members after subtracting React.HTMLAttributes<HTMLDivElement>; className is React's name for the class style hook.",
992
+ "status": "match",
993
+ "type": "BarChartProps"
994
+ },
995
+ "svelte": {
996
+ "file": "packages/components-svelte/src/lib/BarChart.svelte",
997
+ "note": "Reference pilot (§3.1); not mechanically generatable (Svelte file), mirrored here member for member.",
998
+ "status": "source-of-truth",
999
+ "type": "BarChartProps"
1000
+ },
1001
+ "vue": {
1002
+ "comparedProps": 17,
1003
+ "file": "packages/components-vue/src/BarChart.ts",
1004
+ "status": "match",
1005
+ "type": "BarChartProps"
1006
+ }
1007
+ },
1008
+ "schema": "https://design-system.sent-tech.ca/catalogs/elements/v1/components/BarChart.json"
1009
+ }
1010
+ },
1011
+ "BpmnCanvas": {
1012
+ "allOf": [
1013
+ {
1014
+ "$ref": "https://a2ui.org/specification/v0_9_1/common_types.json#/$defs/ComponentCommon"
1015
+ },
1016
+ {
1017
+ "$ref": "#/$defs/CatalogComponentCommon"
1018
+ },
1019
+ {
1020
+ "properties": {
1021
+ "accessibility": {
1022
+ "additionalProperties": false,
1023
+ "properties": {
1024
+ "description": {
1025
+ "type": "string"
1026
+ },
1027
+ "label": {
1028
+ "type": "string"
1029
+ }
1030
+ },
1031
+ "type": "object"
1032
+ },
1033
+ "component": {
1034
+ "const": "BpmnCanvas"
1035
+ },
1036
+ "document": {
1037
+ "additionalProperties": {},
1038
+ "description": "The F1 document to render: a structural envelope the engine's hydrate validates.",
1039
+ "properties": {
1040
+ "$type": {
1041
+ "description": "F1 type discriminator, e.g. \"bpmn:Definitions\".",
1042
+ "type": "string"
1043
+ }
1044
+ },
1045
+ "required": [
1046
+ "$type"
1047
+ ],
1048
+ "type": "object"
1049
+ }
1050
+ },
1051
+ "required": [
1052
+ "component",
1053
+ "document"
1054
+ ],
1055
+ "type": "object"
1056
+ }
1057
+ ],
1058
+ "type": "object",
1059
+ "unevaluatedProperties": false,
1060
+ "x-sentropic": {
1061
+ "contract": "1.0",
1062
+ "element": "st-bpmn-canvas",
1063
+ "engine": "lazy:bpmn-canvas",
1064
+ "events": [],
1065
+ "example": {
1066
+ "component": "BpmnCanvas",
1067
+ "document": {
1068
+ "$type": "bpmn:Definitions",
1069
+ "id": "definitions-1",
1070
+ "targetNamespace": "https://example.com/bpmn"
1071
+ },
1072
+ "id": "root"
1073
+ },
1074
+ "fallback": "svg",
1075
+ "parity": {
1076
+ "angular": {
1077
+ "file": "packages/components-angular",
1078
+ "note": "No counterpart in this framework package (§5.1: components with no framework counterpart record that fact).",
1079
+ "status": "no-counterpart"
1080
+ },
1081
+ "react": {
1082
+ "file": "packages/components-react",
1083
+ "note": "No counterpart in this framework package (§5.1: components with no framework counterpart record that fact).",
1084
+ "status": "no-counterpart"
1085
+ },
1086
+ "svelte": {
1087
+ "file": "packages/components-svelte",
1088
+ "note": "No counterpart in this framework package (§5.1: components with no framework counterpart record that fact).",
1089
+ "status": "no-counterpart"
1090
+ },
1091
+ "vue": {
1092
+ "file": "packages/components-vue",
1093
+ "note": "No counterpart in this framework package (§5.1: components with no framework counterpart record that fact).",
1094
+ "status": "no-counterpart"
1095
+ }
1096
+ },
1097
+ "schema": "https://design-system.sent-tech.ca/catalogs/elements/v1/components/BpmnCanvas.json",
1098
+ "semantic": {
1099
+ "runtimePackage": "@sentropic/bpmn-canvas",
1100
+ "source": "bpmn-canvas"
1101
+ }
1102
+ }
1103
+ },
1104
+ "DecisionDossier": {
1105
+ "allOf": [
1106
+ {
1107
+ "$ref": "https://a2ui.org/specification/v0_9_1/common_types.json#/$defs/ComponentCommon"
1108
+ },
1109
+ {
1110
+ "$ref": "#/$defs/CatalogComponentCommon"
1111
+ },
1112
+ {
1113
+ "properties": {
1114
+ "accessibility": {
1115
+ "additionalProperties": false,
1116
+ "properties": {
1117
+ "description": {
1118
+ "type": "string"
1119
+ },
1120
+ "label": {
1121
+ "type": "string"
1122
+ }
1123
+ },
1124
+ "type": "object"
1125
+ },
1126
+ "component": {
1127
+ "const": "DecisionDossier"
1128
+ },
1129
+ "document": {
1130
+ "$ref": "#/$defs/DecisionDossierDocument"
1131
+ }
1132
+ },
1133
+ "required": [
1134
+ "component",
1135
+ "document"
1136
+ ],
1137
+ "type": "object"
1138
+ }
1139
+ ],
1140
+ "type": "object",
1141
+ "unevaluatedProperties": false,
1142
+ "x-sentropic": {
1143
+ "contract": "1.0",
1144
+ "element": "st-decision-dossier",
1145
+ "engine": "lazy:focus",
1146
+ "events": [
1147
+ "choose-option"
1148
+ ],
1149
+ "example": {
1150
+ "component": "DecisionDossier",
1151
+ "document": {
1152
+ "amendmentTrace": [],
1153
+ "cursor": "2026-10-30T10:00:00Z",
1154
+ "hash": "b7d3f0c9",
1155
+ "interactions": [],
1156
+ "provenance": {
1157
+ "readAt": "2026-10-30T10:00:00Z",
1158
+ "source": "track"
1159
+ },
1160
+ "ref": "decision-1",
1161
+ "sections": [
1162
+ {
1163
+ "id": "q1",
1164
+ "kind": "question",
1165
+ "question": "Which rendering contract do we adopt?",
1166
+ "state": "open",
1167
+ "targetRef": "decision-1"
1168
+ },
1169
+ {
1170
+ "id": "options-1",
1171
+ "kind": "optionSet",
1172
+ "options": [
1173
+ {
1174
+ "annotation": "none",
1175
+ "id": "opt-json",
1176
+ "kind": "option",
1177
+ "label": "Adopt the JSON render standard",
1178
+ "targetRef": "q1"
1179
+ },
1180
+ {
1181
+ "annotation": "none",
1182
+ "id": "opt-status-quo",
1183
+ "kind": "option",
1184
+ "label": "Keep the status quo",
1185
+ "targetRef": "q1"
1186
+ }
1187
+ ],
1188
+ "targetRef": "q1",
1189
+ "title": "Options"
1190
+ }
1191
+ ],
1192
+ "subject": "Adopt the JSON render standard for design-system rendering",
1193
+ "title": "Decision: adopt the JSON render standard"
1194
+ },
1195
+ "id": "root"
1196
+ },
1197
+ "fallback": "text",
1198
+ "parity": {
1199
+ "angular": {
1200
+ "file": "packages/components-angular",
1201
+ "note": "No counterpart in this framework package (§5.1: components with no framework counterpart record that fact).",
1202
+ "status": "no-counterpart"
1203
+ },
1204
+ "react": {
1205
+ "file": "packages/components-react",
1206
+ "note": "No counterpart in this framework package (§5.1: components with no framework counterpart record that fact).",
1207
+ "status": "no-counterpart"
1208
+ },
1209
+ "svelte": {
1210
+ "file": "packages/components-svelte",
1211
+ "note": "No counterpart in this framework package (§5.1: components with no framework counterpart record that fact).",
1212
+ "status": "no-counterpart"
1213
+ },
1214
+ "vue": {
1215
+ "file": "packages/components-vue",
1216
+ "note": "No counterpart in this framework package (§5.1: components with no framework counterpart record that fact).",
1217
+ "status": "no-counterpart"
1218
+ }
1219
+ },
1220
+ "schema": "https://design-system.sent-tech.ca/catalogs/elements/v1/components/DecisionDossier.json",
1221
+ "semantic": {
1222
+ "runtimePackage": "@sentropic/focus@0.5.0",
1223
+ "schemaId": "urn:sentropic:focus:DecisionDossierDocument:1.0.0",
1224
+ "schemaSubpath": "schemas/decision-dossier-document.v1.schema.json",
1225
+ "sha256": "725bc07e7c6b6ad51a1f720cc9fb02649d8f31bc54e71c61c350fd20058c8852",
1226
+ "source": "focus"
1227
+ }
1228
+ }
1229
+ }
1230
+ },
1231
+ "description": "A2UI v0.9.1 basic catalogue of the Sentropic design system elements (JSON render standard, spec/SPEC_EVOL_DS_JSON_RENDER_STANDARD.md §5.2). Each component carries its x-sentropic contract version, element name, engine, events, fallback and standalone schema id; semantic documents are validated by their owning runtimes (§4.3).",
1232
+ "functions": {},
1233
+ "title": "Sentropic design system elements catalogue"
1234
+ }