botframework-webchat-fluent-theme 4.18.1-main.20241009.63e5cb0 → 4.18.1-main.20241009.ef5bda6
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 +2 -2
- 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 +2 -2
- package/dist/botframework-webchat-fluent-theme.production.min.js.map +1 -1
- package/package.json +6 -6
- package/src/components/activity/ActivityDecorator.module.css +12 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "botframework-webchat-fluent-theme",
|
|
3
|
-
"version": "4.18.1-main.20241009.
|
|
3
|
+
"version": "4.18.1-main.20241009.ef5bda6",
|
|
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",
|
|
@@ -68,15 +68,15 @@
|
|
|
68
68
|
"@types/math-random": "^1.0.2",
|
|
69
69
|
"@types/node": "^20.12.11",
|
|
70
70
|
"@types/react": "^16.14.60",
|
|
71
|
-
"botframework-webchat-base": "4.18.1-main.20241009.
|
|
72
|
-
"botframework-webchat-styles": "4.18.1-main.20241009.
|
|
71
|
+
"botframework-webchat-base": "4.18.1-main.20241009.ef5bda6",
|
|
72
|
+
"botframework-webchat-styles": "4.18.1-main.20241009.ef5bda6",
|
|
73
73
|
"tsup": "^8.0.2",
|
|
74
74
|
"typescript": "^5.4.5"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"botframework-webchat-api": "4.18.1-main.20241009.
|
|
78
|
-
"botframework-webchat-component": "4.18.1-main.20241009.
|
|
79
|
-
"botframework-webchat-core": "4.18.1-main.20241009.
|
|
77
|
+
"botframework-webchat-api": "4.18.1-main.20241009.ef5bda6",
|
|
78
|
+
"botframework-webchat-component": "4.18.1-main.20241009.ef5bda6",
|
|
79
|
+
"botframework-webchat-core": "4.18.1-main.20241009.ef5bda6",
|
|
80
80
|
"classnames": "2.5.1",
|
|
81
81
|
"inject-meta-tag": "0.0.1",
|
|
82
82
|
"math-random": "2.0.1",
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
--webchat__bubble--block-padding: var(--webchat-spacingVerticalM);
|
|
7
7
|
--webchat__bubble--min-height: var(--webchat-bubble-minHeight);
|
|
8
8
|
--webchat__bubble--max-width: var(--webchat-bubble-maxWidth);
|
|
9
|
+
--webchat__bubble--min-width: var(--webchat-bubble-minWidth);
|
|
9
10
|
|
|
10
|
-
--webchat-bubble-maxWidth: var(--bubble-maxWidth, 450px);
|
|
11
|
+
--webchat-bubble-maxWidth: var(--bubble-maxWidth, max(450px, 75%));
|
|
12
|
+
--webchat-bubble-minWidth: var(--bubble-minWidth, auto);
|
|
11
13
|
--webchat-bubble-minHeight: var(--bubble-minHeight, 36px);
|
|
12
14
|
--webchat-externalLink-mask: var(
|
|
13
15
|
--externalLink-mask,
|
|
@@ -20,6 +22,7 @@
|
|
|
20
22
|
&:has(:global(.webchat__stacked-layout .webchat__bubble--from-user)) {
|
|
21
23
|
--webchat__bubble--background-color: var(--webchat-colorBrandBackground2);
|
|
22
24
|
--webchat__bubble--block-padding: var(--webchat-spacingVerticalS);
|
|
25
|
+
--webchat__bubble--min-width: auto;
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
28
|
|
|
@@ -134,8 +137,14 @@
|
|
|
134
137
|
|
|
135
138
|
/* Message bubble */
|
|
136
139
|
:global(.webchat-fluent) .activity-decorator :global(.webchat__stacked-layout .webchat__bubble) {
|
|
137
|
-
max-width: 100
|
|
140
|
+
max-width: min(var(--webchat__bubble--max-width), 100%);
|
|
141
|
+
min-width: var(--webchat__bubble--min-width);
|
|
138
142
|
overflow: visible;
|
|
143
|
+
|
|
144
|
+
/* Take all width available when has message bubble latency loader */
|
|
145
|
+
&:has(:global(.border-loader)) {
|
|
146
|
+
width: 100%;
|
|
147
|
+
}
|
|
139
148
|
}
|
|
140
149
|
|
|
141
150
|
/* Message bubble content */
|
|
@@ -148,7 +157,7 @@
|
|
|
148
157
|
box-shadow: var(--webchat__bubble--box-shadow);
|
|
149
158
|
box-sizing: border-box;
|
|
150
159
|
color: var(--webchat-colorNeutralForeground1);
|
|
151
|
-
max-width:
|
|
160
|
+
max-width: 100%;
|
|
152
161
|
min-height: var(--webchat__bubble--min-height);
|
|
153
162
|
}
|
|
154
163
|
|
|
@@ -205,12 +214,6 @@
|
|
|
205
214
|
}
|
|
206
215
|
}
|
|
207
216
|
|
|
208
|
-
/* Message bubble latency loader */
|
|
209
|
-
:global(.webchat-fluent) .activity-decorator :global(.border-loader) {
|
|
210
|
-
max-width: 100%;
|
|
211
|
-
width: var(--webchat__bubble--max-width);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
217
|
/* Markdown links and citation links */
|
|
215
218
|
:global(.webchat-fluent)
|
|
216
219
|
.activity-decorator
|