This repository has been archived by the owner on Oct 4, 2022. It is now read-only.
Releases: Cogoport/cogo-toast
Releases · Cogoport/cogo-toast
v4.2.3
v4.2.2
v4.2.1
v4.2.0
v4.2.0-beta.0
- Refactored entire codebase to TypeScript.
- Switched from yarn to pnpm to manage package dependencies.
- Bundle Size reduced to 4 KB
- No change to the package API or features. Everything should work as before.
v4.1.3
v4.1.1
v4.1.0
v4.0.0
-
4.0.0
-
Breaking Change
- Hide the toast on Click
Now:
const { hide } = cogoToast.success('This is a success message.', { onClick: () => { hide(); }, };
Before:
cogoToast.success('This is a success message.', { onClick: (hide) => { hide(); }, };
-
Toast now always returns a promise, as opposed to before. See issue #28
-
Accessibility - Added a role of
status
by default. Configurable via options. Thanks @balazsorban44.
-