Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Conversation

laurkim
Copy link
Contributor

@laurkim laurkim commented Aug 10, 2022

### ⛔️ DO NOT MERGE
Alpha release of Text component needs to ship first.

WHY are these changes introduced?

Resolves #6513.

Once the alpha Text component is released, the existing typography component (DisplayText, Heading, Subheading, Caption, TextStyle, and VisuallyHidden) docs need to be updated.

WHAT is this pull request doing?

  • Deprecates DisplayText, Heading, Subheading, Caption, TextStyle, and VisuallyHidden pages
  • Adds mapping from ^ components to Text component
  • Removes examples for all the above components
  • Updates [components].tsx to only render ComponentExamples if they exist
  • Updates [components].tsx to only render PropTables if the component isn't deprecated
    Heading page — before Heading page — before
    Heading page — after Heading page — after

🎩 checklist

Base automatically changed from next to main August 22, 2022 22:16
@laurkim laurkim force-pushed the lo/deprecate-typography-components branch from f2816fa to b20f902 Compare August 23, 2022 13:57
@laurkim laurkim force-pushed the lo/deprecate-typography-components branch from b20f902 to 2cd6816 Compare August 23, 2022 13:59
@laurkim laurkim changed the base branch from main to typography-beta-release August 23, 2022 18:48
@laurkim laurkim merged commit c75a841 into typography-beta-release Aug 23, 2022
@laurkim laurkim deleted the lo/deprecate-typography-components branch August 23, 2022 18:49
laurkim added a commit that referenced this pull request Aug 31, 2022
laurkim added a commit that referenced this pull request Sep 14, 2022
laurkim added a commit that referenced this pull request Oct 27, 2022
laurkim added a commit that referenced this pull request Nov 2, 2022
laurkim added a commit that referenced this pull request Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Typography foundations] Landing on a deprecated typography component on polaris.shopify.com, users have guidance to migrate
4 participants