Commit Graph

114 Commits

Author SHA1 Message Date
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
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
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
Tobias Johansson
65e2ee47a5 Merged in feat/SW-1684-wrong-font-countrycode-dropdown (pull request #2331)
fix(SW-1684): set font family phone input dropdown

* fix: set font family phone input dropdown

* fix: phone input styling


Approved-by: Christian Andolf
2025-06-12 10:51:32 +00:00
Christian Andolf
d01db033ae fix(LOY-251): numeric inputmode on inputs for mobile numeric keyboard 2025-06-12 11:10:27 +02:00
Chuma Mcphoy (We Ahead)
144a33fa30 Merged in feat/LOY-233-success-banner-for-dtmc-linking (pull request #2328)
feat(LOY-233): create success banner for successful DTMC linking

* feat(LOY-233): create success banner for successful DTMC linking

* fix(LOY-233): code cleanup

* fix(LOY-233): use new design vars for alert bg colors


Approved-by: Erik Tiekstra
2025-06-11 08:52:28 +00:00
Christian Andolf
4b43a6c3a4 fix: make sidebar links flex to fill entire width 2025-06-10 11:26:32 +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
Bianca Widstam
3688d5ece8 Merged in fix/SW-2155-accessibility-change-focus-color (pull request #2313)
fix(SW-2155): accessibility change focus color on select

* fix(SW-2155): accessibility change focus color on select


Approved-by: Christian Andolf
2025-06-09 12:37:34 +00: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
752a93012e fix: more input fixes for various states: placeholder shown, focus, value, error, disabled 2025-06-05 09:57:33 +02:00
Erik Tiekstra
9fb5f82d92 fix(SW-2692): Added hyphens:auto and text-wrap:balance to tackle long words
Approved-by: Matilda Landström
2025-06-05 05:35:17 +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
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
7497203df2 fix: remove filtering from date and country select for better mobile experience 2025-06-04 09:19:35 +02:00
Anton Gunnarsson
dd4ef527df Merged in chore/eslint9 (pull request #2029)
chore: Update to ESLint 9

* wip: apply codemod and upgrade swc plugin

* Update eslint to 9 in scandic-web

apply code mod to config
fix existing lint issues

* Remove uneccessary fixupConfigRules

* Update eslint to 9 in design-system

* Add lint turbo dependency

* Move redis-api to eslint and prettier instead of biome

* Simplify eslint configs

* Clean up

* Apply linting


Approved-by: Linus Flood
2025-06-03 14:26:44 +00:00
Simon Emanuelsson
9580281421 fix: allow any type of phone number 2025-06-03 11:54:05 +00:00
Arvid Norlin
79e669020a wip: new PhoneCountryCode Select 2025-06-03 11:54:04 +00:00
Christian Andolf
5877a9d228 fix: open country select dropdown on focus 2025-06-03 11:56:26 +02:00
Christian Andolf
b3b3704c86 feat: update links default color to match design documents 2025-06-02 15:34:40 +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
Erik Tiekstra
5d6776c383 feat(SW-2042): Synced sidebar ui with design
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-02 09:37:39 +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
Erik Tiekstra
bb5e7b65bb feat(SW-2144): added back-to-top button on destination map views
Approved-by: Matilda Landström
2025-05-28 08:54:27 +00:00
Simon Emanuelsson
39855d3c8a fix: trigger memberPrice modal for membership number too 2025-05-27 10:22:31 +02: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
Anton Gunnarsson
41aa4f26ad Update libphonenumber-js 2025-05-22 14:00:38 +02:00
Anton Gunnarsson
069cdb7aa0 Update react-aria-components 2025-05-22 14:00:37 +02:00
Matilda Landström
88b6cdf535 Merged in fix/meeting-room-type (pull request #2186)
fix: correct meeting room type

* fix: correct meeting room type


Approved-by: Erik Tiekstra
2025-05-22 08:53:32 +00:00
Matilda Landström
e5836c9e65 Merged in fix/SW-2817-activity-card (pull request #2160)
Fix/SW-2816: activity card span full width

* fix(SW-2816): image span full width

* fix(SW-2817): improve image blurriness


Approved-by: Erik Tiekstra
2025-05-21 06:27:59 +00:00
Michael Zetterberg
f3936f41d8 Merged in fix/label-sync (pull request #2163)
fix: english label sync

* fix: english label sync

* fix: sync from Lokalise


Approved-by: Linus Flood
2025-05-21 04:11:22 +00:00
Chuma Mcphoy (We Ahead)
1b8688c7ee Merged in fix/LOY-105-correct-translation-for-signup-tc (pull request #2167)
fix(LOY-105): use existing translation for t&c text 

* fix(LOY-105): use existing translation for t&c text in signup


Approved-by: Christian Andolf
2025-05-20 14:53:23 +00:00
Joakim Jäderberg
3e50132bc9 Merged in fix/SW-2822-missing-meetingroom-images (pull request #2151)
fix: meeting rooms with missing images

* fix: meeting rooms with missing images


Approved-by: Linus Flood
2025-05-20 05:43:43 +00:00
Matilda Landström
bbe04e3cb0 Merged in fix/alert-icon (pull request #2139)
fix(SW-2807): alert icons

* fix(SW-2807): fix incorrect icon color on sitewide alert

* fix(SW-2807): change error icon


Approved-by: Erik Tiekstra
Approved-by: Linus Flood
2025-05-19 11:22:38 +00:00
Chuma Mcphoy (We Ahead)
abf48c4152 Merged in fix/LOY-105-signupform-error-messages (pull request #2121)
feat(LOY-105): update signup form validation messages

* feat(LOY-105): improve signup form validation messages


Approved-by: Erik Tiekstra
2025-05-19 07:12:45 +00:00
Erik Tiekstra
2401615caa fix(SW-2754): Fixed issue where server rendered html included faulty links
Approved-by: Matilda Landström
2025-05-16 06:21:09 +00:00
Erik Tiekstra
e9dd2b3738 fix(SW-2657): Changed size of images inside meeting subpage cards
Approved-by: Matilda Landström
2025-05-15 13:37:11 +00:00
Arvid Norlin
a8fa32a802 Merged in fix/disable-autocomlete-country-and-phone (pull request #2107)
fix: disable auto-complete for Country and Phone inputs

* fix(SW-2765): disable auto-complete for Country and Phone inputs


Approved-by: Linus Flood
2025-05-15 12:18:42 +00:00
Arvid Norlin
91f9cebadb Merged in fix/SW-2669 (pull request #2047)
fix(SW-2669): replace % height with dvh to handle iOS address bar

* fix(SW-2669): replace % height with dvh to handle iOS address bar


Approved-by: Tobias Johansson
Approved-by: Erik Tiekstra
2025-05-12 13:25:32 +00:00
Niclas Edenvin
70f9f2a321 Merged in fix/SW-2664-enter-details-ios (pull request #2025)
fix(SW-2664): remove ontouch callback that causes bugs

* fix(SW-2664): remove ontouch callback that causes bugs

This was causing touch related bugs on iOS on the enter details page.


Approved-by: Arvid Norlin
2025-05-09 09:44:57 +00:00
Erik Tiekstra
d99cd8a8c9 fix(SW-2603): Fixed image sizes on hotel pages and width of main section
Approved-by: Arvid Norlin
Approved-by: Matilda Landström
2025-05-06 13:47:26 +00:00
Simon Emanuelsson
4d41d4fd92 feat: autofill all fields on enter details and countryselector clean up 2025-05-06 10:03:24 +02:00
Christian Andolf
d6b70edfa3 chore: replace old border-radius variables with new tokens 2025-05-05 11:11:37 +02:00
Simon Emanuelsson
db289b80b1 feat: refactor NewDates, clean up legacy code
This reverts commit 0c7836fa59.
2025-05-03 21:45:45 +02:00
Arvid Norlin
0c7836fa59 Merged in fix/SW-2553-sidepeeks (pull request #1919)
Fix/SW-2553 sidepeeks

* fix(SW-2553): apply sidepeek display logic

* chore: move convertToChildType and getPriceType utils

* fix: apply PR requested changes

* fix(SW-2553): fix roomNumber for multiroom

* fix(SW-2553): fix sidepeek for my-stay page


Approved-by: Michael Zetterberg
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-05-02 15:10:34 +00:00
Hrishikesh Vaipurkar
e6a3e5dbd8 Merged in feat/SW-2398-ui-update-for-booking-codes (pull request #1862)
feat: SW-2398 UI updates booking codes

* feat: SW-2398 UI updates booking codes

* feat: SW-2398 Rate cards UI changes

* feat: SW-2398 Optimized css with vars and chip code

* feat: SW-2398 Optimized code as review comments

* feat: SW-2398 Optimized code

* feat: SW-2398 Optimized code and mobile UX

* feat: SW-2398 Optimized code

* feat: SW-2398 Fixed UI

* feat: SW-2398 Updated animation


Approved-by: Erik Tiekstra
2025-05-02 12:36:22 +00:00