# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [26.2.7](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@26.2.6...@moller/design-system@26.2.7) (2024-11-01)

### Bug Fixes

* set correct cursor for TextField and TextArea ([932accc](https://github.com/mollerdigital/design-system-design-system/commit/932accc2240ee37f3d1b4be84869055233d2d55f))

## [26.2.6](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@26.2.5...@moller/design-system@26.2.6) (2024-10-17)

### Bug Fixes

* add handling of input type date and time, and fix design flaws regarding input label ([269a426](https://github.com/mollerdigital/design-system-design-system/commit/269a4268f4368441e25804cd851376fe3bcefdc8))

## [26.2.5](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@26.2.4...@moller/design-system@26.2.5) (2024-09-16)

### Bug Fixes

* edge case where button is not set to disabled while isLoading is true ([bf7d641](https://github.com/mollerdigital/design-system-design-system/commit/bf7d64119aa6f4db2443972e7dcaa7cbcad53fe5))

## [26.2.4](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@26.2.3...@moller/design-system@26.2.4) (2024-09-06)

### Bug Fixes

* prevent css classes in TextField and TextArea from being overwritten by inputProps ([58d12e1](https://github.com/mollerdigital/design-system-design-system/commit/58d12e162d0cf817d6949ebf6fb64d7344104e3c))

## [26.2.3](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@26.2.2...@moller/design-system@26.2.3) (2024-08-27)

### Bug Fixes

* reintroduce use client banner on top of files ([ea2cb38](https://github.com/mollerdigital/design-system-design-system/commit/ea2cb385878e935c9f6aae8bb63806c40cd3228d))

## [26.2.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@26.2.1...@moller/design-system@26.2.2) (2024-08-23)

### Bug Fixes

* install styled-components in library docs and remove "use client" usage on build ([b52ba79](https://github.com/mollerdigital/design-system-design-system/commit/b52ba796f63c18ff5b85e710bd0f3791527bdc23))

## [26.2.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@26.2.0...@moller/design-system@26.2.1) (2024-08-23)

### Bug Fixes

* fix color of ghost button ([e99bc4d](https://github.com/mollerdigital/design-system-design-system/commit/e99bc4db8d977a08b11bb35b7d3a6765f49c9282))

## [26.2.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@26.1.0...@moller/design-system@26.2.0) (2024-08-20)

### Features

* Rewrite Single and Multi select to use vanilla extract and not styled components ([a9f6a48](https://github.com/mollerdigital/design-system-design-system/commit/a9f6a48093c03b1db0de473bc7f1b63c08b2b6e2))

### Bug Fixes

* add forwardRef to Select component ([709c6a3](https://github.com/mollerdigital/design-system-design-system/commit/709c6a34c415dd60381ff2362f5772326e054c42))

## [26.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@26.0.0...@moller/design-system@26.1.0) (2024-08-16)

### Features

* remove Checkbox and radio groups ([af1fdfd](https://github.com/mollerdigital/design-system-design-system/commit/af1fdfd7b8cf2592f3af92e8307d02520b4b77cd))

## [26.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@25.0.0...@moller/design-system@26.0.0) (2024-08-16)

### ⚠ BREAKING CHANGES

* The RadioCard component has been refactored to use Vanilla Extract for styling.

### Features

* Rewrite textArea to use vanilla extract intstead of styled components ([a18e3df](https://github.com/mollerdigital/design-system-design-system/commit/a18e3df419f63fa34c9d3b8afb9c15ef6a26398d))

### Bug Fixes

* return type of checkbox with forwarded ref ([9a1ac74](https://github.com/mollerdigital/design-system-design-system/commit/9a1ac7470e39f943dca373c435e9139bacb8dda9))

### Miscellaneous Chores

* Refactor RadioCard to use Vanilla Extract ([85f3cbe](https://github.com/mollerdigital/design-system-design-system/commit/85f3cbeb1f8a4342b8c6925da6ac15786148bcfa))

## [25.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@24.1.0...@moller/design-system@25.0.0) (2024-08-15)

### ⚠ BREAKING CHANGES

* ScreenReaderOnly has been refactored to vanilla-extract

### Bug Fixes

* add zIndex to input to make click-events more consistent ([382dcfc](https://github.com/mollerdigital/design-system-design-system/commit/382dcfc0c3d686a3e4d3f94e4d6627cec7b70604))
* non-clickable checkbox when disabled ([7dfa798](https://github.com/mollerdigital/design-system-design-system/commit/7dfa7982dfa28329408b89c066c87669b4ede3da))

### Miscellaneous Chores

* add ScreenReaderOnly to vanilla-extract ([57c3888](https://github.com/mollerdigital/design-system-design-system/commit/57c3888f73395232fb81d1a316696f5b014981c6))

## [24.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@24.0.0...@moller/design-system@24.1.0) (2024-08-15)

### Features

* rewrite TextField to vanilla-extract ([d693d0f](https://github.com/mollerdigital/design-system-design-system/commit/d693d0fac377f88c32283c40610787ba7d37c945))

### Bug Fixes

* set correct colour on helper text and label ([1540f46](https://github.com/mollerdigital/design-system-design-system/commit/1540f468856b683927872ada3e943aaf95c66b82))

## [24.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@23.1.0...@moller/design-system@24.0.0) (2024-08-15)

### ⚠ BREAKING CHANGES

* RadioButton now uses vanilla-extract

### Miscellaneous Chores

* rewrite RadioButton to vanilla-extract ([a1914f8](https://github.com/mollerdigital/design-system-design-system/commit/a1914f862040683cf35cf29a157af95f7887b7d8))

## [23.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@23.0.0...@moller/design-system@23.1.0) (2024-08-15)

### Features

* remove themetests ([0bfcb0e](https://github.com/mollerdigital/design-system-design-system/commit/0bfcb0e70a9fc533ba66bae8f0ffc91c2d94d44b))

## [23.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@22.0.1...@moller/design-system@23.0.0) (2024-08-09)

### ⚠ BREAKING CHANGES

* checkboxCard now uses vanilla-extract

### Miscellaneous Chores

* rewrite checkboxcard to use vanilla-extract ([d05e0da](https://github.com/mollerdigital/design-system-design-system/commit/d05e0dad7da5d90ed4af113a8200af32bc209bf9))

## [22.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@22.0.0...@moller/design-system@22.0.1) (2024-07-29)

### Bug Fixes

* non-clickable checkbox is now clickable ([cdd5bd4](https://github.com/mollerdigital/design-system-design-system/commit/cdd5bd4d70d1636bffbb494e57f27a295deb5fc9))

## [22.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@21.0.3...@moller/design-system@22.0.0) (2024-07-26)

### ⚠ BREAKING CHANGES

* Checkbox now uses vanilla-extract for styling

### Miscellaneous Chores

* rewrite checkbox to vanilla-extract ([57c21f2](https://github.com/mollerdigital/design-system-design-system/commit/57c21f288055fb49c045364690b5ad02d6a6d601))

## [21.0.3](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@21.0.2...@moller/design-system@21.0.3) (2024-07-17)

### Bug Fixes

* use named imports for fp-ts in callendar ([48ee1b5](https://github.com/mollerdigital/design-system-design-system/commit/48ee1b5098d44f5a46bdada3774c65d6389853f0))

## [21.0.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@21.0.1...@moller/design-system@21.0.2) (2024-07-08)

### Bug Fixes

* adjust accordion design ([90df148](https://github.com/mollerdigital/design-system-design-system/commit/90df1482f4bccb1a593816ba65a9aec6189db03d))

## [21.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@21.0.0...@moller/design-system@21.0.1) (2024-07-08)

### Bug Fixes

* Add HTML button props to all chips ([19268be](https://github.com/mollerdigital/design-system-design-system/commit/19268be628049384493bf2bbe508295507d8fac6))

## [21.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@20.1.3...@moller/design-system@21.0.0) (2024-07-05)

### ⚠ BREAKING CHANGES

* AssistChip is deleted and can no longer be used. Use Lozenge instead
* Chips can no longer have children, write the label using the label prop instead

### Features

* Delete AssistChip and update chip stories ([a163723](https://github.com/mollerdigital/design-system-design-system/commit/a1637237413097890530f5067f534044d0704a20))
* TagChip, ActionChip and FilterChip rewritten as vanilla extract component ([1c9fa8d](https://github.com/mollerdigital/design-system-design-system/commit/1c9fa8ddb1830083f0ed6a3af28b547b10f9c8d7))

## [20.1.3](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@20.1.2...@moller/design-system@20.1.3) (2024-07-04)

### Bug Fixes

* set type for children in IconVariantProvider and ExtraIconsProvider ([e0aab1f](https://github.com/mollerdigital/design-system-design-system/commit/e0aab1f52c253f9778bc68ba1361c46d421e02b4))

## [20.1.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@20.1.1...@moller/design-system@20.1.2) (2024-07-03)

### Bug Fixes

* set on-disabled color on disabled helperText in input-fields ([e3d9c1b](https://github.com/mollerdigital/design-system-design-system/commit/e3d9c1b00ac463e2376946bb5b571540c70a6837))

## [20.1.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@20.1.0...@moller/design-system@20.1.1) (2024-07-02)

### Bug Fixes

* export lozenge as component ([f27e469](https://github.com/mollerdigital/design-system-design-system/commit/f27e469c47a088545a1e99b335e307c79f9e4856))

## [20.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@20.0.1...@moller/design-system@20.1.0) (2024-07-02)

### Features

* upgrade packages and hence logo and icon ([76d93d8](https://github.com/mollerdigital/design-system-design-system/commit/76d93d82ba54ec110e0d53679296052cdf1eb561))

## [20.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@20.0.0...@moller/design-system@20.0.1) (2024-07-01)

### Bug Fixes

* add webpack compiler to enable swc option in storybook config ([9e91d07](https://github.com/mollerdigital/design-system-design-system/commit/9e91d07022a367cb52c7f59180ed9552574a1885))

## [20.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@19.1.4...@moller/design-system@20.0.0) (2024-07-01)

### ⚠ BREAKING CHANGES

* `InputHelperText` can no longer be used in inline css styling. Use {component.selector} instead

### Features

* rewrite `InputHelperText` to vanilla extract ([509adad](https://github.com/mollerdigital/design-system-design-system/commit/509adad82d10ec1c2ec8c97736b4f0a625e05936))

## [19.1.4](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@19.1.3...@moller/design-system@19.1.4) (2024-06-28)

### Bug Fixes

* use react swc pliugin to fix storybook ([9d72850](https://github.com/mollerdigital/design-system-design-system/commit/9d728504f917d0918c4f9677b9a378f8e478c0dd))

## [19.1.3](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@19.1.2...@moller/design-system@19.1.3) (2024-06-28)

**Note:** Version bump only for package @moller/design-system

## [19.1.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@19.1.1...@moller/design-system@19.1.2) (2024-06-25)

### Bug Fixes

* Update progressBar to enable wrapping with styled components ([5bfa83c](https://github.com/mollerdigital/design-system-design-system/commit/5bfa83cacb71639ab7651379cb2bce2d78fdc868))
* Update type and prop handling on cards ([4f4553a](https://github.com/mollerdigital/design-system-design-system/commit/4f4553a94772f5d60fdfa5637cddce4b60f2ca58))

## [19.1.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@19.1.0...@moller/design-system@19.1.1) (2024-06-25)

**Note:** Version bump only for package @moller/design-system

## [19.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@19.0.0...@moller/design-system@19.1.0) (2024-06-17)

### Features

* rewrite skeletons to use tokens instead of variables ([64cb06e](https://github.com/mollerdigital/design-system-design-system/commit/64cb06e65619a8b04df1f9696f230fc547f866a6))

## [19.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@18.0.2...@moller/design-system@19.0.0) (2024-06-10)

### ⚠ BREAKING CHANGES

* `Calendar` can no longer be used in inline css styling. Use {component.selector} instead

### Features

* rewrite `Calendar` to vanilla extract ([a9c3b39](https://github.com/mollerdigital/design-system-design-system/commit/a9c3b394fb0c21fd28a0e2234c431827d0d4adb4))

### Bug Fixes

* add forwardRef to Calendar ([b50c572](https://github.com/mollerdigital/design-system-design-system/commit/b50c572838e70195e29bd6c75c408ca3558d9453))

## [18.0.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@18.0.1...@moller/design-system@18.0.2) (2024-06-04)

### Bug Fixes

* add forwardRef to Accordion ([ca0346f](https://github.com/mollerdigital/design-system-design-system/commit/ca0346f017d70e5cd1177ee80d4c16f08bfb97cd))
* Add forwardRef to Button components ([caf5e30](https://github.com/mollerdigital/design-system-design-system/commit/caf5e3066d93dc4fc544e84c0951534e2e72b364))
* add forwardRef to component util and differentiate between HtmlProps and VariantProps ([14443e2](https://github.com/mollerdigital/design-system-design-system/commit/14443e22431fc1555106ea8e2c0b9c3a0d591b06))
* add forwardRef to LinkCar, InfoCard and ActionCard ([10eef93](https://github.com/mollerdigital/design-system-design-system/commit/10eef930d1a0fe23e226a7af048de8fd073ee65b))
* add forwardRef to Modal component ([c4b63b4](https://github.com/mollerdigital/design-system-design-system/commit/c4b63b430b95cca54fc14cf1c9bf99f6bfceff79))

## [18.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@18.0.0...@moller/design-system@18.0.1) (2024-06-03)

### Bug Fixes

* set correct alignment on row and column ([4e0e0e0](https://github.com/mollerdigital/design-system-design-system/commit/4e0e0e0786402ce1e4ecc934461b4d09034cfa00))

## [18.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@17.0.1...@moller/design-system@18.0.0) (2024-06-03)

### ⚠ BREAKING CHANGES

* `Row` and `Column` can no longer be used in inline css styling. Use `{component.selector}` instead. They also have props in camelCase rather than kebab-case, and `gap` can no longer be object. Use custom gap styling instead

### Features

* rewrite `Row` and `Column` to vanilla extract ([006f2b2](https://github.com/mollerdigital/design-system-design-system/commit/006f2b2f825bc3a330aacfaf6e2fb250d1bb846b))

## [17.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@17.0.0...@moller/design-system@17.0.1) (2024-05-30)

### Bug Fixes

* use props on correct element, not directly on dom element ([0fa983c](https://github.com/mollerdigital/design-system-design-system/commit/0fa983ce5775a6e854da95bfdf9948b8bb76db8c))

## [17.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@16.0.5...@moller/design-system@17.0.0) (2024-05-30)

### ⚠ BREAKING CHANGES

* `Modal` can no longer be used in inline css styling. Use {component.selector} instead

### Features

* rewrite `Modal` to vanilla extract ([af570e3](https://github.com/mollerdigital/design-system-design-system/commit/af570e315f6c8eca62155f59fcdf46b55e624452))

## [16.0.5](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@16.0.4...@moller/design-system@16.0.5) (2024-05-30)

### Bug Fixes

* export Card with as to change element type ([cb42869](https://github.com/mollerdigital/design-system-design-system/commit/cb428694a86465251337c5b0502aaaabba40877c))

## [16.0.4](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@16.0.3...@moller/design-system@16.0.4) (2024-05-30)

### Bug Fixes

* CardBaseProps extends ComponentPropsWithRef ([9b9f992](https://github.com/mollerdigital/design-system-design-system/commit/9b9f9929c43d362c9cecded8efb0486b5a5b3a6f))

## [16.0.3](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@16.0.2...@moller/design-system@16.0.3) (2024-05-30)

### Bug Fixes

* Change props of cards ([75bebf9](https://github.com/mollerdigital/design-system-design-system/commit/75bebf9e663b7e9a7991dea0cbfc0c43e2d3e00f))

## [16.0.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@16.0.1...@moller/design-system@16.0.2) (2024-05-29)

### Bug Fixes

* add correct type to `SelectionCardGroupProps` ([23b8a80](https://github.com/mollerdigital/design-system-design-system/commit/23b8a80099bb4239a2ae59b3a83d9390a26a1c94))

## [16.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@16.0.0...@moller/design-system@16.0.1) (2024-05-29)

### Bug Fixes

* use skoda font thin instead of regular on regular typography ([9769fa8](https://github.com/mollerdigital/design-system-design-system/commit/9769fa828ab42ff76e4d553da7b4890309791015))

## [16.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@15.1.0...@moller/design-system@16.0.0) (2024-05-28)

### ⚠ BREAKING CHANGES

* `LinkCard`, `ActionCard` and `InfoCard` can no longer be used in inline css styling. Use `{component.selector}` instead

### Features

* rewrite `LinkCard`, `ActionCard` and `InfoCard` to vanilla extract ([d70a251](https://github.com/mollerdigital/design-system-design-system/commit/d70a2511d5507fba19fa879196fc61575947c427))

## [15.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@15.0.1...@moller/design-system@15.1.0) (2024-05-28)

### Features

* add new theme `Tools` ([3bc1068](https://github.com/mollerdigital/design-system-design-system/commit/3bc1068062efe25a37f0d56891511b10545ec60d))

## [15.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@15.0.0...@moller/design-system@15.0.1) (2024-05-22)

### Bug Fixes

* fix story of accordion ([83f12a9](https://github.com/mollerdigital/design-system-design-system/commit/83f12a930a1ce2f3eabdcac617bd0bc46a1386e2))

## [15.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@14.1.0...@moller/design-system@15.0.0) (2024-05-21)

### ⚠ BREAKING CHANGES

* `LoadingSpinner` component can no longer be referenced in inline css styling without `.selector`

### Features

* rewrite LoadingSpinner to vanilla extract ([8a9cb14](https://github.com/mollerdigital/design-system-design-system/commit/8a9cb14cdd64b08d1c94dd9366a7d12b89a7f42c))

## [14.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@14.0.6...@moller/design-system@14.1.0) (2024-05-21)

### Features

* new accordion component built with vanilla-extract ([a3cd3e6](https://github.com/mollerdigital/design-system-design-system/commit/a3cd3e6be355ceeeaf73f54e4c8deacf94ddfbba))

## [14.0.6](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@14.0.5...@moller/design-system@14.0.6) (2024-05-08)

### Bug Fixes

* Show underline border on `textButton` for next-apps ([237d05f](https://github.com/mollerdigital/design-system-design-system/commit/237d05f08a395fceb8f8410e9a84a2755ad2595a))

## [14.0.5](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@14.0.4...@moller/design-system@14.0.5) (2024-05-07)

### Bug Fixes

* The progress bar now has documentation for props etc ([65f427d](https://github.com/mollerdigital/design-system-design-system/commit/65f427db61ccd1b469a49b3c75774897af4ae0f7))

## [14.0.4](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@14.0.3...@moller/design-system@14.0.4) (2024-05-02)

### Bug Fixes

* Fix missing backgroundColor to `ProgressBar` component ([c60319b](https://github.com/mollerdigital/design-system-design-system/commit/c60319ba9f0e66917e38d905c7e42fe2f0359243))

## [14.0.3](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@14.0.2...@moller/design-system@14.0.3) (2024-05-02)

### Bug Fixes

* Set input label's styling to have `pointer-events: none` ([3724d5b](https://github.com/mollerdigital/design-system-design-system/commit/3724d5b32ba20ea0ef11e304844b8a08dd94ca38))

## [14.0.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@14.0.1...@moller/design-system@14.0.2) (2024-04-30)

### Bug Fixes

* Make `Lozenge`-component allow and require children ([2c52aab](https://github.com/mollerdigital/design-system-design-system/commit/2c52aab021aff54a14a598851ed4a7eb96ae9418))

## [14.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@14.0.0...@moller/design-system@14.0.1) (2024-04-24)

### Bug Fixes

* Fix borderWidth of GhostButton ([5fa7cf3](https://github.com/mollerdigital/design-system-design-system/commit/5fa7cf3260a541c2123dbc9afd9180ca91ca73a7))

## [14.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@13.1.0...@moller/design-system@14.0.0) (2024-04-23)

### ⚠ BREAKING CHANGES

* `backgroundColor` is not longer string, but a color token

### Features

* rewrite spinner component to vanilla extract ([c13c94a](https://github.com/mollerdigital/design-system-design-system/commit/c13c94abc6a89f04d28c427c85e2e17de77e5e5f))

## [13.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@13.0.0...@moller/design-system@13.1.0) (2024-04-23)

### Features

* ProgressBar uses Vanilla Extract ([5e9b7f8](https://github.com/mollerdigital/design-system-design-system/commit/5e9b7f8e7d56cff9c416fa95f4556413298bb676))

### Bug Fixes

* animateOnChange works ([a663264](https://github.com/mollerdigital/design-system-design-system/commit/a663264434cf26cf81b19d71a22f83ba1bb4ab12))

## [13.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@12.1.0...@moller/design-system@13.0.0) (2024-04-23)

### ⚠ BREAKING CHANGES

* `Lozenge` component can no longer be referenced in inline css styling without `.selector` and `variant` prop has been renamed to `colorVariant`

### Features

* rewrite lozenge component to vanilla extract ([51a1296](https://github.com/mollerdigital/design-system-design-system/commit/51a1296305a5a189580842001e4e4aefc00af5a8))

### Bug Fixes

* remove textTransform styling from lozenge ([9222809](https://github.com/mollerdigital/design-system-design-system/commit/9222809f471291f9a29c1760f60ed37ed96a5aea))

## [12.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@12.0.2...@moller/design-system@12.1.0) (2024-04-22)

### Features

* Use new `--moller-color-text-variant` token for prefix, suffix and disabled calendar cells ([916aa77](https://github.com/mollerdigital/design-system-design-system/commit/916aa771c82c19700dc72987cc9faf8e429d7e34))
* Use text-variant color token for input label and TextArea counter text ([5d46a3c](https://github.com/mollerdigital/design-system-design-system/commit/5d46a3cb963caf4e99bef9bb0c6aae3c0d769ca3))

## [12.0.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@12.0.1...@moller/design-system@12.0.2) (2024-04-17)

### Bug Fixes

* Fix bug to include button styling while used in styled components ([87bd772](https://github.com/mollerdigital/design-system-design-system/commit/87bd772a7afd029157a57166acff6df046a65107))

## [12.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@12.0.0...@moller/design-system@12.0.1) (2024-04-17)

**Note:** Version bump only for package @moller/design-system

## [12.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@11.0.0...@moller/design-system@12.0.0) (2024-04-10)

### ⚠ BREAKING CHANGES

* `GhostButton`, `TextButton` and `IconButton` no longer accept the `inverted` prop.
  The prop has been deprecated and done nothing for a long time now.
* `PrimaryButton`, `SecondaryButton`, `GhostButton`, `SuccessButton`,
  `DangerButton`, `TextButton` and `IconButton` can no longer be referenced in other styles.

  Migration: If you depend on styling one of these components with e.g. a child selector in
  a style, add a className to the component instead.

  Before:

  ```tsx
  const MyComponent = styled.div`
    display: flex;
    ${IconButton} {
        align-self: flex-end;
    }
  `;

  <MyComponent>
    <IconButton icon="star" label="Favoritt" />
  </MyComponent>
  ```

  After:

  ```tsx
  const MyComponent = styled.div`
    display: flex;
  `;

  const StarIcon = styled(IconButton)`
    align-self: flex-end;
  `;

  <MyComponent>
    <StarIcon icon="star" label="Favoritt" />
  </MyComponent>
  ```

  If you are styling components which are sent in as children (or other props), this isn't possible.
  You can do some tricks with `React.Children.map` and `React.cloneElement` to dynamically add a className.

### Features

* support SSR styles for Button components ([539242a](https://github.com/mollerdigital/design-system-design-system/commit/539242a4d677d11e656add5b39f18832f6bd6808))

### Bug Fixes

* edit name of button variant to button type ([c5899c3](https://github.com/mollerdigital/design-system-design-system/commit/c5899c3a75c0363865684e04c6524eca31036389))
* Icon didn't get the correct className to center the icon ([0ca054f](https://github.com/mollerdigital/design-system-design-system/commit/0ca054f9570c05e31be730c1b7220519383d763c))

## [11.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@10.0.1...@moller/design-system@11.0.0) (2024-04-10)

### ⚠ BREAKING CHANGES

* The outline variant has been removed from the chips component

### Features

* update chips colors and remove outline variant ([0e68639](https://github.com/mollerdigital/design-system-design-system/commit/0e686397f130b1256276bd39b0504c6d5f57fa60))

## [10.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@10.0.0...@moller/design-system@10.0.1) (2024-03-30)

**Note:** Version bump only for package @moller/design-system

## [10.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@9.0.3...@moller/design-system@10.0.0) (2024-03-28)

### ⚠ BREAKING CHANGES

* Our dependency on styled-components has been upgraded to version 6.
  This was necessary to avoid issues with styled-components' default export
  when using `"moduleResolution": "NodeNext"` in tsconfig.json

  This should mostly work without changes in applications, but note that there
  are some behavioral differences between v5 and v6. These are documented,
  with migration steps, in [styled-component's FAQ][1]

[1]: https://styled-components.com/docs/faqs

### Features

* upgrade styled-components to v6 ([a1046a3](https://github.com/mollerdigital/design-system-design-system/commit/a1046a3fbcb2bdb01990d31dc635d1e5ef11a050))

## [9.0.3](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@9.0.2...@moller/design-system@9.0.3) (2024-03-28)

**Note:** Version bump only for package @moller/design-system

## [9.0.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@9.0.1...@moller/design-system@9.0.2) (2024-03-27)

**Note:** Version bump only for package @moller/design-system

## [9.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@9.0.0...@moller/design-system@9.0.1) (2024-03-26)

### Bug Fixes

* Icon container mistakenly was scaled down, leading to e.g. checkmark not centering in checkbox ([4895e45](https://github.com/mollerdigital/design-system-design-system/commit/4895e455c33d6c59b77b512ce6cef22e77af8bb3))

## [9.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@8.4.0...@moller/design-system@9.0.0) (2024-03-26)

### ⚠ BREAKING CHANGES

* Icon component cannot be directly referenced
  from a styled-components style, e.g. `${Icon}:hover { ..styling.. }`
  as it is no longer uses styled-components internally.

  Migration: add `.selector`, e.g. `${Icon.selector}:hover`

### Features

* Support SSR styles for Icon component ([c3f340f](https://github.com/mollerdigital/design-system-design-system/commit/c3f340f5f9158c3d6d6ff0b96f0b3d7d631fe40d))

## [8.4.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@8.3.1...@moller/design-system@8.4.0) (2024-03-26)

### Features

* support SSR of fonts. See README & deprecation warnings ([7265e37](https://github.com/mollerdigital/design-system-design-system/commit/7265e377416ce53565dc0406f241c4f3840e9992))

### Bug Fixes

* font cleanup. define face/weight using tokens & only import those used by theme by default ([071f4c2](https://github.com/mollerdigital/design-system-design-system/commit/071f4c2161458d206693153c7c3adaf273c31e1e))

## [8.3.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@8.3.0...@moller/design-system@8.3.1) (2024-03-26)

**Note:** Version bump only for package @moller/design-system

## [8.3.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@8.1.1...@moller/design-system@8.3.0) (2024-03-26)

### Features

* move component factories to @gnist/component-utils package ([b83d2cc](https://github.com/mollerdigital/design-system-design-system/commit/b83d2cc3c61b0bf48d65507d1a0994be14d5708f))

## [8.1.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@8.1.0...@moller/design-system@8.1.1) (2024-03-25)

### Bug Fixes

* isRequired didn't work for SingleSelect in form because null wasn't considered a missing value ([c402e7a](https://github.com/mollerdigital/design-system-design-system/commit/c402e7a97bc4e25ca13c0fb7c4d43b70657a5dfb))

## [8.1.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@8.0.0...@moller/design-system@8.1.0) (2024-03-20)

### Features

* support SSR styles for AlertBanner ([abfa18d](https://github.com/mollerdigital/design-system-design-system/commit/abfa18d85a76f5da3a344d7cefee03eeac0fca1d))

## [8.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@7.0.2...@moller/design-system@8.0.0) (2024-03-19)

### ⚠ BREAKING CHANGES

* Typography components cannot be directly referenced
  from a styled-components style, e.g. `${ActionText}:hover { ..styling.. }`
  as they aren't styled-components anymore.

  Migration: add `.selector`, e.g. `${ActionText.selector}:hover`

### Features

* support SSR styles for foundation/typography components ([605f987](https://github.com/mollerdigital/design-system-design-system/commit/605f987c653853559e8b0f18cbdf977e234f4699))

### Bug Fixes

* potentially broken execution order due to circular dependencies between chunks ([708992c](https://github.com/mollerdigital/design-system-design-system/commit/708992c859afe8c6af2fb7d4ba0c0bdec4d5b78c))

## [7.0.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@7.0.1...@moller/design-system@7.0.2) (2024-03-15)

**Note:** Version bump only for package @moller/design-system

## [7.0.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@7.0.0...@moller/design-system@7.0.1) (2024-03-13)

### Bug Fixes

* Adjust design of select options ([4376b26](https://github.com/mollerdigital/design-system-design-system/commit/4376b2667eff06e8f7351a1e06eea0a1fa233ec8))

## [7.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.20.2...@moller/design-system@7.0.0) (2024-03-12)

### ⚠ BREAKING CHANGES

* Themes have been moved to @moller/gnist-themes, and
require the use of a vanilla-extract plugin. This is the beginning of
better support for server-side rendering. Setup of the library in
applications has thus changed significantly, but this should only
require changes in some initialization and config files in your app.
See "Using the library" in README for details.
* The compiled library files in the published package have
  been moved from root to the `dist/` subdirectory.

  This requires consumers to respect the `"exports"` field in package.json.
  Bundlers typically do this already, but TypeScript requires `"moduleResolution": "bundler"`
  (or `"node16"` or `"nodenext"`, but `"bundler"` is recommended). In previous versions of the
  library the deprecated `"node"` / `"node10"` setting would also work (with some quirks), due to
  the actual file system path matching the export paths, but this is no longer the case.

### Features

* Use themes from @moller/gnist-themes ([7b8bba5](https://github.com/mollerdigital/design-system-design-system/commit/7b8bba59a380148a0d8941d462c65627fff191bf))

### Bug Fixes

* react types added as optional peer dependencies ([79942f9](https://github.com/mollerdigital/design-system-design-system/commit/79942f9dda35f7ae8cf471f829f6f8abb4efe3ac))

### Build System

* compiled library files have been moved to dist/ subdir ([25f3618](https://github.com/mollerdigital/design-system-design-system/commit/25f36186202189e99d1f9a64f3f5e8da556f0477))

## [6.20.2](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.20.1...@moller/design-system@6.20.2) (2024-03-12)

### Bug Fixes

* Make accordion body spacing equal for top and bottom ([882b58f](https://github.com/mollerdigital/design-system-design-system/commit/882b58f60fef1aec46186ef3036a076e2c7a3b4d))

## [6.20.1](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.20.0...@moller/design-system@6.20.1) (2024-03-06)

### Bug Fixes

* font-weights for display, headline and subtitle for medium/small sizes cupra ([4977a63](https://github.com/mollerdigital/design-system-design-system/commit/4977a63e90dbfe590451d388c8c164eb9a4326a7))

## [6.20.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.19.0...@moller/design-system@6.20.0) (2024-03-06)

**Note:** Version bump only for package @moller/design-system

## [6.19.0](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.18.7...@moller/design-system@6.19.0) (2024-03-06)

### Features

* Add book, medium, semibold and bold definitions for cupra ([2744f80](https://github.com/mollerdigital/design-system-design-system/commit/2744f801ea0855498cb43b32a0fce6cffcc054c8))

## [6.18.7](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.18.6...@moller/design-system@6.18.7) (2024-03-06)

**Note:** Version bump only for package @moller/design-system

## [6.18.6](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.18.5...@moller/design-system@6.18.6) (2024-03-05)

### Bug Fixes

* Add flex-shrink 0 to formCheckbox ([dd94821](https://github.com/mollerdigital/design-system-design-system/commit/dd948219337f1b4239c7902b7761cd5497d93946))

## [6.18.5](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.18.4...@moller/design-system@6.18.5) (2024-03-05)

### Bug Fixes

* For Accordion reduce inline padding and remove margin for first p child ([81eb95f](https://github.com/mollerdigital/design-system-design-system/commit/81eb95f760b1a00962e2154a0801b86f6d42d861))

## [6.18.4](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.18.3...@moller/design-system@6.18.4) (2024-03-04)

### Bug Fixes

* set a max-height on select options list, avoiding length of list to go beyond the screen's view ([6352bc1](https://github.com/mollerdigital/design-system-design-system/commit/6352bc1fb809c605fc9507c3f931a13e08f13d3a))

## [6.18.3](https://github.com/mollerdigital/design-system-design-system/compare/@moller/design-system@6.18.2...@moller/design-system@6.18.3) (2024-03-04)

**Note:** Version bump only for package @moller/design-system

## 6.18.2 - 2024-02-27

### Fixed

Ghost Button now has matching text and border color.

## 6.18.1 - 2024-02-27

### Fixed

Use different colours on input fields to make sure the conrast is high enough for all brands

## 6.18.0 - 2024-02-22

### Fixed

Release only content in dist folder as design system

## 6.17.3 - 2024-02-21

### Revert

Revert to old use of dist folder

## 6.17.2 - 2024-02-21

### Fixed

Include readme and package.json in dist folder on build

## 6.16.0 - 2024-02-20

### Fixed

Fixed import resolver after monorepo structure

## 6.15.9 - 2024-02-20

### Fixed

Update tokens used and styling of `Calendar` component.

## 6.15.8 - 2024-02-15

### Updated

The initial Select component should now work inside of modals

## 6.15.7 - 2024-02-14

### Updated

The `BasicSelect` component has updated with `onChange` and `value` props to make it more similar to the `SingleSelect` component.

## 6.15.6 - 2024-02-13

### Fixed

Input-text now has on-disabled color when TextField and TextArea components have disabled prop

## 6.15.5 - 2024-02-13

### Fixed

Fix fullscreen modal to use dynamic viewport units

## 6.15.4 - 2024-02-13

### Updated

Updated styling for lozenge

## 6.15.3 - 2024-02-12

### Added

New component `BasicSelect` under `components/inputs/dropdowns`. Keeping old and new component in parallel for a while to allow for migration and fixes.

### Fixed

Version 6.15.2 did not contain any code due to a publishing error.

## 6.15.2 - 2024-02-12

### Updated

Progress Bar prop naming from `withAnimation` to `animateOnChange` for clarity.

## 6.15.1 - 2024-02-06

### Fixed

Updated border-color token used in `InfoCard`-component.

## 6.15.0 - 2024-02-05

### Removed

Removed `NyeMollerBil`-theme.

### Updated

Updated Cupra colors.

## 6.14.2 - 2024-01-29

### Fixed

Fixed label color on `TextArea` and `TextField`.

## 6.14.1 - 2024-01-26

### Fixed

Fixed label on `TextArea` and `TextField` to listen to value.

## 6.14.0 - 2024-01-23

### Added

Added Progress Bar component.

## 6.13.8 - 2024-01-24

### Fixed

Modal should now cover all other elements on a page.

## 6.13.7 - 2024-01-16

### Fixed

Placeholder-text in TextArea-component now keeps proper alignment when wrapping multiple lines

## 6.13.6 - 2024-01-15

### Updated

Divider color token has been replaced by Outline. Inputs are updated to use this token.

## 6.13.5 - 2024-01-10

### Fixed

Fixed positioned elements previously won the z-index battle against the modal. This is now fixed.

## 6.13.4 - 2024-01-09

### Fixed

Dropdown options not showing when inside of a modal.

## 6.13.3 - 2024-01-04

### Added

Added documentation for space tokens.

## 6.13.2 - 2024-01-03

### Updated

Updated base image to use unprivileged nginx

## 6.13.1 - 2024-01-03

### Added

Added Spinner component

## 6.13.0 - 2024-01-03

### Removed

Removed `isInactive` prop on ActionCard and LinkCard.

## 6.12.6 - 2024-01-03

### Fixup and Added

-   Code maintenance storybook
-   Added new colors `Loader` and `OnLoader`.
-   Added safe-area padding to `Modal` component.

## 6.12.5 - 2023-11-20

### Maintenance

Code maintenance

## 6.12.4 - 2023-11-19

### Fixed

Makes `backgroundColor` prop on `Modal` optional.

## 6.12.3 - 2023-11-18

### Fixed

`Modal` no longer breaks if scrolling when putting a form inside. Consumers can now set their own background color.

## 6.12.2 - 2023-12-15

### Changed

Changed Cupra colour tokens.

## 6.12.1 - 2023-12-14

### Changed

Extract common code as base for `SingleSelect` and `MultiSelect`.

## 6.12.0 - 2023-12-12

### Changed

Changed themes folder structure so webpack can tree shake unused themes.

## 6.11.0 - 2023-11-15

### Added

`FormProvider` now offers `MultiSelect`as a formInput component.

## 6.10.1 - 2023-11-14

### Added

Prop for inputs to remove reserved space for helper text.

## 6.10.0 - 2023-11-10

### Added

New component `MultiSelect`.

### Changed

Updated color tokens.

## 6.9.0 - 2023-10-26

### Added

#### `description` & `render` props for `Checkbox`, `RadioButton` and `CheckboxGroup`

`Checkbox` and `RadioButton` now support a `description` prop. The description can
contain any React elements and will be rendered below the label.
Clicking the description does not toggle the selection, which means it can contain
other interactive elements without breaking accessibility. An example use
is to show a link to terms and conditions underneath a "I accept the terms
and conditions for this service" checkbox.

The same components also get a `render` prop which allows a consumer to
place the input/label and description elements freely. This can be useful
when complex layouts are required, for instance: showing a price at the
end of the same line as a checkbox label.

The same props can be used for each option in `CheckboxGroup`.

### Changed

`Row` and `Column`: allow specifying only row-gap or column-gap. E.g. `gap={{ row: "xs" }}`, and the missing dimension will be set to "none", instead of having to set `gap={{ row: "xs", column: "none" }}`.

## 6.8.6 - 2023-10-25

### Fixed

`Modal` component now offers more available props within `primaryAction` and `secondaryAction`.

## 6.8.5 - 2023-10-24

### Fixed

Changed token used for `InfoCard` border.
Update opacity to be set by tokens.

## 6.8.4 - 2023-10-20

### Added

`InfoCard` component now has a new prop `transparent`, allowing use of card with transparent background.

## 6.8.3 - 2023-10-20

### Fixed

`Checkbox` and `RadioButton`: When using radio buttons or checkboxes on surface cards, colours were not compliant with WCAG and sufficiant contrast.

## 6.8.2 - 2023-10-19

### Fixed

`FormProvider`: When using Norwegian text, "required" field necessity indicator ("Må fylles ut") got an extra period when joined with another helper text.

## 6.8.1 - 2023-10-19

### Fixed

Export `ColumnProps` and `RowProps` for `Row` and `Column` components, to avoid TypeScript error when using e.g. `styled(Column)` in another package.

> Exported variable 'SomeComponent' has or is using name 'ColumnProps' from external module [...] but cannot be named.

## 6.8.0 - 2023-10-19

### Added

New components under `components/surfaces/cards`:

-   `CheckboxCardGroup`
-   `RadioCardGroup`

New props:

-   `CheckboxCard`: added a `checkboxProps` prop, which is passed to the `Checkbox` component.
-   `RadioCard`: added a `radioProps` prop, which is passed to the `RadioButton` component.

These are useful for e.g. setting correct `aria-` props when doing validation.

### Changed

`CheckboxCard` and `RadioCard` now sets a font style for their children, to make the text consistent across `description` and `children`.

### Fixed

`Checkbox` no longer looks like a `RadioButton` on some themes.

## 6.7.6 - 2023-10-18

### Changed

`Accordion` now has divider both above and below when `withDivider` is set.
Padding inside Accordion body has also been adjusted.

## 6.7.5 - 2023-10-17

### Changed

`Accordion` now has focus effect and default padding between head and body.

## 6.7.4 - 2023-10-17

### Fixed

`TextButton` and `IconButton` now default to `type="button"` instead of `type="submit"`,
like all the other button components in the library.

## 6.7.3 - 2023-10-13

### Fixed

The library's TypeScript declarations could sometimes resolve differently in diffrent projects.
This is now fixed by ensuring all imports within our declarations use relative paths.

## 6.7.2 - 2023-10-11

### Changed

-   `Møller bil` and `Nye Møller bil` are identical now. First step in transitioning away from using the latter. The goal is to remove it.

## 6.7.1 - 2023-10-11

### Changed

-   `CheckboxCard` and `RadioCard` now support the `validity` prop, in the same way as `Checkbox` and `RadioButton`.

### Fixed

-   `useInputHelperText` was not exported properly
-   `CheckboxCard` focus style looked way too large
-   `RadioCard` now has the same expanded click zone as CheckboxCard
-   `CheckboxCard` and `RadioCard` typing now allows not passing children

## 6.7.0 - 2023-10-11

### Changed

`TextButton`: Now has same hover states as other buttons. Instead of hover adding or removing the underline, we use the theme's state layers.

### Fixed

`IconButton`: Was missing state layer when focused.

### Deprecated

`inverted` prop on `GhostButton`, `TextButton` and `IconButton` has not worked for a while, and is therefore deprecated. It will be removed in the next major version. The desired functionality can easily be achieved by setting `color` on the same ancenstor where you changed the `background-color`. The buttons will inherit this `color`.

## 6.6.2 - 2023-10-10

### Added

`FormProvider`: Added new story to show a simpler form.

## 6.6.1 - 2023-10-06

### Fixed

`SingleSelect`: Fixed label placement when field has a default value.

## 6.6.0 - 2023-10-05

### Added

`FormProvider` now offers `SingleSelect`as a formInput component.

## 6.5.1 - 2023-10-05

### Added

Small guide for creating new components.

## 6.5.0 - 2023-10-04

### Added

`Accordion` component with lots of options for customization to different use cases.

## 6.4.1 - 2023-10-04

### Fixed

`LinkCard` and `ActionCard`: Fixed offset hover-state overlay introduced in 6.4.0

## 6.4.0 - 2023-10-04

### Added

New components under `components/actions/chips`:

-   `ActionChip`
-   `FilterChip`

### Changed

All Chip components:

-   Chips with variant set to `"filled"` now also have a border, making them look correct on both `background` and `surface` colored backgrounds.
-   Adjusted padding and icon/text spacing

### Fixed

Chips have a hover effect again.

### Deprecated

`AssistChip` has been deprecated in favour of `ActionChip`, and will be removed in the next major version.

## 6.3.0 - 2023-10-03

### Added

New component `SingleSelect` under `components/inputs/dropdowns`.

## 6.2.1 - 2023-10-02

### Updates

Update import of Modal from MaterialUI

## 6.2.0 - 2023-10-02

### Updates

Add `rollup-plugin-banner2` to export the design system as `use client`. This will make it compatible with server side rendered projects.

## 6.1.0 - 2023-09-27

### Added

New components under `components/surfaces/cards`:

-   CheckboxCard
-   RadioCard

Both are marked experimental for now, since they need to be tested in actual usage before the API is deemed final.

### Changed

Color tokens for NyeMollerBil:

-   Tweaked color.disabled & color.on-disabled to work better on color.background (in addition to color.surface). Affects e.g. buttons & chips
-   Tweaked color.disabled-variant & color.on-disabled-variant to look more disabled. Affects e.g. checkboxes & radios

## 6.0.0 - 2023-09-26

### Changed

Typography: `Description`, `LabelText`, `ActionText`, `NoticeText` are now `div` instead of `span`. This change was done because inline elements can't have a lower `line-height` than their parent components, and therefore these components didn't get their correct `line-height`.

**BREAKING:** Check that any usage of these components don't rely on the `display: inline` style. These components were not meant to be used inline in running text, but might still have been used e.g. beside an icon. If the parent doesn't enforce a layout (e.g. flex / grid), these components will now be placed on a new line.

### Removed

**BREAKING:** Deprecated `Label` component has been removed. Use `LabelText` instead.

## 5.10.3 - 2023-09-25

### Updates

Interactive color for Skoda

## 5.10.1 - 2023-09-25

### Adds

Adds some info in readme about setup for Next.js projects

## 5.10.0 - 2023-09-20

### Adds

-   MyCar page from Bilhold is available in 'ThemeTests'

## 5.8.17 - 2023-09-20

### Fixed

Typography: `line-height` is now set to a unitless value instead of a percentage, which fixes
some rare cases of incorrect line heights in cases with nested elements of varying font sizes.

### Changed

Cupra theme: color updates

## 5.8.16 - 2023-09-19

### Fixed

-   Adds 8 new dealer logos

## 5.8.15 - 2023-09-18

### Fixed

-   Input text color

## 5.8.14 - 2023-09-15

### Added

-   Updates tokens for cupra

## 5.8.13 - 2023-09-15

### Added

-   Cupra color token updates

## 5.8.12 - 2023-09-14

### Added

-   Cupra logo

## 5.8.11 - 2023-09-13

### Added

-   Cupra theme and font

## 5.8.9 - 2023-09-08

### Fixed

-   Surface Variant in Audi broke in latest figma push

## 5.8.8 - 2023-09-08

### Changed

-   Surface color for Audi is now dark

## 5.8.7 - 2023-09-05

### Added

-   Home view of Bilhold is available in 'ThemeTests'

## 5.8.6 - 2023-09-05

### Fixed

-   Updates colors to be more semantically correct

## 5.8.5 - 2023-09-04

### Fixed

-   Fixes issue where we tried to import 'ModalUnstyled' from mui which doesn't exist

## 5.8.4 - 2023-08-29

### Added

-   Audi header font

## 5.8.3 - 2023-08-28

### Changed

-   Logos use currentColor for fill color so it adapts to theme

## 5.8.2 - 2023-08-25

### Changed

-   Audi theme colors

## 5.8.1 - 2023-08-25

### Fixed

-   Merge conflict comment broke vw

## 5.8.0 - 2023-08-25

### Added

-   Audi font

## 5.7.6 - 2023-08-24

### Fixed

-   Skoda dark theme has swapped tertiary and primary color
-   Volkswagen theme has changed tertiary color

## 5.7.5 - 2023-08-24

### Fixed

-   Autoria now has rounded corners

## 5.7.4 - 2023-08-23

### Fixed

-   Autoria surface variant color update again

## 5.7.3 - 2023-08-23

### Fixed

-   Dahles tertiary container color update

## 5.7.2 - 2023-08-23

### Fixed

-   Autoria surface variant color update

## 5.7.1 - 2023-08-22

### Fixed

-   Dahles tertiery container color

## 5.7.0 - 2023-08-22

### Fixed

-   Updates Dahle to correct colors

## 5.6.2 - 2023-08-22

### Fixed

-   Exporting the Autoria font

## 5.6.1 - 2023-08-21

### Added

-   Added Autoria theme and logo. Figma now uses correct font name for dahles.

## 5.6.0 - 2023-08-21

### Added

-   Added property 'isLoading' to calendar

## 5.5.2 - 2023-08-21

### Changed

Dahles theme:

-   Changed name of font from Source Sans 3 to Source Sans Pro because the generated `themes/dahles.ts` file doesn't like numbers in names

## 5.5.1 - 2023-08-18

### Fixed

-   Correct font name

## 5.5.0 - 2023-08-17

### Added Dahle theme and updates modal

-   Adds Dahle fonts and logo. Updates modal to support click outside to close and custom actions.

## 5.4.2 - 2023-08-17

### Fixed

-   Update language file

## 5.4.1 - 2023-08-16

### Fixed

-   Set the children for `TextContainer` as props for the FC.

## 5.4.0 - 2023-08-15

### Added

-   Added property 'onNavigate' to calendar

## 5.3.1 - 2023-08-15

-   Explicitly adding children to `TextContainer` to support React v 18.

## 5.3.0 - 2023-08-14

### Added

-   Added experimental `TextSkeleton`, `CircularSkeleton` and `RectangularSkeleton` to `@moller/design-system/building-blocks`

### Fixed

-   No longer requires app to `import "react-loading-skeleton/dist/skeleton.css"` for various Card loading states to work

## 5.2.1 - 2023-08-14

### Updates theme colors for Dahle

-   Colors from figma studio updates

## 5.2.0 - 2023-08-11

### Added properties 'maxDate', 'minDate' and 'isDateUnavailabe' to calendar

-   Added properties 'maxDate', 'minDate' and 'isDateUnavailable' to the calendar component.
    The max- and min-date properties determines the first and last enabled dates displayed in the calendar.
    The isDateUnavailable property can be to show given dates as unavailable.

## 5.1.7 - 2023-08-02

### Added Dahles theme

-   Adds first implementation of Dahles theme

## 5.1.6 - 2023-08-02

### Fixes label issue on TextField

-   Fixed alignment issue on TextField label when in compact mode.

## 5.1.5 - 2023-08-02

### Adjusted Icon styling

-   Changed `display:flex` back to `display:inline-flex` 😇

## 5.1.4 - 2023-07-31

### Bundle performance

-   Added separate font file for tree-shaking

## 5.1.3 - 2023-07-24

### Further font optimizations

Update generate-webfont.py and updated optimized fonts.

## 5.1.2 - 2023-07-20

### Add border to infoCard

Fix typo in infoCard which prevented border from being displayed.

## 5.1.1 - 2023-07-20

### Removed dependency on date-holidays

date-holidays depends on moment and moment-timezone which adds 1MB to the bundle size.
Added a static list in date.tsx of the next 30 years of holidays in Norway instead.

## 5.1.0 - 2023-07-19

### Removed unused fonts and reduced font filesize

Removed unused fonts and reduced font filesize by subsetting them.

## 5.0.10 - 2023-07-17

### Fixed TextField/TextArea label styling bugs

Fixed a bug with label styling on TextField/TextArea inputs.

## 5.0.9 - 2023-07-17

### Fixed useContext error with Icon.tsx

Fixed a bug with Icon.tsx conditionally invoking useIconVariant().

## 5.0.8 - 2023-07-17

### Fixed ChipBase outline

ChipBase used the wrong text color when outlined.

### Added css-variable autocomplete

Added vscode extension vunguyentuan.vscode-css-variables for css variable autocomplete.

## 5.0.7 - 2023-07-13

### Fixes disabled button text color

Disabled buttons used the wrong color variable, making the text color invisible.

## 5.0.6 - 2023-07-13

### Removed LinkCard hover effect on mobile

Removed the hover and focus effect from LinkCard when you are on a small device. Touch don't really have hover states, and the card turning gray after being pressed is not ideal.

## 5.0.5 - 2023-07-12

### Adjusted Icon styling

-   Changed `display:inline-flex` to `display:flex` because of styling issues

## 5.0.4 - 2023-07-12

### Adjusted default theme styling

-   Added DefaultGlobalStyles to themes that sets global defaults
-   Renamed RegisterAllThemes to RegisterAllThemesAndDefaults as it also contains DefaultGlobalStyles

## 5.0.3 - 2023-07-12

### Adjusted default theme styling in globalTextStyles

-   Added background-color default
-   Removed p,ul,ol margin: 0. (This should be set by the app itself)

## 5.0.2 - 2023-07-12

### Fix border behind input label

Fixed bug where the border behind the label is slightly visible on certain zoom levels on TextField and TextArea.

## 5.0.1 - 2023-07-11

5.0.0 bug fixes

## 5.0.0 - 2023-07-10

### Replaced style-components themes with css-variables

Rewritten the solution to use css-variables instead of styled-components theming. This change is because re-render when swapping themes introduces as 300ms+ delay, causing the app to feel slughish and slow.
All themes are listed in [src/themes/index.tsx](src/themes/index.tsx)

To register the theme css-variables you do the following:

```
<RegisterAllThemesAndDefaults />
// or
<DefaultGlobalStyles />
<RegisterBilholdLightTheme />
```

Then you add the corresponding theme css-class to body with `<body class="theme-bilhold">`.

## 4.9.0 - 2023-07-10

### Changed

### LinkCard, ActionCard and InfoCard

Updated colors on LinkCard, ActionCard and InfoCard to be surface-variant and on-surface-variant.

## 4.8.0 - 2023-07-10

#### Design tokens

Updated colors for surface-variant and on-surface-variant.

## 4.7.2 - 2023-07-07

### Changed and Added

Skoda logo has wider dimensions. Includes logo for VW Nytte

## 4.7.1 - 2023-07-07

### Fixed

FormProvider / useLocalFormState: When calling `showAllErrors()`, would cause future errors (e.g. due to cross-field necessity) to appear before user had interacted with the field. This is now fixed.

## 4.7.0 - 2023-07-05

### Changed

FormProvider:

-   Necessity for each field can now depend on the unvalidated state of the form.
    Example use case: require email address only if "send receipt by email" is selected
-   Each validation step now receives the entire unvalidated form state as a second parameter, allowing
    you to write field validations that depend on other fields in the form.

## 4.6.0 - 2023-07-04

### Changed

#### Design tokens

Updated colors and radiuses

## 4.5.2 - 2023-06-23

### Logos use currentColor for fill color

Impacts skoda and VW

## 4.5.1 - 2023-06-23

### Fixes skoda wordmark size

Decreases size of skoda wordmark

## 4.5.0 - 2023-06-23

### Added VW logo

Added VW logo

## 4.4.0 - 2023-06-22

### Added font

Added VW font

## 4.3.1 - 2023-06-22

### Fix default styling

For column and flex, changed default value for wrap to normal, to not break the gui.

## 4.3.1 - 2023-06-22

### Fix default styling

For column and flex, changed default value for justify-content back to flex-start, like it was originally to not break the gui.

## 4.3.0 - 2023-06-20

### Added VW theme colors

Adds theme colors to new VW theme and fixes color block width issue in storybook.

## 4.2.0 - 2023-06-19

### Added props to Column and Row

Added props to column and row to make them more flexible

## 4.1.1 - 2023-06-19

### Fixed

Updates surface color for better cards in Gumpen theme

## 4.1.0 - 2023-06-15

### Added

Support for usage with React 18.

### Fixed

Fixed an error where usage from Next.js would fail because of an import of global css in the package.

## 4.0.0 - 2023-06-15

### Removed

**BREAKING CHANGE** `colorMode`-prop is removed from `Logo`. Color is now inherited from parent element, or can be set with custom styling.

## 3.3.8 - 2023-06-14

### Fixed

Resize gumpen logo

## 3.3.7 - 2023-06-13

### Changed

Updates to colors and border radius tokens

## 3.3.6 - 2023-06-13

### Fixes

Correct font for Gumpen

## 3.3.5 - 2023-06-12

### Added

Gumpen logo

## 3.3.4 - 2023-06-12

### Added

Font files and setup for Gumpen fonts

## 3.3.3 - 2023-06-09

### Added

More colors to Gumpen theme

## 3.3.2 - 2023-06-09

### Fixed

Border color for outlined Chip component

## 3.3.0 - 2023-06-08

### Added

Gumpen tokens

## 3.2.0 - 2023-06-08

### Added

#### New component props

Icon and IconButton now accepts an optional prop, variantOverride, that can be used to override the default variant, set globally, on that specific component.

#### New token files

Exports the raw token-files for each theme (after token-transformer, before styled-dictionary)

## 3.1.1 - 2023-06-06

### Fixed

Changed background-color of modal to use ColorSurface.

## 3.1.0 - 2023-06-06

### Added

Color overview under `foundation/colors`

## 3.0.2 - 2023-06-01

### Fixed

ActionCard, InfoCard and LinkCard have `display: block` instead of `display: flex` for less surprising results when used without
an inner layout component.

## 3.0.1 - 2023-05-30

### Fixed

LinkCard: Using `as` prop could cause application to crash with an error similar to `TypeError: can't convert n to primitive type`

## 3.0.0 - 2023-05-30

### Removed

**BREAKING CHANGE**:
Removed NavigationCard under `components/navigation/cards`.

NavigationCard in Figma had turned very complex to support tons of different use cases,
but in practice it was not being used because the component was not flexible enough.
We replace NavigationCard with InfoCard (non-interactable), ActionCard (button) and LinkCard (anchor)
where you handle the layout and content yourself.

### Added

InfoCard, ActionCard, and LinkCard under `components/surfaces/cards`

## 2.3.0 - 2023-05-30

### Added

#### New colors

Added new tertiery colors for all themes.

## 2.2.0 - 2023-05-23

### Added

#### New Møller Bil theme

Added new theme for Møller Bil

## 2.0.5 - 2023-05-09

### Fixed

#### Label

Removed color on Label as it should use inherit color

#### Input selection color

Removed input selection color and let browsers handle this instead

## 2.0.4 - 2023-05-09

### Fixed

#### AlertBanner

Fixed AlertBanner colors across themes

## 2.0.3 - 2023-05-04

### Fixed

#### Global styling

Removed unintentional global backgroundstyling

## 2.0.2 - 2023-05-04

### Changed

#### Colors

Change colors on skoda and bilhold themes.

## 2.0.1 - 2023-05-04

### Added

#### Debug theme

Added debug theme to easier spot wrong variable use.

### Fix

Updated GhostButton to use inherit color instead of a set color.

Updated RadioButton to use same background-color as Checkbox does.

Updated CardBase to use ColorOnSurface and not ColorOnLightBackground for text.

## 2.0.0 - 2023-05-04

### Changed

Name of color tokens: LightBackground, OnLightBackground, DarkBackground and OnDarkBackground are now called Background, OnBackground, InverseBackground and OnInverseBackground.

## 1.23.1 - 2023-05-03

### Fix

Update @mui/base to fix dependency problem in bilhold.

## 1.23.0 - 2023-05-03

### Added

#### Skoda Logo

Added Skoda logo to logos

## 1.22.0 - 2023-05-02

### Change

#### Skoda Theme

Changed from light theme to dark theme

## 1.21.0 - 2023-05-02

### Changed

#### GlobalStyling

ColorOnLightbackground as default color on body.

#### StateLayers and Focus state

Export stateLayers and focus styles.

## 1.20.1 and 1.20.2 - 2023-04-28

### Change

Update Skoda font

## 1.20.0 - 2023-04-27

### Added

Added Skoda font

## 1.19.0 - 2023-04-23

### Changed

TextField: leading / trailing icons can now be clickable

### Fixed

Types `ValidityConfig` and `InputFieldValidity` could not be imported. They can now be imported from `@moller/design-system/building-blocks/inputs`

## 1.18.0 - 2023-04-23

### Added

#### Skoda theme

Added a new skoda theme

## 1.17.0 - 2023-03-28

### Added

#### Building blocks

This is a new category of components, which don't have a counterpart in the Figma component library, but are useful for building larger components. They are used internally by components in the library. We expose these with documentation to make it easier to build custom application-specific components.

The first exposed building block is:

-   `InputHelperText`, which handles helper- and validation text for input components

## 1.16.0 - 2023-03-28

### Added

#### New components

-   `CheckboxGroup`, under `components/actions/selectionControls`

## 1.15.1 - 2023-03-28

### Fixed

1.14.0 introduced a type constraint on `useLocalFormState` which was too strict, and disallowed using an interface for the form type.

## 1.15.0 - 2023-03-27

### Changed

Changed size of `car_crash`to match size of `car`.

### Added

#### new icons

-   In `action`-folder: `play_circle`, `settings`, `savings`, `shopping_cart`
-   In `navigation`-folder: `external`
-   In new `toggle`-folder: `favorite`, `favorite_border`

## 1.14.0 - 2023-03-23

### Added

-   Added support for multiple languages. Initially this adds English translation in addition to the existing Norwegian.
-   LocalizationProvider component to set the current language. If no LocalizationProvider is present, Norwegian is used.

## 1.13.0 - 2023-03-20

### Added

#### New component props

Modal now accepts loading state on primary action. Secondary action and close button will be disabled when primary button is in loading state.

## 1.12.3 - 2023-03-15

### Fixed

Assist chip and tag chip is now exported as styled components so they can be used with the `as` prop.

## 1.12.2 - 2023-02-24

### Fixed

Importing of submodules, like `@moller/design-system/utilities/validation`, now resolves correctly for consumers that respect the package's `exports` field. E.g. `@moller/design-system/<submodule>` --> `@moller/design-system/<submodule>/index.js`

**BREAKING CHANGE**: As a consequence of this, importing files directly now requires a `.js` extension, e.g. `@moller/design-system/components/feedback/alerts/AlertBanner.js`. This should not be necessary. If you find yourself importing something directly from a file which is not available from root or in a submodule, please let us know. It may indicate the need for changes in the library.

## 1.12.1 - 2023-02-23

### Fixed

Submodules of dependencies are now automatically marked as external, fixing an error introduced in 1.11.0 with the `fp-ts` dependency

## 1.12.0 - 2023-02-23

### Added

#### New component props

`FormProvider` now accepts all form HTML attributes as props and they will appear on the form-tag

## 1.11.0 - 2023-02-21

### Added

#### New component

`Calendar`, under `inputs/pickers`

## 1.10.1 - 2023-02-15

### Fixed

`Modal` now uses `TextButton` instead of `SecondaryButton` when using the `secondaryAction`-prop.
Styling of buttons in `Modal` is also adjusted to be full-width when `size` is `small`, and to be placed in bottom of the modal when `size`is `fullscreen`.

## 1.10.0 - 2023-02-08

## 1.10.0 - 2022-02-08

### Fixed

`TextField` now accepts `"password"` as `type`.

## 1.9.0 - 2023-02-06

### Added

#### New component props

`FormProvider` now accepts a `submitOnEnter` prop to enable submit to be triggered when enter is pressed.

## 1.8.0 - 2023-02-02

### Added

#### New icons

-   In `content`-folder: `mail`
-   In `map`-folder: `forest`, `gas_station`
-   In `notifications`-folder: `live_tv`, `wifi`
-   In new `search`-folder: `coffee`

## 1.7.2 - 2023-01-25

### Fixed

It is now possible to use the 'as' prop on navigationCard without getting a TS error.

## 1.7.1 - 2023-01-24

### Changed

#### Design tokens

-   Updated `Elevation{Low,Medium,High}` tokens for all themes.
    -   **BREAKING CHANGE** only if an application references the token directly through `theme.ElevationLow`, as the value is now an array of shadow definitions.
-   Bilhold theme: Updated `RadiusCard` from 8px to 4px

#### Components

-   Small graphical changes in `NavigationCard` and `AlertBanner` due to the updated design tokens

## 1.7.0 - 2023-01-19

### Added

Description component, in foundation/typography

## 1.6.1 - 2023-01-19

### Fixed

`AlertBanner` now has correct border-radius depending on theme.

## 1.6.0 - 2023-01-18

### Changed

`Modal`:

-   The width will follow the screen if the size set via props is too wide.
-   Added border on sticky containers when the modal has scroll
-   Centered buttons in ActionBar on fullscreen-modal

## 1.5.1 - 2023-01-17

### Fixed

Version 1.5.0 would give an error similar to the below, unless your project already depended on a _different_ version of `@mui/base` than the one used by this library.

```
[ERROR] Could not resolve "../../../node_modules/@mui/base/ModalUnstyled/ModalUnstyled.js"
```

...

## 1.5.0 - 2023-01-11

### Changed

#### Design tokens

Updated paragraph spacings in typography tokens.

#### Components in `foundation/typography`

-   The typohraphy components, when used within a `TextContainer` component, now apply the paragraph
    spacing _above_ the component instead of below. This ensures the elements group together more logically.
-   The typography components now all support the `as` prop.

## 1.4.0 - 2023-01-09

### Added

#### New icons

-   In `action`-folder: `calculate`, `contract`, `lightbulb`, `pets`, `trash`
-   In `content`-folder: `send`
-   In new `device`-folder: `task`
-   In new `file`-folder: `file_download`, `file_upload`
-   In new `notifications`-folder: `event_note`
-   In new `toggle`-folder: `star`, `star_outlined`

### Changed

Updated `car`-icon to new version.

## 1.3.0 - 2023-01-04

### Added

#### New components

-   `LeadText`, under `foundation/typography`
-   `Modal` under `components/surfaces`. **Experimental. The api of this component may change.**

## 1.2.0 - 2022-12-19

### Added

#### New component props

`TextField` and `TextArea` now accepts a `className` prop to allow custom styling.

## 1.1.4 - 2022-12-16

### Fixed

`GhostButton` and `Inverted` now has correct border size `Medium`.

## 1.1.3 - 2022-12-16

### Fixed

`NoticeText` now correctly has `text-transform: uppercase`.

## 1.1.2 - 2022-12-14

### Fixed

Text in `Chips` no longer wraps to multiple lines.

## 1.1.1 - 2022-12-13

This release only contains design token adjustments.

### Changed

Design tokens affecting all themes:

-   Paragraph spacings adjusted for `TypeLargeDescription`, `TypeDefaultNotice`, `TypeMediumOverline`

Design tokens for Bilhold theme:

-   Adjusted `PaletteSecondary*` tokens to make clearer distinction between primary and secondary buttons
-   Slight adjustment to `PaletteNeutral*` as a consequence of the previous point
-   Font weight changed from 500 to 400 for all body text tokens (e.g. regular text, links, descriptions and labels)

## 1.1.0 - 2022-12-13

### Added

#### New components

-   `NoticeText`, under `foundation/typography`
-   `Chips`, under `components/actions`

#### New component props

`ActionText` and `Label`:

-   New optional `density` prop with values `"default"` or `"compact"`, determines which font tokens (size etc) are used

### Changed

`ActionText` and `Label`:

-   No longer changes font size based on viewport width. Use `density` prop to set the size.

`PrimaryButton`, `SecondaryButton`, `GhostButton`, `SuccessButton`, `DangerButton`:

-   Button text changes size based on the button's `density` prop instead of viewport width (see `ActionText` change)
-   Icons used as direct children will get an appropriate size based on the button's `density` prop.

`AlertBanner`:

-   Dismiss button is now optional.

### Fixed

`PrimaryButton`,`SecondaryButton`,`GhostButton`,`SuccessButton`,`DangerButton`:

-   Set appropriate spacing between `Icon` and text children
-   Set appropriate size on `Spinner` based on `density`

### Removed

#### Design tokens - **BREAKING CHANGE**

-   Theme values:

    -   `TypeSmallAction`
    -   `TypeMediumAction`
    -   `TypeLargeAction`
    -   `TypeSmallLabel`
    -   `TypeMediumlabel`
    -   `TypeLargeLabel`

-   CSS variables:

    -   `--moller-type-small-action-*`
    -   `--moller-type-medium-action-*`
    -   `--moller-type-large-action-*`
    -   `--moller-type-small-label-*`
    -   `--moller-type-medium-label-*`
    -   `--moller-type-large-label-*`

### Migrating from 1.0.0

If you have used any of the removed tokens, they can replaced according to this table

| Removed token      | Replacement         |
| ------------------ | ------------------- |
| `TypeSmallAction`  | `TypeCompactAction` |
| `TypeMediumAction` | `TypeDefaultAction` |
| `TypeLargeAction`  | `TypeDefaultAction` |
| `TypeSmallLabel`   | `TypeCompactLabel`  |
| `TypeMediumLabel`  | `TypeDefaultLabel`  |
| `TypeLargeLabel`   | `TypeDefaultLabel`  |

## 1.0.0 - 2022-12-07

Initial release
