@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
@@ -4,7 +4,7 @@ A menu of actions.
4
4
 
5
5
  - Group: Overlays
6
6
  - Import: `import { DropdownMenu } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/dropdown-menu/
9
9
  - Related: dialog, select
10
10
 
@@ -4,7 +4,7 @@ A collection with nothing in it — yet.
4
4
 
5
5
  - Group: Feedback
6
6
  - Import: `import { EmptyState } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/empty-state/
9
9
  - Related: error-state, skeleton
10
10
 
@@ -4,7 +4,7 @@ A page that could not be shown.
4
4
 
5
5
  - Group: Feedback
6
6
  - Import: `import { ErrorState } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/error-state/
9
9
  - Related: empty-state, alert
10
10
 
@@ -3,8 +3,8 @@
3
3
  The same chart once per group, on one shared scale.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { Facet } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { Facet } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/facet/
9
9
  - Related: line-chart, sparkline
10
10
 
@@ -4,7 +4,7 @@ A labelled form row: label, control, and the one message below it.
4
4
 
5
5
  - Group: Forms
6
6
  - Import: `import { Field } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/field/
9
9
  - Related: input, select
10
10
 
@@ -4,7 +4,7 @@ A row of counted facts, divided by hairlines and nothing else.
4
4
 
5
5
  - Group: Display
6
6
  - Import: `import { FigureBand } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/figure-band/
9
9
  - Related: table
10
10
 
@@ -4,7 +4,7 @@ A round action pinned to a screen corner.
4
4
 
5
5
  - Group: Actions
6
6
  - Import: `import { FloatingIconButton } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/floating-icon-button/
9
9
  - Related: button
10
10
 
@@ -3,8 +3,8 @@
3
3
  Stages that only ever narrow.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { FunnelChart } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { FunnelChart } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/funnel-chart/
9
9
  - Related: sankey-chart, bar-chart
10
10
 
@@ -3,8 +3,8 @@
3
3
  A grid of values read by weight.
4
4
 
5
5
  - Group: Data
6
- - Import: `import { Heatmap } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { Heatmap } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/heatmap/
9
9
  - Related: table, scatter-chart
10
10
 
@@ -3,8 +3,8 @@
3
3
  The shape of one distribution.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { Histogram } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { Histogram } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/histogram/
9
9
  - Related: box-plot, bar-chart
10
10
 
@@ -4,7 +4,7 @@ A single line of text entry.
4
4
 
5
5
  - Group: Forms
6
6
  - Import: `import { Input } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/input/
9
9
  - Related: field, textarea
10
10
 
package/dist/agent/Kbd.md CHANGED
@@ -4,7 +4,7 @@ A key on a keyboard, set as one.
4
4
 
5
5
  - Group: Display
6
6
  - Import: `import { Kbd } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/kbd/
9
9
  - Related: badge
10
10
 
@@ -0,0 +1,28 @@
1
+ # LifecycleFigure
2
+
3
+ A state machine: what something can be, and what moves it between states.
4
+
5
+ - Group: Diagrams
6
+ - Import: `import { LifecycleFigure } from '@misoto22/design/diagrams'`
7
+ - Version: 0.7.0
8
+ - Docs: https://ui.misoto22.com/components/lifecycle-figure/
9
+ - Related: workflow-figure, steps
10
+
11
+ ## When to reach for it
12
+
13
+ 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.
14
+
15
+ ## Accessibility
16
+
17
+ - 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.
18
+ - 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.
19
+
20
+ ## LifecycleFigure
21
+
22
+ A state machine: what something can BE, and what moves it. The one figure here that spends colour, and it spends exactly the two tokens this system reserves for state: `--success` on a terminal success, `--danger` on a terminal failure. Nothing else in the package is allowed those two, and a lifecycle diagram is the case they were reserved for — the whole point of the picture is which end a run came out of. The other six kinds are carried by shape, so a greyscale print loses the two outcomes' hue and keeps every other distinction: a start is a filled cap, a decision is a diamond, a wait is a dashed frame, an external is a plate with a cut corner. A RECOVERABLE FAILURE IS A FAILURE WITH A WAY BACK. `type: "failure"` says how a state is drawn; a transition OUT of it is what says whether the run is over. A retryable error and a terminal one look identical until you follow the arrows, which is correct — the difference between them is a real edge in the machine, not an adjective on a box.
23
+
24
+ ### Props
25
+
26
+ - `spec` (required) — `LifecycleSpec`.
27
+
28
+ Also accepts: `FigureChrome`.
@@ -3,8 +3,8 @@
3
3
  Several series compared over a continuous axis.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { LineChart } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { LineChart } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/line-chart/
9
9
  - Related: area-chart, composed-chart
10
10
 
@@ -4,7 +4,7 @@ The mark on a link that leaves the page.
4
4
 
5
5
  - Group: Display
6
6
  - Import: `import { LinkArrow } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/link-arrow/
