macOS installs Apple's serif New York as `.New York`; a leading dot keeps
it out of font menus, and the scan drops dot families except those in
`public_family`. New York wasn't one, so "New York" was a missing font
and text drew in a fallback. It now joins SF Compact and SF Pro Rounded
there.
Tests: the mapping, and a Mac-only scan of /System/Library/Fonts that
finds New York, keeps dot names out of the list and loads Regular and
Italic as "New York" (skipped where the files are absent).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A design file has no breakpoints, so an agent implementing a frame can only guess how it should
respond. The designer can now say it outright: `responsive.set` marks frames as the mobile, tablet
or desktop version of a design (layer data, so the file format is unchanged), and
`responsive.rule` adds a note to the Responsive annotation category, made if the file lacks it.
`responsive.list` returns what was stated about the given layers, the layers above them and those
inside them, and never infers anything from names or sizes. The Inspect tab gets a Screen sizes
section for frames.
Explicit targets are checked rather than falling back to the selection, a rule keeps to the
limits `annotation.add` has (note length, annotations per layer, number of categories), and the
result says `truncated` when there were too many layers to read every rule.
A link can say where the code component lives (`source`, a path inside the
repository), what a property's design values are called in code (`values`:
{"State": {"Hover": "hovered"}} renders `hovered`; a value without an entry
keeps its design name) and `notes`, through codeConnect.set, the connect file
and Inspect ▸ Connect to code (a Source file field and a row per variant
value). The fields are skipped when empty, so existing files and exports don't
change.
codeConnect.list and the MCP tool component_mappings say which code
component each design component is: import line, name, ready snippet,
properties and variants, and with a repository root whether each source file
is there. sync_mappings imports or exports a repository's connect file.
codeConnect.export {path} keeps the file's other top-level keys and the links
of components this design doesn't have, so several designs can share one file.
file.exportAssets and the MCP tool export_assets write a design's images and
vectors into a folder: images as the bytes the file holds, never re-encoded,
vectors through the SVG export, and layers with export settings by those
settings. Each file says whether it is original, vector or rendered. Files are
named by the first 16 hex digits of their SHA-256, so one asset has one file
used by every layer listed and exporting again writes nothing. What a layer
does to an image that isn't in its bytes (filters, crop, rotation, opacity) is
listed, as is why an asset couldn't be handed over. Writes go through
file_access, so automation roots confine them.
In a right-to-left UI language the rows inside the panels run from the
right as well: the shared Design panel row (right::block), section
headers, tight_end, sub-labels, checkboxes, radios, disclosures and the
selection header, and the layers and pages lists (indent, disclosure,
icon and name from the right, eye and padlock on the left). Names and
rename fields align to their start.
Hand-placed layouts stay written left to right and are mirrored inside
their row with widgets::flip_x / flip_rect, so an English window takes
the same code path unchanged. Inside a control nothing turns round.
A layers list made wider than the panel by a long name (#1904)
mirrors across its whole width, so it starts scrolled to its right
end, where its rows start (stick_to_right, with a scroll state per
direction so a language switch doesn't leave it at the left end).
The Assets panel, version history, Dev Mode's layouts, the colour
picker, the toolbar, the tab bar and the home screen stay left to right.
Gap 5 had two copies of its "Missing" paragraph, left by merges: one
now.
inspect.designContext and the MCP tool design_context read the selection (or
ids, or a scope) in one call. Each layer keeps apart the values the designer
set (explicit), those layout or the file worked out (derived) and those with no
direct CSS equivalent (unsupported, with the reason). The variables (every
mode's stored and resolved value), styles, components, fonts and assets the
tree uses are joined once, and `missing` says what the design doesn't specify.
A connected instance gives its code snippet instead of its layers. Large trees
are capped and say so, and the MCP tool asks for fewer layers until the result
fits the client.
Applying a style or variable, or copying or duplicating content that uses it,
inserts it; the Detach button detaches it; an instance counts as its component
alone. Show usage and library.usage give them over the chosen period.
Keep both ROADMAP header notes: #1902 Noto Sans Arabic default web
fonts from main, then this PR's mind-map toolbar and keyboard entry
(#2226).
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
Resolve ROADMAP.md and docs/localization-parity.md by keeping main's
newer log entries and the #1902 Noto Sans Arabic default-web-font notes.
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
The browser's requests to a server now open library and plugin directory
connections, so the panels work there as on the desktop. A plugin installed in
the browser lasts as long as the page.