4th October 2023
AgDS Beta v1.13.0 release
Small patches to App layout, extended Table primitives to support batch actions, plus various bug fixes and improvements.
Updates
App layout
- Fixed small issue in
AppLayoutSidebarwhere the text color wasn’t being applied correctly to text list items in dark mode - Extended the
itemsprop inAppLayoutSidebarto accept an object withoptionsanditems. This allows consumers to control the padding between sidebar navigation groups.
File upload
- Added thumbnails to selected files. This can be disabled via a new
hideThumbnailsprop - Extended the
acceptprop so MIME types that are not in the predefined list can be used - Exported
formatFileSizeutility function. Example usage:import { formatFileSize } from '@ag.ds-next/react/file-upload' - Upgraded internal
react-dropzonedependency
Icon
- Created new icon
FileIcon
table
-
Created new components for batch table actions:
TableBatchActionsBarandTableBatchActionsTitle -
Created new
TableRowcomponent. If you’re using the standard<tr>HTML element, you can optionally upgrade to this new component.
<Table> <TableHead>- <tr>+ <TableRow> <TableHeader scope="col">Location</TableHeader> <TableHeader scope="col">Population</TableHeader>- </tr>+ </TableRow> </TableHead> <TableBody>- <tr>+ <TableRow> <TableCell>New South Wales</TableCell> <TableCell>7,670,700</TableCell>- <tr>+ </TableRow> </TableBody></Table>Released packages
"@ag.ds-next/react": "1.13.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.