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
fix: handle text overflow on room title in My Stay reference card
* fix: handle text overflow on room title in My Stay reference card
Approved-by: Erik Tiekstra
Fix/STAY-65 manage stay
* fix: Disable manage stay for past bookings
* fix: handle past and cancelled stay the same
* fix: indentify past booking
* fix: refactor to use design system components
Approved-by: Erik Tiekstra
chore: No need to sort dictionary files anymore now that we have man-made IDs
* No need to sort dictionary files anymore now that we have man-made IDs
Approved-by: Erik Tiekstra
Approved-by: Linus Flood
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
fix(LOY-454): add border-radius to last link item
* fix(LOY-454): add border-radius to last link item
Approved-by: Emma Zettervall
Approved-by: Chuma Mcphoy (We Ahead)
feat(LOY-415): Add SJ widget
* feat(LOY-415): Add SJ widget
can be added as dynamic content to Content Pages
* feat(LOY-415): init SJ widget with a useEffect instead due to onLoad only being called the first time
* make sure to only initialize the SJ widget once and handle navigation
Approved-by: Erik Tiekstra
Feat(LOY-421): Next Stay
* feat(LOY-421): Next stay WIP
* fix(LOY-421): clean upp css and jsx
* chore(LOY-421): css cleanup
* fix(LOY-421): fix test
* only show button if isWebAppOrigin is true
* chore(LOY-421): update section header component
* chore(LOY-421): remove redundant test case
Approved-by: Matilda Landström
* feat(BOOK-63): Replaced css variables and components to apply hotel branding on subpages
* feat(BOOK-63): Replaced css variables and components to apply hotel branding on hotel page map view
Approved-by: Christel Westerberg
Approved-by: Matilda Landström
fix(SW-3578): Fixed session issue when sas session expires
* fix(SW-3578): Fixed session issue when sas session expires
* base socialLogin auto-features on validSession and being linked
* remove unused object
* remove 'import server-only' for isValidSession() since it's only using passed data
* remove isValidClientSession()
Approved-by: Joakim Jäderberg
Approved-by: Anton Gunnarsson
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(LOY-442): correct font for expirationDate in expiring points table
* fix(LOY-422): correct font for expirationDate in expiring points table
Approved-by: Matilda Landström
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
Fix/STAY-73 opt in email
* fix: let user opt-in for modification email when adding ancillaries
* fix: add toast when successfully removing an ancillary
Approved-by: Erik Tiekstra
Approved-by: Elin Svedin
fix(SW-3549): update social session management functions for clarity and consistency
* refactor(SW-3549): rename session management functions for clarity and consistency
* merge
Approved-by: Hrishikesh Vaipurkar
fix: wrap MyStay component in BookingFlowConfig to handle RSC problem where config is not set
* fix: wrap MyStay component in BookingFlowConfig to handle RSC problem where config is not set
Approved-by: Bianca Widstam