@royaloperahouse/chord 0.7.30 → 0.7.31

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
+ ## [0.7.31]
4
+ - Card: add image alt text as a prop
5
+
3
6
  ## [0.7.30]
4
7
  - Navigation: add possibility to pass basket link as prop
5
8
 
@@ -4859,6 +4859,8 @@ var Card = function Card(_ref) {
4859
4859
  _ref$tags = _ref.tags,
4860
4860
  tags = _ref$tags === void 0 ? [] : _ref$tags,
4861
4861
  image = _ref.image,
4862
+ _ref$imageAltText = _ref.imageAltText,
4863
+ imageAltText = _ref$imageAltText === void 0 ? '' : _ref$imageAltText,
4862
4864
  _ref$withContinueWatc = _ref.withContinueWatching,
4863
4865
  withContinueWatching = _ref$withContinueWatc === void 0 ? false : _ref$withContinueWatc,
4864
4866
  _ref$size = _ref.size,
@@ -4923,7 +4925,7 @@ var Card = function Card(_ref) {
4923
4925
  aspectRatio: exports.AspectRatio['4:3']
4924
4926
  }, /*#__PURE__*/React__default.createElement("img", {
4925
4927
  src: image,
4926
- alt: "test"
4928
+ alt: imageAltText
4927
4929
  })), withContinueWatching && /*#__PURE__*/React__default.createElement(ProgressContainer, null, /*#__PURE__*/React__default.createElement(Progress, {
4928
4930
  progress: progress
4929
4931
  }))), /*#__PURE__*/React__default.createElement(ContentContainer$2, {