Skip to content

v1.8.0

Compare
Choose a tag to compare
@AlexSkrypnyk AlexSkrypnyk released this 29 Jun 07:10
· 94 commits to main since this release

What's new since v1.7.6

This release enhances form controls, grid, and layout with improved flexibility and consistency, adds support for reusable stories in Storybook, and includes Jest tests for components template and snapshot testing.

This release contains 🚨 breaking changes - refer to each component's changelog below.

BASE

Grid

  • Rationalised grid classes and added tests. @AlexSkrypnyk (#223)(#224)
  • Added support for a fluid grid and tests for grids offset. @AlexSkrypnyk (#229)
  • Added responsive vertical spacing to Grid. @AlexSkrypnyk (#234)
  • BC 🚨: Moved flex-related utilities into own utility component. @AlexSkrypnyk (#227)
    .ct-justify-content-start -> .ct-flex-justify-content-start
    .ct-justify-content-center -> .ct-flex-justify-content-center
    .ct-justify-content-end -> .ct-flex-justify-content-end
    .ct-row-align-middle -> .ct-flex-row-align-middle

Icon

Item Grid

Item List

Layout

Time/Datetime

Scrollspy

Storybook

Storybook helpers have been updated to be more consistent and easier to use.
They also now have their own stories.

ATOMS

Back To Top

Chip

Form Control

All form controls have been fully refactored to be the basic building blocks for the new Molecules > Field component. This change introduces a new Molecules > Field component that replaces the Molecules > Form Element component.

Form Control > Button

  • 🚨BC: Renamed is_raw_text to allow_html on Button for consistency with other components. @AlexSkrypnyk (#275)
Form Control > Checkbox
Form Control > Field Description
Form Control > Field Message
Form Control > Fieldset
Form Control > Input
Form Control > Label
Form Control > Radio
Form Control > Select
Form Control > Textarea
Form Control > Textfield

Paragraph

Table

  • Fixed Table horizontally stacking content on mobile. @AlexSkrypnyk

MOLECULES

Accordion

Field/Form element

This component is a centralised component (factory) for producing form controls
of different types using a consistent styling and API. It replaces the
Molecules > Form Element component.

Field Group

  • BC 🚨: Renamed to Atoms > Fieldset.

Form Element

  • BC 🚨: Removed in favour of Molecules > Field.

List > Single Filter

  • Fixed Single Filter announcing changes to content and a "down" key trigger for collapsible. @joshua-salsadigital (#118)
  • Added reset button and disabling of the buttons if none of the Chips is selected in Single filter. @AlexSkrypnyk (#194)
  • Fixed buttons growing in the Single filter. @AlexSkrypnyk (#199)

List > Group Filter

  • Added tests for Group filter and fixed content sanitisation in slots. @AlexSkrypnyk (#284)
  • Fixed Group Filter announcing changes to content and a "down" key trigger for collapsible. @joshua-salsadigital (#118)
  • BC 🚨: Fixed event name on Group filter from data-ct-group-filter-filters to data-group-filter-filters. @AlexSkrypnyk (#187)

List > Pager/Pagination

List > Navigation Card

Table of Contents

ORGANISMS

Alert

Banner

Campaign

Footer

Header

List

Message

Navigation > Mobile Navigation

Navigation > Side Navigation

Social Links

Security

Other

Full Changelog: v1.7.6...v1.8.0

@AlexSkrypnyk, @alan-cole, @govindmaloo, @joshua-salsadigital, @renovate, @renovate[bot], @richardgaunt and Joshua Fernandes