@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 +3 -0
- package/dist/chord.cjs.development.js +3 -1
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +3 -1
- package/dist/chord.esm.js.map +1 -1
- package/dist/types/card.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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:
|
|
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, {
|