Doc conflicts only (docs/components-parity.md, docs/ui-parity.md): kept main's header and changelog rows and added this PR's #2090 Scale tool clause and row next to them.
The folders were removed at each test's end only, so a failing assertion
left them in the temporary directory. They are now removed on drop, as
path_read_caps_tests does.
The name fallback counted names after path matching had taken its layers,
so with a/Label and b/Label switching to a/Label and c/Label, a/Label
matched by path and the two leftovers looked unique: text typed into
b/Label landed in c/Label, although Label names two layers on each side.
Names are now counted over every text layer outside nested instances,
matched ones too, and only then limited to the unmatched ones, as the
rule says: exactly one layer of that name on each side.
Resizing several frames at once rounded only the pointer, and each frame
took its share of the scale as is: two 100 wide frames resized from 300
to 400 became 133.33 wide, one at 266.67. Each one now has its edges on
the nearest whole pixel of its parent, so the box still follows the
drag, at most half a pixel off per edge, and is never less than a pixel.
A frame moved into another frame was settled on whole pixels of the
parent it was dragged in, then reparented on the drop with its place on
the page kept, so in a frame off the grid it sat at .5 in it. It is
settled again in the frame it is dropped into.
published_main took any main the library's manifest lists as published.
The manifest also lists the components offered ones use, hidden from
publishing included, with published false, so such a hidden main pasted
into another file became an instance of the library's copy. It now has
to be offered itself, and otherwise pastes as a copy of itself, as a
hidden component the library doesn't hold already did. Instances pasted
from the library file still take such a main from the library, since an
offered component brings it along.
Whether a copied style or variable was there to link to was decided by
its id, and ids are numbered per file: the first style of every file is
S:1. Pasted into another file that had styles or variables of its own,
the copy linked to whichever of them shared the copied id and took its
values instead of the copied ones. The test passed only because its
second file had none.
Copy properties now records the file it copied from, and a paste into
another file drops every style and variable link: the values paste
unlinked and the layer's own links on them go. The id check stays for
a style deleted since the copy.
The pasted layer's bindings gave way on every property it could take,
not only on those the copy carries: frame properties pasted onto a text
layer removed its font size variable while leaving the font size, and a
copy without corners did the same to a bound radius. A binding now
gives way only where the copy sets that property.
Layout grid bindings are keyed `layoutGrids/…`, not `grids/…`, so a
frame's grid bindings also went to layers that take no grids.
A copied style link the file no longer has was dropped from the paste,
so the pasted layer kept its own style link. When the pasted values
differ, the list sync unlinks it after the command anyway; when they
match, the layer stayed linked to a style the copied layer never had.
The missing link now pastes as null, the same as a copied layer with
no style.
Several absolutely positioned children of one auto layout frame took the
flow branch, so the copies went to the last one's top-left, over it. The
layout doesn't place them, so they now take the geometric branch like
layers elsewhere: below the lowest, at the selection's own gap.