v0.5.2 included an unintentional breaking change. This change was reverted as it was meant for v0.6.x, not v0.5.x: a65b056.
Dependencies were fixed in @elastic/react-search-ui to use fixed dependencies on other search-ui packages of the same version. That way, if you install @elastic/react-search-ui@0.5.1, you won't get @elastic/search-ui@0.5.2, which is not compatible.