@financial-times/x-teaser 14.7.0 → 14.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Teaser.cjs.js +1 -1
- package/dist/Teaser.es5.js +1 -1
- package/dist/Teaser.esm.js +1 -1
- package/package.json +2 -2
- package/src/PromotionaContent.jsx +1 -1
package/dist/Teaser.cjs.js
CHANGED
|
@@ -583,7 +583,7 @@ var Video = (props => xEngine.h("div", {
|
|
|
583
583
|
const PromotionalContent = ({
|
|
584
584
|
promotionalContent
|
|
585
585
|
}) => xEngine.h("div", {
|
|
586
|
-
className: "o-
|
|
586
|
+
className: "o-teaser__image-container js-teaser-image-container"
|
|
587
587
|
}, promotionalContent);
|
|
588
588
|
|
|
589
589
|
const Small = {
|
package/dist/Teaser.es5.js
CHANGED
|
@@ -675,7 +675,7 @@ var Video = (function (props) {
|
|
|
675
675
|
var PromotionalContent = function PromotionalContent(_ref) {
|
|
676
676
|
var promotionalContent = _ref.promotionalContent;
|
|
677
677
|
return xEngine.h("div", {
|
|
678
|
-
className: "o-
|
|
678
|
+
className: "o-teaser__image-container js-teaser-image-container"
|
|
679
679
|
}, promotionalContent);
|
|
680
680
|
};
|
|
681
681
|
|
package/dist/Teaser.esm.js
CHANGED
|
@@ -577,7 +577,7 @@ var Video = (props => h("div", {
|
|
|
577
577
|
const PromotionalContent = ({
|
|
578
578
|
promotionalContent
|
|
579
579
|
}) => h("div", {
|
|
580
|
-
className: "o-
|
|
580
|
+
className: "o-teaser__image-container js-teaser-image-container"
|
|
581
581
|
}, promotionalContent);
|
|
582
582
|
|
|
583
583
|
const Small = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/x-teaser",
|
|
3
|
-
"version": "14.7.
|
|
3
|
+
"version": "14.7.1",
|
|
4
4
|
"description": "This module provides templates for use with o-teaser. Teasers are used to present content.",
|
|
5
5
|
"source": "src/Teaser.jsx",
|
|
6
6
|
"main": "dist/Teaser.cjs.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@financial-times/x-engine": "^14.7.
|
|
20
|
+
"@financial-times/x-engine": "^14.7.1",
|
|
21
21
|
"date-fns": "^2.30.0",
|
|
22
22
|
"dateformat": "^3.0.3"
|
|
23
23
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from '@financial-times/x-engine'
|
|
2
2
|
|
|
3
3
|
const PromotionalContent = ({ promotionalContent }) => (
|
|
4
|
-
<div className="o-
|
|
4
|
+
<div className="o-teaser__image-container js-teaser-image-container">{promotionalContent}</div>
|
|
5
5
|
)
|
|
6
6
|
|
|
7
7
|
export default PromotionalContent
|