@trafilea/afrodita-components 6.23.1 → 6.23.2

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.
@@ -13595,11 +13595,11 @@ var templateObject_1$11, templateObject_2$K, templateObject_3$B, templateObject_
13595
13595
 
13596
13596
  var Video$1 = function (_a) {
13597
13597
  var _b, _c, _d, _e;
13598
- var source = _a.source, thumbnail = _a.thumbnail, height = _a.height, className = _a.className, _f = _a.withProgressBar, withProgressBar = _f === void 0 ? true : _f, hasAudioControl = _a.hasAudioControl, rest = __rest(_a, ["source", "thumbnail", "height", "className", "withProgressBar", "hasAudioControl"]);
13598
+ var source = _a.source, thumbnail = _a.thumbnail, height = _a.height, className = _a.className, _f = _a.withProgressBar, withProgressBar = _f === void 0 ? true : _f, hasAudioControl = _a.hasAudioControl, muted = _a.muted, rest = __rest(_a, ["source", "thumbnail", "height", "className", "withProgressBar", "hasAudioControl", "muted"]);
13599
13599
  var videoRef = useRef(null);
13600
13600
  var _g = useState(true), isLoading = _g[0], setIsLoading = _g[1];
13601
13601
  var _h = useState(false), isPlaying = _h[0], setIsPlaying = _h[1];
13602
- var _j = useState(false), isMuted = _j[0], setIsMuted = _j[1];
13602
+ var _j = useState(muted), isMuted = _j[0], setIsMuted = _j[1];
13603
13603
  var _k = useState(0), videoProgress = _k[0], setVideoProgress = _k[1];
13604
13604
  var _l = useState(false), debouncePlay = _l[0], setDebouncePlay = _l[1];
13605
13605
  var isStarted = videoProgress > 0;
package/build/index.js CHANGED
@@ -13621,11 +13621,11 @@ var templateObject_1$11, templateObject_2$K, templateObject_3$B, templateObject_
13621
13621
 
13622
13622
  var Video$1 = function (_a) {
13623
13623
  var _b, _c, _d, _e;
13624
- var source = _a.source, thumbnail = _a.thumbnail, height = _a.height, className = _a.className, _f = _a.withProgressBar, withProgressBar = _f === void 0 ? true : _f, hasAudioControl = _a.hasAudioControl, rest = __rest(_a, ["source", "thumbnail", "height", "className", "withProgressBar", "hasAudioControl"]);
13624
+ var source = _a.source, thumbnail = _a.thumbnail, height = _a.height, className = _a.className, _f = _a.withProgressBar, withProgressBar = _f === void 0 ? true : _f, hasAudioControl = _a.hasAudioControl, muted = _a.muted, rest = __rest(_a, ["source", "thumbnail", "height", "className", "withProgressBar", "hasAudioControl", "muted"]);
13625
13625
  var videoRef = React$2.useRef(null);
13626
13626
  var _g = React$2.useState(true), isLoading = _g[0], setIsLoading = _g[1];
13627
13627
  var _h = React$2.useState(false), isPlaying = _h[0], setIsPlaying = _h[1];
13628
- var _j = React$2.useState(false), isMuted = _j[0], setIsMuted = _j[1];
13628
+ var _j = React$2.useState(muted), isMuted = _j[0], setIsMuted = _j[1];
13629
13629
  var _k = React$2.useState(0), videoProgress = _k[0], setVideoProgress = _k[1];
13630
13630
  var _l = React$2.useState(false), debouncePlay = _l[0], setDebouncePlay = _l[1];
13631
13631
  var isStarted = videoProgress > 0;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Trafilea's Design System",
4
4
  "author": "Trafilea",
5
5
  "repository": "https://github.com/trafilea/afrodita-components",
6
- "version": "6.23.1",
6
+ "version": "6.23.2",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",