Gosh, I really feel for you. And its great you can admit these feelings... I know it's not easy... and I can understand you venting to your Husband and what you said out of frustration.
Now= what DOES your Husband do, when you told him all your feelings? He shouldn't just leave you crying, for 15 hours! I would HOPE, that he is understanding of your feelings...
Next, yes, babies/toddlers go through phases of Parental preferences. Its part of development.
But You said your daughter has been this way since over the course of a year...and you feel its getting worse. Well... that is/can bee a long time, especially when you are feeling unloved, by both your Husband and daughter.
Just sharing: when my kids have gone through "phases" of preferring my Husband over me.... what my Husband does is: he will verbally and demonstratively SHOW my children... that it is "not nice" to treat Mommy that way... that Mommy is SPECIAL... and then my Husband will come over to me, hug/kiss me nicely, and then 'teach/coach' them about "respect" and what a Family is, and HOW IMPORTANT Mommy is etc. THEREFORE, the child, gains understanding that their DADDY ALSO LOVES HIS "WIFE" and not just the child. A child... NEEDS to learn/understand that there is a "relationship" between both parents, AND the child etc.
Also, it could be that your daughter is SO secure in her attachment to you... that it may 'seem' like she does not need you. That can also be the situation. AND at this age.... toddlers to get quirky and have strong opinions anyway.
And, yes, some kids are just "Daddy's Girl's"... BUT, BUT,... instead of just "letting it" develop at the expense of Mommy's well-being... I think, it is important to teach a toddler respect, and that the "roles" of the Parents and the importance of it is taught. When my kids prefer me over their Daddy for instance (and it goes too far)... I immediately "correct" that attitude... and I verbally say "It hurts Daddy's feelings... its not nice to ignore Daddy and be sassy to him.... lets go and say sorry to him..." for example. AND... my Husband does that TOO, when they "choose" him over me, for instance.
In other words... we don't let them get away with certain behaviors at the expense of the other's feelings.... for example: I would have NEVER let my child get away with hitting my face when I tried to kiss her and then she leaned over to kiss my Husband instead. THAT to me, is just plain not acceptable... and regardless if it is a "phase" or not... I would have quickly corrected that, AND MY HUSBAND WOULD HAVE TOO. THAT is the key.
Now, the thing to me is- WHERE IS YOUR HUSBAND IN ALL THIS???? I'm sure he loves the attention... BUT, as you said, it is affecting your well being, and you feel as though your Husband replaced his heart with your daughter and you are resenting your Husband, AND motherhood is a disappointment to you etc. THIS IS NOT GOOD. Sure, they all say "oh its a child's phase, don't take it personally etc." ... but you ARE feeling great jealousy and angst over this. I WOULD recommend, that your Husband STEP-UP... and support YOU.... and it would thereby SHOW YOUR DAUGHTER a life lesson. Sure, a Toddler has phases like this... BUT, they ALSO HAVE TO BE CORRECTED WHEN IT GOES TOO FAR.
Your Daughter seems to know perhaps, that is upsets you... and she is pushing your buttons.
I know how this makes you sad... but, you AND your Husband have to work on it TOGETHER. My Husband would never have let my kids get away with "hitting" my face if I kissed them or for whatever reason. I would not have let them get away with it either...my kids know better than that.
**Kids have to be taught... what is proper loving and what is not, AND that it is NOT a "competition."
A "Man" and "Daddy" also has a lot of impact on a girl & her development... so your Husband HAS TO BE COGNIZANT of that.... and how he "teaches" your daughter to treat their Mom.
But what strikes me is.... your Husband does not seem to do anything, to correct your daughter... nor to support you in improving the situation? Is the problem really your daughter or is it ALSO YOUR HUSBAND? Or both? But the bottom line is ALSO your feelings.... toward them, now. Because of your Daughter's animosity toward you, it is creating a LOT of bad feelings between all of you. This is not healthy... your Husband also has to step-up.... or at least talk about it WITH you, and JOINTLY work on it. Your daughter is still so young, to completely understand ALL realms of emotions and actions.
All the best,
Susan