@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.
- package/README.md +12 -0
- package/dist/agent/Accordion.md +1 -1
- package/dist/agent/Alert.md +1 -1
- package/dist/agent/AppShell.md +1 -1
- package/dist/agent/ArchitectureFigure.md +48 -0
- package/dist/agent/AreaChart.md +2 -2
- package/dist/agent/Article.md +1 -1
- package/dist/agent/Avatar.md +1 -1
- package/dist/agent/Badge.md +1 -1
- package/dist/agent/BarChart.md +2 -2
- package/dist/agent/BarList.md +2 -2
- package/dist/agent/BigNumber.md +2 -2
- package/dist/agent/BoxPlot.md +2 -2
- package/dist/agent/Breadcrumb.md +1 -1
- package/dist/agent/BulletChart.md +2 -2
- package/dist/agent/Button.md +1 -1
- package/dist/agent/Calendar.md +1 -1
- package/dist/agent/Card.md +1 -1
- package/dist/agent/Checkbox.md +1 -1
- package/dist/agent/Collapsible.md +1 -1
- package/dist/agent/Combobox.md +1 -1
- package/dist/agent/Command.md +1 -1
- package/dist/agent/ComposedChart.md +2 -2
- package/dist/agent/ContextMenu.md +1 -1
- package/dist/agent/DataflowFigure.md +27 -0
- package/dist/agent/DatePicker.md +1 -1
- package/dist/agent/Diagram.md +1 -1
- package/dist/agent/DiagramCanvas.md +47 -0
- package/dist/agent/DiagramExportMenu.md +38 -0
- package/dist/agent/DiagramInspector.md +50 -0
- package/dist/agent/DiagramLegend.md +34 -0
- package/dist/agent/DiagramMinimap.md +48 -0
- package/dist/agent/DiagramToolbar.md +47 -0
- package/dist/agent/Dialog.md +1 -1
- package/dist/agent/DropdownMenu.md +1 -1
- package/dist/agent/EmptyState.md +1 -1
- package/dist/agent/ErrorState.md +1 -1
- package/dist/agent/Facet.md +2 -2
- package/dist/agent/Field.md +1 -1
- package/dist/agent/FigureBand.md +1 -1
- package/dist/agent/FloatingIconButton.md +1 -1
- package/dist/agent/FunnelChart.md +2 -2
- package/dist/agent/Heatmap.md +2 -2
- package/dist/agent/Histogram.md +2 -2
- package/dist/agent/Input.md +1 -1
- package/dist/agent/Kbd.md +1 -1
- package/dist/agent/LifecycleFigure.md +28 -0
- package/dist/agent/LineChart.md +2 -2
- package/dist/agent/LinkArrow.md +1 -1
- package/dist/agent/NativeSelect.md +1 -1
- package/dist/agent/NavItem.md +1 -1
- package/dist/agent/Pagination.md +1 -1
- package/dist/agent/PieChart.md +2 -2
- package/dist/agent/Popover.md +1 -1
- package/dist/agent/Progress.md +1 -1
- package/dist/agent/RadarChart.md +2 -2
- package/dist/agent/RadialChart.md +2 -2
- package/dist/agent/RadioGroup.md +1 -1
- package/dist/agent/SankeyChart.md +2 -2
- package/dist/agent/ScatterChart.md +2 -2
- package/dist/agent/ScrollArea.md +1 -1
- package/dist/agent/SearchableMenu.md +1 -1
- package/dist/agent/Select.md +1 -1
- package/dist/agent/Separator.md +1 -1
- package/dist/agent/SequenceFigure.md +28 -0
- package/dist/agent/Sheet.md +1 -1
- package/dist/agent/Skeleton.md +1 -1
- package/dist/agent/Slider.md +1 -1
- package/dist/agent/Sparkline.md +2 -2
- package/dist/agent/Spinner.md +1 -1
- package/dist/agent/StatusDot.md +1 -1
- package/dist/agent/StatusPill.md +1 -1
- package/dist/agent/Steps.md +1 -1
- package/dist/agent/Switch.md +1 -1
- package/dist/agent/Table.md +1 -1
- package/dist/agent/Tabs.md +1 -1
- package/dist/agent/Tag.md +1 -1
- package/dist/agent/Textarea.md +1 -1
- package/dist/agent/Toast.md +1 -1
- package/dist/agent/ToggleGroup.md +1 -1
- package/dist/agent/Tooltip.md +1 -1
- package/dist/agent/TreemapChart.md +2 -2
- package/dist/agent/WaterfallChart.md +2 -2
- package/dist/agent/WorkflowFigure.md +28 -0
- package/dist/agent/catalog.json +295 -3
- package/dist/agent/index.md +15 -1
- package/dist/charts/index.d.ts +2 -1
- package/dist/charts/lib/export.d.ts +33 -43
- package/dist/charts/lib/export.js +16 -158
- package/dist/charts/lib/export.js.map +1 -1
- package/dist/diagrams/ArchitectureFigure/ArchitectureFigure.d.ts +49 -0
- package/dist/diagrams/ArchitectureFigure/ArchitectureFigure.js +135 -0
- package/dist/diagrams/ArchitectureFigure/ArchitectureFigure.js.map +1 -0
- package/dist/diagrams/DataflowFigure/DataflowFigure.d.ts +28 -0
- package/dist/diagrams/DataflowFigure/DataflowFigure.js +129 -0
- package/dist/diagrams/DataflowFigure/DataflowFigure.js.map +1 -0
- package/dist/diagrams/DiagramCanvas/DiagramCanvas.d.ts +64 -0
- package/dist/diagrams/DiagramCanvas/DiagramCanvas.js +222 -0
- package/dist/diagrams/DiagramCanvas/DiagramCanvas.js.map +1 -0
- package/dist/diagrams/DiagramExportMenu/DiagramExportMenu.d.ts +72 -0
- package/dist/diagrams/DiagramExportMenu/DiagramExportMenu.js +125 -0
- package/dist/diagrams/DiagramExportMenu/DiagramExportMenu.js.map +1 -0
- package/dist/diagrams/DiagramInspector/DiagramInspector.d.ts +70 -0
- package/dist/diagrams/DiagramInspector/DiagramInspector.js +94 -0
- package/dist/diagrams/DiagramInspector/DiagramInspector.js.map +1 -0
- package/dist/diagrams/DiagramLegend/DiagramLegend.d.ts +42 -0
- package/dist/diagrams/DiagramLegend/DiagramLegend.js +35 -0
- package/dist/diagrams/DiagramLegend/DiagramLegend.js.map +1 -0
- package/dist/diagrams/DiagramMinimap/DiagramMinimap.d.ts +61 -0
- package/dist/diagrams/DiagramMinimap/DiagramMinimap.js +79 -0
- package/dist/diagrams/DiagramMinimap/DiagramMinimap.js.map +1 -0
- package/dist/diagrams/DiagramToolbar/DiagramToolbar.d.ts +48 -0
- package/dist/diagrams/DiagramToolbar/DiagramToolbar.js +53 -0
- package/dist/diagrams/DiagramToolbar/DiagramToolbar.js.map +1 -0
- package/dist/diagrams/LifecycleFigure/LifecycleFigure.d.ts +31 -0
- package/dist/diagrams/LifecycleFigure/LifecycleFigure.js +202 -0
- package/dist/diagrams/LifecycleFigure/LifecycleFigure.js.map +1 -0
- package/dist/diagrams/SequenceFigure/SequenceFigure.d.ts +38 -0
- package/dist/diagrams/SequenceFigure/SequenceFigure.js +231 -0
- package/dist/diagrams/SequenceFigure/SequenceFigure.js.map +1 -0
- package/dist/diagrams/WorkflowFigure/WorkflowFigure.d.ts +34 -0
- package/dist/diagrams/WorkflowFigure/WorkflowFigure.js +211 -0
- package/dist/diagrams/WorkflowFigure/WorkflowFigure.js.map +1 -0
- package/dist/diagrams/index.d.ts +16 -0
- package/dist/diagrams/index.js +19 -0
- package/dist/diagrams/index.js.map +1 -0
- package/dist/diagrams/lib/frame.d.ts +97 -0
- package/dist/diagrams/lib/frame.js +116 -0
- package/dist/diagrams/lib/frame.js.map +1 -0
- package/dist/diagrams/lib/geometry.d.ts +114 -0
- package/dist/diagrams/lib/geometry.js +113 -0
- package/dist/diagrams/lib/geometry.js.map +1 -0
- package/dist/diagrams/lib/legend.d.ts +32 -0
- package/dist/diagrams/lib/legend.js +84 -0
- package/dist/diagrams/lib/legend.js.map +1 -0
- package/dist/diagrams/lib/marks.d.ts +207 -0
- package/dist/diagrams/lib/marks.js +480 -0
- package/dist/diagrams/lib/marks.js.map +1 -0
- package/dist/diagrams/lib/route.d.ts +85 -0
- package/dist/diagrams/lib/route.js +178 -0
- package/dist/diagrams/lib/route.js.map +1 -0
- package/dist/diagrams/lib/wires.d.ts +59 -0
- package/dist/diagrams/lib/wires.js +90 -0
- package/dist/diagrams/lib/wires.js.map +1 -0
- package/dist/diagrams/spec.d.ts +353 -0
- package/dist/diagrams/spec.js +1 -0
- package/dist/diagrams/spec.js.map +1 -0
- package/dist/lib/svg-export.d.ts +138 -0
- package/dist/lib/svg-export.js +198 -0
- package/dist/lib/svg-export.js.map +1 -0
- package/dist/semantic.css +34 -0
- package/dist/styles.css +1 -1
- package/dist/tokens.d.ts +16 -0
- package/dist/tokens.js +82 -0
- package/dist/tokens.json +82 -0
- package/package.json +5 -1
- package/skills/misoto22-design/SKILL.md +58 -6
package/dist/agent/EmptyState.md
CHANGED
package/dist/agent/ErrorState.md
CHANGED
package/dist/agent/Facet.md
CHANGED
|
@@ -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
|
+
- 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
|
|
package/dist/agent/Field.md
CHANGED
package/dist/agent/FigureBand.md
CHANGED
|
@@ -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
|
+
- 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
|
|
package/dist/agent/Heatmap.md
CHANGED
|
@@ -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
|
+
- 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
|
|
package/dist/agent/Histogram.md
CHANGED
|
@@ -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
|
+
- 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
|
|
package/dist/agent/Input.md
CHANGED
package/dist/agent/Kbd.md
CHANGED
|
@@ -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`.
|
package/dist/agent/LineChart.md
CHANGED
|
@@ -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
|
+
- 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
|
|
package/dist/agent/LinkArrow.md
CHANGED
package/dist/agent/NavItem.md
CHANGED
package/dist/agent/Pagination.md
CHANGED
package/dist/agent/PieChart.md
CHANGED
|
@@ -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
|
+
- 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
|
|
package/dist/agent/Popover.md
CHANGED
|
@@ -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.
|
|
7
|
+
- Version: 0.7.0
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/popover/
|
|
9
9
|
- Related: tooltip, dropdown-menu
|
|
10
10
|
|
package/dist/agent/Progress.md
CHANGED
package/dist/agent/RadarChart.md
CHANGED
|
@@ -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
|
+
- 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
|
+
- 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
|
|
package/dist/agent/RadioGroup.md
CHANGED
|
@@ -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
|
+
- 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
|
+
- 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
|
|
package/dist/agent/ScrollArea.md
CHANGED
|
@@ -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.
|
|
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.
|
|
7
|
+
- Version: 0.7.0
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/searchable-menu/
|
|
9
9
|
- Related: dropdown-menu, command, combobox
|
|
10
10
|
|
package/dist/agent/Select.md
CHANGED
package/dist/agent/Separator.md
CHANGED
|
@@ -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`.
|
package/dist/agent/Sheet.md
CHANGED
package/dist/agent/Skeleton.md
CHANGED
package/dist/agent/Slider.md
CHANGED
package/dist/agent/Sparkline.md
CHANGED
|
@@ -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
|
+
- 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
|
|
package/dist/agent/Spinner.md
CHANGED
package/dist/agent/StatusDot.md
CHANGED
package/dist/agent/StatusPill.md
CHANGED
|
@@ -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.
|
|
7
|
+
- Version: 0.7.0
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/status-pill/
|
|
9
9
|
- Related: status-dot, badge
|
|
10
10
|
|
package/dist/agent/Steps.md
CHANGED
|
@@ -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.
|
|
7
|
+
- Version: 0.7.0
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/steps/
|
|
9
9
|
- Related: diagram, article
|
|
10
10
|
|
package/dist/agent/Switch.md
CHANGED
package/dist/agent/Table.md
CHANGED
package/dist/agent/Tabs.md
CHANGED
package/dist/agent/Tag.md
CHANGED
package/dist/agent/Textarea.md
CHANGED
package/dist/agent/Toast.md
CHANGED
package/dist/agent/Tooltip.md
CHANGED
|
@@ -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
|
+
- 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
|
+
- 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`.
|