Skip to content

v5.0.2

Compare
Choose a tag to compare
@awran5 awran5 released this 07 Oct 10:32
· 31 commits to main since this release

v5.0.0 - 2022-10-07

Commits

  • build: update dependencies 59ddd9e
  • build: remove example folder 36c5110
  • feat: add new props and improvements b5bcc21

Features

  • BREAKING CHANGES: change default import to name import
  • BREAKING CHANGES: rename height prop to chatboxHeight
  • BREAKING CHANGES: rename styles prop to style
  • BREAKING CHANGES: notificationDelay now in seconds instead of millisecond
  • add: new prop onClick Callback function fires on click
  • add: new prop onSubmit Callback function fires on submit with event and form input value passed
  • add: new prop onClose Callback function fires on close
  • add: new prop onLoopDone Callback function called when notification loop done
  • add: new prop notificationLoop to control repeated notifications loop
  • add: new prop notificationSoundSrc allow Notification sound custom src
  • add: new prop buttonStyle Inline style applied to button
  • add: new prop buttonClassName CSS className applied to button
  • add: new prop chatboxStyle Inline style applied to chat box
  • add: new prop chatboxClassName CSS className applied to chat box
  • perf: change input from to be uncontrolled to avoid unnecessary renders.