Skip to content

Release v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Aug 13:49

New/Improved:

  • Add onError callback to useHandleFormikSubmission
  • Allow usage of arbitrary framework props for link component
  • Improve FormikAutoSubmit component
  • Updated theme colors
  • Updated theme structure (see breaking changes)
  • New components:
    • ButtonIcon
    • ButtonIconLink
  • New tones for buttons. Full list:
    • primary
    • neutral
    • warning
    • critical
    • success
    • informative
  • Updated styles of buttons
  • Button , ButtonLink and Input now can be configured with an iconStart and an iconEnd
  • Form fields now require id only if label is set
  • Updated styles of form fields
  • Form fields are supporting ghost (default), soft and transparent variants now
  • Redesigned Alert component with possibility to specify icon, title, message and actions
  • Redesigned section components
    • New SectionContentTitle component to be placed between SectionContent components
    • The SectionHeaderRow can be used to separate header content into multiple rows
    • The SectionHeaderGroup can be used to manage horizontal spacing between items
    • The SectionHeaderSpacer can be used to increase spacing of the SectionHeader

Breaking:

  • useHandleFormikSubmission arguments
  • FormikAutoSubmit has now a debounce time of 200 ms by default
  • Theme colors:
    • Secondary
    • Green/Positive ➝ Success
    • Gray ➝ Neutral
  • Button Theme structure
    • variantTone has been moved one level up
    • size ➝ variantSize
  • Removed ButtonWithIcon component ➝ use Button or ButtonLink with iconStart
  • Redesigned Alert component
  • Redesigned section components
    • A SectionContainer must be added between Section and the SectionContent / SectionContentTwoColumn
    • The SectionFooter has to be placed inside the SectionContainer
    • The SectionFilter was redesigned and incorporated into the 'SectionHeader` components group
      • onFilter was renamed to onSubmit
    • The SectionSearch was redesigned and must now be placed in the SectionFilter
    • Removed SectionAction . Use ButtonIcon instead
  • The section's FilterDialog component has been removed (and added as an example in Storybook)