Update Typography and Content component descriptions (2026-07-rc)#4296
Update Typography and Content component descriptions (2026-07-rc)#4296sordaz00 merged 2 commits into2026-07-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! 🙏 |
| * `newState` will be `closed`. | ||
| * | ||
| * Learn more about [ToggleEvent.newState](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState) and [ToggleEvent.oldState](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState). | ||
| * Learn more about the [newState property](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState) and [oldState property](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState). |
There was a problem hiding this comment.
| * Learn more about the [newState property](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState) and [oldState property](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState). | |
| * Learn more about the [`newState`](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState) and [`oldState`](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState) properties. |
Confirming we don't need to retain the mention and link to toggle event like we do here?
| export interface AccessibilityVisibilityProps { | ||
| /** | ||
| * Changes the visibility of the element. | ||
| * The visibility mode of the element for both visual and assistive technology users. |
There was a problem hiding this comment.
Finding this one a bit confusing, I'm not sure if we're meaning to day visual technology and assistive technology users, or visual and assistive technology users. Or sighted people and people who use assistive technology like screen readers?
| * `newState` will be `closed`. | ||
| * | ||
| * Learn more about the [toggle event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event), [ToggleEvent.newState](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState), and [ToggleEvent.oldState](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState). | ||
| * Learn more about the [toggle event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event), the [newState property](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState), and the [oldState property](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState). |
There was a problem hiding this comment.
| * Learn more about the [toggle event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event), the [newState property](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState), and the [oldState property](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState). | |
| * Learn more about the [`toggle` event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event), and the [`newState`](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState), and [`oldState`](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState) properties. |
There are a number of references to things that require code formatting throughout the PR, similar to this.
…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
a7b1b79 to
857d74a
Compare
Made-with: Cursor
1369432 to
86bbf62
Compare
Summary
Test plan
yarn buildpassesMade with Cursor