From 0b69670cca098b26946dabd6493a22a8eab18eea Mon Sep 17 00:00:00 2001
From: Mika Nevalainen
Date: Mon, 30 May 2022 11:15:53 +0300
Subject: [PATCH 1/6] Bump version numbers
---
packages/core/package.json | 4 ++--
packages/design-tokens/package.json | 2 +-
packages/react/package.json | 4 ++--
site/package.json | 8 ++++----
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/packages/core/package.json b/packages/core/package.json
index 1897137b9a..1937de22d0 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "hds-core",
- "version": "1.14.0",
+ "version": "1.15.0",
"description": "Core styles for the Helsinki Design System",
"homepage": "https://github.com/City-of-Helsinki/helsinki-design-system#readme",
"license": "MIT",
@@ -26,7 +26,7 @@
"@storybook/html": "6.4.18",
"copyfiles": "2.2.0",
"cssnano": "4.1.10",
- "hds-design-tokens": "1.14.0",
+ "hds-design-tokens": "1.15.0",
"normalize.css": "8.0.1",
"postcss": "8.2.15",
"postcss-cli": "8.3.1",
diff --git a/packages/design-tokens/package.json b/packages/design-tokens/package.json
index b192f95463..02a717ac40 100644
--- a/packages/design-tokens/package.json
+++ b/packages/design-tokens/package.json
@@ -1,6 +1,6 @@
{
"name": "hds-design-tokens",
- "version": "1.14.0",
+ "version": "1.15.0",
"description": "Design tokens for the Helsinki Design System",
"homepage": "https://github.com/City-of-Helsinki/helsinki-design-system#readme",
"license": "MIT",
diff --git a/packages/react/package.json b/packages/react/package.json
index 27ce5a6954..6bef2ba455 100644
--- a/packages/react/package.json
+++ b/packages/react/package.json
@@ -1,6 +1,6 @@
{
"name": "hds-react",
- "version": "1.14.0",
+ "version": "1.15.0",
"description": "React components for the Helsinki Design System",
"homepage": "https://github.com/City-of-Helsinki/helsinki-design-system#readme",
"license": "MIT",
@@ -106,7 +106,7 @@
"@react-aria/visually-hidden": "3.2.0",
"date-fns": "2.16.1",
"downshift": "6.0.6",
- "hds-core": "1.14.0",
+ "hds-core": "1.15.0",
"lodash.isequal": "4.5.0",
"lodash.isfunction": "3.0.9",
"lodash.uniqueid": "4.0.1",
diff --git a/site/package.json b/site/package.json
index 2af0be1358..6828b1442a 100644
--- a/site/package.json
+++ b/site/package.json
@@ -1,6 +1,6 @@
{
"name": "site",
- "version": "1.14.0",
+ "version": "1.15.0",
"private": true,
"description": "Documentation for Helsinki Design System",
"license": "MIT",
@@ -23,9 +23,9 @@
"date-fns": "^2.23.0",
"gatsby-cli": "2.12.29",
"gatsby-plugin-matomo": "0.8.3",
- "hds-core": "1.14.0",
- "hds-design-tokens": "1.14.0",
- "hds-react": "1.14.0",
+ "hds-core": "1.15.0",
+ "hds-design-tokens": "1.15.0",
+ "hds-react": "1.15.0",
"react-helmet": "6.0.0",
"react-markdown": "^6.0.3",
"rimraf": "3.0.2"
From 334976cbb1ee1cfeeedf4990c3baee05e792817b Mon Sep 17 00:00:00 2001
From: Mika Nevalainen
Date: Mon, 30 May 2022 11:16:50 +0300
Subject: [PATCH 2/6] Bump version numbers also in new site package.json
---
new-site/package.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/new-site/package.json b/new-site/package.json
index d8bfc75b7c..09cfe0673f 100644
--- a/new-site/package.json
+++ b/new-site/package.json
@@ -29,9 +29,9 @@
"sass": "^1.49.9"
},
"devDependencies": {
- "hds-core": "^1.14.0",
- "hds-design-tokens": "^1.14.0",
- "hds-react": "^1.14.0",
+ "hds-core": "^1.15.0",
+ "hds-design-tokens": "^1.15.0",
+ "hds-react": "^1.15.0",
"prettier": "2.5.1"
},
"keywords": [
From c057a064c21ab8d6230c2019bd30fe954c2caafb Mon Sep 17 00:00:00 2001
From: Mika Nevalainen
Date: Mon, 30 May 2022 11:30:07 +0300
Subject: [PATCH 3/6] Update CHANGELOG
---
CHANGELOG.md | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9f41d5f043..c8bc94db56 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [1.15.0] - May, 30, 2022
+
+### React Components
+
+#### Added
+
+- [Navigation] add ariaLabel property
+- [SideNavigation] add ariaLabel property
+
+#### Fixed
+
+- [Navigation] initializing of useMobile hook
+- [SideNavigation] Keyboard navigation on small screens
+- [Tab] OnClick callback is called also when a tab is selected with the keyboard
+
+### Design kit
+
+#### Changed
+
+- Updated HDS Sketch libraries to Sketch 88.1
+
## [1.14.0] - May, 5, 2022
### React Components
From 2f691ebac6de5cd571e77df0f96550b4252e6346 Mon Sep 17 00:00:00 2001
From: Mika Nevalainen
Date: Mon, 30 May 2022 11:34:17 +0300
Subject: [PATCH 4/6] Update CHANGELOG
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c8bc94db56..ca38c28f3d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [Navigation] initializing of useMobile hook
- [SideNavigation] Keyboard navigation on small screens
-- [Tab] OnClick callback is called also when a tab is selected with the keyboard
+- [Tabs] Tab OnClick callback is called also when a tab is selected with the keyboard
### Design kit
From f1b561468d3640ed45dbb658bbdd425b8cd36c98 Mon Sep 17 00:00:00 2001
From: Mika Nevalainen
Date: Mon, 30 May 2022 11:35:40 +0300
Subject: [PATCH 5/6] Update what-is-new
---
site/docs/about/new.mdx | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/site/docs/about/new.mdx b/site/docs/about/new.mdx
index b07b963915..aa818c3dd5 100644
--- a/site/docs/about/new.mdx
+++ b/site/docs/about/new.mdx
@@ -13,6 +13,13 @@ import Link from "../../src/components/Link";
Here you will find summarized patch notes of major releases of HDS. For full patch notes for each release, please refer to the GitHub releases.
+
1.15.0 - 30.5.2022 - Release notes
+
+- **Added**: AriaLabel property to Navigation and SideNavigation to distinguish different navigational components
+- **Fixed**: SideNavigation keyboard navigating on smaller screens
+- **Fixed**: initializing of useMobile hook. Used in Navigation component
+- **Fixed**: Tabs' Tab OnClick callback is called also when a tab is selected with the keyboard
+
1.14.0 - 5.5.2022 - Release notes
- **Added**: className prop for dialog action button container to enable customisation
From f58add4a44682806a14b6e3e2df3728042b4cbf7 Mon Sep 17 00:00:00 2001
From: Mika Nevalainen
Date: Mon, 30 May 2022 11:35:49 +0300
Subject: [PATCH 6/6] Update what-is-new in new site
---
new-site/src/docs/about/what-is-new.mdx | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/new-site/src/docs/about/what-is-new.mdx b/new-site/src/docs/about/what-is-new.mdx
index a6ac41690c..36dac6a370 100644
--- a/new-site/src/docs/about/what-is-new.mdx
+++ b/new-site/src/docs/about/what-is-new.mdx
@@ -12,6 +12,20 @@ import LeadParagraph from '../../components/LeadParagraph';
Here you will find summarized patch notes of major releases of HDS. For full patch notes for each release, please refer to the GitHub releases.
+**1.15.0** - *30.5.2022* - Release notes
+
+- **Added**: AriaLabel property to Navigation and SideNavigation to distinguish different navigational components
+- **Fixed**: SideNavigation keyboard navigating on smaller screens
+- **Fixed**: initializing of useMobile hook. Used in Navigation component
+- **Fixed**: Tabs' Tab OnClick callback is called also when a tab is selected with the keyboard
+
+**1.14.0** - *5.5.2022* - Release notes
+
+- **Added**: className prop for dialog action button container to enable customisation
+- **Added**: ref prop for Link to fix preloading content with Next.js framework
+- **Added**: Support for React 17
+- **Fixed**: Wrapping of dialog action buttons on desktop
+
**1.13.0** - *20.4.2022* - Release notes
- **Added**: Pagination Core component