@wise/art 2.27.2 → 2.28.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.
- package/README.md +18 -4
- package/package.json +4 -6
package/README.md
CHANGED
|
@@ -16,10 +16,24 @@ yarn add @wise/art
|
|
|
16
16
|
pnpm add @wise/art
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
This package
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
19
|
+
This package declares support for multiple major version of `@react-three/drei` and
|
|
20
|
+
`@react-three/fiber` dependencies to support both React 18 and 19. If
|
|
21
|
+
you are using React 18, your package manager will install
|
|
22
|
+
`@react-three/drei@9.122.0` and `@react-three/fiber@8.18.0`. If you are
|
|
23
|
+
using React 19, you might need to guide your package manager to resolve
|
|
24
|
+
to `@react-three/drei@10.7.7` and `@react-three/fiber@9.5.0` or higher
|
|
25
|
+
instead. For PNPM this can be achieved like so:
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"pnpm": {
|
|
30
|
+
"overrides": {
|
|
31
|
+
"@wise/art>@react-three/drei": "^10.7.7",
|
|
32
|
+
"@wise/art>@react-three/fiber": "^9.5.0",
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
23
37
|
|
|
24
38
|
## Add Styles
|
|
25
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/art",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React library for art elements in UI",
|
|
6
6
|
"homepage": "https://github.com/transferwise/web-art#readme",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@babel/runtime": "^7.28.4",
|
|
29
|
-
"@react-three/drei": "9.122.0",
|
|
30
|
-
"@react-three/fiber": "8.18.0",
|
|
29
|
+
"@react-three/drei": "9.122.0 || ^10.7.7",
|
|
30
|
+
"@react-three/fiber": "8.18.0 || ^9.5.0",
|
|
31
31
|
"@rive-app/react-webgl2": "^4.25.1",
|
|
32
32
|
"@types/three": "0.164.0",
|
|
33
33
|
"clsx": "^2.1.1",
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
"@types/jest": "^30.0.0",
|
|
54
54
|
"@types/jsdom": "^27.0.0",
|
|
55
55
|
"@types/react": "^18.3.23",
|
|
56
|
-
"@types/react-dom": "^18.3.7",
|
|
57
56
|
"@vitejs/plugin-react": "^5.1.2",
|
|
58
57
|
"@wise/eslint-config": "^13.3.0",
|
|
59
58
|
"babel-plugin-optimize-clsx": "^2.6.2",
|
|
@@ -84,8 +83,7 @@
|
|
|
84
83
|
},
|
|
85
84
|
"peerDependencies": {
|
|
86
85
|
"@transferwise/neptune-css": "^14.25.2",
|
|
87
|
-
"react": ">=18"
|
|
88
|
-
"react-dom": ">=18"
|
|
86
|
+
"react": ">=18"
|
|
89
87
|
},
|
|
90
88
|
"resolutions": {
|
|
91
89
|
"http-cache-semantics": "^4.1.1",
|