mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 22:10:34 +00:00
generate-make-shapes-variant does not validate, as its callers may run it before the shapes are inside the container. Validate in the callers instead, once the action is complete: - generate-relocate validates the variant containers the variants come from (unless they are deleted for being empty) and the one they go into. - prepare-restore-component validates the container when it restores a component into a variant. - duplicate-variant validates the container after moving the new variant into it. AI-assisted-by: claude-opus-5-5