10th July 2024
AgDS Beta v1.23.0 release
Add sub-level support to App layout sidebar, new UX for Side nav sub-levels, add theming to Main nav and Footer, allow co-branding App layout header, plus various bug fixes and improvements.
Updates
App layout
- Add co-branding to the
AppLayoutHeaderviasecondHref,secondLogo, anddividerPositionprops. - Add sub-level support for
AppLayoutSidebarnavigation items with accompanyingalwaysandwhenActivestrategies for making them visible. - Fix
AppLayoutHeaderdivider width.
Button
- Add
formprop from native button props to allow submit buttons to be connected from outside a form.
Checkbox
- Fix
requiredto setaria-required. - Add
namesupport.
Combobox
- Combobox multi: Allow backspace to remove selected items when the popover is open.
Control group
- Fix passing
requiredtoCheckboxandRadiochildren. - Add automatic & custom
namesupport.
Date picker
- Reduce the size of and horizontally centre the calendar when the screen size is less than 375px.
Footer
- Add
borderColorprop toFooter. - Add
colorprop toFooterDivider.
Header
- Fix spacing on desktop.
- Fix divider not being hidden when wrapping to a second line.
Main nav
- Add
focusModeprop. - Add
borderColorprop toMainNavandMainNavBottomBar. - Deprecate
MainNavBottomBar. - Fix mobile dialog menu not closing when you press the active link.
- Use correct ARIA labels for menu button & dialog. Remove other incorrect ARIA properties.
Modal
- Make the Close button’s visual and reading order identical.
Radio
- Fix
requiredto setaria-required. - Add
namesupport.
Side nav
- Add
alwaysandwhenActivestrategies for making sub-level items visible. The new default will bewhenActiveasalwaysshould be used sparingly and when only a small number of navigation items exist.
Table
- Fix
textAlignsupport inTableHeaderSortable.
Build
- Add
'use client'to entrypoints so they can be imported and used directly from server components
Docs/Storybook
- Drawer: Add examples of creating an accessible form within a drawer.
- Header: Update co-branding example.
- Pagination: Fix “Items per page” section not showing correct page number.
Released packages
"@ag.ds-next/react": "1.23.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.