your-toast 0.0.1

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/LICENSE ADDED
@@ -0,0 +1,11 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Masaud Ahmod
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software...
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
package/README.md ADDED
@@ -0,0 +1,87 @@
1
+ # your-toast 🍞
2
+
3
+ Modern toast notification library for React apps.
4
+
5
+ ✨ Clean API
6
+ 🎨 Glass UI (coming soon)
7
+ ⚡ Lightweight & fast
8
+
9
+ ---
10
+
11
+ ## 🚧 Status
12
+
13
+ This package is currently under development.
14
+ First stable version will be released soon.
15
+
16
+ ---
17
+
18
+ ## 📦 Install
19
+
20
+ ```bash
21
+ npm install your-toast
22
+ ```
23
+
24
+ ---
25
+
26
+ ## 🚀 Basic Usage
27
+
28
+ ```jsx
29
+ import { YourToastProvider, toast } from "your-toast";
30
+
31
+ export default function App() {
32
+ return (
33
+ <YourToastProvider>
34
+ <button onClick={() => toast("Hello from your-toast 🚀")}>
35
+ Show Toast
36
+ </button>
37
+ </YourToastProvider>
38
+ );
39
+ }
40
+ ```
41
+
42
+ ---
43
+
44
+ ## 🎯 Planned Features
45
+
46
+ * 🍏 Apple-style glass UI toast
47
+ * ⚡ Promise-based toast system
48
+ * 📦 Stack management
49
+ * 🎨 Multiple variants (minimal, glass, gradient)
50
+ * 🔁 Update & dismiss controls
51
+ * 🌙 Dark mode support
52
+
53
+ ---
54
+
55
+ ## 🧩 Example API (Upcoming)
56
+
57
+ ```js
58
+ toast.success("Saved successfully");
59
+
60
+ toast.error("Something went wrong");
61
+
62
+ toast.promise(fetchData(), {
63
+ loading: "Loading...",
64
+ success: "Done!",
65
+ error: "Error occurred"
66
+ });
67
+ ```
68
+
69
+ ---
70
+
71
+ ## 🛠 Developer Friendly
72
+
73
+ * Simple and predictable API
74
+ * Fully customizable
75
+ * Built for modern React apps
76
+
77
+ ---
78
+
79
+ ## 📄 License
80
+
81
+ MIT
82
+
83
+ ---
84
+
85
+ ## 👨‍💻 Author
86
+
87
+ Masaud Ahmod
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export const toast = () => {
2
+ console.log("your-toast coming soon 🚀");
3
+ };
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "your-toast",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "description": "Modern toast notification library for React (coming soon)",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.mjs",
8
+ "types": "dist/index.d.ts",
9
+ "files": ["dist"],
10
+ "sideEffects": false,
11
+ "keywords": [
12
+ "react",
13
+ "toast",
14
+ "notification",
15
+ "ui",
16
+ "toast-library"
17
+ ],
18
+ "author": "Masaud Ahmod",
19
+ "license": "MIT"
20
+ }