Bridging the gap between one-way and two-way shear in slabs