Skip to content

chore: release v2.5.0 - #261

Merged
vicmaster merged 1 commit into
masterfrom
release-v2.5.0
Nov 23, 2026
Merged

vicmaster merged 1 commit into
masterfrom
release-v2.5.0

Conversation

@vicmaster

Copy link
Copy Markdown
Owner

Bumps framesmith to 2.5.0 in package.json, package-lock.json, and the version the MCP server reports in src/index.ts.

This is a minor release. It ships Phase 31, the desktop-app surface, and Phase 32, which clears the follow-ups Phases 30 and 31 left open, plus a contrast fix.

  • Composite translucent colors in the contrast check #243: the contrast check blends translucent fills and text colours over what is behind them. A selected-row tint used to be judged as solid paint, which gave false contrast errors.
  • spec: Phase 31 — the desktop-app surface #244–Rebuild the viewer as canvases (Phase 31 slice I) #253, Phase 31:
    • A canvas can be declared desktop-app, a tool you work in, with canvas_create or canvas_set_type.
    • Eight new app node types: link, text-input, nav-item, tabs, tree-row, menu-row, property-row and divider.
    • Six overlays render in one layer above content: tooltip, popover, menu, modal, toast and drawer.
    • Hover, focus, pressed and disabled are a state property.
    • Six desktop-app structures.
    • The desktop-app rules: click targets, navigation, the type ladder, overlays, and state contrast in each theme.
    • The viewer was rebuilt as canvases as the acceptance test.
    • Every type gets the 24px rule with WCAG's spacing exception, and repeated findings fold into one entry.
  • spec: Phase 32, the Phase 30 and 31 follow-ups #254–Measure links, text inputs and dialog buttons at 44px on a phone #260, Phase 32:
    • Tests moved into folders that set their tier.
    • Rules see inside component instances.
    • An unknown-token warning.
    • Tints and danger follow the applied palette.
    • select boundaries, the tree-row bar and count stress.
    • cornerRadius short names read the radius scale first.
    • On a phone, links, text fields and dialog buttons are held to 44px.

The README gallery gains a desktop-app screen, docs/framesmith-desktop-app.png: an issue tracker composed from the desktop-app primitives on a generated design system (#15803D, "technical"). It has designed error, empty-list and loading states. All four states score 100 with no warnings in fast and detailed mode, and pass a CLEAN stress run. New scripts/build-desktop-gallery.ts rebuilds the image. It refuses to write it unless every state clears those checks; dropping the designed states makes it exit 1 without writing. Its caption says the screen was composed from primitives, not stamped from a pattern, since the gallery intro mentions stamped patterns.

Changes visible to existing users:

  • More findings on web canvases, since every click target is measured and instances are checked.
  • A misspelt $token is now a warning.
  • Canvases holding the old seeded tint values re-derive them, and their sha256r: hash moves once.
  • cornerRadius short names under the dark, light and material presets render the smaller radius values.
  • On a phone, a default link, text-input, modal or toast action is now an error.

npm run build succeeds, npm run test:full passes (150/150), the test type check is clean, test-discoverability.ts passes (166/166), and npm pack --dry-run reports version 2.5.0 with 148 files.

@vicmaster
vicmaster merged commit a039d8d into master Nov 23, 2026
3 checks passed
@vicmaster
vicmaster deleted the release-v2.5.0 branch November 23, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant