indicator-ui 1.1.67 → 1.1.68
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/dist/index.cjs +7 -7
- package/dist/index.js +29 -32
- package/dist/indicator-ui.css +1 -1
- package/dist/types/src/types/mixins.d.ts +1 -0
- package/dist/types/src/ui/MediaViewerV2/hooks/useMediaViewerV2.d.ts +2 -3
- package/dist/types/src/ui/MediaViewerV2/hooks/useRefInterface.d.ts +4 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28590,42 +28590,39 @@ function nQ(r) {
|
|
|
28590
28590
|
return JX({ refs: h, visible: f }), tQ({ videoElement: d, progressBarRef: i, timerRef: o }), { videoProgressBarRef: i, videoTimerRef: o, playButtonRef: s, volumeButtonRef: c, mainPlayButtonRef: u };
|
|
28591
28591
|
}
|
|
28592
28592
|
function rQ(r) {
|
|
28593
|
-
const {
|
|
28594
|
-
const
|
|
28595
|
-
Ye(
|
|
28596
|
-
const
|
|
28597
|
-
|
|
28598
|
-
}, [t]),
|
|
28599
|
-
|
|
28593
|
+
const { servicesRef: e, scrollTo: t, contentFeedRef: n } = r, i = k((s, c) => {
|
|
28594
|
+
const u = n.current;
|
|
28595
|
+
Ye(u);
|
|
28596
|
+
const d = Array.from(u.children)[s];
|
|
28597
|
+
d && d instanceof HTMLElement && t(d, c);
|
|
28598
|
+
}, [t]), o = k((s, c) => {
|
|
28599
|
+
s instanceof HTMLElement && t(s, c);
|
|
28600
28600
|
}, [t]);
|
|
28601
|
-
|
|
28602
|
-
|
|
28603
|
-
|
|
28604
|
-
|
|
28605
|
-
}), [o, s]), {
|
|
28606
|
-
wrapperRef: i
|
|
28607
|
-
};
|
|
28601
|
+
Dt(e, () => ({
|
|
28602
|
+
goToElement: o,
|
|
28603
|
+
goTo: i
|
|
28604
|
+
}), [i, o]);
|
|
28608
28605
|
}
|
|
28609
28606
|
function iQ(r) {
|
|
28610
|
-
const { children: e, instanceRef: t, onClose: n,
|
|
28611
|
-
KX({ activeElement:
|
|
28607
|
+
const { children: e, instanceRef: t, onClose: n, servicesRef: i, ...o } = r, { scrollTo: s, contentFeedRef: c } = YX(), { activeElement: u, isFullScreenElement: d } = jX({ contentFeedRef: c });
|
|
28608
|
+
KX({ activeElement: u, contentFeedRef: c, scrollTo: s }), QX({ activeElement: u, scrollTo: s, contentFeedRef: c });
|
|
28612
28609
|
const {
|
|
28613
|
-
videoProgressBarRef:
|
|
28614
|
-
videoTimerRef:
|
|
28615
|
-
volumeButtonRef:
|
|
28616
|
-
playButtonRef:
|
|
28617
|
-
mainPlayButtonRef:
|
|
28618
|
-
} = nQ({ activeElement:
|
|
28619
|
-
return {
|
|
28620
|
-
contentFeedRef:
|
|
28621
|
-
|
|
28622
|
-
wrapperProps:
|
|
28610
|
+
videoProgressBarRef: f,
|
|
28611
|
+
videoTimerRef: h,
|
|
28612
|
+
volumeButtonRef: p,
|
|
28613
|
+
playButtonRef: _,
|
|
28614
|
+
mainPlayButtonRef: g
|
|
28615
|
+
} = nQ({ activeElement: u, isFullScreenElement: d });
|
|
28616
|
+
return rQ({ servicesRef: i, contentFeedRef: c, scrollTo: s }), {
|
|
28617
|
+
contentFeedRef: c,
|
|
28618
|
+
instanceRef: t,
|
|
28619
|
+
wrapperProps: o,
|
|
28623
28620
|
children: e,
|
|
28624
|
-
videoProgressBarRef:
|
|
28625
|
-
videoTimerRef:
|
|
28626
|
-
volumeButtonRef:
|
|
28627
|
-
playButtonRef:
|
|
28628
|
-
mainPlayButtonRef:
|
|
28621
|
+
videoProgressBarRef: f,
|
|
28622
|
+
videoTimerRef: h,
|
|
28623
|
+
volumeButtonRef: p,
|
|
28624
|
+
playButtonRef: _,
|
|
28625
|
+
mainPlayButtonRef: g,
|
|
28629
28626
|
onClose: n
|
|
28630
28627
|
};
|
|
28631
28628
|
}
|
|
@@ -28803,7 +28800,7 @@ function IQ(r) {
|
|
|
28803
28800
|
function MQ(r) {
|
|
28804
28801
|
const {
|
|
28805
28802
|
contentFeedRef: e,
|
|
28806
|
-
|
|
28803
|
+
instanceRef: t,
|
|
28807
28804
|
wrapperProps: n,
|
|
28808
28805
|
children: i,
|
|
28809
28806
|
playButtonRef: o,
|