botframework-webchat 4.13.0 → 4.15.0
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/.eslintrc.yml +5 -104
- package/.prettierrc.yml +1 -1
- package/README.md +33 -36
- package/babel.config.json +2 -2
- package/babel.sanitize-html.config.json +10 -0
- package/lib/AddFullBundle.d.ts +30 -0
- package/lib/AddFullBundle.d.ts.map +1 -0
- package/lib/AddFullBundle.js +76 -0
- package/lib/FullComposer.d.ts +8 -0
- package/lib/FullComposer.d.ts.map +1 -0
- package/lib/FullComposer.js +6 -16
- package/lib/FullReactWebChat.d.ts +8 -0
- package/lib/FullReactWebChat.d.ts.map +1 -0
- package/lib/FullReactWebChat.js +8 -23
- package/lib/adaptiveCards/AdaptiveCardsComposer.d.ts +10 -0
- package/lib/adaptiveCards/AdaptiveCardsComposer.d.ts.map +1 -0
- package/lib/adaptiveCards/AdaptiveCardsComposer.js +6 -2
- package/lib/adaptiveCards/AdaptiveCardsContext.d.ts +8 -0
- package/lib/adaptiveCards/AdaptiveCardsContext.d.ts.map +1 -0
- package/lib/adaptiveCards/AdaptiveCardsContext.js +3 -3
- package/lib/adaptiveCards/AdaptiveCardsStyleOptions.d.ts +5 -3
- package/lib/adaptiveCards/AdaptiveCardsStyleOptions.d.ts.map +1 -1
- package/lib/adaptiveCards/AdaptiveCardsStyleSet.d.ts +7 -0
- package/lib/adaptiveCards/AdaptiveCardsStyleSet.d.ts.map +1 -0
- package/lib/{FullBundleStyleOptions.js → adaptiveCards/AdaptiveCardsStyleSet.js} +0 -0
- package/lib/adaptiveCards/Attachment/AdaptiveCardAttachment.d.ts +9 -0
- package/lib/adaptiveCards/Attachment/AdaptiveCardAttachment.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/AdaptiveCardAttachment.js +1 -1
- package/lib/adaptiveCards/Attachment/AdaptiveCardBuilder.d.ts +28 -0
- package/lib/adaptiveCards/Attachment/AdaptiveCardBuilder.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/AdaptiveCardBuilder.js +13 -6
- package/lib/adaptiveCards/Attachment/AdaptiveCardContent.d.ts +9 -0
- package/lib/adaptiveCards/Attachment/AdaptiveCardContent.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/AdaptiveCardContent.js +8 -4
- package/lib/adaptiveCards/Attachment/AdaptiveCardRenderer.d.ts +12 -0
- package/lib/adaptiveCards/Attachment/AdaptiveCardRenderer.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/AdaptiveCardRenderer.js +310 -85
- package/lib/adaptiveCards/Attachment/AnimationCardContent.d.ts +10 -0
- package/lib/adaptiveCards/Attachment/AnimationCardContent.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/AnimationCardContent.js +1 -1
- package/lib/adaptiveCards/Attachment/AudioCardContent.d.ts +10 -0
- package/lib/adaptiveCards/Attachment/AudioCardContent.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/AudioCardContent.js +1 -1
- package/lib/adaptiveCards/Attachment/CommonCard.js +11 -6
- package/lib/adaptiveCards/Attachment/HeroCardContent.d.ts +10 -0
- package/lib/adaptiveCards/Attachment/HeroCardContent.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/HeroCardContent.js +11 -6
- package/lib/adaptiveCards/Attachment/OAuthCardContent.d.ts +10 -0
- package/lib/adaptiveCards/Attachment/OAuthCardContent.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/OAuthCardContent.js +11 -6
- package/lib/adaptiveCards/Attachment/ReceiptCardContent.d.ts +10 -0
- package/lib/adaptiveCards/Attachment/ReceiptCardContent.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/ReceiptCardContent.js +11 -6
- package/lib/adaptiveCards/Attachment/SignInCardContent.d.ts +10 -0
- package/lib/adaptiveCards/Attachment/SignInCardContent.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/SignInCardContent.js +1 -1
- package/lib/adaptiveCards/Attachment/ThumbnailCardContent.d.ts +10 -0
- package/lib/adaptiveCards/Attachment/ThumbnailCardContent.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/ThumbnailCardContent.js +11 -6
- package/lib/adaptiveCards/Attachment/VideoCardContent.d.ts +20 -0
- package/lib/adaptiveCards/Attachment/VideoCardContent.d.ts.map +1 -0
- package/lib/adaptiveCards/Attachment/VideoCardContent.js +7 -5
- package/lib/adaptiveCards/AttachmentForScreenReader/AdaptiveCardAttachment.js +7 -3
- package/lib/adaptiveCards/AttachmentForScreenReader/RichCardAttachment.js +1 -1
- package/lib/adaptiveCards/Styles/StyleSet/AdaptiveCardRenderer.d.ts +59 -0
- package/lib/adaptiveCards/Styles/StyleSet/AdaptiveCardRenderer.d.ts.map +1 -0
- package/lib/adaptiveCards/Styles/StyleSet/AdaptiveCardRenderer.js +8 -1
- package/lib/adaptiveCards/Styles/adaptiveCardHostConfig.d.ts +126 -0
- package/lib/adaptiveCards/Styles/adaptiveCardHostConfig.d.ts.map +1 -0
- package/lib/adaptiveCards/Styles/adaptiveCardHostConfig.js +29 -9
- package/lib/adaptiveCards/Styles/createAdaptiveCardsStyleSet.d.ts +5 -0
- package/lib/adaptiveCards/Styles/createAdaptiveCardsStyleSet.d.ts.map +1 -0
- package/lib/adaptiveCards/Styles/createAdaptiveCardsStyleSet.js +2 -2
- package/lib/adaptiveCards/createAdaptiveCardsAttachmentForScreenReaderMiddleware.d.ts +3 -0
- package/lib/adaptiveCards/createAdaptiveCardsAttachmentForScreenReaderMiddleware.d.ts.map +1 -0
- package/lib/adaptiveCards/createAdaptiveCardsAttachmentForScreenReaderMiddleware.js +5 -11
- package/lib/adaptiveCards/createAdaptiveCardsAttachmentMiddleware.d.ts +3 -0
- package/lib/adaptiveCards/createAdaptiveCardsAttachmentMiddleware.d.ts.map +1 -0
- package/lib/adaptiveCards/createAdaptiveCardsAttachmentMiddleware.js +2 -15
- package/lib/adaptiveCards/defaultStyleOptions.d.ts +4 -0
- package/lib/adaptiveCards/defaultStyleOptions.d.ts.map +1 -0
- package/lib/adaptiveCards/defaultStyleOptions.js +3 -2
- package/lib/adaptiveCards/hooks/internal/useAdaptiveCardsContext.d.ts +3 -0
- package/lib/adaptiveCards/hooks/internal/useAdaptiveCardsContext.d.ts.map +1 -0
- package/lib/adaptiveCards/hooks/internal/useAdaptiveCardsContext.js +1 -1
- package/lib/adaptiveCards/hooks/internal/useParseAdaptiveCardJSON.d.ts +2 -0
- package/lib/adaptiveCards/hooks/internal/useParseAdaptiveCardJSON.d.ts.map +1 -0
- package/lib/adaptiveCards/hooks/internal/useParseAdaptiveCardJSON.js +7 -5
- package/lib/adaptiveCards/hooks/internal/useUniqueId.js +1 -1
- package/lib/adaptiveCards/hooks/useAdaptiveCardsHostConfig.d.ts +2 -0
- package/lib/adaptiveCards/hooks/useAdaptiveCardsHostConfig.d.ts.map +1 -0
- package/lib/adaptiveCards/hooks/useAdaptiveCardsHostConfig.js +3 -5
- package/lib/adaptiveCards/hooks/useAdaptiveCardsPackage.d.ts +3 -0
- package/lib/adaptiveCards/hooks/useAdaptiveCardsPackage.d.ts.map +1 -0
- package/lib/adaptiveCards/hooks/useAdaptiveCardsPackage.js +1 -1
- package/lib/adaptiveCards/normalizeStyleOptions.d.ts +3 -0
- package/lib/adaptiveCards/normalizeStyleOptions.d.ts.map +1 -0
- package/lib/adaptiveCards/normalizeStyleOptions.js +1 -1
- package/lib/addVersion.js +2 -2
- package/lib/createBrowserWebSpeechPonyfillFactory.d.ts +3 -0
- package/lib/createBrowserWebSpeechPonyfillFactory.d.ts.map +1 -0
- package/lib/createBrowserWebSpeechPonyfillFactory.js +7 -4
- package/lib/createCognitiveServicesSpeechServicesPonyfillFactory.d.ts +17 -0
- package/lib/createCognitiveServicesSpeechServicesPonyfillFactory.d.ts.map +1 -0
- package/lib/createCognitiveServicesSpeechServicesPonyfillFactory.js +17 -11
- package/lib/createDirectLine.d.ts +17 -0
- package/lib/createDirectLine.d.ts.map +1 -0
- package/lib/createDirectLine.js +3 -2
- package/lib/createDirectLineAppServiceExtension.d.ts +7 -0
- package/lib/createDirectLineAppServiceExtension.d.ts.map +1 -0
- package/lib/createDirectLineAppServiceExtension.js +1 -1
- package/lib/createDirectLineSpeechAdapters.d.ts +25 -0
- package/lib/createDirectLineSpeechAdapters.d.ts.map +1 -0
- package/lib/createDirectLineSpeechAdapters.js +57 -3
- package/lib/createFullStyleSet.d.ts +1375 -0
- package/lib/createFullStyleSet.d.ts.map +1 -0
- package/lib/createFullStyleSet.js +2 -2
- package/lib/fullBundleDefaultStyleOptions.js +4 -4
- package/lib/hooks/useStyleOptions.d.ts +3 -0
- package/lib/hooks/useStyleOptions.d.ts.map +1 -0
- package/lib/hooks/useStyleOptions.js +21 -0
- package/lib/index-es5.d.ts +4 -20
- package/lib/index-es5.d.ts.map +1 -1
- package/lib/index-es5.js +3 -43
- package/lib/index-minimal.d.ts +9 -6
- package/lib/index-minimal.d.ts.map +1 -1
- package/lib/index-minimal.js +27 -21
- package/lib/index.d.ts +164 -18
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +19 -12
- package/lib/polyfill.d.ts +23 -0
- package/lib/polyfill.d.ts.map +1 -0
- package/lib/polyfill.js +46 -0
- package/lib/renderMarkdown.d.ts +6 -0
- package/lib/renderMarkdown.d.ts.map +1 -0
- package/lib/renderMarkdown.js +36 -5
- package/lib/renderWebChat.d.ts +3 -0
- package/lib/renderWebChat.d.ts.map +1 -0
- package/lib/renderWebChat.js +1 -1
- package/lib/speech/CustomAudioInputStream.d.ts +94 -0
- package/lib/speech/CustomAudioInputStream.d.ts.map +1 -0
- package/lib/speech/CustomAudioInputStream.js +441 -0
- package/lib/speech/bytesPerSample.d.ts +2 -0
- package/lib/speech/bytesPerSample.d.ts.map +1 -0
- package/lib/speech/bytesPerSample.js +12 -0
- package/lib/speech/createAudioConfig.d.ts +23 -0
- package/lib/speech/createAudioConfig.d.ts.map +1 -0
- package/lib/speech/createAudioConfig.js +90 -0
- package/lib/speech/createAudioContext.d.ts +3 -0
- package/lib/speech/createAudioContext.d.ts.map +1 -0
- package/lib/speech/createAudioContext.js +22 -0
- package/lib/speech/createMicrophoneAudioConfigAndAudioContext.d.ts +9 -0
- package/lib/speech/createMicrophoneAudioConfigAndAudioContext.d.ts.map +1 -0
- package/lib/speech/createMicrophoneAudioConfigAndAudioContext.js +161 -0
- package/lib/speech/getUserMedia.d.ts +2 -0
- package/lib/speech/getUserMedia.d.ts.map +1 -0
- package/lib/speech/getUserMedia.js +25 -0
- package/lib/types/AdaptiveCardsPackage.d.ts +13 -0
- package/lib/types/AdaptiveCardsPackage.d.ts.map +1 -0
- package/lib/types/AdaptiveCardsPackage.js +2 -0
- package/lib/types/CognitiveServicesAudioOutputFormat.d.ts +3 -0
- package/lib/types/CognitiveServicesAudioOutputFormat.d.ts.map +1 -0
- package/lib/types/CognitiveServicesAudioOutputFormat.js +2 -0
- package/lib/types/CognitiveServicesCredentials.d.ts +18 -0
- package/lib/types/CognitiveServicesCredentials.d.ts.map +1 -0
- package/lib/types/CognitiveServicesCredentials.js +2 -0
- package/lib/types/CognitiveServicesTextNormalization.d.ts +3 -0
- package/lib/types/CognitiveServicesTextNormalization.d.ts.map +1 -0
- package/lib/types/CognitiveServicesTextNormalization.js +2 -0
- package/lib/{FullBundleStyleOptions.d.ts → types/FullBundleStyleOptions.d.ts} +1 -1
- package/lib/types/FullBundleStyleOptions.d.ts.map +1 -0
- package/lib/types/FullBundleStyleOptions.js +2 -0
- package/lib/useComposerProps.d.ts +22 -0
- package/lib/useComposerProps.d.ts.map +1 -0
- package/lib/useComposerProps.js +6 -8
- package/package.json +46 -48
- package/src/AddFullBundle.tsx +93 -0
- package/src/FullComposer.tsx +38 -0
- package/src/FullReactWebChat.tsx +32 -0
- package/src/__tests__/createDirectLine.spec.js +2 -0
- package/src/__tests__/renderMarkdown.spec.js +1 -1
- package/src/__tests__/versionTag.es5.spec.js +3 -0
- package/src/__tests__/versionTag.full.spec.js +3 -0
- package/src/__tests__/versionTag.minimal.spec.js +3 -0
- package/src/adaptiveCards/{AdaptiveCardsComposer.js → AdaptiveCardsComposer.tsx} +17 -5
- package/src/adaptiveCards/AdaptiveCardsContext.ts +12 -0
- package/src/adaptiveCards/AdaptiveCardsStyleOptions.ts +5 -3
- package/src/adaptiveCards/AdaptiveCardsStyleSet.ts +7 -0
- package/src/adaptiveCards/Attachment/{AdaptiveCardAttachment.js → AdaptiveCardAttachment.tsx} +8 -2
- package/src/adaptiveCards/Attachment/AdaptiveCardBuilder.ts +27 -17
- package/src/adaptiveCards/Attachment/{AdaptiveCardContent.js → AdaptiveCardContent.tsx} +8 -2
- package/src/adaptiveCards/Attachment/AdaptiveCardRenderer.tsx +768 -0
- package/src/adaptiveCards/Attachment/{AnimationCardContent.js → AnimationCardContent.tsx} +9 -2
- package/src/adaptiveCards/Attachment/{AudioCardContent.js → AudioCardContent.tsx} +9 -2
- package/src/adaptiveCards/Attachment/CommonCard.js +2 -1
- package/src/adaptiveCards/Attachment/{HeroCardContent.js → HeroCardContent.tsx} +12 -3
- package/src/adaptiveCards/Attachment/{OAuthCardContent.js → OAuthCardContent.tsx} +11 -3
- package/src/adaptiveCards/Attachment/{ReceiptCardContent.js → ReceiptCardContent.tsx} +58 -28
- package/src/adaptiveCards/Attachment/{SignInCardContent.js → SignInCardContent.tsx} +9 -2
- package/src/adaptiveCards/Attachment/{ThumbnailCardContent.js → ThumbnailCardContent.tsx} +12 -3
- package/src/adaptiveCards/Attachment/{VideoCardContent.js → VideoCardContent.tsx} +15 -3
- package/src/adaptiveCards/Styles/StyleSet/AdaptiveCardRenderer.ts +9 -1
- package/src/adaptiveCards/Styles/adaptiveCardHostConfig.ts +28 -8
- package/src/adaptiveCards/Styles/createAdaptiveCardsStyleSet.spec.js +2 -0
- package/src/adaptiveCards/Styles/createAdaptiveCardsStyleSet.ts +7 -4
- package/src/adaptiveCards/{createAdaptiveCardsAttachmentForScreenReaderMiddleware.js → createAdaptiveCardsAttachmentForScreenReaderMiddleware.tsx} +16 -15
- package/src/adaptiveCards/createAdaptiveCardsAttachmentMiddleware.tsx +44 -0
- package/src/adaptiveCards/defaultStyleOptions.ts +2 -1
- package/src/adaptiveCards/hooks/internal/{useAdaptiveCardsContext.js → useAdaptiveCardsContext.ts} +1 -1
- package/src/adaptiveCards/hooks/internal/{useParseAdaptiveCardJSON.js → useParseAdaptiveCardJSON.ts} +5 -2
- package/src/adaptiveCards/hooks/internal/{useUniqueId.js → useUniqueId.ts} +1 -1
- package/src/adaptiveCards/hooks/{useAdaptiveCardsHostConfig.js → useAdaptiveCardsHostConfig.ts} +6 -8
- package/src/adaptiveCards/hooks/{useAdaptiveCardsPackage.js → useAdaptiveCardsPackage.ts} +2 -1
- package/src/createBrowserWebSpeechPonyfillFactory.ts +21 -0
- package/src/createCognitiveServicesSpeechServicesPonyfillFactory.spec.js +36 -6
- package/src/createCognitiveServicesSpeechServicesPonyfillFactory.ts +78 -0
- package/src/createDirectLine.ts +65 -0
- package/src/createDirectLineAppServiceExtension.ts +22 -0
- package/src/createDirectLineSpeechAdapters.ts +84 -0
- package/src/createFullStyleSet.ts +2 -2
- package/src/fullBundleDefaultStyleOptions.ts +3 -3
- package/src/hooks/useStyleOptions.ts +9 -0
- package/src/index-es5.ts +3 -28
- package/src/index-minimal.ts +3 -2
- package/src/index.ts +22 -10
- package/src/polyfill.ts +29 -0
- package/src/renderMarkdown.ts +140 -0
- package/src/renderWebChat.tsx +6 -0
- package/src/speech/CustomAudioInputStream.ts +356 -0
- package/src/speech/bytesPerSample.ts +4 -0
- package/src/speech/createAudioConfig.spec.js +23 -0
- package/src/speech/createAudioConfig.ts +77 -0
- package/src/speech/createAudioContext.ts +16 -0
- package/src/speech/createMicrophoneAudioConfigAndAudioContext.ts +146 -0
- package/src/speech/getUserMedia.ts +14 -0
- package/src/tsconfig.json +1 -1
- package/src/types/AdaptiveCardsPackage.ts +23 -0
- package/src/types/CognitiveServicesAudioOutputFormat.ts +28 -0
- package/src/types/CognitiveServicesCredentials.ts +28 -0
- package/src/types/CognitiveServicesTextNormalization.ts +3 -0
- package/src/{FullBundleStyleOptions.ts → types/FullBundleStyleOptions.ts} +1 -1
- package/src/{useComposerProps.js → useComposerProps.ts} +21 -11
- package/webpack.config.js +46 -6
- package/.eslintignore +0 -9
- package/lib/FullBundleStyleOptions.d.ts.map +0 -1
- package/src/FullComposer.js +0 -40
- package/src/FullReactWebChat.js +0 -47
- package/src/adaptiveCards/AdaptiveCardsContext.js +0 -5
- package/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js +0 -492
- package/src/adaptiveCards/createAdaptiveCardsAttachmentMiddleware.js +0 -41
- package/src/createBrowserWebSpeechPonyfillFactory.js +0 -16
- package/src/createCognitiveServicesSpeechServicesPonyfillFactory.js +0 -58
- package/src/createDirectLine.js +0 -38
- package/src/createDirectLineAppServiceExtension.js +0 -12
- package/src/createDirectLineSpeechAdapters.js +0 -5
- package/src/index-es5.tsx +0 -49
- package/src/index-minimal.tsx +0 -9
- package/src/index.tsx +0 -45
- package/src/renderMarkdown.js +0 -97
- package/src/renderWebChat.js +0 -6
|
@@ -0,0 +1,1375 @@
|
|
|
1
|
+
import FullBundleStyleOptions from './types/FullBundleStyleOptions';
|
|
2
|
+
export default function createFullStyleSet(options: FullBundleStyleOptions): {
|
|
3
|
+
adaptiveCardRenderer: any;
|
|
4
|
+
animationCardAttachment: any;
|
|
5
|
+
audioCardAttachment: any;
|
|
6
|
+
activities: {
|
|
7
|
+
margin: number;
|
|
8
|
+
padding: number;
|
|
9
|
+
};
|
|
10
|
+
audioAttachment: {
|
|
11
|
+
display: string;
|
|
12
|
+
minHeight: number;
|
|
13
|
+
};
|
|
14
|
+
audioContent: {
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
autoResizeTextArea: {
|
|
18
|
+
'&.webchat__auto-resize-textarea': {
|
|
19
|
+
fontFamily: string;
|
|
20
|
+
overflow: string;
|
|
21
|
+
position: string;
|
|
22
|
+
'& .webchat__auto-resize-textarea__doppelganger': {
|
|
23
|
+
color: string;
|
|
24
|
+
height: string;
|
|
25
|
+
overflowY: string;
|
|
26
|
+
userSelect: string;
|
|
27
|
+
width: string;
|
|
28
|
+
whiteSpace: string;
|
|
29
|
+
wordBreak: string;
|
|
30
|
+
};
|
|
31
|
+
'& .webchat__auto-resize-textarea__textarea': {
|
|
32
|
+
appearance: string;
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
border: number;
|
|
35
|
+
color: string;
|
|
36
|
+
fontFamily: string;
|
|
37
|
+
fontSize: string;
|
|
38
|
+
height: string;
|
|
39
|
+
left: number;
|
|
40
|
+
margin: number;
|
|
41
|
+
outline: number;
|
|
42
|
+
overflowY: string;
|
|
43
|
+
padding: number;
|
|
44
|
+
position: string;
|
|
45
|
+
resize: string;
|
|
46
|
+
top: number;
|
|
47
|
+
width: string;
|
|
48
|
+
wordBreak: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
avatar: {
|
|
53
|
+
'&.webchat__defaultAvatar': {
|
|
54
|
+
borderRadius: string | number;
|
|
55
|
+
height: number;
|
|
56
|
+
width: number;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
basicTranscript: {
|
|
60
|
+
'&.webchat__basic-transcript': {
|
|
61
|
+
'&:focus': {
|
|
62
|
+
outline: number;
|
|
63
|
+
'& .webchat__basic-transcript__activity-indicator.webchat__basic-transcript__activity-indicator--focus': {
|
|
64
|
+
borderColor: string;
|
|
65
|
+
borderStyle: string;
|
|
66
|
+
borderWidth: string | number;
|
|
67
|
+
boxSizing: string;
|
|
68
|
+
height: string;
|
|
69
|
+
left: number;
|
|
70
|
+
marginBottom: number;
|
|
71
|
+
marginLeft: number;
|
|
72
|
+
marginRight: number;
|
|
73
|
+
marginTop: number;
|
|
74
|
+
pointerEvents: string;
|
|
75
|
+
position: string;
|
|
76
|
+
top: number;
|
|
77
|
+
width: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
'&:focus .webchat__basic-transcript__focus-indicator, .webchat__basic-transcript__terminator:focus + .webchat__basic-transcript__focus-indicator': {
|
|
81
|
+
height: string;
|
|
82
|
+
borderColor: string;
|
|
83
|
+
borderStyle: string;
|
|
84
|
+
borderWidth: string | number;
|
|
85
|
+
boxSizing: string;
|
|
86
|
+
pointerEvents: string;
|
|
87
|
+
position: string;
|
|
88
|
+
top: number;
|
|
89
|
+
width: string;
|
|
90
|
+
};
|
|
91
|
+
'& .webchat__basic-transcript__activity': {
|
|
92
|
+
paddingTop: number;
|
|
93
|
+
position: string;
|
|
94
|
+
'&:first-child': {
|
|
95
|
+
marginTop: number;
|
|
96
|
+
};
|
|
97
|
+
'&:not(:first-child)': {
|
|
98
|
+
marginTop: number;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
'& .webchat__basic-transcript__activity-active-descendant': {
|
|
102
|
+
height: string;
|
|
103
|
+
left: number;
|
|
104
|
+
marginTop: number;
|
|
105
|
+
paddingBottom: number;
|
|
106
|
+
pointerEvents: string;
|
|
107
|
+
position: string;
|
|
108
|
+
top: number;
|
|
109
|
+
width: string;
|
|
110
|
+
};
|
|
111
|
+
'& .webchat__basic-transcript__activity-body:not(:empty)': {
|
|
112
|
+
paddingBottom: number;
|
|
113
|
+
};
|
|
114
|
+
'& .webchat__basic-transcript__terminator': {
|
|
115
|
+
bottom: number;
|
|
116
|
+
height: number;
|
|
117
|
+
outline: number;
|
|
118
|
+
position: string;
|
|
119
|
+
width: string;
|
|
120
|
+
};
|
|
121
|
+
'& .webchat__basic-transcript__terminator-body': {
|
|
122
|
+
bottom: number;
|
|
123
|
+
display: string;
|
|
124
|
+
justifyContent: string;
|
|
125
|
+
position: string;
|
|
126
|
+
width: string;
|
|
127
|
+
};
|
|
128
|
+
'& .webchat__basic-transcript__terminator:not(:focus) .webchat__basic-transcript__terminator-body': {
|
|
129
|
+
display: string;
|
|
130
|
+
};
|
|
131
|
+
'& .webchat__basic-transcript__terminator-text': {
|
|
132
|
+
backgroundColor: string;
|
|
133
|
+
borderRadius: string | number;
|
|
134
|
+
color: string;
|
|
135
|
+
fontFamily: string;
|
|
136
|
+
fontSize: string | number;
|
|
137
|
+
margin: number;
|
|
138
|
+
padding: number;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
bubble: {
|
|
143
|
+
'&.webchat__bubble': any;
|
|
144
|
+
};
|
|
145
|
+
carouselFilmStrip: {
|
|
146
|
+
'&.webchat__carousel-filmstrip': any;
|
|
147
|
+
};
|
|
148
|
+
carouselFilmStripAttachment: any;
|
|
149
|
+
carouselFlipper: {
|
|
150
|
+
'&.webchat__carousel-layout': {
|
|
151
|
+
'& .react-film__flipper': {
|
|
152
|
+
'& .react-film__flipper__body': {
|
|
153
|
+
backgroundColor: string;
|
|
154
|
+
color: string;
|
|
155
|
+
outline: number;
|
|
156
|
+
};
|
|
157
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
158
|
+
'& .react-film__flipper__body': {
|
|
159
|
+
backgroundColor: string;
|
|
160
|
+
color: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
'&:focus .react-film__flipper__body': {
|
|
164
|
+
backgroundColor: string;
|
|
165
|
+
color: string;
|
|
166
|
+
};
|
|
167
|
+
'&:hover .react-film__flipper__body': {
|
|
168
|
+
backgroundColor: string;
|
|
169
|
+
color: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
connectivityNotification: {
|
|
175
|
+
alignItems: string;
|
|
176
|
+
color: string;
|
|
177
|
+
display: string;
|
|
178
|
+
fontFamily: string;
|
|
179
|
+
fontSize: string | number;
|
|
180
|
+
marginBottom: number;
|
|
181
|
+
marginLeft: number;
|
|
182
|
+
marginRight: number;
|
|
183
|
+
marginTop: number;
|
|
184
|
+
};
|
|
185
|
+
dictationInterims: {
|
|
186
|
+
fontFamily: string;
|
|
187
|
+
margin: number;
|
|
188
|
+
paddingBottom: number;
|
|
189
|
+
paddingLeft: number;
|
|
190
|
+
paddingRight: number;
|
|
191
|
+
paddingTop: number;
|
|
192
|
+
'&.dictating > span:not(:first-child), &.status': {
|
|
193
|
+
opacity: number;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
errorBox: {
|
|
197
|
+
display: string;
|
|
198
|
+
flexDirection: string;
|
|
199
|
+
fontFamily: string;
|
|
200
|
+
margin: number;
|
|
201
|
+
minHeight: number;
|
|
202
|
+
maxHeight: number;
|
|
203
|
+
overflowY: string;
|
|
204
|
+
WebkitOverflowScrolling: string;
|
|
205
|
+
'& > :first-child': {
|
|
206
|
+
backgroundColor: string;
|
|
207
|
+
color: string;
|
|
208
|
+
padding: string;
|
|
209
|
+
};
|
|
210
|
+
'& > :last-child': {
|
|
211
|
+
borderColor: string;
|
|
212
|
+
borderStyle: string;
|
|
213
|
+
borderBottomWidth: number;
|
|
214
|
+
borderLeftWidth: number;
|
|
215
|
+
borderRightWidth: number;
|
|
216
|
+
borderTopWidth: number;
|
|
217
|
+
margin: number;
|
|
218
|
+
overflowY: string;
|
|
219
|
+
padding: number;
|
|
220
|
+
'& > pre': {
|
|
221
|
+
fontFamily: string;
|
|
222
|
+
fontSize: string;
|
|
223
|
+
margin: number;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
errorNotification: {
|
|
228
|
+
alignItems: string;
|
|
229
|
+
color: string | number;
|
|
230
|
+
display: string;
|
|
231
|
+
fontFamily: string;
|
|
232
|
+
fontSize: string | number;
|
|
233
|
+
fontWeight: string;
|
|
234
|
+
marginBottom: number;
|
|
235
|
+
marginLeft: number;
|
|
236
|
+
marginRight: number;
|
|
237
|
+
marginTop: number;
|
|
238
|
+
'& > svg': {
|
|
239
|
+
fill: string | number;
|
|
240
|
+
'&:not(.webchat__error--rtl)': {
|
|
241
|
+
paddingRight: number;
|
|
242
|
+
};
|
|
243
|
+
'&.webchat__error--rtl': {
|
|
244
|
+
paddingLeft: number;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
fileContent: {
|
|
249
|
+
color: string;
|
|
250
|
+
display: string;
|
|
251
|
+
fontFamily: string;
|
|
252
|
+
padding: number;
|
|
253
|
+
'& .webchat__fileContent__badge': {
|
|
254
|
+
justifyContent: string;
|
|
255
|
+
};
|
|
256
|
+
'& .webchat__fileContent__buttonLink': {
|
|
257
|
+
alignItems: string;
|
|
258
|
+
color: string;
|
|
259
|
+
textDecoration: string;
|
|
260
|
+
'&:focus': {
|
|
261
|
+
backgroundColor: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
'& .webchat__fileContent__downloadIcon': {
|
|
265
|
+
fill: string;
|
|
266
|
+
padding: number;
|
|
267
|
+
'&:not(.webchat__fileContent__downloadIcon--rtl)': {
|
|
268
|
+
marginLeft: number;
|
|
269
|
+
};
|
|
270
|
+
'&.webchat__fileContent__downloadIcon--rtl': {
|
|
271
|
+
marginRight: number;
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
'& .webchat__fileContent__fileName': {
|
|
275
|
+
color: string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
imageAvatar: {
|
|
279
|
+
height: number;
|
|
280
|
+
overflow: string;
|
|
281
|
+
width: number;
|
|
282
|
+
};
|
|
283
|
+
initialsAvatar: {
|
|
284
|
+
'&.webchat__initialsAvatar': {
|
|
285
|
+
alignItems: string;
|
|
286
|
+
color: string;
|
|
287
|
+
fontFamily: string;
|
|
288
|
+
height: number;
|
|
289
|
+
justifyContent: string;
|
|
290
|
+
overflow: string;
|
|
291
|
+
width: number;
|
|
292
|
+
'&.webchat__initialsAvatar--fromUser': {
|
|
293
|
+
backgroundColor: string;
|
|
294
|
+
};
|
|
295
|
+
'&:not(.webchat__initialsAvatar--fromUser)': {
|
|
296
|
+
backgroundColor: string;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
keyboardHelp: {
|
|
301
|
+
'&.webchat__keyboard-help': {
|
|
302
|
+
fontFamily: string;
|
|
303
|
+
fontSize: number;
|
|
304
|
+
height: string;
|
|
305
|
+
margin: number;
|
|
306
|
+
outline: number;
|
|
307
|
+
'&:not(.webchat__keyboard-help--shown)': {
|
|
308
|
+
height: number;
|
|
309
|
+
margin: number;
|
|
310
|
+
overflow: string;
|
|
311
|
+
pointerEvents: string;
|
|
312
|
+
width: number;
|
|
313
|
+
};
|
|
314
|
+
'& .webchat__keyboard-help__box': {
|
|
315
|
+
borderRadius: number;
|
|
316
|
+
boxShadow: string;
|
|
317
|
+
boxSizing: string;
|
|
318
|
+
height: string;
|
|
319
|
+
padding: number;
|
|
320
|
+
position: string;
|
|
321
|
+
'@media (forced-colors: active)': {
|
|
322
|
+
boxShadow: string;
|
|
323
|
+
outlineColor: string;
|
|
324
|
+
outlineStyle: string;
|
|
325
|
+
outlineWidth: number;
|
|
326
|
+
};
|
|
327
|
+
'@media (forced-colors: none) and (prefers-color-scheme: dark)': {
|
|
328
|
+
boxShadow: string;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
'& .webchat__keyboard-help__close-button': {
|
|
332
|
+
appearance: string;
|
|
333
|
+
backgroundColor: string;
|
|
334
|
+
borderColor: string;
|
|
335
|
+
borderRadius: number;
|
|
336
|
+
borderStyle: string;
|
|
337
|
+
borderWidth: number;
|
|
338
|
+
color: string;
|
|
339
|
+
height: number;
|
|
340
|
+
padding: number;
|
|
341
|
+
position: string;
|
|
342
|
+
right: number;
|
|
343
|
+
top: number;
|
|
344
|
+
width: number;
|
|
345
|
+
'@media (forced-colors: none) and (prefers-color-scheme: light)': {
|
|
346
|
+
'&:active': {
|
|
347
|
+
backgroundColor: string;
|
|
348
|
+
};
|
|
349
|
+
'&:not(:active):hover': {
|
|
350
|
+
backgroundColor: string;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
'@media (forced-colors: none) and (prefers-color-scheme: dark)': {
|
|
354
|
+
borderColor: string;
|
|
355
|
+
'&:active': {
|
|
356
|
+
backgroundColor: string;
|
|
357
|
+
};
|
|
358
|
+
'&:not(:active):hover': {
|
|
359
|
+
backgroundColor: string;
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
'& .webchat__keyboard-help__close-button_image': {
|
|
364
|
+
fill: string;
|
|
365
|
+
height: number;
|
|
366
|
+
width: number;
|
|
367
|
+
'@media (forced-colors: active)': {
|
|
368
|
+
fill: string;
|
|
369
|
+
};
|
|
370
|
+
'@media (forced-colors: none) and (prefers-color-scheme: dark)': {
|
|
371
|
+
fill: string;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
'& .webchat__keyboard-help__header, & .webchat__keyboard-help__sub-header': {
|
|
375
|
+
marginBottom: number;
|
|
376
|
+
marginTop: number;
|
|
377
|
+
};
|
|
378
|
+
'& .webchat__keyboard-help__section': {
|
|
379
|
+
marginBottom: number;
|
|
380
|
+
};
|
|
381
|
+
'& .webchat__keyboard-help__two-panes': {
|
|
382
|
+
alignItems: string;
|
|
383
|
+
display: string;
|
|
384
|
+
};
|
|
385
|
+
'& .webchat__keyboard-help__image': {
|
|
386
|
+
flexShrink: number;
|
|
387
|
+
paddingRight: number;
|
|
388
|
+
};
|
|
389
|
+
'& .webchat__keyboard-help__image--dark, & .webchat__keyboard-help__image--high-contrast': {
|
|
390
|
+
display: string;
|
|
391
|
+
};
|
|
392
|
+
'@media (forced-colors: active)': {
|
|
393
|
+
'& .webchat__keyboard-help__image--dark, & .webchat__keyboard-help__image--light': {
|
|
394
|
+
display: string;
|
|
395
|
+
};
|
|
396
|
+
'& .webchat__keyboard-help__image--high-contrast': {
|
|
397
|
+
display: string;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
'@media (forced-colors: none) and (prefers-color-scheme: dark)': {
|
|
401
|
+
backgroundColor: string;
|
|
402
|
+
color: string;
|
|
403
|
+
'& .webchat__keyboard-help__image--light': {
|
|
404
|
+
display: string;
|
|
405
|
+
};
|
|
406
|
+
'& .webchat__keyboard-help__image--dark': {
|
|
407
|
+
display: string;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
'& .webchat__keyboard-help__notes': {
|
|
411
|
+
marginBottom: number;
|
|
412
|
+
};
|
|
413
|
+
'& .webchat__keyboard-help__notes-header': {
|
|
414
|
+
margin: number;
|
|
415
|
+
};
|
|
416
|
+
'& .webchat__keyboard-help__notes-text': {
|
|
417
|
+
margin: number;
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
microphoneButton: {
|
|
422
|
+
'&.webchat__microphone-button': {
|
|
423
|
+
'&.webchat__microphone-button--dictating .webchat__microphone-button__button': {
|
|
424
|
+
'&, &:focus, &:hover': {
|
|
425
|
+
'& .webchat__microphone-button__icon': {
|
|
426
|
+
fill: string;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
options: {
|
|
433
|
+
accent: string;
|
|
434
|
+
backgroundColor: string;
|
|
435
|
+
subtle: string;
|
|
436
|
+
paddingRegular: number;
|
|
437
|
+
paddingWide: number;
|
|
438
|
+
transitionDuration: string;
|
|
439
|
+
fontSizeSmall: string | number;
|
|
440
|
+
monospaceFont: string;
|
|
441
|
+
primaryFont: string;
|
|
442
|
+
rootHeight: string | number;
|
|
443
|
+
rootWidth: string | number;
|
|
444
|
+
rootZIndex: number;
|
|
445
|
+
avatarBorderRadius: string | number;
|
|
446
|
+
avatarSize: number;
|
|
447
|
+
botAvatarBackgroundColor: string;
|
|
448
|
+
botAvatarImage: string;
|
|
449
|
+
botAvatarInitials: string;
|
|
450
|
+
userAvatarBackgroundColor: string;
|
|
451
|
+
userAvatarImage: string;
|
|
452
|
+
userAvatarInitials: string;
|
|
453
|
+
showAvatarInGroup: true | "sender" | "status";
|
|
454
|
+
bubbleBackground: string;
|
|
455
|
+
bubbleBorderColor: string;
|
|
456
|
+
bubbleBorderRadius: number;
|
|
457
|
+
bubbleBorderStyle: string;
|
|
458
|
+
bubbleBorderWidth: number;
|
|
459
|
+
bubbleFromUserBackground: string;
|
|
460
|
+
bubbleFromUserBorderColor: string;
|
|
461
|
+
bubbleFromUserBorderRadius: number;
|
|
462
|
+
bubbleFromUserBorderStyle: string;
|
|
463
|
+
bubbleFromUserBorderWidth: number;
|
|
464
|
+
bubbleFromUserNubOffset: number;
|
|
465
|
+
bubbleFromUserNubSize: number;
|
|
466
|
+
bubbleFromUserTextColor: string;
|
|
467
|
+
bubbleImageHeight: number;
|
|
468
|
+
bubbleMaxWidth: number;
|
|
469
|
+
bubbleMinHeight: number;
|
|
470
|
+
bubbleMinWidth: number;
|
|
471
|
+
bubbleNubOffset: number;
|
|
472
|
+
bubbleNubSize: number;
|
|
473
|
+
bubbleTextColor: string;
|
|
474
|
+
messageActivityWordBreak: "normal" | "break-all" | "break-word" | "keep-all";
|
|
475
|
+
connectivityIconPadding: number;
|
|
476
|
+
connectivityMarginLeftRight: number;
|
|
477
|
+
connectivityMarginTopBottom: number;
|
|
478
|
+
connectivityTextSize: string | number;
|
|
479
|
+
failedConnectivity: string | number;
|
|
480
|
+
slowConnectivity: string;
|
|
481
|
+
notificationText: string;
|
|
482
|
+
slowConnectionAfter: number;
|
|
483
|
+
emojiSet: (boolean | Record<string, string>) & (false | Record<string, string>);
|
|
484
|
+
internalLiveRegionFadeAfter: number;
|
|
485
|
+
markdownRespectCRLF: boolean;
|
|
486
|
+
markdownExternalLinkIconImage: string;
|
|
487
|
+
autoScrollSnapOnActivity: number | boolean;
|
|
488
|
+
autoScrollSnapOnActivityOffset: number;
|
|
489
|
+
autoScrollSnapOnPage: number | boolean;
|
|
490
|
+
autoScrollSnapOnPageOffset: number;
|
|
491
|
+
hideSendBox: boolean;
|
|
492
|
+
hideUploadButton: boolean;
|
|
493
|
+
microphoneButtonColorOnDictate: string;
|
|
494
|
+
sendBoxBackground: string;
|
|
495
|
+
sendBoxButtonColor: string;
|
|
496
|
+
sendBoxButtonShadeBorderRadius: number;
|
|
497
|
+
sendBoxButtonShadeColor: string;
|
|
498
|
+
sendBoxButtonShadeInset: number;
|
|
499
|
+
sendBoxButtonColorOnActive: string;
|
|
500
|
+
sendBoxButtonShadeColorOnActive: string;
|
|
501
|
+
sendBoxButtonColorOnDisabled: string;
|
|
502
|
+
sendBoxButtonShadeColorOnDisabled: string;
|
|
503
|
+
sendBoxButtonColorOnFocus: string;
|
|
504
|
+
sendBoxButtonShadeColorOnFocus: string;
|
|
505
|
+
sendBoxButtonColorOnHover: string;
|
|
506
|
+
sendBoxButtonShadeColorOnHover: string;
|
|
507
|
+
sendBoxButtonKeyboardFocusIndicatorBorderColor: string;
|
|
508
|
+
sendBoxButtonKeyboardFocusIndicatorBorderRadius: string | number;
|
|
509
|
+
sendBoxButtonKeyboardFocusIndicatorBorderStyle: string;
|
|
510
|
+
sendBoxButtonKeyboardFocusIndicatorBorderWidth: number;
|
|
511
|
+
sendBoxButtonKeyboardFocusIndicatorInset: number;
|
|
512
|
+
sendBoxDisabledTextColor: string;
|
|
513
|
+
sendBoxHeight: string | number;
|
|
514
|
+
sendBoxMaxHeight: string | number;
|
|
515
|
+
sendBoxTextColor: string;
|
|
516
|
+
sendBoxBorderBottom: string | number;
|
|
517
|
+
sendBoxBorderLeft: string | number;
|
|
518
|
+
sendBoxBorderRight: string | number;
|
|
519
|
+
sendBoxBorderTop: string | number;
|
|
520
|
+
sendBoxPlaceholderColor: string;
|
|
521
|
+
sendBoxTextWrap: boolean;
|
|
522
|
+
sendBoxButtonAlignment: "stretch" | "bottom" | "top";
|
|
523
|
+
showSpokenText: boolean;
|
|
524
|
+
spinnerAnimationBackgroundImage: string;
|
|
525
|
+
spinnerAnimationHeight: string | number;
|
|
526
|
+
spinnerAnimationWidth: string | number;
|
|
527
|
+
spinnerAnimationPadding: string | number;
|
|
528
|
+
suggestedActionBorderRadius: string | number;
|
|
529
|
+
suggestedActionBackground: string;
|
|
530
|
+
suggestedActionBackgroundColor: string;
|
|
531
|
+
suggestedActionBorderColor: string;
|
|
532
|
+
suggestedActionBorderStyle: string;
|
|
533
|
+
suggestedActionBorderWidth: number;
|
|
534
|
+
suggestedActionTextColor: string;
|
|
535
|
+
suggestedActionBackgroundColorOnDisabled: string;
|
|
536
|
+
suggestedActionBorderColorOnDisabled: string;
|
|
537
|
+
suggestedActionBorderStyleOnDisabled: string;
|
|
538
|
+
suggestedActionBorderWidthOnDisabled: number;
|
|
539
|
+
suggestedActionTextColorOnDisabled: string;
|
|
540
|
+
suggestedActionBackgroundColorOnActive: string;
|
|
541
|
+
suggestedActionBorderColorOnActive: string;
|
|
542
|
+
suggestedActionBorderStyleOnActive: string;
|
|
543
|
+
suggestedActionBorderWidthOnActive: number;
|
|
544
|
+
suggestedActionTextColorOnActive: string;
|
|
545
|
+
suggestedActionBackgroundColorOnFocus: string;
|
|
546
|
+
suggestedActionBorderColorOnFocus: string;
|
|
547
|
+
suggestedActionBorderStyleOnFocus: string;
|
|
548
|
+
suggestedActionBorderWidthOnFocus: number;
|
|
549
|
+
suggestedActionTextColorOnFocus: string;
|
|
550
|
+
suggestedActionBackgroundColorOnHover: string;
|
|
551
|
+
suggestedActionBorderColorOnHover: string;
|
|
552
|
+
suggestedActionBorderStyleOnHover: string;
|
|
553
|
+
suggestedActionBorderWidthOnHover: number;
|
|
554
|
+
suggestedActionTextColorOnHover: string;
|
|
555
|
+
suggestedActionDisabledBackground: string;
|
|
556
|
+
suggestedActionDisabledBorderColor: string;
|
|
557
|
+
suggestedActionDisabledBorderStyle: string;
|
|
558
|
+
suggestedActionDisabledBorderWidth: number;
|
|
559
|
+
suggestedActionDisabledTextColor: string;
|
|
560
|
+
suggestedActionHeight: string | number;
|
|
561
|
+
suggestedActionImageHeight: string | number;
|
|
562
|
+
suggestedActionLayout: "carousel" | "flow" | "stacked";
|
|
563
|
+
suggestedActionKeyboardFocusIndicatorBorderColor: string;
|
|
564
|
+
suggestedActionKeyboardFocusIndicatorBorderRadius: string | number;
|
|
565
|
+
suggestedActionKeyboardFocusIndicatorBorderStyle: string;
|
|
566
|
+
suggestedActionKeyboardFocusIndicatorBorderWidth: number;
|
|
567
|
+
suggestedActionKeyboardFocusIndicatorInset: number;
|
|
568
|
+
suggestedActionActiveBackground: string;
|
|
569
|
+
suggestedActionFocusBackground: string;
|
|
570
|
+
suggestedActionHoverBackground: string;
|
|
571
|
+
suggestedActionsCarouselFlipperCursor: string;
|
|
572
|
+
suggestedActionsCarouselFlipperBoxWidth: number;
|
|
573
|
+
suggestedActionsCarouselFlipperSize: number;
|
|
574
|
+
suggestedActionsFlowMaxHeight: undefined;
|
|
575
|
+
suggestedActionsStackedHeight: number | "auto";
|
|
576
|
+
suggestedActionsStackedOverflow: "auto" | "hidden" | "scroll" | "visible";
|
|
577
|
+
suggestedActionsStackedLayoutButtonMaxHeight: string | number;
|
|
578
|
+
suggestedActionsStackedLayoutButtonTextWrap: boolean;
|
|
579
|
+
groupTimestamp: number | boolean;
|
|
580
|
+
sendTimeout: number | ((activity: any) => number);
|
|
581
|
+
sendTimeoutForAttachments: number;
|
|
582
|
+
timestampColor: string;
|
|
583
|
+
timestampFormat: "absolute" | "relative";
|
|
584
|
+
transcriptTerminatorBackgroundColor: string;
|
|
585
|
+
transcriptTerminatorBorderRadius: string | number;
|
|
586
|
+
transcriptTerminatorColor: string;
|
|
587
|
+
transcriptTerminatorFontSize: string | number;
|
|
588
|
+
transcriptActivityVisualKeyboardIndicatorColor: string;
|
|
589
|
+
transcriptActivityVisualKeyboardIndicatorStyle: string;
|
|
590
|
+
transcriptActivityVisualKeyboardIndicatorWidth: string | number;
|
|
591
|
+
transcriptVisualKeyboardIndicatorColor: string;
|
|
592
|
+
transcriptVisualKeyboardIndicatorStyle: string;
|
|
593
|
+
transcriptVisualKeyboardIndicatorWidth: string | number;
|
|
594
|
+
scrollToEndButtonBehavior: false | "any" | "unread";
|
|
595
|
+
scrollToEndButtonFontSize: string | number;
|
|
596
|
+
transcriptOverlayButtonBackground: string;
|
|
597
|
+
transcriptOverlayButtonBackgroundOnDisabled: string;
|
|
598
|
+
transcriptOverlayButtonBackgroundOnFocus: string;
|
|
599
|
+
transcriptOverlayButtonBackgroundOnHover: string;
|
|
600
|
+
transcriptOverlayButtonColor: string;
|
|
601
|
+
transcriptOverlayButtonColorOnDisabled: string;
|
|
602
|
+
transcriptOverlayButtonColorOnFocus: string;
|
|
603
|
+
transcriptOverlayButtonColorOnHover: string;
|
|
604
|
+
notificationDebounceTimeout: number;
|
|
605
|
+
hideToaster: boolean;
|
|
606
|
+
toasterHeight: string | number;
|
|
607
|
+
toasterMaxHeight: string | number;
|
|
608
|
+
toasterSingularMaxHeight: string | number;
|
|
609
|
+
toastFontSize: string | number;
|
|
610
|
+
toastIconWidth: string | number;
|
|
611
|
+
toastSeparatorColor: string;
|
|
612
|
+
toastTextPadding: string | number;
|
|
613
|
+
toastErrorBackgroundColor: string;
|
|
614
|
+
toastErrorColor: string;
|
|
615
|
+
toastInfoBackgroundColor: string;
|
|
616
|
+
toastInfoColor: string;
|
|
617
|
+
toastSuccessBackgroundColor: string;
|
|
618
|
+
toastSuccessColor: string;
|
|
619
|
+
toastWarnBackgroundColor: string;
|
|
620
|
+
toastWarnColor: string;
|
|
621
|
+
typingAnimationBackgroundImage: string;
|
|
622
|
+
typingAnimationDuration: number;
|
|
623
|
+
typingAnimationHeight: string | number;
|
|
624
|
+
typingAnimationWidth: string | number;
|
|
625
|
+
enableUploadThumbnail: boolean;
|
|
626
|
+
uploadThumbnailContentType: string;
|
|
627
|
+
uploadThumbnailHeight: string | number;
|
|
628
|
+
uploadThumbnailQuality: number;
|
|
629
|
+
uploadThumbnailWidth: string | number;
|
|
630
|
+
videoHeight: string | number;
|
|
631
|
+
};
|
|
632
|
+
root: {
|
|
633
|
+
backgroundColor: string;
|
|
634
|
+
height: string | number;
|
|
635
|
+
width: string | number;
|
|
636
|
+
zIndex: number;
|
|
637
|
+
};
|
|
638
|
+
scrollToEndButton: {
|
|
639
|
+
'&.webchat__scroll-to-end-button': {
|
|
640
|
+
'@media screen and (forced-colors: active)': {
|
|
641
|
+
borderWidth: string;
|
|
642
|
+
outline: string;
|
|
643
|
+
};
|
|
644
|
+
appearance: string;
|
|
645
|
+
backgroundColor: string;
|
|
646
|
+
borderRadius: number;
|
|
647
|
+
borderWidth: number;
|
|
648
|
+
bottom: number;
|
|
649
|
+
color: string;
|
|
650
|
+
fontFamily: string;
|
|
651
|
+
fontSize: string | number;
|
|
652
|
+
outline: number;
|
|
653
|
+
padding: number;
|
|
654
|
+
position: string;
|
|
655
|
+
zIndex: number;
|
|
656
|
+
'&:hover': {
|
|
657
|
+
backgroundColor: string;
|
|
658
|
+
color: string;
|
|
659
|
+
};
|
|
660
|
+
'&:focus': {
|
|
661
|
+
backgroundColor: string;
|
|
662
|
+
color: string;
|
|
663
|
+
};
|
|
664
|
+
'&:not(.webchat__scroll-to-end-button--rtl)': {
|
|
665
|
+
right: number;
|
|
666
|
+
};
|
|
667
|
+
'&.webchat__scroll-to-end-button--rtl': {
|
|
668
|
+
left: number;
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
sendBox: {
|
|
673
|
+
'&.webchat__send-box': {
|
|
674
|
+
'& .webchat__send-box__button--align-bottom': {
|
|
675
|
+
alignSelf: string;
|
|
676
|
+
};
|
|
677
|
+
'& .webchat__send-box__button--align-stretch': {
|
|
678
|
+
alignSelf: string;
|
|
679
|
+
};
|
|
680
|
+
'& .webchat__send-box__button--align-top': {
|
|
681
|
+
alignSelf: string;
|
|
682
|
+
};
|
|
683
|
+
'& .webchat__send-box__main': {
|
|
684
|
+
alignItems: string;
|
|
685
|
+
backgroundColor: string;
|
|
686
|
+
borderBottom: string | number;
|
|
687
|
+
borderLeft: string | number;
|
|
688
|
+
borderRight: string | number;
|
|
689
|
+
borderTop: string | number;
|
|
690
|
+
minHeight: string | number;
|
|
691
|
+
};
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
sendBoxButton: {
|
|
695
|
+
'&.webchat__icon-button': {
|
|
696
|
+
alignItems: string;
|
|
697
|
+
appearance: string;
|
|
698
|
+
backgroundColor: string;
|
|
699
|
+
border: number;
|
|
700
|
+
display: string;
|
|
701
|
+
fill: string;
|
|
702
|
+
justifyContent: string;
|
|
703
|
+
outline: number;
|
|
704
|
+
padding: number;
|
|
705
|
+
position: string;
|
|
706
|
+
width: string | number;
|
|
707
|
+
'&:not(.webchat__icon-button--stretch)': {
|
|
708
|
+
height: string | number;
|
|
709
|
+
};
|
|
710
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
711
|
+
fill: string;
|
|
712
|
+
'& .webchat__icon-button__shade': {
|
|
713
|
+
backgroundColor: string;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
'&:not(:disabled):not([aria-disabled="true"])': {
|
|
717
|
+
'&:active': {
|
|
718
|
+
fill: string;
|
|
719
|
+
'& .webchat__icon-button__shade': {
|
|
720
|
+
backgroundColor: string;
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
'&:not(:active)': {
|
|
724
|
+
'&:hover': {
|
|
725
|
+
fill: string;
|
|
726
|
+
'& .webchat__icon-button__shade': {
|
|
727
|
+
backgroundColor: string;
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
'&:not(:hover)': {
|
|
731
|
+
'&:focus': {
|
|
732
|
+
fill: string;
|
|
733
|
+
'& .webchat__icon-button__shade': {
|
|
734
|
+
backgroundColor: string;
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
'&:not(:focus-visible) .webchat__icon-button__keyboard-focus-indicator': {
|
|
741
|
+
display: string;
|
|
742
|
+
};
|
|
743
|
+
'&:not(.webchat__icon-button--focus-visible) .webchat__icon-button__keyboard-focus-indicator': {
|
|
744
|
+
display: string;
|
|
745
|
+
};
|
|
746
|
+
'& > *': {
|
|
747
|
+
position: string;
|
|
748
|
+
};
|
|
749
|
+
'& .webchat__icon-button__shade': {
|
|
750
|
+
backgroundColor: string;
|
|
751
|
+
borderRadius: number;
|
|
752
|
+
bottom: number;
|
|
753
|
+
left: number;
|
|
754
|
+
position: string;
|
|
755
|
+
right: number;
|
|
756
|
+
top: number;
|
|
757
|
+
};
|
|
758
|
+
'& .webchat__icon-button__keyboard-focus-indicator': {
|
|
759
|
+
borderColor: string;
|
|
760
|
+
borderRadius: string | number;
|
|
761
|
+
borderStyle: string;
|
|
762
|
+
borderWidth: number;
|
|
763
|
+
bottom: number;
|
|
764
|
+
left: number;
|
|
765
|
+
position: string;
|
|
766
|
+
right: number;
|
|
767
|
+
top: number;
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
sendBoxTextBox: {
|
|
772
|
+
'&.webchat__send-box-text-box': {
|
|
773
|
+
alignItems: string;
|
|
774
|
+
fontFamily: string;
|
|
775
|
+
padding: number;
|
|
776
|
+
position: string;
|
|
777
|
+
'& .webchat__send-box-text-box__input': {
|
|
778
|
+
border: number;
|
|
779
|
+
fontFamily: string;
|
|
780
|
+
fontSize: string;
|
|
781
|
+
height: string;
|
|
782
|
+
outline: number;
|
|
783
|
+
padding: number;
|
|
784
|
+
};
|
|
785
|
+
'& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__html-text-area': {
|
|
786
|
+
backgroundColor: string;
|
|
787
|
+
'&:not(:disabled):not([aria-disabled="true"])': {
|
|
788
|
+
color: string;
|
|
789
|
+
};
|
|
790
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
791
|
+
color: string;
|
|
792
|
+
};
|
|
793
|
+
'&::placeholder': {
|
|
794
|
+
color: string;
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
'& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__text-area': {
|
|
798
|
+
maxHeight: string | number;
|
|
799
|
+
};
|
|
800
|
+
'& .webchat__send-box-text-box__glass': {
|
|
801
|
+
height: string;
|
|
802
|
+
left: number;
|
|
803
|
+
position: string;
|
|
804
|
+
top: number;
|
|
805
|
+
userSelect: number;
|
|
806
|
+
width: string;
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
sendStatus: {
|
|
811
|
+
color: string;
|
|
812
|
+
fontFamily: string;
|
|
813
|
+
fontSize: string | number;
|
|
814
|
+
paddingTop: number;
|
|
815
|
+
};
|
|
816
|
+
singleAttachmentActivity: {
|
|
817
|
+
'& > .bubble-box': {
|
|
818
|
+
maxWidth: number;
|
|
819
|
+
minWidth: number;
|
|
820
|
+
};
|
|
821
|
+
'& > .filler': {
|
|
822
|
+
minWidth: number;
|
|
823
|
+
};
|
|
824
|
+
};
|
|
825
|
+
spinnerAnimation: {
|
|
826
|
+
backgroundImage: string;
|
|
827
|
+
backgroundRepeat: string;
|
|
828
|
+
backgroundSize: string;
|
|
829
|
+
height: string | number;
|
|
830
|
+
width: string | number;
|
|
831
|
+
':not(.webchat__spinner--rtl)': {
|
|
832
|
+
marginRight: string | number;
|
|
833
|
+
};
|
|
834
|
+
'.webchat__spinner--rtl': {
|
|
835
|
+
marginLeft: string | number;
|
|
836
|
+
};
|
|
837
|
+
};
|
|
838
|
+
stackedLayout: {
|
|
839
|
+
'&.webchat__stacked-layout': {
|
|
840
|
+
marginLeft: number;
|
|
841
|
+
marginRight: number;
|
|
842
|
+
'& .webchat__stacked-layout__alignment-pad': {
|
|
843
|
+
transitionDuration: string;
|
|
844
|
+
transitionProperty: string;
|
|
845
|
+
width: number;
|
|
846
|
+
};
|
|
847
|
+
'&.webchat__stacked-layout--extra-trailing .webchat__stacked-layout__alignment-pad': {
|
|
848
|
+
width: number;
|
|
849
|
+
};
|
|
850
|
+
'& .webchat__stacked-layout__avatar-gutter': {
|
|
851
|
+
transitionDuration: string;
|
|
852
|
+
transitionProperty: string;
|
|
853
|
+
width: number;
|
|
854
|
+
};
|
|
855
|
+
'& .webchat__stacked-layout__attachment': {
|
|
856
|
+
maxWidth: number;
|
|
857
|
+
minWidth: number;
|
|
858
|
+
transitionDuration: string;
|
|
859
|
+
transitionProperty: string;
|
|
860
|
+
};
|
|
861
|
+
'& .webchat__stacked-layout__attachment-row': {
|
|
862
|
+
marginTop: number;
|
|
863
|
+
width: string;
|
|
864
|
+
};
|
|
865
|
+
'&.webchat__stacked-layout--no-message .webchat__stacked-layout__attachment-row.webchat__stacked-layout__attachment-row--first': {
|
|
866
|
+
marginTop: number;
|
|
867
|
+
};
|
|
868
|
+
'& .webchat__stacked-layout__message': {
|
|
869
|
+
maxWidth: number;
|
|
870
|
+
overflow: string;
|
|
871
|
+
transitionDuration: string;
|
|
872
|
+
transitionProperty: string;
|
|
873
|
+
};
|
|
874
|
+
'& .webchat__stacked-layout__nub-pad': {
|
|
875
|
+
transitionDuration: string;
|
|
876
|
+
transitionProperty: string;
|
|
877
|
+
width: number;
|
|
878
|
+
};
|
|
879
|
+
'&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar': {
|
|
880
|
+
'& .webchat__stacked-layout__avatar-gutter': {
|
|
881
|
+
width: number;
|
|
882
|
+
};
|
|
883
|
+
};
|
|
884
|
+
'&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar, &.webchat__stacked-layout--hide-nub, &.webchat__stacked-layout--show-nub': {
|
|
885
|
+
'& .webchat__stacked-layout__attachment, & .webchat__stacked-layout__message': {
|
|
886
|
+
maxWidth: number;
|
|
887
|
+
};
|
|
888
|
+
'& .webchat__stacked-layout__nub-pad': {
|
|
889
|
+
width: number;
|
|
890
|
+
};
|
|
891
|
+
};
|
|
892
|
+
'&:not(.webchat__stacked-layout--top-callout)': {
|
|
893
|
+
'& .webchat__stacked-layout__avatar-gutter, & .webchat__stacked-layout__content': {
|
|
894
|
+
justifyContent: string;
|
|
895
|
+
};
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
suggestedAction: {
|
|
900
|
+
'&.webchat__suggested-action': {
|
|
901
|
+
alignItems: string;
|
|
902
|
+
background: string;
|
|
903
|
+
backgroundColor: string;
|
|
904
|
+
borderColor: string;
|
|
905
|
+
borderRadius: string | number;
|
|
906
|
+
borderStyle: string;
|
|
907
|
+
borderWidth: number;
|
|
908
|
+
color: string;
|
|
909
|
+
fontFamily: string;
|
|
910
|
+
fontSize: string;
|
|
911
|
+
height: string | number;
|
|
912
|
+
justifyContent: string;
|
|
913
|
+
maxWidth: string;
|
|
914
|
+
outline: number;
|
|
915
|
+
paddingLeft: number;
|
|
916
|
+
paddingRight: number;
|
|
917
|
+
position: string;
|
|
918
|
+
whiteSpace: string;
|
|
919
|
+
width: string;
|
|
920
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
921
|
+
background: string;
|
|
922
|
+
backgroundColor: string;
|
|
923
|
+
borderColor: string;
|
|
924
|
+
borderStyle: string;
|
|
925
|
+
borderWidth: number;
|
|
926
|
+
color: string;
|
|
927
|
+
};
|
|
928
|
+
'&:not(:disabled):not([aria-disabled="true"])': {
|
|
929
|
+
'&:active': {
|
|
930
|
+
background: string;
|
|
931
|
+
backgroundColor: string;
|
|
932
|
+
borderColor: string;
|
|
933
|
+
borderStyle: string;
|
|
934
|
+
borderWidth: number;
|
|
935
|
+
color: string;
|
|
936
|
+
};
|
|
937
|
+
'&:not(:active)': {
|
|
938
|
+
'&:hover': {
|
|
939
|
+
background: string;
|
|
940
|
+
backgroundColor: string;
|
|
941
|
+
borderColor: string;
|
|
942
|
+
borderStyle: string;
|
|
943
|
+
borderWidth: number;
|
|
944
|
+
color: string;
|
|
945
|
+
};
|
|
946
|
+
'&:not(:hover)': {
|
|
947
|
+
'&:focus': {
|
|
948
|
+
background: string;
|
|
949
|
+
backgroundColor: string;
|
|
950
|
+
borderColor: string;
|
|
951
|
+
borderStyle: string;
|
|
952
|
+
borderWidth: number;
|
|
953
|
+
color: string;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
'&:not(:focus-visible) .webchat__suggested-action__keyboard-focus-indicator': {
|
|
959
|
+
display: string;
|
|
960
|
+
};
|
|
961
|
+
'&:not(.webchat__suggested-action--focus-visible) .webchat__suggested-action__keyboard-focus-indicator': {
|
|
962
|
+
display: string;
|
|
963
|
+
};
|
|
964
|
+
'&:not(.webchat__suggested-action--rtl) .webchat__suggested-action__image + .webchat__suggested-action__text': {
|
|
965
|
+
paddingLeft: number;
|
|
966
|
+
};
|
|
967
|
+
'&.webchat__suggested-action--rtl .webchat__suggested-action__image + .webchat__suggested-action__text': {
|
|
968
|
+
paddingRight: number;
|
|
969
|
+
};
|
|
970
|
+
'&.webchat__suggested-action--wrapping': {
|
|
971
|
+
height: string;
|
|
972
|
+
maxHeight: string | number;
|
|
973
|
+
minHeight: string | number;
|
|
974
|
+
};
|
|
975
|
+
'& .webchat__suggested-action__image': {
|
|
976
|
+
height: string | number;
|
|
977
|
+
};
|
|
978
|
+
'& .webchat__suggested-action__keyboard-focus-indicator': {
|
|
979
|
+
borderColor: string;
|
|
980
|
+
borderRadius: string | number;
|
|
981
|
+
borderStyle: string;
|
|
982
|
+
borderWidth: number;
|
|
983
|
+
bottom: number;
|
|
984
|
+
left: number;
|
|
985
|
+
position: string;
|
|
986
|
+
right: number;
|
|
987
|
+
top: number;
|
|
988
|
+
};
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
suggestedActions: {
|
|
992
|
+
'&.webchat__suggested-actions': {
|
|
993
|
+
'&.webchat__suggested-actions--carousel-layout': {
|
|
994
|
+
'& .webchat__suggested-actions__carousel': {
|
|
995
|
+
paddingBottom: number;
|
|
996
|
+
paddingTop: number;
|
|
997
|
+
'& .webchat__suggested-actions__item-box': {
|
|
998
|
+
paddingBottom: number;
|
|
999
|
+
paddingLeft: number;
|
|
1000
|
+
paddingRight: number;
|
|
1001
|
+
paddingTop: number;
|
|
1002
|
+
};
|
|
1003
|
+
'& .react-film__filmstrip': {
|
|
1004
|
+
scrollbarWidth: string;
|
|
1005
|
+
};
|
|
1006
|
+
'& .react-film__flipper': {
|
|
1007
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
1008
|
+
'& .react-film__flipper__body': {
|
|
1009
|
+
backgroundColor: string;
|
|
1010
|
+
color: string;
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
|
+
'&:focus .react-film__flipper__body': {
|
|
1014
|
+
backgroundColor: string;
|
|
1015
|
+
color: string;
|
|
1016
|
+
};
|
|
1017
|
+
'&:hover .react-film__flipper__body': {
|
|
1018
|
+
backgroundColor: string;
|
|
1019
|
+
color: string;
|
|
1020
|
+
};
|
|
1021
|
+
'& .react-film__flipper__body': {
|
|
1022
|
+
background: string;
|
|
1023
|
+
color: string;
|
|
1024
|
+
outline: number;
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
'&:not(.webchat__suggested-actions--rtl)': {
|
|
1029
|
+
'& .react-film__filmstrip__item:first-child': {
|
|
1030
|
+
paddingLeft: number;
|
|
1031
|
+
};
|
|
1032
|
+
'& .react-film__filmstrip__item:last-child': {
|
|
1033
|
+
paddingRight: number;
|
|
1034
|
+
};
|
|
1035
|
+
'& .react-film__flipper + .react-film__filmstrip': {
|
|
1036
|
+
'& .react-film__filmstrip__item:first-child': {
|
|
1037
|
+
paddingLeft: number;
|
|
1038
|
+
};
|
|
1039
|
+
'& .react-film__filmstrip__item:last-child': {
|
|
1040
|
+
paddingRight: number;
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
};
|
|
1044
|
+
'&.webchat__suggested-actions--rtl': {
|
|
1045
|
+
'& .react-film__filmstrip__item:first-child': {
|
|
1046
|
+
paddingRight: number;
|
|
1047
|
+
};
|
|
1048
|
+
'& .react-film__filmstrip__item:last-child': {
|
|
1049
|
+
paddingLeft: number;
|
|
1050
|
+
};
|
|
1051
|
+
'& .react-film__flipper + .react-film__filmstrip': {
|
|
1052
|
+
'& .react-film__filmstrip__item:first-child': {
|
|
1053
|
+
paddingRight: number;
|
|
1054
|
+
};
|
|
1055
|
+
'& .react-film__filmstrip__item:last-child': {
|
|
1056
|
+
paddingLeft: number;
|
|
1057
|
+
};
|
|
1058
|
+
};
|
|
1059
|
+
};
|
|
1060
|
+
};
|
|
1061
|
+
'&.webchat__suggested-actions--flow-layout': {
|
|
1062
|
+
'& .webchat__suggested-actions__flow-box': {
|
|
1063
|
+
maxHeight: undefined;
|
|
1064
|
+
overflowY: string;
|
|
1065
|
+
paddingBottom: number;
|
|
1066
|
+
paddingLeft: number;
|
|
1067
|
+
paddingRight: number;
|
|
1068
|
+
paddingTop: number;
|
|
1069
|
+
};
|
|
1070
|
+
'& .webchat__suggested-actions__flow-item-box': {
|
|
1071
|
+
maxWidth: string;
|
|
1072
|
+
overflow: string;
|
|
1073
|
+
};
|
|
1074
|
+
'& .webchat__suggested-actions__item-box': {
|
|
1075
|
+
paddingBottom: number;
|
|
1076
|
+
paddingLeft: number;
|
|
1077
|
+
paddingRight: number;
|
|
1078
|
+
paddingTop: number;
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
'&.webchat__suggested-actions--stacked-layout': {
|
|
1082
|
+
'& .webchat__suggested-actions__stack': {
|
|
1083
|
+
maxHeight: number | "auto";
|
|
1084
|
+
overflowY: "auto" | "hidden" | "scroll" | "visible";
|
|
1085
|
+
paddingBottom: number;
|
|
1086
|
+
paddingLeft: number;
|
|
1087
|
+
paddingRight: number;
|
|
1088
|
+
paddingTop: number;
|
|
1089
|
+
};
|
|
1090
|
+
'& .webchat__suggested-actions__item-box': {
|
|
1091
|
+
paddingBottom: number;
|
|
1092
|
+
paddingLeft: number;
|
|
1093
|
+
paddingRight: number;
|
|
1094
|
+
paddingTop: number;
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
'&.webchat__suggested-actions--flow-layout, &.webchat__suggested-actions--stacked-layout': {
|
|
1098
|
+
'& .webchat__suggested-actions__button-text': {
|
|
1099
|
+
overflow: string;
|
|
1100
|
+
textOverflow: string;
|
|
1101
|
+
};
|
|
1102
|
+
'& .webchat__suggested-actions__button-text-stacked-text-wrap': {
|
|
1103
|
+
alignItems: string;
|
|
1104
|
+
display: string;
|
|
1105
|
+
whiteSpace: string;
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
'& .webchat__suggested-actions__item-box': {
|
|
1109
|
+
display: string;
|
|
1110
|
+
maxWidth: string;
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
};
|
|
1114
|
+
textContent: {
|
|
1115
|
+
fontFamily: string;
|
|
1116
|
+
margin: number;
|
|
1117
|
+
minHeight: number;
|
|
1118
|
+
padding: number;
|
|
1119
|
+
'& > :first-child': {
|
|
1120
|
+
marginTop: number;
|
|
1121
|
+
};
|
|
1122
|
+
'& > :last-child': {
|
|
1123
|
+
marginBottom: number;
|
|
1124
|
+
};
|
|
1125
|
+
'&.markdown': {
|
|
1126
|
+
'& img:not(.webchat__markdown__external-link-icon)': {
|
|
1127
|
+
maxWidth: number;
|
|
1128
|
+
width: string;
|
|
1129
|
+
};
|
|
1130
|
+
'& img.webchat__markdown__external-link-icon': {
|
|
1131
|
+
backgroundImage: string;
|
|
1132
|
+
height: string;
|
|
1133
|
+
marginLeft: string;
|
|
1134
|
+
};
|
|
1135
|
+
'& pre': {
|
|
1136
|
+
overflow: string;
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
toast: {
|
|
1141
|
+
fontFamily: string;
|
|
1142
|
+
fontSize: string | number;
|
|
1143
|
+
minHeight: string | number;
|
|
1144
|
+
'&.webchat__toast--error': {
|
|
1145
|
+
color: string;
|
|
1146
|
+
fill: string;
|
|
1147
|
+
};
|
|
1148
|
+
'&.webchat__toast--info': {
|
|
1149
|
+
color: string;
|
|
1150
|
+
fill: string;
|
|
1151
|
+
};
|
|
1152
|
+
'&.webchat__toast--success': {
|
|
1153
|
+
color: string;
|
|
1154
|
+
fill: string;
|
|
1155
|
+
};
|
|
1156
|
+
'&.webchat__toast--warn': {
|
|
1157
|
+
color: string;
|
|
1158
|
+
fill: string;
|
|
1159
|
+
};
|
|
1160
|
+
'& .webchat__toast__iconBox': {
|
|
1161
|
+
alignItems: string;
|
|
1162
|
+
display: string;
|
|
1163
|
+
flexShrink: number;
|
|
1164
|
+
height: string | number;
|
|
1165
|
+
justifyContent: string;
|
|
1166
|
+
width: string | number;
|
|
1167
|
+
};
|
|
1168
|
+
'& .webchat__toast__dismissButton': {
|
|
1169
|
+
alignItems: string;
|
|
1170
|
+
appearance: string;
|
|
1171
|
+
backgroundColor: string;
|
|
1172
|
+
border: number;
|
|
1173
|
+
display: string;
|
|
1174
|
+
height: string | number;
|
|
1175
|
+
justifyContent: string;
|
|
1176
|
+
outline: number;
|
|
1177
|
+
padding: number;
|
|
1178
|
+
width: string | number;
|
|
1179
|
+
'&:focus .webchat__toast__dismissButtonFocus': {
|
|
1180
|
+
borderColor: string;
|
|
1181
|
+
};
|
|
1182
|
+
'&:hover .webchat__toast__dismissButtonFocus': {
|
|
1183
|
+
backgroundColor: string;
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
'& .webchat__toast__dismissButtonFocus': {
|
|
1187
|
+
alignItems: string;
|
|
1188
|
+
borderColor: string;
|
|
1189
|
+
borderStyle: string;
|
|
1190
|
+
borderWidth: number;
|
|
1191
|
+
borderRadius: number;
|
|
1192
|
+
display: string;
|
|
1193
|
+
height: number;
|
|
1194
|
+
justifyContent: string;
|
|
1195
|
+
width: number;
|
|
1196
|
+
};
|
|
1197
|
+
'& .webchat__toast__text': {
|
|
1198
|
+
alignSelf: string;
|
|
1199
|
+
paddingBottom: string | number;
|
|
1200
|
+
paddingTop: string | number;
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
toaster: {
|
|
1204
|
+
overflowY: string;
|
|
1205
|
+
'&:not(.webchat__toaster--expandable)': {
|
|
1206
|
+
maxHeight: string | number;
|
|
1207
|
+
};
|
|
1208
|
+
'&.webchat__toaster--expandable:not(.webchat__toaster--expanded) > ul': {
|
|
1209
|
+
height: number;
|
|
1210
|
+
};
|
|
1211
|
+
'&.webchat__toaster--expandable.webchat__toaster--expanded': {
|
|
1212
|
+
maxHeight: string | number;
|
|
1213
|
+
};
|
|
1214
|
+
'& .webchat__toaster__header': {
|
|
1215
|
+
alignItems: string;
|
|
1216
|
+
alignSelf: string;
|
|
1217
|
+
appearance: string;
|
|
1218
|
+
backgroundColor: string;
|
|
1219
|
+
border: number;
|
|
1220
|
+
display: string;
|
|
1221
|
+
fontFamily: string;
|
|
1222
|
+
fontSize: string | number;
|
|
1223
|
+
minHeight: string | number;
|
|
1224
|
+
outline: number;
|
|
1225
|
+
padding: number;
|
|
1226
|
+
textAlign: string;
|
|
1227
|
+
'&:focus .webchat__toaster__expandIconFocus': {
|
|
1228
|
+
borderColor: string;
|
|
1229
|
+
};
|
|
1230
|
+
'&:hover .webchat__toaster__expandIconFocus': {
|
|
1231
|
+
backgroundColor: string;
|
|
1232
|
+
};
|
|
1233
|
+
};
|
|
1234
|
+
'& .webchat__toaster__expandIconFocus': {
|
|
1235
|
+
alignItems: string;
|
|
1236
|
+
borderColor: string;
|
|
1237
|
+
borderStyle: string;
|
|
1238
|
+
borderWidth: number;
|
|
1239
|
+
borderRadius: number;
|
|
1240
|
+
display: string;
|
|
1241
|
+
height: number;
|
|
1242
|
+
justifyContent: string;
|
|
1243
|
+
width: number;
|
|
1244
|
+
};
|
|
1245
|
+
'&.webchat__toaster--error': {
|
|
1246
|
+
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1247
|
+
backgroundColor: string;
|
|
1248
|
+
};
|
|
1249
|
+
'& .webchat__toaster__header': {
|
|
1250
|
+
color: string;
|
|
1251
|
+
fill: string;
|
|
1252
|
+
};
|
|
1253
|
+
};
|
|
1254
|
+
'&.webchat__toaster--info': {
|
|
1255
|
+
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1256
|
+
backgroundColor: string;
|
|
1257
|
+
};
|
|
1258
|
+
'& .webchat__toaster__header': {
|
|
1259
|
+
color: string;
|
|
1260
|
+
fill: string;
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
'&.webchat__toaster--success': {
|
|
1264
|
+
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1265
|
+
backgroundColor: string;
|
|
1266
|
+
};
|
|
1267
|
+
'& .webchat__toaster__header': {
|
|
1268
|
+
color: string;
|
|
1269
|
+
fill: string;
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
'&.webchat__toaster--warn': {
|
|
1273
|
+
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1274
|
+
backgroundColor: string;
|
|
1275
|
+
};
|
|
1276
|
+
'& .webchat__toaster__header': {
|
|
1277
|
+
color: string;
|
|
1278
|
+
fill: string;
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
'& .webchat__toaster__expandLevelIconBox': {
|
|
1282
|
+
height: string | number;
|
|
1283
|
+
width: string | number;
|
|
1284
|
+
};
|
|
1285
|
+
'& .webchat__toaster__expandIcon': {
|
|
1286
|
+
height: string | number;
|
|
1287
|
+
width: string | number;
|
|
1288
|
+
};
|
|
1289
|
+
'& .webchat__toaster__expandText': {
|
|
1290
|
+
padding: string;
|
|
1291
|
+
};
|
|
1292
|
+
'& .webchat__toaster__expandLevelIconBox, & .webchat__toaster__expandIcon': {
|
|
1293
|
+
alignItems: string;
|
|
1294
|
+
display: string;
|
|
1295
|
+
justifyContent: string;
|
|
1296
|
+
};
|
|
1297
|
+
'& .webchat__toaster__list': {
|
|
1298
|
+
margin: number;
|
|
1299
|
+
overflowY: string;
|
|
1300
|
+
padding: number;
|
|
1301
|
+
};
|
|
1302
|
+
'& .webchat__toaster__listItem:first-child:last-child': {
|
|
1303
|
+
overflow: string;
|
|
1304
|
+
};
|
|
1305
|
+
'& .webchat__toaster__listItem:not(:first-child), & .webchat__toaster__listItem:not(:last-child)': {
|
|
1306
|
+
borderBottomColor: string;
|
|
1307
|
+
borderBottomStyle: string;
|
|
1308
|
+
borderBottomWidth: number;
|
|
1309
|
+
minHeight: number;
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
typingAnimation: {
|
|
1313
|
+
backgroundImage: string;
|
|
1314
|
+
backgroundRepeat: string;
|
|
1315
|
+
height: string | number;
|
|
1316
|
+
width: string | number;
|
|
1317
|
+
};
|
|
1318
|
+
typingIndicator: {
|
|
1319
|
+
paddingBottom: number;
|
|
1320
|
+
'&:not(.webchat__typingIndicator--rtl)': {
|
|
1321
|
+
paddingLeft: number;
|
|
1322
|
+
};
|
|
1323
|
+
'&.webchat__typingIndicator--rtl': {
|
|
1324
|
+
paddingRight: number;
|
|
1325
|
+
};
|
|
1326
|
+
};
|
|
1327
|
+
uploadButton: {
|
|
1328
|
+
width: string | number;
|
|
1329
|
+
'& > .icon > svg': {
|
|
1330
|
+
fill: string;
|
|
1331
|
+
};
|
|
1332
|
+
'& > input:hover + .icon > svg': {
|
|
1333
|
+
fill: string;
|
|
1334
|
+
};
|
|
1335
|
+
'& > input:focus + .icon > svg': {
|
|
1336
|
+
fill: string;
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
videoAttachment: {};
|
|
1340
|
+
videoContent: {
|
|
1341
|
+
height: string | number;
|
|
1342
|
+
width: string;
|
|
1343
|
+
};
|
|
1344
|
+
vimeoContent: {
|
|
1345
|
+
border: number;
|
|
1346
|
+
height: string | number;
|
|
1347
|
+
width: string;
|
|
1348
|
+
};
|
|
1349
|
+
warningNotification: {
|
|
1350
|
+
alignItems: string;
|
|
1351
|
+
color: string;
|
|
1352
|
+
display: string;
|
|
1353
|
+
fontFamily: string;
|
|
1354
|
+
fontSize: string | number;
|
|
1355
|
+
marginBottom: number;
|
|
1356
|
+
marginLeft: number;
|
|
1357
|
+
marginRight: number;
|
|
1358
|
+
marginTop: number;
|
|
1359
|
+
'& > svg': {
|
|
1360
|
+
fill: string;
|
|
1361
|
+
'&:not(webchat__warning--rtl)': {
|
|
1362
|
+
paddingRight: number;
|
|
1363
|
+
};
|
|
1364
|
+
'&.webchat__warning--rtl': {
|
|
1365
|
+
paddingLeft: number;
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
};
|
|
1369
|
+
youTubeContent: {
|
|
1370
|
+
border: number;
|
|
1371
|
+
height: string | number;
|
|
1372
|
+
width: string;
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
//# sourceMappingURL=createFullStyleSet.d.ts.map
|