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
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
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
Fix popovers using triggers from design-system not working
* Fix peer dependency in design-system package
Approved-by: Joakim Jäderberg
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-1563): Added new IconButton component to the design system and removed Icon variant inside the Button component
* fix(SW-1563): Added buttons around clickable images and changed to design system components
* fix(SW-1563): Renamed variants to match Figma
* fix(SW-1563): Renamed AriaButton to ButtonRAC
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
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
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