@iryanraushan/notchify 1.0.1 → 1.0.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.
- package/README.md +14 -4
- package/package.json +39 -8
package/README.md
CHANGED
|
@@ -3,10 +3,20 @@
|
|
|
3
3
|
A classic, macOS-style toast notification library for React and Next.js.
|
|
4
4
|
Dark & light mode ready. Fully themeable. Zero config to get started.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
<table>
|
|
7
|
+
<tr>
|
|
8
|
+
<th>Dark Mode</th>
|
|
9
|
+
<th>Light Mode</th>
|
|
10
|
+
</tr>
|
|
11
|
+
<tr>
|
|
12
|
+
<td>
|
|
13
|
+
<img src="https://github.com/user-attachments/assets/bde9d771-9958-4616-8c53-71b36e2cccf1" alt="Dark Mode" width="450" />
|
|
14
|
+
</td>
|
|
15
|
+
<td>
|
|
16
|
+
<img src="https://github.com/user-attachments/assets/291fa618-6eb2-4ede-8fc3-8d33302fa8eb" alt="Light Mode" width="450" />
|
|
17
|
+
</td>
|
|
18
|
+
</tr>
|
|
19
|
+
</table>
|
|
10
20
|
|
|
11
21
|
## Features
|
|
12
22
|
|
package/package.json
CHANGED
|
@@ -1,19 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iryanraushan/notchify",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "A
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "A classic toast notification library for React and Next.js",
|
|
5
|
+
"author": "Raushan Kumar",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
|
|
8
|
+
"homepage": "https://github.com/iryanraushan/notchify",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/iryanraushan/notchify.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/iryanraushan/notchify/issues"
|
|
15
|
+
},
|
|
16
|
+
|
|
5
17
|
"keywords": [
|
|
6
18
|
"toast",
|
|
7
19
|
"notification",
|
|
8
20
|
"react",
|
|
9
21
|
"nextjs",
|
|
10
|
-
"ui"
|
|
22
|
+
"ui",
|
|
23
|
+
"react-toast",
|
|
24
|
+
"toast-library",
|
|
25
|
+
"toast-notification",
|
|
26
|
+
"radix-ui",
|
|
27
|
+
"typescript",
|
|
28
|
+
"alert",
|
|
29
|
+
"snackbar",
|
|
30
|
+
"frontend",
|
|
31
|
+
"component-library"
|
|
11
32
|
],
|
|
12
|
-
|
|
13
|
-
"license": "MIT",
|
|
33
|
+
|
|
14
34
|
"main": "./dist/index.js",
|
|
15
35
|
"module": "./dist/index.mjs",
|
|
16
36
|
"types": "./dist/index.d.ts",
|
|
37
|
+
|
|
17
38
|
"exports": {
|
|
18
39
|
".": {
|
|
19
40
|
"types": "./dist/index.d.ts",
|
|
@@ -21,25 +42,31 @@
|
|
|
21
42
|
"require": "./dist/index.js"
|
|
22
43
|
}
|
|
23
44
|
},
|
|
45
|
+
|
|
24
46
|
"files": [
|
|
25
47
|
"dist"
|
|
26
48
|
],
|
|
49
|
+
|
|
27
50
|
"sideEffects": false,
|
|
51
|
+
|
|
28
52
|
"scripts": {
|
|
29
53
|
"build": "tsup",
|
|
30
54
|
"dev": "tsup --watch",
|
|
31
55
|
"prepublishOnly": "npm run build",
|
|
32
56
|
"preview": "vite"
|
|
33
57
|
},
|
|
58
|
+
|
|
34
59
|
"peerDependencies": {
|
|
35
|
-
"react": ">=
|
|
36
|
-
"react-dom": ">=
|
|
60
|
+
"react": ">=18",
|
|
61
|
+
"react-dom": ">=18"
|
|
37
62
|
},
|
|
63
|
+
|
|
38
64
|
"dependencies": {
|
|
39
65
|
"@radix-ui/react-toast": "^1.2.0",
|
|
40
66
|
"class-variance-authority": "^0.7.0",
|
|
41
67
|
"clsx": "^2.0.0"
|
|
42
68
|
},
|
|
69
|
+
|
|
43
70
|
"devDependencies": {
|
|
44
71
|
"@types/react": "^18",
|
|
45
72
|
"@types/react-dom": "^18",
|
|
@@ -47,5 +74,9 @@
|
|
|
47
74
|
"tsup": "^8.0.0",
|
|
48
75
|
"typescript": "^5",
|
|
49
76
|
"vite": "^8.0.16"
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
"engines": {
|
|
80
|
+
"node": ">=18"
|
|
50
81
|
}
|
|
51
|
-
}
|
|
82
|
+
}
|