@misoto22/design 0.6.0 → 0.7.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 (157) hide show
  1. package/README.md +12 -0
  2. package/dist/agent/Accordion.md +1 -1
  3. package/dist/agent/Alert.md +1 -1
  4. package/dist/agent/AppShell.md +1 -1
  5. package/dist/agent/ArchitectureFigure.md +48 -0
  6. package/dist/agent/AreaChart.md +2 -2
  7. package/dist/agent/Article.md +1 -1
  8. package/dist/agent/Avatar.md +1 -1
  9. package/dist/agent/Badge.md +1 -1
  10. package/dist/agent/BarChart.md +2 -2
  11. package/dist/agent/BarList.md +2 -2
  12. package/dist/agent/BigNumber.md +2 -2
  13. package/dist/agent/BoxPlot.md +2 -2
  14. package/dist/agent/Breadcrumb.md +1 -1
  15. package/dist/agent/BulletChart.md +2 -2
  16. package/dist/agent/Button.md +1 -1
  17. package/dist/agent/Calendar.md +1 -1
  18. package/dist/agent/Card.md +1 -1
  19. package/dist/agent/Checkbox.md +1 -1
  20. package/dist/agent/Collapsible.md +1 -1
  21. package/dist/agent/Combobox.md +1 -1
  22. package/dist/agent/Command.md +1 -1
  23. package/dist/agent/ComposedChart.md +2 -2
  24. package/dist/agent/ContextMenu.md +1 -1
  25. package/dist/agent/DataflowFigure.md +27 -0
  26. package/dist/agent/DatePicker.md +1 -1
  27. package/dist/agent/Diagram.md +1 -1
  28. package/dist/agent/DiagramCanvas.md +47 -0
  29. package/dist/agent/DiagramExportMenu.md +38 -0
  30. package/dist/agent/DiagramInspector.md +50 -0
  31. package/dist/agent/DiagramLegend.md +34 -0
  32. package/dist/agent/DiagramMinimap.md +48 -0
  33. package/dist/agent/DiagramToolbar.md +47 -0
  34. package/dist/agent/Dialog.md +1 -1
  35. package/dist/agent/DropdownMenu.md +1 -1
  36. package/dist/agent/EmptyState.md +1 -1
  37. package/dist/agent/ErrorState.md +1 -1
  38. package/dist/agent/Facet.md +2 -2
  39. package/dist/agent/Field.md +1 -1
  40. package/dist/agent/FigureBand.md +1 -1
  41. package/dist/agent/FloatingIconButton.md +1 -1
  42. package/dist/agent/FunnelChart.md +2 -2
  43. package/dist/agent/Heatmap.md +2 -2
  44. package/dist/agent/Histogram.md +2 -2
  45. package/dist/agent/Input.md +1 -1
  46. package/dist/agent/Kbd.md +1 -1
  47. package/dist/agent/LifecycleFigure.md +28 -0
  48. package/dist/agent/LineChart.md +2 -2
  49. package/dist/agent/LinkArrow.md +1 -1
  50. package/dist/agent/NativeSelect.md +1 -1
  51. package/dist/agent/NavItem.md +1 -1
  52. package/dist/agent/Pagination.md +1 -1
  53. package/dist/agent/PieChart.md +2 -2
  54. package/dist/agent/Popover.md +1 -1
  55. package/dist/agent/Progress.md +1 -1
  56. package/dist/agent/RadarChart.md +2 -2
  57. package/dist/agent/RadialChart.md +2 -2
  58. package/dist/agent/RadioGroup.md +1 -1
  59. package/dist/agent/SankeyChart.md +2 -2
  60. package/dist/agent/ScatterChart.md +2 -2
  61. package/dist/agent/ScrollArea.md +1 -1
  62. package/dist/agent/SearchableMenu.md +1 -1
  63. package/dist/agent/Select.md +1 -1
  64. package/dist/agent/Separator.md +1 -1
  65. package/dist/agent/SequenceFigure.md +28 -0
  66. package/dist/agent/Sheet.md +1 -1
  67. package/dist/agent/Skeleton.md +1 -1
  68. package/dist/agent/Slider.md +1 -1
  69. package/dist/agent/Sparkline.md +2 -2
  70. package/dist/agent/Spinner.md +1 -1
  71. package/dist/agent/StatusDot.md +1 -1
  72. package/dist/agent/StatusPill.md +1 -1
  73. package/dist/agent/Steps.md +1 -1
  74. package/dist/agent/Switch.md +1 -1
  75. package/dist/agent/Table.md +1 -1
  76. package/dist/agent/Tabs.md +1 -1
  77. package/dist/agent/Tag.md +1 -1
  78. package/dist/agent/Textarea.md +1 -1
  79. package/dist/agent/Toast.md +1 -1
  80. package/dist/agent/ToggleGroup.md +1 -1
  81. package/dist/agent/Tooltip.md +1 -1
  82. package/dist/agent/TreemapChart.md +2 -2
  83. package/dist/agent/WaterfallChart.md +2 -2
  84. package/dist/agent/WorkflowFigure.md +28 -0
  85. package/dist/agent/catalog.json +295 -3
  86. package/dist/agent/index.md +15 -1
  87. package/dist/charts/index.d.ts +2 -1
  88. package/dist/charts/lib/export.d.ts +33 -43
  89. package/dist/charts/lib/export.js +16 -158
  90. package/dist/charts/lib/export.js.map +1 -1
  91. package/dist/diagrams/ArchitectureFigure/ArchitectureFigure.d.ts +49 -0
  92. package/dist/diagrams/ArchitectureFigure/ArchitectureFigure.js +135 -0
  93. package/dist/diagrams/ArchitectureFigure/ArchitectureFigure.js.map +1 -0
  94. package/dist/diagrams/DataflowFigure/DataflowFigure.d.ts +28 -0
  95. package/dist/diagrams/DataflowFigure/DataflowFigure.js +129 -0
  96. package/dist/diagrams/DataflowFigure/DataflowFigure.js.map +1 -0
  97. package/dist/diagrams/DiagramCanvas/DiagramCanvas.d.ts +64 -0
  98. package/dist/diagrams/DiagramCanvas/DiagramCanvas.js +222 -0
  99. package/dist/diagrams/DiagramCanvas/DiagramCanvas.js.map +1 -0
  100. package/dist/diagrams/DiagramExportMenu/DiagramExportMenu.d.ts +72 -0
  101. package/dist/diagrams/DiagramExportMenu/DiagramExportMenu.js +125 -0
  102. package/dist/diagrams/DiagramExportMenu/DiagramExportMenu.js.map +1 -0
  103. package/dist/diagrams/DiagramInspector/DiagramInspector.d.ts +70 -0
  104. package/dist/diagrams/DiagramInspector/DiagramInspector.js +94 -0
  105. package/dist/diagrams/DiagramInspector/DiagramInspector.js.map +1 -0
  106. package/dist/diagrams/DiagramLegend/DiagramLegend.d.ts +42 -0
  107. package/dist/diagrams/DiagramLegend/DiagramLegend.js +35 -0
  108. package/dist/diagrams/DiagramLegend/DiagramLegend.js.map +1 -0
  109. package/dist/diagrams/DiagramMinimap/DiagramMinimap.d.ts +61 -0
  110. package/dist/diagrams/DiagramMinimap/DiagramMinimap.js +79 -0
  111. package/dist/diagrams/DiagramMinimap/DiagramMinimap.js.map +1 -0
  112. package/dist/diagrams/DiagramToolbar/DiagramToolbar.d.ts +48 -0
  113. package/dist/diagrams/DiagramToolbar/DiagramToolbar.js +53 -0
  114. package/dist/diagrams/DiagramToolbar/DiagramToolbar.js.map +1 -0
  115. package/dist/diagrams/LifecycleFigure/LifecycleFigure.d.ts +31 -0
  116. package/dist/diagrams/LifecycleFigure/LifecycleFigure.js +202 -0
  117. package/dist/diagrams/LifecycleFigure/LifecycleFigure.js.map +1 -0
  118. package/dist/diagrams/SequenceFigure/SequenceFigure.d.ts +38 -0
  119. package/dist/diagrams/SequenceFigure/SequenceFigure.js +231 -0
  120. package/dist/diagrams/SequenceFigure/SequenceFigure.js.map +1 -0
  121. package/dist/diagrams/WorkflowFigure/WorkflowFigure.d.ts +34 -0
  122. package/dist/diagrams/WorkflowFigure/WorkflowFigure.js +211 -0
  123. package/dist/diagrams/WorkflowFigure/WorkflowFigure.js.map +1 -0
  124. package/dist/diagrams/index.d.ts +16 -0
  125. package/dist/diagrams/index.js +19 -0
  126. package/dist/diagrams/index.js.map +1 -0
  127. package/dist/diagrams/lib/frame.d.ts +97 -0
  128. package/dist/diagrams/lib/frame.js +116 -0
  129. package/dist/diagrams/lib/frame.js.map +1 -0
  130. package/dist/diagrams/lib/geometry.d.ts +114 -0
  131. package/dist/diagrams/lib/geometry.js +113 -0
  132. package/dist/diagrams/lib/geometry.js.map +1 -0
  133. package/dist/diagrams/lib/legend.d.ts +32 -0
  134. package/dist/diagrams/lib/legend.js +84 -0
  135. package/dist/diagrams/lib/legend.js.map +1 -0
  136. package/dist/diagrams/lib/marks.d.ts +207 -0
  137. package/dist/diagrams/lib/marks.js +480 -0
  138. package/dist/diagrams/lib/marks.js.map +1 -0
  139. package/dist/diagrams/lib/route.d.ts +85 -0
  140. package/dist/diagrams/lib/route.js +178 -0
  141. package/dist/diagrams/lib/route.js.map +1 -0
  142. package/dist/diagrams/lib/wires.d.ts +59 -0
  143. package/dist/diagrams/lib/wires.js +90 -0
  144. package/dist/diagrams/lib/wires.js.map +1 -0
  145. package/dist/diagrams/spec.d.ts +353 -0
  146. package/dist/diagrams/spec.js +1 -0
  147. package/dist/diagrams/spec.js.map +1 -0
  148. package/dist/lib/svg-export.d.ts +138 -0
  149. package/dist/lib/svg-export.js +198 -0
  150. package/dist/lib/svg-export.js.map +1 -0
  151. package/dist/semantic.css +34 -0
  152. package/dist/styles.css +1 -1
  153. package/dist/tokens.d.ts +16 -0
  154. package/dist/tokens.js +82 -0
  155. package/dist/tokens.json +82 -0
  156. package/package.json +5 -1
  157. package/skills/misoto22-design/SKILL.md +58 -6
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.6.0",
2
+ "version": "0.7.0",
3
3
  "groups": [
4
4
  "Actions",
5
5
  "Forms",
@@ -9,11 +9,13 @@
9
9
  "Display",
10
10
  "Surfaces",
11
11
  "Data",
12
- "Charts"
12
+ "Charts",
13
+ "Diagrams"
13
14
  ],
