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
Erik Tiekstra
8e08af718c
feat(BOOK-743): Replaced deprecated Button component
...
Approved-by: Bianca Widstam
2026-01-21 09:38:38 +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
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
Matilda Landström
6a803e2d81
Merged in fix(LOY-423)-hide-progress-bar (pull request #3421 )
...
fix(LOY-423): hide progress bar behind feature flag
* fix(LOY-423): hide progress bar behind feature flag
Approved-by: Linus Flood
2026-01-13 09:00:01 +00:00
Bianca Widstam
68c1b3dc50
Merged in chore/BOOK-708-replace-title-component (pull request #3414 )
...
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
2026-01-12 07:54:59 +00:00
Chuma Mcphoy (We Ahead)
3ac8956926
Merged in fix/LOY-511-handle-undefined-case (pull request #3377 )
...
fix(LOY-511): handle undefined case
* fix(LOY-511): handle undefined case
* chore(LOY-511): add comment
Approved-by: Christel Westerberg
2025-12-19 13:28:03 +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
Chuma Mcphoy (We Ahead)
ac53f128af
Merged in feat/LOY-423-Nights-Stayed-Progress-for-L6-Members (pull request #3360 )
...
feat(LOY-423): Add progress bar for L6 members showing nights stayed
* feat(LOY-423): Add progress bar for L6 members showing nights stayed
* chore(LOY-423): shorten css selector
Approved-by: Matilda Landström
2025-12-17 10:45:30 +00:00
Chuma Mcphoy (We Ahead)
f40035baa9
Merged in LOY-493/Sidepeek-upcoming-stays (pull request #3315 )
...
LOY-493/Sidepeek upcoming stays
* chore(LOY-493): Add icon to next stay card cta
* chore(LOY-493): better folder org for stays
* chore(LOY-494): more folder reorg
* feat(LOY-493): Implement Sidepeek for Upcoming Stays
Approved-by: Matilda Landström
2025-12-09 10:54:57 +00:00
Chuma Mcphoy (We Ahead)
9d8399b7c7
Merged in refactor/LOY-495-hook-for-sidepeek-scrolling (pull request #3297 )
...
refactor(LOY-495): create useSidePeekScrollToTop hook
* refactor(LOY-495): create useSidePeekScrollToTop hook
* fix(LOY-495): Read ref fresh each time
Approved-by: Emma Zettervall
2025-12-05 13:51:10 +00:00
Chuma Mcphoy (We Ahead)
aae5c4d33d
Merged in feat/LOY-495-Stays-Sidepeek-Scroll-to-Top (pull request #3279 )
...
Feat/LOY-495 Scroll to Top Functionality in Previous Stays Sidepeek
* feat(LOY-495): enable scroll to top functionality for past stays sidepeek
Approved-by: Emma Zettervall
Approved-by: Matilda Landström
2025-12-05 05:41:02 +00:00
Chuma Mcphoy (We Ahead)
2738cbae7d
Merged in fix/add-years-to-get-days-until-text-util (pull request #3281 )
...
fix: add years to getDaysUntilText + confirmation number in upcoming stay card
* fix: add years to getDaysUntilText + confirmation number in upcoming stay card
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-12-04 09:46:53 +00:00
Chuma Mcphoy (We Ahead)
30b9d14fb0
Merged in feat/LOY-424-Sidepeek-Past-Stays (pull request #3270 )
...
feat(LOY-424): Load More Past Stays via Sidepeek
* feat(LOY-424): Load More Past Stays via Sidepeek
* chore(LOY-424): use new section header
* fix(LOY-424): remove uneeded nextCursor check
Approved-by: Emma Zettervall
2025-12-03 15:19:25 +00:00
Chuma Mcphoy (We Ahead)
48700ffe8f
Merged in fix/LOY-298-stays-content (pull request #3256 )
...
fix(LOY-298): empty stays text
* fix(LOY-298): empty stays text
Approved-by: Emma Zettervall
Approved-by: Matilda Landström
2025-12-01 08:32:09 +00:00
Chuma Mcphoy (We Ahead)
ac5fdc64a9
Merged in feat/LOY-428-previous-stay-redesign (pull request #3142 )
...
Feat(LOY-428): Previous Stays Redesign
* feat(LOY-428): Previous stays WIP
* fix(LOY-428): fix alignment issue
* fix(LOY-428): css fixes & imagefallback prop value
* fix(LOY-428): use css vars
* fix(LOY-428): add unit test for relative time text
* chore(LOY-428): remove else if conditions
* fix(LOY-428): named exports & remove duplicate width/height setting
* fix(LOY-428): better formatting of upcoming stays months text
* fix(LOY-428): fewer typography wrappers
Approved-by: Matilda Landström
2025-11-19 12:08:34 +00:00
Chuma Mcphoy (We Ahead)
0b28893e71
Merged in feat/LOY-422-new-upcoming-stays (pull request #3121 )
...
feat(LOY-422): Upcoming Stays Redesign
* feat(LOY-422): Upcoming Stays Redesign
* feat(LOY-422): Carousel next/previous arrows
* chore(LOY-422): add new material icon
* refactor(LOY-422): restructure new and old upcoming stays
* fix(LOY-422): handle less than 1 case
* chore(LOY-422): remove uneeded id
* chore(LOY-422): remove intl label for date edge case
Approved-by: Matilda Landström
2025-11-13 13:05:24 +00:00
Erik Tiekstra
88644597df
chore: Replaced deprecated Spacing variables with current values
...
Approved-by: Matilda Landström
2025-11-12 12:56:22 +00:00
Chuma Mcphoy (We Ahead)
94f6af563d
Merged in feat/LOY-421-Next-Stay (pull request #3026 )
...
Feat(LOY-421): Next Stay
* feat(LOY-421): Next stay WIP
* fix(LOY-421): clean upp css and jsx
* chore(LOY-421): css cleanup
* fix(LOY-421): fix test
* only show button if isWebAppOrigin is true
* chore(LOY-421): update section header component
* chore(LOY-421): remove redundant test case
Approved-by: Matilda Landström
2025-11-05 09:09:57 +00:00
Erik Tiekstra
333636c81a
Merged in feat/BOOK-61-refactor-hotel-page-css-variables (pull request #3014 )
...
Feat/BOOK-61 refactor hotel page css variables
* feat(BOOK-61): Breadcrumbs
* feat(BOOK-61): intro section
* feat(BOOK-61): show more button
* feat(BOOK-61): rooms section
* feat(BOOK-61): sidepeeks
* feat(BOOK-61): deprecated old Link component
* feat(BOOK-61): added new TextLink component to the design-system
* feat(BOOK-61): replaced deprecated links with new TextLink component
* feat(BOOK-61): miscellaneous changes
Approved-by: Bianca Widstam
Approved-by: Christel Westerberg
2025-10-29 09:15:03 +00:00
Joakim Jäderberg
aafad9781f
Merged in feat/lokalise-rebuild (pull request #2993 )
...
Feat/lokalise rebuild
* chore(lokalise): update translation ids
* chore(lokalise): easier to switch between projects
* chore(lokalise): update translation ids
* .
* .
* .
* .
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* .
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* chore(lokalise): new translations
* merge
* switch to errors for missing id's
* merge
* sync translations
Approved-by: Linus Flood
2025-10-22 11:00:03 +00:00
Erik Tiekstra
339e7195dc
fix(BOOK-436): Added new section component and deprecated the other
...
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-13 08:31:26 +00:00
Erik Tiekstra
f04fe467da
feat(SW-3151): Added original to imageSchema and added transform to a more generic image type
...
Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
2025-09-10 08:29:05 +00:00
Anton Gunnarsson
65c6bc4c59
Merged in feat/sw-3369-move-loadingspinner (pull request #2742 )
...
feat(SW-3369): Move LoadingSpinner to design-system
* Move LoadingSpinner to design-system
Approved-by: Joakim Jäderberg
2025-09-02 06:46:58 +00:00
Anton Gunnarsson
a2213d0169
Merged in feat/sw-3228-move-image-to-design-system (pull request #2616 )
...
feat(SW-3228): Move Image to design-system
* Move Image to design-system
* Merge branch 'master' into feat/sw-3228-move-image-to-design-system
Approved-by: Linus Flood
2025-08-12 12:58:05 +00:00
Anton Gunnarsson
8518d018f8
Merged in feat/sw-3230-move-link-to-design-system (pull request #2618 )
...
feat(SW-3230): Move Link to design-system
* Move Link to design-system
* Remove comments
Approved-by: Linus Flood
2025-08-12 12:35:20 +00:00
Hrishikesh Vaipurkar
71c6f4cab3
Merged in chore/SW-3145-move-button (pull request #2527 )
...
chore: SW-3145 Moved tempdesign button to design-system
* chore: SW-3145 Moved tempdesign button to design-system
Approved-by: Anton Gunnarsson
2025-07-07 07:11:18 +00:00
Anton Gunnarsson
923206ee4c
Merged in chore/sw-3145-move-subtitle (pull request #2516 )
...
chore(SW-3145): Move Title and Subtitle to design-system
* Move Title and Subtitle to design-system
* Fix export
Approved-by: Linus Flood
2025-07-04 06:22:28 +00:00
Anton Gunnarsson
a7ac79e429
Merged in chore/sw-3145-move-caption (pull request #2503 )
...
chore(SW-3145): Move Caption to design-system
* Move Caption to design-system
* Mark Caption as deprecated
Approved-by: Linus Flood
Approved-by: Joakim Jäderberg
2025-07-03 07:48:24 +00:00
Anton Gunnarsson
be25be7bb5
Merged in feat/sw-3125-move-client-trpc-setup (pull request #2493 )
...
feat(SW-3125): Move client trpc setup
* Move client trpc to package
* Client setup in partner-sas
* Add todo
Approved-by: Linus Flood
2025-07-01 12:41:28 +00:00
Anton Gunnarsson
f0def99425
Merged in chore/remove-unused-env-vars (pull request #2463 )
...
chore: Remove unused env vars and feature toggles
* Remove unused env vars and feature toggles
Approved-by: Joakim Jäderberg
2025-06-30 07:48:05 +00:00
Anton Gunnarsson
01ca2b4897
Merged in feat/sw-2867-move-user-router-to-trpc-package (pull request #2428 )
...
Move user router to trpc package
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Remove translations from My Pages navigation trpc procedure
* Move navigation router to trpc package
* Move user router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
* Merge branch 'feat/sw-2862-move-booking-router-to-trpc-package' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'feat/sw-2865-move-navigation-router-to-trpc-package' into feat/sw-2867-move-user-router-to-trpc-package
* Merge branch 'master' into feat/sw-2867-move-user-router-to-trpc-package
Approved-by: Linus Flood
2025-06-27 07:07:49 +00:00
Anton Gunnarsson
002d093af4
Merged in feat/sw-2863-move-contentstack-router-to-trpc-package (pull request #2389 )
...
feat(SW-2863): Move contentstack router to trpc package
* Add exports to packages and lint rule to prevent relative imports
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 07:53:01 +00:00
Christian Andolf
56df2cdb2a
feat(LOY-263): add link to missing points form to earn and burn
2025-06-25 11:40:15 +02:00
Christian Andolf
acc77625c8
feat(LOY-263): added new link to missing points form
...
removed soonest stays for redundancy
2025-06-25 11:40:15 +02:00
Christian Andolf
b3b3704c86
feat: update links default color to match design documents
2025-06-02 15:34:40 +02:00
Christian Andolf
d782b85329
chore: remove duplicate upcoming stays block
2025-06-02 15:12:35 +02:00
Anton Gunnarsson
cbf9e7b7c2
Merged in chore/next15 (pull request #1999 )
...
chore (SW-834): Upgrade to Next 15
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* wip: fix remaining issues from codemod
serverClient is now async because context use headers()
getLang is now async because it uses headers()
* Minor cleanup
* Inline react-material-symbols package
Package is seemingly not maintained any more and doesn't support
React 19. This copies the package source into `design-system`,
makes the necessary changes for 19 and export it for others to use.
* Fix missing awaits
* Disable modal exit animations
Enabling modal exit animations via isExiting prop is causing
modals to be rendered in "hidden" state and never unmount.
Seems to be an issue with react-aria-components,
see https://github.com/adobe/react-spectrum/issues/7563 .
Can probably be fixed by rewriting to a solution similar to
https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html
* Remove unstable cache implementation and use in memory cache locally
* Fix ref type in SelectFilter
* Use cloneElement to add key prop to element
Approved-by: Linus Flood
2025-06-02 11:11:50 +00:00
Anton Gunnarsson
7e97b74c18
Merged in chore/remove-unused-code (pull request #2229 )
...
Remove unused code
* Remove unused scandic-web files
* Remove unused exports
Approved-by: Joakim Jäderberg
2025-05-30 12:41:18 +00:00
Christian Andolf
6f585a2c1e
fix(LOY-52): remove spinner on stay cards to prevent loading to spin indefinitely when opening link in a new tab
2025-05-26 17:19:03 +02:00
Niclas Edenvin
6a5350d681
Merged in fix/no-my-stay-for-external-bookings (pull request #2126 )
...
fix: Only link web and app bookings to my stay
Approved-by: Joakim Jäderberg
2025-05-16 13:35:15 +00:00
Christian Andolf
f681fa7675
Merged in chore/replace-corner-radius-variable-with-new (pull request #1943 )
...
chore: replace old border-radius variables with new tokens
Approved-by: Erik Tiekstra
2025-05-05 11:24:48 +00:00
Joakim Jäderberg
5784822a1e
Merged in feature/SW-2320-languagebased-hide-for-next-release (pull request #1937 )
...
Language based alternative to HIDE_FOR_NEXT_RELEASE
Approved-by: Anton Gunnarsson
2025-05-05 10:53:28 +00:00
Christian Andolf
d6b70edfa3
chore: replace old border-radius variables with new tokens
2025-05-05 11:11:37 +02:00
Christian Andolf
5f836b0c82
Merged in fix/prevent-jump-when-hover-card (pull request #1889 )
...
fix: prevent jumping layout when hovering card
Approved-by: Erik Tiekstra
2025-04-29 07:42:45 +00:00
Christian Andolf
ffafdd24d1
Merged in fix/reduce-amount-of-section-elements (pull request #1883 )
...
fix: reduce the amount of section elements being used since most have no headers connected to them
Approved-by: Chuma Mcphoy (We Ahead)
2025-04-29 07:03:37 +00:00
Christian Andolf
8501a12f8f
fix: prevent jumping layout when hovering card
2025-04-28 16:41:50 +02:00
Christian Andolf
8ed74f08a4
fix: make proper use of type predicates and minor cleanup to avoid double ternary and reduce computation
2025-04-28 15:00:38 +02:00
Christian Andolf
32e95fcbbd
fix: reduce the amount of section elements being used since most have no headers connected to them
2025-04-28 14:56:02 +02:00
Chuma Mcphoy (We Ahead)
27aef3982e
Merged in fix/LOY-222-find-my-booking-urls-for-prod (pull request #1817 )
...
Fix(LOY-222): Find my booking url handling
* fix(LOY-222): adapt findMyBooking url based on HIDE_FOR_NEXT_RELEASE
* feat(LOY-222): add current web paths for findMyBooking in multiple languages
* refactor(LOY-222): better env and new url constructions
* refactor(LOY-222): decouple env var handling from getCurrentWebUrl
* fix(LOY-222): update findMyBooking URL construction to use baseUrl
* fix(LOY-222): simplify findMyBooking URL handling for new web urls
* fix(LOY-222): Update Finnish path for hotel reservation lookup
* refactor(LOY-222): rename PUBLIC_URL to NEXT_PUBLIC_PUBLIC_URL for consistency
Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-04-22 07:03:23 +00:00