Add textAlign to Paragraph and improve JSDoc#4480
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! 🙏 |
| "apis": [ | ||
| "AddressAutocompleteStandardApi", | ||
| "AddressAutocompleteSuggestApi" | ||
| "AddressAutocompleteSuggestApi", |
There was a problem hiding this comment.
@johndcollett is this related to the buggy behaviour we were seeing yesterday?
There was a problem hiding this comment.
this is correct. I don't think I committed the changes when I modified the script in here just in shopify-dev.
Backport of #4455 to 2025-10.
TLDR
Add
textAligntoParagraphPropsand replace thetypeprop, aligning ui-extensions types with the underlying component change.What changed
textAlignprop ('start' | 'end' | 'center' | 'auto') toParagraphPropstypeprop ('paragraph' | 'small')BaseElementProps,BaseElementPropsWithChildren