Release Notes
UI Components
Release notes for the UI Components.
Release notes
Version 0.2.276
- Fallback to default bot avatar if user provided bot avatar doesn’t load.
- Improve styling for docs search preview.
Version 0.2.275
- Added a file input type to the support form.
Version 0.2.274
- Added a prop to change the chat button color. See here for more details.
Version 0.2.272
- Add workflowId to
chat_message_submitted
andchat_message_bot_response_received
events.
Version 0.2.271
- Add info tooltip for workflow attachments.
Version 0.2.270
- Minor style tweak.
Version 0.2.269
- Exposed the
AIChatFunctions
in the embed js package. - Added
openForm
toAIChatFunctions
so it can be triggered from outside the widget. See here for more details. - Added
closeFormAction
toFormConfig
. See here for more details.
Breaking changes
- Removed
backToChatButtonLabel
fromSuccessConfirmationPageProps
and replaced withSuccessConfirmationButton
. See here for more details.
Version 0.2.268
- Add switch to chat and submit hot key (cmd + enter)
- Fix bug with prefilled query not showing in search bar
- Fix low chroma primary color derivatives calculations
- Use filled sparkles for default icon in chat component
Version 0.2.267
- Adding additional class names for stylization.
Version 0.2.266
- Minor bug fixes
Version 0.2.265
- Edit default disclaimer copy.
Version 0.2.264
- Added support for
CustomIcons
. Refer to custom icons for details.
Version 0.2.263
- Added support for a new
GetHelpCallToAction
andShowEscalateToSupportButtonAction
. Refer to get help call to actions and support workflows for details. - Fix for highlighting search text in dark mode.
Version 0.2.262
- Minor UI improvements.
Version 0.2.261
- Added support workflows feature. Refer to Support workflows for details.
- Minor UI improvements.
Version 0.2.260
- Minor bug fixes.
Version 0.2.259
- Adding
context
andguidance
toAIChatSettings
for providing dynamic information and instructions to the bot.
Version 0.2.258
- Fix copy button tooltip.
- Add default targetElement for the
ChatButton
andCustomTrigger
in the js snippet. - Add
colorModeSync
logic to the js snippet.
Version 0.2.256
- Fix to close modal if clicking on a search result link within the same page and
shouldOpenLinksInNewTab
isfalse
.
Version 0.2.254
- Fix bug with loading stylesheets.
Version 0.2.253
- Deep merge properties in the
widgets-embed
package to improve devx. - Add fallback targetEl in the
widgets-embed
package.
Version 0.2.252
- Update default AI assistant avatar.
Version 0.2.250
- Add
data-state="active"
to the thumbs up and thumbs down buttons after the relative feedback has been submitted, by default they will havedata-state="inactive"
. This can be used to style the buttons differently after feedback submission.
Version 0.2.249
- Fix bug with chat button
fixedPositionXOffset
andfixedPositionYOffset
props not being applied. - Add
shrink
size variant for theSearchBarTrigger
component, this variant will shrink the search bar to just the search icon for the smallest screen sizes.
Version 0.2.248
Breaking changes
- Changed the prop
areOpenHotKeysDisabled
toisShortcutKeyEnabled
inmodalSettings
- By default
isShortcutKeyEnabled
isfalse
for allInkeepChatButton
variants exceptICON_TEXT_SHORTCUT
, (it istrue
by default for theInkeepSearchBar
andInkeepCustomTrigger
components). - By default the
openShortcutKey
is/
for theInkeepChatButton
component (it is stillk
for theInkeepSearchBar
andInkeepCustomTrigger
components).
Version 0.2.247
- Added support for passing
colorMode
inbaseSettings
, passing incolorMode
intheme
is still supported but is deprecated. - Added support for passing
syntaxHighlighter
intheme
, passing inbaseSettings
(ashighlighterTheme
) is still supported but is deprecated. - Changed the default
chatButtonType
toICON_TEXT
.
Version 0.2.246
- Added loading state for AI chat when passing in the chatId prop.
Version 0.2.245
- Added support for customizing the chat action button labels and switch to search button label.
Version 0.2.244
- Added a prop to
SearchSettings
calledsubmitOnEnterOnly
which will submit search query on enter instead of onChange. Default isfalse
.
Version 0.2.243
- Added a prop to
AIChatSettings
calledchatId
which will load the chat corresponding to the id.
Version 0.2.242
- Bumped dependencies to address vulnerability in
vite@4.4.11
.
Version 0.2.241
- Fixed a bug where chat actions were only shown for most recent message.
Version 0.2.238
- Added a prop to
ModalSettings
calledshouldAnimateSwitchToChatButton
which determines whether to animate the switch to chat button on first load. Default istrue
. - Added a variant to the theme for the
SwitchToChat
button, example:
const inkeepBaseSettings: InkeepWidgetBaseSettings = {
theme: {
components: {
SwitchToChat: {
defaultProps: {
variant: "subtle", // options are 'primary' or 'subtle'
},
},
},
},
};