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
Feat/sw 1245 - Booking widget - change button text when new values
* feat(sw-1245) - use isDirty to update button text
* Change text only in booking flow
* Revert test code
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: rendering errors when applying components to children that are already applying to children
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
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
feat(SW-2901): add dynamic hotel markers
* feat(SW-2901): add dynamic hotel markers
* fix(SW-2901): update type
Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
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
cleanup profile page html to be valid
replace old temp design system components with new ones
divider is now correctly an hr element
less section elements to be valid html