diff --git a/.styleguidist/typography.md b/.styleguidist/typography.md
index 6bc2df0a6..0109d8d33 100644
--- a/.styleguidist/typography.md
+++ b/.styleguidist/typography.md
@@ -106,12 +106,12 @@ const HeadingSet = ({ name, size, mb, code, ...passProps }) => (
code=""
/>
- {[1, 2, 3, 4, 5, 6].map(n => (
+ {[1, 2, 3, 4, 5].map(n => (
`}
/>
(
smallScreen
variant={`h${n}`}
name={`Heading ${n}`}
- size={
- typographyTokens[`heading${n !== 6 ? n : 5}SmallScreen`]
- .fontSize
- }
+ size={typographyTokens[`heading${n}SmallScreen`].fontSize}
code={``}
/>
diff --git a/package.json b/package.json
index 419a74cdf..22f98dc5a 100644
--- a/package.json
+++ b/package.json
@@ -115,7 +115,7 @@
"polished": "3.4.0",
"react-svg": "7.2.2",
"styled-components": "4.3.2",
- "suomifi-design-tokens": "0.3.0",
+ "suomifi-design-tokens": "0.4.0",
"suomifi-icons": "0.0.10",
"uuid": "3.3.2"
},
diff --git a/src/core/Heading/Heading.md b/src/core/Heading/Heading.md
index 378a1815c..2a95d202f 100644
--- a/src/core/Heading/Heading.md
+++ b/src/core/Heading/Heading.md
@@ -8,7 +8,6 @@ import { Heading } from 'suomifi-ui-components';
h3 text
h4 text
h5 text
- h6 text
h1 text with hero styling
h1 text for small screen resolution
diff --git a/src/core/Heading/Heading.test.tsx b/src/core/Heading/Heading.test.tsx
index 87d5a8058..9c9c1f5a8 100644
--- a/src/core/Heading/Heading.test.tsx
+++ b/src/core/Heading/Heading.test.tsx
@@ -13,7 +13,6 @@ const TestHeadings = (
Test Heading
Test Heading
Test Heading
- Test Heading
);
diff --git a/src/core/Heading/Heading.tsx b/src/core/Heading/Heading.tsx
index 274912384..1bb22edde 100644
--- a/src/core/Heading/Heading.tsx
+++ b/src/core/Heading/Heading.tsx
@@ -82,10 +82,6 @@ export class Heading extends Component {
);
- static h6 = (props: Omit) => (
-
- );
-
render() {
const { variant, ...passProps } = withSuomifiDefaultProps(this.props);
if (!variant) {
diff --git a/src/core/Heading/__snapshots__/Heading.test.tsx.snap b/src/core/Heading/__snapshots__/Heading.test.tsx.snap
index f8cfe1d7b..90c970ff8 100644
--- a/src/core/Heading/__snapshots__/Heading.test.tsx.snap
+++ b/src/core/Heading/__snapshots__/Heading.test.tsx.snap
@@ -321,10 +321,5 @@ exports[`calling render with the same component on the same container does not r
>
Test Heading
-
- Test Heading
-
`;
diff --git a/src/reset/HtmlH/HtmlH.tsx b/src/reset/HtmlH/HtmlH.tsx
index 69ae6048f..e6f93e69c 100644
--- a/src/reset/HtmlH/HtmlH.tsx
+++ b/src/reset/HtmlH/HtmlH.tsx
@@ -3,7 +3,7 @@ import { default as styled, css } from 'styled-components';
import { resets } from '../utils';
import { Omit, asPropType } from '../../utils/typescript';
-export type hLevels = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
+export type hLevels = 'h1' | 'h2' | 'h3' | 'h4' | 'h5';
export interface HtmlHProps
extends Omit, 'ref' | 'as'> {
diff --git a/yarn.lock b/yarn.lock
index b3f30ade2..6a440b75d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6715,12 +6715,7 @@ lodash.uniq@^4.5.0:
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
-lodash@4.17.15, lodash@^4.13.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.5:
- version "4.17.15"
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
- integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
-
-lodash@^4.17.13:
+lodash@4.17.15, lodash@^4.13.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.5:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
@@ -10543,10 +10538,10 @@ sugarss@^2.0.0:
dependencies:
postcss "^7.0.2"
-suomifi-design-tokens@0.3.0:
- version "0.3.0"
- resolved "https://registry.yarnpkg.com/suomifi-design-tokens/-/suomifi-design-tokens-0.3.0.tgz#694660b5038e1a652ad64d2a8e727f0561392588"
- integrity sha512-brxPbFjpJUNm17SF/d174UhZtZGZJPL8OhRApBVi30eCm9BFptiqD18SLy1k58dlloVfqGjhALNnHiwhEcFftA==
+suomifi-design-tokens@0.4.0:
+ version "0.4.0"
+ resolved "https://registry.yarnpkg.com/suomifi-design-tokens/-/suomifi-design-tokens-0.4.0.tgz#5b8e4d0bc60b2274287c8d1bbb6990bb74d0e52f"
+ integrity sha512-R1O4Uq3RoW5NWloix+nrFfgd+4XntW2gU4l6qaBKkGmP65rIUeOPwpiGA7UyGc24Oy3EId0p3+dt17EdWlb9Kw==
suomifi-icons@0.0.10:
version "0.0.10"