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.
A press on a layer inside a selected one now drags the selection, and a click
without a drag selects that layer (also in Dev Mode and for a single selection),
as in Figma. Cmd/Ctrl, Shift and layers outside the selection are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
transform.nudge applied the step in the parent's local space, so Down inside a frame
rotated 90 degrees moved the layer sideways. The step is now turned into the parent's
space first (falling back to the plain step if the parent's transform is not invertible).
Auto layout children are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
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.
A property added to a set goes to all its variants (component.addProperty), but
Combine as variants kept each component's own definitions, so a property made
on one component before combining was missing from the others: their layers
couldn't be bound to it ("the component has no property") and an instance
switched to one of them dropped its value. make_variant_set now gives every
variant the properties any of them has (share_props, through the give_prop step
addProperty uses too); a variant with a property of that name keeps its own.
Tests: variant_shared_props_tests.
Cmd/Ctrl+V with one layer inside a frame selected pasted onto the page on top of the frame. It now pastes into the layer's parent just above it, in an auto layout frame the item after it.
Page-level layers, several layers, instance children, board atoms, component sets and copied components keep today's behaviour.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
In vector edit mode, align.* and distribute.* act on the selected
points instead of moving the whole vector. The Design panel shows the
alignment row, and the existing shortcuts apply to those points.
Closes#2109.
In a hugging parent, Fill on the other axis follows the line the way
Figma does, instead of forcing the parent Fixed. This also covers item 2
of #2090 on both axes: a hugging main that becomes Fixed is followed by
its instances' roots.
Fixes#2091 item 3. Fixes#2034. Fixes item 2 of #2090.
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>
A text field that isn't being edited painted its whole value clipped to the field, so the variant value "Down left" read "Down lef". It now paints the value shortened with an ellipsis to fit, and hovering shows the whole value (not for a secret field). Editing and screen readers keep the whole value.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
A layer stored its vertical text alignment, text case, paragraph spacing and
indent, OpenType features, start and end caps, a frame's variable modes, which
component property controls a field, and whether a nested instance is exposed,
but node.get and document.inspect left them out. They are reported now, under
the names node.set takes so a value read can be written back, and only when
they aren't the default.
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.
Automation roots: same_file doesn't open a path on another computer, native NT link targets and names Windows trims are refused, and the docs say network paths are refused
After a zoom step's preview the render thread only checked once, right away,
for a newer request, then started the full render. That render can't be
stopped, so on a heavy page every later step of a held zoom waited for it
(110-520 ms per render on a 9,000-layer page with images and shadows).
It now waits like the browser worker does: SETTLE_MS, or the last full
render's time when that's shorter. Pans and edits have no preview and are
refined straight away as before.
The main merge kept the old summary in front of main's rewritten one; this takes main's line and puts back only the PR's own entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 driver, no subagent