diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ed293b891..1e17ead322 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ # Changelog -## HEAD +## v4.2.0 +* Added prop `srOnlyCaption` which visually hides the caption but keeps it available to screen readers. * Added props `limit` and `offset` to render only a subset of given data. ## v4.1.1 diff --git a/README.md b/README.md index 025dc01fe8..0d7f5ee76a 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ The table accepts any of these optional props: - Click the headers to sort the table. - Tables will not be `sortable` on screen width < 768px (`@breakpoint-md`) - `caption` is a string or node to insert as table caption. -- `srOnlyCaption is a boolean to hide the caption and make it available for screen readers` +- `srOnlyCaption` is a boolean to hide the caption and make it available for screen readers. - `expandedContentMapper` must be a reference to a function which takes a single value. The output of this function will be the contents of the expanded area of an expandable row. - As you see in the example below, the output of this function will be `undefined` for Sivert Svenska, diff --git a/package.json b/package.json index 2cdf12b56c..0c3219929a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ffe-tables-react", - "version": "4.1.1", + "version": "4.2.0", "description": "React implementation of ffe-tables", "main": "lib/index.js", "scripts": {