botframework-webchat-fluent-theme 4.18.1-main.20240927.ea7a875 → 4.18.1-main.20241008.1d59ded
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/dist/botframework-webchat-fluent-theme.css.map +1 -1
- package/dist/botframework-webchat-fluent-theme.development.css.map +1 -1
- package/dist/botframework-webchat-fluent-theme.development.js +8 -8
- package/dist/botframework-webchat-fluent-theme.development.js.map +1 -1
- package/dist/botframework-webchat-fluent-theme.js +1 -1
- package/dist/botframework-webchat-fluent-theme.js.map +1 -1
- package/dist/botframework-webchat-fluent-theme.mjs +1 -1
- package/dist/botframework-webchat-fluent-theme.mjs.map +1 -1
- package/dist/botframework-webchat-fluent-theme.production.min.css.map +1 -1
- package/dist/botframework-webchat-fluent-theme.production.min.js +8 -8
- package/dist/botframework-webchat-fluent-theme.production.min.js.map +1 -1
- package/package.json +8 -6
- package/src/components/activity/ActivityDecorator.module.css +37 -14
- package/src/components/activity/CopilotMessageHeader.module.css +0 -1
- package/src/components/dropZone/DropZone.module.css +2 -2
- package/src/components/linerActivity/private/LinerMessageActivity.module.css +3 -3
- package/src/components/sendBox/Attachments.module.css +1 -1
- package/src/components/sendBox/SendBox.module.css +3 -4
- package/src/components/sendBox/TextArea.module.css +3 -3
- package/src/components/sendBox/Toolbar.module.css +7 -5
- package/src/components/suggestedActions/SuggestedAction.module.css +6 -6
- package/src/components/suggestedActions/SuggestedActions.module.css +2 -3
- package/src/components/telephoneKeypad/private/Button.module.css +2 -3
- package/src/components/telephoneKeypad/private/TelephoneKeypad.module.css +0 -1
- package/src/components/theme/Theme.module.css +53 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "botframework-webchat-fluent-theme",
|
|
3
|
-
"version": "4.18.1-main.
|
|
3
|
+
"version": "4.18.1-main.20241008.1d59ded",
|
|
4
4
|
"description": "Fluent theme for Bot Framework Web Chat",
|
|
5
5
|
"main": "./dist/botframework-webchat-fluent-theme.js",
|
|
6
6
|
"types": "./dist/botframework-webchat-fluent-theme.d.ts",
|
|
@@ -52,9 +52,10 @@
|
|
|
52
52
|
},
|
|
53
53
|
"localDependencies": {
|
|
54
54
|
"botframework-webchat-api": "production",
|
|
55
|
+
"botframework-webchat-base": "development",
|
|
55
56
|
"botframework-webchat-component": "production",
|
|
56
57
|
"botframework-webchat-core": "production",
|
|
57
|
-
"botframework-webchat-styles": "
|
|
58
|
+
"botframework-webchat-styles": "development"
|
|
58
59
|
},
|
|
59
60
|
"pinDependencies": {
|
|
60
61
|
"@types/react": [
|
|
@@ -67,14 +68,15 @@
|
|
|
67
68
|
"@types/math-random": "^1.0.2",
|
|
68
69
|
"@types/node": "^20.12.11",
|
|
69
70
|
"@types/react": "^16.14.60",
|
|
71
|
+
"botframework-webchat-base": "4.18.1-main.20241008.1d59ded",
|
|
72
|
+
"botframework-webchat-styles": "4.18.1-main.20241008.1d59ded",
|
|
70
73
|
"tsup": "^8.0.2",
|
|
71
74
|
"typescript": "^5.4.5"
|
|
72
75
|
},
|
|
73
76
|
"dependencies": {
|
|
74
|
-
"botframework-webchat-api": "4.18.1-main.
|
|
75
|
-
"botframework-webchat-component": "4.18.1-main.
|
|
76
|
-
"botframework-webchat-core": "4.18.1-main.
|
|
77
|
-
"botframework-webchat-styles": "4.18.1-main.20240927.ea7a875",
|
|
77
|
+
"botframework-webchat-api": "4.18.1-main.20241008.1d59ded",
|
|
78
|
+
"botframework-webchat-component": "4.18.1-main.20241008.1d59ded",
|
|
79
|
+
"botframework-webchat-core": "4.18.1-main.20241008.1d59ded",
|
|
78
80
|
"classnames": "2.5.1",
|
|
79
81
|
"inject-meta-tag": "0.0.1",
|
|
80
82
|
"math-random": "2.0.1",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
:global(.webchat-fluent) .activity-decorator {
|
|
3
2
|
display: contents;
|
|
4
3
|
font-family: var(--webchat__font--primary);
|
|
@@ -10,7 +9,11 @@
|
|
|
10
9
|
|
|
11
10
|
--webchat-bubble-maxWidth: var(--bubble-maxWidth, 450px);
|
|
12
11
|
--webchat-bubble-minHeight: var(--bubble-minHeight, 36px);
|
|
13
|
-
--webchat-externalLink-mask: var(
|
|
12
|
+
--webchat-externalLink-mask: var(
|
|
13
|
+
--externalLink-mask,
|
|
14
|
+
var(--webchat__icon-url--external-link) center center /
|
|
15
|
+
10px 10px
|
|
16
|
+
);
|
|
14
17
|
--webchat-externalLink-maxWidth: var(--externalLink-maxWidth, 204px);
|
|
15
18
|
|
|
16
19
|
/* Override for stacked layout message which has user message bubble props */
|
|
@@ -49,7 +52,7 @@
|
|
|
49
52
|
}
|
|
50
53
|
}
|
|
51
54
|
|
|
52
|
-
/* Decorator copilot variant which has bot message */
|
|
55
|
+
/* Decorator copilot variant which has bot message */
|
|
53
56
|
:global(.webchat-fluent) .activity-decorator.variant-copilot:not(:has(:global(.webchat__bubble--from-user))) {
|
|
54
57
|
--webchat__bubble--block-padding: 0;
|
|
55
58
|
--webchat__bubble--border-radius: var(--webchat-borderRadiusMedium);
|
|
@@ -116,7 +119,9 @@
|
|
|
116
119
|
}
|
|
117
120
|
|
|
118
121
|
/* Stacked layout which has message bubble */
|
|
119
|
-
:global(.webchat-fluent)
|
|
122
|
+
:global(.webchat-fluent)
|
|
123
|
+
.activity-decorator
|
|
124
|
+
:global(.webchat__stacked-layout .webchat__stacked-layout__content:has(.webchat__bubble)) {
|
|
120
125
|
max-width: 100%;
|
|
121
126
|
overflow: visible;
|
|
122
127
|
}
|
|
@@ -134,7 +139,9 @@
|
|
|
134
139
|
}
|
|
135
140
|
|
|
136
141
|
/* Message bubble content */
|
|
137
|
-
:global(.webchat-fluent)
|
|
142
|
+
:global(.webchat-fluent)
|
|
143
|
+
.activity-decorator
|
|
144
|
+
:global(.webchat__stacked-layout .webchat__bubble .webchat__bubble__content) {
|
|
138
145
|
background-color: var(--webchat__bubble--background-color);
|
|
139
146
|
border-radius: var(--webchat__bubble--border-radius);
|
|
140
147
|
border-width: 0;
|
|
@@ -157,13 +164,15 @@
|
|
|
157
164
|
padding-block-end: 0;
|
|
158
165
|
}
|
|
159
166
|
|
|
160
|
-
|
|
167
|
+
+ :global(.webchat__text-content) {
|
|
161
168
|
margin-top: calc(var(--webchat__bubble--block-padding) * -1);
|
|
162
169
|
}
|
|
163
170
|
}
|
|
164
171
|
|
|
165
172
|
/* Message bubble text content generated badge */
|
|
166
|
-
:global(.webchat-fluent)
|
|
173
|
+
:global(.webchat-fluent)
|
|
174
|
+
.activity-decorator
|
|
175
|
+
:global(.webchat__stacked-layout .webchat__bubble .webchat__text-content__generated-badge) {
|
|
167
176
|
align-items: center;
|
|
168
177
|
align-self: flex-start;
|
|
169
178
|
background-color: var(--webchat-colorNeutralBackground5);
|
|
@@ -179,7 +188,9 @@
|
|
|
179
188
|
}
|
|
180
189
|
|
|
181
190
|
/* Message bubble attachment content */
|
|
182
|
-
:global(.webchat-fluent)
|
|
191
|
+
:global(.webchat-fluent)
|
|
192
|
+
.activity-decorator
|
|
193
|
+
:global(.webchat__stacked-layout .webchat__bubble .webchat__fileContent__badge) {
|
|
183
194
|
cursor: default;
|
|
184
195
|
font-size: var(--webchat-fontSizeBase300);
|
|
185
196
|
line-height: var(--webchat-lineHeightBase300);
|
|
@@ -201,7 +212,10 @@
|
|
|
201
212
|
}
|
|
202
213
|
|
|
203
214
|
/* Markdown links and citation links */
|
|
204
|
-
:global(.webchat-fluent)
|
|
215
|
+
:global(.webchat-fluent)
|
|
216
|
+
.activity-decorator
|
|
217
|
+
:global(.webchat__render-markdown)
|
|
218
|
+
a[href]:not(:global(.webchat__render-markdown__pure-identifier)) {
|
|
205
219
|
color: var(--webchat-colorBrandForegroundLink);
|
|
206
220
|
text-decoration-color: transparent;
|
|
207
221
|
|
|
@@ -231,8 +245,14 @@
|
|
|
231
245
|
}
|
|
232
246
|
|
|
233
247
|
/* Citation inline references */
|
|
234
|
-
:global(.webchat-fluent)
|
|
235
|
-
|
|
248
|
+
:global(.webchat-fluent)
|
|
249
|
+
.activity-decorator
|
|
250
|
+
:global(.webchat__render-markdown)
|
|
251
|
+
:global(.webchat__render-markdown__citation),
|
|
252
|
+
:global(.webchat-fluent)
|
|
253
|
+
.activity-decorator
|
|
254
|
+
:global(.webchat__render-markdown)
|
|
255
|
+
:global(.webchat__render-markdown__pure-identifier) {
|
|
236
256
|
align-items: center;
|
|
237
257
|
background-color: var(--webchat-colorNeutralBackground3);
|
|
238
258
|
border-radius: var(--webchat-borderRadiusMedium);
|
|
@@ -265,7 +285,8 @@
|
|
|
265
285
|
color: var(--webchat-colorBrandForeground2Pressed);
|
|
266
286
|
}
|
|
267
287
|
|
|
268
|
-
&::before,
|
|
288
|
+
&::before,
|
|
289
|
+
&::after {
|
|
269
290
|
all: unset;
|
|
270
291
|
}
|
|
271
292
|
|
|
@@ -284,7 +305,7 @@
|
|
|
284
305
|
/* Citation summary chevron */
|
|
285
306
|
:global(.webchat-fluent) .activity-decorator :global(.webchat__link-definitions__header) {
|
|
286
307
|
border-radius: var(--webchat-borderRadiusMedium);
|
|
287
|
-
|
|
308
|
+
|
|
288
309
|
:global(.webchat__link-definitions__header-text) {
|
|
289
310
|
color: var(--webchat-colorNeutralForeground3);
|
|
290
311
|
}
|
|
@@ -375,7 +396,9 @@
|
|
|
375
396
|
text-overflow: ellipsis;
|
|
376
397
|
}
|
|
377
398
|
|
|
378
|
-
:global(.webchat__link-definitions__list-item-main-text):has(
|
|
399
|
+
:global(.webchat__link-definitions__list-item-main-text):has(
|
|
400
|
+
:global(.webchat__link-definitions__open-in-new-window-icon)
|
|
401
|
+
)::before {
|
|
379
402
|
align-self: center;
|
|
380
403
|
background: currentColor;
|
|
381
404
|
color: currentColor;
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
|
|
13
13
|
:global(.webchat-fluent) .sendbox__attachment-drop-zone--droppable {
|
|
14
14
|
background-color: #e00;
|
|
15
|
-
color: White
|
|
15
|
+
color: White;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
:global(.webchat-fluent) .sendbox__attachment-drop-zone-icon {
|
|
19
19
|
height: 36px;
|
|
20
20
|
/* Set "pointer-events: none" to ignore dragging over the icon. Otherwise, when dragging over the icon; it would disable the "--droppable" modifier.*/
|
|
21
21
|
pointer-events: none;
|
|
22
|
-
width: 36px
|
|
22
|
+
width: 36px;
|
|
23
23
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
:global(.webchat-fluent) .liner-message-activity {
|
|
3
2
|
align-items: center;
|
|
4
3
|
box-sizing: border-box;
|
|
@@ -14,9 +13,10 @@
|
|
|
14
13
|
text-align: center;
|
|
15
14
|
width: 100%;
|
|
16
15
|
|
|
17
|
-
&::before,
|
|
16
|
+
&::before,
|
|
17
|
+
&::after {
|
|
18
18
|
border-top: var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke2);
|
|
19
|
-
content:
|
|
19
|
+
content: '';
|
|
20
20
|
display: flex;
|
|
21
21
|
flex: auto;
|
|
22
22
|
min-width: 8px;
|
|
@@ -28,14 +28,13 @@
|
|
|
28
28
|
grid-template:
|
|
29
29
|
[telephone-keypad-start] 'text-area' [telephone-keypad-end]
|
|
30
30
|
var(--webchat-sendbox-attachment-area-active)
|
|
31
|
-
'controls' / [telephone-keypad] 1fr
|
|
32
|
-
;
|
|
31
|
+
'controls' / [telephone-keypad] 1fr;
|
|
33
32
|
line-height: 20px;
|
|
34
33
|
padding: 8px;
|
|
35
34
|
position: relative;
|
|
36
35
|
|
|
37
36
|
&:has(.sendbox__attachment--in-grid) {
|
|
38
|
-
--webchat-sendbox-attachment-area-active: 'attachment'
|
|
37
|
+
--webchat-sendbox-attachment-area-active: 'attachment';
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
&:focus-within {
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
border-bottom: var(--webchat-strokeWidthThicker) solid var(--webchat-colorCompoundBrandForeground1Hover);
|
|
49
48
|
bottom: -1px;
|
|
50
49
|
clip-path: inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);
|
|
51
|
-
content:
|
|
50
|
+
content: '';
|
|
52
51
|
height: var(--webchat-sendbox-border-radius);
|
|
53
52
|
left: -1px;
|
|
54
53
|
position: absolute;
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
|
|
45
45
|
/* Chrome, Edge, and Safari */
|
|
46
46
|
&::-webkit-scrollbar {
|
|
47
|
-
width: 8px
|
|
47
|
+
width: 8px;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&::-webkit-scrollbar-track {
|
|
51
51
|
background-color: var(--webchat-colorNeutralBackground5);
|
|
52
|
-
border-radius: 16px
|
|
52
|
+
border-radius: 16px;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&::-webkit-scrollbar-thumb {
|
|
56
56
|
background-color: var(--webchat-colorNeutralForeground2);
|
|
57
|
-
border-radius: 16px
|
|
57
|
+
border-radius: 16px;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&::-webkit-scrollbar-corner {
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
@media (hover: hover) {
|
|
34
|
-
&:not([aria-disabled=
|
|
34
|
+
&:not([aria-disabled='true']):hover {
|
|
35
35
|
color: var(--webchat-colorNeutralForeground2BrandHover);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
&:not([aria-disabled=
|
|
39
|
+
&:not([aria-disabled='true']):active {
|
|
40
40
|
color: var(--webchat-colorNeutralForeground2BrandPressed);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
&[aria-disabled=
|
|
43
|
+
&[aria-disabled='true'] {
|
|
44
44
|
color: var(--webchat-colorNeutralForegroundDisabled);
|
|
45
45
|
cursor: not-allowed;
|
|
46
46
|
}
|
|
@@ -51,7 +51,9 @@
|
|
|
51
51
|
border-inline-end: 1px solid var(--webchat-colorNeutralStroke2);
|
|
52
52
|
height: 28px;
|
|
53
53
|
|
|
54
|
-
&:first-child,
|
|
55
|
-
|
|
54
|
+
&:first-child,
|
|
55
|
+
&:last-child,
|
|
56
|
+
&:only-child {
|
|
57
|
+
display: none;
|
|
56
58
|
}
|
|
57
59
|
}
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
transition: all var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);
|
|
15
15
|
|
|
16
16
|
@media (hover: hover) {
|
|
17
|
-
&:not([aria-disabled=
|
|
17
|
+
&:not([aria-disabled='true']):hover {
|
|
18
18
|
background-color: var(--webchat-colorBrandBackground2Hover);
|
|
19
|
-
color: var(--webchat-colorBrandForeground2Hover)
|
|
19
|
+
color: var(--webchat-colorBrandForeground2Hover);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
&:not([aria-disabled=
|
|
22
|
+
&:not([aria-disabled='true']):active {
|
|
23
23
|
background-color: var(--webchat-colorBrandBackground2Pressed);
|
|
24
|
-
color: var(--webchat-colorBrandForeground2Pressed)
|
|
24
|
+
color: var(--webchat-colorBrandForeground2Pressed);
|
|
25
25
|
}
|
|
26
|
-
&[aria-disabled=
|
|
26
|
+
&[aria-disabled='true'] {
|
|
27
27
|
color: var(--webchat-colorNeutralForegroundDisabled);
|
|
28
|
-
cursor: not-allowed
|
|
28
|
+
cursor: not-allowed;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
:global(.webchat-fluent) .suggested-actions {
|
|
3
2
|
align-items: flex-end;
|
|
4
3
|
align-self: flex-end;
|
|
@@ -8,7 +7,7 @@
|
|
|
8
7
|
|
|
9
8
|
&:not(:empty) {
|
|
10
9
|
padding-block-end: 8px;
|
|
11
|
-
padding-inline-start: 4px
|
|
10
|
+
padding-inline-start: 4px;
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
&.suggested-actions--flow {
|
|
@@ -18,6 +17,6 @@
|
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
&.suggested-actions--stacked {
|
|
21
|
-
flex-direction: column
|
|
20
|
+
flex-direction: column;
|
|
22
21
|
}
|
|
23
22
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
:global(.webchat-fluent) .telephone-keypad__button {
|
|
3
2
|
-webkit-user-select: none;
|
|
4
3
|
align-items: center;
|
|
@@ -28,7 +27,7 @@
|
|
|
28
27
|
|
|
29
28
|
&:hover {
|
|
30
29
|
/* backgroundColor: isHighContrastTheme() ? gray210 : isDarkTheme() ? gray150 : gray30 */
|
|
31
|
-
background-color: var(--webchat-colorGray30)
|
|
30
|
+
background-color: var(--webchat-colorGray30);
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
|
|
@@ -49,7 +48,7 @@
|
|
|
49
48
|
justify-content: center;
|
|
50
49
|
margin: 8px 4px;
|
|
51
50
|
width: 32px;
|
|
52
|
-
}
|
|
51
|
+
}
|
|
53
52
|
|
|
54
53
|
.telephone-keypad__button__ruby {
|
|
55
54
|
display: none;
|
|
@@ -97,8 +97,27 @@
|
|
|
97
97
|
--webchat-spacingVerticalXXXL: var(--spacingVerticalXXXL, 32px);
|
|
98
98
|
|
|
99
99
|
/* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */
|
|
100
|
-
--webchat-fontFamilyBase: var(
|
|
101
|
-
|
|
100
|
+
--webchat-fontFamilyBase: var(
|
|
101
|
+
--fontFamilyBase,
|
|
102
|
+
'Segoe UI',
|
|
103
|
+
'Segoe UI Web (West European)',
|
|
104
|
+
-apple-system,
|
|
105
|
+
BlinkMacSystemFont,
|
|
106
|
+
Roboto,
|
|
107
|
+
'Helvetica Neue',
|
|
108
|
+
sans-serif
|
|
109
|
+
);
|
|
110
|
+
--webchat-fontFamilyNumeric: var(
|
|
111
|
+
--fontFamilyNumeric,
|
|
112
|
+
Bahnschrift,
|
|
113
|
+
'Segoe UI',
|
|
114
|
+
'Segoe UI Web (West European)',
|
|
115
|
+
-apple-system,
|
|
116
|
+
BlinkMacSystemFont,
|
|
117
|
+
Roboto,
|
|
118
|
+
'Helvetica Neue',
|
|
119
|
+
sans-serif
|
|
120
|
+
);
|
|
102
121
|
|
|
103
122
|
/* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */
|
|
104
123
|
--webchat-fontWeightRegular: var(--fontWeightRegular, 400);
|
|
@@ -143,8 +162,8 @@
|
|
|
143
162
|
--webchat-durationUltraSlow: var(--durationUltraSlow, 500ms);
|
|
144
163
|
|
|
145
164
|
/* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/curves.ts */
|
|
146
|
-
--webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1,0,1,1));
|
|
147
|
-
--webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0,0,0,1));
|
|
165
|
+
--webchat-curveAccelerateMid: var(--curveAccelerateMid, cubic-bezier(1, 0, 1, 1));
|
|
166
|
+
--webchat-curveDecelerateMid: var(--curveDecelerateMid, cubic-bezier(0, 0, 0, 1));
|
|
148
167
|
}
|
|
149
168
|
|
|
150
169
|
@media (prefers-reduced-motion) {
|
|
@@ -167,22 +186,17 @@
|
|
|
167
186
|
--webchat__max-width--bubble: var(--webchat-bubble-maxWidth);
|
|
168
187
|
--webchat__min-height--bubble: var(--webchat-bubble-minHeight);
|
|
169
188
|
--webchat__padding--regular: var(--webchat-spacingVerticalS);
|
|
170
|
-
--webchat__padding--sendbox:
|
|
171
|
-
var(--webchat-spacingVerticalNone)
|
|
172
|
-
var(--webchat-spacingHorizontalMNudge)
|
|
189
|
+
--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalMNudge)
|
|
173
190
|
var(--webchat-spacingHorizontalMNudge);
|
|
174
191
|
|
|
175
|
-
--webchat__border-animation--color-1: #
|
|
176
|
-
--webchat__border-animation--color-2: #
|
|
177
|
-
--webchat__border-animation--color-3: #
|
|
192
|
+
--webchat__border-animation--color-1: #464feb;
|
|
193
|
+
--webchat__border-animation--color-2: #47cffa;
|
|
194
|
+
--webchat__border-animation--color-3: #b47cf8;
|
|
178
195
|
}
|
|
179
196
|
|
|
180
197
|
:global(.webchat-fluent).theme.variant-copilot :global(.webchat__css-custom-properties) {
|
|
181
|
-
--webchat__padding--sendbox:
|
|
182
|
-
var(--webchat-
|
|
183
|
-
var(--webchat-spacingHorizontalXL)
|
|
184
|
-
var(--webchat-spacingVerticalMNudge)
|
|
185
|
-
var(--webchat-spacingHorizontalMNudge);
|
|
198
|
+
--webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalXL)
|
|
199
|
+
var(--webchat-spacingVerticalMNudge) var(--webchat-spacingHorizontalMNudge);
|
|
186
200
|
}
|
|
187
201
|
|
|
188
202
|
/* Transcript surface */
|
|
@@ -230,23 +244,31 @@
|
|
|
230
244
|
}
|
|
231
245
|
}
|
|
232
246
|
|
|
233
|
-
:global(.webchat-fluent).theme.variant-copilot
|
|
247
|
+
:global(.webchat-fluent).theme.variant-copilot
|
|
248
|
+
:global(.webchat__basic-transcript .webchat__basic-transcript__scrollable) {
|
|
234
249
|
scrollbar-gutter: stable;
|
|
235
250
|
}
|
|
236
251
|
|
|
237
252
|
/* Transcript focus indicator color when in focus-visible state */
|
|
238
|
-
:global(.webchat-fluent).theme
|
|
253
|
+
:global(.webchat-fluent).theme
|
|
254
|
+
:global(
|
|
255
|
+
.webchat__basic-transcript
|
|
256
|
+
.webchat__basic-transcript__terminator:focus-visible
|
|
257
|
+
+ .webchat__basic-transcript__focus-indicator
|
|
258
|
+
) {
|
|
239
259
|
border-color: var(--webchat-colorStrokeFocus2);
|
|
240
260
|
}
|
|
241
261
|
|
|
242
262
|
/* Transcript Activity indicator without focus-visible state */
|
|
243
|
-
:global(.webchat-fluent).theme
|
|
263
|
+
:global(.webchat-fluent).theme
|
|
264
|
+
:global(.webchat__basic-transcript:not(:focus-visible) .webchat__basic-transcript__activity-indicator--focus) {
|
|
244
265
|
/* Hide activity focus when no focus-visible state */
|
|
245
266
|
display: none;
|
|
246
267
|
}
|
|
247
268
|
|
|
248
269
|
/* Transcript Focus indicator when activity focused */
|
|
249
|
-
:global(.webchat-fluent).theme
|
|
270
|
+
:global(.webchat-fluent).theme
|
|
271
|
+
:global(.webchat__basic-transcript:focus-visible:has(.webchat__basic-transcript__activity-indicator--focus)) {
|
|
250
272
|
:global(.webchat__basic-transcript__focus-indicator) {
|
|
251
273
|
/* Hide transcript focus when an activity is focused */
|
|
252
274
|
display: none;
|
|
@@ -254,13 +276,17 @@
|
|
|
254
276
|
}
|
|
255
277
|
|
|
256
278
|
/* Transcript focused activity */
|
|
257
|
-
:global(.webchat-fluent).theme
|
|
279
|
+
:global(.webchat-fluent).theme
|
|
280
|
+
:global(
|
|
281
|
+
.webchat__basic-transcript:focus-visible
|
|
282
|
+
.webchat__basic-transcript__activity:has(.webchat__basic-transcript__activity-indicator--focus)
|
|
283
|
+
) {
|
|
258
284
|
:global(.webchat__basic-transcript__activity-indicator--focus) {
|
|
259
285
|
/* Hide transcript activity focus when the activity is focused */
|
|
260
286
|
display: none;
|
|
261
287
|
}
|
|
262
288
|
|
|
263
|
-
:global(.webchat__bubble)::after,
|
|
289
|
+
:global(.webchat__bubble)::after,
|
|
264
290
|
:global(.pre-chat-message-activity)::after {
|
|
265
291
|
border-radius: var(--webchat__bubble--border-radius);
|
|
266
292
|
content: '';
|
|
@@ -290,7 +316,11 @@
|
|
|
290
316
|
}
|
|
291
317
|
|
|
292
318
|
/* Transcript with a single pre-chat activity */
|
|
293
|
-
:global(.webchat-fluent).theme
|
|
319
|
+
:global(.webchat-fluent).theme
|
|
320
|
+
:global(
|
|
321
|
+
.webchat__basic-transcript:has(.webchat__basic-transcript__activity:only-child):has(.pre-chat-message-activity)
|
|
322
|
+
.webchat__basic-transcript__filler
|
|
323
|
+
) {
|
|
294
324
|
/* limit grow to half of the size to center the activity */
|
|
295
325
|
flex-grow: 0.5;
|
|
296
326
|
}
|
|
@@ -367,7 +397,7 @@
|
|
|
367
397
|
outline-offset: calc(var(--webchat-strokeWidthThick) * -1);
|
|
368
398
|
}
|
|
369
399
|
|
|
370
|
-
&[aria-disabled=
|
|
400
|
+
&[aria-disabled='true'] {
|
|
371
401
|
background: var(--webchat-colorNeutralBackgroundDisabled);
|
|
372
402
|
border: var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStrokeDisabled);
|
|
373
403
|
color: var(--webchat-colorNeutralForegroundDisabled);
|