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
Chore/BOOK-708 replace title component
* chore(BOOK-708): replace title with typography
* chore(BOOK-708): replace title with typography
* chore(BOOK-708): remove Title from package.json
Approved-by: Linus Flood
Approved-by: Anton Gunnarsson
fix(BOOK-293): changed variants and props on IconButton component
* fix(BOOK-293): changed variants and props on IconButton component
* fix(BOOK-293): inherit color for icon
Approved-by: Bianca Widstam
Approved-by: Christel Westerberg
feat(SW-3659): Use new input component
* Use new input component
* Update error formatter
* Merged master into feat/use-new-input-component
* Merged master into feat/use-new-input-component
* Merge branch 'master' into feat/use-new-input-component
* Merged master into feat/use-new-input-component
* Update Input stories
* Merge branch 'feat/use-new-input-component' of bitbucket.org:scandic-swap/web into feat/use-new-input-component
* Update Storybook logo
* Add some new demo icon input story
* Fix the clear content button position
* Fix broken password input icon
* Merged master into feat/use-new-input-component
* Merged master into feat/use-new-input-component
* Add aria-hidden to required asterisk
* Merge branch 'feat/use-new-input-component' of bitbucket.org:scandic-swap/web into feat/use-new-input-component
* Merge branch 'master' into feat/use-new-input-component
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
feat(LOY-423): Add progress bar for L6 members showing nights stayed
* feat(LOY-423): Add progress bar for L6 members showing nights stayed
* chore(LOY-423): shorten css selector
Approved-by: Matilda Landström
Replace deprecated <Body> with <Typography>
* chore: replace deprecated body component
* refactor: replace Body component with Typography across various components
* merge
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
Feat/LOY-430 reward nights
* chore(LOY-430): add reward nights request and dynamic content
* chore(LOY-430): fix Reward Night component
* Refactor: use existing endpoint and add rewardNight data to that response instead
Approved-by: Linus Flood
refactor(LOY-497): hide profiling consent behind feature flag
* refactor(LOY-497): hide profiling consent behind feature flag
* chore(LOY-497): up to date consent readme
Approved-by: Matilda Landström
Feat/LOY-495 Scroll to Top Functionality in Previous Stays Sidepeek
* feat(LOY-495): enable scroll to top functionality for past stays sidepeek
Approved-by: Emma Zettervall
Approved-by: Matilda Landström
fix: add years to getDaysUntilText + confirmation number in upcoming stay card
* fix: add years to getDaysUntilText + confirmation number in upcoming stay card
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
feat(LOY-424): Load More Past Stays via Sidepeek
* feat(LOY-424): Load More Past Stays via Sidepeek
* chore(LOY-424): use new section header
* fix(LOY-424): remove uneeded nextCursor check
Approved-by: Emma Zettervall
fix(LOY-400): made contentstack data optional so the whole page does not crash if it's empty.
* fix(LOY-400): made contentstack data optional so the whole page does not crash if it's empty.
* Merged in fix/LOY-400-make-contentstack-data-optional-2 (pull request #3269)
Fix/LOY-400 make contentstack data optional 2
* Test
* .
* Correct ref tag
* refactor
* Correct key
* fix(LOY-400): cleaned up
Approved-by: Linus Flood
Approved-by: Matilda Landström
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(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(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-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
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
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