fix(SW-1160): include current header as sticky
* fix(SW-1160): include current header as sticky
* fix(sw-1160): only count with current header height if its shown
Approved-by: Erik Tiekstra
fix(sw-1110): only match search keywords from start of word
* fix(sw-1110): only match search keywords from start of word
This changes the search field so when it tries to match on a keyword it
has to match from the beginning of the word, not anywhere in the word
Approved-by: Bianca Widstam
fix(SW-1013): extract custom components from day picker
* fix(SW-1013): extract custom components from day picker
The custom components in the mobile day picker made a lot of components
in the day picker to unmount and mount again, which had weird scrolling
behaviour. They don't need to be baked in to the day picker so they are
now extracted to regular sibling elements.
Approved-by: Pontus Dreij
fix(SW-1011): when only choosing one date on mobile
* fix(SW-1011): when only choosing one date on mobile
When choosing only from date on mobile the to date is set to the next
day. This was only the case on desktop before, no it's on mobile too.
* Remove unnecessary dependency
Approved-by: Pontus Dreij
Approved-by: Hrishikesh Vaipurkar
Feat/SW-342 filtering and sorting mobile
* feat(SW-342): add sort and filter on mobile
* Use zustand for state management
* Add count and translations
* Clear filters
* Small fixes
* Fixes
Approved-by: Pontus Dreij
Feat/SW-342 filtering and sorting mobile
* feat(SW-342): add sort and filter on mobile
* Use zustand for state management
* Add count and translations
* Clear filters
* Small fixes
* Fixes
Approved-by: Pontus Dreij
Create the sidepeek for a specific roomtype. This also changes the lightbox to use react-aria instead of radix-ui, so we use the same for the lightbox and the sidepeek. Works better together!
Approved-by: Bianca Widstam
This implements the actual call to the API to create a booking. That’s the only thing it does, it doesn’t handle the response in any way.
This PR is just to get it there and the new booking sub team will handle it further, with payment etc.
Approved-by: Michael Zetterberg
Approved-by: Fredrik Thorsson
Approved-by: Simon.Emanuelsson
This updates the select room page according to the new UX. It has different sections on the same page, but with specific URLs per section. Since neither UX, UI nor API is completely done both design and data structures are a bit temporary.
Approved-by: Simon.Emanuelsson
This is the foundation for the rate selection. Since we don't have UX
and UI ready yet this is on a best effort basis. Things that will be
changed later includes proper API fetching, correct design,
internationalization of text and form handling.