The best way to display availability in catalog for product that has multiple versions with different availabilities?

What is the best way to display availability in a catalog for a product that has multiple versions (e.g., sizes) with different availabilities?
I could think of two best ways to deal with this situation:
A.) Show "in stock" if at…