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
feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3506-refresh-tokens
Approved-by: Anton Gunnarsson
* 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
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
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
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
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