@forgebook/story-format 0.1.0 → 0.1.3

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 CHANGED
@@ -5,7 +5,7 @@ over a framework, and the `StorySource` a package hands a catalogue. It has no d
5
5
  stories depend on it and never on the catalogue that shows them.
6
6
 
7
7
  **Requirements:** none: no dependencies, types and a few small helpers ·
8
- [MIT licence](https://github.com/Ensiria/forgebook/blob/develop/packages/story-format/LICENSE)
8
+ [MIT licence](https://github.com/ensiria/forgebook/blob/develop/packages/story-format/LICENSE)
9
9
 
10
10
  Most projects never install it themselves: `@forgebook/react` brings it, and its `Meta` and `Story` are this format
11
11
  typed for React. A library installs it to publish its stories for other catalogues:
@@ -36,4 +36,4 @@ An app's `forgebook.config.ts` then lists it: `sources: ["@acme/ui/stories"]`.
36
36
  | `@forgebook/story-format/clock` | The story clock a live story reads |
37
37
  | `@forgebook/story-format/testing-library` | `canvas` and `userEvent` in every `play`, once Testing Library is installed |
38
38
 
39
- More: [Forgebook's README](https://github.com/Ensiria/forgebook/blob/develop/packages/forgebook/README.md).
39
+ More: [Forgebook's README](https://github.com/ensiria/forgebook/blob/develop/packages/forgebook/README.md).
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * @remarks
6
6
  * A script, not a module (no top-level import or export), so the wildcard declaration is global; the catalogue's Vite
7
- * plugin answers each import with one module (D-438).
7
+ * plugin answers each import with one module.
8
8
  *
9
9
  * @module
10
10
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The story clock: the time a Live story reads, which the catalogue starts at a fixed moment and then runs, holds,
3
- * restarts and speeds up (D-504).
3
+ * restarts and speeds up.
4
4
  *
5
5
  * @remarks
6
6
  * A component that counts (a countdown, a stream, a toast's wait) never reads the time itself: it takes a clock from
@@ -8,7 +8,7 @@
8
8
  * or a play function; a framework's package gives components their own access (`useStoryClock()`, `useStoryNow()` in
9
9
  * `@forgebook/react/clock`). The catalogue
10
10
  * provides the clock; the library shown converts its milliseconds into its own time type, so this package names no
11
- * date library and the catalogue none of the libraries it shows (D-67).
11
+ * date library and the catalogue none of the libraries it shows.
12
12
  *
13
13
  * The clock is stepped: `now()` is the moment of its last tick, the same value until the next one, so a render reads
14
14
  * one moment throughout and a component can subscribe to it. A story that reads the clock declares
package/dist/src/csf.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * The story format: Component Story Format 3, the subset the Ensiria catalogue reads.
2
+ * The story format: Component Story Format 3, the subset Forgebook reads.
3
3
  *
4
4
  * @remarks
5
5
  * A story file exports its meta as the default export and each story as a named export, as CSF requires, so
6
- * Storybook or Ladle could read the same files (D-54). The types cover only what the catalogue reads; anything else
6
+ * Storybook or Ladle could read the same files. The types cover only what the catalogue reads; anything else
7
7
  * in a story file is left alone. The format is its own package so the packages that write stories depend on it, not
8
8
  * on the catalogue that shows them. Parameters the catalogue adds (`forceState`, `replay`) sit under `parameters`, where CSF
9
9
  * keeps tool-specific settings.
10
- * A Live story (`parameters.clock`) reads the story clock the catalogue runs (`./clock`, D-504).
10
+ * A Live story (`parameters.clock`) reads the story clock the catalogue runs (`./clock`).
11
11
  *
12
12
  * The types are generic over a renderer, as Storybook's are: what a framework's component is and what a render
13
13
  * returns. A framework's package names them for its own (`Meta<typeof Button>` in `@forgebook/react`), and story
@@ -115,13 +115,13 @@ export type StoryParameters = {
115
115
  /**
116
116
  * The height the story's scene needs, in CSS px: the frame has it from the start, so an overlay the story opens is
117
117
  * placed once, as in a window of that size, instead of flipping or scrolling in a frame only as tall as the story's
118
- * own content. The frame still grows past it with its content (D-469). Written plainly (`height: 320`, the index
118
+ * own content. The frame still grows past it with its content. Written plainly (`height: 320`, the index
119
119
  * reads it).
120
120
  */
121
121
  readonly height?: number;
122
122
  /**
123
123
  * The story reads the story clock (`context.clock`, `useStoryNow`): a Live story, which starts at this moment and
124
- * then runs; the catalogue shows pause, resume, restart and the speed, and the tests hold it at its start (D-504).
124
+ * then runs; the catalogue shows pause, resume, restart and the speed, and the tests hold it at its start.
125
125
  * None by default: the clock is held at the Unix epoch and the catalogue shows no clock controls.
126
126
  */
127
127
  readonly clock?: StoryClockSetting;
@@ -151,7 +151,7 @@ export type StoryContext<TArgs> = {
151
151
  readonly text: StoryTextFunction;
152
152
  /**
153
153
  * The story clock: the time a Live story reads, and what its play function advances instead of waiting; held at
154
- * the Unix epoch when the story declares no `parameters.clock` (D-504).
154
+ * the Unix epoch when the story declares no `parameters.clock`.
155
155
  */
156
156
  readonly clock: StoryClock;
157
157
  /**
@@ -237,17 +237,17 @@ export type CsfMeta<TRenderer extends Renderer, TComponent, TArgs, TWrittenArgs>
237
237
  * Other places the catalogue lists the component in, besides its title's, as `Family` or `Family/Group`
238
238
  * (`["Data/Tables"]`): a component that belongs to one family but is looked for in another. Each place shows an
239
239
  * entry marked as living elsewhere that opens the same page, so nothing is duplicated: no second story, test or
240
- * image (D-492). Written plainly, a list of string literals: the catalogue reads it without running the file.
240
+ * image. Written plainly, a list of string literals: the catalogue reads it without running the file.
241
241
  */
242
242
  readonly alsoIn?: readonly string[];
243
243
  /**
244
244
  * The titles of related components of the same source (`["Layout/Inline"]`): each page names the other at its top,
245
- * both ways, so writing the link in one meta is enough (D-492). Written plainly, a list of string literals.
245
+ * both ways, so writing the link in one meta is enough. Written plainly, a list of string literals.
246
246
  */
247
247
  readonly related?: readonly string[];
248
248
  /**
249
249
  * Other words the catalogue's search finds the component by, besides its name and title: the names other libraries
250
- * give it (`["horizontal", "row", "hstack"]` for `Inline`). Written plainly, a list of string literals (D-603).
250
+ * give it (`["horizontal", "row", "hstack"]` for `Inline`). Written plainly, a list of string literals.
251
251
  */
252
252
  readonly keywords?: readonly string[];
253
253
  /** Settings for every story of the file. */
package/dist/src/csf.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * The story format: Component Story Format 3, the subset the Ensiria catalogue reads.
2
+ * The story format: Component Story Format 3, the subset Forgebook reads.
3
3
  *
4
4
  * @remarks
5
5
  * A story file exports its meta as the default export and each story as a named export, as CSF requires, so
6
- * Storybook or Ladle could read the same files (D-54). The types cover only what the catalogue reads; anything else
6
+ * Storybook or Ladle could read the same files. The types cover only what the catalogue reads; anything else
7
7
  * in a story file is left alone. The format is its own package so the packages that write stories depend on it, not
8
8
  * on the catalogue that shows them. Parameters the catalogue adds (`forceState`, `replay`) sit under `parameters`, where CSF
9
9
  * keeps tool-specific settings.
10
- * A Live story (`parameters.clock`) reads the story clock the catalogue runs (`./clock`, D-504).
10
+ * A Live story (`parameters.clock`) reads the story clock the catalogue runs (`./clock`).
11
11
  *
12
12
  * The types are generic over a renderer, as Storybook's are: what a framework's component is and what a render
13
13
  * returns. A framework's package names them for its own (`Meta<typeof Button>` in `@forgebook/react`), and story
@@ -3,10 +3,10 @@
3
3
  *
4
4
  * @remarks
5
5
  * Every package with stories exports one `StorySource` from a development-only `./stories` subpath, never published;
6
- * an app lists the sources it shows (D-57). A source names its story files once per pattern, with an import the
6
+ * an app lists the sources it shows. A source names its story files once per pattern, with an import the
7
7
  * catalogue's Vite plugin answers (`import files from "../src/**\/*.stories.tsx?forgebook-files"`, typed by
8
8
  * `@forgebook/story-format/client`): one module with every file's index (read without running the files), and the loaders
9
- * of its stories, its component's docs and its code (D-438). The style sheets are the URLs the frame loads for each
9
+ * of its stories, its component's docs and its code. The style sheets are the URLs the frame loads for each
10
10
  * Styles setting.
11
11
  *
12
12
  * @module
@@ -24,7 +24,7 @@ export type StoryIndexEntry = {
24
24
  readonly controls?: StoryControlsSetting;
25
25
  /** The story's `parameters.group`, when it sets one. */
26
26
  readonly group?: StoryGroup;
27
- /** The story's own `parameters.height`, when it sets one, in CSS px (D-469). */
27
+ /** The story's own `parameters.height`, when it sets one, in CSS px. */
28
28
  readonly height?: number;
29
29
  /** Whether the story sets `parameters.main: true`: the component's demo. */
30
30
  readonly isMain?: boolean;
@@ -42,13 +42,13 @@ export type StoryFileIndex = {
42
42
  readonly title: string;
43
43
  /** The meta's `parameters.controls`, when it sets one: `[]` for `false`. */
44
44
  readonly controls?: StoryControlsSetting;
45
- /** The meta's `parameters.height`, when it sets one: every story's frame height, in CSS px (D-469). */
45
+ /** The meta's `parameters.height`, when it sets one: every story's frame height, in CSS px. */
46
46
  readonly height?: number;
47
- /** The meta's `alsoIn`, when it sets one: the other places the component is listed in (D-492). */
47
+ /** The meta's `alsoIn`, when it sets one: the other places the component is listed in. */
48
48
  readonly alsoIn?: readonly string[];
49
- /** The meta's `related`, when it sets one: the titles of the components its page names at its top (D-492). */
49
+ /** The meta's `related`, when it sets one: the titles of the components its page names at its top. */
50
50
  readonly related?: readonly string[];
51
- /** The meta's `keywords`, when it sets one: other words the search finds the component by (D-603). */
51
+ /** The meta's `keywords`, when it sets one: other words the search finds the component by. */
52
52
  readonly keywords?: readonly string[];
53
53
  /** The meta's `parameters.docs.description.component`, when written plainly. */
54
54
  readonly description?: string;
@@ -81,6 +81,11 @@ export type StoryLanguage = {
81
81
  * brackets) instead of a table of their own; `false` by default.
82
82
  */
83
83
  readonly isPseudo?: boolean;
84
+ /**
85
+ * `rtl` for a language read right to left (Arabic, Hebrew): picked, it draws the stories right to left, as a page in
86
+ * that language is; left to right by default.
87
+ */
88
+ readonly dir?: "rtl";
84
89
  };
85
90
  /** A story's `render` as written in its file. */
86
91
  export type StoryCode = {
@@ -107,6 +112,11 @@ export type StoryFiles = {
107
112
  readonly code: Readonly<Record<string, () => Promise<unknown>>>;
108
113
  /** Each file's component page: its Markdown documentation, beside the story file, as HTML (`{ none: true }` without). */
109
114
  readonly pages: Readonly<Record<string, () => Promise<unknown>>>;
115
+ /**
116
+ * The group's "Used in": for each of its components, the other components whose stories use it (`{ error }` when it
117
+ * cannot be read). None when the catalogue turned it off, or for files indexed before it existed.
118
+ */
119
+ readonly usage?: () => Promise<unknown>;
110
120
  };
111
121
  /**
112
122
  * The colour of the page a source's stories open on, by theme and contrast: the catalogue paints a story's box with it
@@ -1 +1 @@
1
- {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../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K,EAAE,SAAS,UAAU,EAAE,CAAC;IACtC,wBAAwB;IACxB,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IACnF;;;;OAIG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5E;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC;QAAE,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAA;KAAE,CAAC,CAAC;CACpE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgebook/story-format",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "The story format of Forgebook: the CSF 3 types a story file is written with, generic over a framework, the StorySource a package hands a catalogue, the texts inside the stories in the shown language, and the story clock a Live story reads. No dependency: a library's stories depend on their framework's package, never on the catalogue that shows them.",
5
5
  "keywords": [
6
6
  "stories",
@@ -11,7 +11,7 @@
11
11
  "author": "Jason Scoppetta",
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://github.com/Ensiria/forgebook.git",
14
+ "url": "git+https://github.com/ensiria/forgebook.git",
15
15
  "directory": "packages/story-format"
16
16
  },
17
17
  "type": "module",