@qumra/fanar 0.0.4 → 0.0.6
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 +9 -3
- package/package.json +13 -6
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ system — each heavy group is behind its own path.
|
|
|
24
24
|
| `@qumra/fanar/tokens` | Token values (`TOKENS`, scales) | server-safe |
|
|
25
25
|
| `@qumra/fanar/notifications` | Notification system | client |
|
|
26
26
|
| `@qumra/fanar/ai` | Assistant surfaces | needs `@qumra/jawab-ai` |
|
|
27
|
-
| `@qumra/fanar/orb` | Animated voice orb | needs `three` |
|
|
27
|
+
| `@qumra/fanar/orb` | Animated voice orb | needs `three`, `@react-three/fiber`, `@react-three/drei` |
|
|
28
28
|
| `@qumra/fanar/editor` | Rich-text editor | bundles TipTap |
|
|
29
29
|
|
|
30
30
|
Plus two stylesheets: `@qumra/fanar/tokens.css` and
|
|
@@ -65,8 +65,14 @@ Every component in this library follows them, and two are enforced by lint:
|
|
|
65
65
|
## Peer dependencies
|
|
66
66
|
|
|
67
67
|
`react` and `react-dom` are required. `tailwindcss`, `three`,
|
|
68
|
-
`@google/model-viewer`, and
|
|
69
|
-
the ones whose entry
|
|
68
|
+
`@react-three/fiber`, `@react-three/drei`, `@google/model-viewer`, and
|
|
69
|
+
`@qumra/jawab-ai` are **optional** — you only install the ones whose entry
|
|
70
|
+
point you actually import.
|
|
71
|
+
|
|
72
|
+
This is not a formality. `@react-three/drei` pulls in `camera-controls`,
|
|
73
|
+
which requires Node 22; as a hard dependency it broke `yarn install` on a
|
|
74
|
+
Node 20 server for a consumer that never imported the orb. Heavy groups
|
|
75
|
+
belong to their entry point, and the manifest has to say so.
|
|
70
76
|
|
|
71
77
|
## Documentation
|
|
72
78
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qumra/fanar",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Qumra's Arabic-first component library and design tokens. Tailwind 4, RSC-safe.",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -59,6 +59,9 @@
|
|
|
59
59
|
"@changesets/cli": "^3.0.1",
|
|
60
60
|
"@eslint/js": "^10.0.1",
|
|
61
61
|
"@google/model-viewer": "^4.3.1",
|
|
62
|
+
"@qumra/jawab-ai": "link:../jawab-ai",
|
|
63
|
+
"@react-three/drei": "^10.0.0",
|
|
64
|
+
"@react-three/fiber": "^9.0.0",
|
|
62
65
|
"@size-limit/preset-small-lib": "^13.0.3",
|
|
63
66
|
"@testing-library/dom": "^10.4.1",
|
|
64
67
|
"@testing-library/jest-dom": "^7.0.1",
|
|
@@ -76,7 +79,6 @@
|
|
|
76
79
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
77
80
|
"globals": "^17.11.0",
|
|
78
81
|
"happy-dom": "^20.11.6",
|
|
79
|
-
"@qumra/jawab-ai": "link:../jawab-ai",
|
|
80
82
|
"prettier": "^3.9.6",
|
|
81
83
|
"react": "^19.2.8",
|
|
82
84
|
"react-dom": "^19.2.8",
|
|
@@ -88,8 +90,6 @@
|
|
|
88
90
|
"vitest": "^4.1.11"
|
|
89
91
|
},
|
|
90
92
|
"dependencies": {
|
|
91
|
-
"@react-three/drei": "^10.0.0",
|
|
92
|
-
"@react-three/fiber": "^9.0.0",
|
|
93
93
|
"@tiptap/core": "^3.0.9",
|
|
94
94
|
"@tiptap/extension-character-count": "^3.19.0",
|
|
95
95
|
"@tiptap/extension-color": "^3.0.9",
|
|
@@ -122,6 +122,8 @@
|
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"@google/model-viewer": ">=4.0.0",
|
|
124
124
|
"@qumra/jawab-ai": "^0.1.0",
|
|
125
|
+
"@react-three/drei": ">=10.0.0",
|
|
126
|
+
"@react-three/fiber": ">=9.0.0",
|
|
125
127
|
"@types/react": "^19.0.0",
|
|
126
128
|
"@types/react-dom": "^19.0.0",
|
|
127
129
|
"react": "^19.0.0",
|
|
@@ -136,6 +138,12 @@
|
|
|
136
138
|
"@qumra/jawab-ai": {
|
|
137
139
|
"optional": true
|
|
138
140
|
},
|
|
141
|
+
"@react-three/drei": {
|
|
142
|
+
"optional": true
|
|
143
|
+
},
|
|
144
|
+
"@react-three/fiber": {
|
|
145
|
+
"optional": true
|
|
146
|
+
},
|
|
139
147
|
"@types/react": {
|
|
140
148
|
"optional": true
|
|
141
149
|
},
|
|
@@ -150,8 +158,7 @@
|
|
|
150
158
|
}
|
|
151
159
|
},
|
|
152
160
|
"engines": {
|
|
153
|
-
"node": ">=
|
|
154
|
-
"pnpm": ">=11.0.0"
|
|
161
|
+
"node": ">=20.9.0"
|
|
155
162
|
},
|
|
156
163
|
"scripts": {
|
|
157
164
|
"verify": "node scripts/verify.mjs",
|