Skip to content

Releases: brettinternet/react-cooked-bread

react-cooked-bread@0.6.0

01 Oct 21:02
Compare
Choose a tag to compare

0.6.0 (2020-10-01)

Bug Fixes

  • incorrect behavior when maxToasts <= 0 (0bf73cb)

Features

  • combine useRef and useEffect to safely access toasts without causing infinite renders (ab21063)
  • wrap functions in useCallback and use function setState to prevent including toasts in deps (4444f80)

react-cooked-bread@0.5.0

30 Sep 18:38
Compare
Choose a tag to compare

0.5.0 (2020-09-30)

Bug Fixes

  • incorrect behavior when maxToasts <= 0 (0bf73cb)

Features

  • wrap functions in useCallback and use function setState to prevent including toasts in deps (4444f80)

react-cooked-bread@0.4.0

12 Aug 22:53
Compare
Choose a tag to compare

0.4.0 (2020-08-12)

Bug Fixes

  • minor css improvements, export new components (6a7fa83)
  • missing classnames and styler spreads, improve code style (04d741b)
  • mobile styles for toast content widths (caf01b4)
  • remove overflow hidden on toast root components (0d66e29)

Features

  • add new toast content for similar feel to docs site (ce281d4)
  • add new toast root slide-slide (3aeb8aa)
  • pass index, reverse-column, item hover state and toasts down to toast components (8561a18)
  • zeit.tsx: add new toast content component (8272f50)
  • provide container hover status to toast components (eff9da3)

react-cooked-bread@0.3.2

11 Aug 05:07
Compare
Choose a tag to compare

0.3.2 (2020-08-11)

Bug Fixes

  • types: change context prop method types to interface to allow declaration merging (d692dc7)

react-cooked-bread@0.3.1

11 Aug 04:30
Compare
Choose a tag to compare

0.3.1 (2020-08-11)

Bug Fixes

  • only set proptypes on library components when node env is not production (b1d86ea)

react-cooked-bread@0.3.0

06 Aug 06:10
Compare
Choose a tag to compare

0.3.0 (2020-08-06)

Bug Fixes

  • hoc component display name and static hoisting, add error handling for dev mode (ac5f4a1)
  • scroll bar appearing for bottom center toasts (62df51a)

Features

  • add fade toast root option, add self-contained styles for components, clean up code style (2977785)
  • add maxToasts, pauseOnFocusLoss, reverseColumn (e278bcb)
  • add new dependencies (d5ea7e3)
  • add timer update method, transition duration helper, display name helper (ac5e05d)
  • add unique toast content components based on separate styles and presentation (e16e217)
  • update exports with recent changes, add toast types for toast content and root improvements (85223dc)
  • update toast fn can now update the toast timeout as long as it is unique (2724f4d)

BREAKING CHANGES

  • There is no longer a DefaultToastRoot component because we have now name toast root components according to their animation types.
  • There is no longer a DefaultToastContent component because toast content components are now named according to their themes.
  • Default props applied to toasts and passed to the provider have been renamed to match the prop option provided to toast context props.
  • Toast root and content styles have been separated into two separate props passed to the provider component. addToast now returns a string that is always defined.
  • Toast options for toast creation and updates have properties that have been renamed and some props have been added to support some custom toast content components.
  • TransitionDuration has been added as a toast option to override the Transition Group timeout prop.

react-cooked-bread@0.2.0

31 Jul 02:52
Compare
Choose a tag to compare
Pre-release
v0.2.0

react-cooked-bread@0.1.15

28 Jul 02:54
Compare
Choose a tag to compare
Pre-release

0.1.15 (2020-07-28)

Note: Version bump only for package react-cooked-bread