Commit Graph
100 Commits
Author SHA1 Message Date
Christian Andolf 8ec3b6d60e Merged in chore/vitest-projects-config (pull request #2472)
chore: add vitest project config and yarn constraints

Approved-by: Anton Gunnarsson
2025-06-30 12:24:12 +00:00
Christian Andolf 733281240f chore: add vitest project config and yarn constraints 2025-06-30 14:17:49 +02:00
Christian Andolf 69a90928f3 Merged in fix/hydration-errors (pull request #2476)
fix: fixed hydration errors by setting ids

Approved-by: Linus Flood
2025-06-30 11:42:24 +00:00
Christian Andolf 18cbd952b7 fix: fixed hydration errors by setting ids
moved scripts to body since beforeInteractive strategy ones will be placed in the head regardless, avoiding double render
2025-06-30 13:28:05 +02:00
Christian Andolf 07085d02f5 Merged in chore/fix-migrate-unit-tests-vitest (pull request #2461)
Chore/fix migrate unit tests vitest

Approved-by: Anton Gunnarsson
2025-06-30 08:25:14 +00:00
Christian Andolf a3645da8c4 chore: add unit test to scandic web pipeline 2025-06-30 09:58:26 +02:00
Christian Andolf ff40ef72c4 chore: fix and migrate unit tests to vitest 2025-06-30 09:49:30 +02:00
Christian Andolf bdf66af23d Merged in feat/LOY-284-add-accordion-support-account-page (pull request #2443)
feat(LOY-284): add accordion support to account pages

Approved-by: Erik Tiekstra
Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
2025-06-30 07:47:05 +00:00
Christian Andolf 471b1b6409 feat(LOY-284): add accordion support to account pages 2025-06-30 09:06:34 +02:00
Christian Andolf ded9e1278f Merged in fix/LOY-283-remove-dtmc-title (pull request #2449)
fix(LOY-283): remove title from dtmc modal

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-26 13:04:43 +00:00
Christian Andolf a3d3f3a06c fix(LOY-283): remove title from dtmc modal
adjust padding and remove box-shadow according to design documents
2025-06-26 11:23:27 +02:00
Christian Andolf 53447794dd Merged in fix/LOY-281-make-entire-select-filter-box-clickable (pull request #2424)
fix(LOY-281): make entire select filter box clickable

Approved-by: Michael Zetterberg
2025-06-25 14:31:35 +00:00
Christian Andolf 7dad94a046 fix(LOY-281): make entire select filter box clickable 2025-06-25 14:42:25 +02:00
Christian Andolf 06802d57b8 Merged in feat/LOY-263-add-link-missing-points-form (pull request #2392)
Feat/LOY-263 add link missing points form

Approved-by: Erik Tiekstra
2025-06-25 09:51:59 +00:00
Christian Andolf 372fcccbf1 Merged in feat/LOY-276-sas-hero-image (pull request #2411)
feat(LOY-276): add hero image to account page

Approved-by: Erik Tiekstra
2025-06-25 09:40:47 +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 3f6127b861 feat(LOY-276): add hero image to account page 2025-06-24 14:54:54 +02:00
Christian Andolf bb459937a6 Merged in fix/pixel-push-input-select-label (pull request #2369)
fix: make use of design system label component in select

Approved-by: Arvid Norlin
2025-06-23 07:20:49 +00:00
Christian Andolf ea6d3be140 Merged in fix/SW-3085-restore-form-id (pull request #2401)
fix(SW-3085): restore missing form id

Approved-by: Hrishikesh Vaipurkar
2025-06-19 11:36:47 +00:00
Christian Andolf 59745dc61a fix(SW-3085): restore missing form id 2025-06-19 13:25:24 +02:00
Christian Andolf c476f29512 fix: use exported variable for input height 2025-06-19 12:44:19 +02:00
Christian Andolf 603c7dd2bf fix: make use of design system label component in select
minor tweaks to make sure input and select behaves consistently
2025-06-19 12:38:30 +02:00
Christian Andolf b2475d22dc Merged in chore/replace-background-primary-token (pull request #2383)
chore: replace old primary background token with new one

Approved-by: Erik Tiekstra
2025-06-18 07:16:22 +00:00
Christian Andolf 6ca79d6bab chore: replace old primary background token with new one 2025-06-17 15:37:26 +02:00
Christian Andolf f559703de7 Merged in fix/parse-phonenumber-before-submit (pull request #2376)
fix: now parses phone number before submitting on edit profile and signup

Approved-by: Linus Flood
2025-06-17 09:03:22 +00:00
Christian Andolf 0b8e3edc15 fix: now parses phone number before submitting on edit profile and signup 2025-06-17 10:48:19 +02:00
Christian Andolf 434b5dbdb2 Merged in fix/revert-numeric-inputmode-zipcode (pull request #2362)
fix: revert numeric inputmode zipcode

Approved-by: Linus Flood
2025-06-16 06:58:24 +00:00
Christian Andolf 332a279a82 Merged in fix/restore-flex-link-variants (pull request #2370)
fix: restore flex classes to link variants

Approved-by: Linus Flood
2025-06-16 06:57:46 +00:00
Christian Andolf c1eae6920c fix: restore flex classes to link variants 2025-06-13 17:13:28 +02:00
Christian Andolf e3d6437af2 Merged in refactor/design-system-input-label (pull request #2326)
refactor: move input and label to design system

Approved-by: Arvid Norlin
2025-06-13 11:24:46 +00:00
Christian Andolf ce399e696d fix: consistent height and focus states 2025-06-13 13:07:39 +02:00
Christian Andolf 73884aa428 fix: restore old select selectors for label to still support the temp design select
deprecated the temp design select in favor of the new one
2025-06-13 13:07:38 +02:00
Christian Andolf 7ee711bb43 fix: use typography variables instead
explicit since composing is not allowed in nested selectors
2025-06-13 13:07:38 +02:00
Christian Andolf f6be4f275e refactor: move input and label to design system
correct variables according to design system spec

various cleanup
2025-06-13 13:07:38 +02:00
Christian Andolf 8b5e8aecae Merged in fix/phone-country-code-fix (pull request #2357)
fix: remove country code from prefilled phone input

Approved-by: Simon.Emanuelsson
2025-06-13 11:01:40 +00:00
Christian Andolf bd24506ad0 Merged in fix/restore-icon-variant-link (pull request #2340)
fix: restore icon variant for link since inline-flex makes its children inline but not the box itself

Approved-by: Arvid Norlin
2025-06-13 10:19:14 +00:00
Christian Andolf c545ed2fe2 Merged in refactor/design-system-divider (pull request #2354)
refactor: move divider to design system

Approved-by: Arvid Norlin
2025-06-13 09:38:10 +00:00
Christian Andolf 430cc6f644 fix: revert numeric inputmode zipcode 2025-06-13 11:33:04 +02:00
Christian Andolf 9551a629fa refactor: move divider to design system
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Christian Andolf 9da986f554 fix: extrapolate phone number parsing for re-usage in edit profile
move error messages to message handler
2025-06-13 10:46:15 +02:00
Christian Andolf 9ee0ec2d46 fix: restore icon variant for link since inline-flex makes its children inline but not the box itself 2025-06-12 14:41:02 +02:00
Christian Andolf 2dd07eb6b8 Merged in fix/LOY-260-use-same-phone-component (pull request #2336)
fix(LOY-260): use same phone component in signup and edit profile as enter details

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-12 12:40:36 +00:00
Christian Andolf 8c6f659f8f Merged in fix/LOY-251-numeric-inputmode (pull request #2346)
fix(LOY-251): numeric inputmode on inputs for mobile numeric keyboard

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-12 12:39:24 +00:00
Christian Andolf f528318e77 Merged in fix/common-module-package (pull request #2348)
fix: add type module to common package to fix commonjs parsing warning

Approved-by: Anton Gunnarsson
2025-06-12 12:33:15 +00:00
Christian Andolf 8c21cd1908 Merged in fix/remove-explicit-width-height-carousel-images (pull request #2349)
fix: remove explicit width and height on carousel images to stop next warnings

Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-06-12 12:32:19 +00:00
Christian Andolf 6a0ce38f79 fix(LOY-260): use same phone component in signup and edit profile as enter details
remove old select from edit profile

update typography
2025-06-12 14:30:02 +02:00
Christian Andolf db0f2ed0f9 fix: remove explicit width and height on carousel images to stop next warnings
now uses fill and lets the width and height from css decide
2025-06-12 11:34:35 +02:00
Christian Andolf 7cd46bbdd6 fix: add private to package to prevent publishing 2025-06-12 11:19:17 +02:00
Christian Andolf 920b8124de fix: add type module to common package to fix commonjs parsing warning 2025-06-12 11:16:40 +02:00
Christian Andolf d01db033ae fix(LOY-251): numeric inputmode on inputs for mobile numeric keyboard 2025-06-12 11:10:27 +02:00
Christian Andolf 40d1b67a6f Merged in fix/LOY-128-add-filter-rounded-chip-variant (pull request #2317)
fix(LOY-128): add rounded filter chip variant

Approved-by: Erik Tiekstra
2025-06-11 12:42:11 +00:00
Christian Andolf f292cc7922 fix(LOY-128): add rounded filter chip variant 2025-06-11 14:25:52 +02:00
Christian Andolf 8ddcc39192 Merged in fix/sidebar-links-flex (pull request #2322)
fix: make sidebar links flex to fill entire width

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-10 11:49:15 +00:00
Christian Andolf 4b43a6c3a4 fix: make sidebar links flex to fill entire width 2025-06-10 11:26:32 +02:00
Christian Andolf 50f9e9a3e0 Merged in fix/add-child-element-typography (pull request #2320)
fix: add child element to typography

Approved-by: Erik Tiekstra
2025-06-10 09:23:13 +00:00
Christian Andolf 65d19c7ad2 fix: add child element to typography 2025-06-10 11:01:39 +02:00
Christian Andolf 5e760fee71 Merged in feat/LOY-243-change-name-disclaimer (pull request #2311)
feat(LOY-243): add change name disclaimer to profile

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-10 07:33:02 +00:00
Christian Andolf d7579e88d6 fix(LOY-243): adjust font-sizes in text and gap on container 2025-06-09 17:21:03 +02:00
Christian Andolf 7fdffb8e1d feat(LOY-243): add change name disclaimer to profile 2025-06-09 12:46:28 +02:00
Christian Andolf cb2dd046fb Merged in fix/update-password-phone-input (pull request #2298)
fix: update password and deprecated phone inputs to be consistent with other existing inputs in signup

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-05 09:34:44 +00:00
Christian Andolf 8aedfa461b Merged in fix/dtmc-perf-fixes (pull request #2296)
fix: performance fixes for dtmc animation

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-05 08:50:24 +00:00
Christian Andolf 21566eb5b5 fix: performance fixes for dtmc animation 2025-06-05 10:34:57 +02:00
Christian Andolf 5d89f6c465 fix: update password and deprecated phone inputs to be consistent with other existing inputs in signup 2025-06-05 10:33:10 +02:00
Christian Andolf 89fe73c1bf Merged in fix/input-states (pull request #2297)
fix: more input fixes for various states: placeholder shown, focus, value, error, disabled

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-05 08:32:50 +00:00
Christian Andolf 752a93012e fix: more input fixes for various states: placeholder shown, focus, value, error, disabled 2025-06-05 09:57:33 +02:00
Christian Andolf 25a9a3e439 Merged in fix/LOY-252-scroll-to-input-focus (pull request #2272)
fix(LOY-252): add height to input elements to make iOS scroll to focused inputs

Approved-by: Michael Zetterberg
Approved-by: Chuma Mcphoy (We Ahead)
2025-06-04 13:57:29 +00:00
Christian Andolf 45d1155054 fix(LOY-252): add height to input elements to make iOS scroll to focused inputs
fixed incorrect html with multiple interactive elements inside label

fixed inconsistent placeholder attribute handling between browsers

removed active state so not to prevent iOS from focusing inputs
2025-06-04 13:37:15 +02:00
Christian Andolf 8dbd36bdbd Merged in fix/remove-filtering-date-country (pull request #2278)
fix: remove filtering from date and country select for better mobile experience

Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
2025-06-04 11:36:17 +00:00
Christian Andolf b2972318bb Merged in fix/link-inline-flex (pull request #2287)
fix: make links inline flex so not to take up an entire row

Approved-by: Erik Tiekstra
2025-06-04 10:02:44 +00:00
Christian Andolf afd3a7d9ca fix: date and country selects now still uses the filtering in desktop 2025-06-04 12:00:49 +02:00
Christian Andolf 7ff6fd465a fix: make links inline flex so not to take up an entire row 2025-06-04 10:16:32 +02:00
Christian Andolf b9043ce5c9 Merged in fix/LOY-245-close-dropdown-selected (pull request #2271)
fix(LOY-245): close dropdown when selecting value

Approved-by: Michael Zetterberg
2025-06-04 07:42:36 +00:00
Christian Andolf 0b339e52a6 fix(LOY-245): close dropdown when selecting value 2025-06-04 09:22:53 +02:00
Christian Andolf 7497203df2 fix: remove filtering from date and country select for better mobile experience 2025-06-04 09:19:35 +02:00
Christian Andolf 5f12dedb50 Merged in fix/trigger-open-country-select-focus (pull request #2274)
fix: open country select dropdown on focus

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-03 11:17:09 +00:00
Christian Andolf 5877a9d228 fix: open country select dropdown on focus 2025-06-03 11:56:26 +02:00
Christian Andolf 726ea44105 Merged in fix/consistent-link-colors (pull request #2245)
feat: update links default color to match design documents

Approved-by: Michael Zetterberg
2025-06-02 14:38:16 +00:00
Christian Andolf 13136509b6 fix: replace old spacing variables with new matching ones 2025-06-02 15:34:42 +02:00
Christian Andolf b3b3704c86 feat: update links default color to match design documents 2025-06-02 15:34:40 +02:00
Christian Andolf 7694a188da Merged in chore/remove-duplicate-upcoming-stays (pull request #2244)
chore: remove duplicate upcoming stays block

Approved-by: Michael Zetterberg
2025-06-02 13:29:03 +00:00
Christian Andolf d782b85329 chore: remove duplicate upcoming stays block 2025-06-02 15:12:35 +02:00
Christian Andolf d36754e24d Merged in fix/ref-errors-typography (pull request #2240)
fix: rendering errors when applying components to children that are already applying to children

Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-06-02 08:36:02 +00:00
Christian Andolf d8ac5614e2 fix: rendering errors when applying components to children that are already applying to children 2025-05-28 14:43:03 +02:00
Christian Andolf 76e377d5d5 Merged in fix/update-footer-variables (pull request #2239)
fix: match footer to design documents with typography and colors

Approved-by: Erik Tiekstra
2025-05-27 13:44:44 +00:00
Christian Andolf ade0279c8d fix: match footer to design documents with typography and colors 2025-05-27 13:46:43 +02:00
Christian Andolf ec31dcda1a Merged in fix/SW-2172-accessibility-issues-sidepeek-and-other-buttons (pull request #2202)
fix(SW-2172): update sidepeek buttons to use new ones for accessibility

Approved-by: Erik Tiekstra
2025-05-27 11:31:41 +00:00
Christian Andolf 8e1a83ee7d fix(SW-2172): update sidepeek buttons to use new ones for accessibility
updated enter details header overlay to match design

updated change room button to use new one for accessibility

other minor fixes to match design
2025-05-27 12:05:04 +02:00
Christian Andolf 3d95a08ab4 Merged in fix/set-default-text-color-body (pull request #2211)
fix: set default text color on body

Approved-by: Erik Tiekstra
2025-05-27 07:36:49 +00:00
Christian Andolf 46faf93aba Merged in fix/hotel-card-fixes (pull request #2209)
fix: update typography including missing header element in hotel cards

Approved-by: Tobias Johansson
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-05-27 07:32:48 +00:00
Christian Andolf 883fd23949 Merged in fix/LOY-52-remove-spinner-stay-cards (pull request #2232)
fix(LOY-52): remove spinner on stay cards to prevent loading to spin indefinitely when opening link in a new tab

Approved-by: Linus Flood
2025-05-27 07:31:47 +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
Christian Andolf 642a6881e2 fix: update typography including missing header element in hotel cards
add responsive sizes to hotel card image

removed non-existing class
2025-05-26 16:56:54 +02:00
Christian Andolf 88687c512f fix: set default text color on body 2025-05-26 16:56:27 +02:00
Christian Andolf ea90e8c920 Merged in fix/update-typography-footer (pull request #2210)
fix: update typography footer

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-26 08:05:00 +00:00
Christian Andolf 6e089c6ca3 fix: update typography footer 2025-05-23 16:14:39 +02:00
Christian Andolf afd9b3b246 Merged in fix/cleanup-profile-pages (pull request #2187)
fix: cleanup profile pages

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-23 13:24:02 +00:00
Christian Andolf aa06a0654d fix: cleanup profile pages in renaming to follow naming convention
cleanup profile page html to be valid

replace old temp design system components with new ones

divider is now correctly an hr element

less section elements to be valid html
2025-05-23 09:20:21 +02:00
Christian Andolf 502ffa449d Merged in fix/SW-2170-outline-for-chip (pull request #2199)
fix(SW-2170): add outline for chip for keyboard focus

Approved-by: Erik Tiekstra
2025-05-23 07:19:27 +00:00
Christian Andolf 16efce3a43 fix(SW-2170): add outline for chip for keyboard focus
add nonmodal prop to booking code rates dropdown to ensure booking widgets stays sticky when opened
2025-05-22 16:28:58 +02:00