chore(storagecleaner): import from file to avoid huge footprints on every page
* chore(storagecleaner): import from file to avoid huge footprints on every page
Approved-by: Anton Gunnarsson
Wrap material icon in a empty suspense boundary
* Wrap material icon in a empty suspense boundary
* skip lazy loading icons
* remove suspense boundary
* Don't import lazy from react when generating icon file
Approved-by: Linus Flood
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(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
Feature/SW-3616 partner points my stay
* feat(SW-3616): display partner points in my stays
* null check roomPointType
* Lowercase POINTS in my stay
* include other than Scandic points when displaying price details modal
Approved-by: Anton Gunnarsson
Include more details when throwing errors for debugging in Sentry
* WIP throw errors with more details for debugging in Sentry
* Fix throwing response-data
* Clearer message when a response fails
* Add message to errors
* better typings
* .
* Try to send profileID and membershipNumber to Sentry when we fail to parse the apiResponse
* rename notFound -> notFoundError
* Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/add-error-details-for-sentry
Approved-by: Linus Flood
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
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
feat(SW-2064): Lightbox updates
* chore(SW-2064): add opacity to not selected images
* chore(SW-2064): set main image as the first image in thumbnail
* chore(SW-2064): disable navigation buttons on first and last image
* fix(SW-2064): use cx
* Revert "chore(SW-2064): disable navigation buttons on first and last image"
This reverts commit 9c5acd8a02b83740f35d1cfa88bfba6b006ba947.
* refactor(SW-2064): create ImageCounter component
* refactor(SW-2064)
* chore(SW-2064): add enter keu down on main image
Approved-by: Erik Tiekstra
feat(SW-3685): Add new TextArea and FormTextArea components
* Add new TextArea and FormTextArea components
* Update example form with description
* Merge branch 'master' into feat/3685-new-textarea-component
* Formatting new files with new prettier config
* Added custom controls for the text area story
Approved-by: Linus Flood
fix(SW-3691): Setup one prettier config for whole repo
* Setup prettierrc in root and remove other configs
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
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/BOOK-257 video player
* fix(BOOK-257): Fixes to VideoPlayerButton and added stories
* fix(BOOK-257): Hiding mute button when the user has interacted with it
* fix(BOOK-257): Added support for poster image
* fix(BOOK-257): add crossOrigin attr to videoplayer
* fix(BOOK-257): comment
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
fix(BOOK-584): multiple nights did not show strikethrough price, wrong calculation for regular price per stay
* fix(BOOK-548): multiple nights did not show strikethrough price, wrong calculation for regular price per stay
* fix(BOOK-584): fix test, regularPrice first compare with pricePerStay
Approved-by: Anton Gunnarsson
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
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)
* fix(BOOK-607): updated to read from base URL env and contentstack slug instead
* made url optional on interface
* added url to findBooking query
* added the correct (new) link in the confirmation header, add to calendar
Approved-by: Erik Tiekstra