feat(SW-3225): Move ParkingInformation to design-system
* Inline ParkingInformation types to remove trpc dependency
* Move ParkingInformation to design-system
* Move numberFormatting to common package
* Add deps to external
* Fix imports and i18n script
* Add common as dependency
* Merge branch 'master' into feat/sw-3225-move-parking-information-to-booking-flow
Approved-by: Linus Flood
fix(SW-3198): show strikethrough price only if price is higher than regular price
* fix(SW-3198): show strikethrough price only if price is higher than regular price
* fix(SW-3198): reverse logic
Approved-by: Hrishikesh Vaipurkar
feat(SW-3224): Move bookingcode filter to the booking-flow package
* feat(SW-3224): Moved bookingcode filter to the booking-flow package
Approved-by: Anton Gunnarsson
fix(SW-2368): change ui for modify button until chip component created
* fix(SW-2368): change ui for modify button until chip component created
Approved-by: Matilda Landström
fix(SW-2523): filter scrollable for desktop with small height
* fix(SW-2523): filter scrollable for desktop with small height
Approved-by: Hrishikesh Vaipurkar
fix(SW-3213): Fixed booking code rates shown after removing the booking code via chip close icon
* fix(SW-3213): Fixed booking code rates shown after removing the booking code via chip close icon
* fix(SW-3213): Fixed multiroom room scenario
Approved-by: Anton Gunnarsson
fix(SW-3091): Fixed strikethrough price for logged-in user
* fix(SW-3091): Fixed strikethrough price for logged-in user
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
fix(SW-3091): Fixed strike through price shown same as original price
* fix(SW-3091): Fixed strike through price shown same as original price
* fix(SW-3091): Optimized code
* fix(3091): Strikethrough visibility on mobile booking code
Approved-by: Erik Tiekstra
Feature/wrap logging
* feat: change all logging to go through our own logger function so that we can control log levels
* move packages/trpc to using our own logger
* merge
Approved-by: Linus Flood
fix(SW-2666): correct default rate for campaign rates member
* fix(SW-2666): correct default rate for campaign rates member
Approved-by: Christian Andolf
fix(SW-2801): Added lang specific date formats
* fix(SW-2801): Added lang specific date formats
* fix: wrong type import
Approved-by: Michael Zetterberg
fix(SW-2706): use labels for localize instead of API for room features
* fix(SW-2706): use labels for localize instead of API for room features
Approved-by: Tobias Johansson
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
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
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
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
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
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: 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
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
fix(SW-2505): hide alternative hotels link when packages are added
* fix(SW-2505): hide alternative hotels link when packages are added
Approved-by: Bianca Widstam