Apple has not abandoned the iMac Pro line. She is reportedly working on a new model based on SoC M3.
Apple is currently working on two new monoblocks. The regular 24-inch iMac will be updated next year with the new M3 platform. Probably just the base version.
The second model is a larger iMac for professionals, and it will most likely be the new iMac Pro. In this case, we are no longer talking about the base SoC M3, but about the platforms of this line. Given the current naming conventions, one would expect the M3 Pro or M3 Max to be used.
At the same time, new monoblocks on M2 are not expected. Now, recall, in the assortment of Apple there is only a 24-inch iMac on the SoC M1. Thus, when the new M3 model comes out, the difference in performance will be quite significant.