@libraz/mejiro-react 0.8.0 → 0.9.1
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 -3
- package/dist/index.d.ts +521 -151
- package/dist/index.js +1973 -1443
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# @libraz/mejiro-react
|
|
2
2
|
|
|
3
|
-
[](https://github.com/libraz/mejiro/actions)
|
|
4
|
+
[](https://www.npmjs.com/package/@libraz/mejiro-react)
|
|
5
|
+
[](https://github.com/libraz/mejiro/blob/main/LICENSE)
|
|
6
|
+
[](https://www.npmjs.com/package/@libraz/mejiro)
|
|
5
7
|
|
|
6
|
-
React components and hooks for [mejiro](https://www.npmjs.com/package/@libraz/mejiro)
|
|
8
|
+
**React components and hooks for [mejiro](https://www.npmjs.com/package/@libraz/mejiro).** Render vertical text yourself with the hooks, or drop in the `MejiroReader` / `MejiroEditor` / `MejiroManuscriptEditor` components, with `MejiroShelf` and `MejiroToc` for library and table-of-contents screens.
|
|
7
9
|
|
|
8
10
|
## Install
|
|
9
11
|
|
|
@@ -51,8 +53,15 @@ npx degit libraz/mejiro/examples/react my-reader
|
|
|
51
53
|
npx degit libraz/mejiro/examples/react-shelf my-library
|
|
52
54
|
npx degit libraz/mejiro/examples/react-editor my-editor
|
|
53
55
|
npx degit libraz/mejiro/examples/react-manuscript my-author
|
|
56
|
+
npx degit libraz/mejiro/examples/react-embed my-embed
|
|
57
|
+
npx degit libraz/mejiro/examples/react-headless my-headless
|
|
54
58
|
```
|
|
55
59
|
|
|
60
|
+
Templates are workspace members, so the copied `package.json` still carries
|
|
61
|
+
`workspace:*` versions. Each starter's own `README.md` carries the exact
|
|
62
|
+
one-liner that rewrites them to the matching published release — run it before
|
|
63
|
+
`npm install`.
|
|
64
|
+
|
|
56
65
|
## Documentation
|
|
57
66
|
|
|
58
67
|
- [React / Vue guide](https://github.com/libraz/mejiro/tree/main/docs/en/08-react-and-vue.md) — components, hooks, props, theming, SSR
|