Feat/LOY-391 my points transactions table design
* feat(LOY-391): Added new design to point transaction table
* fix(LOY-391): rebase fix
* fix(LOY-391): fix
* fix(LOY-391): fix
* fix(LOY-391): fixed sticky header etc.
* feat(LOY-391): added focus on the newest loaded item in the list
* fix(LOY-391): cleaned up
* fix(LOY-391): style fix
* fix(LOY-391): fixed PR-comments, types, removed the old files for earn and burn table
* fix(LOY-391): fixed PR-comments
* feat(LOY-391): added useCallback so scrolling is avoided when clicking see all on expiring points
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
feat(LOY-522): Move focus to the newly loaded stay in sidepeek for upcoming and previous stay
* feat(LOY-522): Moved focus to the newly loaded stay in sidepeek for upcoming and previous stay
Approved-by: Anton Gunnarsson
fix(SW-3616): Handle EuroBonus point type everywhere
* Add tests to formatPrice
* formatPrice
* More work replacing config with api points type
* More work replacing config with api points type
* More fixing with currency
* maybe actually fixed it
* Fix MyStay
* Clean up
* Fix comments
* Merge branch 'master' into fix/refactor-currency-display
* Fix calculateTotalPrice for EB points + SF points + cash
Approved-by: Joakim Jäderberg
* feat(BOOK-463): Fetching hotel filters from CMS and using these inside the destination pages
* fix(BOOK-698): fetch hotel filters from CMS on select hotel page
Approved-by: Bianca Widstam
feat(SW-3672): Update PasswordInput component
* Update PasswordInput component
* Removed some tests not working as expected
* Remove IconButton from PasswordInput
* Remove IconButton from Input
* Merge branch 'master' into feat/new-passwordinput-component
Approved-by: Linus Flood
fix: updated to use new link structure on My Stay
* fix: updated to use new link structure on My Stay
* fix(BOOK-607): hide hotel page link if link prop is missing
* comment fixes
* fix(BOOK-607): read href from window (lcalhost not allowed)
Approved-by: Matilda Landström
Fix/STAY-135 & STAY-127
* fix: make quantity and delivery separate steps in mobile
* fix: update design for delivery step in ancillary flow
* fix: add error state for missing time
* fix: only allow points or cash payment for ancillaries
* fix: break out stepper to design system
* fix: update design of select quantity step in add ancillaries flow
* fix: add error states for quantity
* fix: handle insufficient points case
* fix: update stepper to include optional disabledMessage tooltip
* fix: handle validations
* fix: change name to camel case
Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
chore: Migrate from next lint to eslint
* Migrate scandic-web
* Migrate partner-sas
* Enable any rule in partner-sas
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
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/LOY-431: Switch to V2 of Profile endpoint
* feat(LOY-431): switch to v2 of profile endpoint
* feat(LOY-431): use CreditCard
* feat(LOY-431): remove hotelinformation from friendTransaction schema
* chore(LOY-431): add hotel data request to transactions
* fix(LOY-431): use v1 of friendTransactions
Approved-by: Linus Flood
Approved-by: Erik Tiekstra
Approved-by: Anton Gunnarsson
* feat(BOOK-117): Added aria-label to Scandic Friends levels
* feat(BOOK-117): Added aria-label to hotel logos
* feat(BOOK-117): Added alt text to app download images
* feat(BOOK-117): Added same logo component to footer as the one in the header
* feat(BOOK-117): Added aria attributes to icons similar to how we handled MaterialIcon aria attributes
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
Fix/STAY-2 GLA cancelled
* fix: show toast on cancelling GLA flow
* fix: show the ancillary GLA errors as inline alerts
Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
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
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
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(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated UI as per design
* feat(SW-2782): Optimised code with use of Popover and modal from RAC
Approved-by: Anton Gunnarsson
fix(BOOK-399): Default language to 'en' when we've ended up in a invalid state
* fix(BOOK-399): Default language to 'en' when we've ended up in a invalid state
* PR fixes: reuse types and include local dev error message
Approved-by: Anton Gunnarsson
Approved-by: Linus Flood
* feat(BOOK-54): Destination filters now matching on id instead of slug in preparation for filters from Contentstack
Approved-by: Chuma Mcphoy (We Ahead)