I have been developing a Windows-style taskbar for macOS for quite some time now and it's finally released. It has the feature you're asking for, which is automatically resizing windows that overlap with it. Otherwise it works the same way uBar works.
Check it out: https://lawand.io/taskbar/
Note: Beta expires on April 1st, 2024. Afterwards, a license is required.