Echoing issues raised in posts like:
- Feature Request: Programmatic Viewport Access in UI Extensions
- Can't access viewports in web components
The new syntax for responsive approaches in UI Extensions only allows for container size. While this covers many use cases, it still lacks the ability for developers to cater UIs and functionalities to certain device types, as now the ability to style is even more obfuscated, not allowing us to use the viewportInlineSize.
Please consider:
- Reintroducing a way to write styles based on the viewport size.
- Exposing a reactive value of the current viewport, for programmatic UI adjustment as described here.