github reflex-dev/reflex reflex-components-sonner-v0.10.1a1
reflex-components-sonner@0.10.1a1

latest releases: v0.12.0a1, reflex-hosting-cli-v0.2.5, reflex-components-react-player-v0.10.1a1...
pre-releaseone hour ago

Bug Fixes

  • Ship a py.typed marker so type checkers such as mypy read the package's bundled .pyi stubs instead of treating it as untyped, and mark the names the package root imports as re-exported. (#7710)
  • Serialize toast action and cancel button styles with the Sonner option names expected by the frontend. (#7786)
  • rx.toast.provider(hotkey=...) now takes a list of KeyboardEvent keys and codes, such as ["altKey", "KeyT"], which is what sonner expects; the previous str type was rejected for lists and crashed the page when a string was passed. (#7824)
  • rx.toast.dismiss now serializes its id the same way rx.toast(id=...) does. Before, a quote in a string id broke out of the generated JavaScript, so an untrusted id could run script in the browser; an id built from an f-string with a state Var also never matched its toast. (#8018)

Don't miss a new reflex release

NewReleases is sending notifications on new releases.