@libraz/mejiro-react 0.4.0 → 0.6.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.
Files changed (4) hide show
  1. package/README.md +34 -60
  2. package/dist/index.d.ts +1673 -38
  3. package/dist/index.js +3854 -37
  4. package/package.json +35 -8
package/package.json CHANGED
@@ -1,15 +1,29 @@
1
1
  {
2
2
  "name": "@libraz/mejiro-react",
3
- "version": "0.4.0",
4
- "description": "React components for mejiro vertical text rendering",
3
+ "version": "0.6.0",
4
+ "description": "React components and hooks for mejiro — vertical text rendering, EPUB reader, and editor",
5
5
  "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
6
8
  "license": "Apache-2.0",
7
9
  "author": "libraz",
8
10
  "repository": {
9
11
  "type": "git",
10
- "url": "https://github.com/libraz/mejiro.git",
12
+ "url": "git+https://github.com/libraz/mejiro.git",
11
13
  "directory": "packages/mejiro-react"
12
14
  },
15
+ "homepage": "https://github.com/libraz/mejiro",
16
+ "bugs": "https://github.com/libraz/mejiro/issues",
17
+ "keywords": [
18
+ "japanese",
19
+ "vertical-text",
20
+ "react",
21
+ "epub",
22
+ "reader",
23
+ "editor",
24
+ "ruby",
25
+ "writing-mode"
26
+ ],
13
27
  "exports": {
14
28
  ".": {
15
29
  "types": "./dist/index.d.ts",
@@ -21,7 +35,10 @@
21
35
  "LICENSE",
22
36
  "README.md"
23
37
  ],
24
- "sideEffects": false,
38
+ "sideEffects": [
39
+ "**/*.css",
40
+ "./dist/index.js"
41
+ ],
25
42
  "engines": {
26
43
  "node": ">=18"
27
44
  },
@@ -29,13 +46,23 @@
29
46
  "build": "tsup"
30
47
  },
31
48
  "dependencies": {
32
- "@libraz/mejiro": "^0.4.0"
49
+ "@libraz/mejiro": "^0.6.0"
33
50
  },
34
51
  "peerDependencies": {
52
+ "@types/react": ">=18",
35
53
  "react": ">=18"
36
54
  },
55
+ "peerDependenciesMeta": {
56
+ "@types/react": {
57
+ "optional": true
58
+ }
59
+ },
37
60
  "devDependencies": {
38
- "@types/react": "^19.0.0",
39
- "react": "^19.1.0"
61
+ "@testing-library/dom": "^10.4.1",
62
+ "@testing-library/react": "^16.3.2",
63
+ "@types/react": "^19.2.15",
64
+ "@types/react-dom": "^19.2.3",
65
+ "react": "^19.2.6",
66
+ "react-dom": "^19.2.6"
40
67
  }
41
- }
68
+ }