Releases: awran5/react-floating-whatsapp
Releases · awran5/react-floating-whatsapp
v5.0.8
5.0.7
v5.0.6
v5.0.2
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 tochatboxHeight
- BREAKING CHANGES: rename
styles
prop tostyle
- 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.
v4.0.5
- Removed: semantic-release
- Removed: GitHub action
- Modified: using @rollup/plugin-url for handling the assets
v4.0.3
v4.0.0
4.0.0 (2021-09-25)
- Added: Default Avatar using generated random avatars
- Added: New Prop
height
that allow to control the chat box height. - Added: New Prop
notification
that enable/disable repeated notifications sound and indicators. - Added: New Prop
notificationDelay
to set the time delay between notifications in millisecond. - Added: New Prop
notificationSound
to allow notifications sound. - Added: Message typing effect before
chatMessage
appears. - Fixed: Chat box css
position
Thanks to @jpmedeirosmorais and @jorgemndoza - Modified: Refactor state using useReducer Hook.
- Modified: Prevent toggle open/close the chat box.
- Modified: CSS stylesheet import, now its applied inline.
- Updated: App dependencies