Fix/book 769 booking widget ui bugs
* fixed text in serachList not wrapping properly
* fixed spacing on mobile searchList
* fixed close button icon color
* fix for issues with fixed vs sticky elements on scroll lock
Approved-by: Linus Flood
Fix/bw fixes
* fix(bookingwidget): fixed some mobile issues with the booking widget
* fixed dual scroll and hidden button in mobile guests & rooms picker
* fixed button colors
* fixed mobile search button position
* Remove scroll lock
Fix/book 149 ui fixes
* fixed text-overflow issue in datepicker trigger
* fixed X missing in booking code text field
* fixed toDate not setting properly
* fixed spacing issues and placeholder text not fitting
* added error message to child age if none is added
* spacing fixes
* Revert "map link alignment fix"
This reverts commit d38cc5b007bc05a1d48ce6661b1052fe714961c3.
* fixed EB points padding issue on SAS tablet
* maxWidth on BookingCode/voucher
* spacing fixes
* fixed icons in error message
* spacing fixes
* scroll to child age picker updates
* feat(SW-3706): fix heatmap issue for langswitcher and booking widget
* fixed tablet lineup issue
Approved-by: Linus Flood
feat(STAY-140): make Stepper more accessible
* feat(STAY-140): make Stepper more accessible
* fix(STAY-140): add aria-valuetext
Approved-by: Bianca Widstam
Fix/optimizations and cleanup of booking widget
* fix(BOOK-149):fixed issue with datepicker overflowing on months spanning more weeks
* fix(BOOK-149): added smooth scroll to age selector to avoid clipping the selector
* cleanup in trigger and css
* update to new Button componenet to fix missing focus indicator
* included color token in triggerbutton class instead
Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
Fix/book 149 incorrect onfocus behaviour booking widget
* fix(BOOK-149): fixed labels shifting
* fix(BOOK-149): reintroduced sticky position
* fix(BOOK-149): added missing border to "where" text field
* added overflow to datepicker
* comment fixes
* removed separate typography declaration
* changed to onPress
* fix(BOOK-149): moved components to separate files
* fix(BOOK-149): removed desktop & mobile specific css classes
* fix(BOOK-149): new implementation of date and room modals
* dependencies update
* fix(BOOK-149): fixed child age dropdown issue, related error message, and Rooms & Guests container height
* updated info button to new variant
* fix(BOOK-149): prevent scrolling of background when modals are open in Tablet mode
* fixed overlay issue and added focus indicator on mobile
* fixed missing space in css
* rebase and fixed icon buttons after update
* simplified to use explicit boolean
* PR comments fixes
* more PR comment fixes
* PR comment fixes
* fixed setIsOpen((prev) => !prev)
* fixed issues with room error not showing properly on mobile
* fixing pr comments
* fixed flickering on GuestRoomModal
Approved-by: Erik Tiekstra
feat(SW-3695): use svg icons instead of font icons
* feat(icons): use svg instead of font icons
* feat(icons): use webpack/svgr for inlined svgs. Now support for isFilled again
* Merge master
* Remove old font icon
Approved-by: Joakim Jäderberg
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
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)
* 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
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
fix(BOOK-636): updeted rounded corners and text align on mobile start page
* fix(BOOK-636): updeted rounded corners and text align on mobile start page
Approved-by: Erik Tiekstra
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
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
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(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-111): make bookingwidget scrollable for zoomed in accessibility
* fix(BOOK-111): make bookingwidget scrollable for zoomed in accessibility
* fix(BOOK-111): dont scroll bookingwidget if searchlist is open
Approved-by: Erik Tiekstra
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