From 45c992dcef0874560ff5c529742ff6b94ea4e3b2 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Fri, 28 Mar 2025 06:56:08 +0000 Subject: [PATCH] feat(SW-1806): Implemented design systems button inside buttonLink component and changed teasercard buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Approved-by: Matilda Landström --- .../ShortcutsListItems/index.tsx | 5 +- .../ButtonLink/buttonLink.module.css | 9 +++ .../components/ButtonLink/index.tsx | 62 ++++++++++++------- .../components/ButtonLink/variants.ts | 7 +++ .../Accessibility/index.tsx | 5 +- .../AccordionAmenities/Parking/index.tsx | 5 +- .../RestaurantBar/RestaurantBarItem/index.tsx | 14 +++-- .../TeaserCard/Sidepeek/index.tsx | 52 ++++++++-------- .../TeaserCard/Sidepeek/sidepeek.module.css | 4 ++ .../TempDesignSystem/TeaserCard/index.tsx | 46 ++++++-------- .../TeaserCard/teaserCard.module.css | 4 -- .../lib/components/Button/button.module.css | 7 +-- .../lib/components/Button/index.tsx | 2 + .../lib/components/Button/variants.ts | 21 ++++++- 14 files changed, 152 insertions(+), 91 deletions(-) create mode 100644 apps/scandic-web/components/ButtonLink/buttonLink.module.css create mode 100644 apps/scandic-web/components/ButtonLink/variants.ts diff --git a/apps/scandic-web/components/Blocks/ShortcutsList/ShortcutsListItems/index.tsx b/apps/scandic-web/components/Blocks/ShortcutsList/ShortcutsListItems/index.tsx index 73922e4a2..4bdc5fbe9 100644 --- a/apps/scandic-web/components/Blocks/ShortcutsList/ShortcutsListItems/index.tsx +++ b/apps/scandic-web/components/Blocks/ShortcutsList/ShortcutsListItems/index.tsx @@ -14,7 +14,10 @@ export default function ShortcutsListItems({ return (