21st March 2025
AgDS Beta v1.26.0 release
Adds two new replacement Date picker components, a Toggle button component, 18 new icons, wide-screen layout improvements, TypeScript support for many native HTML attributes, updated release of the yourgov app, plus various bug fixes and improvements.
Updates
Accordion
- Fix all
act/state warnings in tests.
AG branding
- Update all theme colours to be consistent, 6 character hex codes.
App layout
AppLayoutFooter: AddmaxWidth='container|containerLg'prop.AppLayoutSidebarNav: Update to cater for additional native mouse events on links and buttons.
Autocomplete
- Fix all
act/state warnings in tests.
Box
- Hide internal hash URLs for print media.
Button
- Add TypeScript support for native
onMouseEnter,onMouseLeave,onMouseOutandonMouseOverevents toBaseButton. - Use
exactColorto improve visuals when printing. - docs: Add guidance about customising
loadingLabel.
Callout
- docs: Remove callout in control group as we no longer support this pattern.
Combobox
- Fix all
act/state warnings in tests.
Content
- Add
maxWidth='container|containerLg'prop to all content components.
Core
- Add new
'containerLg'maxWidthtoken. - Allow
maxWidthprop to pick frommaxWidthtokens. - Add TypeScript support for native
onClick,onMouseEnter,onMouseLeave,onMouseOutandonMouseOverevents toLinkProps. - Add new
exactColorprint pack. - Add new
hideHrefprint pack to prevent a link’shreffrom being appended when printed. - Update all theme colours to be consistent, 6 character hex codes.
Date picker
- Add superseded announcement.
- Add
aria-expandedattribute to button. - Make the example date more relevant.
- Fix Escape keydown listener so it doesn’t close a parent
Drawer. - Fix all
act/state warnings in tests.
Date picker next
- Initial release of component.
Date range picker
- Add superseded announcement.
- Add
aria-expandedattribute to button. - Make the example date more relevant.
- Fix 2nd calendar dropdown updating to the wrong calendar.
- Fix Escape keydown listener so it doesn’t close a parent
Drawer. - Fix all
act/state warnings in tests.
Date range picker next
- Initial release of component.
Drawer
- Remove deprecated, internal
onDismissprop onDrawerDialog. - Change deprecation warnings to not appear in production environments.
- Fix all
act/state warnings in tests. - docs: Add
DatePickerNextto form example.
Dropdown menu
- Add
eventargument toonClickfunction prop. - Fix all
act/state warnings in tests.
File input
- Fix button click not firing when
refis passed. - Fix focus management.
File upload
- Hide existing file URLs for print media.
- Add
downloadsupport for uploaded and existing files.
Footer
- Add
maxWidth='container|containerLg'prop.
Global alert
- Use
exactColorto improve visuals when printing. - Change deprecation warnings to not appear in production environments.
Header
- Add
maxWidth='container|containerLg'prop.
Icon
- Add new icons:
ArchiveIcon,BusinessIcon,ClockIcon,EmailOpenIcon,FlagFilledIcon,FlagIcon,GripIcon,HistoryIcon,MoveLeftIcon,MoveRightIcon,ProgressNotRequiredIcon,RotateLeftIcon,RotateRightIcon,StarFilledIcon,StarIcon,TimerIcon,ZoomInIconandZoomOutIcon. - Minify icons:
AlertFilledIcon,AlertIcon,ArrowDownIcon,ArrowLeftIcon,ArrowRightIcon,ArrowUpDownIcon,ArrowUpIcon,AvatarIcon,CalendarIcon,ChartBarIcon,ChartLineIcon,CheckIcon,ChevronDownIcon,ChevronLeftIcon,ChevronRightIcon,ChevronUpIcon,ChevronsLeftIcon,ChevronsRightIcon,ChevronsUpDownIcon,CloseIcon,CopyIcon,DeleteIcon,DownloadIcon,EditIcon,EmailIcon,ExitIcon,ExternalLinkIcon,FacebookIcon,FactoryIcon,FileIcon,FilterIcon,HelpIcon,HomeIcon,InboxIcon,InfoFilledIcon,InfoIcon,InstagramIcon,LinkedInIcon,MenuIcon,MinusIcon,PauseIcon,PlayIcon,PlusIcon,PrintIcon,ProgressDoingIcon,SearchIcon,SuccessFilledIcon,ThumbsDownIcon,ThumbsUpIcon,TwitterIcon,UploadIcon,WarningIcon,WebsiteIconandXIcon.
Indicator dot
- Use
exactColorto improve visuals when printing.
List
- docs: Fix examples.
Loading
- Announce
'fullscreen'LoadingBlanketassertively. - Use
exactColorto improve visuals when printing.
Main nav
- Add
maxWidth='container|containerLg'prop. - Update
MainNavListto cater for additional native mouse events on links and buttons.
Modal
- Remove deprecated, internal
onDismissprop onModalDialog. - Change deprecation warnings to not appear in production environments.
- Fix all
act/state warnings in tests.
Notification badge
- Use
exactColorto improve visuals when printing.
Page alert
- Change deprecation warnings to not appear in production environments.
- Use
exactColorto improve visuals when printing.
Pagination
- Hide URLs for print media.
Password input
- Fix all
act/state warnings in tests.
Search input
- Fix all
act/state warnings in tests.
Section alert
- Change deprecation warnings to not appear in production environments.
Side nav
- Fix all
act/state warnings in tests.
Status badge
- Update to match design and remove the unnecessary whitespace that was being added below.
- Remove emphasis from icon announcement.
Switch
- Use
exactColorto improve visuals when printing.
Table
- Add
onMouseEnter,onMouseLeave,onMouseOutandonMouseOverprops. - Update
onClickto matchBaseButton’s signature.
Tabs
- Use
exactColorto improve visuals when printing. - Fix all
act/state warnings in tests.
Task list
- Add new
'notRequired'status.
Time input
- Fix all
act/state warnings in tests.
Time picker
- Fix all
act/state warnings in tests.
Toggle button
- Initial release of component.
Other docs
- Make
packsavailable for use in code snippets and playroom. - patterns: Fixed Card link in Search filters page.
- Remove unused react-simple-code-editor.
- Update Storybook to version 8, update NextJS and Playroom to latest minor version.
Build
- Dependency updates.
yourgov
- Updated release of complex example application to showcase various patterns.
Released packages
"@ag.ds-next/react": "1.26.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.