Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Releases: Cogoport/cogo-toast

v4.2.3

19 Feb 17:41
Compare
Choose a tag to compare
  • 4.2.3

    • Fix: install error at 4.2.2. #53

v4.2.2

18 Feb 09:14
Compare
Choose a tag to compare
  • 4.2.2

    • Fix: useEffect not cancelling timeouts. #49
    • Switched from pnpm to yarn to manage package dependencies - Better community support.

v4.2.1

10 Jan 09:04
Compare
Choose a tag to compare
  • 4.2.1

    • Fix: Heading and renderIcon not being passed to the toast component

v4.2.0

08 Jan 13:38
Compare
Choose a tag to compare
  • 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.2.0-beta.0

08 Jan 13:22
625aac7
Compare
Choose a tag to compare
v4.2.0-beta.0 Pre-release
Pre-release
  • 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

19 Dec 12:22
Compare
Choose a tag to compare

v4.1.1

26 Sep 11:06
Compare
Choose a tag to compare

v4.1.1

  • Added missing types for 4.0, role, and toastContainerID. #35

v4.1.0

25 Sep 18:44
Compare
Choose a tag to compare
  • 4.1.0

    • Added a new option toastContainerID. This enables specifying the id of the parent dom element, to which the toast is mounted as a child. #27

v4.0.0

24 Sep 20:25
b891e4d
Compare
Choose a tag to compare
  • 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.

v3.2.2

13 Sep 21:17
Compare
Choose a tag to compare
  • v3.2.2

    • Classnames added to each type of toast, to enable css overrides