Skip to content

7.0.0

Compare
Choose a tag to compare
@LJKaski LJKaski released this 28 Apr 12:31
· 1560 commits to develop since this release
a40f6a6

Release notes

This version contains the changes in the recent betas. Details below.

Important! This version does not yet fully support React 18 due to issues with some dependencies. Known issues concern at least the Dropdown component.

Change log

Components

CheckboxGroup (#593)

  • Add Checkboxgroup component.

LogoIcon (#577)

  • Introduce LogoIcon component

Chip & StaticChip (#583, #589)

  • Breaking change: Add support for multiline content and remove ellipsis
  • Update StaticChip props to extend span props

Notification (#587, #595)

  • Fix button styling and clean up internal structure
  • Add whiteBase as default background color

Alert (#564)

  • Breaking change: Change internal structure and styling

InlineAlert (#564)

  • Add smallScreen prop
  • Remove icon from neutral variant

MultiSelect (#579)

  • Improve API documentation concerning onItemSelectionsChange event.
  • Improve behaviour with asynchronous content

SingleSelect (#580, #586)

  • Fix bug where list didn't open from clicking field after user removed selection once.
  • Improve behaviour with asynchronous content

Link (#582)

  • Fix example where as prop was used instead the asProp

ExternalLink (#582)

  • Fix logic of labelNewWindow prop when used with toNewWindow prop.

Checkbox (#593)

  • Breaking change Update Checkbox label's font size to be smaller

Toast (#595)

  • Add whiteBase as default background color

Textarea (#595)

  • Add background color for the input element

baseStyle changes (#576)

Breaking changes:
Following components had their baseStyle changed a little by moving the styles to top level (root). Actual styling should not have been changed on purpose. These might cause changes in services using the library if the previous styles was used for overriding some of the default styles.

  • BaseChip
  • Breadcrumb
  • BreadcrumbLink
  • Button
  • Chip
  • Dropdown
  • Expander
  • ExpanderContent
  • ExpanderTitle
  • ExpanderTitleButton
  • FilterInput
  • Hintext
  • HintText
  • Icon
  • InputClearButton
  • InputToggleButton
  • Modal
  • ModalTitle
  • RadioButton
  • SearchInput
  • Select
  • StaticIcon
  • StatusText
  • Textarea
  • TextInput
  • Toggle

General

Bugfixes

  • Fix typo in documentation
  • Fix class name disparity when using SSR

Logger (#563)

  • Breaking change Fix logger. No longer using environment variables.
  • Add Logger util

Dependencies (#577, #581, #598)

  • Update suomifi-icons to 6.1.0
  • Update vulnerable dependencies
  • Resolve babel-plugin-styled-components version to 2.0.7