@forgebook/react 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
@@ -3,7 +3,7 @@
3
3
  React for [Forgebook](https://www.npmjs.com/package/forgebook): the story types, the renderer the frame mounts a story
4
4
  with, and the adapter that reads a React component's props from its TypeScript types.
5
5
 
6
- **Requirements:** React 18.2 or 19 · `forgebook` · Vite 8 · [MIT licence](https://github.com/Ensiria/forgebook/blob/develop/packages/react/LICENSE)
6
+ **Requirements:** React 18.2 or 19 · `forgebook` · Vite 8 · [MIT licence](https://github.com/ensiria/forgebook/blob/develop/packages/react/LICENSE)
7
7
 
8
8
  ```sh
9
9
  npm install --save-dev forgebook @forgebook/react
@@ -38,4 +38,4 @@ export const Default: Story<typeof Badge> = { args: { label: "New" } };
38
38
  | `@forgebook/react/texts`, `@forgebook/react/clock` | A story's texts in the catalogue's language, and the story clock, as hooks |
39
39
 
40
40
  The rest of its exports are what the catalogue loads itself. Getting started, the catalogue's features and its
41
- commands: [Forgebook's README](https://github.com/Ensiria/forgebook/blob/develop/packages/forgebook/README.md).
41
+ commands: [Forgebook's README](https://github.com/ensiria/forgebook/blob/develop/packages/forgebook/README.md).
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The story clock for React components inside a story: the clock the catalogue runs, held at the Unix epoch outside a
3
- * catalogue (D-504).
3
+ * catalogue.
4
4
  *
5
5
  * @remarks
6
6
  * The clock itself is the format's (`@forgebook/story-format/clock`); this module is how a React component reads it.
package/dist/src/clock.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The story clock for React components inside a story: the clock the catalogue runs, held at the Unix epoch outside a
3
- * catalogue (D-504).
3
+ * catalogue.
4
4
  *
5
5
  * @remarks
6
6
  * The clock itself is the format's (`@forgebook/story-format/clock`); this module is how a React component reads it.
@@ -6,7 +6,7 @@
6
6
  * The format's types (`@forgebook/story-format/csf`) are generic over a framework; these name them for React, so a
7
7
  * meta writes `satisfies Meta<typeof Button>` and its stories' args are the component's props, a prop that takes a
8
8
  * text also as `storyText("key")`. Types only: a library that writes stories depends on this package, never on the
9
- * catalogue that shows them (D-438).
9
+ * catalogue that shows them.
10
10
  *
11
11
  * @module
12
12
  */
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@forgebook/react",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "Forgebook for React: the story types and hooks, the renderer the frame mounts a story with, and the adapter that reads a React component's props.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/Ensiria/forgebook.git",
8
+ "url": "git+https://github.com/ensiria/forgebook.git",
9
9
  "directory": "packages/react"
10
10
  },
11
11
  "type": "module",
@@ -53,12 +53,12 @@
53
53
  "dependencies": {
54
54
  "@vitejs/plugin-react": "6.1.2",
55
55
  "typescript-6": "npm:typescript@6.0.3",
56
- "@forgebook/story-format": "0.1.0"
56
+ "@forgebook/story-format": "0.1.2"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "react": "^18.2.0 || ^19.0.0",
60
60
  "react-dom": "^18.2.0 || ^19.0.0",
61
- "forgebook": "^0.1.0"
61
+ "forgebook": "^0.1.3"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/node": "24.19.2",
@@ -69,9 +69,9 @@
69
69
  "react-dom": "19.3.0",
70
70
  "vite": "8.3.5",
71
71
  "vitest": "5.0.5",
72
- "@forgebook/typescript-config": "0.0.0",
73
72
  "@forgebook/tools": "0.0.0",
74
- "forgebook": "0.1.0"
73
+ "@forgebook/typescript-config": "0.0.0",
74
+ "forgebook": "0.1.3"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public"