Skip to content

feat: add link property wrap #4540

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

Open
wants to merge 2 commits into
base: 3.0-release
Choose a base branch
from

Conversation

milan-w
Copy link

@milan-w milan-w commented Jul 15, 2025

Proposed changes

  • Add new property "wrap" for DBLink component to enable text wrapping for multi-line text links.
  • Add value "inline" for property variant on DBLink; sets display: inline and removes arrow.

Closes #3995

Types of changes

  • Bugfix (non-breaking change that fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improvements to existing components or architectural decisions)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Further comments

❤️ Thank you!

…, add value "inline" for property variant - sets display: inline and removes arrow
@milan-w milan-w requested review from mfranzke and nmerget as code owners July 15, 2025 14:12
Copy link
Contributor

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@nmerget nmerget moved this to 👀 In review in UX Engineering Team Backlog Jul 16, 2025
@mfranzke mfranzke changed the title Feat: add link property wrap feat: add link property wrap Jul 16, 2025
@mfranzke mfranzke added this to the 3.0.0 milestone Jul 16, 2025
@mfranzke mfranzke added the 👩‍👧‍👦communityFeedback Feedback from community label Jul 17, 2025
Copy link
Collaborator

Choose a reason for hiding this comment

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

it looks like that the arrow is slightly off (vertically) due to the changes of this ticket, even though that I can't identify why this happens (based on the code changes being made).

Copy link
Collaborator

@mfranzke mfranzke Jul 17, 2025

Choose a reason for hiding this comment

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

show icon = false still does display an icon according to this screenshot, and the page https://design-system.deutschebahn.com/core-web/review/feat-add-link-property-wrap/components/action/link/overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

2 participants