Skip to content

Commit 516e73e

Browse files
authored
Add bubbleImageMaxHeight and bubbleImageMinHeight (#5236)
* Add bubbleImageMaxHeight and bubbleImageMinHeight * Update PR number * Default bubbleImageMinHeight to 240px * Update breaking change for bubbleImageMinHeight * Add test for freestyle * Fixed width but cropped height * Fix tests * Add aspect ratio to test images * Add CSS variable name
1 parent c312f7f commit 516e73e

File tree

25 files changed

+387
-98
lines changed

25 files changed

+387
-98
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
2424

2525
## [Unreleased]
2626

27+
### Breaking changes
28+
29+
- `styleOptions.bubbleImageHeight` is being deprecated in favor of `styleOptions.bubbleImageMaxHeight` and `styleOptions.bubbleImageMinHeight`. The option will be removed on or after 2026-07-05
30+
2731
## [4.18.0] - 2024-07-10
2832

2933
### Added
3034

3135
- (Experimental) Added initial decorators support, in PR [#5205](https://github.com/microsoft/BotFramework-WebChat/pull/5205), by [@OEvgeny](https://github.com/OEvgeny)
3236
- Introduced internal `botframework-webchat-api/decorator` import, in PR [#5205](https://github.com/microsoft/BotFramework-WebChat/pull/5205), by [@OEvgeny](https://github.com/OEvgeny)
3337
- Added `DecoratorComposer` and `ActivityDecorator` to be used for decorating activity border, in PR [#5205](https://github.com/microsoft/BotFramework-WebChat/pull/5205), by [@OEvgeny](https://github.com/OEvgeny)
38+
- Added `styleOptions.bubbleImageMaxHeight` and `styleOptions.bubbleImageMinHeight` for variable image height, in PR [#5236](https://github.com/microsoft/BotFramework-WebChat/pull/5236), by [@compulim](https://github.com/compulim)
3439

3540
### Fixed
3641

-199 Bytes
Loading
-140 Bytes
Loading
Loading
Loading
Loading
Loading
Loading
Loading
-482 Bytes
Loading

0 commit comments

Comments
 (0)