Smoking Hot React Notifications 🔥
"use client"
to build ouput 92aef53https://github.com/timolins/react-hot-toast/compare/v2.4.0...v2.4.1
https://github.com/timolins/react-hot-toast/compare/v2.3.0...v2.4.0-beta.0
https://github.com/timolins/react-hot-toast/compare/v2.3.0...v2.4.0-beta.0
This release focuses on build and bundle improvements (faster, lighter & better).
react-hot-toast/headless
- for headless environments like react-nativepnpm
, update deps) by @timolins in https://github.com/timolins/react-hot-toast/pull/203
react-hot-toast/headless
by @timolins in https://github.com/timolins/react-hot-toast/pull/205
Full Changelog: https://github.com/timolins/react-hot-toast/compare/v2.2.0...v2.3.0
.mjs
extension for ESM module - Update package.json according to #204 ae4a1ebmain
in package.json de10f5cindex.tsx
to index.ts
0749440https://github.com/timolins/react-hot-toast/compare/v2.3.0-beta...v2.3.0-beta.1
This version is focus on improving the build & bundle setup. It's now using tsup (powered by esbuild) instead of unmaintained tsdx
. Additionaly, npm v4 was replaced by pnpm.
Those changes gives us a way faster and simpler builds + should allows usage in headless environments again (react-native).
tsdx
& add prettier
hook * No more linting from tsdx. Should be okay to use prettier * Lot less dependencies * Prettify files 28d83a9export type
for types 4f43ea3tsup
instead of tsdx
This gives us more control about the build process * Expose react-hot-toast/headless
- Fixes #39 * Bundle size is even smaller now d58cb35https://github.com/timolins/react-hot-toast/compare/v2.2.0...v2.3.0-beta
https://github.com/timolins/react-hot-toast/compare/v2.1.1...v2.2.0
fix: matchMedia is not defined
46cc577
Make the page title match the component name e510767
Fix linting error b1d2382
Merge pull request #115 from BenJenkinson/patch-1 0027e31
Merge pull request #112 from Dev-CasperTheGhost/main ddc56b0
https://github.com/timolins/react-hot-toast/compare/v2.1.0...v2.1.1
Toast
type - Closes #91 b9c2d93position
option to toast docs 9b481f0https://github.com/timolins/react-hot-toast/compare/v2.0.0...v2.1.0
toast.custom()
- Render custom one-off toasts. No default styling will be applied.<Toaster gutter={20} />
duration: Infinity
top
, right
, bottom
, left
to in containerStyle
to change the offset, instead of marginrole
& ariaLive
got moved into ariaProps
useToaster()
no longer exposes visibleToasts
dispatch
gutter
prop 273e29eIndicator
to ToastIcon
component - Also export resolveValue to render custom JSX content 25690e0toast.custom
- Render any JSX without additional styles b7509bdcontainerClassName
prop - Closes #43 2be3b23margin
to gutter
345aac0renderToast
option to Toatser - Allows you to replace default toast with custom component (Closes #13) 207bf66sideEffects: false
in package.json 641369fdispatch
8f82feccsstype
as dev dependency Closes #44 d60adb6Infinity
instead of -1
for persistant toasts a214271-1
duration for persistent toasts 64b5568undefined
id e40ebbdhttps://github.com/timolins/react-hot-toast/compare/v1.0.2...v2.0.0