At 5, having some night-time wetting on occasion is pretty normal. And particularly if it's getting better with time and not causing any big problems at home, I'd be inclined to give her some time to outgrow it.
However, the daytime accidents and leaking make me a little more concerned. Usually, once kids are toilet trained, they stay dry during the day. But there are lots of kids out there who don't like to stop what they're doing to use the bathroom, and end up "holding" their urine for too long. Over time, that disrupts the normal brain-bladder signals and leads to more accidents. (This is called dysfunctional voiding syndrome.)
If that sounds like your daughter at all, then I have two pieces of advice for you.
The first is to get her on a good bowel regimen. Any amount of constipation will work against you with the wetting accidents. There's a limited amount of space in everyone's pelvis, and that space has to accommodate both the bladder and the colon. If the colon is full of hard poop, it tends to push in on the bladder and disturb the normal sensations of fullness and communication with the brain.
The second is to get her on a timed voiding regimen. What I mean by that is that she should go to the restroom every 2-3 hours during the day - even if she doesn't feel like she has to go. If she's having leaking, it means her bladder is getting too full - so what we need to do is keep it more empty.
I hope that this helps - please let me know if you have more questions!