20th March 2023
AgDS Beta v1.3.0 release
Extended the functionality of Date picker and Date range picker, improved accessibility of Table, updated Side Nav styling, various bug fixes and improvements.
Updates
Autocomplete
- Improved styles for disabled state (PR #981)
Box
- Updated the
paletteprop to accept responsive values. For example<Box palette={["dark", "light"]} />. (PR #1021)
Combobox
- Fixed bug where the dropdown trigger button and clear button were not being marked or shown as disabled (PR #981)
- Improved styles for disabled state (PR #981)
Control Input
- Improved styles for disabled state (PR #981)
Core
- Removed dependency to Reach UI as it is no longer being maintained. The logic from
@reach/auto-idhas been forked and copied into the repo. (PR #1002)
Date picker
- Updated default label to show ‘(optional)’ when the field is not required. This is consistent with all other form components in the design system. (PR #1008)
- Added new prop
onInputChangewhich can be used to track the value of the text input (PR #997) - Updated the type of the
valueprop so it can accept string (which represents the value of the text input) (PR #997) - Removed unused prop
placeholder(PR #1016) - Removed options
xsandsmfrommaxWidthprop. These widths were too small to be used in this component. (PR #1016) - Improved styles for disabled state (PR #981)
- Improved test coverage (PR #999)
Date range picker
- Updated default label to show ‘(optional)’ when the field is not required. This is consistent with all other form components in the design system. (PR #1008)
- Updated the type of the
valueprop so it can accept string (which represents the value of the text inputs) (PR #997)- Added new proponFromInputChangeandonToInputChangewhich can be used to track the value of the text inputs (PR #997) - Added support for a legend to be supplied via a new
legendprop. If no legend is supplied, a default legend ofDate rangewill be rendered but will be visually hidden. (PR #1000) - Added support for hint text via the
hintprop (PR #1000) - Added support for an invalid state via the
fromInvalid,toInvalidandmessageprop (PR #1000) - Improved styles for disabled state (PR #981)
- Improved test coverage (PR #999)
Field
- Updated behaviour of the
secondaryLabelprop so it will prepend any text to the label instead of replacing default secondary label ‘(optional)’. (PR #1008) - Added
classNameprop toFieldLabel(PR #998) - Fixed typos in hook
useScrollToField(PR #998) - Exported component props and added comments to props (PR #998)
File input
- Improved styles for disabled state (PR #981)
Icon
- Added new icons
ChevronsUpDownIcon,EmailIcon,FacebookIcon,InstagramIcon,LinkedInIcon,WebsiteIconandTwitterIcon. (PR #1005)
Search input
- Improved styles for disabled state (PR #981)
Side nav
- Updated interface of link list items as per latest designs (PR #1023)
- Removed exports of primitive components and modular storybook example (PR #1023)
Summary list
- Fixed a text colour bug when this component was placed inside dark palette. This was done by adding an explicit colour to
SummaryListItemTermandSummaryListItemDescription. (PR #1022)
Table
- Add support for
idprop (PR #1010) - Add support for
table-layoutprop (PR #1015) - Add support for
aria-labelledbyandaria-describedbyprops (PR #1007) - Widen types for column widths (PR #1015)
TableCellsupports usage as a row header (th) (PR #1017)
Text input
- Improved styles for disabled state (PR #981)
Textarea
- Improved styles for disabled state (PR #981)
Released packages
"@ag.ds-next/react": "1.3.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.