This was simply affirming the preliminary injunction until it can be fully litigated. On that, the entire SCOTUS was unanimous. This isn’t so much a decision on a case as it is a decision to wait for a decision on the case (and not enforce it until it’s legality has been determined).
Obviously I don’t agree with the lawsuits, but the SCOTUS isn’t affirming the lawsuits. They’re simply saying that a determination needs to be made before the law can go into effect.