@tonycodes-ui/mortar 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Mortar follows [semantic versioning](https://semver.org/). Before 1.0, a minor release may contain breaking changes, and it says so. Each release is published from its `v<version>` tag to [npmjs.com](https://www.npmjs.com/package/@tonycodes-ui/mortar) with npm provenance. Its GitHub release carries the exact archive and a `provenance.json` with the commit and SHA-512 integrity.
4
4
 
5
- ## 0.26.0 (2026-11-09)
5
+ ## 0.27.0 (2026-11-09)
6
6
 
7
7
  ### Added
8
8
 
9
- - **Contained overlay portals for embedded widgets** ([#101](https://github.com/tonycodes/mortar/issues/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.
10
- - **`mortar audit` flags ancestor CSS that restyles Mortar controls** (`ancestor-override`, [#107](https://github.com/tonycodes/mortar/issues/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.
9
+ - **`npm run check` validates manifest `platforms`** ([#95](https://github.com/tonycodes/mortar/issues/95)). Rule M011 rejects unknown platform keys and non-`Mortar…` type names, and, when `native/` is present, a declared SwiftUI or Compose type that the native sources do not define. `search_components` results include `platforms`.
10
+ - **Repository automation, slice 1 of [#62](https://github.com/tonycodes/mortar/issues/62).** Dependabot for npm and GitHub Actions (weekly, grouped; no auto-merge), issue forms for bug / component / theming / docs, CodeQL and dependency-review workflows, a weekly health check that opens an issue on failure, and proposed labels in `.github/LABELS.md`. Still open for a later slice: dependency auto-merge, release-please / Changesets, Claude Code Action, Scorecard, and the maintainer policy decisions listed on #62.
11
11
 
12
12
  ## 0.11.0 (2026-10-20)
13
13
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "rules": {
5
5
  "M001": "Exports require unique manifests and preview fixtures",
6
6
  "M002": "Source and preview paths stay inside the repository",
@@ -11,6 +11,7 @@
11
11
  "M007": "Source and preview import-closure fingerprints must match; generated fields stay out of manifests",
12
12
  "M008": "Committed catalogue matches the manifests",
13
13
  "M009": "Brands declare only the --m-brand-* contract, and every appearance resolves the accent pair and its inverse",
14
- "M010": "Manifest dependencies match the catalogue components the source renders"
14
+ "M010": "Manifest dependencies match the catalogue components the source renders",
15
+ "M011": "Manifest platforms name SwiftUI and Compose counterparts that exist in native/"
15
16
  }
16
17
  }