Agriculture Design System
Beta
Design System for the Export Service
17th October 2023

AgDS Beta v1.14.0 release

Extended Pagination to support items range text and items per page select dropdown, improved accessibility of the Dropdown menu, plus various bug fixes and improvements.

Updates

App layout

  • Removed ‘Menu’ button from mobile variant when in focus mode

Checkbox

  • If supplied, the invalid prop will now override the value of the invalid prop set in ControlGroup

Combobox

  • Improved internal positioning engine

Dropdown menu

  • Improved accessibility by ensuring that the DropdownMenuButton component always has a valid aria-controls attribute
  • Improved accessibility by allowing users to press Enter, Space, ArrowDown or ArrowUp keys to open up the dropdown menu and activate a child descendant
  • Fixed a bug where keyboard shortcuts couldn’t be used when the dropdown menu was open - e.g. refresh the page using cmd + r
  • Improved accessibility by significantly improving the logic for searching for a child descendant

Icon

  • Created InboxIcon, PauseIcon and PlayIcon

File upload

  • Exported formatFileSize utility
  • Removed border from thumbnail
  • Added support for showing previously uploaded files with the new existingFiles and onRemoveExistingFile props.

Main nav

  • Updated the mobile variant to always render in the light palette

Pagination

  • Extended Pagination and PaginationButtons components to support items range text and items per page select dropdown

Status badge

  • Made each icon in the StatusBadge component announceable by screen readers

Table

  • Added support for aria-rowcount and aria-rowindex on the Table component

Released packages

"@ag.ds-next/react": "1.14.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.