Commit 6ee0a58
authored
Clean up <ThemeProvider> and various CSS related stuff (#5611)
* Clean CSS injection
* Clean up nonce usage
* Remove nonce from <ThemeProvider>
* Rename <WebChatTheme> to <Inject*CSS>
* Clean up
* Add comment
* Add comment
* Fix identifier
* Remove nonce requirement
* Direct inject after building style elements
* Add entry
* Remove launcher experience
* Fix imports
* Fix imports
* Fix tests
* Better imports
* Use Happy DOM
* Return children as-is
* Remove unnecessary files
* Dedupe across instances
* Add test
* Use hooks
* Mvoe from hook to leaf node
* Move to create CSS function
* Fix tsup
* Allow rectifying twice
* Mark nonce as optional
* Reverse order
* Add component
* Add /component
* Remove snapshots
* Fix script-0.mjs
* Fix script-0.mjs
* Fix styleOptions
* Allow cascaded rectify style options
* Separate stylesRoot from fluent-theme
* Mark stylesRoot as optional
* Componentize <InjectStyleElements>
* Fix --watch 200
* Fix flakiness
* Fix test
* Fix test
* Fix --watch 200
* Move stylesheet to bottommost on re-inject
* Fix hideScrollToEndButton
* Fix hideScrollToEndButton
* Clean up
* Clean up
* Clean up
* Rename *CSS -> *Stylesheet
* Componentize as <FluentThemeStylesheet>
* Rename to <CSSCustomPropertiesContainer>
* Fix tests
* Fix styleRoots and import hooks
* Add importmap for hook
* Move InjectStyleElements to styles package
* Yellow instead of white
* Add styles as devDependencies
* Fix import map
* Retrigger checks1 parent 7671e32 commit 6ee0a58
File tree
116 files changed
+1278
-515
lines changed- __tests__
- __image_snapshots__/html
- html2
- activity
- citation
- fluentTheme
- hooks/useInjectStylesElements
- css
- simple/fatModule
- esm.sh
- tsx
- themeProvider
- html
- fluentTheme/customElement
- packages
- api-middleware
- api
- src
- boot
- hooks
- internal
- providers/StyleOptions
- private
- base
- bundle
- src/boot
- actual
- iife
- component
- src
- Styles
- boot
- decorator
- private
- stylesheet
- hooks/internal
- providers/Theme
- private
- stylesheet
- core
- debug-theme
- directlinespeech
- fluent-theme
- src
- components/theme
- external.umd/botframework-webchat-api
- private
- stylesheet
- styles
- react-hooks
- react-valibot
- redux-store
- repack
- adaptivecards
- base64-js
- botframework-directlinejs
- html-react-parser
- microsoft-cognitiveservices-speech-sdk
- react-dom@baseline
- react-dom@umd
- react-dom
- react-is
- react@baseline
- react@umd
- react
- styles
- src/react
- private
- test
- harness
- page-object
- web-server
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
116 files changed
+1278
-515
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
276 | 278 | | |
277 | 279 | | |
278 | 280 | | |
279 | | - | |
| 281 | + | |
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
| |||
362 | 364 | | |
363 | 365 | | |
364 | 366 | | |
365 | | - | |
| 367 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
334 | 336 | | |
335 | 337 | | |
336 | 338 | | |
337 | | - | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
341 | 343 | | |
342 | 344 | | |
343 | | - | |
| 345 | + | |
0 commit comments