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-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
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
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: handle when content has copied divs from episervers RTE
* fix: handle when content has copied divs from episervers RTE
Approved-by: Matilda Landström
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(SW-2831): checking isOpen before rendering Lightbox component to avoid spamming the window history
* fix(SW-2831): checking isOpen before rendering Lightbox component to avoid spamming the window history
Approved-by: Linus Flood
SW-2591 test confirmation page incorrect side peek is displayed upon tapping the view room details link
* fix(SW-2591): remove redundant div
Approved-by: Simon.Emanuelsson
feat(LOY-188): dynamic content support in content pages headers & use in DTMC employee benefits page
* feat(LOY-188): add dynamic content handling for DTMC employee benefits page header
* fix(LOY-188): change section to div in EmployeeBenefitsCallToActions component
* refactor(LOY-188): switch to ButtonLink
* refactor(LOY-188): replace enum with as const objects in DynamicContentEnum
* chore(LOY-188): change ComponentValue type exports to internal scope in DynamicContentEnum
* fix(EmployeeBenefitsCallToActions): replace div with fragment
* chore(LOY-188): update translations
Approved-by: Christian Andolf
fix(SW-2051): add correct url to promocards on confirmation page
* fix(SW-2051): add correct url to promocards on confirmation page
Approved-by: Christian Andolf
fix(SW-2501): validation trigger
* fix(SW-2501): validation trigger
On enter details, when submitting we want to trigger the validation for
the details forms for each room. This will display error messages for
the form fields with errors if they are not already displayed, so the
user knows which fields has errors.
Approved-by: Tobias Johansson