Feat/LOY-400 create spend points modal
* feat(LOY-400): Added custom button to my pages overview and skeleton file to custom modal for my points.
* feat(LOY-400): Added custom button to my pages overview and components for custom modal for my points.
* feat(LOY-400): Changed some style and infogridcardover
* feat(LOY-400):Removed custom card components and changed in infoCard: Added imagePosition top, added optional height prop. In Card: Changed Text-wrap styling, added min-width styling to buttons, added optional Icon prop, added optional height prop
* feat(LOY-400):Added linkList, LinkListItem component and messageBanner component. Added granola illustration.
* feat(LOY-400): Removed background in several illustrations. Added component for illustration. Fixed LinkedList and styling for UsePointsButton.
* feat(LOY-400): Added modal to PointsToSpendCard and fixed UsePointsButton.
* fix(LOY-400):added some styling
* feat(LOY-400): Linked Modal to contentstack and fetch the data in cards with UsePointsModal for now
* feat(LOY-400): changed link to aria-component, cleaned up a bit
* feat(LOY-400): Changed height for larger modals in mobile, fixed zod schema for no illustration input, cleaned up
* fix(LOY-400): fixed graphql after rebase
* fix(LOY-400): mini fix
* fix(LOY-400): fixed pr-comments
* fix(LOY-400): fixed some PR-comments
* fix(LOY-400): fixed a PR-comment
* feat(LOY-400): added size prop to ilustration in LinkListItem to be able to use illustrations in IllustrationByIconName
* fix(LOY-400): fixed pr-comments
* Merged in feat/LOY-402-pre-ticked-book-reward-night-in-booking-flow (pull request #3210)
Feat/LOY-402 pre ticked book reward night in booking flow
* feat(LOY-402): Changed UsePointsModal structure to handle button actions in card.
* feat(LOY-402): added functionality for book now button
* feat(LOY-400): pr comment fix
* feat(LOY-402): transformed the contentstack data
* fix(LOY-402): fixed pr comments
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
* Merged in feat/LOY-404-add-tracking-for-spend-points-modal (pull request #3229)
Feat/LOY-404 add tracking for spend points modal
* feat(LOY-402): Changed UsePointsModal structure to handle button actions in card.
* feat(LOY-402): added functionality for book now button
* feat(LOY-400): pr comment fix
* feat(LOY-402): transformed the contentstack data
* feat(LOY-404): added tracking
* fix(LOY-404): fix for session storage removal of bookNowFromPointsModal
* feat(LOY-404): added consts
* fix(LOY-404): moved foxusWidget const
* fix(LOY-404): moved BOOKING_WIDGET_STATE const
* fix(LOY-404):fix
Approved-by: Matilda Landström
* fix(LOY-400): some fixes
* feat(LOY-400): created linkList storybook
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
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
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
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
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(SW-3516): Include partnerLoyaltyNumber on bookings
- Added user context to BookingFlowProviders for user state management.
- Updated booking input and output schemas to accommodate new user data.
- Refactored booking mutation logic to include user-related information.
- Improved type definitions for better TypeScript support across booking components.
Approved-by: Anton Gunnarsson
feat(BOOK-377): keep dates and rooms & guest in session storage
* feat(BOOK-377): keep dates and rooms & guest in session storage
* feat(BOOK-377): extract to hook and reuse
Approved-by: Erik Tiekstra
Setup booking-confirmation page in SAS
* Setup booking-confirmation page in SAS
move booking-confirmation tracking to booking-flow
* remove unused param
* Add test cards to documentation
* Fix payment callback page to use correct status
Approved-by: Anton Gunnarsson
Approved-by: Hrishikesh Vaipurkar
Chore/SW-2878 extract booking confirmation pag
* chore(SW-2878): Moved booking confirmation page to booking-flow package
* chore(SW-2878): Fixed promo styles as per design
* chore(SW-2878): Kept tiny duplicate function to avoid export from booking-flow package
Approved-by: Anton Gunnarsson
fix(SW-3198): fix striketrhough/regular prices, the same in enter details as select rate
* fix(SW-3198): fix striketrhough/regular prices, the same in enter details as select rate
* fix(SW-3198): remove additonalcost if calculating cost per room
* fix(SW-3198): include bookingcode in specialrate
* fix(SW-3198): remove console log
* fix(SW-3198): add or operator
* fix(SW-3198): capture total return value
* fix(SW-3198): rename and move function
Approved-by: Joakim Jäderberg
Approved-by: Hrishikesh Vaipurkar
chore(SW-3397) Moved Confirmation component with Header to booking-flow package
* chore(SW-3397) Moved Confirmation component with Header to booking-flow package
* chore(SW-3397): Optimised code
Approved-by: Anton Gunnarsson
chore(SW-3395): Moved BookingConfirmationProvider to booking-flow package
* chore(SW-3395): Moved BookingConfirmationProvider to booking-flow package
Approved-by: Anton Gunnarsson
feat(SW-2873): Move select-hotel to booking flow
* crude setup of select-hotel in partner-sas
* wip
* Fix linting
* restructure tracking files
* Remove dependency on trpc in tracking hooks
* Move pageview tracking to common
* Fix some lint and import issues
* Add AlternativeHotelsPage
* Add SelectHotelMapPage
* Add AlternativeHotelsMapPage
* remove next dependency in tracking store
* Remove dependency on react in tracking hooks
* move isSameBooking to booking-flow
* Inject searchParamsComparator into tracking store
* Move useTrackHardNavigation to common
* Move useTrackSoftNavigation to common
* Add TrackingSDK to partner-sas
* call serverclient in layout
* Remove unused css
* Update types
* Move HotelPin type
* Fix todos
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Fix component
Approved-by: Joakim Jäderberg
Fix/linting booking flow
* fix import issues and add lint check no-extraneous-dependencies
* fix use type HotelType instead of string
* add no-extraneous-dependencies lint check to booking-flow
Approved-by: Anton Gunnarsson
feat(SW-3224): Move bookingcode filter to the booking-flow package
* feat(SW-3224): Moved bookingcode filter to the booking-flow package
Approved-by: Anton Gunnarsson