@royaloperahouse/chord 1.9.0-b-chord-development → 1.9.0-c-chord-development

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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## [1.9.0-c]
4
+ - ContentSummary: make image clickable
5
+
3
6
  ## [1.9.0-b]
4
7
  - ContentSummary: change image size
5
8
  - SearchBar: Export component
@@ -5318,9 +5318,14 @@ var ContentSummary = function ContentSummary(_ref) {
5318
5318
  "data-testid": "image-wrapper"
5319
5319
  }, /*#__PURE__*/React__default.createElement(ImageAspectRatioWrapper, {
5320
5320
  aspectRatio: exports.AspectRatio['4:3']
5321
+ }, link != null && link.href ? /*#__PURE__*/React__default.createElement("a", {
5322
+ href: link.href
5321
5323
  }, /*#__PURE__*/React__default.createElement("img", {
5322
5324
  src: image.src,
5323
5325
  alt: image.alt
5326
+ })) : /*#__PURE__*/React__default.createElement("img", {
5327
+ src: image.src,
5328
+ alt: image.alt
5324
5329
  }))), /*#__PURE__*/React__default.createElement(ContentSummaryTextWrapper, {
5325
5330
  showImage: showImage
5326
5331
  }, title && /*#__PURE__*/React__default.createElement(ContentSummaryTitleWrapper, {