Changelog

All notable changes to bong-toast.

v1.3.0

2025-02-18
  • addedexpandDescription prop: control whether descriptions start expanded ("open") or reveal on hover ("hover")
  • addedTab layout: asymmetric tab shape with concave corner bridge connecting title to body
  • addedPosition-aware tab alignment: tab aligns to the right on right-side positions, left on left-side
  • addedExpand Description toggle in the interactive demo page
  • changedSpring config now affects both entrance and description expand/collapse animations
  • changedDefault layout uses a single rounded container instead of split title/body
  • fixedRemoved subtle line artifact between tab title and body (sub-pixel gap)

v1.2.0

2025-02-15
  • addedTheme provider with dark/light mode support
  • addedNavbar component with GitHub link and theme toggle
  • changedUpdated layout and page styles for improved theming

v1.1.0

2025-02-14
  • addedInteractive demo page with configuration controls
  • addedPosition, size, duration, and spring config selectors
  • addedCustom style toast demo with purple theme
  • changedSwitched to bun as package manager

v1.0.0

2025-02-13
  • addedBongToast component with spring-based animations via Motion
  • addeduseBongToast hook with external store for cross-component usage
  • added5 built-in variants: default, success, error, warning, info
  • added3 size presets: sm, md, lg
  • added4 position options: top-right, top-left, bottom-right, bottom-left
  • addedPer-toast style overrides (bg, fg, borderColor, borderRadius)
  • addedPer-toast spring config overrides (stiffness, damping, mass)
  • addedHover-to-expand description with chevron indicator
  • addedClick-to-dismiss behavior
  • addedImperative toast() and dismissToast() exports
  • addedshadcn registry integration for easy installation