Commit Graph

713 Commits

Author SHA1 Message Date
Anton Gunnarsson
e086cd8146 Merged in fix/sw-3702-interactive-map-points-currency (pull request #3480)
fix(SW-3702): Show correct point currencies in interactive map

* Show correct point currencies in interactive map


Approved-by: Matilda Haneling
2026-01-26 13:38:55 +00:00
Anton Gunnarsson
e215aec8bb Merged in chore/fix-incorrect-dependencies (pull request #3484)
chore: Fix incorrect dependencies

* Fix incorrect dependencies


Approved-by: Joakim Jäderberg
2026-01-26 13:38:21 +00:00
Anton Gunnarsson
0ab93dc80e Merged in chore/remove-unused-exports (pull request #3485)
chore: Fix exports

* Fix exports


Approved-by: Joakim Jäderberg
2026-01-26 13:36:43 +00:00
Erik Tiekstra
5a4a65ec33 fix: issue with focus states in safari, fixed multiple focus states accross the application
Approved-by: Anton Gunnarsson
2026-01-26 06:45:23 +00:00
Erik Tiekstra
c918c1aa66 fix(BOOK-661): Updated themes and correct variables for campaign hero
Approved-by: Matilda Landström
2026-01-26 06:44:43 +00:00
Anton Gunnarsson
23460f8960 Merged in chore/remove-unused-query (pull request #3489)
chore: Remove unused refs query

* Remove unused refs query


Approved-by: Linus Flood
2026-01-23 13:53:45 +00:00
Anton Gunnarsson
f8e69f9cc2 Merged in chore/remove-unused-files (pull request #3483)
chore: Remove unused files

* Remove unused files


Approved-by: Matilda Landström
2026-01-23 12:33:14 +00:00
Matilda Landström
ae77fa3028 Merged in refactor-tripadvisor-chip (pull request #3404)
Refactor TripadvisorChip

* feat: create new StaticChip componeny

* refactor tripadvisor chip to use ChipStatic

* refactor: use TripadvisorChip everywhere

* fix: use withChipStatic


Approved-by: Erik Tiekstra
2026-01-23 12:19:37 +00:00
Linus Flood
ec78befb50 Merged in fix/bw-fixes (pull request #3481)
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
2026-01-23 08:05:49 +00:00
Matilda Haneling
665ca210c0 Merged in fix/book-149-ui-fixes (pull request #3463)
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
2026-01-22 12:50:24 +00:00
Anton Gunnarsson
f79ff9b570 Merged in chore/cleanup-unused (pull request #3461)
chore: Cleanup unused vars, exports, types

* Cleanup some unused exports

* Remove more

* Readd CampaignPageIncludedHotelsRef

* Add alias comment to procedure exports

* Remove unused exports


Approved-by: Linus Flood
2026-01-22 12:34:07 +00:00
Erik Tiekstra
4de24e9f2a feat(BOOK-391): Added theme and logos for Bassin Seven
* chore: Updated border-radius variables after import change

Approved-by: Linus Flood
2026-01-22 07:03:25 +00:00
Linus Flood
ef98c4b552 Merged in fix/destinations-search-icon (pull request #3473)
fix/destinations-search-icon

* fix/destinations-search-icon
2026-01-22 06:25:07 +00:00
Rasmus Langvad
b966cf1d53 Merged in fix/3693-group-inputs-storybook (pull request #3402)
fix(SW-3693): Refactor Input stories to use FormInput component and showcase all controls

* Refactor Input stories to use FormInput component and showcase all controls

* Updated stories and added autocomplete prop to PasswordInput

* Merge branch 'master' into fix/3693-group-inputs-storybook

* Use FormTextArea in stories for TextArea to show description and error texts

* Merged master into fix/3693-group-inputs-storybook

* Merge branch 'master' into fix/3693-group-inputs-storybook

* Removed redundant font name and fixed broken icons in stories

* Merge branch 'fix/3693-group-inputs-storybook' of bitbucket.org:scandic-swap/web into fix/3693-group-inputs-storybook

* Merged master into fix/3693-group-inputs-storybook

* Merge branch 'master' into fix/3693-group-inputs-storybook


Approved-by: Bianca Widstam
2026-01-21 16:20:04 +00:00
Anton Gunnarsson
993f6c4377 Merged in chore/fix-dependencies (pull request #3470)
chore: Cleanup dependencies

* Move dotenv to root

* update knip config

* Fix more deps

* More dep updates

* more

* more dep updates

* Fix deps

* Fix generate


Approved-by: Linus Flood
2026-01-21 15:03:52 +00:00
Linus Flood
510653f2ee Merged in fix/icons-4 (pull request #3472)
Icon fix

* Icon fix
2026-01-21 14:09:05 +00:00
Linus Flood
5e60dd8581 Merged in fix/icons-3 (pull request #3471)
More icons..

* More icons..
2026-01-21 13:42:48 +00:00
Matilda Landström
e20f2e4f7d Merged in SW-2064-lightbox-fix (pull request #3467)
fix(SW-2064): fix next image idx

* fix(SW-2064): fix next image idx


Approved-by: Anton Gunnarsson
2026-01-21 13:18:59 +00:00
Linus Flood
b42434b2f3 Merged in fix/icons-2 (pull request #3469)
icons

* icons
2026-01-21 12:38:09 +00:00
Linus Flood
2d8df528ac Merged in fix/icons (pull request #3468)
feat(SW-3695): more icons fixes...

* feat(SW-3695): more icons fixes...
2026-01-21 12:34:24 +00:00
Erik Tiekstra
1bb2b72b2f fix(BOOK-732): Fixed issue with icon color on Filled variant with emphasis
Approved-by: Bianca Widstam
2026-01-21 10:53:55 +00:00
Linus Flood
1ad648639c Merged in fix/phone-icon (pull request #3465)
fix/SW-3695-icons

* fix/SW-3695-icons
2026-01-21 10:26:42 +00:00
Erik Tiekstra
8e08af718c feat(BOOK-743): Replaced deprecated Button component
Approved-by: Bianca Widstam
2026-01-21 09:38:38 +00:00
Linus Flood
f834433d4d Merged in fix/sw-3695-iconfixes (pull request #3462)
fix(SW-3695): icon fixes

* fix(SW-3695): icon fixes


Approved-by: Anton Gunnarsson
2026-01-21 08:55:34 +00:00
Erik Tiekstra
b91504e7c6 feat(BOOK-757): Moved TeaserCard to design system and added stories
Approved-by: Bianca Widstam
2026-01-21 07:50:43 +00:00
Erik Tiekstra
8a143a2916 chore: Moved Breadcrumbs to design system and added stories
Approved-by: Bianca Widstam
2026-01-21 07:19:19 +00:00
Rasmus Langvad
17c78be916 Merged in fix/broken-tests-show-more-button (pull request #3460)
fix: broken tests due to icon render change

* Fix broken tests due to icon render


Approved-by: Emma Zettervall
2026-01-20 13:54:40 +00:00
Erik Tiekstra
98cd873095 fix: passing on fill property to fallback image to support text as overlay with position absolute
Approved-by: Bianca Widstam
2026-01-20 13:44:59 +00:00
Anton Gunnarsson
e740c1ba66 Merged in fix/remove-redundant-test (pull request #3457)
fix: Remove required test after removing it from input

* Remove required test after removing it from input


Approved-by: Bianca Widstam
Approved-by: Emma Zettervall
2026-01-20 12:53:12 +00:00
Erik Tiekstra
d7eed5b318 chore(BOOK-754): Moved ContentCard to design system and added stories
Approved-by: Bianca Widstam
Approved-by: Anton Gunnarsson
2026-01-20 12:37:22 +00:00
Bianca Widstam
2dd08bb5d0 Merged in feat/BOOK-747-alert-extra-cost (pull request #3455)
feat(BOOK-747): show extra cost alert if reward night or voucher

* feat(BOOK-747): show extra cost alert if reward night or voucher

* feat(BOOK-747): use enum

* feat(BOOK-747): refactor

* feat(BOOK-747): add underline to trigger text


Approved-by: Anton Gunnarsson
2026-01-20 11:51:24 +00:00
Emma Zettervall
5af64ef896 Merged in feat/LOY-391-my-points-transactions-table-design (pull request #3415)
Feat/LOY-391 my points transactions table design

* feat(LOY-391): Added new design to point transaction table

* fix(LOY-391): rebase fix

* fix(LOY-391): fix

* fix(LOY-391): fix

* fix(LOY-391): fixed sticky header etc.

* feat(LOY-391): added focus on the newest loaded item in the list

* fix(LOY-391): cleaned up

* fix(LOY-391): style fix

* fix(LOY-391): fixed PR-comments, types, removed the old files for earn and burn table

* fix(LOY-391): fixed PR-comments

* feat(LOY-391): added useCallback so scrolling is avoided when clicking see all on expiring points


Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2026-01-20 08:41:09 +00:00
Emma Zettervall
8b56fa84e7 Merged in feat/LOY-522-move-focus-to-newly-loaded-item (pull request #3452)
feat(LOY-522): Move focus to the newly loaded stay in sidepeek for upcoming and previous stay

* feat(LOY-522): Moved focus to the newly loaded stay in sidepeek for upcoming and previous stay


Approved-by: Anton Gunnarsson
2026-01-20 08:10:42 +00:00
Matilda Haneling
ba42690261 Merged in fix/book-751-booking-widget-tablet-skeleton (pull request #3454)
fix(BOOK-751): added missing padding to tablet booking widget skeleton

* fix(BOOK-751): added missing padding to tablet booking widget skeleton


Approved-by: Bianca Widstam
Approved-by: Anton Gunnarsson
2026-01-20 07:43:43 +00:00
Anton Gunnarsson
042fe19f84 Merged in fix/sw-3698-rate-summary-point-price-color (pull request #3450)
fix(SW-3698): Fix point price color in rate summary

* Fix point price color in rate summary


Approved-by: Bianca Widstam
2026-01-20 07:24:31 +00:00
Anton Gunnarsson
66b7af877a Merged in fix/loy-514-fix-validation-tracking-in-signup-form (pull request #3445)
fix(LOY-514): Fix validation error tracking in SignupForm

* Fix issue with form submit handling

* Fix

* Remove browser validation

* Add automatic tracking of validatione rrors


Approved-by: Rasmus Langvad
Approved-by: Matilda Landström
2026-01-19 08:34:24 +00:00
Rasmus Langvad
0c5670823b Merged in feat/3694-show-more-button-to-ds (pull request #3405)
feat(SW-3694): Move ShowMoreButton to design-system

* Move ShowMoreButton to design-system

* Update to interactive stories

* Merged master into feat/3694-show-more-button-to-ds

* Merge branch 'master' into feat/3694-show-more-button-to-ds

* Merge branch 'feat/3694-show-more-button-to-ds' of bitbucket.org:scandic-swap/web into feat/3694-show-more-button-to-ds


Approved-by: Linus Flood
2026-01-19 07:54:54 +00:00
Linus Flood
7639daf792 Merged in feat/3614-basicInfo (pull request #3427)
feat(SW-3614): use new loyalty prop in basicProfile

* feat(SW-3614): use new loyalty prop in basicProfile

* PR fixes


Approved-by: Matilda Landström
2026-01-15 14:02:28 +00:00
Matilda Landström
dd4826dd99 Merged in feat/STAY-140-stepper-accesible (pull request #3432)
feat(STAY-140): make Stepper more accessible

* feat(STAY-140): make Stepper more accessible

* fix(STAY-140): add aria-valuetext


Approved-by: Bianca Widstam
2026-01-15 12:32:09 +00:00
Matilda Haneling
4b67ffa7fd Merged in fix/book-149-datepicker-overflowing (pull request #3433)
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
2026-01-15 11:00:31 +00:00
Anton Gunnarsson
16fbdb7ae0 Merged in fix/refactor-currency-display (pull request #3434)
fix(SW-3616): Handle EuroBonus point type everywhere

* Add tests to formatPrice

* formatPrice

* More work replacing config with api points type

* More work replacing config with api points type

* More fixing with currency

* maybe actually fixed it

* Fix MyStay

* Clean up

* Fix comments

* Merge branch 'master' into fix/refactor-currency-display

* Fix calculateTotalPrice for EB points + SF points + cash


Approved-by: Joakim Jäderberg
2026-01-15 09:32:17 +00:00
Linus Flood
e54310b00f Merged in chore/export-name-from-file (pull request #3439)
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
2026-01-14 12:55:06 +00:00
Joakim Jäderberg
982350149b Merged in chore/icon-suspense-boundary (pull request #3437)
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
2026-01-14 12:26:05 +00:00
Bianca Widstam
d9ec1b1f2d Merged in chore/BOOK-739-replace-caption (pull request #3428)
chore(BOOK-739): replace caption with typography

* chore(BOOK-739): replace caption with typography

* chore(BOOK-739): refactor div

* chore(BOOK-739): refactor badge

* chore(BOOK-739): remove span

* chore(BOOK-739): skeleton update

* chore(BOOK-739): update

* chore(BOOK-739): update reward

* chore(BOOK-739): update voucher currency


Approved-by: Erik Tiekstra
2026-01-14 09:33:27 +00:00
Joakim Jäderberg
d284e82828 Merged in chore/fix-tests (pull request #3430)
Chore/fix tests

* chore: Upgrade nextjs@16.1.1

* chore: upgrade next@16.1.1

* upgrade underlying types

* merge

* Fix broken tests

* bump @swc/plugin-formatjs to latest version

* bump sentry

* transpile "import-in-the-middle" & "require-in-the-middle"

* revert next@16.1.1 upgrade

* revert transpilation addition

* .
2026-01-13 13:48:06 +00:00
Erik Tiekstra
8d34089637 feat(BOOK-609): Using embedded url for assets instead of href since that is not updated when the asset is updated)
* feat(BOOK-609): Updated refs handling for assets inside content pages

Approved-by: Linus Flood
2026-01-13 10:40:36 +00:00
Matilda Landström
6ae4c7c805 Merged in feat/LOY-521-consent-urls (pull request #3424)
feat(LOY-521): update profiling consent routes

* feat(LOY-521):update consent routes


Approved-by: Linus Flood
2026-01-13 09:01:53 +00:00
Erik Tiekstra
632a84c042 feat(BOOK-735): Removed video block from start page and collection page
Approved-by: Bianca Widstam
2026-01-13 07:22:53 +00:00
Joakim Jäderberg
8befbf405a Merged in chore/icons-to-components (pull request #3420)
Convert all material symbols to react components

* convert all material symbols to react components

* remove svgr


Approved-by: Linus Flood
2026-01-12 14:55:08 +00:00
Matilda Haneling
6a008ba342 Merged in fix/book-149-incorrect-onfocus-behaviour-booking-widget (pull request #3320)
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
2026-01-12 14:18:51 +00:00