indicator-ui 1.1.67 → 1.1.69

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.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 { instanceRef: e, scrollTo: t, contentFeedRef: n } = r, i = U(null), o = k((c, u) => {
28594
- const d = n.current;
28595
- Ye(d);
28596
- const f = Array.from(d.children)[c];
28597
- f && f instanceof HTMLElement && t(f, u);
28598
- }, [t]), s = k((c, u) => {
28599
- c instanceof HTMLElement && t(c, u);
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
- return Dt(e, () => ({
28602
- element: i.current,
28603
- goToElement: s,
28604
- goTo: o
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, ...i } = r, { scrollTo: o, contentFeedRef: s } = YX(), { activeElement: c, isFullScreenElement: u } = jX({ contentFeedRef: s });
28611
- KX({ activeElement: c, contentFeedRef: s, scrollTo: o }), QX({ activeElement: c, scrollTo: o, contentFeedRef: s });
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: d,
28614
- videoTimerRef: f,
28615
- volumeButtonRef: h,
28616
- playButtonRef: p,
28617
- mainPlayButtonRef: _
28618
- } = nQ({ activeElement: c, isFullScreenElement: u }), { wrapperRef: g } = rQ({ instanceRef: t, contentFeedRef: s, scrollTo: o });
28619
- return {
28620
- contentFeedRef: s,
28621
- wrapperRef: g,
28622
- wrapperProps: i,
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: d,
28625
- videoTimerRef: f,
28626
- volumeButtonRef: h,
28627
- playButtonRef: p,
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
- wrapperRef: t,
28803
+ instanceRef: t,
28807
28804
  wrapperProps: n,
28808
28805
  children: i,
28809
28806
  playButtonRef: o,