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
fix(SW-2849): use same sidepeek on select rate as on select hotel
* fix(SW-2849): use same sidepeek on select rate as on select hotel
* fix(SW-2849): remove ameneties sidepeek enum
Approved-by: Erik Tiekstra
feat(SW-2859): Create trpc package
* Add isEdge, safeTry and dataCache to new common package
* Add eslint and move prettier config
* Clean up tests
* Create trpc package and move initialization
* Move errors and a few procedures
* Move telemetry to common package
* Move tokenManager to common package
* Add Sentry to procedures
* Clean up procedures
* Fix self-referencing imports
* Add exports to packages and lint rule to prevent relative imports
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* Fix lang imports
Approved-by: Linus Flood
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: 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
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(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
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
feat: make enter details bottom sheet pixed, and add spacing at the bottom of page
* feat: make enter details bottom sheet pixed, and add spacing at the bottom of page
Approved-by: Arvid Norlin