9
9
 
10
10
  ## Accessibility
@@ -4,7 +4,7 @@ The platform’s own picker, restyled where it can be.
4
4
 
5
5
  - Group: Forms
6
6
  - Import: `import { NativeSelect } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/native-select/
9
9
  - Related: select, field
10
10
 
@@ -4,7 +4,7 @@ A row in a sidebar.
4
4
 
5
5
  - Group: Navigation
6
6
  - Import: `import { NavItem } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/nav-item/
9
9
  - Related: app-shell
10
10
 
@@ -4,7 +4,7 @@ Numbered pages, with the middle elided.
4
4
 
5
5
  - Group: Navigation
6
6
  - Import: `import { Pagination } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/pagination/
9
9
  - Related: breadcrumb
10
10
 
@@ -3,8 +3,8 @@
3
3
  Parts of one whole.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { PieChart } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { PieChart } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/pie-chart/
9
9
  - Related: radial-chart, bar-chart
10
10
 
@@ -4,7 +4,7 @@ A panel anchored to a control, holding content you can interact with.
4
4
 
5
5
  - Group: Overlays
6
6
  - Import: `import { Popover } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/popover/
9
9
  - Related: tooltip, dropdown-menu
10
10
 
@@ -4,7 +4,7 @@ A bar that fills, or sweeps when the end is unknown.
4
4
 
5
5
  - Group: Feedback
6
6
  - Import: `import { Progress } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/progress/
9
9
  - Related: spinner
10
10
 
@@ -3,8 +3,8 @@
3
3
  A profile across several named dimensions.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { RadarChart } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { RadarChart } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/radar-chart/
9
9
  - Related: line-chart, pie-chart
10
10
 
@@ -3,8 +3,8 @@
3
3
  Values on an arc — a gauge, or a few totals against one scale.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { RadialChart } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { RadialChart } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/radial-chart/
9
9
  - Related: pie-chart, bar-chart
10
10
 
@@ -4,7 +4,7 @@ A set of mutually exclusive choices.
4
4
 
5
5
  - Group: Forms
6
6
  - Import: `import { RadioGroup } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/radio-group/
9
9
  - Related: checkbox, select
10
10
 
@@ -3,8 +3,8 @@
3
3
  Where a quantity goes as it moves through stages.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { SankeyChart } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { SankeyChart } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/sankey-chart/
9
9
  - Related: bar-chart
10
10
 
@@ -3,8 +3,8 @@
3
3
  Two measures against each other, one mark per observation.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { ScatterChart } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { ScatterChart } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/scatter-chart/
9
9
  - Related: line-chart, heatmap
10
10
 
@@ -4,7 +4,7 @@ A box that scrolls, with a scrollbar that looks the same everywhere.
4
4
 
5
5
  - Group: Surfaces
6
6
  - Import: `import { ScrollArea } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/scroll-area/
9
9
  - Related: table
10
10
 
@@ -4,7 +4,7 @@ A menu of actions you can type into.
4
4
 
5
5
  - Group: Overlays
6
6
  - Import: `import { SearchableMenu } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/searchable-menu/
9
9
  - Related: dropdown-menu, command, combobox
10
10
 
@@ -4,7 +4,7 @@ A choice from a list, styled the whole way down.
4
4
 
5
5
  - Group: Forms
6
6
  - Import: `import { Select } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/select/
9
9
  - Related: combobox, native-select, field
10
10
 
@@ -4,7 +4,7 @@ A rule, in the three weights a monochrome page needs.
4
4
 
5
5
  - Group: Display
6
6
  - Import: `import { Separator } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/separator/
9
9
 
10
10
  ## When to reach for it
