@desynova-digital/player 4.0.20 → 4.0.21
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.
|
@@ -50,19 +50,22 @@ var ProgressControlBlock = _styledComponents["default"].div(_templateObject || (
|
|
|
50
50
|
var markers = _ref.markers;
|
|
51
51
|
return markers.length > 3 ? '40px' : '23px';
|
|
52
52
|
});
|
|
53
|
-
var SeekControlBar = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n position: relative;\n cursor: pointer;\n overflow: hidden;\n z-index: ", ";\n .timeline-content {\n overflow-x:
|
|
53
|
+
var SeekControlBar = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n position: relative;\n cursor: pointer;\n overflow: hidden;\n z-index: ", ";\n .timeline-content {\n overflow-x: ", ";\n white-space: nowrap;\n }\n .hide-scrollbar {\n /* Hide scrollbar for Webkit-based browsers (Chrome, Safari, Edge) */\n scrollbar-width: none; /* Hides scrollbar in Firefox */\n -ms-overflow-style: none; /* Hides scrollbar in IE 10+ */\n }\n\n .hide-scrollbar::-webkit-scrollbar {\n width: 0; /* Removes the scrollbar for Webkit browsers */\n }\n\n .scrollBarVisibility\n max-height: 65px;\n overflow-y: visible;\n scrollbar-width: none; /* Hides scrollbar in Firefox */\n -ms-overflow-style: none; /* Hides scrollbar in Internet Explorer 10+ */\n\n /* Hides scrollbar for Webkit-based browsers (Chrome, Safari, Edge) */\n &::-webkit-scrollbar {\n width: 0;\n }\n"])), function (props) {
|
|
54
54
|
return props.controlType === 'advanced' && !props.isFullscreen ? '2' : '1';
|
|
55
|
+
}, function (_ref2) {
|
|
56
|
+
var zoom = _ref2.zoom;
|
|
57
|
+
return zoom > 0 ? 'auto' : 'visible';
|
|
55
58
|
});
|
|
56
59
|
var MarkerTagsBlock = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n min-width: 100px;\n max-width: 100px;\n position: relative;\n height: 60px;\n .empty-block {\n height: calc(100% - 20px);\n }\n .tags-block {\n height: 20px;\n font-family: SFUIText-Medium;\n font-size: 12px;\n color: #ffffff;\n text-transform: uppercase;\n border-top: 1px solid #333333;\n border-bottom: 1px solid #333333;\n p {\n line-height: 18px;\n padding-left: 10px;\n }\n }\n"])));
|
|
57
|
-
var ScrollStyledDiv = _styledComponents["default"].div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n max-height: 101px;\n position: relative;\n top: ", ";\n overflow-y: ", ";\n overflow-x: ", ";\n"])), function (
|
|
58
|
-
var markers = _ref2.markers;
|
|
59
|
-
return markers.length > 3 ? '18px' : '17px';
|
|
60
|
-
}, function (_ref3) {
|
|
60
|
+
var ScrollStyledDiv = _styledComponents["default"].div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n max-height: 101px;\n position: relative;\n top: ", ";\n overflow-y: ", ";\n overflow-x: ", ";\n"])), function (_ref3) {
|
|
61
61
|
var markers = _ref3.markers;
|
|
62
|
-
return markers.length > 3 ? '
|
|
62
|
+
return markers.length > 3 ? '18px' : '17px';
|
|
63
63
|
}, function (_ref4) {
|
|
64
64
|
var markers = _ref4.markers;
|
|
65
65
|
return markers.length > 3 ? 'hidden' : 'visible';
|
|
66
|
+
}, function (_ref5) {
|
|
67
|
+
var markers = _ref5.markers;
|
|
68
|
+
return markers.length > 3 ? 'hidden' : 'visible';
|
|
66
69
|
});
|
|
67
70
|
var CoverDiv = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n background-color: black;\n z-index: 2;\n position: absolute;\n height: 60px;\n width: 89px;\n left: 0px;\n top: 20px;\n"])));
|
|
68
71
|
var ProgressControl = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
@@ -191,12 +194,7 @@ var ProgressControl = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
191
194
|
},
|
|
192
195
|
zoom: stateZoom && parseFloat(stateZoom.toFixed(1))
|
|
193
196
|
}, this.props)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
194
|
-
|
|
195
|
-
maxHeight: '65px',
|
|
196
|
-
scrollbarWidth: 'none',
|
|
197
|
-
msOverflowStyle: 'none',
|
|
198
|
-
overflowY: markers.length > 3 ? 'scroll' : 'visible'
|
|
199
|
-
}
|
|
197
|
+
className: "scrollBarVisibility"
|
|
200
198
|
}, /*#__PURE__*/_react["default"].createElement(_PointersBar["default"], _extends({
|
|
201
199
|
onScroll: this.handleChildScroll,
|
|
202
200
|
theme: theme,
|