Skip to contentSkip to navigationSkip to topbar
Paste DSys

Toast

Version 13.0.1GithubDesign assets pendingPeer review pending

A Toast is an animated, temporary banner that communicates an immediate and direct response to a user action.

Change Log

13.0.1

Patch Changes

  • 262c1b715 #4281 Thanks @PixeledCode! - [all packages]: add use client directive to the components and icons. This will make paste library compatible with server components

13.0.0

Major Changes

  • f48211e56 #4258 Thanks @PixeledCode! - [all packages]: Upgrade to React 19 and drop support for React 16. Paste only supports the three latest versions of React. If you're using Paste in a React 17, 18, or 19 app, you should be able to upgrade with full backwards compatibility. If you experience any issues, please let us know on Github.

Patch Changes

12.2.2

Patch Changes

  • 0ed9f3482 #4226 Thanks @PixeledCode! - [Callout, ChatComposer, ChatLog, Combobox, Input, InputBox, Menu, MinimizableDialog, Modal, Popover, SideModal, SidePanel, Sidebar, Toast, Tooltip, Topbar, UserDialog]: Update styles to implement new elevation tokens

12.2.1

Patch Changes

12.2.0

Minor Changes

12.1.1

Patch Changes

12.1.0

Minor Changes

  • b8d79200b #3442 Thanks @TheSisb! - Removed all run-time prop-type checkingfrom Paste components. Paste now ships with only TypeScript types.

    ACTION NEEDED: None. This should be 100% backwards compatible.

12.0.0

Major Changes

  • 733709127 #3395 Thanks @SiTaggart! - Modified the compile target of our JavaScript bundles from node to browser to minimize the risk of clashing with RequireJS. This is marked as a major out of an abundance of caution. You shouldn't need to do anything but we wanted you to be aware of the change on the off chance it has unintended consequences

Patch Changes

11.0.1

Patch Changes

  • 4d1f7c65e #3360 Thanks @SiTaggart! - Improved types where Paste extends the base HTML element that a component is based on, so that the existing blocked styling properties are not exposed as valid properties for the component via Typescript. This leads to less confusion around what is supported by a Paste component.

    Existing blocked component properties include:

    • className
    • style
    • color

11.0.0

Major Changes

  • e45d34c14 #3081 Thanks @nkrantz! - [Toast]

    • Remove __console_patch prop from the Toast package. This was a temporary z-index fix for console that is no longer necessary.
    • Add left prop to the Toast package so that consumers can place their Toasts according to their app's breakpoints. This feature enables mobile responsiveness for Toast.
  • 3ab2bb6f4 #3114 Thanks @SiTaggart! - ### Breaking change

    We have moved @types/react and @types/react-dom to peer dependencies of the library. This should allow for greater control and backwards compatibility with older versions of React as Paste is no longer bundling the type libraries.

    Your application likely has both of these as dependencies anyway, but it is now up to you to manage that version number.

    Action needed

    Ensure @types/react and @types/react-dom are installed as dependencies of your application.

Patch Changes

10.0.1

Patch Changes

  • e7f4fcdaf #3062 Thanks @nkrantz! - [Toast] Update styles to align with new Paste Twilio theme.

    In order to see all of the new style updates, you may have to remove any <Text> component children from your Toasts, passing in the string as a direct child of Toast.

10.0.0

Major Changes

  • d97098846 #3020 Thanks @SiTaggart! - This major version included listing all the missing peer dependencies for each Paste package.

    If you are using a package from Paste in isolation from Core, when upgrading to this latest version, be sure to correctly install all the missing peer dependencies.

Patch Changes

9.0.2

Patch Changes

9.0.1

Patch Changes

9.0.0

Patch Changes

8.0.1

Patch Changes

  • ae9dd50f #2466 Thanks @TheSisb! - [All packages] Update our ESBuild version and remove minification of identifiers in our production builds.

8.0.0

Patch Changes

7.0.0

Patch Changes

6.0.3

Patch Changes

  • b6ccaa266 #2347 Thanks @gloriliale! - [Alert, Modal, Popover, Toast] Adjust close icon's hover state color, which was previously being overwritten.

6.0.2

Patch Changes

  • 73c596919 #2269 Thanks @SiTaggart! - Fixed a regression with the compilation script that caused incompatible ESM module importing of JSON files.

6.0.1

Patch Changes

  • c867e3f48 #2237 Thanks @SiTaggart! - Updated a build dependency (esbuild) which changes the output of our builds slightly, without materially changing anything about the code.

6.0.0

Patch Changes

5.2.2

Patch Changes

  • 5d4515ea #2083 Thanks @nkrantz! - [Alert, Modal, Popover, Toast] Update close button to use secondary_icon button variant

5.2.1

Patch Changes

  • b7675915 #1985 Thanks @TheSisb! - For debugging purposes we now ship a filename.debug.js unminified version of each component or library in Paste.