@@ -0,0 +1,28 @@
1
+ # SequenceFigure
2
+
3
+ A call chain over time: who asks whom, in what order, and what comes back.
4
+
5
+ - Group: Diagrams
6
+ - Import: `import { SequenceFigure } from '@misoto22/design/diagrams'`
7
+ - Version: 0.7.0
8
+ - Docs: https://ui.misoto22.com/components/sequence-figure/
9
+ - Related: workflow-figure, architecture-figure
10
+
11
+ ## When to reach for it
12
+
13
+ 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.
14
+
15
+ ## Accessibility
16
+
17
+ - 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.
18
+ - The message list beside the picture reads in order, which is the same order the axis is drawn in.
19
+
20
+ ## SequenceFigure
21
+
22
+ A call chain over time: who asks whom, in what order, and what comes back. The one diagram type here whose vertical axis MEANS something. Every other figure's y is layout; a sequence's y is time, which is why a message carries an explicit `y` rather than an index — two calls 8 units apart happened together, and two 200 apart did not, and an evenly spaced list of messages would erase that distinction while looking tidier. **Lifelines** are hairlines, not solid rules, because they are the axis rather than the content. A lifeline drawn at the weight of a message is a diagram where seven vertical lines compete with twelve horizontal ones. **Activation bars** say who is BUSY, which is the fact a sequence diagram carries that a list of calls does not — the third participant's bar overlapping the second's is the reason to draw them at all. **Segments** band the axis into phases — request, fallback, response — printed as a rule with a mono caption rather than as a tinted panel, for the same reason architecture boundaries are: a second ground inside the figure would sit under every message label's mask. A `return` message is dashed AND takes an open arrowhead. Two signals rather than one, because the reply is the thing a reader most often needs to pick out of a dense trace, and a dash alone is doing the same work as `dashed` already does for an asynchronous call.
23
+
24
+ ### Props
25
+
26
+ - `spec` (required) — `SequenceSpec`.
27
+
28
+ Also accepts: `FigureChrome`.
@@ -4,7 +4,7 @@ A panel docked to an edge of the viewport.
4
4
 
5
5
  - Group: Overlays
6
6
  - Import: `import { Sheet } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/sheet/
9
9
  - Related: dialog, popover
10
10
 
@@ -4,7 +4,7 @@ The shape of the page, before the page.
4
4
 
5
5
  - Group: Feedback
6
6
  - Import: `import { Skeleton } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/skeleton/
9
9
  - Related: spinner, empty-state
10
10
 
@@ -4,7 +4,7 @@ A value chosen along a range.
4
4
 
5
5
  - Group: Forms
6
6
  - Import: `import { Slider } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/slider/
9
9
  - Related: progress
10
10
 
@@ -3,8 +3,8 @@
3
3
  A run of numbers at the size of a word.
4
4
 
5
5
  - Group: Data
6
- - Import: `import { Sparkline } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { Sparkline } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/sparkline/
9
9
  - Related: line-chart, table
10
10
 
@@ -4,7 +4,7 @@ The one “working” indicator — a ring, never a shimmer.
4
4
 
5
5
  - Group: Feedback
6
6
  - Import: `import { Spinner } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/spinner/
9
9
  - Related: skeleton, progress
10
10
 
@@ -4,7 +4,7 @@ The dot beside a status word.
4
4
 
5
5
  - Group: Display
6
6
  - Import: `import { StatusDot } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/status-dot/
9
9
  - Related: status-pill
10
10
 
@@ -4,7 +4,7 @@ A live state, named: a dot plus an uppercase mono label.
4
4
 
5
5
  - Group: Display
6
6
  - Import: `import { StatusPill } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/status-pill/
9
9
  - Related: status-dot, badge
10
10
 
@@ -4,7 +4,7 @@ A numbered sequence, as a rail — one thing after another, with a rule through
4
4
 
5
5
  - Group: Display
6
6
  - Import: `import { Steps } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/steps/
9
9
  - Related: diagram, article
10
10
 
@@ -4,7 +4,7 @@ A setting that takes effect immediately.
4
4
 
5
5
  - Group: Forms
6
6
  - Import: `import { Switch } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/switch/
9
9
  - Related: checkbox
10
10
 
@@ -4,7 +4,7 @@ A ruled data table — alignment, sorting and rules all per column.
4
4
 
5
5
  - Group: Data
6
6
  - Import: `import { Table } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/table/
