I think it's more about pedigree. Committees will want to feel like they are selecting someone who has been reared by someone who has an important rep. Good grades are good. Getting published may or may not matter, it depends. Most of them don't want you to have very new ideas. Sometimes that might scare them off, as it might show you already have too many ideas of your own. They may want to see you as an empty vessel to fill with their own ideas, so you can be their disciples. However, showing a bit of arrogant self-regard may help you appear more attractive to some.
They also like high standardized test percentiles, because schools love quantifiable things to put in statistics reports and believing that everyone they accept is in the top 2% of smart people.
Cynicism aside, I've talked to numerous profs and chairs at schools and none of them can really give a straight answer as to what a committee actually wants. It's apparently very mysterious. They may consult the I Ching or divine entrails. Nobody really knows.
Common points of emphasis tend to be "strong" GRE scores, good reading skills in foreign languages is never a bad thing to have, and almost everyone talks up having publications and presentations... but still, its a mystery. Having all of these will guarantee nothing, but it may give you a shot.