fix: when floating booking widget is sticky let it have white background all the way out. SW-2427
* fix: when floating booking widget is sticky let it have white background all the way out.
Resolves SW-2427
* pr: move styling variants to it's own file
Approved-by: Christian Andolf
Consolidate autocomplete search SW-2253 SW-2338
* use fuse.js for fuzzy search
* Handle weird behaviour when search field loses focus on destinationPage
* Add error logging for JumpTo when no URL was provided
* Switch to use <Typography /> over <Caption />
* fix: bookingWidget search label should always be red
* fix: searchHistory can no longer add invalid items
* fix: list more hits when searching
* fix: issue when searchField value was undefined
* fix: don't show searchHistory label if no searchHistory items
* simplify skeleton for listitems in search
Approved-by: Linus Flood
really this shouldn't be needed but in multiple cases we're passing the field name as id which causes multiple labels to use the same for value. really we should just omit this prop unless necessary so we don't need to generate it like this.
fix: now using the correct method to instantiate motion since its constructor is deprecated in favor of the create method
Approved-by: Chuma Mcphoy (We Ahead)
fix: SW-2375 Tracking on booking-flow soft navigations based on query params
* fix: SW-2375 Tracking on booking-flow soft navigations based on query params
* fix: SW-2375 Restricted query params check to booking widget params
* fix: SW-2375 Moved empty check before other regex check
Approved-by: Tobias Johansson
* fix(SW-2247): Removed accordion like special requests block and changed button variant
* fix(SW-2247): Added additional info for bedtype selection
Approved-by: Tobias Johansson
Approved-by: Niclas Edenvin
Feat/SW-1549 map improvements
* fix: imported new icon
* refactor: rename component and set map handling to 'greedy'
* fix: show cards for 3s after hover
* refactor: update styles and added HotelPin component
* fix: change from close to back icon
* refactor: update to only use 1 state value for active pin and card
* fix: add click handler when dialog is opened
* fix: performance fixes for the dialog carousel
* fix: added border
* fix: clear timeout on mouseenter
* fix: changed to absolute import
* fix: moved hover state into the store
* fix: renamed store actions
Approved-by: Michael Zetterberg
fix(SW-2197): Properly hide benefits message element when isMemberRate is false
* fix(SW-2197): correct hiding of benefit text
Approved-by: Christian Andolf
SW-2232 Adapt SAS router to API changes
* Adapt sas procedures to api changes
* Remove debug logs
* Capture performLevelUpgrade error
* More sentry logging
* Merge branch 'master' into feat/sw-2232-sas-api-updates
Approved-by: Joakim Jäderberg
Show boosted by scandic in SAS Linked Accounts
* Add boostedByScandic property to SAS membership
* Use get profile with extended partner data
* Display correct tier when EB is boosted by SF
Approved-by: Joakim Jäderberg
The pinned version of @formatjs/swc-plugin-experimental has a bug in it that
doesn't allow it to parse ’. But we can't upgrade to the new version due to
incompatibilities between SWC and Next. We can upgrade once we move to Next 15.
fix(SW-2181): use fitted bounds to adapt the zooming of the map
* fix(SW-2181): use fitted bounds to adapt the zooming of the map
Approved-by: Michael Zetterberg
fix(SW-1526): adjusted scroll position when selecting a rate
* fix: adjusted scroll position when selecting a rate
* fix
Approved-by: Michael Zetterberg
fix(SW-2254): disable download invoice if the booking is flex
* fix(SW-2254): disable download invoice if the booking is flex
Approved-by: Simon.Emanuelsson
Feat(SW-1943): add new design for pay ancillaries with points
* fix: hide card and payment info if only quantity with points is selected
* feat(SW-1943): add new design for pay ancillaries with points
* feat(SW-1943): add missing translation
* feat(SW-1943): fix rebase
* feat(SW-1943): remove console log
Approved-by: Linus Flood
Approved-by: Matilda Landström
Feature/autocomplete search
* wip autocomplete search
* add skeletons to loading
* Using aumlauts/accents when searching will still give results
remove unused reducer
sort autocomplete results
* remove testcode
* Add tests for autocomplete
* cleanup tests
* use node@20
* use node 22
* use node22
* merge
fix: search button outside of viewport
* merge
* remove more unused code
* fix: error message when empty search field in booking widget
* fix: don't display empty white box when search field is empty and no searchHistory is present
* merge
* fix: set height of shimmer for search skeleton
* rename autocomplete trpc -> destinationsAutocomplete
* more accute cache key naming
* fix: able to control wether bookingwidget is visible on startPage
fix: sticky booking widget under alert
* remove unused code
* fix: skeletons
fix: error overlay on search startpage
* remove extra .nvmrc
* merge
Approved-by: Linus Flood