Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 8201114

Browse files
authored
Fixed Web Chat suggestedActionBorder deprecation warning. (#2070)
* Fixed Web Chat suggestedActionBorder deprecation warning. * Fixed typo.
1 parent 4e00746 commit 8201114

5 files changed

Lines changed: 13 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- [client] Fixed an issue where trying to add a QnA KB manually after signing into Azure was causing the app to crash in PR [2066](https://github.com/microsoft/BotFramework-Emulator/pull/2066)
1717
- [client] Removed buble background on attachments [2067](https://github.com/microsoft/BotFramework-Emulator/pull/2067)
1818
- [client] Fixed an issue where the themes menu was empty on Windows & Linux in PR [2069](https://github.com/microsoft/BotFramework-Emulator/pull/2069)
19+
- [client] Fixed Web Chat suggestedActionBorder deprecation warning in PR [2070](https://github.com/microsoft/BotFramework-Emulator/pull/2070)
1920

2021
## Removed
2122
- [client/main] Removed legacy payments code in PR [2058](https://github.com/microsoft/BotFramework-Emulator/pull/2058)

packages/app/client/src/ui/editor/emulator/parts/chat/webChatTheme.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ export default {
5353
timestampColor: 'var(--webchat-timestamp-text)',
5454

5555
suggestedActionBackground: 'var(--webchat-sa-bg)',
56-
suggestedActionBorder: 'var(--webchat-sa-border)',
56+
suggestedActionBorderColor: 'var(--webchat-sa-border-color)',
57+
suggestedActionBorderStyle: 'var(--webchat-sa-border-style)',
58+
suggestedActionBorderWidth: 'var(--webchat-sa-border-width)',
5759
suggestedActionTextColor: 'var(--webchat-sa-text)',
5860

5961
transcriptOverlayButtonBackground: 'var(--webchat-transcript-overlay-bg)',

packages/app/client/src/ui/styles/themes/dark.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ html {
5757

5858
/* suggested actions */
5959
--webchat-sa-bg: var(--webchat-bubble-bg);
60-
--webchat-sa-border: solid 1px var(--neutral-4);
60+
--webchat-sa-border-color: var(--neutral-4);
61+
--webchat-sa-border-style: solid;
62+
--webchat-sa-border-width: 1px;
6163
--webchat-sa-text: #3794FF;
6264

6365
/* bot state button */

packages/app/client/src/ui/styles/themes/high-contrast.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ html {
5656

5757
/* suggested actions */
5858
--webchat-sa-bg: var(--webchat-bubble-bg);
59-
--webchat-sa-border: solid 1px var(--neutral-4);
59+
--webchat-sa-border-color: var(--neutral-4);
60+
--webchat-sa-border-style: solid;
61+
--webchat-sa-border-width: 1px;
6062
--webchat-sa-text: #3794FF;
6163

6264
/* bot state button */

packages/app/client/src/ui/styles/themes/light.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ html {
5555

5656
/* suggested actions */
5757
--webchat-sa-bg: var(--webchat-bubble-bg);
58-
--webchat-sa-border: none;
58+
--webchat-sa-border-color: transparent;
59+
--webchat-sa-border-style: solid;
60+
--webchat-sa-border-width: 0;
5961
--webchat-sa-text: #3794FF;
6062

6163
/* bot state button */

0 commit comments

Comments
 (0)