9
9
  - Related: card, figure-band
10
10
 
@@ -4,7 +4,7 @@ One strip, several panels.
4
4
 
5
5
  - Group: Navigation
6
6
  - Import: `import { Tabs } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/tabs/
9
9
  - Related: accordion
10
10
 
package/dist/agent/Tag.md CHANGED
@@ -4,7 +4,7 @@ A subject label — a topic, a technology, a filter facet.
4
4
 
5
5
  - Group: Display
6
6
  - Import: `import { Tag } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/tag/
9
9
  - Related: badge
10
10
 
@@ -4,7 +4,7 @@ Multi-line text entry, resizable vertically only.
4
4
 
5
5
  - Group: Forms
6
6
  - Import: `import { Textarea } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/textarea/
9
9
  - Related: input, field
10
10
 
@@ -4,7 +4,7 @@ A transient confirmation, mounted once near the app root.
4
4
 
5
5
  - Group: Feedback
6
6
  - Import: `import { Toast } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/toast/
9
9
  - Related: alert
10
10
 
@@ -4,7 +4,7 @@ A segmented control: several options, one strip.
4
4
 
5
5
  - Group: Forms
6
6
  - Import: `import { ToggleGroup } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/toggle-group/
9
9
  - Related: tabs, radio-group
10
10
 
@@ -4,7 +4,7 @@ A short label on hover and on focus.
4
4
 
5
5
  - Group: Overlays
6
6
  - Import: `import { Tooltip } from '@misoto22/design'`
7
- - Version: 0.6.0
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/tooltip/
9
9
  - Related: dialog
10
10
 
@@ -3,8 +3,8 @@
3
3
  Part of a whole, when the whole has too many parts for a pie — and the parts nest.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { TreemapChart } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { TreemapChart } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/treemap-chart/
9
9
  - Related: pie-chart, bar-chart
10
10
 
@@ -3,8 +3,8 @@
3
3
  How a total got from one figure to another.
4
4
 
5
5
  - Group: Charts
6
- - Import: `import { WaterfallChart } from '@misoto22/design'`
7
- - Version: 0.6.0
6
+ - Import: `import { WaterfallChart } from '@misoto22/design/charts'`
7
+ - Version: 0.7.0
8
8
  - Docs: https://ui.misoto22.com/components/waterfall-chart/
9
9
  - Related: bar-chart, funnel-chart
10
10
 
@@ -0,0 +1,28 @@
1
+ # WorkflowFigure
2
+
3
+ A process in lanes and phases, with the main path drawn heavier than its branches.
4
+
5
+ - Group: Diagrams
6
+ - Import: `import { WorkflowFigure } from '@misoto22/design/diagrams'`
7
+ - Version: 0.7.0
8
+ - Docs: https://ui.misoto22.com/components/workflow-figure/
9
+ - Related: lifecycle-figure, sequence-figure, steps
10
+
11
+ ## When to reach for it
12
+
13
+ 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.
14
+
15
+ ## Accessibility
16
+
17
+ - Same contract as every figure: a named picture, with its nodes and relationships published as text beside it.
18
+ - 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.
19
+
20
+ ## WorkflowFigure
21
+
22
+ A process: who does what, in what order, and where it can go wrong. Three structures stacked on one grid, and they are three because they answer three different questions a reader brings to a runbook. **Lanes** are rows and answer WHO. A lane marked `exception` is the one band that gets a wash rather than a rule, and it earns the exception to the frames-are-rules law because nothing routes across it — it IS the ground for the failure path, not a frame drawn over the happy one. **Phases** are columns across every lane and answer WHEN. Printed as captions on one header rule, because a phase is an axis label. **Groups** are frames inside a single lane and answer WHAT BELONGS TOGETHER — a planning loop, an evidence path. THE MAIN PATH IS HEAVIER, and that is the whole hierarchy. `mainPath` lists the node ids a reader should be able to follow without thinking. Every edge between two consecutive ids on it is drawn at the emphasis weight whatever its own variant says, which is the one thing that turns fourteen boxes and nineteen arrows into a diagram with a subject. An `error` role goes the other way — dashed and soft — so the exception path recedes without disappearing.
23
+
24
+ ### Props
25
+
26
+ - `spec` (required) — `WorkflowSpec`.
27
+
28
+ Also accepts: `FigureChrome`.