@slithy/modal-spring 0.1.3 → 0.1.5

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -10,10 +10,10 @@ Provides animated enter/leave transitions, an animated backdrop, and drag-to-clo
10
10
 
11
11
  ```bash
12
12
  pnpm add @slithy/modal-core @slithy/modal-kit @slithy/modal-spring
13
- pnpm add @react-spring/web @use-gesture/react
13
+ pnpm add "@react-spring/web@>=9 <10" @use-gesture/react
14
14
  ```
15
15
 
16
- `@react-spring/web` and `@use-gesture/react` are peer dependencies.
16
+ `@react-spring/web` (v9.x) and `@use-gesture/react` are peer dependencies. react-spring v10 is not yet supported.
17
17
 
18
18
  ---
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slithy/modal-spring",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "React Spring animation adapter for @slithy/modal-kit.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -16,12 +16,12 @@
16
16
  "*.css"
17
17
  ],
18
18
  "dependencies": {
19
- "@slithy/modal-core": "0.1.2",
20
- "@slithy/modal-kit": "0.1.3",
21
- "@slithy/utils": "0.3.0"
19
+ "@slithy/modal-kit": "0.1.4",
20
+ "@slithy/modal-core": "0.1.3",
21
+ "@slithy/utils": "0.3.1"
22
22
  },
23
23
  "peerDependencies": {
24
- "@react-spring/web": ">=9",
24
+ "@react-spring/web": ">=9 <10",
25
25
  "@use-gesture/react": ">=10",
26
26
  "react": "^17 || ^18 || ^19"
27
27
  },