14
15
  "components": [
15
16
  {
16
17
  "slug": "button",
18
+ "entry": "@misoto22/design",
17
19
  "name": "Button",
18
20
  "group": "Actions",
19
21
  "summary": "The system’s action, on the same corner as the field beside it.",
@@ -45,6 +47,7 @@
45
47
  },
46
48
  {
47
49
  "slug": "floating-icon-button",
50
+ "entry": "@misoto22/design",
48
51
  "name": "FloatingIconButton",
49
52
  "group": "Actions",
50
53
  "summary": "A round action pinned to a screen corner.",
@@ -59,6 +62,7 @@
59
62
  },
60
63
  {
61
64
  "slug": "badge",
65
+ "entry": "@misoto22/design",
62
66
  "name": "Badge",
63
67
  "group": "Display",
64
68
  "summary": "A count or a state, set in mono so it reads as metadata.",
@@ -74,6 +78,7 @@
74
78
  },
75
79
  {
76
80
  "slug": "tag",
81
+ "entry": "@misoto22/design",
77
82
  "name": "Tag",
78
83
  "group": "Display",
79
84
  "summary": "A subject label — a topic, a technology, a filter facet.",
@@ -87,6 +92,7 @@
87
92
  },
88
93
  {
89
94
  "slug": "kbd",
95
+ "entry": "@misoto22/design",
90
96
  "name": "Kbd",
91
97
  "group": "Display",
92
98
  "summary": "A key on a keyboard, set as one.",
@@ -99,6 +105,7 @@
99
105
  },
100
106
  {
101
107
  "slug": "avatar",
108
+ "entry": "@misoto22/design",
102
109
  "name": "Avatar",
103
110
  "group": "Display",
104
111
  "summary": "A person, as a circle, with initials until the image lands.",
@@ -109,6 +116,7 @@
109
116
  },
110
117
  {
111
118
  "slug": "status-dot",
119
+ "entry": "@misoto22/design",
112
120
  "name": "StatusDot",
113
121
  "group": "Display",
114
122
  "summary": "The dot beside a status word.",
@@ -122,6 +130,7 @@
122
130
  },
123
131
  {
124
132
  "slug": "steps",
133
+ "entry": "@misoto22/design",
125
134
  "name": "Steps",
126
135
  "group": "Display",
127
136
  "summary": "A numbered sequence, as a rail — one thing after another, with a rule through them.",
@@ -138,6 +147,7 @@
138
147
  },
139
148
  {
140
149
  "slug": "status-pill",
150
+ "entry": "@misoto22/design",
141
151
  "name": "StatusPill",
142
152
  "group": "Display",
143
153
  "summary": "A live state, named: a dot plus an uppercase mono label.",
@@ -148,6 +158,7 @@
148
158
  },
149
159
  {
150
160
  "slug": "link-arrow",
161
+ "entry": "@misoto22/design",
151
162
  "name": "LinkArrow",
152
163
  "group": "Display",
153
164
  "summary": "The mark on a link that leaves the page.",
@@ -158,6 +169,7 @@
158
169
  },
159
170
  {
160
171
  "slug": "separator",
172
+ "entry": "@misoto22/design",
161
173
  "name": "Separator",
162
174
  "group": "Display",
163
175
  "summary": "A rule, in the three weights a monochrome page needs.",
@@ -168,6 +180,7 @@
168
180
  },
169
181
  {
170
182
  "slug": "diagram",
183
+ "entry": "@misoto22/design",
171
184
  "name": "Diagram",
172
185
  "group": "Display",
173
186
  "summary": "A flow or architecture figure, drawn out of the system’s own parts.",
@@ -184,6 +197,7 @@
184
197
  },
185
198
  {
186
199
  "slug": "figure-band",
200
+ "entry": "@misoto22/design",
187
201
  "name": "FigureBand",
188
202
  "group": "Display",
189
203
  "summary": "A row of counted facts, divided by hairlines and nothing else.",
@@ -196,6 +210,7 @@
196
210
  },
197
211
  {
198
212
  "slug": "spinner",
213
+ "entry": "@misoto22/design",
199
214
  "name": "Spinner",
200
215
  "group": "Feedback",
201
216
  "summary": "The one “working” indicator — a ring, never a shimmer.",
@@ -212,6 +227,7 @@
212
227
  },
213
228
  {
214
229
  "slug": "skeleton",
230
+ "entry": "@misoto22/design",
215
231
  "name": "Skeleton",
216
232
  "group": "Feedback",
217
233
  "summary": "The shape of the page, before the page.",
@@ -227,6 +243,7 @@
227
243
  },
228
244
  {
229
245
  "slug": "progress",
246
+ "entry": "@misoto22/design",
230
247
  "name": "Progress",
231
248
  "group": "Feedback",
232
249
  "summary": "A bar that fills, or sweeps when the end is unknown.",
@@ -240,6 +257,7 @@
240
257
  },
241
258
  {
242
259
  "slug": "alert",
260
+ "entry": "@misoto22/design",
243
261
  "name": "Alert",
244
262
  "group": "Feedback",
245
263
  "summary": "A message about the page, in place.",
@@ -255,6 +273,7 @@
255
273
  },
256
274
  {
257
275
  "slug": "empty-state",
276
+ "entry": "@misoto22/design",
258
277
  "name": "EmptyState",
259
278
  "group": "Feedback",
260
279
  "summary": "A collection with nothing in it — yet.",
@@ -266,6 +285,7 @@
266
285
  },
267
286
  {
268
287
  "slug": "error-state",
288
+ "entry": "@misoto22/design",
269
289
  "name": "ErrorState",
270
290
  "group": "Feedback",
271
291
  "summary": "A page that could not be shown.",
@@ -279,6 +299,7 @@
279
299
  },
280
300
  {
281
301
  "slug": "toast",
302
+ "entry": "@misoto22/design",
282
303
  "name": "Toast",
283
304
  "group": "Feedback",
284
305
  "summary": "A transient confirmation, mounted once near the app root.",
@@ -289,6 +310,7 @@
289
310
  },
290
311
  {
291
312
  "slug": "field",
313
+ "entry": "@misoto22/design",
292
314
  "name": "Field",
293
315
  "group": "Forms",
294
316
  "summary": "A labelled form row: label, control, and the one message below it.",
@@ -304,6 +326,7 @@
304
326
  },
305
327
  {
306
328
  "slug": "input",
329
+ "entry": "@misoto22/design",
307
330
  "name": "Input",
308
331
  "group": "Forms",
309
332
  "summary": "A single line of text entry.",
@@ -317,6 +340,7 @@
317
340
  },
318
341
  {
319
342
  "slug": "textarea",
343
+ "entry": "@misoto22/design",
320
344
  "name": "Textarea",
321
345
  "group": "Forms",
322
346
  "summary": "Multi-line text entry, resizable vertically only.",
@@ -327,6 +351,7 @@
327
351
  },
328
352
  {
329
353
  "slug": "select",
354
+ "entry": "@misoto22/design",
330
355
  "name": "Select",
331
356
  "group": "Forms",
332
357
  "summary": "A choice from a list, styled the whole way down.",
@@ -381,6 +406,7 @@
381
406
  },
382
407
  {
383
408
  "slug": "native-select",
409
+ "entry": "@misoto22/design",
384
410
  "name": "NativeSelect",
385
411
  "group": "Forms",
386
412
  "summary": "The platform’s own picker, restyled where it can be.",
@@ -411,6 +437,7 @@
411
437
  },
412
438
  {
413
439
  "slug": "checkbox",
440
+ "entry": "@misoto22/design",
414
441
  "name": "Checkbox",
415
442
  "group": "Forms",
416
443
  "summary": "A choice that takes effect when the form is submitted.",
@@ -433,6 +460,7 @@
433
460
  },
434
461
  {
435
462
  "slug": "radio-group",
463
+ "entry": "@misoto22/design",
436
464
  "name": "RadioGroup",
437
465
  "group": "Forms",
438
466
  "summary": "A set of mutually exclusive choices.",
@@ -464,6 +492,7 @@
464
492
  },
465
493
  {
466
494
  "slug": "switch",
495
+ "entry": "@misoto22/design",
467
496
  "name": "Switch",
468
497
  "group": "Forms",
469
498
  "summary": "A setting that takes effect immediately.",
@@ -483,6 +512,7 @@
483
512
  },
484
513
  {
485
514
  "slug": "dialog",
515
+ "entry": "@misoto22/design",
486
516
  "name": "Dialog",
487
517
  "group": "Overlays",
488
518
  "summary": "A modal surface: portal, scrim, centred panel.",
@@ -511,6 +541,7 @@
511
541
  },
512
542
  {
513
543
  "slug": "dropdown-menu",
544
+ "entry": "@misoto22/design",
514
545
  "name": "DropdownMenu",
515
546
  "group": "Overlays",
516
547
  "summary": "A menu of actions.",
@@ -555,6 +586,7 @@
555
586
  },
556
587
  {
557
588
  "slug": "tooltip",
589
+ "entry": "@misoto22/design",
558
590
  "name": "Tooltip",
559
591
  "group": "Overlays",
560
592
  "summary": "A short label on hover and on focus.",
@@ -584,6 +616,7 @@
584
616
  },
585
617
  {
586
618
  "slug": "tabs",
619
+ "entry": "@misoto22/design",
587
620
  "name": "Tabs",
588
621
  "group": "Navigation",
589
622
  "summary": "One strip, several panels.",
@@ -619,6 +652,7 @@
619
652
  },
620
653
  {
621
654
  "slug": "accordion",
655
+ "entry": "@misoto22/design",
622
656
  "name": "Accordion",
623
657
  "group": "Navigation",
624
658
  "summary": "Disclosure rows that open in place.",
@@ -644,6 +678,7 @@
644
678
  },
645
679
  {
646
680
  "slug": "breadcrumb",
681
+ "entry": "@misoto22/design",
647
682
  "name": "Breadcrumb",
648
683
  "group": "Navigation",
649
684
  "summary": "Where you are, as a path.",
@@ -657,6 +692,7 @@
657
692
  },
658
693
  {
659
694
  "slug": "pagination",
695
+ "entry": "@misoto22/design",
660
696
  "name": "Pagination",
661
697
  "group": "Navigation",
662
698
  "summary": "Numbered pages, with the middle elided.",
@@ -685,6 +721,7 @@
685
721
  },
686
722
  {
687
723
  "slug": "nav-item",
724
+ "entry": "@misoto22/design",
688
725
  "name": "NavItem",
689
726
  "group": "Navigation",
690
727
  "summary": "A row in a sidebar.",
@@ -697,6 +734,7 @@
697
734
  },
698
735
  {
699
736
  "slug": "article",
737
+ "entry": "@misoto22/design",
700
738
  "name": "Article",
701
739
  "group": "Surfaces",
702
740
  "summary": "The long-form reading surface — everything a Markdown pipeline emits, in this system’s type.",
@@ -713,6 +751,7 @@
713
751
  },
714
752
  {
715
753
  "slug": "card",
754
+ "entry": "@misoto22/design",
716
755
  "name": "Card",
717
756
  "group": "Surfaces",
718
757
  "summary": "A bounded surface, with no shadow under it.",
@@ -724,6 +763,7 @@
724
763
  },
725
764
  {
726
765
  "slug": "table",
766
+ "entry": "@misoto22/design",
727
767
  "name": "Table",
728
768
  "group": "Data",
729
769
  "summary": "A ruled data table — alignment, sorting and rules all per column.",
@@ -757,6 +797,7 @@
757
797
  },
758
798
  {
759
799
  "slug": "app-shell",
800
+ "entry": "@misoto22/design",
760
801
  "name": "AppShell",
761
802
  "group": "Surfaces",
762
803
  "summary": "Two columns on a desktop, a drawer on a phone.",
@@ -770,6 +811,7 @@
770
811
  },
771
812
  {
772
813
  "slug": "combobox",
814
+ "entry": "@misoto22/design",
773
815
  "name": "Combobox",
774
816
  "group": "Forms",
775
817
  "summary": "A select you can type into.",
@@ -814,6 +856,7 @@
814
856
  },
815
857
  {
816
858
  "slug": "date-picker",
859
+ "entry": "@misoto22/design",
817
860
  "name": "DatePicker",
818
861
  "group": "Forms",
819
862
  "summary": "A date — or a span of them — chosen from a calendar.",
@@ -846,6 +889,7 @@
846
889
  },
847
890
  {
848
891
  "slug": "slider",
892
+ "entry": "@misoto22/design",
849
893
  "name": "Slider",
850
894
  "group": "Forms",
851
895
  "summary": "A value chosen along a range.",
@@ -883,6 +927,7 @@
883
927
  },
884
928
  {
885
929
  "slug": "toggle-group",
930
+ "entry": "@misoto22/design",
886
931
  "name": "ToggleGroup",
887
932
  "group": "Forms",
888
933
  "summary": "A segmented control: several options, one strip.",
@@ -919,6 +964,7 @@
919
964
  },
920
965
  {
921
966
  "slug": "popover",
967
+ "entry": "@misoto22/design",
922
968
  "name": "Popover",
923
969
  "group": "Overlays",
924
970
  "summary": "A panel anchored to a control, holding content you can interact with.",
@@ -956,6 +1002,7 @@
956
1002
  },
957
1003
  {
958
1004
  "slug": "sheet",
1005
+ "entry": "@misoto22/design",
959
1006
  "name": "Sheet",
960
1007
  "group": "Overlays",
961
1008
  "summary": "A panel docked to an edge of the viewport.",
@@ -985,6 +1032,7 @@
985
1032
  },
986
1033
  {
987
1034
  "slug": "context-menu",
1035
+ "entry": "@misoto22/design",
988
1036
  "name": "ContextMenu",
989
1037
  "group": "Overlays",
990
1038
  "summary": "The menu a right-click opens.",
@@ -1017,6 +1065,7 @@
1017
1065
  },
1018
1066
  {
1019
1067
  "slug": "searchable-menu",
1068
+ "entry": "@misoto22/design",
1020
1069
  "name": "SearchableMenu",
1021
1070
  "group": "Overlays",
1022
1071
  "summary": "A menu of actions you can type into.",
@@ -1062,6 +1111,7 @@
1062
1111
  },
1063
1112
  {
1064
1113
  "slug": "command",
1114
+ "entry": "@misoto22/design",
1065
1115
  "name": "Command",
1066
1116
  "group": "Overlays",
1067
1117
  "summary": "A filterable list of actions — the ⌘K surface.",
@@ -1096,6 +1146,7 @@
1096
1146
  },
1097
1147
  {
1098
1148
  "slug": "collapsible",
1149
+ "entry": "@misoto22/design",
1099
1150
  "name": "Collapsible",
1100
1151
  "group": "Navigation",
1101
1152
  "summary": "One thing that opens, on its own.",
@@ -1115,6 +1166,7 @@
1115
1166
  },
1116
1167
  {
1117
1168
  "slug": "calendar",
1169
+ "entry": "@misoto22/design",
1118
1170
  "name": "Calendar",
1119
1171
  "group": "Surfaces",
1120
1172
  "summary": "A month, as a grid of days.",
@@ -1168,6 +1220,7 @@
1168
1220
  },
1169
1221
  {
1170
1222
  "slug": "scroll-area",
1223
+ "entry": "@misoto22/design",
1171
1224
  "name": "ScrollArea",
1172
1225
  "group": "Surfaces",
1173
1226
  "summary": "A box that scrolls, with a scrollbar that looks the same everywhere.",
@@ -1199,6 +1252,7 @@
1199
1252
  },
1200
1253
  {
1201
1254
  "slug": "heatmap",
1255
+ "entry": "@misoto22/design/charts",
1202
1256
  "name": "Heatmap",
1203
1257
  "group": "Data",
1204
1258
  "summary": "A grid of values read by weight.",
@@ -1216,6 +1270,7 @@
1216
1270
  },
1217
1271
  {
1218
1272
  "slug": "sparkline",
1273
+ "entry": "@misoto22/design/charts",
1219
1274
  "name": "Sparkline",
1220
1275
  "group": "Data",
1221
1276
  "summary": "A run of numbers at the size of a word.",
@@ -1233,6 +1288,7 @@
1233
1288
  },
1234
1289
  {
1235
1290
  "slug": "bar-list",
1291
+ "entry": "@misoto22/design/charts",
1236
1292
  "name": "BarList",
1237
1293
  "group": "Data",
1238
1294
  "summary": "A ranked list, with the bar behind the name rather than beside it.",
@@ -1249,6 +1305,7 @@
1249
1305
  },
1250
1306
  {
1251
1307
  "slug": "big-number",
1308
+ "entry": "@misoto22/design/charts",
1252
1309
  "name": "BigNumber",
1253
1310
  "group": "Data",
1254
1311
  "summary": "One number, at the size of a headline.",
@@ -1265,6 +1322,7 @@
1265
1322
  },
1266
1323
  {
1267
1324
  "slug": "bullet-chart",
1325
+ "entry": "@misoto22/design/charts",
1268
1326
  "name": "BulletChart",
1269
1327
  "group": "Data",
1270
1328
  "summary": "A measure, its target, and the bands that say whether it is any good.",
@@ -1282,6 +1340,7 @@
1282
1340
  },
1283
1341
  {
1284
1342
  "slug": "area-chart",
1343
+ "entry": "@misoto22/design/charts",
1285
1344
  "name": "AreaChart",
1286
1345
  "group": "Charts",
1287
1346
  "summary": "A filled series over a continuous axis, where the area means something.",
@@ -1315,6 +1374,7 @@
1315
1374
  },
1316
1375
  {
1317
1376
  "slug": "bar-chart",
1377
+ "entry": "@misoto22/design/charts",
1318
1378
  "name": "BarChart",
1319
1379
  "group": "Charts",
1320
1380
  "summary": "Discrete categories compared by length.",
@@ -1333,6 +1393,7 @@
1333
1393
  },
1334
1394
  {
1335
1395
  "slug": "line-chart",
1396
+ "entry": "@misoto22/design/charts",
1336
1397
  "name": "LineChart",
1337
1398
  "group": "Charts",
1338
1399
  "summary": "Several series compared over a continuous axis.",
@@ -1349,6 +1410,7 @@
1349
1410
  },
1350
1411
  {
1351
1412
  "slug": "composed-chart",
1413
+ "entry": "@misoto22/design/charts",
1352
1414
  "name": "ComposedChart",
1353
1415
  "group": "Charts",
1354
1416
  "summary": "Bars and lines over one axis — the volume, and the rate it moved at.",
@@ -1365,6 +1427,7 @@
1365
1427
  },
1366
1428
  {
1367
1429
  "slug": "pie-chart",
1430
+ "entry": "@misoto22/design/charts",
1368
1431
  "name": "PieChart",
1369
1432
  "group": "Charts",
1370
1433
  "summary": "Parts of one whole.",
@@ -1382,6 +1445,7 @@
1382
1445
  },
1383
1446
  {
1384
1447
  "slug": "radar-chart",
1448
+ "entry": "@misoto22/design/charts",
1385
1449
  "name": "RadarChart",
1386
1450
  "group": "Charts",
1387
1451
  "summary": "A profile across several named dimensions.",
@@ -1397,6 +1461,7 @@
1397
1461
  },
1398
1462
  {
1399
1463
  "slug": "radial-chart",
1464
+ "entry": "@misoto22/design/charts",
1400
1465
  "name": "RadialChart",
1401
1466
  "group": "Charts",
1402
1467
  "summary": "Values on an arc — a gauge, or a few totals against one scale.",
@@ -1413,6 +1478,7 @@
1413
1478
  },
1414
1479
  {
1415
1480
  "slug": "sankey-chart",
1481
+ "entry": "@misoto22/design/charts",
1416
1482
  "name": "SankeyChart",
1417
1483
  "group": "Charts",
1418
1484
  "summary": "Where a quantity goes as it moves through stages.",
@@ -1427,6 +1493,7 @@
1427
1493
  },
1428
1494
  {
1429
1495
  "slug": "scatter-chart",
1496
+ "entry": "@misoto22/design/charts",
1430
1497
  "name": "ScatterChart",
1431
1498
  "group": "Charts",
1432
1499
  "summary": "Two measures against each other, one mark per observation.",
@@ -1444,6 +1511,7 @@
1444
1511
  },
1445
1512
  {
1446
1513
  "slug": "funnel-chart",
1514
+ "entry": "@misoto22/design/charts",
1447
1515
  "name": "FunnelChart",
1448
1516
  "group": "Charts",
1449
1517
  "summary": "Stages that only ever narrow.",
@@ -1460,6 +1528,7 @@
1460
1528
  },
1461
1529
  {
1462
1530
  "slug": "treemap-chart",
1531
+ "entry": "@misoto22/design/charts",
1463
1532
  "name": "TreemapChart",
1464
1533
  "group": "Charts",
1465
1534
  "summary": "Part of a whole, when the whole has too many parts for a pie — and the parts nest.",
@@ -1476,6 +1545,7 @@
1476
1545
  },
1477
1546
  {
1478
1547
  "slug": "box-plot",
1548
+ "entry": "@misoto22/design/charts",
1479
1549
  "name": "BoxPlot",
1480
1550
  "group": "Charts",
1481
1551
  "summary": "The spread of a measurement, per category.",
@@ -1493,6 +1563,7 @@
1493
1563
  },
1494
1564
  {
1495
1565
  "slug": "histogram",
1566
+ "entry": "@misoto22/design/charts",
1496
1567
  "name": "Histogram",
1497
1568
  "group": "Charts",
1498
1569
  "summary": "The shape of one distribution.",
@@ -1510,6 +1581,7 @@
1510
1581
  },
1511
1582
  {
1512
1583
  "slug": "waterfall-chart",
1584
+ "entry": "@misoto22/design/charts",
1513
1585
  "name": "WaterfallChart",
1514
1586
  "group": "Charts",
1515
1587
  "summary": "How a total got from one figure to another.",
@@ -1527,6 +1599,7 @@
1527
1599
  },
1528
1600
  {
1529
1601
  "slug": "facet",
1602
+ "entry": "@misoto22/design/charts",
1530
1603
  "name": "Facet",
1531
1604
  "group": "Charts",
1532
1605
  "summary": "The same chart once per group, on one shared scale.",
@@ -1541,6 +1614,211 @@
1541
1614
  "line-chart",
1542
1615
  "sparkline"
1543
1616
  ]
1617
+ },
1618
+ {
1619
+ "slug": "architecture-figure",
1620
+ "entry": "@misoto22/design/diagrams",
1621
+ "name": "ArchitectureFigure",
1622
+ "group": "Diagrams",
1623
+ "summary": "A component map: services, datastores, trust boundaries, and what talks to what.",
1624
+ "when": "Reach for it when the question is \"what talks to what\". If the question is \"in what order\", that is a workflow or a sequence; if it is \"what is in this arrow\", that is a data flow.",
1625
+ "accessibility": [
1626
+ "The <svg> is role=\"img\" with a name, so a screen reader announces a picture instead of walking two hundred <text> nodes in drawing order.",
1627
+ "The diagram’s content is published beside it as an ordinary list — every node with its kind, every relationship as \"A → B: over HTTPS\". That list is where the meaning lives for anyone not looking at the picture.",
1628
+ "Passing onSelectNode turns that list into real buttons, which is the keyboard’s only route to a selection: the plates inside the picture are presentational by construction."
1629
+ ],
1630
+ "related": [
1631
+ "dataflow-figure",
1632
+ "diagram",
1633
+ "diagram-canvas"
1634
+ ]
1635
+ },
1636
+ {
1637
+ "slug": "workflow-figure",
1638
+ "entry": "@misoto22/design/diagrams",
1639
+ "name": "WorkflowFigure",
1640
+ "group": "Diagrams",
1641
+ "summary": "A process in lanes and phases, with the main path drawn heavier than its branches.",
1642
+ "when": "A runbook, an approval chain, a CI pipeline — anything with an owner per step. mainPath is what turns fourteen boxes into a diagram with a subject.",
1643
+ "accessibility": [
1644
+ "Same contract as every figure: a named picture, with its nodes and relationships published as text beside it.",
1645
+ "The exception lane is the one washed band in the system’s diagrams, and it is still labelled — the wash is not carrying the meaning on its own."
1646
+ ],
1647
+ "related": [
1648
+ "lifecycle-figure",
1649
+ "sequence-figure",
1650
+ "steps"
1651
+ ]
1652
+ },
1653
+ {
1654
+ "slug": "sequence-figure",
1655
+ "entry": "@misoto22/design/diagrams",
1656
+ "name": "SequenceFigure",
1657
+ "group": "Diagrams",
1658
+ "summary": "A call chain over time: who asks whom, in what order, and what comes back.",
1659
+ "when": "The only figure whose vertical axis means something. A message carries an explicit y, so two calls eight units apart happened together and two two hundred apart did not.",
1660
+ "accessibility": [
1661
+ "Return messages are dashed AND take an open arrowhead — two signals, because the reply is what a reader most often needs to pick out of a dense trace.",
1662
+ "The message list beside the picture reads in order, which is the same order the axis is drawn in."
1663
+ ],
1664
+ "related": [
1665
+ "workflow-figure",
1666
+ "architecture-figure"
1667
+ ]
1668
+ },
1669
+ {
1670
+ "slug": "dataflow-figure",
1671
+ "entry": "@misoto22/design/diagrams",
1672
+ "name": "DataflowFigure",
1673
+ "group": "Diagrams",
1674
+ "summary": "A pipeline: where data comes from, what happens to it, and who ends up with it.",
1675
+ "when": "Structurally close to an architecture map, read for a different question. classification gets its own chip because a governance reviewer is looking for exactly that.",
1676
+ "accessibility": [
1677
+ "A flow’s classification is folded into its summary line, so \"clickstream — PII touch\" reaches a reader who cannot see the chip."
1678
+ ],
1679
+ "related": [
1680
+ "architecture-figure",
1681
+ "lifecycle-figure"
1682
+ ]
1683
+ },
1684
+ {
1685
+ "slug": "lifecycle-figure",
1686
+ "entry": "@misoto22/design/diagrams",
1687
+ "name": "LifecycleFigure",
1688
+ "group": "Diagrams",
1689
+ "summary": "A state machine: what something can be, and what moves it between states.",
1690
+ "when": "The one figure that spends colour, and it spends exactly the two tokens the system reserves for state. Every other distinction is shape, so a greyscale print keeps six of the eight.",
1691
+ "accessibility": [
1692
+ "success and failure are the only coloured marks in the package’s diagrams, and each is also a distinct plate shape — colour is never the only carrier.",
1693
+ "The main rail is drawn between consecutive states in the first lane even when the specification does not list those transitions, because they are the diagram’s spine rather than its exceptions."
1694
+ ],
1695
+ "related": [
1696
+ "workflow-figure",
1697
+ "steps"
1698
+ ]
1699
+ },
1700
+ {
1701
+ "slug": "diagram-canvas",
1702
+ "entry": "@misoto22/design/diagrams",
1703
+ "name": "DiagramCanvas",
1704
+ "group": "Diagrams",
1705
+ "summary": "A frame that a picture larger than it can be panned and zoomed inside.",
1706
+ "when": "Any oversized figure — an SVG, an image, a table that will not fold. It knows nothing about nodes, which is what makes it reusable.",
1707
+ "accessibility": [
1708
+ "The frame is a real tab stop, so the keyboard controls can be pressed at all.",
1709
+ "A plain wheel scrolls the page. Zoom needs the platform modifier, so the canvas is never a scroll trap in the middle of an article."
1710
+ ],
1711
+ "keyboard": [
1712
+ {
1713
+ "keys": [
1714
+ "+",
1715
+ "="
1716
+ ],
1717
+ "does": "Zooms in about the centre of the frame."
1718
+ },
1719
+ {
1720
+ "keys": [
1721
+ "-"
1722
+ ],
1723
+ "does": "Zooms out."
1724
+ },
1725
+ {
1726
+ "keys": [
1727
+ "0"
1728
+ ],
1729
+ "does": "Resets the scale and the offset together."
1730
+ },
1731
+ {
1732
+ "keys": [
1733
+ "←",
1734
+ "→",
1735
+ "↑",
1736
+ "↓"
1737
+ ],
1738
+ "does": "Pans. Shift pans further per press."
1739
+ }
1740
+ ],
1741
+ "related": [
1742
+ "diagram-minimap",
1743
+ "architecture-figure",
1744
+ "scroll-area"
1745
+ ]
1746
+ },
1747
+ {
1748
+ "slug": "diagram-toolbar",
1749
+ "entry": "@misoto22/design/diagrams",
1750
+ "name": "DiagramToolbar",
1751
+ "group": "Diagrams",
1752
+ "summary": "A bar of actions belonging to the surface underneath them.",
1753
+ "when": "FloatingIconButton is one pinned action. This is the container for several, so they read as one object rather than as a scatter.",
1754
+ "accessibility": [
1755
+ "role=\"toolbar\" announces a toolbar rather than six unrelated buttons. It does not implement roving focus — Tab visits every control, which is honest for a bar of three."
1756
+ ],
1757
+ "related": [
1758
+ "floating-icon-button",
1759
+ "diagram-export-menu"
1760
+ ]
1761
+ },
1762
+ {
1763
+ "slug": "diagram-export-menu",
1764
+ "entry": "@misoto22/design/diagrams",
1765
+ "name": "DiagramExportMenu",
1766
+ "group": "Diagrams",
1767
+ "summary": "Taking the figure off the page: PNG, JPEG, WebP, SVG and a 1200×630 share card.",
1768
+ "when": "It does the export rather than emitting a format name, because the interesting half — baking custom properties into real colours before serialising — is the half a caller would not know to write.",
1769
+ "accessibility": [
1770
+ "A failed export is reported through onResult rather than swallowed: a click that quietly does nothing is indistinguishable from a broken button."
1771
+ ],
1772
+ "related": [
1773
+ "dropdown-menu",
1774
+ "diagram-toolbar"
1775
+ ]
1776
+ },
1777
+ {
1778
+ "slug": "diagram-inspector",
1779
+ "entry": "@misoto22/design/diagrams",
1780
+ "name": "DiagramInspector",
1781
+ "group": "Diagrams",
1782
+ "summary": "What the reader just picked, written out beside the picture.",
1783
+ "when": "A node holds about eight words before it stops being a node. Everything past those — the port, the owner, the six relationships — belongs here.",
1784
+ "accessibility": [
1785
+ "A labelled region with aria-live=\"polite\", not a dialog: the reader clicked a node, they did not open anything, so focus is never trapped or demanded.",
1786
+ "Relationships are real buttons when they carry onSelect, which is how the graph becomes walkable peer by peer from the keyboard."
1787
+ ],
1788
+ "related": [
1789
+ "card",
1790
+ "diagram-canvas"
1791
+ ]
1792
+ },
1793
+ {
1794
+ "slug": "diagram-minimap",
1795
+ "entry": "@misoto22/design/diagrams",
1796
+ "name": "DiagramMinimap",
1797
+ "group": "Diagrams",
1798
+ "summary": "Where you are in something bigger than the window.",
1799
+ "when": "Pairs with DiagramCanvas. The viewport rectangle is derived from the canvas’s own view, never stored — a map that disagrees with its territory is worse than none.",
1800
+ "accessibility": [
1801
+ "The miniature is aria-hidden. The figure it mirrors already publishes its own summary, and a second copy would read the whole diagram out twice."
1802
+ ],
1803
+ "related": [
1804
+ "diagram-canvas"
1805
+ ]
1806
+ },
1807
+ {
1808
+ "slug": "diagram-legend",
1809
+ "entry": "@misoto22/design/diagrams",
1810
+ "name": "DiagramLegend",
1811
+ "group": "Diagrams",
1812
+ "summary": "The key: which drawn form means which kind of thing.",
1813
+ "when": "Not optional furniture in a monochrome system. When a queue and a cache differ by a sigil rather than a colour, this is the only place a reader is told what the sigil means.",
1814
+ "accessibility": [
1815
+ "A list of pairs rather than a row of spans, so the count is part of what a screen reader says about it.",
1816
+ "kindLegend, variantLegend and stateLegend build the standard sets out of the renderers’ own drawing code, so the key can never drift from the figure."
1817
+ ],
1818
+ "related": [
1819
+ "architecture-figure",
1820
+ "lifecycle-figure"
1821
+ ]
1544
1822
  }
