Text this: Transient thermoelastic responses of dielectrics subjected to ultrashort shaped pulses