Commit Graph

654 Commits

Author SHA1 Message Date
Bianca Widstam
faf1f17a11 Merged in fix/BOOK-715-booking-terms-links (pull request #3410)
fix(BOOK-715): correct links to booking terms

* fix(BOOK-715): correct links to booking terms


Approved-by: Matilda Haneling
Approved-by: Matilda Landström
2026-01-09 12:51:17 +00:00
Bianca Widstam
6e700cc3d4 Merged in feat/BOOK-693-tracking-member-price (pull request #3403)
feat(BOOK-693): add tracking for memberprice and join

* feat(BOOK-693): add tracking for memberprice and join


Approved-by: Erik Tiekstra
2026-01-09 08:40:22 +00:00
Joakim Jäderberg
411a8a2a2e Merged in chore/add-package-to-semver (pull request #3408)
add package-name to semver

* add package-name to semver


Approved-by: Linus Flood
2026-01-09 07:48:47 +00:00
Matilda Landström
fc857ad58f Merged in SW-2064-lightbox-updates (pull request #3347)
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
2026-01-08 12:10:03 +00:00
Rasmus Langvad
4980cc830d Merged in feat/3685-new-textarea-component (pull request #3392)
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
2026-01-07 17:04:30 +00:00
Rasmus Langvad
d0546926a9 Merged in fix/3697-prettier-configs (pull request #3396)
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
2026-01-07 12:45:50 +00:00
Bianca Widstam
932413412b Merged in fix/BOOK-700-skeleton-misaligned-select-hotel (pull request #3391)
fix(BOOK-700): skeleton styling disoriented on select hotel

* fix(BOOK-700): skeleton styling disoriented on select hotel


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2026-01-07 11:20:51 +00:00
Joakim Jäderberg
1ba94ff70a Merged in chore/fix-semver (pull request #3393)
Chore/fix semver

* fix semver versioning

* fix semver versioning

* Merge branch 'chore/fix-semver' of bitbucket.org:scandic-swap/web into chore/fix-semver

* Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/fix-semver

* reset to master


Approved-by: Linus Flood
2026-01-07 10:49:14 +00:00
Rasmus Langvad
ffef566316 Merged in feat/new-passwordinput-component (pull request #3376)
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
2026-01-07 09:10:22 +00:00
Joakim Jäderberg
028c77c923 Merged in chore/check-types-before-build (pull request #3326)
chore: check types before build

* chore: check types before build

* remove unused package.json scripts

* merge


Approved-by: Linus Flood
2026-01-07 07:06:36 +00:00
Matilda Landström
d23137a69d Merged in fix(BOOK-659)-multiroom-name-check (pull request #3385)
fix(BOOK-659): use unique ids for multiroom booking input fields

* fix(BOOK-659): use unique ids for multiroom booking input fields


Approved-by: Bianca Widstam
Approved-by: Linus Flood
2026-01-05 11:20:20 +00:00
Bianca Widstam
dc18589afe Merged in fix/isostring-error (pull request #3386)
fix: isostring

* fix: isostring


Approved-by: Joakim Jäderberg
2026-01-05 09:21:30 +00:00
Matilda Landström
15626d49af Merged in fix(BOOK-659)-multiroom-name-check (pull request #3384)
fix(BOOK-659): trim names for multiroom booking

* fix(BOOK-659): trim names for multiroom booking


Approved-by: Matilda Haneling
2025-12-30 10:02:36 +00:00
Matilda Landström
d2ffb32f84 Merged in feat/LOY-515-signup-tracking (pull request #3379)
feat/LOY-515-add-key-signup-tracking

* feat/LOY-515-add-key-signup-tracking


Approved-by: Matilda Haneling
2025-12-30 10:00:59 +00:00
Matilda Landström
7ca366de57 Merged in feat/ancillaries-ui-fixes (pull request #3383)
feat: update ancillaries flow ui

* feat: update ancillaries flow ui


Approved-by: Matilda Haneling
2025-12-30 09:55:46 +00:00
Matilda Landström
54d9534d62 Merged in feat/BOOK-691-children-label (pull request #3380)
feat/BOOK-691-update-children-label

* feat/BOOK-691-update-children-label


Approved-by: Matilda Haneling
2025-12-29 09:01:40 +00:00
Matilda Landström
a061808b2a Merged in fix/BOOK-343-disable-clear-preferences (pull request #3369)
fix(BOOK-343): disable clear if no active preferences

* fix(BOOK-343): disable clear if no active preferences


Approved-by: Bianca Widstam
2025-12-23 09:04:35 +00:00
Bianca Widstam
57d0e1b27b Merged in fix/BOOK-662-handle-overlapping-dates-timezone (pull request #3319)
Fix/BOOK-662 handle overlapping dates timezone

* fix(BOOK-662): handle overlapping dates alerts

* fix(BOOK-662): handle overlapping dates alerts

* fix(BOOK-662): add test same dates


Approved-by: Anton Gunnarsson
2025-12-19 14:03:30 +00:00
Erik Tiekstra
c21aa2dc73 Merged in fix/BOOK-257-video-player (pull request #3373)
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
2025-12-19 12:41:00 +00:00
Erik Tiekstra
3f632e6031 Merged in fix/BOOK-293-button-variants (pull request #3371)
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
2025-12-19 12:32:52 +00:00
Matilda Landström
2197ab2137 Merged in feat/BOOK-334-booking-widget-ui (pull request #3366)
fix/BOOK-334-booking-widget-tablet-fix

* fix/BOOK-334-booking-widget-tablet-fix


Approved-by: Anton Gunnarsson
2025-12-19 11:41:04 +00:00
Bianca Widstam
96b4e5a254 Merged in fix/BOOK-584-strikethrough-regulare-price (pull request #3374)
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
2025-12-19 08:19:19 +00:00
Rasmus Langvad
b9a62b5280 Merged in feat/use-new-input-component (pull request #3324)
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
2025-12-18 15:42:09 +00:00
Linus Flood
40e1efa81f Merged in feat/SW-3688-nerbyhotels (pull request #3372)
feat(SW-3688): remove nearbyHotels prop/fetch from hotelscheme

* feat(SW-3688): remove nearbyHotels prop/fetch from hotelscheme

* Cleanup


Approved-by: Joakim Jäderberg
2025-12-18 13:43:56 +00:00
Christel Westerberg
6b08d5a113 Merged in fix/STAY-135 (pull request #3368)
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)
2025-12-18 13:31:43 +00:00
Anton Gunnarsson
6ee262ad89 Merged in chore/booking-flow-cleaning (pull request #3354)
chore: Clean booking-flow

* Clean booking-flow

* Fix type issue


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-12-17 13:04:26 +00:00
Matilda Landström
3dce2d310f Merged in refactor/SW-2826-align-urls (pull request #3359)
refactor(SW-2826): align urls

* refactor(SW-2826): align urls


Approved-by: Anton Gunnarsson
2025-12-17 09:33:08 +00:00
Matilda Landström
0a89ed6f4f Merged in fix/update-jobylon-cache-time (pull request #3361)
fix: change Jobylon cache from 1d to 1h

* fix: change Jobylon cache from 1d to 1h


Approved-by: Linus Flood
2025-12-17 09:12:45 +00:00
Matilda Haneling
b8bc94acb3 Merged in fix/book-607-page-not-found-confirmation-page (pull request #3345)
* 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
2025-12-17 07:53:04 +00:00
Erik Tiekstra
c796f5bb81 fix(BOOK-637): Using useLayoutEffect to avoid issues with refs with null values
Approved-by: Matilda Landström
2025-12-17 07:10:06 +00:00
Erik Tiekstra
d8c19c8917 fix: Added fullWidth property on button components to set them as full width
Approved-by: Matilda Landström
2025-12-16 14:37:10 +00:00
Bianca Widstam
1dce74c95f Merged in feat/BOOK-591-jotform (pull request #3350)
Feat/BOOK-591 jotform

* feat(BOOK-591): create jotform

* feat(BOOK-591): jotform

* feat(BOOK-591): jotform

* fix(BOOK-591): add embedhandler

* feat(BOOK-591): refactor jotform

* feat(BOOK-591): remove inline styles

* feat(BOOK-591): remove typename

* feat(BOOK-591): add jotformembedhandler


Approved-by: Erik Tiekstra
2025-12-16 14:35:45 +00:00
Erik Tiekstra
bf7a2ac2fe Fix/BOOK-240 video fixes
* fix(BOOK-240): Added support for multiple sources and fixed issue with play/pause on mobile

* fix(BOOK-240): Pausing hero video when scrolling out of view


Approved-by: Christel Westerberg
2025-12-16 09:09:17 +00:00
Anton Gunnarsson
713ca6562e Merged in fix/book-674-select-hotel-infinite-loop (pull request #3351)
fix(BOOK-674): Refactor how we handle hotel filters

* Refactor hotel filters store to URL state

* Rename hotel filter store


Approved-by: Joakim Jäderberg
2025-12-15 13:58:00 +00:00
Joakim Jäderberg
494bf2ba78 Merged in fix/BOOK-672-hotels-without-related-links (pull request #3348)
fix(BOOK-672): remove unused relationsships that threw when missing

* fix(BOOK-672): remove unused relationsships that threw when missing


Approved-by: Linus Flood
2025-12-15 13:19:05 +00:00
Christel Westerberg
5861f9a811 Merged in fix/STAY-133-modal-header (pull request #3330)
fix: adapt modal header to look like design

* fix: adapt modal header to look like design


Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
2025-12-15 07:35:27 +00:00
Erik Tiekstra
4ec1e85d84 Feat/BOOK-293 button adjustments
* 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
2025-12-15 07:05:31 +00:00
Anton Gunnarsson
c153e0db50 Merged in chore/delete-unused-files (pull request #3346)
chore: Delete unused files

* Delete unused files

Ignore design-system for now


Approved-by: Joakim Jäderberg
2025-12-12 13:56:51 +00:00
Anton Gunnarsson
c14b804c03 Merged in chore/cleanup-package-exports (pull request #3344)
chore: Cleanup package exports

* Cleanup package exports


Approved-by: Matilda Landström
2025-12-12 13:56:42 +00:00
Matilda Landström
fadafbda02 Merged in SW-2224/cleanup-mypages-navigation (pull request #3341)
chore(SW-2224): remove unused query

* chore(SW-2224): remove old query


Approved-by: Anton Gunnarsson
2025-12-12 13:11:40 +00:00
Bianca Widstam
ee16d2ef6d Merged in fix/strokewidth-warning (pull request #3343)
fix: change to camelCase strokewidth warning

* fix: change to camelCase strokewidth warning


Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-12-12 11:47:00 +00:00
Anton Gunnarsson
3e3b15940f Merged in fix/booking-flow-eslint-fix (pull request #3342)
fix: Upgrade booking-flow eslint config

* Upgrade booking-flow eslint config


Approved-by: Bianca Widstam
2025-12-12 11:40:45 +00:00
Matilda Haneling
92391fdbd7 Merged in fix/book-incorrect-hover-color-chip-button (pull request #3323)
updated to correcly displayed hover color on chip buttons

* updated to correcly displayed hover color on chip buttons


Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
2025-12-12 11:19:16 +00:00
Anton Gunnarsson
de94c47f3f Merged in fix/sw-3667-not-enough-points (pull request #3337)
fix(SW-3667): Remove conditional on Scandic user token

* Remove conditional on Scandic user token


Approved-by: Joakim Jäderberg
2025-12-12 09:34:07 +00:00
Anton Gunnarsson
e5149846e5 Merged in chore/upgrade-to-next16 (pull request #3305)
chore(SW-3665): Upgrade to Next 16

* Upgrade partner-sas

* Upgrade scandic-web to next 16

* Update peerDep versions

* Fix revalidateTag

* Remove comment

* Merge branch 'master' into chore/upgrade-to-next16

* Update netlify adapter

* Build with webpack instead of turbopack

* Revert from proxy to middleware

* Merge branch 'master' into chore/upgrade-to-next16

* Revert proxy type

* Fix react types versions

* 16.0.9

* Bump to 16.0.10


Approved-by: Linus Flood
2025-12-12 09:17:15 +00:00
Bianca Widstam
7d021f8e40 Merged in fix/storybook-error (pull request #3336)
fix: storybook error remove slash

* fix: storybook error remove slash


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-12-12 08:52:42 +00:00
Matilda Landström
c051474ffc Merged in fix/LOY-519-handle-null-identifier (pull request #3329)
fix(LOY-519): handle null values on icon identifier

* fix(LOY-519): handle null values on icon identifier


Approved-by: Erik Tiekstra
2025-12-12 07:37:43 +00:00
Erik Tiekstra
0597b09c08 Feat/BOOK-257 videoplayer with card
* feat(BOOK-257): Added VideoPlayer with card component
* feat(BOOK-257): Added queries and component for VideoCard block to Content and Collection pages
* fix(BOOK-257): Only setting object-fit: cover on the video if it is not fullscreen
* feat(BOOK-257): Added queries and component for VideoCard block to Startpage
* feat(BOOK-257): Added queries and component for Video block to content/collection/start page

Approved-by: Chuma Mcphoy (We Ahead)
2025-12-12 06:34:32 +00:00
Anton Gunnarsson
7faa9933a2 Merged in feat/sw-3642-inject-sas-eb-payment (pull request #3243)
feat(SW-3642): Enable SAS EB payments

* Wip add SAS eb payment

* Add validate payment call

* Check booking status payment method to determine validation

* Clean up getPaymentData

* Fix PartnerPoints casing

* Add comment for validatePartnerPayment error handling

* Remove comment


Approved-by: Joakim Jäderberg
2025-12-11 13:23:12 +00:00
Erik Tiekstra
f06e466827 Feat/BOOK-240 hero video
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Christel Westerberg
2025-12-11 08:35:27 +00:00