[Bug]Coordinates inside a component is not relative
Expected behaviour:
When you create a new component the coordinates of any object inside that component have to be relative to the component anchor point (top left) since constraints are relative.
Actual behaviour:
The coordinates of any object inside a component are relative to the artboard which makes the data inconsistent with constraints.
Use cases, problems and implications:
- Impossible to create consistent padding\margins across multiple components.
- Impossible to maintain and check the spacing, paddings and margins across new elements in the design system (for ex. created by junior/mid designers)
- Impossible to automate design testing during dev ops handoff phase
Solution:
Make coordinates relative to the parent components' anchor point.
