@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.esm.js
CHANGED
|
@@ -12182,6 +12182,11 @@ var Video$1 = function (_a) {
|
|
|
12182
12182
|
var isStarted = videoProgress > 0;
|
|
12183
12183
|
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);
|
|
12184
12184
|
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;
|
|
12185
|
+
useEffect(function () {
|
|
12186
|
+
if (videoRef.current) {
|
|
12187
|
+
videoRef.current.muted = Boolean(muted);
|
|
12188
|
+
}
|
|
12189
|
+
}, [muted]);
|
|
12185
12190
|
var handlePlayClick = function () {
|
|
12186
12191
|
if (videoRef.current && !debouncePlay) {
|
|
12187
12192
|
setDebouncePlay(true);
|
|
@@ -14926,9 +14931,12 @@ var Container$B = newStyled.div({
|
|
|
14926
14931
|
height: '100vh',
|
|
14927
14932
|
width: '100vw',
|
|
14928
14933
|
position: 'fixed',
|
|
14929
|
-
zIndex: '
|
|
14934
|
+
zIndex: '99999',
|
|
14930
14935
|
top: 0,
|
|
14931
14936
|
left: 0,
|
|
14937
|
+
display: 'flex',
|
|
14938
|
+
flexDirection: 'column',
|
|
14939
|
+
justifyContent: 'center'
|
|
14932
14940
|
});
|
|
14933
14941
|
var Header$2 = newStyled.div({
|
|
14934
14942
|
display: 'flex',
|
|
@@ -14936,6 +14944,9 @@ var Header$2 = newStyled.div({
|
|
|
14936
14944
|
alignItems: 'center',
|
|
14937
14945
|
color: 'white',
|
|
14938
14946
|
padding: '1.2rem',
|
|
14947
|
+
position: 'absolute',
|
|
14948
|
+
top: 0,
|
|
14949
|
+
right: 0
|
|
14939
14950
|
});
|
|
14940
14951
|
var IconContainer$2 = newStyled.div({
|
|
14941
14952
|
backgroundColor: '#E5E5E5',
|