@trafilea/afrodita-components 6.34.6 → 6.34.8
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/build/index.esm.js +12 -1
- package/build/index.esm.js.map +1 -1
- package/build/index.js +12 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -12208,6 +12208,11 @@ var Video$1 = function (_a) {
|
|
|
12208
12208
|
var isStarted = videoProgress > 0;
|
|
12209
12209
|
var progress = videoProgress / ((_c = (_b = videoRef === null || videoRef === void 0 ? void 0 : videoRef.current) === null || _b === void 0 ? void 0 : _b.duration) !== null && _c !== void 0 ? _c : 0);
|
|
12210
12210
|
var hideProgressBar = videoProgress === ((_e = (_d = videoRef === null || videoRef === void 0 ? void 0 : videoRef.current) === null || _d === void 0 ? void 0 : _d.duration) !== null && _e !== void 0 ? _e : 0) || videoProgress === 0;
|
|
12211
|
+
React$2.useEffect(function () {
|
|
12212
|
+
if (videoRef.current) {
|
|
12213
|
+
videoRef.current.muted = Boolean(muted);
|
|
12214
|
+
}
|
|
12215
|
+
}, [muted]);
|
|
12211
12216
|
var handlePlayClick = function () {
|
|
12212
12217
|
if (videoRef.current && !debouncePlay) {
|
|
12213
12218
|
setDebouncePlay(true);
|
|
@@ -14952,9 +14957,12 @@ var Container$B = newStyled.div({
|
|
|
14952
14957
|
height: '100vh',
|
|
14953
14958
|
width: '100vw',
|
|
14954
14959
|
position: 'fixed',
|
|
14955
|
-
zIndex: '
|
|
14960
|
+
zIndex: '99999',
|
|
14956
14961
|
top: 0,
|
|
14957
14962
|
left: 0,
|
|
14963
|
+
display: 'flex',
|
|
14964
|
+
flexDirection: 'column',
|
|
14965
|
+
justifyContent: 'center'
|
|
14958
14966
|
});
|
|
14959
14967
|
var Header$2 = newStyled.div({
|
|
14960
14968
|
display: 'flex',
|
|
@@ -14962,6 +14970,9 @@ var Header$2 = newStyled.div({
|
|
|
14962
14970
|
alignItems: 'center',
|
|
14963
14971
|
color: 'white',
|
|
14964
14972
|
padding: '1.2rem',
|
|
14973
|
+
position: 'absolute',
|
|
14974
|
+
top: 0,
|
|
14975
|
+
right: 0
|
|
14965
14976
|
});
|
|
14966
14977
|
var IconContainer$2 = newStyled.div({
|
|
14967
14978
|
backgroundColor: '#E5E5E5',
|