feat(SW-3644): Storybook v10
* Auto update to Storybook v10
* Add scandic theme and logo
* Update yarn.lock
* Update formatting of package.json
* Update vitest config and playwright plugin
* Remove vitest 4 update
* Re-added comment
* Update the Typography component to explicitly return React.ReactNode
* Add an explicit type assertion to the export
* Add an explicit type assertion to the export for Checkbox
* Explicit return type assertion
* Add an explicit type assertion to the export
* Update @types/react and fix ts warnings
* Updated typings
Approved-by: Linus Flood
Approved-by: Matilda Landström
feat: Refactor enter details price calculation
* Refactor getTotalPrice and child functions
* Move price calculations from helper file to specific file
Approved-by: Linus Flood
Fix/STAY-37 arrow margin
* fix: mobile padding on button
* fix: remove deprecated button and fix border radius on booking widget button
Approved-by: Erik Tiekstra
fix(SW-3622): Hide UI glitch while redemption is disabled for partner-sas
* Hide UI glitch while redemption is disabled for partner-sas
Approved-by: Matilda Haneling
Feat/redis fix
* feat(redis): delete multiple keys in one partition scan
* fix(BOOK-603): make it possible to do multiple deletes in redis at once using one partition scan
Approved-by: Linus Flood
fix(BOOK-500): disable scrolling of backdrop on mobile booking modal
* BOOK-500: fixed scrolling issue behind open booking widget
* fix(BOOK-500): added customized hook for scrollLock
* BOOK-500: gave hook functions more descriptive names
Approved-by: Erik Tiekstra
Feature/SW-3595 Add info boxes to SAS start page & Eurobonus alert to select-hotel page on SAS
* wip
* feat(SW-3595): Add info boxes to SAS start page
* Add InfoBox to design-system
* Add background gradient to SAS start page
* update variable naming and conditionalize the eurobonus message on select-hotel
* SAS startpage update default message
* make select-hotel a bit more generic with slot={} instead of alert={}
Approved-by: Anton Gunnarsson
BOOK-510: updated booking chip/special needs filter order on mobile
* BOOK-510: updated booking chip/special needs filter order on mobile
* BOOK-510: updated the close button to IconButton to fix styling issues on iOS
* book-510: added aria-label
* BOOK-510: refctored solution
* small spacing fixes
* fix(BOOK-510) updated aria-label
Approved-by: Erik Tiekstra
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