Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump react-hot-toast from 1.0.2 to 2.0.0 #2722

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 4, 2021

Bumps react-hot-toast from 1.0.2 to 2.0.0.

Release notes

Sourced from react-hot-toast's releases.

v2.0.0

New

  • Easier Customization
    • Create your own toast renderer (without useToaster)
      • Support for custom render function in Toaster
      • Support for custom render function in ToastBar
    • toast.custom() - Render custom one-off toasts. No default styling will be applied.
  • Per toast positioning
  • New exit animation
  • Change the gutter between toasts with <Toaster gutter={20} />
  • Support for relative positioning
  • Respect reduce motion OS setting
  • Create persistent toasts with duration: Infinity

Breaking Changes

  • Use the top, right, bottom, left to in containerStyle to change the offset, instead of margin
  • Loading toasts no longer disappear after 30 seconds
  • role & ariaLive got moved into ariaProps
  • useToaster() no longer exposes visibleToasts
  • No longer expose dispatch

Changes

  • Add rehype-slug for same page linking d182844
  • Update docs for 2.0 release 7587f5e
  • Clean up keyframe strings 013deef
  • Add fade animation to reduce motion 8057bb3
  • docs: fix typo on custom toaster e448a6e
  • fix(toast-bar): use fragment to remove unique key prop error 6c89e91
  • fix: remove unused import 809fa25
  • Update docs for 2.0 b2f4611
  • CSS fix for IE b650ea0
  • Add tailwind animation for examples cfbf32a
  • Fix sticky nav in docs 03d75e9
  • Use activeClass for pointer events 2036a3f
  • Use children instead of render prop 8388051
  • Extract default offset to variable ff9a762
  • Use flexbox for toast positioning 9381c26
  • Expose gutter prop 273e29e
  • Reduce custom toast duration to 4 seconds 466825d
  • Scope aria props and add render function support f1d367c
  • Add reduce motion support Closes #34 0363011
  • Footer (fix year) 1b2e82a
  • Use dynamic year in footer 6639eea
  • Allow position to be configured per toast 80e936f
  • Fix invalid types/imports 664bcbf
  • Refactor Indicator to ToastIcon component - Also export resolveValue to render custom JSX content 25690e0
  • Add support for toast.custom - Render any JSX without additional styles b7509bd

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-hot-toast-2.0.0 branch 3 times, most recently from a083708 to f498c45 Compare June 8, 2021 03:52
Bumps [react-hot-toast](https://github.com/timolins/react-hot-toast) from 1.0.2 to 2.0.0.
- [Release notes](https://github.com/timolins/react-hot-toast/releases)
- [Commits](timolins/react-hot-toast@v1.0.2...v2.0.0)

---
updated-dependencies:
- dependency-name: react-hot-toast
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-hot-toast-2.0.0 branch from f498c45 to c5e8d5c Compare June 8, 2021 04:17
@thedavidprice thedavidprice merged commit abcb13d into main Jun 8, 2021
@thedavidprice thedavidprice deleted the dependabot/npm_and_yarn/react-hot-toast-2.0.0 branch June 8, 2021 05:45
@thedavidprice thedavidprice added this to the next-release milestone Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant