Skip to content

v2.2.1

Choose a tag to compare

@vicmaster vicmaster released this 17 Oct 15:23
· 85 commits to master since this release
6a804c2

Install or upgrade with npx framesmith, or npm i -g framesmith.

Material Symbols with multi-word names now render

Material names multi-word icons with underscores (chevron_right, arrow_back, group_off), and the name check rejected the underscore, so only single-word Material icons rendered. They all resolve now, including filled variants such as material:chevron_right-fill. Names containing . or / are still rejected. (#214, #215)

canvas_evaluate reports icons that render nothing

An icon name that resolves in neither bundled set used to leave an empty slot that no screenshot or evaluation showed. It is now a structure warning that blocks the "ready to present" directive, and it costs 10 points of structure score per icon.

The suggestion lists the spellings that do resolve. Lucide hyphenates (chevron-right), while Material keeps underscores and needs the material: prefix. When exactly one spelling resolves, the warning carries a fix canvas_autofix applies. When both sets have the icon, the fix uses the set the canvas already uses. Icons inside component instances are reported against the component definition.

Upgrading

Unlike v2.2.0, this release can change a result you already have: a canvas with an icon that doesn't resolve now gets a blocking warning. The warning fires only on icons that were already rendering as blank slots. Run canvas_autofix with apply: true to correct the ones with a single resolving spelling. None of the built-in page patterns are affected.

The npm package description now matches the GitHub About text.