You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aed2403
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -230,6 +231,49 @@ import * as SwitcherStories from './user-button.stories';
230
231
- The `composition` array names each lower-layer component this one builds on, with a link to that component's page and its `layer`. List every direct dependency so the layering is navigable.
231
232
- The story is `meta` plus a single `Default` export that renders the composed UI with no knobs.
232
233
234
+
### C · flow — a view built from steps (`Authentication`)
235
+
236
+
A flow view shows one step at a time, so a single `Default` cannot show every screen. The page adds `Usage` and one section per step component after the composition. Required MDX section order:
-`Default` is a working example: plain props driven by a stand-in for the controller, so the whole flow can be clicked through.
274
+
- Under `## Steps`, each `###` is one component in the feature's `steps/` folder, and each `####` is one step value it draws. Each example is one story export, named for the step and the example (`IdentifierDefault`, `CredentialPasswordError`).
275
+
- A view the legacy component has and Mosaic does not yet gets its `####` and a `<Story>` naming the export it will have. Swingset renders a red "not found" box for a story the file does not export, which marks the gap on the page. Exporting the story turns the box into the example, with no MDX change.
276
+
233
277
## Writing the prose
234
278
235
279
- Keep the intro to one short, present-tense paragraph: what the thing is and what it's for. For primitives, say it is headless and ships no styles.
0 commit comments