* feat(BOOK-63): Replaced css variables and components to apply hotel branding on subpages
* feat(BOOK-63): Replaced css variables and components to apply hotel branding on hotel page map view
Approved-by: Christel Westerberg
Approved-by: Matilda Landström
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
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-2511): hotel page map and marker improvements
* feat(SW-2511): update hotel page map
* fix(SW-2511): fix issue with identical id's for POIs
Approved-by: Anton Gunnarsson
feat(LOY-285): SAS Link Account Banner for My Pages (Part 1)
* feat(LOY-285): SAS Link Account Banner for My Pages
* fix(LOY-285): )use new space variable
* fix(LOY-285): add alt to images
Approved-by: Matilda Landström
fix(SW-3095): update design for hover, focus etc for the booking widget
* fix(SW-3095): update design for hover, focus etc for the booking widget
Approved-by: Anton Gunnarsson
Approved-by: Hrishikesh Vaipurkar
Feat/SW-1549 map improvements
* fix: imported new icon
* refactor: rename component and set map handling to 'greedy'
* fix: show cards for 3s after hover
* refactor: update styles and added HotelPin component
* fix: change from close to back icon
* refactor: update to only use 1 state value for active pin and card
* fix: add click handler when dialog is opened
* fix: performance fixes for the dialog carousel
* fix: added border
* fix: clear timeout on mouseenter
* fix: changed to absolute import
* fix: moved hover state into the store
* fix: renamed store actions
Approved-by: Michael Zetterberg
fix/images: changed default cache time from 1 minute to 31 days. Reduced size of swan icons
* fix/images: changed default cache time from 1 minute to 31 days. Reduced size of swan icons
* More performance improvements
* Priority on hero image on startpage
Approved-by: Anton Gunnarsson
Migrate to a monorepo setup - step 1
* Move web to subfolder /apps/scandic-web
* Yarn + transitive deps
- Move to yarn
- design-system package removed for now since yarn doesn't
support the parameter for token (ie project currently broken)
- Add missing transitive dependencies as Yarn otherwise
prevents these imports
- VS Code doesn't pick up TS path aliases unless you open
/apps/scandic-web instead of root (will be fixed with monorepo)
* Pin framer-motion to temporarily fix typing issue
https://github.com/adobe/react-spectrum/issues/7494
* Pin zod to avoid typ error
There seems to have been a breaking change in the types
returned by zod where error is now returned as undefined
instead of missing in the type. We should just handle this
but to avoid merge conflicts just pin the dependency for
now.
* Pin react-intl version
Pin version of react-intl to avoid tiny type issue where formatMessage
does not accept a generic any more. This will be fixed in a future
commit, but to avoid merge conflicts just pin for now.
* Pin typescript version
Temporarily pin version as newer versions as stricter and results in
a type error. Will be fixed in future commit after merge.
* Setup workspaces
* Add design-system as a monorepo package
* Remove unused env var DESIGN_SYSTEM_ACCESS_TOKEN
* Fix husky for monorepo setup
* Update netlify.toml
* Add lint script to root package.json
* Add stub readme
* Fix react-intl formatMessage types
* Test netlify.toml in root
* Remove root toml
* Update netlify.toml publish path
* Remove package-lock.json
* Update build for branch/preview builds
Approved-by: Linus Flood