Heh, this is the kind of "minor harm" regulation I'd typically associate with Britain rather than the US. Is the culture shifting, or is this just a California thing?
I'm not in California, but growing up at least, I associated it was goofy small laws like this (along with not so goofy real laws as well).
[0] https://www.cbsnews.com/news/starbucks-cancer-warning-judge-...
So, as a broad kind of concern, no, it is not just a California thing.