@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/dist/chord.esm.js
CHANGED
|
@@ -4861,6 +4861,8 @@ var Card = function Card(_ref) {
|
|
|
4861
4861
|
_ref$tags = _ref.tags,
|
|
4862
4862
|
tags = _ref$tags === void 0 ? [] : _ref$tags,
|
|
4863
4863
|
image = _ref.image,
|
|
4864
|
+
_ref$imageAltText = _ref.imageAltText,
|
|
4865
|
+
imageAltText = _ref$imageAltText === void 0 ? '' : _ref$imageAltText,
|
|
4864
4866
|
_ref$withContinueWatc = _ref.withContinueWatching,
|
|
4865
4867
|
withContinueWatching = _ref$withContinueWatc === void 0 ? false : _ref$withContinueWatc,
|
|
4866
4868
|
_ref$size = _ref.size,
|
|
@@ -4925,7 +4927,7 @@ var Card = function Card(_ref) {
|
|
|
4925
4927
|
aspectRatio: AspectRatio['4:3']
|
|
4926
4928
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
4927
4929
|
src: image,
|
|
4928
|
-
alt:
|
|
4930
|
+
alt: imageAltText
|
|
4929
4931
|
})), withContinueWatching && /*#__PURE__*/React__default.createElement(ProgressContainer, null, /*#__PURE__*/React__default.createElement(Progress, {
|
|
4930
4932
|
progress: progress
|
|
4931
4933
|
}))), /*#__PURE__*/React__default.createElement(ContentContainer$2, {
|