WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.49k stars 4.19k forks source link

CreateTemplatePartModalContents: Refactor to not use `RadioGroup` #66569

Open mirka opened 3 days ago

mirka commented 3 days ago

What problem does this address?

The RadioGroup component is deprecated (#45389), and this is the only instance of usage in the Gutenberg app. It's also heavily modified visually. It doesn't make sense to keep this around. Refactoring this usage away from RadioGroup will allow us to potentially soft or hard deprecate (#61099) RadioGroup.

Heavily modded RadioGroup

What is your proposed solution?

Use standard HTML instead of the RadioGroup component.