Woman I was dating for 6 months just ended due to depression is it the case?

Been dating a woman for 6 months semi long distance, we have had some amazing times and also times where it's been a low vibe or atmosphere. She would never open up about why she was feeling down but it was written on her face and reactions in conversation. When we met for the first time she told me she suffered with depression and anxiety but this did not put me off her I only asked her to be open and transparent about when she feels a particular way and needs space.

We met up every weekend I would go to hers she would come to mine sometimes every other week till one time she went on holiday with friends and we didn't see each other for 5 weeks. I felt the communication was getting longer tiring or uninspiring but thought it was because she's enjoying holidays didn't want to bother her, still there was effort the messages were not short she would still send photos but then it got me by surprise to not hear from her for a few days

To receive a message saying she's breaking up and ending things, she will call me to explain or if not she understands if I don't ever want to speak with her again. She said her mental health is affecting the relationship and can see it's wearing on me and she needs space, but we haven't seen each other for 5 weeks! She started the message off saying she's been thinking for a while but never thought to raise the issues weeks ago which I feel is leading me on. She already come to the decision to end things but didn't even want to talk it through. After speaking with her on the phone she's now changing her tone to give her a couple of weeks to figure out what's best for both of us. Emotions are truly gone. The internet is telling me she's found someone else don't even contact her move on. But I feel like this has to be dealt with differently because she's been open right from the beginning she has depression and anxiety... Females please do give some detailed opinions.
Woman I was dating for 6 months just ended due to depression is it the case?
Post Opinion