Commit Graph

52 Commits

Author SHA1 Message Date
Christian Andolf
65a3e3fc58 Merged in feat/SW-1509-new-select-usage-in-forms (pull request #1787)
feat(SW-1509): simplified date of birth component to work with new select

Approved-by: Chuma Mcphoy (We Ahead)
2025-04-15 14:18:04 +00:00
Tobias Johansson
9a9789e736 Merged in feat/SW-1549-map-improvements (pull request #1783)
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
2025-04-15 13:23:23 +00:00
Christian Andolf
e04342110a feat(SW-1509): simplified date of birth component to work with new select
added animated labels to new select
2025-04-15 13:14:33 +02:00
Michael Zetterberg
c2f98b85dc fix: add jiti for design system 2025-04-14 12:43:44 +00:00
Michael Zetterberg
37ac9f607c feat(SW-706): load .env.local for download and upload 2025-04-14 11:30:07 +00:00
Erik Tiekstra
f62723c6e5 feat(SW-2178): Changed to new buttons for summary inside enter details
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-11 15:13:37 +00:00
Christian Andolf
515885ecbf fix(SW-1509): remove default max width 2025-04-11 09:24:45 +02:00
Christian Andolf
c39a18ab58 fix(SW-1509): fix typing for supporting on selection change prop to be aligned between the two versions 2025-04-11 08:58:01 +02:00
Christian Andolf
a93ed00ee5 fix(SW-1509): removed support for plain array items in order to handle proper props extending
various fixes for supporting default selected
2025-04-10 14:37:52 +02:00
Christian Andolf
2b6fe17c32 fix(SW-1509): add support for default selected key
fixed padding per list item
2025-04-10 13:30:49 +02:00
Christian Andolf
cb344c7bcf fix(SW-1509): additional stories 2025-04-10 10:32:57 +02:00
Christian Andolf
9ef292709b feat(SW-1509): enable support for more react aria props
fix invalid border

corrected default border
2025-04-10 10:32:57 +02:00
Christian Andolf
158c2501a5 feat(SW-1509): add select to exports 2025-04-10 10:32:57 +02:00
Christian Andolf
bacd57a735 fix(SW-1509): new select filter props interface 2025-04-10 10:32:56 +02:00
Christian Andolf
bc7cec215c feat(SW-1509): enable filtering select 2025-04-10 10:32:56 +02:00
Christian Andolf
77e4e9d203 feat(SW-1509): new select component in design-system 2025-04-10 10:32:56 +02:00
Matilda Landström
6bbe80526e Merged in feat/SW-2238-icons (pull request #1767)
Feat/SW-2238: Fix swapped icons, add missing translation

* fix(SW-2238): switch swapped icons

* fix: add missing translation


Approved-by: Christian Andolf
2025-04-09 12:58:48 +00:00
Chuma Mcphoy (We Ahead)
e6a7e921bb Merged in fix/SW-2243-RateCard-Icon-UI (pull request #1770)
fix(SW-2243): update RateCard checkIcon UI

* fix(SW-2243): update RateCard checkIcon UI


Approved-by: Christian Andolf
2025-04-09 12:38:19 +00:00
Michael Zetterberg
d8133fcfb8 fix: clean up svgs 2025-04-09 08:06:14 +00:00
Michael Zetterberg
36f1406deb fix: update Material Symbols 2025-04-09 08:06:14 +00:00
Michael Zetterberg
9e84da45bc feat(SW-1446): add Jump to functionality to Destination Overview Page 2025-04-08 05:52:10 +00:00
Erik Tiekstra
8d34e1c8bb fix(SW-2101): Avoid underline on icons
Approved-by: Linus Flood
2025-04-07 10:38:00 +00:00
Michael Zetterberg
f31b374370 feat: optimize Material Symbols 2025-04-07 12:17:35 +02:00
Matilda Landström
1239f0c662 Merged in feat/SW-1711-SW-2077-icons (pull request #1709)
Fix(SW-1711)/(SW-2077): Export icons individually

* fix(SW-1711): export icons individually


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-07 07:25:25 +00:00
Arvid Norlin
540a3bb36f Merged in fix/SW-2135-rate-checkmark (pull request #1724)
fix(SW-2135): add missing checkmark for selected campaign and bookin code rates

* fix(SW-2135): add missing checkmark for selected campaign and bookin code rates


Approved-by: Simon.Emanuelsson
2025-04-03 11:56:18 +00:00
Simon Emanuelsson
a222ecfc5c fix: make sure calculations in booking flow are correct 2025-04-02 15:00:39 +00:00
Arvid Norlin
961e8aea91 Merged in fix/SW-1631-rate-terms-modal (pull request #1699)
fix(SW-1631): add rate terms modal

* fix(SW-1631): add rate terms modal


Approved-by: Simon.Emanuelsson
2025-04-02 09:36:53 +00:00
Michael Zetterberg
be04600863 Revert "fix(SW-2101): do not apply underline to Material icons inside Link and Button"
This reverts commit 35f9c3aab5.
2025-04-02 10:29:43 +02:00
Michael Zetterberg
35f9c3aab5 fix(SW-2101): do not apply underline to Material icons inside Link and Button 2025-04-01 13:10:32 +00:00
Chuma Mcphoy (We Ahead)
e45fea6de4 Merged in feat/SW-1890-New-Breakfast-Component (pull request #1666)
Feat/SW-1890 New Breakfast Component Design

* refactor(SW-1890): Replace BreakfastChoiceCard with RadioCard component and update styles

- Removed BreakfastChoiceCard component and its associated styles.
- extemded RadioCard component to additional UI.
- Updated breakfast.module.css to adjust container width.
- Added new properties for subtitleSecondary and description in RadioCard.
- Updated translations for breakfast-related messages in en.json.

* feat(SW-1890): Add hover state to RadioCard

* chore(SW1890): Update translation for breakfast cost message to clarify age range

* chore(SW-1890): Updated breakfast cost display to use formatPrice utility

* fix(SW-1890): Set fixed size for CoffeeIcon component

* fix(SW-1890): Add missing translations for breakfast-related messages

* feat(SW-1890): Introduce new breakfast icons and update Breakfast component

- Replaced CoffeeIcon with BreakfastBuffetIcon and NoBreakfastBuffetIcon in the Breakfast component.
- Added new BreakfastBuffetIcon and NoBreakfastBuffetIcon components to the design system.
- Updated imports in the Breakfast component to reflect the new icons.


Approved-by: Christian Andolf
2025-04-01 10:03:18 +00:00
Erik Tiekstra
df32c08350 feat(SW-2043): Added new room packages filter
* feat(SW-2043): Added new room packages filter

* fix(SW-2043): Fixed issue with not updating price when selecting pet room

Approved-by: Tobias Johansson
Approved-by: Matilda Landström
2025-04-01 09:54:09 +00:00
Hrishikesh Vaipurkar
4e9ee82efa feat: SW-2028 Fix after rebase 2025-04-01 08:18:22 +00:00
Anton Gunnarsson
93aafe5525 Merged in fix/lint-issues (pull request #1678)
Fix lint issues in design-system and scandic-web

* Remove unused color prop from LogoAndIllustrationProps to fix lint issues

* Fix lint issues in web

* Fix logos type


Approved-by: Joakim Jäderberg
2025-03-31 12:27:32 +00:00
Michael Zetterberg
effcc29f3a fix: design system box-shadows 2025-03-31 07:23:21 +02:00
Matilda Landström
adde77eaa9 Merged in feat/update-tokens (pull request #1611)
feat(SW-2027): update variables.json

* feat(SW-2027): update variables.json

* fix(SW-2027). replace old tokens

* fix(SW-2027): remove uppercase check


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-03-28 16:15:57 +00:00
Anton Gunnarsson
b535b53901 Merged in feat/shared-ts-config (pull request #1610)
Add typescript-config package with shared configs

* Move web config to shared

* Move design-system ts config to typescript-config package

* Move redis-api tsconfig to typescript-config package

* Sort tsconfig keys

* Update react-library tsconfig

Move declaration and declarationMap from base
Add sourceMap

This fixes Go-to-Definition, debugging and similar in packages/apps where it is consumed

* Update base config module and moduleResolution


Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
2025-03-28 07:07:24 +00:00
Erik Tiekstra
45c992dcef feat(SW-1806): Implemented design systems button inside buttonLink component and changed teasercard buttons
Approved-by: Matilda Landström
2025-03-28 06:56:08 +00:00
Erik Tiekstra
2f0224cfd5 feat(SW-1712): Added a FilterIcon component where the identifier is matched to a specific icon
Approved-by: Matilda Landström
2025-03-28 06:46:57 +00:00
Erik Tiekstra
a6cd7e6111 feat(SW-1988): Replaced current bed component with new design
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-27 14:47:50 +00:00
Matilda Landström
5de2a993a7 Merged in feat/SW-1711-switch-icons (pull request #1558)
Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons.

Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-03-27 09:42:52 +00:00
Arvid Norlin
d5d00bea7a fix: rename omnibusRate prop and enable for regular RateCard 2025-03-26 13:50:52 +01:00
Arvid Norlin
c065101b7c Merged in fix/ratecard-adjustments (pull request #1638)
add transparent border to rateCard and make appoximateRate optional

* add transparent border to rateCard and make appoximateRate optional


Approved-by: Simon.Emanuelsson
2025-03-26 09:38:03 +00:00
Erik Tiekstra
4ff44311a9 feat(SW-1968): Alternate opening hours for restaurants
Approved-by: Matilda Landström
2025-03-26 08:04:37 +00:00
Tobias Johansson
310a5a7a68 fixes 2025-03-25 20:35:57 +01:00
Tobias Johansson
0e2192be0f Merged in feat/new-rate-cards (pull request #1600)
feat(SW-1435): Added RateCard component to design system

* feat(SW-1435): Added new component: RateCard to design system

* feat: added reward night points rate card

* fix: set svg icon color to "currentColor" to make them more reusable

* fix: added click handler for info icon

* fix: added selectedRate


Approved-by: Arvid Norlin
2025-03-25 10:41:43 +00:00
Joakim Jäderberg
fa63b20ed0 Merged in feature/redis (pull request #1478)
Distributed cache

* cache deleteKey now uses an options object instead of a lonely argument variable fuzzy

* merge

* remove debug logs and cleanup

* cleanup

* add fault handling

* add fault handling

* add pid when logging redis client creation

* add identifier when logging redis client creation

* cleanup

* feat: add redis-api as it's own app

* feature: use http wrapper for redis

* feat: add the possibility to fallback to unstable_cache

* Add error handling if redis cache is unresponsive

* add logging for unstable_cache

* merge

* don't cache errors

* fix: metadatabase on branchdeploys

* Handle when /en/destinations throws
add ErrorBoundary

* Add sentry-logging when ErrorBoundary catches exception

* Fix error handling for distributed cache

* cleanup code

* Added Application Insights back

* Update generateApiKeys script and remove duplicate

* Merge branch 'feature/redis' of bitbucket.org:scandic-swap/web into feature/redis

* merge


Approved-by: Linus Flood
2025-03-14 07:54:21 +00:00
Michael Zetterberg
bb599d4679 fix: update readme for design system 2025-03-13 07:32:59 +00:00
Erik Tiekstra
2e887aaff8 fix(SW-375): moved fonts to _static folder
* fix(SW-375): moved fonts to _static folder


Approved-by: Michael Zetterberg
2025-03-12 12:45:40 +00:00
Anton Gunnarsson
01740e3300 Merged in feat/turborepo (pull request #1451)
Turborepo

Approved-by: Linus Flood
2025-03-12 08:18:38 +00:00
Michael Zetterberg
6232ded991 feat(SW-375): consume new tokens in scandic-web 2025-03-07 07:24:38 +00:00