Actually, Profs get NO CREDIT for tenure/promotion for textbooks. And a tenure-track Prof whose CV only consists of textbooks tends to be regarded as someone who has misplaced his/her professional priorities.
And it’s not limited to Research Us. LAC Profs on the tenure track…especially those in the elite/respectable tiers would likewise face the same issue if all they had on their CV was textbooks.