@microsoft/omnichannel-chat-components 1.0.6-main.d0effe1 → 1.0.6
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.
|
@@ -7,6 +7,8 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var AdaptiveCards = _interopRequireWildcard(require("adaptivecards"));
|
|
9
9
|
|
|
10
|
+
var _Constants = require("../../common/Constants");
|
|
11
|
+
|
|
10
12
|
var _react = require("@fluentui/react");
|
|
11
13
|
|
|
12
14
|
var _react2 = _interopRequireWildcard(require("react"));
|
|
@@ -15,8 +17,6 @@ var _utils = require("../../common/utils");
|
|
|
15
17
|
|
|
16
18
|
var _BroadcastService = require("../../services/BroadcastService");
|
|
17
19
|
|
|
18
|
-
var _Constants = require("../../common/Constants");
|
|
19
|
-
|
|
20
20
|
var _defaultPreChatSurveyPaneACContainerStyles = require("./common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles");
|
|
21
21
|
|
|
22
22
|
var _defaultPreChatSurveyPaneControlProps = require("./common/defaultProps/defaultPreChatSurveyPaneControlProps");
|
|
@@ -95,6 +95,8 @@ function PreChatSurveyPane(props) {
|
|
|
95
95
|
font-size: ${(_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0 ? void 0 : (_props$styleProps3$cu = _props$styleProps3.customTextStyleProps) === null || _props$styleProps3$cu === void 0 ? void 0 : _props$styleProps3$cu.fontSize} !important;
|
|
96
96
|
height: ${(_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0 ? void 0 : (_props$styleProps4$cu = _props$styleProps4.customTextStyleProps) === null || _props$styleProps4$cu === void 0 ? void 0 : _props$styleProps4$cu.height};
|
|
97
97
|
padding-top: ${(_props$styleProps5 = props.styleProps) === null || _props$styleProps5 === void 0 ? void 0 : (_props$styleProps5$cu = _props$styleProps5.customTextStyleProps) === null || _props$styleProps5$cu === void 0 ? void 0 : _props$styleProps5$cu.paddingTop};
|
|
98
|
+
overflow-wrap: break-word;
|
|
99
|
+
white-space: normal !important;
|
|
98
100
|
}
|
|
99
101
|
.ac-textRun {
|
|
100
102
|
font-size: ${(_props$styleProps6 = props.styleProps) === null || _props$styleProps6 === void 0 ? void 0 : (_props$styleProps6$cu = _props$styleProps6.customTextStyleProps) === null || _props$styleProps6$cu === void 0 ? void 0 : _props$styleProps6$cu.fontSize} !important;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as AdaptiveCards from "adaptivecards";
|
|
2
|
+
import { ElementType, EventNames } from "../../common/Constants";
|
|
2
3
|
import { Stack } from "@fluentui/react";
|
|
3
4
|
import React, { useCallback } from "react";
|
|
4
5
|
import { addNoreferrerNoopenerTag, broadcastError, getInputValuesFromAdaptiveCard } from "../../common/utils";
|
|
5
6
|
import { BroadcastService } from "../../services/BroadcastService";
|
|
6
|
-
import { ElementType, EventNames } from "../../common/Constants";
|
|
7
7
|
import { defaultPreChatSurveyPaneACContainerStyles } from "./common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles";
|
|
8
8
|
import { defaultPreChatSurveyPaneControlProps } from "./common/defaultProps/defaultPreChatSurveyPaneControlProps";
|
|
9
9
|
import { defaultPreChatSurveyPaneGeneralStyles } from "./common/defaultProps/defaultStyles/defaultPreChatSurveyPaneGeneralStyles";
|
|
@@ -73,6 +73,8 @@ function PreChatSurveyPane(props) {
|
|
|
73
73
|
font-size: ${(_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0 ? void 0 : (_props$styleProps3$cu = _props$styleProps3.customTextStyleProps) === null || _props$styleProps3$cu === void 0 ? void 0 : _props$styleProps3$cu.fontSize} !important;
|
|
74
74
|
height: ${(_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0 ? void 0 : (_props$styleProps4$cu = _props$styleProps4.customTextStyleProps) === null || _props$styleProps4$cu === void 0 ? void 0 : _props$styleProps4$cu.height};
|
|
75
75
|
padding-top: ${(_props$styleProps5 = props.styleProps) === null || _props$styleProps5 === void 0 ? void 0 : (_props$styleProps5$cu = _props$styleProps5.customTextStyleProps) === null || _props$styleProps5$cu === void 0 ? void 0 : _props$styleProps5$cu.paddingTop};
|
|
76
|
+
overflow-wrap: break-word;
|
|
77
|
+
white-space: normal !important;
|
|
76
78
|
}
|
|
77
79
|
.ac-textRun {
|
|
78
80
|
font-size: ${(_props$styleProps6 = props.styleProps) === null || _props$styleProps6 === void 0 ? void 0 : (_props$styleProps6$cu = _props$styleProps6.customTextStyleProps) === null || _props$styleProps6$cu === void 0 ? void 0 : _props$styleProps6$cu.fontSize} !important;
|