Skip to content

Commit

Permalink
Merge pull request #850 from City-of-Helsinki/release-2.4.0
Browse files Browse the repository at this point in the history
Release 2.4.0
  • Loading branch information
harriplappalainen authored Oct 10, 2022
2 parents f2c22ec + 034a0b2 commit 1c500a9
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 9 deletions.
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,56 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.4.0] - October, 10, 2022

### React Components

#### Added

- [SSR Support] for hds-react components
- [Icons] A total of 13 new UI icons added

#### Fixed

- [CookieConsent] Cookie consent title is now refocused on language change and the banner won't shrink unexpectedly
- [Link] Ability to pass an aria-label added to the Link component
- [TimeInput] Fixed an accessibility bug by grouping hours and minutes inputs under the same label. Added group="role" to the parent div of TimeInput component's hours and minutes inputs
- [TimeInput] Fixed an accessibility bug by using the correct id with the helper texts. This way the screen readers can connect the helper text to inputs
- Fixed the issue with useTheme hook throwing a warning in jest/testing-library tests when an HDS component is using a theme property
- Loki package updated. Now the Loki tests won't fail with Apple Silicon (M1)

### Core

#### Added

- [Icons] A total of 13 new UI icons added

### Design kit

#### Added

- [Icons] A total of 13 new UI icons added
- Childhood
- Company
- Entrepreneur
- Family
- Genderless
- Group
- Key
- Move
- Occupation
- Senior
- Traveler
- Vaccine
- Virus

### Documentation

#### Added

- Documentation for the SSR support
- New UI icons

## [2.3.0] - September, 14, 2022

### React Components
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hds-core",
"version": "2.3.0",
"version": "2.4.0",
"description": "Core styles for the Helsinki Design System",
"homepage": "https://github.com/City-of-Helsinki/helsinki-design-system#readme",
"license": "MIT",
Expand All @@ -26,7 +26,7 @@
"@storybook/html": "6.4.18",
"copyfiles": "2.2.0",
"cssnano": "4.1.10",
"hds-design-tokens": "2.3.0",
"hds-design-tokens": "2.4.0",
"normalize.css": "8.0.1",
"postcss": "8.2.15",
"postcss-cli": "8.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/design-tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hds-design-tokens",
"version": "2.3.0",
"version": "2.4.0",
"description": "Design tokens for the Helsinki Design System",
"homepage": "https://github.com/City-of-Helsinki/helsinki-design-system#readme",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hds-react",
"version": "2.3.0",
"version": "2.4.0",
"description": "React components for the Helsinki Design System",
"homepage": "https://github.com/City-of-Helsinki/helsinki-design-system#readme",
"license": "MIT",
Expand Down Expand Up @@ -112,7 +112,7 @@
"crc-32": "1.2.0",
"date-fns": "2.16.1",
"downshift": "6.0.6",
"hds-core": "2.3.0",
"hds-core": "2.4.0",
"kashe": "1.0.4",
"lodash.get": "^4.4.2",
"lodash.isequal": "4.5.0",
Expand Down
8 changes: 4 additions & 4 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "site",
"private": true,
"description": "Documentation for Helsinki Design System",
"version": "2.3.0",
"version": "2.4.0",
"workspaces": {
"nohoist": [
"gatsby",
Expand Down Expand Up @@ -39,9 +39,9 @@
},
"devDependencies": {
"eslint-config-react-app": "^7.0.1",
"hds-core": "2.3.0",
"hds-design-tokens": "2.3.0",
"hds-react": "2.3.0",
"hds-core": "2.4.0",
"hds-design-tokens": "2.4.0",
"hds-react": "2.4.0",
"postcss": "8",
"prettier": "2.5.1",
"stylelint": "^14.8.3",
Expand Down
12 changes: 12 additions & 0 deletions site/src/docs/about/what-is-new.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ import LeadParagraph from '../../components/LeadParagraph';
</LeadParagraph>

## Releases
### 2.4.0

*10.10.2022* - <ExternalLink href="https://github.com/City-of-Helsinki/helsinki-design-system/releases/tag/v2.4.0" external>Release notes</ExternalLink>

- **Added**: SSR Support for React components
- **Added**: 13 new UI icons
- **Fixed**: Cookie consent language change doesn't lose focus
- **Fixed**: Link component has support for aria-label for better accessibility
- **Fixed**: Accessibity issues with TimeInput component
- **Fixed** Fixed warning with useTheme hook with jest/testing-library
- **Fixed** Loki tests failing with Apple Silicon (M1)

### 2.3.0

*14.9.2022* - <ExternalLink href="https://github.com/City-of-Helsinki/helsinki-design-system/releases/tag/v.2.3.0" external>Release notes</ExternalLink>
Expand Down

0 comments on commit 1c500a9

Please sign in to comment.