Skip to content

Commit f5d74a3

Browse files
authored
CSS Modules: migrate bundle package (#5666)
* CSS Modules: migrate bundle package * Fix build and sorting * fix tsd * fix fluent theme class overrides * more fixes * Fix passing style options * fix actual exports * snaps * Changelog * fix remaining
1 parent 6deffb6 commit f5d74a3

48 files changed

Lines changed: 300 additions & 36 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ Breaking changes in this release:
146146
- New debug API, by [@compulim](https://github.com/compulim) in PR [#5663](https://github.com/microsoft/BotFramework-WebChat/pull/5663) and PR [#5664](https://github.com/microsoft/BotFramework-WebChat/pull/5664), see [`DEBUGGING.md`](docs/DEBUGGING.md) for more
147147
- Debug into element: open <kbd>F12</kbd>, select the subject in Element pane, type `$0.webChat.debugger`
148148
- Breakpoint: open <kbd>F12</kbd>, select the subject in Element pane, type `$0.webChat.breakpoint.incomingActivity`
149+
- The `botframework-webchat` package now uses CSS modules for styling purposes, in PR [#5666](https://github.com/microsoft/BotFramework-WebChat/pull/5666), by [@OEvgeny](https://github.com/OEvgeny)
149150

150151
### Changed
151152

__tests__/html2/accessibility/adaptiveCard/withTapAction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
await host.sendShiftTab();
3131

3232
const focusingOnRoot =
33-
document.activeElement === document.querySelector('.webchat__adaptive-card-renderer').firstChild;
33+
document.activeElement === document.querySelector('.adaptive-card-renderer').firstChild;
3434

3535
expect(focusingOnRoot).toBe(true);
3636

__tests__/html2/adaptiveCard/rerender.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
]
6767
});
6868

69-
const adaptiveCardEl = document.querySelector('.webchat__adaptive-card-renderer');
69+
const adaptiveCardEl = document.querySelector('.adaptive-card-renderer');
7070
const [currentRenderedChild] = adaptiveCardEl.children;
7171

7272
await new Promise(resolve => setTimeout(resolve, 200));

__tests__/html2/adaptiveCard/tapAction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
// When using runHookActivityMiddleware, an additional hidden activities will be rendered to run the hook function. Thus, minNumActivitiesShown must be +1.
5252
await pageConditions.numActivitiesShown(1);
5353

54-
const renderer = document.querySelector('.webchat__adaptive-card-renderer');
54+
const renderer = document.querySelector('.adaptive-card-renderer');
5555
const card = renderer.querySelector('.ac-adaptiveCard[tabindex="0"]');
5656

5757
expect(card).toBeTruthy();
22 Bytes
Loading
-118 Bytes
Loading
1.09 KB
Loading
1.09 KB
Loading
581 Bytes
Loading
1.08 KB
Loading

0 commit comments

Comments
 (0)