5.2.0

Minor Changes

  • d4eaf8b1 #1919 Thanks @nkrantz! - [Toast] Enable Component to respect element customizations set on the customization provider. Component now enables setting an element name on the underlying HTML element and checks the emotion theme object to determine whether it should merge in custom styles to the ones set by the component author.

5.1.1

Patch Changes

5.1.0

Minor Changes

  • 63a39e0c #1818 Thanks @TheSisb! - [Toast] The useToaster push method now allows passing in an onDismiss callback function.

5.0.2

Patch Changes

  • 5e770d20 #1558 Thanks @TheSisb! - Fixes a bug where Toasts may not display using the provided Toaster for users with the system flag "prefers-reduced-motion"

5.0.1

Patch Changes

  • 25a1f632 #1404 Thanks @SiTaggart! - update internal usage of design tokens to reflect new strong / weak nomenclature

5.0.0

Patch Changes

4.0.2

Patch Changes

4.0.1

Patch Changes

  • 22410172 #1287 Thanks @TheSisb! - Added a __console_patch boolean prop to fix issues with z-index in Twilio Console applications. This is a temporary fix.

4.0.0

Patch Changes

3.0.1

Patch Changes

3.0.0

Patch Changes

2.0.3

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

2.0.0

Patch Changes

1.0.1

Patch Changes

1.0.0

Patch Changes

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.4.1 (2021-01-25)

Note: Version bump only for package @twilio-paste/toast

0.4.0 (2021-01-21)

Features

0.3.6 (2021-01-15)

Note: Version bump only for package @twilio-paste/toast

0.3.5 (2021-01-14)

Note: Version bump only for package @twilio-paste/toast

0.3.4 (2021-01-14)

Note: Version bump only for package @twilio-paste/toast

0.3.3 (2021-01-13)

Note: Version bump only for package @twilio-paste/toast

0.3.2 (2021-01-07)

Note: Version bump only for package @twilio-paste/toast

0.3.1 (2020-12-17)

Note: Version bump only for package @twilio-paste/toast

0.3.0 (2020-12-17)

Bug Fixes

BREAKING CHANGES

  • toast: component is now using fowardRef

0.2.16 (2020-12-15)

Note: Version bump only for package @twilio-paste/toast

0.2.15 (2020-12-11)

Note: Version bump only for package @twilio-paste/toast

0.2.14 (2020-12-11)

Note: Version bump only for package @twilio-paste/toast

0.2.13 (2020-12-09)

Note: Version bump only for package @twilio-paste/toast

0.2.12 (2020-12-03)

Note: Version bump only for package @twilio-paste/toast

0.2.11 (2020-12-02)

Note: Version bump only for package @twilio-paste/toast

0.2.10 (2020-11-16)

Note: Version bump only for package @twilio-paste/toast

0.2.9 (2020-11-11)

Note: Version bump only for package @twilio-paste/toast

0.2.8 (2020-11-10)

Note: Version bump only for package @twilio-paste/toast

0.2.7 (2020-11-09)

Note: Version bump only for package @twilio-paste/toast

0.2.6 (2020-11-06)

Note: Version bump only for package @twilio-paste/toast

0.2.5 (2020-11-05)

Note: Version bump only for package @twilio-paste/toast

0.2.4 (2020-11-02)

Note: Version bump only for package @twilio-paste/toast

0.2.3 (2020-10-30)

Note: Version bump only for package @twilio-paste/toast

0.2.2 (2020-10-29)

Note: Version bump only for package @twilio-paste/toast

0.2.1 (2020-10-23)

Note: Version bump only for package @twilio-paste/toast

0.2.0 (2020-10-22)

Features

  • toast: add the toaster to handle showing toasts (bb94744)
  • toast: update the icon used in neutral toast (a923709)

0.1.11 (2020-10-21)

Note: Version bump only for package @twilio-paste/toast

0.1.10 (2020-10-19)

Note: Version bump only for package @twilio-paste/toast

0.1.9 (2020-10-15)

Note: Version bump only for package @twilio-paste/toast

0.1.8 (2020-10-13)

Note: Version bump only for package @twilio-paste/toast

0.1.7 (2020-10-09)

Note: Version bump only for package @twilio-paste/toast

0.1.6 (2020-10-07)

Note: Version bump only for package @twilio-paste/toast

0.1.5 (2020-10-07)

Note: Version bump only for package @twilio-paste/toast

0.1.4 (2020-10-07)

Note: Version bump only for package @twilio-paste/toast

0.1.3 (2020-10-07)

Note: Version bump only for package @twilio-paste/toast

0.1.2 (2020-09-28)

Note: Version bump only for package @twilio-paste/toast

0.1.1 (2020-09-23)

Note: Version bump only for package @twilio-paste/toast

0.1.0 (2020-09-22)

Features