Fix: refactor booking flow search params
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* Prepare new parse function for booking flow search params
* Prepare serialize function for booking flow search params
* Improve handling of comma separated arrays
* Slightly refactor for readability
* Next abstracts URLSearchParams so handle the abstraction instead
* Refactor booking widget to use new search params parsing
* Rename search param functions
* Refactor select-hotel to use new search param parser
* Use new search params parser in select-rate and details
* Fix hotelId type
* Avoid passing down search params into BookingWidget components
* More updates to use new types instead of SearchParams<T>
* Remove types SelectHotelSearchParams and AlternativeSelectHotelSearchParams
* Fix parseBookingWidgetSearchParams return type
* Add error handling to booking search param parsers
* Fix modifyRateIndex handling in details page
* Clean up
* Refactor booking widget search param serializing to util function
* Move start page booking widget search param parsing to page
* Use new search param serializer in HandleErrorCallback
* Delete convertSearchParamsToObj & convertObjToSearchParams
Approved-by: Michael Zetterberg
chore (SW-834): Upgrade to Next 15
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* wip: fix remaining issues from codemod
serverClient is now async because context use headers()
getLang is now async because it uses headers()
* Minor cleanup
* Inline react-material-symbols package
Package is seemingly not maintained any more and doesn't support
React 19. This copies the package source into `design-system`,
makes the necessary changes for 19 and export it for others to use.
* Fix missing awaits
* Disable modal exit animations
Enabling modal exit animations via isExiting prop is causing
modals to be rendered in "hidden" state and never unmount.
Seems to be an issue with react-aria-components,
see https://github.com/adobe/react-spectrum/issues/7563.
Can probably be fixed by rewriting to a solution similar to
https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html
* Remove unstable cache implementation and use in memory cache locally
* Fix ref type in SelectFilter
* Use cloneElement to add key prop to element
Approved-by: Linus Flood
Fix/SW-2189 trigger on blur
* fix(SW-2189): do not trigger email when typing
* fix(SW-2189): use onblur on multiroom as well
Approved-by: Tobias Johansson
fix(SW-2292): new design for hotel header on enter details
* fix(SW-2292): new design for hotel header on enter details
Approved-by: Michael Zetterberg
fix(SW-2887): don't disable the booking button
The complete button shouldn’t be disabled based on validation. This was already correct in desktop, but now it’s also correct in mobile.
* fix(SW-2887): don't disable the booking button
Approved-by: Tobias Johansson
Approved-by: Christian Andolf
fix: update typography including missing header element in hotel cards
Approved-by: Tobias Johansson
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
Feat/SW-2407 mystay tc to modal
* feat: SW-2407 Moved terms in modal view for my stay
* feat: SW-2407 Updated modal to show terms for reward nights and corporate cheque stay
* feat: SW-2407 Optimised code
* feat: SW-2407 Optimised code
Approved-by: Niclas Edenvin
don't use rateCode to determine if bookingCode should come from the room or the 'big' input
* don't use rateCode to determine if bookingCode should come from the room or the 'big' input
Approved-by: Linus Flood
fix(SW-2892): don't show Tripadvisor rating if undefined
* fix: don't show rating if undefined
Approved-by: Bianca Widstam
Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
Fix/SW-2676 tracking select hotel
* fix(SW-2676): add tracking select hotel
* fix(SW-2676): fix tracking text
* fix(SW-2676): create tracking function
Approved-by: Tobias Johansson
fix: select-rate didn't update results when switching back to a recent search SW-2890
* fix: select-rate didn't update results when switching back to a recent search
Approved-by: Linus Flood
feat: SW-1232 Implemented disabling of filters and show hotel count
* feat: SW-1232 Implemented disabling of filters and show hotel count
* feat: SW-1232 Optimised code
Approved-by: Niclas Edenvin
Fix/SW-1524: Enter details- expand clickable area
* fix(SW-1524): make whole price area clickable
* fix(SW-1524): add div as fake button
Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
fix(SW-2629): add new design for mobile
* fix(SW-2629): add new design for mobile
* fix(SW-2629): remove redundant brackets
* fix(SW-2629): pr comments
* fix(SW-2629): hydration error
Approved-by: Christian Andolf
fix: add error handling for hotel room availability
* fix: add error handling for hotel room availability
* fix: update error codes
* fix: have one error message to rule them all. them as in permutations of invalid dates
Approved-by: Linus Flood
feat(SW-2800): closing image gallery and lightbox on using browser navigation
* feat(SW-2800): closing image gallery and lightbox on using browser navigation
Approved-by: Linus Flood