@titelmedia/bricks-headline
Advanced tools
Comparing version 0.1.19 to 0.1.21
@@ -10,2 +10,6 @@ import React from 'react'; | ||
describe('@titelmedia/bricks-headline', () => { | ||
it('renders correctly', () => { | ||
const wrapper = shallow(<Headline />); | ||
expect(wrapper).toMatchSnapshot(); | ||
}); | ||
it('should have light (default) styles correctly', () => { | ||
@@ -12,0 +16,0 @@ const wrapper = mount(<Headline>Light test</Headline>); |
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.1.21](https://github.com/titel-media/bricks-lerna/compare/v0.1.20...v0.1.21) (2022-01-05) | ||
### Features | ||
* Added a lot of fixes for tests and tests for Credits. WIP: gsap is still breaking tests ([533fe23](https://github.com/titel-media/bricks-lerna/commit/533fe23a3f1cd6a9ee1ca0f66f6beeaac38b1efd)) | ||
## [0.1.19](https://github.com/titel-media/bricks-lerna/compare/v0.1.18...v0.1.19) (2021-12-21) | ||
@@ -8,0 +19,0 @@ |
@@ -21,7 +21,4 @@ "use strict"; | ||
return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_bricksTheme.default, null), _react.default.createElement(_styles.StyledHeadline, { | ||
bold: style === 'bold', | ||
dangerouslySetInnerHTML: { | ||
__html: text | ||
} | ||
})); | ||
bold: style === 'bold' | ||
}, text)); | ||
}; | ||
@@ -28,0 +25,0 @@ |
@@ -9,6 +9,3 @@ import React from 'react'; | ||
<GlobalFonts /> | ||
<StyledHeadline | ||
bold={style === 'bold'} | ||
dangerouslySetInnerHTML={{ __html: text }} | ||
/> | ||
<StyledHeadline bold={style === 'bold'}>{text}</StyledHeadline> | ||
</> | ||
@@ -15,0 +12,0 @@ ); |
{ | ||
"name": "@titelmedia/bricks-headline", | ||
"version": "0.1.19", | ||
"version": "0.1.21", | ||
"description": "> TODO: description", | ||
@@ -23,5 +23,5 @@ "author": "highsnob", | ||
"dependencies": { | ||
"@titelmedia/bricks-theme": "^0.1.19" | ||
"@titelmedia/bricks-theme": "^0.1.21" | ||
}, | ||
"gitHead": "8c36f5db1d8d1f19ab30080243fb6a937856777e" | ||
"gitHead": "95405e1e364f5e8383dd4993c9ef8cbe3ba01ad9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11863
110