Cogo Toast Versions Save

Beautiful, Zero Configuration, Toast Messages for React. Only ~ 4kb gzip, with styles and icons

v4.2.3

4 years ago
  • 4.2.3

    • Fix: install error at 4.2.2. #53

v4.2.2

4 years ago
  • 4.2.2

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

v4.2.1

4 years ago
  • 4.2.1

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

v4.2.0

4 years ago
  • 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

4 years ago
  • 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

4 years ago
  • v4.1.3

    • Fixes #44 and #45

v4.1.1

4 years ago

v4.1.1

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

v4.1.0

4 years ago
  • 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

4 years ago
  • 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

4 years ago
  • v3.2.2

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