Skip to content

Commit

Permalink
Showing 11 changed files with 36 additions and 19 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -6,6 +6,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.11.2] - June 5, 2020
### Documentation site
#### Added
- Link to logo kit download to Visual elements/Logo page
- Statement to Accessibility page about which WCAG guideline version HDS follows

#### Changed
- Moved Resources page to upper navigation level for better visibility
- External links now include icon
- External links now open to a new tab
- "Work in progress" text now uses current implementation of Notification component
- "Coming soon" text no longer uses block quote (text contrast was not accessible)
- Names of links to Visual Identity Guidelines now clearly state the page title

#### Fixed
- Multiple typos
- Multiple links that pointed to old WCAG 2.0 now point to WCAG 2.1 version
- Blurry image on the Visual assets/Icons page

### React
#### Added
- [Dropdown] `selectedOption` prop for controlling the selected option(s) of a dropdown

#### Fixed
- Removed redundant style imports causing browser console warnings

## [0.11.1] - June 2, 2020
### Core
#### Fixed
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": "0.11.1",
"version": "0.11.2",
"description": "Core styles for the Helsinki Design System",
"author": "Anssi Lehtonen <lehtovaaralainen@gmail.com>",
"contributors": [
@@ -28,7 +28,7 @@
"@storybook/addons": "6.0.0-beta.13",
"@storybook/html": "6.0.0-beta.13",
"copyfiles": "2.2.0",
"hds-design-tokens": "0.11.1",
"hds-design-tokens": "0.11.2",
"normalize.css": "8.0.1",
"postcss": "7.0.30",
"postcss-cli": "7.1.1",
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": "0.11.1",
"version": "0.11.2",
"description": "Design tokens for the Helsinki Design System",
"author": "Niclas Liimatainen <niclas.liimatainen@digia.com>",
"homepage": "https://github.com/City-of-Helsinki/helsinki-design-system#readme",
1 change: 1 addition & 0 deletions packages/react/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ import { Props, Stories, Title } from '@storybook/addon-docs/dist/blocks';
import { addParameters } from '@storybook/react';
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';

import 'hds-core';
import './index.css';

const viewports = {
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": "0.11.1",
"version": "0.11.2",
"license": "MIT",
"main": "lib/index.js",
"module": "lib-esm/index.js",
@@ -72,7 +72,7 @@
},
"dependencies": {
"downshift": "5.4.0",
"hds-core": "0.11.1",
"hds-core": "0.11.2",
"lodash.isequal": "4.5.0",
"lodash.uniqueid": "4.0.1",
"react-spring": "8.0.27"
2 changes: 0 additions & 2 deletions packages/react/src/components/button/Button.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "hds-core";

.button {
composes: hds-button from 'hds-core/lib/components/button/button.css';
}
2 changes: 0 additions & 2 deletions packages/react/src/components/checkbox/Checkbox.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "hds-core";

.checkbox {
composes: hds-checkbox from 'hds-core/lib/components/checkbox/checkbox.css';
}
2 changes: 0 additions & 2 deletions packages/react/src/components/dropdown/Dropdown.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "hds-core";

.root {
--border-radius: 2px;
--border-width: 2px;
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "hds-core";

.radioButton {
composes: hds-radio-button from 'hds-core/lib/components/radio-button/radio-button.css';
}
2 changes: 0 additions & 2 deletions packages/react/src/components/textinput/TextInput.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "hds-core";

.root {
composes: hds-text-input from 'hds-core/lib/components/text-input/text-input.css';
position: relative;
8 changes: 4 additions & 4 deletions site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "site",
"version": "0.11.1",
"version": "0.11.2",
"private": true,
"description": "Documentation for Helsinki Design System",
"license": "MIT",
@@ -22,9 +22,9 @@
"devDependencies": {
"gatsby-cli": "2.12.29",
"gatsby-plugin-matomo": "0.8.3",
"hds-core": "0.11.1",
"hds-design-tokens": "0.11.1",
"hds-react": "0.11.1",
"hds-core": "0.11.2",
"hds-design-tokens": "0.11.2",
"hds-react": "0.11.2",
"react-helmet": "6.0.0",
"rimraf": "3.0.2"
}

0 comments on commit 7f1d556

Please sign in to comment.