Commit Graph

4950 Commits

Author SHA1 Message Date
Christian Andolf
c1eae6920c fix: restore flex classes to link variants 2025-06-13 17:13:28 +02:00
Linus Flood
1c90336cc0 Merged in feat/SW-3036-post-timeout (pull request #2365)
feat(SW-3036): Increase timeout on POST, PUT, DELETE, PATCH requests on API client

* feat(SW-3036): Increase timeout on POST, PUT, DELETE, PATCH requests on API client


Approved-by: Anton Gunnarsson
2025-06-13 13:20:44 +00:00
Michael Zetterberg
5826901c0e feat: include hidden labels + sync 2025-06-13 12:01:54 +00:00
Simon.Emanuelsson
85acd3453d Merged in feat/SW-1719-strikethrough-rates (pull request #2266)
Feat/SW-1719 strikethrough rates

* feat(SW-1719): Strikethrough rate if logged in on regular rate cards

* feat(SW-1719): Strikethrough rate if logged in on rate summary

* feat(SW-1719): Strikethrough rate if logged in on mobile rate summary

* feat(SW-1719): Strikethrough rate if logged in on enter details

* feat(SW-1719): Strikethrough rate support for multiple rooms

* feat(SW-1719): booking receipt fixes on confirmation page

* feat(SW-1719): improve initial total price calculation

* feat: harmonize enter details total price to use one and the same function


Approved-by: Michael Zetterberg
2025-06-13 12:01:16 +00:00
Anton Gunnarsson
e1ede52014 Merged in fix/common-package-fix (pull request #2355)
fix: Tiny fixes in common package

* Fix self-referencing and circular imports

* Fix env isServer


Approved-by: Joakim Jäderberg
2025-06-13 11:36:40 +00:00
Christian Andolf
e3d6437af2 Merged in refactor/design-system-input-label (pull request #2326)
refactor: move input and label to design system

Approved-by: Arvid Norlin
2025-06-13 11:24:46 +00:00
Christian Andolf
ce399e696d fix: consistent height and focus states 2025-06-13 13:07:39 +02:00
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
7ee711bb43 fix: use typography variables instead
explicit since composing is not allowed in nested selectors
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
Anton Gunnarsson
0788a57adc Merged in feat/add-no-relative-packages-rule (pull request #2356)
Add eslint rule no-relative-packages

* Add eslint rule no-relative-packages


Approved-by: Christian Andolf
2025-06-13 10:36:11 +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
430cc6f644 fix: revert numeric inputmode zipcode 2025-06-13 11:33:04 +02: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
Linus Flood
ad3be1b4f4 Merged in fix/breakfast-currency (pull request #2358)
fix: default price from initialPrice instead of breakfast package

* fix: default price from initialPrice instead of breakfast package
2025-06-12 16:03:20 +00:00
Anton Gunnarsson
7a3ab92426 Merged in feat/sw-1948-point-transfer-endpoint (pull request #2353)
feat(SW-1948):Add SAS point transfer endpoint

* Add SAS point transfer endpoint


Approved-by: Joakim Jäderberg
2025-06-12 14:06:30 +00:00
Anton Gunnarsson
a93cdf007f Merged in fix/add-common-to-transpile-packages (pull request #2351)
fix: Add common package to transpilePackages config

* Add common package to transpilePackages config


Approved-by: Joakim Jäderberg
2025-06-12 13:11:41 +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
f528318e77 Merged in fix/common-module-package (pull request #2348)
fix: add type module to common package to fix commonjs parsing warning

Approved-by: Anton Gunnarsson
2025-06-12 12:33:15 +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
7cd46bbdd6 fix: add private to package to prevent publishing 2025-06-12 11:19:17 +02:00
Christian Andolf
920b8124de fix: add type module to common package to fix commonjs parsing warning 2025-06-12 11:16:40 +02:00
Christian Andolf
d01db033ae fix(LOY-251): numeric inputmode on inputs for mobile numeric keyboard 2025-06-12 11:10:27 +02:00
Hrishikesh Vaipurkar
26a289b037 Merged in feat/SW-2993-aa-tracking-remove-pagename- (pull request #2325)
feat: SW-2993 Removed pagename and pagetype from bed & breakfast selection tracking

* feat: SW-2993 Removed pagename and pagetype from bed & breakfast selection tracking


Approved-by: Tobias Johansson
2025-06-12 09:05:22 +00:00
Michael Zetterberg
2c9f3c4c5e feat: lokalise clean 2025-06-12 08:56:10 +00: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
Michael Zetterberg
c52da4bec6 feat: add redirect processing script 2025-06-12 07:03:07 +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
6bf7462ac7 Merged in fix/payment-error (pull request #2342)
Fix/payment error

* fix: dont show not found page when payment fails

* Show error message when payment fails


Approved-by: Anton Gunnarsson
2025-06-11 17:49:27 +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
Tobias Johansson
98983cb44a Merged in fix/SW-3018-payment-cancel-error (pull request #2339)
Fix/SW-3018 payment cancel error

* fix(SW-3018): cancel payment error when get booking in callback

* fix: wrong status code


Approved-by: Linus Flood
2025-06-11 15:22:39 +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
40d1b67a6f Merged in fix/LOY-128-add-filter-rounded-chip-variant (pull request #2317)
fix(LOY-128): add rounded filter chip variant

Approved-by: Erik Tiekstra
2025-06-11 12:42:11 +00:00
Linus Flood
3b9d01af9d Merged in feat/sw-3006-timeout-fetch (pull request #2335)
feat(SW-3006): added default timeout to all requests

* feat(sw-3006): added default timeout to all requests

* Fixed spreading


Approved-by: Joakim Jäderberg
2025-06-11 12:39:58 +00:00
Christian Andolf
f292cc7922 fix(LOY-128): add rounded filter chip variant 2025-06-11 14:25:52 +02:00