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
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
SW-3467 Copy static files via build scripts
* add file copy script and add all fonts to design-system
* add file copy script and add all fonts to design-system
* add file copy script and add all fonts to design-system
* remove fonts that will be copied via build scripts
* wip
* update paths to shared files
* update material-symbol script
* merge
* fix missing shared segment for path in fonts.css
Approved-by: Linus Flood
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
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
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
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
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
chore(SW-3298): Moved SidePeekSelfControlled to design system
* chore(SW-3298): Moved SidePeekSelfControlled to design system
Approved-by: Anton Gunnarsson
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
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
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
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
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
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
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
feat(SW-2873): Move BackToTopButton to design-system
* Remove dependency on i18n in BackToTopButton
* Move BackToTopButton to design-system
Approved-by: Hrishikesh Vaipurkar
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
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
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