@microsoft/omnichannel-chat-widget 1.7.2-main.6642960 → 1.7.2-main.b1b1f9f
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.
- package/lib/cjs/components/livechatwidget/common/createMarkdown.js +2 -2
- package/lib/cjs/components/webchatcontainerstateful/WebChatContainerStateful.js +3 -0
- package/lib/esm/components/livechatwidget/common/createMarkdown.js +2 -2
- package/lib/esm/components/webchatcontainerstateful/WebChatContainerStateful.js +3 -0
- package/package.json +1 -1
|
@@ -36,10 +36,10 @@ const createMarkdown = (disableMarkdownMessageFormatting, disableNewLineMarkdown
|
|
|
36
36
|
// Rule to process html tags
|
|
37
37
|
"newline" // Rule to proceess '\n'
|
|
38
38
|
]);
|
|
39
|
-
|
|
40
|
-
markdown.disable(["strikethrough"]);
|
|
41
39
|
}
|
|
42
40
|
|
|
41
|
+
markdown.disable(["strikethrough"]);
|
|
42
|
+
|
|
43
43
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
44
44
|
markdown.use(_markdownItForInline.default, "url_new_win", "link_open", function (tokens, idx, env) {
|
|
45
45
|
const targetAttrIndex = tokens[idx].attrIndex(_Constants.Constants.Target);
|
|
@@ -218,6 +218,9 @@ const WebChatContainerStateful = props => {
|
|
|
218
218
|
.webchat__stacked-layout_container>div {
|
|
219
219
|
background: ${(props === null || props === void 0 ? void 0 : (_props$webChatContain9 = props.webChatContainerProps) === null || _props$webChatContain9 === void 0 ? void 0 : (_props$webChatContain10 = _props$webChatContain9.containerStyles) === null || _props$webChatContain10 === void 0 ? void 0 : _props$webChatContain10.background) ?? ""}
|
|
220
220
|
}
|
|
221
|
+
.webchat__toaster__expandText {
|
|
222
|
+
display: flex;
|
|
223
|
+
}
|
|
221
224
|
`), /*#__PURE__*/_react2.default.createElement(_react.Stack, {
|
|
222
225
|
styles: containerStyles,
|
|
223
226
|
className: "webchat__stacked-layout_container"
|
|
@@ -30,10 +30,10 @@ export const createMarkdown = (disableMarkdownMessageFormatting, disableNewLineM
|
|
|
30
30
|
// Rule to process html tags
|
|
31
31
|
"newline" // Rule to proceess '\n'
|
|
32
32
|
]);
|
|
33
|
-
|
|
34
|
-
markdown.disable(["strikethrough"]);
|
|
35
33
|
}
|
|
36
34
|
|
|
35
|
+
markdown.disable(["strikethrough"]);
|
|
36
|
+
|
|
37
37
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
38
38
|
markdown.use(MarkdownItForInline, "url_new_win", "link_open", function (tokens, idx, env) {
|
|
39
39
|
const targetAttrIndex = tokens[idx].attrIndex(Constants.Target);
|
|
@@ -210,6 +210,9 @@ export const WebChatContainerStateful = props => {
|
|
|
210
210
|
.webchat__stacked-layout_container>div {
|
|
211
211
|
background: ${(props === null || props === void 0 ? void 0 : (_props$webChatContain9 = props.webChatContainerProps) === null || _props$webChatContain9 === void 0 ? void 0 : (_props$webChatContain10 = _props$webChatContain9.containerStyles) === null || _props$webChatContain10 === void 0 ? void 0 : _props$webChatContain10.background) ?? ""}
|
|
212
212
|
}
|
|
213
|
+
.webchat__toaster__expandText {
|
|
214
|
+
display: flex;
|
|
215
|
+
}
|
|
213
216
|
`), /*#__PURE__*/React.createElement(Stack, {
|
|
214
217
|
styles: containerStyles,
|
|
215
218
|
className: "webchat__stacked-layout_container"
|