- Added `horizontalConstraintName` and `verticalConstraintName` functions to map constraint types to their respective names. - Updated `ConstraintsRow` component to utilize these functions for setting `constrainX` and `constrainY` properties. - Introduced `HORIZONTAL_CONSTRAINTS` and `VERTICAL_CONSTRAINTS` constants in the runtime to define available constraints. - Enhanced documentation to clarify the behavior of `constrainX` and `constrainY` properties in the JSX elements reference.
@diffusionstudio/jsx
The editor supplies the runtime when a project is mounted, so this package is
needed for types and tooling — IntelliSense and tsc --noEmit. It carries
no renderer: useTicker is a declaration that throws outside a mount, and
elements only become a composition once the editor renders them. The pure
helpers (generate.*, parseTime, the source-stamp constants) are real here;
everything else is a type.
See reference/jsx for the authoring surface itself.