1545
1823
  ],
1546
1824
  "exports": {
@@ -1714,7 +1992,21 @@
1714
1992
  "TreemapExtras": "TreemapChart",
1715
1993
  "WaterfallChart": "WaterfallChart",
1716
1994
  "WaterfallStepType": "WaterfallChart",
1717
- "WaterfallDirection": "WaterfallChart"
1995
+ "WaterfallDirection": "WaterfallChart",
1996
+ "ArchitectureFigure": "ArchitectureFigure",
1997
+ "DataflowFigure": "DataflowFigure",
1998
+ "DiagramCanvas": "DiagramCanvas",
1999
+ "DiagramExportMenu": "DiagramExportMenu",
2000
+ "exportFigure": "DiagramExportMenu",
2001
+ "ExportFormat": "DiagramExportMenu",
2002
+ "DiagramInspector": "DiagramInspector",
2003
+ "DiagramLegend": "DiagramLegend",
2004
+ "DiagramMinimap": "DiagramMinimap",
2005
+ "DiagramToolbar": "DiagramToolbar",
2006
+ "DiagramToolbarGroup": "DiagramToolbar",
2007
+ "LifecycleFigure": "LifecycleFigure",
2008
+ "SequenceFigure": "SequenceFigure",
2009
+ "WorkflowFigure": "WorkflowFigure"
1718
2010
  },
1719
2011
  "themeAxes": [
1720
2012
  {