Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature / Breaking change] Link list and link improvements #710

Merged
merged 26 commits into from
Jun 16, 2023

Conversation

LJKaski
Copy link
Collaborator

@LJKaski LJKaski commented Apr 14, 2023

Description

This PR introduces the LinkList and LinkListItem components to provide a uniform link list solution to the library. In addition, it adds smaller font size option as well as an "accent" variant to Link, ExternalLink and RouterLink components. RouterLink also now has the .fi-link class to bring it on the same realm with other link components in that regard.

Motivation and Context

The new component was requested by multiple services. The need for smaller font size option and accented/bulleted option for links came up during the development.

How Has This Been Tested?

So far by running locally in styleguidist on chrome, firefox and edge.

Screenshots (if appropriate):

image

Release notes

General changes

  • Introduce LinkList and LinkListItem components

RouterLink

  • Breaking change: Add .fi-link class to the component and use it for styling like in other link components
  • Add smallScreen prop to allow smaller font size (16px) where needed.

Link & ExternalLink

  • Add smallScreen prop to allow smaller font size (16px) where needed.
  • Add option for bulleted variant via variant prop

@LJKaski LJKaski changed the title Feature/link list [Feature] Link list and link improvements Apr 17, 2023
@LJKaski LJKaski changed the title [Feature] Link list and link improvements [Feature / Breaking change] Link list and link improvements Apr 17, 2023
@LJKaski LJKaski force-pushed the feature/link-list branch from 33057df to 7963b83 Compare June 9, 2023 12:26
jenkrisu
jenkrisu previously approved these changes Jun 12, 2023
Copy link
Collaborator

@jenkrisu jenkrisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@LJKaski LJKaski merged commit 97e711c into develop Jun 16, 2023
@jenkrisu jenkrisu mentioned this pull request Jul 3, 2023
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.

3 participants