react-motion-modal 1.1.2 → 1.1.3

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 +1 -1
  2. package/package.json +14 -12
package/README.md CHANGED
@@ -19,7 +19,7 @@ npm install react-motion-modal
19
19
  or with yarn:
20
20
 
21
21
  ```bash
22
- yarn add react-motion-modal
22
+ yarn add react-motion-modal zustand
23
23
  ```
24
24
 
25
25
  ## 🚀 Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-motion-modal",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -31,8 +31,10 @@
31
31
  "access": "public"
32
32
  },
33
33
  "peerDependencies": {
34
- "react": "^18.3.1",
35
- "react-dom": "^18.3.1"
34
+ "react": ">=18.0,0",
35
+ "react-dom": ">=18.0.0",
36
+ "zustand": ">=5.0.0",
37
+ "motion": ">12.0.-"
36
38
  },
37
39
  "exports": {
38
40
  ".": {
@@ -48,19 +50,16 @@
48
50
  "deploy": "yarn build && yarn publish --access public"
49
51
  },
50
52
  "dependencies": {
51
- "@tailwindcss/vite": "^4.1.11",
52
53
  "clsx": "^2.1.1",
53
54
  "keyboardjs": "^2.7.0",
54
- "motion": "^12.23.12",
55
- "react": "^19.1.0",
56
- "react-dom": "^19.1.0",
57
55
  "tailwind-merge": "^3.3.1",
58
- "tailwindcss": "^4.1.11",
59
- "uuid": "^11.1.0",
60
- "vite-plugin-css-injected-by-js": "^3.5.2",
61
- "zustand": "^5.0.7"
56
+ "uuid": "^11.1.0"
62
57
  },
63
58
  "devDependencies": {
59
+ "motion": "^12.23.12",
60
+ "tailwindcss": "^4.1.11",
61
+ "@tailwindcss/vite": "^4.1.11",
62
+ "vite-plugin-css-injected-by-js": "^3.5.2",
64
63
  "@biomejs/biome": "2.1.1",
65
64
  "@types/keyboardjs": "^2.5.3",
66
65
  "@types/node": "^24.0.12",
@@ -75,7 +74,10 @@
75
74
  "typescript": "~5.8.3",
76
75
  "vite": "^7.0.3",
77
76
  "vite-plugin-dts": "^4.5.4",
78
- "vitest": "^3.2.4"
77
+ "vitest": "^3.2.4",
78
+ "react": "^19.1.0",
79
+ "react-dom": "^19.1.0",
80
+ "zustand": "^5.0.7"
79
81
  },
80
82
  "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
81
83
  }