@editora/toast 2.0.3 → 2.0.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 (3) hide show
  1. package/CHANGELOG.md +23 -12
  2. package/README.md +6 -1
  3. package/package.json +11 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 2.0.5 (2026-03-08)
7
+
8
+ **Note:** Version bump only for package @editora/toast
9
+
10
+ ## 2.0.4 (2026-03-05)
11
+
12
+ **Note:** Version bump only for package @editora/toast
13
+
6
14
  ## 2.0.0 (2026-02-14)
7
15
 
8
16
  ### 🎉 Major Upgrade: Advanced Notification System
@@ -12,28 +20,31 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
12
20
  #### ✨ New Features
13
21
 
14
22
  - **Promise Lifecycle Toasts**: Automatic state transitions for async operations
23
+
15
24
  ```typescript
16
25
  toast.promise(uploadFile(), {
17
- loading: 'Uploading...',
18
- success: 'Uploaded!',
19
- error: 'Failed'
26
+ loading: "Uploading...",
27
+ success: "Uploaded!",
28
+ error: "Failed",
20
29
  });
21
30
  ```
22
31
 
23
32
  - **Rich Content Support**: HTML, icons, actions, and progress bars
33
+
24
34
  ```typescript
25
35
  toast.show({
26
- message: 'File uploaded',
27
- icon: '✓',
28
- actions: [{ label: 'View', onClick: () => {} }],
29
- progress: { value: 75 }
36
+ message: "File uploaded",
37
+ icon: "✓",
38
+ actions: [{ label: "View", onClick: () => {} }],
39
+ progress: { value: 75 },
30
40
  });
31
41
  ```
32
42
 
33
43
  - **Toast Updates**: Modify existing toasts dynamically
44
+
34
45
  ```typescript
35
- const toast = toast.loading('Saving...');
36
- toast.update(toast.id, { message: 'Saved!', level: 'success' });
46
+ const toast = toast.loading("Saving...");
47
+ toast.update(toast.id, { message: "Saved!", level: "success" });
37
48
  ```
38
49
 
39
50
  - **Multiple Positions**: Support for all screen corners and center
@@ -89,14 +100,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
89
100
 
90
101
  ```typescript
91
102
  toast.configure({
92
- position: 'top-right',
103
+ position: "top-right",
93
104
  duration: 5000,
94
105
  maxVisible: 5,
95
- theme: 'dark',
106
+ theme: "dark",
96
107
  pauseOnHover: true,
97
108
  enableAccessibility: true,
98
109
  swipeDismiss: true,
99
- dragDismiss: false
110
+ dragDismiss: false,
100
111
  });
101
112
  ```
102
113
 
package/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Editora Toast
2
2
 
3
+ > [!IMPORTANT]
4
+ > **Live Website:** https://editora-ecosystem.netlify.app/
5
+ > **Storybook:** https://editora-ecosystem-storybook.netlify.app/
6
+
7
+
3
8
  > Advanced toast notification system with enterprise features, backward compatibility, and rich customization options.
4
9
 
5
10
  [![Version](https://img.shields.io/npm/v/@editora/toast)](https://www.npmjs.com/package/@editora/toast)
@@ -88,7 +93,7 @@ npm install @editora/toast
88
93
 
89
94
  You can also use Editora Toast directly from a CDN without installing it via npm. Include the following scripts in your HTML:
90
95
  ### Examples
91
- ``` https://editora-free.netlify.app/toast-demo.html ```
96
+ ``` https://editora-ecosystem.netlify.app/toast-demo.html ```
92
97
  ### Basic CDN Setup
93
98
 
94
99
  ```html
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@editora/toast",
3
- "version": "2.0.3",
4
- "description": "Advanced toast notification system for the Editora UI ecosystem with enterprise features and rich customization",
3
+ "version": "2.0.5",
4
+ "description": "Enterprise toast notification library for React and web apps, with SaaS-ready UX patterns, accessibility, and high-performance lifecycle controls.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "browser": "dist/index.umd.js",
@@ -26,6 +26,12 @@
26
26
  "CHANGELOG.md"
27
27
  ],
28
28
  "keywords": [
29
+ "react ui library",
30
+ "react component library",
31
+ "saas ui components",
32
+ "enterprise react components",
33
+ "modern design system",
34
+ "rich text editor react",
29
35
  "editora",
30
36
  "editora ui ecosystem",
31
37
  "toast",
@@ -51,7 +57,7 @@
51
57
  "bugs": {
52
58
  "url": "https://github.com/ajaykr089/Editora/issues"
53
59
  },
54
- "homepage": "https://github.com/ajaykr089/Editora/tree/main/packages/editora-toast#readme",
60
+ "homepage": "https://editora-ecosystem.netlify.app/docs/toast",
55
61
  "style": "dist/toast.css",
56
62
  "publishConfig": {
57
63
  "access": "public"
@@ -65,7 +71,7 @@
65
71
  },
66
72
  "devDependencies": {
67
73
  "typescript": "^5.0.0",
68
- "vite": "^7.3.1"
74
+ "vite": "^4.5.14"
69
75
  },
70
- "gitHead": "694494db58b809f0dcf24501696284faa1ab68a5"
76
+ "gitHead": "7883627e823aa99dd5ecb66a5201116df972f88b"
71
77
  }