@microsoft/omnichannel-chat-widget 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,11 +41,6 @@ const prepareStartChat = async (props, chatSDK, state, dispatch, setAdapter) =>
41
41
  }
42
42
  }
43
43
 
44
- // If chat reconnect has kicked in chat state will become Active or Reconnect. So just exit, else go next
45
- if (state.appStates.conversationState === _ConversationState.ConversationState.Active || state.appStates.conversationState === _ConversationState.ConversationState.ReconnectChat) {
46
- return;
47
- }
48
-
49
44
  // Check if there is any active popout chats in cache
50
45
  if (await canStartPopoutChat(props)) {
51
46
  return;
@@ -152,6 +152,9 @@ const WebChatContainerStateful = props => {
152
152
  magicCodeBroadcastChannel.addEventListener(broadcastChannelMessageEvent, eventListener);
153
153
  }, []);
154
154
  return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, /*#__PURE__*/_react2.default.createElement("style", null, `
155
+ .webchat__stacked-layout__content .ac-pushButton {
156
+ cursor: pointer;
157
+ }
155
158
 
156
159
  .webchat__bubble__content>div#ms_lcw_webchat_adaptive_card {
157
160
  background: ${(webChatContainerProps === null || webChatContainerProps === void 0 ? void 0 : (_webChatContainerProp = webChatContainerProps.adaptiveCardStyles) === null || _webChatContainerProp === void 0 ? void 0 : _webChatContainerProp.background) ?? _defaultAdaptiveCardStyles.defaultAdaptiveCardStyles.background};
@@ -36,11 +36,6 @@ const prepareStartChat = async (props, chatSDK, state, dispatch, setAdapter) =>
36
36
  }
37
37
  }
38
38
 
39
- // If chat reconnect has kicked in chat state will become Active or Reconnect. So just exit, else go next
40
- if (state.appStates.conversationState === ConversationState.Active || state.appStates.conversationState === ConversationState.ReconnectChat) {
41
- return;
42
- }
43
-
44
39
  // Check if there is any active popout chats in cache
45
40
  if (await canStartPopoutChat(props)) {
46
41
  return;
@@ -144,6 +144,9 @@ export const WebChatContainerStateful = props => {
144
144
  magicCodeBroadcastChannel.addEventListener(broadcastChannelMessageEvent, eventListener);
145
145
  }, []);
146
146
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("style", null, `
147
+ .webchat__stacked-layout__content .ac-pushButton {
148
+ cursor: pointer;
149
+ }
147
150
 
148
151
  .webchat__bubble__content>div#ms_lcw_webchat_adaptive_card {
149
152
  background: ${(webChatContainerProps === null || webChatContainerProps === void 0 ? void 0 : (_webChatContainerProp = webChatContainerProps.adaptiveCardStyles) === null || _webChatContainerProp === void 0 ? void 0 : _webChatContainerProp.background) ?? defaultAdaptiveCardStyles.background};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/omnichannel-chat-widget",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Microsoft Omnichannel Chat Widget",
5
5
  "main": "lib/cjs/index.js",
6
6
  "types": "lib/types/index.d.ts",