Agriculture Design System
Beta
Design System for the Export Service
31st October 2023

AgDS Beta v1.15.0 release

Various minor bug fixes and improvements.

Updates

Autocomplete

  • Improved the renderItem prop which controls how each option in the dropdown list is rendered. Inside this function, consumers can style extra information about an option by using a new component called AutocompleteRenderItem.

Button

  • Added flex-shrinking to icons to prevent from shrinking when the button label spans multiple lines
  • Switched to min-height instead of height to better accommodate buttons with multi-line labels
  • Updated text alignment for the text button variant

Combobox

  • Improved the renderItem prop which controls how each option in the dropdown list is rendered. Inside this function, consumers can style extra information about an option by using a new component called ComboboxRenderItem.

Dropdown menu

  • Minor improvements to internal state reducer

Pagination

  • Fixed small bug where separators were sometimes being displayed unnecessarily

Text input

  • Added support for max-length

Released packages

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