feat(BOOK-570): fix scroll issue when selecting a rate for the first time
* feat(BOOK-570): fix scroll issue when selecting a rate for the first time
Approved-by: Joakim Jäderberg
feat(BOOK-566): align rates if room title breaks on two rows
* feat(BOOK-566): align rates if room title breaks on two rows
Approved-by: Anton Gunnarsson
feat(LOY-422): Upcoming Stays Redesign
* feat(LOY-422): Upcoming Stays Redesign
* feat(LOY-422): Carousel next/previous arrows
* chore(LOY-422): add new material icon
* refactor(LOY-422): restructure new and old upcoming stays
* fix(LOY-422): handle less than 1 case
* chore(LOY-422): remove uneeded id
* chore(LOY-422): remove intl label for date edge case
Approved-by: Matilda Landström
feat(BOOK-485): add campaign tag on my stay and update design
* feat(BOOK-485): add campaign tag on my stay and update design
* feat(BOOK-485): update rightAligned
Approved-by: Erik Tiekstra
feat(BOOK-522): align items in topmenu, header and booking widget
* feat(BOOK-522): align items in topmenu, header and booking widget
* Delete old css variable and use new
* Fixed underline on icons
Approved-by: Erik Tiekstra
* Fix(BOOK-457): Reduced lowestRoomPrice tracking call from multiple times to one
* fix(BOOK-457): feat(SW-3590): Included RoomsLoadedEvent on select-rate page
Approved-by: Linus Flood
feat(SW-3596): added lint rule for no console.log. Use logger instead.
* feat(SW-3596): added lint rule for no console.log. Use logger instead.
Approved-by: Joakim Jäderberg
Fix/book 115 hidden focus indicators
* added focus ring to "how it works" text and close button in modal
* fix(BOOK-115): added focus ring to Hotel Sidepeek close button
* fix(BOOK-115): enabled selecting ancillaries with keyboard nav
* fix(BOOK-115): added focus indicator to "View and print receipt" in Manage Stay
* fix(BOOK-105 & BOOK-115): combined the two radio groups in payment selection to one, fixes focus indicator issue
* fix(BOOK-115): added focus indicator to shortcut links
* fix(BOOK-115): updated ancillaries keyboard selection
* fix(BOOK-115): removed tabIndex from Link component
* fix(BOOK-115): fixed single payment radio button not focusable
* fix(BOOK-115): updated to onKeyDown
* added id to "credit card"
* removed toUpperCase() on lables
* removed brackets
* moved the focus indicator to the DS Button component
* removed !important from ButtonLink css
* changed <label> to <fieldset> and <legend> and added aria-label to PaymentOptionGroup
* removed css class from sidepeek that was previously removed
* reverted changes and synced Guarantee radiogroup with Payment radiogroup to use same semantics
* removed duplicate label
* removed old sub heading
Approved-by: Erik Tiekstra
Use tsgo for typechecking
* switch to tsgo for type-checking
* Merged in chore/remove-cypress (pull request #3066)
chore: remove unused dependencies
* chore: remove cypress
* remove unused deps
* update yarn.lock after removing unused deps
Approved-by: Anton Gunnarsson
* use tsgo for typechecking
* use tsgo for type-checking
* yarn install
* fix(BOOK-496): Slowed down the MarqueeText component animation
Approved-by: Matilda Landström
* switch to tsgo for type-checking
* use tsgo for typechecking
* use tsgo for type-checking
* yarn install
* Merge branch 'feature/tsgo' of bitbucket.org:scandic-swap/web into feature/tsgo
* switch to use yarn check-types in lint-staged
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/tsgo
Approved-by: Linus Flood
feat(BOOK-119): replace radio group on select rate with buttons and make them accessible
* feat(BOOK-119): replace radio group on select rate with buttons and make them accessible
* feat(BOOK-119): update roomNR
* feat(BOOK-119): update onpress and buttonOverlay name change
Approved-by: Erik Tiekstra
chore: Refactor types and add tests to parts of price calcuations
* Add tests to sumPackages
* Refactor types and add tests to getAdditionalPrice
* Don't always generate coverage
* Add tests and refactor types of getRedemptionPrice
Approved-by: Joakim Jäderberg
feat(SW-3581): Set price colors to scandic red
* Set price colors to scandic red
* Remove comment
Approved-by: Bianca Widstam
Approved-by: Joakim Jäderberg
SW-3572 API route for listing hotels per city or country
* wip hotel data endpoint
* Correct route params type
* wip
* skip static paths call
* timeout when getting destinations take too long
* call noStore when we get a timeout
* add cache-control headers
* .
* .
* .
* wip
* wip
* wip
* wip
* add route for getting hotels per country
* include city when listing by country
* fix distance SI unit
* fix sorting
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3572-hotel-data-endpoint
* packages/tracking passWithNoTests
* revalidate must be static value
* remove oxc reference
* cleanup
* cleanup hotel api route
* feat(SW-3572): cleanup error handling
Approved-by: Anton Gunnarsson
fix(BOOK-425): fixed the color on campaign member rate name
* fix(BOOK-425): fixed the color on standard rate name
* listening to api resonse displayPriceRed again
* updated the conditional css class syntax
Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
Sync defaultMessage from lokalise
* Enhance translation sync functionality and tests
- Added logging for found component files during sync.
- Introduced tests for handling complex components with replacements.
- Updated regex in syncIntlFormatMessage to support optional second arguments.
- Removed unused test files.
* feat(syncDefaultMessage): add script for syncing default message with lokalise
* feat(syncDefaultMessage): add script for syncing default message with lokalise
Approved-by: Matilda Landström
Feat/BOOK-426 campaign tag select hotel
* fix(BOOK-426): do not show campaign tag if a regular booking code is used and the rate is a campaign
* fix(BOOK-426): if no availability show booking code striketrough as default
Approved-by: Erik Tiekstra
Feat/BOOK-426 add campaign tag select hotel
* feat(BOOK-426): introduce campaign tag on select hotel card
* feat(BOOK-426): remove redundant tags
* feat(BOOK-426): fix comments, change to typography
* feat(BOOK-426): fix comments, update to cx
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
fix(BOOK-111): make bookingwidget scrollable for zoomed in accessibility
* fix(BOOK-111): make bookingwidget scrollable for zoomed in accessibility
* fix(BOOK-111): dont scroll bookingwidget if searchlist is open
Approved-by: Erik Tiekstra
Fix/BOOK-323 enter details scroll error
* fix(BOOK-323): scroll to invalid element on submit on enter details
* fix(BOOK-323): update error message design
* fix(BOOK-323): clean up
* fix(BOOK-323): scroll to fields in room in right order
* fix(BOOK-323): add id to translations
* fix(BOOK-323): remove undefined
* fix(BOOK-323): fix submitting state
* fix(BOOK-323): use ref in multiroom for scrolling to right element, add membershipNo
* fix(BOOK-323): fix invalid border country
* fix(BOOK-323): use error message component
* fix(BOOK-323): fix invalid focused styling on mobile
* fix(BOOK-323): remove redundant dependency in callback
Approved-by: Erik Tiekstra