From ae594debccbf177ee29342d9bec4e520565dd408 Mon Sep 17 00:00:00 2001 From: Pavel Klibani Date: Wed, 7 Aug 2024 21:30:54 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! Feat(web-twig): Introduce new prop underline to Link component --- .../web-twig/src/Resources/components/Link/Link.twig | 2 +- .../web-twig/src/Resources/components/Link/README.md | 10 +++++----- .../components/Link/stories/LinkUnderline.twig | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/web-twig/src/Resources/components/Link/Link.twig b/packages/web-twig/src/Resources/components/Link/Link.twig index 9ded50f9ad..d39ead8a78 100644 --- a/packages/web-twig/src/Resources/components/Link/Link.twig +++ b/packages/web-twig/src/Resources/components/Link/Link.twig @@ -25,7 +25,7 @@ {%- set _allowedAttributes = [ 'target', 'title' ] -%} {% if _isUnderlined is defined %} - {% deprecated '"isUnderlined" property will be replaced in the next major version. Please use "underline" instead.' %} + {% deprecated '"isUnderlined" property will be removed in the next major version. Please use "underline" instead.' %} {% endif %} … ``` Alternatively, you can omit this prop: -```html +```twig … ``` @@ -55,7 +55,7 @@ Alternatively, you can omit this prop: The underline is constantly visible, regardless of interaction. -```html +```twig … ``` @@ -63,7 +63,7 @@ The underline is constantly visible, regardless of interaction. The underline is never visible, even when the link is hovered over. -```html +```twig … ``` diff --git a/packages/web-twig/src/Resources/components/Link/stories/LinkUnderline.twig b/packages/web-twig/src/Resources/components/Link/stories/LinkUnderline.twig index 5804286ed0..2533cf08d7 100644 --- a/packages/web-twig/src/Resources/components/Link/stories/LinkUnderline.twig +++ b/packages/web-twig/src/Resources/components/Link/stories/LinkUnderline.twig @@ -1,4 +1,4 @@ -

Always

+

Always

Primary Link @@ -9,7 +9,7 @@ ⚠️ Link with Icon -

Never

+

Never

Primary Link