Add textAlign to Paragraph and improve JSDoc#4481
Conversation
🚨🚨🚨 Docs migration in progress 🚨🚨🚨We are actively migrating UI extension reference docs to MDX in the
During this migration, please be aware of the following:
Doc comments in Examples that previously lived in this repo are being moved to the What should I do?
Thanks for your patience while we complete the migration! 🙏 |
|
This PR targets a stable release branch ( When you open the forward-port PR, include a line like this in its body so the Accepted formats (comma-separated for multiple):
If a forward-port isn't needed (e.g., the change is stable-only), you can remove the |
b8f01a4 to
bdb667a
Compare
Backport of #4455 to 2026-04.
TLDR
Add
textAligntoParagraphElementPropsand replace thetypeprop, aligning ui-extensions types with the underlying component change.What changed
textAlignprop ('start' | 'end' | 'center' | 'auto') toParagraphElementPropstypeprop ('paragraph' | 'small')@publicDocsannotations toParagraphElementandParagraphPropsBaseElementProps,BaseElementPropsWithChildren