Update Typography and Content component descriptions (2026-04-rc)#4284
Update Typography and Content component descriptions (2026-04-rc)#4284sordaz00 wants to merge 1 commit into2026-04-rcfrom
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! 🙏 |
| @@ -27,7 +27,7 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends Base | |||
|
|
|||
| declare const tagName = "s-paragraph"; | |||
| /** | |||
There was a problem hiding this comment.
The missing description is because of this issue, where some definitions aren't flowing to world. I'm surgically adding them, but they get erased every regen. https://shopify.slack.com/archives/C099RJCHAKE/p1775840928446659?thread_ts=1775663494.383649&cid=C099RJCHAKE
| @@ -44,41 +44,38 @@ export interface ToggleArgumentsEvent { | |||
|
|
|||
| declare const tagName = "s-details"; | |||
| @@ -27,7 +27,7 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends Base | |||
|
|
|||
| declare const tagName = "s-heading"; | |||
| /** | |||
| @@ -27,7 +27,7 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends Base | |||
|
|
|||
| declare const tagName = "s-text"; | |||
| declare const tagName = "s-time"; | ||
| /** | ||
| * The element props interface for the Time component. | ||
| * Configure the following properties on the time component. |
1948ff6 to
439176d
Compare
…uality Updates JSDoc descriptions for all Typography and Content web components (Text, Heading, Paragraph, Abbreviation, OrderedList, UnorderedList, ListItem, Time, Details, Summary, SkeletonParagraph, Chip, ClickableChip). - Replace old "element props interface" pattern with "Configure the following properties on the [name] component." across all 13 .d.ts files - Enrich Details events interface and toggle/aftertoggle descriptions - Add Chip/ClickableChip slots interface descriptions - Align shared property descriptions with admin quality (id, color, tone, accessibilityVisibility, display, fontVariantNumeric, lang, dir, lineClamp) - Convert all @see tags to inline "Learn more" links - Fix PascalCase component names in prose to lowercase - Enrich type value descriptions (ParagraphType, TextType) in source - Fix CA doc files (Time casing, OrderedList/UnorderedList grammar) Made-with: Cursor
439176d to
19e579e
Compare









Summary
id,color,tone,accessibilityVisibility,display,fontVariantNumeric,lang,dir,lineClamp) to align with admin@seetags to inline "Learn more" links, fixes PascalCase component names in prose, uses "A callback fired when..." pattern for eventsParagraphTypeandTextTypeunion members in source (requires surgical v2 JSON patching for visibility until generator supports type union JSDoc)Test plan
yarn buildpasses.d.tsand.doc.tsfiles only)Made with Cursor