Skip to content

v0.26.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 13:50
· 5 commits to main since this release
3cdbe0b

Added

  • Contained overlay portals for embedded widgets (#101). ThemeProvider scope="container" mounts an overlay host inside its wrapper. Modal and SlideOver accept portal="contained" to render into that host with local backdrop bounds, focus trapping, Escape handling and the container's theme, without covering unrelated host-page controls. The default portal="document" is unchanged. Menus and listboxes still use the existing body-level theme portal so they are not clipped.
  • mortar audit flags ancestor CSS that restyles Mortar controls (ancestor-override, #107). An obvious local selector such as .toolbar button that sets background, border, typography or radius, and reaches a Mortar control under a matching host ancestor in the JSX, is an error. Layout-only rules (margin, display, flex, gap, …) and the same selector over a native control (with Mortar used elsewhere) are not flagged. Nested or ambiguous selectors stay a manual review.