mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-02 15:01:23 -05:00
docs: components parity row for the Uno variables export follow-up
This commit is contained in:
@@ -86,6 +86,7 @@ updates with overrides kept: `library_tests.rs`, `components_scale_tests.rs`.
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-12-02 | minor | M7, #2170: `variable.export {format: "uno"}` (also Variables › Export… › Uno Platform theme resources…) writes one C# file: a `VariableResources` class based on `ResourceDictionary`, with collections of one mode in it and those of two or more modes in its Light and Dark theme dictionaries (each theme the mode of its name, else the first mode the other doesn't take; other modes left out with a warning), colours as brushes, corner radii as `CornerRadius`, other numbers as `double`, keys from variable names unique per file, aliases resolved per theme. |
|
||||
| 2026-12-02 | patch | M7, #2170 follow-up: the Uno variables export writes a Display P3 file's colours as sRGB (what `Color.FromArgb` reads), and names that collide take their number suffix in variable-id order, so reordering variables no longer swaps two keys; Variables › Export… shows how many warnings an export has and the first one. Tests: `variables_export_as_uno_theme_resources`, `uno_keys_of_names_that_collide_survive_a_reorder`, `an_export_that_leaves_something_out_says_what`. Numbers unchanged. |
|
||||
| 2026-12-01 | patch | M3, #2186: a frame holding main components, duplicated or pasted in its file, always got new mains, so a themed copy of a components page had to be rebuilt from instances by hand. Edit > Duplicate as instances (`edit.duplicateAsInstances`), and `mains: "instances"` on `edit.duplicate` and `edit.paste`, make each main inside the copied layers an instance of the original and each component set an instance of its default variant; copied instances of those mains stay linked to the originals with their overrides; a variant copied into its set stays a variant; a paste whose mains were cut or deleted keeps them as mains. The default is unchanged. Tests: `duplicate_as_instances_tests`. Numbers unchanged. |
|
||||
| 2026-12-01 | patch | M3, #2794: a saved library file link still held the absolute path next to the relative one written since #2132, so a file committed to a public repository or sent to someone carried the author's folders and user name, and setting the path by hand didn't stick. A link is now saved with only the way from the document's folder in `path` (`../lib/Library.figcraft`); the open document still uses the absolute path, and files saved before keep opening (their relative path is followed first, as before). A library with no relative way to it (another drive) keeps its absolute path. Test: `library_relative_link_tests::a_saved_library_link_holds_no_absolute_path`. Numbers unchanged |
|
||||
| 2026-11-30 | patch | M3, #2345 (rest): boolean, text, instance swap and slot properties get the Edit property window too: their row's edit button opens it beside the Design panel with the property's name, its default (a checkbox, a text field or a component menu) and, for an instance swap or a slot, its preferred components, which no longer take a row of their own under the property. The row keeps its name and default for quick edits, now 64 points wide to leave the name room beside the two buttons. Test: `component_set_narrow_tests::the_window_sets_the_default_of_a_text_boolean_or_instance_swap_property_and_its_preferred_components`. Numbers unchanged. |
|
||||
|
||||
Reference in New Issue
Block a user