New
-
Add
page_heading
option to input fields, allowing users to make an input label a page heading. -
Improvements to summary list component:
- Improves default spacing around component
- Accounts for paragraph elements within rows
- Rails interface accepts a new
hide_empty_rows
option to control whether rows with blank values are shown
-
Add the ability to have text in a footer column
-
New greedy navigation implementation
For backwards compatibility the old greedy navigation entrypoint will continue to work but will be removed in a future version. The existing code should look something like this:
import greedyNav from '@citizensadvice/design-system/lib/greedy-nav/index'; greedyNav.init();
To switch to the new entrypoint update your application to use the following code:
import { initNavigation } from "@citizensadvice/design-system" initNavigation();
Fix
- Improves screen reader experience when interacting with checkbox and radio groups in an error state