Agriculture Design System
Beta
Design System for the Export Service
13th May 2025

AgDS Beta v1.28.0 release

Adds a new Conditional field container component, updates Date pickers to support React 19, adds React 19 as an allowed peer dependency, adds hover transitions to many icons within buttons, plus various bug fixes and improvements.

Updates

App layout

  • Scale and transition Menu, Close and Dropdown icons on hover.

Button

  • Hide icons when loading.
  • Scale and transition iconAfter and iconBefore on hover.

Call to action

  • Scale and transition icon on hover.

Conditional field container

  • Initial release of component.

Date picker

  • Update react-day-picker dependency to support React 19.
  • Fix hover styles not appearing on some dates.
  • Scale and transition button icons on hover.

Date picker next

  • Update react-day-picker dependency to support React 19.
  • Fix hover styles not appearing on some dates.
  • Scale and transition button icons on hover.

Date range picker

  • Update react-day-picker dependency to support React 19.
  • Fix bug where aria-selected was added to dates between selected ranges.
  • Changing the end date will now attempt to focus on the current end date on the calendar.
  • Scale and transition button icons on hover.

Date range picker next

  • Update react-day-picker dependency to support React 19.
  • Fix bug where aria-selected was added to dates between selected ranges.
  • Changing the end date will now attempt to focus on the current end date on the calendar.
  • Scale and transition button icons on hover.

Details

  • Scale and transition chevron on hover.

Direction link

  • Scale and transition icons on hover.

Dropdown menu

  • Scale and transition chevron on hover.

Feature link list

  • Scale and transition chevron on hover.

Filter sidebar

  • Scale and transition CollapsingSideBar chevron on hover.

Icon

  • Add new CodeIcon.
  • Update documentation to include more information and guidance on usage, sizes and positioning.

Main nav

  • Scale and transition Menu, Close and Dropdown icons on hover.

Pagination

  • Scale and transition icons on hover.

Progress indicator

  • Scale and transition CollapsingSideBar chevron on hover.

Section alert

  • Update description and “Do” guidance.

Side nav

  • Scale and transition CollapsingSideBar chevron on hover.
  • Vertically align nested sub-level chevron to text.

Table

  • Scale and transition sortable icons on hover.

Tags

  • Prevent border radius from scaling when tag label wraps on multiple lines.
  • Scale and transition remove button icon on hover.

Build

  • Add React 19 as an allowed peer dependency.
  • Update prism-react-renderer.

Other docs

  • Fix various React and deprecation warnings throughout examples.
  • Remove roadmap page.
  • Update conditional reveal pattern page and example code.
  • Add relatedPatterns link section to patterns page.
  • Update section alert guidance in Patterns > Messaging.

Example site

  • Update conditional reveal pattern.

yourgov

  • Update conditional reveal pattern.
  • Fix error for staff with no training when filtering by trainingCompleted.

Released packages

"@ag.ds-next/react": "1.28.0"

Full changelog

Aside from the complete release notes on the @ag.ds-next website, you can also view the verbose change log in the related PR for this release.