terra-heading
Advanced tools
Comparing version 4.30.0 to 4.31.0
@@ -7,2 +7,8 @@ ChangeLog | ||
4.31.0 - (June 9, 2020) | ||
------------------ | ||
### Changed | ||
* Minor file changes to comply with eslint rules | ||
* Update wdio test configuration to use root wdio config | ||
4.30.0 - (May 19, 2020) | ||
@@ -9,0 +15,0 @@ ------------------ |
{ | ||
"name": "terra-heading", | ||
"main": "lib/Heading.js", | ||
"version": "4.30.0", | ||
"version": "4.31.0", | ||
"description": "Terra includes styling for all standard headings `h1` through `h6`, as well as styles that match the size of their respective heading.", | ||
@@ -32,4 +32,4 @@ "repository": { | ||
"prop-types": "^15.5.8", | ||
"terra-arrange": "^3.33.0", | ||
"terra-markdown": "^2.39.0" | ||
"terra-arrange": "^3.34.0", | ||
"terra-markdown": "^2.40.0" | ||
}, | ||
@@ -42,10 +42,10 @@ "scripts": { | ||
"precompile": "rm -rf lib", | ||
"test": "npm run jest && npm run wdio", | ||
"test": "npm run lint && npm run jest && npm run wdio", | ||
"jest": "jest --config ../../jestconfig.js", | ||
"wdio-default": "cd ../.. && npx wdio ./packages/$npm_package_name/wdio.conf.js", | ||
"wdio-lowlight": "cd ../.. && THEME=clinical-lowlight-theme npx wdio ./packages/$npm_package_name/clinical-lowlight-wdio.conf.js", | ||
"wdio-fusion": "cd ../.. && THEME=orion-fusion-theme npx wdio ./packages/$npm_package_name/wdio.conf.js", | ||
"wdio-default": "cd ../.. && npx wdio", | ||
"wdio-lowlight": "cd ../.. && THEME=clinical-lowlight-theme npx wdio", | ||
"wdio-fusion": "cd ../.. && THEME=orion-fusion-theme npx wdio", | ||
"wdio": "npm run wdio-default && npm run wdio-lowlight && npm run wdio-fusion" | ||
}, | ||
"gitHead": "a75ebe4bfe9cb09b4d0ab1a5f9c8039ddf2d0add" | ||
"gitHead": "8f2b00e0c29d873351fc4265b27a14e8c4053352" | ||
} |
@@ -17,3 +17,3 @@ import React from 'react'; | ||
<Heading level={1}> | ||
Level 1 Heading | ||
Level 1 Heading | ||
<span className={cx('heading-content')}>32px (2.286rem)</span> | ||
@@ -30,3 +30,3 @@ </Heading> | ||
<Heading level={2}> | ||
Level 2 Heading | ||
Level 2 Heading | ||
<span className={cx('heading-content')}>24px (1.714rem)</span> | ||
@@ -43,3 +43,3 @@ </Heading> | ||
<Heading level={3}> | ||
Level 3 Heading | ||
Level 3 Heading | ||
<span className={cx('heading-content')}>20px (1.429rem)</span> | ||
@@ -56,3 +56,3 @@ </Heading> | ||
<Heading level={4}> | ||
Level 4 Heading | ||
Level 4 Heading | ||
<span className={cx('heading-content')}>18px (1.286rem)</span> | ||
@@ -69,3 +69,3 @@ </Heading> | ||
<Heading level={5}> | ||
Level 5 Heading | ||
Level 5 Heading | ||
<span className={cx('heading-content')}>16px (1.143rem)</span> | ||
@@ -82,3 +82,3 @@ </Heading> | ||
<Heading level={6}> | ||
Level 6 Heading | ||
Level 6 Heading | ||
<span className={cx('heading-content')}>14px (1rem)</span> | ||
@@ -85,0 +85,0 @@ </Heading> |
@@ -17,3 +17,3 @@ import React from 'react'; | ||
<Heading level={3} size="huge"> | ||
Huge | ||
Huge | ||
<span className={cx('heading-content')}>32px (2.286rem)</span> | ||
@@ -30,3 +30,3 @@ </Heading> | ||
<Heading level={3} size="large"> | ||
Large | ||
Large | ||
<span className={cx('heading-content')}>24px (1.714rem)</span> | ||
@@ -43,3 +43,3 @@ </Heading> | ||
<Heading level={3} size="medium"> | ||
Medium | ||
Medium | ||
<span className={cx('heading-content')}>20px (1.429rem)</span> | ||
@@ -56,3 +56,3 @@ </Heading> | ||
<Heading level={3} size="small"> | ||
Small | ||
Small | ||
<span className={cx('heading-content')}>18px (1.286rem)</span> | ||
@@ -69,3 +69,3 @@ </Heading> | ||
<Heading level={3} size="tiny"> | ||
Tiny | ||
Tiny | ||
<span className={cx('heading-content')}>16px (1.143rem)</span> | ||
@@ -82,3 +82,3 @@ </Heading> | ||
<Heading level={3} size="mini"> | ||
Mini | ||
Mini | ||
<span className={cx('heading-content')}>14px (1rem)</span> | ||
@@ -85,0 +85,0 @@ </Heading> |
@@ -11,13 +11,13 @@ import React from 'react'; | ||
<Heading level={3} colorClass={cx(['success'])} isItalic> | ||
H3 heading with color set to | ||
H3 heading with color set to | ||
<code>{'\'success\' class'}</code> | ||
{' '} | ||
and | ||
and | ||
<code>isItalic</code> | ||
</Heading> | ||
<Heading level={3} size="huge" weight={200}> | ||
H3 heading with size set to | ||
H3 heading with size set to | ||
<code>huge</code> | ||
{' '} | ||
and weight set to | ||
and weight set to | ||
<code>200</code> | ||
@@ -24,0 +24,0 @@ </Heading> |
78455
50
1074
Updatedterra-arrange@^3.34.0
Updatedterra-markdown@^2.40.0