Commit Graph

784 Commits

Author SHA1 Message Date
Christian Andolf
73884aa428 fix: restore old select selectors for label to still support the temp design select
deprecated the temp design select in favor of the new one
2025-06-13 13:07:38 +02:00
Christian Andolf
f6be4f275e refactor: move input and label to design system
correct variables according to design system spec

various cleanup
2025-06-13 13:07:38 +02:00
Christian Andolf
8b5e8aecae Merged in fix/phone-country-code-fix (pull request #2357)
fix: remove country code from prefilled phone input

Approved-by: Simon.Emanuelsson
2025-06-13 11:01:40 +00:00
Christian Andolf
bd24506ad0 Merged in fix/restore-icon-variant-link (pull request #2340)
fix: restore icon variant for link since inline-flex makes its children inline but not the box itself

Approved-by: Arvid Norlin
2025-06-13 10:19:14 +00:00
Christian Andolf
c545ed2fe2 Merged in refactor/design-system-divider (pull request #2354)
refactor: move divider to design system

Approved-by: Arvid Norlin
2025-06-13 09:38:10 +00:00
Christian Andolf
9551a629fa refactor: move divider to design system
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Christian Andolf
9da986f554 fix: extrapolate phone number parsing for re-usage in edit profile
move error messages to message handler
2025-06-13 10:46:15 +02:00
Tobias Johansson
e645b15c6e Merged in fix/SW-2841-filter-popup-closing-on-select (pull request #2289)
Fix/SW-2841 filter popup closing on select

* fix(SW-2841): refactored so that filter modal is not closed when selecting filters

* fix(SW-2841): rename component

* fix: review feedback

* fix: move font-family

* fix: change init value of filteredHotelIds

* fix

* fix: add Typography tag


Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
2025-06-13 07:41:31 +00:00
Simon Emanuelsson
7be6c5dfb5 feat: remove bookingCode from searchParams for hotels without availability 2025-06-13 07:16:58 +00:00
Joakim Jäderberg
180a100140 Merged in fix/SW-2964-hide-booking-code-switcher (pull request #2345)
fix: as a temporary fix hide booking code switcher and add a way to do a search without bookingcode

* fix: as a temporary fix hide booking code switcher and add a way to do a search without bookingcode


Approved-by: Linus Flood
2025-06-13 07:07:22 +00:00
Bianca Widstam
5b90e15746 Merged in fix/SW-2626-error-message-multiroom-reward (pull request #2299)
fix(SW-2626): add multiroom reward error message for mobile

* fix(SW-2626): add multiroom reward error message for mobile

* fix(SW-2626): error message to red color

* fix(SW-2626): fix errorContainer

* fix(SW-2626): fix button fullwidth

* fix(SW-2626): fix button fullwidth

* fix(SW-2626): add design

* fix(SW-2626): add new colors for checkbox

* fix(SW-2626): new color for input

* fix(SW-2626): fix pr comment

* fix(SW-2626): final ui for desktop and mobile


Approved-by: Hrishikesh Vaipurkar
2025-06-12 12:51:37 +00:00
Christian Andolf
9ee0ec2d46 fix: restore icon variant for link since inline-flex makes its children inline but not the box itself 2025-06-12 14:41:02 +02:00
Christian Andolf
2dd07eb6b8 Merged in fix/LOY-260-use-same-phone-component (pull request #2336)
fix(LOY-260): use same phone component in signup and edit profile as enter details

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-12 12:40:36 +00:00
Christian Andolf
8c6f659f8f Merged in fix/LOY-251-numeric-inputmode (pull request #2346)
fix(LOY-251): numeric inputmode on inputs for mobile numeric keyboard

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-12 12:39:24 +00:00
Christian Andolf
8c21cd1908 Merged in fix/remove-explicit-width-height-carousel-images (pull request #2349)
fix: remove explicit width and height on carousel images to stop next warnings

Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-06-12 12:32:19 +00:00
Christian Andolf
6a0ce38f79 fix(LOY-260): use same phone component in signup and edit profile as enter details
remove old select from edit profile

update typography
2025-06-12 14:30:02 +02:00
Bianca Widstam
ecd8d81b80 Merged in fix/update-hotel-card-select-hotel-mobile (pull request #2327)
fix: left aligned description text on hotel card on select hotel page

* fix: update hotel card from peter suggestions


Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-12 12:25:12 +00:00
Bianca Widstam
80791efc02 Merged in fix/SW-3025-datepicker (pull request #2347)
fix(SW-3025): select date from current month if already selected on mobile

* fix(SW-3025): select date from current month if already selected on mobile


Approved-by: Christian Andolf
2025-06-12 10:59:25 +00:00
Tobias Johansson
65e2ee47a5 Merged in feat/SW-1684-wrong-font-countrycode-dropdown (pull request #2331)
fix(SW-1684): set font family phone input dropdown

* fix: set font family phone input dropdown

* fix: phone input styling


Approved-by: Christian Andolf
2025-06-12 10:51:32 +00:00
Christian Andolf
db0f2ed0f9 fix: remove explicit width and height on carousel images to stop next warnings
now uses fill and lets the width and height from css decide
2025-06-12 11:34:35 +02:00
Erik Tiekstra
2342fd1bfc Feat/SW-2273 campaign page accordion block
Approved-by: Matilda Landström
2025-06-12 09:24:18 +00:00
Christian Andolf
d01db033ae fix(LOY-251): numeric inputmode on inputs for mobile numeric keyboard 2025-06-12 11:10:27 +02:00
Chuma Mcphoy (We Ahead)
4f75c4a60f Merged in fix/employee-benefits-cta-text (pull request #2343)
fix: spelling error in employee benefits CTA text

* fix: spelling error in employee benefits CTA text


Approved-by: Christian Andolf
2025-06-12 07:20:36 +00:00
Erik Tiekstra
e2a4fa6c07 Feat/SW-2272 campaign cards block
Approved-by: Matilda Landström
2025-06-12 06:01:23 +00:00
Linus Flood
2b4c05a313 Merged in fix/staticpage-button-design (pull request #2341)
fix: staticpage button not full width

* fix: staticpage button not full width
2025-06-11 16:00:35 +00:00
Anton Gunnarsson
048a477e52 Merged in feat/common-package (pull request #2333)
feat: Add common package

* Add isEdge, safeTry and dataCache to new common package

* Add eslint and move prettier config

* Fix yarn lock

* Clean up tests

* Add lint-staged config to common

* Add missing dependencies


Approved-by: Joakim Jäderberg
2025-06-11 13:08:39 +00:00
Christian Andolf
f292cc7922 fix(LOY-128): add rounded filter chip variant 2025-06-11 14:25:52 +02:00
Bianca Widstam
d560ac0fca Merged in fix/SW-2676-tracking-filters (pull request #2332)
fix(SW-2676):  hotel filters tracking

* fix(SW-2676):  hotel filters tracking


Approved-by: Linus Flood
2025-06-11 09:02:05 +00:00
Chuma Mcphoy (We Ahead)
144a33fa30 Merged in feat/LOY-233-success-banner-for-dtmc-linking (pull request #2328)
feat(LOY-233): create success banner for successful DTMC linking

* feat(LOY-233): create success banner for successful DTMC linking

* fix(LOY-233): code cleanup

* fix(LOY-233): use new design vars for alert bg colors


Approved-by: Erik Tiekstra
2025-06-11 08:52:28 +00:00
Erik Tiekstra
b4a05dae0b feat(SW-2285): Added campaign essentials block on campaign page
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-11 08:14:00 +00:00
Christian Andolf
4b43a6c3a4 fix: make sidebar links flex to fill entire width 2025-06-10 11:26:32 +02:00
Christian Andolf
65d19c7ad2 fix: add child element to typography 2025-06-10 11:01:39 +02:00
Matilda Landström
d16bac844e Merged in fix/SW-2987-image-card-sidebar (pull request #2314)
fix(SW-2987): add image to content card in sidebar

* fix(SW-2987): add image to content card in sidebar


Approved-by: Erik Tiekstra
2025-06-10 07:38:56 +00:00
Matilda Landström
be643e68a7 Merged in fix/SW-2980-alert (pull request #2312)
Fix/SW-2980: Only filter out child alert on hotel page

Approved-by: Erik Tiekstra
2025-06-10 07:35:12 +00:00
Christian Andolf
5e760fee71 Merged in feat/LOY-243-change-name-disclaimer (pull request #2311)
feat(LOY-243): add change name disclaimer to profile

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-10 07:33:02 +00:00
Erik Tiekstra
ace5519869 feat(SW-2265): Added campaign-page
Approved-by: Matilda Landström
2025-06-10 06:35:43 +00:00
Tobias Johansson
ead822fa62 Merged in fix/SW-2679-tracking-signup-details-forms (pull request #2236)
feat(SW-2679): Added form tracking for checkout and signup

* feat(SW-2679): Added form tracking for checkout and signup

* fix(SW-2679): fixes from review


Approved-by: Michael Zetterberg
2025-06-10 06:35:13 +00:00
Christian Andolf
d7579e88d6 fix(LOY-243): adjust font-sizes in text and gap on container 2025-06-09 17:21:03 +02:00
Bianca Widstam
3688d5ece8 Merged in fix/SW-2155-accessibility-change-focus-color (pull request #2313)
fix(SW-2155): accessibility change focus color on select

* fix(SW-2155): accessibility change focus color on select


Approved-by: Christian Andolf
2025-06-09 12:37:34 +00:00
Hrishikesh Vaipurkar
e8408b4fb2 Merged in fix/SW-2555-bookings-voucher-unable-date (pull request #2305)
Fix: SW-2555 Fixed change date for voucher bookings

* Fix: SW-2555 Fixed change date for voucher bookings


Approved-by: Tobias Johansson
2025-06-09 12:27:10 +00:00
Bianca Widstam
db5f79c1d3 Merged in fix/SW-2986-select-rate-breakfast-message (pull request #2315)
fix(SW-2986): breakfast message on other languages break ui select rate

* fix(SW-2986): breakfast message on other languages break ui select rate

* fix(SW-2155

* fix(SW-2986): remove redundant css


Approved-by: Christian Andolf
2025-06-09 12:25:13 +00:00
Christian Andolf
7fdffb8e1d feat(LOY-243): add change name disclaimer to profile 2025-06-09 12:46:28 +02:00
Erik Tiekstra
ac953ccd97 feat(SW-1818): Refactored sysAsset handling to support PDF links
Approved-by: Matilda Landström
2025-06-09 09:28:17 +00:00
Anton Gunnarsson
bff34b034e Merged in feat/sw-2857-refactor-booking-flow-url-updates (pull request #2302)
feat(SW-2857): Refactor booking flow url updates

* Add support for removing parameters when using initial values in serializeSearchParams

* Don't manually write search params in rate store

* Booking is already from live search params so no need

* Fix input type in serializeBookingSearchParams


Approved-by: Linus Flood
2025-06-09 09:16:22 +00:00
Hrishikesh Vaipurkar
d626e0f7ae Merged in feat/SW-2653-aa-tracking-click-tracking-on-se (pull request #2301)
feat: SW-2653 Implemented click tracking on Search btn and lang switch

* feat: SW-2653 Implemented click tracking on Search btn and lang switch


Approved-by: Erik Tiekstra
2025-06-09 08:49:39 +00:00
Linus Flood
0a1f1c5b5c Merged in feat/adobe-taget-ids (pull request #2307)
feat(adobe target): add some data-ids to section in enter detail

* feat(adobe target): add some data-ids to section in enter detail
2025-06-09 07:39:01 +00:00
Simon Emanuelsson
dea598d851 feat: use nationalnumber for valid phone numbers instead of international 2025-06-09 08:44:54 +02:00
Tobias Johansson
97f81cd35b Merged in fix/SW-2972-hotel-card-prices-width (pull request #2304)
fix(SW-2972): hotel card prices didnt take full width

* fix(SW-2972): hotel card prices didnt take full width


Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-06-05 12:05:38 +00:00
Matilda Landström
4536b0cf58 Merged in feat/SW-2971-subpage-openinghours (pull request #2300)
feat(SW-2971): update subpage wellness opening hours

* feat(SW-2971): update subpage wellness opening hours


Approved-by: Erik Tiekstra
2025-06-05 11:50:42 +00:00
Christian Andolf
cb2dd046fb Merged in fix/update-password-phone-input (pull request #2298)
fix: update password and deprecated phone inputs to be consistent with other existing inputs in signup

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-05 09:34:44 +00:00