/** * Enum providing common alignment rules */ const Alignment = Object.freeze({ /* Normal alignment */ NORMAL: "normal", /* Basic positional alignment */ /* align-content does not take left and right values */ START: "start", CENTER: "center", END: "end", FLEX_START: "flex-start", FLEX_END: "flex-end", /* Baseline alignment */ BASELINE: "baseline", FIRST_BASELINE: "first baseline", LAST_BASELINE: "last baseline", /* Distributed alignment */ SPACE_BETWEEN: "space-between", SPACE_AROUND: "space-around", SPACE_EVENLY: "space-evenly", STRETCH: "stretch", /* Overflow alignment */ SAFE_CENTER: "safe center", UNSAFE_CENTER: "unsafe center", /* Global values */ INHERIT: "inherit", INITIAL: "initial", REVERT: "revert", REVERT_LAYER: "revert-layer", UNSET: "unset" })