Feat/SW-1281 ancillaries add flow
* feat(SW-1546): update design
* feat(SW-1546): show points only if logged in
* feat(SW-1546): always show points
* feat(SW-1281): ancillary add flow initial
* feat(SW-1546): add api call
* feat(SW-1281): refactor naming and break out components
* feat(SW-1281): handle back button
* feat(SW-1281): make mobile cards clickable
* feat(SW-1281): refactor spread ancillaries
* feat(SW-1281): add deliverytimes
* feat(SW-1281): rebase master
* feat(SW-1281): add design for logged in or not
* feat(SW-1281): add design
* feat(SW-1281): add mobile design
* feat(SW-1281): fix carousel
* feat(SW-1281): show deliverytime only if ancillary has not been added
* feat(SW-1281): add design
* feat(SW-1281): add translations
* feat(SW-1281): add translations
* feat(SW-1281): add translations
* feat(SW-1281): base dates on check in date only
* feat(SW-1281): fix show correct toast when no valid data
* feat(SW-1281): hande logic if deliverytime is not required
* feat(SW-1281): fix max width for mobile
* feat(SW-1281): refactor after pr comment
Approved-by: Niclas Edenvin
Approved-by: Linus Flood
This changes the behavior of Link prop `keepSearchParams`. Previously it got
implicitly merged. Now, any search params in the given `href` prop to Link will
override any current search params available on the current page.
Handle the merging use case (if there is any) in the components that passes the
href to render Link.
fix: showing "undefined" if ancillary.price.text was undefined
* fix: showing "undefined" if ancillary.price.text was undefined
Approved-by: Tobias Johansson
Fix(SW-1065): Meetings subpage
* fix(SW-1065): allow meeting cards to have different heights
* feat(SW-1065): add meetingroom description
Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
feat(SW-1504): Used AncillaryCard and added to breakfast choice
* feat(SW-1504): Craeted AncillaryCard and added to breakfast choice
* feat(SW-1504): Using of AncillaryCard
* feat(SW-1504) Removed unused imports
* feat(SW-1504): Added price text
* feat(SW-1504): added /night per adult
* feat(SW-1504) Removed type prop
Approved-by: Arvid Norlin
Feat/SW-1546 list ancillaries my stay
* feat(SW-1546): foundation for listing ancillaries
* feat(SW-1546): foundation for listing ancillaries
* feat(SW-1546): refactor type
* feat(SW-1546): fix date format
* feat(SW-1546): refactor usestate
* feat(SW-1546): refactor typing
* feat(SW-1546): refactor types
* feat(SW-1546): responsive width on modal
* feat(SW-1546): update design
* feat(SW-1546): rebase master
* feat(SW-1546): show points only if logged in
* feat(SW-1546): always show points
* feat(SW-1546): small fix
* feat(SW-1546): remove spread object
* feat(SW-1546): fix import order
Approved-by: Simon.Emanuelsson
feat(SW-1259): Enter details multiroom
* refactor: remove per-step URLs
* WIP: map multiroom data
* fix: lint errors in details page
* fix: made useEnterDetailsStore tests pass
* fix: WIP refactor enter details store
* fix: WIP enter details store update
* fix: added room index to select correct room
* fix: added logic for navigating between steps and rooms
* fix: update summary to work with store changes
* fix: added room and total price calculation
* fix: removed unused code and added test for breakfast included
* refactor: move store selectors into helpers
* refactor: session storage state for multiroom booking
* feat: update enter details accordion navigation
* fix: added room index to each form component so they select correct room
* fix: added unique id to input to handle case when multiple inputs have same name
* fix: update payment step with store changes
* fix: rebase issues
* fix: now you should only be able to go to a step if previous room is completed
* refactor: cleanup
* fix: if no availability just skip that room for now
* fix: add select-rate Summary and adjust typings
Approved-by: Arvid Norlin
Created AncillaryCard for SW-1504 and SW-1546
* Created AncillaryCard for SW-1504 and SW-1546
* updated divider
* added dangerouslySetInnerHTML
* Added color="uiTextHighContrast"
Approved-by: Bianca Widstam
fix: change from undefined to empty string to get rid of uncontrolled input warnings in tests
* fix: change from undefined to empty string to get rid of uncontrolled input warnings in tests
Approved-by: Michael Zetterberg
feat(SW-1296): added Subpage for hotel pages and its routing
* feat(SW-1296): added Subpage for hotel pages and its routing
Approved-by: Fredrik Thorsson
Feat/SW-1379 multiroom summary
* fix: added early return in hotel query and added missing type annotations
* feat(SW-1379): update summary to support multiple rooms and add tests
* fix: added check for room number when using isMember for member prices
* fix: remove mocked array
* fix: minor bug fixes in rate details popup
* fix: translation key
Approved-by: Pontus Dreij
Approved-by: Arvid Norlin
Merged in feat/sw-397-alternative-hotels (pull request #1211)
Feat/sw 397 alternative hotels
* fix(SW-397): create alternative hotels page
* update types
* Adapt to new changes for fetching data
* Make bookingcode optional
* Code review fixes
Approved-by: Simon.Emanuelsson
feat(SW-1450): added components in destination pages from cs
* feat(SW-1450): added components in destination pages from cs
* feat(SW-1450): added correct refs and removed classNames
Approved-by: Fredrik Thorsson
Feat/SW-1169 map bedtype icons
* feat(SW-1169): Added bed icons
* fix(SW-1169): update fill rule property
* fix(SW-1169): update clip rule prop
* feat(SW-1169): Added way of rendering bed type icons with extra beds
* feat(SW-1169): update room schema to map mainBed to enum
* feat(SW-1169): update bedtype icon color
* feat(SW-1169): transform unknown bed types to BedTypeEnum.Other
* test: update mock data with new schema
Approved-by: Christel Westerberg
Feat/SW-619 signup non happy
* feat(SW-619): Added tests for Date input
* feat(SW-619): Updated date input to not allow date below 18 years old, also added form validation and tests to cover this change
* fix
* feat(SW-619): add info banner if membership verification fails
* fix(SW-619): update test description
Approved-by: Christel Westerberg
Approved-by: Arvid Norlin