@uncinc/uncinc-react-kitchen-sink 2.20.4 → 2.20.6

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.
@@ -141,9 +141,10 @@ var MediaPlayer = function MediaPlayer(_ref) {
141
141
  return /*#__PURE__*/React.createElement(Video, {
142
142
  className: classNames
143
143
  }, !audioOnlyMode && captions && captions.map(function (caption) {
144
+ var _caption$kind;
144
145
  return /*#__PURE__*/React.createElement("track", {
145
146
  key: "caption:".concat(caption.language),
146
- kind: "captions",
147
+ kind: (_caption$kind = caption.kind) !== null && _caption$kind !== void 0 ? _caption$kind : 'captions',
147
148
  src: caption.src,
148
149
  srcLang: caption.language,
149
150
  label: caption.label || caption.language,
@@ -62,7 +62,7 @@ var Share = function Share(_ref2) {
62
62
  className: "Share"
63
63
  }, /*#__PURE__*/React.createElement("div", {
64
64
  className: "Share__wrapper"
65
- }, /*#__PURE__*/React.createElement("div", {
65
+ }, /*#__PURE__*/React.createElement("h3", {
66
66
  className: "Share__title",
67
67
  tabIndex: "0"
68
68
  }, title), /*#__PURE__*/React.createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinc/uncinc-react-kitchen-sink",
3
- "version": "2.20.4",
3
+ "version": "2.20.6",
4
4
  "description": "Default React components that are easily extended.",
5
5
  "author": "uncinc",
6
6
  "license": "MIT",