27th July, 2022
Rethought our <Columns /> component, improved many of our components to handle colours more consistently, and introduced @babel/runtime as a dependency for most packages.
⚠️ Note: All releases under the @ag.ds-next package scope should be considered alpha pre-releases. Expect breaking changes. Once we are happy with the state of the core packages we will migrate all packages to @ag.ds.
In this release, we rethought our <Columns /> component, improved many of our components to handle colours more consistently, and also introduced @babel/runtime as a dependency for most packages.
New packages
"@ag.ds-next/badge": "1.0.0","@ag.ds-next/skeleton": "1.0.0",Breaking changes
@ag.ds-next/card: RemovedCardListcomponent, please useColumnsinstead.@ag.ds-next/hero-banner: Replacedvariantprop withbackground@ag.ds-next/side-nav: Replacedvariantprop withbackground@ag.ds-next/sub-nav: Replacedvariantprop withbackground
Updates
@ag.ds-next/card@6.0.0
- Remove
CardListcomponent. please useColumnsinstead. - Added support for
cssprop - Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/columns@7.0.0
- Using the new
colsprop on theColumns, you can now specify the amount of columns you want in your grid, rather than being forced to use 12 columns everywhere. This largely removes the need to use theColumncomponent, which greatly improves the API for achieving column layouts. - Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/hero-banner@5.0.0
- Replaced
variantprop withbackground. This component now respects parent colour palette. - Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/side-nav@12.0.0
- Replaced
variantprop withbackground - Improved overflow of mobile version
- Converted
titleLinkinto an optional prop - Removed unnecessary button role on collapsible button
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/sub-nav@2.0.0
- Replaced
variantprop withbackground. This component now respects parent colour palette. - Updated documentation
- Added
@babel/runtimeas a package dependency
@ag.ds-next/accordion@9.0.0
- Added
backgroundprop - Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/box@6.1.0
- Added support for
columnGapandrowGapprops - Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/callout@6.0.0
- Added background prop
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/date-picker@7.0.0
- Narrowed down prop types
- Upgraded
react-day-pickerdependency - Added the ability to disable dates through new
minDateandmaxDateprops - Fixed bug where incorrect element was being focused when calendar first opened
- Fixed bug where users couldn’t input a date using the text input after a value was set
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/field@9.0.0
- Adjusted font weight of
FieldMessage - Prevent flex shrinking of field message alert icon
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/file-upload@5.0.0
- Refreshed UI for invalid files
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/icon@10.0.0
- Added
WarningIconandInfoIcon - Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/progress-indicator@11.0.0
- Added background prop
- Improved overflow of mobile version
- Removed unnecessary button role on collapsible button
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/search-box@11.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
- Narrowed down prop types
@ag.ds-next/select@10.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
- Narrowed down prop types
@ag.ds-next/text-input@10.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
- Narrowed down prop types
@ag.ds-next/textarea@10.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
- Narrowed down prop types
@ag.ds-next/a11y@1.2.1
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/ag-branding@6.1.1
- New error colour token
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/body@8.0.0
- Allow consumers to keep vertical rhythm on specific elements using
bodyBlockClassname - Added styles for tables
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/breadcrumbs@13.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/button@10.0.0
- Added default
type="button"toBaseButton - Improved prop type definitions
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/call-to-action@9.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/content@8.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/control-input@10.0.0
- Narrowed down types for
CheckboxandRadio - Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/core@3.0.1
- Fixed bug in the
Corecomponent where if no theme was supplied, the default theme (GOLD) was not being applied - Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/direction-link@9.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/fieldset@6.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/footer@8.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/form-stack@5.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/header@10.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/heading@8.0.0
- Exported size map object for use in other packages
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/inpage-nav@8.0.0
- Updated title in examples
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/keyword-list@8.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/link-list@11.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/loading@5.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/main-nav@13.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/modal@7.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/page-alert@6.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/pagination@2.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/skip-link@8.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
- Narrowed down types
@ag.ds-next/switch@2.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
- Added comments to each prop to improve documentation
@ag.ds-next/table@5.0.0
- Added new
verticalAlignprop toTableCellwith a default value oftop - Added more options to the
widthprop inTableOption - Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/tags@8.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/task-list@9.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/text@9.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
@ag.ds-next/text-link@5.0.0
- Added
@babel/runtimeas a package dependency - Updated documentation
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 (https://github.com/agriculturegovau/agds-next/pull/499) for this release.
Released packages
"@ag.ds-next/a11y": "1.2.1","@ag.ds-next/accordion": "9.0.0","@ag.ds-next/ag-branding": "6.1.1","@ag.ds-next/badge": "1.0.0","@ag.ds-next/body": "8.0.0","@ag.ds-next/box": "6.1.0","@ag.ds-next/breadcrumbs": "13.0.0","@ag.ds-next/button": "10.0.0","@ag.ds-next/call-to-action": "9.0.0","@ag.ds-next/callout": "6.0.0","@ag.ds-next/card": "6.0.0","@ag.ds-next/columns": "7.0.0","@ag.ds-next/content": "8.0.0","@ag.ds-next/control-input": "10.0.0","@ag.ds-next/core": "3.0.1","@ag.ds-next/date-picker": "7.0.0","@ag.ds-next/direction-link": "9.0.0","@ag.ds-next/field": "9.0.0","@ag.ds-next/fieldset": "6.0.0","@ag.ds-next/file-upload": "5.0.0","@ag.ds-next/footer": "8.0.0","@ag.ds-next/form-stack": "5.0.0","@ag.ds-next/header": "10.0.0","@ag.ds-next/heading": "8.0.0","@ag.ds-next/hero-banner": "5.0.0","@ag.ds-next/icon": "10.0.0","@ag.ds-next/inpage-nav": "8.0.0","@ag.ds-next/keyword-list": "8.0.0","@ag.ds-next/link-list": "11.0.0","@ag.ds-next/loading": "5.0.0","@ag.ds-next/main-nav": "13.0.0","@ag.ds-next/modal": "7.0.0","@ag.ds-next/page-alert": "6.0.0","@ag.ds-next/pagination": "2.0.0","@ag.ds-next/progress-indicator": "11.0.0","@ag.ds-next/search-box": "11.0.0","@ag.ds-next/select": "10.0.0","@ag.ds-next/side-nav": "12.0.0","@ag.ds-next/skeleton": "1.0.0","@ag.ds-next/skip-link": "8.0.0","@ag.ds-next/sub-nav": "2.0.0","@ag.ds-next/switch": "2.0.0","@ag.ds-next/table": "5.0.0","@ag.ds-next/tags": "8.0.0","@ag.ds-next/task-list": "9.0.0","@ag.ds-next/text": "9.0.0","@ag.ds-next/text-input": "10.0.0","@ag.ds-next/text-link": "5.0.0","@ag.ds-next/textarea": "10.0.0",