Text this: Mechanics of solids with phase changes