Add support for Widget & Room Header Buttons module APIs (#32734)

* Add support for Widget & Room Header Buttons module APIs

To support https://github.com/element-hq/element-modules/pull/217

* Update for new api

* Test addRoomHeaderButtonCallback

* Extra mock api

* Test for widgetapi

* Convert enum

* Convert other enum usage

* Add tests for widget context menu move buttons

Which have just changed because of the enum

* Add tests for moving the widgets

* Fix copyright

Co-authored-by: Florian Duros <florianduros@element.io>

* Update module API

* A little import/export

---------

Co-authored-by: Florian Duros <florianduros@element.io>
This commit is contained in:
David Baker
2026-03-13 13:44:18 +00:00
committed by GitHub
parent 86692ce0a7
commit 09bbf796dc
30 changed files with 553 additions and 225 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ catalog:
"@playwright/test": 1.58.2
"playwright-core": 1.58.2
# Module API
"@element-hq/element-web-module-api": 1.11.0
"@element-hq/element-web-module-api": 1.12.0
# Compound
"@vector-im/compound-design-tokens": 6.10.1
"@vector-im/compound-web": 8.4.0