Plugin resize via JS

I make additional custom panels with width and height parameters in my plugin. I want to create some presets for users with these parameters. Can I change the plug-in size in UXP using js?

It could be done with this code for CEP:

CSInterface.prototype.resizeContent = function(width, height) {
    window.__adobe_cep__.resizeContent(width, height);

Does UXP have something similar?

UXP does not currently have any mechanism for controlling the size of the panels dynamically.

Have there been any changes in 2022?
Is there any plan to add such functionality in the future if it hasn’t been added yet?

Hello Kerri,

Can we have this feature soon? CEP used to do it very good and it was very usefl, specially for my user experience with my customers. My plugin needs it some how.