diff --git a/CHANGELOG.md b/CHANGELOG.md index 0953002178..cac677aae7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/packages/core/package.json b/packages/core/package.json index 9c3a24eeb1..f8e16c5ddf 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -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 ", "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", diff --git a/packages/design-tokens/package.json b/packages/design-tokens/package.json index cba4c410e4..a520e5b48f 100644 --- a/packages/design-tokens/package.json +++ b/packages/design-tokens/package.json @@ -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 ", "homepage": "https://github.com/City-of-Helsinki/helsinki-design-system#readme", diff --git a/packages/react/.storybook/preview.js b/packages/react/.storybook/preview.js index 8c1e7cc6ab..4660900d7b 100644 --- a/packages/react/.storybook/preview.js +++ b/packages/react/.storybook/preview.js @@ -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 = { diff --git a/packages/react/package.json b/packages/react/package.json index 85eeab1a58..3e99d90b15 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -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" diff --git a/packages/react/src/components/button/Button.module.css b/packages/react/src/components/button/Button.module.css index 647e1b6f97..7abdf21eba 100644 --- a/packages/react/src/components/button/Button.module.css +++ b/packages/react/src/components/button/Button.module.css @@ -1,5 +1,3 @@ -@import "hds-core"; - .button { composes: hds-button from 'hds-core/lib/components/button/button.css'; } diff --git a/packages/react/src/components/checkbox/Checkbox.module.css b/packages/react/src/components/checkbox/Checkbox.module.css index f536bb66a3..5c6d49bc79 100644 --- a/packages/react/src/components/checkbox/Checkbox.module.css +++ b/packages/react/src/components/checkbox/Checkbox.module.css @@ -1,5 +1,3 @@ -@import "hds-core"; - .checkbox { composes: hds-checkbox from 'hds-core/lib/components/checkbox/checkbox.css'; } diff --git a/packages/react/src/components/dropdown/Dropdown.module.css b/packages/react/src/components/dropdown/Dropdown.module.css index e68add5acb..129a5c344e 100644 --- a/packages/react/src/components/dropdown/Dropdown.module.css +++ b/packages/react/src/components/dropdown/Dropdown.module.css @@ -1,5 +1,3 @@ -@import "hds-core"; - .root { --border-radius: 2px; --border-width: 2px; diff --git a/packages/react/src/components/radiobutton/RadioButton.module.css b/packages/react/src/components/radiobutton/RadioButton.module.css index 38a650db2a..ca4a11fa42 100644 --- a/packages/react/src/components/radiobutton/RadioButton.module.css +++ b/packages/react/src/components/radiobutton/RadioButton.module.css @@ -1,5 +1,3 @@ -@import "hds-core"; - .radioButton { composes: hds-radio-button from 'hds-core/lib/components/radio-button/radio-button.css'; } diff --git a/packages/react/src/components/textinput/TextInput.module.css b/packages/react/src/components/textinput/TextInput.module.css index 1393cb7a76..2d3a1311f8 100644 --- a/packages/react/src/components/textinput/TextInput.module.css +++ b/packages/react/src/components/textinput/TextInput.module.css @@ -1,5 +1,3 @@ -@import "hds-core"; - .root { composes: hds-text-input from 'hds-core/lib/components/text-input/text-input.css'; position: relative; diff --git a/site/package.json b/site/package.json index d6d4cbadbb..801a01abb1 100644 --- a/site/package.json +++ b/site/package.json @@ -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" }