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
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
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
Joakim Jäderberg
af391a568a
Merged in fix/design-system-format-after-generate (pull request #2662 )
...
design-system: format files after they have been generated
* design-system: format files after they have been generated
Approved-by: Anton Gunnarsson
2025-08-15 11:37:35 +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
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
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
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
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
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
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
Anton Gunnarsson
aab4e5a0a1
Merged in fix/external-react-hook-form (pull request #2510 )
...
Mark react-hook-form as external in design-system
* Mark react-hook-form as external in design-system
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-07-03 09:59:07 +00:00
Anton Gunnarsson
e5f8394f50
Merged in chore/move-checkbox-component (pull request #2501 )
...
chore(SW-3145): Move checkbox component to design-system
* Inline type
* Remove error handling from Checkbox internals
* Move Form/Checkbox
* Fix self referencing imports
Approved-by: Joakim Jäderberg
2025-07-03 08:37:01 +00:00
Anton Gunnarsson
0ffb40e94b
Merged in chore/sw-3145-move-footnote (pull request #2506 )
...
chore(SW-3145): Move Footnote to design-system
* Move Footnote to design-system
Approved-by: Joakim Jäderberg
2025-07-03 08:14:18 +00:00
Anton Gunnarsson
75a377b59e
Merged in chore/sw-3145-move-body (pull request #2505 )
...
chore(SW-3145): Move Body component to design-system
* Move Body component to design-system
Approved-by: Joakim Jäderberg
2025-07-03 08:04:36 +00:00
Anton Gunnarsson
a7ac79e429
Merged in chore/sw-3145-move-caption (pull request #2503 )
...
chore(SW-3145): Move Caption to design-system
* Move Caption to design-system
* Mark Caption as deprecated
Approved-by: Linus Flood
Approved-by: Joakim Jäderberg
2025-07-03 07:48:24 +00:00
Christian Andolf
733281240f
chore: add vitest project config and yarn constraints
2025-06-30 14:17:49 +02:00
Christian Andolf
a3645da8c4
chore: add unit test to scandic web pipeline
2025-06-30 09:58:26 +02:00
Christian Andolf
f6be4f275e
refactor: move input and label to design system
...
correct variables according to design system spec
various cleanup
2025-06-13 13:07:38 +02:00
Anton Gunnarsson
0788a57adc
Merged in feat/add-no-relative-packages-rule (pull request #2356 )
...
Add eslint rule no-relative-packages
* Add eslint rule no-relative-packages
Approved-by: Christian Andolf
2025-06-13 10:36:11 +00:00
Christian Andolf
c545ed2fe2
Merged in refactor/design-system-divider (pull request #2354 )
...
refactor: move divider to design system
Approved-by: Arvid Norlin
2025-06-13 09:38:10 +00:00
Christian Andolf
9551a629fa
refactor: move divider to design system
...
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Joakim Jäderberg
180a100140
Merged in fix/SW-2964-hide-booking-code-switcher (pull request #2345 )
...
fix: as a temporary fix hide booking code switcher and add a way to do a search without bookingcode
* fix: as a temporary fix hide booking code switcher and add a way to do a search without bookingcode
Approved-by: Linus Flood
2025-06-13 07:07:22 +00: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