Looking for an electronic switch driver

I want to replace the driver in this light
I need a buck driver that works with a momentary, electronic switch and has NO BLINKIE MODES. I’d prefer two or three modes, but even a single full power mode would be OK.
All the electronic switch drivers I know of are for single cell use, not buck regulators.

Doubt it would fit, though.

The original driver is a bit over 28mm diameter and the driver cavity is 13mm deep.

I may have found one here
Waiting to hear back from Der Wichtel to see if these are still available.

Edit- That driver is still available and should give me exactly what I want. 2.8A and no blinkie modes. It’s pretty expensive, but I don’t see any cheaper options.