Skip to content

Conversation

@bucknatt
Copy link
Contributor

📄 Description

These changements are made to align the side-navigation with Figma, for the components that are listed under Foundations/Typography.

Following changes are made:

  • Moved the 'Highlighted Text' documentation page to the Components section and renamed it to 'Text Highlighted'

  • Moved the 'Lists' documentation page to the Components section and renamed it to 'List'

  • Added an example for 'Legends' to the Typography/Overview page

  • Added an example for 'Lead Text' to the Typography/Overview page

  • Updated the example for Headings and extended it to headings with subheadings in the Typography/Overview page

  • Updated the example for 'Paragraphs' in the Typography/Overview page

  • Updated the example for 'Links' in the Typography/Overview page

  • Updated the example for 'Inline Elements' in the Typography/Overview page

  • Removed the link to the 'Heading' documentation page in the Typography/Overview page

  • Removed the link to the 'Lists' documentation page in the Typography/Overview page

  • Removed the Lists example in the Typography/Overview page

  • Removed all documentation pages under Foundations/Typography but the Overview documentation page

  • Renamed the Typography/Overview documentation page to simply be Typography

🚀 Demo

The side-nav before the changes:
image

The side-nav after the changes:
image


🔮 Design review

  • Design review done
  • No design review needed

📝 Checklist

  • ✅ My code follows the style guidelines of this project
  • 🛠️ I have performed a self-review of my own code
  • 📄 I have made corresponding changes to the documentation
  • ⚠️ My changes generate no new warnings or errors
  • 🧪 I have added tests that prove my fix is effective or that my feature works
  • ✔️ New and existing unit tests pass locally with my changes

bucknatt and others added 27 commits October 9, 2025 11:22
…omponent section and rename it "Text Highlighted"
…verview page of Typography (to compare with original example)
…mponent' into 5220-move-typography-pages-to-component
…es for Legends and Headings with Subheadings and after removed Lists and Headings without
…om `Lists` to 'Components/List' and renamed it to `List`
…xample as table, removed unused import for Links and Headings
…ragraph` example as table, removed unused import for Paragraphs
…ines` example as table, removed unused import for Inlines
…napshots for `heading`, `links`, `paragraphs`, `legend`, `inline`
@bucknatt bucknatt requested review from a team as code owners October 23, 2025 09:11
@bucknatt bucknatt requested a review from leagrdv October 23, 2025 09:11
@bucknatt bucknatt linked an issue Oct 23, 2025 that may be closed by this pull request
8 tasks
@changeset-bot
Copy link

changeset-bot bot commented Oct 23, 2025

🦋 Changeset detected

Latest commit: e684a36

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@swisspost/design-system-documentation Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@swisspost-bot
Copy link
Contributor

swisspost-bot commented Oct 23, 2025

Related Previews

@sonarqubecloud
Copy link

@bucknatt bucknatt requested a review from leagrdv November 19, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move typography pages to components

4 participants