@guardian/atoms-rendering
Advanced tools
Comparing version 23.2.1 to 23.2.2
# @guardian/atoms-rendering | ||
## 23.2.2 | ||
### Patch Changes | ||
- 317ecad: Don't display a 0 if we're unable to get the duration of a youtube video. | ||
## 23.2.1 | ||
@@ -4,0 +10,0 @@ |
@@ -81,4 +81,4 @@ "use strict"; | ||
` }, { children: jsx_runtime_1.jsx(source_react_components_1.SvgPlay, {}, void 0) }), void 0), | ||
duration && (jsx_runtime_1.jsx("div", Object.assign({ css: videoDurationStyles(pillar) }, { children: formatTime_1.formatTime(duration) }), void 0))] }), void 0)] }), void 0)); | ||
duration !== undefined && duration > 0 && (jsx_runtime_1.jsx("div", Object.assign({ css: videoDurationStyles(pillar) }, { children: formatTime_1.formatTime(duration) }), void 0))] }), void 0)] }), void 0)); | ||
}; | ||
exports.YoutubeAtomOverlay = YoutubeAtomOverlay; |
@@ -78,3 +78,3 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime"; | ||
` }, { children: _jsx(SvgPlay, {}, void 0) }), void 0), | ||
duration && (_jsx("div", Object.assign({ css: videoDurationStyles(pillar) }, { children: formatTime(duration) }), void 0))] }), void 0)] }), void 0)); | ||
duration !== undefined && duration > 0 && (_jsx("div", Object.assign({ css: videoDurationStyles(pillar) }, { children: formatTime(duration) }), void 0))] }), void 0)] }), void 0)); | ||
}; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "23.2.1", | ||
"version": "23.2.2", | ||
"source": "src/index.ts", | ||
@@ -10,0 +10,0 @@ "main": "dist/commonjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
248956