-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90902be
commit 2bb3882
Showing
1 changed file
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
## 4.0.1 | ||
## 0.4.1 | ||
|
||
- Removed Linkify, added markdown support for response messages | ||
(urls still are detected automatically but not emails, to ensure | ||
a link appears use markdown syntax) | ||
- Fixed fullScreenMode prop: now dispatches the initPayload | ||
when the component mounts, removed border-radius | ||
when the component mounts, removed border-radius | ||
|
||
## 0.4.2 | ||
|
||
- Added a image size property to widget initialization, in order | ||
to crop-scale images returned by bot. | ||
- Images are crop-scaled to the defined size by the CSS property | ||
{object-fit: cover}. The content is sized to maintain its aspect | ||
ratio while filling the element’s entire content box. If the | ||
object's aspect ratio does not match the aspect ratio of its box | ||
then the object will be clipped to fit. The clipping will be taken | ||
from the center. | ||
- `WebChat.toggle()`, `WebChat.open()`, and `WebChat.close` can be used to change the state of the chat box to open or closed. | ||
- `WebChat.show()` and `WebChat.hide()` can be used to show or hide the entire chat widget. | ||
- `WebChat.isOpen()` and `WebChat.isVisible()` can be used to get the open state of the chat box and the visibility state of the entire widget. |