feat(SW-2333): I18n for multiple apps and packages
* Set upp i18n in partner-sas
* Adapt lokalise workflow to monorepo
* Fix layout props
Approved-by: Linus Flood
Feature/wrap logging
* feat: change all logging to go through our own logger function so that we can control log levels
* move packages/trpc to using our own logger
* merge
Approved-by: Linus Flood
feat(SW-2859): Create trpc package
* Add isEdge, safeTry and dataCache to new common package
* Add eslint and move prettier config
* Clean up tests
* Create trpc package and move initialization
* Move errors and a few procedures
* Move telemetry to common package
* Move tokenManager to common package
* Add Sentry to procedures
* Clean up procedures
* Fix self-referencing imports
* Add exports to packages and lint rule to prevent relative imports
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* Fix lang imports
Approved-by: Linus Flood
chore (SW-834): Upgrade to Next 15
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* wip: fix remaining issues from codemod
serverClient is now async because context use headers()
getLang is now async because it uses headers()
* Minor cleanup
* Inline react-material-symbols package
Package is seemingly not maintained any more and doesn't support
React 19. This copies the package source into `design-system`,
makes the necessary changes for 19 and export it for others to use.
* Fix missing awaits
* Disable modal exit animations
Enabling modal exit animations via isExiting prop is causing
modals to be rendered in "hidden" state and never unmount.
Seems to be an issue with react-aria-components,
see https://github.com/adobe/react-spectrum/issues/7563.
Can probably be fixed by rewriting to a solution similar to
https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html
* Remove unstable cache implementation and use in memory cache locally
* Fix ref type in SelectFilter
* Use cloneElement to add key prop to element
Approved-by: Linus Flood
* fix(SW-2247): Removed accordion like special requests block and changed button variant
* fix(SW-2247): Added additional info for bedtype selection
Approved-by: Tobias Johansson
Approved-by: Niclas Edenvin
SW-2232 Adapt SAS router to API changes
* Adapt sas procedures to api changes
* Remove debug logs
* Capture performLevelUpgrade error
* More sentry logging
* Merge branch 'master' into feat/sw-2232-sas-api-updates
Approved-by: Joakim Jäderberg
Feat(SW-1943): add new design for pay ancillaries with points
* fix: hide card and payment info if only quantity with points is selected
* feat(SW-1943): add new design for pay ancillaries with points
* feat(SW-1943): add missing translation
* feat(SW-1943): fix rebase
* feat(SW-1943): remove console log
Approved-by: Linus Flood
Approved-by: Matilda Landström
Feat/SW-2113 allow feature combinations
* feat(SW-2113): Refactor features data to be fetched on filter room filter change
* feat(SW-2113): added loading state
* fix: now clear room selection when applying filter and room doesnt exists. And added room features to mobile summary
* fix
* fix: add package to price details
* feat(SW-2113): added buttons to room filter
* fix: active room
* fix: remove console log
* fix: added form and close handler to room package filter
* fix: add restriction so you cannot select pet room with allergy room and vice versa
* fix: fixes from review feedback
* fix
* fix: hide modify button if on nextcoming rooms if no selection is made, and adjust filter logic in togglePackage
* fix: forgot to use roomFeatureCodes from input..
* fix: naming
Approved-by: Simon.Emanuelsson
Update english copy for SAS related flows
* Update english copy for SAS related flows
* Add new copy to all languages
* Add use client directive to loading to use translations
Approved-by: Joakim Jäderberg
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
* 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
fix: small design fix, fix bug that redirects to planet, add translations
* fix: small design fix, fix bug that redirects to planet, add translations
* fix: if user does not have enough points, default quantitywithcard to 1
* fix: fix pr comment
Approved-by: Linus Flood
Approved-by: Matilda Landström