Matilda Landström
3590a88031
Merged in fix/LOY-382-password-validation-audit (pull request #3034 )
...
Fix/LOY-382: Refactoring + accessibility of PasswordInput
* fix(LOY-382): fix password accessibility issues
* chore(LOY-382): refactor & add accessibility
* refactor(LOY-382)
Approved-by: Erik Tiekstra
2025-10-31 10:19:32 +00:00
Joakim Jäderberg
bf6ed7778e
Merged in feat/syncDefaultMessage (pull request #3022 )
...
Sync defaultMessage from lokalise
* Enhance translation sync functionality and tests
- Added logging for found component files during sync.
- Introduced tests for handling complex components with replacements.
- Updated regex in syncIntlFormatMessage to support optional second arguments.
- Removed unused test files.
* feat(syncDefaultMessage): add script for syncing default message with lokalise
* feat(syncDefaultMessage): add script for syncing default message with lokalise
Approved-by: Matilda Landström
2025-10-30 08:38:50 +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
Bianca Widstam
c473bbc8b0
Merged in fix/BOOK-323-enter-details-scroll-error (pull request #2986 )
...
Fix/BOOK-323 enter details scroll error
* fix(BOOK-323): scroll to invalid element on submit on enter details
* fix(BOOK-323): update error message design
* fix(BOOK-323): clean up
* fix(BOOK-323): scroll to fields in room in right order
* fix(BOOK-323): add id to translations
* fix(BOOK-323): remove undefined
* fix(BOOK-323): fix submitting state
* fix(BOOK-323): use ref in multiroom for scrolling to right element, add membershipNo
* fix(BOOK-323): fix invalid border country
* fix(BOOK-323): use error message component
* fix(BOOK-323): fix invalid focused styling on mobile
* fix(BOOK-323): remove redundant dependency in callback
Approved-by: Erik Tiekstra
2025-10-24 11:30:56 +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
Matilda Landström
bacdc669a3
Merged in fix/Lokalise-EN-edits-2025-10 (pull request #2962 )
...
Fix/Lokalise English manual updates
* fix: update English keys
Approved-by: Linus Flood
2025-10-16 15:04:58 +00:00
Anton Gunnarsson
08804e8675
Merged in chore/cleanup-scandic-web (pull request #2831 )
...
chore: Cleanup scandic-web
* Remove unused files
* Remove unused and add missing packages
* Remove unused exports
Approved-by: Linus Flood
2025-09-18 15:33:00 +00:00
Anton Gunnarsson
5a86cbaafe
Merged in chore/update-eslint-configs (pull request #2812 )
...
chore: Extend eslint configs from @typescript-eslint/recommended
* Change to typescript recommended in scandic-web
* Remove comment
* Change to recommended ts config in partner-sas
* Change to recommended ts lint config in booking-flow
Approved-by: Linus Flood
2025-09-17 07:55:11 +00:00
Erik Tiekstra
15711cb3a4
feat(SW-2541): Adjust for ImageVault custom field return types changes
...
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-09-10 08:57:49 +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
Joakim Jäderberg
8c3f8c74db
Merged in feature/SW-3365-blurry-images (pull request #2746 )
...
Feature/SW-3365 reduce upscaling of images (fix blurry images)
* fix: handle when images are wider than 3:2 but rendered in a 3:2 container
* use dimensions everywhere applicable
* fall back to using <img sizes='auto' /> if possible
* imageLoader: never nest
* remove empty test file
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-09-02 17:52:31 +00:00
Hrishikesh Vaipurkar
1804f7b7cd
Merged in chore/SW-3356-move-textarea-from-tempds-to-ds (pull request #2745 )
...
chore(SW-3356): Moved TextArea to design system
* chore(SW-3356): Moved TextArea to design system
Approved-by: Joakim Jäderberg
2025-09-02 07:39:20 +00:00
Matilda Landström
fbfd62b239
Merged in fix/SW-3328-campaign-page-fix (pull request #2726 )
...
Fix/SW-3328 campaign page design fix
* fix(SW-3328): align essentials text
* fix(SW-3328): campaign page design fix
* fix(SW-3328): update hero width
* fix(SW-3328): change burgundy code text
Approved-by: Erik Tiekstra
2025-08-29 13:55:15 +00:00
Joakim Jäderberg
72f4f72a17
Merged in SW-3317-move-toast-to-design-system (pull request #2716 )
...
SW-3317 move toast to design system
* chore: Move toast to design-system and add interaction tests
* Move toast to design-system and add storybook tests
* Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3317-move-toast-to-design-system
* merge
* move sonner dependency to @scandic-hotels/design-system
Approved-by: Anton Gunnarsson
2025-08-27 13:03:17 +00:00
Hrishikesh Vaipurkar
67bdf5bbcf
Merged in chore/SW-3298-move-sidepeekselfcontrolled- (pull request #2710 )
...
chore(SW-3298): Moved SidePeekSelfControlled to design system
* chore(SW-3298): Moved SidePeekSelfControlled to design system
Approved-by: Anton Gunnarsson
2025-08-26 14:29:54 +00:00
Hrishikesh Vaipurkar
44fce176e9
Merged in chore/SW-3246-move-alert-to-design-system (pull request #2698 )
...
chore(SW-3246): Moved Alert component into design system
* chore(SW-3246): Moved Alert component into design system
* chore(SW-3246): Optimsed code and imports
* chore(SW-3246): Moved type AlertTypeEnum and other to common package
Approved-by: Anton Gunnarsson
2025-08-26 11:22:38 +00:00
Bianca Widstam
d9b858c823
Merged in feat/SW-3289-replace-sidepeek-hotel-reservation (pull request #2686 )
...
feat(SW-3289): replace sidepeek
* fix(SW-3289): replace sidepeek
* fix(SW-3289): add wrapping prop and change prop name to buttonVariant
* fix(SW-3289): replace body with typography
* fix(SW-3289): fix intl message
Approved-by: Joakim Jäderberg
2025-08-22 11:43:39 +00:00
Matilda Landström
fe376c63f7
Merged in feat/SW-2847-table (pull request #2665 )
...
fix(SW-2847): move ScrollWrapper to design system and Table component
* fix(SW-2847): move ScrollWrapper to design system and Table component
Approved-by: Erik Tiekstra
2025-08-20 09:41:54 +00:00
Matilda Landström
7891ae3ae6
Merged in feat/SW-3232-site-config-alerts (pull request #2671 )
...
feat(SW-3232): update alert schema
* feat(SW-3232): update alert schema
Approved-by: Erik Tiekstra
2025-08-20 09:18:00 +00:00
Anton Gunnarsson
67a7a0d571
Merged in feat/sw-3271-move-chip-to-design-system (pull request #2659 )
...
feat(SW-3271): Move Chip to design-system
* Move Chip to design-system
Approved-by: Joakim Jäderberg
2025-08-19 07:04:01 +00:00
Joakim Jäderberg
1bd6ce81b8
Merged in feature/SW-3245-move-jsontohtml (pull request #2661 )
...
Feature/SW-3245 move jsontohtml
* wip
* Move JsonToHtml -> design-system
* Fix semantic issues within Stories
* replace imports of 'storybook/react-vite' with 'storybook/nextjs-vite'
* merge
Approved-by: Anton Gunnarsson
2025-08-18 07:46:21 +00:00
Anton Gunnarsson
d10fc5ed74
Merged in feat/sw-3247-move-table-to-design-system (pull request #2636 )
...
feat(SW-3247): Move Table component to design-system
* Move Table component to design-system
Approved-by: Bianca Widstam
2025-08-13 14:52:56 +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
800dc5c3c1
Merged in feat/sw-3225-move-parking-information-to-booking-flow (pull request #2614 )
...
feat(SW-3225): Move ParkingInformation to design-system
* Inline ParkingInformation types to remove trpc dependency
* Move ParkingInformation to design-system
* Move numberFormatting to common package
* Add deps to external
* Fix imports and i18n script
* Add common as dependency
* Merge branch 'master' into feat/sw-3225-move-parking-information-to-booking-flow
Approved-by: Linus Flood
2025-08-12 12:36:31 +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
Anton Gunnarsson
00b124d15a
Merged in feat/sw-3226-move-buttonlink-to-design-system (pull request #2613 )
...
feat(SW-3226): Move ButtonLink to design-system
* Move ButtonLink to design-system
* Fix Button import
Approved-by: Linus Flood
2025-08-11 10:53:00 +00:00
Matilda Landström
bcb28b6337
Merged in fix/SW-3138-stackable-info-cards (pull request #2594 )
...
fix(SW-3138): make cards stackable in mobile
* fix(SW-3138): make cards stackable in mobile
Approved-by: Bianca Widstam
Approved-by: Anton Gunnarsson
2025-08-09 17:41:37 +00:00
Anton Gunnarsson
8824af240b
Merged in feat/sw-3219-move-accordion-to-design-system (pull request #2601 )
...
feat(SW-3219): Move accordion to design-system
* Inline types
* Move Accordion to design-system
Approved-by: Bianca Widstam
2025-08-07 14:30:36 +00:00
Anton Gunnarsson
7fb082f712
Merged in feat/sw-3218-move-sidepeek-to-design-system (pull request #2598 )
...
feat(SW-3218): Move SidePeek to design-system
* Remove SidePeekProvider dependency on Next
* Remove dependency on i18n in sidepeek
* Inline types
* Move SidePeek to design-system
* Fix align-items value
Approved-by: Bianca Widstam
2025-08-06 08:35:34 +00:00
Bianca Widstam
75ffd5d10b
Merged in fix/SW-2188-disabled-state (pull request #2597 )
...
fix(SW-2188): readonly for input fields
* fix(SW-2188): readonly for input fields
Approved-by: Anton Gunnarsson
2025-08-06 07:14:28 +00:00
Bianca Widstam
5f2e215508
Merged in fix/SW-2188-disable-fields-logged-in-user-enter-details (pull request #2595 )
...
fix(SW-2188): disable enter details fields when logged in
* fix(SW-2188): disable enter details fields when logged in
Approved-by: Anton Gunnarsson
2025-08-05 11:54:41 +00:00
Anton Gunnarsson
1bd8fe6821
Merged in feat/sw-2879-booking-widget-to-booking-flow-package (pull request #2532 )
...
feat(SW-2879): Move BookingWidget to booking-flow package
* Fix lockfile
* Fix styling
* a tiny little booking widget test
* Tiny fixes
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Remove unused scripts
* lint:fix
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Tiny lint fixes
* update test
* Update Input in booking-flow
* Clean up comments etc
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Setup tracking context for booking-flow
* Add missing use client
* Fix temp tracking function
* Pass booking to booking-widget
* Remove comment
* Add use client to booking widget tracking provider
* Add use client to tracking functions
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Move debug page
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
Approved-by: Bianca Widstam
2025-08-05 09:20:20 +00:00
Anton Gunnarsson
03c9244fdf
Merged in feat/sw-2873-move-backtotopbutton-to-design-system (pull request #2593 )
...
feat(SW-2873): Move BackToTopButton to design-system
* Remove dependency on i18n in BackToTopButton
* Move BackToTopButton to design-system
Approved-by: Hrishikesh Vaipurkar
2025-08-05 08:41:31 +00:00
Anton Gunnarsson
b52a3f5847
Merged in feat/sw-3145-move-iconbyiconname-to-design-system (pull request #2589 )
...
Move icon components to design-system
* Move icon components to design-system
Approved-by: Hrishikesh Vaipurkar
2025-08-04 11:32:00 +00:00
Anton Gunnarsson
7a3ee76206
Merged in feat/sw-3145-move-iconchip-to-design-system (pull request #2588 )
...
feat(SW-3145): Move IconChip to design-system
* Move IconChip to design-system
Approved-by: Hrishikesh Vaipurkar
2025-08-01 14:21:05 +00:00
Hrishikesh Vaipurkar
a12dfb4b5b
Merged in fix/SW-2342-hotel-side-peek-list-of-ui- (pull request #2566 )
...
fix(SW-2342): Fixed hotel sidepeek UI alignment and color
* fix(SW-2342): Fixed hotel sidepeek UI alignment and color
* fix(SW-2342): Fixed vertical alignment
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-07-28 11:19:29 +00:00
Hrishikesh Vaipurkar
5ff4234552
Merged in chore/SW-3145-move-date-to-design-system (pull request #2556 )
...
feat: SW-3145 Moved date component to design system
* chore: SW-3145 Moved date component to design system
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-07-28 09:05:25 +00:00
Hrishikesh Vaipurkar
42ab6e58b3
Merged in chore/SW-3145-move-phone (pull request #2549 )
...
chore/SW-3145 Moved Phone to design system
* chore/SW-3145 Moved Phone to design system
* chore: SW-3145 Moved phone and removed intl direct dependency
Approved-by: Anton Gunnarsson
2025-07-28 08:28:07 +00:00
Hrishikesh Vaipurkar
2f72a0437b
Merged in chore/SW-3145-move-country (pull request #2545 )
...
chore: SW-3145 Moved country into design system
* chore: SW-3145 Moved country into design system
Approved-by: Anton Gunnarsson
2025-07-10 12:20:49 +00:00
Matilda Landström
acbca570d3
Merged in fix/SW-3161-meeting-room-N/A (pull request #2536 )
...
fix(SW-3161): fix correct meeting room type mapping
* fix(SW-3161): fix correct room type mapping
Approved-by: Chuma Mcphoy (We Ahead)
2025-07-09 09:22:29 +00:00
Erik Tiekstra
899439ead8
Merged in fix/SW-3007-meeting-image-max-seatings (pull request #2528 )
...
fix(SW-3007): Added fallback image and check if maxSeatings exists
* fix(SW-3007): Added fallback image and check if maxSeatings exists
* fix(SW-3007): use image fallback component
* fix(SW-3007): change to new tokens
* fix(SW-3007): change to table structure
Approved-by: Hrishikesh Vaipurkar
Approved-by: Matilda Landström
2025-07-08 12:53:06 +00:00
Hrishikesh Vaipurkar
8ae251635d
Merged in chore/SW-3145-move-radio-card (pull request #2533 )
...
chore: SW-3145 Moved RadioCard to design system
* chore: SW-3145 Moved RadioCard to design system
* chore: SW-3145 Optimized code
* chore: SW-3145 Optimized code
Approved-by: Anton Gunnarsson
2025-07-08 08:25:00 +00:00
Hrishikesh Vaipurkar
d8f9376cd7
Merged in chore/SW-3145-move-button (pull request #2531 )
...
chore: SW-3145 Moved Button component from TempDS to Design System package
* chore: SW-3145 Moved Button compoenent from TempDS to Design System package
Approved-by: Anton Gunnarsson
2025-07-07 11:13:44 +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
d7981eae42
Merged in chore/sw-3145-move-switch (pull request #2521 )
...
Move Switch to design-system
* Move Switch to design-system
* Fix Icon import
* Fix Caption import...
Approved-by: Joakim Jäderberg
2025-07-04 08:33:04 +00:00
Anton Gunnarsson
9e1cc66f95
Merged in chore/sw-3145-move-deprecated-select (pull request #2518 )
...
chore(SW-3145): Move DeprecatedSelect to design-system
* Move DeprecatedSelect to design-system
Approved-by: Linus Flood
2025-07-04 06:34: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
80057264d9
Merged in chore/sw-3145-move-preamble (pull request #2519 )
...
chore(SW-3145): Move Preamble to design-system
* Move Preamble to design-system
Approved-by: Linus Flood
2025-07-04 06:11:25 +00:00
Anton Gunnarsson
7ff8fee20e
Merged in chore/sw-3145-move-skeleton-shimmer (pull request #2509 )
...
chore(SW-3145): Move SkeletonShimmer to design-system
* Move SkeletonShimmer to design-system
Approved-by: Joakim Jäderberg
2025-07-03 13:10:23 +00:00
Anton Gunnarsson
0ee6e8800d
Merged in chore/sw-3145-move-tooltip (pull request #2514 )
...
chore(SW-3145): Move Tooltip to design-system
* Move Tooltip to design-system
Approved-by: Joakim Jäderberg
2025-07-03 13:00:12 +00:00