A slightly more balanced version of the story than KMAN's drivel.
ksl.com - Woman sent to jail for texting in court
That's interesting additional info, but I'm not sure it proves intent.
I'm not sure it has to prove any intent. Minus any more information, it sounds like she got a simple contempt of court citation for violating the judge's general ban on texting. And there's nothing unusual or out of control about that. Judges have always been very touchy about their dignity and having their orders followed. I knew a judge once who cited a lawyer for contempt of court for wearing basketball shoes in court, because he said it was "mocking the seriousness of the court".
If a clear ban on any phone use was in place then I agree with that completely, but 30 days still seems excessive to me. A fine would have done it. Even better, community service.