layout_affinity
Layout-affinity vocabulary for recipe-level workspace contracts. The current layout-affinity contract is intentionally narrow: rendered templates may emit documented ``data-chirpui-*`` attributes, and parent primitives may resolve those attributes inside their own scoped CSS. This module centralizes the allowed vocabulary without projecting it into the public manifest schema yet.
Layout-affinity vocabulary for recipe-level workspace contracts.
The current layout-affinity contract is intentionally narrow: rendered
templates may emit documented ``data-chirpui-*`` attributes, and parent
primitives may resolve those attributes inside their own scoped CSS. This
module centralizes the allowed vocabulary without projecting it into the public
manifest schema yet.
LayoutAffinityResolver
class
Documented parent resolver for layout-affinity attributes.
validate_layout_affinity_values
function
Return invalid layout-affinity tokens in deterministic order.