Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: made some changes to fix custom elements not being sized correctly #28

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

TazmanianDI
Copy link
Contributor

BREAKING CHANGE: Classnames and styles are now injected by default when using WebChatCustomElement.

BREAKING CHANGE: Classnames and styles are now injected by default when using WebChatCustomElement.
package.json Outdated
@@ -21,6 +21,9 @@
"semantic-release": "semantic-release",
"test": "jest"
},
"dependencies": {
"semver-compare": "^1.0.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets use the other semver package that is a module and wasn't taken down from the other PR.

Also probably a good time to bump up from node 14 here.

BREAKING CHANGE: Classnames and styles are now injected by default when using WebChatCustomElement.
@TazmanianDI TazmanianDI merged commit 13ef8f7 into main Jul 17, 2024
3 checks passed
@TazmanianDI TazmanianDI deleted the custom-element-changes branch July 17, 2024 13:43
watson-github-bot pushed a commit that referenced this pull request Jul 17, 2024
# [2.0.0](v1.1.1...v2.0.0) (2024-07-17)

### Bug Fixes

* made some changes and fixes ([#27](#27)) ([182d185](182d185))
* made some changes to fix custom elements not being sized correctly ([#28](#28)) ([13ef8f7](13ef8f7))

### BREAKING CHANGES

* Classnames and styles are now injected by default when using WebChatCustomElement.
* Removed the deprecated withWebChat hook.
* Renamed the "renderCustomResponse" prop to "renderUserDefinedResponse".
* Removed the CustomResponsePortalsContainer component.

- Added support for the "userDefinedResponse" event added in web chat 8.2.0.
- Fixed an order bug that can occur if a user defined response is fired during the render process
  in some cases. This meant reworking the portals container interface which was a breaking change
  and we decided to just remove it from the public API.
- Added support for usages on cp4d so the library will properly calculate the endpoints for the
  web chat entry script.
@watson-github-bot
Copy link
Member

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants