Of course, this type of question is entirely subjective and depends on each person's valuation.
I'm assuming we're limiting the conversation to a solid-body electric guitar.
For me, I'd place the neck at 45% of value, the body at 35% and the hardware at 20%.
The reason I say this is that the neck is the part of the guitar that is truly a precision piece. True, there is some precision in the body, but this is primarily the point where the bridge mounts, to ensure correct scale length and string alignment. From that point on, just about any goofy thing can be done to the body. This is not to say the body is not important. The neck and bridge have to attach to something, and it has to be somewhat comfortable for the user. Also, the visual appeal of the guitar is mostly attributable to the body.
The neck, however, requires great attention to everything from thickness, profile, fret placement, width, and more. So, I place more value on the neck than the body.
In a real sense, with the exception of the neck, a solid-body electric guitar is just glorified furniture. I've seen coffee tables that require more craftsmanship than a solid guitar body.
The hardware and electronics are critical, to be sure, but there is a wide variability on what goes on here. You can choose to put really expensive tuners on the guitar, but you don't really have to. The same with electronics. But, they are definitely not optional, so I kept the figure at 20%