* fix(BOOK-240): Added support for multiple sources and fixed issue with play/pause on mobile
* fix(BOOK-240): Pausing hero video when scrolling out of view
Approved-by: Christel Westerberg
* feat(BOOK-293): Adjusted padding of the buttons to match Figma design
* feat(BOOK-293): Updated variants for IconButton
* feat(BOOK-113): Updated focus indicators on buttons and added default focus ring color
* feat(BOOK-293): Replaced buttons inside booking widget
Approved-by: Christel Westerberg
updated to correcly displayed hover color on chip buttons
* updated to correcly displayed hover color on chip buttons
Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
* feat(BOOK-257): Added VideoPlayer with card component
* feat(BOOK-257): Added queries and component for VideoCard block to Content and Collection pages
* fix(BOOK-257): Only setting object-fit: cover on the video if it is not fullscreen
* feat(BOOK-257): Added queries and component for VideoCard block to Startpage
* feat(BOOK-257): Added queries and component for Video block to content/collection/start page
Approved-by: Chuma Mcphoy (We Ahead)
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(SW-3636): Storybook structure
* New sections in Storybook sidebar
* Group Storybook content files and add token files for spacing, border radius and shadows
Approved-by: Joakim Jäderberg
feat: (SW-3655) new Input and FormInput components
* First version new Input and FormInput components
* Handle aria-describedby with react-aria instead of manually add it
* Update breaking unit and stories tests
* Merge branch 'master' into feat/SW-3655-input-component
* Update example form
* Merge branch 'master' into feat/SW-3655-input-component
* New lock file
Approved-by: Linus Flood
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
Fix/BOOK-529 new icon
* fix(BOOK-529): add new icon, remove scroll again
* fix(BOOK-529): remove divider when no saved card
Approved-by: Joakim Jäderberg
fix(BOOK-99): change border from 1px to 2px
* fix(BOOK-99): change border from 1px to 2px
Approved-by: Matilda Haneling
Approved-by: Erik Tiekstra
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(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
fix(LOY-398): fix language select by creating FormSelect wrapper
* fix(LOY-398): fix language select by creating FormSelect wrapper
Approved-by: Erik Tiekstra
Approved-by: Anton Gunnarsson
* fix(BOOK-408): Updated logo aria label
* fix(BOOK-408): Added title for links opening in new tab
* fix(BOOK-408): Added translations handling for title
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
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
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