Chuma Mcphoy (We Ahead)
c6da0fb8cb
Merged in feat/LOY-316-Level-Progress-Card (pull request #2739 )
...
Feat/LOY-316 Level Progress Card
* feat(LOY-315): Add MembershipOverviewCard
* refactor(LOY-315): abstract sasbooststatus
* feat(LOY-316): build out LevelProgressCard skeleton & variant styling
* feat(LOY-316): Add HighesMembershipCard
* feat(LOY-316): ProgressBarCard base
* refactor(LOY-315): highest level card misc fixes
* feat(LOY-316): Add progress component to design system
* fix(LOY-316): type check
* refactor(LOY-316): calculate currentEarnings correctly
* fix(LOY-316): sas icon showing when not boosted
* fix(LOY-316): css module
* refactor(LOY-316): Restructure components
* feat(LOY-316): Add marker pin 📍
* fix(LOY-316): strict equality checks
* fix(LOY-316): code review fixes
* chore(LOY-316): conditionally hide old section under flag
* feat(LOY-316): Add level progress card to my points page
* chore(LOY-316): marker label container height
Approved-by: Matilda Landström
2025-09-10 06:53:22 +00:00
Matilda Landström
8f813eb9e7
Merged in feat/SW-3163-remove-openinghours-name (pull request #2735 )
...
feat(SW-3163): update opening hours schema name/nameEnglish
* feat(SW-3163): remove name
* fix(SW-3163): update schemas
Approved-by: Erik Tiekstra
2025-09-04 14:18:57 +00:00
Joakim Jäderberg
6fa301f8e7
Merged in SW-3396-move-my-saved-cards-to-design-system (pull request #2762 )
...
SW-3396 move my saved cards to design system
* Move PaymentOption, PaymentOptionsGroup, PaymentIcons and MySavedCards (renamed SelectPaymentMethod) to design-system
* Remove unused svg payment icons
* cleanu
* cleanup
* trackUpdatePaymentMethod: remove hotelId argument that was never passed
Approved-by: Anton Gunnarsson
2025-09-04 13:01:36 +00:00
Hrishikesh Vaipurkar
260a544c99
Merged in chore/SW-3381-move-loginbutton-to-ds- (pull request #2752 )
...
chore(SW-3381) Moved LoginButton to design system
* chore(SW-3381) Moved LoginButton to design system
Approved-by: Anton Gunnarsson
2025-09-03 09:11:28 +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
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
Chuma Mcphoy (We Ahead)
914871607d
Merged in feat/LOY-315-Membership-Status-Card (pull request #2712 )
...
Feat(LOY-315): Membership Overview Card
* fix(LOY-315): new divider variants
* feat(LOY-315): Add MembershipOverviewCard
* refactor(LOY-315): abstract sasbooststatus
* fix(LOY-315): correct space vars
* fix(LOY-315): date formatting fixes
Approved-by: Erik Tiekstra
2025-09-01 13:42:50 +00:00
Matilda Landström
93a90bef9d
Merged in feat/SW-2038-static-map-button (pull request #2715 )
...
feat(SW-2038): refactor and create wrapper for static map and button
* feat(SW-2038): refactor and create wrapper for static map and button
* feature: use button from design-system over creating a new one
* remove unused fragment
* fix(SW-2038): add removed css
* fix(SW-2038): update fake button component
* fix(SW-2038): move FakeButton to design system
Approved-by: Erik Tiekstra
Approved-by: Joakim Jäderberg
2025-09-01 08:16:27 +00:00
Erik Tiekstra
ec66a5647a
feat(SW-3173): Added support for one or two columns for the list inside the RTE
...
Approved-by: Matilda Landström
2025-09-01 07:52:32 +00:00
Joakim Jäderberg
a0fa238b27
Merged in fix/left-align-ameneties (pull request #2734 )
...
* left align sho all ameneties
2025-08-29 11:48:40 +00:00
Joakim Jäderberg
2a9313362f
Merged in feature/SW-3327-move-hotel-info-card-to-design-system (pull request #2730 )
...
Feature/SW-3327 move hotel info card to design system
* wip
* wip
* wip
* wip moving hotelinfocard
* add controls for HotelInfoCard in storybook
* merge
Approved-by: Anton Gunnarsson
2025-08-29 10:09:48 +00:00
Bianca Widstam
0e00e8eaf1
Merged in fix/SW-3021-vouchers (pull request #2719 )
...
fix(SW-3021): add pluralization support for vouchers
* fix(SW-3021): add pluralization support for vouchers
Approved-by: Anton Gunnarsson
2025-08-28 08:27:03 +00:00
Matilda Landström
cfaee8f123
Merged in feat/SW-3276-hotel-page-phone-number (pull request #2703 )
...
feat(SW-3276): update hotel page intro section
* feat(SW-3276): update hotel page intro section
* fix(SW-3276): update Link component
Approved-by: Erik Tiekstra
2025-08-28 06:30:32 +00:00
Joakim Jäderberg
4ed1cd1843
Merged in fix/storybook-static-folder (pull request #2718 )
...
Storybook Avatar: Use images from public folder
* make sure we import files from the correct folder
Approved-by: Chuma Mcphoy (We Ahead)
2025-08-27 14:09:10 +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
Bianca Widstam
34135879a8
Merged in fix/SW-3289-open-side-peek-from-side-mobile (pull request #2717 )
...
fix(SW-3289): sidepeek opens from side on mobile
* fix(SW-3289): sidepeek opens from side on mobile
Approved-by: Anton Gunnarsson
2025-08-27 12:38:29 +00:00
Joakim Jäderberg
80c3327419
Merged in fix/linting (pull request #2708 )
...
Fix/linting
* fix import issues and add lint check no-extraneous-dependencies
* fix use type HotelType instead of string
Approved-by: Anton Gunnarsson
2025-08-27 09:22:37 +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
Bianca Widstam
5f8d77e54a
Merged in fix/SW-1655-tripadvisor-icon-map (pull request #2695 )
...
fix(SW-1655): update design tripadvisor on hotel map card
* fix(SW-1655): update design tripadvisor on hotel map card
* fix(SW-1655): update radius
* fix(SW-1655): use tripadvisor chip, create different variants
* fix(SW-1655): update variants, storybook, and global css
Approved-by: Joakim Jäderberg
2025-08-26 13:08:28 +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
Erik Tiekstra
8180271b0f
fix(SW-3203): Added property id to pointOfInterestSchema to handle identical names
...
Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
2025-08-26 05:58:25 +00:00
Chuma Mcphoy (We Ahead)
7561e996c6
Merged in feat/LOY-311-New-Avatar-Component (pull request #2694 )
...
Feat(LOY-311) Create avatar design system component
* feat(LOY-311): Creat & use New Avatar Design System Component
* refactor(LOY-311): replace avatar used in app header with design system component
* fix(LOY-311): use correct space vars
Approved-by: Erik Tiekstra
2025-08-25 14:41:50 +00:00
Joakim Jäderberg
c54c1ec540
Merged in SW-3270-move-interactive-map-to-design-system-or-booking-flow (pull request #2681 )
...
SW-3270 move interactive map to design system or booking flow
* wip
* wip
* merge
* wip
* add support for locales in design-system
* add story for HotelCard
* setup alias
* .
* remove tracking from design-system for hotelcard
* pass isUserLoggedIn
* export design-system-new-deprecated.css from design-system
* Add HotelMarkerByType to Storybook
* Add interactive map to Storybook
* fix reactintl in vitest
* rename env variables
* .
* fix background colors
* add storybook stories for <Link />
* merge
* fix tracking for when clicking 'See rooms' in InteractiveMap
* Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3270-move-interactive-map-to-design-system-or-booking-flow
* remove deprecated comment
Approved-by: Anton Gunnarsson
2025-08-25 11:26:16 +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
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
Linus Flood
20d34198e3
Merged in feat/sw-3191-images (pull request #2670 )
...
feat(images): SW-3191 slightly increase image width to improve quality
* feat(images): SW-3191 slightly increase image width to improve quality
Approved-by: Joakim Jäderberg
2025-08-19 06:54:25 +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
322268595d
Merged in feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow (pull request #2600 )
...
feat(SW-2873): Move HotelReservationSidePeek to booking-flow
* Move sidepeek store to booking-flow
* Begin move of HotelReservationSidePeek to booking-flow
* Copy Link
* Update AccessibilityAccordionItem
* Split AccessibilityAccordionItem into two components
* Fix tracking for Accordion
* Duplicate ButtonLink to booking-flow TEMP
* AdditionalAmeneties
* wip
* Move sidepeek accordion items
* Remove temp ButtonLink
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
* Fix accordion tracking
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
* Update exports
* Fix self-referencing import
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
* Add 'use client' to tracking function
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
* Fix TEMP folder
* Refactor sidepeek tracking
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
Approved-by: Joakim Jäderberg
2025-08-14 12:25:40 +00:00
Anton Gunnarsson
f04e476a6e
Merged in feat/sw-3240-move-staticmap-to-design-system (pull request #2654 )
...
feat(SW-3240): Move StaticMap to design-system
* Move StaticMap to design-system
Approved-by: Joakim Jäderberg
2025-08-14 12:22:19 +00:00
Anton Gunnarsson
04aebb372c
Merged in feat/sw-3238-move-modal-to-design-system (pull request #2628 )
...
feat(SW-3238): Move modal to design system
* Move Modal to design-system
* Remove temp modal from booking-flow
Approved-by: Joakim Jäderberg
2025-08-14 07:14:51 +00:00
Joakim Jäderberg
f531c7a49f
Merged in feature/storybook-tests (pull request #2623 )
...
Feature/storybook tests
* feature: add interaction tests for storybook and upgrade storybook@9
* add a11y testing for storybook
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/storybook-tests
* Test and build only required packages
* .
* .
* .
* .
* .
* .
* .
* disable playwright tests in netlify ci
* .
* debug out process.env
* don't run playwright on CI
* remove unused netlify-plugin-playwright-cache
* .
* .
* .
* .
* .
* .
* remove turbo dependancy to design-system#test
* merge
* merge
Approved-by: Anton Gunnarsson
2025-08-14 06:25:08 +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
cd29e54098
Merged in feat/sw-3244-move-imagecontainer-to-design-system (pull request #2637 )
...
feat(SW-3244): Move ImageContainer component to design-system
* Move ImageContainer component to design-system
* Fix imports
Approved-by: Bianca Widstam
2025-08-13 14:37:29 +00:00
Anton Gunnarsson
08159d326a
Merged in feat/sw-3239-move-imagegallery-to-design-system (pull request #2633 )
...
feat(SW-3239): Move imagegallery to design system
* Inline types
* Move ImageGallery to design-system
Approved-by: Matilda Landström
2025-08-13 12:16:59 +00:00
Anton Gunnarsson
29292fd157
Merged in feat/sw-3231-move-lightbox-to-design-system (pull request #2619 )
...
feat(SW-3231): Move Lightbox to design-system
* Move Lightbox to design-system
* Fix self-referencing imports
* Fix broken import
Approved-by: Matilda Landström
2025-08-13 11:02:59 +00:00
Anton Gunnarsson
e92c0465cc
Merged in feat/sw-3242-move-opening-hours-to-design-system (pull request #2629 )
...
feat(SW-32429: Move OpeningHours to design-system
* Move OpeningHours to design-system
Approved-by: Joakim Jäderberg
2025-08-13 07:05:23 +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
Joakim Jäderberg
855f795d50
Merged in feature/transpile-design-system (pull request #2621 )
...
Feature/transpile design system
* remove example, we should use storybook instead
* remove example, we should use storybook instead
* css-modules cannot have :root, moved affected css-variables to globals.css
* .
* scandic-web no longer depends on design-system#build
* * Update readme
* Remove test code
Approved-by: Anton Gunnarsson
2025-08-12 09:07:33 +00:00
Matilda Landström
37c311d826
Merged in feat/SW-2528-restaurant-icons-sidepeek (pull request #2610 )
...
feat(SW-2528): add restaurant type icon to sidepeek
* feat(SW-2528): add restaurant type icon to sidepeek
Approved-by: Anton Gunnarsson
2025-08-11 11:45: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
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
Hrishikesh Vaipurkar
6dd95d4a4a
Merged in fix/SW-2367-mobile-ui-correction- (pull request #2603 )
...
Fix/SW-2367 mobile ui correction
* fix(SW-2367): UI updates
* fix(SW-2367): Optimised code
Approved-by: Bianca Widstam
2025-08-07 13:00:11 +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